:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#242521;background:#f6f5f1;font-size:14px;--gold:#a2834c;--muted:#73746e;--line:#e5e2d9}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;background:#171b19;color:#fff;padding:15px 25px;gap:12px;min-height:74px}.brand{display:flex;align-items:center;gap:12px}.mark{border:1px solid #ad9566;color:#e3cfa7;width:40px;height:40px;display:grid;place-items:center;font-family:Georgia,serif;font-size:19px}.brand strong{font-size:19px;font-weight:600;letter-spacing:.01em}.brand small{display:block;font-size:9px;letter-spacing:.17em;color:#c7b48d;margin-top:4px}#account{display:flex;gap:10px;align-items:center;font-size:12px}.layout{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:calc(100vh - 74px)}nav{background:#fff;border-right:1px solid var(--line);padding:20px 10px}nav button{display:block;text-align:left;width:100%;border:0;background:none;padding:11px 13px;color:#50554e;border-radius:7px;margin-bottom:3px}nav button.active{background:#eee9df;color:#5d492a;font-weight:700}nav small{display:block;padding:15px 13px 7px;color:#8e8c82;text-transform:uppercase;font-size:10px;letter-spacing:.1em}article{padding:26px 32px;max-width:1450px;width:100%;margin:auto;align-self:start}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.035em;font-weight:650;margin-bottom:7px}h2{font-size:18px;font-weight:650;margin-bottom:13px}h3{font-size:15px;margin-bottom:6px}.muted,small{color:var(--muted)}.eyebrow{color:#8b6e3a;text-transform:uppercase;font-weight:700;font-size:10px;letter-spacing:.16em;margin-bottom:8px}.top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:18px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin-bottom:22px}.card,.panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:17px;min-width:0}.card .num{font-size:26px;font-weight:650;letter-spacing:-.04em;margin-top:8px}.panel{margin-bottom:16px}.clients{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-bottom:20px}.client{display:flex;flex-direction:column;gap:10px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}button,.btn{font:inherit;border:1px solid #d9d6cd;background:white;padding:9px 13px;border-radius:6px;cursor:pointer;color:#292c28;text-decoration:none;display:inline-block}button:hover,.btn:hover{border-color:#9a8254}button.primary,.btn.primary{background:#202722;color:#fff;border-color:#202722}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a2834c;outline-offset:2px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;color:#77796e;text-transform:uppercase;letter-spacing:.07em;font-weight:650;white-space:nowrap}th,td{padding:12px 8px;border-bottom:1px solid #efede7;vertical-align:top}td{overflow-wrap:anywhere}td:last-child{white-space:nowrap}.pill{display:inline-block;border-radius:4px;background:#eeeee8;padding:4px 7px;font-size:11px;font-weight:600}.pill.high{background:#f6e5da;color:#8e421f}.pill.good{background:#e4eee5;color:#345c40}.pill.overdue{background:#f7e5e3;color:#9c322c}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}input,select,textarea{font:inherit;color:inherit;padding:10px;border:1px solid #d9d6cd;background:white;border-radius:6px;max-width:100%}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}textarea{min-height:90px;resize:vertical}dialog{width:min(600px,94vw);border:1px solid var(--line);border-radius:12px;padding:22px;max-height:90vh;overflow:auto}dialog::backdrop{background:#151c18a0}form{display:grid;gap:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fields .wide{grid-column:1/-1}.login{max-width:510px;margin:12vh auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px}.empty{color:var(--muted);padding:18px 0}.notice{padding:12px;background:#f4eee1;border-radius:6px;color:#65502c;margin-bottom:15px;line-height:1.5}#toast{position:fixed;bottom:18px;right:18px;max-width:min(500px,90vw);padding:12px 16px;color:white;background:#252c27;border-radius:6px;display:none;z-index:10;white-space:pre-wrap}.link{color:#745a2f}.row{display:flex;gap:10px;justify-content:space-between;align-items:center}.danger{color:#8e302c}.wide-text{white-space:pre-wrap;overflow-wrap:anywhere}footer{font-size:11px;color:#888;margin-top:25px}@media(max-width:760px){header{padding:12px}.brand strong{font-size:16px}#account span{display:none}.layout{display:block}nav{display:flex;overflow:auto;padding:8px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}nav small{display:none}nav button{width:auto;white-space:nowrap;margin:0 2px;padding:9px 11px}article{padding:18px 13px}h1{font-size:25px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card,.panel{padding:13px}.fields{grid-template-columns:1fr}.login{margin:8vh 12px}.tablewrap table{min-width:660px}}
/* V2 — compact editorial executive workspace */
:root{--ink:#25251f;--gold:#927442;--muted:#676a61;--line:#e4dfd5;background:#f5f3ee;color:var(--ink);font-size:14px}header{min-height:66px;padding:12px 24px;background:#1a211d;position:sticky;top:0;z-index:5;border-bottom:1px solid #3e4438}.mark{border-radius:9px;background:#282f26}.brand small{font-size:9px}#account button{background:#282f26;color:#f6f0e7;border-color:#5c6255}.layout{grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 66px)}nav{position:sticky;top:66px;align-self:start;height:calc(100vh - 66px);overflow:auto;padding:14px 12px;background:#fbfaf7}nav small{padding:13px 11px 5px;font-size:9px;font-weight:700;color:#77786e}nav button{display:flex;align-items:center;gap:10px;padding:9px 11px;font-size:13px;min-height:38px;white-space:nowrap}nav button.active{background:#eae4d6;box-shadow:inset 3px 0 #987845;color:#584421}nav button:hover{background:#f0ede5}.ico{width:19px;height:19px;flex:none;vertical-align:middle}nav .ico{width:17px;height:17px}article{padding:24px 30px;max-width:1520px}.home-page{padding-top:22px}.panel,.card{border-radius:13px;box-shadow:0 2px 8px #30271b06}.hq-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 30px;margin-bottom:23px;border-radius:16px;background:radial-gradient(ellipse at 92% 8%,#58614d 0,transparent 55%),linear-gradient(110deg,#242c24,#303d31);color:#fff;overflow:hidden;min-height:172px}.hq-hero:after{content:'';position:absolute;pointer-events:none;right:-75px;bottom:-190px;width:430px;height:430px;border-radius:50%;border:1px solid #b8aa7a35;box-shadow:0 0 0 36px #b8aa7a0a,0 0 0 76px #b8aa7a08}.hero-content,.hero-side{z-index:1;position:relative}.hero-date{font-size:10px;font-weight:650;letter-spacing:.11em;color:#ded3b7;margin-bottom:10px}.hero-date span{margin:0 6px}.hq-hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:38px;letter-spacing:-.035em;line-height:1.1;margin-bottom:8px}.hq-hero p{color:#e0e2d9;margin-bottom:17px;font-size:14px}.hero-actions{display:flex;flex-wrap:wrap;gap:8px}.hero-primary{background:#e8d7ad;color:#292c23;border-color:#e8d7ad;font-weight:650}.hero-secondary{background:transparent;color:#fff;border-color:#777f6e}.hero-side{border-left:1px solid #a9ab9250;padding:6px 12px 6px 26px;min-width:230px}.hero-label{font-size:9px;letter-spacing:.15em;color:#e1d2af;font-weight:600}.hero-number{display:flex;align-items:center;gap:10px;font-size:48px;line-height:1.25;letter-spacing:-.05em;font-weight:550}.hero-number span{font-size:13px;letter-spacing:0;line-height:1.25;color:#ebeadf;font-weight:400}.hero-caption{font-size:12px;color:#dedfd5}.section-label{display:flex;justify-content:space-between;gap:12px;color:#6b665a;font-size:10px;font-weight:650;letter-spacing:.1em;margin:0 2px 9px}.section-label span:last-child{letter-spacing:0;font-weight:400}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.kpi{background:white;display:flex;flex-direction:column;text-align:left;border-radius:12px;border:1px solid var(--line);padding:14px;min-width:0;min-height:114px;box-shadow:0 2px 8px #30271b06}.kpi-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px;color:#66665c;font-size:12px;font-weight:550}.kpi-icon{display:grid;place-items:center;width:31px;height:31px;background:#f1ede3;color:#8c7145;border-radius:9px}.kpi strong{font-size:29px;font-weight:650;letter-spacing:-.045em;margin:4px 0 7px;overflow-wrap:anywhere}.kpi-foot{display:flex;justify-content:space-between;width:100%;font-size:11px;color:#656a60;align-items:center;gap:4px}.kpi-foot .ico{width:15px;height:15px;color:#8b7752}.kpi.attention{border-color:#dfb9a8}.kpi.attention .kpi-icon{background:#f5e4dd;color:#9b482e}.hq-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(255px,1fr);gap:14px;align-items:start}.hq-main .panel{padding:17px 18px}.panel-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.panel-head h2{margin:0 0 5px;font-size:19px;letter-spacing:-.02em}.panel-head p{font-size:12px;margin-bottom:11px}.subtle{font-size:12px;border-color:#e2ded4;background:#faf9f6;color:#68532e;padding:8px 10px;white-space:nowrap}.tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:11px}.tabs button{padding:6px 7px;font-size:11px;border:1px solid transparent;background:#f7f6f2;border-radius:6px;color:#5e6056;white-space:nowrap}.tabs button.selected{background:#ece6d7;color:#59451f;border-color:#dfd5bd;font-weight:650}.tabs span{margin-left:5px;opacity:.8;font-variant-numeric:tabular-nums}.taskline{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #efede7;min-height:62px}.taskline:last-child{border:0}.tick{border:1px solid #d8d4c9;border-radius:50%;padding:0;width:25px;height:25px;display:grid;place-items:center;flex:none;color:#8a9383;background:#fff}.tick .ico{width:15px;height:15px;opacity:.55}.tick:hover{background:#e7eee4;color:#345c40}.tick:hover .ico{opacity:1}.taskdetail{flex:1;min-width:0}.tasktitle{border:0;background:none;text-align:left;color:#292e27;padding:0;font-weight:650;line-height:1.35;font-size:13px;overflow-wrap:anywhere;white-space:normal;display:block}.tasktitle:hover{text-decoration:underline}.taskmeta{font-size:11px;color:#717269;margin-top:4px;overflow-wrap:anywhere}.taskright{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;text-align:right}.taskright small{font-size:10px}.pill{font-size:10px;letter-spacing:.015em;padding:4px 7px;border-radius:6px}.queue-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted);padding-top:9px;border-top:1px solid var(--line)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;padding:32px 12px;color:var(--muted);font-size:12px}.empty-state .ico{color:#788d72;width:26px;height:26px}.weekly h2{margin:0 0 4px}.weekly>small{font-size:11px}.week-value{font-size:32px;letter-spacing:-.04em;font-weight:650;margin:14px 0 9px}.week-value span{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}.progress{height:7px;background:#eeeae1;border-radius:20px;overflow:hidden}.progress i{display:block;height:100%;background:#81916f;border-radius:20px}.progress-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-top:6px;color:#62675d}.week-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.week-stats>div{padding:10px 9px;background:#f5f3ee;border-radius:8px}.week-stats strong,.client-metrics strong{font-size:20px;display:block;letter-spacing:-.03em}.week-stats small,.client-metrics small{font-size:10px;display:block;margin-top:3px}.full{width:100%}.deadlines .panel-head h2{font-size:16px}.deadline{display:flex;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #efede7}.deadline:last-child{border-bottom:0}.deadline>div:last-child{min-width:0}.deadline small{font-size:11px;display:block;margin-top:4px}.date-block{width:38px;min-width:38px;text-align:center;background:#f1eee5;border-radius:7px;padding:5px;color:#685431}.date-block strong{font-size:18px;display:block;line-height:1}.date-block small{font-size:9px;text-transform:uppercase;margin-top:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:7px 0 9px}.section-heading h2{margin:0;font-size:21px}.section-heading .eyebrow{margin-bottom:5px}.client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.client-tile{padding:16px}.client-top{display:flex;gap:11px;align-items:center}.client-top>div{flex:1;min-width:0}.client-mark{width:43px;height:43px;border-radius:11px;background:#eae2cf;color:#725b32;display:grid;place-items:center;font:17px Georgia,serif;flex:none}.client-top h3{margin:0 0 4px;font-size:15px;overflow-wrap:anywhere}.client-top small{font-size:11px}.client-tile p{font-size:12px;color:#64675e;margin:13px 0}.client-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0;border-top:1px solid #ece9e0;margin-bottom:6px}.client-tile .primary{font-size:12px}.shortcuts h2{margin:0 0 12px}.shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.shortcut-grid button{display:flex;align-items:center;gap:7px;text-align:left;background:#f8f7f3;font-size:12px}.shortcut-grid button span{flex:1}.shortcut-grid .ico{color:#8f7648;width:16px;height:16px}.shortcut-grid .ico:last-child{width:13px}.home-page footer{margin-top:10px}.top h1{font-size:30px}.top p{margin-bottom:0}.tablewrap th{background:#f7f5f0}.tablewrap td{vertical-align:middle}.login{box-shadow:0 12px 35px #2d27150c}.login h1{font-family:Georgia,serif;font-weight:400}.danger{color:#9c322c}button,.btn{transition:background .12s,border-color .12s;min-height:34px}.tick{min-height:25px}.tasktitle{min-height:0}.kpi:hover{border-color:#a58b5a;background:#fdfcf8}
@media(min-width:761px) and (max-width:1150px){.layout{grid-template-columns:190px minmax(0,1fr)}article{padding:20px}.hq-main{grid-template-columns:1fr}.hq-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.kpi strong{font-size:25px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){header{position:sticky;top:0;min-height:60px;padding:10px 12px}.layout{display:block}nav{display:flex;position:sticky;top:60px;height:auto;overflow:auto;white-space:nowrap;padding:5px 9px;z-index:4;border-right:0;gap:5px}.navgroup{display:flex;gap:3px}nav small{display:none}nav button{padding:8px 9px;gap:6px;min-height:38px;font-size:12px}nav button.active{box-shadow:inset 0 -2px #987845}.navgroup:not(:last-child){border-right:1px solid var(--line);padding-right:5px}.home-page,article{padding:14px 12px}.hq-hero{padding:20px;gap:12px;align-items:flex-start;flex-direction:column;min-height:0;border-radius:12px;margin-bottom:17px}.hq-hero h1{font-size:32px}.hero-date{font-size:9px}.hero-side{padding:10px 0 0;border-left:0;border-top:1px solid #a9ab9250;width:100%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.hero-label{display:none}.hero-number{font-size:26px;gap:5px}.hero-number span{font-size:11px}.hero-number br{display:none}.hero-caption{font-size:11px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{padding:11px;min-height:100px}.kpi strong{font-size:25px}.kpi-top{font-size:11px}.kpi-foot{font-size:10px}.kpi-icon{width:27px;height:27px}.hq-main{grid-template-columns:1fr;gap:0}.hq-side{display:block}.hq-main .panel{padding:13px}.panel-head h2{font-size:17px}.panel-head p{font-size:11px}.tabs button{font-size:10px;padding:6px}.taskline{gap:7px}.tasktitle{font-size:12px}.taskmeta{font-size:10px}.taskright{max-width:90px}.client-grid{grid-template-columns:1fr;gap:0}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading h2{font-size:18px}.section-label{font-size:9px}.brand small{font-size:8px}.mark{width:34px;height:34px}.hero-actions button{font-size:12px}}
@media(prefers-reduced-motion:reduce){button,.btn{transition:none}}

.mark.has-logo{background:none;border:0;width:54px;height:44px}.brand-logo{width:100%;height:100%;object-fit:contain;display:block}@media(max-width:760px){.mark.has-logo{width:42px;height:34px}}

.mark.has-logo{background:#faf8f2;border-radius:7px;padding:3px}.mark.wide-logo{width:155px;height:43px}.login-logo{display:block;max-width:210px;max-height:86px;object-fit:contain;margin:0 0 20px}.login-logo[hidden]{display:none}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:760px){.mark.wide-logo{width:103px;height:34px}.login-logo{max-width:170px}}
/* V3: keep pages at top, use original brand assets, and display real calendar. */
article{margin:0 auto;align-self:start;min-width:0}.brand .mark.wide-logo{width:230px;height:43px;background:#f9f6ed;border-radius:4px;padding:4px 8px}.brand .mark.wide-logo+div{border-left:1px solid #777461;padding-left:12px}.brand .mark.wide-logo+div small{margin:0}.client-grid{margin-bottom:4px}.calendar-panel h2{font-size:16px}.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:9px 0}.cal-toolbar button{min-width:34px;font-size:20px;line-height:1;padding:5px 9px;color:#765c32;background:#f8f6f0}.cal-toolbar strong{font-size:13px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.cal-weekday{text-align:center;font-size:11px;font-weight:600;color:var(--muted);padding:8px 0}.cal-day{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:6px;border-radius:7px;background:#fdfcf9;min-width:0;min-height:100px;border:1px solid var(--line);overflow:hidden}.cal-day.outside{background:#f4f2ed;color:#8f8e85}.cal-day.is-today .day-number{background:#72542c;color:white;border-radius:5px}.day-number{display:inline-block;padding:3px 5px;font-size:12px}.cal-day.chosen{border:2px solid #a2834c;padding:5px;background:#f4eee0}.cal-entry{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f0e6d2;color:#60491e;border-radius:3px;padding:3px 5px;font-size:10px}.cal-entry.event-entry{background:#e3ebe2;color:#31503b}.cal-more{font-size:10px;color:var(--muted)}.cal-dot{width:5px;height:5px;border-radius:50%;background:#9a7944}.calendar-compact .cal-grid{gap:2px}.calendar-compact .cal-day{min-height:35px;align-items:center;padding:3px;border-color:transparent;background:transparent}.calendar-compact .cal-day.chosen{background:#eee6d5;border:1px solid #b5a17e}.calendar-compact .cal-weekday{font-size:10px}.cal-agenda{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.cal-agenda h3{margin:0;font-size:14px}.cal-agenda-row{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;align-items:start;padding:9px 0;border-bottom:1px solid #eeeae1}.cal-agenda-row small{font-size:11px;display:block;margin-top:3px;overflow-wrap:anywhere}.cal-agenda-date{font-size:11px;color:#84663a}.calendar-full .cal-toolbar strong{font-size:19px}.calendar-full .tabs{margin-bottom:8px}.calendar-full .cal-grid{gap:5px}.calendar-full .cal-agenda-row{grid-template-columns:110px 1fr}.calendar-full .cal-day{min-height:105px}.calendar-panel .empty{font-size:12px;padding:9px 0;margin:0}.calendar-full .cal-entry{font-size:11px}.hq-side .calendar-panel{padding:14px}.calendar-full .panel-head .actions{justify-content:flex-end}
@media(max-width:760px){.brand .mark.wide-logo{width:155px;height:36px;padding:4px}.brand .mark.wide-logo+div{display:none}.calendar-full .cal-day{min-height:58px;padding:3px}.calendar-full .cal-day.chosen{padding:2px}.calendar-full .cal-entry{max-width:100%;font-size:8px;padding:2px}.cal-weekday{font-size:10px}.calendar-full .cal-grid{gap:2px}.calendar-full .cal-agenda .panel-head{flex-direction:column}.calendar-full .cal-agenda-row{grid-template-columns:85px 1fr}.hq-side{display:block}}
