/* GeoFieldPath reference palette: layered navy, teal surfaces and mint actions. */
@font-face{font-family:Vazirmatn;src:url("/portal/static/geofield_portal/manager/assets/vazirmatn.f6d31671339d.woff2") format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{
 --bg:#091e2a;--paper:#112f3d;--panel:#193d4a;--field:#0d2634;--footer:#0d2532;
 --ink:#e9f4f5;--text:var(--ink);--muted:#acc7d1;--line:#365662;
 --mint:#62e0c8;--primary:#62e0c8;--primary-hover:#8aeedb;--primary-ink:#062d32;
 --teal:#7debd5;--copper:#8fd8ef;--copper-dark:#8fd8ef;
 --navy:#071b27;--navy-light:#143540;--sand:var(--panel);--surface:var(--paper);
 --row-even:#143441;--selected:#1d4a4c;--selected-line:#5bbfae;
 --accent-soft:#62e0c81a;--shadow:#020c1540;
 --danger-ink:#ffb4b4;--danger-soft:#452d3b;--danger-line:#945265;
 --warning-ink:#f5ce91;--warning-soft:#3b3833;--warning-line:#92764c;
 --chart-1:#62e0c8;--chart-2:#84c9ef;--chart-3:#c1b0ef;--chart-4:#efc17c;--chart-5:#a7d997;--chart-6:#f0a5b5;
 --table-head:#1c424f;--hover:#1d4350;--focus:#153c49;
 color-scheme:dark
}
html,body{color:var(--ink);background:var(--bg)}
body{font-family:Vazirmatn,Tahoma,sans-serif}
body .workspace,body .workspace main{background:transparent}
body .workspace:before{content:none}
body .workspace,body .sidebar{position:relative;z-index:1}
body .sidebar{position:fixed;background:linear-gradient(170deg,var(--paper),var(--paper));border-color:var(--line);backdrop-filter:blur(14px)}
body .sidebar:before{opacity:.14}
body .sidebar .brand{color:var(--ink);font-size:21px}
body .field-brand-mark{display:flex;align-items:flex-end;justify-content:center;gap:3px;width:35px;height:32px;padding:2px;border:0;border-radius:0;background:transparent;transform:skew(-16deg)}
.field-brand-mark i{display:block;width:7px;height:13px;background:var(--mint);border-radius:2px}
.field-brand-mark i:nth-child(2){height:21px;background:var(--mint)}.field-brand-mark i:nth-child(3){height:29px;background:var(--field)}
body .nav-link{border-radius:9px;color:var(--muted)}
body .nav-link:hover{background:var(--paper);color:var(--ink)}
body .nav-link.active{color:var(--teal);background:var(--accent-soft);border-color:var(--line);box-shadow:inset -2px 0 #16424914}
body .topbar,body .workspace>.footer{background:var(--paper);border-color:var(--line);backdrop-filter:blur(14px)}
body .card,body .surface,body .overview-panel{background:linear-gradient(135deg,var(--paper),var(--paper));border:1px solid var(--line);border-radius:15px;box-shadow:0 16px 40px #16424914}
body button,body .button{border-radius:9px;background:var(--mint);color:var(--muted);border-color:var(--line);box-shadow:none;font-weight:650}
body button:hover,body .button:hover{background:var(--mint);border-color:var(--line);box-shadow:0 5px 18px #1642491a}
body button.quiet,body .button.quiet{background:var(--paper);color:var(--ink);border-color:var(--line)}
body button.quiet:hover,body .button.quiet:hover{background:var(--panel);border-color:var(--line)}
body button.danger{background:var(--danger-soft);color:var(--danger-ink);border-color:var(--danger-line)}
body button:disabled,body .button:disabled{opacity:.45;box-shadow:none}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:9px}
body input::placeholder,body textarea::placeholder{color:var(--muted)}
body .soft,body .check,body .publish-builder,body .publish-policy-row,body .manual-area-box,body .report-workbench{background:var(--paper);border-color:var(--line);border-radius:11px}
body .selected-user{background:var(--paper);color:var(--ink);border-color:var(--line)}
body .results{border-color:var(--line);border-radius:11px}
body .results th{background:var(--paper);color:var(--ink)}body .results td{border-color:var(--line)}
body .results tbody tr:hover{background:var(--accent-soft)}
body .results tr.is-selected{background:var(--accent-soft)}
body dialog{background:linear-gradient(135deg,var(--paper),var(--paper));border-color:var(--line);border-radius:18px}
body .section-icon,body .stat-icon,body .connection-icon{background:var(--accent-soft);color:var(--teal);border-radius:10px}
body a{color:var(--teal)}body .badge.good{background:var(--accent-soft);color:var(--teal);border-color:var(--line)}
body .page-steps{background:var(--paper);border-color:var(--line);border-radius:9px}
body .notice-wrap{border-radius:9px}
body .report-hero:before,body .analytics-hero:before{background-image:url("/portal/static/geofield_portal/manager/assets/field-operations.35ec6f701ecc.webp")}
body .sidebar-help{background:var(--paper);border-color:var(--line)}
#ambientDust{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.72;display:block}

/* The overview is an operational dashboard, with no marketing carousel. */
body .scope-overview{display:block;min-width:0}
body .scope-overview[hidden]{display:none}
.overview-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;min-height:205px;padding:26px 30px;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:linear-gradient(270deg,var(--paper) 8%,var(--paper) 50%,var(--paper)),url("/portal/static/geofield_portal/manager/assets/field-operations.35ec6f701ecc.webp") center 55%/cover;box-shadow:0 20px 55px #16424933}
.overview-hero-copy{position:relative;max-width:70%}.overview-hero .eyebrow{color:var(--teal);font-size:11px}
.overview-hero h1{font-size:clamp(23px,2.4vw,33px);font-weight:750;line-height:1.65;margin:8px 0;color:var(--ink);letter-spacing:-.5px}
.overview-hero h1 em{font-style:normal;color:var(--teal)}.overview-hero p{font-size:12px;color:var(--ink);margin:6px 0 15px}
.overview-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.overview-context{display:flex;align-items:flex-start;flex-direction:column;gap:8px;font-size:10px;color:var(--ink);white-space:nowrap}
.overview-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0}
.overview-metric{position:relative;display:flex;align-items:flex-start;flex-direction:column;min-width:0;text-decoration:none;padding:17px 16px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,var(--paper),var(--paper));box-shadow:0 10px 30px #16424911;transition:border-color .15s,transform .15s}
.overview-metric:hover{border-color:var(--line);transform:translateY(-2px)}
.overview-metric>.icon{position:absolute;inset-inline-end:14px;top:16px;width:19px;height:19px;color:var(--teal)}
.overview-metric .metric-label{color:var(--ink);font-size:11px;font-weight:550;padding-inline-end:22px;min-height:35px}
.overview-metric strong{font-size:29px;line-height:1.5;font-weight:750;color:var(--ink);font-variant-numeric:tabular-nums}
.overview-metric small{font-size:9px;color:var(--muted);line-height:1.9;margin-top:5px}
.attention-metric{border-color:var(--warning-line);background:linear-gradient(135deg,var(--paper),var(--paper))}.attention-metric>.icon{color:var(--warning-ink)}
.overview-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body .overview-panel{padding:20px;min-width:0}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.panel-heading h2{font-size:15px;font-weight:700;margin:3px 0;color:var(--ink)}.panel-heading .eyebrow{color:var(--teal);font-size:9px}.panel-heading>a{font-size:10px;white-space:nowrap;text-decoration:none}
.panel-heading>.icon{color:var(--teal);width:21px;height:21px}
.overview-list{display:grid;gap:0}.overview-line{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);min-width:0}.overview-line:last-child{border:0;padding-bottom:0}
.overview-line:first-child{padding-top:0}.overview-line>div{min-width:0;flex:1}.overview-line strong{display:block;font-size:12px;color:var(--ink);font-weight:600}.overview-line small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:3px}
.overview-line a{font-size:10px;flex:0 0 auto;text-decoration:none}.overview-line>button{flex:0 0 auto;min-width:30px!important;width:30px!important;height:30px!important;min-height:30px!important}
.overview-avatar{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;background:var(--accent-soft);border:1px solid var(--line);color:var(--teal);border-radius:10px;font-size:12px;font-weight:700}
.overview-line>.icon{width:18px;height:18px;flex:0 0 18px;color:var(--warning-ink)}.overview-line .badge{font-size:9px;flex:0 0 auto}
.overview-empty{padding:22px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;min-height:100px;color:var(--muted);font-size:11px}
.overview-empty .icon{width:24px;height:24px;color:var(--teal)}.overview-empty a{font-size:11px;text-decoration:none}
.panel-footnote{font-size:9px;line-height:1.9;color:var(--muted);margin-top:15px}
.publication-breakdown{display:grid;gap:12px}.publication-stage{display:grid;grid-template-columns:125px 1fr 27px;gap:12px;align-items:center;font-size:11px;color:var(--ink)}
.publication-stage strong{text-align:left;font-size:12px}.publication-stage progress{appearance:none;width:100%;height:6px;border:0;border-radius:10px;background:var(--panel);overflow:hidden}
.publication-stage progress::-webkit-progress-bar{background:var(--panel);border-radius:10px}.publication-stage progress::-webkit-progress-value{background:var(--mint);border-radius:10px}.publication-stage progress::-moz-progress-bar{background:var(--mint);border-radius:10px}
.publication-stage.pending progress::-webkit-progress-value{background:var(--panel)}.publication-stage.failed progress::-webkit-progress-value{background:var(--danger-soft)}
.overview-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.overview-bottom .connection-row{font-size:11px;border-color:var(--line)}.overview-bottom .server-host{font-size:12px;overflow-wrap:anywhere}.overview-bottom .text-link{font-size:10px;margin-top:10px;display:inline-flex}
.overview-setup{margin-top:16px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 18px;font-size:11px}
.overview-setup>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:var(--ink)}.overview-setup .journey-step{min-height:38px;padding:8px 0;gap:10px}.overview-setup .journey-step>.icon{width:17px;height:17px}.overview-setup .journey-step strong{flex:1;font-size:11px}.overview-setup .step-status{font-size:9px}
@media(max-width:1200px){.overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-metric .metric-label{min-height:20px}}
@media(max-width:760px){body .sidebar{position:relative;background:var(--paper)}.overview-hero{padding:22px;min-height:210px;align-items:flex-start;flex-direction:column;gap:12px}.overview-hero-copy{max-width:100%}.overview-context{flex-direction:row;flex-wrap:wrap;white-space:normal}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}.overview-metric{padding:13px}.overview-metric strong{font-size:27px}.overview-panels,.overview-bottom{grid-template-columns:1fr;gap:12px}.overview-panel{padding:17px!important}.overview-metric>.icon{inset-inline-end:10px;top:13px;width:17px;height:17px}.overview-hero-actions button,.overview-hero-actions .button{min-height:37px!important}.publication-stage{grid-template-columns:105px 1fr 23px;gap:10px}}
@media(prefers-reduced-motion:reduce){.overview-metric{transition:none}.overview-metric:hover{transform:none}}
.reduce-motion .overview-metric{transition:none}.reduce-motion .overview-metric:hover{transform:none}
/* One compact rhythm for the scope's six operational cards. */
body .scope-overview .overview-panel{padding:18px;display:flex;flex-direction:column;min-height:0}
body .scope-overview .overview-panel .panel-heading{margin:0 0 12px;padding:0 0 12px;min-height:0;gap:10px;align-items:center}
body .scope-overview .overview-panel .panel-heading h2{font-size:14px;line-height:1.7;margin:2px 0;overflow-wrap:anywhere}
body .scope-overview .overview-panel .panel-heading .badge{flex-shrink:0}
body .scope-overview .overview-list{min-width:0;align-content:start}
body .scope-overview .overview-line{padding:10px 0;gap:10px;align-items:center}
body .scope-overview .overview-line:first-child{padding-top:0}
body .scope-overview .overview-line:last-child{padding-bottom:0}
body .scope-overview .overview-line strong{line-height:1.8;overflow-wrap:anywhere}
body .scope-overview .overview-line small{line-height:1.9;overflow-wrap:anywhere}
body .scope-overview .overview-line a{padding:7px 0;white-space:nowrap}
body .scope-overview .overview-empty{min-height:0;padding:10px 0;flex-direction:row;justify-content:flex-start;gap:10px;text-align:start;line-height:1.9}
body .scope-overview .overview-empty .icon{flex:0 0 24px}
body .scope-overview .overview-empty a{margin-inline-start:auto;flex-shrink:0}
body .scope-overview .panel-footnote{padding-top:10px;margin-top:12px;border-top:1px solid var(--line);line-height:1.9}
body .scope-overview .publication-stage{grid-template-columns:minmax(85px,1fr) minmax(60px,2fr) 30px;gap:10px;min-width:0}
body .scope-overview .publication-stage>span{line-height:1.8;overflow-wrap:anywhere}
body .scope-overview .publication-stage progress{min-width:0;max-width:100%;margin:0;align-self:center}
body .scope-overview .publication-stage strong{text-align:end;min-width:0}
body .scope-overview .overview-bottom .server-host{margin:0 0 10px;font-size:12px;text-align:start}
body .scope-overview .overview-bottom .connection-row{padding:7px 0;gap:12px}
body .scope-overview .overview-bottom .text-link{margin-top:12px;align-self:flex-start}
@media(max-width:760px){body .scope-overview .overview-panel{padding:15px!important}body .scope-overview .overview-empty{flex-wrap:wrap}body .scope-overview .overview-bottom{grid-template-columns:1fr}}

/* Publishing keeps controls, table and pagination together without nested scroll. */
body #publish-section{padding:12px 18px;margin-bottom:0}
#publish-section .publish-heading{display:flex;align-items:center;gap:18px;padding-bottom:8px;border-bottom:1px solid var(--line)}
#publish-section .section-heading{flex:0 0 auto;gap:9px;padding:0;margin:0;border:0}
#publish-section .section-heading h2{font-size:16px!important;white-space:nowrap}
#publish-section .section-heading p,#publish-section .step-number{display:none}
#publish-section .section-icon{width:30px;height:30px;border-radius:8px}
#publish-section .section-icon .icon{width:17px;height:17px}
#publish-section .compact-guide-button{min-height:30px;padding:5px 9px;font-size:11px}
#publish-section .publish-heading .selected-user{flex:1;min-width:0;min-height:30px;margin:0;padding:5px 10px;border-radius:8px;font-size:11px;line-height:1.8}
#publish-section .publish-controls{margin:9px 0 7px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}
body #publish-section .publish-builder{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:0;border:0;background:transparent}
#publish-section .publish-form-choice{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:nowrap}
#publish-section .publish-form-choice>label{display:flex;flex-direction:row;align-items:center;gap:10px;flex:1;min-width:0;margin:0;font-size:12px;white-space:nowrap}
#publish-section .publish-form-choice select{min-width:0;flex:1;width:100%;margin:0;min-height:36px;height:36px;font-size:12px}
#publish-section .publish-form-choice .badge{flex:none;margin:0;font-size:10px}
#publish-section .publish-primary-actions{display:flex;gap:7px;flex-wrap:nowrap}
#publish-section .publish-primary-actions button{min-height:36px;padding:7px 11px;font-size:12px;white-space:nowrap}
#publish-section .publish-secondary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:10px}
body #publish-section .publish-policy-row{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:transparent;min-width:0}
#publish-section .publish-policy-row>div{flex:1;min-width:0;gap:5px;flex-wrap:nowrap;align-items:center}
#publish-section .publish-policy-row .muted{font-size:10px;flex:none}
#publish-section .publish-policy-row strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#publish-section .publish-policy-row button{min-height:30px;padding:5px 8px;font-size:11px;white-space:nowrap}
body #publish-section .publish-status-row{display:grid;grid-template-columns:auto 28px!important;align-items:center;gap:6px;margin:0}
#publish-section .access-review-compact{font-size:10px;line-height:1.7;margin:0;padding:6px 8px;white-space:nowrap}
#publish-section .publish-status-row .icon-button{width:28px;height:28px;min-height:28px;min-width:28px;padding:6px!important}
#publish-section .publish-account-hint{display:flex;align-items:center;gap:10px;margin-top:8px;min-width:0}
#publish-section #publishHint{margin:0;padding:0;border:0;background:transparent;flex:1;min-width:0;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
#publish-section #publishAccountReview{min-height:30px;padding:5px 8px;font-size:11px;white-space:nowrap}
#publish-section .build-details-link{min-height:30px;padding:5px 9px;font-size:11px;white-space:nowrap;color:var(--teal);border-color:var(--line);background:var(--panel)}
#publish-section .compact-disclosure{margin:8px 0}
#publish-section .compact-disclosure>summary{font-size:11px;padding:6px 10px}
#publish-section .worklist-heading{margin:8px 0 8px;gap:8px;min-height:29px}
#publish-section .worklist-heading h3{font-size:13px;margin:0}
#publish-section .worklist-heading .badge{font-size:10px}
#publish-section .worklist-heading>.icon-button{width:28px;height:28px;min-height:28px;min-width:28px;padding:6px!important}
#publish-section .history-tools{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0 0 9px}
#publish-section .history-tools>label{margin:0;min-width:0;width:100%}
#publish-section .history-tools input,#publish-section .history-tools select{height:34px;min-height:34px;font-size:11px;margin:0;padding:6px 9px;width:100%}
body #publications{overflow:visible;max-height:none;contain:none;margin-top:0;border-radius:10px;min-width:0}
body #publications table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;margin:0}
body #publications th,body #publications td{text-align:center!important;vertical-align:middle!important;min-width:0;max-width:none;padding:7px 8px;position:static;box-shadow:none;overflow-wrap:anywhere}
#publications th{font-size:11px;line-height:1.8;height:34px}
#publications td{font-size:12px;line-height:1.8;height:76px}
#publications th:first-child{width:36px}
#publications th:nth-child(3){width:20%}
#publications th:nth-child(4){width:55px}
#publications th:nth-child(5){width:70px}
#publications th:nth-child(6){width:120px}
#publications th:nth-child(7){width:100px}
#publications th:last-child{width:140px}
#publications .publication-boundaries>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.8}
#publications thead th:first-child{border-start-start-radius:9px}
#publications thead th:last-child{border-start-end-radius:9px}
#publications .workspace-identity{min-width:0;max-width:none;text-align:center}
#publications .workspace-identity strong{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#publications .workspace-identity small{font-size:10px;line-height:1.7;margin-top:3px;display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
#publications .workspace-identity .workspace-note-preview{display:none!important}
body #publications .row-actions{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:5px;max-width:none;margin:0 auto}
body #publications .icon-action{width:28px;min-width:28px;height:28px;min-height:28px;padding:6px!important;border-radius:7px}
#publications td>.badge{font-size:10px;max-width:100%;white-space:normal;display:inline-flex;margin:0;justify-content:center}
#publications td>.badge+.badge{display:inline-flex;margin:4px 0 0}
#publications .empty-state{padding:22px 12px;font-size:12px;min-height:85px}
#publish-section .report-pager{margin:9px 0 0;padding:0;min-height:29px;gap:10px}
#publish-section .report-pager button{min-height:28px;padding:4px 9px;font-size:11px}
#publish-section .report-pager span{font-size:11px}
#publish-section .publish-footer-links{margin-top:7px;gap:9px;padding-top:7px;border-top:1px solid var(--line);font-size:10px}
#publish-section .publish-footer-links .muted{font-size:10px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#publish-section .publish-footer-links a{font-size:10px}
#publish-section .publish-footer-links button{min-height:28px;padding:4px 8px;font-size:10px}
@media(min-width:851px) and (max-height:800px){body #publish-section{padding-block:8px}body #publications td{padding-block:6px}#publish-section .publish-account-hint{margin-top:4px}#publish-section .publish-controls{padding-block:6px}}
@media(max-width:1200px){#publish-section .publish-heading{gap:10px;flex-wrap:wrap}#publish-section .publish-heading .selected-user{flex:1 1 350px}#publish-section .publish-secondary{grid-template-columns:1fr;gap:8px}#publish-section .publish-status-row{justify-content:start}#publish-section .publish-policy-row>div{flex:0 1 auto}}
@media(max-width:850px){body #publish-section{padding:13px}body #publish-section .publish-builder{grid-template-columns:1fr;gap:9px}#publish-section .publish-primary-actions{justify-content:flex-start}#publish-section .publish-form-choice>label{flex-direction:column;align-items:stretch;gap:5px}#publish-section .publish-policy-row{flex-wrap:wrap}#publish-section .publish-policy-row>div{flex:1 1 210px}#publish-section .publish-heading .selected-user{flex-basis:100%}#publish-section .publish-account-hint{flex-wrap:wrap}#publish-section .history-tools{grid-template-columns:1fr 1fr}#publish-section .history-tools>.search-compact{grid-column:1/-1}}
@media(max-width:700px){#publications table,#publications tbody{display:block;width:100%}#publications thead{display:none}#publications tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line);padding:8px}#publications tbody tr:last-child{border-bottom:0}body #publications td{display:block;width:auto;height:auto;padding:6px 8px;border:0;min-width:0}#publications td:before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:10px;text-align:center}#publications td.workspace-identity{grid-column:1/-1;grid-row:1}#publications td.workspace-identity:before{display:none}#publications td.action-cell{grid-column:1/-1}#publications .row-actions{justify-content:center}#publish-section .access-review-compact{white-space:normal}#publish-section .publish-footer-links{justify-content:center}#publish-section .publish-footer-links #publicationSelection{width:100%;text-align:center}}
.workspace-detail-grid > .workspace-detail-wide {grid-column: 1 / -1;}
#workspaceDetailActions {position: sticky; bottom: -1px; padding-top: 12px; background:var(--panel, var(--paper));}
.boundary-map-dialog{width:min(1000px,calc(100vw - 24px));max-width:1000px;max-height:94dvh;padding:18px;border-radius:14px;overflow:auto}
.boundary-map-dialog h2{font-size:19px;margin:0}
.boundary-map-tools{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:12px 0}
.boundary-map-north{margin-inline-start:auto;color:var(--muted);font-size:15px}
body .boundary-map-canvas{height:clamp(240px,54dvh,560px);border:1px solid var(--line);border-radius:10px;background:var(--field);background-image:linear-gradient(var(--accent-soft) 1px,transparent 1px),linear-gradient(90deg,var(--accent-soft) 1px,transparent 1px);background-size:32px 32px;direction:ltr;color:var(--muted)}
.boundary-map-tools > label.check{display:flex;flex:1;min-width:160px;width:auto;padding:5px 0;border:0;background:transparent}
.boundary-map-canvas .leaflet-popup-content{direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.8}
.boundary-map-canvas .leaflet-control-attribution{font-size:10px;background:var(--field);color:var(--muted)}
.boundary-map-canvas .leaflet-control a{color:var(--muted)}
.boundary-map-legend{padding:0;list-style:none;display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.boundary-map-legend li{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:12px}
.boundary-map-legend bdi{color:var(--muted);font-size:11px}
.boundary-map-swatch{display:inline-block;width:17px;height:12px;border:2px solid #179ee8;background:#179ee82e}
@media(max-width:700px){.boundary-map-dialog{padding:12px}.boundary-map-tools{gap:9px}.boundary-map-canvas{height:46dvh}.boundary-map-dialog .member-dialog-heading h2{font-size:16px}.publish-primary-actions #publishMapOpen{min-width:38px;justify-self:start}.boundary-map-legend li{width:100%}}

/* Surface hierarchy is intentionally muted; white is reserved for imagery. */
body .sidebar{
 --ink:#edf7fa;--muted:#adc4cb;--line:#3b5964;--teal:#76d8c0;
 --paper:#203a46;--panel:#294854;--field:#294854;
 background:var(--navy);color:var(--ink);border-color:var(--line);box-shadow:none
}
body .sidebar:before{opacity:.06}
body .sidebar .brand,body .sidebar-help strong{color:var(--ink)}
body .sidebar .nav-link{color:var(--muted)}
body .sidebar .nav-link:hover{color:var(--ink);background:var(--panel)}
body .sidebar .nav-link.active{color:var(--mint);background:#64e5c613;border-color:#64e5c638;box-shadow:inset -2px 0 var(--mint)}
body .sidebar .brand small,body .sidebar .nav-label,body .sidebar-version{color:var(--muted)}
body .sidebar .nav-number{color:var(--muted);opacity:1}
body .sidebar .sidebar-help{background:var(--paper);color:var(--muted);border-color:var(--line)}
body .sidebar .sidebar-help a{color:var(--mint)}
body .field-brand-mark i:nth-child(2){background:#b4f6e7}
body .field-brand-mark i:nth-child(3){background:#8cb9d0}
body .topbar,body .workspace>.footer{background:var(--footer);color:var(--ink);backdrop-filter:none}
body .page-steps{background:var(--paper);box-shadow:0 2px 8px var(--shadow)}
body .card,body .surface,body .overview-panel{background:var(--paper);box-shadow:0 4px 18px #16424908}
body button,body .button,body #publish,body .publish-primary-actions #publish{
 background:var(--primary);color:var(--primary-ink);border-color:var(--primary);box-shadow:none
}
body button:hover,body .button:hover,body #publish:hover{background:var(--primary-hover);color:var(--primary-ink);border-color:var(--primary-hover);box-shadow:none}
body button.quiet,body .button.quiet,body .select-row,body .icon-action,body .icon-button{
 background:var(--field);color:var(--ink);border-color:var(--line)
}
body button.quiet:hover,body .button.quiet:hover,body .select-row:hover,body .icon-action:hover,body .icon-button:hover{
 background:var(--panel);color:var(--teal);border-color:var(--teal)
}
body button.danger,body .icon-action.danger,body .scoped-table .icon-action.danger{background:var(--danger-soft);color:var(--danger-ink);border-color:var(--danger-line)}
body button.danger:hover,body .icon-action.danger:hover{background:#e2c7cd;color:var(--danger-ink);border-color:var(--danger-ink)}
body .province-reset-danger{background:var(--danger-ink);color:#fff;border-color:var(--danger-ink)}
body .province-reset-danger:hover{background:#7d293d;color:#fff}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{
 background:var(--field);color:var(--ink);border-color:var(--line);box-shadow:none
}
body input::placeholder,body textarea::placeholder{color:var(--muted);opacity:1}
body input[type=checkbox],body input[type=radio]{accent-color:var(--teal)}
body :is(input,select,textarea):focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--accent-soft);outline:none}
body :focus-visible{outline:2px solid var(--teal);outline-offset:3px}
body .sidebar :focus-visible{outline-color:var(--mint)}
::selection{background:var(--mint);color:var(--primary-ink)}
body .soft,body .check,body .publish-builder,body .publish-policy-row,body .manual-area-box,body .report-workbench,
body .filter-context,body .dashboard-status,body .selected-user,body .action-hint,body .publish-status-row .action-hint{
 background:var(--panel);color:var(--ink);border-color:var(--line)
}
body .results th{background:var(--panel);color:var(--ink)}
body .results td{color:var(--ink);border-color:var(--line)}
body .results tbody tr:nth-child(even) td{background:var(--row-even)}
body .results tbody tr:hover td{background:var(--panel)}
body .results tbody tr.is-selected td{background:var(--selected);border-color:var(--selected-line)}
body .results tbody tr.is-selected .select-row{background:var(--teal);color:#fff;border-color:var(--teal)}
body .badge.good{background:var(--selected);color:var(--teal);border-color:var(--selected-line)}
body .badge.pending{background:var(--warning-soft);color:var(--warning-ink);border-color:var(--warning-line)}
body .badge.bad{background:var(--danger-soft);color:var(--danger-ink);border-color:var(--danger-line)}
body .badge.neutral{background:var(--panel);color:var(--muted);border-color:var(--line)}
body .notice-wrap{background:var(--panel);color:var(--ink);border-color:var(--line)}
body .notice-wrap:has(.error){background:var(--danger-soft);color:var(--danger-ink);border-color:var(--danger-line)}
body dialog{background:var(--paper);color:var(--ink);border-color:var(--line);box-shadow:0 24px 70px #16424933}
body dialog::backdrop{background:#06162466;backdrop-filter:blur(3px)}
body dialog h2,body dialog p{color:var(--ink)}
body .ui-tooltip{background:#164249;color:#edf7fa;box-shadow:0 8px 20px #16424924}
body .province-gate{background:linear-gradient(120deg,#a9c0baf5,#9eb8b3f2),url("/portal/static/geofield_portal/manager/assets/field-operations.35ec6f701ecc.webp") center/cover}
body .overview-hero{background:linear-gradient(270deg,#152b38eb 5%,#152b38a8 45%,#152b3818),url("/portal/static/geofield_portal/manager/assets/field-operations.35ec6f701ecc.webp") center 55%/cover;border-color:#3b5964;box-shadow:none}
body .overview-hero h1{color:#edf7fa}
body .overview-hero h1 em{color:#64e5c6}
body .overview-hero p,body .overview-context{color:#b4cad5}
body .overview-hero .eyebrow{color:#ade7df}
body .overview-hero .button.quiet{background:#0926358c;color:#e6f5f7;border-color:#9dc7cc40}
body .overview-hero .button.quiet:hover{background:#132c3c;color:#edf7fa}
body .overview-metric{background:var(--paper);border-color:var(--line);box-shadow:0 4px 18px #16424908}
body .attention-metric{background:var(--warning-soft);border-color:var(--warning-line)}
body .attention-metric>.icon{color:var(--warning-ink)}
body .overview-metric strong{color:var(--ink)}
body .overview-avatar{background:var(--panel);color:var(--teal);border-color:var(--line)}
body .overview-setup{background:var(--paper)}
body .publication-stage progress,body .publication-stage progress::-webkit-progress-bar{background:var(--line)}
body .publication-stage progress::-webkit-progress-value{background:var(--teal)}
body .publication-stage progress::-moz-progress-bar{background:var(--teal)}
body .publication-stage.pending progress::-webkit-progress-value{background:#2e7192}
body .publication-stage.failed progress::-webkit-progress-value{background:var(--danger-ink)}
body .report-hero,body .analytics-hero{background:#34535b;color:#e7f1ee}
body .report-hero:before,body .analytics-hero:before{opacity:.3;filter:saturate(.6)}
body .report-hero:after,body .analytics-hero:after{background:linear-gradient(90deg,#34535b70,#34535be8)}
body .report-hero h3,body .analytics-hero h3{color:#e7f1ee}
body .report-hero .eyebrow,body .analytics-hero .eyebrow{color:#d0e6dd}
body .report-detail-head,body .assignment-editor .member-dialog-heading{background:var(--paper);backdrop-filter:none}
body .detail-item,body .detail-item.has-media,body .media-tile,body .member-info-grid>div,body .workspace-detail-grid>div{background:var(--field);border-color:var(--line)}
body .media-gallery{background:var(--panel)}
body .media-preview{background:var(--panel)}
body .media-kind.video,body .media-kind.audio{color:var(--teal);background:var(--panel)}
body .media-link{color:var(--teal);text-decoration-color:var(--teal)}
body .media-link:hover,body .media-link:focus-visible{background:var(--panel);color:var(--ink)}
body .member-avatar{background:var(--panel);color:var(--teal)}
body #assignmentEditorStatus{background:var(--panel);color:var(--teal);border-color:var(--line)}
body #assignmentEditorStatus.error{background:var(--danger-soft);color:var(--danger-ink);border-color:var(--danger-line)}
body .assignment-editor #assignmentForm>.form-actions,body #visitPolicyDialog .dialog-actions{background:var(--footer);border-color:var(--line)}
body #visitPolicyDialog .visit-policy-disclosure{background:var(--panel)}
body #reportsList{border-color:var(--line)}
body #reportsList th{background:var(--panel);color:var(--ink);border-color:var(--line)}
body #reportsList td{background:var(--field);color:var(--ink);border-color:var(--line)}
body #reportsList tbody tr:nth-child(even) td{background:var(--row-even)}
body #reportsList tbody tr:hover td{background:var(--panel)}
body #reportsList tbody tr.is-selected td{background:var(--selected);border-color:var(--selected-line)}
body #reportsList .report-direct-media .badge{background:var(--panel);color:var(--teal);border-color:var(--line)}
body #reportAttachmentsHint{color:var(--muted)}
body .trend-fill,body .trend-column:hover .trend-fill,body .analytics-bar-fill{background:linear-gradient(0deg,#176155,#4cae96)}
body .donut-track{stroke:var(--line)}
body .analytics-bar-fill.negative{background:var(--danger-ink)}
body .analytics-bar-track,body .trend-track{background:var(--panel)}
body .boundary-map-canvas{background-color:var(--field);color:var(--ink);border-color:var(--line)}
body .boundary-map-north{color:var(--teal)}
html.reduce-motion #ambientDust{display:none}
@media(prefers-reduced-motion:reduce){#ambientDust{display:none}}

/* Professional workspace: calm surfaces, one page heading and data-first layouts. */
body{font-size:14px;-webkit-font-smoothing:antialiased}
body .sidebar{
 width:232px;padding:26px 16px 16px;--ink:var(--ink);--muted:var(--muted);
 --line:var(--line);--teal:var(--mint);--paper:#112c39;--panel:#173946;--field:#173946;
 background:var(--navy);border:0;box-shadow:inset 1px 0 #ffffff08
}
body .sidebar:before{content:none}
body .sidebar .brand{padding:0 8px 26px;gap:12px;font-size:23px;line-height:1.5}
body .sidebar .brand small{font-size:11px;line-height:1.8;margin-top:4px}
body .sidebar>.nav-label{display:none}
body .sidebar nav{gap:5px}
body .nav-group{display:block;color:#98bac5;font-size:10px;font-weight:600;letter-spacing:.1px;padding:16px 12px 6px}
body .nav-group:first-child{padding-top:2px}
body .sidebar .nav-link{min-height:43px;gap:12px;padding:10px 12px;font-size:13px;border:1px solid transparent;border-radius:9px}
body .sidebar .nav-link>.icon{width:19px;height:19px;stroke-width:1.6}
body .sidebar .nav-number{display:none}
body .sidebar .nav-link.active{background:#1b494b;border-color:#62e0c866;color:#b5ffee;box-shadow:inset -3px 0 var(--mint)}
body .sidebar .nav-link.active>.icon{color:var(--mint)}
body .sidebar .nav-link:hover{background:#153540}
body .sidebar-help{padding:16px;border:0;border-radius:10px;box-shadow:none}
body .sidebar-help>.icon{display:none}
body .sidebar-help strong{font-size:12px}
body .sidebar-help p{display:block;font-size:11px;line-height:1.9;color:var(--muted);margin:5px 0}
body .sidebar-help a{font-size:12px;margin-top:9px}
body .sidebar .sidebar-help a{color:var(--mint)}
body .sidebar-version{padding-top:17px;font-size:10px}
body .field-brand-mark i{background:var(--mint)}
body .field-brand-mark i:nth-child(2){background:#b4f6e7}
body .field-brand-mark i:nth-child(3){background:#81d8ef}
body .workspace{margin-inline-start:232px}
body .workspace>.topbar{height:68px;min-height:68px;padding:0 28px;background:#112c39;border-bottom:1px solid var(--line);box-shadow:none}
body .breadcrumb{font-size:12px;gap:12px}
body .breadcrumb strong{font-size:13px;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .top-actions{gap:12px}
body .topbar .badge{font-size:11px;padding:4px 9px;border-radius:6px}
body .province-switch{min-height:36px;font-size:12px;padding:7px 11px;background:transparent!important;border-color:var(--line)!important}
body .workspace main{max-width:none;padding:20px 28px 28px;scrollbar-color:#446975 var(--footer)}
body .workspace main>.view,body .workspace main>.notice-wrap{max-width:1480px;margin-inline:auto}
body .workspace>.footer{min-height:48px;padding:6px 28px;background:var(--footer);gap:12px;font-size:10px;border-color:var(--line)}
body .workspace>.footer .page-steps{position:static;inset:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:12px}
body .page-steps button{min-height:30px;padding:4px 9px;border:0;background:transparent;font-size:11px}
body .page-steps button:hover{background:#112c39}
body .page-steps span{font-size:11px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .notice-wrap{position:relative;top:auto;padding:0;margin-bottom:12px;border:0;background:transparent;color:var(--ink);box-shadow:none}
body .notice-content{padding:2px 0;gap:8px;min-height:26px}
body #notice{font-size:12px;line-height:1.8;color:var(--ink)}
body .notice-content>.icon{color:var(--teal);width:16px}
body .notice-wrap:has(.error),body.is-busy .notice-wrap{position:sticky;top:0;padding:8px 12px;background:var(--paper);border:1px solid var(--line);z-index:24}
body .notice-wrap:has(.error){background:var(--danger-soft);border-color:var(--danger-line);color:var(--danger-ink)}
body .notice-wrap:has(.error) #notice{color:var(--danger-ink)}
body .card,body .surface,body .overview-panel{border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--paper);box-shadow:0 3px 12px #020c1520}
body #reports-section,body #dashboard-section{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body .section-heading{gap:14px;padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--line);align-items:center}
body .section-heading h2{font-size:23px;line-height:1.65;font-weight:750;letter-spacing:-.3px}
body .section-heading p{font-size:13px;line-height:1.8;margin-top:4px;color:var(--muted)}
body #reports-section>.section-heading,body #dashboard-section>.section-heading{border:0;padding-bottom:0;margin-bottom:20px}
body #reports-section>.section-heading p,body #dashboard-section>.section-heading p{color:var(--ink)}
body .section-icon{width:44px;height:44px;border-radius:11px;background:#1d514f;color:#95f5dc;border:1px solid #3e817a}
body .section-icon .icon{width:22px;height:22px}
body .step-number{display:none}
body .section-heading>.compact-guide-button{order:2;min-height:36px;font-size:12px;background:transparent;border-color:var(--line);white-space:nowrap}
body .section-heading>#loadReports,body .section-heading>#loadDashboards{order:3;white-space:nowrap}
body button,body .button{min-height:40px;padding:9px 15px;font-size:13px;font-weight:600;border-radius:8px;line-height:1.6;gap:8px}
body button:disabled,body .button:disabled{opacity:.5}
body button.quiet,body .button.quiet{background:var(--field);color:var(--ink);border-color:var(--line)}
body button.quiet:hover,body .button.quiet:hover{background:var(--hover);color:var(--teal);border-color:#5caeaa}
body .icon-button,body .icon-action{width:35px;min-width:35px;height:35px;min-height:35px;border-radius:8px!important;background:var(--field);border-color:var(--line)}
body label,body .report-filters label,body .dashboard-filters label{font-size:13px;font-weight:550;color:var(--ink);gap:7px;line-height:1.75}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{font-size:13px;min-height:42px;border:1px solid #456773;border-radius:8px;padding:9px 12px;background:var(--field);color:var(--ink);box-shadow:inset 0 1px 2px #020c151a}
body input:not([type=checkbox]):not([type=radio]):focus,body select:focus,body textarea:focus{background:var(--focus);border-color:var(--mint);box-shadow:0 0 0 3px #62e0c825}
body .help,body label small,body .manual-area-intro p{font-size:12px;line-height:1.95;color:var(--muted)}
body .card h3{font-size:16px;line-height:1.8;font-weight:700}
body .soft,body .check,body .manual-area-box,body .selection-banner{border-radius:10px;border-color:var(--line);background:var(--panel);font-size:13px;line-height:1.9}
body .badge{font-size:11px;line-height:1.7;padding:4px 9px;border-radius:6px;font-weight:550}
body .badge.good{background:#214c46;color:#a6f1cf;border-color:#3f8374}
body .badge.neutral{background:#244551;color:#c2dde3;border-color:#456a76}
body .badge.pending{background:var(--warning-soft);color:var(--warning-ink)}
body .badge.bad{background:var(--danger-soft);color:var(--danger-ink)}
body .eyebrow,body .workbench-heading .eyebrow,body .report-table-heading .eyebrow,body .feature-head .eyebrow{color:var(--muted);font-size:11px;font-weight:600}
body .results,body .analytics-records{border:1px solid var(--line);border-radius:12px;box-shadow:none;background:var(--paper)}
body .results table{font-size:13px}
body .results th{padding:14px 12px;background:var(--table-head);color:#d8f2f4;font-size:12px;font-weight:700;border-color:var(--line)}
body .results td{padding:15px 12px;font-size:13px;line-height:1.8;color:var(--ink);border-color:#2b4c59}
body .results tbody tr:nth-child(even) td{background:var(--row-even)}
body .results tbody tr:hover td{background:var(--hover)}
body .results tbody tr.is-selected td{background:var(--selected);border-color:var(--selected-line)}
body .results .code-cell{font-size:12px;font-variant-numeric:tabular-nums}
body .results .select-row{font-size:12px;min-height:34px;padding:6px 10px}
body #reportsList{margin:12px 0 0;border-color:var(--line);max-height:none}
body #reportsList th{background:var(--table-head);color:#d8f2f4;padding:14px 10px;font-size:12px}
body #reportsList td{background:var(--paper);padding:15px 10px;min-height:56px;font-size:13px;line-height:1.8;border-color:#2b4c59}
body #reportsList tbody tr:nth-child(even) td{background:var(--row-even)}
body #reportsList tbody tr:hover td{background:var(--hover)}
body #reportsList tbody tr.is-selected td{background:var(--selected)}
body #reportsList .report-direct-media .badge{background:#244951;color:#a7f4e2;border-color:#4b7c80;font-size:11px}
body .report-pager{gap:14px;margin:15px 0 0;padding:6px 0;font-size:12px}
body .report-pager span{font-size:12px;color:var(--ink)}
body .report-pager button{min-height:34px;font-size:12px;padding:6px 12px}
body .report-stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:16px;margin:18px 0}
body .report-stats>div{min-height:108px;padding:16px 20px;gap:5px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:none}
body .report-stats span{font-size:12px;color:var(--muted)}
body .report-stats strong{font-size:29px;line-height:1.3;color:var(--ink);font-weight:750}
body .report-stats>div:nth-child(3) strong{font-size:17px;line-height:1.8}
body .report-stats small{font-size:11px;line-height:1.8}
body .report-workbench{padding:18px;margin-bottom:20px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
body .workbench-heading h3{margin:0;font-size:15px;color:var(--ink)}
body .workbench-heading #resetReports{font-size:12px;min-height:32px;background:transparent;border-color:transparent;padding:4px 6px;color:var(--teal)}
body .report-tools{margin:10px 0;gap:12px}
body .report-tools #findReports{height:42px}
body .report-filters{gap:14px}
body .filter-context{padding:10px 0 0;margin-top:12px;background:transparent;border:0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
body .filter-context button{font-size:12px;min-height:34px}
body .report-table-heading{margin-top:20px;margin-bottom:6px}
body .report-table-heading h3{margin:0;font-size:16px;color:var(--ink)}
body #reportAttachmentsHint{margin:7px 0 10px;font-size:11px;color:var(--ink);line-height:1.9}
body .report-group{border:0;background:transparent;margin:0 0 12px;border-radius:0}
body .report-group>summary{font-size:12px;padding:4px 0;color:var(--ink)}
body .dashboard-status{background:transparent;border:0;border-inline-start:3px solid var(--mint);border-radius:0;margin:0 0 18px;padding:3px 11px;font-size:12px;color:var(--ink);line-height:1.9}
body .analytics-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 20px}
body .analytics-kpis:empty{display:none}
body .analytics-kpis>.analytics-kpi{min-height:126px;padding:18px 20px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 10px #020c151a;gap:6px}
body .analytics-kpis>.analytics-kpi:nth-child(1){background:#173c45}
body .analytics-kpis>.analytics-kpi:nth-child(2){background:#18374a}
body .analytics-kpis>.analytics-kpi:nth-child(3){background:#2a354d}
body .analytics-kpis>.analytics-kpi:nth-child(4){background:#3b3937}
body .analytics-kpis>.analytics-kpi:nth-child(5){background:#283e3c}
body .analytics-kpi:before{inset:auto 20px 0 auto;width:46px;height:3px;border-radius:3px 3px 0 0}
body .analytics-kpi>span{font-size:12px;font-weight:550;color:var(--muted)}
body .analytics-kpi>strong{font-size:32px;font-weight:750;line-height:1.35;color:var(--ink)}
body .analytics-kpi>small{font-size:11px;color:var(--muted)}
body .dashboard-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:14px;padding:18px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:var(--paper);align-items:end}
body .dashboard-filters label{font-size:12px}
body .dashboard-filters button{min-height:42px;font-size:12px;white-space:nowrap;padding:8px 10px;background:transparent}
body .dashboard-active-filters{min-height:25px;gap:7px;margin:0 0 16px}
body .filter-all{border:0;background:none;padding:2px 0;font-size:11px;color:var(--ink)}
body .filter-chip{background:#234b4b;border-color:#4a8c82;color:#a1f5df;font-size:11px;padding:4px 9px}
body .dashboard-insights{gap:14px;margin:0 0 20px;grid-template-columns:repeat(3,minmax(0,1fr))}
body .insight-card{padding:13px 16px;border:0;border-radius:10px;background:#173744;box-shadow:none;gap:13px}
body .insight-icon{background:#24505a;color:var(--mint);border-radius:9px;width:37px;height:37px}
body .insight-copy small,body .insight-copy span{font-size:11px;color:var(--muted)}
body .insight-copy strong{font-size:13px;font-weight:650;color:var(--ink)}
body .analytics-featured{gap:18px;margin:0 0 20px;grid-template-columns:1fr 1fr}
body .analytics-feature-card,body .analytics-panel{border-radius:12px;border:1px solid var(--line);padding:22px;background:var(--paper);box-shadow:0 3px 10px #020c151a}
body .feature-head{margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line)}
body .feature-head h3,body .analytics-panel h3{font-size:16px;margin:3px 0;line-height:1.8;color:var(--ink)}
body .donut-center strong{font-size:30px;font-weight:750;color:var(--ink)}
body .donut-center span{font-size:12px;color:var(--muted)}
body .donut-chart{filter:none}
body .donut-track{stroke:#2a4b59}
body .legend-row{font-size:12px;gap:9px;padding:8px 0;border-color:#2b4c59}
body .legend-row strong{color:var(--ink);font-size:13px}
body .legend-row small{font-size:11px}
body .trend-chart{min-width:0;gap:16px;direction:ltr;justify-content:center}
body .trend-column{max-width:96px;min-width:30px;flex:1;grid-template-rows:24px 160px 34px}
body .trend-track{background:#203e4b;border-radius:6px 6px 0 0}
body .trend-fill,body .trend-column:hover .trend-fill,body .analytics-bar-fill{background:var(--mint);border-radius:5px 5px 0 0}
body .trend-value{color:var(--ink);font-size:12px}
body .trend-label,body .trend-caption{font-size:11px;color:var(--muted)}
body .analytics-panels{gap:18px;margin-bottom:20px}
body .analytics-bar-track{background:#203e4b}
body .analytics-bar-fill{border-radius:4px}
body .analytics-bar-fill.negative{background:var(--danger-ink)}
body .analytics-bar-head,body .analytics-bar-value{font-size:12px;color:var(--ink)}
body .analytics-records{padding:20px;background:var(--paper)}
body .analytics-records .table-heading{margin:0 0 12px}
body .analytics-records .table-heading h3{font-size:16px;margin:0}
body .analytics-records .results{margin:0;max-height:none}
body .dashboard-empty{display:none;text-align:center;justify-items:center;align-content:center;min-height:290px;padding:32px;border:1px dashed #426571;border-radius:14px;background:#102c3a;margin:18px 0 24px}
body #dashboard-section:has(#dashboardKpis:empty) .dashboard-empty{display:grid}
body #dashboard-section:has(#dashboardKpis:empty) .analytics-records{display:none}
body .dashboard-empty .empty-visual{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#214b50;color:#8ff1da;margin-bottom:12px}
body .dashboard-empty .empty-visual>.icon{width:30px;height:30px;stroke-width:1.5}
body .dashboard-empty h3{font-size:19px;margin:8px 0}
body .dashboard-empty p{font-size:13px;line-height:2;max-width:480px;color:var(--muted);margin:0 0 20px}
body .overview-hero{min-height:180px;padding:28px 30px;border:0;border-radius:14px;background:linear-gradient(110deg,#173d49,#0f4c4d);box-shadow:0 4px 14px #020c1533}
body .overview-hero h1{font-size:29px;letter-spacing:-.4px;color:#ecf9f8;margin:6px 0}
body .overview-hero h1 em{color:#70ead2}
body .overview-hero p{font-size:13px;color:#c0dce1}
body .overview-hero .eyebrow{color:#91f1df;font-size:11px}
body .overview-hero button{background:var(--mint);color:var(--primary-ink);border-color:var(--mint)}
body .overview-hero button:hover{background:var(--primary-hover)}
body .overview-hero .button.quiet{background:#ffffff08;color:#dbf6f0;border-color:#568a8b}
body .overview-context{font-size:11px;color:#c0dce1;gap:10px}
body #overviewUpdated{font-size:11px;line-height:1.8;color:#d4eced;overflow-wrap:anywhere}
body .overview-context .badge{background:#1c4b50;color:#c5f7eb;border-color:#447d7e}
body .overview-metrics{gap:14px;margin:20px 0}
body .overview-metric{padding:20px 18px;min-height:145px;border-radius:12px;background:var(--paper);border-color:var(--line);box-shadow:0 3px 10px #020c151a;transform:none}
body .overview-metric:hover{background:#19414b;border-color:#508e8e;transform:none}
body .overview-metric .metric-label{font-size:12px;font-weight:600;color:var(--muted);min-height:27px;padding-inline-end:25px}
body .overview-metric strong{font-size:32px;font-weight:750;line-height:1.4}
body .overview-metric small{font-size:11px;line-height:1.85}
body .overview-metric>.icon{color:var(--mint);width:20px;height:20px;inset-inline-end:15px;top:18px}
body .overview-metric.attention-metric{background:#3b3934;border-color:#857049}
body .overview-panels,body .overview-bottom{gap:18px}
body .overview-panel{padding:22px}
body .panel-heading{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #2b4c59}
body .panel-heading h2{font-size:16px;margin:3px 0}
body .panel-heading .eyebrow{font-size:11px;color:var(--muted)}
body .panel-heading>a,body .overview-line a{font-size:12px}
body .overview-line{padding:13px 0;gap:12px;border-color:#2b4c59}
body .overview-line strong{font-size:13px}
body .overview-line small{font-size:12px}
body .overview-avatar{width:36px;height:36px;flex-basis:36px;border-radius:9px;background:#254b57;border-color:#416d77;color:#a0eadb;font-size:12px}
body .panel-footnote{font-size:11px}
body .overview-setup{margin-top:18px;border-radius:12px;border-color:var(--line);background:var(--paper)}
body .overview-setup>summary{font-size:13px;padding:16px 20px}
body dialog{padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 28px 90px #02091080;max-height:90dvh}
body dialog::backdrop{background:#020c15b8;backdrop-filter:blur(4px)}
body dialog h2,body .member-dialog-heading h2,body .workspace-dialog h2{font-size:21px;line-height:1.7;font-weight:700}
body dialog p{font-size:13px;color:var(--muted);line-height:1.95}
body .member-dialog-heading{padding-bottom:17px;margin-bottom:20px;border-bottom:1px solid var(--line)}
body .member-field-grid{gap:20px}
body .member-field-grid input{height:42px}
body .member-info-grid>div,body .workspace-detail-grid>div{border-radius:9px;padding:15px;background:var(--field)}
body .member-info-grid strong,body .member-info-grid bdi,body .workspace-detail-grid>div>strong{font-size:14px}
body .member-info-grid span,body .workspace-detail-grid>div>span{font-size:12px}
body .dialog-actions{gap:10px;margin-top:22px}
body .assignment-editor #assignmentForm>.form-actions,body #visitPolicyDialog .dialog-actions{background:var(--footer);padding:16px 0;border-color:var(--line)}
body #publicationEditorDialog{background:var(--paper);border-color:var(--line);box-shadow:0 28px 90px #02091080;border-radius:16px}
body #publicationEditorDialog .publication-editor-context{border-color:#417b78;background:#1a4148}
body #publicationEditorForm .dialog-actions{background:var(--footer)}
body .report-detail{background:var(--paper);border-radius:14px;border-color:var(--line);padding:24px;box-shadow:none}
body .report-detail-head{background:var(--paper);padding-bottom:17px;gap:12px}
body .detail-item,body .detail-item.has-media,body .media-tile{background:var(--field);border-color:var(--line);border-radius:10px}
body .media-gallery{background:var(--panel);padding:20px;border-radius:12px;box-shadow:none}
body .media-tile{padding:17px;box-shadow:none}
body .media-link{font-size:12px;color:var(--teal)}
body .media-kind.video,body .media-kind.audio{background:#284758;color:#b9e5f4}
body .media-tile:hover{box-shadow:0 3px 12px #020c1540;transform:none}
body .province-gate{background:#091e2aeb;backdrop-filter:blur(5px)}
body .province-card{background:var(--paper);border-radius:18px;border-color:var(--line);box-shadow:0 22px 70px #020c1560}
body .ui-tooltip{background:#071b27;color:var(--ink);border-color:#416575;box-shadow:0 5px 18px #020c1540;font-size:12px}
body #publish-section{padding:24px}
body #publish-section .publish-heading{gap:20px;padding-bottom:18px;margin-bottom:18px;flex-wrap:wrap}
body #publish-section .section-heading{gap:12px;flex-wrap:wrap}
body #publish-section .section-heading h2{font-size:22px!important}
body #publish-section .section-icon{width:40px;height:40px;border-radius:10px}
body #publish-section .section-icon .icon{width:21px;height:21px}
body #publish-section .compact-guide-button{font-size:12px;min-height:35px}
body #publish-section .publish-heading .selected-user{min-height:39px;font-size:12px;padding:8px 12px;background:var(--panel)}
body #publish-section .publish-controls{padding:16px;margin:0 0 20px;border-radius:12px;background:var(--field)}
body #publish-section .publish-form-choice>label{font-size:13px}
body #publish-section .publish-form-choice select{height:42px;min-height:42px;font-size:13px;background:var(--paper)}
body #publish-section .publish-primary-actions{gap:9px}
body #publish-section .publish-primary-actions button{min-height:42px;font-size:13px}
body #publish-section .publish-secondary{margin-top:16px;gap:14px}
body #publish-section .publish-policy-row .muted,body #publish-section .access-review-compact{font-size:11px}
body #publish-section .publish-policy-row strong,body #publish-section #publishHint{font-size:12px;line-height:1.9}
body #publish-section .publish-account-hint{margin-top:13px;gap:12px}
body #publish-section .worklist-heading{margin:14px 0 12px}
body #publish-section .worklist-heading h3{font-size:16px}
body #publish-section .history-tools{gap:12px;margin-bottom:12px}
body #publish-section .history-tools input,body #publish-section .history-tools select{height:40px;min-height:40px;font-size:12px;padding:8px 11px}
body #publish-section .publish-footer-links{padding-top:12px;margin-top:12px}
body #publish-section .publish-footer-links a,body #publish-section .publish-footer-links .muted{font-size:11px}
body #publicationEditorForm input:focus,body #publicationEditorForm textarea:focus{border-color:var(--primary);background:var(--focus);box-shadow:0 0 0 3px #62e0c825}
@media(min-width:761px) and (max-width:1200px){
 body .sidebar{width:212px;padding-inline:12px}body .workspace{margin-inline-start:212px}
 body .workspace main{padding:18px 22px 24px}body .workspace>.topbar{padding-inline:22px}
 body .dashboard-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .composition-body{grid-template-columns:1fr;justify-items:center}body .donut-legend{width:100%}
 body .section-heading{flex-wrap:wrap}body .section-heading>div{min-width:220px}
 body .topbar .breadcrumb>span,body .topbar .breadcrumb>.icon{display:none}
 body .workspace>.footer>span{display:none}
}
@media(max-width:1000px){
 body .report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .analytics-featured{grid-template-columns:1fr}
 body .composition-body{grid-template-columns:210px minmax(0,1fr)}
 body .dashboard-insights{grid-template-columns:1fr}
}
@media(max-width:760px){
 body .sidebar{position:relative;inset:auto;width:100%;padding:16px 16px 10px;flex-shrink:0;border:0}
 body .sidebar .brand{font-size:21px;padding:0 3px;gap:10px}body .sidebar .brand small{display:none}
 body .sidebar .field-brand-mark{height:27px}body .sidebar .nav-group,body .sidebar-foot{display:none}
 body .sidebar nav{display:flex;flex-wrap:nowrap;gap:7px;margin-top:14px;padding-bottom:4px}
 body .sidebar .nav-link{min-height:38px;padding:8px 11px;font-size:12px;flex:none;gap:8px}
 body .sidebar .nav-link>.icon{width:17px;height:17px}
 body .sidebar .nav-link.active{box-shadow:inset 0 -2px var(--mint)}
 body .workspace{margin-inline-start:0;height:auto;min-height:0;flex:1}
 body .workspace>.topbar{padding:10px 16px;min-height:57px;height:auto;gap:8px}
 body .breadcrumb{display:none}body .top-actions{width:100%;justify-content:space-between;gap:8px}
 body .province-switch{font-size:11px;max-width:220px;padding:6px 9px}
 body .workspace main{padding:14px 15px 22px}
 body .workspace>.footer{padding:7px 12px;min-height:45px;justify-content:center}
 body .workspace>.footer>span,body .workspace>.footer>a{display:none}
 body .workspace>.footer .page-steps{width:100%;justify-content:space-between;gap:6px}
 body .page-steps span{font-size:10px;max-width:145px}body .page-steps button{font-size:10px;padding:4px 6px}
 body .card,body .surface,body .overview-panel{padding:18px;border-radius:12px}
 body .section-heading{gap:10px;flex-wrap:wrap;margin-bottom:17px;padding-bottom:17px}
 body .section-heading>div{flex:1;min-width:180px}body .section-heading h2{font-size:20px!important}
 body .section-heading p{font-size:12px}body .section-icon{width:38px;height:38px;border-radius:9px}
 body .section-heading>.compact-guide-button{font-size:11px;min-height:34px;margin-inline-start:auto}
 body .section-heading>#loadReports,body .section-heading>#loadDashboards{font-size:12px;min-height:38px;flex:1 1 auto}
 body #reports-section>.section-heading,body #dashboard-section>.section-heading{margin-bottom:18px}
 body .report-stats{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
 body .report-stats>div{min-height:105px;padding:14px}
 body .report-stats>div:last-child{grid-column:1/-1;min-height:85px}
 body .report-stats strong{font-size:27px}body .report-stats span{font-size:11px}
 body .report-workbench{padding:16px;margin-bottom:18px}
 body .report-filters,body .dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .dashboard-filters{padding:15px}body .dashboard-filters>button{min-width:0;white-space:normal}
 body .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body .analytics-kpis>.analytics-kpi{min-height:116px;padding:15px}
 body .analytics-kpi>strong{font-size:29px}body .analytics-kpi>span{font-size:12px}
 body .analytics-kpis>.analytics-kpi:last-child{grid-column:1/-1;display:flex;align-items:center;gap:15px;min-height:65px}
 body .analytics-kpis>.analytics-kpi:last-child strong{margin-inline-start:auto}
 body .analytics-kpis>.analytics-kpi:last-child small{display:none}
 body .analytics-featured,body .analytics-panels,body .dashboard-insights{grid-template-columns:1fr;gap:14px}
 body .analytics-feature-card,body .analytics-panel,body .analytics-records{padding:17px}
 body .composition-body{grid-template-columns:1fr;justify-items:center}body .donut-legend{width:100%}
 body .trend-chart{gap:10px}body .trend-caption{font-size:11px;line-height:1.8}
 body .overview-hero{min-height:0;padding:23px;gap:17px;align-items:flex-start}
 body .overview-hero h1{font-size:25px;line-height:1.65}body .overview-hero p{font-size:12px}
 body .overview-hero-copy{max-width:100%}body .overview-hero-actions{gap:8px}
 body .overview-hero-actions button,body .overview-hero-actions .button{font-size:11px;padding:8px 10px}
 body .overview-context{flex-direction:row;flex-wrap:wrap;font-size:10px;gap:7px}
 body .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
 body .overview-metric{min-height:137px;padding:15px 13px}
 body .overview-metric .metric-label{font-size:11px;min-height:37px;padding-inline-end:21px}
 body .overview-metric small{font-size:10px}body .overview-metric strong{font-size:29px}
 body .overview-metric>.icon{inset-inline-end:11px;top:15px;width:17px;height:17px}
 body .overview-panel{padding:18px!important}body .panel-heading h2{font-size:15px}
 body .overview-line strong{font-size:12px}body .overview-line small{font-size:11px}
 body .panel-heading>a,body .overview-line a{font-size:11px}
 body dialog{padding:20px;max-height:calc(100dvh - 26px)}
 body dialog h2,body .member-dialog-heading h2,body .workspace-dialog h2{font-size:19px}
 body .dashboard-empty{padding:25px 18px;min-height:270px}
 body .dashboard-empty h3{font-size:17px}body .dashboard-empty p{font-size:12px}
 body .filter-context{align-items:stretch;gap:12px}body .filter-context button{min-height:36px}
 body #publish-section{padding:18px}
 body #publish-section .publish-heading{gap:12px;padding-bottom:14px;margin-bottom:14px}
 body #publish-section .section-heading h2{font-size:20px!important}
 body #publish-section .publish-controls{padding:13px}
 body #publish-section .publish-primary-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;width:100%;min-width:0;gap:7px}
 body #publish-section .publish-primary-actions button{font-size:11px;padding:8px 6px;min-width:0;min-height:44px;white-space:normal;gap:5px}
 body #publish-section .publish-primary-actions .icon{width:16px;height:16px}
 body #publish-section .publish-primary-actions #publishMapOpen{width:40px;min-width:40px;height:100%;justify-self:stretch}
 body #publish-section .publish-heading .selected-user{font-size:11px}
 body #publish-section .publish-footer-links .muted{white-space:normal}
}
@media(max-width:400px){
 body .report-filters{grid-template-columns:1fr}
 body .workbench-heading{align-items:flex-start;gap:6px}body .workbench-heading h3{font-size:14px}
 body .workbench-heading #resetReports{font-size:11px}
 body .dashboard-filters{grid-template-columns:1fr}
}

/* Accent hierarchy and readable selected controls on the reference navy palette. */
body .results tbody tr.is-selected .select-row{color:var(--primary-ink);background:var(--mint);border-color:var(--mint)}
body button.danger:hover,body .icon-action.danger:hover{background:#593447;color:var(--danger-ink)}
body .province-reset-danger{background:#9c354f;color:#fff;border-color:#c8768b}
body .overview-hero{border:1px solid #3a777a;box-shadow:0 10px 32px #020c1526}
body .overview-metric:nth-child(2)>.icon{color:#89cfee}
body .overview-metric:nth-child(3)>.icon{color:#b9adee}
body .overview-metric:nth-child(4)>.icon{color:#efbd8b}
body .overview-metric:nth-child(5)>.icon{color:#93dfc5}
body .overview-metric.attention-metric>.icon{color:var(--warning-ink)}
body .overview-metric.attention-metric small,body .overview-metric.attention-metric .metric-label{color:#e5cfb0}
body .overview-metric.attention-metric strong{color:#ffe0af}
body .sidebar .nav-link.active{background:linear-gradient(100deg,#15383e,#1c4b4c)}
body .results :is(th,td){text-align:center;vertical-align:middle}
body .results .member-identity{justify-content:center;text-align:center}
body .results :is(.row-actions,.cell-actions){justify-content:center}
body .analytics-group-list :is(th,td),body #visitAuditResults :is(th,td){text-align:center;vertical-align:middle}

/* Shared data-table tools. */
/* Shared, scoped table controls. Uses the application's semantic theme colors. */
body .dt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 0;padding:11px 14px;background:var(--panel);border:1px solid var(--line);border-radius:12px 12px 0 0;position:relative;z-index:3;min-width:0;grid-column:1/-1}
body .dt-toolbar[hidden]{display:none}
body .dt-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
body .dt-row-count{font-size:12px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
body .dt-scope{font-size:10px;color:var(--muted)}
body .dt-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
body .dt-tools .dt-tool,body .dt-columns>summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;height:auto;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font-family:inherit;font-size:11px;font-weight:600;line-height:1.6;box-shadow:none;white-space:nowrap;cursor:pointer;transform:none}
body .dt-tools .dt-tool:hover,body .dt-columns>summary:hover{background:var(--field);border-color:var(--teal);box-shadow:none;transform:none}
body .dt-tools .dt-tool[aria-pressed=true]{color:var(--teal);border-color:var(--teal);background:var(--accent-soft,var(--panel))}
body .dt-column-count{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
body .dt-columns{position:relative;margin:0;padding:0;border:0;min-width:0;background:transparent}
body .dt-columns>summary{list-style:none}
body .dt-columns>summary::-webkit-details-marker{display:none}
body .dt-columns>summary:after{content:'⌄';color:var(--teal);font-size:13px}
body .dt-columns[open]>summary{border-color:var(--teal)}
body .dt-column-menu{position:absolute;inset-inline-end:0;top:calc(100% + 7px);width:230px;max-width:calc(100vw - 40px);max-height:320px;overflow:auto;z-index:30;padding:10px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px var(--shadow,#0003)}
body .dt-column-menu label{display:flex;flex-direction:row;align-items:center;gap:9px;min-width:0;min-height:34px;margin:0;padding:6px 7px;border-radius:5px;font-size:12px;font-weight:500;cursor:pointer}
body .dt-column-menu label:hover{background:var(--panel)}
body .dt-column-menu input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0;flex:0 0 16px;accent-color:var(--teal)}
body .dt-column-menu small{display:block;margin:8px 5px 2px;padding-top:9px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.8}
body .dt-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body .dt-toolbar+.dt-host{margin-top:0!important;border-top:0;border-radius:0 0 12px 12px;max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) var(--paper)}
body .dt-host .dt-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed!important;margin:0;font-variant-numeric:tabular-nums}
body .dt-host .dt-table th,body .dt-host .dt-table td{max-width:none;min-width:0;text-align:center!important;vertical-align:middle!important;overflow-wrap:anywhere;line-height:1.8;padding:14px 13px!important;height:auto!important}
body .dt-host .dt-table th{position:sticky;top:0;z-index:2;background:var(--table-head,var(--panel));color:var(--ink);border-bottom:1px solid var(--line);font-size:12px;font-weight:650;white-space:normal;padding:9px 10px!important}
body .dt-host .dt-table td{background:var(--paper);color:var(--ink);font-size:13px;border-bottom:1px solid var(--line);border-inline-end:1px solid color-mix(in srgb,var(--line) 38%,transparent)}
body .dt-host .dt-table td:last-child{border-inline-end:0}
body .dt-host .dt-table tbody tr:nth-child(even) td{background:var(--row-even,var(--paper))}
body .dt-host .dt-table tbody tr:hover td{background:var(--panel)}
body .dt-host .dt-table tbody tr.is-selected td{background:var(--selected,var(--accent-soft));border-bottom-color:var(--selected-line,var(--line))}
body .dt-host .dt-table tbody tr:last-child td{border-bottom:0}
body .dt-host .dt-table .code-cell,body .dt-host .dt-table .mission-code,body .dt-host .dt-table .workspace-identity,body .dt-host .dt-table .workspace-identity *,body .dt-host .dt-table .member-identity-cell *,body .dt-host .dt-table .workspace-note-preview{text-align:center!important}
body .dt-host .dt-table .row-actions,body .dt-host .dt-table .member-person,body .dt-host .dt-table .form-chips{justify-content:center!important;align-items:center!important;margin-inline:auto}
body .dt-host .dt-table .row-actions{max-width:none;flex-wrap:wrap;gap:7px}
body .dt-host .dt-table .member-person{gap:9px}
body .dt-host .dt-table td>.badge{margin-inline:auto}
body .dt-host .dt-table .action-cell{position:static;box-shadow:none}
body .dt-host .dt-table .dt-sort-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:transparent;color:inherit;border:0;box-shadow:none;padding:4px 0;min-height:28px;height:auto;width:100%;min-width:0;border-radius:5px;font:inherit;font-weight:650;text-align:center;white-space:normal;transform:none}
body .dt-host .dt-table .dt-sort-button:hover{background:transparent;color:var(--teal);box-shadow:none;transform:none}
body .dt-sort-icon{flex:0 0 11px;font:600 15px/1 system-ui,sans-serif;color:var(--muted)}
body .dt-heading[aria-sort=ascending] .dt-sort-icon,body .dt-heading[aria-sort=descending] .dt-sort-icon{color:var(--teal)}
body .dt-resize{position:absolute;inset-inline-end:0;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;user-select:none;z-index:5;outline-offset:-3px}
body .dt-resize:after{content:'';position:absolute;inset-inline-end:4px;top:24%;bottom:24%;width:2px;background:var(--line);border-radius:2px}
body .dt-resize:hover:after,body .dt-resize:focus-visible:after{background:var(--teal);width:3px}
body.dt-resizing,body.dt-resizing *{cursor:col-resize!important;user-select:none!important}
body .dt-host .dt-table [data-dt-hidden]{display:none!important}
body .dt-host .dt-table.dt-compact td{padding:7px 10px!important;font-size:12px}
body .dt-host .dt-table.dt-compact .member-avatar{width:30px;height:30px;flex-basis:30px;border-radius:8px;font-size:13px}
body .dt-host .dt-table.dt-compact .row-actions{gap:5px}
body .dt-toolbar :is(button,summary,input):focus-visible,body .dt-sort-button:focus-visible,body .dt-resize:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:760px){
 body .dt-toolbar{padding:10px;gap:8px}
 body .dt-info{width:100%;justify-content:space-between;gap:6px}
 body .dt-tools{width:100%;gap:5px}
 body .dt-tools .dt-tool,body .dt-columns>summary{min-height:34px;padding:6px 8px;font-size:10px}
 body .dt-column-menu{inset-inline-start:0;inset-inline-end:auto}
 body .dt-host .assignment-table.dt-table{display:block;width:100%!important;min-width:0!important;table-layout:auto!important}
 body .dt-host .assignment-table.dt-table colgroup{display:none}
 body .dt-host .assignment-table.dt-table td{padding:7px!important}
 body .dt-host .assignment-table.dt-table .select-cell{padding:0!important}
 body .dt-host .assignment-table.dt-table .action-cell{justify-content:center}
 body .dt-host .assignment-table.dt-table td:nth-child(2){padding-inline:32px!important}
}
@media(max-width:700px){
 body .dt-host .publication-table.dt-table{display:block;width:100%!important;min-width:0!important;table-layout:auto!important}
 body .dt-host .publication-table.dt-table colgroup{display:none}
 body .dt-host .publication-table.dt-table td{padding:8px!important}
}

/* A search-first boundary bank with three explicit entry paths. */
body .boundary-bank .bank-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
body .boundary-bank .bank-section-title h3{margin:0;font-size:15px;color:var(--ink)}
body .bank-search-panel{padding:19px 20px 15px;border:1px solid var(--selected-line);border-radius:13px;background:var(--field)}
body .bank-source-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}
body .bank-source-label .icon{width:16px;height:16px;color:var(--teal)}
body #boundaryBankSearch{display:flex;align-items:center;gap:9px;margin:0;max-width:none}
body #boundaryBankSearch label{min-width:0;flex:1}
body #boundaryBankSearch input{min-height:44px;background:var(--paper);font-size:13px}
body #boundaryBankSearch button{height:auto;min-height:42px;flex:none;white-space:nowrap}
body #bankSearchHint{margin:10px 0 0;font-size:12px}
body .bank-add-section{margin-top:24px}
body .bank-workflow-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body button.bank-workflow-choice{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:15px 13px;border-radius:11px;background:var(--panel);border:1px solid var(--line);text-align:start;min-width:0;white-space:normal;box-shadow:none}
body .bank-workflow-choice>span:nth-child(2){flex:1;min-width:0}
body .bank-workflow-choice strong{display:block;font-size:13px;font-weight:700;color:var(--ink);line-height:1.8}
body .bank-workflow-choice small{display:block;font-size:11px;font-weight:400;color:var(--muted);line-height:1.9;margin-top:3px}
body .bank-choice-icon{display:grid;place-items:center;width:34px;height:38px;flex-shrink:0;color:var(--teal)}
body .bank-choice-icon .icon{width:23px;height:23px}
body .bank-choice-arrow{color:var(--muted);font-size:19px;font-weight:400}
body button.bank-workflow-choice:hover{background:var(--hover);border-color:var(--selected-line);transform:none;box-shadow:none}
body button.bank-workflow-choice[aria-expanded=true]{background:var(--selected);border-color:var(--teal)}
body .bank-workflow-choice[aria-expanded=true] .bank-choice-arrow{color:var(--teal)}
body .bank-workflow-panels>.manual-area-box{margin-top:13px;overflow:hidden;background:var(--field)}
body .bank-workflow-panels>.manual-area-box>summary{padding:14px 18px;background:var(--panel);font-size:13px;list-style:none}
body .bank-workflow-panels>.manual-area-box>summary:after{content:'⌃';margin-inline-start:auto;color:var(--teal);font-size:18px}
body .bank-workflow-panels .bank-panel-hint{font-size:12px;color:var(--muted);line-height:2;margin:16px 18px 0}
body .bank-workflow-panels .manual-area-form{margin:0;padding:18px;gap:17px 20px}
body .bank-workflow-panels .manual-area-form input,body .bank-workflow-panels .manual-area-form select{background:var(--paper)}
body .bank-workflow-panels .manual-area-form .form-actions{padding-top:8px}
body .bank-optional{grid-column:1/-1;border:1px solid var(--line);border-radius:9px;background:var(--paper);overflow:hidden}
body .bank-optional>summary,body .manual-area-box[open] .bank-optional>summary{padding:11px 14px;font-size:12px;background:transparent;border:0;border-radius:0;color:var(--muted)}
body .bank-optional>summary:before{content:'＋';color:var(--teal);font-size:15px}
body .bank-optional[open]>summary:before{content:'−'}
body .bank-optional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:5px 15px 17px}
body .bank-optional-grid>label{min-width:0}
body .bank-source-body{padding:17px 18px;line-height:2;font-size:13px}
body .bank-source-body p{margin:0 0 13px}
body .bank-source-body .soft{background:var(--paper);padding:10px 13px}
body .bank-list-section{margin-top:26px;min-width:0}
body .bank-list-section>.help{margin:0 0 14px}
body #boundaryBankStatus{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
body .bank-list-section .manual-area-list{margin-bottom:0;max-height:440px}
body #bankNoResultAdd{margin-top:12px}
body .bank-next-step{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:17px 0 0;margin-top:22px;color:var(--muted);font-size:12px;line-height:1.9}
body .bank-next-step>span{display:flex;color:var(--teal)}
body .bank-next-step p{flex:1;margin:0}
body .bank-next-step a{color:var(--teal);white-space:nowrap;text-underline-offset:4px}
@media(max-width:1100px) and (min-width:761px){
 body button.bank-workflow-choice{gap:6px;padding:12px 9px}
 body .bank-choice-icon{width:24px}
 body .bank-choice-arrow{display:none}
}
@media(max-width:760px){
 body .bank-search-panel{padding:14px}
 body .boundary-bank .bank-section-title{gap:7px}
 body #boundaryBankSearch{flex-wrap:wrap;gap:8px}
 body #boundaryBankSearch label{flex-basis:calc(100% - 90px)}
 body #boundaryBankSearch button{width:auto}
 body #boundaryBankClear{margin-inline-start:auto;font-size:11px;min-height:34px!important}
 body .bank-workflow-choices{grid-template-columns:1fr;gap:8px}
 body button.bank-workflow-choice{padding:12px;gap:10px}
 body .bank-workflow-choice strong{font-size:13px}
 body .bank-workflow-choice small{margin:0}
 body .bank-workflow-panels .manual-area-form{padding:14px;gap:14px}
 body .bank-workflow-panels .bank-panel-hint{margin:13px 14px 0}
 body .bank-optional-grid{grid-template-columns:1fr;padding:4px 12px 14px}
 body .bank-next-step{flex-wrap:wrap}
 body .bank-next-step p{flex-basis:calc(100% - 40px)}
 body .bank-next-step a{margin-inline-start:30px}
 body .bank-list-section{margin-top:23px}
}


/* Overview: warm editorial photography and a clearer operational hierarchy. */
body #overview .overview-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:stretch;gap:0;min-height:322px;padding:0;border:1px solid #3b626a;border-radius:19px;background:#102d3b;box-shadow:0 16px 38px #020c152b;isolation:isolate}
body #overview .overview-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:none;min-width:0;padding:30px 34px;z-index:2}
body #overview .overview-hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid #3c6570;border-radius:7px;background:#163a46;color:#a5ebdc;font-size:11px;margin:0 0 9px}
body #overview .overview-hero-eyebrow .icon{width:15px;height:15px}
body #overview .overview-hero h1{font-size:clamp(26px,2.25vw,36px);line-height:1.7;margin:0 0 6px;letter-spacing:-.6px}
body #overview .overview-hero h1 em{color:#8cebd5}
body #overview .overview-hero p{font-size:13px;line-height:2;color:#c3dce3;margin:0 0 18px}
body #overview .overview-hero-actions{gap:9px;align-items:center}
body #overview .overview-hero-actions :is(button,.button){min-height:42px;font-size:12px;padding:10px 13px;border-radius:9px}
body #overview .overview-hero .button.quiet{background:#183c49;border-color:#52737e;color:#e3f2f5}
body #overview .overview-context{flex-direction:row;align-items:center;flex-wrap:wrap;white-space:normal;gap:8px 12px;margin-top:22px;padding-top:16px;border-top:1px solid #34525f;width:100%;font-size:10px;color:#b8d0d9}
body #overview .overview-context .badge{background:#1a4349;color:#c3f1e5;border:1px solid #3b6a70;padding:4px 8px;font-size:10px}
body #overview .overview-hero-visual{position:relative;min-width:0;min-height:322px;overflow:hidden;direction:ltr;background:linear-gradient(140deg,#466171,#ab8459)}
body #overview .overview-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:37% 52%;display:block}
body #overview .overview-hero-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,#102d3b 0%,#102d3b66 13%,transparent 43%),linear-gradient(0deg,#071c2bd6,transparent 45%);pointer-events:none;z-index:1}
body #overview .overview-photo-inset{position:absolute;right:18px;bottom:25px;width:39%;height:126px;z-index:2;border:4px solid #254553;border-radius:13px;overflow:hidden;box-shadow:0 10px 28px #010e1d65;transform:rotate(-3deg);background:#1d3947}
body #overview .overview-photo-inset img{width:100%;height:100%;object-fit:cover;object-position:50% 53%;display:block}
body #overview .overview-photo-caption{position:absolute;left:22px;bottom:24px;display:inline-flex;align-items:center;gap:7px;z-index:2;color:#f6e3c5;font-size:11px;direction:rtl;text-shadow:0 1px 4px #071b27}
body #overview .overview-photo-caption .icon{width:15px;height:15px;color:#f5ce91}
body #overview .overview-metrics{margin:18px 0 22px;gap:12px}
body #overview .overview-metric{--stat-accent:#83e4cf;display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:10px 9px;align-content:start;min-height:170px;padding:18px 16px;border-radius:14px;background:linear-gradient(145deg,#173b49,#112f3d);border-color:#355563;box-shadow:0 7px 18px #020e181f;overflow:hidden}
body #overview .overview-metric:nth-child(2){--stat-accent:#91d4ed}
body #overview .overview-metric:nth-child(3){--stat-accent:#8ad9cb}
body #overview .overview-metric:nth-child(4){--stat-accent:#c2bdec}
body #overview .overview-metric:nth-child(5){--stat-accent:#9acde6}
body #overview .overview-metric.attention-metric{--stat-accent:#f5ce91;background:linear-gradient(145deg,#3c3b33,#303638);border-color:#87734f}
body #overview .overview-metric:after{content:'';position:absolute;inset-inline-start:0;top:21px;width:3px;height:32px;background:var(--stat-accent);border-radius:4px}
body #overview .overview-metric>[data-icon]{position:static;grid-column:2;grid-row:1;width:36px;height:36px;padding:8px;border-radius:10px;background:#244755;border:1px solid #416773;color:var(--stat-accent)}
body #overview .overview-metric .metric-label{grid-column:1;grid-row:1;display:flex;align-items:center;min-height:36px;padding:0;color:#c2d6df;font-size:11px;line-height:1.9}
body #overview .overview-metric strong{grid-column:1/-1;font-size:35px;line-height:1.25;font-weight:750;color:#e9f4f5}
body #overview .overview-metric small{grid-column:1/-1;margin:0;min-height:36px;color:#abc6d0;font-size:10px;line-height:1.9}
body #overview .overview-metric.attention-metric>[data-icon]{background:#4b493e;border-color:#75674b;color:#f5ce91}
body #overview .overview-metric.attention-metric :is(.metric-label,small){color:#e6d8c0}
body #overview .overview-metric:hover{border-color:var(--stat-accent);background:#1b414e;box-shadow:0 8px 22px #020d192b}
body #overview .overview-metric.attention-metric:hover{background:#42443b}
body #overview .overview-panel{border-radius:15px;border-color:#345563;background:linear-gradient(145deg,#143644,#112f3d);box-shadow:0 5px 19px #020d171a;padding:22px}
body #overview .panel-heading{margin-bottom:16px;padding-bottom:14px;border-color:#335463}
body #overview .panel-heading h2{font-size:15px;line-height:1.8}
body #overview .panel-heading .eyebrow{color:#a3c5cf;font-size:10px;margin-bottom:4px}
body #overview .panel-heading>a{font-size:11px;color:#8cebd5}
body #overview .overview-line{padding:13px 0;gap:12px}
body #overview .overview-line strong{font-size:12px;line-height:1.85}
body #overview .overview-line small{font-size:11px;line-height:1.9}
body #overview .overview-avatar{width:38px;height:38px;flex-basis:38px;border-radius:11px;background:#254956;border-color:#3f6873;color:#a7ecdf}
body #overview .attention-panel .overview-line>.icon{padding:7px;width:34px;height:34px;flex-basis:34px;border-radius:9px;background:#3d4037;border:1px solid #6d674c;color:#f5ce91}
body #overview .overview-empty{padding:24px 12px;min-height:125px;font-size:12px;line-height:2}
body #overview .overview-empty>.icon{width:30px;height:30px;padding:5px;box-sizing:content-box;background:#1b414b;border-radius:12px;color:#8cebd5}
body #overview .publication-stage progress{height:7px}
@media(max-width:1200px){
 body #overview .overview-hero-copy{padding:26px}
 body #overview .overview-hero h1{font-size:28px}
 body #overview .overview-photo-inset{width:42%;height:108px;right:12px}
 body #overview .overview-photo-caption{left:14px;bottom:18px;font-size:10px}
}
@media(max-width:1000px) and (min-width:761px){
 body #overview .overview-hero{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 body #overview .overview-hero-copy{padding:23px}
 body #overview .overview-hero h1{font-size:25px}
 body #overview .overview-photo-inset{display:none}
 body #overview .overview-photo-caption{left:12px;bottom:20px}
 body #overview .overview-hero-actions :is(button,.button){font-size:11px;padding:9px 10px}
}
@media(max-width:760px){
 body #overview .overview-hero{display:flex;flex-direction:column;min-height:0;border-radius:15px;gap:0}
 body #overview .overview-hero-copy{padding:23px 21px;width:100%}
 body #overview .overview-hero h1{font-size:27px}
 body #overview .overview-hero p{font-size:12px;margin-bottom:15px}
 body #overview .overview-context{margin-top:18px;padding-top:14px;font-size:10px;gap:8px}
 body #overview .overview-hero-visual{width:100%;height:176px;min-height:176px}
 body #overview .overview-landscape{object-position:42% 48%}
 body #overview .overview-hero-visual:after{background:linear-gradient(180deg,#102d3b 0%,#102d3b00 30%),linear-gradient(0deg,#071c2bb8,transparent 45%)}
 body #overview .overview-photo-inset{display:none}
 body #overview .overview-photo-caption{left:18px;bottom:16px;font-size:11px}
 body #overview .overview-metrics{gap:10px;margin:14px 0 18px}
 body #overview .overview-metric{grid-template-columns:minmax(0,1fr) 31px;gap:9px 6px;min-height:154px;padding:15px 12px;border-radius:12px}
 body #overview .overview-metric>[data-icon]{width:31px;height:31px;padding:7px;border-radius:9px}
 body #overview .overview-metric .metric-label{min-height:34px;font-size:10px}
 body #overview .overview-metric strong{font-size:31px}
 body #overview .overview-metric small{font-size:10px;min-height:36px}
 body #overview .overview-panel{padding:18px!important}
 body #overview .panel-heading h2{font-size:14px}
 body #overview .panel-heading>a{font-size:10px}
}

body #overview .overview-metric>[data-icon]{display:grid;place-items:center}
body #overview .overview-metric>[data-icon]>.icon{width:18px;height:18px}

/* Adjustable glass surfaces: tint only, with solid text and form controls. */
:root{--glass-opacity:.8;--glass-inner-opacity:calc(.18 + var(--glass-opacity) * .55)}
html[data-glass=on] body:before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 12% 24%,#45868432 0%,transparent 48%),radial-gradient(ellipse at 72% 72%,#526b9228 0%,transparent 48%),radial-gradient(ellipse at 40% 100%,#97774919 0%,transparent 45%)}
html[data-glass=on] body .workspace main>.card.view,
html[data-glass=on] body #overview .overview-panel,
html[data-glass=on] body #overview .overview-metric{background:linear-gradient(140deg,#c2eef707,transparent 55%),rgba(17,47,61,var(--glass-opacity));border-color:#8cc9d24d;box-shadow:inset 0 1px 0 #defbff0d,0 8px 26px #020c1529;backdrop-filter:none}
html[data-glass=on] body #overview .overview-metric.attention-metric{background:linear-gradient(140deg,#f5ce9108,transparent 55%),rgba(59,57,48,var(--glass-opacity));border-color:#c9a66d80}
html[data-glass=on] body :is(.manual-area-box,.publish-builder,.publish-policy-row,.report-workbench,.analytics-records,.dashboard-filters){background-color:rgba(17,47,61,var(--glass-inner-opacity));background-image:none;backdrop-filter:none}
html[data-glass=on] body dialog,
html[data-glass=on] body #publicationEditorDialog{background:linear-gradient(140deg,#c2eef707,transparent 55%),rgba(17,47,61,max(.84,var(--glass-opacity)));border-color:#91c7d266;box-shadow:inset 0 1px 0 #defbff14,0 28px 80px #020c1573;backdrop-filter:none}
html[data-glass=on] body dialog::backdrop{background:#030f1bc7;backdrop-filter:none}
html[data-glass=on] body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:var(--field)}
body .appearance-toggle{display:inline-flex;gap:7px;align-items:center;min-height:36px;padding:7px 10px;font-size:12px;white-space:nowrap}
body .appearance-toggle>.icon{width:17px;height:17px}
body .appearance-toggle[aria-expanded=true]{background:var(--selected);border-color:var(--mint);color:var(--mint)}
body #appearancePanel{position:fixed;inset:auto;margin:0;z-index:90;width:310px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;padding:20px;border:1px solid #527986;border-radius:16px;background:#112f3d;color:var(--ink);box-shadow:0 18px 54px #020b1670;font:13px/1.9 Vazirmatn,Tahoma,sans-serif;opacity:1;backdrop-filter:none}
body #appearancePanel[hidden]{display:none!important}
body #appearancePanel::backdrop{background:transparent;pointer-events:none}
body .appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;margin-bottom:16px;border-bottom:1px solid var(--line)}
body .appearance-heading .eyebrow{color:var(--mint);font-size:10px;margin:0 0 3px}
body .appearance-heading h2{font-size:17px;margin:0;line-height:1.8}
body #closeAppearance{width:30px;height:30px;min-height:30px;padding:6px;background:var(--panel);border-color:var(--line)}
body #closeAppearance>.icon{width:16px;height:16px}
body .appearance-range-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
body .appearance-range-label label{flex:1;min-width:0;font-size:12px;font-weight:600;margin:0}
body #panelTransparencyValue{font-size:15px;line-height:1.8;color:var(--mint);font-variant-numeric:tabular-nums;min-width:45px;text-align:center;padding:2px 7px;border-radius:7px;background:#1b434b;border:1px solid #3c6970}
body #appearancePanel #panelTransparency{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;min-height:28px;padding:0;margin:6px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;accent-color:var(--mint);touch-action:pan-y}
body #panelTransparency::-webkit-slider-runnable-track{height:6px;border-radius:8px;background:linear-gradient(90deg,#385766,#62b8af);border:1px solid #507581}
body #panelTransparency::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:2px solid #b7ffed;border-radius:50%;background:var(--mint);box-shadow:0 2px 7px #020c1555}
body #panelTransparency::-moz-range-track{height:5px;border:1px solid #507581;border-radius:8px;background:#436f79}
body #panelTransparency::-moz-range-thumb{width:15px;height:15px;border:2px solid #b7ffed;border-radius:50%;background:var(--mint)}
body #appearancePanel #panelTransparency:focus-visible{outline:2px solid var(--mint);outline-offset:4px;border-radius:6px}
body .appearance-range-endpoints{display:flex;justify-content:space-between;direction:ltr;color:var(--muted);font-size:10px;margin-top:3px}
body #transparencyHint{font-size:11px;color:var(--muted);line-height:1.95;margin:15px 0}
body #resetAppearance{width:100%;min-height:36px;padding:7px 10px;font-size:11px;background:var(--panel);border-color:#466975;color:var(--ink)}
@media(max-width:760px){body .appearance-toggle{min-height:34px;padding:6px 8px;font-size:11px;gap:5px}body .appearance-toggle>.icon{width:16px;height:16px}body #appearancePanel{padding:17px}}


/* Desktop sidebar width and icon rail; mobile retains its horizontal menu. */
:root{--sidebar-width:232px;--sidebar-expanded-width:232px}
body .sidebar-controls,body #sidebarResize,body #sidebarDrawerBackdrop{display:none}
@media(min-width:1101px){
 html body #appSidebar{position:fixed;top:0;bottom:0;inset-inline-start:0;width:var(--sidebar-width);padding:24px 14px 16px;z-index:60;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3c606c transparent;transition:width .14s ease}
 html body .workspace{margin-inline-start:var(--sidebar-width);transition:margin-inline-start .14s ease}
 body #appSidebar .brand{gap:10px;padding:0 5px 16px;min-width:0}
 body #appSidebar .brand>span:last-child{min-width:0}
 body #appSidebar .brand [data-app-name]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body #appSidebar .brand small{font-size:10px}
 body #appSidebar .sidebar-controls{display:flex;padding:0 0 10px;margin-bottom:5px;border-bottom:1px solid #2d4c5a}
 body #sidebarToggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:34px;padding:6px 8px;border:1px solid #365967;border-radius:8px;background:#143440;color:#bcd4dc;font-size:11px}
 body #sidebarToggle:hover{background:#1b414c;color:#b8ffee;border-color:#5e9c9c;transform:none;box-shadow:none}
 body #sidebarToggle .sidebar-toggle-icon{display:flex;align-items:center;justify-content:center}
 body #sidebarToggle .icon{width:17px;height:17px}
 body #appSidebar nav{min-width:0}
 body #appSidebar .nav-link{min-width:0;gap:10px;padding:10px}
 body #appSidebar .nav-link>span[data-icon]{display:grid;place-items:center;width:20px;flex:0 0 20px}
 body #appSidebar .nav-link>span[data-icon]>.icon{width:19px;height:19px}
 body #appSidebar .nav-link>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
 body #sidebarResize{display:block;position:fixed;inset-block:0;inset-inline-start:calc(var(--sidebar-width) - 5px);width:10px;z-index:65;cursor:col-resize;touch-action:none;user-select:none;outline-offset:-2px;background:transparent}
 body #sidebarResize:after{content:'';position:absolute;top:calc(50% - 25px);bottom:auto;left:4px;width:2px;height:50px;border-radius:4px;background:#527681;opacity:.75}
 body #sidebarResize:hover,body #sidebarResize:focus-visible{background:#62e0c80c}
 body #sidebarResize:hover:after,body #sidebarResize:focus-visible:after{background:var(--mint);width:3px;opacity:1}
 body #sidebarResize:focus-visible{outline:2px solid var(--mint)}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar{padding:20px 10px 14px}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .brand{justify-content:center;padding:0 0 15px;gap:0}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .brand>span:last-child,
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .sidebar-toggle-label,
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .nav-group,
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .nav-link>span:nth-child(2),
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .nav-number,
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .sidebar-foot{display:none}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .sidebar-controls{padding-bottom:11px;margin-bottom:9px}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #sidebarToggle{width:40px;min-height:34px;padding:7px;margin-inline:auto}
 html[data-sidebar-collapsed=true]:not([data-sidebar-drawer=true]) body #appSidebar .nav-link{justify-content:center;width:44px;min-height:43px;padding:10px;margin-inline:auto;gap:0;border-radius:10px}
 html[data-sidebar-drawer=true] body #appSidebar{width:var(--sidebar-expanded-width);box-shadow:-16px 0 50px #020c1559}
 html[data-sidebar-drawer=true] body #sidebarResize{inset-inline-start:calc(var(--sidebar-expanded-width) - 5px)}
 html[data-sidebar-drawer=true] body #sidebarToggle{border-color:#5a9494;color:#b8ffee;background:#1b434a}
 body #sidebarDrawerBackdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:50;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#020e1973;backdrop-filter:none;box-shadow:none;cursor:default;transform:none}
 body #sidebarDrawerBackdrop[hidden]{display:none!important}
 body.sidebar-resizing,body.sidebar-resizing *{cursor:col-resize!important;user-select:none!important}
 body.sidebar-resizing #appSidebar,body.sidebar-resizing .workspace{transition:none!important}
}
@media(max-width:1100px){
 body #sidebarResize{display:none!important}
 body #appSidebar .brand>span:last-child,body #appSidebar .nav-link>span:nth-child(2){display:block}
}
@media(prefers-reduced-motion:reduce){html body #appSidebar,html body .workspace{transition:none}}
html.reduce-motion body #appSidebar,html.reduce-motion body .workspace{transition:none}

/* Long explanations stay readable in the page, modal dialogs and popovers. */
body #uiTooltip{width:max-content;max-width:min(430px,calc(100vw - 16px));max-height:min(440px,60dvh);overflow:auto;overscroll-behavior:contain;white-space:pre-line;overflow-wrap:anywhere;text-align:start;direction:rtl;font-size:12px;line-height:1.95;padding:13px 16px;border:1px solid #648893;border-radius:12px;background:#0a2432;color:#eef7f7;box-shadow:0 10px 32px #020e1966;pointer-events:auto;z-index:10000;scrollbar-width:thin;scrollbar-color:#659f9b #0a2432}
body #uiTooltip[hidden]{display:none!important}
@media(max-width:600px){body #uiTooltip{font-size:11.5px;max-height:55dvh;padding:11px 13px}}

/* Publishing is a guided workflow; history keeps a stable page size below it. */
body #publish-section{padding:22px;overflow:visible}
body #publish-section .publish-heading{display:block;margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
body #publish-section .section-heading{margin:0;gap:12px}
body #publish-section .section-heading h2{font-size:21px}
body #publish-section .section-icon{width:42px;height:42px;border-radius:12px}
body #publish-section .publish-next-action{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #458c89;border-radius:13px;background:rgba(32,100,100,.23);margin-bottom:16px;min-width:0}
body #publish-section .publish-next-icon{display:grid;place-items:center;width:35px;height:35px;flex:none;color:var(--teal)}
body #publish-section .publish-next-action>div{flex:1;min-width:0}
body #publish-section .publish-next-action .eyebrow{font-size:11px;margin:0 0 4px;color:#94ecd8}
body #publish-section #publishHint{font-size:12px;line-height:1.9;margin:0;padding:0;overflow-wrap:anywhere}
body #publish-section #publishNextLink{font-size:11px;min-height:36px;flex:none;padding:8px 12px}
body #publish-section .publish-flow{display:grid;grid-template-columns:1fr 1fr 1.1fr;align-items:stretch;gap:12px;background:none;border:0;margin:0;padding:0}
body #publish-section .publish-step{min-width:0;border:1px solid var(--line);border-radius:14px;background:rgba(17,47,61,var(--glass-opacity, .8));padding:16px;display:flex;flex-direction:column;gap:12px;position:relative}
body #publish-section .publish-step[data-state=current]{border-color:#51968e;box-shadow:inset 0 3px #64dfc6}
body #publish-section .publish-step[data-state=complete]{border-color:#3e776f}
body #publish-section .publish-step-heading{display:flex;align-items:center;gap:10px}
body #publish-section .publish-step-number{width:32px;height:32px;flex:none;border-radius:10px;display:grid;place-items:center;background:#254953;color:#b5d7df;font-size:17px;font-weight:800}
body #publish-section [data-state=current] .publish-step-number,body #publish-section [data-state=complete] .publish-step-number{background:#245b57;color:#a0f3df}
body #publish-section .publish-step-heading h3{margin:0 0 4px;font-size:14px;line-height:1.6}
body #publish-section .publish-step-state{font-size:10px;line-height:1.7;color:var(--muted)}
body #publish-section .publish-step-description{margin:0;font-size:11px;line-height:1.95;color:#bfd4db}
body #publish-section .publish-step .selected-user{margin:0;padding:10px;min-width:0;font-size:11px;line-height:1.9;display:block;border:1px solid var(--line);background:#0b263455}
body #publish-section .selected-user a{display:none}
body #publish-section .publish-text-link{font-size:11px;color:#83e5d3;text-decoration:none;align-self:flex-start;line-height:1.8}
body #publish-section .publish-form-choice{display:block;margin-top:2px}
body #publish-section .publish-form-choice>label{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:11px;white-space:normal}
body #publish-section .publish-form-choice select{width:100%;height:40px;min-height:40px;font-size:12px}
body #publish-section .publish-form-choice .badge{font-size:10px;display:inline-flex;margin-top:7px}
body #publish-section .publish-policy-row{display:flex;gap:8px;align-items:center;border-block:1px solid var(--line);padding:10px 0;margin:0;background:none}
body #publish-section .publish-policy-row>div{display:flex;flex:1;flex-direction:column;align-items:start;gap:5px;min-width:0}
body #publish-section .publish-policy-row strong{font-size:11px;white-space:normal;overflow:visible;line-height:1.8}
body #publish-section .publish-policy-row .muted{font-size:10px}
body #publish-section .publish-policy-row button{font-size:10px;min-height:32px;padding:5px 8px}
body #publish-section #build,body #publish-section #publish{width:100%;min-height:42px;font-size:12px;padding:9px 12px;margin-top:auto}
body #publish-section #build{background:#244c5c;border:1px solid #58919d;color:#e4f4f7}
body #publish-section #publish{background:#64dfc6;color:#073c37;border:1px solid #64dfc6;font-weight:800}
body #publish-section #build:disabled,body #publish-section #publish:disabled{opacity:.5}
body #publish-section .build-details-link{white-space:normal;min-height:36px;font-size:11px;margin:0}
body #publish-section .publish-readiness{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px;font-size:11px;line-height:1.8}
body #publish-section .publish-readiness li{display:flex;align-items:start;gap:7px;margin:0}
body #publish-section .publish-ready-mark{font-weight:800;color:#efc587}
body #publish-section .publish-readiness li[data-ready=true] .publish-ready-mark{color:#83e8c7}
body #publish-section .publish-readiness a{color:#f0cf9f;text-decoration:underline;text-underline-offset:3px}
body #publish-section .publish-status-row{grid-template-columns:minmax(0,1fr) 28px!important;align-items:center;gap:6px;min-width:0;margin:0}
body #publish-section .access-review-compact{white-space:normal;font-size:10px;padding:8px;display:flex;align-items:start;gap:8px;line-height:1.9}
body #publish-section .access-review-compact input{flex:none;margin-top:3px}
body #publish-section .publish-account-hint{margin:0;gap:0}
body #publish-section .publish-account-hint:has(>button[hidden]){display:none}
body #publish-section #publishAccountReview{width:100%;white-space:normal;font-size:10px;padding:7px}
body #publish-section #publishDailyNotice{font-size:10px;color:#aec7d0}
body #publish-section .publish-map-context{display:flex;align-items:center;gap:12px;margin:14px 0 23px;font-size:11px;min-width:0}
body #publish-section .publish-map-context>span{min-width:0;overflow-wrap:anywhere}
body #publish-section #publishMapOpen{font-size:11px;min-height:36px;flex:none;padding:7px 10px}
body #publish-section .publish-history-heading{margin:0;padding-top:19px;border-top:1px solid var(--line)}
body #publish-section .worklist-heading h3{font-size:16px}
body #publish-section .publish-history-hint{margin:7px 0 14px;color:var(--muted);font-size:11px;line-height:1.9}
body #publish-section .history-tools{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:14px}
body #publish-section .history-tools>label{display:flex;flex-direction:column;gap:6px;font-size:11px}
body #publish-section .history-tools input,body #publish-section .history-tools select{height:39px;min-height:39px;font-size:11px;margin:0}
body #publish-section #publicationResetFilters{height:39px;min-height:39px;font-size:10px;padding:6px 9px}
body #publish-section .report-pager{margin-top:14px;min-height:36px}
body #publish-section .publish-footer-links{margin-top:15px;padding-top:12px}
body #publications.dt-host{max-width:100%;overflow-x:auto;overflow-y:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#5b9298 #102c3a}
@media(max-width:1200px){body #publish-section .publish-flow{grid-template-columns:repeat(2,minmax(0,1fr))}body #publish-section #publishSendStep{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}body #publish-section #publishSendStep .publish-step-heading{grid-column:1/-1}body #publish-section #publishSendStep #publish{margin-top:0}body #publish-section .history-tools{grid-template-columns:repeat(2,minmax(0,1fr))}body #publish-section .history-tools>.search-compact{grid-column:auto}}
@media(max-width:760px){body #publish-section{padding:16px}body #publish-section .publish-flow{grid-template-columns:1fr}body #publish-section #publishSendStep{display:flex;grid-column:auto}body #publish-section .publish-next-action{flex-wrap:wrap;padding:12px;gap:8px}body #publish-section #publishNextLink{margin-inline-start:43px;max-width:calc(100% - 43px)}body #publish-section .publish-map-context{align-items:start;flex-direction:column;gap:7px}body #publish-section .history-tools{grid-template-columns:1fr 1fr}body #publish-section .history-tools>.search-compact{grid-column:1/-1}body #publish-section #publicationResetFilters{grid-column:1/-1}body #publish-section .publish-step{padding:15px}body #publish-section .section-heading h2{font-size:19px}body #publish-section .publish-next-icon{width:28px}}

/* Publication column resizing shares the available width rather than scrolling. */
body #publications.dt-host{width:100%;min-width:0;overflow:visible;overscroll-behavior-x:auto}
body #publications.dt-host .dt-table{width:100%!important;min-width:0!important}
body #publications.dt-host .dt-table th,body #publications.dt-host .dt-table td{white-space:normal;word-break:normal}
body #publications.dt-host .dt-table th{position:relative}
body #publications.dt-host .dt-sort-button{gap:3px;padding-inline:4px}
body #publications.dt-host .dt-heading-label{min-width:0;overflow-wrap:normal}
body #publications.dt-host .row-actions{width:100%;flex-wrap:wrap;gap:4px;min-width:0}
body #publications.dt-host .row-actions .icon-action{flex:0 0 28px}
body #publications.dt-host :is(.workspace-identity strong,.workspace-identity small:not(.workspace-note-preview),.publication-boundaries>span){display:block!important;white-space:normal;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
body #publications.dt-host :is(.badge,.code-cell,.publication-boundaries){white-space:normal;overflow-wrap:anywhere}

/* Readable table proportions and a quieter, consistent visual hierarchy. */
body .dt-toolbar{padding:13px 16px;gap:12px;background:var(--paper);border-radius:14px 14px 0 0}
body .dt-info{gap:8px 14px}
body .dt-row-count{font-size:12px}
body .dt-scope{font-size:11px;opacity:.9}
body .dt-toolbar+.dt-host{border-radius:0 0 14px 14px}
body .dt-host .dt-table th,body .dt-host .dt-table td{padding:15px 12px!important;line-height:1.85;word-break:normal;overflow-wrap:break-word}
body .dt-host .dt-table th{padding:12px 14px!important;min-height:54px;font-size:12px;font-weight:650;overflow-wrap:normal;word-break:normal;background:color-mix(in srgb,var(--panel) 80%,var(--paper));border-bottom:1px solid var(--line)}
body .dt-host .dt-table td{font-size:13px;border-inline-end:0;transition:background-color .12s}
body .dt-host .dt-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--paper) 94%,var(--panel))}
body .dt-host .dt-table tbody tr:hover td{background:color-mix(in srgb,var(--paper) 72%,var(--accent-soft))}
body .dt-host .dt-table tbody tr.is-selected td{background:var(--selected,var(--accent-soft));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--teal) 18%,transparent)}
body .dt-host .dt-table .dt-sort-button{gap:7px;line-height:1.7;padding:0;overflow-wrap:normal;word-break:normal}
body .dt-host .dt-heading-label{min-width:0;overflow-wrap:normal;word-break:normal;text-wrap:balance}
body .dt-sort-icon{opacity:1;font-size:13px;flex-basis:10px}
body .dt-heading:hover .dt-sort-icon,body .dt-heading[aria-sort=ascending] .dt-sort-icon,body .dt-heading[aria-sort=descending] .dt-sort-icon{opacity:1}
body .dt-resize:after{width:1px;top:30%;bottom:30%;opacity:.45}
body .dt-heading:hover .dt-resize:after,body .dt-resize:focus-visible:after{opacity:1}
body .dt-host .dt-table .row-actions{gap:6px}
body .dt-host .dt-table .icon-action{width:30px;min-width:30px;height:30px;min-height:30px;padding:6px!important;border-radius:8px;box-shadow:none}
body .dt-host .dt-table .select-row{max-width:100%;min-height:34px;padding:6px 12px;line-height:1.7;white-space:normal;word-break:normal;overflow-wrap:normal;box-shadow:none}
body .dt-host .dt-table .badge{font-size:11px;line-height:1.7;padding:4px 9px;border-radius:6px;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
body .dt-host .dt-table .member-person{flex-wrap:wrap;gap:8px}
body .dt-host .dt-table .workspace-identity strong{font-size:13px;line-height:1.85}
body .dt-host .dt-table .workspace-identity small{font-size:11px;line-height:1.8}
body #publications.dt-host .publication-boundaries>span{font-size:12px;line-height:1.9;overflow-wrap:break-word}
body #publications.dt-host .dt-sort-button{padding:0;gap:7px}
body #publications.dt-host .row-actions .icon-action{flex-basis:30px}
body #publications.dt-host .dt-table th{overflow-wrap:normal}
body #publications.dt-host .dt-table td{overflow-wrap:break-word}
body .dt-host .dt-table.dt-compact td{padding:9px 12px!important}
body .view table:not(.dt-table) :is(th,td){text-align:center;vertical-align:middle;line-height:1.85}
/* When the host cannot hold readable columns, each publication becomes a card. */
body #publications.dt-host .dt-table.dt-stacked{display:block;width:100%!important;min-width:0!important}
body #publications.dt-host .dt-stacked :is(thead,colgroup){display:none}
body #publications.dt-host .dt-stacked tbody{display:grid;gap:12px;width:100%;padding:12px;background:transparent;box-sizing:border-box}
body #publications.dt-host .dt-stacked tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:0;border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden}
body #publications.dt-host .dt-stacked td{display:block;width:auto!important;min-width:0;padding:12px 8px!important;border:0;box-shadow:none!important;background:transparent!important}
body #publications.dt-host .dt-stacked td:before{content:attr(data-label);display:block;margin-bottom:6px;color:var(--muted);font-size:11px;line-height:1.8;text-align:center}
body #publications.dt-host .dt-stacked td.workspace-identity{grid-column:1/-1;grid-row:1;padding:12px!important;border-bottom:1px solid var(--line)}
body #publications.dt-host .dt-stacked td.workspace-identity:before{display:none}
body #publications.dt-host .dt-stacked td.action-cell{grid-column:1/-1;border-top:1px solid var(--line)}
body #publications.dt-host .dt-stacked .row-actions{gap:8px}
body #publications.dt-host .dt-stacked tr.is-selected{border-color:var(--teal);background:var(--selected,var(--accent-soft))}
@media(prefers-reduced-motion:reduce){body .dt-host .dt-table td{transition:none}}

body #manualMetadataDetails textarea{width:100%;min-height:68px;resize:vertical}
/* A separate preview dialog keeps long addresses out of narrow table columns. */
body .point-metadata-preview{font-size:12px;white-space:normal;line-height:1.8;max-width:100%;padding:6px 10px;border:1px solid var(--line);color:var(--teal)}
body .point-metadata-dialog{width:min(680px,calc(100vw - 28px));max-width:680px;box-sizing:border-box;overflow:auto}
body #pointMetadataLocation{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}
body #pointMetadataValues{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);margin:0;gap:0;line-height:1.9;font-size:13px}
body #pointMetadataValues dt,body #pointMetadataValues dd{margin:0;padding:11px 12px;border-bottom:1px solid var(--line);min-width:0}
body #pointMetadataValues dt{color:var(--muted)}
body #pointMetadataValues dd{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);unicode-bidi:plaintext}
@media(max-width:500px){body #pointMetadataValues{grid-template-columns:1fr}body #pointMetadataValues dt{padding-bottom:2px;border:0;font-size:12px}body #pointMetadataValues dd{padding-top:2px}}
body .point-import-conflicts{padding:16px;border:1px solid color-mix(in srgb,var(--warning,#e2ad62) 65%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--warning,#e2ad62) 8%,transparent);min-width:0}
body .point-import-conflicts ul{margin:10px 0;padding-inline-start:22px;max-height:180px;overflow:auto;overflow-wrap:anywhere}
body .point-import-conflicts .check{display:flex;align-items:flex-start;gap:10px;margin-block:12px;line-height:1.9}
body .point-import-conflicts input{flex:0 0 auto;margin-block-start:6px}
body .point-import-blocked{padding:14px 16px;border:1px solid color-mix(in srgb,var(--danger,#e38185) 70%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--danger,#e38185) 10%,transparent);min-width:0}
body .point-import-blocked strong{display:block;color:var(--ink);margin-bottom:5px}
body .point-import-blocked p{margin:0;line-height:2;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--ink)}
body #assignmentEditorDialog .assignment-area-source{display:block;max-width:430px;margin-top:14px}
body #assignmentEditorDialog .search-row{max-width:none;margin-bottom:8px}
body #assignmentEditorDialog #areaResults{max-height:min(42vh,380px);overflow-y:auto;min-width:0}
body #assignmentAreaPagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-block:12px}
body #assignmentAreaPageLabel{margin-inline-end:auto}
/* Keep the location selection action reachable in narrow assignment dialogs. */
body #areaResults.dt-host .dt-table.dt-stacked{display:block;width:100%!important;min-width:0!important}
body #areaResults.dt-host .dt-stacked :is(thead,colgroup){display:none}
body #areaResults.dt-host .dt-stacked tbody{display:grid;gap:10px;width:100%;padding:10px;box-sizing:border-box}
body #areaResults.dt-host .dt-stacked tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow:hidden}
body #areaResults.dt-host .dt-stacked td{display:block;width:auto!important;min-width:0;padding:8px!important;border:0;box-shadow:none!important;background:transparent!important;overflow-wrap:anywhere}
body #areaResults.dt-host .dt-stacked td:before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:11px;line-height:1.8;text-align:center}
body #areaResults.dt-host .dt-stacked td:nth-child(2){grid-column:1/-1;grid-row:1;font-weight:700}
body #areaResults.dt-host .dt-stacked td.select-cell{grid-column:1/-1}
body #areaResults.dt-host .dt-stacked td.select-cell:before{display:none}
body #areaResults.dt-host .dt-stacked .select-row{width:100%}
body #areaResults.dt-host .dt-stacked tr.is-selected{border-color:var(--teal);background:var(--selected,var(--accent-soft))}

/* Assignment editor: one clear selection step and one configuration step. */
body #assignmentEditorDialog{--assignment-dialog-pad:22px;width:min(800px,calc(100vw - 24px));max-width:800px;max-height:calc(100dvh - 24px);padding:var(--assignment-dialog-pad);box-sizing:border-box;overflow-y:auto;overflow-x:hidden;scroll-padding-block:74px 100px}
body #assignmentEditorDialog .member-dialog-heading{top:calc(-1 * var(--assignment-dialog-pad));margin:calc(-1 * var(--assignment-dialog-pad)) calc(-1 * var(--assignment-dialog-pad)) 0;padding:18px var(--assignment-dialog-pad);background:var(--paper);z-index:5}
body #assignmentEditorDialog .member-dialog-heading h2{margin:0}
body #assignmentEditorDialog #assignmentEditorUser{display:inline-flex;align-items:center;min-height:32px;max-width:100%;margin:15px 0 8px;padding:4px 11px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);line-height:1.7;overflow-wrap:anywhere}
body #assignmentEditorDialog #assignmentEditorStatus{margin:4px 0 14px}
body #assignmentEditorDialog .assignment-step{margin-top:8px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--field)}
body #assignmentEditorDialog .assignment-step-heading{display:flex;align-items:flex-start;gap:11px;min-width:0;margin-bottom:16px}
body #assignmentEditorDialog .assignment-step-number{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:var(--accent-soft);color:var(--mint);font-size:13px;font-weight:800}
body #assignmentEditorDialog .assignment-step-heading h3{margin:0;color:var(--ink);font-size:15px;line-height:1.7}
body #assignmentEditorDialog .assignment-step-heading p{margin:1px 0 0;color:var(--muted);font-size:11px;line-height:1.8}
body #assignmentEditorDialog .assignment-pick-controls{display:grid;grid-template-columns:minmax(185px,.8fr) minmax(0,1.5fr);gap:12px;align-items:end}
body #assignmentEditorDialog .assignment-area-source{display:flex;max-width:none;margin:0}
body #assignmentEditorDialog .search-row{margin:0;min-width:0}
body #assignmentEditorDialog .assignment-pick-controls label{font-size:12px;min-width:0}
body #assignmentEditorDialog .assignment-pick-controls :is(input,select){height:42px;min-height:42px}
body #assignmentEditorDialog .search-row button{height:42px;min-height:42px;white-space:nowrap}
body #assignmentEditorDialog #assignmentAreaHint{margin:10px 0 0;font-size:11px;line-height:1.8}
body #assignmentEditorDialog #areaResults{max-height:none;overflow:visible;min-width:0;margin:12px 0 0;border:0;background:transparent}
body #assignmentEditorDialog #areaResults .empty-state{border:1px dashed var(--line);border-radius:10px;background:var(--paper);padding:18px}
body #assignmentEditorDialog .assignment-area-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body #assignmentEditorDialog .assignment-area-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:69px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);text-align:start;box-shadow:none}
body #assignmentEditorDialog .assignment-area-option:hover{border-color:var(--selected-line);background:var(--hover);transform:none}
body #assignmentEditorDialog .assignment-area-option:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
body #assignmentEditorDialog .assignment-area-option.is-selected{border-color:var(--selected-line);background:var(--selected)}
body #assignmentEditorDialog .assignment-area-option-details{display:grid;gap:4px;min-width:0;flex:1}
body #assignmentEditorDialog .assignment-area-option-details strong{font-size:12px;font-weight:700;line-height:1.7;overflow-wrap:anywhere}
body #assignmentEditorDialog .assignment-area-option-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.6}
body #assignmentEditorDialog .assignment-area-option-meta bdi{font-variant-numeric:tabular-nums;color:var(--teal)}
body #assignmentEditorDialog .assignment-area-option-meta span:before{content:'·';margin-inline-end:7px;color:var(--muted)}
body #assignmentEditorDialog .assignment-area-option-action{flex:0 0 auto;padding:5px 8px;border:1px solid var(--line);border-radius:7px;color:var(--teal);font-size:10px;white-space:nowrap}
body #assignmentEditorDialog .assignment-area-option.is-selected .assignment-area-option-action{border-color:var(--selected-line);background:var(--accent-soft)}
body #assignmentEditorDialog #assignmentAreaPagination{justify-content:flex-end;margin:13px 0 0}
body #assignmentEditorDialog #assignmentAreaPageLabel{font-size:11px}
body #assignmentEditorDialog #assignmentAreaPagination button{min-height:34px;padding:5px 10px;font-size:11px}
body #assignmentEditorDialog .assignment-selected-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;margin:14px 0 3px}
body #assignmentEditorDialog .assignment-selected-row:has(#selectedArea[hidden]){display:none}
body #assignmentEditorDialog #selectedArea{margin:0;padding:11px 14px;border:1px solid var(--selected-line);border-inline-start:4px solid var(--mint);border-radius:10px;background:var(--selected);color:var(--ink);font-size:12px;line-height:1.8;min-width:0;overflow-wrap:anywhere}
body #assignmentEditorDialog #selectedArea bdi{color:var(--teal)}
body #assignmentEditorDialog .assignment-selected-row button{min-height:44px;white-space:nowrap;font-size:12px}
body #assignmentEditorDialog #assignmentForm{display:block;margin:18px 0 0}
body #assignmentEditorDialog #assignmentForm>.assignment-step-heading{margin-bottom:14px}
body #assignmentEditorDialog .assignment-rules,body #assignmentEditorDialog .assignment-details{margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--field)}
body #assignmentEditorDialog .assignment-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body #assignmentEditorDialog .assignment-rules h4{grid-column:1/-1;margin:0 0 2px;color:var(--ink);font-size:12px}
body #assignmentEditorDialog .assignment-rules>.check{min-width:0;min-height:52px;margin:0;padding:10px 12px;line-height:1.8;font-size:11px;align-items:center;background:var(--paper)}
body #assignmentEditorDialog .assignment-rules>.check:has(input:checked){border-color:var(--selected-line);background:var(--selected)}
body #assignmentEditorDialog .assignment-rules>.check:has(input:disabled){opacity:.65;cursor:not-allowed}
body #assignmentEditorDialog .assignment-rules #accuracyLabel{grid-column:1/-1;max-width:240px;min-width:0;font-size:11px}
body #assignmentEditorDialog .assignment-rules #maxAccuracy{min-height:40px;height:40px}
body #assignmentEditorDialog .assignment-rules #gpsHint{grid-column:1/-1;margin:0;font-size:11px;line-height:1.8}
body #assignmentEditorDialog .assignment-details>label{position:relative;min-width:0;font-size:12px}
body #assignmentEditorDialog .assignment-details>label>button{position:absolute;top:0;inset-inline-end:0}
body #assignmentEditorDialog .assignment-details #assignNote{min-height:42px}
body #assignmentEditorDialog .assignment-details fieldset{margin:16px 0 0;padding:13px}
body #assignmentEditorDialog .assignment-details legend{font-size:12px;color:var(--ink)}
body #assignmentEditorDialog #formChoices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body #assignmentEditorDialog #formChoices .check{min-width:0;margin:0;padding:10px;font-size:11px;line-height:1.8}
body #assignmentEditorDialog #assignmentForm>.form-actions{bottom:calc(-1 * var(--assignment-dialog-pad));display:flex;gap:9px;justify-content:flex-start;margin:16px calc(-1 * var(--assignment-dialog-pad)) calc(-1 * var(--assignment-dialog-pad));padding:12px var(--assignment-dialog-pad);border-top:1px solid var(--line);background:var(--footer);z-index:4}
body #assignmentEditorDialog #assignmentForm>.form-actions button{min-height:40px}
/* Keep the page behind the glass dialog from competing with form labels. */
html[data-glass=on] body #assignmentEditorDialog{backdrop-filter:blur(14px) saturate(1.08)}
body #assignmentEditorDialog #selectedArea{font-size:13px}
body #assignmentEditorDialog .assignment-details>label{font-size:13px}
body #assignmentEditorDialog .assignment-rules h4,body #assignmentEditorDialog .assignment-details legend{font-size:13px}
body #assignmentEditorDialog .assignment-rules>.check,body #assignmentEditorDialog #formChoices .check{font-size:12px;min-height:48px;line-height:1.85}
body #assignmentEditorDialog .assignment-rules #accuracyLabel,body #assignmentEditorDialog .assignment-rules #gpsHint{font-size:12px;line-height:1.9}
body #assignmentEditorDialog :is(#maxAccuracy,#assignNote){min-height:44px;font-size:13px}
body #assignmentEditorDialog #formChoices .check:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:620px){
 body #assignmentEditorDialog{--assignment-dialog-pad:15px}
 body #assignmentEditorDialog .assignment-pick-controls,body #assignmentEditorDialog .assignment-area-options,body #assignmentEditorDialog .assignment-rules,body #assignmentEditorDialog #formChoices{grid-template-columns:1fr}
 body #assignmentEditorDialog .assignment-selected-row{grid-template-columns:1fr}
 body #assignmentEditorDialog .assignment-selected-row button{width:100%}
 body #assignmentEditorDialog #assignmentForm>.form-actions button{flex:1;min-width:0;white-space:normal}
}

body .bank-map-launch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin:0 0 20px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(115deg,color-mix(in srgb,var(--teal) 10%,transparent),transparent)}
body .bank-map-launch strong{font-size:15px;color:var(--ink)}
body .bank-map-launch .help{margin:5px 0 0}
body .bank-map-launch>button{flex:0 0 auto;white-space:nowrap}
body .bank-webgis-dialog{width:calc(100vw - 32px);max-width:1560px;height:calc(100dvh - 32px);max-height:100dvh;box-sizing:border-box;padding:20px;overflow:auto;border-radius:16px;display:none}
body .bank-webgis-dialog[open]{display:flex;flex-direction:column;gap:12px}
body .bank-webgis-dialog .member-dialog-heading{flex:0 0 auto;margin:0;gap:12px}
body .bank-webgis-dialog h2{font-size:21px;margin:2px 0 0}
body .bank-map-eyebrow{font-size:11px;color:var(--muted)}
body .bank-map-toolbar{display:flex;align-items:end;gap:12px;flex:0 0 auto;min-width:0}
body .bank-map-toolbar>label{display:flex;flex-direction:column;gap:6px;min-width:0;flex:0 1 270px;font-size:12px}
body .bank-map-toolbar>.bank-map-search{flex:1 1 360px}
body .bank-map-toolbar :is(input,select){width:100%;box-sizing:border-box;height:42px;font-size:13px}
body .bank-map-toolbar>button{height:42px;white-space:nowrap}
body .bank-map-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;flex:0 0 auto}
body #bankMapCount{font-size:13px;font-weight:600}
body .bank-map-key{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0;padding:0;font-size:11px;color:var(--muted)}
body .bank-map-key li{display:flex;align-items:center;gap:6px}
body .bank-map-symbol{width:15px;height:12px;border-radius:3px;display:inline-block;border:2px solid currentColor;background:color-mix(in srgb,currentColor 18%,transparent)}
body .bank-map-symbol-base{color:#4c9fdb}
body .bank-map-symbol-manual{color:#edb35e}
body .bank-map-symbol-circle{color:#55cdb8;width:11px;height:11px;border-radius:50%}
body .bank-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;flex:1 1 420px;min-height:250px;min-width:0;direction:ltr}
body .bank-map-stage{position:relative;min-width:0;min-height:250px}
body .bank-map-canvas{width:100%;height:100%;min-height:250px;box-sizing:border-box;direction:ltr;border-radius:12px;border:1px solid var(--line);background-color:#102d39;background-image:linear-gradient(#37677721 1px,transparent 1px),linear-gradient(90deg,#37677721 1px,transparent 1px);background-size:36px 36px;isolation:isolate}
body .bank-map-loading{position:absolute;inset:0;display:grid;place-content:center;z-index:750;pointer-events:none;background:color-mix(in srgb,var(--field) 55%,transparent);color:var(--ink);border-radius:12px;font-size:13px;backdrop-filter:blur(2px)}
body .bank-map-side{overflow:auto;direction:rtl;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--field) 70%,transparent);padding:15px;min-width:0}
html[dir=ltr] body .bank-map-side{direction:ltr}
body .bank-map-side h3{margin:0 0 12px;font-size:14px}
body .bank-map-side .help{font-size:12px;line-height:2}
body .bank-map-location-name{font-size:15px;line-height:1.9;overflow-wrap:anywhere;margin:0 0 12px;color:var(--teal)}
body .bank-map-attributes{display:grid;grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr);gap:0;margin:0;font-size:12px;line-height:1.9}
body .bank-map-attributes :is(dt,dd){padding:8px 0;margin:0;border-bottom:1px solid var(--line);min-width:0;overflow-wrap:anywhere}
body .bank-map-attributes dt{color:var(--muted);padding-inline-end:8px}
body .bank-map-attributes dd{color:var(--ink);white-space:pre-wrap;unicode-bidi:plaintext}
body .bank-map-result-list{display:grid;gap:7px;margin-bottom:18px;max-height:220px;overflow:auto}
body .bank-map-result{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;text-align:start;padding:9px 11px;font-size:12px;line-height:1.8}
body .bank-map-result strong{font-size:12px;overflow-wrap:anywhere}
body .bank-map-result bdi{flex-shrink:0;color:var(--muted);font-size:11px}
body .bank-map-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;flex:0 0 auto;font-size:12px}
body .bank-map-footer>.check{padding:0;border:0;margin:0;background:transparent;display:flex;align-items:center;gap:7px;font-size:12px}
body .bank-map-footer>.help{flex:1 1 300px;margin:0;font-size:11px}
body .bank-webgis-tooltip.leaflet-tooltip{font-family:Vazirmatn,Tahoma,sans-serif;max-width:min(340px,calc(100vw - 55px));min-width:180px;padding:13px 15px;white-space:normal;border-radius:11px;background:#102b37f7;border:1px solid #618894;color:#edf7fa;box-shadow:0 10px 35px #0005;pointer-events:none}
body .bank-map-tooltip-card>strong{display:block;font-size:13px;line-height:1.9;overflow-wrap:anywhere;margin-bottom:4px}
body .bank-webgis-tooltip .bank-map-attributes{font-size:11px;--line:#39606b;--ink:#edf7fa;--muted:#b8d0d8}
body .bank-webgis-tooltip .bank-map-attributes :is(dt,dd){padding-block:4px}
body .bank-map-canvas .leaflet-control-attribution{background:#e8f2f0df;font-size:10px;color:#123b4b}
body .bank-map-canvas .leaflet-control-scale-line{background:#f3f6f0dd;color:#173948}
@media(max-width:850px){body .bank-webgis-dialog{padding:14px;width:calc(100vw - 16px);height:calc(100dvh - 16px)}body .bank-map-layout{grid-template-columns:minmax(0,1fr) 245px}body .bank-map-toolbar{flex-wrap:wrap}body .bank-map-toolbar>.bank-map-search{flex-basis:100%}body .bank-map-toolbar>label{flex:1 1 180px}body .bank-map-toolbar>button{flex:0 1 auto}body .bank-map-key{gap:7px;font-size:10px}}
@media(max-width:600px){body .bank-map-launch{align-items:stretch;flex-direction:column;gap:12px;padding:15px}body .bank-webgis-dialog[open]{gap:10px}body .bank-webgis-dialog h2{font-size:17px}body .bank-map-layout{display:flex;flex-direction:column;min-height:0;flex:1 0 auto}body .bank-map-stage,body .bank-map-canvas{height:46dvh;min-height:280px}body .bank-map-side{max-height:36dvh;overflow:auto;padding:12px}body .bank-map-toolbar>label{flex:1 1 180px}body .bank-map-toolbar>button{flex:1 1 100%}body .bank-map-summary{gap:7px}body #bankMapCount{font-size:12px}body .bank-map-key{font-size:10px;gap:6px}body .bank-map-footer>.help{flex-basis:100%}body .bank-map-canvas .leaflet-control-attribution{max-width:220px;font-size:9px}}
body .bank-visit-filters{flex:0 0 auto;border:1px solid var(--line);border-radius:10px;padding:10px 13px;margin:0;background:color-mix(in srgb,var(--field) 70%,transparent)}
body .bank-visit-filters>summary{font-size:12px;font-weight:600;cursor:pointer}
body .bank-visit-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) auto auto;gap:10px;align-items:end;margin-top:10px}
body .bank-visit-filter-grid label{display:grid;gap:5px;min-width:0;font-size:11px}
body .bank-visit-filter-grid select{width:100%;height:37px;min-width:0;font-size:11px;padding:6px 8px}
body .bank-visit-filter-grid button{height:37px;padding:6px 10px;font-size:11px;white-space:nowrap}
body #bankMapVisitNotice,body #bankMapPhotoHint{font-size:11px;line-height:1.9;margin:8px 0 0}
body .bank-webgis-dialog .is-warning{color:#f2c183}
body .bank-visit-layer-tools{display:flex;align-items:center;gap:10px 17px;flex-wrap:wrap;flex:0 0 auto}
body .bank-visit-layer-tools>.check{display:flex;align-items:center;gap:6px;font-size:11px;margin:0;padding:0;border:0;background:transparent}
body .bank-map-visited-key{font-size:11px;color:#ceb9fa;margin-inline-start:auto}
body .bank-map-visits{margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}
body .bank-visit-list{display:grid;gap:8px;max-height:230px;overflow:auto}
body .bank-visit-open{display:grid;gap:5px;width:100%;box-sizing:border-box;text-align:start;padding:10px 11px;min-width:0}
body .bank-visit-open strong{font-size:12px;line-height:1.9;overflow-wrap:anywhere}
body .bank-visit-open>span,body .bank-visit-open small{font-size:10px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}
body .detail-item>strong{overflow-wrap:anywhere;unicode-bidi:plaintext;line-height:1.9}
body .bank-visit-open.is-selected{border-color:#b396ee;background:color-mix(in srgb,#a98ae8 16%,var(--field))}
body .bank-visit-tags{color:#d1c1f4!important}
body .bank-visit-detail h4{font-size:12px;margin:14px 0 7px}
body .bank-visit-detail{font-size:12px;line-height:1.9;overflow-wrap:anywhere}
body .bank-visit-detail>p{white-space:pre-wrap}
body .bank-visit-photo{display:flex;align-items:center;gap:7px;width:100%;margin-top:7px;padding:8px 10px;font-size:11px;text-align:start;overflow-wrap:anywhere}
body .bank-visit-photo span{min-width:0}
body .bank-visit-tooltip-count{font-size:11px;font-weight:600;color:#d4c3fb;border-top:1px solid #45616d;padding-top:6px;margin:8px 0 0}
/* Leaflet panes have no content width. Give the outer tooltip its own size;
   otherwise a wrapping flex child collapses to a one-character column. */
body .bank-photo-map-tooltip.leaflet-tooltip{width:max-content;min-width:min(160px,calc(100vw - 40px));max-width:min(280px,calc(100vw - 40px));box-sizing:border-box;padding:9px 12px;white-space:normal;direction:rtl;text-align:start;font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px;line-height:1.8;border-radius:9px;background:#102b37f7;color:#edf7fa;border:1px solid #618894;box-shadow:0 6px 20px #0004}
body .bank-photo-map-tooltip.leaflet-tooltip-top:before{border-top-color:#618894}
body .bank-photo-tooltip{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word}
body .bank-photo-tooltip>.icon{width:16px;height:16px;flex:0 0 16px}
body .bank-photo-tooltip-label{display:block;flex:1 1 auto;min-width:0;white-space:normal;word-break:normal;overflow-wrap:anywhere;unicode-bidi:plaintext;line-height:1.8}
@media(max-width:1150px){body .bank-visit-filter-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}body .bank-visit-filter-grid button{min-width:0}body .bank-map-layout{min-height:260px}}
@media(max-width:600px){body .bank-visit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body .bank-visit-filter-grid button{white-space:normal;line-height:1.5;height:auto;min-height:38px}body .bank-visit-layer-tools{gap:9px}body .bank-map-visited-key{margin-inline-start:0}body .bank-map-side{max-height:60dvh}body .bank-visit-filters{padding:10px}body .bank-visit-layer-tools>.check{font-size:10px}body .bank-visit-detail{max-width:100%}}

/* The map owns the view. Tools are small overlays and never shrink its canvas. */
body .bank-webgis-dialog{width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:0;overflow:hidden;border-radius:13px}
body .bank-webgis-dialog[open]{gap:0}
body .bank-map-header{display:flex;align-items:center;gap:16px;flex:0 0 auto;min-width:0;padding:9px 14px;border-bottom:1px solid var(--line);background:var(--paper)}
body .bank-map-header h2{font-size:16px;white-space:nowrap;margin:0;flex-shrink:0}
body .bank-map-header>.icon-button{flex:0 0 auto;margin-inline-start:auto;width:32px;height:32px}
body .bank-map-actions{display:flex;align-items:center;gap:7px;min-width:0}
body .bank-map-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:7px 10px;min-height:32px;white-space:nowrap}
body .bank-map-actions>button[aria-expanded=true]{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 14%,var(--paper))}
body .bank-map-actions b{display:inline-grid;place-items:center;min-width:17px;height:17px;border-radius:5px;background:var(--teal);color:var(--field);font-size:10px}
body .bank-map-layout{position:relative;display:block;direction:inherit;flex:1 1 0;min-height:0;min-width:0;overflow:hidden}
body .bank-map-stage{position:absolute;inset:0;min-height:0;height:auto}
body .bank-map-canvas{height:100%;min-height:0;border:0;border-radius:0}
body .bank-map-loading{border-radius:0}
body .bank-map-floating-search{position:absolute;inset-block-start:12px;inset-inline-start:12px;z-index:800;width:min(360px,calc(100% - 24px));border-radius:9px;box-shadow:0 4px 18px #0003}
body .bank-map-floating-search label{display:block;margin:0}
body .bank-map-visit-summary{position:absolute;inset-block-end:12px;inset-inline-end:12px;z-index:800;display:flex;align-items:center;gap:10px;max-width:calc(100% - 100px);box-sizing:border-box;padding:5px 6px 5px 12px;border:1px solid #526f7a;border-radius:9px;background:var(--paper);box-shadow:0 4px 18px #0003;font-size:11px;line-height:1.8}
body .bank-map-visit-summary .icon-button{flex:0 0 auto;width:28px;height:28px;padding:5px}
html[dir=rtl] body .bank-map-visit-summary{inset-inline-end:58px}
body .bank-map-canvas .leaflet-bar a{background:var(--paper);color:var(--ink);border-color:var(--line);text-decoration:none}
body .bank-map-canvas .leaflet-bar a:hover,body .bank-map-canvas .leaflet-bar a:focus{background:var(--field);color:var(--teal)}
body .bank-map-canvas .leaflet-bar a.leaflet-disabled{color:var(--muted);background:var(--field)}
body .bank-map-floating-search input{width:100%;height:40px;box-sizing:border-box;margin:0;border-color:#5b818c;background:color-mix(in srgb,var(--field) 96%,transparent);font-size:12px;padding-inline:13px;border-radius:9px;box-shadow:none}
body .bank-map-floating-panel{position:absolute;inset-block-start:64px;inset-inline-start:12px;z-index:810;width:min(320px,calc(100% - 24px));max-height:calc(100% - 78px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;direction:inherit;padding:14px;border:1px solid #526f7a;border-radius:12px;background:color-mix(in srgb,var(--paper) 97%,#0b2029);box-shadow:0 12px 35px #0005;scrollbar-width:thin}
body .bank-map-floating-panel[hidden],body .bank-map-actions b[hidden]{display:none!important}
body .bank-map-panel-heading{position:sticky;inset-block-start:-14px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding:5px 0 10px;border-bottom:1px solid var(--line);background:var(--paper)}
body .bank-map-panel-heading h3{margin:0;font-size:13px}
body .bank-map-panel-heading>.icon-button{width:26px;height:26px;padding:4px;flex-shrink:0}
body .bank-map-source-label{display:grid;gap:5px;font-size:11px}
body .bank-map-source-label select{width:100%;height:36px;font-size:11px;box-sizing:border-box}
body .bank-visit-filters{padding:0;border:0;background:none;border-radius:0;margin:10px 0 0}
body .bank-visit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
body .bank-visit-filter-grid label:first-child{grid-column:1/-1}
body .bank-visit-filter-grid select{height:36px;box-sizing:border-box}
body .bank-visit-filter-grid button{height:auto;min-height:36px;white-space:normal;line-height:1.7}
body .bank-map-tools-panel .bank-visit-layer-tools{display:grid;gap:13px}
body .bank-map-tools-panel .bank-visit-layer-tools>.check{font-size:12px;align-items:start}
body .bank-map-tools-panel .bank-visit-layer-tools input{flex:0 0 auto;margin-top:3px}
body .bank-map-tools-panel .check:has(#bankMapShowVisits)::after,body .bank-map-tools-panel .check:has(#bankMapShowPhotos)::after{content:'';flex:0 0 auto;width:9px;height:9px;margin-inline-start:auto;margin-top:5px;border-radius:50%;background:#a58be5}
body .bank-map-tools-panel .check:has(#bankMapShowPhotos)::after{background:#f5ad68}
body .bank-map-tools-panel .check:has(#bankMapShowTracks)::after{content:'';flex:0 0 auto;width:18px;height:3px;background:#f8da84;margin-inline-start:auto;margin-top:8px}
body .bank-map-key-title{margin:20px 0 10px;font-size:12px}
body .bank-map-key{display:grid;gap:10px;font-size:11px}
body .bank-map-key .bank-map-visited-key{margin:0}
body .bank-map-footer{gap:8px 15px;flex-wrap:nowrap;padding:6px 13px;min-height:26px;box-sizing:border-box;background:var(--paper);border-top:1px solid var(--line)}
body .bank-map-footer #bankMapCount{font-size:11px;white-space:nowrap;flex:0 0 auto}
body .bank-map-footer>.help{flex:1 1 0;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px}
body .bank-map-footer>span{font-size:10px;white-space:nowrap}
body .bank-map-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){body .bank-map-header{gap:8px;padding:8px 10px}body .bank-map-header h2{font-size:14px}body .bank-map-actions{gap:4px}body .bank-map-actions>button{font-size:10px;padding:6px 7px}}
@media(max-width:600px){body .bank-webgis-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}body .bank-map-header{flex-wrap:wrap;gap:6px;padding:8px 10px}body .bank-map-header h2{flex:1 1 auto;font-size:14px}body .bank-map-header>.icon-button{order:1}body .bank-map-actions{order:2;flex:1 1 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body .bank-map-actions>button{font-size:9px;white-space:normal;line-height:1.5;padding:5px 3px;gap:3px;min-width:0}body .bank-map-actions svg{width:13px;height:13px;flex-shrink:0}body .bank-map-floating-panel{inset-block-start:auto;inset-block-end:12px;width:calc(100% - 24px);max-height:52%;padding:12px}body .bank-map-floating-search{width:calc(100% - 24px)}body .bank-map-side{max-height:52%}body .bank-map-footer{padding:5px 10px}body .bank-map-footer #bankMapCount{font-size:10px;white-space:normal}body .bank-map-footer>.help{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px}body .bank-map-footer>span{margin-inline-start:auto}body .bank-map-canvas .leaflet-control-attribution{max-width:210px;font-size:9px}}

/* Workspace identity and dashboard masthead. Keep selectors scoped to the shell. */
body .workspace > .topbar {
  display:flex; align-items:center; justify-content:space-between;
  height:auto; min-height:104px; gap:20px; padding:16px 28px;
  background:linear-gradient(110deg,#143744 0%,#102d3b 62%,#0f2b38 100%);
  border-bottom:1px solid #3f6470; box-shadow:0 4px 20px #020d151a;
}
body .workspace-heading {display:flex;align-items:center;gap:24px;min-width:0;flex:1 1 auto}
body .topbar .breadcrumb {display:flex;align-items:center;gap:12px;min-width:130px;flex:0 1 auto}
body .topbar .workspace-emblem {
  display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;
  color:var(--mint);border:1px solid #4a7a7b;border-radius:13px;
  background:linear-gradient(140deg,#2c625e66,#153b47);box-shadow:inset 0 1px 0 #bdffed12;
}
body .topbar .workspace-emblem .icon {width:23px;height:23px}
body .topbar .workspace-page {display:grid;gap:2px;min-width:0}
body .topbar .workspace-app-name {display:block;max-width:180px;font-size:10px;line-height:1.8;color:#a5c4ce;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .topbar #pageTitle {display:block;font-size:17px;font-weight:750;line-height:1.8;color:var(--ink);white-space:normal}
body .topbar #changeProvince {
  display:flex;align-items:center;gap:11px;min-width:0;max-width:330px;
  min-height:58px;padding:9px 13px;text-align:start;border:1px solid #426674!important;
  border-radius:12px;background:#193d49!important;box-shadow:inset 0 1px 0 #d7fff708;
}
body .topbar #changeProvince:hover {background:#224b55!important;border-color:#74bfb0!important;transform:none}
body .workspace-scope-icon {display:grid;place-items:center;color:#94dfd2;flex:0 0 24px}
body .workspace-scope-icon .icon {width:22px;height:22px}
body .workspace-scope-copy {display:grid;gap:1px;min-width:0}
body .workspace-scope-label {font-size:10px;font-weight:400;color:#a8c8d1;line-height:1.7}
body .topbar #activeProvince {display:block;font-size:12px;font-weight:650;line-height:1.9;white-space:normal;overflow-wrap:anywhere;color:#d7f8ef;max-width:250px}
body .workspace-scope-chevron {width:7px;height:7px;flex:0 0 7px;margin-inline-start:9px;border-right:1.5px solid #92bebf;border-bottom:1.5px solid #92bebf;transform:rotate(45deg) translateY(-2px)}
body .topbar .top-actions {display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:0;flex:0 1 auto;width:auto}
body .workspace-meta {display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
body .topbar #cloudStatus {display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#bfd4dc;font-size:10px;line-height:1.9}
body .topbar #cloudStatus:before {content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#d9bd85;box-shadow:0 0 0 3px #d9bd8510}
body .topbar #cloudStatus.good:before {background:var(--mint);box-shadow:0 0 0 3px #62e0c815}
body .topbar #cloudStatus.good {color:#b4f1df}
body .topbar #todayDate {display:block;width:auto;max-width:340px;white-space:normal;font-size:10px;line-height:1.9;color:#a8c5ce;text-align:end}
body .workspace-tools {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}
body .topbar .workspace-tools :is(button,.button,select) {min-height:34px;box-sizing:border-box;border-radius:8px;font-size:11px}
body .topbar .workspace-tools :is(button,.button) {display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 10px;background:#163845;border-color:#3c606d;transform:none}
body .topbar .workspace-tools :is(button,.button):hover {background:#224854;border-color:#6a9e9f;box-shadow:none}
body .topbar .workspace-tools .icon {width:16px;height:16px}
body .topbar .workspace-tools .ui-language-switch {margin:0}
body .topbar .workspace-tools select {width:96px;padding:5px 9px;background:#102e3b;border-color:#3c606d}
body .topbar .workspace-tools #motionToggle {width:34px;min-width:34px;padding:7px}
body .topbar .workspace-tools .header-help {color:#b8f0e2;border-color:#487977;background:#1a4149}
body .topbar :is(button,a,select):focus-visible {outline:2px solid var(--mint);outline-offset:4px}

body #overview .overview-hero {
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-height:350px;
  border:1px solid #426771;border-radius:20px;background:#102f3c;
  box-shadow:0 16px 36px #020c152e,inset 0 1px 0 #d4fff509;
}
body #overview .overview-hero-copy {
  position:relative;padding:32px 36px;justify-content:center;
  background:radial-gradient(ellipse at 100% 0%,#37756b24,transparent 70%),linear-gradient(135deg,#143a47,#102e3b);
}
body #overview .overview-hero-topline {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;width:100%;margin-bottom:21px}
body #overview .overview-hero-eyebrow {padding:0;margin:0;border:0;border-radius:0;background:none;gap:8px;font-size:11px;letter-spacing:0;color:#c3e5e4}
body #overview #overviewScopeTag {font-size:10px;padding:3px 9px;border:1px solid #3c666a;background:#244f4f66;color:#a9ddce;border-radius:20px;line-height:1.8}
body #overview .overview-hero h1 {margin:0 0 10px;line-height:1.6;letter-spacing:-.6px;max-width:100%}
body #overview .overview-title-label {display:block;font-size:19px;font-weight:450;line-height:1.8;color:#c0d7de;letter-spacing:0}
body #overview .overview-hero h1 em {display:block;margin-top:1px;font-size:clamp(27px,2.2vw,38px);font-weight:800;color:#a3f1dc;overflow-wrap:anywhere}
body #overview #overviewIntro {margin:0 0 23px;font-size:13px;line-height:2;color:#b9d2dc}
body #overview .overview-hero-actions {gap:9px;width:100%;flex-wrap:wrap}
body #overview .overview-hero-actions :is(button,.button) {min-height:42px;padding:9px 14px;border-radius:9px;font-size:12px;gap:8px}
body #overview .overview-hero-actions .button:not(.quiet) {color:#073c38;background:var(--mint);border-color:var(--mint);box-shadow:0 4px 15px #62e0c812}
body #overview .overview-hero-actions .button:not(.quiet):hover {background:#92efda;border-color:#92efda}
body #overview .overview-hero-actions button.quiet {background:#173c49;color:#d2e8ed;border-color:#466875}
body #overview .overview-context {justify-content:space-between;align-items:center;margin-top:25px;padding-top:17px;gap:12px;border-color:#3f5c6580;font-size:10px;color:#a8c6d0}
body #overview .overview-updated {display:flex;align-items:flex-start;gap:7px;flex:1 1 200px;min-width:0;line-height:1.9}
body #overview .overview-updated>[data-icon] {display:flex;flex:0 0 13px;margin-top:3px}
body #overview .overview-updated .icon {width:13px;height:13px;color:#8aafaF}
body #overview .overview-guide-link {display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#b5e3da;text-decoration:none}
body #overview .overview-guide-link:hover {color:var(--mint);text-decoration:underline}
body #overview .overview-guide-link .icon {width:14px;height:14px}
body #overview .overview-hero-visual {min-height:350px;background:#294653}
body #overview .overview-landscape {object-position:38% 50%}
body #overview .overview-hero-visual:after {background:linear-gradient(to left,#102e3b 0%,#102e3b55 15%,transparent 48%),linear-gradient(0deg,#071c2be6,transparent 52%)}
body #overview .overview-photo-inset {right:22px;bottom:24px;width:38%;height:123px;border:3px solid #92bcba66;border-radius:12px;transform:none;box-shadow:0 10px 24px #010e1d6b}
body #overview .overview-photo-caption {left:20px;bottom:25px;padding:6px 9px;border:1px solid #c6e2d933;border-radius:7px;background:#0b26356b;backdrop-filter:blur(8px);font-size:10px;color:#e4eee2;text-shadow:none}
html[dir=ltr] body #overview .overview-hero-visual:after {background:linear-gradient(to right,#102e3b 0%,#102e3b55 15%,transparent 48%),linear-gradient(0deg,#071c2be6,transparent 52%)}

@media(max-width:1200px) {
  body .workspace > .topbar {padding:15px 22px;gap:18px}
  body .workspace-heading {gap:16px}
  body .topbar .breadcrumb {min-width:115px}
  body .topbar #pageTitle {font-size:15px}
  body .topbar #changeProvince {max-width:260px;padding:9px 11px}
  body .topbar #todayDate {max-width:245px}
  body #overview .overview-hero-copy {padding:28px}
  body #overview .overview-photo-inset {width:42%;right:14px;height:110px}
  body #overview .overview-photo-caption {left:12px;font-size:9px}
}
@media(max-width:1050px) and (min-width:761px) {
  body .workspace > .topbar {flex-wrap:wrap;gap:12px}
  body .workspace-heading {flex:1 1 100%;justify-content:space-between}
  body .topbar .top-actions {flex-direction:row;align-items:center;justify-content:space-between;width:100%;flex:1 1 100%}
  body .workspace-meta {justify-content:flex-start;gap:10px}
  body .topbar #todayDate {max-width:240px;font-size:9px;text-align:start}
  body #overview .overview-hero {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
  body #overview .overview-hero-copy {padding:24px}
  body #overview .overview-hero-topline {margin-bottom:15px}
  body #overview .overview-photo-inset {display:none}
  body #overview .overview-hero h1 em {font-size:27px}
}
@media(max-width:760px) {
  body .workspace > .topbar {padding:14px 16px;gap:12px;flex-direction:column;align-items:stretch;min-height:0}
  body .workspace-heading {justify-content:space-between;gap:12px;flex:initial;width:100%}
  body .topbar .breadcrumb {display:flex;min-width:0;gap:9px}
  body .topbar .breadcrumb .workspace-emblem {display:grid;width:37px;height:37px;flex-basis:37px;border-radius:10px}
  body .topbar .breadcrumb .workspace-page {display:grid}
  body .topbar .workspace-app-name {display:block;font-size:9px;max-width:120px}
  body .topbar #pageTitle {font-size:14px}
  body .topbar #changeProvince {min-height:49px;max-width:55%;gap:8px;padding:6px 10px}
  body .workspace-scope-icon {display:none}
  body .workspace-scope-label {font-size:9px}
  body .topbar #activeProvince {font-size:11px;line-height:1.7}
  body .topbar .top-actions {width:100%;align-items:stretch;flex:initial;gap:10px}
  body .workspace-meta {justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #3b596580}
  body .topbar #todayDate {display:block;font-size:9px;max-width:65%}
  body .topbar #cloudStatus {display:inline-flex;font-size:9px}
  body .workspace-tools {justify-content:flex-start;gap:7px}
  body .topbar .workspace-tools :is(button,.button,select) {min-height:34px;font-size:10px}
  body .topbar .workspace-tools select {width:88px}
  body #overview .overview-hero {display:flex;flex-direction:column;min-height:0;border-radius:16px}
  body #overview .overview-hero-copy {padding:23px 22px;width:100%}
  body #overview .overview-hero-topline {margin-bottom:17px}
  body #overview .overview-hero-eyebrow {font-size:10px}
  body #overview #overviewScopeTag {font-size:9px}
  body #overview .overview-title-label {font-size:16px}
  body #overview .overview-hero h1 em {font-size:29px;line-height:1.65}
  body #overview #overviewIntro {font-size:12px;margin-bottom:19px}
  body #overview .overview-context {margin-top:20px;padding-top:15px}
  body #overview .overview-hero-visual {height:168px;min-height:168px;width:100%}
  body #overview .overview-hero-visual:after,html[dir=ltr] body #overview .overview-hero-visual:after {background:linear-gradient(180deg,#102e3b 0%,#102e3b00 36%),linear-gradient(0deg,#071c2bb8,transparent 65%)}
  body #overview .overview-photo-inset {display:none}
  body #overview .overview-photo-caption {left:17px;bottom:15px;font-size:10px}
}
@media(max-width:400px) {
  body .topbar .workspace-emblem {display:none!important}
  body .topbar #changeProvince {max-width:59%;padding:6px 8px}
  body .workspace-scope-chevron {margin-inline-start:2px}
  body #overview .overview-hero-copy {padding:21px 18px}
  body #overview .overview-hero h1 em {font-size:26px}
  body #overview .overview-hero-actions :is(button,.button) {width:100%;min-height:42px;font-size:11px}
  body #overview .overview-context {align-items:flex-start}
}
/* Team directory: readable metrics, filters and a full member photo viewer. */
body .workspace main>#users-section{max-width:1680px;padding:24px 26px}
body #users-section .section-heading{margin-bottom:20px}body #users-section .section-heading h2{font-size:22px}body #users-section .section-heading p{font-size:13px}
body #users-section .team-topline{margin:0 0 20px;align-items:center;gap:16px}body #users-section .team-topline .form-actions{margin:0;flex-wrap:wrap;gap:8px}body #users-section .team-topline button{font-size:12px;padding:10px 14px;min-height:40px}body #users-section .team-topline .icon-button{width:40px;min-width:40px}
.team-directory-intro .eyebrow{font-size:13px;color:var(--teal)}.team-directory-intro p{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.9}
body #users-section .team-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}
body #users-section .team-metric{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px 12px;text-align:start;align-items:start;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--panel);color:var(--ink);box-shadow:none;min-width:0;position:relative;overflow:hidden}
body #users-section .team-metric>.icon{width:32px;height:32px;padding:7px;border-radius:10px;background:color-mix(in srgb,var(--teal) 13%,transparent);color:var(--teal);border:1px solid color-mix(in srgb,var(--teal) 20%,transparent)}
body #users-section .team-metric>span:not(.icon){font-size:12px;line-height:1.8;color:var(--muted)}body #users-section .team-metric strong{display:block;font-size:27px;line-height:1.45;font-weight:750;color:var(--ink);margin-top:5px}body #users-section .team-metric small{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.8}
body #users-section .team-metric[aria-pressed=true]{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,var(--panel))}body #users-section .team-metric:hover{border-color:var(--teal);transform:translateY(-1px)}
body #users-section .team-filter-panel{padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:15px;margin-bottom:14px}
body #users-section .team-filters{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;margin:0 0 14px;align-items:end}body #users-section .team-search{position:relative;margin:0;min-width:0}body #users-section .team-search input{height:43px;margin:0;padding:9px 43px 9px 40px;font-size:13px}body #users-section .team-search kbd{position:absolute;inset-inline-end:12px;top:11px;border:1px solid var(--line);border-radius:5px;padding:0 6px;color:var(--muted);font-family:inherit;font-size:12px;line-height:20px;pointer-events:none}
body #users-section .team-field{display:flex;flex-direction:column;gap:6px;margin:0;font-size:11px;color:var(--muted);min-width:0}body #users-section .team-field select{width:100%;min-width:0;height:40px;margin:0;padding:7px 10px;font-size:12px}
body #users-section .team-secondary-filters{display:grid;grid-template-columns:1fr 1fr 1.15fr auto auto;align-items:end;gap:12px}body #users-section .team-secondary-filters>button{height:40px;font-size:12px;padding:8px 12px;white-space:nowrap}
body #users-section .team-results-line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;color:var(--muted);font-size:12px}body #users-section #teamResultCount{color:var(--teal);font-weight:650}body #users-section .team-export-tools{display:flex;gap:8px}body #users-section .team-export-tools button{padding:8px 11px;font-size:11px}
body #users-section .team-selection{padding:10px 14px;margin:0 0 14px;font-size:12px;border-radius:11px;min-height:46px;gap:10px}body #users-section .team-selection>div:not(.team-selected-actions){min-width:0;overflow-wrap:anywhere}body #users-section .team-selected-actions{display:flex;gap:8px;margin-inline-start:auto;flex-shrink:0}body #users-section .team-selected-actions button{font-size:11px;padding:6px 10px;min-height:30px}
body #users-section .team-table{max-height:min(650px,65dvh);min-height:180px;overflow:auto;border-radius:0 0 12px 12px}body #users-section .team-table:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
body #users-section .team-table .dt-table th{font-size:12px;padding:12px 11px}body #users-section .team-table .dt-table td{font-size:13px;padding:13px 11px;vertical-align:middle;overflow-wrap:anywhere}body #users-section .member-person{direction:rtl;flex-wrap:nowrap;gap:12px}body #users-section .member-person>div{min-width:0}body #users-section .member-identity-cell strong{font-size:14px;line-height:1.8}body #users-section .member-identity-cell bdi{font-size:12px;color:var(--muted);line-height:1.8}body #users-section .team-mission-count{font-size:16px;font-weight:700;color:var(--teal)}
body #users-section .member-avatar{width:52px;height:52px;flex-basis:52px;border-radius:14px}body #users-section .dt-table.dt-compact td{padding-top:8px;padding-bottom:8px}body #users-section .dt-table.dt-compact .member-avatar{width:38px;height:38px;flex-basis:38px;border-radius:11px}body #users-section .dt-table.dt-compact .member-identity-cell strong{font-size:13px}
body #users-section .member-avatar-cell{text-align:center;vertical-align:middle}body #users-section .member-avatar-cell .member-avatar{margin-inline:auto}body #users-section .member-name{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}body #users-section .member-name strong,body #users-section .member-name bdi{display:block;max-width:100%;overflow-wrap:anywhere}
body .member-avatar-button{display:grid;place-items:center;padding:0!important;margin:0;position:relative;border:1px solid var(--line);box-shadow:none;cursor:zoom-in;min-height:0;min-width:0;background:var(--panel)}body .member-avatar-button>.member-default-graphic{display:block;width:100%;height:100%}body .member-avatar-button>img{display:block;width:100%;height:100%;object-fit:cover}body .member-avatar-button:after{content:'⤢';position:absolute;inset-inline-end:3px;bottom:3px;display:grid;place-items:center;width:19px;height:19px;border-radius:5px;background:#092a3ddb;color:#edfff8;opacity:0;font-size:15px;line-height:1;pointer-events:none}body .member-avatar-button:hover:after,body .member-avatar-button:focus-visible:after{opacity:1}body .member-avatar-button:focus-visible{outline:3px solid var(--teal);outline-offset:3px}body .member-avatar-button.large{width:84px;height:84px;flex-basis:84px;border-radius:20px}
body #users-section .row-actions{display:flex;gap:7px;flex-wrap:nowrap}body #users-section .row-actions button{min-width:31px;min-height:31px;padding:6px;border-radius:9px}body #users-section .row-actions .icon{width:17px;height:17px}
body #users-section .team-pagination{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:16px;font-size:12px}body #users-section .team-page-size,body #users-section .team-page-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px}body #users-section .team-pagination label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;color:var(--muted)}body #users-section .team-pagination select{width:70px;margin:0;padding:6px 8px;height:34px;font-size:12px}body #users-section .team-pagination input{width:54px;margin:0;padding:5px;height:34px;text-align:center;font-size:12px}body #users-section .team-pagination button{font-size:11px;min-height:34px;padding:6px 10px}body #users-section .team-table-tip{font-size:11px;color:var(--muted);margin:14px 0 0;line-height:1.9}
body .member-photo-dialog{width:min(650px,calc(100vw - 28px));max-width:650px;max-height:calc(100dvh - 28px);padding:22px;border:1px solid var(--line);border-radius:22px;overflow:auto}body .member-photo-dialog::backdrop{background:#020d17d6;backdrop-filter:blur(7px)}.member-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.member-photo-heading h2{font-size:21px;margin:4px 0;color:var(--ink)}.member-photo-heading bdi{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.member-photo-stage{height:min(54dvh,460px);min-height:180px;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at center,#25526355,#071b2a88);border:1px solid var(--line)}.member-photo-stage>img{width:100%;height:100%;object-fit:contain;min-height:0}.member-photo-stage>.member-default-graphic{width:min(75%,300px);height:auto;max-height:100%;border-radius:20px}#memberPhotoStatus{font-size:12px;line-height:1.9;color:var(--muted);margin:12px 0}.member-photo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.member-photo-actions button,.member-photo-actions a{font-size:12px;padding:9px 14px}.member-photo-dialog .icon-button{min-width:36px;min-height:36px}
#teamPrintReport{display:none}
@media(max-width:1200px){body #users-section .team-metrics{gap:8px}body #users-section .team-metric{grid-template-columns:1fr;padding:12px;gap:6px}body #users-section .team-metric>.icon{display:none}body #users-section .team-metric strong{font-size:25px}body #users-section .team-secondary-filters{grid-template-columns:1fr 1fr 1fr auto}body #users-section #teamClearFilters{grid-column:1/-1;justify-self:start}}
@media(max-width:850px){body .workspace main>#users-section{padding:18px 16px}body #users-section .team-topline{align-items:flex-start;flex-direction:column}body #users-section .team-topline .form-actions{width:100%}body #users-section .team-filters{grid-template-columns:1fr 190px}body #users-section .team-secondary-filters{grid-template-columns:1fr 1fr}body #users-section #teamClearFilters{grid-column:auto;justify-self:stretch}body #users-section .team-secondary-filters>button{align-self:end}body #users-section .team-metric small{display:none}body #users-section .team-metric>span:not(.icon){font-size:10px}body #users-section .team-selected-actions{flex-wrap:wrap}body #users-section .team-pagination{gap:12px}.member-photo-dialog .member-photo-heading h2{font-size:18px}}
@media(max-width:560px){body #users-section .team-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}body #users-section .team-metric{border-radius:11px;padding:10px}body #users-section .team-metric strong{font-size:23px}body #users-section .team-filters{grid-template-columns:1fr}body #users-section .team-topline button{font-size:11px;padding:8px 10px}body #users-section .team-selection{flex-wrap:wrap}body #users-section .team-selected-actions{width:100%;margin:3px 0 0;padding-inline-start:25px}body #users-section .team-page-size{justify-content:space-between;width:100%}body #users-section .team-page-controls{width:100%;justify-content:center;gap:5px}body #users-section .team-pagination button{padding:6px 8px}body #users-section .team-table{max-height:65dvh}body .member-photo-dialog{padding:16px;border-radius:18px}.member-photo-stage{height:48dvh;min-height:180px}}
@media print{body.team-printing>*:not(#teamPrintReport){display:none!important}body.team-printing{display:block!important;background:white!important;color:#111!important;margin:0!important;padding:0!important}body.team-printing #teamPrintReport{display:block!important;direction:rtl;page:team-members;font-family:Vazirmatn,Tahoma,sans-serif}#teamPrintReport h1{font-size:18px;color:#111}#teamPrintReport p{font-size:11px;color:#444}#teamPrintReport table{width:100%!important;min-width:0!important;border-collapse:collapse;background:white!important;color:#111!important}#teamPrintReport th,#teamPrintReport td{border:1px solid #aaa!important;padding:7px!important;font-size:10px!important;color:#111!important;background:white!important;overflow-wrap:anywhere}#teamPrintReport tr{break-inside:avoid}#teamPrintReport thead{display:table-header-group}}
@page team-members{size:A4 landscape;margin:12mm}
/* Keep the member grid visible without opening the advanced filter drawer. */
body #users-section .team-heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}body #users-section .team-heading-row .section-heading{flex:1;min-width:0;margin:0;padding:0;border:0}body #users-section .team-heading-row .section-heading h2{font-size:20px;line-height:1.5}body #users-section .team-heading-row .section-heading p{font-size:12px;margin:5px 0 0;line-height:1.7}body #users-section .team-heading-row .section-icon{width:38px;height:38px;border-radius:12px}body #users-section .team-heading-row .team-topline{margin:0;flex-shrink:0}body #users-section .team-heading-row .workspace-guide-open{display:none}
body #users-section .team-metrics{margin-bottom:14px;gap:10px}body #users-section .team-metric{padding:11px 13px;gap:4px 9px;grid-template-columns:26px minmax(0,1fr)}body #users-section .team-metric>.icon{width:26px;height:26px;padding:5px;border-radius:8px}body #users-section .team-metric>span:not(.icon){font-size:11px;line-height:1.5}body #users-section .team-metric strong{font-size:24px;line-height:1.2;margin-top:4px}body #users-section .team-metric small{display:none}
body #users-section .team-filter-panel{padding:12px;margin-bottom:12px}body #users-section .team-filters{grid-template-columns:minmax(0,1fr) 165px auto;gap:10px;margin:0;align-items:center}body #users-section .team-filters>.team-field{font-size:0;gap:0}body #users-section .team-filters select{height:41px}body #users-section #teamAdvancedToggle{min-height:41px;padding:8px 12px;font-size:11px;white-space:nowrap}body #users-section #teamAdvancedCount{background:var(--teal);color:#082b32;border-radius:5px;padding:0 5px;font-size:10px}body #users-section .team-secondary-filters{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}body #users-section .team-results-line{margin-top:10px;padding-top:10px}body #users-section .team-results-line button{padding:5px 9px;font-size:10px;min-height:30px}
@media(max-width:1200px){body #users-section .team-metric{grid-template-columns:1fr;padding:10px}body #users-section .team-metric>.icon{display:none}body #users-section .team-heading-row{align-items:flex-start}body #users-section .team-heading-row .section-heading p{max-width:280px}body #users-section .team-heading-row .form-actions{gap:6px}body #users-section .team-heading-row .form-actions button{padding:8px 10px;font-size:11px;min-height:36px}}
@media(max-width:850px){body #users-section .team-heading-row{flex-wrap:wrap;gap:12px}body #users-section .team-heading-row .section-heading{flex-basis:100%}body #users-section .team-heading-row .team-topline{width:100%}body #users-section .team-filters{grid-template-columns:minmax(0,1fr) 170px}body #users-section #teamAdvancedToggle{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){body #users-section .team-filters{grid-template-columns:1fr 1fr}body #users-section .team-search{grid-column:1/-1}body #users-section #teamAdvancedToggle{grid-column:auto;justify-self:stretch}body #users-section .team-metrics{gap:6px}body #users-section .team-metric{grid-template-columns:1fr;padding:9px}body #users-section .team-metric>span:not(.icon){font-size:10px}body #users-section .team-metric strong{font-size:21px}}
/* Organization artwork is contained without changing its aspect ratio. */
body .organization-branding{padding:0;min-height:0}
.organization-branding-summary{display:flex;align-items:center;gap:14px;padding:14px 16px;cursor:pointer;list-style:none}
.organization-branding-summary::-webkit-details-marker{display:none}
.organization-branding-summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-radius:10px}
.organization-branding-summary>.field-brand-mark{flex-shrink:0;width:36px;height:36px}
.organization-branding-identity{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.organization-branding-identity strong{font-size:14px;line-height:1.6}
.organization-branding-identity small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.organization-branding-toggle{display:flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid var(--line);border-radius:8px;font-size:11px;flex-shrink:0}
.branding-close-label{display:none}#organizationBrandingDetails[open] .branding-open-label{display:none}#organizationBrandingDetails[open] .branding-close-label{display:inline}#organizationBrandingDetails[open] .organization-branding-toggle>span:last-child{transform:rotate(180deg)}
.organization-branding-body{padding:0 16px 14px;border-top:1px solid var(--line)}
.organization-branding-body>.help{margin:10px 0;font-size:11px}
.organization-branding #organizationBrandingForm{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.2fr);gap:16px;width:100%;max-width:none;align-items:start}
.organization-branding #organizationBrandingForm>label{min-width:0}
.organization-branding #organizationBrandingForm>.form-actions{grid-column:1/-1;margin:0}
body .field-brand-mark.has-organization-icon{display:inline-flex;align-items:center;justify-content:center;transform:none;padding:0;flex-shrink:0}
body .field-brand-mark.has-organization-icon>i{display:none}
body .field-brand-mark.has-organization-icon>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
.organization-icon-editor{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:0}
.organization-icon-preview{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
body .organization-icon-preview .field-brand-mark{width:52px;height:52px;gap:4px}
body .organization-icon-preview .field-brand-mark i{width:9px;height:17px}
body .organization-icon-preview .field-brand-mark i:nth-child(2){height:28px}
body .organization-icon-preview .field-brand-mark i:nth-child(3){height:38px}
.organization-icon-fields{min-width:0}.organization-icon-fields input{max-width:100%;margin-bottom:4px}.organization-icon-fields .help{margin:6px 0 10px;line-height:1.8}
@media(max-width:800px){.organization-branding #organizationBrandingForm{grid-template-columns:minmax(0,1fr)}}
@media(max-width:500px){.organization-branding-summary{gap:10px;padding:12px}.organization-branding-toggle{padding:6px;font-size:10px}.organization-branding-identity strong{font-size:12px}.organization-branding-summary>.field-brand-mark{width:28px;height:30px}.organization-icon-editor{grid-template-columns:54px minmax(0,1fr);gap:10px}.organization-icon-preview{width:54px;height:54px}body .organization-icon-preview .field-brand-mark{width:40px;height:40px}}
.report-refresh-summary{margin:0 0 14px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted);font-size:12px;line-height:1.8}
/* A compact dashboard header; the photograph is a small supporting thumbnail. */
body #overview .overview-hero{display:grid;grid-template-columns:minmax(0,1fr) 176px;align-items:center;gap:24px;min-height:0;padding:18px 22px;border-radius:14px;background:linear-gradient(115deg,#143c47,#102f3c);box-shadow:0 5px 18px #020c151a}
body #overview .overview-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 20px;padding:0;max-width:none;width:100%;background:none}
body #overview .overview-hero-topline{grid-column:1/-1;margin:0 0 3px;gap:8px}
body #overview .overview-hero-eyebrow{font-size:10px}
body #overview #overviewScopeTag{font-size:9px;padding:1px 8px}
body #overview .overview-hero h1{grid-column:1;margin:0;line-height:1.5;letter-spacing:-.3px;font-size:25px}
body #overview .overview-title-label{display:inline;font-size:13px;line-height:1.5;margin-inline-end:8px;color:#b8cfd7}
body #overview .overview-hero h1 em{display:inline;margin:0;font-size:25px;line-height:1.5;overflow-wrap:anywhere}
body #overview #overviewIntro{grid-column:1;margin:0;font-size:11px;line-height:1.8}
body #overview .overview-hero-actions{grid-column:2;grid-row:2/4;align-self:center;gap:7px;width:auto;justify-content:flex-end}
body #overview .overview-hero-actions :is(button,.button){width:auto;min-height:35px;padding:7px 10px;font-size:11px;border-radius:8px;gap:6px}
body #overview .overview-context{grid-column:1/-1;margin-top:5px;padding-top:7px;gap:6px 12px;font-size:9px;line-height:1.7}
body #overview .overview-updated{align-items:center;line-height:1.7}
body #overview .overview-updated>[data-icon]{margin-top:0}
body #overview .overview-guide-link{font-size:10px}
body #overview .overview-hero-visual{display:block;align-self:center;width:176px;height:120px;min-height:0;border-radius:11px;border:1px solid #52717b;overflow:hidden;background:#294653}
body #overview .overview-landscape{object-position:42% 50%}
body #overview .overview-hero-visual:after,html[dir=ltr] body #overview .overview-hero-visual:after{background:linear-gradient(0deg,#071c2b33,transparent 60%)}
body #overview .overview-metrics{margin-top:14px}
@media(max-width:1200px){body #overview .overview-hero{grid-template-columns:minmax(0,1fr);padding:18px 20px}body #overview .overview-hero-visual{display:none}}
@media(max-width:760px){body #overview .overview-hero{display:block;padding:16px;border-radius:12px}body #overview .overview-hero-copy{grid-template-columns:minmax(0,1fr);gap:6px}body #overview .overview-hero-topline{grid-column:1;margin-bottom:2px}body #overview .overview-hero h1,body #overview .overview-hero h1 em{font-size:22px}body #overview .overview-title-label{font-size:12px}body #overview .overview-hero-actions{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:5px}body #overview .overview-context{grid-column:1;margin-top:5px;padding-top:7px}body #overview .overview-updated{flex:1 1 0}body #overview .overview-hero-visual{display:none}}
/* Responsive navigation uses a modal drawer instead of a horizontal menu. */
body .mobile-menu-toggle{display:none}
body .header-logout{color:var(--danger-ink);border-color:color-mix(in srgb,var(--danger-line) 65%,var(--line));white-space:nowrap}
body .header-logout:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger-line);color:var(--danger-ink)}
.hamburger-icon{display:grid;gap:4px;width:19px;flex-shrink:0}.hamburger-icon i{display:block;width:100%;height:2px;border-radius:2px;background:currentColor}
@media(max-width:1100px){
 html,html body{height:100%;overflow:hidden}
 html body{display:block}
 html body .workspace{margin-inline-start:0;width:100%;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 html body .workspace main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
 html body #appSidebar{position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;z-index:90;width:min(310px,calc(100vw - 52px));height:100dvh;max-height:100dvh;box-sizing:border-box;padding:18px 14px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-inline-end:1px solid var(--line);border-bottom:0;background:var(--navy);visibility:hidden;pointer-events:none;transform:translateX(100%);transition:transform .18s ease;box-shadow:none}
 html[dir=ltr] body #appSidebar{transform:translateX(-100%)}
 html[data-sidebar-drawer=true] body #appSidebar{visibility:visible;pointer-events:auto;transform:translateX(0);box-shadow:0 0 40px #020c1580}
 body #appSidebar .brand{display:flex;flex-shrink:0;justify-content:flex-start;gap:11px;padding:0 5px 15px;font-size:21px;min-width:0}
 body #appSidebar .brand>span:last-child{display:block;min-width:0}
 body #appSidebar .brand [data-app-name]{display:block;white-space:normal;overflow-wrap:anywhere}
 body #appSidebar .brand small{display:block;font-size:10px}
 body #appSidebar .sidebar-controls{display:block;flex-shrink:0;padding:0 0 12px;margin:0 0 5px;border-bottom:1px solid var(--line)}
 body #sidebarToggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);font-size:12px;color:var(--ink)}
 body #sidebarToggle .sidebar-toggle-label{display:inline}body #sidebarToggle .sidebar-toggle-icon{display:flex}body #sidebarToggle .icon{width:18px;height:18px}
 body #appSidebar .nav-label{display:none}
 body #appSidebar nav{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px;overflow:visible;flex:0 0 auto;margin:0;padding:0;min-width:0}
 body #appSidebar .nav-group{display:block;margin:14px 10px 5px;font-size:10px}
 body #appSidebar .nav-link{display:flex;align-items:center;flex:none;width:100%;min-height:44px;padding:10px;gap:10px;white-space:normal;border-radius:9px;font-size:12px;box-sizing:border-box}
 body #appSidebar .nav-link>span[data-icon]{display:flex;width:20px;flex:0 0 20px}body #appSidebar .nav-link .icon{width:19px;height:19px}
 body #appSidebar .nav-link>span:nth-child(2){display:block;flex:1;min-width:0;overflow-wrap:anywhere}
 body #appSidebar .nav-number{display:none}
 body #appSidebar .sidebar-foot{display:block;flex-shrink:0;margin-top:auto;padding-top:18px}
 body #sidebarDrawerBackdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:80;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#020e1980;backdrop-filter:blur(2px);box-shadow:none;cursor:default;transform:none}
 body #sidebarDrawerBackdrop[hidden]{display:none!important}
 body .workspace>.topbar .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-height:42px;flex:0 0 42px;padding:10px;border:1px solid var(--line);border-radius:10px;color:var(--mint);background:var(--paper)}
 body .workspace>.topbar .workspace-heading{width:100%;gap:10px;align-items:center;justify-content:space-between}
 body .workspace>.topbar .breadcrumb{display:flex;flex:1;min-width:0;gap:9px}
 body .workspace>.topbar .workspace-page{min-width:0}
 body .workspace>.topbar #changeProvince{max-width:48%;min-width:0;flex:0 1 auto}
 body .workspace>.topbar .workspace-tools{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
 body .workspace>.topbar #headerLogout{min-height:34px;padding:6px 9px;font-size:11px;gap:6px}
}
@media(max-width:500px){body .workspace>.topbar .workspace-heading{gap:8px}body .workspace>.topbar #pageTitle{font-size:13px}body .workspace>.topbar .workspace-emblem{display:none}body .workspace>.topbar #changeProvince{max-width:49%}}
@media(prefers-reduced-motion:reduce){html body #appSidebar{transition:none}}
html.reduce-motion body #appSidebar{transition:none}
/* Neutral photography is a fading background layer, never a separate hero column. */
body #overview .overview-hero{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:minmax(0,1fr);background:#102f3c}
body #overview .overview-hero-copy{position:relative;z-index:2;background:none}
body #overview .overview-hero-visual{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;min-height:0;align-self:stretch;border:0;border-radius:inherit;background:none;pointer-events:none}
body #overview .overview-landscape{width:100%;height:100%;object-fit:cover;object-position:0% 53%;opacity:.94}
body #overview .overview-hero-visual:after,html[dir=ltr] body #overview .overview-hero-visual:after{background:linear-gradient(90deg,#102f3c12 0%,#102f3c33 25%,#102f3cbf 45%,#102f3cf5 66%,#102f3c 85%)}
html[dir=ltr] body #overview .overview-hero-visual{transform:scaleX(-1)}
body #overview .overview-context{border-color:#acc7d12e}
body #overview #overviewScopeTag{background:#102f3cbf;border-color:#acc7d14d;color:#d4eee7}
body #overview .overview-hero-actions .button.quiet,body #overview .overview-hero-actions button.quiet{background:#102f3ce6;border-color:#91bbbe88;color:#e2f4ef}
@media(max-width:760px){body #overview .overview-landscape{object-position:10% 50%;opacity:.6}body #overview .overview-hero-visual:after,html[dir=ltr] body #overview .overview-hero-visual:after{background:linear-gradient(90deg,#102f3c70 0%,#102f3ccc 38%,#102f3cf2 68%,#102f3c 100%)}}

/* Report reading view: authored answers first; precise evidence stays available. */
body #reportDetails{padding:20px;border-radius:16px;background:var(--paper);overflow:clip}
body #reportDetails .report-detail-head{position:static;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 18px;margin:0 0 18px;border-radius:0;backdrop-filter:none}
#reportDetails .report-detail-heading{display:flex;align-items:center;gap:12px;min-width:0}
#reportDetails .report-detail-emblem{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--selected-line);border-radius:13px;background:var(--accent-soft);color:var(--mint)}
#reportDetails .report-detail-emblem .icon{width:23px;height:23px}
#reportDetails .report-detail-heading>div{min-width:0}
#reportDetails .report-detail-eyebrow{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}
body #reportDetails #reportDetailTitle{margin:0;color:var(--ink);font-size:19px;font-weight:750;line-height:1.7;overflow-wrap:anywhere}
#reportDetails .report-detail-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex-shrink:0}
body #reportDetails .report-detail-actions button{min-height:37px;padding:8px 11px;font-size:11px;white-space:nowrap}
body #reportDetails .detail-summary{display:grid;grid-template-columns:1fr 1.35fr .7fr 1fr .8fr;gap:10px;padding:0;background:none;border-radius:0;overflow:visible;line-height:1.9}
body #reportDetails .detail-summary>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--field);border-top:2px solid var(--line)}
body #reportDetails .detail-summary>div:first-child{border-top-color:var(--mint)}
body #reportDetails .detail-summary>div:nth-child(2){border-top-color:var(--chart-2)}
body #reportDetails .detail-summary>div:nth-child(4){border-top-color:var(--chart-3)}
body #reportDetails .detail-summary>div:last-child{border-top-color:var(--chart-4)}
#reportDetails .detail-summary>div>span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;line-height:1.7}
#reportDetails .detail-summary>div>span .icon{width:14px;height:14px;flex-shrink:0;opacity:.85}
body #reportDetails .detail-summary>div>strong{color:var(--ink);font-size:13px;line-height:1.9;font-weight:650;overflow-wrap:anywhere;text-align:right;unicode-bidi:isolate}
html[dir=ltr] body #reportDetails .detail-summary>div>strong{text-align:left}
#reportDetails .report-detail-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:14px 0;margin-bottom:2px;border-bottom:1px solid var(--line)}
body #reportDetails .report-detail-nav button{min-height:35px;padding:7px 12px;font-size:11px;border-color:transparent;border-radius:8px;color:var(--muted);background:transparent}
body #reportDetails .report-detail-nav button:hover,body #reportDetails .report-detail-nav button:focus-visible{background:var(--accent-soft);color:var(--mint);border-color:var(--selected-line)}
#reportDetails .report-detail-nav .icon{width:16px;height:16px}
#reportDetails .report-answers,#reportDetails .media-gallery,#reportDetails .report-evidence{scroll-margin-top:20px;min-width:0}
#reportDetails .report-answers:focus-visible,#reportDetails .media-gallery:focus-visible,#reportDetails .report-evidence:focus-visible{outline:2px solid var(--mint);outline-offset:5px}
#reportDetails .report-content-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:22px 0 12px}
#reportDetails .report-content-heading h4{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:750;color:var(--ink)}
#reportDetails .report-content-heading .icon{width:18px;height:18px;color:var(--mint)}
#reportDetails .report-answer-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:11px 0 13px;margin-bottom:2px;border-bottom:1px solid var(--line)}
#reportDetails .report-answer-tools[hidden]{display:none}
#reportDetails .report-answer-count{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--muted);font-size:12px;line-height:1.8}
#reportDetails .report-answer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-inline-start:auto}
body #reportDetails .report-answer-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 11px;border-radius:8px;font-size:12px;line-height:1.6;background:var(--field);color:var(--muted);border-color:var(--line);box-shadow:none}
body #reportDetails .report-answer-actions button:hover,body #reportDetails .report-answer-actions button:focus-visible{background:var(--accent-soft);border-color:var(--selected-line);color:var(--mint)}
body #reportDetails .report-answer-actions button:focus-visible,#reportDetails .detail-section>summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
#reportDetails .report-answer-actions .icon{width:15px;height:15px;flex-shrink:0}
#reportDetails .report-location-preview{margin:15px 0 18px;padding:15px;border:1px solid var(--selected-line);border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 35%,var(--paper));scroll-margin-top:20px;min-width:0}
#reportDetails .report-location-preview:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
#reportDetails .report-location-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
#reportDetails .report-location-heading h5{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:14px;line-height:1.8}
#reportDetails .report-location-heading .icon{width:18px;height:18px;color:var(--mint)}
#reportDetails .report-location-note,#reportDetails .report-location-source{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.8}
#reportDetails .report-location-warning{margin:10px 0 0;padding:8px 10px;border:1px solid var(--warning-line);border-radius:8px;background:var(--warning-soft);color:var(--warning-ink);font-size:11px;line-height:1.8}
#reportDetails .report-location-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:12px;min-width:0;margin-top:13px}
#reportDetails .report-location-map{height:248px;min-width:0;border:1px solid var(--line);border-radius:9px;background-color:var(--field);background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:32px 32px;overflow:hidden}
#reportDetails .report-location-map.leaflet-container{background:var(--field)}
#reportDetails .report-location-list{display:flex;flex-direction:column;gap:7px;max-height:248px;overflow:auto;overscroll-behavior:contain;min-width:0}
body #reportDetails button.report-location-point{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;width:100%;min-height:54px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--ink);box-shadow:none;text-align:start}
body #reportDetails button.report-location-point:hover,body #reportDetails button.report-location-point:focus-visible{transform:none;border-color:var(--selected-line);background:var(--accent-soft)}
#reportDetails .report-location-point strong{font-size:11px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
#reportDetails .report-location-point bdi{font-size:12px;font-variant-numeric:tabular-nums;color:var(--mint)}
#reportDetails .report-location-map .leaflet-control-attribution{background:var(--paper);color:var(--muted);font-size:9px}
@media(max-width:760px){#reportDetails .report-location-layout{grid-template-columns:minmax(0,1fr)}#reportDetails .report-location-map{height:220px}#reportDetails .report-location-list{max-height:160px}}
body #reportDetails .detail-section{margin:13px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper)}
body #reportDetails .detail-section>summary{position:relative;display:flex;align-items:center;gap:10px;list-style:none;padding:13px 14px;font-size:13px;font-weight:650;line-height:1.8;color:var(--ink);background:transparent;cursor:pointer}
#reportDetails .detail-section>summary::-webkit-details-marker{display:none}
#reportDetails .detail-section>summary::after{content:'';flex-shrink:0;width:7px;height:7px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-inline-start:2px;margin-inline-end:3px;align-self:center;transition:transform .15s ease}
#reportDetails .detail-section[open]>summary::after{transform:rotate(225deg)}
#reportDetails .report-photo-evidence>summary::after{margin-inline-start:auto}
#reportDetails .detail-section[open]>summary{border-bottom:1px solid var(--line);background:var(--accent-soft)}
#reportDetails .detail-section>summary:hover{color:var(--mint);background:var(--accent-soft)}
#reportDetails .detail-section-name{min-width:0;overflow-wrap:anywhere;line-height:1.9}
#reportDetails .detail-section-count{flex-shrink:0;display:inline-flex;align-items:center;min-height:25px;margin-inline-start:auto;padding:1px 9px;font-size:11px;font-weight:500;border-radius:20px;background:var(--field);color:var(--muted);white-space:nowrap}
body #reportDetails .detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:12px}
body #reportDetails .detail-item,body #reportDetails .detail-item.has-media{display:flex;flex-direction:column;justify-content:flex-start;gap:5px;min-width:0;padding:11px 14px;border:1px solid var(--line);border-radius:9px;background:var(--field);box-shadow:none}
#reportDetails .detail-item.is-long,#reportDetails .detail-item.is-wide{grid-column:1/-1}
#reportDetails .detail-item>.detail-label{display:block;margin:0;min-width:0;font-size:12px;font-weight:450;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}
#reportDetails .detail-item>.detail-value{display:block;margin:0;font-size:14px;line-height:1.85;font-weight:600;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;unicode-bidi:isolate;text-align:right}
html[dir=ltr] #reportDetails .detail-item>.detail-value{text-align:left}
#reportDetails .detail-item.is-empty{background:transparent;border-style:dashed}
#reportDetails .detail-item>.detail-value.detail-empty-value{font-size:12px;font-weight:450;color:var(--muted)}
#reportDetails .detail-item>.detail-value.detail-raw{font-size:11px;font-weight:450;letter-spacing:.1px}
#reportDetails .detail-item>.report-visit-state{align-self:flex-start;display:inline-flex;padding:1px 9px;border-radius:6px;font-size:11px;color:var(--warning-ink);background:var(--warning-soft)}
#reportDetails .detail-item>.report-visit-state.completed{color:var(--mint);background:var(--accent-soft)}
#reportDetails .detail-item>.report-visit-state.cancelled{color:var(--danger-ink);background:var(--danger-soft)}
body #reportDetails .child-entry{margin:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
#reportDetails .child-entry h5{display:flex;align-items:center;gap:7px;margin:0;border-bottom:1px solid var(--line);padding:10px 13px;font-size:12px;line-height:1.8;color:var(--teal)}
#reportDetails .child-entry h5:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--mint)}
#reportDetails .report-detail-empty{padding:18px 4px;color:var(--muted);font-size:12px;line-height:1.9}
body #reportDetails .media-gallery{margin:20px 0;padding:16px;background:var(--field);border:1px solid var(--line);border-radius:12px}
#reportDetails .media-gallery-head{gap:10px;margin-bottom:15px}
#reportDetails .media-gallery-head>svg{width:33px;height:33px;padding:8px;border-radius:9px;background:var(--accent-soft);color:var(--mint);flex-shrink:0}
#reportDetails .media-gallery-head h4{margin:0 0 4px;color:var(--ink);font-size:14px;line-height:1.7}
#reportDetails .media-gallery-head p{font-size:10px;line-height:1.9;color:var(--muted)}
#reportDetails .media-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px;align-items:start}
body #reportDetails .media-tile{display:flex;flex-direction:column;align-self:start;gap:9px;min-width:0;padding:11px;background:var(--paper);border-radius:10px;box-shadow:none;transition:border-color .15s ease}
body #reportDetails .media-tile:hover{border-color:var(--selected-line);box-shadow:none}
body #reportDetails .media-thumbnail{min-height:125px;border-radius:7px;aspect-ratio:4/3}
#reportDetails .media-thumbnail img{object-fit:contain;background:var(--field)}
#reportDetails .media-thumbnail-placeholder{background:var(--field);color:var(--ink)}
#reportDetails .media-thumbnail-placeholder.video .media-placeholder-icon{color:#b9e5f4;background:#25465a}
#reportDetails .media-thumbnail-placeholder.audio .media-placeholder-icon{color:#dfcffb;background:#3b3652}
#reportDetails .media-kind{font-size:9px;padding:2px 7px;justify-self:start;min-height:0}
#reportDetails .media-kind.video{background:#25465a;color:#b9e5f4}
#reportDetails .media-kind.audio{background:#3b3652;color:#dfcffb}
#reportDetails .media-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:11px;line-height:1.8;min-height:0;color:var(--ink)}
#reportDetails .media-field{width:100%;min-width:0;margin-top:4px;align-items:center;gap:6px}
#reportDetails .media-field .media-link{font-size:10px;font-weight:450;line-height:1.7;overflow:hidden;text-decoration:none}
#reportDetails .media-field .media-link:hover .media-filename,#reportDetails .media-field .media-link:focus-visible .media-filename{text-decoration:underline}
#reportDetails .media-field .icon-action{width:32px;min-width:32px;min-height:32px;padding:6px;border-radius:7px}
body #reportDetails .report-evidence{margin-top:14px}
#reportDetails .report-evidence>summary{color:var(--muted)}
#reportDetails .report-evidence-note{padding:11px 17px 0;font-size:10px;line-height:1.8;color:var(--muted)}
body #reportDetails .report-technical{margin:14px 16px;background:var(--field);border-style:dashed}
#reportDetails .report-technical>summary{font-size:11px;color:var(--muted)}
#reportDetails .report-technical-note{padding:11px 16px 0;font-size:10px;line-height:1.9;color:var(--muted)}
#reportDetails .report-technical .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body #reportDetails .report-photo-evidence>.report-evidence{margin:12px;background:var(--field)}
@media(max-width:1050px){
 body #reportDetails .detail-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 #reportDetails .report-detail-actions{flex-shrink:1}
 #reportDetails .report-technical .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 body #reportDetails{padding:14px;border-radius:12px}
 body #reportDetails .report-detail-head{align-items:flex-start;flex-direction:column;gap:13px;padding-bottom:14px;margin-bottom:14px}
 body #reportDetails #reportDetailTitle{font-size:16px}
 #reportDetails .report-detail-emblem{flex-basis:37px;width:37px;height:37px;border-radius:10px}
 #reportDetails .report-detail-actions{width:100%;justify-content:flex-start}
 body #reportDetails .report-detail-actions button{font-size:10px;padding:7px 9px}
 body #reportDetails .detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body #reportDetails .detail-summary>div{padding:10px 11px}
 body #reportDetails .detail-summary>div:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
 #reportDetails .report-detail-nav{gap:4px;padding:12px 0}
 body #reportDetails .report-detail-nav button{font-size:10px;padding:7px 8px;min-height:38px}
 #reportDetails .report-content-heading{margin-top:18px}
 #reportDetails .report-content-heading h4{font-size:15px}
 #reportDetails .report-answer-tools{align-items:flex-start;gap:9px;padding-top:5px}
 #reportDetails .report-answer-count{font-size:11px}
 #reportDetails .report-answer-actions{width:100%;margin-inline-start:0;gap:8px}
 body #reportDetails .report-answer-actions button{flex:1;min-height:40px;padding:9px 10px;font-size:11px}
 body #reportDetails .detail-grid,#reportDetails .report-technical .detail-grid{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px}
 body #reportDetails .detail-item,body #reportDetails .detail-item.has-media{padding:10px 12px}
 body #reportDetails .detail-section>summary{padding:12px;font-size:12px;gap:8px}
 #reportDetails .report-section-index{flex-basis:25px;min-width:25px;min-height:25px;font-size:11px}
 #reportDetails .detail-section-count{min-height:23px;padding-inline:7px;font-size:10px}
 body #reportDetails .child-entry{margin:10px}
 body #reportDetails .media-gallery{padding:12px}
 #reportDetails .media-gallery-head{flex-wrap:wrap}
 #reportDetails .media-gallery-head>div{min-width:0;flex:1}
 #reportDetails .media-gallery-head h4{font-size:12px}
 #reportDetails .media-tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
 body #reportDetails .report-technical{margin:12px 10px}
}
@media(prefers-reduced-motion:reduce){#reportDetails .detail-section>summary::after,#reportDetails .media-tile{transition:none}}
html.reduce-motion #reportDetails .detail-section>summary::after,html.reduce-motion #reportDetails .media-tile{transition:none}
