body:has(#workspaceView:not([hidden])) .mobile-book-bar{display:none}
/* Staff requests keep operations separate from loyalty reports and company setup. */
#workspaceView[data-staff-section]:not([data-staff-section=""]){padding-top:30px;padding-bottom:34px;max-width:1440px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-top{align-items:center;gap:20px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) h1{font-size:44px;line-height:1.05;letter-spacing:-1.5px;margin:10px 0 0}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-tabs{margin-top:22px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-notice{margin:16px 0;font-size:12px}
.staff-workspace-nav{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px;margin:0 0 24px;flex-wrap:wrap}
.staff-workspace-nav button,.staff-queue-filters button,.staff-detail-nav button{border:1px solid transparent;background:transparent;color:var(--forest);font:600 12px var(--sans);min-height:44px;padding:10px 17px;cursor:pointer}
.staff-workspace-nav button[aria-pressed="true"]{background:var(--forest);color:var(--paper);border-color:var(--forest)}
.staff-workspace-nav button:hover:not([aria-pressed="true"]),.staff-detail-nav button:hover:not([aria-pressed="true"]){background:#e8ebe1}
#workspaceView[data-staff-section="requests"] #groundMilesPanel,#workspaceView[data-staff-section="requests"] #launchReadinessPanel,#workspaceView[data-staff-section="loyalty"] #requestsPanel,#workspaceView[data-staff-section="loyalty"] #launchReadinessPanel,#workspaceView[data-staff-section="company"] #requestsPanel,#workspaceView[data-staff-section="company"] #groundMilesPanel{display:none!important}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button{display:grid;grid-template-columns:1fr auto;text-align:left;border:1px solid var(--line);background:var(--paper);padding:17px;gap:6px;cursor:pointer;color:var(--forest);min-width:0}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button:hover,#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button[aria-pressed="true"]{border-color:#788d70;background:#edf0e7}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button>span{font:600 9px var(--sans);letter-spacing:.7px;line-height:1.5}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button>strong{grid-column:2;grid-row:1/3;font:400 32px var(--serif);line-height:1}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats>button>small{font:11px var(--sans);color:var(--muted)}
.staff-queue-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}
.staff-queue-filters button{display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--line);background:var(--paper);font-size:11px;min-height:42px}
.staff-queue-filters button span{min-width:21px;padding:3px 5px;background:#edf0e7;border-radius:3px;font-size:10px}
.staff-queue-filters button[aria-pressed="true"]{border-color:var(--forest);background:var(--forest);color:var(--paper)}
.staff-queue-filters button[aria-pressed="true"] span{background:#ffffff20;color:var(--paper)}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:18px;align-items:center}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar h2{font:400 27px var(--serif);margin:0;letter-spacing:-.5px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar>div{display:flex;flex-wrap:wrap;gap:10px;margin-left:auto;min-width:0}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar select{max-width:none;min-height:44px;font-size:12px;background:var(--paper)}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .search-field{background:var(--paper);min-width:200px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) #tripList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0}
.staff-request-card{display:flex;flex-direction:column;gap:18px;text-align:left;background:var(--paper);border:1px solid var(--line);padding:22px;color:var(--forest);font-family:var(--sans);min-width:0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.staff-request-card:hover{border-color:#8b9c80;box-shadow:0 3px 16px #1528200a}
.staff-request-card:focus-visible,.staff-workspace-nav button:focus-visible,.staff-queue-filters button:focus-visible,.staff-detail-nav button:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}
.staff-card-head,.staff-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}
.staff-card-head>span:first-child{min-width:0}
.staff-card-head strong{font:600 15px var(--sans);overflow-wrap:anywhere}
.staff-card-head small{display:block;font:11px var(--sans);margin-top:5px;color:var(--muted);overflow-wrap:anywhere}
.staff-card-head .status{flex-shrink:0;font-size:9px}
.staff-card-route{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:15px 0;border-block:1px solid var(--line)}
.staff-card-route>span{min-width:0}
.staff-card-route small{display:block;font-size:8px;letter-spacing:1px;color:var(--muted);margin-bottom:7px}
.staff-card-route strong{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;display:block}
.staff-card-meta{display:flex;gap:20px;justify-content:space-between;font-size:11px;line-height:1.6;min-width:0}
.staff-card-meta>span{min-width:0;overflow-wrap:anywhere}
.staff-card-meta small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.staff-card-bottom{margin-top:auto;align-items:end}
.staff-card-invoice{min-width:0;overflow-wrap:anywhere}
.staff-card-invoice strong{font:400 24px var(--serif);display:block}
.staff-card-invoice small{font:10px var(--sans);color:var(--muted);display:block;margin-top:4px}
.staff-card-action{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:600;white-space:nowrap;border-bottom:1px solid #aab4a4;padding-bottom:5px}
.staff-card-reference{display:block;color:var(--muted);font-size:8px;letter-spacing:.5px;overflow-wrap:anywhere}
.staff-list-status,.request-pagination,#tripList>.empty-state{grid-column:1/-1}
.staff-list-status{font-size:11px;line-height:1.6;color:var(--muted);padding-top:3px}
#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-foot{margin-top:30px}
.staff-trip-dialog{width:min(960px,calc(100% - 40px));max-width:960px;margin:auto;max-height:calc(100dvh - 40px);height:calc(100dvh - 40px)}
.staff-detail-header{padding:24px 30px 20px;background:var(--paper)}
.staff-detail-header h2{font-size:31px;line-height:1.1}
.staff-detail-header>div{min-width:0}
.staff-detail-header>div>p:last-child{font:11px var(--sans);color:var(--muted);margin-top:9px;line-height:1.6;overflow-wrap:anywhere}
.staff-detail-header .eyebrow{font-size:8px;overflow-wrap:anywhere}
.staff-detail-nav{display:flex;gap:5px;background:var(--paper);padding:0 30px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;flex-wrap:wrap}
.staff-detail-nav button{padding-inline:15px;border-bottom:2px solid transparent;font-size:12px}
.staff-detail-nav button[aria-pressed="true"]{border-bottom-color:var(--forest)}
.staff-trip-dialog .trip-detail-body{padding:20px 30px 30px}
.staff-trip-dialog[data-detail-tab="invoice"] [data-detail-pane]:not([data-detail-pane="invoice"]),.staff-trip-dialog[data-detail-tab="details"] [data-detail-pane]:not([data-detail-pane="details"]),.staff-trip-dialog[data-detail-tab="history"] [data-detail-pane]:not([data-detail-pane="history"]){display:none}
.staff-trip-dialog .trip-detail-top{margin:0 0 22px}
.staff-trip-dialog .operation-box{margin-top:22px}
.staff-trip-dialog .staff-form>button[type=submit]{width:100%;justify-content:center;min-height:48px;margin-top:18px}
.staff-trip-dialog .staff-form>label:first-child{max-width:460px}
.staff-trip-dialog .gm-quote-fields,.staff-trip-dialog .pricing-complete{min-width:0}
.staff-trip-dialog .gm-quote-fields input,.staff-trip-dialog .gm-quote-fields select,.staff-trip-dialog .gm-quote-fields textarea{min-width:0;max-width:100%}
@media(max-width:900px){#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar>div{margin-left:0;width:100%}#workspaceView[data-staff-section]:not([data-staff-section=""]) .search-field{flex:1}#workspaceView[data-staff-section]:not([data-staff-section=""]) #workspaceStats{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-card-meta{flex-direction:column;gap:8px}}
@media(max-width:650px){#workspaceView[data-staff-section]:not([data-staff-section=""]) #tripList{grid-template-columns:1fr}#workspaceView[data-staff-section]:not([data-staff-section=""]) h1{font-size:36px}#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-top{display:flex;gap:12px}#workspaceView[data-staff-section]:not([data-staff-section=""]) .workspace-top>.primary-button{margin:0;font-size:11px;padding:12px}#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar>div{display:grid;grid-template-columns:1fr auto}#workspaceView[data-staff-section]:not([data-staff-section=""]) .trip-toolbar>div>.search-field{grid-row:1;grid-column:1/-1;min-width:0}.staff-workspace-nav{gap:3px}.staff-workspace-nav button{font-size:11px;padding:10px 12px}.staff-queue-filters{gap:6px}.staff-queue-filters button{min-height:42px;font-size:10px;padding:8px 10px}.staff-request-card{padding:18px;gap:15px}.staff-card-route{gap:14px}.staff-card-meta{flex-direction:row}.staff-card-action{white-space:normal;font-size:10px}.staff-card-invoice strong{font-size:23px}.staff-trip-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);margin:auto}.staff-detail-header{padding:20px 18px 16px}.staff-detail-header h2{font-size:27px}.staff-detail-nav{padding:0 13px;gap:0}.staff-detail-nav button{font-size:11px;padding:11px}.staff-trip-dialog .trip-detail-body{padding:18px}.staff-trip-dialog .form-grid{grid-template-columns:1fr}.staff-trip-dialog .form-grid label{grid-column:1}.staff-trip-dialog .form-grid input,.staff-trip-dialog .form-grid select,.staff-trip-dialog .form-grid textarea{font-size:16px;min-height:44px}.staff-trip-dialog .staff-form>label:first-child{max-width:none}}
@media(prefers-reduced-motion:reduce){.staff-request-card{transition:none}}

/* Status guidance is informational; financial verification remains separate. */
.staff-card-signals{display:flex;flex-wrap:wrap;gap:7px;font-size:11px;line-height:1.6}
.staff-card-signals>span{padding:5px 8px;border:1px solid #c5aa80;background:#f5eee2;color:#644820;overflow-wrap:anywhere}
.staff-next-step{padding:18px 20px;border:1px solid #c8cebf;border-left:3px solid #6e8265;background:#edf0e7;margin-bottom:22px}
.staff-next-step h3{font:500 20px var(--serif);margin:0 0 8px;color:var(--forest)}
.staff-next-step p,.staff-next-step li{font-size:12px;line-height:1.8;color:#3f5144}
.staff-next-step ul{margin:12px 0 0;padding-left:18px}
@media(max-width:650px){.staff-next-step{padding:16px}.staff-next-step p,.staff-next-step li{font-size:13px}.staff-card-signals{font-size:11px}}
