/* The same pearl/glass and night/opal palette as the workforce workspace. */
:root {--card:var(--portal-card);--line:var(--portal-line);--ink:var(--portal-ink);--muted:var(--portal-muted);--portal-ink:#233d4b;--portal-muted:#5e737c;--portal-card:#ffffffb5;--portal-line:#c5d7e180;--portal-input:#ffffffb8}
[data-theme=night] {--bg:#171B19;--portal-ink:#F4F2EA;--portal-muted:#B6B7AE;--portal-card:#232824;--portal-line:#424940;--portal-input:#232824;color-scheme:dark}
[data-theme=night] body {background:radial-gradient(ellipse at 95% 0%,#dce9ef80,transparent 42%),radial-gradient(ellipse at 0% 30%,#e7e8db80,transparent 45%),#171B19;background-attachment:fixed}
body {color:var(--portal-ink);min-height:100dvh;line-height:1.55}
main {max-width:1100px}h1,h2,h3{letter-spacing:-.025em}small,.muted{color:var(--portal-muted)}
article,form.card,details.portal-section,dialog {background:var(--portal-card);border:1px solid var(--portal-line);border-radius:20px;box-shadow:0 8px 28px #102d3c09;backdrop-filter:blur(16px);color:var(--portal-ink)}
button,a.button,.portal-nav a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 17px;border-radius:13px;border:1px solid var(--portal-line);background:linear-gradient(145deg,#ffffffed,#e8f0f5d9);color:#234256;text-decoration:none;box-shadow:inset 0 1px 0 #ffffff80,0 4px 14px #264e6810;cursor:pointer;font:inherit}
[data-theme=night] button,[data-theme=night] a.button,[data-theme=night] .portal-nav a {background:linear-gradient(145deg,#394443e8,#141b20eb 62%,#202b32);color:#e4edf0;border-color:#a2bac333}
input,textarea,select{background:var(--portal-input);color:var(--portal-ink);border:1px solid var(--portal-line)}
a{color:inherit}.notice,.preview-notice{background:#70acd51a;border:1px solid var(--portal-line);padding:14px 18px;border-radius:16px}
.portal-brand {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;background:transparent!important;border:0;box-shadow:none}
.portal-brand img{display:block;width:220px;max-width:55vw;height:auto;background:transparent}
[data-theme=night] .portal-brand img {filter:brightness(0) invert(1);opacity:.92}
.portal-theme {font-size:14px}.portal-account{display:flex;justify-content:space-between;align-items:center;gap:16px}.portal-account h2{margin-bottom:3px}.portal-account p{margin-top:0}
.portal-nav{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.portal-nav a{font-size:14px}
.portal-section{padding:20px;margin:14px 0;scroll-margin-top:20px}.portal-section summary{font-weight:650;cursor:pointer;font-size:18px}.portal-section>p{color:var(--portal-muted)}
.site-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:18px}.site-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.site-gallery a{text-decoration:none}
.portal-job{padding-top:12px}.portal-job>h2{font-size:30px}.portal-help{font-size:14px;color:var(--portal-muted)}
.preview-notice{margin:16px 0}.preview-notice strong{display:block}
@media(max-width:600px){.portal-brand{padding:12px 0 20px}.portal-section{padding:16px}.portal-account{align-items:flex-start}.portal-nav{flex-wrap:nowrap;overflow:auto;padding:5px 0 12px}.portal-nav a{flex:none}.site-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

fieldset{border:0;padding:0;margin:0;min-width:0}fieldset:disabled{opacity:.65}
html:not([data-theme=night]) main button,html:not([data-theme=night]) main a.button {background:linear-gradient(145deg,#ffffffed,#e8f0f5d9);color:#234256;border-color:#bdcfdc}
html[data-theme=night] main button,html[data-theme=night] main a.button {background:linear-gradient(145deg,#394443e8,#141b20eb 62%,#202b32);color:#e4edf0;border-color:#a2bac333}
html main button.primary,html main nav button[aria-pressed=true]{border-color:#64a3ca;box-shadow:inset 0 0 0 1px #64a3ca50}
[hidden]{display:none!important}

.report-album {margin:16px 0;border:1px solid var(--line,#bac9d3);border-radius:18px;padding:12px}.report-album summary {display:flex;gap:16px;align-items:center;cursor:pointer}.report-album summary img {width:110px;height:90px;object-fit:cover;border-radius:12px}.approval-queue {padding:20px;border:1px solid #63a9dc;border-radius:20px;background:#3789c518;animation:reviewWave 2.8s ease-out infinite}@keyframes reviewWave {0%,100%{box-shadow:0 0 0 0 #459cdb00}40%{box-shadow:0 0 0 8px #459cdb22}}@media(prefers-reduced-motion:reduce){.approval-queue{animation:none}}

.portal-header-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.portal-header-actions .button,.portal-header-actions button{font-size:13px;padding:8px 10px}.portal-brand{position:sticky;top:0;z-index:30;backdrop-filter:blur(24px);padding-top:max(12px,env(safe-area-inset-top));padding-bottom:12px}.portal-brand img{max-width:40vw}.portal-brand{background:var(--portal-card)!important;border-radius:0 0 18px 18px}@media(max-width:600px){.portal-brand{gap:8px}.portal-header-actions{justify-content:flex-end}.portal-header-actions .button,.portal-header-actions button{font-size:11px;min-height:40px;padding:6px 8px}}


.portal-header-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.portal-brand{background:linear-gradient(180deg,#f5f9fb80,#f5f9fb25)!important}[data-theme=night] .portal-brand{background:linear-gradient(180deg,#18252b55,#18252b15)!important}

/* Standalone staff and finance pages use the same surfaces as the dashboard. */
main.login,main{color:var(--portal-ink);background:transparent}
.card,main>section,main>form:not(.inline){border-color:var(--portal-line);color:var(--portal-ink)}
[data-theme=night] .card{background:var(--portal-card)}
[data-theme=night] .notice,[data-theme=night] .preview-notice{background:#303730;color:var(--portal-ink)}
[data-theme=night] th,[data-theme=night] td{border-color:var(--portal-line)}
[data-theme=night] .error{color:#ffb3aa}
main>header:not(.portal-brand){background:transparent;color:var(--portal-ink)}
@media(max-width:700px){.portal-header-actions{flex-wrap:nowrap}.portal-brand img{width:170px;max-width:42vw}main{padding:14px!important}.portal-header-actions .button,.portal-header-actions button{width:40px;padding:8px}.portal-brand{gap:6px}}

.tracker-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px}.tracker-stages .portal-section,section.portal-section{background:var(--portal-card);border:1px solid var(--portal-line);border-radius:18px}.tracker-stages summary{padding:6px}.tracker-job-list a{text-align:left;padding:18px 20px}.gantt th:first-child{z-index:1}input[type=checkbox]{width:auto}
@font-face{font-family:Manrope;src:url('prototype/assets/Manrope-Variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
body{font-family:Manrope,system-ui,sans-serif}h1,h2,h3,button,input,select,textarea{font-family:inherit}
.tracker-stages{align-items:start}.portal-section summary{list-style-position:inside}.portal-section summary::marker{color:var(--portal-muted)}

body{margin:0;padding:0}

.employee-setup{max-width:960px!important}.employee-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.employee-fields h3{grid-column:1/-1;margin:16px 0 0;padding-bottom:8px;border-bottom:1px solid #89958e44}.employee-field label{display:block;margin:0 0 6px}.employee-field input,.employee-field select,.employee-field textarea{width:100%;margin:0}.employee-field textarea{min-height:72px}.employee-field .errorlist{color:#e88378}@media(max-width:650px){.employee-fields{grid-template-columns:1fr}}
.standalone-sidebar{display:none}@media(min-width:1000px){.standalone-sidebar{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:230px;padding:24px 16px;overflow-y:auto;background:var(--portal-card);color:var(--portal-ink);border-right:1px solid var(--portal-line);z-index:60;gap:14px}.standalone-sidebar summary{font-size:.85rem;font-weight:700;padding:10px 4px;cursor:pointer}.standalone-sidebar a{display:block;text-decoration:none;padding:9px 12px;border-radius:8px;font-size:.9rem}.standalone-sidebar a[aria-current=page]{background:#699ec333}.standalone-sidebar .sidebar-home{font-size:1.15rem;font-weight:700}.has-staff-sidebar{padding-left:230px}.has-staff-sidebar>.hanaman-banner-shell{left:230px;width:calc(100% - 230px)}.has-staff-sidebar>main{max-width:none;padding:24px}}
.desktop-portal-choice{display:none}@media(min-width:1000px){.desktop-portal-choice:not([hidden]){display:block}.desktop-portal-choice>img{max-width:340px;margin:24px 0}.portal-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.portal-choice-grid button{display:flex;flex-direction:column;padding:0;overflow:hidden;text-align:left;background:var(--card);color:inherit;border:1px solid var(--line)}.portal-choice-grid img{height:200px;width:100%;object-fit:cover}.portal-choice-grid strong{font-size:22px;padding:20px 20px 8px}.portal-choice-grid span{padding:0 20px 24px;opacity:.75}[data-theme=night] .desktop-portal-choice>img{filter:brightness(0) invert(1)}}

.schedule-heading,.schedule-period{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.schedule-heading h3{margin:0}.schedule-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.schedule-filters label{flex:1;min-width:150px}.schedule-period{justify-content:flex-start}.schedule-key{font-size:.9rem;opacity:.8}.schedule-status{display:inline-block;padding:4px 8px;border:1px solid var(--line,#708078);border-radius:6px;font-size:.85rem}.gantt th small,.tracker-job-list small{display:block;margin-top:5px;font-weight:400}.gantt thead th{text-align:center!important;white-space:nowrap}.gantt .weekend{opacity:.55}.schedule-work-card dl{display:grid;grid-template-columns:130px 1fr;gap:7px;margin:14px 0}.schedule-work-card dd{margin:0}.schedule-work-card dt{opacity:.7}.schedule-work-card{margin:12px 0}.schedule-dates{font-weight:600}.tracker-job-list a>span:first-child{min-width:0}.tracker-job-list small{white-space:normal}.tracker-job-list a{text-align:left}@media(max-width:700px){.schedule-filters label{flex-basis:100%}.schedule-period .button{font-size:.8rem;padding:9px}.schedule-work-card dl{grid-template-columns:1fr}.schedule-work-card dt{margin-top:8px}}

.address-suggestions{border:1px solid var(--line,#829388);border-radius:10px;padding:8px;margin:6px 0}.address-suggestions button{display:block;width:100%;text-align:left;margin:4px 0}.maps-attribution{display:block;white-space:nowrap;font:400 12px sans-serif;color:#1f1f1f;padding:8px 4px}[data-theme=night] .maps-attribution{color:white}
.standalone-sidebar .sidebar-home img{width:100%;height:64px;object-fit:contain}.standalone-sidebar .sidebar-home{padding:12px 4px}

[data-theme=night] .standalone-sidebar{background:#171b19}[data-theme=night] .standalone-sidebar .sidebar-home img{filter:brightness(0) invert(1);opacity:.92}.standalone-sidebar a[aria-current=page]{background:#e9e9df;color:#171b19}
.schedule-filters label{margin:0;gap:5px}
@media(max-width:700px){
 .schedule-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:14px 0}
 .schedule-filters label{min-width:0}
 .schedule-filters label:first-of-type{grid-column:1/-1}
 .schedule-filters label:has(select[name=view]){display:none}
 .schedule-filters>a{font-size:13px}
 .schedule-heading{gap:8px}.schedule-heading p{margin:6px 0;font-size:13px}
 .schedule-heading .button{padding:8px 12px}
 .schedule-period{gap:6px}.schedule-period .button{font-size:11px;min-height:36px;padding:6px 8px}
}

.schedule-filter-panel{margin:12px 0}.schedule-filter-panel>summary,.schedule-storage-note>summary{cursor:pointer;font-size:13px;padding:8px 0}.schedule-storage-note{margin-bottom:14px}@media(max-width:700px){.schedule-filter-panel .schedule-filters{margin:8px 0}.schedule-key{font-size:12px}.schedule-work-card h4{margin:10px 0}.schedule-work-card dl{grid-template-columns:105px 1fr}.schedule-work-card dt{margin-top:0}}
