.ops-header{display:flex;align-items:center;gap:24px;padding:14px 24px;border-bottom:1px solid var(--line);background:#0a1927}.ops-header img{width:180px;background:white;padding:6px;border-radius:5px}.ops-header nav{display:flex;gap:8px;flex-wrap:wrap;flex:1}.ops-header a{color:var(--muted);text-decoration:none;padding:8px;border-radius:6px;font-size:13px}.ops-header nav a.active{background:#1b3446;color:#fff}.ops-header span{font-size:12px;color:var(--muted)}body>main{padding:24px}.ops-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.ops-heading p{margin-bottom:4px}#ops-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);padding:15px;border-radius:10px;margin-bottom:18px}.ops-week{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ops-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ops-filter select{min-width:180px}.ops-grid-scroll{overflow:auto;border:1px solid var(--line);border-radius:10px}.ops-grid{display:grid;grid-template-columns:170px repeat(var(--days,7),minmax(145px,1fr));min-width:1180px;background:#091a28;gap:6px;padding:7px}.ops-day-head,.ops-row-head{padding:12px;background:#17364b;border-radius:6px}.ops-day-head{text-align:center;font-size:12px}.ops-day-head.today{background:var(--yellow);color:#142536}.ops-row-head{font-weight:600;position:sticky;left:0;z-index:1}.ops-row-head small{display:block;font-weight:400;color:#aec3d0}.ops-day{background:#0e2132;min-height:130px;padding:6px;display:flex;flex-direction:column;gap:6px;border-radius:6px}.ops-booking{text-align:left;display:block;border-left:4px solid #a37146;padding:9px;width:100%;font-size:12px;background:#193347}.ops-booking strong,.ops-booking small{display:block}.ops-booking small{color:#b7ccdc}.ops-booking.resource{border-left-color:#52c8ea}.ops-usage{font-size:11px;color:#a6cbdf;min-height:18px}.ops-usage.full{color:#ffd34a}.ops-add{font-size:12px;background:transparent;border-style:dashed;margin-top:auto;padding:7px}.ops-panel{padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--panel);margin-bottom:20px}.ops-panel h2{font-size:18px}.ops-backlog{display:flex;gap:10px;overflow:auto;padding-bottom:8px}.ops-backlog button{min-width:230px;max-width:280px;text-align:left;font-size:13px}.ops-backlog strong,.ops-backlog small{display:block}.ops-warning{background:#3b2f18;border:1px solid #8a692c;color:#ffe0a2;padding:13px;border-radius:8px;margin-bottom:15px}.ops-table{width:100%;border-collapse:collapse;font-size:13px}.ops-table th,.ops-table td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.ops-table td small{display:block;color:var(--muted)}.ops-table button{font-size:12px;padding:6px 10px}.ops-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ops-form .full{grid-column:1/-1}.ops-form footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#ops-dialog{width:94vw;max-width:1000px;max-height:92vh;overflow:auto;background:var(--panel);color:var(--text);border:1px solid #547087;border-radius:12px;padding:24px}#ops-dialog h2{font-size:23px}.ops-error{color:#ffbcac;white-space:pre-wrap}.ops-form fieldset{border:1px solid #39586e;border-radius:8px;padding:15px}.ops-form input[type=checkbox]{width:17px}.ops-lines{overflow:auto}.ops-lines input{min-width:90px}.ops-lines .line-description{min-width:220px}.ops-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.ops-linked-note{margin:10px 0;padding:12px;border:1px solid #355064;border-radius:7px;font-size:12px}.ops-linked-note a{margin-right:12px}.production-task-badge{display:block;color:#d5f3ff;font-size:10px;margin-top:4px}.ops-main-nav-link{font-size:13px;text-decoration:none;padding:9px 12px;border-radius:7px;color:var(--muted)}.ops-main-nav-link:hover{background:#1b3446}.ops-capacity-edit{margin-top:20px}.ops-status-prepared{color:#ffd34a}.ops-status-sent{color:#7dd3ab}
@media(max-width:750px){.ops-header{flex-wrap:wrap;padding:12px 16px;gap:10px}.ops-header img{width:145px}.ops-header nav{flex-basis:100%}body>main{padding:16px}.ops-heading{flex-direction:column;align-items:flex-start}#ops-controls{align-items:stretch}.ops-form{grid-template-columns:1fr}.ops-form .full{grid-column:auto}.ops-week input{width:160px}.ops-heading h1{font-size:25px}.ops-grid{grid-template-columns:130px repeat(var(--days,7),150px)}.ops-table{min-width:650px}.ops-filter{width:100%}.ops-filter label{flex:1}}
.display-admin-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:20px 0}.display-admin-list article{border:1px solid var(--border,#375268);border-radius:10px;padding:18px}.display-admin-list input,#ops-notice input{display:block;width:100%;margin:8px 0}.display-admin-list p{overflow-wrap:anywhere}.ops-panel+.ops-panel{margin-top:24px}
/* Column counts must be in the stylesheet: inline style attributes are blocked by CSP. */
.ops-grid.ops-days-5{--days:5}.ops-grid.ops-days-7{--days:7}
.ops-grid{grid-template-columns:160px repeat(var(--days),minmax(0,1fr));min-width:960px;align-items:stretch}.ops-grid>*{min-width:0}.ops-booking{overflow-wrap:anywhere}.ops-row-head{overflow-wrap:anywhere}.ops-edit-resource{display:block;margin-top:10px;font-size:12px;padding:5px 10px}.ops-grid-scroll{max-width:100%}.ops-header{position:sticky;top:0;z-index:5}.ops-header>a{flex-shrink:0}.ops-header nav a{white-space:nowrap}.ops-heading .actions{display:flex;gap:10px;flex-wrap:wrap}.ops-heading{margin-bottom:16px}.ops-backlog{max-height:150px}.ops-day{min-height:110px}#ops-notice:empty,#ops-controls:empty{display:none}
@media(max-width:750px){.ops-header{position:static}.ops-header nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.ops-header nav a{flex:none}.ops-header span{display:none}.ops-header{gap:4px}.ops-header img{width:135px}.ops-heading{gap:12px}.ops-week{display:grid;grid-template-columns:34px minmax(125px,1fr) 34px;gap:6px;width:100%}.ops-week input{width:100%;min-width:0}.ops-week>button{padding:8px}.ops-week>button:last-child{grid-column:1/-1}.ops-week label{min-width:0}.ops-filter{justify-content:space-between}.ops-grid.ops-days-5,.ops-grid.ops-days-7{grid-template-columns:110px repeat(var(--days),155px);min-width:0}.ops-form footer{position:sticky;bottom:-24px;background:var(--panel);padding:12px 0}.display-admin-list{grid-template-columns:minmax(0,1fr)}}
.ops-day.ops-drop-target{background:#234b4a;outline:3px solid #ffd34a;outline-offset:-3px;box-shadow:inset 0 0 30px #ffd34a20}.ops-day-head.ops-drop-target{background:#ffd34a;color:#102536;box-shadow:0 0 0 2px #fff2a1}.actual-start-note{color:#8fe1bb!important;font-weight:600}
.touch-week-picker{position:relative;min-width:0}.touch-week-native{position:absolute;width:1px!important;height:1px;padding:0!important;border:0!important;opacity:0;bottom:0;left:50%}.touch-week-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:210px;min-height:58px;padding:8px 16px}.touch-week-title strong{font-size:19px;line-height:1.2}.touch-week-title span{font-size:12px;white-space:nowrap;color:#abc4d5}.ops-week>button{min-width:54px;min-height:58px;padding:8px 16px;font-size:20px}.ops-week>button:last-child{font-size:14px}.ops-filter .ops-weekend-toggle{min-height:54px;padding:12px 18px;border:1px solid #466278;border-radius:8px;background:#18384e;cursor:pointer;gap:12px}.ops-weekend-toggle input{width:26px!important;height:26px!important}.ops-weekend-toggle:has(input:checked){border-color:#ffd34a;background:#344536}@media(max-width:750px){.ops-week{grid-template-columns:54px minmax(160px,1fr) 54px;gap:6px}.touch-week-title{min-width:0;width:100%}.touch-week-title strong{font-size:17px}.touch-week-title span{font-size:10px}.ops-week>button{padding:8px;min-width:0}}
@media(max-width:750px){.ops-week{grid-template-columns:54px minmax(0,1fr) 54px}.touch-week-title span{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

.production-readiness{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;flex-shrink:0;margin-right:4px;white-space:nowrap}.production-readiness svg{width:20px;height:20px;flex:none;display:inline-block}.production-readiness.process-done{color:#b0ffcb}.production-readiness.process-pending,.production-readiness.process-waiting{color:#ffe49b}

/* Compact workspace navigation; production touch displays retain their dedicated kiosk controls. */
.calendar-operations-layout>.week-nav,.ops-week{gap:6px}
.calendar-operations-layout>.week-nav>button,.calendar-operations-layout>.week-nav .touch-week-title,.ops-week>button,.ops-week .touch-week-title{min-height:42px;padding:5px 10px}
.calendar-operations-layout>.week-nav>button,.ops-week>button{min-width:38px;font-size:18px}
.calendar-operations-layout>.week-nav>button[data-action=today],.calendar-operations-layout>.week-nav>button[data-action=month-today],.ops-week>#today-week{font-size:12px}
.calendar-period-picker .touch-week-title,.ops-week .touch-week-title{min-width:180px;gap:2px}
.calendar-period-picker .touch-week-title strong,.ops-week .touch-week-title strong{font-size:16px;line-height:1.2}
.calendar-period-picker .touch-week-title span,.ops-week .touch-week-title span{font-size:11px;line-height:1.2}
@media(max-width:750px){.ops-week{grid-template-columns:40px minmax(0,1fr) 40px}.ops-week>button,.ops-week .touch-week-title{min-height:44px}.ops-week .touch-week-title{min-width:0;width:100%}}
@media(max-width:700px){.calendar-period-picker .touch-week-title{min-width:0;width:100%}.mobile-week-nav .touch-week-title,.mobile-week-nav>.small{min-height:44px;padding:5px 10px}.mobile-week-nav>.small{min-width:40px;font-size:18px}.mobile-week-nav>[data-action=today]{font-size:12px}}

/* Standard production workspace weekend choice; touch kiosk has its own large toggle. */
.ops-filter .ops-weekend-toggle{min-height:36px;padding:7px 10px;gap:7px;font-size:12px}
.ops-filter .ops-weekend-toggle input{width:16px!important;height:16px!important;margin:0}

.ops-job-overlay{width:min(96vw,1200px);height:92vh;max-height:96vh;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);overflow:hidden}
.ops-job-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;height:54px;border-bottom:1px solid var(--line)}
.ops-job-overlay iframe{display:block;width:100%;height:calc(100% - 54px);border:0;background:var(--panel)}
.ops-job-overlay::backdrop{background:rgba(0,0,0,.65)}

.vehicle-category-tabs{margin-bottom:16px}.vehicle-category-tabs button[aria-pressed=true]{background:var(--yellow,#ffda43);color:#14232d;font-weight:700}.vehicle-details{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--line);border-radius:8px;padding:16px}.vehicle-details legend{font-weight:700}.vehicle-details .full{grid-column:1/-1}@media(max-width:600px){.vehicle-details{grid-template-columns:1fr}}

.vehicle-type-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.vehicle-type-buttons button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;min-width:108px}.vehicle-type-buttons svg,.company-car-badge svg{width:26px;height:26px;flex:none}.vehicle-type-buttons button[aria-pressed=true]{background:var(--yellow,#ffda43);color:#14232d;border-color:var(--yellow,#ffda43);font-weight:700}.vehicle-booking-details{padding:12px;border:1px solid var(--line);border-radius:8px}.vehicle-booking-controls [hidden]{display:none!important}.company-car-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--cyan,#4dd5f3);margin:4px 0}.team-options .company-car-badge{flex-basis:100%}.vehicle-lookup-button{align-self:end}

.vehicle-section-title{font-size:18px;margin:18px 0 12px}.assigned-company-cars{margin-top:24px}.assigned-car-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.assigned-car{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px;min-width:0}.assigned-car>div:nth-child(2){flex:1;min-width:0}.assigned-car strong,.assigned-car small,.assigned-car span{display:block;overflow-wrap:anywhere}.assigned-car small{color:var(--muted);margin:4px 0}.assigned-car-icon svg{width:34px;height:34px;color:var(--cyan)}
