:root {
  color-scheme:light; --ink:#15243c; --muted:#586880; --line:#e2e8f0; --canvas:#f4f7fb;
  --white:#fff; --navy:#111f36; --blue:#244b88; --teal:#006f62; --teal-bright:#20a995;
  --light-teal:#e1f6f0; --amber:#9b5315; --light-amber:#fff0dc; --sky:#2f61aa; --light-blue:#e8f0fc;
  --radius:14px; --shadow:0 1px 3px #18385a09,0 3px 12px #1a375905;
  font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif; color:var(--ink); background:var(--canvas);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:calc(100vh / var(--desktop-scale,1));font-size:16px}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer} button:disabled{cursor:not-allowed;opacity:.6}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #157bce;outline-offset:3px}
button svg, a svg, span svg{display:block;flex:none}
.skip{position:fixed;z-index:10;left:16px;top:-100px;background:white;padding:10px}
.skip:focus{top:10px}
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh / var(--desktop-scale,1))}
.sidebar{height:calc(100dvh / var(--desktop-scale,1));position:sticky;top:0;background:var(--navy);color:#c7d3e4;display:flex;flex-direction:column;padding:24px 15px 17px}
@media(min-width:761px){
  .sidebar{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#536b87 transparent}
  .sidebar>*{flex-shrink:0}
}
.brand{display:flex;gap:11px;align-items:center;padding:3px 7px 26px;border-bottom:1px solid #ffffff19;margin-bottom:22px}
.brand-icon{display:block;width:38px;height:38px;flex:0 0 38px}
.brand strong,.sidebar-caption strong{display:block;color:#f5f9ff;font-weight:700;font-size:14px;white-space:nowrap}
.brand small,.sidebar-caption small{display:block;margin-top:4px;color:#a3b4cd;font-size:12px}
.brand-credit{color:#b2ede4;white-space:nowrap}
@media(max-width:970px) and (min-width:761px){.brand-credit{display:block;margin-top:2px}.brand-credit>span{display:none}}
.nav-label{font-size:11px;letter-spacing:.12em;color:#a4b5cc;font-weight:700;padding:0 12px;margin:4px 0 11px}
.nav-label.second{margin-top:29px}
.sidebar nav a{display:flex;gap:12px;align-items:center;min-height:45px;padding:9px 12px;margin:4px 0;font-size:14px;border-radius:8px;color:#cbd7e8}
.sidebar nav a:hover{background:#ffffff10;color:#fff}
.sidebar nav a[aria-current=page]{background:#253b54;color:#effbff;font-weight:650;box-shadow:inset 3px 0 #44dec2}
.sidebar nav a[aria-current=page] svg{color:#61e4cd}
.sidebar-bottom{margin-top:auto;padding:16px 7px 2px;border-top:1px solid #ffffff1a}
.sidebar-caption{display:flex;gap:10px;align-items:center}
.sidebar-caption>span{display:grid;place-items:center;width:35px;height:35px;border-radius:8px;background:#263953;color:#b9cce3}
.sidebar-caption strong{font-size:13px}.workspace{min-width:0}
.topbar{height:65px;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 30px;border-bottom:1px solid var(--line)}
.breadcrumb,.top-actions{display:flex;align-items:center;gap:12px}
.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:650}
.crumb-divider{color:#8290a4}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#14594e;background:#dff3ee;font-weight:700;font-size:13px}
.mode-button{display:flex;align-items:center;gap:7px;color:#70481e;background:#fff7e7;border:1px solid #f1dfbd;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700;white-space:nowrap}
.mode-button.live{background:#e9f8f4;color:#006659;border-color:#ccebe3}
main{max-width:1600px;margin:0 auto;padding:27px 30px 32px}
main:focus{outline:none}
.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(27px,calc(3vw / var(--desktop-scale,1)),37px);line-height:1.14;letter-spacing:-.042em;font-weight:750}
.subtitle{margin-top:7px;color:var(--muted);font-size:14px;line-height:1.55}
.heading-actions,.buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.btn,.small-icon{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:14px;font-weight:650;white-space:nowrap}
.btn:hover,.small-icon:hover{background:#eaf0f8;border-color:#c5d2e3}
.btn.primary{color:#fff;border-color:#08776a;background:#08776a}.btn.primary:hover{background:#006659}
.btn.subtle{border-color:transparent;background:none;color:#176c62;padding:5px 7px}
.btn.subtle:hover{background:#eaf7f3}.small-icon{padding:5px;min-height:32px;width:32px}
.menu-button{display:none}
.topbar .sidebar-toggle{display:none}
.filter-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;padding:10px 12px;margin-bottom:16px;background:white;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}
.filter-title{display:flex;gap:6px;align-items:center;font-size:14px;font-weight:650;padding-right:3px}
.field,.select-wrap select,.filter-trigger{width:100%;min-height:37px;border:1px solid #d8e0eb;background:#fff;color:var(--ink);border-radius:7px;padding:7px 10px;font-size:14px}
.select-wrap{position:relative;min-width:0;display:inline-flex;align-items:center;color:#65758d}
.select-wrap select{appearance:none;min-width:131px;max-width:100%;padding-right:31px;cursor:pointer}
.select-wrap>svg{position:absolute;right:9px;pointer-events:none}
.filter-control{min-width:0;max-width:100%}
.filter-control[id$="commitment"]{width:220px}
.filter-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:131px;
  text-align:start;white-space:nowrap
}
.filter-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.filter-trigger>svg{flex:none;color:#65758d}
.filter-control:has(:popover-open) .filter-trigger{border-color:#157bce}
.filter-control:has(:popover-open) .filter-trigger>svg{transform:rotate(180deg)}
.filter-options{
  position:fixed;inset:auto;margin:0;overflow:auto;overscroll-behavior:contain;padding:4px;
  border:1px solid #d8e0eb;border-radius:8px;background:#fff;box-shadow:0 4px 12px #18385a20
}
.filter-options button{
  display:block;width:100%;min-height:36px;padding:7px 10px;border:0;border-radius:5px;background:#fff;
  color:var(--ink);font-size:14px;text-align:start;overflow-wrap:anywhere
}
.filter-options button[data-filter-option="set"]{margin-bottom:4px;border-bottom:1px solid var(--line)}
.filter-options button:hover{background:#f0f5fb}
.filter-options button[aria-pressed="true"]{background:var(--light-blue);box-shadow:inset 2px 0 #157bce}
.filter-options button:focus-visible{outline-offset:-2px}
.filter-panel>.quiet{margin-left:auto}
.quiet{font-size:13px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}
.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);min-width:0}
.kpi{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:5px 6px;text-align:left;color:var(--ink);padding:14px 15px 13px;transition:border-color .15s,box-shadow .15s}
.kpi:hover{border-color:#79beb4;box-shadow:0 2px 8px #137b6e1c}
.kpi .tile-icon{grid-column:2;grid-row:1/3}
.tile-icon,.square-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;color:#2d5e9e;background:#e9f1ff}
.tile-icon.active,.square-icon.teal{color:#007466;background:#e4f7f0}
.tile-icon.ready{color:#1f6483;background:#e4f4fb}.tile-icon.blocked{color:#a15a14;background:#fff0db}
.kpi-label{font-size:14px;font-weight:650;line-height:1.27}
.kpi-value{font-size:32px;letter-spacing:-.05em;font-weight:750;line-height:1.1}
.kpi-meta{grid-column:1/-1;color:var(--muted);font-size:12px;white-space:nowrap}
.dashboard-kpis .kpi{grid-template-rows:auto auto 1fr}
.dashboard-kpis .kpi-meta{white-space:normal}
.dashboard-kpis .with-actions{grid-template-rows:auto auto 1fr auto}
.dashboard-kpis .with-actions:hover{border-color:var(--line);box-shadow:var(--shadow)}
.kpi-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,115px),1fr));gap:6px;margin-top:4px;padding-top:8px;border-top:1px solid var(--line);--action-bg:#edf5fc;--action-line:#d6e6f7;--action-ink:#234e81}
.kpi-actions.blocked{--action-bg:#fff7eb;--action-line:#f3dfc3;--action-ink:#824511}
.kpi-actions .btn{min-height:34px;min-width:0;gap:5px;padding:5px 6px;font-size:.8125rem;line-height:1.2;white-space:normal;color:var(--action-ink);background:var(--action-bg);border-color:var(--action-line)}
.kpi-actions .btn:hover{border-color:var(--action-ink)}
.viz-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:14px;margin-bottom:15px}
.panel{padding:17px 18px}
.panel-head,.table-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
.panel-head h2,.table-head h2,.card h2,.drawer h2{font-size:18px;letter-spacing:-.023em;line-height:1.3;font-weight:730}
.panel-head p,.table-head p{margin-top:4px;font-size:13px;color:var(--muted);line-height:1.4}
.legend{display:flex;flex-wrap:wrap;gap:7px 13px;align-items:center;font-size:12px;color:var(--muted);margin:0 0 12px}
.legend span{display:flex;align-items:center;gap:5px}
.dot{width:8px;height:8px;border-radius:3px;background:#d8e2ef;display:inline-block;flex:none}
.dot.active,.seg.active,.dot.complete,.seg.complete{background:#21a491}
.dot.ready,.seg.ready,.dot.transit,.seg.transit{background:#5784c4}
.dot.blocked,.seg.blocked,.dot.pending,.seg.pending{background:#e6a352}
.branch-status-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.branch-status{--status-ink:#12685d;--status-bg:#f0faf7;--status-border:#cee7df;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 8px;border:1px solid var(--status-border);border-radius:7px;background:var(--status-bg);color:var(--ink);transition:border-color .15s,box-shadow .15s}
.branch-status.ready{--status-ink:#285e9c;--status-bg:#f1f6fc;--status-border:#d7e4f5}
.branch-status.blocked{--status-ink:#925116;--status-bg:#fff8ed;--status-border:#f4e2c9}
.branch-status:hover{border-color:var(--status-ink);box-shadow:0 2px 7px #18385a14}
.branch-status-label{display:flex;align-items:center;gap:5px;font-size:.8125rem;font-weight:650;line-height:1.2}
.branch-status-label .dot{width:6px;height:6px}
.branch-status-count{color:var(--status-ink);font-size:.75rem;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}
.charts{display:grid;gap:5px}
.chart-row{display:grid;grid-template-columns:58px minmax(40px,1fr) 28px;gap:10px;width:100%;min-height:28px;align-items:center;background:none;border:0;text-align:left;color:var(--ink);padding:2px 4px;border-radius:5px;font-size:13px}
.chart-row:hover{background:#f0f5fa}
.chart-row .row-name{font-weight:650;display:flex;gap:7px;align-items:center;white-space:nowrap}
.chart-row .row-name svg{color:#61738b}
.chart-row .bar{height:9px;width:100%;overflow:hidden;border-radius:10px;display:flex;background:#ecf0f5}
.seg{height:100%;display:block}
.row-count{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.chart-row.material{grid-template-columns:minmax(119px,41%) minmax(30px,1fr) 23px;min-height:26px}
.caption{color:var(--muted);font-size:12px;margin-top:10px}
.table-card{overflow:hidden}
.followup-card .table-head{align-items:center;flex-wrap:wrap}
.followup-card .capture-button{margin-inline-start:auto}
.followup-card .followup-all{margin-inline-start:auto}
.followup-card .followup-all+.capture-button{margin-inline-start:0}
.followup-card .followup-filters{padding-inline:17px;margin-bottom:12px}
.followup-filters .branch-status{background:#fff;border-color:var(--line);min-height:34px;padding-inline:10px}
.followup-filters .branch-status[aria-pressed="true"]{background:var(--status-bg);border-color:var(--status-ink)}
.followup-card .followup-branch{font-weight:650}
.followup-card .followup-details{white-space:normal;min-width:180px}
.followup-materials{display:flex;flex-wrap:wrap;gap:4px 7px;padding:0;margin:0;list-style:none}
.followup-materials li{border:1px solid #dce6ee;background:#f6f9fc;border-radius:6px;padding:3px 7px;font-size:12px;line-height:1.3}
.followup-materials small{color:#275a8d;margin-inline-start:3px;font-weight:650}
.followup-count{padding:9px 17px;border-top:1px solid #e8edf4;color:var(--muted);font-size:12px}
.table-head{margin:0;padding:15px 17px}
.table-scroll{overflow:auto;min-width:0}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:10px 13px;border-bottom:1px solid #e8edf4;white-space:nowrap}
th{background:#f6f8fc;color:#4d5d75;font-size:13px;font-weight:650}
td{font-size:14px;color:#26364f}
tr:last-child td{border-bottom:0}
tbody tr:hover td{background:#f8fbfd}
.site-list-scroll table{border-collapse:separate;border-spacing:0}
.site-list-scroll{max-height:min(calc(62dvh / var(--desktop-scale,1)),660px);scroll-padding-top:42px}
.site-list-scroll :is(th,td):first-child{position:sticky;inset-inline-start:0;z-index:1;box-shadow:2px 0 0 #dce5ef}
.site-list-scroll thead th{position:sticky;top:0;z-index:2}
.site-list-scroll thead th:first-child{z-index:3}
.site-list-scroll td:first-child{background:#fff}
.site-list-scroll tr:hover td:first-child{background:#f8fbfd}
.site-list-scroll:focus-visible{outline:2px solid #157bce;outline-offset:-2px}
.site-list-swipe-hint{display:none}
.site-link{font:inherit;color:#166d62;border:0;background:none;padding:0;font-weight:750}
.site-link:hover{text-decoration:underline}
.tag{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;font-size:12px;font-weight:700;line-height:1.25}
.tag.active,.tag.complete{color:#087062;background:var(--light-teal)}
.tag.ready,.tag.transit{color:#245a9d;background:var(--light-blue)}
.tag.blocked,.tag.pending{color:#905114;background:var(--light-amber)}
.tag.na{color:#617086;background:#edf1f5}
.tag .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.dates{font-variant-numeric:tabular-nums}
.overdue{color:#a04418;font-weight:700}
.searchbox{position:relative;display:flex;align-items:center;flex:1;min-width:180px}
.searchbox>svg{position:absolute;left:10px;color:#65758d;pointer-events:none}
.searchbox input{padding-left:35px}
.filter-stack{margin-bottom:13px}.filter-stack .filter-panel{margin-bottom:8px}
.filter-chip{display:inline-flex;gap:7px;align-items:center;border-radius:20px;color:#176c62;background:#e8f5f0;padding:4px 8px 4px 11px;font-size:13px;font-weight:650}
.filter-chip button{border:0;background:none;padding:4px;color:inherit}
.footer-table{display:flex;align-items:center;justify-content:space-between;padding:11px 16px;border-top:1px solid var(--line);gap:10px}
.page-buttons{display:flex;align-items:center;gap:6px}
.empty{padding:30px 18px;text-align:center;color:var(--muted);font-size:14px}
.empty h3{color:var(--ink);font-size:17px;margin-bottom:6px}
.empty .buttons{justify-content:center;margin-top:13px}
.banner{padding:10px 13px;margin-bottom:13px;border:1px solid #e9d4ac;background:#fff8e7;border-radius:8px;color:#744c23;display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.5}
.banner.danger{color:#942d25;border-color:#f1d0ca;background:#fff1ed}
.banner.good{color:#0b655a;border-color:#ccebe3;background:#e9f8f4}
.import-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.56fr);gap:14px;align-items:start}
.import-box{padding:19px}
.import-box h2{margin-bottom:7px}
.import-box p,.steps li{color:var(--muted);font-size:14px;line-height:1.58}
.steps{padding-left:20px;margin:12px 0 18px;display:grid;gap:8px}
.drop{display:grid;place-items:center;text-align:center;background:#f7fbfb;border:1px dashed #93bcb8;border-radius:11px;padding:25px 14px;margin:14px 0 12px;color:var(--ink)}
.drop.over{background:#e3f7f1;border-color:#00766a}
.drop .square-icon{margin-bottom:9px}.drop strong{font-size:15px}.drop small{font-size:13px;margin:6px 0 12px;color:var(--muted)}
.drop input{max-width:100%;font-size:13px}.drop input::file-selector-button{font:inherit;color:#154f47;background:#fff;border:1px solid #b8d4cd;border-radius:7px;padding:7px 9px;cursor:pointer;margin-right:8px}
.inspection{margin-top:14px}.inspection .banner{margin:0 0 12px}
.column-field{display:flex;flex-direction:column;gap:5px;color:#42536a;font-size:14px;font-weight:650}
.column-field .field{font-weight:400}
.select-wrap.wide,.wide select,.filter-control.wide{width:100%}
.drawer{border:0;position:fixed;inset:0 0 0 auto;margin:0;width:min(850px,calc(100vw / var(--desktop-scale,1)));height:100%;max-width:calc(100vw / var(--desktop-scale,1));max-height:100%;padding:0;color:var(--ink);box-shadow:-12px 0 45px #10264328}
.drawer::backdrop{background:#0d1b35a0}
.drawer-head{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid var(--line);padding:18px 22px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.drawer-body{padding:19px 22px;min-height:calc(100% - 140px)}
.drawer-body p{line-height:1.5}.drawer-body h3{font-size:16px;margin:18px 0 9px}
.drawer-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;align-items:center;gap:8px;background:#fff;border-top:1px solid var(--line);padding:11px 22px}
.site-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.site-meta>div{border:1px solid var(--line);border-radius:8px;padding:9px;min-width:0}
.site-meta span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.site-meta strong{font-size:14px;overflow-wrap:anywhere}
.guide-link{display:flex;align-items:flex-start;gap:6px;width:fit-content;max-width:100%;font-size:14px;color:#006f62;font-weight:700;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.guide-link:hover,.guide-shortcut:hover{color:#004b43}
.guide-link+.guide-link{margin-top:4px}
.guide-upload{padding:14px;margin:18px 0}
.guide-upload h3{margin-top:0}
.guide-upload-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:10px}
.guide-upload-fields input,.guide-upload-fields select{width:100%;min-width:0}
.guide-other-sites{grid-column:1/-1}
.guide-other-sites textarea{resize:vertical}
.guide-other-sites .quiet{margin-top:4px}
.guide-pending{margin-top:8px}
.guide-result{white-space:pre-line}
.guide-result:empty{display:none}
.guide-page-form{max-width:1120px}
.guide-page-fields{min-width:0;margin:0;padding:0;border:0}
.guide-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-page-grid>section{display:grid;align-content:start;min-width:0;gap:12px;padding:20px}
.guide-page-document{border-inline-start:1px solid var(--line)}
.guide-page-form .column-field :is(input,select,textarea){min-width:0}
.guide-page-document input[type="file"]{padding:5px;font-size:14px}
.guide-page-document input[type="file"]::file-selector-button{
  border:0;border-radius:5px;margin-inline-end:8px;padding:5px 8px;
  background:#e7f3ef;color:#065c52;cursor:pointer
}
.guide-page-tabs{display:flex;border-bottom:1px solid var(--line)}
.guide-page-tabs button{
  flex:1;min-height:39px;border:0;border-bottom:2px solid transparent;background:none;
  padding:5px 7px;color:var(--muted);font-size:14px;font-weight:650
}
.guide-page-tabs button[aria-pressed="true"]{color:#075f55;border-bottom-color:#08776a}
.guide-target-pane{display:grid;gap:8px}
.guide-target-controls{display:grid;gap:8px;align-items:end}
.guide-target-pane .searchbox{min-width:0}
.guide-target-pane textarea{resize:vertical}
.guide-sites-scroll{max-height:200px;overflow:auto;min-width:0;border:1px solid var(--line);border-radius:8px}
.guide-site-choice{
  display:flex;align-items:center;gap:10px;min-height:39px;padding:5px 10px;
  border-bottom:1px solid var(--line);font-size:14px;cursor:pointer
}
.guide-site-choice:last-child{border-bottom:0}
.guide-site-choice:has(input:checked){background:#eff8f5}
.guide-site-choice input{width:16px;height:16px;margin:0;flex:none;accent-color:#08776a}
.guide-site-choice strong{min-width:0;overflow-wrap:anywhere}
.guide-site-choice span{margin-inline-start:auto;color:var(--muted)}
.guide-sites-empty{padding:10px}
.guide-selection-line{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.guide-selection-line .btn{min-height:30px;flex:none;font-size:13px}
.guide-selection-line p{align-self:center;overflow-wrap:anywhere}
.guide-page-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--line);padding:12px 20px}
.guide-page-result{margin:0 20px 16px;font-size:14px;color:#065c52;overflow-wrap:anywhere}
.guide-page-result.error-text{color:#933d2e}
@media(max-width:760px){
  .guide-page-grid{grid-template-columns:minmax(0,1fr)}
  .guide-page-grid>section{padding:14px}
  .guide-page-document{border-inline-start:0;border-top:1px solid var(--line)}
  .guide-page-footer{padding:12px 14px}
  .guide-page-footer .btn{width:100%;min-height:44px}
  .guide-page-result{margin-inline:14px}
}
.guide-unlinked{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.guide-shortcut{display:inline-flex;align-items:center;gap:3px;margin-left:7px;font-size:12px;color:#006f62}
@media(max-width:760px){
  .site-list-swipe-hint{display:block;padding:6px 12px;background:#edf3f8;color:#415674;font-size:13px}
  .site-list-scroll table{width:max-content;min-width:100%}
  .site-list-scroll :is(th,td){padding-inline:9px}
  .site-list-scroll :is(th,td):first-child{min-width:104px;padding-inline:8px}
  .site-list-scroll td:first-child{padding-block:4px}
  .site-row-actions{
    display:flex;flex-direction:column;align-items:flex-start;gap:2px;
    width:max-content;max-width:104px
  }
  .site-row-actions .site-link{max-width:100%;min-height:34px;text-align:start;font-size:13px}
  .site-row-actions .site-link:not(.guide-shortcut){white-space:normal;overflow-wrap:anywhere}
  .site-row-actions .guide-shortcut{
    min-height:30px;margin:0;padding:4px 7px;border-radius:6px;background:#edf7f3;
    font-size:12px;white-space:normal
  }
  #site-results .small-icon{min-height:44px;width:44px}
}
.material-cards{display:grid;gap:8px}
.material-edit{border:1px solid var(--line);border-radius:9px;padding:10px 11px}
.material-edit legend{font-size:14px;font-weight:740;padding:0 5px}
.material-inputs{display:grid;grid-template-columns:1.1fr .6fr 1fr 1fr;gap:8px}
.material-inputs .detail{grid-column:1/-1}
.note{white-space:pre-wrap;overflow-wrap:anywhere}
td.break{white-space:normal;min-width:160px;overflow-wrap:anywhere}
.toast{position:fixed;z-index:4;bottom:20px;right:20px;max-width:min(400px,calc(calc(100vw / var(--desktop-scale,1)) - 40px));padding:11px 14px;border-radius:8px;color:#fff;background:#174e47;box-shadow:0 6px 25px #10264330;font-size:14px}
.toast.bad{background:#8e3828}
.loading{display:flex;align-items:center;gap:10px;color:var(--muted);padding:42px 0}
.loading span{width:20px;height:20px;border:2px solid #adcccb;border-top-color:#00766a;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0s!important;transition:none!important}}
@media(max-width:1180px){.shell{grid-template-columns:221px minmax(0,1fr)}main{padding-inline:22px}.topbar{padding-inline:22px}.kpi{padding-inline:12px}.panel{padding-inline:13px}.brand{gap:8px;padding-inline:4px}}
@media(max-width:970px){.shell{grid-template-columns:188px minmax(0,1fr)}.sidebar{padding-inline:11px}.brand-icon{width:32px;height:32px;flex-basis:32px}.brand strong{font-size:12px}.sidebar nav a{font-size:13px;gap:8px}.sidebar-caption strong{font-size:11px}.kpi-meta{white-space:normal}.chart-row.material{grid-template-columns:128px minmax(21px,1fr) 18px;gap:5px}.legend{gap:6px 9px}.import-layout{grid-template-columns:1fr}.heading{flex-wrap:wrap}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;display:none;position:static}.sidebar.open{display:block}.sidebar-bottom{display:none}.menu-button{display:inline-flex}.topbar{height:55px;padding-inline:15px}.crumb-parent,.crumb-divider{display:none}main{padding:18px 14px}.heading{margin-bottom:14px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.viz-grid{grid-template-columns:1fr;gap:10px}.heading-actions{gap:5px}.btn{font-size:13px}.filter-panel>.quiet{display:none}.filter-title{display:none}.site-meta,.material-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-body,.drawer-head,.drawer-foot{padding-inline:12px}}
.summary-card{overflow:hidden}
.summary-status{margin:-7px 0 13px}
.summary-heading{align-items:center;flex-wrap:wrap;gap:12px}
.summary-jumps{display:flex;gap:6px;flex-wrap:wrap}
.summary-jumps .btn{min-height:32px;padding:5px 9px;font-size:13px;background:#f5f8fc}
.summary-jumps .btn:hover{background:#e5edf8}
.summary-scroll{max-height:min(calc(64vh / var(--desktop-scale,1)),670px);overscroll-behavior:contain;border-top:1px solid var(--line)}
.summary-scroll:focus-visible{outline:2px solid #157bce;outline-offset:-2px}
.summary-table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.summary-table th,.summary-table td{border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;text-align:center;padding:7px 8px}
.summary-table thead{position:sticky;top:0;z-index:3}
.summary-table thead th{white-space:normal}
.summary-table .summary-bands th{height:35px;color:#fff;background:#213b58;font-size:13px;font-weight:730}
.summary-table .summary-bands .materials{background:#176959}
.summary-table .summary-bands .activation{background:#355a8d}
.summary-table .summary-columns th{height:59px;min-width:80px;max-width:130px;font-size:13px;line-height:1.22;background:#edf3fa}
.summary-table .summary-columns th.summary-note-cell{min-width:195px;max-width:230px;background:#f2f5f9}
.summary-table .summary-columns th.positive{background:#dbf2eb;color:#115e54}
.summary-table .summary-columns th.warning{background:#ffeddd;color:#834321}
.summary-table .summary-columns th.activated{background:#e2ecfa;color:#25497a}
.summary-table .summary-columns th.notice{background:#e6efff;color:#244d83}
.summary-table .summary-columns th.primary-count{background:#2a4a6c;color:#fff}
.summary-table .summary-sticky{position:sticky;left:0;min-width:93px;text-align:left;padding-left:13px;z-index:2;background:#f7f9fd;box-shadow:2px 0 0 #dce5ef}
.summary-table .summary-bands .summary-sticky{z-index:5;background:#192e49;color:#fff}
.summary-table .summary-total>*{background:#e8eef8;font-weight:750;border-bottom:2px solid #bacbde}
.summary-table .summary-total .summary-sticky{z-index:4;background:#dbe7f7;color:#1c3b64}
.summary-table tbody tr:nth-child(odd):not(.summary-total)>td{background:#f8fafd}
.summary-table tbody td.positive{background:#f0faf6!important}
.summary-table tbody td.activated{background:#f0f5fc!important}
.summary-table tbody td.primary-count{background:#ebf3fa!important}
.summary-table .summary-total td.positive{background:#d4f0e7!important}
.summary-table .summary-total td.activated{background:#dce8f9!important}
.summary-table .summary-total td.primary-count{background:#d9e8f5!important}
.summary-table .group-start{border-left:1px solid #c3d2e2}
.summary-number,.summary-more{background:transparent;color:#256097;border:0;border-radius:5px;padding:3px 6px;font-weight:750;min-width:30px}
.summary-number:hover,.summary-more:hover{background:#dceafb;text-decoration:underline}
.positive .summary-number{color:#085d53}.positive .summary-number:hover{background:#cceee2}
.warning .summary-number{color:#a1461c}.warning .summary-number:hover{background:#ffebda}
.summary-zero{color:#67788e}
.summary-table td.summary-note-cell{text-align:left;line-height:1.34}
.summary-note-preview{display:flex;align-items:center;gap:6px;width:214px}
.summary-note-preview .site-link{font-size:13px;flex:none}
.summary-note-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#4b5e79}
.summary-more{flex:none;padding:3px 4px;font-size:12px}
.summary-foot{font-size:13px;color:var(--muted);padding:10px 16px;line-height:1.5}
.confirm-note{margin-bottom:12px;color:#42536a}
.portal-loading #menu,.portal-public #menu{display:none}
.portal-public .shell{grid-template-columns:1fr}
.portal-public .sidebar{display:none}
.portal-public .topbar{padding-inline:max(24px,calc((100% - 1240px) / 2))}
.portal-public main{max-width:1270px}
.portal-public .filter-panel .tag{font-size:13px;padding:7px 10px}
.portal-public .kpi{cursor:default}
.portal-public .kpi:hover{border-color:var(--line);box-shadow:var(--shadow)}
.portal-public .cards{margin-top:19px}
.public-table th,.public-table td{padding:12px 15px;font-variant-numeric:tabular-nums}
.public-table tbody th{text-align:left}
.public-table .public-total>*{background:#e3eefb;color:#1c3d67;font-weight:750}
.share-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;align-items:start}
.share-layout .panel{padding:18px}
.share-layout .panel-head{align-items:flex-start}
.share-settings fieldset{border:0;padding:0;margin:0 0 14px;display:grid;gap:8px}
.share-settings legend{padding:0;margin:1px 0 8px;font-size:14px;font-weight:730}
.share-option{display:flex;gap:9px;align-items:flex-start;cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 11px}
.share-option:has(input:checked){border-color:#81bfb6;background:#f1faf8}
.share-option input{margin:3px 0 0;accent-color:#0b786a}
.share-option strong{display:block;font-size:14px}
.share-option small{display:block;font-size:13px;color:var(--muted);line-height:1.45;margin-top:4px}
.share-link .buttons{margin-top:12px}
@media(max-width:880px){.share-layout{grid-template-columns:1fr}}
@media(max-width:760px){.portal-public .topbar{padding-inline:15px}}
.visitor-badge{white-space:nowrap}
.portal-visitor .top-actions{gap:8px}
.portal-visitor .topbar .btn{min-height:34px;padding:6px 9px;font-size:13px}
.topbar .presence-button{gap:6px;color:#096256;background:#edf8f3;border-color:#cbe9df}
.presence-button:hover{background:#def3eb}
#presence-count{font-variant-numeric:tabular-nums}
.presence-dialog{width:min(460px,calc(100% - 28px));max-height:calc(100% - 28px);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}
.presence-dialog::backdrop{background:#10233b66}
.presence-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.presence-heading h2{font-size:1.125rem;margin:0}
.presence-status{font-size:14px;font-weight:650;margin:14px 0 6px}
.presence-list{list-style:none;margin:0;padding:0}
.presence-list li{display:flex;align-items:baseline;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:8px 0;font-size:14px;overflow-wrap:anywhere}
.presence-list small{color:var(--muted);font-size:12px}
.presence-email{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.presence-email [role=status]:empty{display:none}
@media(max-width:410px){.portal-visitor .visitor-badge{display:none}}
.cards.arrival-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.arrival-cards .kpi[aria-pressed=true]{border-color:#50aa9f;background:#f1fbf8}
.auth-panel{max-width:460px;margin:clamp(20px,calc(9vh / var(--desktop-scale,1)),90px) auto;padding:clamp(20px,calc(5vw / var(--desktop-scale,1)),30px)}
.auth-panel h1{font-size:clamp(1.65rem,calc(5vw / var(--desktop-scale,1)),2.1rem);margin-top:10px}
.auth-panel .buttons{margin-top:16px}
.auth-form{display:grid;gap:12px;margin-top:16px}
.auth-form .btn{justify-self:start}
.auth-panel .auth-form .btn{justify-self:stretch}
.auth-form [role=alert] .banner{margin:0}
@media(max-width:600px){
  #portal-owner{display:none}
  .topbar .breadcrumb{min-width:0}
  .topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar .top-actions{flex-shrink:0;gap:6px}
  #portal-sign-out{padding:5px 7px;font-size:12px;min-height:32px}
}
.profile-link{max-width:min(180px,calc(25vw / var(--desktop-scale,1)));overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-wide{grid-column:1/-1}
.profile-providers,.mail-options{margin-top:16px}
.mail-options{border-top:1px solid var(--border,#dfe6ef);padding-top:14px}
.mail-options h3,.provider-form h3{font-size:1rem}
.mail-options .buttons{margin-top:8px}
.provider-form{border:1px solid var(--border,#dfe6ef);border-radius:12px;padding:14px;min-width:0}
.provider-form .quiet{margin-top:5px}
.provider-form a{text-decoration:underline}
@media(max-width:680px){.profile-grid{grid-template-columns:1fr}.profile-link{max-width:calc(24vw / var(--desktop-scale,1));padding:6px 8px}}

.language-control{position:relative;flex:none}
.language-trigger{
  display:flex;align-items:center;gap:5px;min-height:32px;padding:4px 7px;list-style:none;
  border:1px solid #d8e0eb;border-radius:7px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;cursor:pointer
}
.language-trigger::-webkit-details-marker{display:none}
.language-trigger:focus-visible{outline:2px solid #157bce;outline-offset:2px}
.language-trigger:hover,.language-control[open] .language-trigger{background:#f3f7fb}
.language-chevron{color:var(--muted)}
.language-chevron svg{width:12px;height:12px}
.language-control[open] .language-chevron{transform:rotate(180deg)}
.language-current,.language-options button{display:flex;align-items:center;gap:6px;white-space:nowrap}
.language-options{
  position:absolute;z-index:20;inset-inline-end:0;top:calc(100% + 4px);min-width:100%;padding:3px;
  border:1px solid #d8e0eb;border-radius:8px;background:white;box-shadow:0 4px 12px #18385a20
}
.language-options button{
  width:100%;min-height:31px;padding:4px 7px;border:0;border-radius:5px;background:#fff;
  color:var(--ink);font-size:12px;text-align:start
}
.language-options button[aria-current=true]{background:#e4f2ee;color:#095549;font-weight:700}
.language-options button:hover{background:#eaf1f8}
.language-options button:focus-visible{outline-offset:-2px}
.language-flag{display:inline-block;flex:none;width:17px;height:11px;border-radius:2px;box-shadow:inset 0 0 0 1px #15243c20}
.flag-pe{background:linear-gradient(90deg,#d91023 33.33%,#fff 33.33% 66.67%,#d91023 66.67%)}
.flag-gb{
  background:
    linear-gradient(90deg,transparent 42%,#c8102e 42% 58%,transparent 58%),
    linear-gradient(transparent 38%,#c8102e 38% 62%,transparent 62%),
    linear-gradient(90deg,transparent 36%,#fff 36% 64%,transparent 64%),
    linear-gradient(transparent 29%,#fff 29% 71%,transparent 71%),
    linear-gradient(34deg,transparent 47%,#c8102e 47% 53%,transparent 53%),
    linear-gradient(-34deg,transparent 47%,#c8102e 47% 53%,transparent 53%),
    linear-gradient(34deg,transparent 43%,#fff 43% 57%,transparent 57%),
    linear-gradient(-34deg,transparent 43%,#fff 43% 57%,transparent 57%),
    #012169
}
@media(max-width:760px){
  .topbar{height:auto;min-height:55px;padding-block:7px;gap:6px;flex-wrap:wrap}
  .topbar .top-actions{max-width:100%;gap:6px;flex-wrap:wrap}
}

.progress-views{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0;border-bottom:1px solid var(--line);padding-bottom:7px}
.progress-views .btn{border-color:#cbd7e6}
.progress-views .btn:hover{background:#eaf0f8;border-color:#9fb4cc}
.progress-views .btn[aria-current="page"]{background:#dcefe9;border-color:#7bb6a8;color:#0a5d51}
.progress-workspace{max-width:none;padding:9px 14px}
.progress-titlebar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 16px;margin-bottom:7px}
.progress-heading{margin:0}
.progress-heading h1{font-size:23px}
.progress-workspace .progress-views{margin:0;border:0;padding:0}
.progress-workspace .progress-views .btn{min-height:30px;padding:4px 8px;font-size:13px}
.progress-workspace .summary-status{margin:0 0 7px}
.progress-toolbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;border-radius:9px}
.progress-toolbar .btn,.progress-toolbar .field,.progress-toolbar select,.progress-toolbar .filter-trigger{
  min-height:32px;padding-block:4px;font-size:13px
}
.progress-toolbar .btn{padding-inline:8px;gap:5px}
.progress-toolbar select,.progress-toolbar .filter-trigger{min-width:0}
.progress-search{display:flex;align-items:center;gap:7px;max-width:100%}
.progress-search-field{position:relative;width:min(145px,calc(40vw / var(--desktop-scale,1)))}
.progress-search-field input{padding-inline:27px 29px}
.progress-search-field input::-webkit-search-cancel-button{appearance:none}
.progress-search-field>svg{position:absolute;inset-inline-start:7px;top:8px;pointer-events:none;color:var(--teal)}
.progress-search-field button{display:grid;place-items:center;position:absolute;inset-inline-end:3px;top:3px;width:26px;height:26px;border:0;border-radius:4px;background:transparent;color:var(--muted)}
.progress-search-field button:hover{background:#eaf0f8}
.progress-more{margin-inline-start:auto}
.progress-more summary{cursor:pointer;list-style:none}
.progress-more summary::-webkit-details-marker{display:none}
.progress-more summary:focus-visible{outline:2px solid #157bce;outline-offset:3px}
.progress-more-panel{position:absolute;z-index:9;inset-inline-end:0;top:calc(100% + 4px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(400px,100%);padding:10px}
.progress-status-bar{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;padding:4px 8px;margin-top:5px;border-radius:8px;background:#edf3f7}
.progress-status-filter{display:flex;align-items:center;gap:6px;font-size:12px;min-width:0}
.progress-status-filter .progress-control{width:155px;min-width:0}
.progress-status-bar :is(.btn,.filter-trigger){min-height:28px;padding:3px 7px;font-size:12px}
.progress-status-bar .filter-trigger{min-width:0}
.progress-status-bar .is-filtered .filter-trigger{border-color:#7cb8ac;background:#e8f6f1;color:#0a594f}
.progress-more-panel .btn{justify-self:start}
.progress-more-panel .filter-control{width:100%}
.progress-more-panel .progress-source{align-self:center}
.progress-workspace .progress-filter-scroll{margin-top:5px}
.progress-workspace .progress-filters{min-width:840px}
.progress-workspace .progress-filters th,.progress-workspace .progress-filters td{padding:3px 6px;font-size:12px}
.progress-workspace .progress-filters .filter-trigger{min-height:27px;padding-block:2px;font-size:13px}
.progress-workspace .progress-results{margin-top:7px}
.progress-workspace .progress-results .table-head{padding:6px 10px}
.progress-workspace .progress-results .table-head h2{font-size:15px}
.progress-workspace .progress-results .table-head p{margin-top:1px}
.progress-workspace .footer-table{padding:4px 10px}
.progress-workspace .summary-foot{padding:5px 10px}
.progress-workspace .progress-table th,.progress-workspace .progress-table td{padding:4px 6px}
@media (min-width:761px) and (min-height:580px){
  .progress-workspace{height:calc(calc(100dvh / var(--desktop-scale,1)) - var(--progress-topbar-height,65px));display:flex;flex-direction:column;overflow:auto}
  .progress-workspace>:not(#progress-readout){flex-shrink:0}
  #progress-readout{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
  #progress-readout:has(.progress-scroll){min-height:min(340px,calc(60dvh / var(--desktop-scale,1)))}
  .progress-workspace .progress-results{display:flex;flex-direction:column;min-height:0;flex:0 1 auto}
  .progress-workspace .progress-results>:not(.progress-scroll){flex-shrink:0}
  .progress-workspace .progress-scroll{max-height:none;min-height:0;flex:0 1 auto}
}
@media(max-width:760px){
  :is(.filter-panel,.progress-toolbar,.guide-target-controls){
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
  }
  :is(.filter-panel,.progress-toolbar){padding:9px}
  :is(.filter-panel,.progress-toolbar,.guide-target-controls) :is(select,.filter-trigger){
    min-width:0;min-height:40px;padding-inline:8px 25px;
    font-size:clamp(12px,calc(3.4vw / var(--desktop-scale,1)),14px);text-overflow:ellipsis
  }
  :is(.filter-panel,.progress-toolbar,.guide-target-controls) .filter-trigger{padding-inline-end:6px}
  .filter-control[id$="commitment"]{width:100%}
  :is(.filter-panel,.progress-toolbar,.guide-target-controls) .filter-trigger>svg{width:13px}
  .filter-prefix{display:none}
  :is(.filter-panel,.progress-toolbar,.guide-target-controls) .select-wrap>svg{right:6px;width:13px}
  :is(.filter-panel,.guide-target-controls) .searchbox{min-width:0}
  :is(.filter-panel,.progress-toolbar,.guide-target-controls) input[type="search"]{
    min-width:0;min-height:40px;font-size:16px;text-overflow:ellipsis
  }
  :is(.filter-panel,.guide-target-controls) .searchbox input{padding-inline-start:28px}
  :is(.filter-panel,.guide-target-controls) .searchbox>svg{inset-inline-start:8px;width:14px}
  .filter-panel>:is(.searchbox:has(#search),#status),.public-filter>*{
    grid-column:1/-1
  }
  .public-filter>.tag{justify-self:start}
  .progress-more{margin:0}
  .progress-more-panel{width:100%}
  .progress-search-field{flex:1;min-width:0}
  .progress-search-field>svg{top:calc(50% - 8px)}
  .progress-search-field button{top:calc(50% - 13px)}
  .progress-more summary{justify-content:space-between}
  .progress-more-panel{width:auto}
  .progress-toolbar .btn{min-height:40px;white-space:normal}
  .progress-more-panel .btn{grid-column:1/-1;justify-self:start}
}
.progress-filter-scroll{margin-top:12px}
.progress-filters{min-width:1120px;table-layout:fixed}
.progress-filters th:first-child,.progress-filters thead td:first-child{width:90px}
.progress-filters th,.progress-filters td{padding:8px 9px;border-inline-end:1px solid var(--line)}
.progress-filters thead th,.progress-filters thead td{background:#ecf2f9;white-space:normal}
.progress-filters tbody th{font-size:14px}
.progress-filters .filter-trigger{min-width:0}
.progress-filters .is-filtered .filter-trigger{border-color:#7cb8ac;background:#e8f6f1;color:#0a594f;font-weight:650}
.progress-drill{margin:12px 0}
.progress-results{margin-top:12px}
.progress-scroll{max-height:min(calc(66vh / var(--desktop-scale,1)),700px);overscroll-behavior:contain;border-top:1px solid var(--line)}
.progress-table{
  --progress-navy:#19354d;
  --progress-navy-alt:#23485e;
  --progress-accent:#255e5c;
  --progress-material:#1c4973;
  --progress-material-bg:#e8f1fb;
  --progress-work:#076355;
  --progress-work-bg:#e2f2ef;
  --progress-muted:#4e5d70;
  --progress-grid:#dde6ed;
  --progress-divider:#b5c9d6;
  width:100%;font-size:14px;border-collapse:separate;border-spacing:0
}
.progress-table thead{position:sticky;top:0;z-index:3}
.progress-table th,.progress-table td{text-align:center;vertical-align:middle}
.progress-table th{white-space:normal}
.progress-table thead th{min-width:88px;padding:8px 9px;background:#edf2f7;color:var(--progress-muted)}
.progress-table thead .progress-group{background:var(--progress-navy);color:white;font-weight:750}
.progress-table thead .progress-group[scope="colgroup"]:nth-child(even){background:var(--progress-navy-alt)}
.progress-table thead .progress-group.progress-primary{background:var(--progress-accent)}
.progress-table thead .progress-metric-material{background:var(--progress-material-bg);color:var(--progress-material)}
.progress-table thead .progress-metric-work{background:var(--progress-work-bg);color:var(--progress-work)}
.progress-table .progress-sticky{position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--progress-divider)}
.progress-table thead .progress-sticky{z-index:5}
.progress-table .progress-group-start,.progress-table thead .progress-group:not(:first-child){border-inline-start:2px solid var(--progress-divider)}
.progress-table .progress-metric-work,.progress-table .progress-metric-inactive{border-inline-start:1px solid var(--progress-grid)}
.progress-table tbody tr{--progress-row:#fff}
.progress-summary tbody tr:nth-child(odd),.progress-detail tbody tr:nth-child(even){--progress-row:#f5f8fa}
.progress-table tbody tr:hover{--progress-row:#ecf3f8}
.progress-table tbody tr>:is(th,td){background:var(--progress-row);border-bottom-color:var(--progress-grid)}
.progress-table tbody th,.progress-table .quiet{color:var(--progress-muted)}
.progress-table tbody td{white-space:nowrap}
.progress-table thead .progress-total>*{background:#d8eee9;border-top:1px solid #4c9b8e;border-bottom:1px solid #b5c9d6;font-weight:750}
.progress-table thead .progress-total th{color:var(--progress-material)}
.progress-table .summary-number,.progress-detail .site-link{color:var(--progress-material)}
.progress-table .summary-number:hover{background:var(--progress-material-bg)}
.progress-table .progress-metric-work .summary-number{color:var(--progress-work)}
.progress-table .progress-metric-work .summary-number:hover{background:var(--progress-work-bg)}
.progress-table .progress-value{display:inline-block;padding:2px 6px;border-radius:5px}
.progress-table .progress-value.complete{color:var(--progress-material);background:#e9f1fa;font-weight:650}
.progress-table .progress-value.done{color:var(--progress-work);background:#e1f1ed;font-weight:650}
.progress-table .progress-value.pending{color:#75451a;background:#fff0de;font-weight:650}
.progress-table .progress-value.transit{color:#604519;background:#faefd9;font-weight:650}
.progress-table .progress-value.na,.progress-table .progress-value.unknown{color:var(--progress-muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.progress-detail-view{--detail-font:10.5px;--detail-row-padding:4px;--detail-column-padding:2px;scrollbar-width:thin}
.progress-detail-view.progress-large{--detail-font:14px;--detail-row-padding:6px;--detail-column-padding:4px}
.progress-detail-view .progress-detail :is(th,td){
  min-width:0;padding:var(--detail-row-padding) var(--detail-column-padding);font-size:var(--detail-font);
  line-height:1.3;white-space:nowrap
}
.progress-detail-view .progress-detail .progress-value{padding:2px var(--detail-column-padding)}
.progress-detail-view .progress-detail .progress-value:is(.na,.unknown){padding-inline:0}
.progress-detail-view .progress-detail thead .progress-group{padding-block:7px}
.progress-detail-view .progress-detail :is(.progress-sticky,td:nth-child(2)){padding-inline:7px}
.progress-detail-view .progress-scroll{scrollbar-width:thin}
.progress-detail-actions{justify-content:flex-end}
.progress-detail-actions .btn{min-height:29px;padding:4px 7px;gap:5px;font-size:12px}
.progress-detail-footer .quiet{font-size:12px}
.progress-detail-footer .progress-detail-hint{margin-inline-end:auto}
.progress-detail-footer .page-buttons{flex:none}
.progress-detail-footer .small-icon{min-height:26px;width:26px;padding:3px}
@media screen and (min-width:761px){
  body{--desktop-scale:.85;zoom:var(--desktop-scale)}
}
@media(min-width:761px){
  body{--progress-topbar-height:52px;font-size:14px}
  .shell{grid-template-columns:198px minmax(0,1fr)}
  .sidebar{padding:16px 11px 12px}
  .brand{gap:7px;padding:2px 4px 16px;margin-bottom:12px}
  .brand-icon{width:31px;height:31px;flex-basis:31px}
  .brand strong{font-size:12px}
  .brand small{font-size:10.5px}
  .nav-label{font-size:10px}
  .nav-label.second{margin-top:17px}
  .sidebar nav a{min-height:34px;padding:5px 8px;gap:8px;font-size:12.5px;margin-block:3px}
  .sidebar nav a svg{width:15px;height:15px}
  .sidebar-bottom{padding-top:9px}
  .sidebar-caption strong{font-size:11.5px}
  .sidebar-caption small{font-size:10.5px}
  .topbar{height:var(--progress-topbar-height);padding-inline:16px;gap:10px}
  .topbar :is(.breadcrumb,.top-actions){gap:7px}
  .topbar .breadcrumb{min-width:0;font-size:12px;white-space:nowrap}
  .topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis}
  .topbar .top-actions{flex:none}
  .topbar :is(.btn,.language-trigger){min-height:30px;padding:4px 7px;font-size:12px}
  .topbar .sidebar-toggle{display:inline-flex;flex:none;width:28px;min-height:28px;padding:0}
  .topbar .sidebar-toggle svg{width:16px;height:16px}
  .topbar .sidebar-toggle-label{display:none}
  main{padding:14px 16px 18px}
  h1{font-size:clamp(24px,calc(2.1vw / var(--desktop-scale,1)),30px)}
  .heading{gap:10px;margin-bottom:12px}
  .heading .subtitle{font-size:12.5px;margin-top:4px}
  .btn{min-height:31px;padding:5px 8px;font-size:12.5px;gap:6px}
  .filter-panel{padding:7px 9px;gap:7px;margin-bottom:9px}
  .filter-title,.filter-panel .quiet{font-size:12px}
  .filter-panel :is(.field,.filter-trigger,select){min-height:31px;font-size:12.5px;padding-block:4px}
  .filter-panel .filter-control[id$="commitment"]{width:190px}
  .filter-panel .filter-trigger{min-width:112px}
  .cards{gap:9px;margin-bottom:10px}
  .kpi{padding:10px 11px}
  .kpi-value{font-size:29px}
  .kpi-label,.kpi-meta{font-size:12px}
  .panel,.import-box,.share-settings{padding:12px}
  .panel-head,.table-head{gap:8px}
  .panel-head{margin-bottom:9px}
  .table-head{padding:8px 11px}
  :is(.panel-head,.table-head) h2{font-size:16px}
  :is(.panel-head,.table-head) p{font-size:12px;margin-top:3px}
  .progress-views{margin:8px 0}
  .summary-jumps .btn{min-height:28px;padding:4px 6px;font-size:11.5px}
  .summary-table .summary-bands th{height:28px;font-size:12px}
  .summary-table .summary-columns th{height:40px;min-width:62px;font-size:11.5px}
  .summary-table .summary-sticky{min-width:75px;padding-inline-start:8px}
  .summary-table :is(th,td){padding:4px 6px}
  .summary-table :is(td,.summary-sticky){font-size:12px}
  .table-card:not(.progress-results) :is(th,td){padding:6px 8px;font-size:12px}
  .footer-table{padding:5px 9px}
  .footer-table .small-icon{min-height:27px;width:27px;padding:3px}
  .summary-foot{font-size:12px;padding:5px 10px}
  .column-field{font-size:12.5px}
  .column-field :is(.field,.select-wrap select){min-height:31px;padding-block:5px;font-size:13px}
  .progress-detail-view{padding:10px 12px}
  .progress-detail-view .progress-heading h1{font-size:24px}
  .progress-detail-view .progress-views .btn{min-height:29px;font-size:12px}
  .progress-detail-view .progress-toolbar{padding-block:4px}
  .progress-detail-view .progress-toolbar :is(.btn,.field,.filter-trigger){min-height:28px;font-size:12px}
  .progress-detail-view .progress-filter-scroll{margin-top:5px}
  .progress-detail-view .progress-filters :is(th,td){padding:2px 5px;font-size:11px}
  .progress-detail-view .progress-filters .filter-trigger{min-height:22px;font-size:11.5px}
  .sidebar-collapsed .shell{grid-template-columns:minmax(0,1fr)}
  .sidebar-collapsed .sidebar{display:none}
}
@media (min-width:761px) and (min-height:580px){
  .progress-detail-view #progress-readout:has(.progress-scroll){min-height:min(300px,calc(55dvh / var(--desktop-scale,1)))}
}
@media(max-width:1050px){
  .topbar :is(.crumb-parent,.crumb-divider){display:none}
  .topbar .fullscreen-label{display:none}
}
@media(max-width:760px){
  .progress-detail-view{--detail-font:12px}
  .progress-detail-view .progress-results .table-head{flex-wrap:wrap}
  .progress-detail-footer .progress-detail-hint{display:none}
}
.capture-button{min-height:28px;padding:4px 7px;font-size:12px}
.capture-strip{display:flex;justify-content:flex-end;margin-bottom:6px}
.capture-dialog{
  width:min(1440px,calc(100% - 24px));max-width:none;max-height:calc(calc(100dvh / var(--desktop-scale,1)) - 24px);
  padding:0;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden
}
.capture-dialog[open]{display:flex;flex-direction:column}
.capture-dialog::backdrop{background:#0d1b3590}
.capture-heading{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line)}
.capture-caption{flex:1;min-width:0}
.capture-heading h2{margin:0;font-size:16px}
.capture-heading .btn{min-height:32px;white-space:nowrap}
@media(max-width:600px){
  .capture-heading{flex-wrap:wrap;gap:6px;padding:8px}
  .capture-caption{flex-basis:100%}
  .capture-heading .btn{min-height:32px;padding-inline:7px;font-size:12px}
}
.capture-images{overflow:auto;overscroll-behavior:contain;padding:12px;background:#eef3f8}
.capture-images img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto 12px;border:1px solid var(--line)}
.capture-images img:last-child{margin-bottom:0}
#capture-status{margin:6px 14px;color:#8a4e19}
#capture-status:empty{display:none}
.workspace-fullscreen .shell{display:block}
.workspace-fullscreen .sidebar{display:none}
.workspace-fullscreen .topbar{position:sticky;top:0;z-index:10}
.workspace-fullscreen .topbar .top-actions>:not(#workspace-fullscreen),
.workspace-fullscreen .topbar :is(#menu,#sidebar-toggle){display:none}
.workspace-fullscreen .topbar .fullscreen-label{display:inline}
.workspace-fullscreen main{max-width:none}
.workspace-fullscreen .progress-workspace{height:auto;display:block;overflow:visible}
.workspace-fullscreen .progress-detail-view>:not(#progress-readout){display:none}
.workspace-fullscreen .table-scroll:not(.progress-filter-scroll){max-height:none}
.workspace-fullscreen .progress-detail-view .progress-results{margin-top:0}
.workspace-fullscreen .progress-detail-view #progress-readout:has(.progress-scroll){min-height:0}
.drawer .drawer-actions{justify-content:flex-end}
.drawer .drawer-actions .btn{min-height:30px;font-size:12px}
.drawer-capture-status{flex-basis:100%;text-align:end}
.drawer-capture-status:empty{display:none}
.drawer.drawer-expanded{
  inset:0;margin:auto;width:calc(calc(100vw / var(--desktop-scale,1)) - 16px);height:calc(calc(100dvh / var(--desktop-scale,1)) - 16px);max-width:none;max-height:none;
  border-radius:11px
}
.drawer-expanded .drawer-body{max-width:1440px;margin-inline:auto}
@media(max-width:600px){
  .drawer .drawer-head{align-items:center;flex-wrap:wrap}
  .drawer .drawer-actions{justify-content:flex-start}
  .drawer.drawer-expanded{width:calc(100vw / var(--desktop-scale,1));height:calc(100dvh / var(--desktop-scale,1));border-radius:0}
}

.accounts-list { display: grid; gap: 12px; margin-top: 18px; }
.account-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; }
.account-fields .buttons { grid-column: 1 / -1; flex-wrap: wrap; }
@media (max-width: 680px) {
  .account-fields { grid-template-columns: 1fr; }
}

.progress-activation{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px}
.progress-activation>[aria-pressed="true"]{background:#dcefe9;border-color:#7bb6a8;color:#0a5d51}
.progress-toolbar #progress-selection .filter-trigger{border-color:#7bb6a8;color:#0a5d51}
.material-report-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:6px;flex-shrink:0;border-radius:8px}
.material-report-total{padding:5px 9px;font-size:12px}
.material-report-total+.material-report-total{border-inline-start:1px solid var(--line)}
.material-report-total b{font-size:15px;color:#0a5d51}
.material-report-total.pending b{color:#82501b}
.material-report-total:nth-child(2) b{color:#285c85}
.material-report-total small{display:block;color:var(--muted);font-size:11px}
.material-report.progress-summary .summary-number{min-height:24px;padding-block:1px}
.material-report.progress-summary :is(th,td){padding-block:2px}
.material-report thead .report-pending-types{background:#805423}
.material-report-guide>div{display:grid;justify-items:center;white-space:normal}
.material-report-guide .guide-unlinked{display:block;font-size:11px}
.material-report-guide .guide-link{white-space:nowrap}
@media(max-width:760px){
  .progress-activation{grid-column:1/-1}
  .progress-activation .btn{min-height:34px}
  .progress-status-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  .progress-status-filter{align-items:stretch;flex-direction:column;gap:3px}
  .progress-status-filter .progress-control{width:100%}
  .progress-status-bar .filter-trigger{min-height:34px}
  .material-report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .material-report-total:nth-child(odd){border-inline-start:0}
  .material-report-total:nth-child(n+3){border-top:1px solid var(--line)}
}

@media(min-width:761px){
  main.progress-workspace{padding-block:5px}
  .progress-titlebar{gap:3px 12px;margin-bottom:4px}
  .progress-workspace .progress-heading h1{font-size:21px}
  .progress-workspace .progress-views .btn{min-height:27px;padding-block:3px}
  .progress-workspace .progress-toolbar{gap:4px;padding:4px 6px}
  .progress-workspace .progress-toolbar :is(.btn,.field,.filter-trigger){min-height:27px;padding-block:3px;font-size:12px}
  .progress-toolbar>.filter-control{max-width:158px}
  .progress-toolbar #progress-year{max-width:110px}
  .progress-toolbar #progress-commitment{width:150px}
  .progress-search-field{width:115px}
  .progress-search-field input{padding-inline:22px 24px}
  .progress-search-field>svg{width:13px;top:50%;transform:translateY(-50%);inset-inline-start:5px}
  .progress-search-field button{width:22px;height:22px;top:50%;transform:translateY(-50%);inset-inline-end:1px}
  .progress-activation{gap:4px;font-size:12px}
  .progress-activation strong{margin-inline:3px 1px}
  .progress-workspace :is(.progress-filter-scroll,.progress-status-bar){margin-top:4px}
  .progress-workspace .progress-filters :is(th,td){padding:2px 5px;line-height:1.2}
  .progress-workspace .progress-filters .filter-trigger{min-height:23px;padding-block:1px;font-size:12px}
  .progress-status-bar{padding-block:3px}
  .material-report-totals{margin-top:4px}
  .material-report-total{padding-block:3px}
  .progress-workspace .progress-results{margin-top:4px}
  .progress-workspace .progress-results .table-head{padding:3px 7px;align-items:center}
  .progress-workspace .progress-results .table-head>div:first-child{
    display:flex;align-items:baseline;flex-wrap:wrap;gap:0 9px
  }
  .progress-workspace .progress-results .table-head p{margin:0}
  .progress-workspace .progress-results .table-head .btn{min-height:26px;padding:3px 6px;font-size:12px}
  .progress-workspace .progress-summary :is(th,td){padding-block:2px;line-height:1.25}
  .progress-workspace .progress-summary .summary-number{min-height:23px;padding-block:1px}
  .progress-workspace .summary-foot{padding-block:2px}
}

.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:950px;margin-top:22px}
.project-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px}
.project-card h2,.project-card p{margin:0}
.project-card p{flex:1}
.project-card .btn{align-self:stretch;justify-content:center;margin-top:10px}
@media(max-width:660px){.project-cards{grid-template-columns:1fr;gap:14px}.project-card{padding:20px}}

.attendance-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,2fr);align-items:start;gap:16px;max-width:1280px}
.attendance-panel h2{margin:0 0 16px}
.attendance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0;min-width:0}
.attendance-fields .field,.attendance-report-filters .field{display:block;width:100%;min-width:0;max-width:100%}
.attendance-fields .column-field,.attendance-panel,.attendance-first-row,.attendance-select{min-width:0}
.attendance-wide{grid-column:1 / -1;min-width:0}
.attendance-first-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:inherit}
.attendance-select{position:relative;display:block}
.attendance-select select{appearance:none;-webkit-appearance:none;padding-inline-end:31px}
.attendance-select svg{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);pointer-events:none}
:is(.attendance-fields,.attendance-report-filters) input[type="date"]{appearance:none;-webkit-appearance:none;text-align:start}
:is(.attendance-fields,.attendance-report-filters) input[type="date"]::-webkit-date-and-time-value{text-align:start;margin:0;min-height:1em}
.attendance-fields textarea{resize:vertical}
.attendance-upload{border:1px dashed #218d81;border-radius:12px;background:#ecf8f5;padding:14px;text-align:center}
.attendance-upload p,.attendance-stamp{margin:4px 0 10px}
.attendance-upload .buttons{justify-content:center;flex-wrap:wrap}
.attendance-file{position:relative;cursor:pointer}
.attendance-file:focus-within{outline:2px solid #147d73;outline-offset:2px}
.attendance-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.attendance-photos{display:flex;flex-wrap:wrap;gap:8px}
.attendance-photos figure{position:relative;margin:0}
.attendance-photos img{width:96px;height:70px;display:block;object-fit:cover;border-radius:7px}
.attendance-photos button{position:absolute;top:2px;right:2px}
.attendance-filters{margin-bottom:14px}
.attendance-record{border:1px solid var(--line,#d9e2ed);border-radius:10px;padding:10px 12px;margin-bottom:8px;overflow-wrap:anywhere}
.attendance-record summary{cursor:pointer}
.attendance-registered{display:inline-block;margin-left:8px;padding:2px 6px;border-radius:5px;background:#e3f5ec;color:#11623d;font-size:12px}
.attendance-record summary .quiet{display:block;margin:3px 0 0 17px}
.attendance-record dl{margin:12px 0;display:grid;gap:8px}
.attendance-record dt{font-weight:650}
.attendance-record dd{margin:0;white-space:pre-wrap}
.attendance-status{color:#087269;margin:10px 0 0}
.attendance-status.bad{color:#a12831}
@media(max-width:940px){.attendance-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .attendance-fields{grid-template-columns:minmax(0,1fr);gap:11px}
  .attendance-panel{padding:14px}
  .attendance-fields .field,.attendance-report-filters .field{min-height:44px;border-radius:8px}
  .attendance-fields .column-field{gap:4px}
  .attendance-fields textarea.field{line-height:1.4}
  .attendance-upload{padding:12px 8px}
  .attendance-upload .buttons{gap:8px}
  .attendance-upload .btn,.attendance-submit .btn{min-height:44px}
  .attendance-submit .btn{width:100%}
  .public-attendance-page main{padding:16px 12px 24px}
  .public-attendance-page .heading{margin-bottom:12px}
  .public-attendance-page h1{font-size:clamp(23px,6vw,27px)}
  .public-attendance-page .topbar .breadcrumb strong{display:none}
}
@media(max-width:359px){.attendance-first-row{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px),(hover:none) and (pointer:coarse){
  :is(.attendance-fields,.attendance-report-filters) :is(input.field,select.field,textarea.field){
    font-size:max(16px,1rem);scroll-margin-block:12px
  }
}
@media(min-width:761px) and (hover:none) and (pointer:coarse){
  :is(.attendance-fields,.attendance-report-filters) :is(input.field,select.field,textarea.field){
    font-size:calc(max(16px,1rem) / var(--desktop-scale,1))
  }
}

.attendance-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

.attendance-summary-table{width:100%;white-space:nowrap}
.attendance-summary-table tbody th{text-align:left}
.attendance-summary-total :is(td,th){background:#e3f5f1;color:#103c37;font-weight:700}

.attendance-branch-filter{border:0;margin:0;padding:0;min-width:0}
.attendance-branch-filter legend{padding:0;margin-bottom:6px;font-weight:600}
.attendance-branch-filter details{position:relative}
.attendance-branch-filter summary{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#report-branch-options{position:absolute;z-index:4;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow:auto;
  background:#fff;border:1px solid #d9e2ed;border-radius:9px;box-shadow:0 8px 24px #13284320;padding:8px}
#report-branch-options label{display:block;padding:5px 3px;cursor:pointer}

.upgrade-attendance-tabs{display:flex;align-items:end;gap:12px;margin-bottom:16px;border-bottom:1px solid #d9e2ed}
.upgrade-attendance-tabs a{padding:10px 13px;color:#475f76;font-weight:650;border-bottom:3px solid transparent}
.upgrade-attendance-tabs a[aria-current=page]{color:#08776a;border-bottom-color:#08776a}

.public-attendance-form{max-width:950px;margin:0 auto}
.public-attendance-form .attendance-layout{display:block}

.attendance-report-panel h2{margin:16px 0 12px}
.attendance-report-modes{margin-bottom:14px;flex-wrap:wrap}
.attendance-report-panel .attendance-report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:12px;background:#f2f6fa;border-radius:10px}
.attendance-report-panel .attendance-report-filters > :not([hidden]){flex:1 1 162px;min-width:0}
.attendance-report-panel .attendance-report-filters > .attendance-report-time-filter{flex-basis:225px}
.attendance-report-time-filter{margin:0;padding:0;border:0}
.attendance-report-time-filter legend{padding:0;font-weight:650;font-size:13px}
.attendance-report-time-filter legend span{color:var(--muted);font-weight:500}
.attendance-report-time-filter > div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.attendance-report-time-filter label > span{line-height:1.2}
.attendance-report-panel .attendance-report-filters > .attendance-report-downloads{flex:0 1 auto;margin-left:auto;flex-wrap:wrap}
.attendance-summary-table td.attendance-branch-codes{white-space:normal;overflow-wrap:anywhere}
.attendance-branch-timing{margin-top:6px;color:#415670}
.attendance-branch-timing summary{cursor:pointer;color:#08776a;width:max-content}
.attendance-branch-timing ul{margin:4px 0;padding-left:20px}
.attendance-site-row{cursor:pointer}
.attendance-site-row th button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.attendance-site-row.attendance-record-selected :is(th,td){background:#e3f5f1;color:#103c37}
.attendance-inline-detail td{background:#f6f9fc;white-space:normal}
.attendance-photo-entry{padding:10px 4px}
.attendance-photo-entry h3{margin:0 0 6px}
.attendance-photo-entry p{margin:4px 0 10px;white-space:pre-wrap}
.attendance-inline-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;max-width:1040px}
.attendance-inline-photos figure{margin:0}
.attendance-inline-photos img{width:100%;display:block;aspect-ratio:4/3;object-fit:contain;background:#e7eef5;border-radius:8px}
.attendance-inline-photos figcaption{flex-wrap:wrap;margin-top:8px;gap:6px}

.project-card-actions{display:flex;align-self:stretch;gap:8px}
.project-card-actions .primary{flex:1}
.project-card-actions .project-card-share{flex:0 0 auto}
.project-share-dialog .buttons{margin-top:15px;flex-wrap:wrap}
.project-share-dialog .field{width:100%}
.project-share-dialog #project-share-status{margin:12px 0 0}
@media(max-width:650px){
  .topbar .project-share span:last-child,.topbar .project-return span:last-child{display:none}
}

.attendance-preview{width:min(1440px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line);border-radius:14px;color:inherit;background:#fff;overflow:hidden}
.attendance-preview[open]{display:flex;flex-direction:column}
.attendance-preview::backdrop{background:#10264188}
.attendance-preview>header,.attendance-preview>nav,.attendance-preview>footer{padding:12px 18px;flex-shrink:0}
.attendance-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.attendance-preview h2,.attendance-preview header p{margin:0}
.attendance-preview>nav,.attendance-preview>footer{flex-wrap:wrap;border-top:1px solid #dfe7ed}
.attendance-preview>footer{justify-content:flex-end}
.attendance-preview-body{min-height:0;overflow:auto;padding:14px 18px}
.attendance-preview-record{border:1px solid #dfe7ed;border-radius:10px;padding:12px;margin-bottom:12px}
.attendance-preview-record h3{margin:0}
.attendance-preview-record dl{display:flex;flex-wrap:wrap;gap:10px 20px}
.attendance-preview-record dt{font-weight:650}
.attendance-preview-record dd,.attendance-preview-record figure{margin:0}
.attendance-preview-photos{display:flex;gap:12px;overflow:auto}
.attendance-preview-photos img{width:min(490px,70vw);height:auto;max-height:390px;object-fit:contain;background:#eff4f8;display:block}
.attendance-preview-pages{justify-content:center;flex-wrap:wrap}

.attendance-site-search{display:block;position:relative}
.attendance-site-search svg{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);color:#4d667b;pointer-events:none}
.attendance-report-filters .attendance-site-search input{padding-inline-start:36px}
.attendance-column-scroll{display:grid;gap:6px;margin-bottom:10px;padding:7px 12px;color:#395269;font-size:.82rem;font-weight:650;background:#eef4f8;border-radius:8px}
.attendance-column-scroll[hidden]{display:none}
.attendance-column-scroll input{appearance:none;width:100%;height:22px;margin:0;cursor:ew-resize;background:transparent}
.attendance-column-scroll input::-webkit-slider-runnable-track{height:7px;border-radius:8px;background:#cddbe5}
.attendance-column-scroll input::-moz-range-track{height:7px;border-radius:8px;background:#cddbe5}
.attendance-column-scroll input::-webkit-slider-thumb{appearance:none;width:36px;height:17px;border:2px solid #fff;border-radius:9px;background:#08776a;margin-top:-5px}
.attendance-column-scroll input::-moz-range-thumb{width:32px;height:13px;border:2px solid #fff;border-radius:9px;background:#08776a}
.attendance-column-scroll input:focus-visible{outline:2px solid #08776a;outline-offset:2px}
.attendance-site-scroll{border:1px solid #dbe6ee;border-radius:10px}
.attendance-site-table{min-width:1850px;white-space:normal}
.attendance-site-table thead th{background:#183650;color:#fff;font-weight:700;white-space:nowrap}
.attendance-site-table :is(td,th){padding:11px 12px;vertical-align:middle}
.attendance-site-table thead th:first-child,.attendance-site-table .attendance-site-row th{position:sticky;inset-inline-start:0;z-index:1;min-width:130px}
.attendance-site-table .attendance-site-row th{background:#f0f6fa}
.attendance-site-table .attendance-site-row:nth-child(even) td{background:#f7fafc}
.attendance-site-table .attendance-site-row:hover :is(td,th),.attendance-site-table .attendance-record-selected :is(td,th){background:#e3f5f1}
.attendance-site-table .attendance-site-row td:nth-child(5){min-width:165px}
.attendance-site-table .attendance-site-row td:nth-child(7){min-width:245px}
.attendance-site-table .attendance-site-row td:nth-child(8){min-width:165px}
.attendance-site-table .attendance-site-row td{overflow-wrap:anywhere}
.attendance-site-branch{font-weight:650}
.attendance-site-number{font-variant-numeric:tabular-nums;font-weight:700}
.attendance-timing{display:inline-block;margin:2px 2px 2px 0;padding:3px 8px;border-radius:6px;font-size:.82rem;font-weight:700;white-space:nowrap;background:#eaf1f7;color:#395269}
.attendance-timing--onTime{background:#dbf2e4;color:#185735}
.attendance-timing--late{background:#fff1d6;color:#784406}
.attendance-site-table .attendance-photo-entry{position:sticky;inset-inline-start:12px;max-width:min(1030px,calc(100vw - 72px));white-space:normal}
.attendance-upload strong{display:inline-flex;align-items:center;gap:6px}
.attendance-photo-count{font-weight:650;color:#08776a;margin:10px 0 0}
.attendance-submit .btn:disabled{background:#e4ebf1;color:#4f6072;border-color:#d1dce6;opacity:1;cursor:not-allowed}
.attendance-field-error{color:#a12831;font-weight:600}
.attendance-field-error[hidden]{display:none}
.attendance-fields [aria-invalid=true]{border-color:#a12831}
.attendance-submit p{margin:0 0 8px}
.attendance-remove-action{margin-top:10px}
.attendance-remove-button{color:#9b2732;border-color:#eac1c5}
.attendance-remove-button:hover{background:#fff2f2;border-color:#cd8991}
.attendance-remove-dialog{width:min(460px,calc(100% - 28px));border:1px solid #d9e2ed;border-radius:14px;padding:20px;color:#15243c;box-shadow:0 12px 36px #10233b26}
.attendance-remove-dialog::backdrop{background:#10233b66}
.attendance-remove-dialog h2{margin:0 0 12px}
.attendance-remove-context{padding:10px 12px;border-radius:8px;background:#eef4f8;font-weight:700;overflow-wrap:anywhere}
.attendance-remove-dialog .buttons{margin-top:16px;flex-wrap:wrap;justify-content:flex-end}
.attendance-remove-dialog .attendance-remove-button{background:#9b2732;color:#fff;border-color:#9b2732}
.attendance-remove-dialog .attendance-remove-button:hover{background:#7d1c26}

.attendance-branch-scroll{border:1px solid #dbe6ee;border-radius:10px}
.attendance-branch-table{width:var(--attendance-branch-width);min-width:100%;table-layout:fixed;white-space:normal}
.attendance-branch-table :is(th,td){padding:10px 9px;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.attendance-branch-table thead th{background:#e9eff6;color:#102641;font-weight:700}
.attendance-branch-table thead th.attendance-summary-shiftHeader{background:#dbede9}
.attendance-branch-table thead th.attendance-summary-punctualityHeader{background:#eae6f1}
.attendance-branch-table thead th.attendance-summary-timeHeader{background:#e2edf7}
.attendance-branch-table thead th.attendance-summary-planHeader{background:#f4eee1}
.attendance-branch-table tbody tr{--attendance-summary-row-bg:#fff}
.attendance-branch-table tbody tr:nth-child(even){--attendance-summary-row-bg:#f4f8fb}
.attendance-branch-table tbody tr :is(th,td){background:var(--attendance-summary-row-bg)}
.attendance-branch-table tfoot tr{--attendance-summary-row-bg:#e3f5f1}
.attendance-branch-table .attendance-summary-number{font-size:1.12rem;font-weight:750;color:#102641;font-variant-numeric:tabular-nums}
.attendance-branch-table .attendance-summary-zero{color:#647487}
.attendance-branch-table .attendance-summary-branch{font-weight:700}
.attendance-branch-table :is(tbody,tfoot) tr>:nth-child(3){text-align:left}
.attendance-branch-table :is(tbody,tfoot) tr>:nth-child(-n+3),.attendance-branch-table thead tr:last-child>:nth-child(-n+3){position:sticky;z-index:1}
.attendance-branch-table :is(tbody,tfoot) tr>:first-child,.attendance-branch-table thead tr:last-child>:first-child{inset-inline-start:0;font-weight:700}
.attendance-branch-table :is(tbody,tfoot) tr>:nth-child(2),.attendance-branch-table thead tr:last-child>:nth-child(2){inset-inline-start:93px}
.attendance-branch-table :is(tbody,tfoot) tr>:nth-child(3),.attendance-branch-table thead tr:last-child>:nth-child(3){inset-inline-start:201px;border-inline-end:1px solid #dbe6ee}
.attendance-summary-note{margin:10px 0 0}
@media(max-width:700px){
  .attendance-branch-table :is(tbody,tfoot) tr>:nth-child(n+2),.attendance-branch-table thead tr:last-child>:nth-child(n+2){position:static}
}
.attendance-branch-table :is(th,td){white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.attendance-branch-table :is(thead,tfoot) th,.attendance-branch-table thead td{border-inline-end:1px solid #dbe6ee}
.attendance-branch-table thead tr:first-child th{height:36px}
.attendance-branch-table tbody tr>:nth-child(3){word-break:normal}
.attendance-report-modes [data-report-action=expand]{margin-inline-start:auto}
.attendance-report-modes [data-report-action=expand][aria-pressed=true]{background:#e3f5f1;color:#07594f;border-color:#b6dbd3}
body:has(#upgrade-attendance-reports:not([hidden]) .attendance-table-expanded) .shell{display:block}
body:has(#upgrade-attendance-reports:not([hidden]) .attendance-table-expanded) :is(.sidebar,.topbar,main>.heading,.upgrade-attendance-tabs){display:none}
body:has(#upgrade-attendance-reports:not([hidden]) .attendance-table-expanded) main{max-width:none;padding:12px}
.attendance-table-expanded .attendance-report-scroll{max-height:calc(100dvh / var(--desktop-scale,1) - 275px);min-height:min(210px,48dvh)}
.attendance-table-expanded .attendance-report-scroll thead th{position:sticky;top:0;z-index:2}
.attendance-table-expanded .attendance-branch-table thead tr:nth-child(2) th{top:36px}
.attendance-table-expanded .attendance-branch-table thead tr:nth-child(2) th:nth-child(-n+3),
.attendance-table-expanded .attendance-site-table thead th:first-child{z-index:3}
.attendance-evidence-actions{flex-wrap:wrap;margin-top:12px}
.attendance-evidence-actions .attendance-remove-action{margin-top:0}
.attendance-evidence-caption{color:#19354d}
.attendance-inline-photos figcaption strong{width:100%;color:#08776a}
.attendance-evidence-dialog{width:min(660px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #d9e2ed;border-radius:14px;padding:18px;color:#15243c}
.attendance-evidence-dialog::backdrop{background:#10233b66}
.attendance-evidence-dialog h2{margin:0 0 8px}
.attendance-evidence-dialog .field{width:100%}
.attendance-evidence-dialog .buttons{justify-content:flex-end;flex-wrap:wrap;margin-top:14px}
.attendance-evidence-context{font-weight:700}
.attendance-evidence-photo,.attendance-evidence-time{margin-top:12px}
.attendance-evidence-photo img{display:block;margin-top:8px;width:100%;max-height:44dvh;object-fit:contain;border-radius:8px;background:#edf3f8}
@media(max-width:700px){
  .attendance-table-expanded .attendance-report-scroll{max-height:calc(100dvh - 320px)}
  .attendance-table-expanded .attendance-branch-table thead tr:nth-child(2) th:nth-child(n+2){inset-inline-start:auto;z-index:2}
}
.attendance-branch-table thead tr:last-child th:nth-child(4){background:#dbefe4}
.attendance-branch-table thead tr:last-child th:nth-child(5){background:#fff1d6}
.attendance-branch-table thead tr:last-child th:nth-child(6){background:#e9eff6}
.attendance-branch-table tbody td.attendance-coverage-list{text-align:start;white-space:pre-line}
.attendance-coverage{display:inline-block;padding:4px 8px;border-radius:6px;font-weight:700;background:#e9eff6;color:#254662}
.attendance-coverage--with{background:#dbefe4;color:#205639}
.attendance-coverage--without{background:#fff1d6;color:#784406}
.attendance-photo-reading{display:block;width:100%;font-weight:650;color:#395269}

.new-sites-projects-label{display:none}
.new-sites-navigation .new-sites-projects-label{display:block}
.new-sites-navigation #project-new-sites,.new-sites-navigation #project-upgrade{padding-inline-start:24px}
.new-sites-navigation #project-new-sites[aria-current]{background:transparent;box-shadow:none}
.new-sites-navigation #project-new-sites[aria-current]::after{
  content:"";width:6px;height:6px;border-radius:50%;background:#57ddd0;margin-inline-start:auto;flex:none
}

.upgrade-plan-controls {margin-bottom:10px}
main:has(.upgrade-daily-plan) {max-width:none;padding-block-start:12px}
main:has(.upgrade-daily-plan) > .heading {margin-bottom:9px}
main:has(.upgrade-daily-plan) > .heading .subtitle {margin-top:3px}
.upgrade-daily-plan .upgrade-plan-controls {padding:9px 12px;margin-bottom:6px}
.upgrade-daily-plan .upgrade-plan-actions {margin-top:5px}
.upgrade-daily-plan .upgrade-plan-actions .btn {min-height:32px;padding-block:4px}
.upgrade-daily-plan .upgrade-plan-sticky {padding-block:2px 5px}
.upgrade-daily-plan .plan-report-panel {padding:5px}
.upgrade-daily-plan .plan-report-scroll {max-height:calc(100dvh / var(--desktop-scale,1) - 242px);scrollbar-width:thin}
.upgrade-daily-plan :is(.plan-summary-table,.plan-detail-table) thead th {padding-block:6px;line-height:1.2}
.plan-tab-choices {display:flex;gap:5px;flex-wrap:wrap}
.plan-table-tools {margin-inline-start:auto;justify-content:flex-end;gap:5px}
.plan-table-tools .btn {min-height:31px;padding:4px 8px;font-size:.78rem}
.plan-table-tools [data-focus-table][aria-pressed="true"] {background:#e8f3f1;color:#166258;border-color:#bcdbd6}
.upgrade-plan-tabs:has(.plan-table-tools) {align-items:center;justify-content:space-between;flex-wrap:wrap}
body:has(.upgrade-plan-focused) .shell {display:block}
body:has(.upgrade-plan-focused) :is(.sidebar,.topbar),
main:has(.upgrade-plan-focused) > .heading {display:none}
main:has(.upgrade-plan-focused) {padding:5px 10px 12px}
.upgrade-daily-plan.upgrade-plan-focused .upgrade-plan-sticky {top:0}
.upgrade-daily-plan.upgrade-plan-focused .plan-report-scroll {max-height:65dvh}
@media(min-width:941px) and (min-height:600px) {
  .upgrade-plan-focused {display:grid;grid-template-rows:auto auto minmax(0,1fr);
    height:calc(100dvh / var(--desktop-scale,1) - 17px)}
  .upgrade-plan-focused .plan-report-panel {display:flex;flex-direction:column;max-height:100%;margin-bottom:0}
  .upgrade-daily-plan.upgrade-plan-focused .plan-report-scroll {max-height:none;min-height:0}
}
.upgrade-plan-filters {display:grid;grid-template-columns:repeat(3,minmax(7rem,1fr)) minmax(10rem,1.6fr) minmax(8rem,1fr) auto;gap:8px;align-items:end}
.upgrade-plan-filters label {display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-width:0;font-weight:650;font-size:.84rem}
.upgrade-plan-filters .field {display:block;min-width:0;max-width:100%;min-height:34px;padding-block:5px}
.plan-work-filter {display:grid;gap:3px;min-width:0;font-weight:650;font-size:.84rem}
.plan-work-filter details {position:relative;min-width:0}
.plan-work-filter summary.field {display:flex;align-items:center;justify-content:space-between;gap:6px;list-style:none;cursor:pointer}
.plan-work-filter summary::-webkit-details-marker {display:none}
.plan-work-filter summary span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plan-work-filter summary svg {flex:none}
.plan-work-filter details[open] summary svg {transform:rotate(180deg)}
.plan-work-filter details:has(input:checked) summary {background:#edf5fb;border-color:#87a6bf}
.plan-work-options {position:absolute;inset-block-start:calc(100% + 5px);inset-inline-end:0;z-index:12;
  display:grid;gap:2px;box-sizing:border-box;width:min(19rem,calc(100vw - 64px));min-width:0;
  max-height:min(53dvh,390px);overflow:auto;overscroll-behavior:contain;margin:0;padding:6px;
  background:#fff;color:#233e56;border:1px solid #bfcfe0;border-radius:9px;box-shadow:0 8px 24px #182f4f2a}
.plan-work-options label {display:flex;align-items:center;gap:7px;padding:6px;min-height:32px;
  border-radius:5px;font-weight:550;cursor:pointer}
.plan-work-options label[hidden] {display:none}
.plan-work-options label:has(input:checked) {background:#e9f2f9;color:#153d64}
.plan-work-options input {flex:none;inline-size:16px;block-size:16px;margin:0;accent-color:#2b6388}
.plan-work-options .btn {position:sticky;inset-block-end:0;min-height:33px;padding:3px 8px;color:#fff;background:#294761}


.upgrade-plan-actions,.upgrade-plan-pagination {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.upgrade-plan-actions {margin-top:7px}
.upgrade-plan-actions p,.upgrade-plan-actions h2,.upgrade-plan-controls [data-feedback] {margin:0}
.upgrade-plan-controls [data-feedback]:not(:empty) {margin-top:7px}
.upgrade-plan-sticky {position:sticky;top:0;z-index:6;background:#f2f5f9;padding-block:3px 7px}
.workspace-fullscreen .upgrade-plan-sticky {top:var(--progress-topbar-height,65px)}
.upgrade-plan-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.plan-group-card {min-width:0;padding:7px 10px 4px;border:1px solid #dce4ec;border-top:4px solid var(--plan-accent);
  border-radius:13px;background:#fff;display:grid;grid-template-rows:auto auto 1fr auto auto auto;align-content:start}
.plan-group-card h3 {margin:0;text-align:center;color:#233b54;font-size:.88rem;line-height:1.2;text-wrap:balance}
.plan-group-total {margin:1px 0 4px;text-align:center;color:#50647a;font-size:.75rem}
.plan-group-total strong {font-size:1.48rem;line-height:1.1;color:#243d56;font-variant-numeric:tabular-nums}
.plan-group-metrics {display:grid}
.plan-group-metric {display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;
  font-size:.77rem;line-height:1.15;text-align:start}
.plan-group-metric strong {font-weight:750;white-space:nowrap}
.plan-group-metrics > .plan-group-metric {border-top:1px solid #e1e8ef;border-radius:0;padding:3px 4px}
.plan-group-test-label {margin:4px 0 3px;font-size:.71rem;font-weight:650;text-align:center;color:#455d73}
.plan-group-tests {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.plan-group-tests .plan-group-metric {flex-direction:column;gap:3px;text-align:center;padding:4px 2px;
  background:color-mix(in srgb,var(--plan-accent) 19%,white)}
.plan-group-tests .plan-group-metric strong {font-size:.93rem}
.plan-group-detail {justify-self:center;margin-top:1px;font-size:.77rem}
.plan-group-detail[aria-current] {color:#173e65;background:#e6eff7;border-radius:5px}
.plan-group-detail:disabled {opacity:.55;cursor:default}
.plan-overall-counts {display:flex;align-items:center;justify-content:flex-end;gap:4px 12px;flex-wrap:wrap;margin-top:2px}
.plan-overall-counts .plan-group-metric {color:#3c526a;padding:3px 4px}
.upgrade-plan-tabs {display:flex;gap:6px;margin-top:6px;border-bottom:1px solid #d3dde8}
.plan-tab {cursor:pointer;background:#f7f9fc;color:#465c74;border:1px solid #dce4ec;border-bottom:0;border-radius:7px 7px 0 0;
  padding:7px 14px;font-weight:650}
.plan-tab[aria-pressed="true"] {background:#38516a;color:white;border-color:#38516a}
.plan-report-panel {margin-bottom:12px;padding:8px}
.plan-report-panel .upgrade-plan-actions {margin:0 4px 7px}
.plan-report-panel .upgrade-plan-actions h2 {font-size:1.05rem}
.plan-report-scroll {overflow:auto;max-height:calc(100dvh / var(--desktop-scale,1) - 305px);min-height:min(185px,38dvh);
  border:1px solid #d7e0e9;border-radius:8px}
.upgrade-plan-table {width:100%;border-collapse:separate;border-spacing:0;color:#213950;font-size:.86rem}
.plan-summary-controls {display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:8px;margin:2px 2px 8px}
.plan-summary-controls label {display:grid;gap:3px;max-width:100%;min-width:0;font-size:.8rem;font-weight:650}
.plan-summary-controls select {min-height:34px;width:100%;max-width:100%;text-overflow:ellipsis}
.plan-summary-note {margin:0 3px 6px;font-size:.8rem}
.plan-summary-table,.plan-daily-detail-table {table-layout:fixed}
.plan-summary-table {min-width:var(--plan-matrix-width)}
@media(min-width:1050px) {
  .plan-summary-table {min-width:min(1260px,var(--plan-matrix-width))}
  .plan-summary-table thead th {padding-inline:3px}
}
.plan-daily-detail-table {min-width:0}
.plan-summary-swipe {display:none;font-size:.8rem}
@media(max-width:1600px) {.plan-summary-swipe {display:inline}}
.plan-summary-table .plan-branch-fixed {position:sticky;inset-inline-start:0;z-index:1;box-shadow:1px 0 #c6d2df}
.plan-summary-table thead .plan-branch-fixed {z-index:3}
.plan-summary-table thead th,.plan-daily-detail-table thead th {overflow-wrap:normal;text-wrap:balance}
.plan-cell-note {color:#50647a;font-size:.78rem;font-weight:550;line-height:1.3}
.plan-summary-table .plan-cell-note .plan-count {font-size:inherit;font-weight:inherit}
.plan-summary-table [data-tone="branch"] {--report-tone:#293e55;--report-soft:#edf2f7}
.plan-summary-table [data-tone="blue"] {--report-tone:#35577e;--report-soft:#edf4fc}
.plan-summary-table [data-tone="teal"] {--report-tone:#235e5c;--report-soft:#eaf5f2}
.plan-summary-table [data-tone="amber"] {--report-tone:#77502a;--report-soft:#faf2e7}
.plan-summary-table [data-tone="green"] {--report-tone:#3c624e;--report-soft:#edf5ed}
.plan-summary-table [data-tone="violet"] {--report-tone:#554d79;--report-soft:#f2eff9}
.plan-summary-table thead th[data-tone] {background:var(--report-tone);border-inline-start-color:#ffffff38}
.plan-summary-table thead tr:nth-child(2) th[data-tone] {
  background:var(--report-soft);color:var(--report-tone);border-inline-start-color:#d1dce8;font-size:.76rem
}
.plan-summary-table :is(th,td) {white-space:normal;overflow-wrap:anywhere}
.plan-summary-table :is(tbody,tfoot) td {border-inline-start:1px solid #dce5ee}
.plan-summary-table :is(tbody,tfoot) .plan-cell-note .plan-count {display:inline;width:auto;padding-inline:1px}
.plan-summary-table :is(tbody,tfoot) [data-tone] {background:var(--report-soft)}
.plan-summary-table tbody tr:hover [data-tone] {background:color-mix(in srgb,var(--report-soft) 84%,var(--report-tone))}
.plan-summary-table tfoot [data-tone] {background:color-mix(in srgb,var(--report-soft) 88%,var(--report-tone));
  border-top-color:color-mix(in srgb,var(--report-tone) 55%,white)}
.upgrade-plan-table thead {position:sticky;top:0;z-index:2;background:#293e55}
.upgrade-plan-table th,.upgrade-plan-table td {text-align:center;vertical-align:middle;padding:4px 6px;border-bottom:1px solid #dfe6ee}
.upgrade-plan-table thead th {background:#293e55;color:#fff;padding:8px 6px;white-space:normal;
  overflow-wrap:anywhere;line-height:1.23;font-weight:700}
.upgrade-plan-table thead th+th {border-inline-start:1px solid #617389}
.upgrade-plan-table tbody tr:nth-child(even) {background:#f5f8fb}
.upgrade-plan-table tbody tr:hover {background:#e9f0f7}
.upgrade-plan-table :is(tbody,tfoot) th {text-align:left;padding-inline-start:10px;color:#273f57}
.plan-summary-table tbody :is(th,td) {padding-block:3px}
.plan-summary-table tfoot {position:sticky;bottom:0;z-index:1;color:#20384f;background:#dfe8f2;font-weight:750}
.plan-summary-table tfoot :is(th,td) {border-top:2px solid #9caec1;border-bottom:0}
.plan-summary-table tfoot th {background:#dfe8f2}
.plan-count {cursor:pointer;background:none;border:0;border-radius:6px;padding:2px 5px;color:inherit;font-weight:700;font-variant-numeric:tabular-nums}
.plan-count:not(:disabled):is(:hover,:focus-visible) {background:#dbe8f4}
.plan-count:disabled {cursor:default;opacity:1}
.plan-summary-table td .plan-count {width:100%;font-size:1rem}
.plan-detail-table:not(.plan-daily-detail-table) {min-width:780px}
.plan-daily-detail-table :is(th,td) {white-space:normal;overflow-wrap:anywhere;padding-block:7px}
.plan-daily-detail-table .plan-site-link {text-align:left;padding-inline:0}
.plan-daily-detail-table .plan-site-tests {line-height:1.35}
:is(.plan-daily-detail-table,.plan-summary-table) tbody th {background:#fff}
:is(.plan-daily-detail-table,.plan-summary-table) tbody tr:nth-child(even) th {background:#f5f8fb}
:is(.plan-daily-detail-table,.plan-summary-table) tbody tr:hover th {background:#e9f0f7}
.plan-detail-table:not(.plan-daily-detail-table) td:nth-child(3) {text-align:left;min-width:10em;max-width:23em;white-space:normal}
.plan-detail-table:not(.plan-daily-detail-table) th[scope="row"] {white-space:nowrap}
.plan-site-link {cursor:pointer;background:none;border:0;color:#2d5278;text-decoration:underline;text-underline-offset:3px;font-weight:750;padding:3px}
.plan-badge {display:inline-block;padding:2px 7px;border-radius:6px;font-weight:650;line-height:1.3}
.plan-neutral {background:#edf2f7;color:#3d536a}.plan-ok {background:#e2efe7;color:#325a44}
.plan-warn {background:#f6ecd9;color:#70521f}.plan-out {background:#e8e9f3;color:#4d5273}
.upgrade-plan-pagination {margin-top:10px;justify-content:center}
.plan-early {margin:5px 5px 7px}
.plan-result-count {font-size:.84rem}
.upgrade-site-dialog {width:min(670px,94vw);max-width:none;height:100dvh;max-height:100dvh;margin:0 0 0 auto;
  border:0;padding:0;overflow:auto;color:#1b344d;background:#fff;box-shadow:-12px 0 40px #20304344}
.upgrade-site-dialog::backdrop {background:#14243866}
.upgrade-site-dialog h2,.upgrade-site-dialog h3,.upgrade-site-dialog h4 {margin:0}
.upgrade-site-body {padding:15px 22px 22px}
.plan-site-context {margin:0 0 12px}
.plan-site-pairs {display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:8px 0 16px}
.plan-site-pairs div {background:#f0f4f8;padding:8px 10px;overflow-wrap:anywhere}
.plan-site-pairs dt {font-size:.8rem;color:#465f78;font-weight:650}
.plan-site-pairs dd {margin:2px 0 0;font-weight:700}
.plan-site-attendance {padding:12px 0;border-bottom:1px solid #dce4ec}
.plan-site-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.plan-site-photos img {display:block;width:100%;height:170px;object-fit:contain;background:#edf2f6;border-radius:8px}
@media(max-width:940px) {
  .upgrade-plan-filters {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px) {
  .upgrade-plan-filters {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .upgrade-plan-filters label {gap:5px;line-height:1.2}
  .upgrade-plan-filters .field,.upgrade-plan-filters > .btn {
    width:100%;min-width:0;max-width:100%;min-height:44px;border-radius:8px
  }
  .upgrade-plan-filters .field {font-size:16px;padding-inline:8px;text-overflow:ellipsis}
  .upgrade-plan-filters select.field {
    appearance:none;-webkit-appearance:none;padding-inline-end:28px;
    background-image:linear-gradient(45deg,transparent 50%,#64758b 50%),linear-gradient(135deg,#64758b 50%,transparent 50%);
    background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;
    background-size:5px 5px;background-repeat:no-repeat
  }
  .upgrade-plan-filters input[type="date"] {appearance:none;-webkit-appearance:none;text-align:start}
  .upgrade-plan-filters input[type="date"]::-webkit-date-and-time-value {text-align:start;margin:0;min-height:1em}
  .upgrade-plan-controls .upgrade-plan-actions {align-items:stretch;gap:7px;margin-top:12px}
  .upgrade-plan-controls .upgrade-plan-actions > :is(p,.buttons) {flex-basis:100%;min-width:0}
  .upgrade-plan-controls .upgrade-plan-actions .buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .upgrade-plan-controls .upgrade-plan-actions .btn {min-height:40px;min-width:0;white-space:normal}
  .upgrade-plan-controls .upgrade-plan-actions [data-sync] {grid-column:1/-1}
  .upgrade-plan-sticky {position:static}
  .upgrade-plan-kpis {grid-template-columns:minmax(0,1fr);gap:8px}
  .plan-group-card {padding:9px 12px 6px}
  .plan-group-card h3 {font-size:.98rem}
  .plan-group-metric {min-height:28px;font-size:.84rem}
  .plan-group-detail {min-height:38px;font-size:.84rem}
  .plan-group-test-label {font-size:.77rem}
  .plan-overall-counts {justify-content:flex-start}
}
@media(max-width:540px) {
  .upgrade-plan-tabs:has(.plan-table-tools) {display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .plan-tab-choices,.plan-table-tools {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .plan-table-tools {margin:0 0 6px}
  .upgrade-plan-tabs:has(.plan-table-tools) .plan-tab,.plan-table-tools .btn {
    min-width:0;min-height:42px;padding:5px 7px;font-size:.8rem;line-height:1.2;white-space:normal
  }
  .upgrade-daily-plan .plan-report-scroll {max-height:65dvh}
  .plan-summary-controls {display:grid;grid-template-columns:minmax(0,1fr)}
  .plan-summary-controls select {min-height:42px;font-size:16px}
  :is(.plan-summary-table,.plan-daily-detail-table) :is(thead th,tbody td,tbody th,tfoot th,tfoot td) {
    padding-inline:3px;
    font-size:.73rem;
    line-height:1.3;
  }
  :is(.plan-summary-table,.plan-daily-detail-table) thead th {overflow-wrap:anywhere}
  .plan-summary-table td .plan-count {font-size:.85rem;padding-inline:0}
  .plan-summary-table td .plan-cell-note .plan-count,.plan-daily-detail-table .plan-cell-note {font-size:.7rem}
  .plan-daily-detail-table .plan-badge {padding:3px 4px}
  .plan-daily-detail-table .plan-site-link {max-width:100%;overflow-wrap:anywhere}
  .plan-site-pairs {grid-template-columns:1fr}
}


.plan-filter-sections {display:grid;grid-template-columns:minmax(0,4fr) minmax(0,3fr);gap:8px;margin-top:9px}
.plan-filter-section {min-width:0;border:1px solid #dbe5ee;border-radius:9px;padding:8px;background:#f6f9fc}
.plan-filter-section h3 {margin:0 0 5px;color:#3b536a;font-size:.79rem;font-weight:720}
.plan-filter-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));align-items:end;gap:7px}
.plan-filter-grid > label {display:grid;gap:3px;min-width:0;font-weight:650;font-size:.84rem}
.plan-filter-grid .field {width:100%;min-width:0;min-height:35px}
.plan-filter-grid select.field {text-overflow:ellipsis}
.plan-filter-grid .field:has(option:checked:not([value=""])) {border-color:#87a6bf;background:#edf5fb}
.plan-filter-grid .plan-work-options {inset-inline:0 auto}
.plan-filter-grid > :last-child .plan-work-options {inset-inline:auto 0}
.plan-filter-actions {display:flex;justify-content:flex-end;margin-top:6px}
.plan-filter-actions .btn {min-height:32px;padding:4px 8px;font-size:.78rem}

main:has(.upgrade-year) {max-width:none}
.year-filter-sections {grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.year-filter-sections > [data-year-filters] {display:contents}
.upgrade-year .year-sync-stamp {margin:8px 0 0;font-size:.8rem}
.year-feedback {margin:5px 0;font-size:.83rem}
.year-feedback:empty {display:none}
.year-snapshot {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.year-result-card {min-width:0;border-top:3px solid #7298bd}
.year-result-card.year-day {border-top-color:#70a99e}
.year-result-card h2,.year-table-panel h2 {margin:0 0 7px;font-size:1rem}
.year-result-card dl {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.year-result-card.year-day dl {grid-template-columns:repeat(5,minmax(0,1fr))}
.year-result-card dt {color:#47617a;font-size:.79rem;line-height:1.25}
.year-result-card dd {color:#223e58;font-size:1.32rem;font-weight:750;margin:3px 0 0;font-variant-numeric:tabular-nums}
.year-table-panel {min-width:0;margin-top:9px;padding:9px}
.year-table-panel > p {margin:7px 0 0;font-size:.79rem}
.year-table-heading {display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:5px}
.year-table-heading > span {font-size:.8rem;color:#47617a}
.year-summary-table {min-width:1040px}
.year-summary-table thead th.year-band {background:#35577e}
.year-summary-table thead th.year-day-band {background:#235e5c}
.year-summary-table thead tr:nth-child(2) th {background:#eaf2fa;color:#284562;border-inline-start-color:#cad8e7}
.year-summary-table thead tr:nth-child(2) th:nth-child(n+8) {background:#e7f2ef;color:#235e5c}
.year-summary-table tfoot th,.year-summary-table tfoot td {background:#e0ebf6;font-weight:750}
.year-detail-table {min-width:1050px}
.upgrade-year .year-branch {position:sticky;inset-inline-start:0;z-index:1}
.upgrade-year tbody .year-branch {background:#f0f5fa}
.upgrade-year thead .year-branch {z-index:3}
.year-text-cell {max-width:260px;white-space:normal;text-align:start!important;overflow-wrap:anywhere}
.year-summary-scroll,.year-detail-scroll {max-height:58dvh}
@media(max-width:980px) {
  .plan-filter-sections {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px) {
  .plan-filter-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .plan-filter-grid .field {min-height:42px;font-size:16px}
  .plan-filter-grid > :nth-child(even) .plan-work-options {inset-inline:auto 0}
  .plan-filter-grid > :nth-child(odd) .plan-work-options {inset-inline:0 auto}
  .plan-filter-actions {justify-content:flex-start}
  .year-snapshot {grid-template-columns:minmax(0,1fr)}
  .year-result-card dl,.year-result-card.year-day dl {grid-template-columns:repeat(2,minmax(0,1fr))}
}

.report-share-tools{gap:.45rem;flex-wrap:wrap;align-items:center}
.report-share-tools .report-whatsapp{background:#e7f5ed;border-color:#b0d9c2;color:#195638;font-weight:700}
.whatsapp-report-dialog{width:min(640px,calc(100vw - 1.5rem));max-height:90dvh;border:1px solid #cadae6;border-radius:16px;padding:clamp(1rem,4vw,1.5rem);color:#172c42;background:#fff;box-shadow:0 18px 60px #142d4b35}
.whatsapp-report-dialog::backdrop{background:#11263b80}
.whatsapp-report-dialog h2{margin:0 0 .8rem}
.whatsapp-report-dialog textarea{display:block;width:100%;max-height:48dvh;min-height:10rem;resize:vertical;white-space:pre-wrap;margin-bottom:.8rem;font:inherit;line-height:1.45}
.whatsapp-report-dialog [role="status"]{margin:.65rem 0 0;min-height:1.4em}
.report-share-section{margin:.6rem 0 .85rem}
.attendance-site-capture{margin-left:.35rem}
.year-table-panel>.report-share-tools{margin:.65rem 0}
.plan-table-tools>.report-share-tools{grid-column:1/-1}
@media (max-width:640px){
  .plan-table-tools>.report-share-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
