/* Sylla workspace: one coherent visual system, kept separate from legacy layout and print rules. */
:root{--ws-ink:#172840;--ws-muted:#63738a;--ws-line:#dfe5ef;--ws-primary:#2457df;--ws-teal:#087f8c;--ws-canvas:#f3f5f9;--ws-nav:240px}
body.app-body{background:var(--ws-canvas);color:var(--ws-ink)}
.workspace-shell{font-size:14px;line-height:1.5}.workspace-shell .sidebar{width:var(--ws-nav);padding:22px 16px 14px;background:#12213a;color:#d8e1ef;border-right:1px solid #20334f;box-shadow:none;overflow-y:auto}
.workspace-shell .brand-row{gap:8px}.workspace-shell .brand{padding:0 0 22px;gap:10px;align-items:center;min-width:0}.workspace-mark{height:36px;width:36px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#2b5de8;color:white;font-size:24px;font-weight:800}.workspace-shell .brand strong{font-size:23px;letter-spacing:-1px;color:#fff}.brand-dot{color:#6ad7cc}.workspace-shell .brand small{font-size:10px;letter-spacing:.035em;color:#a9b8cd}.workspace-shell .sidebar-toggle{margin-left:auto;border:1px solid #ffffff20;border-radius:8px;width:30px;min-width:30px;height:30px;background:transparent;color:#c8d7ed;font-size:16px}
.workspace-nav-caption{font-size:9px;font-weight:700;letter-spacing:.16em;color:#7e94b3;margin:5px 12px 12px}.workspace-shell .nav{gap:4px}.workspace-shell .nav a{padding:10px 12px;gap:11px;border-radius:9px;font-size:13px;font-weight:500;min-height:42px;color:#b9c9df}.workspace-shell .nav a .nav-label{width:auto;text-align:left}.workspace-shell .nav a.active{background:#2b5de8;color:white;box-shadow:0 4px 12px #0716333d}.workspace-shell .nav a:not(.active):hover{background:#ffffff0b;color:white}.workspace-shell .nav-icon{height:18px;width:18px;flex-shrink:0}.workspace-shell .nav-section-label{font-size:9px;color:#7e94b3;letter-spacing:.12em;margin:20px 12px 7px;padding:0;border:0}.workspace-admin-nav{margin:4px 0}.workspace-admin-nav>summary{list-style:none;cursor:pointer;display:flex;gap:11px;align-items:center;padding:10px 12px;border-radius:8px;color:#b9c9df;font-size:13px}.workspace-admin-nav>summary::-webkit-details-marker{display:none}.workspace-admin-nav .nav-chevron{margin-left:auto}.workspace-admin-nav[open]>summary{color:white}.workspace-shell .workspace-admin-nav>a{padding-left:21px;font-size:12px}.workspace-user{margin-top:26px;padding:14px 10px 10px;border-top:1px solid #ffffff16;display:flex;align-items:center;gap:10px}.workspace-avatar,.workspace-profile{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#e5edff;color:#2851b0;font-size:12px;font-weight:750}.workspace-user .workspace-avatar{background:#294264;color:#dfeaff}.workspace-user strong{display:block;color:#eef4ff;font-size:12px;font-weight:600}.workspace-user small{display:block;color:#8ea5c4;font-size:10px}.workspace-shell .legal-sidebar-links{font-size:9px;padding:10px}.workspace-shell .logout{padding:9px 12px;margin-top:0;border:0;font-size:12px;min-height:38px;color:#8ea5c4}.workspace-shell .logout .nav-label{font-size:12px}.workspace-shell .logout:hover{color:white}
.workspace-shell>main{padding:0;background:var(--ws-canvas)}.workspace-content{padding:26px 32px 40px;max-width:1680px;margin:0 auto}.workspace-topbar{height:66px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ws-line);background:#ffffffd9}.workspace-breadcrumb{display:flex;gap:12px;align-items:center;font-size:11px;color:#8190a5}.workspace-breadcrumb strong{font-size:12px;color:#3d4f68;font-weight:600}.workspace-topbar-actions{display:flex;gap:20px;align-items:center}.workspace-date{font-size:11px;color:#6b7c93}.workspace-topbar-link{display:flex;align-items:center;gap:7px;font-size:11px;color:#425773}.workspace-profile{width:30px;height:30px;font-size:10px}
.workspace-shell .page-head{margin-bottom:24px;align-items:center;gap:18px}.workspace-shell .page-head h1{font-size:29px;line-height:1.2;font-weight:750;letter-spacing:-.035em;margin:4px 0 7px}.workspace-shell .page-head p:not(.eyebrow){font-size:12px;line-height:1.6;color:var(--ws-muted)}.workspace-shell .eyebrow{font-size:9px;letter-spacing:.12em;color:#64809d!important;font-weight:700}.workspace-shell .btn{border-radius:8px;padding:10px 14px;font-weight:600;font-size:12px;line-height:1.4;min-height:38px;background:#fff;box-shadow:inset 0 0 0 1px #d8e0eb;color:#344966}.workspace-shell .btn.primary{background:#2457df;box-shadow:0 3px 8px #2457df1c;color:white}.workspace-shell .btn.primary:hover{background:#1e4bc9}.workspace-shell .mini{font-size:11px;border-radius:6px}.workspace-shell .btn.danger{color:white;background:#bd3434}.workspace-shell .panel,.workspace-shell .stat,.workspace-shell .order-card,.workspace-shell .employee-card,.workspace-shell .my-order{border:1px solid var(--ws-line);border-radius:12px;box-shadow:0 2px 4px #1d355306;background:white}.workspace-shell .panel{padding:20px}.workspace-shell .panel-head{gap:12px;margin-bottom:17px;align-items:flex-start}.workspace-shell .panel-head h2{font-size:14px;font-weight:700;letter-spacing:-.01em}.workspace-shell .panel-head small{font-size:11px;color:var(--ws-muted)}.workspace-shell .panel-head a{font-size:11px;color:var(--ws-primary)}.workspace-shell input:not([type=checkbox]):not([type=radio]),.workspace-shell select,.workspace-shell textarea{border:1px solid #d8e1ed;border-radius:8px;box-shadow:none;background:#fff;font-size:12px;padding:10px 12px;min-width:0}.workspace-shell input:focus,.workspace-shell select:focus,.workspace-shell textarea:focus{border-color:#789bee;box-shadow:0 0 0 3px #2457df0b;outline:none}.workspace-shell label{font-size:11px;color:#415570;font-weight:600}.workspace-shell .pill{font-size:9px;font-weight:600;padding:4px 8px;border:0;border-radius:5px;background:#edf2fa;color:#566b87}.workspace-shell .pill.status-planned{background:#eaf0ff;color:#2857bd}.workspace-shell .pill.status-inprogress{background:#e6f5ef;color:#18734e}.workspace-shell .pill.status-completed{background:#e8f4ef;color:#18734e}.workspace-shell .pill.status-unplanned{background:#fff3df;color:#96600b}.workspace-shell .pill.away{background:#eff0ff;color:#6566a8}.workspace-shell .empty{color:var(--ws-muted);font-size:12px}.workspace-empty strong{display:block;font-size:16px;color:var(--ws-ink)}.workspace-empty p{margin:8px 0 16px}
/* Dashboard hierarchy: metrics, operational work, secondary context, then capacity. */
.workspace-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 28px}.workspace-metric{padding:18px 20px;background:white;border:1px solid var(--ws-line);border-radius:12px;box-shadow:0 2px 4px #1d355306;min-width:0;position:relative}.workspace-metric:before{content:'';position:absolute;top:18px;right:18px;height:7px;width:7px;border-radius:50%;background:#6488e4}.workspace-metric .metric-caption{display:block;font-size:11px;color:#64758d;font-weight:500}.workspace-metric strong{display:flex;align-items:baseline;gap:8px;font-size:32px;letter-spacing:-.05em;font-weight:750;color:#172840;margin:8px 0 12px;line-height:1.1}.workspace-metric strong span{font-size:10px;letter-spacing:0;color:#8391a5;font-weight:500}.workspace-metric>small{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef1f6;padding-top:12px;font-size:10px;color:#73839b}.metric-red:before{background:#e66b6b}.metric-amber:before{background:#e8b354}.metric-teal:before{background:#46b6a8}.workspace-section-heading,.workspace-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 14px}.workspace-section-heading h2{margin:2px 0 0;font-size:18px;font-weight:700;letter-spacing:-.02em}.workspace-section-heading .eyebrow{margin:0}.workspace-shell .dashboard-customize{position:relative;border:0;padding:0;margin:0;background:transparent;box-shadow:none}.workspace-shell .dashboard-customize>summary{font-size:11px;font-weight:500;color:#5c708d;min-height:34px;padding:8px 10px;background:white;border:1px solid var(--ws-line);border-radius:7px;list-style:none;cursor:pointer}.workspace-shell .dashboard-customize-hint{display:none}.workspace-shell .dashboard-customize-content{position:absolute;top:42px;right:0;z-index:30;width:320px;max-width:calc(100vw - 32px);padding:16px;display:grid;grid-template-columns:1fr;gap:10px;border:1px solid var(--ws-line);border-radius:10px;background:white;box-shadow:0 12px 32px #12213a20}.workspace-shell .dashboard-customize-option{font-size:12px;display:flex;gap:10px;align-items:center}.workspace-shell .workspace-operations{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;margin-bottom:20px}.workspace-warning-panel{grid-column:1}.workspace-next-panel{grid-column:2;grid-row:1}.workspace-today-panel{grid-column:1}.workspace-absent-panel{grid-column:2}.workspace-shell .warning-columns{gap:16px;display:grid;grid-template-columns:1fr 1fr}.workspace-shell .warning-group{background:transparent;padding:0;border:0;box-shadow:none;min-width:0}.workspace-shell .warning-group-head{background:none;padding:0 0 10px;border-bottom:1px solid #eef1f6;font-size:11px;display:flex;align-items:center;gap:6px}.workspace-shell .warning-group-head b{margin-left:auto;font-size:10px;background:#f2f5fa;border-radius:4px;padding:2px 6px}.workspace-shell .warning-line{padding:13px 0;border-bottom:1px solid #eef1f6;display:flex;gap:10px;align-items:center;background:none;box-shadow:none}.workspace-shell .warning-line strong{font-size:11px;font-weight:600;line-height:1.5}.workspace-shell .warning-line small{font-size:10px;line-height:1.5;color:#8290a3}.workspace-shell .warning-line>div{min-width:0}.workspace-shell .warning-line>span{margin-left:auto;color:#93a4bb}.workspace-shell .dashboard-ok{padding:14px;background:#eef7f3;border:1px solid #deefe5;color:#3b7961;font-size:11px;border-radius:8px}.workspace-shell .order-line{padding:13px 0;gap:12px;border-color:#eef1f6}.workspace-shell .order-line strong{font-size:11px;font-weight:600}.workspace-shell .order-line small,.workspace-shell .order-line>span{font-size:10px;color:#7b8ba1}.workspace-shell .order-line>div{min-width:0}.workspace-shell .today-employee{border:1px solid #e7edf5;border-radius:8px;padding:12px;margin:8px 0;background:#fcfdff}.workspace-shell .today-employee-head strong{font-size:12px}.workspace-shell .today-employee-head>span{font-size:10px;color:#7f91a9}.workspace-shell .today-order{padding:8px 0 0;font-size:11px;background:none;border:0}.workspace-shell .today-order small{font-size:10px}.workspace-shell .absence-dashboard-line{padding:12px 0;border-color:#eef1f6}.workspace-shell .absence-dashboard-line strong{font-size:12px}.workspace-shell .absence-dashboard-line small{font-size:10px}.workspace-context-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px;margin:18px 0 28px}.workspace-context-grid>.panel{margin-bottom:0!important}.workspace-shell .dashboard-section-head h2{font-size:18px;letter-spacing:-.02em}.workspace-shell .dashboard-period{border:1px solid var(--ws-line);border-radius:10px;background:white;padding:10px 12px}.workspace-shell .seg{border-radius:7px;background:#edf1f7}.workspace-shell .seg button{font-size:11px;padding:7px 12px;border-radius:5px}.workspace-shell .seg button.active{color:var(--ws-primary);box-shadow:0 1px 4px #1d355312}.workspace-shell .dashboard-stats{grid-template-columns:1fr 1fr}.workspace-shell .stat strong{font-size:27px}.workspace-shell .stat span,.workspace-shell .stat small{font-size:11px}.workspace-shell .bar{height:7px}.workspace-shell .bar i{background:#3772dd}.workspace-shell .util-row{grid-template-columns:minmax(140px,1fr) 1fr 42px;font-size:11px;gap:14px}.workspace-shell .util-row strong{font-size:12px}.workspace-shell .util-row small{font-size:10px}
/* Orders workbench. The result markup still contains every original status, person and hour value. */
.workspace-order-overview{display:flex;align-items:center;gap:0;background:#fff;border:1px solid var(--ws-line);border-radius:12px;padding:18px 0;margin-bottom:18px}.workspace-order-overview>div:not(.workspace-overview-note){display:flex;align-items:center;gap:18px;padding:0 24px;border-right:1px solid var(--ws-line)}.workspace-order-overview>div>span{font-size:11px;color:#6c7e96}.workspace-order-overview strong{font-size:22px;line-height:1.2;letter-spacing:-.03em}.workspace-overview-note{margin-left:auto;display:flex;gap:8px;align-items:center;padding:0 22px;max-width:280px;font-size:10px}.workspace-live-dot{width:6px;height:6px;flex-shrink:0;background:#43a78a;border-radius:50%}.workspace-shell .workspace-order-toolbar{background:#fff;border:1px solid var(--ws-line);border-radius:12px;padding:16px 18px;margin-bottom:20px;box-shadow:none}.workspace-shell .orders-search-row{display:flex;gap:10px}.workspace-shell .orders-search-row .search{flex:1;max-width:none;background:#f8fafd;min-height:42px;font-size:12px}.workspace-shell .orders-filter-toggle{display:inline-flex;gap:8px}.workspace-shell .order-filter-fields{gap:14px;grid-template-columns:1fr 1.25fr 1.25fr;margin-top:14px}.workspace-shell .orders-filter-summary{margin-top:12px;min-height:24px;font-size:10px;border-top:1px solid #eef1f6;padding-top:11px}.workspace-shell .orders-filter-summary .btn{font-size:10px;padding:4px 8px;min-height:25px;box-shadow:none;background:#f0f4fb;color:#547397}.workspace-results-heading>div{display:flex;gap:10px;align-items:center}.workspace-results-heading h2{font-size:14px;margin:0;font-weight:700}.workspace-results-heading>div>span{border-radius:5px;background:#e6ecf7;color:#657c9c;font-size:10px;padding:3px 7px}.workspace-results-heading>small{font-size:10px;color:#8192a8}.workspace-shell .workspace-order-list{display:flex;flex-direction:column;gap:10px}.workspace-shell .workspace-order-list .order-card{display:flex;align-items:center;gap:18px;padding:18px 20px;border-left:1px solid var(--ws-line);transition:border-color .15s,box-shadow .15s;position:relative}.workspace-shell .workspace-order-list .order-card:hover{border-color:#a7bce9;box-shadow:0 4px 14px #2457df09}.workspace-shell .workspace-order-list .order-card.order-due{border-left:3px solid #e98c8c}.workspace-shell .workspace-order-list .order-card.order-soon{border-left:3px solid #e1b96e}.workspace-shell .workspace-order-list .datebox{width:49px;min-width:49px;background:#f0f4fb;border:0;border-radius:9px;padding:9px 5px;text-align:center;color:#56729c;box-shadow:none}.workspace-shell .workspace-order-list .datebox b{font-size:21px;line-height:1.2;color:#34567f}.workspace-shell .workspace-order-list .datebox span{font-size:9px;text-transform:uppercase;font-weight:600}.workspace-shell .order-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.workspace-order-number{font-size:9px;letter-spacing:.02em;font-weight:600;color:#7187a7;background:#f0f4fa;padding:3px 6px;border-radius:4px;white-space:nowrap}.workspace-shell .order-top>strong{font-size:13px;font-weight:650;color:#223b5b}.workspace-shell .workspace-order-list .order-card .grow>p{font-size:11px;margin:6px 0 5px;color:#71839b}.workspace-order-meta{font-size:10px;color:#8695a9}.workspace-shell .assigned{margin-top:10px;gap:5px;display:flex;flex-wrap:wrap}.workspace-shell .assigned>span{font-size:9px;background:#f2f5f9;color:#5e7494;padding:3px 7px;border-radius:4px;box-shadow:none;border:0}.workspace-shell .workspace-order-list .hours{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;min-width:88px}.workspace-shell .workspace-order-list .hours b{font-size:17px;color:#263e60}.workspace-shell .workspace-order-list .hours small{font-size:9px;color:#91a0b3}.workspace-open-order{display:flex;gap:8px;align-items:center;font-size:10px;color:#5478ba;margin-top:11px}.workspace-shell .list-more{background:transparent;border:0}
/* Detail and employee flows. */
.workspace-detail-summary{display:grid;grid-template-columns:.8fr 1.4fr 1fr 1fr;gap:16px;border:1px solid var(--ws-line);border-radius:12px;background:white;padding:18px 20px;margin-bottom:18px}.workspace-detail-summary span{display:block;font-size:10px;color:#8494a9;margin-bottom:5px}.workspace-detail-summary strong{font-size:12px;font-weight:650}.workspace-section-nav{display:flex;gap:24px;margin:0 0 18px;border-bottom:1px solid var(--ws-line);overflow-x:auto}.workspace-section-nav a{font-size:11px;color:#647c9c;white-space:nowrap;padding:10px 0 13px;border-bottom:2px solid transparent}.workspace-section-nav a:hover,.workspace-section-nav a:focus{color:var(--ws-primary);border-bottom-color:var(--ws-primary)}.workspace-detail-grid{align-items:start}.workspace-shell .order-primary-info{border:1px solid #e7edf5;border-radius:9px;background:#fafcff;padding:14px}.workspace-shell .order-info-label{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#8093ad}.workspace-shell .order-address-text,.workspace-shell .order-contact-name{font-size:13px;font-weight:650;line-height:1.6}.workspace-shell .detail-list>div{border-color:#eef1f6;padding:12px 0}.workspace-shell .detail-list span{font-size:11px;color:#7c8fa8}.workspace-shell .detail-list b{font-size:11px;color:#374e6c;font-weight:550}.workspace-shell .assignment-line{border:1px solid #e6edf5;border-radius:9px;padding:12px;margin:8px 0;gap:10px}.workspace-shell .assignment-line strong{font-size:12px}.workspace-shell .assignment-line small{font-size:10px}.workspace-shell .assignment-line .mini{font-size:9px}.workspace-detail-grid h2[id],#order-overview,#order-signatures,#order-documentation{scroll-margin-top:90px}.workspace-employee-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;background:#183559;color:white;border-radius:14px;margin-bottom:24px}.workspace-employee-overview>div{padding:0 18px;border-right:1px solid #ffffff22}.workspace-employee-overview>div:last-child{border-right:0}.workspace-employee-overview span{font-size:10px;color:#9eb5d1;display:block}.workspace-employee-overview strong{display:block;font-size:27px;line-height:1.4;font-weight:650;letter-spacing:-.03em;margin-top:5px}.workspace-employee-overview strong small{font-size:11px;font-weight:400;color:#b4c9e1;letter-spacing:0}.workspace-shell .workspace-my-orders{gap:10px;display:flex;flex-direction:column}.workspace-day-heading{display:flex;align-items:baseline;gap:12px;margin:13px 0 4px}.workspace-day-heading h2{font-size:15px;margin:0;letter-spacing:-.01em}.workspace-day-heading>span{font-size:10px;color:#8295ae}.workspace-shell .workspace-my-orders .employee-order-card{padding:0;display:flex;align-items:stretch;border:1px solid var(--ws-line);overflow:hidden;border-radius:12px}.workspace-shell .workspace-my-orders .my-order-link{padding:18px;display:flex;align-items:center;gap:16px;flex:1;min-width:0}.workspace-shell .workspace-my-orders .my-date{min-width:62px;width:62px;background:#f0f4fb;padding:12px 7px;border-radius:9px;text-align:center}.workspace-shell .workspace-my-orders .my-date b{font-size:16px;color:#355a8d}.workspace-shell .workspace-my-orders .my-date>span{font-size:11px;color:#7a93b5}.workspace-shell .workspace-my-orders .grow>strong{font-size:14px;color:#243e60;display:block;margin:7px 0}.workspace-shell .workspace-my-orders .grow>p{font-size:11px;color:#7489a5;margin:4px 0}.workspace-shell .workspace-my-orders .grow>small{font-size:10px;color:#8596ac}.workspace-shell .workspace-my-orders .return-order{width:auto;flex-shrink:0;align-self:center;margin:16px;background:#f4f7fc;color:#5f789d;font-size:10px;box-shadow:inset 0 0 0 1px #dce4f0}.workspace-responsible{font-size:9px;background:#e6f5ef;color:#228369;padding:3px 6px;border-radius:4px}.workspace-shell .employee-card-clean{padding:18px;box-shadow:none}.workspace-shell .employee-card-heading strong{font-size:14px}.workspace-shell .employee-card-details{font-size:11px}.workspace-shell .employee-meta{font-size:10px}.workspace-shell .list-toolbar{background:#fff;border:1px solid var(--ws-line);border-radius:10px;padding:12px 14px}.workspace-shell .customer-card h3{font-size:14px;margin:0}.workspace-shell .customer-card p,.workspace-shell .customer-card small{font-size:11px;color:#7a8ea9}.workspace-shell .profile-card,.workspace-shell .account-card{border:1px solid var(--ws-line);border-radius:12px;box-shadow:none}.workspace-shell .modal{border-radius:14px;box-shadow:0 24px 80px #0b1b3a33}.workspace-shell .modal-head h2{font-size:19px;letter-spacing:-.02em}.workspace-shell .modal-bg{background:#101d365f;backdrop-filter:blur(3px)}.workspace-shell .modal-actions{gap:9px;border-color:#e8edf5}
/* Keep desktop, narrow tablet, mobile and collapsed navigation consistent. */
@media(min-width:801px){.workspace-shell:not(.sidebar-collapsed)>main{margin-left:var(--ws-nav);width:calc(100% - var(--ws-nav));max-width:none}.workspace-shell.sidebar-collapsed>.sidebar{width:76px;padding-left:12px;padding-right:12px}.workspace-shell.sidebar-collapsed>main{margin-left:76px;width:calc(100% - 76px);max-width:none}.workspace-shell.sidebar-collapsed .workspace-user,.workspace-shell.sidebar-collapsed .workspace-nav-caption,.workspace-shell.sidebar-collapsed .nav-section-label,.workspace-shell.sidebar-collapsed .brand-text>div{display:none}.workspace-shell.sidebar-collapsed .brand-row{flex-direction:column;align-items:center}.workspace-shell.sidebar-collapsed .brand{padding-bottom:8px}.workspace-shell.sidebar-collapsed .sidebar-toggle{margin:0 auto 14px}.workspace-shell.sidebar-collapsed .nav a{justify-content:center;padding:11px 0}.workspace-shell.sidebar-collapsed .workspace-admin-nav>summary{justify-content:center;padding:11px 0}.workspace-shell.sidebar-collapsed .workspace-admin-nav .nav-chevron{display:none}.workspace-shell.sidebar-collapsed .workspace-admin-nav>a{padding:11px 0}.workspace-shell.sidebar-collapsed .logout{justify-content:center}.workspace-shell.sidebar-collapsed .logout .nav-label{display:none}}
@media(max-width:1150px) and (min-width:801px){:root{--ws-nav:214px}.workspace-content{padding:22px}.workspace-topbar{padding:0 22px}.workspace-metrics{gap:10px}.workspace-metric{padding:14px}.workspace-metric strong{font-size:27px}.workspace-order-overview>div:not(.workspace-overview-note){padding:0 15px;gap:10px}.workspace-overview-note{display:none}.workspace-order-overview>div:nth-child(3){border-right:0}.workspace-detail-summary{grid-template-columns:1fr 1fr}.workspace-shell .workspace-operations{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.workspace-shell>main{width:100%;max-width:100%;margin-left:0;padding:calc(60px + var(--app-safe-top,env(safe-area-inset-top,0px))) 0 0}.workspace-content{padding:20px 14px 90px}.workspace-shell .mobile-head{height:calc(60px + var(--app-safe-top,env(safe-area-inset-top,0px)));padding-top:var(--app-safe-top,env(safe-area-inset-top,0px));background:#12213a;box-shadow:0 1px 0 #ffffff12;display:grid}.workspace-shell>.sidebar{display:none}.workspace-shell .mobile-head .mobile-brand strong{font-size:14px;font-weight:600}.workspace-shell .mobile-head button{background:#ffffff0b;border:1px solid #ffffff16;border-radius:8px}.workspace-topbar{height:41px;padding:0 16px;background:#fff}.workspace-breadcrumb{gap:8px;font-size:10px}.workspace-breadcrumb>span:first-child{display:none}.workspace-breadcrumb>span:nth-child(2){display:none}.workspace-breadcrumb strong{font-size:10px}.workspace-date{font-size:10px}.workspace-profile{display:none}.workspace-topbar-actions{gap:10px}.workspace-topbar-link{font-size:10px}.workspace-shell .page-head{align-items:flex-start;gap:14px;margin-bottom:19px}.workspace-shell .page-head h1{font-size:25px}.workspace-shell .page-head .head-actions{gap:8px;flex-wrap:wrap}.workspace-shell .page-head p:not(.eyebrow){font-size:11px}.workspace-shell .page-head .btn{font-size:11px;min-height:38px}.workspace-shell .drawer{background:#12213a;padding:18px 14px;overflow-y:auto}.workspace-shell .drawer .nav{gap:3px}.workspace-metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.workspace-metric{padding:14px}.workspace-metric .metric-caption{font-size:10px}.workspace-metric strong{font-size:29px;margin:8px 0 10px}.workspace-metric strong span{font-size:9px}.workspace-metric>small{font-size:9px}.workspace-section-heading h2{font-size:16px}.workspace-shell .workspace-operations{grid-template-columns:1fr;gap:12px}.workspace-warning-panel,.workspace-next-panel,.workspace-today-panel,.workspace-absent-panel{grid-column:auto;grid-row:auto}.workspace-next-panel{order:1}.workspace-warning-panel{order:0}.workspace-today-panel{order:2}.workspace-absent-panel{order:3}.workspace-context-grid{grid-template-columns:1fr;gap:12px}.workspace-shell .panel{padding:16px}.workspace-shell .panel-head h2{font-size:14px}.workspace-shell .dashboard-stats{gap:10px}.workspace-shell .dashboard-period{gap:12px}.workspace-order-overview{padding:14px 0;flex-wrap:wrap;gap:14px 0}.workspace-order-overview>div:not(.workspace-overview-note){flex:1;padding:0 14px;gap:4px;flex-direction:column;align-items:flex-start}.workspace-order-overview>div>span{font-size:9px}.workspace-order-overview strong{font-size:20px}.workspace-order-overview>div:nth-child(3){border-right:0}.workspace-overview-note{margin:0;padding:12px 14px 0;border-top:1px solid #eef1f6;max-width:none;width:100%;font-size:9px}.workspace-order-overview .workspace-overview-note>span{font-size:9px}.workspace-shell .workspace-order-toolbar{padding:13px}.workspace-shell .order-filter-fields{grid-template-columns:1fr;gap:10px}.workspace-shell .orders-search-row .search{font-size:16px;min-height:44px;padding:10px}.workspace-shell .orders-filter-toggle{font-size:10px;padding:10px;min-height:44px}.workspace-results-heading>small{display:none}.workspace-results-heading h2{font-size:13px}.workspace-shell .workspace-order-list .order-card{display:grid;grid-template-columns:41px minmax(0,1fr);gap:10px 12px;padding:15px 13px;align-items:flex-start}.workspace-shell .workspace-order-list .order-card>.grow{grid-column:2;grid-row:1}.workspace-shell .workspace-order-list .order-card>.datebox{grid-column:1;grid-row:1}.workspace-shell .workspace-order-list .datebox{width:41px;min-width:41px;padding:8px 4px}.workspace-shell .workspace-order-list .datebox b{font-size:20px}.workspace-shell .order-top>strong{font-size:12px;flex-basis:100%;order:-1}.workspace-shell .workspace-order-list .hours{display:flex;grid-column:2;grid-row:2;flex-direction:row;align-items:center;gap:7px;min-width:0}.workspace-shell .workspace-order-list .hours b{font-size:12px}.workspace-shell .workspace-order-list .hours small{font-size:9px}.workspace-shell .workspace-order-list .workspace-open-order{margin:0 0 0 auto;font-size:9px}.workspace-shell .workspace-order-list .order-card .grow>p{font-size:10px;line-height:1.6}.workspace-order-meta{font-size:9px}.workspace-shell .assigned>span{font-size:9px}.workspace-detail-summary{grid-template-columns:1fr 1fr;padding:14px;gap:15px}.workspace-detail-summary strong{font-size:11px}.workspace-detail-summary span{font-size:9px}.workspace-section-nav{gap:20px}.workspace-section-nav a{font-size:11px}.workspace-shell .util-row{grid-template-columns:1fr 40px}.workspace-shell .util-row .bar{grid-column:1/-1;grid-row:2}.workspace-employee-overview{padding:15px 0;gap:0}.workspace-employee-overview>div{padding:0 13px}.workspace-employee-overview span{font-size:9px}.workspace-employee-overview strong{font-size:23px}.workspace-employee-overview strong small{display:block;font-size:9px}.workspace-shell .workspace-my-orders .employee-order-card{flex-direction:column}.workspace-shell .workspace-my-orders .my-order-link{padding:15px;gap:12px}.workspace-shell .workspace-my-orders .my-date{width:52px;min-width:52px}.workspace-shell .workspace-my-orders .grow>strong{font-size:13px}.workspace-shell .workspace-my-orders .return-order{align-self:stretch;margin:0 15px 13px;font-size:11px;min-height:38px}.workspace-shell .modal{border-radius:16px 16px 0 0}.workspace-shell input:not([type=checkbox]):not([type=radio]),.workspace-shell select,.workspace-shell textarea{font-size:16px;min-height:42px}.workspace-shell .profile-card,.workspace-shell .account-card{padding:16px}}
@media(prefers-reduced-motion:reduce){.workspace-shell *{scroll-behavior:auto!important;transition:none!important}}
@media print{.workspace-topbar,.workspace-section-nav,.workspace-order-overview,.workspace-results-heading,.workspace-employee-overview,.workspace-metrics{display:none!important}.workspace-shell>main{margin:0!important;width:100%!important;padding:0!important}.workspace-content{padding:0!important;max-width:none}.workspace-shell .monthly-print-sheet{border:0;box-shadow:none}}
/* Login shares the new brand, keeping the existing form, cookies and authentication intact. */
body.workspace-login{display:block;margin:0;min-height:100vh;background:#f3f5f9;padding:32px;color:#172840}.workspace-login-shell{max-width:1180px;margin:6vh auto;display:grid;grid-template-columns:1.05fr 1fr;min-height:650px;border:1px solid #dfe5ef;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 16px 60px #1728400c}.workspace-login-intro{background:#152b49;padding:42px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;color:#e5efff}.workspace-login-logo{display:flex;align-items:center;gap:11px}.workspace-login-logo>strong{font-size:28px;letter-spacing:-1px;color:white}.workspace-login-logo>strong span{color:#6ad7cc}.workspace-login-logo>span:last-child{border-left:1px solid #ffffff33;padding-left:14px;font-size:11px;color:#a4b9d2}.workspace-login-intro .eyebrow{font-size:9px;color:#78a9cd!important;letter-spacing:.16em}.workspace-login-intro h2{font-size:43px;line-height:1.2;letter-spacing:-.045em;color:white;margin:18px 0}.workspace-login-intro p:not(.eyebrow){font-size:13px;color:#9cb4d1;line-height:1.9;max-width:330px}.workspace-login-points{display:grid;gap:17px;margin-top:32px}.workspace-login-points>span{display:flex;gap:17px;font-size:10px;color:#6788b0}.workspace-login-points b{font-size:12px;font-weight:500;color:#c1d1e5}.workspace-login-intro>small{font-size:9px;color:#7793b5}.workspace-login-form{align-self:center;padding:38px;min-width:0}.workspace-login .login-card{margin:0 auto;padding:24px 12px;width:100%;max-width:370px;border:0;box-shadow:none;background:#fff}.workspace-login .login-brand{margin-bottom:25px}.workspace-login .login-brand strong{color:#172840;font-size:22px}.workspace-login .login-brand small{color:#8797ad;font-size:10px}.workspace-login .login-card h1{font-size:26px;letter-spacing:-.035em;margin-bottom:10px}.workspace-login .login-card p{font-size:12px;color:#8190a5;line-height:1.7;margin-bottom:24px}.workspace-login .login-card label{font-size:11px;font-weight:600;color:#415570}.workspace-login .login-card input:not([type=checkbox]){font-size:14px;border:1px solid #d8e1ed;border-radius:8px;min-height:46px;box-shadow:none}.workspace-login .login-card .btn.primary{background:#2457df;border-radius:8px;font-size:12px;font-weight:600;min-height:44px}.workspace-login .login-remember span{font-size:11px;color:#6e809b}.workspace-login .login-forgot{font-size:11px;color:#5073b2}.workspace-login .legal-login-links{font-size:9px;padding:10px}.workspace-login .login-card .warning{font-size:12px;border-radius:8px}
@media(max-width:800px){body.workspace-login{padding:0;background:#fff}.workspace-login-shell{margin:0;border:0;border-radius:0;min-height:100vh;display:block;box-shadow:none}.workspace-login-intro{padding:calc(25px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) 25px max(24px,env(safe-area-inset-left,0px));gap:12px}.workspace-login-intro>div:nth-child(2),.workspace-login-intro>small{display:none}.workspace-login-logo>strong{font-size:24px}.workspace-login-form{padding:22px 18px}.workspace-login .login-card{padding:20px 8px}.workspace-login .login-brand{display:none}.workspace-login .login-card input:not([type=checkbox]){font-size:16px}.workspace-login .legal-login-links{padding:14px}}

.workspace-login .login-card .login-remember{display:flex;align-items:center;gap:10px}

@media(max-width:800px){.workspace-shell.employee-shell>.employee-main{padding-top:calc(60px + var(--app-safe-top,env(safe-area-inset-top,0px)))!important}}

/* Keep the full menu accessible without a second visible desktop scrollbar. */
.workspace-shell .sidebar{scrollbar-width:none;-ms-overflow-style:none}
.workspace-shell .sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.workspace-shell .monthly-plan-loading{padding:10px 14px;margin-bottom:12px;border-radius:8px;background:#edf3ff;color:#35567f;font-size:12px}
.workspace-shell .monthly-plan-toolbar button:disabled{opacity:.55;cursor:wait}

.audit-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:#475569;font-size:14px}
.workspace-shell .audit-row{padding:14px 18px;gap:16px;grid-template-columns:110px minmax(0,1fr)}
.workspace-shell .audit-title strong{font-size:15px;line-height:1.5}.workspace-shell .audit-meta{font-size:13px;color:#334155}.workspace-shell .audit-meta a{color:#1d4ed8;text-decoration:underline}
.audit-changes{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:9px;font-size:13px;color:#334155;overflow-wrap:anywhere}
.audit-technical{margin-top:8px;font-size:11px;color:#64748b}.audit-technical small{display:block;overflow-wrap:anywhere;white-space:pre-wrap;padding:8px 0}
.audit-more{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:20px}.audit-more small{color:#64748b}
@media(max-width:780px){.workspace-shell .audit-row{grid-template-columns:1fr;gap:8px}.audit-overview{align-items:flex-start;flex-direction:column}}

.dashboard-tv-configuration{background:#fff;border:1px solid #dfe6f0;border-radius:14px;margin:0 0 24px;overflow:hidden}
.dashboard-tv-configuration>summary{display:flex;align-items:center;gap:14px;padding:17px 20px;cursor:pointer;list-style:none}.dashboard-tv-configuration>summary::-webkit-details-marker{display:none}
.tv-config-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#eef3ff;color:#2459dc;font-size:24px}
.dashboard-tv-configuration summary strong{display:block;font-size:15px;color:#172840}.dashboard-tv-configuration summary small{display:block;font-size:12px;color:#64748b;margin-top:4px}.tv-config-chevron{margin-left:auto;color:#64748b}
.tv-config-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:28px;border-top:1px solid #e8edf5;padding:26px}
.tv-config-fields{display:grid;gap:14px}.tv-config-heading h2{font-size:21px;line-height:1.3;margin:5px 0 10px}.tv-config-heading p{font-size:13px;line-height:1.6;color:#64748b;margin:0}
.tv-config-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tv-config-selects label,.tv-config-notice{display:grid;gap:7px;font-size:13px;font-weight:600;color:#334155}
.tv-config-hint{font-size:12px;line-height:1.65;color:#64748b;margin:0}.tv-config-option{display:flex;gap:12px;align-items:center;padding:13px 14px;background:#f8fafc;border:1px solid #e4eaf3;border-radius:10px;cursor:pointer}
.tv-config-option input{width:18px;height:18px;accent-color:#2459dc;flex:none}.tv-config-option strong{display:block;font-size:13px;color:#172840}.tv-config-option small{display:block;margin-top:4px;font-size:12px;color:#64748b;line-height:1.4}
.tv-config-notice textarea{resize:vertical;min-height:90px;font-weight:400}.tv-config-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.tv-config-actions [role=status]{font-size:12px;color:#166534}.tv-config-actions [role=alert]{font-size:12px;color:#991b1b}
.tv-config-preview{align-self:start;background:#f3f6fc;border:1px solid #e0e8f4;border-radius:12px;padding:22px;display:grid;gap:16px}.tv-config-preview h3{font-size:20px;margin:0;color:#172840}.tv-config-preview>p{font-size:13px;line-height:1.6;color:#64748b;margin:0}
.tv-config-preview label{display:grid;gap:6px;font-size:12px;color:#475569}.tv-config-preview input{width:100%;min-width:0;font-size:12px!important;background:#fff}.tv-config-preview>.btn{justify-self:start}
.tv-config-sample{background:white;border:1px solid #dce5f3;border-radius:8px;padding:13px}.tv-config-sample>strong{font-size:12px}.tv-config-sample>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:12px}.tv-config-sample span{font-size:10px;text-align:center;color:#64748b}.tv-config-sample i{display:block;height:16px;background:#dceaff;border-radius:3px;margin-top:7px}.tv-config-sample span:nth-child(2n) i{background:#dcfce7}
@media(max-width:850px){.tv-config-body{grid-template-columns:1fr;padding:18px;gap:20px}.tv-config-selects{grid-template-columns:1fr}.dashboard-tv-configuration summary small{line-height:1.5}.tv-config-preview{padding:18px}}
@media print{.dashboard-tv-configuration{display:none!important}}

/* Long company names must wrap without moving the edit action off screen. */
.workspace-shell .customer-card-head h3{min-width:0;overflow-wrap:anywhere}
.workspace-shell .customer-card-head>.mini{flex-shrink:0}

/* Keep unfinished historical work reachable without pushing today's schedule down. */
.orders-earlier-open{margin:0 0 18px}.orders-earlier-open>summary{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;cursor:pointer;color:#9a3412}.orders-earlier-open>summary>span{font-size:12px}.orders-earlier-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e2e8f0;margin-top:8px}.orders-earlier-link>span:first-child{min-width:0;overflow-wrap:anywhere}.orders-earlier-link strong,.orders-earlier-link small{display:block}.orders-earlier-link small{color:#64748b;margin-top:4px}

/* Absence badges contain words as well as single-letter status icons. */
.workspace-shell .absence-dashboard-line>div{min-width:0;overflow-wrap:anywhere}
.workspace-shell .absence-dashboard-line>span{width:auto;min-width:32px;flex:0 0 auto;padding:5px 8px;white-space:nowrap}
@media(max-width:780px){
 .workspace-shell .dashboard-quick-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;gap:8px}
 .workspace-shell .dashboard-quick-actions>.btn{min-width:0;display:flex;align-items:center;justify-content:center}
 .workspace-shell .dashboard-quick-actions>.notification-action{flex:0 0 44px;width:44px;height:44px;padding:0}
 .workspace-shell .dashboard-quick-actions>.primary{flex:1 1 calc(100% - 52px);width:auto;min-height:44px}
 .workspace-shell .dashboard-quick-actions>.btn:not(.notification-action):not(.primary){flex:1 1 calc(50% - 4px);width:auto;min-height:44px}
}

/* Dashboard widgets must adapt to the card width, including tablet half columns. */
.workspace-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-shell .weather-overview{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.workspace-shell .weather-overview>div,.workspace-shell .weather-metrics>div{min-width:0;overflow-wrap:anywhere}
.workspace-shell .weather-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){.workspace-context-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the orders toolbar small enough that the list stays above the fold. */
.workspace-shell .orders-page-head{gap:12px;margin-bottom:12px}
.workspace-shell .orders-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 22px;min-width:0}
.workspace-shell .orders-heading h1{margin:0;font-size:28px;line-height:1.2}
.orders-inline-stats{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:#64748b}
.orders-inline-stats>span{white-space:nowrap}.orders-inline-stats strong{color:#172840;font-size:14px;margin-right:3px}
.workspace-shell .orders-toolbar-row{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:12px}
.workspace-shell .workspace-order-toolbar{padding:10px 12px;margin-bottom:10px}
.workspace-shell .orders-toolbar-row .orders-search-row{margin:0;min-width:0}
.workspace-shell .orders-toolbar-row .search{min-width:0;min-height:40px;font-size:13px}
.workspace-shell .orders-toolbar-row .order-quick-filters{margin:0;padding:0;gap:5px}
.workspace-shell .orders-toolbar-row .btn{min-height:38px;font-size:12px;padding:8px 11px;white-space:nowrap}
.workspace-shell .workspace-order-toolbar:not(.expanded) .order-filter-fields{display:none}
.workspace-shell .workspace-order-toolbar.expanded .order-filter-fields{display:grid;padding:10px 0 0;border:0;border-top:1px solid #e8edf5;border-radius:0;background:transparent;margin-top:10px}
.workspace-shell .workspace-order-toolbar .orders-filter-summary{margin-top:8px;padding-top:8px}
.workspace-shell .workspace-order-toolbar .orders-filter-summary .btn{min-height:32px;padding:5px 9px;font-size:12px}
.workspace-shell .orders-earlier-open{padding:10px 14px;margin-bottom:10px;border-radius:10px}
.workspace-shell .orders-earlier-open>summary strong{font-size:13px}
.workspace-shell .orders-earlier-open+.workspace-results-heading,.workspace-shell .workspace-order-toolbar+.workspace-results-heading{margin:10px 0 8px}
@media(max-width:1150px){.workspace-shell .orders-toolbar-row{grid-template-columns:minmax(0,1fr);gap:8px}.workspace-shell .orders-heading{gap:4px 14px}}
@media(max-width:800px){
 .workspace-shell .orders-page-head{gap:10px;margin-bottom:10px}.workspace-shell .orders-heading h1{font-size:25px}
 .workspace-shell .orders-page-head .head-actions .btn{min-height:40px;padding:8px 10px;font-size:13px}
 .orders-inline-stats{gap:4px 12px;font-size:11px}.orders-inline-stats strong{font-size:13px}
 .workspace-shell .orders-toolbar-row .search{font-size:16px;min-height:42px}
 .workspace-shell .orders-toolbar-row .order-quick-filters{flex-wrap:wrap;overflow:visible}
 .workspace-shell .orders-toolbar-row .btn{min-height:40px;padding:8px 10px}
 .workspace-shell .orders-earlier-open{padding:9px 12px}
}
