
:root{font-family:Golos,Arial,sans-serif;--ink:#20343b;--asphalt:#203c46;--secondary:#52636a;--muted:#5e6e76;--paper:#fff;--canvas:#f5f7f7;--selected:#edf3e0;--signal:#d9ec83;--focus:#47778b;--control:#f1f4f5;--divider:#dfe6e8;--line:#dfe6e8;--blue:#203c46;--red:#a64036;color:var(--ink);background:var(--canvas)}
a{color:inherit}button,input,textarea,select{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.primary{background:var(--asphalt);border-color:var(--asphalt);color:#fff;border-radius:6px;min-height:44px}.primary:hover{background:#315260}.secondary{border-color:#788c95;color:var(--asphalt);background:#fff;border-radius:6px;min-height:44px}.secondary:hover{background:var(--selected)}
input,textarea,select{color:var(--ink);border-color:#788c95}.portal-return{min-height:44px;display:inline-flex;align-items:center;text-underline-offset:4px}.topbar.profile-menu-open{z-index:35}.account-menu-panel{font-size:14px}.account-menu-trigger{color:var(--ink)}

body{background:var(--canvas)}.sidebar{background:var(--asphalt);bottom:var(--site-footer-height)}.sidebar .brand-wordmark small,.sidebar .workspace-label,.sidebar .nav,.sidebar .nav svg,.sidebar-note p,.sidebar-note strong,.sidebar-agent,.demo-note,.sidebar .profile small{color:#d9e3e6}.brand .dispatch-mark rect{fill:#47778b}.sidebar .nav.active{background:var(--signal);color:var(--asphalt);box-shadow:none}.sidebar .nav.active svg{color:inherit}.sidebar .nav.active .nav-count{background:#203c461a}.sidebar .nav:hover{background:#ffffff18;color:white}.sidebar .nav.active:hover{background:var(--signal);color:var(--asphalt)}
.app>.topbar{gap:12px}.topbar .demo-account{margin:0;padding:0;width:auto}.topbar .header-right{margin-left:auto}.topbar .account-menu{margin-left:4px}.authenticated .topbar .demo-account{display:none}.topbar .demo-account .avatar{color:var(--asphalt);background:#edf3e0}.portal-return,.breadcrumb,.breadcrumb strong{font-size:14px;color:var(--secondary)}.demo{color:var(--secondary);background:var(--control);border-color:var(--divider)}
h1,h2,h3,.detail h2,.field strong,.pair strong,.assignment-empty h3,.request-name,.section-top h2,.data-table td strong,.approval-card h3,.empty-state h2{color:var(--ink)}.page-heading p,.field small,.detail-subtitle,.request-bottom,.request-meta,.request-work,.summary-label,.summary-caption,.queue-footer,.mini-note,.form-note,.message p,.agent-context,.agent-context b,.agent-suggestions button,.quick-actions button,.agent-bottom textarea,.agent-bottom>small,.pair p,.assignment-empty p,.resource-line,.calendar-hours,.period-caption,.section-top p,.data-table td,.data-table th,.directory-tabs button,.approval-card p,.approval-card-top,.comparison small,.comparison strong,.comparison p,.return-note,.approval-check,.empty-state,.empty-state p{color:var(--secondary)}
.summary-icon.blue,.detail-equipment-icon,.request-machine-icon,.assignment-icon{background:var(--control);color:var(--asphalt)}.request.selected{background:var(--selected);border-color:#9cae74}.summary-active{border-color:#788c95;box-shadow:none}.summary-card,.panel,.approval-card{border-color:var(--divider);box-shadow:none}.pill.accepted,.pill.sent,.pill.draft{color:var(--secondary);background:var(--control)}.pill.assigned,.request-assignment{color:#2f674e;background:#edf5ef;border-color:#bdd4c5}.filter-tabs button{color:var(--secondary);min-height:44px}.filter-tabs button.selected,.filter-tabs button[data-filter=assigned].selected{color:var(--asphalt);border-color:var(--asphalt)}.filter-tabs button span,.filter-tabs button.selected span{color:var(--asphalt);background:var(--control)}
.agent-tab{background:var(--asphalt);color:white}.agent-warning,.approval-comment,.awaiting-notice{color:#855619;background:#fbf2e3;border-color:#cfb78e}.agent-drawer{bottom:var(--site-footer-height);height:calc(100dvh - var(--site-footer-height))}.agent-bottom{background:#fff}.agent-context,.message.agent,.assignment-empty,.pair,.comparison>div{background:var(--control);border-color:var(--divider)}.agent-context,.quick-actions button{font-size:14px}.agent-tab{min-width:44px}.text-button{color:var(--asphalt);min-height:40px}.scale-switch{background:var(--control);border-color:var(--divider)}.scale-switch button{min-height:36px;color:var(--secondary)}.scale-switch button.active,.directory-tabs button.active{background:var(--selected);color:var(--asphalt)}.period-control,.date-navigation label,.site-control{border-color:#788c95}.period-control select,.date-navigation input,.site-control select,.date-step{color:var(--asphalt)}.booking,.calendar-request.is-assigned{background:var(--asphalt);color:#fff}.calendar-request{color:var(--secondary)}.weekday-heading,.cell-date,.cell-date small{color:var(--secondary)}.queue-heading h2{font-size:18px}.request-bottom,.field small,.request-work,.summary-label,.summary-caption,.queue-footer,.mini-note,.period-caption{font-size:14px}.request-assignment{font-size:13px}.filter-tabs button{font-size:12px}
@media(max-width:700px){.sidebar{bottom:auto;flex-wrap:wrap;gap:12px}.sidebar .brand-wordmark small{font-size:11px!important;max-width:none}.sidebar nav{width:100%;justify-content:space-between}.sidebar .nav{width:44px;height:44px}.sidebar .brand{font-size:18px}.topbar{min-height:60px;height:auto;flex-wrap:wrap;padding:8px 16px}.topbar .breadcrumb{display:flex}.topbar .header-right .demo{font-size:11px}.page-heading .primary#create{font-size:13px;width:auto;min-height:44px;gap:6px;padding:10px}.page-heading p{font-size:14px}.page-heading{flex-wrap:wrap}.summary-label{font-size:12px}.filter-tabs button{font-size:13px}.scale-switch button{min-height:36px}.agent-tab{bottom:calc(20px + var(--site-footer-height))}.panel.agent-drawer{inset:0;width:100%;height:100dvh;border-radius:0}.site-footer{z-index:16}.agent-open .site-footer{z-index:7}.period-control select{width:100%}.nav-count{display:none}}
.detail-tabs button.active{color:var(--asphalt);border-color:var(--asphalt)}.request.selected:before{background:var(--asphalt)}.agent-bottom button[type=submit]{background:var(--asphalt);color:#fff}.agent-tab{border-color:var(--asphalt)}.panel.agent-drawer{bottom:calc(12px + var(--site-footer-height));height:calc(100dvh - 24px - var(--site-footer-height))}
@media(max-width:700px){.panel.agent-drawer{inset:0;height:100dvh}}

/* Autonomous stand: module palette from Magistral UI Design 1.6, p.55. */
@font-face{font-family:Manrope;src:url('assets/Manrope.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--ink:#20272a;--asphalt:#172f47;--secondary:#505c62;--muted:#505c62;--canvas:#f5f7fb;--selected:#dfeaf8;--blue:#285d9a;--action:#285d9a;--focus:#355b86}
.sidebar,.agent-tab{background:var(--asphalt)}.primary,.agent-bottom button[type=submit]{background:var(--action);color:white;border-color:var(--action)}.primary:hover{background:#204e83;color:white}.request.selected{background:var(--selected);border-color:var(--action)}.request.selected:before{background:var(--action)}.brand-wordmark{font-family:Manrope,Arial,sans-serif;font-weight:650}.eyebrow,.detail-top>span:first-child,.muted,.detail-tabs button,.count,.section-heading>.pill{color:var(--secondary)}.eyebrow,.detail-top>span:first-child{font-size:13px}.count,.section-heading>.pill{background:#e9edea}input::placeholder,textarea::placeholder{color:var(--secondary);opacity:1}.detail-tabs button.active{color:var(--action);border-color:var(--action)}.sidebar .text-button{color:#dfeaf8}#agent-form .send{font-size:14px;background:var(--action);color:white}.period-control,.date-navigation label,.site-control{border-color:#60736a}.summary-icon.green{color:#335c45;background:#e4efe4}.summary-icon.amber{color:#735214;background:#f7e6ba}.summary-label,.summary-caption,.form-note,.mini-note{font-size:13px}

/* Selected navigation keeps a readable, module-specific surface. */
.sidebar .nav.active,.sidebar .nav.active:hover{background:#dfeaf8;color:#172f47}.sidebar .nav.active span,.sidebar .nav.active svg{color:#172f47}.sidebar .nav.active .nav-count{background:#c8daf0;color:#172f47}.calendar-legend,.calendar-hours,.resource-line small{color:#505c62}.booking{background:#285d9a;color:#fff}
