/* Shared human-facing conventions: same shell, controls, edit headers and footer actions. */
.conductor-workspace{background:#f3f7f4;color:#15372c;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.workspace-header{position:sticky;top:0;z-index:10;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:76px;height:auto;background:#fff;border-bottom:1px solid #d5e1d9;padding:14px max(20px,4vw)}
.workspace-header .brand{font-size:21px;letter-spacing:.07em;font-weight:900;color:#063b20;text-decoration:none}
.workspace-account{margin-left:auto;display:flex;align-items:center;gap:12px;min-width:0;font-size:12px}.workspace-account #authStatus{max-width:320px;overflow-wrap:anywhere}
.workspace-nav{display:flex!important;flex-basis:100%;order:3;gap:22px;overflow-x:auto;white-space:nowrap;min-width:0;max-width:100%;padding-bottom:2px}
.workspace-nav a{font-size:14px;font-weight:650;color:#53695e;text-decoration:none;padding:9px 0;border-bottom:3px solid transparent}.workspace-nav a.active{color:#063b20;border-color:#008b3a}.workspace-nav [hidden]{display:none!important}
.conductor-workspace .workspace-main{max-width:1440px;width:100%;padding:28px max(20px,4vw) 64px;margin:0 auto}
.conductor-workspace .page-hero{background:linear-gradient(110deg,#063b20,#086638);color:#fff;border-radius:14px;border:0;padding:28px 32px;min-height:180px;margin:0 0 24px;display:flex;justify-content:space-between;gap:24px}
.conductor-workspace .page-hero h1{font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.6px;margin:8px 0 10px;max-width:850px}.page-hero p{margin:6px 0;color:#dcebe1;max-width:850px}.page-hero .eyebrow{font-size:11px;color:#a7efbf;letter-spacing:.13em}.page-hero .status{min-width:190px}
.conductor-workspace button{min-height:42px;padding:10px 16px;border-radius:8px;border:1px solid #c9d9cf;background:#fff;color:#183d2e;font:650 14px/1.35 inherit;cursor:pointer}
.conductor-workspace .primary,.conductor-workspace #addTrip,.conductor-workspace #newInvoice{background:#008b3a;border-color:#008b3a;color:#fff}
.conductor-workspace button:disabled{opacity:.55;cursor:not-allowed}.conductor-workspace button:focus-visible,.conductor-workspace input:focus-visible,.conductor-workspace select:focus-visible{outline:3px solid #80c99c;outline-offset:2px}
.conductor-workspace input,.conductor-workspace select,.conductor-workspace textarea{border:1px solid #c9d9cf;border-radius:8px;padding:11px;font:inherit;max-width:100%;box-sizing:border-box}
.conductor-workspace .board{background:#fff;border:1px solid #d5e1d9;border-radius:14px;padding:24px;margin-top:24px}
.conductor-workspace .resource-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.resource-toolbar>button:last-child{margin-left:auto}
.conductor-workspace .resource-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #d7e3da;border-radius:9px}.resource-row>button{margin-left:auto;flex-shrink:0}
.conductor-workspace dialog{max-height:90dvh;overflow:auto;border:1px solid #d5e1d9;border-radius:14px;padding:24px;box-shadow:0 22px 90px #0c322344}
.modal-heading,.conductor-workspace dialog .billing-toolbar:first-child{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:-24px;background:#fff;padding:12px 0;z-index:3}.modal-heading h2{margin:0;font-size:23px}
.resource-editor-actions,.form-actions,.wizard-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid #e1e9e3;margin-top:12px}.wizard-actions .back{margin-right:auto}.form-actions .primary{order:2}
.conductor-workspace .driver-shell{max-width:1440px}.conductor-workspace .driver-trip,.conductor-workspace .driver-tools,.conductor-workspace .offline{max-width:860px}.conductor-workspace .driver-trip{background:#fff;border:1px solid #d5e1d9;border-radius:14px;padding:24px;margin:24px 0}
[hidden]{display:none!important}@media(max-width:700px){.workspace-header{padding:12px 16px}.workspace-account{max-width:100%;font-size:11px}.workspace-account #authStatus{max-width:190px}.workspace-nav{gap:18px}.conductor-workspace .workspace-main{padding:20px 14px 50px}.conductor-workspace .page-hero{display:block;min-height:0;padding:24px}.page-hero .status{margin-top:18px}.conductor-workspace .board,.conductor-workspace .driver-trip{padding:18px}.resource-toolbar>input[type=search]{width:100%;flex-basis:100%}.resource-toolbar>button:last-child{margin-left:0}.resource-editor-actions,.form-actions,.wizard-actions{position:sticky;bottom:-24px;background:#fff;padding-bottom:12px;z-index:2}}
@media print{.workspace-header,.wizard-actions{display:none!important}.conductor-workspace .workspace-main{max-width:none;padding:0}.conductor-workspace .page-hero{background:#fff;color:#15372c;border-bottom:1px solid #d5e1d9}.page-hero p{color:#15372c}}
.conductor-workspace button{font-family:inherit;font-size:14px;font-weight:650;line-height:1.35}
/* Preserve page-specific primary actions when replacing the shared header. */
.workspace-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
