
:root{--bg:#ffffff;--panel:#fff;--ink:#26383b;--muted:#68787b;--line:#e5eaeb;--accent:#b45309;--accent-soft:#fff0e2;--orange:#b57331;--red:#a64440;--radius:14px;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--accent)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #f07e13;outline-offset:3px}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;background:#ffffff;color:#344c50;padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:22px;font-weight:650;letter-spacing:-1px}.brand-mark{width:39px;height:40px;color:#fff0e2;font-size:30px;font-weight:900;letter-spacing:-8px}.brand-mark span{font-size:23px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#7d8d90;margin-top:6px}.light{font-weight:350}.nav-label{font-size:9px;letter-spacing:1.8px;color:#7d8d90;margin:52px 12px 18px}nav{display:grid;gap:7px}nav button{display:flex;align-items:center;gap:13px;background:none;border:0;color:#52676b;padding:13px 14px;text-align:left;border-radius:8px;font-size:13px}nav button.active{background:#fff0e2;color:#9c4708;font-weight:650}nav button:hover:not(.active){background:#f3f6f6}nav .nav-icon{font-size:17px;width:20px;text-align:center}.sidebar-foot{margin-top:auto;font-size:11px;color:#668387;padding:16px 8px 0;line-height:1.8}.sidebar-foot small{display:block;font-size:10px;margin-left:15px;color:#748589}.online{display:inline-block;width:6px;height:6px;background:#f07e13;border-radius:50%;margin-right:6px}.shell{margin-left:234px}header{height:76px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#c9d4d6}.breadcrumb strong{font-weight:500;color:var(--ink)}.persona{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.persona select{border:0;background:#f5f7f7;border-radius:6px;padding:8px 10px;font-size:12px;color:var(--ink)}.avatar{display:grid;place-items:center;border-radius:50%;background:#edf2f3;color:#526e73;width:32px;height:32px;font-size:10px;font-weight:700}.pilot{margin:20px 38px 0;color:#68787b;font-size:11px;display:flex;align-items:center;gap:12px}.pilot span{font-size:9px;letter-spacing:.9px;background:#f1f4f5;padding:5px 8px;border-radius:4px;white-space:nowrap}main{padding:30px 38px 22px;min-height:calc(100vh - 170px)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:700;margin:0 0 10px}h1{font-size:30px;letter-spacing:-1px;margin:0;font-weight:550}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0 0 8px;font-weight:600}p{line-height:1.6}.sub{color:var(--muted);font-size:12px;margin:9px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:12px;text-decoration:none;white-space:nowrap}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.small{font-size:11px;padding:7px 10px}.button:hover{filter:brightness(.96)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:var(--panel);padding:22px;border:1px solid var(--line);border-radius:var(--radius)}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.stat-label span{font-size:16px;color:#f07e13}.stat-value{font-size:34px;letter-spacing:-1.4px;font-weight:550;line-height:1.2;margin:15px 0 7px}.stat-note{font-size:10px;color:var(--muted)}.stat.accent{background:#fff5eb;border-color:#f9dec5}.grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.panel-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.pill{display:inline-block;font-size:10px;border-radius:5px;padding:5px 8px;line-height:1.2;background:#eef3f4;color:#526e73;white-space:nowrap}.pill.green{background:#eaf3ef;color:#326854}.pill.orange{background:#faf0df;color:#a27331}.pill.red{background:#f8e8e5;color:#a24f40}.pipeline{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.pipeline-item{border:1px solid var(--line);border-radius:8px;padding:15px 8px;background:#fafcfc;min-width:0}.pipeline-item strong{font-size:25px;font-weight:500;display:block;margin:11px 0}.pipeline-item span{font-size:10px;line-height:1.5;display:block;color:var(--muted)}.pipeline-item .dot{display:block;width:6px;height:6px;border-radius:50%;background:#668387}.pipeline-item:nth-child(4) .dot{background:#f07e13}.pipeline-item:nth-child(5) .dot{background:#d69359}.pipeline-item:last-child .dot{background:#668387}.list-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;gap:10px;border-bottom:1px solid #edf1f2}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row p{font-size:11px;color:var(--muted);margin:6px 0 0}.name-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eef3f4;font-size:12px;color:var(--accent);flex-shrink:0}.row-title{display:flex;gap:12px;align-items:center}.text-button{background:none;border:0;padding:0;color:var(--accent);font-size:11px;cursor:pointer}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.client-card .name-icon{margin-bottom:17px;width:43px;height:43px}.client-card h3{font-size:16px;line-height:1.5}.client-card .sub{margin-bottom:22px}.client-card .bottom{margin-top:20px;display:flex;justify-content:space-between;align-items:center}.usage{margin-top:16px}.usage-line{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:7px}.track{height:5px;border-radius:5px;background:#edf1f2;overflow:hidden}.track-fill{height:100%;background:#f07e13;max-width:100%}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input,.filters select{padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:12px}.filters input{min-width:230px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{font-size:10px;font-weight:500;color:var(--muted);text-align:left;padding:12px;border-bottom:1px solid var(--line);background:#fafcfc}td{padding:17px 12px;border-bottom:1px solid #edf1f2;vertical-align:middle}td small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.empty{text-align:center;padding:38px 20px;color:var(--muted);font-size:12px;line-height:1.8}.empty strong{color:var(--ink);display:block;font-size:15px;font-weight:500;margin-bottom:7px}.work-group{margin-bottom:22px}.work-group h2{margin-bottom:12px;font-size:14px}.work-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.work-card{background:#fff;border:1px solid var(--line);padding:19px;border-radius:10px;display:flex;flex-direction:column;gap:13px}.work-card h3{line-height:1.5;margin:0}.work-card small{color:var(--muted);font-size:11px}.work-card .actions{margin-top:auto}.alert{padding:13px 16px;border-radius:8px;background:#f6f0e3;color:#897243;font-size:12px;line-height:1.6;margin-bottom:20px}.detail-top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.step{font-size:11px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}.step.done{background:#edf4f2;color:var(--accent)}.step.current{background:var(--accent);color:white;border-color:var(--accent)}.history{padding-left:14px;border-left:2px solid #dae4e6;margin:0 0 16px;font-size:12px;line-height:1.6}.history small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.detail-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.detail-info p{margin:5px 0;font-size:12px}footer{padding:15px 38px 25px;color:#7b8d91;font-size:9px;letter-spacing:1.5px;display:flex;justify-content:space-between}footer span{letter-spacing:0;font-size:10px}dialog{border:1px solid var(--line);border-radius:16px;padding:25px;width:min(650px,calc(100vw - 30px));max-height:88vh;color:var(--ink);box-shadow:0 25px 100px #17201135}dialog::backdrop{background:#17201170;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.icon-button{border:0;background:none;color:var(--muted);font-size:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#52676b}label.full,.full{grid-column:1/-1}label input,label select,label textarea{width:100%;padding:11px 12px;border:1px solid #d7e0e2;border-radius:7px;color:var(--ink);background:#fff}textarea{min-height:85px;resize:vertical}label.check{flex-direction:row;align-items:center;gap:9px}label.check input{width:auto;accent-color:var(--accent)}.form-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.form-error{color:var(--red);font-size:12px;line-height:1.5;margin-top:14px}.hint{font-size:11px;color:var(--muted);line-height:1.6}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}#toast{position:fixed;bottom:22px;right:24px;padding:13px 19px;background:#344c50;color:white;border-radius:9px;font-size:12px;box-shadow:0 5px 20px #0002;display:none;z-index:5}.loading{opacity:.6;pointer-events:none}.finance-warning{font-size:11px;color:#7c755f;margin-bottom:22px}.file-row a{word-break:break-word}.tiny{font-size:10px;color:var(--muted)}
@media(min-width:1600px){main{max-width:1500px;margin:auto}}@media(max-width:1150px){.sidebar{width:195px;padding:28px 15px}.brand{font-size:18px}.shell{margin-left:195px}main{padding:25px}.pilot{margin:20px 25px 0}header{padding:0 25px}.grid{grid-template-columns:1fr}.client-grid,.work-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:10px}.stat{padding:16px}.stat-value{font-size:29px}}@media(max-width:720px){.sidebar{position:static;width:auto;padding:15px}.brand{font-size:20px}.brand small,.nav-label,.sidebar-foot{display:none}nav{display:flex;overflow:auto;margin-top:16px;gap:6px}nav button{padding:10px;white-space:nowrap;font-size:11px}nav .nav-icon{display:none}.shell{margin:0}header{height:58px;padding:0 16px}.persona>span:first-child,.avatar{display:none}.pilot{margin:15px 16px 0;font-size:10px;align-items:flex-start}main{padding:24px 16px}h1{font-size:25px}.page-head{align-items:flex-start}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:28px}.client-grid,.work-cards{grid-template-columns:1fr}.panel{padding:18px}.pipeline{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:1fr}.form-grid>*{grid-column:1}.detail-info{grid-template-columns:1fr}footer{padding:15px 16px}.breadcrumb{font-size:10px}.persona select{max-width:125px}.page-head .button{font-size:11px;padding:9px}.filters input{min-width:0;flex:1}}

progress.track{appearance:none;border:0;width:100%;display:block}progress.track::-webkit-progress-bar{background:#edf1f2;border-radius:5px}progress.track::-webkit-progress-value{background:#f07e13;border-radius:5px}

/* Marco Visual: original logo colors; white application surfaces. */
:root{--brand-orange:#f07e13;--brand-slate:#668387;--accent:#b45309;--accent-soft:#fff0e2}
.sidebar{border-right:1px solid var(--line)}.brand{gap:11px;letter-spacing:-.7px}.brand-symbol{display:block;width:45px;height:auto;flex-shrink:0;object-fit:contain}.brand-name{font-size:18px;font-weight:500;white-space:nowrap;color:var(--brand-slate)}.brand-domain{color:#b45309}.brand small{font-size:7px;letter-spacing:1.3px;color:#68787b}.brand-mark{display:none}nav button.active{box-shadow:inset 3px 0 0 var(--brand-orange)}.button.primary{background:var(--brand-orange);border-color:var(--brand-orange);color:#342617;font-weight:650}.eyebrow{color:#526e73}.stat.accent .stat-value{color:#ad500b}.step.current{background:#668387;border-color:#668387}.panel,.stat,.client-card,.work-card{box-shadow:0 2px 7px #26383b03}.online{background:var(--brand-orange)}.pilot{color:#68787b}.avatar{color:#526e73}.pipeline-item .dot{background:var(--brand-slate)}.pipeline-item:nth-child(4) .dot,.pipeline-item:nth-child(5) .dot{background:var(--brand-orange)}.pipeline-item:last-child .dot{background:var(--brand-slate)}@media(max-width:1150px) and (min-width:721px){.brand{gap:8px}.brand-symbol{width:35px}.brand-name{font-size:15px}.brand small{font-size:6px;letter-spacing:.7px}}@media(max-width:720px){.brand-symbol{width:38px}.brand-name{font-size:20px}}
.login-page{min-height:100vh;display:grid;place-items:center;background:#faf9f6;padding:24px}.login-card{background:white;border:1px solid #e4e6e4;border-radius:22px;padding:44px;max-width:480px;width:100%;box-shadow:0 20px 80px #66838715}.login-card h1{font-size:32px;margin:16px 0}.login-card form{display:grid;gap:20px;margin:28px 0}.login-card label{display:grid;gap:8px}.login-card input{width:100%;padding:12px;border:1px solid #c9d0d0;border-radius:8px}.login-card #login-error{color:#a43420}
.fiscal-columns{display:grid;grid-template-columns:1fr 1fr;gap:36px}.fiscal-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.fiscal-line strong{white-space:nowrap}.fiscal-balance{display:flex;justify-content:space-between;gap:24px;background:#fff9f2}.fiscal-balance h2{font-size:38px;color:#9c4708;margin:8px 0}.filters label{display:grid;gap:6px}.page-head .actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:760px){.fiscal-columns{grid-template-columns:1fr}.fiscal-balance{display:block}.fiscal-balance h2{font-size:30px}}
.filters{align-items:center}.fiscal-balance{align-items:center}.fiscal-balance>.pill{flex-shrink:0}.fiscal-balance p{line-height:1.6}
.calendar-scroll{overflow:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));min-width:875px;border-left:1px solid var(--line);border-top:1px solid var(--line)}.calendar-weekday{padding:12px;font-size:11px;font-weight:700;background:#f5f7f7}.calendar-day{min-height:130px;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.calendar-day.muted{background:#fafbfb}.calendar-day.today{background:#fff9f0}.day-number{border:0;background:transparent;padding:5px;font-weight:700;color:var(--ink)}.calendar-event{display:block;text-align:left;width:100%;border:0;border-left:3px solid #f07e13;border-radius:5px;background:#fff0e2;padding:7px;margin:5px 0;color:var(--ink)}.calendar-event strong,.calendar-event small,.calendar-event span{display:block;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.calendar-event strong{font-size:11px}.calendar-event.cancelled{opacity:.55;text-decoration:line-through}fieldset{border:1px solid var(--line);border-radius:8px}fieldset .check{padding:5px}.form-grid fieldset legend{font-size:12px}
.quarter-card{border-top:3px solid #9eabad}.quarter-card.red{border-top-color:#b94b40}.quarter-card.orange{border-top-color:#e09525}.quarter-card.green{border-top-color:#32816d}.quarter-time{margin:24px 0}.quarter-time>div{display:flex;justify-content:space-between;gap:14px;font-size:13px;margin-bottom:12px}.quarter-time small{display:block;font-size:11px;color:#64787c;margin-top:8px}.quarter-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:24px 0;border-top:1px solid var(--line);margin-top:18px}.quarter-counts strong{display:block;font-size:28px}.quarter-counts span{display:block;font-size:12px;margin:5px 0}.quarter-counts small{font-size:11px;color:#64787c}.quarter-stage{font-size:13px;line-height:1.8}.quarter-stage strong{color:#64787c;margin-right:14px}.quarter-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}.quarter-block{border:1px solid #dfe6e5;border-radius:14px;background:#fafcfc;padding:20px}.quarter-block.current{border-color:#eab77c;background:#fff9f1}.quarter-block .panel-head{margin-bottom:12px;gap:8px;flex-wrap:wrap}.quarter-block p{font-size:12px;color:#5b7074}.quarter-block h3{margin:18px 0 8px}.quarter-block small{font-size:11px;color:#64787c;line-height:1.7}.quarter-items{margin-top:14px}.quarter-items>div{padding:12px 0;border-top:1px solid #dee5e4;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.quarter-items small{display:block}.quarter-alert{background:#f4f7f7;border-radius:10px;padding:16px 20px;font-size:13px;line-height:1.8;margin:16px 0 22px}.quarter-alert.red{background:#fff2ef;color:#8b332b}.quarter-alert.orange{background:#fff8e9;color:#805114}.quarter-alert.green{background:#edf8f2;color:#27654b}.quarter-alert ul{margin:8px 0 0;padding-left:20px}.quarter-section-title{margin-top:28px}.pill.gray{background:#edf0f1;color:#5d6e71}@media(max-width:900px){.quarter-blocks{grid-template-columns:1fr}.quarter-counts{grid-template-columns:repeat(2,1fr)}.quarter-time>div{flex-direction:column}.quarter-card .panel-head{align-items:flex-start;gap:14px}}
.desk-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 25px;color:#64787c;font-size:12px}.desk-intro>div{display:flex;gap:12px;align-items:center}.desk-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px}.desk-toolbar{margin-bottom:24px}.desk-toolbar p{font-size:11px;color:#64787c}.desk-lane{border:1px solid #e4e9e8;border-radius:15px;padding:18px;margin-bottom:20px;background:#fafcfc;min-height:120px}.desk-lane:first-of-type{background:#fffbf5;border-color:#f0dac1}.desk-lane-head{display:flex;gap:10px;align-items:center;margin:0 0 16px}.desk-lane-head h2{font-size:16px}.desk-lane-head>span:last-of-type{border-radius:20px;background:white;padding:4px 9px;font-size:11px}.desk-lane-head small{margin-left:auto;color:#8a663b;font-size:10px}.lane-number{font-size:10px;color:#8c9b9c}.desk-lane-items{display:grid;gap:10px}.desk-card{background:white;border:1px solid #e3e8e8;border-radius:11px;padding:16px;box-shadow:0 2px 3px #243c3805;cursor:grab}.desk-card:active{cursor:grabbing}.desk-card h3{font-size:14px;line-height:1.55;margin:9px 0}.desk-card>p{font-size:11px;color:#64787c;margin:5px 0 13px}.desk-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#748688}.desk-card-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.desk-arrow{border:1px solid #e3e8e8;border-radius:6px;background:white;padding:6px 10px;color:#526e73}.desk-clear{font-size:11px;color:#748688;line-height:1.8}.is-blocked{border-left:3px solid #b85640}.desk-card .blocked-text{color:#a64440}.pomodoro-panel{padding:24px;border:1px solid #dce5e3;background:#f4f8f6;border-radius:18px;text-align:center;margin-bottom:30px}.pomodoro-panel .panel-head h2{font-size:15px}.pomodoro-label{font-size:10px;letter-spacing:2px;margin-top:25px;color:#668387}.pomodoro-time{font-size:64px;letter-spacing:-4px;font-weight:400;font-variant-numeric:tabular-nums;color:#344f4f;line-height:1.3}.pomodoro-panel #desk-timer-status{font-size:11px;color:#64787c;margin-bottom:24px}.pomodoro-panel .actions{justify-content:center}.pomodoro-panel .hint{margin-top:20px;font-size:10px}.sticky{border-radius:3px 3px 15px 3px;padding:24px 18px 18px;box-shadow:2px 5px 12px #26383b0b;margin-bottom:16px;position:relative;overflow-wrap:anywhere}.sticky p{white-space:pre-wrap;font-size:14px;margin:0 0 18px}.sticky.yellow{background:#fff3b9}.sticky.peach{background:#ffe1cb}.sticky.mint{background:#dfefe1}.sticky.blue{background:#deedf3}.sticky-pin{position:absolute;top:-5px;width:48px;height:15px;background:#ffffff90;left:calc(50% - 24px);transform:rotate(-4deg)}.sticky .button{background:#ffffff70;border-color:transparent}.desk-team{margin-top:22px}.desk-team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.team-focus{padding:14px;border:1px solid #e4e9e8;border-radius:12px}.team-focus strong{display:block;margin:10px 0}.team-focus p{font-size:10px;color:#64787c}.desk-team details{font-size:12px;margin-top:20px}.desk-team summary{cursor:pointer;padding:12px 0}.sidebar{overflow-y:auto}.nav-label{margin-top:30px}nav{gap:3px}nav button{padding-top:11px;padding-bottom:11px}.confetti{position:fixed;inset:0;pointer-events:none;z-index:9999;overflow:hidden}.confetti-bit{position:absolute;top:-20px;width:8px;height:14px;animation:confetti-fall 1.5s ease-in forwards;background:#f07e13}.confetti-bit:nth-child(3n){background:#668387}.confetti-bit:nth-child(3n+1){background:#f6d86b}@keyframes confetti-fall{to{transform:translateY(105vh) rotate(600deg);opacity:0}}@media(max-width:1100px){.desk-layout{grid-template-columns:minmax(0,1fr) 270px}.desk-team-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.desk-layout{grid-template-columns:1fr}.desk-side{display:grid;grid-template-columns:1fr 1fr;gap:20px}.desk-team-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.desk-side{display:block}.desk-intro{align-items:flex-start;flex-direction:column}.desk-lane-head{flex-wrap:wrap}.desk-lane-head small{display:none}.desk-card-actions .button{font-size:10px}.desk-team-grid{grid-template-columns:1fr 1fr}.desk-lane{padding:12px}.pomodoro-time{font-size:58px}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}

.bit-0{left:0%;animation-delay:0s}.bit-1{left:37%;animation-delay:0.07s}.bit-2{left:74%;animation-delay:0.14s}.bit-3{left:11%;animation-delay:0.21000000000000002s}.bit-4{left:48%;animation-delay:0.28s}.bit-5{left:85%;animation-delay:0.35000000000000003s}.bit-6{left:22%;animation-delay:0s}.bit-7{left:59%;animation-delay:0.07s}.bit-8{left:96%;animation-delay:0.14s}.bit-9{left:33%;animation-delay:0.21000000000000002s}.bit-10{left:70%;animation-delay:0.28s}.bit-11{left:7%;animation-delay:0.35000000000000003s}.bit-12{left:44%;animation-delay:0s}.bit-13{left:81%;animation-delay:0.07s}.bit-14{left:18%;animation-delay:0.14s}.bit-15{left:55%;animation-delay:0.21000000000000002s}.bit-16{left:92%;animation-delay:0.28s}.bit-17{left:29%;animation-delay:0.35000000000000003s}.bit-18{left:66%;animation-delay:0s}.bit-19{left:3%;animation-delay:0.07s}.bit-20{left:40%;animation-delay:0.14s}.bit-21{left:77%;animation-delay:0.21000000000000002s}.bit-22{left:14%;animation-delay:0.28s}.bit-23{left:51%;animation-delay:0.35000000000000003s}.bit-24{left:88%;animation-delay:0s}.bit-25{left:25%;animation-delay:0.07s}.bit-26{left:62%;animation-delay:0.14s}.bit-27{left:99%;animation-delay:0.21000000000000002s}.bit-28{left:36%;animation-delay:0.28s}.bit-29{left:73%;animation-delay:0.35000000000000003s}.bit-30{left:10%;animation-delay:0s}.bit-31{left:47%;animation-delay:0.07s}.bit-32{left:84%;animation-delay:0.14s}.bit-33{left:21%;animation-delay:0.21000000000000002s}.bit-34{left:58%;animation-delay:0.28s}.bit-35{left:95%;animation-delay:0.35000000000000003s}
.source-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7;max-height:520px;overflow:auto} details>summary{cursor:pointer;padding:12px 0;font-weight:650}
.desk-lane-items{max-height:640px;overflow-y:auto;padding:2px 4px 2px 0;scrollbar-width:thin}.desk-team-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}

.assignment-origin{border:1px solid #e3e9e7;border-radius:10px;padding:14px;margin:12px 0;background:#f7faf9;font-size:12px}.assignment-origin>strong{font-size:11px;color:#536f71}.assignment-origin dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:10px 0 0}.assignment-origin dt{font-size:10px;color:#728486}.assignment-origin dd{margin:2px 0 0;overflow-wrap:anywhere}.assignment-origin.compact{background:transparent;border:0;border-top:1px solid #edf0ef;border-radius:0;padding:8px 0;margin:8px 0}.assignment-origin.compact>strong{display:none}.assignment-origin.compact dl{margin:0;font-size:11px}@media(max-width:600px){.assignment-origin dl{grid-template-columns:1fr}}

.desk-client-block{border:1px solid #dae3e2;border-radius:16px;background:#f7faf9;margin-bottom:26px;overflow:hidden}.desk-client-head{padding:22px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:grab;background:#fff7ec;border-bottom:1px solid #f1dfc9}.desk-client-head:active{cursor:grabbing}.desk-client-title{display:flex;gap:13px;align-items:center}.desk-client-title p{font-size:9px;letter-spacing:2px;color:#986324;margin:0 0 6px}.desk-client-title h2{font-size:24px;line-height:1.25;letter-spacing:-.5px;margin:0 0 7px;color:#2e494c}.desk-client-title span{font-size:11px;color:#6c8080}.client-grip{font-size:25px!important;color:#be8c4f!important}.desk-client-counts{padding:12px 20px;display:flex;gap:8px;flex-wrap:wrap}.desk-client-counts span{font-size:10px;border:1px solid #e3e9e7;border-radius:20px;background:white;padding:5px 9px;color:#627a7d}.desk-client-tasks{display:grid;gap:12px;padding:0 16px 18px;max-height:740px;overflow:auto;scrollbar-width:thin}.drop-before{box-shadow:inset 0 4px #ef8315!important}.drop-after{box-shadow:inset 0 -4px #ef8315!important}@media(max-width:600px){.desk-client-head{align-items:flex-start;flex-direction:column;padding:18px}.desk-client-title h2{font-size:22px}.desk-client-tasks{padding:0 10px 12px}.desk-client-head .actions{align-self:flex-end}}

.task-grip{touch-action:none;cursor:grab;border:0;background:#f0f5f4;color:#657f80;border-radius:5px;font-size:19px;padding:2px 7px;user-select:none}.task-grip:active{cursor:grabbing}
.desk-client-head{height:auto;min-height:112px}.desk-client-head .actions{flex-shrink:0}@media(max-width:600px){.desk-client-head{min-height:0}}

.desk-completed{margin-top:32px;border-top:3px solid #a9c5b6}.desk-completed .completed-card{margin:14px 0;background:#fbfdfb}.desk-completed .panel-head p{line-height:1.6}
/* Familiar work-management hierarchy, retaining Marco Visual's white canvas. */
:root{--ink:#263b40;--muted:#63777c;--line:#e1e7e8;--radius:12px}
body{background:#fff}.sidebar{background:#f8fafb;padding:25px 16px;width:218px}.shell{margin-left:218px}.sidebar .nav-label{display:none}.brand{padding:0 3px 12px}.brand-symbol{width:37px}.brand-name{font-size:16px}.nav-group{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#718388;padding:22px 12px 7px;font-weight:650}nav{gap:2px}nav button{font-size:12px;padding:10px 12px;min-height:39px}nav button.active{background:#ffeddb;color:#863b08}.shell>header{height:64px;padding:0 28px;background:#fff}.pilot{margin:16px 28px 0;font-size:10px}main{padding:26px 28px;max-width:1680px}.page-head{margin-bottom:20px}.page-head .eyebrow{font-size:9px;margin-bottom:8px}h1{font-size:28px;font-weight:650;letter-spacing:-.8px}.page-head .sub{font-size:13px}.panel,.stat,.client-card{box-shadow:none}.button{min-height:34px;border-radius:7px;font-size:12px}.button.small{min-height:30px}.button.primary{background:#f07e13;border-color:#e37814;color:#24180c}.button:disabled{opacity:.45;cursor:not-allowed}.button[aria-pressed=true]{background:#edf3f4;border-color:#668387;color:#284e55}.desk-intro{margin-bottom:18px}.desk-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.desk-board{min-width:0}.desk-toolbar{position:sticky;top:0;background:#fff;z-index:3;padding:0 0 14px;margin-bottom:20px;border-bottom:1px solid var(--line);box-shadow:0 8px 14px #fff9}.desk-tabs{display:flex;gap:18px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:14px;overflow:auto}.desk-tab{border:0;border-bottom:3px solid transparent;background:none;padding:12px 2px 11px;color:#63777c;font-size:12px;white-space:nowrap;text-decoration:none;display:flex;gap:7px;align-items:center}.desk-tab span{font-size:10px;padding:2px 5px;background:#f0f3f4;border-radius:4px}.desk-tab.selected{color:#944207;border-bottom-color:#f07e13;font-weight:650}.completed-shortcut{margin-left:auto}.desk-filter{display:flex;gap:8px;align-items:flex-end}.desk-filter label{font-size:10px;gap:5px;min-width:0}.desk-search{flex:1}.desk-filter input,.desk-filter select{padding:8px 10px;min-height:36px;font-size:12px}.desk-filter label:nth-child(2){max-width:175px}.desk-view-options{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:12px;color:#6a7c80;font-size:10px}.desk-view-options .actions{gap:4px}.desk-view-options .button{font-size:10px;padding:5px 8px;min-height:28px}.desk-client-block{border-radius:10px;background:#f8fafb;border-color:#dde5e7;margin-bottom:20px}.desk-client-head{padding:15px 16px;min-height:86px;background:#fffaf4;border-bottom:1px solid #eadfd2;gap:10px}.desk-client-title{gap:9px;min-width:0}.desk-client-title h2{font-size:20px;font-weight:650;margin-bottom:5px;overflow-wrap:anywhere}.desk-client-title p{font-size:8px;letter-spacing:1.5px;margin-bottom:4px}.desk-client-title span{font-size:10px}.client-grip{font-size:22px!important}.desk-client-head .actions{gap:5px}.desk-client-head .button{font-size:10px;padding:5px 8px}.desk-arrow{padding:5px 8px;min-width:29px;min-height:29px}.desk-client-counts{padding:9px 15px;gap:5px}.desk-client-counts span{font-size:10px;padding:4px 8px}.desk-client-tasks{padding:0 12px 12px;gap:9px;max-height:none;overflow:visible}.desk-card{border-radius:8px;padding:13px;box-shadow:0 1px 2px #26383b05;cursor:default}.desk-card:hover{border-color:#adbdc1}.desk-card h3{font-size:13px;line-height:1.5;margin:9px 0;font-weight:650}.desk-card:active{cursor:default}.desk-meta{font-size:10px}.desk-card-actions{gap:5px}.desk-card-actions .button{font-size:10px;padding:5px 8px}.desk-card>.assignment-origin{background:#f8fafb;border-radius:5px;padding:8px 9px;margin:9px 0}.assignment-origin.compact dl{gap:7px 12px}.assignment-origin.compact dt{font-size:9px}.assignment-origin.compact dd{font-size:10px;line-height:1.5}.desk-card>p{font-size:10px;margin:5px 0 10px}.task-grip{font-size:17px;padding:1px 5px}.pomodoro-panel{padding:18px;border-radius:12px;background:#f3f7f6;margin-bottom:22px}.pomodoro-time{font-size:53px;letter-spacing:-2px}.pomodoro-label{margin-top:16px;font-size:9px}.pomodoro-panel .hint{font-size:10px}.pomodoro-panel .panel-head{margin-bottom:12px}.pomodoro-panel #desk-timer-status{margin-bottom:18px}.sticky{padding:21px 15px 15px}.sticky p{font-size:13px}.desk-notes .panel-head{margin-bottom:15px}.desk-completed{scroll-margin-top:200px}.completed-card{cursor:default}.desk-team-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.team-focus{border-radius:8px}.density-compact .desk-card{padding:10px 13px}.density-compact .desk-card h3{margin:5px 0}.density-compact .assignment-origin.compact dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.density-compact .desk-card>.assignment-origin{padding:6px 8px;margin:6px 0}.density-compact .desk-card-actions{justify-content:flex-end}.density-compact .desk-card>p{margin-bottom:5px}.density-compact .desk-client-head{min-height:73px}.density-compact .desk-client-tasks{gap:5px}
dialog.task-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(600px,94vw);height:100dvh;max-height:100dvh;border-radius:0;border-width:0 0 0 1px;padding:26px;box-shadow:-12px 0 60px #20323820}dialog.task-drawer::backdrop{background:#26383b25;backdrop-filter:none}.task-drawer .dialog-top{position:sticky;top:-26px;padding:20px 0;background:white;border-bottom:1px solid var(--line);z-index:1}.task-drawer .dialog-top h2{font-size:20px;line-height:1.5}.source-text{line-height:1.7}.task-drawer .assignment-origin{background:#f6f8f9;padding:16px;border-radius:8px}.task-drawer .assignment-origin dd{overflow-wrap:anywhere}.desk-tab:hover{color:#944207}.table-wrap{border:1px solid var(--line);border-radius:8px}th{font-size:10px;letter-spacing:.4px;background:#f6f8f9;font-weight:650}tbody tr:hover{background:#fafcfc}.client-card:hover{border-color:#b6c4c7}.client-card h3{font-weight:650}.stat-value{font-weight:600;font-size:30px}.panel-head h2{font-weight:650}
@media(min-width:1450px){.density-cards .desk-client-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-layout{grid-template-columns:minmax(0,1fr) 275px}}
@media(max-width:1100px){.sidebar{width:190px;padding:22px 12px}.shell{margin-left:190px}.brand-name{font-size:14px}.brand-symbol{width:31px}.desk-layout{grid-template-columns:minmax(0,1fr) 220px;gap:16px}main{padding:22px}.desk-view-options{align-items:flex-start;flex-direction:column}.desk-client-head{flex-wrap:wrap}.desk-client-head .actions{margin-left:auto}.density-compact .assignment-origin.compact dl{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.desk-layout{grid-template-columns:1fr}.desk-side{display:grid;grid-template-columns:1fr 1fr;gap:20px}.desk-view-options{flex-direction:row;align-items:center}}
@media(max-width:720px){.sidebar{position:static;width:auto;padding:14px 16px}.brand-symbol{width:32px}.brand-name{font-size:18px}.nav-group{display:none}.sidebar nav{margin-top:10px;gap:4px}.sidebar nav button{min-height:36px;font-size:11px;padding:8px 10px}.shell{margin:0}.shell>header{padding:0 16px;height:54px}.pilot{margin:12px 16px 0}main{padding:22px 16px}.desk-toolbar{position:static}.desk-filter{flex-wrap:wrap}.desk-filter .desk-search{flex-basis:100%}.desk-filter label:nth-child(2){flex:1;max-width:none}.desk-view-options{align-items:flex-start;flex-direction:column}.desk-client-title h2{font-size:20px}.desk-client-head{flex-direction:row}.desk-tabs{gap:15px}.desk-tab{font-size:11px}.desk-side{display:block}.desk-completed{scroll-margin-top:20px}.density-compact .assignment-origin.compact dl{grid-template-columns:1fr 1fr}.page-head .actions{max-width:45%}dialog.task-drawer{padding:20px}.task-drawer .dialog-top{top:-20px}.desk-client-head .actions{flex-wrap:wrap}.desk-client-title{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.finance-charge{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.finance-charge summary{cursor:pointer;line-height:1.7;font-weight:600}.finance-charge p{font-size:11px;color:var(--muted)}

.collection-overview{margin-bottom:28px}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.collection-card{background:#fff;border:1px solid #e6e9e7;border-top:3px solid #718899;border-radius:14px;padding:20px;min-width:0}.collection-card.overdue{border-top-color:#c94c45}.collection-card.today{border-top-color:#ef880b}.collection-card header{display:flex;justify-content:space-between;gap:8px;align-items:center}.collection-card h3{font-size:15px;margin:0}.collection-count{font-size:11px;color:#687973;white-space:nowrap}.collection-total{display:block;font-size:28px;letter-spacing:-1px;margin-top:14px;color:#243b37}.overdue .collection-total{color:#b4433d}.today .collection-total{color:#ab5d00}.collection-list{max-height:252px;overflow:auto;margin-top:16px;border-top:1px solid #edf0ee}.collection-item{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0ee;font-size:12px}.collection-item div{min-width:0}.collection-item strong{display:block;overflow-wrap:anywhere}.collection-item span{display:block;color:#73807c;margin-top:5px;font-size:11px}.collection-item b{white-space:nowrap}.collection-empty{font-size:13px;color:#73807c;padding:18px 0}@media(max-width:1000px){.collection-grid{grid-template-columns:1fr}.collection-list{max-height:200px}}

.authorization-age{display:block;width:fit-content;margin:8px 0;padding:6px 10px;border-radius:8px;background:#fff8d6;color:#75520b;font-size:12px;font-weight:700}.authorization-age.orange{background:#fff0b3;color:#704900;border:1px solid #e9b437}.authorization-age.red{background:#ffe1e3;color:#a62030;border:1px solid #ef9aa4}.client-health{border-left:5px solid #d9ab19;padding:12px;margin:12px 0;border-radius:8px;background:#fff9df}.client-health.green{border-color:#16966a;background:#ecfaf3}.client-health.red{border-color:#d83c53;background:#fff0f2}.client-health p{font-size:12px;line-height:1.6;margin:8px 0 0}.quarter-card.orange{border-top:5px solid #d9ab19}.quarter-card.green{border-top:5px solid #16966a}.quarter-card.red{border-top:5px solid #d83c53}

.text-link{color:#b64b00;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.text-link:hover{color:#803500}.text-link:focus-visible{outline:2px solid #f58013;outline-offset:3px}


.desk-calendar{margin-top:16px}.calendar-highlight,.notification-row{padding:14px 0;border-bottom:1px solid #e9e9e9}.calendar-highlight p,.notification-row p{margin:6px 0;overflow-wrap:anywhere}.calendar-highlight strong{display:block}.notification-count{background:#b84800;color:white;border-radius:20px;padding:2px 7px}.notification-row.is-new{border-left:3px solid #f58013;padding-left:12px}.notification-row small{color:#626b72}.notification-bell{display:inline-flex;align-items:center;gap:7px}


#session-warning{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100000;max-width:90vw;padding:16px 20px;background:#fff3cd;color:#352b16;border:1px solid #e4bf62;border-radius:12px;box-shadow:0 6px 30px #0003;display:flex;gap:16px;align-items:center}#session-warning[hidden],#session-lock[hidden]{display:none!important}.session-locked body>:not(#session-lock){display:none!important}#session-lock{position:fixed;inset:0;z-index:100001;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;color:#262626}
