/* The daily workspace uses the same quiet palette as the company drawer. */
.work-day-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:-4px 0 22px;color:#687469;font-size:12px}.work-day-intro p{margin:0;text-transform:capitalize;font-weight:600}.work-day-intro>span{color:#626f5a}.work-queue-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}.work-queue-tab{text-align:left;background:#fffefa;border:1px solid #dfe3d8;border-radius:10px;padding:19px 20px 14px;position:relative;transition:border-color .18s,background .18s,transform .18s}.work-queue-tab:hover{border-color:#9bac91;transform:translateY(-1px)}.work-queue-tab.selected{background:#eaf0e5;border-color:#9eaf96;box-shadow:inset 0 2px 0 #54734f}.work-queue-tab>span{display:block;font-size:12px;color:#56634f}.work-queue-tab strong{display:block;font:34px/1.25 Georgia,serif;margin:8px 0 5px;color:#304a35}.work-queue-tab small{font-size:10px;color:#8c553b}.work-section-head{display:flex;align-items:center;gap:20px;margin-bottom:19px}.work-section-head>div{flex:1}.work-section-head h2{font:normal 24px/1.3 Georgia,serif;margin:0 0 7px}.work-section-head p{font-size:12px;color:#626f5a;margin:0;max-width:650px}.work-count{display:grid;place-items:center;min-width:31px;height:31px;border:1px solid #d9e0d1;border-radius:7px;font-size:12px;color:#61745a;background:#eef1e8}.work-rows{display:grid;gap:10px}.work-row{display:flex;align-items:center;gap:22px;justify-content:space-between;background:#fffefa;border:1px solid #dfe3d8;border-radius:10px;padding:21px 23px;transition:border-color .18s,box-shadow .18s}.work-row:focus-within{border-color:#a7b79a;box-shadow:0 2px 14px #25362908}.work-row-main{flex:1;min-width:0}.work-row-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.work-company{display:inline-flex;align-items:center;gap:9px;text-align:left;padding:0;font-size:14px;font-weight:600;line-height:1.6;color:#304a36;min-height:28px;overflow-wrap:anywhere}.work-company:hover{text-decoration:underline;text-underline-offset:3px}.work-company>span{font-size:11px;color:#6a7c60}.work-task{font-size:14px;color:#303d32;margin:9px 0 5px;line-height:1.6;overflow-wrap:anywhere}.work-reason{font-size:12px;line-height:1.65;color:#626f5a;margin:5px 0 0;overflow-wrap:anywhere;max-width:760px}.work-owner,.work-project-name{font-size:11px;color:#626f5a;margin:8px 0 0}.work-project-name{color:#68805a}.work-due{font-size:10px;font-weight:500;line-height:1.5;display:inline-block;color:#607254;border:1px solid #dce5d3;border-radius:5px;background:#f0f4e9;padding:3px 7px;white-space:nowrap}.work-due[data-state=overdue]{color:#975233;border-color:#ebd8c8;background:#fbf0e7}.work-due[data-state=planned]{color:#6e7867;background:#f4f5ef;border-color:#e3e7dc}.work-row-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.work-secondary,.work-complete{min-height:40px;padding:9px 13px;border:1px solid #d8e0d0;border-radius:7px;background:#fffefa;color:#586f4b;font-size:12px;text-align:center;line-height:1.5}.work-secondary:hover{background:#f0f4e9;border-color:#b1c1a4}.work-complete{background:#edf3e6;border-color:#ccdabc;color:#426136;display:inline-flex;align-items:center;gap:12px}.work-complete:hover{background:#e4eed9;border-color:#aac197}.work-complete>span{font-size:14px}.work-empty{border:1px dashed #cfd9c5;background:#fcfcf6;border-radius:11px;padding:42px 28px;text-align:center}.work-empty-mark{display:grid;place-items:center;width:39px;height:39px;margin:0 auto 17px;background:#e8efdf;border-radius:50%;color:#759365;font-size:20px}.work-empty h3{font:normal 23px/1.4 Georgia,serif;margin:0 0 12px;color:#435b3b}.work-empty p{font-size:13px;line-height:1.8;max-width:480px;margin:0 auto 21px;color:#626f5a}.work-empty .work-secondary{background:transparent}.work-loading{padding:30px 0;color:#6d7b61;font-size:13px}.work-message{padding:14px 17px;background:#faf0e4;border:1px solid #e6d5bd;border-radius:8px;color:#875b36;font-size:12px;margin:0 0 21px}.work-message[hidden]{display:none}.work-message button{margin-left:10px;text-decoration:underline;min-height:32px}.work-project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:17px;flex-wrap:wrap;margin-bottom:16px}.work-project-tools{display:flex;align-items:center;gap:11px;flex:1;min-width:0}.work-search{flex:1;max-width:380px}.work-project-toolbar label{margin:0}.work-project-toolbar input,.work-project-toolbar select{margin:0;min-height:42px;background:#fffefa;font-size:12px;border-radius:7px}.work-project-toolbar .primary{min-height:42px;border-radius:7px;font-size:12px;display:flex;gap:16px;align-items:center}.work-stage-filter{min-width:165px}.work-project-explainer{font-size:12px;color:#6e7b65;max-width:720px;margin:0 0 23px;line-height:1.8}.work-result-count{font-size:11px;color:#626f5a;margin:0 0 12px}.work-project-head,.work-project-row{display:grid;grid-template-columns:minmax(150px,1.25fr) minmax(140px,.9fr) minmax(170px,1fr) 95px;gap:23px;align-items:center}.work-project-head{font-size:9px;letter-spacing:.7px;color:#626f5a;padding:10px 21px}.work-project-list{display:grid;gap:9px}.work-project-row{background:#fffefa;border:1px solid #dfe3d8;border-radius:9px;padding:21px}.work-project-row>div{min-width:0}.work-project-title>button:first-child{font-size:15px;line-height:1.5;font-weight:600;display:block;text-align:left;padding:0;color:#314333;overflow-wrap:anywhere}.work-project-title>button:first-child:hover{text-decoration:underline;text-underline-offset:3px}.work-project-title .work-company{font-size:11px;font-weight:400;color:#626f5a;margin-top:5px}.work-project-row small{display:block;font-size:11px;color:#626f5a;margin-top:8px}.work-stage{display:inline-block;border-radius:5px;padding:4px 8px;background:#eef0e7;color:#68785c;font-size:10px}.work-stage[data-stage=active]{color:#467151;background:#e7efe2}.work-stage[data-stage=quote]{color:#8a6a37;background:#f5edda}.work-stage[data-stage=trial]{color:#786045;background:#f1e9db}.work-stage[data-stage=done]{color:#356749;background:#e4eddf}.work-stage[data-stage=lost]{color:#976548;background:#f3e8de}.work-project-next p{font-size:12px;margin:0 0 7px;line-height:1.6;overflow-wrap:anywhere}.work-project-open{font-size:12px;color:#657d58;min-height:42px;text-align:right;white-space:nowrap}.work-project-open>span{margin-left:9px}.work-project-empty{padding:55px 28px}.work-project-empty h2{font:normal 26px/1.4 Georgia,serif;margin:15px auto;max-width:440px}.work-project-empty .eyebrow{color:#626f5a}.work-project-empty .primary{font-size:13px}.work-dialog{position:fixed;inset:0;margin:auto;height:auto;max-height:calc(100dvh - 48px);width:min(560px,calc(100vw - 32px));max-width:560px;padding:29px;border:1px solid #dce2d3;border-radius:13px;background:#fffefa;color:#27362a;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 75px #19291b30}.work-dialog[open]{animation:work-dialog-in .18s ease both}.work-dialog::backdrop{background:#1b2b2448;backdrop-filter:blur(2px)}.work-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:17px}.work-dialog-head h2{font:normal 26px/1.3 Georgia,serif;margin:8px 0 0}.work-dialog-head>.eyebrow{font-size:9px}.work-dialog-head>button{font-size:23px;width:40px;height:40px;flex-shrink:0;border:1px solid #dde3d4;border-radius:7px;display:grid;place-items:center;line-height:1}.work-dialog-intro{font-size:13px;color:#626f5a;margin:13px 0 21px}.work-dialog label{font-size:12px;font-weight:500;color:#586b4e;margin:17px 0}.work-dialog input,.work-dialog select,.work-dialog textarea{display:block;width:100%;font-size:13px;border-radius:6px;background:#fff;min-height:43px;line-height:1.6;margin-top:7px}.work-dialog textarea{resize:vertical}.work-dialog input[type=hidden]{display:none}.work-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.work-form-grid>label{min-width:0}.work-form-section{border-top:1px solid #e4e7dc;margin-top:23px;padding-top:14px}.work-form-section h3{font-size:13px;font-weight:600;margin:4px 0 16px}.work-form-section h3 span{font-size:11px;color:#626f5a;font-weight:400;margin-left:8px}.work-form-note{font-size:11px;color:#626f5a;line-height:1.8}.work-current-action{padding:15px 17px;background:#edf2e6;border:1px solid #dfe6d4;border-radius:8px}.work-current-action p{font-size:14px;margin:7px 0;color:#43593a}.work-current-action time{font-size:11px;color:#626f5a}.work-form-error{padding:13px 15px;border:1px solid #ebd5c6;border-radius:7px;background:#fcf0e7;font-size:12px;color:#954f33;margin-top:18px}.work-form-refresh{padding-top:8px;font-size:11px;color:#626f5a}.work-form-refresh p{line-height:1.7}.work-form-refresh button{color:#607954;text-decoration:underline;font-size:12px;padding:4px 0;min-height:36px}.work-dialog [hidden]{display:none!important}.work-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px;border-top:1px solid #e2e6da;padding-top:20px}.work-dialog-actions button{font-size:12px;min-height:42px}.work-dialog :is(button,input,textarea,select):focus-visible{outline:3px solid #8aa678;outline-offset:2px}.work-dialog .primary{white-space:normal}.work-dialog-actions .work-secondary{background:transparent}@keyframes work-dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1200px){.work-row{gap:16px}.work-row-actions{flex-direction:column;align-items:stretch}.work-queue-tab{padding:17px 16px 12px}.work-project-head,.work-project-row{gap:15px;grid-template-columns:minmax(130px,1fr) minmax(110px,.8fr) minmax(140px,1fr) 72px}.work-project-row{padding:17px}.work-project-open{font-size:11px}.work-project-open>span{margin-left:4px}}
@media(max-width:750px){.work-day-intro{align-items:flex-start;gap:8px;flex-direction:column;margin-top:0;font-size:11px}.work-queue-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:26px}.work-queue-tab{padding:15px 15px 10px}.work-queue-tab>span{font-size:11px}.work-queue-tab strong{font-size:29px;margin:7px 0 2px}.work-queue-tab small{font-size:9px}.work-section-head h2{font-size:23px}.work-section-head p{font-size:11px;line-height:1.8}.work-row{display:block;padding:18px}.work-row-top{gap:9px}.work-company{font-size:14px;min-height:34px}.work-task{font-size:13px}.work-reason{font-size:12px}.work-row-actions{flex-direction:row;gap:9px;margin-top:15px;padding-top:13px;border-top:1px solid #eaecdf;flex-wrap:wrap}.work-row-actions button{flex:1;min-height:44px}.work-complete{justify-content:center}.work-empty{padding:34px 21px}.work-empty p{font-size:12px}.work-empty .work-secondary{min-height:44px}.work-project-toolbar{gap:12px;align-items:stretch}.work-project-tools{flex-basis:100%;display:grid;grid-template-columns:1fr}.work-search{max-width:none}.work-project-toolbar .primary{min-height:44px}.work-project-toolbar input,.work-project-toolbar select{min-height:44px;font-size:13px}.work-project-explainer{font-size:11px;line-height:1.8}.work-project-head{display:none}.work-project-row{grid-template-columns:1fr auto;gap:16px;padding:18px}.work-project-title{grid-column:1/-1}.work-project-row>div:nth-child(2){grid-column:1/-1}.work-project-row>div:nth-child(2)>small{display:inline;margin-left:9px}.work-project-next{grid-column:1/-1;border-top:1px solid #e7eadf;padding-top:14px}.work-project-open{grid-column:1/-1;text-align:left;min-height:44px;font-size:12px;border-top:1px solid #e7eadf;padding:12px 0 0}.work-project-title .work-company{font-size:12px;margin-top:3px}.work-project-empty{padding:36px 22px}.work-project-empty h2{font-size:25px}.work-dialog{max-height:calc(100dvh - 22px);padding:23px 20px;border-radius:11px}.work-dialog-head h2{font-size:25px}.work-dialog-head>button{width:44px;height:44px}.work-dialog .eyebrow{font-size:8px}.work-dialog input,.work-dialog select,.work-dialog textarea{font-size:16px;min-height:44px}.work-form-grid{grid-template-columns:1fr;gap:0}.work-dialog-actions{gap:8px;flex-wrap:wrap}.work-dialog-actions button{min-height:44px}.work-dialog-actions .primary{flex:1}.work-form-refresh button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.work-queue-tab,.work-row,.work-dialog[open]{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:751px) and (max-width:900px){.work-project-head,.work-project-row{grid-template-columns:minmax(100px,1.1fr) minmax(85px,.85fr) minmax(100px,1fr) 72px;gap:12px}.work-project-head{font-size:8px;letter-spacing:.3px}.work-project-toolbar .work-project-tools{flex-wrap:wrap}.work-project-title>button:first-child{font-size:14px}}

/* Compact horizon switch for scheduled partner and project work. */
.work-section-head>.work-period-tabs{display:inline-flex;align-items:center;gap:3px;flex:none;padding:3px;border:1px solid #d9e0d1;border-radius:8px;background:#f4f6f1}.work-period-tabs button{min-height:32px;padding:6px 11px;border-radius:5px;color:#657166;font-size:11px;white-space:nowrap}.work-period-tabs button:hover{color:#355746;background:#fff}.work-period-tabs button.selected{color:#2d5944;background:#fff;box-shadow:0 1px 4px #263b2d14;font-weight:600}
.work-date-range{display:flex;align-items:flex-end;gap:10px;margin:-3px 0 19px;padding:12px 14px;border:1px solid #dde4da;border-radius:9px;background:#fafbf8}.work-date-range label{display:flex;align-items:center;gap:8px;margin:0;color:#5c695f;font-size:11px;font-weight:600}.work-date-range input{width:145px;min-height:36px;margin:0;padding:6px 8px;border:1px solid #d8e0d6;border-radius:6px;background:#fff;font-size:12px;color:#314339}.work-date-range>span{align-self:center;color:#89928a}.work-date-range p{margin:0 0 8px 6px;color:#975233;font-size:11px}
@media(max-width:750px){.work-section-head{align-items:flex-start;flex-wrap:wrap}.work-section-head>div:first-child{flex-basis:100%}.work-section-head>.work-period-tabs{order:2;flex:1;display:grid;grid-template-columns:repeat(2,1fr)}.work-period-tabs button{min-height:38px;padding:7px}.work-section-head>.work-count{order:3;height:38px}.work-date-range{align-items:stretch;display:grid;grid-template-columns:1fr 1fr;margin-top:-5px}.work-date-range label{display:block}.work-date-range input{display:block;width:100%;min-height:42px;margin-top:5px}.work-date-range>span{display:none}.work-date-range p{grid-column:1/-1;margin:0}}
