
:root{--ink:#172f3b;--muted:#607780;--line:#dce5e8;--paper:#f3f6f7;--teal:#176b61;--pale:#e8f3ef;--red:#b54238;--amber:#986412}*{box-sizing:border-box}body{margin:0;background:var(--paper);font:16px/1.55 Gisha,'Segoe UI',Arial,sans-serif;color:var(--ink)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #dca951;outline-offset:3px}button,input,textarea,select{border-radius:8px}button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 15px}button:hover{background:#edf4f3}button.primary{background:var(--teal);color:white;border-color:var(--teal)}button.primary:hover{background:#10584f}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--ink);color:#fff;padding:30px 21px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:21px;font-weight:700;letter-spacing:-.5px}.brand small{display:block;font-size:14px;color:#abc3ca;font-weight:400;margin-top:5px}.brandmark{display:block;width:32px;height:5px;background:#7ac2ab;margin-bottom:18px}nav{display:grid;gap:8px;margin-top:40px}nav button{text-align:right;border:0;background:transparent;color:#c4d4d9;padding:12px 13px}nav button.active{background:#304d59;color:white;border-right:3px solid #7ac2ab;border-radius:6px}.sidefoot{margin-top:auto;color:#b5c9ce;font-size:14px}.sidefoot strong{display:block;color:white}.workspace{min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:16px}.topbar small{display:block;color:var(--muted);font-size:14px}.identity{display:flex;align-items:center;gap:10px;font-size:14px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--pale);color:var(--teal);font-weight:bold}main{padding:28px 38px 50px;max-width:1500px;margin:auto}.notice{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 17px;background:#edf3f9;border:1px solid #d5e2ec;border-radius:8px;font-size:14px;margin-bottom:28px}.notice strong{color:#244f73}.pagehead{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin:0 0 24px}.eyebrow{font-size:14px;color:var(--teal);font-weight:700;margin-bottom:5px}h1{font-size:32px;line-height:1.25;margin:0 0 9px;letter-spacing:-.7px}h2{font-size:20px;margin:0}h3{font-size:17px;margin:0}.sub{color:var(--muted);margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:28px;overflow:hidden}.stat{padding:20px 24px;border-left:1px solid var(--line)}.stat:last-child{border:0}.stat b{display:block;font-size:32px;line-height:1.2}.stat span{font-size:14px;color:var(--muted)}.red{color:var(--red)}.amber{color:var(--amber)}.green{color:var(--teal)}.split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px}.panel{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;margin-bottom:24px}.panelhead{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.panelbody{padding:22px}.row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--line)}.row:last-child{border:0}.meta{font-size:14px;color:var(--muted);margin-top:5px}.pill{display:inline-block;font-size:14px;padding:3px 9px;border-radius:5px;background:#edf2f4;color:#4b6571;white-space:nowrap}.pill.blocked,.pill.late{background:#faece8;color:var(--red)}.pill.reported{background:#fff1d9;color:#805712}.pill.approved,.pill.closed{background:var(--pale);color:var(--teal)}.rowmain{min-width:0}.rowmain strong{display:block}.textbtn{padding:0;border:0;background:none;color:var(--teal);text-align:right}.textbtn:hover{text-decoration:underline;background:none}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}input,textarea,select{border:1px solid #bfced4;background:#fff;color:var(--ink);padding:9px 11px;width:100%}textarea{resize:vertical;min-height:130px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6b7e85 50%),linear-gradient(135deg,#6b7e85 50%,transparent 50%);background-position:12px 50%,17px 50%;background-size:5px 5px;background-repeat:no-repeat;padding-left:32px}.toolbar input{max-width:300px}.toolbar select{max-width:230px}label{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}.field{margin:16px 0}.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:right;font-size:14px}th{background:#f7f9fa;color:var(--muted);font-weight:500;padding:13px 18px;white-space:nowrap}td{padding:17px 18px;border-top:1px solid var(--line);vertical-align:top}td.title{font-size:16px;min-width:200px}td small{display:block;color:var(--muted);margin-top:4px}.taskactions{display:flex;gap:6px;flex-wrap:wrap}.taskactions button{font-size:14px;padding:5px 9px}.summary{white-space:pre-wrap;line-height:1.9}.empty{padding:35px 22px;color:var(--muted);text-align:center}.meetinghero{display:flex;justify-content:space-between;gap:15px;padding:25px 22px;background:#edf5f1}.meetinghero h2{font-size:23px;margin-bottom:5px}.small{font-size:14px;color:var(--muted)}.flow{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 0}.flow span{font-size:14px;color:#4b6c60;background:#f5faf7;border:1px solid #cbded4;padding:5px 9px;border-radius:5px}.alert{padding:13px 16px;background:#fff4e0;color:#7e581c;border-radius:7px;margin:14px 0}.timeline{border-right:2px solid #d5e3de;padding-right:18px}.event{margin-bottom:19px}.event:last-child{margin:0}.event p{margin:0}.event time{font-size:14px;color:var(--muted)}dialog{width:min(880px,calc(100vw - 28px));max-height:90vh;border:0;border-radius:12px;padding:0;box-shadow:0 22px 80px #152e3b45;color:var(--ink)}dialog::backdrop{background:#112d3b66}.dialogbody{padding:26px}.dialoghead{padding:20px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;padding:17px 26px;border-top:1px solid var(--line);background:#f7f9fa}.itemedit{padding:15px;background:#f5f8f9;border:1px solid var(--line);border-radius:8px;margin:12px 0}.itemedit .fieldgrid{grid-template-columns:1.6fr 1fr 1fr}.toast{position:fixed;bottom:25px;left:25px;max-width:calc(100vw - 50px);background:var(--ink);color:white;padding:14px 23px;border-radius:9px;z-index:10;box-shadow:0 5px 30px #172f3b30}.toast.error{background:#973c33}.count{font-size:14px;color:var(--muted)}.loading{padding:70px 20px;text-align:center}.projecttile{padding:22px;border-bottom:1px solid var(--line)}.projecttile:last-child{border:0}.projecttile p{margin:6px 0 15px}.rule{padding:17px 0;border-bottom:1px solid var(--line)}.rule:last-child{border:0}.rule h3{margin-bottom:4px}.actions{display:flex;gap:8px;flex-wrap:wrap}.inlineerror{color:var(--red);font-size:14px;white-space:pre-line;margin:12px 0}.sr{position:absolute;left:-9999px}.busy{pointer-events:none;opacity:.65}
@media(max-width:1100px){.shell{grid-template-columns:190px minmax(0,1fr)}main{padding:24px}.topbar{padding:0 24px}.split{grid-template-columns:1fr}.stat{padding:17px}.sidebar{padding:25px 15px}}
@media(max-width:700px){.shell{display:block}.sidebar{height:auto;position:relative;padding:18px 16px}.brandmark,.brand small,.sidefoot{display:none}.brand{font-size:19px}nav{display:flex;margin-top:15px;gap:5px;overflow-x:auto}nav button{padding:8px 11px;white-space:nowrap;font-size:14px}nav button.active{border-right:0;border-bottom:3px solid #7ac2ab}.topbar{height:64px;padding:0 17px}.identity>span{display:none}main{padding:19px 14px 35px}.notice{align-items:flex-start}.notice button{font-size:14px;padding:5px 8px}h1{font-size:27px}.pagehead{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr)}.stat{border-bottom:1px solid var(--line)}.stat b{font-size:29px}.row{padding:16px}.panelhead{padding:17px}.fieldgrid,.itemedit .fieldgrid{grid-template-columns:1fr;gap:4px}.meetinghero{flex-wrap:wrap}.dialogbody{padding:18px}.dialoghead{padding:17px}.dialogfoot{padding:16px}.toolbar input,.toolbar select{max-width:none}td{padding:14px 12px}.notice{margin-bottom:23px}}
.company-logo{display:block;width:126px;height:auto;background:white;border-radius:6px;padding:8px;margin-bottom:14px}.resource-link{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:9px 15px;color:var(--teal);text-decoration:none;background:white}.resource-link:hover{background:var(--pale)}.resource-missing{font-size:14px;color:var(--muted);padding:9px 0}.source-policy{line-height:1.8}.spaced{margin-top:10px}@media(max-width:700px){.company-logo{width:64px;margin:0}.brand{display:flex;gap:12px;align-items:center}}
.metric-grid.tracker-metrics{margin-bottom:22px;grid-template-columns:repeat(3,minmax(0,1fr))}.tracker-table input{min-width:115px;max-width:150px;direction:ltr}.tracker-table td.title{min-width:210px}.tracker-table small{white-space:normal;max-width:300px}.tracker-table button{font-size:13px;margin-top:8px}#trackerPeriod{max-width:290px}#trackerExcelDialog .choice input{width:auto}.notice>button{flex-shrink:0;white-space:nowrap}@media(max-width:700px){.metric-grid.tracker-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tracker-table td,.tracker-table th{padding:12px}.tracker-table td.title{min-width:170px}.tracker-table input{min-width:105px}.tracker-metrics .metric{padding:14px}#trackerPeriod{max-width:none}}

.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.home-shortcuts button{display:flex;flex-direction:column;align-items:flex-start;text-align:right;padding:22px 18px;min-height:148px;gap:8px;background:white;border:1px solid var(--line);box-shadow:0 3px 12px #172f3b05}.home-shortcuts button>span{font-size:26px;color:var(--teal);line-height:1.2}.home-shortcuts strong{font-size:17px}.home-shortcuts small{color:var(--muted);font-size:13px}.home-photo-preview{display:block;max-width:100%;max-height:380px;object-fit:contain;margin-top:18px}.home-photo-preview[hidden]{display:none}.home-secondary{margin-top:8px}@media(max-width:900px){.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.home-shortcuts{gap:9px}.home-shortcuts button{padding:15px 12px;min-height:145px}.home-shortcuts strong{font-size:16px}}
.work-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}.work-shortcuts>button,.work-shortcuts>a{display:flex;flex-direction:column;align-items:flex-start;text-align:right;padding:20px 18px;min-height:132px;gap:8px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 12px #172f3b05;color:inherit;text-decoration:none;font:inherit;cursor:pointer}.work-shortcuts>*>span{font-size:26px;color:var(--teal);line-height:1.2}.work-shortcuts strong{font-size:17px}.work-shortcuts small{color:var(--muted);font-size:13px}@media(max-width:900px){.work-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.work-shortcuts{gap:9px}.work-shortcuts>*{padding:14px 12px;min-height:120px}}
.work-list{display:flex;flex-direction:column;gap:2px;padding:6px}.work-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 10px;min-height:44px;border-radius:8px;text-decoration:none;color:inherit;background:none;border:0;text-align:right;width:100%;font:inherit;cursor:pointer}.work-item:hover,.work-item:focus-visible{background:#eef4f5}.work-item small{color:var(--muted);white-space:nowrap}.work-item span{overflow-wrap:anywhere}
.work-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:8px 0 12px}.work-crumbs button{background:none;border:0;color:var(--teal);font:inherit;cursor:pointer;padding:6px 4px;min-height:36px}.work-drive{margin-inline-start:auto}
.work-task.is-late{border-inline-start:5px solid #c0392b}.work-task.is-late .sub{color:#a93226;font-weight:600}
.work-alert{position:fixed;inset-inline:16px;bottom:16px;z-index:50;max-width:520px;margin-inline:auto;background:white;border:2px solid #c0392b;border-radius:14px;padding:16px 18px;box-shadow:0 12px 40px #0004;max-height:70vh;overflow:auto}.work-alert h2{color:#a93226;margin:0 0 8px}.work-alert p{margin:8px 0}
.work-copy{width:100%;margin-top:12px;font:inherit}
.toolbar .field{display:flex;flex-direction:column;gap:4px;min-width:200px}
.work-projects{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.work-project{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:right;padding:16px;background:white;border:1px solid var(--line);border-radius:12px;font:inherit;cursor:pointer}.work-project strong{font-size:17px}.work-project.is-closed{opacity:.6}.work-metrics{display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--muted);font-size:13px}.work-metrics em{color:#a93226;font-style:normal;font-weight:600}
.metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.metric{display:flex;flex-direction:column;gap:4px}.metric small{color:var(--muted)}.metric strong{font-size:18px}
.work-late{border-inline-start:5px solid #c0392b}
.work-viewer{width:min(1100px,96vw);height:92vh;padding:0;border:0;border-radius:12px;overflow:hidden}.work-viewer::backdrop{background:#0008}.work-viewer-head{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line)}.work-viewer-head strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-viewer iframe{width:100%;height:calc(100% - 52px);border:0}

.work-photo{width:min(640px,96vw);border:0;border-radius:14px;padding:18px 20px}.work-photo::backdrop{background:#0008}.work-photo h2{margin:0 0 12px}.work-photo .field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.work-photo select,.work-photo input{font:inherit;padding:10px;min-height:44px}
.work-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;margin:8px 0}.work-photo-grid figure{margin:0}.work-photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.work-photo-grid figcaption{font-size:12px;color:var(--muted);text-align:center;min-height:16px}
.work-photo-grid figure{position:relative;display:flex;flex-direction:column;gap:4px}.work-photo-grid video{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#000}
.work-photo-grid input{font:inherit;font-size:14px;padding:6px 8px;min-height:36px;width:100%;box-sizing:border-box}.work-photo-grid.single{grid-template-columns:minmax(0,260px)}
.work-photo-badge{position:absolute;top:6px;inset-inline-start:6px;background:#000a;color:#fff;font-size:11px;padding:2px 6px;border-radius:6px}.work-photo-progress{width:100%;height:10px}
.work-file-row{display:flex;align-items:center;gap:8px}.work-file-row>.work-item,.work-file-row>span[dir]{flex:1;min-width:0}.work-file-actions{display:flex;gap:4px}.work-file-actions button{font-size:13px;padding:4px 8px;min-height:36px}
button.danger{color:#fff;background:#a4262c;border-color:#a4262c}button.danger:disabled{opacity:.5}.work-check{display:flex;gap:8px;align-items:center;margin:10px 0}.work-scan{border-inline-start:4px solid #c8a64b}
.work-viewer-body{height:calc(100% - 52px);overflow:auto;-webkit-overflow-scrolling:touch;background:#f3f3f3;display:flex;align-items:flex-start;justify-content:center}.work-viewer-body iframe{width:100%;height:100%;border:0;background:#fff}
.work-viewer-body img,.work-viewer-body video{max-width:100%;height:auto;display:block;margin:auto}.work-viewer-wait{padding:24px;text-align:center}.work-viewer-head a{white-space:nowrap}
.work-boq-wrap{overflow:auto;max-height:70vh;border:1px solid var(--line);border-radius:10px;background:#fff}.work-boq{width:100%;border-collapse:collapse;font-size:14px}.work-boq th{position:sticky;top:0;background:#172f3b;color:#fff;padding:8px;text-align:start;z-index:1}
.work-boq td{padding:7px 8px;border-bottom:1px solid #e6e3dc;vertical-align:top}.work-boq tr[data-boq-code]{cursor:pointer}.work-boq tr[data-boq-code]:hover td,.work-boq tr[data-boq-code]:focus td{background:#f5f1e6}.work-boq td.code{white-space:nowrap;font-variant-numeric:tabular-nums}
.work-boq td.boq-ok{background:#d9f2dc!important;color:#145a1e;font-weight:600;white-space:nowrap}.work-boq td.boq-no{background:#f8d7d7!important;min-width:90px}.boq-ok-text{color:#145a1e;font-weight:600}.boq-no-text{color:#a4262c;font-weight:600}

.work-viewer-quick{max-width:100%;height:auto;display:block;margin:0 auto;filter:saturate(.96)}
.work-viewer-note{text-align:center;font-size:.85rem;opacity:.75;margin:.5rem 0}
.work-live{opacity:.75;margin:.25rem 0 .5rem}
.work-item i{font-style:normal;margin-inline-end:.15rem}
.work-remind.is-done{opacity:.7}
.work-remind.is-leaving{opacity:.35;transition:opacity .2s}
.work-tag{font-style:normal;font-size:.75rem;padding:.05rem .45rem;border-radius:999px;background:#e8eef1;margin-inline-start:.35rem}

.diary-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px}.diary-banner{border-right:4px solid var(--gold);padding:14px 18px;background:var(--pale);margin:18px 0}.diary-role{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.diary-role button[aria-pressed=true]{background:var(--navy);color:#fff}.diary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.diary-grid .wide{grid-column:1/-1}.diary-layout textarea{min-height:110px;width:100%;resize:vertical}.diary-layout input{max-width:100%}.diary-status{display:inline-flex;padding:6px 11px;background:var(--pale);color:var(--teal);border-radius:4px}.diary-status.closed{background:#e3eee7;color:#24543a}.diary-save{position:sticky;bottom:8px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:white;padding:14px;border:1px solid var(--line);box-shadow:0 3px 15px #172f3b12;z-index:2}.diary-save span{font-size:14px}.diary-preview{white-space:pre-wrap;overflow-wrap:anywhere}.diary-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:15px 0}.diary-photo img{width:100%;height:140px;object-fit:cover}.diary-photo{border:1px solid var(--line);padding:8px;overflow-wrap:anywhere}.diary-photo figcaption{font-size:13px}.diary-signature-preview{width:100%;max-width:250px;height:80px;border-bottom:1px solid var(--line)}#diarySignature{width:100%;height:190px;background:#fcfcfa;border:1px dashed var(--teal);touch-action:none;display:block;margin-bottom:12px}.diary-summary dt{color:var(--muted);margin-top:14px}.diary-summary dd{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.diary-state-note{font-size:14px;color:var(--muted)}.diary-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:850px){.diary-layout{grid-template-columns:1fr}.diary-layout aside{order:-1}.diary-grid{grid-template-columns:1fr}.diary-grid .wide{grid-column:auto}.diary-save{bottom:max(8px,env(safe-area-inset-bottom))}.diary-save button{flex:1;min-height:46px}.diary-photo{margin:0}}@media print{body:has(.diary-layout) .sidebar,body:has(.diary-layout) .topbar,body:has(.diary-layout) button,body:has(.diary-layout) .notice{display:none}body:has(.diary-layout) .workspace{margin:0}.diary-save{position:static}}
.diary-save span{overflow-wrap:anywhere}@media(max-width:600px){.diary-save{display:grid;grid-template-columns:1fr 1fr}.diary-save span{grid-column:1/-1}.diary-save button{min-width:0;padding:12px 8px;line-height:1.5}}
.diary-resource-row{display:grid;grid-template-columns:1fr 1fr 90px 1fr auto;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;align-items:end}.diary-resource-row .field{min-width:0;margin:0}.diary-resource-row input{width:100%}.diary-resource-row button{align-self:end;margin-bottom:3px}.diary-resources>button{margin-top:12px}@media(max-width:1000px){.diary-resource-row{grid-template-columns:1fr 1fr}.diary-resource-row button{justify-self:start}}@media(max-width:450px){.diary-resource-row{grid-template-columns:1fr}.diary-resource-row button{justify-self:stretch}}

.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.work-card{display:flex;align-items:flex-start;gap:14px;text-align:right;padding:22px;min-height:155px;background:#fff}.work-icon{background:var(--pale);color:var(--teal);width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:25px;flex-shrink:0}.work-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.work-copy strong{font-size:18px}.work-copy>span{font-size:14px;color:var(--muted)}.work-copy small{font-size:14px;color:var(--teal);margin-top:7px}.install-steps{padding-right:22px}.install-steps li{margin:10px 0}.connection-state{padding:10px 18px;background:#fff1d9;color:#805712;text-align:center;font-size:14px}.connection-state[hidden]{display:none}
@media(max-width:1100px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html{scroll-padding-top:70px}.sidebar{padding:14px 14px 0}.brand{min-height:54px}.company-logo{width:58px;padding:4px}.sidebar nav{margin:12px -14px 0;padding:0 10px 8px;scrollbar-width:thin}.sidebar nav button{min-height:44px;flex-shrink:0}.topbar{padding:0 14px;gap:8px}.topbar>div:first-child{min-width:0}.topbar small{font-size:13px}.identity{gap:6px}.identity .avatar{display:none}.identity button{min-height:44px;padding:6px 10px}.work-grid{gap:10px}.work-card{padding:15px 12px;min-height:175px;flex-direction:column;gap:8px}.work-icon{width:32px;height:32px;font-size:21px;border-radius:8px}.work-copy strong{font-size:17px}.work-copy small{margin-top:3px}.notice{font-size:14px;overflow-wrap:anywhere}.resource-link{min-height:44px}.row{flex-wrap:wrap}.row .rowmain{flex:1;min-width:170px}.task-table{overflow:visible}.task-table table,.task-table tbody{display:block}.task-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.task-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;padding:16px;border-top:1px solid var(--line)}.task-table tbody tr:first-child{border-top:0}.task-table td{border:0;padding:0;min-width:0;overflow-wrap:anywhere}.task-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:14px;margin-bottom:3px}.task-table td.title{grid-column:1/-1;font-size:17px}.task-table td.title::before{display:none}.task-table td:last-child{grid-column:1/-1}.task-table .taskactions button{min-height:44px;padding:8px 14px}.dialogfoot{padding-bottom:max(16px,env(safe-area-inset-bottom))}.dialogfoot button{min-height:44px}dialog{max-height:calc(100dvh - 24px)}.dialogbody input,.dialogbody select,.dialogbody textarea{font-size:16px}main{padding-bottom:max(35px,env(safe-area-inset-bottom))}}
@media(max-width:350px){.work-grid{grid-template-columns:1fr}.work-card{min-height:100px;flex-direction:row}.topbar small{display:none}}
.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;background:var(--line)}.metric{padding:20px;background:white;min-width:0}.metric span{display:block;font-size:14px;color:var(--muted)}.metric strong{display:block;font-size:23px;overflow-wrap:anywhere}.document-preview{width:100%;height:65vh;border:0;object-fit:contain}#projectPreviewDialog{width:min(1200px,calc(100vw - 20px))}.file-list{margin-top:15px;border:1px solid var(--line);border-radius:8px}


/* App feel: no zoom on tap, no sideways scrolling, iOS doesn't zoom into inputs (needs ≥16px) */
html{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{max-width:100%;overflow-x:hidden}
@media (max-width:820px){input,select,textarea{font-size:16px!important}}
.work-viewer-body{touch-action:pinch-zoom pan-x pan-y}

/* arabic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-3.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/brand/fonts/rubik-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Palette and typography aligned with the company's public website. */
:root{--ink:#2a2e33;--muted:#5e5e5e;--paper:#f6f4ef;--line:#ddd6c9;--teal:#35636f;--pale:#edf2f1;--red:#b3402f;--amber:#7a6844;--navy:#324158;--gold:#b9a27a}
body{font-family:Rubik,'Segoe UI',Arial,sans-serif}.sidebar{background:#171e29;border-left:1px solid #324158}.brand{font-weight:600;letter-spacing:0}.brand small{color:#d9c59c}.company-logo{border-radius:3px}.sidebar nav button{border-radius:3px;color:#e0e4e8}.sidebar nav button.active{background:#324158;border-color:#b9a27a}.sidefoot{color:#c4cbd4}h1,h2,h3{font-weight:600;letter-spacing:0}.eyebrow{color:#2f5761}.panel,.stats,.work-card,.notice{border-radius:5px}.work-card{border-top:2px solid #b9a27a;box-shadow:0 2px 8px #171e2906}.work-card:hover{background:#fff;border-color:#35636f;box-shadow:0 4px 15px #171e2912}.work-icon{background:#edf2f1;color:#2f5761;border-radius:4px}.work-copy small{color:#2f5761}button,input,textarea,select,.resource-link{border-radius:4px}button.primary{background:#35636f;border-color:#35636f}.notice{background:#edf2f5;border-color:#c9d6dc}.topbar{border-bottom:2px solid #b9a27a}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choice{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--ink);font-size:16px}.choice input{width:20px;height:20px;flex-shrink:0}fieldset{border:1px solid var(--line);border-radius:4px;margin:18px 0;padding:15px}legend{font-weight:500;padding:0 7px}[hidden]{display:none!important}@media(max-width:700px){.sidebar nav button.active{border-bottom-color:#b9a27a}.choice-grid{grid-template-columns:1fr}.brand small{display:none}}
.auth-panel{max-width:600px;margin:18px auto}.auth-panel form input{width:100%;min-height:48px;font-size:16px}.auth-panel button{min-height:44px}.auth-divider{text-align:center;border-bottom:1px solid var(--line);margin:20px 0;padding-bottom:12px;color:var(--muted)}.member-record{border-bottom:1px solid var(--line);padding:14px 0}.member-record:last-child{border-bottom:0}#accountListDialog,#accountEditDialog{width:min(850px,calc(100vw - 24px))}

/* ===== Eytam Hub — final polish layer (loaded last). Mobile first, then desktop. ===== */
:root{--radius:14px;--shadow:0 1px 2px #172f3b0d,0 4px 14px #172f3b0f;--shadow-hover:0 2px 4px #172f3b14,0 10px 28px #172f3b1a;--tint:#eef4f3}

/* Live mode: no demo banner, no "your workspace" eyebrow */
body.is-live #notice{display:none}
body.is-live .pagehead .eyebrow{display:none}

/* Page heads: compact, refresh is a small quiet button next to the title */
.pagehead{align-items:center;margin-bottom:16px}
.pagehead h1{margin:0 0 2px;line-height:1.15}
.pagehead .sub{margin:2px 0 0}
.pagehead [data-work-refresh]{background:transparent;border:1px solid var(--line);border-radius:999px;font-size:13px;padding:6px 14px;min-height:34px;color:var(--muted)}
.pagehead [data-work-refresh]:hover{color:var(--ink);background:#fff}

/* Buttons and links that act as buttons */
a.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);text-decoration:none;font-size:14px;font-weight:500}
a.button:hover{background:var(--tint)}
button,a.button,.work-item{transition:background-color .15s,box-shadow .15s,transform .15s,border-color .15s}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* Panels */
.panel{border-radius:var(--radius);box-shadow:var(--shadow);border-color:#e3eaec}
.panelhead h2{font-size:17px}

/* Lists: folders and files */
.work-list{gap:0;padding:4px}
.work-item{border-radius:10px;padding:11px 12px}
.work-item:hover{background:var(--tint)}
.work-item>span[dir]{display:flex;align-items:center;gap:10px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.work-item i{flex:0 0 34px;height:34px;border-radius:9px;background:var(--tint);display:inline-flex;align-items:center;justify-content:center;font-size:17px;margin:0}
.work-item small{flex:0 0 auto;color:var(--muted);font-size:12.5px}
.work-folder::after{content:"‹";color:var(--muted);font-size:20px;line-height:1;margin-inline-start:6px}
.work-folder i{background:#fdf3dc}
.work-list>.work-item+.work-item,.work-list>.work-swipe+.work-swipe,.work-list>.work-item+.work-swipe,.work-list>.work-swipe+.work-item{border-top:1px solid #edf1f2}
.work-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 12px;font-size:14px;color:var(--muted)}
.work-crumbs button{background:transparent;border:0;padding:4px 6px;min-height:32px;border-radius:8px;color:var(--teal);font-weight:500}
.work-crumbs button:last-of-type{color:var(--ink)}
.work-crumbs .work-drive{margin-inline-start:auto;font-size:13px}

/* Swipe rows: archive / delete hidden until swiped or ⋯ is tapped */
.work-swipe{position:relative;overflow:hidden;display:block!important;border-radius:10px}
.work-swipe-main{position:relative;z-index:1;display:flex;align-items:center;background:#fff;transform:translateX(var(--swipe,0px));transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.work-swipe-main.is-dragging{transition:none}
.work-swipe.is-open .work-swipe-main{transform:translateX(var(--swipe,148px))}
.work-swipe-main>.work-item{flex:1;min-width:0}
.work-more{flex:0 0 auto;background:transparent;border:0;color:var(--muted);font-size:20px;line-height:1;width:40px;min-height:40px;border-radius:10px;padding:0}
.work-more:hover{background:var(--tint);color:var(--ink)}
.work-swipe .work-file-actions{position:absolute;inset-block:0;left:0;display:flex;gap:0;align-items:stretch}
.work-swipe .work-file-actions button{border:0;border-radius:0;min-height:100%;width:74px;font-size:13px;font-weight:600;color:#fff;background:#5f7a84}
.work-swipe .work-file-actions button.danger{background:var(--red)}
.work-swipe:not(.is-open) .work-file-actions{visibility:hidden}
.work-swipe.is-open .work-more{color:var(--ink)}
@media (hover:none){.work-more{opacity:.6}}

/* Project cards with a progress bar */
.work-projects{display:grid;gap:12px}
.work-project{border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px!important;text-align:right}
.work-project:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}
.work-progress{display:block;width:100%;height:6px;margin-top:12px;border:0;border-radius:99px;background:#e6eded;overflow:hidden;-webkit-appearance:none;appearance:none}
.work-progress::-webkit-progress-bar{background:#e6eded;border-radius:99px}
.work-progress::-webkit-progress-value{background:linear-gradient(90deg,#1f8a7c,var(--teal));border-radius:99px}
.work-progress::-moz-progress-bar{background:var(--teal);border-radius:99px}
.work-metrics em{font-style:normal;color:var(--red);font-weight:600}

/* Shortcut tiles */
.work-shortcuts>button,.work-shortcuts>a{border-radius:var(--radius);box-shadow:var(--shadow)}
.work-shortcuts>button:hover,.work-shortcuts>a:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}

/* Tasks */
.work-task{border-inline-start:4px solid transparent}
.work-task.is-late{border-inline-start-color:var(--red)}
.work-task h3{font-size:16px;margin:0 0 4px}
.work-task .sub{margin:0 0 10px}
.work-tag{white-space:nowrap}

/* Viewer */
.work-viewer{border:0;border-radius:16px;box-shadow:0 20px 60px #0f1f2740;padding:0;overflow:hidden}
.work-viewer::backdrop{background:#0f1f27b3;backdrop-filter:blur(2px)}

/* Mobile */
@media (max-width:760px){
 .pagehead h1{font-size:25px}
 .pagehead .sub{font-size:13.5px}
 main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 nav{padding-bottom:env(safe-area-inset-bottom)}
 .work-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .work-shortcuts>button,.work-shortcuts>a{padding:12px 8px!important;min-height:92px;text-align:center;align-items:center!important;justify-content:center}
 .work-shortcuts>button strong,.work-shortcuts>a strong{font-size:14px}
 .work-shortcuts>button small,.work-shortcuts>a small{display:none}
 .work-shortcuts>button>span,.work-shortcuts>a>span{margin:0 auto 6px}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .work-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
 .work-task .actions>*{flex:1 1 auto}
}

/* Desktop: readable width, more columns */
@media (min-width:1100px){
 #content{max-width:1180px;margin-inline:auto}
 #notice{max-width:1180px;margin-inline:auto}
 .work-projects{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
 .work-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .work-more{opacity:0}
 .work-swipe:hover .work-more,.work-swipe.is-open .work-more,.work-more:focus-visible{opacity:1}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* Numbers: one line, sized to fit */
.metric{min-width:0;overflow:hidden}
.metric strong{font-size:clamp(17px,2vw,23px);white-space:normal;overflow-wrap:anywhere;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.25}
.metric-sub{display:block;font-style:normal;font-size:12.5px;font-weight:500;color:var(--muted);margin-top:3px;white-space:normal}
.metric-hint{color:var(--muted);cursor:help;font-size:12px}
.work-metrics{display:flex;flex-wrap:wrap;gap:4px 14px}
.work-project strong,.work-task h3,.work-item span{overflow-wrap:anywhere}
.metric span{font-size:12.5px;color:var(--muted)}
.work-metrics b{font-variant-numeric:tabular-nums}
@media (max-width:760px){
 .pagehead{flex-wrap:nowrap!important}
 .pagehead>div{min-width:0}
 .pagehead>button,.pagehead>a{flex:0 0 auto}
 .metric strong{font-size:19px}
 .metric{padding:12px!important}
}

/* Loading skeleton instead of "loading…" text */
.work-skeleton .panelbody{display:flex;flex-direction:column;gap:12px;padding:18px}
.work-skeleton i{display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,#e9eff0 0,#f5f8f8 40%,#e9eff0 80%);background-size:300% 100%;animation:wsk 1.2s ease-in-out infinite}
.work-skeleton i:nth-child(1){width:62%}.work-skeleton i:nth-child(2){width:88%}.work-skeleton i:nth-child(3){width:74%}.work-skeleton i:nth-child(4){width:48%}
@keyframes wsk{0%{background-position:100% 0}100%{background-position:0 0}}
.is-leaving{opacity:.4;transition:opacity .2s}

/* In-app PDF */
.work-pdf-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;justify-content:center;padding:6px;background:#ffffffe6;border-bottom:1px solid var(--line)}
.work-pdf-bar button{min-width:40px;min-height:36px;border-radius:999px;font-size:18px;padding:0}
.work-pdf-bar small{color:var(--muted);margin-inline-start:8px}
.work-pdf{overflow:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:10px;background:#eef2f3;min-height:60vh}
.work-pdf canvas{display:block;background:#fff;box-shadow:0 1px 4px #0002;max-width:none;margin:0 auto}
.work-viewer-body.is-pdf{display:block}
/* Bottom bar on the phone: buttons spread evenly and centered (some pages hide a button) */
@media (max-width:760px){
 .sidebar nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center;align-items:stretch;gap:2px}
 .sidebar nav>button{flex:1 1 0;max-width:110px;min-width:0}
}

.work-muted{color:var(--muted);opacity:.8}
.work-old{font-style:normal;color:var(--red);font-weight:600;margin-inline-start:4px}
.work-linkish{background:none;border:0;padding:0;min-height:0;color:var(--teal);font:inherit;text-decoration:underline;cursor:pointer}
.work-item small{text-align:left}

/* Plans on the phone: the plan name gets the full line, revision details underneath */
@media (max-width:760px){
 .work-plan{flex-direction:column;align-items:stretch!important;gap:3px!important;padding:10px 8px!important}
 .work-plan>span[dir]{white-space:normal;overflow:visible;line-height:1.35;font-weight:500}
 .work-plan>span[dir] i{display:none}
 .work-plan>small{text-align:right!important;font-size:12px;white-space:normal}
}

/* Project mapping */
.work-map-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 14px;margin:0 0 14px;border:1px solid var(--line);border-radius:var(--radius);background:#f4f8f7;font-size:14px}
.work-map-banner.is-warn{background:#fff7e8;border-color:#efd39b;color:#6b4a0c}
.work-map-banner button{min-height:36px;padding:4px 14px;border-radius:999px;font-size:13px}
.work-map-list{display:flex;flex-direction:column;gap:2px;margin:10px 0;max-height:60vh;overflow:auto}
.work-map-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:10px 6px;border-bottom:1px solid #edf1f2}
.work-map-row strong{display:block;font-size:15px}.work-map-row small{display:block;color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}
.work-map-ic{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:14px;background:#e3f2ee;color:var(--teal)}
.work-map-row.is-warn .work-map-ic{background:#fdf0d8;color:#8a5a0a}
.work-map-row>button{min-height:36px;padding:4px 14px;border-radius:999px;font-size:13px}
.work-map-opts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.work-map-opts button{font-size:12.5px;min-height:32px;padding:3px 10px;border-radius:999px}
.work-pick-list{max-height:50vh;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:8px 0}

/* Work diaries */
.work-diary{width:min(920px,100vw);max-width:100vw;height:min(94dvh,100dvh);max-height:100dvh;padding:0;border:0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.work-diary[open]{display:flex}
.work-diary::backdrop{background:#0f1f27b3}
.dy-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line);background:#fff}
.dy-head strong{flex:1;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-head button{min-width:40px;min-height:40px;border-radius:999px;padding:0}
.dy-body{flex:1;overflow:auto;padding:14px;background:var(--paper)}
.dy-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.dy-role{font-size:12.5px;padding:3px 10px;border-radius:999px;background:#e3f2ee;color:var(--teal);font-weight:600}
.dy-date input{min-height:40px}
.dy-list{display:flex;flex-direction:column;gap:8px}
.dy-item{display:flex;align-items:center;gap:12px;text-align:right;padding:12px;border-radius:12px;background:#fff;border:1px solid var(--line);border-inline-start:4px solid #9fb3b9;width:100%}
.dy-item.is-open{border-inline-start-color:#1f8a7c}.dy-item.is-wait{border-inline-start-color:#c98a12}.dy-item.is-closed{border-inline-start-color:#5f7a84}.dy-item.is-locked{border-inline-start-color:var(--red)}
.dy-num{min-width:34px;height:34px;border-radius:9px;background:var(--tint,#eef4f3);display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.dy-main{flex:1;display:flex;flex-direction:column;min-width:0}.dy-main small{color:var(--muted)}
.dy-tot{font-size:12.5px;color:var(--muted);white-space:nowrap}
.dy-empty{text-align:center;color:var(--muted);padding:24px}
.dy-status{padding:10px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);margin-bottom:12px;display:flex;flex-direction:column;gap:2px}
.dy-status.is-open{background:#eef8f5}.dy-status.is-wait{background:#fff7e8}.dy-status.is-locked{background:#fdeeee}.dy-status.is-closed{background:#f1f4f5}
.dy-sec{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:12px}
.dy-sec h3{margin:0 0 8px;font-size:16px}.dy-sec h4{margin:12px 0 6px;font-size:14px}
.dy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 12px}
.dy-sec .field{display:flex;flex-direction:column;gap:3px;margin-bottom:6px}.dy-sec .field span{font-size:12.5px;color:var(--muted)}
.dy-sec input,.dy-sec select,.dy-sec textarea{width:100%;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:6px 8px;font:inherit;background:#fff}
.dy-sec input:disabled,.dy-sec select:disabled,.dy-sec textarea:disabled{background:#f6f8f8;color:#3b4e56}
.dy-rows{width:100%;border-collapse:collapse}.dy-rows th{font-size:12px;color:var(--muted);font-weight:500;text-align:right;padding:2px 4px}
.dy-rows td{padding:2px 3px}.dy-rows td:nth-child(3){width:70px}.dy-rows td:last-child{width:34px}
.dy-rows button{min-width:30px;min-height:34px;padding:0;border-radius:8px}
.dy-add{margin-top:4px;font-size:13px;min-height:34px}
.dy-sig{display:flex;align-items:center;gap:10px;margin:8px 0}.dy-sig img{max-width:220px;border:1px solid var(--line);border-radius:8px;background:#fff}
.dy-check{display:flex;gap:8px;align-items:center;font-size:13.5px;margin:6px 0}.dy-check input{width:auto;min-height:0}
.dy-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.dy-file{position:relative;display:flex;flex-direction:column;gap:3px;align-items:center;padding:6px;border-radius:10px;border:1px solid var(--line);background:#fff;min-height:0}
.dy-file img{width:100%;height:72px;object-fit:cover;border-radius:6px}.dy-file span{font-size:30px;height:72px;display:flex;align-items:center}
.dy-file small{font-size:11.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-file i{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;background:#000a;color:#fff;font-style:normal;font-size:12px;display:flex;align-items:center;justify-content:center}
.dy-upload{cursor:pointer}
.dy-consult{border-top:1px solid #edf1f2;padding:8px 0}.dy-consult small{display:block;color:var(--muted)}.dy-consult p{margin:4px 0 0;white-space:pre-wrap}
.dy-reopen{background:#fff7e8;border-color:#efd39b}
.dy-foot{justify-content:center;margin:6px 0 20px}
[data-dy-msg].is-bad{color:var(--red);font-weight:600}
.dy-pad{position:absolute;inset:0;background:#0f1f27b3;display:flex;align-items:center;justify-content:center;z-index:5;padding:12px}
.dy-pad-in{background:#fff;border-radius:14px;padding:14px;width:min(560px,100%);display:flex;flex-direction:column;gap:10px}
.dy-pad canvas{width:100%;aspect-ratio:3/1;border:2px dashed #9fb3b9;border-radius:10px;touch-action:none;background:#fff}
.work-diary{position:relative}
.dy-setup .field{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.dy-setup input{min-height:42px;border:1px solid var(--line);border-radius:8px;padding:6px 10px}
@media (max-width:760px){.work-diary{width:100vw;height:100dvh;border-radius:0}.dy-rows th:nth-child(4),.dy-rows td:nth-child(4){display:none}}

/* ===== Member view (employees / contractors): diaries only ===== */
body.is-member nav{display:none!important}
.member-diary{max-width:720px;margin:0 auto;padding:8px 4px 24px}
.member-diary .md-head h1{margin:4px 0 6px;font-size:1.6rem}
.md-list{display:grid;gap:10px;margin-top:14px}
.md-tile{display:flex;align-items:center;gap:12px;width:100%;text-align:start;padding:16px;border-radius:16px;border:1px solid var(--line,#d9e1e4);background:var(--card,#fff);box-shadow:0 1px 2px rgba(23,47,59,.06);min-height:72px}
.md-tile:active{transform:scale(.99)}
.md-ico{font-size:1.6rem;flex:none}
.md-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.md-main strong{overflow-wrap:anywhere}
.md-main small{color:var(--muted,#5b6b72)}
.md-go{font-size:1.4rem;color:var(--muted,#5b6b72)}
/* Users and permissions dialog */
.work-user{width:100%;text-align:start;justify-content:space-between}
.work-user small{display:block;color:var(--muted,#5b6b72);overflow-wrap:anywhere}
.work-user-role,.work-user-projects{border:1px solid var(--line,#d9e1e4);border-radius:12px;padding:8px 12px;margin:10px 0;display:grid;gap:6px}
.work-user-role label,.work-user-projects label,.work-user-active{display:flex;gap:8px;align-items:center;min-height:36px}
.work-user-projects{max-height:40vh;overflow:auto}
.work-user-all{font-weight:600}
.work-user-role input,.work-user-projects input,.work-user-active input{width:22px!important;height:22px!important;min-height:0!important;flex:none;margin:0;padding:0;accent-color:var(--brand,#1f5f6b)}
.work-user-role label,.work-user-projects label,.work-user-active{justify-content:flex-start;font-size:.95rem;line-height:1.35}
/* Meeting summaries: approval and sending */
.sm-head-btns{display:flex;gap:6px;flex-wrap:wrap}
.sm-row{display:flex;align-items:stretch;gap:6px}
.sm-row>.work-item{flex:1;min-width:0}
.sm-go{flex:none;align-self:center;min-height:40px}
.sm-h{font-size:1rem;margin:14px 0 6px}
.sm-item .sm-status{display:inline-block;padding:4px 10px;border-radius:999px;background:#eef3f4;font-weight:600;margin:0 0 10px}
.sm-item .sm-status.is-wait{background:#fff4e0;color:#8a5a00}
.sm-item .sm-status.is-closed{background:#e6f4ea;color:#1e6b34}
.sm-file{display:flex;align-items:center;gap:10px;width:100%;text-align:start;padding:12px 14px;border-radius:14px;border:1px solid var(--line,#d9e1e4);background:var(--card,#fff);margin-bottom:12px}
.sm-file span[dir]{flex:1;min-width:0;overflow-wrap:anywhere}
.sm-file small{color:var(--brand,#1f5f6b);font-weight:600}
.sm-note{background:#fff4e0;border-radius:12px;padding:10px 12px;margin-bottom:12px}
.sm-meta{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0 0 12px}
.sm-meta dt{color:var(--muted,#5b6b72)}
.sm-meta dd{margin:0;overflow-wrap:anywhere}
.sm-body{white-space:pre-wrap}
.sm-decide{position:sticky;bottom:0;background:var(--card,#fff);padding-top:8px}
.sm-item textarea,.sm-dialog textarea{width:100%;box-sizing:border-box;font:inherit}
.md-approve{border-color:#e2b04a;background:#fffaf0}
.work-user-approver{font-weight:600}
/* In-app camera: many shots in a row */
.work-cam{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;color:#fff;overflow:hidden}
.work-cam::backdrop{background:#000}
.work-cam video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.work-cam-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.work-cam-flash.is-on{animation:camflash .25s ease-out}
@keyframes camflash{0%{opacity:.7}100%{opacity:0}}
.work-cam-top{position:absolute;top:0;inset-inline:0;display:flex;justify-content:space-between;align-items:center;padding:calc(env(safe-area-inset-top) + 10px) 14px 10px;background:linear-gradient(#0009,#0000)}
.work-cam-top button{background:#0006;color:#fff;border:0;border-radius:50%;width:44px;height:44px;font-size:20px}
.work-cam-top span{font-weight:600;background:#0006;padding:6px 12px;border-radius:999px}
.work-cam-top span:empty{display:none}
.work-cam-bar{position:absolute;bottom:0;inset-inline:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px calc(env(safe-area-inset-bottom) + 18px);background:linear-gradient(#0000,#000a)}
.work-cam-bar button:not(.work-cam-shutter){min-width:96px;min-height:44px;border-radius:999px;border:0;background:#fff3;color:#fff;font:inherit;font-weight:600}
.work-cam-bar button.primary{background:var(--brand,#1f5f6b)}
.work-cam-shutter{width:76px;height:76px;border-radius:50%;border:4px solid #fff;background:transparent;padding:4px;flex:none}
.work-cam-shutter i{display:block;width:100%;height:100%;border-radius:50%;background:#fff}
.work-cam-shutter:active i{transform:scale(.9)}
.work-cam-strip{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 118px);inset-inline-start:14px;display:flex;gap:6px}
.work-cam-strip img,.work-cam-vid{width:44px;height:44px;object-fit:cover;border-radius:8px;border:2px solid #fff;background:#333;font-size:10px;display:flex;align-items:center;justify-content:center}
/* Naming: one row per photo with a full-width name field */
.work-photo-grid.work-photo-list{grid-template-columns:1fr;gap:10px;max-height:52vh;overflow:auto}
.work-photo-list figure{flex-direction:row!important;align-items:center;gap:10px!important}
.work-photo-list img,.work-photo-list video{width:72px!important;height:72px;flex:none;aspect-ratio:1}
.work-photo-list input{flex:1;min-height:44px!important;font-size:16px!important}
.work-photo-list figcaption{position:absolute;bottom:2px;inset-inline-start:2px;width:68px;font-size:11px;background:#fffc;border-radius:6px}
.work-photo-list figcaption:empty{display:none}
.work-photo-list .work-photo-badge{top:4px;inset-inline-start:4px}
/* Project gallery */
.gal-folders{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.gal-folders button{min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid var(--line,#d9e1e4);background:var(--card,#fff);font:inherit}
.gal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
@media (min-width:700px){.gal-grid{grid-template-columns:repeat(5,1fr)}}
.gal-item{position:relative;padding:0;border:0;aspect-ratio:1;overflow:hidden;border-radius:6px;background:#e9eef0}
.gal-item img{width:100%;height:100%;object-fit:cover;display:block}
.gal-ph{display:block;width:100%;height:100%;background:linear-gradient(90deg,#e9eef0,#f5f8f9,#e9eef0);background-size:200% 100%;animation:galsh 1.2s linear infinite}
@keyframes galsh{to{background-position:-200% 0}}
.gal-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;text-shadow:0 1px 4px #0008}
/* ===== UI/UX pass 24.11 evening ===== */
/* File / plan rows: the name gets the full width (up to 3 lines, never cut), details on a second line */
.work-item{display:grid!important;grid-template-columns:1fr;align-items:center;row-gap:2px;text-align:start}
.work-item>span[dir]{overflow:visible!important;text-overflow:clip!important;white-space:normal;line-height:1.35;font-weight:500}
.work-item>span[dir]{display:flex;align-items:flex-start}
.work-item>small{padding-inline-start:44px;text-align:start!important;white-space:normal}
.work-item.work-folder{grid-template-columns:1fr auto}
.work-item.work-folder>small{padding-inline-start:0}
.work-swipe-main{align-items:center}
.work-more{align-self:center}
/* Compact top bar on phones: the screen title already carries the date */
@media (max-width:700px){
 body.is-live #todayLabel{display:none}
 .topbar{padding-top:calc(env(safe-area-inset-top) + 6px);padding-bottom:6px}
 .panelhead{flex-wrap:wrap;gap:8px}
 .panelhead h2{flex:1 1 auto;min-width:0}
 .sm-head-btns{flex-wrap:wrap;justify-content:flex-end}
 .sm-head-btns button{min-height:36px;padding:6px 12px;font-size:14px}
}
/* No floating alert over the content */
.work-alert{display:none!important}
/* Top bar: one compact row; refresh is a round icon */
@media (max-width:700px){
 .topbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;height:auto!important;min-height:52px}
 .topbar .identity{display:flex;align-items:center;gap:6px;margin:0!important}
 body.is-live .topbar #identityLabel,body.is-live .topbar .avatar{display:none}
 #refresh{width:40px;height:40px;min-height:40px!important;padding:0!important;border-radius:50%;font-size:0!important;position:relative}
 #refresh::before{content:"⟳";font-size:20px;line-height:40px;display:block;text-align:center}
}
@media (max-width:700px){
 body.is-live .topbar{position:absolute!important;top:calc(env(safe-area-inset-top) + 12px);left:12px;right:auto;width:auto!important;min-height:0!important;height:auto!important;padding:0!important;background:transparent!important;border:0!important;z-index:30}
 body.is-live .topbar>div:first-child{display:none}
}
/* Money figures never break inside a number */
.metric strong,.metric b,.metric .value,.work-metric strong{white-space:nowrap;font-size:clamp(20px,2.1vw,30px)}
@media (min-width:701px){.metric strong{font-size:clamp(18px,1.75vw,26px)!important;letter-spacing:-.01em}}

/* new diary system – test copy banner */
.dy-test{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fff7e0;border:1px solid #f0c75e;color:#5c4400;font-size:14px;line-height:1.5}

/* diary: quick fill, speech to text, fill rate */
.dy-quick{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.dy-quick button{font-size:14px}
.dy-mic{margin-inline-start:8px;font-size:13px;padding:2px 10px;border-radius:999px;border:1px solid #c9d3df;background:#fff;cursor:pointer}
.dy-mic.is-on{background:#c62828;color:#fff;border-color:#c62828}
.dy-stats{display:flex;align-items:center;gap:10px;margin:8px 0;padding:8px 12px;border-radius:10px;border:1px solid #d6dee8;background:#f6f9fc;font-size:14px}
.dy-stats strong{font-size:20px;min-width:3.2em;text-align:center}
.dy-stats.is-good strong{color:#1b7f3b}.dy-stats.is-warn strong{color:#b36b00}.dy-stats.is-bad strong{color:#c62828}
/* project contacts */
.rl-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.rl-list{display:grid;gap:12px}
.rl-card{border:1px solid #d6dee8;border-radius:12px;padding:10px 12px;margin:0;background:#fff}
.rl-card legend{font-weight:700;padding:0 6px}
.rl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.rl-grid input{width:100%;box-sizing:border-box}
.rl-del{margin-top:8px;font-size:13px;color:#c62828;background:none;border:0;cursor:pointer;padding:4px 0}

/* App shell refresh. Workbook styles remain in their separate source-driven layer. */
:root{--ink:#20323c;--muted:#66767e;--paper:#f4f6f8;--line:#e3e9ec;--teal:#326971;--pale:#eaf2f2;--gold:#b8a17c}
body{background:var(--paper);-webkit-font-smoothing:antialiased}.shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{background:#1d2d36;border:0;padding:30px 18px 22px}.brand{display:grid;grid-template-columns:48px 1fr;gap:2px 11px;align-items:center;font-size:17px;padding:0 8px 28px}.brand .company-logo{grid-row:1/3;width:48px;height:48px;object-fit:contain;margin:0;padding:5px;border-radius:13px}.brand>span{align-self:end;white-space:nowrap}.brand small{font-size:11px;color:#c7c7b9;align-self:start}.sidebar nav{display:flex;flex-direction:column;gap:9px;margin-top:10px}.sidebar nav button{display:flex;align-items:center;gap:13px;text-align:right;min-height:50px;padding:12px 15px;border:1px solid transparent;border-radius:13px;color:#c6d1d6;font-size:14px;background:transparent}.sidebar nav button.active{background:#edf3f3;color:#203b43;border-color:transparent;box-shadow:0 4px 14px #0a182126}.sidebar nav button:hover:not(.active){background:#ffffff0a;color:#fff}.nav-icon{display:flex;flex-shrink:0}.hub-icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0}.sidefoot{margin-top:auto;padding:20px 14px 0;border-top:1px solid #ffffff12;font-size:12px;color:#a9bac2}.sidefoot strong{font-size:13px;color:#d4dfe1}.topbar{height:76px;background:#ffffffd9;border-bottom:1px solid var(--line);padding:0 34px}.topbar strong{font-size:14px}.topbar small{color:var(--muted);font-size:12px}.identity{font-size:12px;color:var(--muted)}.identity .avatar{background:#e5eeee;color:var(--teal);border-radius:12px}.identity button{font-size:12px;border-radius:10px}main{padding:24px 34px 50px;max-width:1550px}.notice{border:1px solid #d9e5e7;border-right:3px solid #72969d;background:#eef4f5;border-radius:12px;font-size:12px;line-height:1.7;padding:12px 16px;margin-bottom:24px;color:#496670}
h1{font-size:29px;line-height:1.3}h2{font-size:18px}h3{font-size:16px}.pagehead .sub{font-size:14px}.panel{border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 18px #223b4803;margin-bottom:22px}.panelhead{padding:18px 22px;border-bottom:1px solid #edf0f2}.panelhead h2{font-size:17px}.panelhead button{font-size:12px;padding:7px 11px}.panelbody{padding:22px}.empty{padding:38px 24px;font-size:14px;color:var(--muted);line-height:1.8}.row{padding:17px 22px}.row .meta{font-size:12px}.stats{border-radius:16px;border-color:var(--line);gap:0}.stat{padding:20px 24px}.stat strong{font-size:30px}.stat span{font-size:13px}.pill{border-radius:7px;padding:4px 9px;font-size:12px}button,.resource-link{border-radius:10px;transition:background .15s,border-color .15s,box-shadow .15s}button{font-weight:500}button:hover{box-shadow:0 3px 10px #223b480a}button.primary{background:var(--teal);border-color:var(--teal);color:#fff}button.primary:hover{background:#285a61}input,select,textarea{border-radius:10px;border-color:#dce3e7;background:#fff;min-height:42px}button:focus-visible,a:focus-visible{outline:3px solid #89b3bb;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6998a2;outline-offset:1px}dialog{border-radius:20px;box-shadow:0 25px 90px #18323a30}dialog::backdrop{background:#10252b66;backdrop-filter:blur(3px)}.dialoghead,.dialogfoot{padding:20px 24px}.dialogbody{padding:24px}.work-card{border:1px solid var(--line);border-radius:17px;box-shadow:none}.work-icon{border-radius:13px}.metric-grid{gap:12px;padding:16px;background:#f7f9fa}.metric{border:1px solid var(--line);border-radius:13px;padding:18px}.file-list{border-radius:13px}.tablewrap:not(.live-table-scroll) th{background:#f5f8fa;color:#536872;font-size:12px}.tablewrap:not(.live-table-scroll) td{border-color:#edf0f2}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 24px}.home-welcome .eyebrow{font-size:11px;letter-spacing:0;color:#799098;font-weight:500;margin-bottom:9px}.home-welcome h1{font-size:35px;margin:0 0 8px;font-weight:500;letter-spacing:-.8px}.home-welcome p{margin:0;font-size:14px;color:var(--muted)}.home-welcome button{display:flex;gap:8px;align-items:center;padding:11px 17px;white-space:nowrap}.home-welcome button .hub-icon{width:19px;height:19px}.home-dashboard>.toolbar{margin-bottom:18px}.home-dashboard>.toolbar select{font-size:13px;max-width:270px}.home-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:32px}.home-overview>button{display:flex;align-items:center;gap:16px;text-align:right;padding:21px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 3px 15px #223b4803}.home-overview>button>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.home-overview small{color:var(--muted);font-size:12px}.home-overview strong{font-size:29px;font-weight:500;line-height:1.25;font-variant-numeric:tabular-nums}.home-overview>button>.hub-icon{margin-right:auto;width:17px;color:#a0b0b7}.home-stat-icon{background:#edf4f4;color:#49727b;width:45px;height:45px;display:grid;place-items:center;border-radius:14px}.home-overview>button:nth-child(2) .home-stat-icon{background:#f1eff8;color:#7d70a0}.home-overview>button:nth-child(3) .home-stat-icon{background:#fbf3e7;color:#a08456}.home-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.home-section-title h2{font-weight:500;font-size:18px;margin:0}.home-section-title>span{font-size:12px;color:#819198}.home-shortcuts{gap:14px;margin-bottom:28px}.home-shortcuts button{border:0;border-radius:18px;min-height:155px;padding:20px;gap:7px;box-shadow:none;position:relative;background:#e5eef0}.home-shortcuts button:nth-child(2){background:#eeebf5}.home-shortcuts button:nth-child(3){background:#f3ede1}.home-shortcuts button:nth-child(4){background:#e8efea}.home-shortcuts button:hover{box-shadow:0 6px 20px #223b4810;filter:brightness(.985)}.home-shortcuts button>span.home-action-icon{font-size:unset;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#ffffffa3;color:#3c6470;margin-bottom:4px}.home-shortcuts strong{font-size:15px;font-weight:500;color:#263f48}.home-shortcuts small{font-size:11px;color:#607780}.home-secondary{gap:8px}.home-secondary button{font-size:12px;background:transparent;border-color:transparent;color:#607780}.home-secondary button:hover{background:#eaf0f1;border-color:#e1e8ea}.home-dashboard>.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
@media(min-width:701px) and (max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}main{padding:24px}.sidebar{padding-right:12px;padding-left:12px}.brand{font-size:15px;grid-template-columns:40px 1fr;gap:8px}.brand .company-logo{width:40px;height:40px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-overview{gap:10px}.home-overview>button{padding:15px;gap:10px}.home-stat-icon{width:35px;height:35px}.home-overview>button>.hub-icon{display:none}.home-dashboard>.split{grid-template-columns:1fr}.home-welcome h1{font-size:29px}}
@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:auto;height:auto;padding:15px 18px 0;background:var(--paper);color:var(--ink)}.brand{display:grid;grid-template-columns:37px 1fr;gap:0 9px;min-height:40px;font-size:15px;padding:0}.brand .company-logo{width:37px;height:37px;border:1px solid var(--line);padding:4px;border-radius:11px}.brand>span{align-self:center}.brand small{display:none}.sidebar nav{position:fixed;inset:auto 0 0;z-index:60;margin:0;padding:7px 5px max(7px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -5px 25px #213b4607;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;overflow:visible}.sidebar nav button{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:54px;padding:5px 1px;font-size:10px;line-height:1.25;text-align:center;color:#71858e;border-radius:10px;white-space:normal}.sidebar nav button.active{background:#edf4f4;color:#285861;box-shadow:none}.sidebar nav button:hover:not(.active){color:var(--ink);background:#f5f7f8}.sidebar nav button .hub-icon{width:21px;height:21px}.sidefoot{display:none}.topbar{height:52px;padding:0 18px;background:transparent;border:0}.topbar strong{display:none}.topbar small{font-size:11px}.identity{font-size:10px}.identity button{min-height:34px;padding:5px 8px;font-size:11px}.identity .avatar{display:none}main{padding:10px 16px calc(105px + env(safe-area-inset-bottom))}.notice{font-size:11px;line-height:1.65;padding:10px 12px;margin-bottom:20px;border-radius:11px}.pagehead h1{font-size:25px}.pagehead .sub{font-size:12px}.pagehead{gap:10px}.pagehead button{padding:8px 10px;font-size:12px}.panel{border-radius:16px}.panelhead,.panelbody{padding:17px}.empty{padding:28px 18px;font-size:13px}.home-welcome{align-items:flex-start;gap:12px;margin:0 0 20px}.home-welcome h1{font-size:28px;letter-spacing:-.6px}.home-welcome .eyebrow{font-size:10px;margin-bottom:7px}.home-welcome p{font-size:12px;max-width:250px}.home-welcome>button{padding:10px;font-size:0;border-radius:12px;min-height:40px}.home-welcome>button .hub-icon{width:20px;height:20px}.home-overview{gap:8px;margin-bottom:25px}.home-overview>button{padding:13px 10px;gap:8px;flex-direction:column;align-items:flex-start;border-radius:14px}.home-overview>button>span:nth-child(2){gap:5px}.home-overview small{font-size:10px}.home-overview strong{font-size:25px}.home-stat-icon{height:30px;width:30px;border-radius:9px}.home-stat-icon .hub-icon{height:17px;width:17px}.home-overview>button>.hub-icon{display:none}.home-section-title h2{font-size:17px}.home-section-title>span{font-size:10px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:23px}.home-shortcuts button{min-height:145px;padding:16px;gap:6px;border-radius:16px}.home-shortcuts strong{font-size:14px}.home-shortcuts small{font-size:10px}.home-dashboard>.split{grid-template-columns:1fr;gap:0}.home-secondary{margin-top:0;gap:2px}.home-secondary button{font-size:11px;padding:8px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.metric{padding:13px}.metric strong{font-size:20px}.metric span{font-size:12px}dialog{border-radius:17px}.dialogbody,.dialoghead,.dialogfoot{padding:18px}.dialogfoot{padding-bottom:max(18px,env(safe-area-inset-bottom))}.toast{bottom:95px}}
@media(prefers-reduced-motion:reduce){button,.resource-link{transition:none}}

.live-workspace .pagehead{margin-bottom:20px;align-items:center}.live-workspace .pagehead .sub{max-width:650px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.live-workspace h1{font-size:30px}.live-source-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:10px}.live-source-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:13px}.live-source-status .pill{color:var(--teal);background:var(--pale);font-weight:500}.live-data-panel{border-radius:12px;margin-bottom:14px}.live-data-toolbar{display:flex;align-items:center;gap:20px;padding:18px 20px;border-bottom:1px solid var(--line);background:white}.live-data-toolbar label{font-size:12px;margin-bottom:5px}.live-sheet-field{width:180px}.live-search-field{max-width:480px;flex:1}.live-table-caption{display:flex;justify-content:space-between;gap:12px;padding:10px 20px;font-size:12px;color:var(--muted);background:#f6f8f9;border-bottom:1px solid var(--line)}.live-table-scroll{max-height:68vh;overflow:auto;position:relative;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bbcbd0 #f5f8f9}.live-source-table{table-layout:fixed;width:max-content;min-width:100%;font-size:13px;line-height:1.6;border-collapse:separate;border-spacing:0}.live-source-table col.live-col-code{width:138px}.live-source-table col.live-col-description{width:350px}.live-source-table col.live-col-unit{width:68px}.live-source-table col.live-col-number{width:120px}.live-source-table col.live-col-notes{width:240px}.live-source-table col.live-col-other{width:140px}.live-source-table th,.live-source-table td{border-bottom:1px solid #e7edef;border-left:1px solid #edf1f3}.live-source-table thead th{position:sticky;top:0;z-index:4;background:#eef3f5;color:#304b59;font-size:12px;font-weight:600;padding:11px 14px;white-space:normal;vertical-align:middle;border-top:0}.live-source-table thead .live-group-head th{background:var(--ink);color:#fff;height:34px;padding:6px 14px;text-align:center;top:0;z-index:6;border-color:#365360}.live-source-table.live-has-groups .live-column-head th{top:34px}.live-source-table td{padding:12px 14px;height:auto;min-width:0;max-width:none;vertical-align:top;white-space:normal;overflow-wrap:normal;background:white;border-top:0}.live-source-table tbody tr:nth-child(even) td{background:#f8fafb}.live-source-table tbody tr:hover td{background:#eef6f3}.live-source-table th.live-role-code,.live-source-table td.live-role-code{position:sticky;right:0;z-index:2;box-shadow:-2px 0 4px #17334108;min-width:138px;max-width:138px;white-space:nowrap;direction:ltr;text-align:right;font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.live-source-table thead th.live-role-code{z-index:7;direction:rtl}.live-source-table th.live-role-description,.live-source-table td.live-role-description{min-width:350px;max-width:350px;white-space:normal;overflow-wrap:anywhere}.live-source-table th.live-role-number,.live-source-table td.live-role-number{min-width:120px;max-width:120px;text-align:right;font-variant-numeric:tabular-nums}.live-source-table td.live-role-number{direction:ltr;white-space:nowrap}.live-source-table .live-role-unit{min-width:68px;max-width:68px;text-align:center}.live-source-table .live-role-notes{min-width:240px;max-width:240px;overflow-wrap:anywhere}.live-source-table .live-role-other{min-width:140px;max-width:140px;overflow-wrap:anywhere}.live-source-table .live-section-row td{background:#e8f1f2!important;color:#244a56;font-weight:600;border-bottom-color:#d0e0e3}.live-source-table .live-total-row td{background:#f5f0e5!important;color:#634d29;font-weight:700;border-top:1px solid #dfd2b8}.live-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.live-description-expanded .live-description{display:block;overflow:visible}.live-expand{display:block;font-size:11px;margin-top:5px}.live-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#fff;border-top:1px solid var(--line)}.live-table-footer button{font-size:13px;padding:6px 14px}.live-source-details{font-size:13px;color:var(--muted);margin-top:14px}.live-source-details>summary,.live-preamble>summary{cursor:pointer;padding:9px 0}.live-source-details>div{padding:8px 0;max-width:820px;line-height:1.8}.live-source-details p{margin-top:0}.live-preamble{padding:8px 18px 12px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.live-preamble p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:800px}.live-source-table td small{display:none}
.live-column-views{display:flex;gap:6px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid var(--line);background:white}.live-column-views button{font-size:12px;padding:6px 12px;border-radius:6px}.live-column-views button.active{background:var(--ink);color:white;border-color:var(--ink)}.live-role-number>span{display:block;overflow:hidden;text-overflow:ellipsis}
.live-workspace .eyebrow{display:none}.live-workspace .pagehead{margin-bottom:14px}.live-source-bar{padding:10px 14px;margin-bottom:14px}.live-source-bar button{padding:7px 12px;font-size:13px}.live-data-toolbar{padding:12px 16px}.live-sheet-field{display:flex;align-items:center;gap:10px;width:210px}.live-sheet-field label{margin:0;white-space:nowrap}.live-search-field label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.live-column-views{padding:9px 16px}.live-source-table thead .live-column-head th{padding-top:8px;padding-bottom:8px}
@media(min-width:701px) and (max-width:1100px){.live-source-table col.live-col-code{width:116px}.live-source-table th.live-role-code,.live-source-table td.live-role-code{min-width:116px;max-width:116px;padding-left:8px;padding-right:8px}.live-source-table col.live-col-description{width:210px}.live-source-table th.live-role-description,.live-source-table td.live-role-description{min-width:210px;max-width:210px}.live-source-table col.live-col-unit{width:52px}.live-source-table th.live-role-unit,.live-source-table td.live-role-unit{min-width:52px;max-width:52px;padding-left:6px;padding-right:6px}.live-source-table col.live-col-number{width:92px}.live-source-table th.live-role-number,.live-source-table td.live-role-number{min-width:92px;max-width:92px;padding-left:8px;padding-right:8px}}
@media(max-width:700px){.live-workspace .pagehead{margin-bottom:12px}.live-workspace h1{font-size:26px}.live-workspace .pagehead .sub{max-width:calc(100vw - 50px);font-size:12px}.live-source-bar{padding:12px;flex-wrap:wrap;gap:10px}.live-source-status{font-size:12px;gap:8px}.live-source-bar .actions{width:100%}.live-source-bar button{font-size:13px;padding:7px 11px}.live-data-toolbar{padding:12px;gap:12px;flex-wrap:wrap}.live-sheet-field{width:100%}.live-search-field{flex:1;min-width:100%}.live-table-caption{padding:9px 12px}.live-table-scroll{max-height:65vh}.live-source-table col.live-col-code{width:122px}.live-source-table th.live-role-code,.live-source-table td.live-role-code{min-width:122px;max-width:122px;font-size:11px;padding-left:10px;padding-right:10px}.live-source-table col.live-col-description{width:310px}.live-source-table th.live-role-description,.live-source-table td.live-role-description{min-width:310px;max-width:310px}.live-source-table th,.live-source-table td{padding:10px 12px}.live-source-table th.live-role-number,.live-source-table td.live-role-number{min-width:110px;max-width:110px}.live-source-table col.live-col-number{width:110px}.live-table-footer{padding:10px 12px}.live-table-footer>.small{max-width:45%;font-size:11px}.live-column-views{padding:10px 12px;gap:5px}.live-column-views button{padding:6px 9px}}

.live-excel-scroll{max-height:none!important;overflow:auto;overscroll-behavior:auto}.live-excel-table{table-layout:fixed;width:max-content;min-width:0;border-collapse:collapse;direction:rtl;background:#fff;color:#000;font-family:Calibri,Arial,sans-serif;font-size:11pt;line-height:normal}.live-excel-table td{position:static;box-sizing:border-box;min-width:0;max-width:none;height:inherit;padding:1px 3px;border:1px solid #d4d4d4;background:#fff;color:#000;font-weight:400;overflow:hidden;text-overflow:clip;white-space:pre;vertical-align:bottom}.live-excel-table td:focus{outline:2px solid #237a57;outline-offset:-2px}.live-formula-bar{display:flex;align-items:center;gap:12px;padding:8px 14px;background:#fff;border-bottom:1px solid var(--line)}.live-formula-bar label{white-space:nowrap;font-size:12px;margin:0}.live-formula-bar input{font-family:Arial,sans-serif;font-size:13px;background:#fafafa}.live-value-notice{font-size:12px;margin:0;padding:8px 14px;color:#635020;background:#fff9e8}
.live-view-switch{display:flex;gap:4px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--line)}.live-view-switch button{border:0;border-radius:7px;padding:7px 15px;font-size:13px;color:var(--muted)}.live-view-switch button[aria-pressed=true]{background:var(--pale);color:var(--ink);font-weight:600}.live-app-table{border-collapse:separate;border-spacing:0;line-height:1.5}.live-app-table td{padding:10px 12px;height:auto;overflow-wrap:anywhere;white-space:normal!important;border-color:#e0e5e6}.live-app-table col.live-app-col-code{width:145px}.live-app-table col.live-app-col-description{width:360px}.live-app-table col.live-app-col-unit{width:65px}.live-app-table col.live-app-col-number{width:125px}.live-app-table col.live-app-col-notes{width:220px}.live-app-table col.live-app-col-other{width:130px}.live-app-table thead td{padding:10px 12px;text-align:center;font-weight:700}.live-app-table thead tr:first-child td{border-top:0}.live-app-table .live-app-role-code{white-space:nowrap!important;font-variant-numeric:tabular-nums}.live-app-table .live-app-role-number{direction:ltr;white-space:nowrap!important;text-align:right;font-variant-numeric:tabular-nums}.live-app-table .live-app-role-unit{text-align:center}.live-app-table .live-app-section td{padding-top:14px;padding-bottom:14px}.live-formula-details{padding:12px 16px;background:#fff;border-top:1px solid var(--line);font-size:12px}.live-formula-details summary{cursor:pointer}.live-formula-details label{margin-top:10px}.live-formula-details input{font-size:13px;font-family:Arial,sans-serif}@media(max-width:700px){.live-app-table col.live-app-col-code{width:125px}.live-app-table col.live-app-col-description{width:245px}.live-app-table col.live-app-col-number{width:110px}.live-app-table td{padding:9px 10px}.live-view-switch{padding:9px 12px}}


.spaced{margin-top:10px}