:root{--navy:#10263f;--navy2:#173653;--ink:#172334;--muted:#667487;--line:#dce3ea;--bg:#f3f6f8;--white:#fff;--cyan:#0e91a7;--cyan2:#e5f7f9;--orange:#ef7d32;--red:#c74444;--green:#1d8a64;--shadow:0 8px 26px rgba(23,43,66,.08)}
.page-exit-button{border:1px solid #b8c6d2;background:#fff;color:#263f57;border-radius:9px;padding:9px 14px;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}.page-exit-button:hover{border-color:#8297aa;background:#f3f6f8}
.dashboard-hero-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;flex-wrap:wrap}.urgent-job-button{border:1px solid #ffbf91;background:linear-gradient(135deg,#f47c32,#d94c36);color:#fff;border-radius:10px;padding:9px 11px 9px 14px;display:flex;align-items:center;gap:14px;cursor:pointer;box-shadow:0 5px 16px rgba(176,55,31,.24);text-align:left}.urgent-job-button:hover{filter:brightness(1.05)}.urgent-job-button:disabled{opacity:.55;cursor:default}.urgent-job-button span{display:grid;gap:2px}.urgent-job-button strong{font-size:12px}.urgent-job-button small{font-size:9px;color:#ffe3d2}.urgent-job-button>b{min-width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:17px}
.dashboard-schedule-controls{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.dashboard-week-field{display:flex;align-items:center;gap:6px;white-space:nowrap}.dashboard-week-field input{width:62px;padding:8px}.search-published-check{align-self:end;min-height:37px;display:flex;padding:8px 10px;border:1px solid #dce3ea;border-radius:7px;background:#f7fafb}
.nav-group{display:block;grid-column:1/-1;margin:18px 10px 6px;color:#7890a5;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.nav-group:first-child{margin-top:4px}
.page-focus-bar{max-width:1536px;margin:18px auto 0;background:#fff;border:1px solid #cfdce5;border-left:6px solid var(--cyan);border-radius:11px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 4px 15px rgba(31,49,70,.05)}.page-focus-main h2{font-size:17px;margin:3px 0 3px}.page-focus-main p{font-size:12px;color:#516377;margin:0;line-height:1.45}.page-focus-side{display:grid;justify-items:end;gap:8px;flex:0 0 auto}.page-focus-side>span{background:#eaf6f1;color:#267157;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:750}.page-focus-bar.conflict-focus{border-left-color:#c74444;background:#fff9f6}.page-focus-bar.conflict-focus .page-focus-main h2{color:#992f20}body:not(.show-manager-details) .manager-details{display:none!important}
.pending-review-bar{max-width:1536px;margin:10px auto 0;background:#fff8e8;border:1px solid #e3bd72;border-left:6px solid #d58b24;border-radius:11px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 4px 15px rgba(31,49,70,.05)}.pending-review-copy{min-width:0}.pending-review-copy h3{font-size:15px;margin:3px 0}.pending-review-copy p{font-size:11px;color:#6d5838;margin:0;line-height:1.45}.pending-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.pending-review-actions button{white-space:nowrap}
.protected-conflict-panel{background:#fff7f3;border:2px solid #e4835e;border-radius:12px;margin:14px 0;padding:18px 20px;box-shadow:0 5px 18px rgba(154,64,34,.08)}.protected-conflict-heading h3{margin:6px 0 5px;color:#8f321f}.protected-conflict-heading p{margin:0;color:#684b43;font-size:12px}.protected-conflict-list{display:grid;gap:12px;margin-top:15px}.protected-conflict-card{background:#fff;border:1px solid #e8b39f;border-left:5px solid #c74444;border-radius:9px;padding:14px 15px;display:grid;gap:11px}.protected-conflict-facts{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:9px}.protected-conflict-facts span{background:#f7f9fa;border-radius:7px;padding:9px;color:#596a7b;font-size:10px}.protected-conflict-facts b{display:block;color:#24384c;font-size:12px;margin-top:3px}.protected-conflict-reason{margin:0;color:#713b30;font-weight:650}.protected-conflict-actions{display:flex;flex-wrap:wrap;gap:8px}.protected-conflict-actions button{min-height:37px}.one-time-override{background:#fff3df;color:#94550e;border-color:#e8bb7d}
*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--navy),#0b1d31);color:#fff;padding:26px 18px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 28px}.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#31b9c9,#087589);display:grid;place-items:center;font-weight:800;font-size:20px}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{font-size:11px;color:#9eb2c5;margin-top:3px;letter-spacing:.04em}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#aab9c8;text-align:left;border-radius:9px;padding:12px 12px;font:inherit;cursor:pointer;display:flex;align-items:center;gap:10px}.nav-item span{width:21px;text-align:center;font-size:17px}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.09);color:#fff}.nav-item.active{box-shadow:inset 3px 0 #24adc0}.sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.11);padding:18px 8px 0;color:#94a8bb;font-size:11px;line-height:1.55}.local-badge{color:#cce9df;margin-bottom:12px}.local-badge i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42c896;margin-right:7px}.sidebar-foot b{color:#fff}main{min-width:0}.topbar{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:10}.topbar h1{font-size:21px;margin:0 0 5px}.topbar p{margin:0;color:var(--muted);font-size:12px}.status-strip{display:flex;align-items:center;gap:8px}.status-pill{display:inline-flex;align-items:center;background:#eef7f8;color:#18798a;border:1px solid #cfe8eb;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:600}.status-pill.dark{background:#eef1f4;border-color:#dce2e8;color:#42546a}.icon-button{border:1px solid var(--line);background:#fff;border-radius:8px;width:32px;height:32px;cursor:pointer;font-size:17px}.view{display:none;padding:26px 32px 46px;max-width:1600px;margin:auto}.view.active{display:block}.hero{background:linear-gradient(125deg,#153754,#0e6070);color:#fff;border-radius:15px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;box-shadow:var(--shadow);margin-bottom:20px}.hero h2{font-size:27px;margin:6px 0 8px}.hero p{margin:0;color:#c6dde2}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:#7ed7df}.primary,.secondary,.danger-outline,.button{border-radius:8px;padding:10px 15px;font-weight:650;font-size:12px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent}.primary{background:var(--cyan);color:#fff}.primary:hover{background:#0a7e91}.primary:disabled,.secondary:disabled{opacity:.45;cursor:not-allowed}.primary.large{padding:13px 19px;background:var(--orange)}.secondary{background:#fff;color:#30465e;border-color:#cad5df}.secondary:hover{background:#f5f8fa}.danger-outline{background:#fff;color:var(--red);border-color:#e5b2b2}.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:0 0 20px}.stat-grid.compact{grid-template-columns:repeat(4,1fr)}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 17px;box-shadow:0 3px 12px rgba(32,53,76,.04)}.stat span{display:block;color:var(--muted);font-size:11px}.stat b{display:block;font-size:25px;margin:6px 0 2px}.stat small{color:#8390a0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 16px rgba(31,49,70,.05);padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.panel-head h3{margin:0 0 4px;font-size:15px}.panel-head p{margin:0;color:var(--muted);font-size:11px}.action-list{display:grid;gap:8px}.action-list button{background:#f8fafb;border:1px solid #e5eaf0;border-radius:9px;padding:12px;text-align:left;display:flex;align-items:center;gap:12px;cursor:pointer;color:var(--ink)}.action-list button:hover{border-color:#9cd3da;background:#f2fbfc}.action-list b{background:var(--cyan2);color:var(--cyan);width:28px;height:28px;display:grid;place-items:center;border-radius:7px}.action-list span{display:grid;gap:2px;flex:1}.action-list small{color:var(--muted)}.action-list em{font-style:normal;font-size:20px;color:#91a0ae}.check-list{padding:2px 0;margin:0;list-style:none;display:grid;gap:13px}.check-list li{display:flex;gap:9px;align-items:center}.check-list span{background:#e9f7f1;color:var(--green);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-weight:700}.table-panel{padding:0;overflow:hidden}.table-panel .panel-head{padding:18px 20px 0}.table-wrap{overflow:auto;max-height:440px;border-top:1px solid var(--line)}.table-wrap.tall{max-height:650px}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:#f6f8fa;color:#637286;font-size:10px;text-transform:uppercase;letter-spacing:.05em;position:sticky;top:0;z-index:1}th,td{padding:10px 12px;border-bottom:1px solid #e8edf1;vertical-align:top}tbody tr:hover{background:#f8fbfc}.tag{display:inline-flex;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:650;background:#eef2f6;color:#4f6173}.tag.locked{background:#faeaea;color:#ae3d3d}.tag.flexible{background:#e8f6f1;color:#24795d}.tag.approval{background:#fff1df;color:#9e632a}.muted{color:var(--muted)}.workflow-note{background:#e9f6f8;border-left:4px solid var(--cyan);padding:13px 16px;border-radius:7px;margin-bottom:16px;color:#36566a}.tabs{display:flex;gap:7px;margin-bottom:12px}.tab{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:8px;cursor:pointer;color:#536477}.tab.active{background:var(--navy2);border-color:var(--navy2);color:#fff}.tab-pane{display:none}.tab-pane.active{display:block}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.span-2{grid-column:span 2}label{display:grid;gap:6px;font-size:11px;font-weight:650;color:#4c5e71}input,select,textarea{width:100%;border:1px solid #cdd7e0;border-radius:7px;padding:9px 10px;background:#fff;color:var(--ink);font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:#4cacb9;box-shadow:0 0 0 3px rgba(32,164,182,.12)}textarea{resize:vertical}.check{display:flex;align-items:center;gap:8px;font-weight:500}.check input{width:auto}.form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:15px}.inline-form{display:grid;grid-template-columns:1.3fr 1.3fr .9fr auto;gap:13px;align-items:end}.scenario-banner{background:#16324d;color:#fff;border-radius:12px;padding:20px 22px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.scenario-banner h2{margin:4px 0;font-size:20px}.scenario-banner p{margin:0;color:#bfd0dc;font-size:12px}.budget-box{display:flex;align-items:end;gap:8px;background:rgba(255,255,255,.08);padding:10px;border-radius:9px}.budget-box label{color:#dce7ee}.budget-box input{width:100px}.option-grid{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:10px;margin-bottom:14px}.option-card{background:#fff;border:2px solid transparent;border-radius:11px;padding:14px;box-shadow:0 3px 12px rgba(31,49,70,.06);cursor:pointer;text-align:left}.option-card:hover{border-color:#a9d8df}.option-card.active{border-color:var(--cyan);box-shadow:0 5px 18px rgba(14,145,167,.16)}.option-card .code{width:25px;height:25px;border-radius:7px;background:#eaf5f7;color:var(--cyan);display:grid;place-items:center;font-weight:800}.option-card h4{margin:9px 0 4px;font-size:13px}.option-card p{margin:0 0 10px;font-size:10px;line-height:1.4;color:var(--muted);height:40px;overflow:hidden}.mini-metrics{display:grid;grid-template-columns:1fr 1fr;gap:5px}.mini-metrics span{background:#f5f7f9;padding:6px;border-radius:5px;font-size:9px;color:#657588}.mini-metrics b{display:block;color:#25384b;font-size:12px;margin-top:2px}.button-row{display:flex;gap:7px}.approval-bar{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#f7f9fa}.approval-bar div{display:grid;flex:1}.approval-bar span{font-size:11px;color:var(--muted);margin-top:3px}.empty-state{background:#fff;border:1px dashed #bdc9d4;border-radius:12px;text-align:center;padding:50px}.empty-state b{font-size:18px}.empty-state p{color:var(--muted)}.intervention-layout{grid-template-columns:1.05fr .95fr}.history{display:grid;gap:9px}.history-item{border:1px solid var(--line);border-radius:8px;padding:11px}.history-item.undone{opacity:.55}.history-item header{display:flex;justify-content:space-between;margin-bottom:6px}.history-item strong{text-transform:capitalize}.history-item p{margin:3px 0;color:var(--muted);font-size:11px}.delta{display:flex;gap:5px;margin-top:8px}.delta span{background:#f2f5f7;border-radius:5px;padding:4px 6px;font-size:9px}.settings-grid{align-items:start}.drop-zone{border:2px dashed #c7d4de;border-radius:10px;padding:25px;text-align:center;background:#f8fafb;display:grid;justify-items:center;gap:9px}.drop-zone input{max-width:360px}.drop-zone p,.drop-zone small,.help{color:var(--muted);font-size:11px;margin:0;line-height:1.5}.stack-form{display:grid;gap:12px}.backup-list{display:grid;gap:7px;max-height:220px;overflow:auto}.backup-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#f6f8fa;border-radius:7px;font-size:11px}.backup-item span{display:grid}.backup-item small{color:var(--muted)}.system-card{display:grid;gap:10px}.system-card span{color:var(--muted);font-size:11px}.system-card b{font-size:12px;word-break:break-all}.system-card button{justify-self:start}.alert{position:fixed;right:24px;top:100px;z-index:30;max-width:480px;background:#fff;border-left:4px solid var(--green);box-shadow:0 10px 30px rgba(20,40,60,.2);padding:13px 16px;border-radius:7px}.alert.error{border-left-color:var(--red)}.loading{position:fixed;left:50%;top:100px;z-index:31;background:#10263f;color:#fff;padding:11px 16px;border-radius:8px;box-shadow:var(--shadow)}.loading span{display:inline-block;width:12px;height:12px;border:2px solid #7ed7df;border-top-color:transparent;border-radius:50%;animation:spin .7s linear infinite;margin-right:7px;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}.hidden{display:none!important}
@media(max-width:1100px){.app-shell{grid-template-columns:210px 1fr}.sidebar{padding-left:10px;padding-right:10px}.view{padding:20px}.topbar{padding:0 20px}.stat-grid{grid-template-columns:repeat(3,1fr)}.option-grid{grid-template-columns:repeat(3,1fr)}.inline-form{grid-template-columns:1fr 1fr}.inline-form button{align-self:end}.two-col{grid-template-columns:1fr}}
@media(max-width:1100px){.dashboard-schedule-controls{justify-content:flex-start}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:auto;height:auto}.sidebar nav{grid-template-columns:1fr 1fr}.sidebar-foot{display:none}.topbar{position:static}.status-strip .status-pill{display:none}.view{padding:14px}.hero{display:block}.hero button{margin-top:18px}.dashboard-hero-actions{display:grid;justify-content:stretch}.dashboard-hero-actions button{width:100%}.stat-grid,.stat-grid.compact,.form-grid,.inline-form,.option-grid,.protected-conflict-facts{grid-template-columns:1fr}.span-2{grid-column:auto}.topbar p{display:none}.page-focus-bar,.pending-review-bar{margin:10px 14px 0;align-items:stretch;flex-direction:column}.page-focus-side{justify-items:stretch}.page-focus-side>span{text-align:center}.page-focus-side button,.pending-review-actions button{width:100%}.pending-review-actions{display:grid}}

/* Installation Sheet / V5.7 first-round interface fusion */
.job-business-section{border:1px solid #cfe0e5;background:#f7fbfc;border-radius:11px;padding:16px}.job-business-section>header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:14px}.job-business-section h4{margin:4px 0 0;color:#18364f;font-size:15px}.job-business-section>header>span{color:var(--muted);font-size:10px}.job-business-section input[readonly]{background:#edf2f5;color:#586b7d}
.project-directory-table{min-width:1280px}.project-directory-table td{line-height:1.4}.status-done{background:#e8f6ef;color:#267558}.status-hold{background:#fff2dd;color:#99601d}.status-canceled{background:#fdeaea;color:#a94141}
.installer-queue-panel{margin:20px 0}.queue-crew-picker{min-width:220px}.queue-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;padding:0 20px 18px}.queue-summary>div{display:grid;gap:4px;border:1px solid #dfe7eb;background:#f7fafb;border-radius:8px;padding:11px}.queue-summary span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.queue-summary b{font-size:16px;color:#18364f}.capacity-inline-edit{margin-top:5px;padding:4px 7px;font-size:9px}
.project-detail-overlay{position:fixed;inset:0;z-index:120;background:rgba(8,24,40,.58);display:flex;justify-content:flex-end}.project-detail-drawer{width:min(760px,94vw);height:100%;background:#f4f7f9;box-shadow:-18px 0 50px rgba(0,0,0,.25);display:grid;grid-template-rows:auto 1fr auto}.project-detail-drawer>header{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:22px 24px;background:#fff;border-bottom:1px solid var(--line)}.project-detail-drawer h2{margin:5px 0 4px;font-size:21px;color:#17344d}.project-detail-drawer header p{margin:0;color:var(--muted);font-size:11px}.project-detail-body{overflow:auto;padding:18px 20px;display:grid;gap:13px}.project-detail-statusbar{display:flex;align-items:center;gap:10px;background:#183b54;color:#fff;border-radius:10px;padding:12px 14px}.project-detail-statusbar span:last-child{margin-left:auto;color:#d9e9ef}.project-detail-section{background:#fff;border:1px solid #dfe6eb;border-radius:10px;overflow:hidden}.project-detail-section h3{margin:0;padding:11px 14px;background:#eef4f6;color:#315269;font-size:12px}.project-detail-section dl{display:grid;grid-template-columns:1fr 1fr;margin:0}.project-detail-section dl>div{padding:10px 14px;border-bottom:1px solid #edf1f3;min-width:0}.project-detail-section dl>div:nth-child(odd){border-right:1px solid #edf1f3}.project-detail-section dl>div.wide{grid-column:1/-1;border-right:0}.project-detail-section dt{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#758594;margin-bottom:4px}.project-detail-section dd{margin:0;color:#223d52;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.project-detail-drawer>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;background:#fff;border-top:1px solid var(--line)}body:has(.project-detail-overlay:not(.hidden)){overflow:hidden}
@media(max-width:760px){.job-business-section>.form-grid{grid-template-columns:1fr}.queue-summary{grid-template-columns:1fr 1fr}.project-detail-section dl{grid-template-columns:1fr}.project-detail-section dl>div,.project-detail-section dl>div:nth-child(odd){border-right:0}.project-detail-section dl>div.wide{grid-column:auto}.project-detail-drawer>footer{display:grid;grid-template-columns:1fr}.project-detail-drawer>footer button{width:100%}}
.burn-in-banner{margin:18px 32px 0;background:#fff0d8;border:2px solid #ef9b42;border-radius:10px;padding:12px 16px;color:#7b4615;display:flex;align-items:center;gap:12px}.burn-in-banner b{background:#c85f1a;color:#fff;border-radius:999px;padding:5px 9px;font-size:10px;letter-spacing:.08em;white-space:nowrap}.burn-in-banner span{font-size:12px}.stat-grid{grid-template-columns:repeat(6,1fr)}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(3,1fr)}.burn-in-banner{margin:14px 20px 0}}
@media(max-width:760px){.stat-grid{grid-template-columns:1fr}.burn-in-banner{margin:12px 14px 0;align-items:flex-start;flex-direction:column}}

/* On-site service dispatch and four-week installation-route matching */
.nav-count{margin-left:auto;min-width:22px;height:19px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.13);color:#d8edf1;display:inline-grid;place-items:center;font-size:9px}.nav-item.active .nav-count{background:#21a9bb;color:#fff}
.service-hero{background:linear-gradient(125deg,#17344f,#126879);color:#fff;border-radius:15px;padding:26px 30px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow)}.service-hero h2{font-size:25px;margin:6px 0 7px}.service-hero p{max-width:850px;margin:0;color:#c8e0e4;line-height:1.55}.service-hero-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.service-hero-actions .secondary{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.1);color:#fff}.service-hero-actions .secondary:hover{background:rgba(255,255,255,.18)}
.service-summary{margin-bottom:18px}.service-filter-panel{margin-bottom:18px;padding:16px 18px}.service-filter-grid{display:grid;grid-template-columns:1.8fr 1fr 1.25fr .7fr .8fr auto;align-items:end;gap:12px}.service-list-panel{padding:0;overflow:hidden}.service-list-panel>.panel-head{padding:18px 20px 0}.service-list{display:grid;gap:14px;max-height:calc(100vh - 315px);min-height:260px;overflow:auto;padding:0 20px 20px}
.service-customer-card{border:1px solid #dbe4e9;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 13px rgba(27,53,75,.05)}.service-customer-card>header{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#f7fafb;border-bottom:1px solid #e4ebef}.service-customer-card>header>div{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.tag.service-status-needs-dispatch{background:#fff0dc;color:#9a5a15}.tag.service-status-assigned{background:#e6f5ef;color:#237557}.tag.service-status-on-hold{background:#f0edf8;color:#6e5591}.tag.service-type-tag{background:#e8f3f8;color:#2d637c}
.service-customer-grid{display:grid;grid-template-columns:1.2fr 1.4fr minmax(210px,.8fr);gap:0}.service-customer-grid>div{padding:15px 17px;min-width:0}.service-customer-grid>div+div{border-left:1px solid #e8edf1}.service-customer-grid span,.service-dispatch-customer span{display:block;color:#728294;font-size:9px;font-weight:800;letter-spacing:.07em}.service-customer-identity h3{font-size:16px;margin:4px 0}.service-customer-identity p,.service-need p{font-size:11px;line-height:1.5;color:#536477;margin:5px 0}.service-customer-identity small{color:#7c8a98}.service-need p{max-height:54px;overflow:auto}.service-current-assignment{display:grid;align-content:start;gap:5px}.service-current-assignment>b{font-size:14px;margin-top:4px;color:#1d4159}.service-current-assignment small{font-size:10px;line-height:1.4;color:#69798a}.service-current-assignment button{margin-top:5px}
.service-matches{border-top:1px solid #e8edf1;padding:13px 14px 14px;background:#fbfcfd}.service-matches-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px}.service-matches-title b{font-size:11px;color:#2d4c61}.service-matches-title span{font-size:10px;color:#7a8998}.service-match-grid,.service-dispatch-recommendations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.service-crew-match,.service-dispatch-choice{position:relative;border:1px solid #d5e2e7;background:#fff;border-radius:9px;padding:10px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;color:#29445a;cursor:pointer}.service-crew-match:hover,.service-dispatch-choice:hover,.service-dispatch-choice.selected{border-color:#46aebb;background:#f1fbfc;box-shadow:0 4px 14px rgba(14,145,167,.1)}.service-crew-match:disabled{cursor:default;opacity:.8}.service-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#dff4f7;color:#0b7e91;font-size:10px;font-weight:850}.service-crew-match>span:nth-child(2){display:grid;gap:2px;min-width:0}.service-crew-match b,.service-dispatch-choice b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-crew-match small,.service-dispatch-choice small{color:#5f7384;font-size:9px}.service-crew-match em,.service-dispatch-choice em{font-style:normal;color:#188092;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-date{font-size:10px;font-weight:750;color:#28546d;background:#edf4f6;border-radius:6px;padding:5px}.service-no-match{grid-column:1/-1;border:1px dashed #c7d4dc;border-radius:8px;padding:15px;text-align:center;color:#6d7c8a;font-size:11px}
.service-dispatch-overlay{position:fixed;inset:0;z-index:130;background:rgba(8,24,40,.62);display:grid;place-items:center;padding:24px}.service-dispatch-dialog{width:min(960px,96vw);max-height:94vh;overflow:auto;background:#f5f8f9;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.service-dispatch-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.service-dispatch-dialog h2{margin:4px 0;font-size:20px;color:#17374f}.service-dispatch-dialog header p{margin:0;color:#5c7082;font-size:11px}.dark-text{color:#188394}.service-dispatch-dialog>form{padding:18px 22px 20px;display:grid;gap:16px}.service-dispatch-customer{display:grid;grid-template-columns:.7fr 1.3fr;gap:0;border:1px solid #dae5e9;background:#fff;border-radius:10px;overflow:hidden}.service-dispatch-customer>div{padding:11px 13px}.service-dispatch-customer>div+div{border-left:1px solid #e6ecef}.service-dispatch-customer>.wide{grid-column:1/-1;border-left:0;border-top:1px solid #e6ecef}.service-dispatch-customer b{display:block;margin-top:4px;font-size:12px;color:#29485d;line-height:1.45}.service-recommendation-fieldset{border:1px solid #cfe0e5;border-radius:10px;padding:14px;background:#eef7f8}.service-recommendation-fieldset legend{padding:0 7px;font-size:12px;font-weight:800;color:#214f65}.service-recommendation-fieldset>p{margin:0 0 10px;color:#617787;font-size:10px}.service-dispatch-choice{grid-template-columns:auto 1fr;align-content:start;min-height:118px;padding:12px}.service-dispatch-choice>small,.service-dispatch-choice>em,.service-dispatch-choice>strong{grid-column:2}.service-dispatch-choice>strong{font-size:10px;color:#2b6d58;margin-top:2px}.service-dispatch-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;background:#fff;border:1px solid #dce5e9;border-radius:10px;padding:15px}.service-dispatch-actions{display:grid;grid-template-columns:auto auto auto auto 1fr auto auto;gap:8px;align-items:center;border-top:1px solid #dbe3e7;padding-top:15px}body:has(.service-dispatch-overlay:not(.hidden)){overflow:hidden}
@media(max-width:1100px){.service-filter-grid{grid-template-columns:1fr 1fr}.service-filter-grid>button{justify-self:start}.service-customer-grid{grid-template-columns:1fr 1fr}.service-current-assignment{grid-column:1/-1;border-left:0!important;border-top:1px solid #e8edf1}.service-list{max-height:none}}
@media(max-width:760px){.service-hero{display:block;padding:21px}.service-hero-actions{justify-content:stretch;margin-top:16px}.service-hero-actions button{width:100%;margin:0}.service-filter-grid,.service-customer-grid,.service-match-grid,.service-dispatch-recommendations,.service-dispatch-fields,.service-dispatch-customer{grid-template-columns:1fr}.service-customer-grid>div+div,.service-dispatch-customer>div+div{border-left:0;border-top:1px solid #e8edf1}.service-matches-title{align-items:flex-start;flex-direction:column}.service-dispatch-overlay{padding:8px}.service-dispatch-dialog{width:100%;max-height:98vh}.service-dispatch-dialog>form{padding:14px}.service-dispatch-customer>.wide{grid-column:auto}.service-dispatch-actions{grid-template-columns:1fr 1fr}.service-dispatch-actions>span{display:none}.service-dispatch-actions button{width:100%}}
.quick-search-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.quick-search-bar>span{font-size:11px;font-weight:800;color:#526579;text-transform:uppercase;letter-spacing:.06em;margin-right:4px}.search-panel{margin-bottom:16px}.search-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px 16px}.span-all{grid-column:1/-1}.state-picker{border:1px solid var(--line);border-radius:9px;padding:11px 13px;margin:0}.state-picker legend{font-size:11px;font-weight:700;color:#4c5e71;padding:0 5px}.state-chips{display:flex;flex-wrap:wrap;gap:7px}.state-chip{display:inline-flex;align-items:center;gap:6px;background:#f3f6f8;border:1px solid #dce3ea;border-radius:999px;padding:6px 9px;cursor:pointer}.state-chip:has(input:checked){background:#e5f7f9;border-color:#69beca;color:#0b7182}.state-chip input{width:auto;margin:0}.state-chip span{font-size:11px;font-weight:750}.search-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:14px}.search-summary{margin-top:0}.status-progress{background:#e8f6f1;color:#1d795a}.search-panel+.search-summary{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){.search-grid{grid-template-columns:repeat(2,1fr)}.search-panel+.search-summary{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.search-grid,.search-panel+.search-summary{grid-template-columns:1fr}.span-all{grid-column:auto}.quick-search-bar{align-items:stretch}.quick-search-bar .secondary{width:100%}.search-actions{justify-content:stretch}.search-actions button{flex:1}}
.status-layout{grid-template-columns:minmax(440px,.9fr) minmax(560px,1.1fr);align-items:start}.current-status-card{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;background:#f4f8fa;border:1px solid #dce8ed;border-radius:9px;padding:12px;color:var(--muted);font-size:11px}.current-status-card div{display:grid;gap:3px}.current-status-card b{font-size:12px;color:var(--ink)}.asap-summary{min-height:34px;display:flex;align-items:center;gap:10px;margin-bottom:10px}.status-asap{background:#e4f7fa;color:#08778a}.status-canceled{background:#fae9e9;color:#ad3737}.status-hold{background:#fff1df;color:#9a6127}.change-status{white-space:nowrap;padding:6px 9px}
@media(max-width:1250px){.status-layout{grid-template-columns:1fr}}
@media(max-width:760px){.current-status-card{grid-template-columns:1fr}}
.job-finder{border:1px solid #cfe0e6;background:#f6fbfc;border-radius:10px;padding:14px}.job-finder>p{margin:7px 0 10px;color:var(--muted);font-size:11px}.job-lookup-results{display:grid;gap:6px;max-height:330px;overflow:auto}.lookup-row{display:grid;grid-template-columns:1.1fr 1.5fr 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid #dfe8ed;border-radius:8px;padding:9px 10px}.lookup-row>div{display:grid;gap:2px;min-width:0}.lookup-row b,.lookup-row span,.lookup-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lookup-row span{font-size:11px;color:#40556b}.lookup-row small{font-size:10px;color:var(--muted)}.lookup-row button{padding:7px 12px}.lookup-empty{display:grid;gap:3px;text-align:center;padding:15px;color:var(--muted);font-size:11px}.fallback-select{margin-top:-4px}
.customer-autocomplete-label{position:relative}.customer-autocomplete-label>small{font-size:10px;font-weight:500;color:var(--muted);line-height:1.4}.customer-autocomplete{position:relative;display:block}.customer-autocomplete input{padding-right:34px;background-image:linear-gradient(45deg,transparent 50%,#6f8294 50%),linear-gradient(135deg,#6f8294 50%,transparent 50%);background-position:calc(100% - 17px) 14px,calc(100% - 12px) 14px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.customer-autocomplete-results{position:absolute;z-index:25;left:auto;right:0;width:min(900px,calc(200% + 16px));top:calc(100% + 5px);max-height:390px;overflow:auto;background:#fff;border:1px solid #9fcbd2;border-radius:9px;box-shadow:0 15px 38px rgba(23,43,66,.22);padding:5px;display:grid;gap:3px}.customer-autocomplete-option{width:100%;border:0;border-radius:7px;background:#fff;padding:9px 10px;display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(260px,1.35fr) minmax(170px,.9fr);gap:14px;text-align:left;cursor:pointer;color:var(--ink)}.customer-autocomplete-option:hover,.customer-autocomplete-option.active{background:#e9f7f9;outline:1px solid #a9d8df}.customer-autocomplete-option span{display:grid;gap:2px;min-width:0}.customer-autocomplete-option b,.customer-autocomplete-option em,.customer-autocomplete-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-autocomplete-option b{font-size:11px}.customer-autocomplete-option em{font-size:10px;font-style:normal;color:#40556b}.customer-autocomplete-option small{font-size:9px;color:var(--muted);font-weight:500}.customer-autocomplete-footer{padding:8px 10px;border-top:1px solid #e3eaee;color:var(--muted);font-size:10px;font-weight:500;line-height:1.4}
@media(max-width:760px){.lookup-row{grid-template-columns:1fr}.lookup-row button{justify-self:start}.customer-autocomplete-option{grid-template-columns:1fr}.customer-autocomplete-results{left:0;right:auto;width:100%;max-height:65vh}}
.customer-find-button{border:1px solid #0e91a7;background:#0e91a7;color:#fff;border-radius:9px;padding:9px 14px;font-weight:750;cursor:pointer;white-space:nowrap}.customer-find-button:hover{background:#087b8d}.customer-finder-overlay{position:fixed;inset:0;z-index:100;background:rgba(8,24,40,.62);display:grid;place-items:center;padding:24px}.customer-finder-dialog{width:min(1280px,96vw);height:min(850px,92vh);background:#fff;border-radius:15px;box-shadow:0 24px 70px rgba(0,0,0,.3);display:grid;grid-template-rows:auto auto auto auto 1fr;overflow:hidden}.customer-finder-dialog>header{display:flex;justify-content:space-between;align-items:start;padding:22px 24px 16px;border-bottom:1px solid var(--line)}.customer-finder-dialog h2{margin:5px 0 4px;font-size:22px}.customer-finder-dialog header p{margin:0;color:var(--muted);font-size:12px}.dark-text{color:#08798b}.customer-finder-controls{display:grid;grid-template-columns:230px 1fr;gap:14px;padding:16px 24px 8px}.customer-finder-controls input{font-size:16px;padding:12px}.customer-finder-hint{display:flex;align-items:center;gap:7px;padding:2px 24px 10px;color:var(--muted);font-size:11px}.customer-finder-hint button{border:1px solid #d3dfe6;background:#f7fafb;border-radius:999px;padding:5px 9px;color:#3f566d;cursor:pointer}.customer-finder-summary{background:#eef7f8;color:#306273;border-top:1px solid #d6e9ec;border-bottom:1px solid #d6e9ec;padding:9px 24px;font-size:11px;font-weight:650}.customer-finder-results{overflow:auto;padding:10px 16px 20px}.customer-result-row{display:grid;grid-template-columns:1.05fr 1.35fr 1fr 300px;gap:15px;align-items:center;padding:11px 9px;border-bottom:1px solid #e5eaee}.customer-result-row:hover{background:#f7fbfc}.customer-result-row>div:not(.customer-result-actions){display:grid;gap:3px;min-width:0}.customer-result-row b,.customer-result-row span,.customer-result-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-result-row b{font-size:12px}.customer-result-row span{font-size:11px;color:#4e6276}.customer-result-row small{font-size:10px;color:var(--muted)}.customer-result-id>b{font-size:14px}.customer-result-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.customer-result-actions button{padding:7px 8px;font-size:10px}.search-row-actions{display:grid;gap:5px;min-width:92px}.search-row-actions button{padding:6px 8px;font-size:10px}body:has(.customer-finder-overlay:not(.hidden)){overflow:hidden}
@media(max-width:1050px){.customer-result-row{grid-template-columns:1fr 1fr}.customer-result-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.customer-finder-overlay{padding:0}.customer-finder-dialog{width:100vw;height:100vh;border-radius:0}.customer-finder-controls{grid-template-columns:1fr;padding:12px}.customer-finder-hint{padding:2px 12px 8px;overflow:auto}.customer-finder-dialog>header{padding:15px}.customer-finder-summary{padding:8px 12px}.customer-result-row{grid-template-columns:1fr}.customer-result-actions{grid-column:auto;grid-template-columns:repeat(2,1fr)}.status-strip{gap:4px}.customer-find-button{padding:8px 9px;font-size:11px}}
.customer-choice{display:flex;align-items:center;gap:9px;background:#eef7f8;border:1px solid #cfe5e8;border-radius:10px;padding:12px 14px}.customer-choice>div{display:grid;gap:3px;flex:1}.customer-choice>div b{font-size:12px}.customer-choice>div span{font-size:10px;color:var(--muted)}.customer-picker-label input[readonly]{cursor:pointer;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#0e91a7 50%),linear-gradient(135deg,#0e91a7 50%,transparent 50%);background-position:calc(100% - 18px) 15px,calc(100% - 12px) 15px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:35px}.customer-picker-label input[readonly]:hover{border-color:#4cacb9;background-color:#f7fcfd}.customer-picker-label>small{font-size:10px;font-weight:500;color:var(--muted);line-height:1.4}.customer-finder-dialog{grid-template-rows:auto auto auto 1fr}.customer-browser-filters{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:11px 13px;padding:14px 24px;background:#f7f9fa;border-bottom:1px solid var(--line);overflow:auto}.customer-browser-filters label{min-width:0}.customer-browser-filters select{padding:8px 9px}.customer-filter-clear{align-self:end;min-height:36px}.select-customer-project{width:100%;min-height:38px}.customer-result-row:has(.select-customer-project){grid-template-columns:1.05fr 1.35fr 1fr 170px}
@media(max-width:1050px){.customer-browser-filters{grid-template-columns:repeat(3,1fr)}.customer-result-row:has(.select-customer-project){grid-template-columns:1fr 1fr}.customer-result-row:has(.select-customer-project) .customer-result-actions{grid-column:1/-1}}
@media(max-width:760px){.customer-choice{align-items:stretch;flex-direction:column}.customer-choice button{width:100%}.customer-browser-filters{grid-template-columns:1fr 1fr;padding:10px 12px}.customer-result-row:has(.select-customer-project){grid-template-columns:1fr}.customer-result-row:has(.select-customer-project) .customer-result-actions{grid-column:auto}}
.project-picker-field{display:grid;gap:6px;min-width:0}.project-picker-title{font-size:11px;font-weight:650;color:#4c5e71}.project-picker-control{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr) auto;gap:8px;align-items:stretch}.project-picker-button{border:1px solid #0e91a7;background:#0e91a7;color:#fff;border-radius:7px;padding:9px 12px;font:inherit;font-weight:750;cursor:pointer;text-align:center}.project-picker-button:hover{background:#087b8d}.project-picker-selected{min-height:38px;border:1px solid #cdd7e0;background:#f7fafb;border-radius:7px;padding:9px 10px;color:#5e7082;font-size:11px;line-height:1.45;overflow:hidden;text-overflow:ellipsis}.project-picker-selected.has-project{border-color:#78bdc7;background:#eaf7f8;color:#203e54;font-weight:650}.project-picker-clear{border:1px solid #cdd7e0;background:#fff;color:#536477;border-radius:7px;padding:8px 10px;font:inherit;font-size:11px;cursor:pointer}.project-picker-clear:hover{background:#f2f6f8}.inline-form .project-picker-control{grid-template-columns:1fr}.inline-form .project-picker-selected{min-height:48px}.inline-form .project-picker-clear{justify-self:start}.form-grid .project-picker-control{grid-template-columns:1fr}.form-grid .project-picker-clear{justify-self:start}
@media(max-width:760px){.project-picker-control{grid-template-columns:1fr}.project-picker-clear{justify-self:start}}
.crew-roster-panel{margin-bottom:20px}.crew-roster-message{margin-top:14px;padding:13px 15px;border-radius:8px;background:#e9f6f8;border-left:4px solid var(--cyan);color:#36566a;font-size:12px;line-height:1.5}.crew-roster-message.error{background:#fff0f0;border-left-color:var(--red);color:#8f3333}.crew-roster-actions{display:flex;gap:6px;white-space:nowrap}.crew-roster-actions button{padding:7px 9px;font-size:10px}
.reminder-panel{margin-top:20px}.reminder-overdue{color:var(--red);font-weight:800}.reminder-soon{color:#a76622;font-weight:750}.status-replacement{background:#fff0d7;color:#9b5a14}.completed-note{max-width:520px;white-space:pre-wrap;line-height:1.45}.archive-empty{padding:34px;text-align:center;color:var(--muted)}
.option-card.diagnostic-card{border-color:#e6b1b1;background:#fffafa}.option-card.diagnostic-card.active{border-color:#b84040;box-shadow:0 5px 18px rgba(184,64,64,.14)}.option-card.diagnostic-card .code{background:#fae9e9;color:#ad3737}
.option-section-heading{display:flex;align-items:baseline;gap:10px;margin:2px 2px 9px;color:#213a51}.option-section-heading b{font-size:13px}.option-section-heading span{font-size:11px;color:var(--muted)}
.decision-guide{background:#fff;border:2px solid #55aebe;border-radius:12px;padding:17px 19px;margin-bottom:14px;box-shadow:0 4px 15px rgba(24,94,112,.08)}.decision-label{display:inline-block;background:#0e91a7;color:#fff;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:850;letter-spacing:.08em}.decision-guide h3{margin:9px 0 4px;font-size:18px;color:#18364f}.decision-guide>p{margin:0 0 13px;color:#52687b;font-size:12px;font-weight:650}.impact-summary-grid{display:grid;grid-template-columns:1.1fr 1.15fr 1.65fr .7fr;gap:8px;margin:12px 0}.impact-summary-grid>div{display:grid;gap:4px;background:#f5f8fa;border:1px solid #dce6eb;border-radius:8px;padding:10px 11px}.impact-summary-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#6b7d8d;font-weight:750}.impact-summary-grid b{font-size:11px;line-height:1.4;color:#203b52}.impact-summary-grid .impact-count{background:#e8f6f1;border-color:#9fd2bf;text-align:center}.impact-summary-grid .impact-count b{font-size:25px;color:#167357}.decision-instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.decision-step{display:grid;gap:4px;background:#f3f7f9;border:1px solid #d9e4e9;border-radius:8px;padding:10px 11px}.decision-step b{font-size:11px;color:#223e55}.decision-step span{font-size:10px;color:#5d7182;line-height:1.45}.decision-step.complete{background:#e9f7f1;border-color:#9bd3bf}.change-control-buttons{align-items:stretch;flex-wrap:wrap;justify-content:flex-end}.change-control-buttons button{max-width:250px;white-space:normal;line-height:1.25}.approval-bar button{min-width:190px}.approval-bar button:disabled{cursor:not-allowed;opacity:.58}.tag.target-change{background:#dff3f6;color:#08778a;white-space:normal;text-align:center}.target-change-row{background:#f1fafb}.target-change-row:hover{background:#e9f7f9}
@media(max-width:1100px){.impact-summary-grid{grid-template-columns:1fr 1fr}.decision-instructions{grid-template-columns:1fr}.approval-bar{align-items:stretch;flex-direction:column}.approval-bar button{width:100%}.option-section-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.impact-summary-grid{grid-template-columns:1fr}}
.blocking-conflict-row{background:#fff3f0!important;box-shadow:inset 4px 0 #c74444}.blocking-conflict-row:hover{background:#ffebe7!important}.tag.blocking-protection{display:block;margin-top:5px;background:#fae1dd;color:#a83232;white-space:normal;text-align:center}#scenario-workbench:has(.blocking-conflict-row) .decision-guide{border-color:#c74444}
.resolved-impact-row{background:#f2faf6!important}.resolved-impact-row:hover{background:#e8f6ef!important}.tag.resolved-impact{background:#dff3e8;color:#187050;white-space:normal;text-align:center}
.schedule-basis-panel{background:#fff;border:1px solid #b9d7df;border-left:5px solid var(--cyan);border-radius:11px;padding:15px 17px;margin-bottom:14px}.schedule-basis-panel h3{margin:8px 0 3px;font-size:15px}.schedule-basis-panel p{margin:0;color:var(--muted);font-size:11px}.schedule-basis-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.schedule-basis-grid>span{display:grid;gap:4px;background:#f3f8fa;border:1px solid #dae8ed;border-radius:8px;padding:9px 10px;color:#5b6f80;font-size:10px;line-height:1.4}.schedule-basis-grid b{color:#1e4058;font-size:11px}.schedule-basis-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e9ed;padding-top:10px;color:#536a7d;font-size:10px}.basis-list{display:grid;gap:5px;margin-top:8px}.basis-list>span{display:block;background:#f4f7f9;border-left:3px solid #91abb9;border-radius:4px;padding:5px 7px;color:#526777;font-size:9px;line-height:1.4}.basis-list b{display:block;color:#263f53;font-size:9px}.basis-list .basis-warning{background:#fff1df;border-left-color:#e27b2f;color:#8d531f}.basis-list .basis-warning b{color:#a74e1c}.manager-review-confirm{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 18px;background:#fff8e8;border-top:1px solid #edcf8f}.manager-review-confirm label{font-size:11px;color:#684b19}.manager-review-confirm>span{color:#8c6b32;font-size:9px}.manager-review-confirm input{accent-color:var(--cyan)}
.scenario-controls{display:grid;gap:8px;justify-items:end}.analysis-exit-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:650px}.analysis-exit-actions small{width:100%;text-align:right;color:#c9d8e3;font-size:9px}.scenario-banner .analysis-exit-actions .secondary{background:transparent;color:#fff;border-color:#9db1c1}.scenario-banner .analysis-exit-actions .danger-outline{background:#fff4f2}
@media(max-width:1100px){.schedule-basis-grid{grid-template-columns:1fr 1fr}.schedule-basis-actions,.manager-review-confirm{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.schedule-basis-grid{grid-template-columns:1fr}}

/* Guided schedule review: show one decision at a time. */
.review-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 auto 18px;max-width:1040px}.review-step{display:flex;align-items:center;gap:9px;color:#8a97a5;border-bottom:3px solid #d9e0e6;padding:7px 4px 11px}.review-step span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#e7ebef;color:#66798a;font-size:11px;font-weight:800}.review-step b{font-size:11px}.review-step.done{color:#31745f;border-color:#66b798}.review-step.done span{background:#dff2e9;color:#247356}.review-step.current{color:#123b55;border-color:var(--cyan)}.review-step.current span{background:var(--cyan);color:#fff}.review-step.pending{color:#9aa5af}
.review-tools{position:relative;min-width:250px}.review-tools>summary{list-style:none;border:1px solid #cad5df;border-radius:8px;padding:9px 13px;background:#fff;color:#30465e;font-size:11px;font-weight:700;cursor:pointer;text-align:center}.review-tools>summary::-webkit-details-marker{display:none}.review-tools[open]{z-index:4}.review-tools[open]>.scenario-controls{position:absolute;right:0;top:44px;width:min(670px,80vw);background:#16324d;border-radius:10px;padding:14px;box-shadow:0 14px 35px rgba(10,25,40,.28)}
#scenario-workbench.conflict-only>.scenario-banner,#scenario-workbench.conflict-only>.schedule-basis-panel,#scenario-workbench.conflict-only>#option-section-heading,#scenario-workbench.conflict-only>#option-cards,#scenario-workbench.conflict-only>#decision-guide,#scenario-workbench.conflict-only>#option-detail-panel{display:none!important}
#scenario-workbench.conflict-only{max-width:1080px;margin:0 auto}.protected-conflict-panel{background:#fff;border:1px solid #d9e2e8;border-top:6px solid var(--cyan);border-radius:15px;margin:0;padding:30px 34px;box-shadow:0 8px 28px rgba(26,48,67,.08)}.protected-conflict-heading{text-align:center;max-width:760px;margin:0 auto}.protected-conflict-heading h2{font-size:27px;margin:10px 0 8px;color:#18364f}.protected-conflict-heading p{font-size:13px;color:#657688;line-height:1.55}.protected-conflict-list{max-width:760px;margin:24px auto 0}.protected-conflict-card{border:0;border-radius:12px;background:#f7f9fa;padding:0;display:block;overflow:hidden}.conflict-question-pane{padding:28px 30px;text-align:center}.question-number{display:inline-block;background:#e2f4f6;color:#08778a;border-radius:999px;padding:5px 10px;font-size:9px;font-weight:850;letter-spacing:.09em}.conflict-question-pane h2{font-size:24px;line-height:1.3;margin:14px 0 8px;color:#172f46}.conflict-question-pane p{max-width:620px;margin:0 auto;color:#607285;font-size:13px;line-height:1.55}.question-answers{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:24px}.question-answers button{min-height:58px;font-size:14px;white-space:normal;line-height:1.3}.question-back{border:0;background:transparent;color:#587083;font-size:11px;font-weight:700;margin-top:18px;cursor:pointer}.question-back:hover{text-decoration:underline}.review-safety-note{max-width:760px;margin:18px auto 0;border-radius:8px;background:#eaf6f1;color:#3f6c5d;padding:11px 14px;text-align:center;font-size:11px}.review-safety-note b{color:#22644e}
.simple-date-menu,.simple-exit-menu{max-width:520px;margin:22px auto 0;background:#fff;border:1px solid #d9e2e8;border-radius:12px;padding:18px;text-align:left}.simple-date-current{background:#eef5f7;border-radius:9px;padding:12px 14px;margin-bottom:14px}.simple-date-current span,.simple-date-current small{display:block;color:#6b7d8c;font-size:10px}.simple-date-current b{display:block;color:#17364e;margin:3px 0}.simple-date-fields,.simple-exit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:15px}.simple-date-fields:has(label:only-child){grid-template-columns:1fr}.simple-date-fields label,.simple-exit-fields label{font-size:11px;font-weight:750;color:#42596d}.simple-date-fields input,.simple-exit-fields input,.simple-exit-fields select,.simple-exit-fields textarea{width:100%;margin-top:6px}.simple-exit-fields .span-all{grid-column:1/-1}.simple-date-menu>button,.simple-exit-menu>button{width:100%;min-height:48px}.guided-review-facts>.simple-date-menu{grid-column:1/-1;width:100%}
.date-recommendation{margin:0 0 15px;padding:14px;border:1px solid #73bdc7;border-left:5px solid var(--cyan);border-radius:9px;background:#edf9fa}.date-recommendation span{display:block;color:#08788a;font-size:9px;font-weight:900;letter-spacing:.08em}.date-recommendation h3{margin:5px 0;color:#17364e;font-size:18px}.date-recommendation p{margin:0;color:#36586b;font-size:11px;line-height:1.5}.date-recommendation small{display:block;margin-top:8px;padding-top:8px;border-top:1px solid #b9dde2;color:#735b24;font-size:10px;line-height:1.45}
#scenario-workbench.guided-simple>.scenario-banner,#scenario-workbench.guided-simple>.schedule-basis-panel,#scenario-workbench.guided-simple>#option-section-heading,#scenario-workbench.guided-simple>#option-cards,#scenario-workbench.guided-simple>#decision-guide,#scenario-workbench.guided-simple>#option-detail-panel{display:none!important}#scenario-workbench.guided-simple{max-width:1080px;margin:0 auto}.guided-option-review{max-width:820px;margin:0 auto;background:#fff;border:1px solid #d9e2e8;border-top:6px solid var(--cyan);border-radius:15px;padding:34px 40px;text-align:center;box-shadow:0 8px 28px rgba(26,48,67,.08)}.guided-option-review h2{font-size:27px;color:#18364f;margin:13px 0 8px}.guided-option-review>p{max-width:680px;margin:0 auto;color:#607285;line-height:1.55}.guided-option-review>small{display:block;margin-top:15px;color:#718090}.guided-review-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0 0}.guided-review-facts>div{display:grid;gap:4px;text-align:left;background:#f5f8fa;border:1px solid #dce5ea;border-radius:9px;padding:13px 14px}.guided-review-facts span{font-size:9px;font-weight:850;color:#718294;letter-spacing:.08em}.guided-review-facts b{font-size:13px;color:#203a50}.guided-review-facts small{font-size:10px;color:#607386}.guided-review-facts .guided-warning{background:#fff2df;border-color:#e7ba7c}.guided-review-facts .guided-good{grid-column:1/-1;text-align:center;background:#eaf6f1;border-color:#a9d8c6;color:#2d6d57;font-weight:750}
.guided-impact-overview{max-width:1080px;margin:18px auto 0;background:#fff;border:1px solid #d9e2e8;border-radius:13px;overflow:hidden;box-shadow:0 5px 18px rgba(26,48,67,.06)}.guided-impact-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:17px 20px;border-bottom:1px solid #e1e7eb}.guided-impact-heading h3{margin:3px 0 2px;color:#18364f;font-size:17px}.guided-impact-heading p{margin:0;color:#6b7d8c;font-size:11px}.guided-impact-count{background:#e5f4f6;color:#08778a;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;white-space:nowrap}.guided-impact-table-wrap{overflow:auto;max-height:360px}.guided-impact-table{width:100%;border-collapse:collapse;font-size:11px}.guided-impact-table th{position:sticky;top:0;z-index:1;background:#f4f7f9;color:#637588;text-align:left;padding:9px 11px;border-bottom:1px solid #dce4e9}.guided-impact-table td{padding:10px 11px;border-bottom:1px solid #e7ecef;vertical-align:top;color:#42576a}.guided-impact-table tr.current-impact{background:#eaf7f9;box-shadow:inset 4px 0 #0e95a8}.guided-impact-table tr.blocked-impact{background:#fff3e4}.guided-impact-table tr.selectable-impact:hover{background:#f1fbfc}.guided-impact-table b{color:#18364f}.guided-impact-table small{display:block;color:#718293;margin-top:2px}.guided-impact-select-head,.guided-impact-select{width:42px;text-align:center!important}.guided-impact-select input{width:auto;margin:2px 0;accent-color:#0e95a8}.guided-impact-select input:focus{outline:2px solid #72c6d0;outline-offset:2px}.guided-impact-not-selectable{color:#a8b5bf}.impact-state{display:inline-block;border-radius:999px;padding:4px 7px;background:#edf1f4;color:#53697a;font-weight:800;white-space:nowrap}.impact-state.decide{background:#dff3f6;color:#08778a}.impact-state.allowed{background:#e7f5ed;color:#287154}.impact-state.kept{background:#eef1f4;color:#435b6e}.impact-state.blocked{background:#ffe2bd;color:#9b5212}.impact-state.waiting{background:#f3edf8;color:#6f4c83}.guided-impact-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;background:#eef9fa;border-top:1px solid #c9e7eb}.guided-impact-selection>div:first-child{display:grid;gap:4px}.guided-impact-selection b{color:#17364e;font-size:12px}.guided-impact-selection small{color:#587283;font-size:10px}.guided-impact-selection .button-row{margin:0;justify-content:flex-end}.guided-impact-selection button{white-space:nowrap}
.inline-confirm-armed{background:#fff2df!important;border-color:#d58a2a!important;color:#7e4d12!important;box-shadow:0 0 0 3px rgba(213,138,42,.12)}
@media(max-width:760px){.review-progress{grid-template-columns:1fr 1fr}.review-step{padding-bottom:7px}.protected-conflict-panel,.guided-option-review{padding:21px 16px}.protected-conflict-heading h2,.conflict-question-pane h2,.guided-option-review h2{font-size:20px}.conflict-question-pane{padding:22px 16px}.question-answers,.guided-review-facts,.simple-date-fields,.simple-exit-fields{grid-template-columns:1fr}.simple-exit-fields .span-all{grid-column:auto}.review-tools{min-width:0}.review-tools[open]>.scenario-controls{position:fixed;left:12px;right:12px;top:100px;width:auto}}
@media(max-width:760px){.guided-impact-selection{align-items:stretch;flex-direction:column}.guided-impact-selection .button-row{justify-content:stretch;flex-wrap:wrap}.guided-impact-selection button{flex:1 1 150px}.guided-impact-table th,.guided-impact-table td{padding:8px 7px}}
.question-answers .guided-review-all{grid-column:1/-1;border-color:#0b91a6;background:#e8f7f9;color:#08778a;font-weight:850}.question-answers .guided-review-all:hover{background:#d7f0f4}
.login-page{min-height:100vh;background:linear-gradient(145deg,#0d243a,#0d6070);display:grid;place-items:center;padding:24px}.login-shell{width:min(430px,100%)}.login-card{background:#fff;border-radius:16px;box-shadow:0 20px 70px rgba(0,0,0,.28);padding:34px}.login-card h1{margin:5px 0 8px;font-size:27px;color:#16324d}.login-card>p{color:#66788a;margin:0 0 24px}.login-card>small{display:block;color:#84909b;margin-top:20px;text-align:center}.login-brand{padding:0 0 24px;color:#17324c}.login-brand span{color:#6e7f8f}.login-card .primary{width:100%;min-height:45px}.login-error{background:#fff0f0;color:#a23939;border-left:4px solid #c84a4a;border-radius:6px;padding:11px 13px;margin-top:14px;font-size:12px}.user-session{display:grid;gap:3px;margin-bottom:11px}.user-session strong{color:#fff;font-size:12px}.user-session span{color:#94a8bb;font-size:10px}.logout-button{width:100%;border:1px solid rgba(255,255,255,.2);background:transparent;color:#dce7ef;border-radius:7px;padding:8px;cursor:pointer;font-size:11px}.logout-button:hover{background:rgba(255,255,255,.08)}.viewer-banner{background:#fff4d8;border:1px solid #e6bd65;color:#76520a;border-radius:8px;padding:10px 13px;margin-bottom:14px;font-size:12px}.user-list{display:grid;gap:7px}.user-row{display:grid;grid-template-columns:1.2fr .8fr auto;gap:10px;align-items:center;background:#f6f8fa;border-radius:8px;padding:10px 12px}.user-row small{display:block;color:#718090}.cloud-managed{background:#eef7f8;border-radius:8px;padding:12px;color:#446071;font-size:11px}
.sidebar-foot .logout-button+.logout-button{margin-top:7px}.password-overlay{position:fixed;inset:0;z-index:80;background:rgba(8,22,36,.65);display:grid;place-items:center;padding:20px}.password-card{width:min(450px,100%);background:#fff;border-radius:15px;padding:28px;box-shadow:0 22px 70px rgba(0,0,0,.3)}.password-card h2{margin:0 0 7px;color:#17324c}.password-card>p{margin:0 0 20px;color:#657688;font-size:12px;line-height:1.5}.password-card .button-row{display:grid;grid-template-columns:1fr 1fr;margin-top:5px}.password-card button{min-height:43px}.user-row{grid-template-columns:1.2fr .65fr .55fr auto}.user-row .user-toggle{padding:7px 9px;font-size:10px}
.crew-criteria-panel{grid-column:1/-1;margin:0;border:1px solid #b8dce2;border-radius:11px;background:#f4fbfc;padding:15px 16px 14px;text-align:left}.crew-criteria-panel legend{padding:0 7px;color:#08778a;font-size:9px;font-weight:850;letter-spacing:.08em}.crew-criteria-panel>p{margin:0 0 11px;color:#566d7e;font-size:11px}.crew-criteria-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.crew-criterion{display:flex;gap:8px;align-items:flex-start;border:1px solid #d6e7eb;border-radius:8px;background:#fff;padding:10px;cursor:pointer}.crew-criterion:has(input:checked){border-color:#35a4b5;background:#e9f8fa;box-shadow:inset 0 0 0 1px #35a4b5}.crew-criterion input{width:auto;margin:2px 0 0;accent-color:#0e95a8;flex:0 0 auto}.crew-criterion span{display:grid;gap:4px;min-width:0}.crew-criterion b{font-size:11px;color:#244158}.crew-criterion small{font-size:9px;line-height:1.35;color:#64798a}.crew-criteria-safety{display:block;margin-top:10px;color:#3b6d61!important;font-weight:700}.guided-review-facts>.crew-criteria-panel+div{grid-column:auto}
@media(max-width:900px){.crew-criteria-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.crew-criteria-grid{grid-template-columns:1fr}}
.guided-option-review.crew-list-mode{max-width:1040px}.crew-choice-panel{grid-column:1/-1;display:grid;gap:9px;text-align:left}.crew-choice-row{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(310px,1.8fr) 150px;gap:12px;align-items:center;border:1px solid #d8e3e8;border-radius:10px;background:#fff;padding:11px 12px}.crew-choice-row:hover{border-color:#45a8b7;box-shadow:0 3px 12px rgba(15,106,120,.09)}.crew-choice-name{display:flex;gap:9px;align-items:flex-start;min-width:0}.crew-choice-name>div{display:grid;gap:3px;min-width:0}.crew-choice-name b{font-size:12px;color:#18364f}.crew-rank{flex:0 0 auto;background:#e4f5f7;color:#08778a;border-radius:999px;padding:4px 7px;font-size:10px!important;letter-spacing:0!important}.crew-choice-metrics{display:grid;grid-template-columns:1.35fr .9fr 1fr;gap:8px;min-width:0}.crew-choice-metrics>div{display:grid;align-content:start;gap:3px;border-left:1px solid #e3eaee;padding-left:9px;min-width:0}.crew-choice-metrics b,.crew-choice-metrics small{overflow-wrap:anywhere}.crew-choice-metrics .guided-warning{background:#fff2df;border-radius:6px;padding:6px 7px;border-left:3px solid #e0a252}.crew-trial-button{min-height:43px;white-space:normal;line-height:1.25}.question-answers .crew-next-five{grid-column:1/-1}.crew-list-mode .guided-review-facts{grid-template-columns:1fr}.crew-list-mode .guided-review-facts>section{width:100%}
.crew-criteria-actions{display:grid;grid-template-columns:minmax(240px,auto) 1fr;gap:12px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #d7e8eb}.crew-recalculate-button{min-height:42px}.crew-recalculate-button.criteria-pending{box-shadow:0 0 0 4px rgba(14,149,168,.16)}#guided-crew-criteria-status{font-size:10px;line-height:1.4;color:#536b7d}.crew-trial-button:disabled,.crew-next-five:disabled{opacity:.45;cursor:not-allowed}
.crew-trial-result{grid-column:1/-1;display:grid;gap:10px;border-radius:8px;padding:10px 12px;font-size:11px;line-height:1.4}.crew-trial-copy{display:flex;gap:10px;align-items:flex-start}.crew-trial-result b{flex:0 0 auto;font-size:10px;letter-spacing:.06em}.crew-trial-result span{font-weight:650}.crew-trial-result.unsafe{border:1px solid #e5b96e;background:#fff7e9;color:#6f4812}.crew-trial-result.error{border:1px solid #df9c9c;background:#fff0f0;color:#7c2929}.crew-trial-actions{display:flex;flex-wrap:wrap;gap:8px}.crew-trial-actions button{min-height:36px;padding:8px 12px;font-size:10px}
@media(max-width:900px){.crew-choice-row{grid-template-columns:1fr 130px}.crew-choice-metrics{grid-column:1/-1;grid-row:2}.crew-choice-row>.crew-trial-button{grid-column:2;grid-row:1}}@media(max-width:620px){.crew-choice-row{grid-template-columns:1fr}.crew-choice-metrics{grid-template-columns:1fr}.crew-choice-metrics>div{border-left:0;border-top:1px solid #e3eaee;padding:7px 0 0}.crew-choice-row>.crew-trial-button{grid-column:1;grid-row:auto}.crew-criteria-actions{grid-template-columns:1fr}}
input[data-english-date="true"][type="text"]{padding-right:38px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235a6f82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:17px 17px;cursor:pointer}
.crew-auto-criteria{grid-column:1/-1}.crew-auto-criteria>#guided-crew-criteria-status{display:block;margin-top:11px;color:#536b7d;font-size:10px;line-height:1.45}.crew-auto-result{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:start;margin-top:12px;padding:11px 12px;border-radius:8px;font-size:11px;line-height:1.45}.crew-auto-result b{font-size:10px;letter-spacing:.06em}.crew-auto-result span{font-weight:650}.crew-auto-result.unsafe{border:1px solid #e5b96e;background:#fff7e9;color:#6f4812}.crew-auto-result.error{border:1px solid #df9c9c;background:#fff0f0;color:#7c2929}
.guided-review-facts>.crew-conclusion-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;background:#eef8f6;border:1px solid #9bcfbe;padding:10px}.crew-conclusion-grid>div{display:grid;align-content:start;gap:4px;background:#fff;border:1px solid #cce2db;border-radius:8px;padding:12px;text-align:left}.crew-conclusion-grid>div span{color:#38715f}.crew-conclusion-grid>div b{font-size:13px}.crew-conclusion-grid>div small{line-height:1.4}
@media(max-width:760px){.guided-review-facts>.crew-conclusion-grid{grid-template-columns:1fr}}
.customer-finder-dialog{grid-template-rows:auto auto auto auto 1fr}
.help-button{border:1px solid #0e91a7;background:#eef7f8;color:#08778a;border-radius:8px;padding:7px 11px;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}.help-button:hover,.help-inline:hover{background:#dff3f5}.help-inline{border:1px solid #9bcfd6;background:#f5fbfc;color:#08778a;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}.dialog-help-row{display:flex;align-items:center;gap:9px;padding:8px 24px;background:#f7fbfc;border-bottom:1px solid #dfecef;color:#617587;font-size:11px}.password-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.password-dialog-heading h2{margin:0}.help-overlay{position:fixed;inset:0;z-index:120;background:rgba(8,24,40,.68);display:grid;place-items:center;padding:24px}.help-card{width:min(720px,96vw);max-height:min(760px,90vh);background:#fff;border-radius:15px;box-shadow:0 24px 80px rgba(0,0,0,.35);display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}.help-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid var(--line)}.help-card-header h2{margin:5px 0 4px;font-size:22px;color:#17324c}.help-card-header p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.help-dialog-body{overflow:auto;padding:20px 24px}.help-dialog-body ol{margin:0;padding-left:22px;display:grid;gap:11px;color:#304a60;line-height:1.55}.help-dialog-body li::marker{color:#0e91a7;font-weight:800}.help-tip{display:flex;gap:9px;align-items:flex-start;margin-top:20px;padding:13px 15px;background:#fff7e5;border:1px solid #edcf8f;border-left:4px solid #d58b24;border-radius:8px;color:#674b1d;font-size:11px;line-height:1.5}.help-tip b{color:#9e632a;white-space:nowrap}.help-card-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 24px;background:#f7f9fa;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.help-card-footer .secondary{padding:7px 12px}
body:has(.help-overlay:not(.hidden)){overflow:hidden}@media(max-width:760px){.dialog-help-row{padding:8px 12px}.help-overlay{padding:10px}.help-card-header,.help-dialog-body{padding-left:16px;padding-right:16px}.help-card-footer{padding:11px 16px;align-items:stretch;flex-direction:column}.help-card-footer button{width:100%}.help-button{padding:7px 8px;font-size:10px}.status-strip{flex-wrap:wrap}}
.crew-route-panel{margin:20px 0}.route-controls{display:flex;align-items:end;gap:10px;min-width:300px}.route-controls label{min-width:150px}.route-controls input{min-width:92px}.route-table-wrap{max-height:560px}.route-table-wrap td:nth-child(4),.route-table-wrap td:nth-child(5){min-width:220px}.route-table-wrap td:nth-child(6){white-space:nowrap}.route-table-wrap .empty-state{margin:10px}.route-table-wrap .empty-state b{font-size:14px}.route-chain{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr);gap:8px;align-items:center;min-width:430px}.route-chain>div{line-height:1.35}.route-arrow{font-size:18px;font-weight:700;color:var(--accent,#167c8b)}.crew-route-trial{margin:12px 0;padding:14px 16px;border:1px solid #b8dbe0;border-radius:10px;background:#f2fbfc}.crew-route-trial-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.crew-route-trial-head h4{margin:3px 0 4px;font-size:16px}.crew-route-trial-head p{margin:0;color:#52626c;font-size:12px}.crew-route-trial-orders{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.crew-route-trial-orders>div{display:grid;gap:4px;padding:9px 10px;background:#fff;border-radius:7px}.crew-route-trial-orders span{font-size:11px;text-transform:uppercase;color:#73828a}.crew-route-trial-orders b{font-size:12px;line-height:1.5}.crew-route-trial-blockers{margin:10px 0 0;padding-left:20px;color:#8a4f21;font-size:12px}
@media(max-width:760px){.route-controls{display:grid;grid-template-columns:1fr 110px;min-width:0;width:100%;align-items:end}.route-controls label:first-child{min-width:0}.route-controls label:last-child{min-width:0}.crew-route-panel .panel-head{display:grid}.route-table-wrap{max-height:520px}.route-table-wrap td:nth-child(4),.route-table-wrap td:nth-child(5){min-width:180px}.crew-route-trial-head{display:grid}.crew-route-trial-orders{grid-template-columns:1fr}.crew-route-trial-head button{width:100%}}
