/* Local system type, restrained depth, and an uncluttered production canvas. */
:root{--blue:#176ca9;--ink:#23364a;--line:#d9e1e9;--bg:#eef2f6;--grid-border:#dce4ec;color-scheme:light}
body{font-family:'Segoe UI Variable','Segoe UI',system-ui,Arial,sans-serif;color:var(--ink);font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
header{height:64px;background:#142d48;border-bottom:1px solid #315a7c;padding:8px 22px;box-shadow:0 2px 12px #132c4615}header img{width:195px;height:46px}.product-name{letter-spacing:.07em;border-color:#ffffff24}.product-name small{color:#b6c8d8}.account strong{font-size:13px}.header-button{border-radius:6px;border-color:#ffffff30;background:#ffffff08;color:#f4f8fc}
.workspace{grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{height:calc(100vh - 64px);background:#f8fafc;border-color:#dce3eb}.panel-caption{background:transparent;border:0;font-size:10px;color:#677b8d;letter-spacing:.09em;padding:17px 17px 10px}.panel-caption span{border-radius:5px;background:#e5edf4;color:#3c6584}.sidebar>button,.sidebar #adminNav>button{width:calc(100% - 20px);margin:3px 10px;border:0;border-radius:7px;padding:11px 12px;font-size:12px;font-weight:500;min-height:41px;color:#526577}.sidebar button.selected{border:0;padding-left:12px;background:#e3eff9;color:#125b8f;box-shadow:inset 0 0 0 1px #d3e4f2}.sidebar button:hover{background:#edf2f7}.sidebar #adminNav>p{background:transparent;color:#728596;padding:22px 17px 7px;font-size:10px;letter-spacing:.08em}.navigator-item{width:calc(100% - 20px);margin:2px 10px;border:0;border-radius:7px;padding:10px 12px}.navigator-item.active{box-shadow:inset 0 0 0 1px #c9dfef}.navigator-item strong{font-size:11px}.navigator-item span{font-size:12px;color:#4c6173}.online-users{margin:18px 17px 8px;padding-top:16px;border-color:#dfe6ed}.online-user{padding:7px 0}.sidebar>small{padding:16px 17px;color:#697f91}
#main{background:#eef2f6;padding:0 20px 20px}.page-title{margin:0 -20px 16px;padding:20px 24px 17px;background:#f8fafc;border-color:#dde5ed}.page-title h1{font-size:25px;font-weight:650;letter-spacing:-.025em;line-height:1.2;margin:3px 0 5px}.page-title .eyebrow{font-size:10px;color:#60798e;letter-spacing:.08em}.page-title .muted{font-size:12px;color:#667c8e;line-height:1.5}.document-dot{border-radius:50%;background:#2985b7;width:7px;height:7px}.badge{font-size:11px;background:#edf5fc;border-color:#d1e1ef;border-radius:6px;color:#396787;padding:6px 10px}
button{border-radius:6px;transition:background-color 140ms,border-color 140ms,box-shadow 140ms,transform 140ms}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #2479b5;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}
input,select,textarea{border-radius:6px;border-color:#cdd9e3;color:#283e51;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #2c80b32a;outline-offset:0;border-color:#4e95c4}.start-fields label{font-size:11px;color:#536b7e}.start-fields input,.start-fields select{font-size:13px;padding:9px}.start-fields{gap:22px}.view>.card:has(.start-fields){padding:15px 18px;border-left:1px solid #d7e1e9}
.card,.work-ribbon,.work-sheet{border:1px solid #d7e1e9;border-radius:9px;box-shadow:0 2px 5px #14345205;background:#fff}.work-ribbon{background:#fff;overflow:hidden;margin-bottom:18px}.ribbon-title{background:#f6f9fc;border-color:#e0e7ee;height:31px}.ribbon-title span:first-child{background:none;border:0;transform:none;padding:8px 0;font-size:10px;letter-spacing:.06em;color:#416d8d}.ribbon-title span:last-child{color:#697f90}.ribbon-primary{padding:10px 14px;gap:24px}.command-group{border-color:#e3eaf0;padding-bottom:16px}.command-group button{border-radius:7px;font-size:12px;gap:7px;padding:8px 12px;min-width:112px}.command-group button.primary{background:#e8f3fb;border-color:#cee3f2;color:#176698}.command-group button:hover{background:#deedf8;border-color:#b8d6eb}.group-caption,.summary-caption{color:#657e91;font-size:10px}.ribbon-primary #daySummary{font-size:13px;color:#2e4d65}.ribbon-secondary{background:#f8fafc;border-color:#e4ebf1;padding:8px 14px;gap:12px}.ribbon-secondary button,.ribbon-secondary select,.ribbon-check{font-size:11px}.grid-tabs{border-radius:6px;border-color:#d3dfe8;background:#fff;overflow:hidden}.grid-tabs button{font-weight:500;border-radius:0;padding:8px 12px}.grid-tabs button.active{background:#e6f1f9;box-shadow:inset 0 -2px #2a83bd}.selection-bar{border-top:1px solid #e6edf2;padding:8px 14px;min-height:35px;font-size:11px}.selection-bar button{border-radius:5px}.table-help{color:#647e91}
.work-sheet{overflow:hidden;margin-bottom:20px}.sheet-title{background:#fff;border-top:0;border-bottom:1px solid #e4ebf1;padding:14px 15px}.sheet-code{color:#176a9f;background:#edf5fb;padding:4px 7px;border-radius:4px;font-size:11px;display:inline-block}.sheet-heading h3{font-size:14px;font-weight:600;line-height:1.45;margin:6px 0}.sheet-heading small{font-size:11px;color:#637b8d}.sheet-actions button{font-size:11px;border-color:#d6e0e9;background:#fff;border-radius:5px}.sheet-context{background:#f8fafc;border-color:#e2e9f0;padding:10px 15px;gap:10px}.sheet-context input,.sheet-context select,.sheet-context button{font-size:11px;padding:7px}.daily-table th,.daily-table th.row-actions,.daily-table th.activity-col,.daily-table th.field-qty{background:#eef4f9;color:#415f76;border-color:#dce6ef;height:39px;font-size:11px;padding:9px 10px;font-weight:600}.daily-table input:not([type=checkbox]),.daily-table select{height:38px;font-size:12px;border-radius:0;background:transparent}.daily-table .activity-col{font-size:12px;padding:8px 11px;color:#2a4258}.daily-table td:focus-within{background:#edf6fc!important;box-shadow:inset 0 0 0 1px #56a1d0}.daily-table tbody tr:hover td{background:#f1f7fc}.daily-table tbody tr.row-selected td{background:#e9f3fb}.daily-table .row-actions button{border-radius:4px;color:#54768e}.daily-table .row-actions button:hover{background:#dcecf8;color:#12669c}.daily-table .row-actions button.subtle-danger:hover{background:#ffeded;color:#b44848}.tablewrap table th{background:#eef4f9;color:#456277;font-size:12px}
.complementary{background:#f8fafc;border-style:solid;border-left:1px solid #d7e1e9}.complementary h3{font-size:15px;font-weight:600}.complementary p{font-size:12px;color:#647e91}.savebar{border-radius:9px;background:#ffffffed;border-color:#d2e0ea;box-shadow:0 5px 24px #18365012;padding:12px 16px;bottom:10px;backdrop-filter:blur(8px)}.savebar button{font-size:12px;border-radius:6px;padding:10px 13px}.savebar>span{font-size:11px;color:#58738a}.savebar .primary{background:#176ca9;border-color:#176ca9;box-shadow:0 2px 5px #176ca91c}.savebar .primary:hover{background:#125b91}
dialog{border-radius:12px;box-shadow:0 24px 70px #0e294b35;border:1px solid #d7e1e9}dialog::backdrop{background:#142e4866;backdrop-filter:blur(2px)}.dialog-title{background:#f8fafc;color:#233e54;border-bottom:1px solid #dce6ed;padding:17px 22px;gap:14px}.dialog-title h2{font-size:20px;letter-spacing:-.02em;font-weight:650}.dialog-title small{color:#5f7a8f}.dialog-title .icon-button{color:#52728b;background:transparent;border-radius:6px}.dialog-title img{width:44px;height:44px;border-radius:5px}.dialog-body,.picker-body{background:#fff;padding:20px 22px}.dialog-actions{background:#f8fafc;border-top:1px solid #e2eaf0;padding:14px 22px}.team-help{color:#59788e}.asset-row small{color:#526f86}.asset-form button{border-radius:6px}.apu-workspace{gap:18px}.apu-library,.apu-editor{border-radius:9px;border-color:#d5e1e9;box-shadow:0 2px 5px #14345205;overflow:hidden}.apu-library-head{background:#f8fafc}.apu-library-pick strong{font-size:12px;line-height:1.5}.apu-state{border-radius:5px}.apu-library-filters label{color:#526e83}.apu-editor-heading h2{font-weight:650;letter-spacing:-.015em}.apu-edit-table th{background:#eef4f9;color:#415f76}.apu-edit-table input{font-size:12px}.apu-publishbar{background:#f8fafc}.notification{border-radius:8px;box-shadow:0 8px 25px #18365024;line-height:1.5}
.brand{background:linear-gradient(135deg,#102a49,#174b7e);padding:44px 10%}.brand::before{animation:none;opacity:.45}.brand::after{animation:none;opacity:.55}.brand h1{font-weight:650;letter-spacing:-.035em;line-height:1.1}.brand p{font-size:14px}.access{background:#f5f8fb}.access form{padding:30px;border:1px solid #dce5ee;border-radius:14px;background:#fff;box-shadow:0 12px 40px #1b3c5910;width:400px}.access h2{color:#203e58;letter-spacing:-.025em}.access .eyebrow{color:#647e91}.access label{font-size:12px;color:#506d82}.access .muted{color:#647e91}.access input{background:#fff}.access #loginBtn{background:#176ca9;box-shadow:0 3px 9px #176ca925}
.rh-tooltip{position:fixed;z-index:1000000;max-width:min(260px,calc(100vw - 20px));padding:9px 12px;background:#17334e;color:#fff;border:1px solid #ffffff18;border-radius:7px;box-shadow:0 5px 18px #0c27462b;font:12px/1.5 'Segoe UI',system-ui,sans-serif;text-align:left;pointer-events:auto;animation:hintAppear 120ms ease-out}.rh-tooltip[hidden]{display:none}@keyframes hintAppear{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){button{transform:none!important}.rh-tooltip{animation:none}.view,dialog[open]{animation:none}}
@media(prefers-reduced-transparency:reduce){.savebar{background:#fff;backdrop-filter:none}dialog::backdrop{backdrop-filter:none}}
@media(prefers-contrast:more){.card,.work-ribbon,.work-sheet,dialog,input,select,textarea{border-color:#7a8b9a}.muted,.table-help,.group-caption,.team-help{color:#344f64}.savebar{background:#fff}}
@media(max-width:1000px){.workspace{grid-template-columns:195px minmax(0,1fr)}.command-group button{min-width:95px}.page-title h1{font-size:23px}}
@media(max-width:760px){header{height:60px;padding:7px 12px}header img{width:168px;height:42px}.workspace{grid-template-columns:1fr}.sidebar{height:auto;padding:6px;background:#f8fafc}.sidebar>button,.sidebar #adminNav>button{width:auto;margin:2px;padding:9px 10px;min-height:36px}.online-users{margin:6px 9px;width:100%;padding:9px 0}.online-users-list{max-height:160px}#main{padding:0 12px 12px}.page-title{margin:0 -12px 12px;padding:15px 16px}.page-title h1{font-size:22px}.ribbon-primary{gap:10px}.command-group button{min-width:0;padding:8px 6px}.savebar{padding:9px}.savebar button{font-size:11px;padding:10px 7px}.access{padding:26px 20px}.access form{padding:24px}.brand{padding:26px 30px}.brand p{font-size:12px}.sheet-title{padding:12px}.sheet-heading h3{font-size:13px}}
.sidebar .navigator-item{width:calc(100% - 20px);min-width:0}.sidebar{overflow-x:hidden}.daily-table th{white-space:normal}.online-users summary{line-height:1.5}
