
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif;color:#212e3c;background:#f7f7f7}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{border:0}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #4e759e}.shell{display:flex;min-height:100vh}.sidebar{width:245px;flex-shrink:0;background:#fff;border-right:1px solid #e3e3e5;padding:35px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:700;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:6px;color:#8d8e94}.mark{background:#173f69;color:white;font-size:21px;padding:9px 12px;border-radius:14px}.navlabel{font-size:11px;letter-spacing:2px;color:#87888f;margin:49px 12px 16px}.nav{width:100%;display:flex;justify-content:space-between;padding:14px 12px;margin:3px 0;background:transparent;color:#75767d;border-radius:9px;text-align:left;font-size:14px}.nav b{font-size:12px}.nav.selected{background:#e8edf3;color:#143b64}.sidefoot{margin-top:auto;font-size:12px;color:#6a6b71;padding:25px 12px 0}.sidefoot p{font-weight:600;margin:14px 0}.sidefoot small{line-height:1.9;color:#95969c}.dot{display:inline-block;width:7px;height:7px;background:#26578b;border-radius:50%;margin-right:6px}main{margin-left:245px;width:calc(100% - 245px);padding:0 44px}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e4e5}.crumb{font-size:12px;color:#96989e}.crumb strong{color:#65666c;font-weight:500}.subtle{background:transparent;color:#67686e;padding:8px;font-size:12px}.heading{display:flex;justify-content:space-between;align-items:center;margin:39px 0 29px;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7d7e85}.heading h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin:11px 0}.heading h1 span{color:#4976a7}.heading p{font-size:13px;color:#8d8e95;margin:9px 0}.primary{background:#17406c;color:#fff;padding:13px 20px;border-radius:8px;font-size:13px;white-space:nowrap;box-shadow:0 3px 6px #17406c12}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{text-align:left;padding:22px;background:white;border:1px solid #e6e6e7;border-radius:12px;color:#7a7b82}.stat>span{font-size:12px}.stat strong{display:block;color:#283747;font-size:36px;font-weight:550;margin:9px 0 13px}.stat small{font-size:11px;color:#999aa0;margin-left:9px}.stat div{font-size:10px;color:#9e9fa4}.stat.s2 strong{color:#bc725b}.stat.s3 strong{color:#bd9a57}.listhead{display:flex;justify-content:space-between;align-items:center;margin:35px 0 19px;gap:15px}h2{font-size:18px;font-weight:600;margin:0 0 8px}.listhead h2 span{font-size:11px;background:#e7e7e9;color:#696a70;margin-left:10px;padding:3px 7px;border-radius:4px}.listhead small{font-size:10px;color:#9c9da3}.search{width:310px;background:white}.cards{display:grid;gap:17px}.card{background:white;border:1px solid #e3e3e5;border-radius:12px;padding:24px 25px}.cardtop{display:flex;justify-content:space-between;gap:15px}.code{font-size:10px;letter-spacing:1px;color:#4e6b8b;background:#edf1f5;border-radius:4px;padding:4px 7px}.card h3{font-size:18px;margin:13px 0 9px;font-weight:600}.cardtop p{font-size:11px;color:#8f9096}.cardtop p span{margin:0 8px}.progressline{display:flex;align-items:center;gap:12px;font-size:10px;color:#9b9ca1;padding:14px 0;border-bottom:1px solid #efeff0}.track{width:110px;height:4px;border-radius:4px;background:#ededee;overflow:hidden}.track i{display:block;height:100%;background:#597ca2}.progressline b{font-weight:400}.task{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #f1f1f1}.task:last-child{border:0}.check{border:1px solid #ceced1;border-radius:5px;width:19px;height:19px;flex-shrink:0;background:white;color:white;padding:0}.done .check{background:#8b8c93}.tasktitle{font-size:13px;flex:1;overflow-wrap:anywhere}.done .tasktitle{text-decoration:line-through;color:#a1a2a7}em{font-size:9px;font-style:normal;color:#b66c57;background:#f9eeea;padding:3px 5px;margin-left:8px;border-radius:4px}.badge{font-size:10px;background:#eff0f1;color:#7a7b82;padding:4px 8px;border-radius:4px;white-space:nowrap}.badge.waiting{color:#a28950;background:#faf5e8}.date{font-size:10px;color:#919298;width:80px;text-align:right}.date.late{color:#c17d66}.lastlog{font-size:11px;padding:12px 13px;background:#f9f9f9;margin-top:8px;border-radius:6px;color:#8f9097;white-space:pre-wrap}.emptytask{font-size:12px;color:#9d9ea4;padding:12px 0}.empty{padding:55px 20px;text-align:center;border:1px dashed #d7d7d9;border-radius:14px;background:#fff}.empty>div{font-size:35px;color:#8e8f96}.empty h3{font-size:19px}.empty p{color:#919399;font-size:13px;line-height:1.8}.error{padding:14px;background:#fff1e9;color:#9a4b2b;font-size:13px;border-radius:8px;margin:12px 0}.error button,.error a{margin-left:10px;text-decoration:underline;background:none;color:inherit}footer{font-size:10px;color:#9d9ea3;padding:24px 0 30px}.overlay{position:fixed;inset:0;background:#16293d60;z-index:10;display:flex;justify-content:flex-end}.modal{width:650px;max-width:100%;background:#fff;height:100%;overflow:auto;padding:28px 32px;box-shadow:-15px 0 70px #15293e20}.modalhead{display:flex;justify-content:space-between;align-items:center}.modal>h2{font-size:26px;margin:18px 0 25px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.formgrid label:first-child{grid-column:1/-1}label{display:block;font-size:11px;color:#82838a}input,select,textarea{padding:11px 12px;border:1px solid #dfe0e2;border-radius:7px;background:#fff;color:#2d3e50;min-width:0}label input,label select{display:block;width:100%;margin:7px 0 14px}textarea{width:100%;min-height:75px;resize:vertical;margin:8px 0 15px;font-size:13px}.sectiontitle{display:flex;align-items:center;justify-content:space-between;margin:22px 0 13px;font-size:15px}.sectiontitle h3{margin:0;font-size:15px}.taskedit{background:#f6f6f7;border-radius:8px;padding:12px;margin:10px 0}.taskedit>input{width:100%;font-size:13px}.taskedit>div{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:8px;margin-top:12px;align-items:center}.taskedit label input,.taskedit select{font-size:11px;margin-bottom:0;padding:9px 6px}.remove{color:#b27562;background:none;font-size:11px;white-space:nowrap}.templates{padding:15px;background:#f3f6f9;border-radius:8px;font-size:11px;color:#909197}.templates button{background:white;border:1px solid #e3e3e4;padding:7px;margin:3px;border-radius:5px;color:#686970}.archive{display:flex;gap:9px;align-items:center;font-size:11px}.archive input{width:auto;margin:0}.modalfoot{display:flex;justify-content:space-between;gap:20px;margin:25px 0}.modalfoot .primary{margin-left:auto}.logs p{font-size:12px;white-space:pre-wrap;border-left:2px solid #c8c8cb;padding-left:12px;color:#6c6d74}.logs small{display:block;font-size:9px;color:#a4a5aa;margin-bottom:5px}@media(min-width:1500px){main{padding-left:65px;padding-right:65px}.heading h1{font-size:34px}}@media(max-width:1050px){.sidebar{width:205px;padding:28px 14px}.brand{font-size:14px}main{margin-left:205px;width:calc(100% - 205px);padding:0 24px}.stats{gap:10px}.stat{padding:15px}.heading h1{font-size:24px}.stat div{font-size:9px}}@media(max-width:750px){.shell{display:block}.sidebar{position:static;width:100%;padding:20px 18px 12px;display:block;border-right:0;border-bottom:1px solid #e3e3e4}.brand{font-size:17px;margin-bottom:15px}.mark{padding:6px 10px}.brand small{font-size:7px}.navlabel,.sidefoot{display:none}.nav{display:inline-flex;width:auto;margin-right:5px;padding:9px 8px;font-size:11px;gap:7px}.nav span:first-letter{display:none}.nav b{font-size:10px}main{margin:0;width:100%;padding:0 18px}header{height:51px}.heading{margin:25px 0 22px;align-items:flex-start}.heading h1{font-size:22px;max-width:250px;line-height:1.5}.heading p{font-size:11px;line-height:1.8}.heading>.primary{padding:11px 12px;font-size:11px;margin-top:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:30px;margin:6px 0}.stat div{font-size:9px}.listhead{align-items:stretch;flex-direction:column;margin-top:25px}.search{width:100%;font-size:12px}.card{padding:20px 15px}.card h3{font-size:17px}.cardtop p{line-height:1.9}.cardtop .subtle{white-space:nowrap;padding:0;font-size:10px;align-self:flex-start}.task{gap:8px;flex-wrap:wrap}.tasktitle{font-size:12px;min-width:120px}.badge{font-size:9px}.date{font-size:9px;width:68px}.modal{padding:22px 18px}.taskedit>div{grid-template-columns:1.3fr 1fr 1fr}.taskedit .remove{grid-column:3}.formgrid{gap:10px}footer{line-height:1.8}}
.loginwrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 20% 20%,#dce5ee,transparent 60%),#f3f6f9}.loginbox{width:460px;max-width:100%;background:#fff;padding:45px;border-radius:20px;border:1px solid #e3e3e4;box-shadow:0 20px 80px #3149630c}.loginbox .mark{display:inline-block;margin-bottom:30px}.loginbox .eyebrow{font-size:9px}.loginbox h1{font-size:25px;line-height:1.6;margin-top:12px}.loginbox p{font-size:13px;color:#8b8c92;line-height:1.9;margin:20px 0 30px}.loginbox .primary{width:100%}.loginbox>small{display:block;font-size:10px;color:#a3a4aa;line-height:1.9;margin-top:24px}.account{font-size:10px;overflow-wrap:anywhere;line-height:1.8;border-bottom:1px solid #e7e7e8;padding-bottom:15px;margin-bottom:18px}.account button{display:block;padding-left:0}.backuptools{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;flex-wrap:wrap}.backuptools button,.backuptools label{font-size:11px;color:#71737a;background:white;border:1px solid #e0e1e3;padding:9px 12px;border-radius:7px;cursor:pointer}.backuptools input{display:none}.backuptools .disabled{opacity:.5;pointer-events:none}.notice{background:#e6ecf3;color:#375472;padding:13px 16px;font-size:12px;border-radius:8px;margin-top:18px;display:flex;justify-content:space-between;gap:12px}.notice button{background:transparent;color:inherit}.offline{background:#fff6df;color:#a08335;padding:13px 16px;font-size:12px;margin-top:15px;border-radius:8px}.sidebar{overflow:auto}@media(max-width:750px){.loginbox{padding:30px}.backuptools{justify-content:flex-start;gap:6px}.backuptools button,.backuptools label{font-size:10px;padding:9px}.sidefoot{display:block;margin:8px 0 0;padding:0}.sidefoot>span,.sidefoot>p,.sidefoot>small{display:none}.account{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin:0;padding:6px 5px 0;border:0}.account button{padding:2px 6px}.stat{min-height:125px}}
.codehint{margin:-5px 0 13px;font-size:10px;line-height:1.8;color:#8d8e94;padding:10px 12px;background:#f6f6f7;border-radius:6px}.codehint.recognized{background:#eaeff4;color:#415e7c}.codehint span,.codehint small{display:block}.codehint small{font-size:10px;color:#83848b}.codehint button{padding:5px 9px;border:1px solid #c3d0de;border-radius:5px;color:#345273;background:#fff;font-size:10px;margin-top:7px}.templates button:disabled{opacity:1;background:#e5eaf0;border-color:#d6d6d8;color:#95969c;cursor:default}
.importmodal{width:1200px}.importmodal>p{font-size:12px;color:#76777e;line-height:1.8}.importsummary{display:flex;flex-direction:column;gap:10px;background:#edf1f5;padding:18px;border-radius:10px;font-size:12px;line-height:1.6}.importsummary b{font-size:16px}.importcheck{display:flex;align-items:center;gap:10px;font-size:12px;margin:20px 0;line-height:1.8}.importcheck input,.importtable input{display:inline-block;width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:#17406c}.importactions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:15px 0}.importactions button{font-size:11px;color:#415a74;background:#edf1f5;padding:8px 10px;border-radius:6px}.importactions span{font-size:11px;margin-left:auto}.tablewrap{overflow:auto;max-width:100%}.tablewrap table{border-collapse:collapse;font-size:11px;width:100%;text-align:left}.tablewrap th,.tablewrap td{padding:11px 9px;border-bottom:1px solid #e6e6e7;vertical-align:top;min-width:65px}.tablewrap th{background:#f5f5f5;color:#75767d;font-weight:500;white-space:nowrap}.tablewrap small{display:block;font-size:10px;color:#84868d;margin-top:6px;line-height:1.7}.importtable{max-height:50vh;min-height:100px;border:1px solid #e4e4e6;border-radius:8px}.importtable>table>thead th{position:sticky;top:0;z-index:1}.importtable>table>tbody>tr>td:nth-child(3){min-width:180px}.sourceinfo{font-size:11px;color:#7f8087;margin:12px 0;background:#f7f7f8;border-radius:6px;padding:10px;max-width:100%}.sourceinfo summary{cursor:pointer;line-height:1.8}.sourceinfo p{font-size:10px;overflow-wrap:anywhere}.sourceinfo>small{display:block;font-size:10px;line-height:1.8;margin-bottom:10px}.importtable .sourceinfo{margin:0;min-width:140px}.importtable .sourceinfo[open]{min-width:400px}.importmodal .modalfoot{align-items:center;position:sticky;bottom:-28px;background:#fff;padding:15px 0;margin-bottom:0}.importmodal .modalfoot>span{font-size:12px;line-height:1.8}.error{white-space:pre-line}@media(max-width:750px){.importmodal .modalfoot{bottom:-22px;gap:10px}.importmodal .modalfoot .primary{padding:12px}.importactions span{width:100%;margin:5px 0}.importtable{max-height:45vh}.importsummary b{font-size:14px}.importcheck{align-items:flex-start}}
.listtools{display:flex;gap:12px;align-items:flex-end}.monthfilter{min-width:180px;font-size:10px}.monthfilter select{font-size:12px;margin:5px 0 0;min-height:42px}.listtools .search{height:42px}.monthgroups{display:grid;gap:32px}.monthsection{min-width:0}.monthheading{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding-bottom:11px;border-bottom:1px solid #e0e1e3}.monthheading h3{font-size:18px;color:#35495f;margin:0;font-weight:600}.monthheading span{font-size:11px;border-radius:5px;background:#e3e9ef;color:#707178;padding:4px 8px}.monthheading:after{content:'';flex:1}@media(max-width:1150px){.listtools{flex-wrap:wrap;justify-content:flex-end}.listtools .search{width:240px}}@media(max-width:750px){.listtools{display:grid;grid-template-columns:1fr;gap:10px}.listtools .search{width:100%}.monthfilter{min-width:0}.monthgroups{gap:26px}.monthheading h3{font-size:17px}.monthheading{margin-bottom:12px}}
.viewhint{font-size:11px;line-height:1.9;color:#888990;margin:12px 0 20px}.fieldhint{display:block;font-size:10px;line-height:1.8;color:#888990;margin:-5px 0 14px}.closedbadge{margin-left:9px;color:#737c87;background:#edf0f4}.autolabel{display:block;font-size:9px;font-weight:400;color:#929399;margin-top:5px}.followcheck{padding:14px;background:#edf1f5;border-radius:8px}.autodatecheck{margin-top:12px}.autodatecheck input{accent-color:#17406c}.dailyboard{margin-top:30px}.dailyintro{display:flex;justify-content:space-between;align-items:center;gap:15px}.dailyintro h2{font-size:24px;margin:9px 0}.dailyintro p{font-size:12px;color:#8e8f96;line-height:1.8}.dailystats{display:flex;gap:24px;flex-wrap:wrap;border-block:1px solid #e3e3e4;padding:16px 0;margin:20px 0;font-size:12px;color:#87888f}.dailystats b{margin-left:7px;color:#3c546e;font-size:18px;font-weight:600}.dailytools{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:18px}.dailytabs{display:flex;gap:5px;background:#ecedee;padding:5px;border-radius:8px}.dailytabs button{font-size:12px;background:transparent;color:#888990;padding:10px 14px;border-radius:5px}.dailytabs button.selected{background:white;color:#244263;box-shadow:0 2px 5px #26394e10}.dailycards{display:grid;gap:12px}.dailycard{padding:22px;background:white;border:1px solid #e3e3e5;border-radius:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dailycardmain{display:flex;align-items:flex-start;gap:13px;min-width:0;flex:1}.dailycardmain>.check{margin-top:2px;width:22px;height:22px;font-size:14px}.dailycardmain>div{min-width:0}.dailycardtitle{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dailycard h3{font-size:16px;font-weight:600;margin:0;overflow-wrap:anywhere}.dailycard p{font-size:12px;color:#8e8f96;line-height:1.9;margin:9px 0 0;overflow-wrap:anywhere}.dailycard a{color:#4b6886;white-space:nowrap;margin-left:10px}.dailycard.done h3{text-decoration:line-through;color:#9c9da3}.dailycard.done .check{background:#8b8c93}.dailycard .latebadge{color:#b47556;background:#fbefe6}.dailycard .dailynotes{white-space:pre-wrap;color:#7b7d84}.linkedgroup{font-size:11px;border:1px solid #dddee0;background:#f6f8fa;color:#6a6b72;padding:7px 10px;border-radius:6px;margin-top:12px;text-align:left}.loadmore{padding:11px 22px;border:1px solid #d6d6d8;border-radius:7px;background:#fff;color:#66686e;display:block;margin:20px auto}.dailycard>.subtle{white-space:nowrap}.dailyboard .formgrid label:first-child{grid-column:auto}@media(max-width:750px){.dailyintro{align-items:flex-start}.dailyintro h2{font-size:22px}.dailyintro>.primary{padding:11px 12px;font-size:11px}.dailyintro .eyebrow{font-size:9px}.dailystats{gap:16px;font-size:11px}.dailystats b{font-size:16px}.dailytools{display:block}.dailytools .search{margin-top:12px}.dailytabs{width:max-content;max-width:100%}.dailytabs button{font-size:11px;padding:9px 10px}.dailycard{padding:18px 14px;gap:7px}.dailycardmain{gap:10px}.dailycard h3{font-size:15px}.dailycard p{font-size:11px}.dailycard>.subtle{font-size:10px;padding:0}.dailycardtitle{gap:7px}.dailycard .badge{font-size:9px}.dailyintro p{font-size:11px}.viewhint{font-size:10px}.sidebar .nav{font-size:11px}}
.monthpicker{margin:0 0 24px}.monthcaption{font-size:11px;color:#909197;margin-bottom:10px}.monthtabs{display:flex;gap:8px;flex-wrap:wrap}.monthtabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 14px;border:1px solid #e0e0e2;border-radius:8px;background:#fff;color:#74767d;font-size:12px;white-space:nowrap}.monthtabs button b{font-size:10px;font-weight:500;background:#eff0f1;color:#83858c;border-radius:4px;padding:3px 5px}.monthtabs button.selected{background:#17406c;border-color:#17406c;color:#fff}.monthtabs button.selected b{background:#ffffff25;color:#fff}.monthtabs button:hover{border-color:#7996b4}@media(max-width:750px){.monthtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.monthtabs button{padding:9px 8px;min-height:42px;font-size:11px;gap:7px}.monthpicker{margin-bottom:22px}.monthcaption{font-size:10px}}
.grouprevenue{color:#46607c!important;font-size:13px!important;font-weight:600}.grouprevenue small{font-size:10px;color:#98999f;font-weight:400}.revenueeditor{background:#edf1f5;padding:17px;border-radius:8px;margin:10px 0 20px}.revenueeditor label{font-size:12px}.revenueeditor strong{display:block;font-size:15px;color:#3a526b;margin-bottom:8px}.revenueeditor>small{display:block;font-size:10px;line-height:1.9;color:#86878e}.revenueeditor .subtle{padding-left:0;margin-top:7px}.revenuereport{margin-top:30px}.revenuestats{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;margin:24px 0}.revenuestats>div{background:white;border:1px solid #e3e3e4;border-radius:10px;padding:18px;min-width:0}.revenuestats span,.revenuestats small{display:block;font-size:11px;color:#909197;line-height:1.8}.revenuestats strong{display:block;font-size:27px;font-weight:600;color:#2f4b68;margin:8px 0;overflow-wrap:anywhere}.revenuestats strong small{display:inline;font-size:15px;margin-left:5px}.reporttools{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0}.reportmonths{margin:15px 0 28px}.reporttable{background:#fff;border:1px solid #e3e3e4;border-radius:8px}.reporttable th,.reporttable td{padding:14px 12px;min-width:90px;line-height:1.8}.reporttable th{white-space:nowrap}.reporttable td:nth-child(2){min-width:130px}.reporttable .amountcell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#45607c}.missingamount{color:#b17c45!important}.revenuereport .sectiontitle>small{font-size:10px;color:#98999f}.reporttable .subtle{white-space:nowrap}.reporttable b{white-space:nowrap;font-size:10px}@media(max-width:1050px){.revenuestats{grid-template-columns:1fr 1fr}}@media(max-width:750px){.revenuestats{gap:9px}.revenuestats>div{padding:14px}.revenuestats strong{font-size:23px}.revenuestats span,.revenuestats small{font-size:10px}.revenuereport .dailyintro{flex-wrap:wrap}.revenuereport .dailyintro h2{font-size:21px}.reporttools{display:block}.reporttools .search{margin-bottom:14px}.reporttable th,.reporttable td{padding:11px 10px}.grouprevenue{font-size:12px!important}}
/* V4: compact workspace and detail dialogs */
.bottomnav,.mobileonly{display:none}.sidebar .sidefoot small{display:block;margin-top:12px;line-height:1.8}header{height:64px}.workspacebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 16px}.compactstats{font-size:12px;color:#7f8188}.compactstats b{color:#17406c;margin:0 4px}.groupfilters{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.groupfilters button{padding:9px 12px;font-size:11px;border:1px solid #dfdfe1;background:white;color:#717279;border-radius:6px}.groupfilters button.selected{background:#e2e9f0;border-color:#aebfd2;color:#17406c}.groupfilters b{margin-left:8px;font-size:10px}.listhead{margin-top:22px}.dailyboard,.revenuereport{margin-top:26px}.dailyintro .eyebrow{display:none}.dailyintro h2{font-size:23px;margin:0 0 8px}.dailyintro p{margin:0}.dailystats{padding:12px 0;margin:16px 0}.monthtabs{flex-wrap:nowrap;overflow-x:auto;padding:3px 1px 9px;scrollbar-width:thin}.monthtabs button{flex-shrink:0}.monthpicker{margin-bottom:18px}.monthgroups{gap:24px}.monthheading{margin-bottom:10px}.monthheading h3{font-size:15px}.cards{gap:10px}.compactcard{padding:16px 18px}.compacttop{display:flex;gap:14px;align-items:flex-start}.departurechip{font-size:15px;font-weight:600;color:#17406c;background:#edf1f5;border-radius:8px;padding:12px 9px;white-space:nowrap;min-width:62px;text-align:center}.compactidentity{flex:1;min-width:0}.compactidentity .code{font-size:10px;background:transparent;padding:0;letter-spacing:.4px;overflow-wrap:anywhere}.compactidentity h3{font-size:15px;font-weight:600;margin:5px 0;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.compactidentity p{font-size:11px;color:#83848b;margin:4px 0;line-height:1.6;overflow-wrap:anywhere}.compacttop>.subtle{white-space:nowrap;font-size:11px;padding-right:0}.nexttask{display:flex;align-items:center;gap:10px;font-size:11px;border-top:1px solid #eeeff0;margin-top:12px;padding-top:11px;color:#83858c}.nexttask b{font-weight:500;color:#56575c;flex:1;overflow-wrap:anywhere}.nexttask small{font-size:10px;white-space:nowrap;color:#919399}.nexttask .late{color:#ba785c}.sourcesummary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f7f9;border-radius:8px;padding:10px 12px;margin:15px 0;font-size:11px;color:#7f8188}.sourcesummary button{white-space:nowrap}.detailintro{padding:16px 0 8px}.detailintro h3{font-size:18px;line-height:1.7;margin:0}.detailintro p{font-size:12px;color:#81838a}.detailintro>.primary{margin:10px 0}.detailnotes{font-size:12px;white-space:pre-wrap;line-height:1.9;background:#f3f6f9;padding:15px;border-radius:8px;color:#717279}.popupoverlay{justify-content:center;align-items:center;background:#13253875;z-index:30;padding:26px}.popup{width:720px;height:auto;max-height:calc(100dvh - 52px);border-radius:15px;padding:22px 28px;overscroll-behavior:contain}.widepopup{width:1180px}.popup .modalhead{position:sticky;top:-22px;background:white;padding:10px 0 14px;margin-bottom:10px;border-bottom:1px solid #e6e6e8;z-index:1;gap:12px}.popup .modalhead h2{font-size:20px;margin:0}.popup .modalhead>.subtle{white-space:nowrap}.popup h3{font-size:15px}.moretools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 30px}.moretools button,.moretools label{text-align:left;line-height:1.8;padding:14px}.morecategories{display:grid;grid-template-columns:1fr 1fr;gap:9px}.morecategories button{display:flex;justify-content:space-between;background:#eef1f5;border-radius:7px;padding:12px;font-size:12px;color:#707178}.reportselector{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px}.reportselector label{min-width:100px;font-size:11px}.reportselector select{margin-bottom:0;font-size:13px}.reportselector>.primary{min-height:42px}.exporthint{margin:12px 0}.revenuesummary{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#e9eef3;border:1px solid #d5dee8;padding:20px;border-radius:11px;margin:18px 0}.revenuesummary span,.revenuesummary small{font-size:11px;color:#81838a;display:block}.revenuesummary strong{display:block;font-size:27px;color:#244263;font-weight:600;margin:8px 0;overflow-wrap:anywhere}.revenuesummary>.subtle{white-space:nowrap}.reporttools{margin:18px 0}.revenuereport .sectiontitle{margin:18px 0 12px}.sectiontitle h3 small{font-size:11px;color:#96979d;font-weight:400;margin-left:5px}.revenuecards{display:grid;gap:10px}.revenuecards article{display:flex;justify-content:space-between;align-items:center;gap:16px;background:white;border:1px solid #e3e3e5;border-radius:10px;padding:18px}.revenuecards article>div{min-width:0}.revenuecards h3{font-size:15px;line-height:1.6;margin:8px 0 5px}.revenuecards p{color:#86888f;font-size:11px;margin:6px 0;line-height:1.7;overflow-wrap:anywhere}.revenuecards small{font-size:10px;color:#919298}.revenuecards .code{background:transparent;padding:0;font-size:10px;letter-spacing:.2px}.revenuecardamount{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.revenuecardamount strong{color:#314e6d;font-size:17px;white-space:nowrap;font-weight:600}.revenuecardamount>.subtle{white-space:nowrap;font-size:11px;padding-right:0}.popup .tablewrap{max-height:65vh}.popup .reporttable th{position:sticky;top:0;z-index:1}.tablewrap .sourcesummary{min-width:160px}.popup .viewhint{margin:12px 0}.task.done .check:disabled{cursor:default;opacity:1;background:#bbbcc0}main{min-width:0}
@media(max-width:750px){.sidebar{display:none}main{padding:0 14px 82px;margin:0;width:100%}header{height:53px}.crumb{font-size:11px}.bottomnav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e1e1e3;padding:7px 6px calc(7px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -3px 16px #172a3e06}.bottomnav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;font-size:10px;color:#8f9097;border-radius:7px;padding:5px 0}.bottomnav button>span{font-size:19px;line-height:1}.bottomnav button.selected{color:#17406c;background:#edf1f6}.workspacebar{margin:16px 0 10px}.workspacebar .primary{font-size:11px;padding:11px 12px}.compactstats{font-size:10px}.compactstats b{margin:0 2px}.groupfilters{flex-wrap:nowrap;overflow-x:auto;margin:12px 0 5px;padding-bottom:7px}.groupfilters button{white-space:nowrap;padding:8px 10px;font-size:10px;flex-shrink:0}.listhead{margin:15px 0 12px;gap:10px}.listhead h2{font-size:20px;margin:0 0 7px}.listhead small{font-size:10px}.listhead .search{height:40px}.monthtabs{display:flex;grid-template-columns:none;gap:6px;flex-wrap:nowrap;overflow-x:auto;max-width:100%}.monthtabs button{min-height:38px;font-size:11px;padding:8px 10px}.monthpicker{margin-bottom:14px}.monthheading{margin-bottom:8px}.monthheading h3{font-size:14px}.compactcard{padding:13px 12px}.compacttop{gap:10px}.departurechip{font-size:14px;min-width:53px;padding:10px 6px}.compactidentity h3{font-size:14px;margin:4px 0}.compactidentity p{font-size:10px}.compacttop>.subtle{font-size:10px;padding:0;line-height:1.8}.mobileonly{display:block}.nexttask{font-size:10px;gap:7px;margin-top:9px;padding-top:10px}.nexttask small{font-size:9px}.popupoverlay{padding:12px;align-items:center}.popup{border-radius:12px;padding:15px 16px;max-height:calc(100dvh - 24px);width:100%;height:auto}.popup .modalhead{top:-15px;padding:7px 0 12px}.popup .modalhead h2{font-size:18px;overflow-wrap:anywhere}.popup .modalhead>.subtle{font-size:11px;padding-right:0}.popup .formgrid{grid-template-columns:1fr 1fr}.popup .sourcesummary{flex-wrap:wrap}.dailyboard,.revenuereport{margin-top:20px}.dailyintro h2{font-size:21px}.dailyintro p{font-size:11px}.dailyintro{align-items:center}.dailycard{padding:15px 12px}.dailycard p.dailynotes{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dailycard h3{font-size:14px}.dailystats{gap:15px;margin:14px 0;padding:11px 0;font-size:10px}.dailystats b{font-size:16px}.reportselector{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reportselector label{min-width:0}.reportselector>.primary{grid-column:1/-1;width:100%}.revenuesummary{padding:15px;align-items:flex-start;flex-wrap:wrap;gap:5px}.revenuesummary strong{font-size:25px;margin:8px 0}.revenuesummary>.subtle{padding:5px 0}.reporttools .search{margin-bottom:12px}.revenuecards article{display:block;padding:14px}.revenuecards h3{font-size:14px}.revenuecardamount{flex-direction:row;justify-content:space-between;align-items:center;border-top:1px solid #efeff0;padding-top:11px;margin-top:12px;gap:8px}.revenuecardamount strong{font-size:16px}.revenuecardamount>.subtle{font-size:10px;white-space:normal;text-align:right}.revenuecards p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.popup .task{gap:7px}.popup .tasktitle{min-width:90px}.moretools{grid-template-columns:1fr;gap:8px;margin:15px 0 25px}.moretools button,.moretools label{font-size:12px;padding:13px}.morecategories button{font-size:11px}.morecategories{gap:8px}.viewhint{font-size:10px}.notice,.error,.offline{font-size:11px;line-height:1.8}.dailytools .search{height:40px}.reportselector select{width:100%}.taskedit>div{grid-template-columns:1.3fr 1fr 1fr}footer{font-size:9px;padding-bottom:20px}}
/* Navigation contrast requested from the mobile screenshot */
.nav{font-weight:600;color:#4d4e52;border:1px solid transparent;min-height:46px}.nav b{color:#17406c;background:#e4eaf0;min-width:27px;min-height:23px;display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border-radius:6px;font-weight:700}.nav.selected{background:#17406c;color:#fff;border-color:#17406c;box-shadow:0 3px 9px #17406c20}.nav.selected b{background:#ffffff2b;color:#fff}.nav.hasoverdue:not(.selected) b,.groupfilters .hasoverdue:not(.selected) b,.morecategories .hasoverdue b{background:#ffe6e1;color:#a53627}.groupfilters button{color:#394e65;font-weight:600;border-color:#c9cacd;border-width:1.5px;min-height:43px}.groupfilters button b{display:inline-flex;min-width:23px;min-height:22px;align-items:center;justify-content:center;padding:2px 5px;border-radius:5px;background:#e3e9f0;color:#17406c;font-weight:700;font-size:11px}.groupfilters button.selected{background:#17406c;border-color:#17406c;color:#fff}.groupfilters button.selected b{background:#ffffff29;color:#fff}.monthtabs button{color:#4d4e52;font-weight:600;border-color:#cccccf}.monthtabs button b{font-weight:700;color:#3c5672}.monthtabs button.selected{color:white}.morecategories button{color:#34485e;font-weight:600;border:1px solid #c3d0de;min-height:46px}.morecategories button b{background:#dbe3ec;color:#17406c;padding:3px 7px;border-radius:5px;min-width:27px}.compactstats{color:#54555a}.sidebar .brand{color:#24313f}
@media(max-width:750px){.groupfilters{gap:8px}.groupfilters button{font-size:12px;padding:10px 12px;min-height:45px}.groupfilters button b{font-size:12px;min-width:25px;min-height:24px;margin-left:8px}.monthtabs button{font-size:12px;min-height:42px}.bottomnav{padding-top:8px;box-shadow:0 -3px 18px #172a3e0d}.bottomnav button{font-size:11px;color:#56575d;font-weight:600;min-height:50px;border:1px solid transparent}.bottomnav button.selected{background:#17406c;color:#fff;border-color:#17406c;box-shadow:0 2px 6px #17406c1a}.bottomnav button>span{font-size:20px}.morecategories button{font-size:12px}.compactstats{font-size:11px}}
/* V5 overview, customer controls and document tools */
.homeboard{padding-top:26px}.homewelcome{margin:0 0 22px}.homewelcome h1{font-size:28px;line-height:1.5;margin:10px 0;color:#25394f}.homewelcome p{font-size:12px;color:#898a91}.homecounts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.homecounts button{text-align:left;border:1px solid #dadbdd;border-radius:11px;padding:20px;background:#fff;color:#5c5d62}.homecounts span{font-size:12px;font-weight:600}.homecounts strong{display:block;font-size:33px;font-weight:600;color:#233f5c;margin:12px 0}.homecounts small{font-size:10px;color:#7b7d84}.homecounts .alertcount{border-color:#e9b2a7;background:#fff7f4}.homecounts .alertcount strong{color:#a43e2b}.homesections{display:grid;grid-template-columns:1fr 1fr;gap:18px}.homepanel{padding:20px;background:white;border:1px solid #e0e1e3;border-radius:11px;min-width:0}.homepanel .sectiontitle{margin:0 0 10px}.homepanel h2{font-size:17px;margin:0}.homeitem{display:block;width:100%;padding:13px 0;background:transparent;text-align:left;border-bottom:1px solid #efeff0;line-height:1.7;color:#364a5f}.homeitem:last-child{border-bottom:0}.homeitem span,.homeitem small{display:block;font-size:10px;color:#8c8d93}.homeitem b{display:block;font-size:13px;font-weight:500;margin:4px 0;overflow-wrap:anywhere}.homerevenue{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.homerevenue strong{display:block;font-size:27px;color:#284667;font-weight:600;margin:14px 0 8px;overflow-wrap:anywhere}.homerevenue p{font-size:11px;color:#898a91}.customerfilterrow{display:flex;justify-content:flex-end;margin-bottom:12px}.customerfilter{font-size:11px;display:flex;gap:10px;align-items:center;color:#5a5b61}.customerfilter select{font-size:12px;margin:0;width:auto;min-width:140px;min-height:40px}.customerclassification{display:flex;align-items:center;gap:10px;margin:12px 0}.customerbadge{font-size:10px;font-weight:600;border-radius:5px;padding:5px 8px;color:#344b64;background:#e5eaf0}.customerbadge.direct{background:#edf0fa;color:#526997}.customerbadge.unknown{background:#fff2de;color:#916e36}.documentactions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.documentactions button{font-size:12px;color:#17406c;background:#e8edf3;border:1px solid #beccdb;padding:12px 16px;border-radius:7px}.documenttoolbar{display:flex;align-items:center;gap:15px;margin:15px 0}.documenttoolbar small{font-size:11px;color:#86878e;line-height:1.8}.documentframe{width:100%;height:65vh;border:1px solid #dedfe1;border-radius:8px;background:#eef3f8}.reporttools .customerfilter{margin:0}.reporttools .search{max-width:100%}
@media(max-width:750px){.bottomnav{grid-template-columns:repeat(5,1fr)}.bottomnav button{font-size:10px}.homeboard{padding-top:20px}.homewelcome h1{font-size:23px;margin:8px 0}.homewelcome .eyebrow{font-size:10px}.homewelcome p{font-size:11px}.homecounts{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.homecounts button{padding:15px}.homecounts strong{font-size:29px;margin:8px 0}.homecounts span{font-size:11px}.homesections{grid-template-columns:1fr;gap:14px}.homepanel{padding:16px}.homepanel h2{font-size:16px}.homeitem b{font-size:13px}.homerevenue{align-items:flex-start;flex-direction:column;margin-top:14px}.homerevenue strong{font-size:25px}.homerevenue .primary{font-size:12px;width:100%}.customerfilterrow{justify-content:flex-start;margin:10px 0 14px}.customerfilter select{min-height:42px;font-size:12px}.reporttools .customerfilter{margin-bottom:12px}.documenttoolbar{align-items:flex-start;flex-direction:column;gap:9px}.documenttoolbar .primary{width:100%}.documentframe{height:63vh;min-height:350px}.documentactions button{font-size:11px;padding:11px 12px}.popup .customerfilter{display:block}.homewelcome{margin-bottom:18px}}
/* V6: clear mobile hierarchy and direct interactions */
.hometools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.hometools button{min-height:70px;background:#17406b;color:white;font-size:18px;font-weight:700;border-radius:16px;border:0;box-shadow:0 4px 12px #16385c18}.homerevenue{margin:0 0 18px}.homeboard .homesections{align-items:start}.clickablecard{cursor:pointer;transition:box-shadow .15s,transform .15s}.clickablecard:hover{box-shadow:0 5px 20px #15293f20;transform:translateY(-1px)}.clickablecard:focus-visible{outline:3px solid #db922a;outline-offset:3px}.cardchevron{font-size:32px;color:#184474}.departedgroups{margin-top:24px;border:1px solid #d7d7d9;border-radius:16px;background:#f7f8fa;padding:16px}.departedgroups>summary{cursor:pointer;font-size:18px;font-weight:700;padding:8px}.departedgroups>summary b{margin-left:8px;background:#e5e5e6;border-radius:20px;padding:3px 10px}.departedgroups>summary span{font-size:12px;font-weight:400;margin-left:12px;color:#6b6c73}.officialactions,.documentactions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.officialsteps{line-height:1.9;padding-left:24px}.officialsteps a,.officiallink{color:#133a64;text-decoration:underline}.officialpreview{padding:16px;margin:16px 0;border:1px solid #c9d4e0;border-radius:12px;background:#f3f6fa}.officialpreview p{white-space:pre-wrap;overflow-wrap:anywhere}.pullhint{position:fixed;z-index:80;top:12px;left:50%;transform:translateX(-50%);background:#17406b;color:white;border-radius:24px;padding:12px 24px;box-shadow:0 4px 20px #0002}.groupworkbench>.monthtabs{margin:14px 0}.backbutton{white-space:nowrap}html{overscroll-behavior-y:contain}
@media(max-width:700px){.homeboard .homesections{display:grid;grid-template-columns:1fr}.homeboard .homerevenue{display:block;padding:20px}.homerevenue strong{font-size:30px}.homerevenue .primary{margin-top:10px;width:100%}.hometools{gap:10px}.hometools button{font-size:16px;min-height:64px}.groupworkbench .reportselector{display:flex;flex-wrap:wrap;gap:10px}.groupworkbench .reportselector label{flex:1;min-width:140px}.groupworkbench .reportselector button{flex:1;min-width:180px}.departedgroups{padding:10px}.departedgroups>summary span{display:block;margin:8px 0 0 18px}.bottomnav{grid-template-columns:repeat(4,1fr)}header .crumb{font-size:12px}header{flex-wrap:wrap;gap:8px}.officialactions a,.officialactions button{min-height:44px}.hometools button:active{background:#0d2c4e}}
/* V6.1: independent panel heights, each preview is capped at five rows. */
.homeboard .homesections{display:block;column-count:2;column-gap:18px}.homeboard .homesections>.homepanel{display:inline-block;width:100%;box-sizing:border-box;break-inside:avoid;margin:0 0 18px;vertical-align:top}.homeviewmore{display:block;width:100%;padding:12px;margin-top:10px;border-radius:8px;background:#e8edf3;color:#17406b;font-weight:600}.dailycard[role=button],.task[role=button]{cursor:pointer}.dailycard[role=button]:hover,.task[role=button]:hover{background:#f0f4f8}.dailycard[role=button]:focus-visible,.task[role=button]:focus-visible{outline:3px solid #c88b29;outline-offset:3px}.popupoverlay{pointer-events:auto}
@media(max-width:900px){.homeboard .homesections{column-count:1}}
/* V6.3: named layout overrides the older generic report button rules. */
.groupworkbench .workbenchselector{display:grid;grid-template-columns:minmax(110px,1fr) 84px minmax(160px,1.3fr) minmax(210px,1.5fr);align-items:end;gap:12px}.groupworkbench .workbenchselector>label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;font-size:13px}.groupworkbench .workbenchselector>label>input,.groupworkbench .workbenchselector>label>select{width:100%;min-width:0;height:46px;margin:0;box-sizing:border-box;line-height:normal;font:inherit}.groupworkbench .workbenchselector>button{grid-column:auto;align-self:end;min-width:0;width:100%;height:46px;min-height:46px;margin:0;position:static;transform:none;font-size:14px;padding:10px;white-space:nowrap}.roomingimport{padding:18px;background:#f3f6f9;border:1px solid #d9dadc;border-radius:12px;margin:16px 0}.roomingbulk{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.roomingtable{width:100%;min-width:460px;border-collapse:collapse}.roomingtable th,.roomingtable td{padding:10px;border-bottom:1px solid #dadadc;text-align:left}.roomingtable input[type=checkbox]{width:22px;height:22px;margin:0}.roomingtable td:nth-child(2){min-width:180px}.roomingtable small{display:block}.roomingtable input:not([type=checkbox]){width:100%;margin:6px 0 0}.roomingimport>button{margin:14px 8px 0 0}
@media(max-width:1000px){.groupworkbench .workbenchselector{grid-template-columns:minmax(0,1fr) 90px}.groupworkbench .workbenchselector>label:nth-of-type(2){grid-column:1/-1}.groupworkbench .workbenchselector>.reportdownload{grid-column:1/-1;white-space:normal;height:auto;min-height:48px}.roomingimport{padding:12px}}
.pushtest{padding:16px;border:1px solid #c5d2df;border-radius:12px;margin:16px 0;background:#f6f8fa}.pushtest h3{margin-top:0}.pushtest>button{margin:8px 8px 8px 0;min-height:44px}.pushtoken{font-family:monospace;overflow-wrap:anywhere;min-height:110px}.pushschedule{margin-top:20px;padding:14px;border-top:1px solid #dedfe1}.pushschedule>summary{cursor:pointer;font-weight:600}
.freepush{margin:20px 0;padding:22px;border:2px solid #17416d;border-radius:18px;background:#eef2f7}.freepush h3{margin:10px 0}.pushbadge{display:inline-block;background:#17416d;color:white;padding:5px 10px;border-radius:20px;font-size:13px;font-weight:700}.pushstatus{display:grid;gap:6px;padding:14px;background:white;border:1px solid #c5d2df;border-radius:12px;font-size:14px}.pushguide{display:inline-flex;align-items:center;padding:12px;color:#17416d;font-weight:700}.pushtest summary,.pushschedule summary{cursor:pointer;font-weight:700;padding:14px 0}.freepush .documentactions{flex-wrap:wrap}.freepush .documentactions>*{max-width:100%}@media(max-width:600px){.freepush{padding:16px}.freepush .documentactions{display:grid;grid-template-columns:1fr}.freepush .documentactions>*{width:100%;box-sizing:border-box;text-align:center;justify-content:center}.pushstatus{overflow-wrap:anywhere}}
/* V6.9: compact work summary and direct task actions */
.homeboard .revenueline{display:flex;flex-direction:row;width:100%;align-items:center;justify-content:space-between;text-align:left;margin:0 0 20px;padding:18px 22px;box-sizing:border-box;background:#e8edf3;border-color:#c7d3df;color:#25394f}.revenueline h2{font-size:13px}.homeboard .revenueline strong{font-size:26px;margin:7px 0 4px;line-height:1.25}.revenueline p{margin:0;font-size:12px}.revenuearrow{font-size:13px;white-space:nowrap;color:#17406b}.homewelcome{display:flex;align-items:center;justify-content:space-between;gap:12px}.homewelcome h1{font-size:23px;margin:6px 0}.homewelcome .primary{white-space:nowrap}.homecounts button{padding:14px 18px}.homecounts strong{font-size:26px;margin:6px 0}.hometools{margin:12px 0 20px}.hometools button{min-height:48px;font-size:15px;border-radius:10px}.homepanel h2 small{font-size:12px;color:#6f7178;margin-left:4px}.homecheckitem{display:flex;align-items:center;gap:10px;border-bottom:1px solid #efeff0}.homecheckitem .check{flex:0 0 30px}.homecheckitem .homeitem{border:0;min-width:0}.homepriority{border-bottom:1px solid #e4e4e6;padding-bottom:13px;margin-bottom:6px}.homepriority>.homeitem{border:0;padding-bottom:8px}.homeitem b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.homepriority:last-child{border-bottom:0}.quickactions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;position:relative}.quickactions button,.quickactions select,.quickdates>summary{font:inherit;font-size:12px;min-height:40px;box-sizing:border-box;margin:0;border:1px solid #cdced1;border-radius:8px;color:#203d5d;background:white}.quickactions .quickcomplete{padding:8px 12px;background:#e8eef4;font-weight:650}.quickactions select{width:auto;min-width:90px;padding:6px 24px 6px 9px}.quickdates>summary{cursor:pointer;padding:8px 10px;list-style:none;white-space:nowrap}.quickdates>summary::-webkit-details-marker{display:none}.quickdates[open]{flex:1 0 100%;border:1px solid #ccd7e3;border-radius:10px;padding:12px;background:#f7f9fb;box-sizing:border-box}.quickdates[open]>summary{display:inline-block;margin-bottom:10px;background:#e8eef4}.quickdates form{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.quickdates label{display:block;margin:0;font-size:12px;min-width:0}.quickdates input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:14px;margin:6px 0}.quickdates small,.quickdatebuttons{grid-column:1/-1}.quickdates small{font-size:11px;color:#777980}.quickdatebuttons{display:flex;justify-content:flex-end;gap:8px}.quickactions .primary{background:#17406b;color:white}.quickerror{flex-basis:100%;color:#a43d29;font-size:12px}.card>.quickactions{border-top:1px solid #e9e9ea;padding-top:10px;margin-top:10px}.tasklist .quicktask{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;padding:15px 0}.quicktask .taskopen{display:block;flex:1 1 220px;text-align:left;color:#364a5f;background:transparent;border:0;padding:0;font-size:14px;line-height:1.7;min-width:0}.taskopen .taskdates{display:flex;flex-direction:column;gap:3px;font-size:12px;margin-top:5px;color:#797a81}.quicktask>.quickactions{flex:1 1 260px;justify-content:flex-end}.followupfield{margin-top:12px;font-size:12px}.followupfield small{display:block;color:#77787f}.quickaddfab{position:fixed;right:26px;bottom:28px;z-index:75;display:flex;align-items:center;gap:8px;border-radius:28px;padding:14px 20px;font-size:22px;background:#17406b;color:white;box-shadow:0 6px 24px #15293e30}.quickaddfab span{font-size:14px;font-weight:650}.quickdailyform>details{margin-top:16px;padding:12px 0;border-top:1px solid #e1e1e3}.quickdailyform summary{cursor:pointer;color:#17406b;font-size:14px}.undotoast{position:fixed;z-index:1500;bottom:26px;left:50%;transform:translateX(-50%);width:min(540px,calc(100% - 32px));display:flex;align-items:center;gap:12px;box-sizing:border-box;border-radius:14px;background:#192a3c;color:white;box-shadow:0 6px 30px #142c3040;padding:14px 16px}.undotoast>div{flex:1;min-width:0;overflow-wrap:anywhere}.undotoast b{font-size:13px;font-weight:500;display:block;max-height:4.5em;overflow:auto}.undotoast small{display:block;color:#ffcfbb;font-size:12px}.undotoast button{padding:10px 14px;background:white;color:#13375d;border-radius:8px;font-weight:700;white-space:nowrap;min-height:42px}.undotoast .undodismiss{background:transparent;color:white;padding:7px}.quickactions button:disabled,.quickactions select:disabled,.quickdailyform button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:750px){.homeboard .revenueline{padding:14px 16px;margin-bottom:16px;gap:10px}.homeboard .revenueline strong{font-size:23px}.revenueline h2{font-size:12px}.revenueline p{font-size:11px}.revenuearrow{font-size:11px}.homewelcome{align-items:flex-start}.homewelcome h1{font-size:20px}.homewelcome .primary{font-size:12px;padding:10px 12px;min-height:42px}.homewelcome p{font-size:11px}.homecounts{gap:8px}.homecounts button{padding:12px 14px}.homecounts strong{font-size:25px;margin:4px 0}.homecounts small{display:none}.hometools{gap:9px}.hometools button{min-height:44px;font-size:14px}.compactidentity h3{display:none}.compactidentity .code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.compactidentity p{font-size:12px;margin-top:6px;overflow-wrap:anywhere}.compacttop{gap:10px}.compactcard{padding:14px}.compactcard .departurechip{font-size:16px;min-width:54px;padding:10px 8px}.compactcard .nexttask{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}.compactcard .nexttask b{min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}.compactcard .nexttask span,.compactcard .nexttask small{font-size:11px}.compactcard .quickactions{gap:6px}.quickactions button,.quickactions select,.quickdates>summary{min-height:44px;font-size:12px}.quickactions select{flex:1;min-width:0;max-width:140px}.quickactions .quickcomplete{padding:8px 10px}.quickdates>summary{display:flex;align-items:center;padding:8px}.quickdates[open]{flex:1 0 100%}.quickdates[open]>summary{display:inline-flex}.quicktask>.quickactions{justify-content:flex-start;flex-basis:100%}.quicktask .taskopen{flex-basis:100%}.quickdates form{grid-template-columns:minmax(0,1fr)}.quickdates input{max-width:100%;min-width:0;width:100%}.quickaddfab{bottom:calc(90px + env(safe-area-inset-bottom));right:16px;padding:12px 17px}.undotoast{bottom:calc(88px + env(safe-area-inset-bottom));padding:12px;gap:8px}.undotoast button{padding:9px 12px}.homepriority{padding-bottom:12px}.homeboard .homesections{column-count:1}.quickdailyform input,.quickdailyform textarea,.quickdailyform select{font-size:16px}}
.quickaddfab{z-index:20}
/* V7.0 — calm, readable workspace */
:root{--work-ink:#1c2c3e;--work-green:#18395c;--work-muted:#72747b;--work-line:#dfe0e2;--work-paper:#fffefa;--work-canvas:#f2f4f7;background:var(--work-canvas);color:var(--work-ink)}body{background:var(--work-canvas)}.sidebar{background:var(--work-paper);border-color:var(--work-line)}.brand .mark{background:#18395c;border-radius:15px}.nav.selected{background:#e6ebf1;color:#18395c;font-weight:650}.nav.hasoverdue:not(.selected){color:#a13e2d}.headeractions{display:flex;align-items:center;gap:8px}.globalsearchtrigger{display:flex;align-items:center;gap:7px;background:#fffefa;border:1px solid #dddee0;border-radius:10px;min-height:40px;padding:8px 12px;color:#31465d;font-size:13px}.globalsearchtrigger kbd{font-size:10px;color:#8c8d94;border-left:1px solid #e2e2e4;padding-left:8px;font-family:inherit}.pagecontent{min-width:0}.page-forward{animation:work-forward .18s ease-out both}.page-back{animation:work-back .18s ease-out both}@keyframes work-forward{from{opacity:0;transform:translate3d(10px,4px,0)}to{opacity:1;transform:none}}@keyframes work-back{from{opacity:0;transform:translate3d(-10px,3px,0)}to{opacity:1;transform:none}}.popupoverlay{animation:work-shade .16s ease-out}.popup{animation:work-popup .18s ease-out}@keyframes work-shade{from{opacity:0}to{opacity:1}}@keyframes work-popup{from{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:none}}
.homeboard{max-width:1360px;margin:0 auto}.homeboard .revenueline{background:linear-gradient(115deg,#172a3f,#1c4066);border:0;border-radius:20px;padding:25px 28px;margin:0 0 16px;color:#fff;box-shadow:0 8px 22px #172a3f15}.revenuehero{width:100%;min-width:0}.revenuecaption{display:flex;justify-content:space-between;align-items:center;gap:14px}.homeboard .revenueline h2{color:#d6dfe8;font-size:13px;font-weight:500;letter-spacing:.7px}.revenueline .revenuearrow{font-size:11px;border:1px solid #ffffff35;background:#ffffff0c;color:#e0e7ef;border-radius:20px;padding:6px 10px;white-space:nowrap}.homeboard .revenueline strong{font-size:39px;font-weight:650;letter-spacing:-1px;color:white;margin:16px 0 20px;line-height:1.15;font-variant-numeric:tabular-nums}.revenueline strong>small{font-size:18px;font-weight:400;letter-spacing:0;color:#b8c7d7}.revenuemetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:540px;gap:20px}.revenuemetrics>span{border-left:1px solid #ffffff2c;padding-left:20px;display:flex;gap:10px;align-items:baseline;font-size:12px;color:#c7d3df}.revenuemetrics>span:first-child{border:0;padding-left:0}.revenuemetrics b{font-size:23px;font-weight:600;color:white;font-variant-numeric:tabular-nums}.homeboard .revenueline p{color:#cad7e4;font-size:11px;margin-top:14px}.homesearch{display:grid;grid-template-columns:25px minmax(0,1fr) auto 16px;align-items:center;gap:10px;min-height:55px;padding:13px 17px;background:#fffefa;border:1px solid #dedee0;border-radius:13px;color:#72747b;text-align:left;width:100%;margin-bottom:23px;font-size:13px}.homesearch>span:first-child{font-size:28px;line-height:1;color:#2c4967}.homesearch kbd{font:inherit;font-size:10px;border:1px solid #dfe0e2;border-radius:5px;background:#f3f5f8;padding:3px 6px;color:#8f9096}.homesearch>b{font-size:17px;color:#6f7178}.homewelcome h1{color:#25384c;letter-spacing:.2px;font-size:24px}.homewelcome .eyebrow{font-size:10px;letter-spacing:1.5px}.homecounts button{background:#fffefa;border-color:var(--work-line);border-radius:13px;padding:16px 18px}.homecounts strong{font-size:28px;color:#23384e;font-variant-numeric:tabular-nums}.homecounts .alertcount{background:#fff7f3;border-color:#f0d4c7}.homecounts .alertcount strong{color:#a6402c}.hometools{margin:14px 0 24px}.hometools button{background:#fffefa;color:#2b4867;box-shadow:none;border:1px solid #c9d4e0;border-radius:11px;min-height:49px;font-size:14px;font-weight:600}.hometools button:hover{background:#eaeef3}.homepanel{border-radius:16px;background:#fffefa;border-color:var(--work-line);box-shadow:0 3px 10px #24394f10}.homepanel h2{display:flex;align-items:center;gap:8px;font-size:16px;color:#2b3c4e}.sectionicon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;background:#ebeced;color:#5d5e64;border-radius:9px;font-size:17px}.sectionicon.personalicon{background:#e9eff3;color:#587a8e}.sectionicon.priorityicon{background:#faf0dd;color:#9b753a}.homepanel .sectiontitle{align-items:center}.homeitem span{color:#76787f;font-size:11px}.homeitem b{font-size:14px;color:#2b3d51}.homeitem small{font-size:11px;color:#8c8d94}.homepriority{border-color:#e4e4e6;padding-bottom:10px}.homeviewmore{border:1px solid #e0e0e2;background:#edf1f6;color:#395068;border-radius:9px;min-height:42px;font-size:12px}.recentpanel{margin:0 0 24px}.recentpanel>.sectiontitle{margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.recentpanel h2{font-size:15px;font-weight:650;margin:0;color:#33475c}.recentpanel>.sectiontitle>small{font-size:10px;color:#8f9096}.recentgroups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.recentgroups>button{position:relative;min-width:0;border:1px solid var(--work-line);border-radius:12px;background:#fffefa;padding:13px 14px;text-align:left;transition:background .15s}.recentgroups>button:hover{background:#e9eef3}.recentgroups span,.recentgroups b,.recentgroups small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentgroups span{font-size:10px;color:#909197}.recentgroups b{font-size:12px;color:#28425d;font-weight:650;margin:6px 0}.recentgroups small{font-size:11px;color:#787a81;padding-right:10px}.recentgroups i{position:absolute;bottom:12px;right:11px;font-size:12px;color:#86888f;font-style:normal}.recentpanel>.viewhint{padding:13px;background:#e9eef3;border-radius:10px;margin:0;font-size:12px}.compactcard{background:#fffefa;border-color:var(--work-line);border-radius:16px;box-shadow:0 3px 10px #24394f08}.compactidentity .code{color:#28435f;font-weight:650;letter-spacing:.3px}.compactidentity p{color:#84868d}.compactidentity h3{font-size:14px;line-height:1.6;color:#515257}.datebadge{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 68px;min-width:68px;overflow:hidden;border:1px solid #d4d5d7;border-radius:12px;background:#ecf1f6;color:#31455b;text-align:center;font-style:normal;align-self:flex-start}.datebadge>span{display:block;background:#dbe3eb;width:100%;font-size:10px;line-height:23px;font-weight:600;letter-spacing:.5px}.datebadge>strong{font-size:27px;font-weight:650;line-height:1.2;padding-top:4px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.datebadge>small{font-size:10px;line-height:21px;color:#808188}.datebadge.undated{background:#f4f3ee;border-color:#e3e1d8;color:#909197}.datebadge.undated>span{background:#eae9e0}.todaytext{color:#ae7834!important}.badge{border-radius:7px}.statepill{font-size:10px;background:#e7ecf2;color:#5d5e64;padding:4px 8px;border-radius:20px;white-space:nowrap}.statepill.muted{background:#ececed;color:#86888f}.taskopen em{background:#fbefdc;color:#a27431}.tasksectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px;padding-bottom:12px;border-bottom:1px solid #e2e2e3}.tasksectionhead h3{margin:0;font-size:16px;color:#33465b}.tasksectionhead>.subtle{border:1px solid #ced8e3;border-radius:9px;background:#ecf1f6;padding:9px 12px}.batchtoolbar{background:#eaf0f6;border:1px solid #c7d3e0;border-radius:13px;padding:16px;margin:12px 0 4px}.batchselection{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.batchselection>label{display:flex;align-items:center;gap:8px;margin:0}.batchselection input[type=checkbox],.bulkcheck input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:#234264}.batchselection>b{color:#3f566f;font-size:12px}.batchbuttons{margin:14px 0}.batchfollow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:9px}.batchfollow>label{font-size:12px;margin:0;min-width:0}.batchfollow input{display:block;margin:6px 0 0;width:100%;min-width:0;background:white}.batchfollow button{min-height:43px;padding:10px;border:1px solid #bccad9;background:white;color:#3c536b;border-radius:8px;font-size:12px}.batchtoolbar>small{display:block;margin-top:12px;font-size:11px;color:#7c7e85}.bulkcheck{display:flex;align-self:center;align-items:center;padding:9px;margin:0;flex:0 0 37px;min-height:44px}.quicktask:has(.bulkcheck)>.taskopen{flex:1 1 0;min-width:0}.actiondisclosure{min-width:0}.actionstoggle{display:none}.quicktask>.actiondisclosure{flex:1 1 260px}.quicktask>.actiondisclosure>.quickactions{justify-content:flex-end}.card>.actiondisclosure{margin-top:10px;border-top:1px solid #dee5ed;padding-top:10px}.globalsearch .searchfield{display:block;font-size:12px;color:#65676d}.globalsearch input[type=search]{min-height:52px;font-size:16px;border:1px solid #c4c5c8;border-radius:11px;background:#f8fafc;padding:12px 14px;margin-top:8px}.searchtabs{display:flex;gap:8px;margin:20px 0 10px;flex-wrap:wrap}.searchtabs button{display:flex;align-items:center;gap:8px;padding:9px 13px;min-height:40px;border:1px solid #d2dce6;background:#fffefa;color:#71737a;border-radius:20px;font-size:12px}.searchtabs button.selected{background:#1d3e61;color:white;border-color:#1d3e61}.searchtabs b{font-size:10px;font-weight:600;opacity:.8}.searchcount{font-size:11px;color:#909197;margin:14px 0}.searchresults{display:grid;gap:10px}.searchresult{display:block;text-align:left;width:100%;padding:16px;border:1px solid #d2dce6;border-radius:12px;background:#fffefa;color:#5e5f65;min-width:0}.searchresult:hover{background:#ebf0f6}.searchresulttop{display:flex;align-items:center;justify-content:space-between;gap:10px}.searchresulttop>b{font-size:12px;letter-spacing:.3px;color:#29435e}.searchresult>strong{display:block;font-size:13px;font-weight:550;margin:8px 0;line-height:1.6;overflow-wrap:anywhere}.searchresult>span:last-child{display:block;color:#85868d;font-size:11px;line-height:1.8}.searchempty{padding:30px 12px;text-align:center;color:#84858c;font-size:13px}.homeboard .homecounts strong,.compactstats b,.revenuesummary strong{font-variant-numeric:tabular-nums}
@media(max-width:1000px) and (min-width:751px){.globalsearchtrigger kbd{display:none}.recentgroups{grid-template-columns:repeat(3,minmax(0,1fr))}.batchfollow{grid-template-columns:1fr 1fr}.batchfollow>label{grid-column:1/-1}}
@media(max-width:750px){.headeractions{gap:2px}.globalsearchtrigger{font-size:17px;padding:6px 10px;min-height:38px;background:transparent;border-color:transparent}.globalsearchtrigger span,.globalsearchtrigger kbd{display:none}.homeboard .revenueline{padding:20px;border-radius:17px;margin-bottom:12px}.homeboard .revenueline strong{font-size:32px;margin:17px 0 18px;letter-spacing:-.8px}.revenueline strong>small{font-size:15px}.homeboard .revenueline h2{font-size:12px}.revenueline .revenuearrow{font-size:10px;padding:5px 9px}.revenuemetrics{gap:12px}.revenuemetrics>span{padding-left:12px;gap:5px;font-size:10px;flex-direction:column}.revenuemetrics b{font-size:20px}.homeboard .revenueline p{font-size:10px;line-height:1.6}.homesearch{padding:12px 14px;gap:8px;grid-template-columns:21px minmax(0,1fr) 14px;min-height:51px;margin-bottom:19px;font-size:12px}.homesearch kbd{display:none}.homesearch>span:first-child{font-size:25px}.homewelcome h1{font-size:20px}.homewelcome .primary{padding:10px 11px;font-size:11px}.homecounts{gap:9px}.homecounts button{padding:12px 14px}.homecounts strong{font-size:26px}.homepanel{border-radius:14px}.homepanel h2{font-size:14px;gap:6px}.sectionicon{flex-basis:26px;width:26px;height:26px;border-radius:8px;font-size:15px}.homepanel h2 small{font-size:11px;margin-left:0}.homeitem b{font-size:13px}.hometools{margin:12px 0 21px}.hometools button{font-size:13px;min-height:45px}.recentpanel{margin-bottom:21px}.recentpanel h2{font-size:14px}.recentgroups{display:flex;overflow-x:auto;gap:9px;padding-bottom:5px;scroll-snap-type:x proximity}.recentgroups>button{flex:0 0 155px;padding:12px;scroll-snap-align:start}.recentgroups b{font-size:12px}.recentpanel>.sectiontitle>small{font-size:9px}.datebadge{flex-basis:58px;min-width:58px;border-radius:10px}.datebadge>span{font-size:10px;line-height:21px}.datebadge>strong{font-size:25px}.datebadge>small{font-size:9px;line-height:20px}.compacttop{align-items:flex-start;gap:11px}.compactidentity p{font-size:11px;line-height:1.7;margin:6px 0 0}.compactidentity .code{font-size:12px}.compactcard .nexttask{padding-top:10px;border-top:1px solid #e2e8ef;margin-top:12px}.card>.actiondisclosure{border:0;padding:0;margin-top:6px;text-align:right}.actionstoggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#e7edf4;color:#425a74;border:1px solid #cdd8e3;border-radius:8px;padding:8px 13px;min-height:42px;font-size:12px;font-weight:600;cursor:pointer}.quickactions.mobilecollapsed{display:none}.actiondisclosure>.quickactions:not(.mobilecollapsed){padding-top:10px;text-align:left}.homepriority>.actiondisclosure{display:flex;flex-wrap:wrap;justify-content:flex-end}.homepriority>.actiondisclosure>.quickactions{flex-basis:100%}.quicktask>.actiondisclosure{flex-basis:100%;text-align:right}.quicktask>.actiondisclosure>.quickactions{justify-content:flex-start}.batchtoolbar{padding:13px}.batchfollow{grid-template-columns:minmax(0,1fr)}.batchfollow button,.batchbuttons button{width:100%;min-height:44px}.batchfollow input{max-width:100%;font-size:16px}.batchselection{font-size:11px}.batchselection>b{font-size:11px}.tasksectionhead h3{font-size:15px}.tasksectionhead>.subtle{font-size:11px}.bulkcheck{padding:8px 4px;flex-basis:28px}.quicktask:has(.bulkcheck){gap:8px}.searchtabs button{min-height:43px}.searchresult{padding:14px}.searchresult>strong{font-size:13px}.searchresulttop>b{font-size:12px}.searchresult>span:last-child{font-size:11px}.globalsearch input[type=search]{font-size:16px}.headeractions>.subtle{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pagecontent,.popupoverlay,.popup{animation:none!important;transition:none!important;transform:none!important}.clickablecard,.recentgroups>button{transition:none!important}.clickablecard:hover{transform:none!important}html{scroll-behavior:auto!important}}
.headeractions button{white-space:nowrap}@media(max-width:1050px) and (min-width:751px){header{height:auto;min-height:80px;flex-wrap:wrap;gap:8px;padding:12px 0}.headeractions{margin-left:auto}}@media(max-width:750px){.quickactions select,.quickdates input{font-size:16px}}

/* V7.1: keep document frames out of composited popup animations */
.quietoverlay,.quietoverlay>.popup{animation:none!important;transform:none!important;backdrop-filter:none!important}.toolloading{padding:28px 16px;background:#edf1f5;border-radius:10px;margin:16px 0;color:#31465d;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.documentframe.frameloading{visibility:hidden;height:1px;min-height:1px}.roomingdisclosure{margin:16px 0;border:1px solid #dfe0e2;border-radius:9px;padding:12px}.roomingdisclosure>summary{cursor:pointer;font-weight:600}.syncstatus{display:block;font-size:12px;color:#314b66;padding:9px 0;line-height:1.6}.syncstatus.warning{color:#a13e2d}.restorepreview{max-height:36vh;overflow:auto;padding:10px 22px;line-height:1.8}.todayfocus{padding:16px 20px;margin:12px 0 18px;background:#edf1f5;border-radius:12px}.todayfocus h2{font-size:16px}.todayfocus p{font-size:13px;line-height:1.8}.page-forward,.page-back{animation:work-shade .12s ease-out both}

/* V7.2: stable modal geometry and a scrollable body; no moving iframe layers. */
.popupoverlay{animation:none!important;backdrop-filter:none!important}.popup{display:flex;flex-direction:column;overflow:hidden;min-height:0;animation:none!important;transform:none!important}.popup .modalhead{position:relative;top:auto;flex:0 0 auto;margin:0;padding:0 0 12px;z-index:2}.modalbody{overflow:auto;overscroll-behavior:contain;min-height:0;scroll-padding-bottom:100px}.popup .modalhead>.subtle{min-height:44px;flex-shrink:0}.documentframe{display:block;min-height:460px}.rememberdetails{border:1px solid #dfe0e2;border-radius:10px;margin:14px 0;background:#fff}.rememberdetails>summary{padding:14px 12px;cursor:pointer;font-weight:600;line-height:1.5}.detailsectionbody{padding:0 12px 12px}.detailsectionbody>.detailintro{padding-top:0}.progressnote{font-size:11px;color:#6f7077;margin-top:10px;display:flex;gap:9px;align-items:center}.progressnote progress{width:70px;height:6px;accent-color:#17406c}.openonlyfilter{display:flex;align-items:center;gap:8px;font-size:12px;color:#31465d;margin:12px 0}.openonlyfilter input{width:18px;height:18px;margin:0}.filterhint{font-size:11px;color:#797b82}.popup .modalfoot{background:#fffefa}
@media(max-width:750px){.popupoverlay{padding:24px 20px!important;align-items:center;box-sizing:border-box}.popup,.popup.widepopup{width:100%;max-width:100%;height:auto;max-height:calc(100dvh - 48px);padding:12px;box-sizing:border-box;border-radius:14px}.popup .modalhead h2{font-size:17px;overflow-wrap:anywhere;min-width:0}.popup .modalhead{gap:8px}.popup .modalhead>.subtle{padding:8px;white-space:nowrap}.modalbody{padding:0 2px}.popup .modalfoot{position:sticky;bottom:0;z-index:2;padding:12px 0 calc(12px + env(safe-area-inset-bottom));margin-bottom:0;border-top:1px solid #dfe0e2;box-shadow:0 -4px 12px #172a3e08;display:flex;flex-wrap:wrap;gap:8px}.popup form{padding-bottom:1px}.popup .modalfoot>.primary{flex:1;min-height:44px}.compactcard{padding:13px 14px}.compactidentity h3{font-size:14px;-webkit-line-clamp:2;margin:4px 0}.compactcard>.taskquickactions,.compactcard>.quickactions{display:none}.compacttop{gap:10px}.nexttask{gap:7px;margin-top:8px;padding-top:8px}.nexttask b{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.nexttask small{display:none}.progressnote{margin-top:8px}.documentframe{height:65dvh;min-height:380px}.toolloading{padding:10px 12px;margin:8px 0}.roomingdisclosure{margin:8px 0}.rememberdetails>summary{padding:12px 10px}.detailsectionbody{padding:0 10px 10px}}
@media(max-width:750px) and (max-height:500px){.popupoverlay{padding:12px 16px!important}.popup,.popup.widepopup{max-height:calc(100dvh - 24px)}}

@media(max-width:750px){.compactcard>.actiondisclosure{display:none}}

.detailoverview{margin:8px 0 14px;line-height:1.6}.detailoverview strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px}.detailoverview small{display:block;color:#797b82;margin-top:4px}.toolloading{min-height:48px;box-sizing:border-box}.savedhint{display:block;min-height:20px}.rememberdetails .tasksectionhead h3{font-size:13px}

/* V7.3 — 俊維的工作手帳 */
:root{--work-canvas:#f5f2e9;--work-paper:#fffdf7;--work-ink:#192b3f;--work-muted:#76787f;--work-line:#dedee0;--work-green:#223e5b}html,body{background:var(--work-canvas);color:var(--work-ink)}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif}.sidebar{background:#fffdf7;border-right:1px solid #dddee0}.sidebar .brand{color:#21374f}.nav.selected{background:#dfe6ee;color:#1c3753}.navlabel,.eyebrow{letter-spacing:.12em;color:#7d7e85}.shell main>header{border-bottom:1px solid #dcdcde;background:transparent}.primary{background:#223e5b;border-color:#223e5b;color:#fffdf7;border-radius:9px}.subtle{color:#5d5e63}.homeboard{gap:18px}.homewelcome{margin-top:24px;margin-bottom:6px}.homewelcome h1{font-size:28px;letter-spacing:-.04em;font-weight:650}.homewelcome p{font-size:13px;line-height:1.8;color:#73747b}.homepanel,.recentpanel,.card,.dailycard,.weekpanel{background:#fffdf7;border:1px solid #dddee0;box-shadow:0 3px 14px #2b3b4d04;border-radius:14px}.homepanel{padding:22px}.homepanel h2,.sectiontitle h2{color:#24384d;font-weight:650;font-size:17px}.homepanel .sectionicon{font-size:17px;background:#e3eaf1;color:#55565c}.homepanel .priorityicon{background:#f9edda;color:#9b692e}.homecounts{gap:10px;margin-top:0}.homecounts>button{background:#fffdf7;border:1px solid #dddee0;box-shadow:none;border-radius:12px;padding:16px;text-align:left}.homecounts strong{font-size:27px;color:#284059}.homecounts>button>span{color:#73747b;font-size:12px}.homecounts>button.alertcount{background:#fff7ef;border-color:#ecd4c4}.homecounts>button.alertcount strong{color:#aa4c35}.homecounts small{color:#8a8b92}.homesearch{background:#e3e9f0;border:1px solid #d2dbe5;border-radius:11px;box-shadow:none}.hometools{gap:10px}.hometools button{background:#dde5ed;border:1px solid #cbd6e2;color:#32455a;padding:14px 18px;border-radius:11px}.homerevenue{background:#e3eaf1;border:1px solid #cfdae5}.homerevenue strong{color:#243b53}.weekpanel{padding:20px;margin:14px 0 0}.weekpanel .sectiontitle{align-items:flex-start}.weekpanel h2{margin:0 0 5px}.weekpanel small,.weekcaption{font-size:12px;color:#7a7c83;line-height:1.7}.weekcaption{white-space:nowrap}.weekgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:15px}.weekday{padding:13px 7px;background:#f6f6ed;border:1px solid #e4e4e5;border-radius:10px;text-align:center;color:#515256;min-width:0}.weekday>span{display:block;font-size:12px;color:#83858c}.weekday>strong{display:block;font-size:24px;margin:6px 0 10px;font-weight:600}.weekday>small{display:block;font-size:11px;line-height:1.8}.weekday small b{color:#35485d}.weekday.istoday{background:#253d56;border-color:#253d56;color:#fffdf7}.weekday.istoday>span,.weekday.istoday>small,.weekday.istoday small b{color:#d5dfea}.weekbacklog{padding:11px 0 0;text-align:left;color:#9b623d;font-size:12px;background:transparent;line-height:1.7}.backupnudge{display:flex;justify-content:space-between;gap:12px;text-align:left;background:#f8efd9;color:#91642f;padding:13px 16px;border:1px solid #ecdfbc;border-radius:10px;font-size:12px;line-height:1.7}.backupnudge span{white-space:nowrap}.backupreminder,.templatepicker{background:#e9eef4;border:1px solid #d2dce6;border-radius:11px;padding:16px;margin:18px 0}.backupreminder p{font-size:13px}.backupreminder small{display:block;color:#797b82;line-height:1.8}.templatepicker label{margin:0}.templatepicker button{margin-top:10px}.templatelist{display:grid;gap:9px;margin:16px 0}.templatelist>button{text-align:left;padding:15px;background:#e8eef4;border:1px solid #d4dde7;border-radius:10px;color:#33465a}.templatelist b,.templatelist small{display:block;line-height:1.8}.templatelist small{color:#7a7c83;font-size:12px}.templateeditrow{display:grid;grid-template-columns:2fr 1.2fr 1fr auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e1e1e3;margin-bottom:12px}.templateeditrow label{min-width:0;margin:0}.templateeditrow .remove{margin-bottom:12px}.batchmovechoices{max-height:40dvh;overflow:auto;border:1px solid #dedee0;border-radius:10px;padding:4px 12px;margin:14px 0}.batchmovechoices label{display:flex;align-items:center;gap:12px;padding:12px 0;margin:0;border-bottom:1px solid #dee5ec;line-height:1.6}.batchmovechoices input{width:19px;height:19px;margin:0;flex-shrink:0}.batchmovechoices span{min-width:0}.batchmovechoices b,.batchmovechoices small{display:block;overflow-wrap:anywhere}.batchmovechoices small{color:#7a7c83;font-size:12px}.compactcard{padding:18px 20px;border-radius:13px;box-shadow:none}.compactidentity .code{font-size:11px;color:#7b7d84;letter-spacing:.04em}.compactidentity h3{font-size:16px;color:#24384e;line-height:1.65}.compactidentity p{font-size:13px;color:#707279}.datebadge{background:#e2e9f1;color:#283e55}.nexttask{border-color:#dbe3eb;font-size:12px}.nexttask b{color:#505155;font-weight:550}.late,.latebadge,.todaytext.late{color:#b04434!important}.todaytext{color:#b0792e}.popup{background:#fffdf7}.popup .modalhead{background:#fffdf7}.popup .modalfoot{background:#fffdf7}.rememberdetails{background:#fffdf7;border-color:#d5dee8}.notice{background:#dee7f0;color:#3a5067}.pagecontent{animation:none!important}.clickablecard:hover{transform:none}.cardchevron{color:#9e9fa4}button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #9c7739;outline-offset:3px}.task.quicktask{border-color:#dbe3eb}.sectiontitle .subtle,.homeviewmore{font-size:12px}.recentpanel{padding:18px 20px}.recentgroups>button{background:#ecf0f5;border-color:#dedee0}.progressnote{color:#797b82}.weekpanel .homeitem{width:100%}
@media(max-width:750px){body{font-size:14px}.homewelcome{margin-top:17px;gap:12px}.homewelcome h1{font-size:24px}.homewelcome .eyebrow{font-size:10px}.homewelcome p{font-size:12px}.homewelcome .primary{white-space:nowrap;padding:11px 12px;min-height:44px}.homepanel{padding:18px 16px}.weekpanel{padding:16px 13px;margin-top:10px}.weekgrid{display:flex;overflow-x:auto;gap:7px;padding-bottom:7px;scrollbar-width:thin}.weekday{flex:0 0 76px;padding:12px 6px;min-height:155px}.weekday>strong{font-size:25px}.weekday>small{font-size:12px}.weekcaption{font-size:0}.weekcaption:after{content:'左右滑動查看';font-size:11px}.weekpanel .sectiontitle small{font-size:11px}.homecounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.homecounts>button{padding:14px}.homecounts strong{font-size:25px}.homecounts small{font-size:11px}.hometools button{padding:14px 11px;font-size:13px;min-height:46px}.compactcard{padding:16px}.compactidentity h3{font-size:15px}.compactidentity p{font-size:12px;line-height:1.7}.nexttask{font-size:12px}.compacttop{gap:12px}.homeitem>b{font-size:14px;line-height:1.7}.homeitem>small{font-size:12px;line-height:1.7}.homeitem>span{font-size:11px}.templateeditrow{grid-template-columns:1fr 1fr;gap:8px}.templateeditrow>label:first-child{grid-column:1/-1}.templateeditrow .remove{margin:0}.batchmovechoices{max-height:35dvh}.batchmovechoices label{padding:14px 0}.backupnudge{font-size:12px;flex-wrap:wrap}.backupreminder,.templatepicker{padding:13px}.bottomnav{background:#fffdf7;border-color:#d2dce6}.bottomnav button.selected{background:#dee7f0;color:#283f58}.detailsectionbody,.dailycard{font-size:14px}}

.notebookhome .weekpanel{margin-bottom:18px}.notebookhome{padding-top:6px}.nav>span:first-child,.sectionicon{font-variant-emoji:text}.hometools button{box-shadow:none}
