/* Same screen structure, focus states and touch targets across roles. */
.direct-workspaces #nav.unified-nav{gap:5px;padding-top:8px}.direct-workspaces #nav.unified-nav>button{min-height:44px}
.direct-workspaces #main .page-head{margin:0 0 15px;gap:12px;align-items:center;min-height:0}.direct-workspaces #main .page-head h1{font-size:clamp(23px,2.3vw,31px);line-height:1.2;margin:0 0 7px;letter-spacing:-.025em}.direct-workspaces #main .page-head p{margin:0;line-height:1.5;max-width:850px}
.direct-workspaces .workspace-context{padding:5px 0;margin:0 0 10px;min-height:22px;border:0}.direct-workspaces .workspace-context-path{display:none}.direct-workspaces .workspace-context time{margin-left:auto;font-size:11px}
.direct-workspaces .uw-context{padding:0 0 10px;margin:0 0 14px}.direct-workspaces .uw-context>button:first-child{display:none}.direct-workspaces .uw-context>span{font-weight:700}
.uw-screen-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;max-width:100%;padding:0 0 10px;margin:0 0 18px;border-bottom:1px solid var(--workspace-line,#dce3eb);scrollbar-width:thin}.uw-screen-tabs button{white-space:nowrap;flex:0 0 auto;min-height:44px;padding:9px 13px;border-radius:7px;font-size:13px;background:var(--workspace-surface,#fff);color:var(--workspace-ink,#18334b);border:1px solid var(--workspace-line,#dce3eb)}.uw-screen-tabs button.active{background:#123650;color:white;border-color:#123650;font-weight:750}.uw-screen-tabs select{min-width:145px;min-height:44px;max-width:210px;font:inherit;font-size:12px;border:1px solid var(--workspace-line,#dce3eb);border-radius:7px;background:var(--workspace-surface,#fff);color:var(--workspace-ink,#18334b)}
.ux-help-button{margin-left:auto;flex:0 0 auto;font-size:12px!important;min-height:38px!important;padding:8px 12px!important}.direct-workspaces .uw-inventory-shortcut{gap:8px;flex-wrap:wrap;margin:0 0 20px}.direct-workspaces .uw-inventory-shortcut button{min-height:44px}
.ux-priorities{margin:0 0 17px}.ux-priorities h2{font-size:17px;margin:0 0 10px}.ux-priority-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.ux-priority{min-height:115px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;white-space:normal;border:1px solid var(--workspace-line,#dce3eb);border-radius:10px;background:var(--workspace-surface,#fff);color:var(--workspace-ink,#18334b);padding:15px}.ux-priority>span{font-size:12px;font-weight:750}.ux-priority strong{font-size:28px;line-height:1}.ux-priority small{font-size:11px;font-weight:400;line-height:1.4;color:var(--workspace-muted,#53677c)}
.ux-user-filters,.ux-report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 15px}.ux-user-filters{grid-template-columns:minmax(0,2fr) minmax(150px,1fr)}.ux-user-filters label,.ux-report-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:700}.ux-user-filters input,.ux-user-filters select,.ux-report-filters input,.ux-report-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;font:inherit;font-weight:400;border:1px solid var(--workspace-line,#dce3eb);border-radius:8px;background:var(--workspace-surface,#fff);color:var(--workspace-ink,#18334b)}.ux-report-filters label:last-child{grid-column:1/-1}.ux-user-filters p{grid-column:1/-1;margin:0}.ux-report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ux-report-actions button{min-height:44px}.ux-report-panel{padding:18px;min-width:0}.ux-report-scroll{overflow-x:auto;border:1px solid var(--workspace-line,#dce3eb);border-radius:9px}.ux-report-table{width:100%;border-collapse:collapse;text-align:left}.ux-report-table th,.ux-report-table td{padding:12px;border-bottom:1px solid var(--workspace-line,#dce3eb);font-size:12px;line-height:1.5;vertical-align:top;overflow-wrap:anywhere}.ux-report-table th{background:var(--workspace-soft,#f3f6fa);font-weight:750}.ux-diagnostics{border:1px solid var(--workspace-line,#dce3eb);border-radius:9px;padding:10px 14px;margin-bottom:15px}.ux-diagnostics summary{cursor:pointer;font-size:12px;font-weight:700;min-height:30px;align-content:center}
.ux-field-error{font-size:12px;line-height:1.5;color:#aa243a;margin:5px 0 0}body.dark .ux-field-error,html[data-theme=dark] .ux-field-error{color:#ffb1bb}[aria-invalid=true]{border-color:#b52840!important;outline:1px solid #b52840}.direct-workspaces :is(button,input,select,textarea,a):focus-visible{outline:3px solid #d59724;outline-offset:3px}.direct-workspaces :is(button,input,select,textarea){scroll-margin-top:100px}.direct-workspaces #main [hidden]{display:none!important}
.direct-workspaces #modalBox form>.actions:last-child{position:sticky;bottom:-20px;background:var(--workspace-surface,#fff);padding:12px 0;z-index:2;border-top:1px solid var(--workspace-line,#dce3eb)}
.direct-workspaces #keeperSiteActions{gap:8px}.direct-workspaces #keeperSiteActions button{flex:1 1 130px;min-height:44px}.ux-secondary-stock-tools{margin:14px 0;padding:12px;border:1px solid var(--workspace-line,#dce3eb);border-radius:9px}.ux-secondary-stock-tools summary{min-height:36px;cursor:pointer;font-size:13px;font-weight:750}.ux-secondary-stock-tools .actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:800px){.direct-workspaces #mobileBottomNav{gap:2px;padding:5px!important}.direct-workspaces #mobileBottomNav button{min-width:0;font-size:10px;min-height:52px;padding:7px 2px!important;gap:5px}.direct-workspaces #mobileBottomNav .mobile-nav-icon,.direct-workspaces #mobileBottomNav .mobile-nav-icon svg{width:18px!important;height:18px!important}.direct-workspaces #main{padding-bottom:95px}.direct-workspaces #main .page-head{align-items:flex-start}.direct-workspaces #main .page-head h1{font-size:24px}.ux-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-priority{padding:12px;min-height:115px}.ux-priority strong{font-size:25px}.ux-user-filters{grid-template-columns:minmax(0,1fr)}.ux-report-actions button{flex:1 1 125px}.uw-screen-tabs{gap:5px;margin-bottom:14px}.uw-screen-tabs button{font-size:12px;padding:9px 11px}.ux-report-panel{padding:13px}.direct-workspaces #modalBox form>.actions:last-child{bottom:-15px}.direct-workspaces #keeperSiteActions button{flex-basis:90px;font-size:12px}}
@media(max-width:600px){.ux-report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ux-report-table,.ux-report-table tbody,.ux-report-table tr{display:block}.ux-report-table tr{border-bottom:1px solid var(--workspace-line,#dce3eb);padding:9px 12px}.ux-report-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:5px 0;border:0}.ux-report-table td:before{content:attr(data-label);font-weight:750;font-size:11px;color:var(--workspace-muted,#53677c)}.ux-report-table td:first-child{font-weight:750}.ux-help-button{padding:7px 10px!important}.direct-workspaces .uw-inventory-picker{flex-basis:100%;flex-direction:column;align-items:stretch}.ux-user-filters{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.direct-workspaces *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Operational support shares the same controls and spacing on every role. */
.op-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.op-tools button{font-size:13px}
#opBody{display:grid;gap:14px;min-width:0}#opBody>form,#opBody form{display:grid;gap:10px;min-width:0}
#opBody input,#opBody select,#opBody textarea{max-width:100%;width:100%;min-width:0}
#opBody input[type=file]{padding:10px}#opBody textarea{resize:vertical}
.op-card{border:1px solid var(--workspace-line,#dbe4ed);background:var(--workspace-surface,#fff);border-radius:12px;padding:16px;min-width:0}
.op-card header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px}.op-card h3{margin:0}.op-note{white-space:pre-wrap;overflow-wrap:anywhere}
.op-table{max-width:100%;overflow:auto}.op-table table{width:100%;border-collapse:collapse}.op-table th,.op-table td{text-align:left;padding:10px;border-bottom:1px solid var(--workspace-line,#dbe4ed)}.op-table small{display:block;color:var(--workspace-muted,#526980)}.op-table input{min-width:85px;max-width:140px}
.op-timeline{display:grid;gap:14px;padding-left:24px}.op-timeline li{padding-left:6px;overflow-wrap:anywhere}.op-timeline span,.op-timeline time{display:block}.op-timeline time{font-size:12px;color:var(--workspace-muted,#526980)}.op-timeline p{white-space:pre-wrap}
.op-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0}.op-file a{overflow-wrap:anywhere;color:var(--workspace-ink,#15344f);text-decoration:underline}
[data-duplicate-warning]:empty{display:none}[data-duplicate-warning] button{margin:4px;max-width:100%;white-space:normal}
.notice.warning{background:#fff7e4;border:1px solid #b88414;color:#604300}[data-theme=dark] .notice.warning{background:#332915;color:#ffe1a1;border-color:#9b762d}
.direct-workspaces .ux-priority-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
@media(max-width:600px){.direct-workspaces .ux-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.op-card{padding:12px}.op-table th,.op-table td{padding:8px 6px;font-size:13px}#opBody .actions button{flex:1 1 140px}.op-tools{gap:6px}.op-tools button{flex:1 1 140px}}
