:root{--bg:#f6f6f0;--paper:#fffefa;--ink:#26342d;--muted:#657060;--line:#dce0d4;--green:#255e46;--green-light:#e9f1e5;--gold:#a77d38;--sand:#f7eedc;--side:#242922;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ad863e}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.035em;margin-bottom:10px;line-height:1.2}h2{font-size:18px;letter-spacing:-.015em}h3{font-size:14px;margin-bottom:18px}p{line-height:1.65}small,.muted{color:var(--muted)}small{font-size:12px;line-height:1.5}label{display:grid;gap:8px;font-size:12px;font-weight:650;color:#56624f}input,select,textarea{min-height:41px;border:1px solid #ccd5c4;border-radius:7px;padding:10px 11px;background:#fff;color:var(--ink);min-width:0;width:100%}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#899480;font-weight:400}fieldset{border:0;padding:0;margin:10px 0}legend{font-size:12px;font-weight:650;margin-bottom:10px}.primary,.secondary{border-radius:8px;padding:11px 16px;font-weight:650;border:1px solid transparent;white-space:nowrap;min-height:40px}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#194b36}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:#eff3e9}.danger{color:#9b3e2b;border-color:#dcbaab}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;color:#7b896c;margin:0 0 14px}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:var(--side);color:#edeedf;padding:40px 20px 24px;z-index:10;display:flex;flex-direction:column}.wordmark{font:600 25px Georgia,serif;letter-spacing:.14em;padding:0 8px}.wordmark span{font:500 10px system-ui,sans-serif;display:block;letter-spacing:.28em;color:#cfb57f;margin-top:9px}.wordmark i{display:block;color:#b0b6a3;font:italic 11px Georgia,serif;letter-spacing:0;margin-top:16px}.nav-label{color:#a2ab95;font-size:10px;letter-spacing:.15em;margin:44px 9px 14px}.nav{display:flex;gap:14px;align-items:center;padding:14px 15px;border:0;border-radius:9px;color:#d4dbca;background:transparent;width:100%;text-align:left;font-size:13px;margin-bottom:8px}.nav.active{background:#3c4636;color:#fff;border-left:3px solid #c4a46b}.nav:hover{background:#36402f}.nav span{width:15px}.sidebar-bottom{margin-top:auto}.sidebar-bottom small{display:block;color:#a2ab95;font-size:10px;padding:10px;line-height:1.8}.workspace{margin-left:230px}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fffefa;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}.crumb{font-size:11px;color:var(--muted)}.crumb span{margin:0 14px;color:#adb7a0}.crumb strong{color:#42503d}.top-actions{display:flex;gap:12px;align-items:center}.top-actions .secondary{min-height:34px;padding:7px 12px;font-size:11px}.env-pill{color:#587142;background:#edf3e6;border:1px solid #d6e2c8;border-radius:5px;padding:6px 9px;font-weight:750;font-size:9px;letter-spacing:.04em}#user-name{font-size:11px;color:var(--muted)}.icon-btn{background:none;border:0;font-size:20px;display:none}main{padding:38px 40px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px}.page-heading p:last-child{color:var(--muted);margin:0;font-size:13px}.filterbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:17px;background:var(--paper);border:1px solid var(--line);border-radius:11px;margin-bottom:22px}.filterbar label:first-child{flex:1;min-width:180px;max-width:350px}.filterbar label{min-width:140px}.filterbar button{margin-left:auto}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:21px}.card-head h2{font-size:16px;margin:0}.card-head span{font-size:11px;color:#77866b}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:680px}th{background:#f8faf5;color:#77846c;font-size:10px;text-align:left;padding:15px 20px}td{padding:20px;border-top:1px solid #e6e9df;font-size:12px;vertical-align:middle}td strong{display:block;margin-bottom:5px;font-size:12px}td small{display:block;font-size:11px;max-width:270px}td button{font-size:11px;min-height:34px}.pill{display:inline-block;padding:6px 8px;border-radius:6px;font-size:10px;font-weight:700;color:#8f6623;background:var(--sand)}.pill.ok{background:#e8f2e3;color:#366a31}.pill.cancel{background:#f1e8e2;color:#8b6351}.empty{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:45px 22px}.empty h2{font-size:18px;color:#586e47;font-weight:550;margin:18px 0 12px}.empty p{font-size:13px;color:#819074;margin-bottom:25px}.empty-icon{font-size:25px;color:#a4b28d}.app-foot,.footnote{font-size:11px;color:#819074;margin-top:24px}.notice,.qa-banner{padding:13px 16px;border:1px solid #c9d6bd;background:#edf3e7;border-radius:8px;margin:0 0 20px;font-size:12px;line-height:1.5}.notice.error{border-color:#ddb59b;background:#fff1e7;color:#8f3d24}.qa-banner{background:#fff5d8;border-color:#e3ce8e;color:#776035;border-radius:4px;font-size:10px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span2{grid-column:1/-1}.checks{display:flex;flex-wrap:wrap;gap:10px 18px}.checks label{display:flex;align-items:center;font-weight:500;font-size:13px}.checks input{width:17px;min-height:17px;accent-color:var(--green)}.form-section{padding:22px;background:#fcfcf6;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.form-section h3{color:#3f5644}.form-section.pinned{position:sticky;top:0;z-index:2;max-height:44vh;overflow-y:auto;background:#f1f5e9;box-shadow:0 5px 10px #394d3012}.form-section p{font-size:12px}.price-line{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.price-line h4{margin:0 0 13px;font-size:12px}.price-summary{padding:12px 0 0;font-size:12px;color:#4e6b40}.inline-error{color:#9e3926;font-size:12px;white-space:pre-line;margin:15px 0 0}.login-stage{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px}.login-card{background:var(--paper);padding:40px;width:min(470px,100%);border:1px solid var(--line);border-radius:16px}.login-card h1{font-family:Georgia,serif;letter-spacing:.15em}.brand-sub{letter-spacing:.25em;color:var(--gold);font-size:11px;margin-bottom:35px}.login-card p{color:var(--muted);font-size:13px}.login-card form{display:grid;gap:12px;margin:22px 0}.login-card small{font-size:10px}#login-error{color:#a1442d}dialog{padding:0;border:1px solid var(--line);color:var(--ink);background:white;box-shadow:0 20px 70px #16251622;border-radius:13px;max-height:94vh;max-width:calc(100vw - 28px)}dialog::backdrop{background:#26322166}.dialog-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;background:white}.dialog-head h2{margin:0;font-size:22px;overflow-wrap:anywhere}.dialog-head .eyebrow{font-size:9px;margin-bottom:9px}.dialog-head button{font-size:11px;flex-shrink:0}.form-dialog{width:950px}.form-dialog form{display:flex;flex-direction:column;min-height:0}.form-scroll{padding:20px 24px;overflow:auto;max-height:calc(91vh - 165px)}.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 24px;border-top:1px solid var(--line);background:#fcfdf8}.dialog-foot span{font-size:11px;color:var(--muted)}.dialog-foot button{font-size:12px}.drawer{inset:0 0 0 auto;margin:0;width:550px;height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;border-width:0 0 0 1px}.drawer[open]{display:flex;flex-direction:column}.drawer-body{flex:1;overflow:auto;padding:24px 26px}.drawer .dialog-head{padding-top:26px;padding-bottom:26px}.drawer .dialog-foot{flex-wrap:wrap}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;margin:22px 0}.detail-grid dt{font-size:10px;color:#7d8b6f;margin-bottom:8px}.detail-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere}.detail-price{padding:18px;background:#f0f5e8;border:1px solid #dde6cd;border-radius:9px;margin:25px 0}.detail-price strong{display:block;color:#4c693b;font-size:26px;margin:7px 0}.detail-price small{font-size:11px}.check-section{border-top:1px solid var(--line);padding-top:23px;margin-top:24px}.check-section h3{font-size:16px}.check-result{padding:13px;background:#edf4e7;color:#496a39;font-size:12px;border-radius:7px;line-height:1.65}.check-result.warn{background:#faf0dc;color:#88642e}.check-result ul{margin:8px 0;padding-left:18px}.task-list{padding:4px 20px}.task-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-row strong{font-size:13px;display:block;margin-bottom:5px}.task-row small{font-size:11px}.catalog-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:14px}.catalog-card h3{font-size:16px}.catalog-card p{font-size:12px;white-space:pre-line}.confirm-dialog{width:440px;padding:26px}.confirm-dialog p{font-size:13px;color:var(--muted)}.confirm-actions{display:flex;justify-content:end;gap:12px;margin-top:22px}.confirm-dialog h2{font-size:22px}.small-dialog{width:620px}.small-dialog label{margin-bottom:16px}[hidden]{display:none!important}
@media(max-width:1050px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.wordmark{font-size:21px}.workspace{margin-left:205px}main{padding:28px}.topbar{padding:0 28px}.filterbar{gap:12px}.filterbar label:first-child{max-width:none}.top-actions #user-name{display:none}}
@media(max-width:760px){.sidebar{display:none;width:230px;box-shadow:12px 0 40px #10221233;top:64px;padding-top:25px}.sidebar.open{display:flex}.workspace{margin-left:0}.topbar{height:64px;padding:0 16px;gap:8px}.topbar>div:first-child{display:flex;align-items:center;gap:7px}.icon-btn{display:inline-block;padding:4px}.crumb{font-size:10px}.crumb span{margin:0 6px}.top-actions{gap:7px}.env-pill{font-size:8px;padding:5px}.top-actions .secondary{font-size:10px;padding:6px 9px}main{padding:25px 16px}h1{font-size:26px}.page-heading{align-items:start;flex-wrap:wrap;gap:17px}.page-heading .primary{font-size:12px}.filterbar{padding:13px;gap:12px}.filterbar label{min-width:0;flex:1}.filterbar label:first-child{flex-basis:100%;max-width:none}.filterbar button{width:100%;margin:0}table{min-width:0}thead{display:none}tbody tr{display:grid;grid-template-columns:1fr auto;padding:17px;border-bottom:1px solid var(--line);gap:8px}td{padding:0;border:0}td:nth-child(2){grid-column:1;grid-row:2}td:nth-child(3){grid-column:2;grid-row:1;text-align:right}td:nth-child(4){grid-column:1;grid-row:3}td:nth-child(5){grid-column:2;grid-row:3}.empty{min-height:300px}.empty p br{display:none}.grid{grid-template-columns:1fr}.span2{grid-column:auto}.form-dialog{max-width:100vw;max-height:100dvh;height:100dvh;width:100vw;border:0;border-radius:0;margin:0}.form-dialog[open]{display:flex;flex-direction:column}.form-dialog form{flex:1;min-height:0}.form-scroll{max-height:none;flex:1;padding:15px;min-height:0}.form-section{padding:16px;margin-bottom:15px}.form-section.pinned{max-height:38dvh}.dialog-head{padding:18px 16px;gap:12px}.dialog-head h2{font-size:20px}.dialog-foot{padding:14px 16px;align-items:center}.dialog-foot span{font-size:10px;max-width:43%}.dialog-foot .primary{padding:11px 12px}.drawer .dialog-head{padding:23px 18px}.drawer-body{padding:22px 18px}.detail-grid{gap:18px}.small-dialog{max-width:calc(100vw - 16px)}.small-dialog .form-scroll{max-height:65vh}.confirm-dialog{padding:24px}.checks{flex-direction:column}.app-foot{line-height:1.7}}

/* Seven-module workspace landing */
.workspace{margin-left:0}
.topbar{height:78px;padding:0 clamp(18px,4vw,58px)}
.top-brand{display:flex;align-items:center;gap:24px;min-width:0}
.wordmark-inline{font:600 18px Georgia,serif;letter-spacing:.14em;color:var(--ink);white-space:nowrap}
.wordmark-inline i{font:500 9px system-ui,sans-serif;letter-spacing:.22em;color:var(--gold);font-style:normal;margin-left:8px}
.crumb{font-size:10px;letter-spacing:.1em;color:var(--muted);white-space:nowrap}
.crumb strong{color:var(--green)}
.module-main{max-width:1240px;margin:0 auto;padding:clamp(38px,7vw,84px) clamp(18px,5vw,64px)}
.module-heading{margin-bottom:34px}
.module-heading .eyebrow{margin-bottom:12px}
.module-heading h1{font:500 clamp(29px,4vw,42px) Georgia,serif;letter-spacing:.015em;color:var(--ink);margin:0}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.module-card{position:relative;min-height:150px;padding:22px 23px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;transition:transform .18s ease,border-color .18s ease,background .18s ease;box-shadow:0 5px 18px #23331f08}
.module-card:hover{transform:translateY(-3px);border-color:#b99b67;background:#fff}
.module-card.active{border-color:var(--gold);background:#f8f1e5;box-shadow:inset 0 0 0 1px #c8ad7e}
.module-number{font:500 11px Georgia,serif;letter-spacing:.12em;color:var(--gold)}
.module-name{font:500 clamp(17px,2vw,21px) Georgia,serif;letter-spacing:.005em}
.module-arrow{position:absolute;right:22px;bottom:20px;color:#a18a60;font-size:17px}
.module-footnote{margin:24px 0 0;color:var(--muted);font-size:11px;letter-spacing:.015em}
.login-card{box-shadow:0 18px 55px #23331f0c}
.login-card form{gap:10px}
.login-card form label{margin-top:5px}
#login-error{min-height:18px;font-size:12px}
@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.topbar{height:auto;min-height:70px;padding:14px 16px;align-items:flex-start}.top-brand{display:grid;gap:5px}.wordmark-inline{font-size:15px}.wordmark-inline i{font-size:8px}.top-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}.env-pill{font-size:8px}.top-actions #user-name{display:none}.top-actions .secondary{font-size:10px;padding:6px 9px}.module-main{padding:38px 17px}.module-heading{margin-bottom:23px}.module-grid{grid-template-columns:1fr;gap:11px}.module-card{min-height:105px;padding:17px 18px}.module-arrow{right:18px;bottom:16px}}

/* Left-side seven-department navigation */
.workspace{margin-left:250px;min-height:100vh}
.sidebar{width:250px;padding:38px 18px 22px;background:#242922;color:#edeedf}
.wordmark{font-size:24px;letter-spacing:.13em;padding:0 9px}
.wordmark span{font-size:10px;letter-spacing:.27em;color:#cfb57f}
.wordmark i{font-size:11px;color:#b0b6a3}
.nav-label{margin:43px 10px 13px;color:#a2ab95}
#module-nav{display:flex;flex-direction:column;gap:5px}
#module-nav .nav{display:flex;align-items:center;gap:13px;min-height:48px;margin:0;padding:12px 13px;border-radius:8px;border-left:3px solid transparent;font-size:13px;color:#d4dbca}
#module-nav .nav.active{background:#3c4636;color:#fff;border-left-color:#c4a46b}
#module-nav .nav:hover{background:#36402f}
.nav-index{width:20px;flex:0 0 20px;color:#c4a46b;font:500 11px Georgia,serif;letter-spacing:.06em}
.sidebar-bottom{margin-top:auto;padding:12px 10px 0;border-top:1px solid #ffffff1b}
.sidebar-bottom small{color:#a2ab95;font-size:9px;letter-spacing:.1em}
.topbar{height:76px;padding:0 34px}
.topbar-left{display:flex;align-items:center;gap:10px}
.module-main{max-width:1440px;margin:0 auto;padding:clamp(38px,6vw,72px) clamp(22px,4vw,54px)}
.welcome-panel{max-width:760px;padding:0 0 26px;border-bottom:1px solid var(--line)}
.welcome-panel .eyebrow{margin-bottom:12px}
.welcome-panel h1{font:500 clamp(28px,3.5vw,40px) Georgia,serif;letter-spacing:.01em;margin:0 0 12px}
.welcome-panel p:last-child{color:var(--muted);font-size:13px;margin:0}
@media(max-width:1050px){.sidebar{width:225px}.workspace{margin-left:225px}.topbar{padding:0 24px}}
@media(max-width:760px){
  .sidebar{display:none;width:250px;top:64px;padding-top:25px;box-shadow:12px 0 40px #10221233}
  .sidebar.open{display:flex}
  .workspace{margin-left:0}
  .topbar{height:64px;padding:0 16px}
  .topbar-left{display:flex;align-items:center;gap:8px}
  .icon-btn{display:inline-block;padding:4px}
  .crumb{font-size:10px}
  .crumb span{margin:0 6px}
  .top-actions{gap:7px}
  .top-actions #user-name{display:none}
  .top-actions .secondary{font-size:10px;padding:6px 9px}
  .module-main{padding:38px 18px}
}

/* Consistent minimal line icons for department navigation */
#module-nav .nav{gap:14px}
.nav-icon{width:20px;height:20px;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;color:#b9c1b0}
.nav-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#module-nav .nav.active .nav-icon{color:#d2b77f}
#module-nav .nav:hover .nav-icon{color:#e2d2ad}


/* Gmail Sales review: preparatory drafts, never automatic closing. */
#sales-inbox{max-width:none;border:0;padding-top:22px}
.sales-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:24px}
.sales-tab{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:0 0 12px;border-radius:0;min-height:40px}
.sales-tab[aria-pressed=true]{color:var(--green);border-bottom-color:var(--green)}
.sales-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:18px 0;flex-wrap:wrap}.sales-heading h2{margin:0;font-weight:500}
.sales-list,.sales-review{background:var(--paper);border:1px solid var(--line);border-radius:9px;overflow:hidden}
.sales-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:23px;border-bottom:1px solid var(--line)}.sales-row:last-child{border-bottom:0}.sales-row h3{font-size:16px;font-weight:500;margin:0 0 5px}.sales-row p{margin:0}.sales-row .sales-product{font-size:13px;margin-bottom:10px}.sales-ref{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:10px;overflow-wrap:anywhere}.sales-badge{display:inline-block;border-radius:4px;padding:3px 8px;background:var(--green-light);color:var(--green);font-size:11px;font-weight:500}.sales-badge.warning{background:var(--sand);color:#795b28}.sales-meta{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.sales-empty{padding:32px 0;color:var(--muted)}.sales-notice{background:var(--green-light);color:var(--green);border-radius:6px;padding:12px 16px;font-size:13px;margin:18px 0}.sales-review{margin-top:20px}.sales-review-head,.sales-review-section{padding:22px;border-bottom:1px solid var(--line)}.sales-review-head .sales-heading{margin:0 0 10px}.sales-review-head p{margin:0}.sales-review-section h3{font-weight:500}.sales-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px}.sales-fields label{font-weight:500;min-width:0}.sales-field-wide{grid-column:1/-1}.sales-missing input,.sales-missing select{border-color:#b09561}.sales-missing small{font-size:11px;color:#795b28;font-weight:400}.sales-review-actions{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:22px}.sales-save-status{padding:0 22px;margin:14px 0 0;color:var(--green)}.sales-save-status:empty{display:none}.sales-source{margin:0;padding:20px 22px;border-bottom:1px solid var(--line);font-size:12px}.sales-source summary{cursor:pointer;color:var(--muted);padding:4px 0}.sales-source dl{display:grid;grid-template-columns:minmax(90px,150px) minmax(0,1fr);gap:10px 18px;margin:18px 0}.sales-source dt{color:var(--muted)}.sales-source dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.sales-source li{margin:8px 0;overflow-wrap:anywhere}
@media(max-width:620px){.sales-fields{grid-template-columns:minmax(0,1fr)}.sales-row{grid-template-columns:minmax(0,1fr);padding:18px}.sales-row button{justify-self:start}.sales-review-section,.sales-review-head,.sales-review-actions,.sales-source{padding:18px}.sales-review-actions .primary{width:100%}.sales-fields input,.sales-fields select,.sales-fields textarea{font-size:16px}.sales-source dl{grid-template-columns:1fr;gap:4px}.sales-source dd{margin-bottom:10px}}

/* Staff language preference; dates stay canonical in storage. */
.language-select{width:auto;min-width:100px;min-height:34px;padding:6px 9px;font-size:12px;background:var(--paper);color:var(--ink)}
@media(max-width:480px){.top-actions .env-pill{display:none}.top-actions .language-select{min-width:94px}.topbar{gap:8px}}


/* Compact language control aligned with Logout, and Sales tour-date filter. */
.top-actions .language-select{height:34px;min-height:34px;width:64px;min-width:64px;max-width:64px;padding:7px 8px;font-size:11px;line-height:18px;font-weight:650;border:1px solid var(--line);border-radius:8px}
.module-main>.welcome-panel:first-child{max-width:none}
.sales-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.sales-title-row h1{margin:0}
.sales-tour-filter{margin-left:auto}
.sales-tour-filter>label{font-size:11px;font-weight:500;gap:5px}
.sales-date-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sales-date-controls input{width:156px;min-height:34px;height:34px;padding:5px 9px;font-size:12px;border-color:var(--line);background:var(--paper)}
.sales-date-clear{border:0;background:transparent;color:var(--green);font-size:11px;padding:7px 0;min-height:34px}
.sales-date-clear:disabled{color:var(--muted)}
@media(max-width:760px){.top-actions .language-select{height:34px;min-height:34px;font-size:10px;padding:6px 8px;width:64px;min-width:64px;max-width:64px}}
@media(max-width:460px){.sales-title-row{align-items:flex-start;gap:18px}.sales-tour-filter{margin-left:0;width:100%}.sales-date-controls input{width:160px;font-size:16px}.sales-date-controls{justify-content:space-between}}

.top-actions #logout{height:34px;min-height:34px;width:64px;padding:6px 8px}


/* Login language picker alongside the company name. */
.login-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.login-header .eyebrow{margin:0;min-width:0}
#login-language{flex:0 0 auto}
.login-header .language-select{width:58px;min-width:58px;max-width:58px;height:30px;min-height:30px;padding:4px 6px;font-size:10px;line-height:18px;border:1px solid var(--line);border-radius:7px}

/* Shared compact Review/Open draft layout. */
.sales-review{width:100%;max-width:960px;margin:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.sales-review>*{grid-column:1/-1;min-width:0}
.sales-review-head,.sales-review-section,.sales-source{padding:14px 18px}
.sales-review-head .sales-heading{margin-bottom:6px}
.sales-review-head h2{font-size:16px}
.sales-review-section h3{font-size:12px;margin:0 0 10px;color:var(--green)}
.sales-review .sales-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}
.sales-review label{gap:4px;font-size:11px}
.sales-review input,.sales-review select,.sales-review textarea{min-height:34px;padding:7px 9px;font-size:12px;border-radius:5px;line-height:1.4}
.sales-review textarea{min-height:60px}
.sales-review .sales-missing small{font-size:10px}
.sales-review .sales-section-valueSection,.sales-review .sales-section-notesSection{grid-column:auto;align-self:stretch}
.sales-section-valueSection{border-right:1px solid var(--line)}
.sales-review .sales-section-valueSection .sales-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.sales-source summary{font-weight:600;color:var(--green);padding:0}
.sales-source dl{grid-template-columns:110px minmax(0,1fr) 110px minmax(0,1fr);gap:7px 12px;margin:12px 0;font-size:11px;line-height:1.5}
.sales-source ul{padding-left:16px;margin:12px 0 0;border-top:1px solid var(--line);padding-top:8px;font-size:10px;color:var(--muted)}
.sales-source li{margin:5px 0}
.sales-review-actions{padding:12px 18px}
.sales-review-actions .primary{min-height:34px;padding:7px 18px;font-size:12px}
.sales-save-status{padding:0 18px;font-size:12px}
@media(max-width:1050px){.sales-source dl{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:620px){
 .sales-review{display:block}
 .sales-review-head,.sales-review-section,.sales-source{padding:12px 14px}
 .sales-review .sales-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sales-review .sales-section-guestSection .sales-fields{grid-template-columns:minmax(0,1fr)}
 .sales-review input,.sales-review select,.sales-review textarea{font-size:16px;min-height:38px}
 .sales-section-valueSection{border-right:0}
 .sales-source dl{grid-template-columns:95px minmax(0,1fr);gap:7px 10px}
 .sales-source dd{margin:0}
 .sales-review-actions{padding:12px 14px}
}
@media(max-width:380px){.sales-review .sales-fields,.sales-review .sales-section-valueSection .sales-fields{grid-template-columns:minmax(0,1fr)}}

/* Sales calendar: tour dates from live inbox/drafts, no operational writes. */
.sales-calendar-toolbar,.sales-calendar-nav,.sales-calendar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sales-calendar-toolbar{justify-content:space-between;gap:12px}
.sales-calendar-nav strong{font-size:12px;font-weight:600;min-width:150px;text-align:center}
.sales-calendar-toolbar button,.sales-calendar-controls input{min-height:34px;padding:7px 10px;font-size:11px}
.sales-calendar-controls input{width:140px}
.sales-calendar-controls button[aria-pressed=true]{border-color:var(--green);background:var(--green-light);color:var(--green)}
.sales-calendar-stats{font-size:12px;color:var(--muted);margin:14px 0}
.sales-calendar-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
.sales-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:630px}
.sales-calendar-weekday{padding:10px 8px;text-align:center;border-bottom:1px solid var(--line);font-size:11px;font-weight:600;color:var(--muted);background:#f0f3eb}
.sales-calendar-day{min-width:0;min-height:160px;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.sales-calendar-day:nth-child(7n){border-right:0}
.sales-calendar-grid.week .sales-calendar-day{min-height:280px}
.sales-calendar-day.outside{background:#f5f5ef;color:var(--muted)}
.sales-calendar-day.selected{background:#f0f5ea;box-shadow:inset 0 0 0 1px #9eae8b}
.sales-calendar-date{border:0;border-radius:50%;width:28px;height:28px;background:transparent;color:inherit;font-size:12px;font-weight:600;display:block;margin-bottom:5px}
.sales-calendar-date:hover{background:#dce7d4}
.sales-calendar-day.today .sales-calendar-date{background:var(--green);color:white}
.sales-calendar-day-total{display:block;font-size:9px;line-height:1.4;margin:0 0 7px;color:var(--muted)}
.sales-calendar-order{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;background:#eaf1e4;border:1px solid #ccdcc0;border-left:3px solid #638449;border-radius:5px;padding:7px;margin:5px 0;color:var(--ink);overflow-wrap:anywhere;font-weight:400;min-height:0}
.sales-calendar-order.gyg{background:#edf2f6;border-color:#d2dee8;border-left-color:#6c8fa5}
.sales-calendar-order.cancelled{background:#f6ece8;border-color:#e5cec6;border-left-color:#ad7767;color:#835b50}
.sales-calendar-order:hover{filter:brightness(.97)}
.sales-calendar-order strong{font-size:10px;line-height:1.4;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sales-calendar-order>span{font-size:10px;line-height:1.4}
.sales-calendar-order .sales-calendar-order-time{font-size:10px;font-weight:600}
.sales-calendar-order small{font-size:9px;color:inherit}
.sales-calendar-order.cancelled strong{text-decoration:line-through}
.sales-calendar-more{border:0;background:transparent;color:var(--green);font-size:10px;padding:5px 0}
.sales-calendar-detail{background:var(--paper);border:1px solid var(--line);border-radius:9px;margin-top:18px;padding:16px 18px}
.sales-calendar-detail h3{font-size:14px;margin:0 0 12px}
.sales-calendar-detail>p{font-size:12px;margin:0}
.sales-calendar-detail-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:12px 0}
.sales-calendar-detail-row:last-child{padding-bottom:0}
.sales-calendar-detail-row>div{min-width:0;overflow-wrap:anywhere}
.sales-calendar-detail-row strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}
.sales-calendar-detail-row p{margin:0;font-size:11px}
.sales-calendar-detail-row button{font-size:11px;min-height:34px;padding:7px 12px;flex-shrink:0}
@media(max-width:620px){.sales-tabs{gap:20px}.sales-calendar-nav{width:100%}.sales-calendar-nav strong{flex:1;min-width:0}.sales-calendar-controls{width:100%}.sales-calendar-controls input{flex:1}.sales-calendar-detail{padding:14px}.sales-calendar-detail-row{align-items:flex-start;flex-wrap:wrap}.sales-calendar-grid{min-width:770px}}

/* Calendar belongs to the Sales sidebar hierarchy. */
.sales-nav-chevron{margin-left:auto;width:auto!important;font-size:15px;color:#b9c1b0;transition:transform .15s}
#module-nav [data-module="Sales"][aria-expanded=false] .sales-nav-chevron{transform:rotate(-90deg)}
.sales-subnav{margin:-1px 0 5px 25px;padding-left:13px;border-left:1px solid #ffffff24}
.sales-subnav-button{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#b9c1b0;font-size:12px;text-align:left}
.sales-subnav-button .nav-icon{width:17px;height:17px;flex-basis:17px}
.sales-subnav-button .nav-icon svg{width:16px;height:16px}
.sales-subnav-button:hover{background:#36402f;color:#fff}
.sales-subnav-button.active{background:#343e2f;color:#e2d2ad}

/* Excel Sales form: compact label/value rows, separate search and date popups. */
.sales-list-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sales-list-actions button{min-height:32px;padding:6px 11px;font-size:12px;border-radius:7px}.sales-form-dialog{width:min(780px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:0;border:1px solid #dbe2de;border-radius:14px;color:#203a31;box-shadow:0 24px 100px #102d3540;background:#fff;overflow:auto}
dialog::backdrop{background:#102b2966;backdrop-filter:blur(3px)}.sales-form-tabs{display:flex;padding:0 20px;border-bottom:1px solid #e3e9e5;background:#f6f8f6}.sales-form-tabs button{border:0;border-radius:0;background:transparent;padding:16px 18px;font-size:12px;font-weight:700;letter-spacing:.08em;color:#63776d}.sales-form-tabs button[aria-pressed=true]{color:#194d3b;box-shadow:inset 0 -3px #bc9855}
.sales-form-toolbar{position:sticky;top:0;z-index:2;display:flex;gap:6px;align-items:center;padding:10px 18px;border-bottom:1px solid #e5eae7;background:#fff}.sales-form-toolbar button{font-size:12px;padding:8px 11px;min-height:34px;white-space:nowrap}.sales-form-toolbar .sales-form-close{margin-left:auto}.sales-entry-form{padding:16px 28px 24px}.sales-form-intro{margin-bottom:16px}.sales-form-meta{display:flex;gap:8px;justify-content:space-between;font-size:11px;color:#6a7d74}.sales-source-title{font-size:12px;line-height:1.5;font-style:italic;color:#85918b;margin:8px 0 0}.sales-lock-state{white-space:nowrap;color:#966e2b}.sales-lock-state.locked{color:#2c6b4c}
.sales-form-rows{display:flex;flex-direction:column;gap:7px}.sales-form-row{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:center;gap:14px;min-height:32px}.sales-form-row>label{font-size:12px;font-weight:600;color:#5b6e64;line-height:1.4}.sales-form-row input,.sales-form-row select,.sales-form-row textarea{width:100%;min-width:0;padding:7px 10px;font:inherit;font-size:13px;border:1px solid #d8e2dc;border-radius:6px;background:#fff;color:#213b30;min-height:33px}.sales-form-row textarea{resize:vertical}.sales-form-row input:disabled,.sales-form-row select:disabled,.sales-form-row textarea:disabled{background:#f3f5f3;border-color:#e5e9e6;color:#53665b;opacity:1}.sales-form-row input:focus,.sales-form-row select:focus,.sales-form-row textarea:focus{outline:2px solid #bb985255;outline-offset:1px}.sales-form-row output{font-size:13px;padding:6px 10px;overflow-wrap:anywhere}.sales-form-id{font-weight:700;letter-spacing:.04em}.sales-unknown-value{color:#8b938e;font-size:11px!important}.sales-currency-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;font-size:11px;color:#6f7d75}.sales-currency-strip span{padding:7px 9px;background:#f5f7f5;border-radius:5px}.sales-form-row small{font-size:10px;line-height:1.5}.sales-schedule-summary{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0;border:1px solid #e0e6e1;border-radius:6px;padding:7px 9px}.sales-schedule-summary span{font-size:11px;line-height:1.6;color:#697b70}.sales-schedule-summary button{flex-shrink:0;font-size:10px;padding:5px 8px}.sales-entry-form .sales-source{margin-top:20px;background:#fafbf9}.sales-entry-form .sales-source dl{grid-template-columns:130px minmax(0,1fr);font-size:11px}.sales-entry-form .sales-source dd{overflow-wrap:anywhere}.sales-entry-form .sales-save-status{margin:14px 0 0;min-height:16px;font-size:12px}
.sales-small-dialog,.sales-search-dialog{padding:22px;border:1px solid #dce4dd;border-radius:12px;background:#fff;color:#254134;width:min(520px,calc(100vw - 30px));max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #102b2933}.sales-search-dialog{width:min(900px,calc(100vw - 30px))}.sales-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.sales-dialog-head h2{font-size:17px;margin:0}.sales-dialog-head button{border:0;background:transparent;font-size:22px;padding:0 8px;color:#62786b}.sales-small-dialog p{font-size:13px;line-height:1.7}.sales-dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.sales-dialog-actions button{font-size:12px;padding:8px 12px}.sales-schedule-form{display:grid;gap:8px}.sales-schedule-form label{display:grid;grid-template-columns:1fr 180px;align-items:center;font-size:12px;gap:16px}.sales-schedule-form input,.sales-search-filters input{padding:8px 10px;border:1px solid #d9e2dc;border-radius:6px;font:inherit;font-size:12px}.sales-search-filters{display:flex;gap:10px;margin:12px 0 20px}.sales-search-filters input:first-child{flex:1;min-width:100px}.sales-search-results{overflow:auto}.sales-search-results table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.sales-search-results th{text-align:left;color:#7a8d80;background:#f4f7f4;padding:10px}.sales-search-results td{padding:10px;border-bottom:1px solid #e7ece8}.sales-search-results button{padding:5px 9px;font-size:11px}.sales-search-results tbody tr:hover{background:#f9faf7}.sales-print-sheet{display:none}
@media(max-width:600px){.sales-entry-form{padding:14px}.sales-form-row{grid-template-columns:105px minmax(0,1fr);gap:9px}.sales-form-toolbar{padding:8px;gap:4px;flex-wrap:wrap}.sales-form-toolbar button{padding:7px 8px;font-size:11px}.sales-form-meta{flex-wrap:wrap}.sales-schedule-summary{align-items:flex-start;flex-direction:column}.sales-search-filters{flex-wrap:wrap}.sales-search-filters input{max-width:100%}.sales-schedule-form label{grid-template-columns:1fr 150px}.sales-form-row>label{font-size:11px}}
@media print{body>*,dialog{display:none!important}body>#sales-print-sheet{display:block!important;position:static;background:white;color:#111;padding:25px;font-family:Arial,sans-serif}.sales-print-sheet h1{font-size:24px;border-bottom:2px solid #254c3b;padding-bottom:12px}.sales-print-sheet dl{display:grid;grid-template-columns:150px 1fr;gap:12px;font-size:12px}.sales-print-sheet dt{font-weight:bold}.sales-print-sheet dd{margin:0;overflow-wrap:anywhere}body{overflow:visible!important}}
.sales-plan-control{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:7px 0}.sales-plan-control>button{font-size:11px;min-height:30px;padding:6px 10px}.sales-plan-status{font-size:11px;line-height:1.6;color:#768579}.sales-plan-dialog{padding:22px;border:1px solid #dce4dd;border-radius:12px;background:white;color:#254134;width:min(680px,calc(100vw - 30px));max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #102b2933}.sales-plan-dialog table{width:100%;border-collapse:collapse;font-size:12px}.sales-plan-dialog th{text-align:left;padding:9px;background:#f4f7f4;color:#697b6e}.sales-plan-dialog td{padding:9px;border-bottom:1px solid #e7ece8;line-height:1.5}.sales-plan-dialog p{font-size:12px;line-height:1.6}
.password-field{position:relative}.password-field input{padding-right:108px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;border-radius:5px;background:#eff3ee;color:#536951;padding:6px 9px;font-size:11px;line-height:1.2;min-height:28px;cursor:pointer}.password-toggle:hover{background:#e3ebdf}.password-toggle:focus-visible{outline:2px solid #ad863e}
.sales-calendar-order.email-preview:not(.cancelled){background:#f5f1e7;border-color:#e0d7bc;border-left-color:#aa925a}
/* Sales opens as the blank, locked spreadsheet-style window. */
.sales-entry-form{padding:12px 22px 18px}.sales-form-intro{margin-bottom:10px}.sales-form-rows{gap:4px}.sales-form-row{min-height:28px;gap:12px}.sales-form-row input,.sales-form-row select,.sales-form-row textarea{min-height:29px;padding:5px 9px;font-size:12px}.sales-form-row output{display:block;min-height:29px;padding:5px 9px;border:1px solid #e5e9e6;border-radius:6px;background:#f3f5f3;font-size:12px}.sales-form-row textarea{min-height:29px}.sales-source-title{margin:6px 0;color:#85918b;font-size:12px;font-style:italic}.sales-schedule-summary{min-height:29px;padding:4px 8px}.sales-bill-value{min-width:0}.sales-bill-controls{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:6px}.sales-bill-value .sales-currency-strip{margin-top:4px}.sales-additional{margin-top:12px;border-top:1px solid #e3e9e5;padding-top:9px}.sales-additional>summary{cursor:pointer;color:#758374;font-size:11px}.sales-additional>.sales-form-rows{margin-top:10px}.sales-window-list{padding:12px 22px 22px;min-height:420px}.sales-window-list table{font-size:11px}.sales-window-list .sales-search-filters{margin-top:0}.sales-form-row>label{font-size:11px}.sales-form-tabs button[aria-pressed=false]{box-shadow:none}
@media(max-width:600px){.sales-entry-form,.sales-window-list{padding:12px}.sales-form-row{grid-template-columns:105px minmax(0,1fr);gap:8px}.sales-bill-controls{grid-template-columns:minmax(0,1fr) 70px}}
/* Keep the left navigation visible around Sales windows. */
:root{--sales-rail:250px}dialog::backdrop{background:transparent;backdrop-filter:none}
.sales-form-dialog,.sales-search-dialog,.sales-small-dialog,.sales-plan-dialog{position:fixed;top:92px;bottom:auto;left:calc(var(--sales-rail) + (100vw - var(--sales-rail))/2);right:auto;transform:translateX(-50%);margin:0;max-width:calc(100vw - var(--sales-rail) - 32px);max-height:calc(100dvh - 108px)}
.sales-source-title{margin:3px 0;line-height:1.45}.sales-source-product:empty{display:none}.sales-record-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin:0 0 18px}.sales-record-filters label{font-size:11px;gap:5px}.sales-record-filters label:nth-child(-n+3){grid-column:1/-1}.sales-record-filters input{min-height:32px;padding:6px 9px;font-size:12px}.sales-search-dialog .sales-search-results table,.sales-window-list table{min-width:600px}.sales-search-results thead{display:table-header-group}.sales-search-results tr{display:table-row}.sales-search-results td{display:table-cell;text-align:left}.sales-search-results th,.sales-search-results td{padding:8px;font-size:11px}.sales-travel-date{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.sales-form-row .sales-date-native{width:34px;min-width:34px;padding:4px;cursor:pointer}.sales-date-native::-webkit-datetime-edit{display:none}.sales-date-native::-webkit-calendar-picker-indicator{margin:0;cursor:pointer}.sales-form-row{grid-template-columns:160px minmax(0,1fr)}.sales-form-rows{gap:3px}.sales-schedule-summary{padding:3px 7px}
@media(max-width:1050px){:root{--sales-rail:225px}}
@media(max-width:760px){:root{--sales-rail:0px}.sales-form-dialog,.sales-search-dialog,.sales-small-dialog,.sales-plan-dialog{top:78px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 90px)}.sales-form-row{grid-template-columns:112px minmax(0,1fr)}.sales-record-filters{gap:8px}}
.sales-journal-dialog{position:fixed;top:92px;bottom:auto;left:calc(var(--sales-rail) + (100vw - var(--sales-rail))/2);right:auto;transform:translateX(-50%);margin:0;padding:22px;border:1px solid #dce4dd;border-radius:12px;background:#fff;width:min(760px,calc(100vw - var(--sales-rail) - 32px));max-height:calc(100dvh - 108px);overflow:auto}.sales-journal-dialog table{min-width:540px}.sales-journal-dialog td,.sales-journal-dialog th{padding:10px;font-size:12px}.sales-journal-dialog tfoot{font-weight:700}.sales-journal-dialog p{margin-top:14px;font-size:12px}
@media(max-width:760px){.sales-journal-dialog{top:78px;max-height:calc(100dvh - 90px)}}
/* Movable Sales / Report Sales windows; the calendar renderer is shared. */
.sales-report-subnav{padding-left:16px;border-left:1px solid #ffffff18;margin-left:10px}.sales-report-open{width:calc(100vw - var(--sales-rail) - 40px)}.sales-window-grip{margin-left:auto;align-self:center;color:#96a597;font-size:23px;padding:6px 2px}.sales-drag-handle{cursor:grab;touch-action:none;user-select:none}.sales-drag-handle:active{cursor:grabbing}.sales-drag-handle button{cursor:pointer}.sales-report-views{display:flex;gap:6px;margin-bottom:16px}.sales-report-views button{min-height:32px;font-size:12px;padding:6px 13px}.sales-report-views button[aria-pressed=true]{background:#264b3a;color:white}.sales-report-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.sales-report-filters label{font-size:11px;display:flex;flex-direction:column;gap:5px}.sales-report-filters label:first-child{flex:1;min-width:180px}.sales-report-filters input,.sales-report-pager select{border:1px solid #d9e2dc;border-radius:6px;padding:7px;font:inherit;font-size:12px}.sales-report-actions,.sales-report-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.sales-report-pager{justify-content:flex-end;font-size:12px}.sales-report-pager label{margin-right:auto}.sales-report-pager select{margin-left:8px}.sales-report-pager button{padding:5px 12px;min-height:30px}.sales-report-scroll{overflow:auto;max-height:calc(100dvh - 390px);min-height:150px;border:1px solid #e1e7e2;border-radius:7px}.sales-report-scroll table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-size:11px}.sales-report-scroll th{position:sticky;top:0;background:#edf2ed;z-index:2;text-align:left;white-space:nowrap;color:#657a6b}.sales-report-scroll td,.sales-report-scroll th{padding:9px 11px;border-bottom:1px solid #e5ebe5;max-width:280px;min-width:95px;overflow-wrap:anywhere}.sales-report-scroll td:first-child,.sales-report-scroll th:first-child{position:sticky;left:0;background:#f6f8f5;min-width:150px;z-index:1}.sales-report-scroll th:first-child{z-index:3}.sales-report-scroll tbody tr:hover td{background:#f4f7ef}.sales-report-scroll td button{padding:4px 8px;font-size:11px}.sales-report-print-band{break-after:page}.sales-report-print-band:last-child{break-after:auto}
@page sales-report{size:A4 landscape;margin:12mm}
@media print{body>#sales-print-sheet.sales-report-print{page:sales-report;padding:0;font-size:9px}.sales-report-print table{width:100%;table-layout:fixed;border-collapse:collapse}.sales-report-print th,.sales-report-print td{padding:5px;border:1px solid #ccc;text-align:left;overflow-wrap:anywhere;font-size:9px}.sales-report-print thead{display:table-header-group}.sales-report-print tr{break-inside:avoid}.sales-report-print h1{font-size:17px}.sales-report-print p{font-size:10px}}

/* Account/role identity belongs above the legal entity in the lower sidebar. */
.sidebar-bottom #user-name{display:block;color:#e2e7db;font-size:11px;font-weight:600;line-height:1.6;padding:4px 10px 0;overflow-wrap:anywhere}.top-actions{flex-wrap:nowrap}.top-actions .language-select{flex-shrink:0}.sidebar-bottom small{margin-top:4px}

/* Plain workspace header and an independent Sales submenu disclosure. */
.topbar{border-bottom:0;box-shadow:none;background:var(--bg)}.sales-nav-row{display:flex;align-items:center;margin-bottom:8px;border-radius:9px;border-left:3px solid transparent}.sales-nav-row:has(>.nav.active){background:#3c4636;border-left-color:#c4a46b}.sales-nav-row>.nav{flex:1;min-width:0;margin:0;border-left:0;background:transparent}.sales-nav-row>.sales-nav-chevron{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px!important;height:38px;margin:0 5px 0 0;padding:0;border:0;border-radius:6px;background:transparent;color:#b9c1b0;font-size:18px;cursor:pointer;transition:transform .15s}.sales-nav-row>.sales-nav-chevron:hover{background:#ffffff12;color:#fff}.sales-nav-chevron[aria-expanded=false]{transform:rotate(-90deg)}.sales-subnav[hidden]{display:none}
/* Balanced brand block, with a clear pause before Sales navigation. */
.sidebar>.wordmark{flex-shrink:0;padding:0 9px;margin:0 0 28px;line-height:1.1;letter-spacing:.11em}.sidebar>.wordmark span{margin-top:7px;line-height:1.3;letter-spacing:.25em}.sidebar>.wordmark i{margin-top:10px;line-height:1.4;font-weight:400;text-decoration:none;white-space:nowrap}
@media(max-width:1050px){.sidebar>.wordmark{font-size:22px}.sidebar>.wordmark span{font-size:9px}.sidebar>.wordmark i{font-size:10px}}
@media(max-width:760px){.sidebar>.wordmark{font-size:24px;margin-bottom:26px}.sidebar>.wordmark span{font-size:10px}.sidebar>.wordmark i{font-size:11px}}

/* Compact export and inbox controls within Sales reports/calendar. */
.sales-list-actions{gap:5px}.sales-list-actions button{height:28px;min-height:28px;padding:4px 9px;font-size:11px;line-height:18px;font-weight:600;border-radius:6px}

/* The Sales window is non-modal so the sidebar stays interactive. */
.sales-form-dialog{z-index:20}
/* Proportionate report search/date filters rather than full-width form fields. */
.sales-report-filters{gap:10px;align-items:flex-end;margin-bottom:10px}.sales-report-filters label{gap:4px;font-size:10px;font-weight:500;line-height:1.4;flex:0 0 148px;width:148px}.sales-report-filters label:first-child{flex:0 1 320px;min-width:180px;max-width:320px;width:320px}.sales-report-filters input,.sales-report-filters select{height:30px;min-height:30px;padding:5px 8px;font-size:11px;line-height:18px;border-radius:6px;font-weight:400}
@media(max-width:600px){.sales-report-filters label:first-child{flex:1 0 100%;max-width:none;width:auto}.sales-report-filters label{flex:1 1 135px;width:auto}}

/* Compact, accessible Sales action icons. */
.sales-form-toolbar{gap:6px;padding:9px 18px}.sales-form-toolbar button.sales-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border-radius:6px;color:#315442}.sales-form-toolbar button.sales-icon-button.primary{background:#255e46;color:#fff}.sales-icon-button svg{display:block;width:17px;height:17px;pointer-events:none}.sales-action-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sales-form-toolbar button.sales-icon-button:disabled{opacity:.4}
@media(pointer:coarse){.sales-form-toolbar button.sales-icon-button{flex-basis:40px;width:40px;height:40px;min-width:40px;min-height:40px}}
/* Action-specific icon colors; disabled actions retain their subdued state. */
.sales-form-toolbar button.sales-icon-button[data-action="new"]{color:#28764d}.sales-form-toolbar button.sales-icon-button[data-action="search"]{color:#2d6da6}.sales-form-toolbar button.sales-icon-button[data-action="edit"]{color:#ac741d}.sales-form-toolbar button.sales-icon-button[data-action="print"]{color:#57646b}.sales-form-toolbar button.sales-icon-button[data-action="journal"]{color:#7758a5}.sales-form-toolbar button.sales-icon-button[data-action="close"]{color:#c44747}.sales-form-toolbar button.sales-icon-button[data-action="close"]:hover:not(:disabled){background:#fff1f0;border-color:#e6bfbb}
/* Bare action icons: no button boxes, with solid functional colors. */
.sales-form-toolbar button.sales-icon-button,.sales-form-toolbar button.sales-icon-button.primary,.sales-form-toolbar button.sales-icon-button:hover:not(:disabled),.sales-form-toolbar button.sales-icon-button.primary:hover:not(:disabled),.sales-form-toolbar button.sales-icon-button[data-action="close"]:hover:not(:disabled){background:transparent;border:0;border-radius:0;box-shadow:none}.sales-form-toolbar button.sales-icon-button[data-action="new"]{color:#168445}.sales-form-toolbar button.sales-icon-button[data-action="search"]{color:#216bd1}.sales-form-toolbar button.sales-icon-button[data-action="edit"]{color:#d2810b}.sales-form-toolbar button.sales-icon-button[data-action="save"]{color:#168445}.sales-form-toolbar button.sales-icon-button[data-action="print"]{color:#44515c}.sales-form-toolbar button.sales-icon-button[data-action="journal"]{color:#8046c4}.sales-form-toolbar button.sales-icon-button[data-action="close"]{color:#df303b}.sales-form-toolbar button.sales-icon-button svg{stroke-width:2.2}.sales-form-toolbar button.sales-icon-button:disabled{opacity:1;cursor:not-allowed}.sales-form-toolbar button.sales-icon-button:disabled svg{color:#a2aaa5}.sales-form-toolbar button.sales-icon-button:hover:not(:disabled) svg{filter:brightness(.85)}
/* Brand hierarchy in the login card. */
.login-card .login-header{align-items:flex-start;gap:16px;margin-bottom:28px}.login-brand{min-width:0}.login-card .login-brand h1{font:600 clamp(24px,5vw,30px)/1.1 Georgia,serif;letter-spacing:.11em;color:#263d30;margin:0}.login-card .login-brand .brand-sub{font:500 11px/1.4 system-ui,sans-serif;letter-spacing:.25em;color:#a77d38;margin:8px 0 0}.login-card .login-brand .login-tagline{font:italic 11px/1.5 Georgia,serif;color:#657060;margin:10px 0 0}.login-header #login-language{flex-shrink:0}.login-card .login-footer{margin-top:28px}.login-card .login-footer .login-entity{font:500 10px/1.5 system-ui,sans-serif;letter-spacing:.1em;color:#657060;margin:0}
@media(max-width:420px){.login-card .login-header{gap:10px}.login-card .login-brand h1{font-size:23px;letter-spacing:.08em}.login-card .login-brand .brand-sub{font-size:10px;letter-spacing:.2em}.login-card .login-footer .login-entity{font-size:9px;letter-spacing:.07em}}


/* Tour type picker with an explicit custom-option action. */
.sales-type-controls{display:flex;align-items:center;gap:8px;min-width:0}
.sales-type-controls select{flex:1;min-width:0}
.sales-type-controls button{flex:none;width:auto;padding:6px 9px;font-size:11px;white-space:nowrap;color:#87672d;background:transparent;border:1px solid #d7c9aa;border-radius:4px}
.sales-type-controls button:disabled{opacity:.45;cursor:default}
.sales-type-dialog form{display:grid;gap:12px}
.sales-type-dialog input{width:100%;box-sizing:border-box}
@media(max-width:600px){.sales-type-controls{flex-wrap:wrap}.sales-type-controls select{flex-basis:100%}}

.sales-form-toolbar button.sales-icon-button[data-action="cancel"]{color:#c57916}


.sales-type-controls button.sales-delete-type{color:#bc3838;border-color:#e3bcbc}

.sales-report-actions{justify-content:flex-end}.sales-report-views{gap:5px;margin-bottom:12px}.sales-report-views button{height:28px;min-height:28px;padding:4px 10px;font-size:11px;font-weight:600;line-height:18px;border-radius:6px}

.sales-report-filters .sales-report-search{position:relative}.sales-report-search>svg{position:absolute;left:9px;bottom:7px;width:16px;height:16px;color:#63776d;pointer-events:none}.sales-report-filters .sales-report-search input{padding-left:32px}

.sales-form-toolbar .sales-form-back{margin-left:auto}.sales-form-toolbar .sales-form-close{margin-left:0}.sales-form-toolbar button.sales-icon-button[data-action="back"]{color:#2d6da6}.sales-type-controls button.sales-delete-type{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:0;background:transparent;color:#df303b}.sales-type-controls button.sales-delete-type svg{width:17px;height:17px;stroke-width:2.2}

.sales-form-toolbar button.sales-icon-button[data-action="cancel"]{color:#df303b}

.sales-form-toolbar button.sales-icon-button[data-action="cancelBooking"]{color:#d32f3c}

.sales-activity-suggest{margin:0 0 12px}.sales-suggest-activities{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 10px;border-radius:6px;font-size:11px;color:#28764e}.sales-suggest-activities svg{width:17px;height:17px;flex:none}.sales-activity-status{font-size:11px!important;margin:8px 0 0;line-height:1.5}

/* Compact action beside the recipient address. */
.sales-small-dialog:has(> input[type=email]) > input[type=email] {
  max-width: calc(100% - 88px);
  box-sizing: border-box;
  vertical-align: middle;
}
.sales-small-dialog > input[type=email] + button.secondary {
  width: auto;
  min-height: 28px;
  padding: 4px 10px;
  margin-inline-start: 12px;
  font-size: 12px;
  line-height: 1.3;
  vertical-align: middle;
}

.sales-search-dialog {
  width: min(760px, calc(100vw - 30px));
}
.sales-search-dialog .sales-record-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 18px;
}
.sales-search-dialog .sales-record-filters label {
  display: grid;
  grid-column: span 3;
  min-width: 0;
  gap: 5px;
  font-size: 11px;
}
.sales-search-dialog .sales-record-filters label:nth-child(-n+3) {
  grid-column: span 2;
}
.sales-search-dialog .sales-record-filters input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
}
@media (max-width: 600px) {
  .sales-search-dialog .sales-record-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sales-search-dialog .sales-record-filters label {
    grid-column: span 1;
  }
  .sales-search-dialog .sales-record-filters label:nth-child(-n+3) {
    grid-column: 1 / -1;
  }
}


.sales-search-dialog .sales-record-filters label:nth-child(n+4) {
  grid-column: span 2;
  width: 180px;
  max-width: 100%;
}
.sales-search-dialog .sales-record-filters input[type="date"] {
  height: 30px;
  min-height: 30px;
  padding: 4px 8px;
  font-size: 11px;
}
@media (max-width: 600px) {
  .sales-search-dialog .sales-record-filters label:nth-child(n+4) {
    grid-column: span 1;
    width: 100%;
  }
}

.sales-participant-breakdown {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sales-participant-breakdown label {display:grid;gap:5px;font-size:11px}
.sales-participant-breakdown input {width:100%;box-sizing:border-box}

.sales-product-picker {position:relative;min-width:0}
.sales-product-toggle {width:100%;text-align:left;position:relative;padding-right:30px!important;font-weight:400!important;white-space:normal}
.sales-product-toggle::after {content:'⌄';position:absolute;right:10px;top:50%;transform:translateY(-50%)}
.sales-product-panel {position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;padding:9px;background:#fff;border:1px solid #d9e2dc;border-radius:8px;box-shadow:0 8px 24px #18332820}
.sales-product-panel[hidden] {display:none}
.sales-product-panel .sales-product-search {width:100%;box-sizing:border-box;height:32px;min-height:32px;padding:5px 9px;font-size:12px}
.sales-product-options {max-height:210px;overflow:auto;margin-top:6px}
.sales-product-options .sales-product-option {display:block;width:100%;border:0;border-radius:4px;background:transparent;text-align:left;white-space:normal;padding:8px 9px;font-size:12px;font-weight:400;color:#254134}
.sales-product-option:hover,.sales-product-option:focus,.sales-product-option[aria-selected=true] {background:#edf3ed!important}
.sales-product-empty {padding:8px;font-size:12px;color:#708074}

.sales-type-controls > .sales-product-picker {flex:1}
.sales-bill-controls > .sales-product-picker {width:100px;flex-shrink:0}

.sales-product-picker .sales-product-toggle {
  font-family:inherit!important;font-size:12px!important;line-height:1.4!important;
  font-weight:400!important;letter-spacing:normal!important;text-transform:none!important;
  color:#213b30;padding:5px 30px 5px 9px!important;min-height:29px;
}
.sales-product-options .sales-product-option {
  font-family:inherit!important;font-weight:400!important;letter-spacing:normal!important;text-transform:none!important;
}
.sales-travel-date:has(.sales-date-native[hidden]) {grid-template-columns:1fr}
.sales-product-picker .sales-product-toggle {
  background:#fff!important;border:1px solid #d8e2dc!important;border-radius:6px;box-shadow:none;
}
.sales-product-picker .sales-product-toggle:disabled {
  background:#f3f5f3!important;color:#53695e;
}

.sales-form-toolbar button.sales-icon-button[data-action="download"] {color:#216bd1}

.purchasing-workspace {padding:14px 18px;background:#fff;border:1px solid #e1e7de;border-radius:12px}
.purchasing-heading {display:flex;align-items:center;justify-content:space-between;gap:12px}
.purchasing-heading h1 {font-size:20px;margin:0}
.purchasing-heading button,.purchasing-tabs button,.purchasing-pager button {padding:5px 10px;font-size:12px;min-height:30px}
.purchasing-stats {display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}
.purchasing-stats span {padding:7px 10px;background:#f3f5ef;border-radius:6px;color:#52684f;font-size:12px}
.purchasing-filters {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.purchasing-filters>input {flex:1;min-width:200px}
.purchasing-filters label {display:grid;gap:4px;font-size:11px}
.purchasing-filters input,.purchasing-filters select {padding:6px 9px;border:1px solid #d8e2dc;border-radius:6px;font-size:12px;min-height:32px;box-sizing:border-box;background:white;color:#254134}
.purchasing-filters input[type=date] {width:150px}
.purchasing-tabs {display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}
.purchasing-tabs button {background:transparent;color:#52684f;border:1px solid #d8e2dc;font-weight:400}
.purchasing-tabs button[aria-pressed=true] {background:#254c3d;color:#fff}
.purchasing-date {font-size:13px;color:#52684f;margin:20px 0 8px}
.purchasing-table-scroll {overflow:auto}
.purchasing-results table {width:100%;border-collapse:collapse;font-size:12px;min-width:760px}
.purchasing-results th {background:#f4f6f1;text-align:left;color:#647561;font-size:11px;padding:9px}
.purchasing-results td {padding:10px 9px;border-bottom:1px solid #e7ece8;vertical-align:top;max-width:260px}
.purchasing-results td small {display:block;color:#7a887b;font-size:11px;margin-top:4px}
.purchasing-results tbody tr:hover {background:#fafbf7}
.purchasing-warning {color:#9a6218;font-size:11px;margin-top:6px}
.purchasing-badge {display:inline-block;padding:4px 7px;border-radius:5px;background:#f1f2ee;color:#647561;font-size:11px;white-space:nowrap}
.purchasing-badge.ordered {background:#edf1fa;color:#326298}
.purchasing-badge.confirmed {background:#e9f4e9;color:#327241}
.purchasing-badge.cancelled {background:#faece8;color:#a24a3c}
.purchasing-edit {border:0!important;background:transparent!important;padding:2px;color:#ac741d}
.purchasing-edit svg {width:18px;height:18px}.purchasing-edit .sales-action-label {display:none}
.purchasing-editor {display:grid;gap:12px;margin-top:16px}
.purchasing-editor label {display:grid;gap:5px;font-size:12px}
.purchasing-editor input,.purchasing-editor select,.purchasing-editor textarea {padding:7px 9px;border:1px solid #d8e2dc;border-radius:6px;width:100%;box-sizing:border-box;font:inherit;font-size:12px}
.purchasing-pager {display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:15px;font-size:12px}
.purchasing-unscheduled {font-size:12px;color:#7c7050;margin-top:18px}
@media(max-width:600px){.purchasing-workspace{padding:12px}.purchasing-filters>input{flex-basis:100%}}

/* Purchasing follows the compact, non-modal Sales workspace. */
.purchasing-workspace{padding:0;border:0;background:transparent;border-radius:0}
.purchasing-popup{width:min(900px,calc(100vw - var(--sales-rail) - 40px));z-index:20}
.purchasing-title{padding:15px 22px;align-items:center}.purchasing-title h2{font-size:13px;letter-spacing:.12em;margin:0;text-transform:uppercase;color:#254c3d}
.purchasing-toolbar .purchasing-close{margin-left:auto}.purchasing-toolbar button[data-action=refresh]{color:#216bd1}
.purchasing-panel{padding:14px 22px 20px}.purchasing-tabs{margin:0 0 14px;gap:18px;border-bottom:1px solid #e7ece8}
.purchasing-tabs button,.purchasing-tabs button[aria-pressed=true]{background:transparent;border:0;border-radius:0;color:#6b7a70;padding:7px 0;font-size:12px;min-height:30px;box-shadow:none}
.purchasing-tabs button[aria-pressed=true]{color:#254c3d;box-shadow:0 2px #b69b58}
.purchasing-filters{gap:12px;margin-bottom:12px}.purchasing-filters .purchasing-search{position:relative;display:block;flex:0 1 260px}.purchasing-search span{position:absolute;left:9px;top:4px;font-size:20px;color:#216bd1}.purchasing-search input{width:100%;padding-left:30px}
.purchasing-filters input,.purchasing-filters select{height:29px;min-height:29px;font-size:11px;font-weight:400}.purchasing-filters input[type=date]{width:132px}
.purchasing-date{margin:16px 0 7px;font-size:12px}.purchasing-results table{min-width:650px;font-size:11px}.purchasing-results td,.purchasing-results th{padding:7px 8px}.purchasing-results td strong{font-weight:500}.purchasing-results td small{font-size:10px;margin-top:3px}.purchasing-results td small:last-child{display:none}
.purchasing-badge{padding:0;background:transparent!important;font-size:11px}.purchasing-item-dialog{z-index:21}.purchasing-item-dialog .sales-dialog-head button{color:#df303b}
@media(max-width:600px){.purchasing-panel{padding:12px}.purchasing-filters .purchasing-search{flex-basis:100%}.purchasing-title{padding:13px 12px}}

.operational-workspace{padding:0;background:transparent}.operational-editor{width:min(690px,calc(100vw - var(--sales-rail) - 32px));z-index:21}.operational-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.operational-form label{display:grid;gap:4px;font-size:11px;color:#61746a}.operational-form input,.operational-form select,.operational-form textarea{box-sizing:border-box;width:100%;min-height:29px;padding:5px 8px;font:inherit;font-size:12px;border:1px solid #d9e2dc;border-radius:6px;background:#fff;color:#254134}.operational-form .operational-guests,.operational-form>.sales-save-status,.operational-form>nav,.operational-form>.sales-notice,.operational-form>p{grid-column:1/-1}.operational-guests{border-top:1px solid #e6ebe7;padding-top:12px;margin-top:4px}.operational-guests>label{max-width:260px}.operational-guests p{font-size:11px}.operational-guests .operational-guest{display:grid;grid-template-columns:18px 1fr 58px;align-items:center;gap:8px;margin:7px 0;padding:6px;background:#f7f9f5;border-radius:5px}.operational-guest input[type=checkbox]{width:14px;min-height:14px}.operational-form>.sales-form-toolbar{padding:0;border:0;margin-top:4px}.operational-space{color:#254c3d}.operational-manifest{width:min(700px,calc(100vw - var(--sales-rail) - 32px));z-index:22}.operational-manifest pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 system-ui,sans-serif}.operational-confirm{z-index:23}.operational-editor .sales-dialog-head button,.operational-manifest .sales-dialog-head button{color:#df303b}.operational-results tbody tr{cursor:pointer}
@media(max-width:600px){.operational-form{grid-template-columns:1fr}.operational-form label{grid-column:1/-1}.operational-guests .operational-guest{grid-template-columns:18px 1fr 52px}}

/* Tours remain the workspace; feeder, hub and onward allocations live within each date. */
.operational-tour-tabs{gap:18px;flex-wrap:wrap}.operational-tour-tabs .operational-manifest-tab{margin-left:auto;color:#7758a5}
.operational-tour-day{margin-top:16px}.operational-stage-title{font-size:11px;font-weight:600;color:#758574;letter-spacing:.04em;margin:20px 0 8px}.operational-origin-group{margin:0 0 12px}.operational-group-head{display:flex;align-items:center;gap:12px;min-height:30px}.operational-group-head h3{font-size:12px;font-weight:500;color:#254c3d;margin:0}.operational-group-head>span{font-size:11px}.operational-group-head .sales-form-toolbar{margin-left:auto;padding:0;border:0;min-height:30px}.operational-hub-group{margin:18px 0;padding:10px 12px;border-left:2px solid #c5a45a;background:#f8faf5}.operational-stage-caption{grid-column:1/-1;font-size:12px;color:#254c3d;margin:0 0 6px}.operational-results td.sales-form-toolbar{display:table-cell;padding:4px;border-bottom:1px solid #e7ece8}.operational-results td.sales-form-toolbar button{vertical-align:middle}.operational-tour-day table{font-size:11px}

/* A single guest list with a focused vehicle planning rail. */
.op-workbench{width:min(1080px,calc(100vw - var(--sales-rail) - 40px));max-height:calc(100dvh - 96px);top:76px;border-radius:12px;overflow:auto;box-shadow:0 22px 65px #1b372324;background:#fff}
.op-window-head{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;background:#f8f9f5;border-bottom:1px solid #e8ede6}.op-window-title{display:flex;align-items:center;gap:14px}.op-window-title h2{margin:0;font-size:13px;letter-spacing:.08em;font-weight:600;color:#254c3d}.op-window-title .sales-window-grip{font-size:18px;padding:0;margin:0;color:#b5bfb5}.op-window-actions.sales-form-toolbar{padding:0;border:0;gap:10px;min-height:28px}.op-window-actions button.sales-icon-button{width:26px;height:26px;min-height:26px;min-width:26px;flex-basis:26px}.op-window-actions button[data-action=refresh]{color:#6a8073}
.op-panel{padding:0 20px 18px}.op-tab-row{display:flex;align-items:center;gap:20px;border-bottom:1px solid #e8ede6}.op-tour-tabs{display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:thin;min-width:0;flex:1}.op-tour-tabs button{flex-shrink:0;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:13px 0 11px;min-height:40px;border:0;border-radius:0;background:transparent;color:#879187;font:500 12px system-ui,sans-serif;box-shadow:none}.op-tour-tabs button[aria-pressed=true]{color:#254c3d;box-shadow:inset 0 -2px #b99b58}.op-manifest-switch{border:0;background:transparent;color:#6f7d71;box-shadow:none;padding:8px 0 8px 12px;min-height:30px;font-size:11px;font-weight:500;white-space:nowrap}.op-manifest-switch[aria-pressed=true]{color:#715493}
.op-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:17px 0 13px}.op-date-tools{display:flex;align-items:center;gap:3px}.op-date-tools input{order:1;width:143px;height:29px;min-height:29px;border:0;background:transparent;font:500 12px system-ui,sans-serif;color:#254c3d;padding:4px 7px;cursor:pointer}.op-step{order:0;border:0;background:transparent;padding:4px;min-height:24px;width:24px;box-shadow:none;color:#64766b}.op-step:nth-child(2){order:2}.op-step:disabled{opacity:.3}.op-step svg{width:16px;height:16px;display:block}.op-search{display:flex;align-items:center;gap:7px;width:190px;border-bottom:1px solid #dfe6dd;padding:0 2px}.op-search svg{width:15px;height:15px;color:#8d9b8d;flex:none}.op-search input{width:100%;border:0;outline:0;min-height:28px;background:transparent;font:12px system-ui,sans-serif;color:#254c3d;padding:3px 0}.op-search:focus-within{border-color:#8ba38d}
.op-origins{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 17px}.op-origins button{font-size:10px;font-weight:400;padding:5px 10px;min-height:25px;line-height:15px;border:0;border-radius:20px;background:transparent;color:#809080;box-shadow:none}.op-origins button[aria-pressed=true]{background:#edf2e8;color:#31533b}.op-origins button:hover{background:#f2f5ed}
.op-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;min-height:310px}.op-guest-pane{min-width:0;display:flex;flex-direction:column}.op-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;margin:0 0 9px}.op-list-head h3{font-size:12px;font-weight:600;color:#344f3d;margin:0}.op-list-head>span{font-size:10px;font-weight:400;color:#94a08f}.op-guest-scroll{overflow:auto;max-height:420px;min-height:0}.op-guest-table{width:100%;border-collapse:collapse;min-width:390px;font-size:11px}.op-guest-table th{text-align:left;color:#93a08d;font-size:10px;letter-spacing:.02em;font-weight:400;background:#f7f9f5;padding:8px 9px;position:sticky;top:0;z-index:1}.op-guest-table td{padding:13px 9px;border-bottom:1px solid #eff2eb;vertical-align:middle}.op-guest-table th:first-child,.op-guest-table td:first-child{width:24px;padding-left:4px;padding-right:4px;text-align:center}.op-guest-table th:last-child{text-align:right}.op-guest-table input[type=checkbox]{appearance:auto;accent-color:#446a4a;width:12px;height:12px;min-height:12px;padding:0;margin:0;cursor:pointer}.op-guest-table td strong{display:block;font-size:12px;font-weight:500;color:#314d3a;margin:0 0 4px}.op-booking-id{display:inline-block;font:9px ui-monospace,monospace;color:#99a394;letter-spacing:.02em}.op-guest-type{display:block;font-size:10px;color:#86917f;margin-top:4px}.op-origin-name{display:block;font-size:11px;color:#5b705b}.op-next-stop{display:block;font-size:10px;color:#a0a995;margin-top:5px}.op-guest-table .op-pax{text-align:right;font-size:13px;font-weight:500;color:#314d3a;font-variant-numeric:tabular-nums}.op-guest-table tr[data-selected=true]{background:#f0f5ec}.op-guest-table tbody tr:hover{background:#f8faf4;cursor:pointer}
.op-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 2px 0;color:#8a9683;font-size:10px;margin-top:auto;min-height:25px}.op-selection-bar button{background:transparent;border:0;padding:3px;width:22px;height:22px;min-height:22px;box-shadow:none;color:#8c9988}.op-selection-bar button svg{width:13px;height:13px}.op-selection-bar button:disabled{visibility:hidden}
.op-allocation-pane{border-left:1px solid #edf0e8;padding-left:22px;min-width:0}.op-plan-actions.sales-form-toolbar{padding:0;border:0;min-height:24px}.op-plan-actions button.sales-icon-button{width:24px;height:24px;min-width:24px;min-height:24px;flex-basis:24px}.op-lanes{display:flex;align-items:center;gap:17px;margin:1px 0 10px;border-bottom:1px solid #e7ede1}.op-lanes button{border:0;border-radius:0;background:transparent;box-shadow:none;color:#9ba492;font-size:10px;font-weight:400;min-height:29px;padding:4px 0 8px}.op-lanes button[aria-pressed=true]{color:#36513d;box-shadow:inset 0 -1px #81976e}.op-lane-hint{margin:0 0 12px;font-size:10px;line-height:1.6;color:#99a38e}.op-allocation-error{color:#ae6a35;font-size:11px;line-height:1.5;margin:4px 0}.op-allocation-error:empty{display:none}.op-empty-vehicles{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:170px;color:#bac4b1}.op-empty-vehicles>svg{width:33px;height:33px;stroke-width:1.2}.op-empty-vehicles p{font-size:10px;color:#a5af9a;margin:12px 0}.op-empty-guests{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;padding:48px 15px;color:#b8c3ae}.op-empty-guests svg{width:30px;height:30px}.op-empty-guests p{max-width:250px;text-align:center;font-size:11px;line-height:1.7;color:#8d9b83}
.op-vehicle-card{background:#f7f9f3;border:1px solid #eaf0e1;border-radius:8px;padding:12px 12px 10px;margin:0 0 10px}.op-vehicle-card>header{display:flex;align-items:center;gap:8px}.op-vehicle-card>header>strong{font-size:12px;font-weight:500;color:#3a553b}.op-seat-count{font-size:10px;color:#91a084;margin-left:auto}.op-vehicle-card .sales-form-toolbar{padding:0;border:0;min-height:22px;gap:3px}.op-vehicle-card .sales-form-toolbar button.sales-icon-button{width:20px;height:20px;min-width:20px;min-height:20px;flex-basis:20px}.op-vehicle-card .sales-form-toolbar svg{width:13px;height:13px}.op-plate{display:block;color:#9da88e;font:9px ui-monospace,monospace;margin-top:3px;letter-spacing:.05em}.op-driver{font-size:11px;color:#526d4d;margin:11px 0 4px}.op-run-time{font-size:10px;color:#98a38d;margin:0 0 10px}.op-run-route{font-size:10px;line-height:1.7;color:#708168;margin:0 0 8px;overflow-wrap:anywhere}.op-run-guests{font-size:9px;line-height:1.6;color:#a0ab94;padding-top:8px;border-top:1px solid #e7edde;margin:0}.op-review{font-size:10px;color:#ac7a3b;margin:8px 0 0}
.operational-editor{border-radius:10px;padding:18px 20px;box-shadow:0 20px 65px #1b372328}.operational-editor .sales-dialog-head{margin-bottom:12px}.operational-editor .sales-dialog-head h2{font-size:14px;font-weight:500}.operational-form{gap:9px 14px}.operational-form label{font-size:10px;font-weight:400;color:#819078}.operational-form input,.operational-form select,.operational-form textarea{font-weight:400;font-size:11px;min-height:29px}.operational-stage-caption{font-size:11px;font-weight:400;color:#778a6e}.operational-guests>div{max-height:170px;overflow:auto}.operational-guests .operational-guest{font-size:10px;background:#f8faf5;padding:4px 6px}.operational-guests p{font-size:10px}.op-editor-extras{grid-column:1/-1;color:#899780;font-size:10px}.op-editor-extras summary{cursor:pointer;padding:5px 0}.op-editor-extras>label{margin-top:8px}.operational-guest-detail{z-index:22}.op-detail-title h3{font-size:16px;font-weight:500;margin:0 0 5px}.op-detail-title p{font:10px ui-monospace,monospace;color:#98a28e;margin:0 0 22px}.operational-guest-detail dl{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:11px;line-height:1.6}.operational-guest-detail dt{color:#8b9880}.operational-guest-detail dd{margin:0;color:#405b3f;overflow-wrap:anywhere}
@media(max-width:1100px){.op-workspace-grid{grid-template-columns:minmax(0,1fr) 246px;gap:16px}.op-allocation-pane{padding-left:16px}.op-panel{padding:0 16px 16px}.op-guest-table{min-width:350px}.op-guest-table td{padding:11px 6px}}
@media(max-width:850px){.op-workspace-grid{grid-template-columns:1fr}.op-allocation-pane{border-left:0;border-top:1px solid #edf0e8;padding:16px 0 0}.op-guest-scroll{max-height:310px}.op-empty-vehicles{min-height:100px}.op-workbench{width:calc(100vw - var(--sales-rail) - 24px)}.op-guest-table{min-width:360px}}
@media(max-width:600px){.op-panel{padding:0 12px 12px}.op-window-head{padding:11px 12px}.op-controls{gap:8px}.op-search{width:110px}.op-tour-tabs{gap:16px}.op-tour-tabs button{max-width:160px;font-size:11px}.op-workbench{top:70px}.op-manifest-switch{font-size:10px}.op-guest-table{min-width:340px}}

.op-workbench:focus{outline:none}.op-window-actions.sales-form-toolbar,.op-vehicle-card .sales-form-toolbar{background:transparent}.op-guest-table td{padding-top:11px;padding-bottom:11px}.op-guest-type{display:inline-block;font-size:9px;margin:0 0 0 8px;color:#7d8c73}.op-booking-id{color:#89977e}.op-next-stop{color:#8b987e}.op-lane-hint{color:#7f8d74}.op-guest-table th{color:#829375}
.op-results>.purchasing-table-scroll table{width:100%;min-width:720px;border-collapse:collapse;font-size:11px}.op-results>.purchasing-table-scroll th{padding:9px;text-align:left;background:#f7f9f5;color:#89977f;font-weight:400;font-size:10px}.op-results>.purchasing-table-scroll td{padding:10px 9px;border-bottom:1px solid #edf1e8;color:#5a7053;font-weight:400;vertical-align:middle}.op-results>.purchasing-table-scroll tbody tr:hover{background:#f8faf4}.op-results>.purchasing-table-scroll td.sales-form-toolbar{display:table-cell;background:transparent;padding:4px;min-width:30px}.op-results>.purchasing-table-scroll td.sales-form-toolbar button{vertical-align:middle}
/* Ordered Operational sections scroll within the existing compact tour bar. */
.op-tour-scroll{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.op-tour-scroll .op-tour-tabs{min-width:0;flex:1;cursor:grab;touch-action:pan-y;user-select:none;scrollbar-width:thin}.op-tour-scroll .op-tour-tabs button{cursor:pointer}.op-tour-scroll .op-tabs-dragging,.op-tour-scroll .op-tabs-dragging button{cursor:grabbing}.op-tab-step{flex:none;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#7d8f73;min-height:26px;height:26px;width:18px;padding:0;box-shadow:none}.op-tab-step svg{width:15px;height:15px}.op-tab-step:disabled{opacity:.25}.op-program-control{min-width:130px;max-width:330px;flex:1;margin:0 8px}.op-program-control .sales-product-picker{width:100%}.op-program-control .sales-product-toggle{min-height:29px;height:29px;padding:4px 9px;border:1px solid #e3e9de;font:400 11px system-ui,sans-serif;color:#607655}.op-program-control .sales-product-option,.op-program-control .sales-product-search{font-size:11px;font-weight:400}.op-program-control .sales-product-panel{z-index:30}.op-program-control .sales-product-options{max-height:210px}
@media(max-width:700px){.op-controls{flex-wrap:wrap}.op-program-control{order:3;flex-basis:100%;max-width:none;margin:3px 0 0}.op-tour-scroll{gap:2px}.op-tab-row{gap:10px}}
.op-tour-scroll .op-tour-tabs{scrollbar-width:none}.op-tour-scroll .op-tour-tabs::-webkit-scrollbar{display:none}

.op-guest-program{display:block;font-size:10px;font-weight:400;color:#869578;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px}

.admin-subnav{margin:0 0 10px 25px;padding-left:12px}.admin-subnav[hidden],.admin-menu[hidden]{display:none}.admin-toggle{display:flex;align-items:center;gap:14px}.admin-toggle .admin-chevron{margin-left:auto;font-size:16px;transition:transform .15s}.admin-toggle[aria-expanded=false] .admin-chevron{transform:rotate(-90deg)}.admin-subnav-button{display:flex;align-items:center;gap:10px;width:100%;min-height:34px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:#b9c1b0;font:400 11px system-ui,sans-serif;text-align:left;cursor:pointer}.admin-subnav-button .nav-icon{width:16px;height:16px;flex:0 0 16px}.admin-subnav-button .nav-icon svg{width:16px;height:16px}.admin-subnav-button:hover{background:#36402f;color:#fff}.admin-subnav-button.active{background:#343e2f;color:#e2d2ad}.admin-panel-dialog{width:min(720px,calc(100vw - var(--sales-rail) - 32px));z-index:22}.admin-panel-dialog h3{font-size:13px;font-weight:500;margin:14px 0}.admin-panel-dialog .admin-source-link{display:inline-block;color:#426f51;font-size:12px;margin:8px 0 16px;text-decoration:none}.admin-panel-dialog .admin-source-link:hover{text-decoration:underline}.admin-master-tab{font-size:11px!important;color:#819177;margin:8px 0!important}.admin-search{width:100%;box-sizing:border-box;margin:4px 0 14px}.admin-table-scroll{max-height:440px;overflow:auto}.admin-panel-dialog table{width:100%;border-collapse:collapse;font-size:11px}.admin-panel-dialog th{padding:8px 10px;text-align:left;font-size:10px;color:#8b9a82;font-weight:400;background:#f6f8f2;position:sticky;top:0}.admin-panel-dialog td{padding:9px 10px;border-bottom:1px solid #e9eee3;color:#526b4d;font-size:11px;vertical-align:top}.admin-panel-dialog td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}.admin-panel-dialog summary{cursor:pointer}.admin-permission{font-size:10px;color:#8b9980;margin:5px 0}
/* Align staff form controls without changing the icon toolbars. */
.sales-form-row input,.sales-form-row select,.sales-form-row output,.sales-form-row textarea,.operational-form input:not([type=checkbox]),.operational-form select,.operational-form textarea,.purchasing-editor input,.purchasing-editor select,.purchasing-editor textarea,.admin-panel-dialog input,.admin-panel-dialog select{box-sizing:border-box;min-height:30px;font-family:inherit;font-size:12px;line-height:1.4;font-weight:400;padding:5px 9px;border-radius:6px}.sales-product-picker .sales-product-toggle{box-sizing:border-box;min-height:30px!important;font-size:12px!important;font-weight:400!important}.sales-form-row>label,.operational-form label,.purchasing-editor label{font-size:11px;font-weight:400;line-height:1.4}.sales-form-row input:not([type=checkbox]),.sales-form-row select,.sales-form-row output,.operational-form input:not([type=checkbox]),.operational-form select,.purchasing-editor input,.purchasing-editor select{height:30px}.sales-form-row textarea,.operational-form textarea,.purchasing-editor textarea{height:auto;resize:vertical}.sales-travel-date .sales-date-native{padding:4px!important}
/* Compact HPP master */
.admin-panel-dialog.hpp-dialog{width:min(1100px,calc(100vw - var(--sales-rail) - 48px));max-width:1100px}.hpp-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.hpp-controls input{flex:1;min-width:200px}.hpp-controls select{width:auto;max-width:220px}.hpp-controls button,.hpp-tabs button,.hpp-pagination button,.hpp-editor-actions button{min-height:28px;padding:4px 10px;font-size:11px}.hpp-tabs{display:flex;gap:8px;margin:12px 0}.hpp-tabs button.active{background:#285743;color:white;border-color:#285743}.hpp-notice{font-size:11px;color:#6b7568}.hpp-body table{font-size:11px;white-space:nowrap;width:100%;border-collapse:collapse}.hpp-body th,.hpp-body td{padding:7px 9px;border-bottom:1px solid #e3e8e2;text-align:left}.hpp-body th{font-weight:600;background:#f5f7f3}.hpp-body td:nth-child(2){max-width:350px;white-space:normal}.hpp-body td button{padding:2px 7px;min-height:24px;font-size:13px}.hpp-body>.admin-table-scroll{max-height:50vh;overflow:auto}.hpp-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;font-size:11px}.hpp-editor{background:#f6f8f4;border:1px solid #dfe5dc;border-radius:8px;padding:14px;margin:8px 0 14px}.hpp-editor h3{font-size:13px;margin:0 0 12px}.hpp-editor-fields{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.hpp-editor-fields label{display:flex;flex-direction:column;gap:5px;font-size:11px}.hpp-editor-fields>input{flex:1;min-width:180px}.hpp-editor input[type=number]{width:150px}.hpp-editor input[type=checkbox]{min-height:18px!important;width:18px!important}.hpp-editor-actions{display:flex;gap:10px;margin-top:12px}.hpp-editor .muted{font-size:11px}.hpp-total{font-weight:600;background:#f1f5ee}.hpp-disabled{color:#98a096}.hpp-notice.error{color:#b93838}@media(max-width:760px){.admin-panel-dialog.hpp-dialog{width:calc(100vw - 28px)}.hpp-controls{gap:8px}.hpp-controls select{max-width:170px}}

.hpp-dialog .sales-dialog-head>button{border:0;background:transparent;color:#d43d3d;box-shadow:none;min-height:28px;padding:3px 8px;font-size:23px}.hpp-dialog .sales-dialog-head>button:focus-visible{outline:2px solid #b8a36c;outline-offset:2px}

.hpp-tabs button.active:hover{background:#285743;color:white}

.hpp-amount-editor{margin-top:12px;font-size:11px}.hpp-amount-editor>label{display:flex;align-items:center;gap:8px;margin:10px 0}.hpp-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:10px}.hpp-amount-grid label{display:flex;flex-direction:column;gap:4px}.hpp-amount-grid input{width:100%!important}.hpp-amount-editor summary{cursor:pointer}

.hpp-source-warning{background:#fbf5e8;color:#7c5b1b;border-left:3px solid #b89b55;padding:8px 11px;font-size:11px!important}

.hpp-version-control{width:170px;flex-shrink:0}.hpp-product-control{width:100%;margin:8px 0}.hpp-version-control .sales-product-toggle,.hpp-product-control .sales-product-toggle{min-height:30px;font-weight:400;font-size:12px}.hpp-controls>.hpp-version-control .sales-product-picker{width:100%}
/* Email recipients: aligned rows, compact controls, no oversized checkboxes. */
.mail-settings-dialog{width:min(540px,calc(100vw - var(--sales-rail) - 36px));padding:24px;box-sizing:border-box}.mail-settings-dialog .sales-dialog-head{margin-bottom:8px}.mail-settings-dialog .sales-dialog-head>button{border:0;background:transparent;box-shadow:none;color:#ce4141;min-height:26px;padding:2px 6px;font-size:22px}.mail-settings-dialog .mail-settings-description{font-size:12px;line-height:1.6;font-weight:400;color:#7a867a;margin:0 0 20px}.mail-recipient-list{max-height:42vh;overflow-y:auto}.mail-settings-dialog .mail-recipient-row{display:flex;align-items:center;gap:12px;min-height:49px;margin:0;padding:10px 0;border-bottom:1px solid #edf0eb;font-size:12px;font-weight:400}.mail-recipient-row:last-child{border-bottom:0}.mail-recipient-address{flex:1;min-width:0;overflow-wrap:anywhere;color:#344e40}.mail-recipient-state{font-size:10px;font-weight:400;color:#869084;flex-shrink:0}.mail-settings-dialog input.mail-recipient-toggle{appearance:none;-webkit-appearance:none;position:relative;display:inline-block;flex:0 0 30px;width:30px;max-width:30px;height:18px;min-height:18px;padding:0;margin:0;border:0;border-radius:20px;background:#cbd2c9;cursor:pointer;vertical-align:middle;box-shadow:none;transition:background .15s}.mail-settings-dialog input.mail-recipient-toggle::before{content:'';position:absolute;width:12px;height:12px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .15s}.mail-settings-dialog input.mail-recipient-toggle:checked{background:#2c604b}.mail-settings-dialog input.mail-recipient-toggle:checked::before{transform:translateX(12px)}.mail-settings-dialog input.mail-recipient-toggle:focus-visible{outline:2px solid #b79b5d;outline-offset:3px}.mail-settings-dialog input.mail-recipient-toggle:disabled{opacity:.5;cursor:wait}.mail-recipient-form{border-top:1px solid #e3e8df;padding-top:18px;margin-top:16px}.mail-recipient-form>label{display:block;margin:0 0 7px;font-size:11px;font-weight:500;color:#63715f}.mail-recipient-entry{display:flex;align-items:center;gap:10px}.mail-settings-dialog .mail-recipient-entry input[type=email]{width:100%;max-width:none;min-width:0;flex:1;height:34px;min-height:34px;margin:0;padding:7px 10px;border:1px solid #dbe2d6;border-radius:6px;font-size:12px;font-weight:400;box-sizing:border-box}.mail-settings-dialog .mail-recipient-add{width:auto;flex:0 0 auto;min-height:32px;height:32px;margin:0;padding:5px 12px;border:0;border-radius:6px;background:#2c604b;color:white;font-size:11px;font-weight:500;white-space:nowrap}.mail-recipient-add:hover{background:#234c3c}.mail-settings-dialog .mail-settings-status{min-height:16px;margin:10px 0 0;font-size:11px;line-height:1.5;color:#56745d}.mail-settings-dialog .mail-settings-status.error{color:#b94343}.mail-settings-dialog .mail-recipient-empty{font-size:12px;font-weight:400;color:#8b9588;padding:12px 0;margin:0}@media(max-width:760px){.mail-settings-dialog{width:calc(100vw - 32px);padding:20px}.mail-recipient-state{display:none}}
.mail-settings-dialog .mail-recipient-remove{width:25px;height:26px;min-height:26px;min-width:25px;flex:0 0 25px;padding:4px;margin:0;border:0;border-radius:4px;background:transparent;color:#c34040;box-shadow:none}.mail-recipient-remove svg{width:16px;height:16px;display:block}.mail-settings-dialog .mail-recipient-remove:hover{background:#f9eded;color:#a82c2c}.mail-settings-dialog .mail-recipient-remove:disabled{opacity:.4;cursor:wait}.mail-settings-dialog .mail-recipient-undo{border:0;background:transparent;color:#2c604b;padding:0;margin-left:10px;min-height:20px;width:auto;font-size:11px;text-decoration:underline}
.hpp-tabs{flex-wrap:wrap}.hpp-pricing-fields{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:14px;align-items:end;margin-top:14px}.hpp-pricing-fields>label,.hpp-pricing-fields>div>label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:400;color:#687765}.hpp-pricing-product{grid-column:1/-1}.hpp-pricing-basis{grid-column:span 2}.hpp-pricing-fields input{width:100%;min-width:0;box-sizing:border-box}.hpp-pricing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 12px}.hpp-pricing-summary>div{padding:12px 0;border-top:1px solid #dde5d8}.hpp-pricing-summary span{display:block;font-size:10px;color:#80907b}.hpp-pricing-summary strong{display:block;margin-top:5px;font-size:16px;font-weight:500;color:#254b38}.hpp-pricing-hint,.hpp-pricing-footnote{font-size:11px!important;line-height:1.6!important;color:#7e8b78}.hpp-pricing table input[type=number]{width:65px;min-height:28px;font-size:11px;padding:3px 6px}.hpp-pricing table input[type=text]{width:90px;min-height:28px;font-size:11px;padding:3px 6px}.hpp-pricing table td{white-space:nowrap!important;max-width:none!important;font-variant-numeric:tabular-nums}.hpp-pricing table td:nth-child(n+4){text-align:right}.hpp-pricing table th{white-space:normal;min-width:65px}.hpp-pricing .admin-table-scroll{max-height:40vh;overflow:auto}.hpp-pricing .admin-table-scroll>button{font-size:11px;padding:5px 10px;margin-top:12px;min-height:28px}.hpp-pricing .hpp-pricing-remove{border:0;background:transparent;color:#bd4949;min-height:24px;padding:2px 6px}.hpp-pricing-invalid td{color:#b64c36!important}.hpp-pricing-error{font-size:11px!important;color:#a37835}.hpp-pricing-invalid td:nth-child(7){white-space:normal!important;min-width:150px}.hpp-pricing-footnote{margin:10px 0 0}@media(max-width:760px){.hpp-pricing-fields{grid-template-columns:repeat(2,minmax(110px,1fr))}.hpp-pricing-summary{gap:10px}.hpp-pricing-summary strong{font-size:13px}}
.op-pickup-head{display:flex;align-items:flex-start;gap:7px;justify-content:space-between}.op-pickup-head .op-origin-name{overflow-wrap:anywhere}.op-pickup-head .op-pickup-edit{width:23px;min-width:23px;height:23px;min-height:23px;flex:0 0 23px;padding:3px;border:0;background:transparent;color:#ab803d;box-shadow:none}.op-pickup-edit svg{width:15px;height:15px}.op-pickup-area{display:block;font-size:10px;color:#81927b;margin-top:3px}.op-pickup-missing{display:block;color:#ad803e;font-size:10px;line-height:1.5;margin-top:3px}.op-pickup-dialog{width:min(480px,calc(100vw - var(--sales-rail) - 32px));z-index:22}.op-pickup-caption{font-size:11px!important;color:#7a8872}.op-pickup-form>label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:400;margin:14px 0}.op-pickup-form input{width:100%;min-height:32px;font-size:12px;padding:6px 9px;box-sizing:border-box}.op-pickup-actions{display:flex;gap:12px;align-items:center;margin-top:16px}.op-pickup-actions button{font-size:11px;min-height:29px;padding:5px 11px}.op-guest-table td:nth-child(3){min-width:170px}
.sales-train-route{margin:0 0 14px;display:grid;gap:7px}.sales-train-route>label{font-size:11px;font-weight:400}.sales-train-route .sales-product-toggle{font-size:11px;font-weight:400;min-height:32px;padding:6px 9px}.sales-train-route .sales-product-option{font-size:11px;font-weight:400}
.purchasing-mail-filters input{max-width:380px;min-height:32px;font-size:11px;padding:7px 10px}.purchasing-mail-table{width:100%;border-collapse:collapse;font-size:11px}.purchasing-mail-table th{font-weight:400;color:#83917b;text-align:left;background:#f6f8f2;padding:9px}.purchasing-mail-table td{padding:12px 9px;vertical-align:top;border-bottom:1px solid #e7ecdf;line-height:1.6}.purchasing-mail-table strong{font-size:12px;font-weight:500}.purchasing-mail-table small{display:block;font-size:10px;margin-top:4px;color:#819078}.purchasing-mail-table tr[tabindex]{cursor:pointer}.purchasing-mail-table tr[tabindex]:hover{background:#f7f9f4}.purchasing-mail-pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;font-size:11px}.purchasing-mail-pager button{font-size:11px;min-height:28px;padding:5px 9px}.purchasing-mail-detail{display:grid;grid-template-columns:90px 1fr;gap:10px;font-size:11px}.purchasing-mail-detail dt{color:#819078}.purchasing-mail-detail dd{margin:0;overflow-wrap:anywhere}
.purchasing-mail-results td small:last-child{display:block}
.purchasing-mail-table td:first-child>span,.purchasing-mail-table td:nth-child(4){white-space:nowrap}.purchasing-mail-table td:nth-child(2){min-width:150px}.purchasing-mail-table td:last-child{min-width:125px}
.cs-popup{width:min(1040px,calc(100vw - var(--sales-rail) - 40px));z-index:20}.cs-popup>.sales-form-tabs{padding:17px 20px}.cs-popup .sales-form-tabs h2{font-size:14px;font-weight:500;margin:0}.cs-popup .sales-form-toolbar{padding:10px 16px}.cs-close{margin-left:auto;color:#df303b!important}.cs-panel{padding:18px 20px}.cs-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.cs-tabs button{font-size:11px;min-height:30px;padding:6px 11px;font-weight:400}.cs-tabs button[aria-pressed=true]{background:#28583f;color:#fff;border-color:#28583f}.cs-filters{display:flex;gap:14px;align-items:end;margin-bottom:18px;flex-wrap:wrap}.cs-filters>input{max-width:340px;flex:1;min-width:150px}.cs-filters label{font-size:11px;font-weight:400;gap:5px}.cs-filters input{min-height:31px;height:31px;padding:6px 9px;font-size:11px}.cs-filters input[type=date]{width:142px}.cs-table{width:100%;border-collapse:collapse;font-size:11px;min-width:740px}.cs-table th{background:#f6f8f2;color:#83927a;text-align:left;font-weight:400;padding:9px}.cs-table td{padding:12px 9px;border-bottom:1px solid #e7ece1;vertical-align:top;line-height:1.6}.cs-table small{display:block;font-size:10px;color:#89957f;margin-top:4px}.cs-table tr[tabindex]{cursor:pointer}.cs-table tr[tabindex]:hover{background:#f8faf4}.cs-table td:first-child{white-space:nowrap}.cs-review{color:#ad7c37!important}.cs-editor{z-index:22;width:min(640px,calc(100vw - var(--sales-rail) - 32px));padding:20px}.cs-editor h3{font-size:15px;font-weight:500;margin:0 0 6px}.cs-caption{font-size:11px!important;color:#7a8974;margin:0 0 10px}.cs-form{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;margin-top:18px}.cs-form label{font-size:11px;font-weight:400;gap:6px}.cs-form input:not([type=checkbox]),.cs-form textarea{min-height:32px;font-size:12px;font-weight:400;padding:6px 9px}.cs-wide{grid-column:1/-1}.cs-confirmations{display:grid;gap:10px;padding:8px 0}.cs-confirmations label{display:flex;align-items:center;gap:9px}.cs-confirmations input{width:14px;height:14px;min-height:14px;flex:none;padding:0;accent-color:#28583f}.cs-form .cs-tabs{margin:0}.cs-form>small{font-size:10px;color:#819078}.cs-editor-actions{display:flex;justify-content:flex-end}.cs-editor-actions button{font-size:11px;min-height:31px;padding:6px 14px}.cs-history{margin-top:20px;font-size:11px}.cs-history summary{cursor:pointer;color:#6c7d63}.cs-history article{padding:12px 0;border-bottom:1px solid #ebeee5}.cs-history article p{font-size:11px;white-space:pre-wrap;margin:5px 0}.cs-history small{font-size:10px}.cs-confirm{z-index:24}.cs-results .sales-notice{font-size:12px}@media(max-width:700px){.cs-form{grid-template-columns:1fr}.cs-wide{grid-column:auto}.cs-panel{padding:14px}.cs-editor{width:calc(100vw - 32px)}}
.sales-lock-state.cancelled{color:#b34e43}
.op-page-tabs{display:flex;gap:22px;padding:0 20px;border-bottom:1px solid #e5e9df;background:#fafbf7}.op-page-tabs button{border:0;border-radius:0;background:transparent;padding:11px 0;min-height:35px;font-size:11px;font-weight:400;color:#85917b;box-shadow:none}.op-page-tabs button[aria-pressed=true]{color:#315a46;border-bottom:2px solid #b29455}.tower-popup{width:min(1180px,calc(100vw - var(--sales-rail) - 36px));max-height:calc(100dvh - 106px)}.tower-panel{padding:18px 20px 22px}.tower-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:18px}.tower-filters>label,.tower-tour-select>label{font-size:10px;font-weight:400;gap:6px;color:#7a8873}.tower-filters input,.tower-tour-select .sales-product-toggle{min-height:31px;height:31px;font-size:11px;font-weight:400;padding:6px 9px}.tower-filters input[type=date]{width:144px}.tower-tour-select{width:225px;display:grid;gap:6px}.tower-tour-select .sales-product-option,.tower-tour-select .sales-product-search{font-size:11px;font-weight:400}.tower-filters>input{max-width:300px;flex:1;min-width:150px}.tower-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.tower-kpis article{padding:14px 16px;border:1px solid #e4e9de;border-radius:9px;background:#fff}.tower-kpis article>span{display:block;color:#778870;font-size:10px}.tower-kpis strong{display:block;font-size:25px;line-height:1.3;font-weight:500;color:#345845;margin:6px 0}.tower-kpis small{font-size:10px;color:#8b9783}.tower-content{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:16px;align-items:start}.tower-networks{min-width:0;display:grid;gap:16px}.tower-network{border:1px solid #e2e8dc;border-radius:10px;overflow:hidden;background:#fff}.tower-network>header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;gap:12px}.tower-network h3,.tower-attention h3,.tower-run-list h3{font-size:12px;font-weight:500;margin:0}.tower-network>header p{font-size:10px;color:#87947e;margin:5px 0 0}.tower-schematic-badge{font-size:9px;white-space:nowrap;color:#387765;background:#edf5ef;border-radius:5px;padding:6px 8px}.tower-graph-scroll{overflow-x:auto;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7}.tower-graph{position:relative;width:100%;min-width:760px;isolation:isolate;background-color:#fafcf9;background-image:linear-gradient(#dbe6dd30 1px,transparent 1px),linear-gradient(90deg,#dbe6dd30 1px,transparent 1px);background-size:32px 32px}.tower-graph>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.tower-landscape{fill:#eff4ed;stroke:#e4ece0;stroke-width:1}.tower-edge{fill:none;stroke:#397a65;stroke-width:2.5;vector-effect:non-scaling-stroke}.tower-edge.feeder{stroke:#8cb09c;stroke-dasharray:6 6;stroke-width:2}.tower-node{position:absolute;transform:translate(-50%,-22px);display:flex;flex-direction:column;align-items:center;gap:6px;width:148px;background:none;border:0;box-shadow:none;padding:0;color:#455f4b;font-size:11px;cursor:pointer;text-align:center}.tower-node:hover{color:#1f674a}.tower-node-count{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:2px solid #85a790;border-radius:50%;background:#fff;color:#316f56;font-size:13px;font-weight:500}.tower-node strong{font-size:11px;font-weight:500;line-height:1.35;overflow-wrap:anywhere;max-width:140px}.tower-node small{font-size:8px;color:#8b9e88;letter-spacing:.04em}.tower-node.tower-hub{transform:translate(-50%,-30px)}.tower-hub .tower-node-count{width:60px;height:60px;color:#fff;background:#37785f;border:5px solid #dce9dc;font-size:16px}.tower-node.tower-uncertain .tower-node-count{border-style:dashed;color:#8d793f;background:#faf8ef}.tower-node.tower-uncertain small{color:#a08649}.tower-network-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:11px 15px;font-size:9px;color:#899a81}.tower-legend-feeder:before,.tower-legend-tour:before{content:'';display:inline-block;vertical-align:middle;width:23px;border-top:2px solid #397a65;margin-right:7px}.tower-legend-feeder:before{border-top-style:dashed;border-color:#8cb09c}.tower-network-meta{display:flex;gap:14px;flex-wrap:wrap;padding:11px 15px;border-top:1px solid #edf0e7;color:#75896e;font-size:9px}.tower-network-meta small{font-size:9px;flex-basis:100%;color:#a18a53;line-height:1.6}.tower-attention{border:1px solid #e4e9de;border-radius:9px;padding:15px;background:#fff}.tower-attention h3{margin-bottom:12px}.tower-attention>button{display:block;width:100%;text-align:left;font-size:10px;line-height:1.6;padding:10px 0;min-height:30px;border:0;border-top:1px solid #eef0e8;border-radius:0;background:transparent;color:#8e7846;white-space:normal;box-shadow:none}.tower-attention p{font-size:10px;color:#8b9980;margin:0}.tower-run-list{border:1px solid #e4e9de;border-radius:9px;background:#fff;margin-top:18px;padding:15px}.tower-run-list h3{margin-bottom:12px}.tower-run-list table,.tower-node-dialog table{width:100%;border-collapse:collapse;font-size:11px}.tower-run-list th,.tower-node-dialog th{font-size:10px;font-weight:400;text-align:left;color:#8a9880;background:#f7f9f3;padding:8px}.tower-run-list td,.tower-node-dialog td{padding:10px 8px;border-bottom:1px solid #edf0e7;vertical-align:top;line-height:1.5}.tower-run-list td.sales-form-toolbar{display:table-cell;white-space:nowrap;padding:4px}.tower-run-list td.sales-form-toolbar button{display:inline-flex;margin:0 3px}.tower-run-list>p{font-size:11px;color:#8b9980;margin:0}.tower-node-dialog{z-index:22;width:min(680px,calc(100vw - var(--sales-rail) - 32px))}.tower-node-dialog td small{display:block;font-size:10px;color:#89987e;margin-top:4px}.tower-node-dialog>button{min-height:30px;font-size:11px;margin-top:16px;padding:6px 11px}.tower-detail-date{font-size:11px!important;color:#89977e}.tower-node-dialog .sales-dialog-head button{color:#df303b}.tower-node-dialog .op-vehicle-card{margin-top:12px}@media(max-width:1200px){.tower-content{grid-template-columns:1fr}.tower-attention{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.tower-attention h3{margin:0}.tower-attention>button{width:auto;padding:0;border:0}}@media(max-width:700px){.tower-panel{padding:14px}.tower-kpis{gap:8px}.tower-kpis article{padding:10px}.tower-kpis strong{font-size:21px}.tower-tour-select{width:180px}}
/* A single daily network, shared places across all tours. */
.tower-content{grid-template-columns:1fr}.tower-attention{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.tower-attention h3{margin:0}.tower-attention>button{width:auto;padding:0;border:0}.tower-network>header{padding:13px 16px}.tower-map-tools{display:flex;align-items:center;gap:8px;flex:none}.tower-map-tools button{min-height:27px;min-width:27px;padding:3px 8px;font-size:11px;font-weight:400;background:#fff;color:#406a55;border-color:#dfe7dc;border-radius:5px}.tower-map-tools button:first-child,.tower-map-tools button:nth-of-type(2){font-size:17px;line-height:20px}.tower-map-tools output{font-size:10px;color:#84917c;min-width:32px;text-align:center;font-variant-numeric:tabular-nums}.tower-map-viewport{position:relative;overflow:hidden;height:clamp(440px,57vh,640px);border-block:1px solid #e6ece2;background-color:#f9fcf9;background-image:linear-gradient(#e5ede440 1px,transparent 1px),linear-gradient(90deg,#e5ede440 1px,transparent 1px);background-size:36px 36px;cursor:grab;touch-action:none;isolation:isolate;overscroll-behavior:contain}.tower-map-viewport:focus-visible{outline:2px solid #a89357;outline-offset:-3px}.tower-map-viewport.is-panning{cursor:grabbing}.tower-map-world{position:absolute;left:0;top:0;min-width:0;transform-origin:0 0;background:none;user-select:none;will-change:transform}.tower-map-world .tower-node{font-size:13px;width:156px;min-height:0;border-radius:0;transform:translate(-50%,-26px);gap:7px}.tower-map-world .tower-node-count{width:52px;height:52px;font-size:16px;box-shadow:0 0 0 7px #f7fbf6b3}.tower-map-world .tower-node strong{font-size:14px;line-height:1.4;font-weight:500;max-width:156px;text-shadow:0 1px 3px #fff}.tower-map-world .tower-node small{font-size:10px;line-height:1.4;text-shadow:0 1px 3px #fff}.tower-map-world .tower-hub{transform:translate(-50%,-32px)}.tower-map-world .tower-hub .tower-node-count{width:64px;height:64px;font-size:18px}.tower-map-world .tower-activity .tower-node-count{background:#37785f;color:#fff;border-color:#37785f}.tower-map-world .tower-uncertain .tower-node-count{background:#faf8ef;color:#8d793f}.tower-map-world .tower-edge{stroke-width:2;vector-effect:none}.tower-map-world .tower-edge.feeder{stroke-width:2}.tower-map-hint{margin-left:auto}.tower-node-dialog>button{margin-right:9px}.tower-network-meta{font-size:10px}@media(max-width:700px){.tower-map-tools{gap:4px}.tower-network>header{padding:12px;align-items:flex-start}.tower-map-tools button{padding:3px 6px}.tower-map-viewport{height:440px}.tower-map-hint{margin-left:0}}
.tower-map-world .tower-main-hub .tower-node-count{background:#305c46;border:4px solid #b89d5c;box-shadow:0 0 0 10px #b89d5c1c;color:#fff;width:70px;height:70px;font-size:20px}.tower-map-world .tower-main-hub{transform:translate(-50%,-35px)}.tower-map-world .tower-main-hub strong{font-size:16px;color:#2e533e}.tower-map-world .tower-main-hub small{color:#927c47}
.tower-geographic-map{height:clamp(440px,57vh,640px);width:100%;z-index:0;background:#eef2ed;border-block:1px solid #e4ebdf;font-family:Arial,sans-serif}.tower-geographic-map .leaflet-control-attribution{font-size:9px;background:#fffffff0;padding:2px 6px;color:#63705e}.tower-geographic-map .leaflet-control-attribution a{color:#375d4c}.tower-geo-pin{background:none;border:0}.tower-geo-badge{width:150px;display:flex;align-items:center;flex-direction:column;text-align:center;color:#234c39;line-height:1.3;filter:drop-shadow(0 1px 2px #ffffff)}.tower-geo-badge>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid #4f856b;border-radius:50%;background:#fff;font-size:13px;font-weight:600;box-shadow:0 0 0 4px #ffffffe0}.tower-geo-badge strong{font-size:11px;font-weight:600;background:#ffffffe8;padding:2px 5px;border-radius:4px;max-width:145px;overflow-wrap:anywhere}.tower-geo-badge small{font-size:9px;background:#ffffffe8;padding:1px 4px;color:#718367;border-radius:3px}.tower-geo-badge.is-main-hub>span{width:43px;height:43px;background:#305c46;border:3px solid #b89d5c;color:#fff;box-shadow:0 0 0 5px #fff9}.tower-geo-badge.is-cluster>span{border-style:double;border-width:4px;background:#edf4e9}.tower-geo-badge.is-main-hub.is-cluster>span{background:#305c46}.tower-geo-badge.is-suggested>span{border-style:dashed;color:#8d793f}.tower-geo-note{font-size:10px!important;line-height:1.5;padding:10px 15px;margin:0!important;color:#819078}.tower-unmapped{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;padding:10px 15px;border-top:1px solid #e9ede4;font-size:10px;color:#8b7d58}.tower-unmapped button{min-height:24px;padding:2px 6px;font-size:10px;color:#8b7d58;background:transparent;border-color:#e6e5d5}.tower-google-link{display:block;font-size:11px;margin:14px 0 0;color:#386f55;text-decoration:underline}.tower-geographic-map .leaflet-marker-icon:focus-visible{outline:2px solid #b29450;outline-offset:5px}
.tower-node-dialog{width:min(1040px,calc(100vw - var(--sales-rail) - 32px))}.tower-detail-scroll{overflow-x:auto}.tower-detail-scroll table{min-width:740px;table-layout:fixed}.tower-detail-scroll th:first-child{width:23%}.tower-detail-scroll th:nth-child(2){width:18%}.tower-detail-scroll th:nth-child(3){width:24%}.tower-detail-scroll th:nth-child(4){width:20%}.tower-detail-scroll th:last-child{width:15%}.tower-detail-scroll td{overflow-wrap:anywhere}.tower-route-role{color:#3f7355!important}.tower-receiving{margin:18px 0;padding-top:16px;border-top:1px solid #e6ecdf}.tower-receiving h3{font-size:13px;font-weight:500;margin:0 0 12px}.tower-receiving article{padding:12px 14px;border:1px solid #e2e8dc;border-radius:7px;margin:10px 0;background:#fbfcf8;font-size:11px}.tower-receiving article>strong{font-weight:500}.tower-receiving p{font-size:11px;margin:6px 0;color:#7c8a74}.tower-receiving dl{display:grid;grid-template-columns:85px 1fr;gap:5px 12px;margin:10px 0}.tower-receiving dt{color:#89967e}.tower-receiving dd{margin:0}.tower-receiving button{font-size:11px;min-height:28px;padding:4px 9px;margin-top:7px}.tower-edge.crossing{stroke:#537c9c;stroke-dasharray:3 5}
.tower-geo-legend{display:flex;align-items:center;gap:16px;padding:10px 15px 0;font-size:10px;color:#819078}.tower-legend-crossing:before{content:'';display:inline-block;vertical-align:middle;width:23px;border-top:2px dashed #537c9c;margin-right:7px}

/* Operational manifests, reusable fleet and explicitly reported driver locations. */
.fleet-panel{display:grid;gap:24px}.fleet-section{border:1px solid #dce3d8;border-radius:14px;padding:18px}.fleet-section>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.fleet-section h3{margin:0}.fleet-section>header button,.fleet-form button{padding:7px 14px;font-size:13px}.fleet-form{display:grid;gap:14px}.fleet-form label{display:grid;gap:6px}.fleet-form input[type=checkbox]{width:18px;height:18px}.fleet-editor{width:min(480px,90vw)}.fleet-form input,.driver-link-dialog input{width:100%;box-sizing:border-box}.op-location-report{margin-top:14px;padding-top:12px;border-top:1px solid #e3e8df;font-size:13px}.op-location-report p{margin:5px 0;color:#657563}.tower-receiving-run nav{gap:12px;flex-wrap:wrap}.tower-receiving-run nav button{padding:7px 12px;font-size:13px}.operational-manifest{width:min(760px,92vw)}.manifest-date{font-size:13px;color:#6f7f6a}.driver-link-dialog{width:min(520px,90vw)}.driver-link-dialog button{margin-top:14px}.tower-driver-badge{background:#fff7e4;border:2px solid #b88b35;box-shadow:0 3px 12px #23352a24;border-radius:10px;padding:7px 10px;color:#614918;font:13px sans-serif}.tower-driver-badge strong,.tower-driver-badge small{display:block}.tower-driver-badge small{font-size:10px;margin-top:4px}.driver-report-page{min-height:100vh;background:#f4f5f0;padding:24px 16px;box-sizing:border-box}.driver-report-card{max-width:500px;margin:30px auto;background:white;border:1px solid #dde3d8;border-radius:18px;padding:28px;box-shadow:0 8px 35px #1c302310}.driver-report-card header h1{font:700 30px Georgia,serif;letter-spacing:.12em;margin:0;color:#254c3d}.driver-report-card header p{letter-spacing:.2em;font-size:12px}.driver-report-card h2{font-size:20px;margin-top:28px}.driver-report-card p{font-size:14px;line-height:1.6}.driver-report-card button{display:block;width:100%;margin-top:12px;padding:12px;font-size:14px}.driver-report-card #driver-complete{background:#254c3d;color:white}.driver-report-card #driver-report-status{min-height:44px;color:#345c46}@media(max-width:600px){.op-page-tabs{flex-wrap:wrap}.fleet-section{padding:12px}.driver-report-card{padding:20px}}

/* Keep resource/link/report popups above the Operational window and node cards. */
.driver-link-dialog,.fleet-editor,.driver-location-dialog{z-index:26}
.driver-link-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}
.driver-link-actions button{margin-top:0;padding:8px 14px;font-size:13px}
.driver-link-open{display:inline-flex;align-items:center;border:1px solid #d9e2dc;border-radius:7px;padding:8px 14px;font-size:13px;color:#254c3d;text-decoration:none}
.driver-link-open:hover{background:#f2f6ef}.driver-link-open:focus-visible{outline:2px solid #b79b58;outline-offset:3px}
.driver-link-dialog>input{padding:10px 12px;border:1px solid #d9e2dc;border-radius:7px;font-size:12px}

.driver-report-card #driver-manifest{border:1px solid #b79b58;border-radius:9px;background:#f7f4e9;color:#254c3d;font-weight:600;margin-bottom:18px}
.driver-manifest-panel{margin:12px 0 22px;padding:16px;border:1px solid #e0e6dc;border-radius:12px;background:#fbfcf9}
.driver-manifest-panel[hidden]{display:none}.driver-manifest-panel h3{font-size:17px;margin:0 0 12px}.driver-manifest-panel ol{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:14px}.driver-manifest-guest{padding:14px;background:white;border:1px solid #e0e6dc;border-radius:9px;overflow-wrap:anywhere}.driver-manifest-guest h4{margin:0;font-size:15px;line-height:1.5}.driver-report-card .driver-manifest-reference{font-size:11px;color:#73806d;margin:5px 0 12px}.driver-manifest-guest dl{display:grid;grid-template-columns:105px minmax(0,1fr);gap:7px 10px;font-size:12px;margin:0}.driver-manifest-guest dt{color:#71816d}.driver-manifest-guest dd{margin:0;line-height:1.5}.driver-report-card .driver-manifest-route{font-weight:600;font-size:15px}
@media(max-width:400px){.driver-manifest-panel{padding:10px}.driver-manifest-guest{padding:10px}.driver-manifest-guest dl{grid-template-columns:1fr;gap:4px}.driver-manifest-guest dd{margin-bottom:7px}}

.operational-editor{z-index:30}.fleet-editor{z-index:35}.operational-confirm{z-index:36}
.op-resource-field{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:end;gap:4px 7px;min-width:0}
.op-resource-field>label{grid-column:1/-1}.op-resource-field>.sales-product-picker{grid-column:1;min-width:0}
.operational-form .op-resource-field .sales-product-toggle{min-height:29px;padding:5px 8px;font-size:11px;font-weight:400}
.op-resource-field .op-resource-add{grid-column:2;grid-row:2;min-height:29px;width:30px;padding:0;border:1px solid #d9e2dc;border-radius:6px;background:#f5f8f1;color:#2d6547;font-size:19px;line-height:1}
.op-resource-field .op-resource-add:hover{background:#eaf1e3}.op-resource-field .sales-product-panel{min-width:220px;max-width:min(430px,calc(100vw - 60px))}

.driver-pin-form{display:grid;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #e0e6dc}.driver-pin-form label{display:grid;gap:6px;font-size:12px}.driver-pin-form input{width:160px;letter-spacing:.2em}.driver-pin-form button{justify-self:start;padding:7px 12px;font-size:12px}
.driver-portal-card{max-width:660px}.driver-portal-card #portal-login label{font-size:13px;display:block;margin:15px 0 6px}.driver-portal-card #portal-pin{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d9e2dc;border-radius:9px;font-size:18px;letter-spacing:.25em}.driver-portal-card #portal-login button{background:#254c3d;color:#fff;border-radius:9px;border:0}.portal-tools{display:flex;gap:10px;align-items:center;justify-content:flex-end}.portal-tools[hidden],#portal-login[hidden]{display:none}.driver-portal-card .portal-tools button{width:auto;display:inline-flex;padding:7px 12px;font-size:12px;margin:0}.portal-run{padding:18px;margin:18px 0;border:1px solid #dfe6d9;border-radius:13px;background:#fbfcf8}.portal-run h3{font-size:18px;line-height:1.4;margin:7px 0}.driver-portal-card .portal-run-date{font-size:12px;color:#6f8068}.portal-run>button{padding:10px 12px;border:1px solid #d9e2dc;border-radius:8px;background:white}.portal-run>button:first-of-type{border-color:#b79b58;color:#254c3d;background:#f8f4e9}.portal-run .portal-complete{background:#254c3d;color:#fff}.driver-portal-card .portal-location-note,.driver-portal-card .portal-position{font-size:12px;color:#71816d}.portal-run .driver-manifest-panel{padding:10px}.portal-run .driver-manifest-panel ol{padding:0;list-style:none;display:grid;gap:10px}.portal-run button:disabled{opacity:.5;cursor:not-allowed}.driver-portal-card #portal-status{font-size:13px;color:#4c6e52}.driver-portal-card h2{overflow-wrap:anywhere}

.operational-hotel-editor{z-index:35;width:min(480px,calc(100vw - var(--sales-rail) - 32px))}.tower-detail-scroll .tower-hotel-edit{margin-top:6px;padding:3px 7px;min-height:24px;font-size:10px;border:1px solid #dce4d5;border-radius:5px;background:#f7faf3;color:#315e45}.operational-hotel-editor .fleet-form>div>label{display:block;font-size:12px;margin-bottom:5px}.operational-hotel-editor input{padding:8px 10px;border:1px solid #d9e2dc;border-radius:7px;font-size:13px}

.fleet-actions-cell{width:82px;white-space:nowrap}.fleet-actions.sales-form-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:9px;min-height:28px;margin:0;padding:0;border:0;background:transparent}
.fleet-actions button.sales-icon-button{flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none}
.fleet-actions button.sales-icon-button svg{width:16px;height:16px;stroke-width:1.8}.fleet-actions button.sales-icon-button[data-action=edit]{color:#c98518}.fleet-actions button.sales-icon-button[data-action=link]{color:#2c654b}
.fleet-actions button.sales-icon-button:hover:not(:disabled){background:transparent;filter:brightness(.78)}.fleet-actions button.sales-icon-button:focus-visible{outline:2px solid #b79b58;outline-offset:2px}.fleet-actions button.sales-icon-button:disabled{opacity:.35}
@media(pointer:coarse){.fleet-actions button.sales-icon-button{flex-basis:40px;width:40px;height:40px;min-width:40px;min-height:40px}}

.driver-portal-card .portal-tools{gap:12px;margin:0 0 8px}.driver-portal-card .portal-tools .portal-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;box-shadow:none;cursor:pointer}.portal-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.driver-portal-card .portal-tools .portal-refresh{color:#27664c}.driver-portal-card .portal-tools .portal-logout{color:#dc303b}.portal-icon:hover{background:#f2f5f1!important}.portal-icon:focus-visible{outline:2px solid currentColor;outline-offset:2px}.portal-icon:disabled{opacity:.4;cursor:wait}

.tower-driver-unit{display:block;font-size:11px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}.driver-location-dialog .driver-location-unit{font-weight:600}.driver-location-guests{padding-left:22px}.driver-location-guests li{padding:12px 0;border-bottom:1px solid #e0e6dd}.driver-location-guests small{display:block;margin-top:4px;color:#71816d}.driver-location-guests p{margin:5px 0;font-size:13px}

.tower-driver-car{display:flex;align-items:center;justify-content:center;position:relative;width:34px;height:34px;border-radius:50%;background:#fff9e9;border:2px solid #ae8128;box-shadow:0 2px 6px #23352a30;color:#946a17;box-sizing:border-box}.tower-driver-car svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tower-driver-car b{position:absolute;right:-5px;top:-7px;min-width:17px;height:17px;padding:0 2px;border-radius:10px;background:#285d49;color:white;font:700 10px/17px sans-serif;text-align:center}.driver-location-choices{display:grid;gap:10px}.driver-location-choices button{display:grid;gap:4px;text-align:left;padding:10px 12px;font-size:13px}.driver-location-choices small{font-size:11px;font-weight:400;color:#71816d}.driver-location-choices span{font-size:12px;font-weight:400}

.attendance-popup{width:min(1240px,calc(100vw - 330px));max-height:88vh;overflow:auto}.attendance-panel{padding:18px 22px}.attendance-filters,.attendance-period,.attendance-summary{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.attendance-filters,.attendance-summary{margin-bottom:10px}.attendance-period{min-width:0}.attendance-filters input[type=search]{width:min(260px,100%)}.attendance-summary button{padding:4px 9px;min-height:28px;font-size:11px;font-weight:500}.attendance-summary button[aria-pressed=true]{background:#e5eee3;border-color:#91ab92;color:#244c36}.attendance-table{width:100%;border-collapse:collapse;font-size:12px}.attendance-table th{text-align:left;background:#f4f7f1;color:#6d7e66;padding:10px}.attendance-table td{padding:12px 10px;border-bottom:1px solid #e1e7db;vertical-align:top}.attendance-table small{display:block;margin-top:5px;color:#7c8b72}.driver-duty-status{display:inline-block;font-size:11px;padding:4px 7px;border-radius:5px;background:#f0f2ed;color:#62715b}.duty-in_progress{background:#e9f0ff;color:#225eb4}.duty-finished{background:#fff4d6;color:#956c16}.duty-verified{background:#e7f2e9;color:#276348}.duty-needs_review{background:#fff0ef;color:#b53939}.attendance-day-dialog article{padding:12px 0;border-bottom:1px solid #e1e7db}.attendance-verify-dialog textarea{width:100%;box-sizing:border-box;min-height:80px}.attendance-verify-dialog button{padding:7px 12px;font-size:13px;margin-top:12px}@media(max-width:800px){.attendance-popup{width:95vw}.attendance-panel{padding:12px}.attendance-filters{flex-wrap:wrap}}

.attendance-table-scroll{overflow-x:auto;max-width:100%}.attendance-table{min-width:1100px;table-layout:auto}.attendance-table th,.attendance-table td{white-space:normal;overflow-wrap:normal;word-break:normal;min-width:100px}.attendance-table th:nth-child(3),.attendance-table td:nth-child(3){min-width:185px}.attendance-table th:last-child,.attendance-table td:last-child{min-width:76px;width:76px}.attendance-table td.sales-form-toolbar{display:table-cell;white-space:nowrap}.attendance-table td.sales-form-toolbar button{display:inline-flex;margin-right:5px}.attendance-filters input[type=date]{width:180px;flex:0 0 180px}.attendance-filters input[type=search]{flex:1;max-width:300px}@media(max-width:760px){.attendance-table thead{display:table-header-group}.attendance-table tbody tr{display:table-row;padding:0}.attendance-table td:nth-child(n){display:table-cell;grid-column:auto;grid-row:auto;text-align:left}.attendance-table th{padding:10px}.attendance-table td{padding:12px 10px}}

.tower-driver-car.is-live{border-color:#2c8054;color:#246b47;background:#edf9f0}.tower-driver-car.is-stale{border-color:#af812b;color:#926c23;background:#fff7e4}.tower-driver-car.is-completed{border-color:#6e7e85;color:#576972;background:#f1f5f6}.fleet-last-location{min-width:160px}.fleet-last-location .fleet-location-open{border:0;background:transparent;color:#2b654a;padding:0;min-height:26px;font-size:11px;text-align:left}.fleet-last-location small{font-size:10px}.portal-start{background:#285d49;color:white;border:0;border-radius:8px}

.driver-manifest-guest dd a{color:#28674c;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;line-height:1.65}.driver-manifest-guest dd a:focus-visible{outline:2px solid #ad863e;outline-offset:3px}

.tower-route-pax-pin{background:transparent;border:0;pointer-events:none}.tower-route-pax{display:inline-block;min-width:42px;padding:3px 6px;border-radius:10px;background:#fffffff2;border:1px solid #dce7dd;color:#315e49;text-align:center;font:600 10px/14px system-ui,sans-serif;white-space:nowrap;box-shadow:0 1px 4px #203b2514}.tower-geo-badge>span{width:43px;height:43px;font-size:11px}.tower-geo-badge.is-main-hub>span{width:47px;height:47px}

.op-page-tabs{flex-wrap:wrap;column-gap:20px;row-gap:0}.driver-positions-panel{padding:20px;display:grid;gap:16px}.driver-positions-panel h3{font-size:14px;font-weight:500;margin:0}.driver-positions-panel>input{width:min(340px,100%);height:34px;min-height:34px;padding:7px 10px;font-size:12px;font-weight:400}.driver-positions-scroll{overflow-x:auto}.driver-positions-table{width:100%;min-width:780px;border-collapse:collapse;font-size:12px}.driver-positions-table th{text-align:left;background:#f7f9f3;color:#7a8873;font-size:11px;font-weight:400;padding:10px}.driver-positions-table td{padding:14px 10px;border-bottom:1px solid #e6ebe1;vertical-align:top;line-height:1.6}.driver-positions-table small{display:block;color:#84917d;font-size:10px;margin-top:4px}.driver-positions-table a{color:#2c674b;text-decoration:underline;text-underline-offset:3px}.driver-position-status{display:inline-block;border-radius:6px;padding:3px 8px;font-size:10px;background:#f1f4ee;color:#64715d}.driver-position-status.is-live{background:#eaf5eb;color:#287044}.driver-position-status.is-stale{background:#fff5de;color:#926c23}.driver-position-status.is-completed{background:#edf1f3;color:#5a6c73}.driver-positions-note{font-size:11px;line-height:1.7;color:#83917c;margin:0}.driver-position-actions button{padding:5px;min-width:28px;min-height:28px;border:0;background:transparent;box-shadow:none}.driver-position-actions svg{width:18px;height:18px}@media(max-width:760px){.driver-positions-table thead{display:table-header-group}.driver-positions-table tbody tr{display:table-row}.driver-positions-table td:nth-child(n){display:table-cell;grid-column:auto;grid-row:auto;text-align:left}.driver-positions-panel{padding:14px}}

.company-coa-dialog{width:min(1120px,calc(100vw - var(--sales-rail) - 32px))}.coa-summary{font-size:12px!important;color:#315b43}.coa-review-note{font-size:11px!important;line-height:1.7!important;color:#857341}.coa-controls{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.coa-controls input{flex:1;min-width:180px}.coa-controls select{width:190px}.company-coa-table{min-width:920px}.company-coa-table td:nth-child(3){min-width:280px}.company-coa-table small{display:block;font-size:9px;color:#87907e;line-height:1.6}.company-coa-table .coa-group-row{background:#f6f8f2}.company-coa-table .coa-group-row td:nth-child(3){font-weight:600}.coa-code-status{font-size:10px!important;min-width:150px}.coa-code-status.is-conflict,.coa-code-status.is-format_review{color:#aa713c}.coa-code-status.is-confirmed{color:#35724e}.coa-legacy{font-size:11px;margin-top:16px}.coa-legacy summary{color:#84917e}.coa-legacy table{margin-top:12px}

.connected-journal{width:min(980px,calc(100vw - var(--sales-rail) - 36px));z-index:35}.connected-journal-source label,.connected-component{display:grid;gap:7px;font-size:11px}.connected-journal-source select,.connected-component select{width:100%;min-height:32px;font-size:11px;font-weight:400}.connected-journal-info{color:#315e45}.connected-journal-meta{font-size:10px!important;line-height:1.7;color:#83917b}.connected-journal-scroll{overflow-x:auto;max-width:100%;margin:16px 0}.connected-journal table{width:100%;border-collapse:collapse;min-width:680px}.connected-journal th{font-size:10px!important;text-align:left;background:#f7f9f3;font-weight:400}.connected-journal td{border-bottom:1px solid #e6ebe1;font-size:11px!important}.connected-journal th:nth-child(n+3),.connected-journal td:nth-child(n+3){text-align:right;white-space:nowrap}.connected-journal-components{border-top:1px solid #e5eadf;padding-top:14px;margin-top:16px}.connected-journal-components summary{font-size:11px;cursor:pointer;color:#55714d}.connected-component{padding:12px 0;border-bottom:1px solid #eef1e9}.connected-journal-save{font-size:11px;min-height:30px;padding:5px 10px;margin-top:14px}.connected-journal .sales-product-toggle,.connected-journal .sales-product-option,.connected-journal .sales-product-search{font-size:11px!important;font-weight:400!important}

.connected-journal{width:min(760px,calc(100vw - var(--sales-rail) - 32px));padding:20px}.connected-journal .sales-dialog-head h2{font-size:15px;font-weight:600}.connected-journal .sales-dialog-head button{color:#db3441;border:0;background:transparent;min-width:28px;min-height:28px}.connected-journal .connected-journal-info{font-size:11px;margin:12px 0 8px;color:#83917b}.connected-journal-scroll{margin:10px 0}.connected-journal table{min-width:600px;table-layout:auto}.connected-journal th,.connected-journal td{padding:8px 10px!important;font-size:11px!important;font-weight:400}.connected-journal th:nth-child(1){width:170px}.connected-journal th:nth-child(2){min-width:220px}.connected-journal td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.connected-journal th:nth-child(n+3){min-width:115px}.connected-journal tfoot td{font-weight:600;background:#f7f9f3}.connected-journal .connected-journal-status{text-align:left!important;color:#8e7846;line-height:1.7;padding:18px 10px!important}.connected-journal-settings{margin-top:14px;border-top:1px solid #e5eadf;padding-top:10px}.connected-journal-settings>summary{font-size:10px;color:#83917b;cursor:pointer}.connected-journal-settings .connected-journal-components{margin-top:12px}.connected-journal .connected-journal-meta{font-size:10px!important;margin:10px 0 0;line-height:1.6}

.connected-journal-fx-retry{border:0;background:transparent;min-height:28px;padding:4px;color:#2d6a4c}.connected-journal-fx-retry svg{width:18px;height:18px}.connected-journal-fx-retry .sales-action-label{display:none}

/* Accounting and receipts share the compact workspace controls. */
#accounting-workspace{padding:20px;background:#fff;border:1px solid var(--line,#dde3d8);border-radius:16px;color:var(--ink,#264b3d)}
.accounting-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.accounting-header h2{font-size:19px;margin:0;margin-right:auto}.accounting-icon{display:inline-flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;padding:5px!important;min-width:30px!important;min-height:30px!important;width:30px;height:30px;color:#276c52}.accounting-icon svg{width:19px;height:19px}.accounting-sync,.accounting-save{font-size:13px!important;padding:7px 12px!important;min-height:32px!important;width:auto!important}
.accounting-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.accounting-stats>div{background:#f7f9f4;border:1px solid #e5e9df;border-radius:10px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.accounting-stats span{font-size:12px;color:#77816f}.accounting-stats strong{font-size:20px}.accounting-tabs{display:flex;gap:8px;margin-bottom:15px}.accounting-tabs button{font-size:13px;padding:6px 12px;min-height:32px;width:auto;background:transparent;color:#627766;border:1px solid #dfe5db}.accounting-tabs button.active{background:#254b3d;color:white}.accounting-filters{display:grid;grid-template-columns:minmax(180px,1fr) 155px 155px;gap:14px;align-items:end;margin-bottom:16px}.accounting-filters label{font-size:12px;display:grid;gap:4px}.accounting-filters input,.accounting-receipt-form input,.accounting-receipt-form select,.accounting-receipt-dialog input{box-sizing:border-box;height:34px!important;min-height:34px!important;padding:5px 9px!important;font-size:13px!important;font-weight:400!important;width:100%;border-radius:7px;border:1px solid #d8e0d4}.accounting-table-scroll{overflow:auto}.accounting-table-scroll table{width:100%;border-collapse:collapse;font-size:13px}.accounting-table-scroll th{text-align:left;background:#f6f8f3;color:#718366;font-size:12px;font-weight:500;padding:10px}.accounting-table-scroll td{padding:11px 10px;border-bottom:1px solid #edf0e8;vertical-align:middle}.accounting-table-scroll small{display:block;color:#8a9783;font-size:11px;margin-top:4px}.accounting-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.accounting-text-button{border:0!important;background:transparent!important;color:#294b3e!important;padding:0!important;min-height:0!important;width:auto!important;font-size:13px!important;text-align:left}.accounting-total{font-weight:600}.accounting-receipt-dialog{width:min(620px,calc(100vw - 32px));max-height:88vh;overflow:auto;z-index:180}.accounting-receipt-dialog p{font-size:13px}.accounting-receipt-history{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #e5eadf;font-size:12px}.accounting-receipt-history span{flex:1}.accounting-receipt-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.accounting-receipt-form label{font-size:12px;display:grid;gap:5px}.accounting-receipt-form p{grid-column:1/-1}.accounting-journal{z-index:175}
@media(max-width:700px){#accounting-workspace{padding:13px}.accounting-stats{grid-template-columns:1fr 1fr;gap:8px}.accounting-filters{grid-template-columns:1fr 1fr}.accounting-filters>input{grid-column:1/-1}.accounting-header{flex-wrap:wrap}.accounting-receipt-form{grid-template-columns:1fr}}

.booking-inbox-count{margin-left:auto;min-width:18px;padding:1px 5px;border-radius:9px;background:#b58d36;color:#fff;font-size:10px;text-align:center;font-weight:600}.booking-inbox-popup{width:min(1120px,calc(100vw - 48px));max-height:86vh;padding:0;overflow:auto}.booking-inbox-popup>.sales-dialog-head{padding:17px 22px;border-bottom:1px solid #e1e7dc;background:#f6f8f3}.booking-inbox-popup>.sales-dialog-head h2{font-size:17px;margin:0}.booking-inbox-panel{padding:18px 22px}.booking-inbox-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.booking-inbox-tabs button{font-size:12px;font-weight:400;padding:7px 11px;min-height:32px;width:auto;border:1px solid #dce3d6;background:white;color:#536951;border-radius:7px}.booking-inbox-tabs button[aria-pressed=true]{background:#254b3d;color:#fff;border-color:#254b3d}.booking-inbox-filters{display:flex;align-items:center;gap:12px;margin-bottom:14px}.booking-inbox-filters input{width:min(420px,100%);min-height:34px;height:34px;padding:6px 10px;font-size:13px;font-weight:400}.booking-inbox-filters .sales-icon-button{width:30px;height:30px;min-height:30px;padding:4px!important;background:transparent;border:0;color:#2c6a52}.booking-inbox-results{overflow:auto}.booking-inbox-results table{width:100%;border-collapse:collapse;font-size:13px}.booking-inbox-results th{background:#f6f8f3;font-weight:500;font-size:12px;color:#7b8a70;padding:10px;text-align:left}.booking-inbox-results td{padding:12px 10px;border-bottom:1px solid #e9eee2;vertical-align:top}.booking-inbox-results tr[tabindex]:hover{background:#f6f9f2;cursor:pointer}.booking-inbox-results tr:focus-visible{outline:2px solid #bd9c4c;outline-offset:-2px}.booking-inbox-results strong{font-weight:500;display:block}.booking-inbox-results small{font-size:10px;color:#8c9982;display:block;margin-top:5px}.booking-inbox-results td:last-child{color:#7b856b;font-size:12px;min-width:150px}@media(max-width:650px){.booking-inbox-popup{width:calc(100vw - 20px)}.booking-inbox-panel{padding:12px}.booking-inbox-tabs{gap:6px}.booking-inbox-tabs button{font-size:11px;padding:6px 8px}.booking-inbox-results table{min-width:700px}}

.op-date-source[hidden]{display:none!important}.op-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px!important;width:100%;padding:7px 11px!important;border:1px solid #dce3d6!important;border-radius:8px!important;background:#fafbf8!important;color:#294c3e!important;font:400 13px/1.4 system-ui,sans-serif!important;text-align:left;white-space:nowrap}.op-date-trigger::after{content:'⌄';color:#9a8c63;font-size:15px}.op-date-tools .op-date-trigger{width:auto;min-width:190px}.op-date-picker{width:min(330px,calc(100vw - 32px));padding:18px!important;border-radius:16px!important;background:#fffefa!important;box-shadow:0 18px 55px #243f302b!important}.op-date-picker .sales-dialog-head h2{font-size:15px!important}.op-picker-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.op-picker-nav strong{font-size:14px;font-weight:500}.op-picker-nav .sales-icon-button{width:28px!important;min-height:28px!important;height:28px;padding:4px!important;border:0!important;background:transparent!important;color:#426c54}.op-picker-next svg{transform:rotate(180deg)}.op-picker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.op-picker-weekday{font-size:10px;color:#87917f;text-align:center;padding:5px 0}.op-picker-grid .op-picker-day{width:100%!important;min-width:0!important;min-height:33px!important;height:33px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#3a5141!important;font-size:12px!important;font-weight:400!important}.op-picker-grid .op-picker-day:hover{background:#eef3e7!important}.op-picker-grid .op-picker-day.today{border-color:#c5ad6f!important}.op-picker-grid .op-picker-day[aria-pressed=true]{background:#28543f!important;color:white!important}.op-picker-time{display:flex!important;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 0;font-size:12px!important;color:#6c7d63}.op-picker-time input{width:125px!important;min-height:34px!important;height:34px!important;padding:6px 9px!important;border:1px solid #dce3d6!important;border-radius:8px!important;font-size:13px!important;background:#fff!important}.op-picker-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px;padding-top:13px;border-top:1px solid #e7ecdf}.op-picker-actions button{min-width:62px!important;width:auto!important;min-height:32px!important;padding:6px 13px!important;border-radius:7px!important;font-size:12px!important}.op-picker-error{font-size:12px;color:#b5443d;margin:5px 0 0}
.op-date-trigger svg{width:17px;height:17px;flex:none;color:#7b926d}.op-date-trigger span{flex:1}
.portal-run .portal-start,.portal-run .portal-complete{display:block;background:#254c3d;color:#fff;border:1px solid #254c3d;border-radius:8px;font-weight:500}.portal-run .portal-start:disabled,.portal-run .portal-complete:disabled{background:#254c3d;color:#fff;opacity:.42;cursor:not-allowed}

/* Cancellation remains readable in searches and Mailbox. */
.booking-cancelled,.booking-cancelled td,.sales-calendar-order.cancelled{background:#fee2e2!important;color:#991b1b!important}.booking-cancelled:hover td{background:#fecaca!important}
.op-report-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
/* Driver link mirrors the native 0.1.3 driver screens. */
.apk-driver-page{margin:0;background:#f4f5ef;padding:18px 14px;color:#28352d;font-family:Arial,Helvetica,sans-serif}.apk-driver-page .driver-portal-card{box-sizing:border-box;width:100%;max-width:540px;margin:0 auto;padding:22px;border:0;border-radius:0;box-shadow:none;background:#fff;min-height:calc(100dvh - 36px)}.apk-driver-page .driver-portal-card header h1{font-size:29px;letter-spacing:.08em;line-height:1.2}.apk-driver-page .driver-portal-card header p{font-size:11px;letter-spacing:.2em;margin:6px 0}.apk-driver-page header>small{font-size:11px;color:#70816d}.apk-driver-page #portal-heading{font-size:23px;margin:26px 0 8px}.apk-driver-page .portal-tools{justify-content:flex-start;gap:0;margin:5px 0}.apk-driver-page .portal-tools button{width:52px;height:44px;min-height:44px;padding:12px;border:0;background:transparent}.apk-driver-page #portal-status{font-size:12px;margin:8px 0 22px}.apk-driver-page #portal-runs>h3{font-size:17px;margin:0 0 14px}.apk-driver-page .portal-run{padding:16px;border:1px solid #dfe6d9;border-radius:14px;background:#fbfcf8;margin:0 0 16px}.apk-driver-page .portal-run h3{font-size:19px;margin:8px 0}.apk-driver-page .portal-run p{font-size:13px;margin:8px 0;line-height:1.5}.apk-driver-page .portal-run .portal-run-date{font-size:12px;color:#70816d}.apk-driver-page .portal-run>button{width:100%;min-height:48px;box-sizing:border-box;margin-top:10px;padding:10px 12px;border-radius:14px;font-size:14px;font-weight:400}.apk-driver-page .portal-run>button:first-of-type{background:white;border-color:#dfe6d9}.apk-driver-page .portal-run .portal-start,.apk-driver-page .portal-run .portal-complete{background:#254c3d;border-color:#254c3d;color:#fff}.apk-driver-page .portal-run button:disabled{opacity:1;background:#e3e8e1;color:#7e8981;border-color:#dfe6d9}.apk-driver-page .portal-run .portal-location-note,.apk-driver-page .portal-run .portal-position{font-size:12px;color:#70816d}.apk-driver-page .driver-portal-card:has(.driver-manifest-panel:not([hidden])){padding:0;max-width:660px}.apk-driver-page .driver-portal-card:has(.driver-manifest-panel:not([hidden]))>:not(#portal-runs),.apk-driver-page #portal-runs:has(.driver-manifest-panel:not([hidden]))>h3,.apk-driver-page #portal-runs:has(.driver-manifest-panel:not([hidden]))>.portal-run:not(:has(.driver-manifest-panel:not([hidden]))),.apk-driver-page .portal-run:has(.driver-manifest-panel:not([hidden]))>:not(.driver-manifest-panel){display:none}.apk-driver-page .portal-run:has(.driver-manifest-panel:not([hidden])){padding:0;border:0;margin:0;background:white}.apk-driver-page .driver-manifest-panel{margin:0;padding:0;border:0;border-radius:0;background:white}.apk-driver-page .apk-manifest-header{display:flex;align-items:center;gap:8px;padding:8px;background:#f5f6f1;border-bottom:1px solid #e4e9df}.apk-driver-page .apk-manifest-header strong{display:block;color:#254c3d;font:700 21px Georgia,serif;letter-spacing:.09em}.apk-driver-page .apk-manifest-header small{display:block;font-size:10px;letter-spacing:.22em;margin-top:4px}.apk-driver-page .apk-icon{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px;min-width:44px;padding:10px!important;margin:0!important;border:0!important;background:transparent!important;color:#254c3d;font-size:23px;text-decoration:none}.apk-driver-page .apk-manifest-title{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 0 18px}.apk-driver-page .apk-manifest-title h3{font-size:23px!important}.apk-driver-page .apk-manifest-summary{padding:4px 18px 16px;border-bottom:1px solid #e4e9df}.apk-driver-page .apk-manifest-summary h3{font-size:18px;color:#254c3d}.apk-driver-page .apk-manifest-summary strong{display:block;font-size:13px;margin-top:12px;color:#254c3d}.apk-driver-page .apk-pickup-head{display:flex;align-items:center;background:#eff4ed;padding:8px 6px 8px 18px}.apk-driver-page .apk-pickup-toggle{flex:1;text-align:left;min-height:44px;padding:0;margin:0;border:0;background:transparent;color:#27392f}.apk-driver-page .apk-pickup-toggle strong{font-size:14px;display:block}.apk-driver-page .apk-pickup-toggle small{font-size:12px;display:block;margin-top:3px;color:#647268}.apk-driver-page .apk-pickup-map{margin:0}.apk-driver-page .apk-pickup-map .apk-map{color:#2860a3}.apk-driver-page .apk-guest-row{display:flex;align-items:center;gap:8px;min-height:64px;width:100%;padding:11px 14px 11px 18px;margin:0;border:0;border-bottom:1px solid #e4e9df;border-radius:0;background:#fff;text-align:left;color:#27392f}.apk-driver-page .apk-guest-number{width:20px;font-size:11px;color:#647268;flex-shrink:0}.apk-driver-page .apk-guest-name{flex:1;min-width:0}.apk-driver-page .apk-guest-name strong{display:block;font-size:14px;overflow-wrap:anywhere}.apk-driver-page .apk-guest-name small{display:block;font-size:12px;margin-top:3px;color:#647268}.apk-driver-page .apk-guest-pax{font-size:12px;color:#254c3d;white-space:nowrap}.apk-driver-page .apk-guest-chevron{font-size:18px;color:#647268}.apk-driver-page .apk-guest-row[aria-expanded=true] .apk-guest-chevron{transform:rotate(180deg)}.apk-driver-page .apk-guest-details{padding:0 18px 14px 46px;border-bottom:1px solid #e4e9df}.apk-driver-page .apk-guest-details dl{margin:0;display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;font-size:12px}.apk-driver-page .apk-guest-details dt{color:#647268}.apk-driver-page .apk-guest-details dd{margin:0;overflow-wrap:anywhere}.apk-driver-page .apk-guest-details a{color:#2860a3;line-height:1.5}.apk-driver-page .apk-manifest-footer{padding:20px 18px 24px!important;color:#254c3d;font-size:13px!important}.apk-finish-dialog{box-sizing:border-box;max-width:420px;width:calc(100% - 32px);padding:24px;border:1px solid #dfe6d9;border-radius:16px;color:#28352d;font:14px Arial,sans-serif}.apk-finish-dialog::backdrop{background:#14251c65}.apk-finish-dialog h3{font-size:20px;margin-top:0}.apk-finish-dialog p{line-height:1.6}.apk-finish-check{display:flex;align-items:center;gap:12px;min-height:48px}.apk-finish-check input{width:20px;height:20px;accent-color:#254c3d}.apk-finish-dialog nav{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.apk-finish-dialog button{padding:10px 12px;border:0;background:transparent;color:#254c3d;font-weight:600}.apk-finish-dialog button:disabled{color:#96a197;cursor:not-allowed}@media(max-width:560px){.apk-driver-page{padding:0}.apk-driver-page .driver-portal-card{min-height:100dvh}.apk-driver-page:has(.driver-manifest-panel:not([hidden])){background:#fff}}

/* Operational is a full workspace page; only edit/detail actions use dialogs. */
.module-main:has(>.operational-workspace:not([hidden])){width:100%;max-width:none;padding:18px 24px 32px;box-sizing:border-box}.operational-workspace>.operational-page{display:block;position:relative;inset:auto;transform:none;width:100%;min-width:0;max-width:none;height:auto;max-height:none;min-height:calc(100dvh - 128px);margin:0;padding:0;overflow:visible;border:1px solid #dfe6dc;border-radius:12px;box-shadow:none;background:#fff;box-sizing:border-box;z-index:auto}.operational-page>.op-window-head{border-radius:12px 12px 0 0}.operational-page>.op-page-tabs{overflow-x:auto;white-space:nowrap}.operational-page .tower-geographic-map,.operational-page .tower-map-viewport{min-height:480px;height:clamp(440px,58dvh,760px)}.operational-page .op-panel,.operational-page .tower-panel{min-width:0}.operational-page:focus{outline:none}@media(max-width:760px){.module-main:has(>.operational-workspace:not([hidden])){padding:12px}.operational-workspace>.operational-page{min-height:calc(100dvh - 100px);border-radius:10px}.operational-page .tower-geographic-map,.operational-page .tower-map-viewport{height:55dvh;min-height:360px}.operational-page>.op-page-tabs{gap:16px;flex-wrap:nowrap;padding:0 12px}}

/* Summary cards are keyboard-accessible links into current Operational work. */
.tower-kpis>.tower-kpi{display:block;width:100%;padding:14px 16px;margin:0;border:1px solid #e4e9de;border-radius:9px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.tower-kpis>.tower-kpi>span{display:block;color:#778870;font-size:10px}.tower-kpis>.tower-kpi:hover{border-color:#9ab19b;box-shadow:0 3px 12px #254c3d0d}.tower-kpis>.tower-kpi:focus-visible{outline:2px solid #b29455;outline-offset:3px}.tower-kpi-dialog{width:min(980px,calc(100vw - var(--sales-rail) - 40px))}.tower-kpi-dialog table{width:100%;border-collapse:collapse}.tower-kpi-dialog td,.tower-kpi-dialog th{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #e4e9de}.tower-kpi-dialog td>small,.tower-kpi-pending>small{display:block;color:#7d8c73;font-size:11px;margin-top:4px}.tower-kpi-pending{display:grid;gap:4px;margin-bottom:10px;min-width:180px}.tower-kpi-issue{display:block;color:#9b642a;font-size:12px}.tower-kpi-complete{color:#32714e;font-size:12px}.tower-kpi-dialog td:last-child button{display:block;padding:7px 10px;margin-bottom:8px;font-size:12px}@media(max-width:600px){.tower-kpis>.tower-kpi{padding:10px}.tower-kpi-dialog{width:calc(100vw - 20px)}.tower-kpi-dialog td,.tower-kpi-dialog th{padding:9px}}

/* Customer Service: one booking, five compact checkpoints. */
.cs-checklist-popup{width:min(1260px,calc(100vw - var(--sales-rail) - 40px))}.cs-checklist-table{min-width:1000px}.cs-checklist-table th{white-space:nowrap;padding:12px 10px}.cs-checklist-table td{padding:16px 10px}.cs-checklist-table td:first-child{white-space:normal;min-width:210px;max-width:270px}.cs-checklist-table td:first-child strong{font-size:13px;color:#254c3d}.cs-checklist-table td:nth-child(2){white-space:nowrap}.cs-check-cell{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;white-space:nowrap}.cs-check-cell input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:#28583f;flex:none;margin:0}.cs-status-button{font-size:11px;padding:5px 11px;min-height:29px;border-radius:18px;font-weight:400;background:#faf5e9;color:#8c681f;border:1px solid #e8ddc0}.cs-check-done .cs-status-button{background:#edf5ef;border-color:#cfdfd1;color:#28583f}.cs-check-done .cs-check-cell{color:#28583f}.cs-check-pending .cs-check-cell{color:#8c681f}.cs-cell-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px}.cs-checklist-message{font-size:12px;color:#28583f}.cs-filters select{font-size:11px;min-height:31px;height:31px;padding:4px 9px;font-weight:400}.cs-checklist-editor{z-index:130}.cs-confirm{z-index:132}.cs-checklist-editor .cs-form{grid-template-columns:1fr}.cs-checklist-editor textarea{resize:vertical;width:100%;min-height:100px}.cs-checklist-editor .cs-editor-actions{gap:10px}@media(max-width:700px){.cs-checklist-popup{width:calc(100vw - 24px)}.cs-cell-preview{max-width:140px}}

.cs-menu-popup{width:min(1240px,calc(100vw - var(--sales-rail) - 40px))}.cs-main-menus{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin:0 0 16px}.cs-main-menus>button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;white-space:nowrap;min-height:40px;padding:8px 14px;font-size:12px;font-weight:500;border-radius:9px}.cs-main-menus>button[aria-pressed=true]{background:#254c3d;color:#fff;border-color:#254c3d}.cs-menu-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:8px;background:#f2e6c9;color:#6d5427;font-size:11px;padding:0 5px}.cs-greeting-menus{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 20px;border-bottom:1px solid #e3e9df;margin-bottom:18px}.cs-greeting-menus>button{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;min-height:34px;padding:6px 12px;border-radius:18px}.cs-greeting-menus>button[aria-pressed=true]{background:#e7efe0;border-color:#ccdcbf;color:#254c3d}.cs-section-title{font-size:18px;font-weight:600;color:#254c3d;margin:10px 0 18px}.cs-menu-table{min-width:910px}.cs-menu-table td:first-child{min-width:180px;max-width:230px;white-space:normal}.cs-menu-table td:nth-child(3){max-width:240px}.cs-menu-table th{white-space:nowrap}.cs-whatsapp{color:#226a49;font-size:12px;text-decoration:underline;text-underline-offset:3px}.cs-state-badge{display:inline-block;border-radius:16px;font-size:11px;padding:3px 11px;white-space:nowrap}.cs-state-badge.is-done{background:#e6f0e2;color:#28583f}.cs-state-badge.is-pending{background:#fbefd4;color:#8c681f}.cs-menu-table .cs-cell-preview{max-width:200px}@media(max-width:700px){.cs-menu-popup{width:calc(100vw - 24px)}.cs-main-menus>button{flex:none}.cs-main-menus{gap:8px}.cs-greeting-menus{gap:8px}.cs-greeting-menus>button{font-size:11px}}

/* Customer Service primary navigation uses the normal workspace page. */
.module-main:has(>#customer-service-workspace:not([hidden])){width:100%;max-width:none;padding:18px 24px 32px;box-sizing:border-box}#customer-service-workspace{min-width:0}.cs-page{display:block;position:relative;inset:auto;transform:none;width:100%;max-width:none;min-width:0;min-height:calc(100dvh - 128px);margin:0;padding:0;overflow:visible;box-sizing:border-box;border:1px solid #dfe6dc;border-radius:12px;background:#fff;box-shadow:none}.cs-page-header{border-radius:12px 12px 0 0}.cs-page-header h2{margin:0;font-size:14px;font-weight:600;color:#254c3d}.cs-page .cs-panel{min-width:0}.cs-page .cs-main-menus{margin-top:2px}@media(max-width:760px){.module-main:has(>#customer-service-workspace:not([hidden])){padding:12px}.cs-page{min-height:calc(100dvh - 100px);border-radius:10px}}

/* Match Operational's plain text tabs and gold active underline. */
.cs-page>.cs-main-menus{display:flex;gap:22px;margin:0;padding:0 20px;border-bottom:1px solid #e5e9df;background:#fafbf7;overflow-x:auto;white-space:nowrap}.cs-page>.cs-main-menus>button{flex:none;justify-content:flex-start;gap:7px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:#85917b;padding:11px 0;min-height:35px;font-size:11px;font-weight:400}.cs-page>.cs-main-menus>button[aria-pressed=true]{background:transparent;color:#315a46;border-color:#b29455}.cs-page .cs-menu-count{background:transparent;color:#8b967e;font-size:10px;min-width:0;height:auto;padding:0;border-radius:0}.cs-page .cs-greeting-menus{gap:22px;margin:0 0 18px;padding:0;border-bottom:1px solid #e5e9df;flex-wrap:wrap}.cs-page .cs-greeting-menus>button{gap:7px;min-height:33px;padding:7px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;font-size:11px;font-weight:400;color:#85917b}.cs-page .cs-greeting-menus>button[aria-pressed=true]{background:transparent;color:#315a46;border-color:#b29455}.cs-page-header h2{font-size:13px;letter-spacing:.08em;font-weight:600}.cs-page .cs-section-title{font-size:13px;font-weight:500;margin:0 0 16px}.cs-page .cs-checklist-message:empty{display:none}@media(max-width:760px){.cs-page>.cs-main-menus{gap:16px;padding:0 12px;flex-wrap:nowrap}.cs-page .cs-greeting-menus{gap:16px}}

/* Keep CS navigation and filters visible; only the guest list scrolls. */
.workspace:has(>.module-main>#customer-service-workspace:not([hidden])){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workspace:has(>.module-main>#customer-service-workspace:not([hidden]))>.topbar{flex-shrink:0}.module-main:has(>#customer-service-workspace:not([hidden])){flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}#customer-service-workspace:not([hidden]){display:flex;flex:1;min-height:0}.cs-page{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.cs-page>.cs-page-header,.cs-page>.cs-main-menus{flex-shrink:0}.cs-page>.cs-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.cs-page .cs-panel>.cs-greeting-menus,.cs-page .cs-panel>.cs-section-title,.cs-page .cs-panel>.cs-caption,.cs-page .cs-panel>.cs-filters,.cs-page .cs-panel>.cs-checklist-message{flex-shrink:0}.cs-page .cs-results{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.cs-page .cs-results>.purchasing-table-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.cs-page .cs-results>.purchasing-mail-pager{flex-shrink:0}.cs-page .cs-menu-table{border-collapse:separate;border-spacing:0}.cs-page .cs-menu-table thead{display:table-header-group}.cs-page .cs-menu-table thead th{position:sticky;top:0;z-index:2;background:#f6f8f2;box-shadow:0 1px 0 #e2e8dc}.cs-page .cs-menu-table tbody tr{display:table-row}.cs-page .cs-menu-table td:nth-child(n){display:table-cell;grid-column:auto;grid-row:auto;text-align:left}

/* Staff account management */
.staff-accounts-dialog{width:min(960px,95vw)}
.staff-toolbar{display:flex;align-items:center;gap:16px;margin:12px 0}.staff-toolbar input{flex:1;min-width:0}.staff-toolbar button,.staff-accounts-dialog td button{padding:8px 14px;font-size:14px;white-space:nowrap}
.staff-account-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;padding:20px;margin:16px 0;border:1px solid var(--border,#dce3da);border-radius:12px;background:#f8faf6}.staff-account-form h3,.staff-account-form p,.staff-form-actions{grid-column:1/-1}.staff-account-form label{display:flex;flex-direction:column;gap:6px;font-size:14px}.staff-account-form label:has(input[type=checkbox]){flex-direction:row;align-items:center}.staff-account-form input[type=checkbox]{width:auto}.staff-form-actions{display:flex;justify-content:flex-end;gap:12px}.staff-form-actions button{padding:9px 18px;font-size:14px}
@media(max-width:600px){.staff-account-form{grid-template-columns:1fr}.staff-toolbar{align-items:stretch;flex-direction:column}.staff-accounts-dialog{padding:18px}}

.cs-guest-manifest-dialog{width:min(720px,calc(100vw - 32px))}.cs-guest-manifest-document{color:#254c3d}.cs-guest-manifest-document>header{border-bottom:1px solid #b79b58;padding-bottom:18px;margin-bottom:20px}.cs-guest-manifest-document>header h2{font:600 30px Georgia,serif;letter-spacing:.1em;margin:0}.cs-guest-manifest-document>header p{letter-spacing:.25em;margin:4px 0 16px;font-size:11px}.cs-guest-manifest-document>header h3{font-size:12px;letter-spacing:.08em}.cs-guest-manifest-document dl{display:grid;grid-template-columns:120px 1fr;gap:10px;margin:20px 0;font-size:13px}.cs-guest-manifest-document dt{color:#7b8b78}.cs-guest-manifest-document dd{margin:0}.cs-guest-manifest-document table{width:100%;border-collapse:collapse;font-size:13px}.cs-guest-manifest-document th{text-align:left;background:#f1f5ee;font-weight:400;color:#7b8b78}.cs-guest-manifest-document th,.cs-guest-manifest-document td{padding:12px;border-bottom:1px solid #e1e8dc}.cs-guest-manifest-document td:last-child,.cs-guest-manifest-document th:last-child{text-align:right;width:70px}.cs-guest-manifests small{display:block;max-width:480px;margin-top:6px;color:#8a987f;font-size:11px;white-space:normal}.cs-guest-manifests td{vertical-align:top}.cs-guest-manifest-dialog .sales-dialog-actions button{padding:8px 14px;font-size:12px}

/* Booking Setup uses the same density as the Sales tables. */
#sales-setup-dialog > .sales-dialog-head {
 min-height:35px;padding:3px 10px;margin:0;gap:8px;
}
#sales-setup-dialog > .sales-dialog-head h2 {font-size:12px;font-weight:600;line-height:1.35}
#sales-setup-dialog .booking-setup-panel {padding:7px 10px 10px}
.booking-setup-tools {display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:7px}
.booking-setup-tabs {display:flex;align-items:center;flex-wrap:wrap;gap:5px}
#sales-setup-dialog .booking-setup-tabs button {
 width:auto;min-height:27px;padding:3px 8px;border-radius:5px;border:1px solid #dce3d5;
 background:#fff;color:#52694d;box-shadow:none;font:500 11px/1.35 system-ui,sans-serif;white-space:nowrap;
}
#sales-setup-dialog .booking-setup-tabs button[aria-pressed=true] {background:#28533f;border-color:#28533f;color:#fff}
.booking-setup-filters {display:flex;align-items:center;gap:4px;flex:0 1 265px;max-width:100%;min-width:0}
#sales-setup-dialog .booking-setup-filters input {
 flex:1;min-width:0;height:27px;min-height:27px;padding:3px 7px;font-size:11px;border-radius:5px;
}
#sales-setup-dialog .booking-setup-filters .sales-icon-button {
 flex:0 0 27px;width:27px;height:27px;min-width:27px;min-height:27px;padding:3px;border:0;color:#2c6a52;
}
.booking-setup-results {overflow:auto}
.booking-setup-results table {width:100%;min-width:490px;table-layout:fixed;border-collapse:collapse}
.booking-setup-results :is(th,td) {
 box-sizing:border-box;padding:4px 7px;text-align:left;vertical-align:middle;overflow-wrap:anywhere;
 border-bottom:1px solid #e3e9df;font-size:11px;line-height:1.3;
}
.booking-setup-results th {background:#f3f6f0;color:#53654f;font-weight:600}
.booking-setup-results th:first-child {width:22%}
.booking-setup-results th:nth-child(2) {width:96px}
.booking-setup-results td:nth-child(2) {white-space:nowrap}
.booking-setup-results th:last-child {width:24%}
.booking-setup-results td strong {font-weight:600}
.booking-setup-results td small {display:block;margin-top:1px;color:#687963;font-size:10px;line-height:1.25}
.booking-setup-results tr[tabindex] {cursor:pointer}
.booking-setup-results tr[tabindex]:hover {background:#f6f9f2}
.booking-setup-results tr:focus-visible {outline:2px solid #9c8549;outline-offset:-2px}
@media(max-width:600px) {
 #sales-setup-dialog .booking-setup-panel {padding-inline:7px}
}

.cs-guest-manifest-document>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.cs-guest-manifest-document>header img{width:148px;height:auto;display:block}.cs-guest-manifest-document>header h3{text-align:right}@media(max-width:460px){.cs-guest-manifest-document>header img{width:116px}.cs-guest-manifest-document>header h3{font-size:10px}}

.workspace-window-actions{display:inline-flex;align-items:center;gap:5px;margin-left:auto;flex:none}.workspace-window-control{display:inline-flex!important;align-items:center;justify-content:center;width:28px!important;min-width:28px;min-height:26px!important;padding:4px!important;border:0!important;background:transparent!important;color:#6a8171;border-radius:5px;font-size:12px!important}.workspace-window-control:hover{background:#eaf0e6!important}.workspace-window-control svg,.history-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workspace-window-fullscreen{position:fixed!important;inset:0!important;left:0!important;top:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;box-sizing:border-box!important;resize:none!important}.workspace-window-minimized{display:none!important}.workspace-window-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.workspace-window-head h2{font-size:14px}.workspace-window-dock{position:fixed;bottom:12px;left:calc(var(--sales-rail,220px) + 16px);right:16px;z-index:2147483000;display:flex;gap:8px;overflow-x:auto;pointer-events:none}.workspace-window-dock:empty{display:none}.workspace-window-dock button{pointer-events:auto;flex:none;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 12px;border:1px solid #bdcdb8;border-radius:7px;background:#fff;color:#28533f;box-shadow:0 3px 16px #183b2426;font-size:12px}.history-icon{display:inline-flex;align-items:center;justify-content:center;padding:5px!important;min-width:28px;min-height:28px;background:transparent;border:0;color:#728876}.change-history-dialog{width:min(1060px,calc(100vw - 36px))}.history-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:14px 0}.history-filters>input{flex:1;min-width:180px}.history-filters input,.history-filters select{padding:7px 10px;border:1px solid #d6e0d1;border-radius:6px;font-size:12px}.history-filters label{display:grid;gap:4px;font-size:11px;color:#829177}.history-filters button{font-size:12px;padding:7px 12px}.history-results{overflow:auto;max-height:56vh}.history-results table{width:100%;border-collapse:collapse;font-size:12px}.history-results th{position:sticky;top:0;text-align:left;font-weight:400;background:#f3f6ef;color:#829177;padding:10px}.history-results td{padding:10px;border-bottom:1px solid #e4eadf;vertical-align:top}.history-results small{display:block;color:#84947a;margin-top:5px;font-size:11px}.booking-last-editor{display:block;margin:8px 22px;color:#819177;font-size:11px}@media(max-width:700px){.workspace-window-dock{left:10px;right:10px}.workspace-window-actions{gap:2px}.history-filters input{max-width:100%}}

.workspace-window-fullscreen:not(dialog){z-index:2147480000;background:#fff;overflow:auto}
/* Keep edit and history dialogs above a full-screen department page. */
dialog:not(.workspace-window-minimized){z-index:2147481000!important}

/* Match the simple horizontal Customer Service navigation. */
.sales-form-tabs{gap:22px;background:#fafbf7;border-bottom:1px solid #e5e9df;align-items:center}.sales-form-tabs>button{font-size:11px;font-weight:400;letter-spacing:normal;padding:11px 0;min-height:35px;color:#85917b;border:0;border-bottom:2px solid transparent;box-shadow:none!important}.sales-form-tabs>button[aria-pressed=true]{color:#315a46;border-bottom-color:#b29455;box-shadow:none!important}.sales-form-tabs>button[aria-pressed=false]{color:#85917b}

.op-driver-suggestions{padding:12px;border:1px solid #dce5da;border-radius:10px;background:#f8faf6;min-width:0}
.op-driver-suggestions h4{font-size:12px;margin:0 0 10px;color:#28513f}
.op-driver-suggestions .cs-filters{gap:12px;margin:0 0 8px;display:flex;flex-wrap:wrap}
.op-driver-suggestions small,.op-driver-suggestions p{font-size:11px;line-height:1.5;color:#70816b;font-weight:400}
.op-driver-suggestion{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:9px 0;border-top:1px solid #e1e7dd;margin-top:8px}
.op-driver-suggestion button{font-size:11px;min-height:30px;padding:5px 9px;border:1px solid #d3decf;background:white;border-radius:6px;color:#28513f;font-weight:500}
.op-driver-suggestion button[aria-pressed=true]{background:#28513f;color:white}
.op-driver-suggestion small{flex:1 1 230px}

.op-assignment-route{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.operational-form .op-assignment-route label{min-width:0}.op-assignment-route input{width:100%}@media(max-width:650px){.op-assignment-route{grid-template-columns:1fr}}

/* Compact continuation option, isolated from full-size form controls. */
.operational-form label.op-continue-duty{grid-column:1/-1;display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:8px;padding:8px 0;margin:0;font-size:11px;font-weight:400;line-height:1.5;color:#536c5d;cursor:pointer;text-align:left}
.operational-form .op-continue-duty input[type=checkbox]{appearance:auto;accent-color:#285442;flex:0 0 15px;align-self:flex-start;box-sizing:border-box;width:15px;max-width:15px;height:15px;min-height:15px;margin:1px 0 0;padding:0;border-radius:3px;box-shadow:none;cursor:pointer}
.operational-form .op-continue-duty input[type=checkbox]:focus-visible{outline:2px solid #b59a54;outline-offset:3px}

.attendance-popup .attendance-filters :is(select,input,button){font:400 11px/1.4 system-ui,sans-serif;padding:5px 8px;min-height:30px;height:30px;border:1px solid #d9e2dc;border-radius:6px;color:#254c3d}.attendance-period select{width:125px}.attendance-popup .attendance-period .workspace-date-control{width:148px;max-width:100%}.attendance-filters button:disabled{opacity:.45;cursor:not-allowed}


/* Per-booking itinerary editor below End in the Sales form. */
.sales-itinerary-control{display:flex;align-items:center;gap:12px;min-width:0}.sales-itinerary-control>button{flex:none;font-size:12px;min-height:32px;padding:6px 12px}.sales-itinerary-summary{font-size:11px;color:#798574;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sales-itinerary-dialog{width:min(680px,calc(100vw - 32px))}.sales-itinerary-dialog form>label{display:block;font-size:12px;font-weight:600}.sales-itinerary-dialog form>p{margin:8px 0 12px;font-size:12px;line-height:1.6}.sales-itinerary-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:220px;max-height:45dvh;resize:vertical;border:1px solid #d8e2dc;border-radius:8px;padding:12px;font:400 13px/1.7 system-ui;color:#254134;background:#fff}.sales-itinerary-dialog textarea:focus{outline:2px solid #bb985255;outline-offset:2px}.sales-itinerary-dialog textarea[readonly]{background:#f7f9f5}.sales-itinerary-count{display:block;text-align:right;color:#798574;font-size:10px;margin-top:6px}.sales-itinerary-dialog .sales-dialog-actions{margin-top:14px}

/* Purchasing accommodation planner */
.purchasing-popup.hotel-planning-popup{width:min(1400px,calc(100vw - var(--sales-rail) - 38px));max-width:calc(100vw - 30px)}
.hotel-view-tabs{margin-top:4px!important}.hotel-quick-filters{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.hotel-quick-filters button{padding:5px 10px;font-size:11px;min-height:30px}
.hotel-filters{align-items:end}.hotel-filters label:first-child{flex:1 1 230px}.hotel-filters input[type=search]{width:100%}.hotel-filters select{max-width:180px}.hotel-help{font-size:11px;color:#667767;line-height:1.6;margin:9px 0 14px}.hotel-grid-scroll{max-height:55vh;overflow:auto;border:1px solid #e1e7dc;border-radius:8px}
.hotel-grid{width:100%;min-width:1100px!important}.hotel-grid th{position:sticky;top:0;z-index:2;background:#edf2e8!important;color:#254c3d!important}.hotel-grid th:first-child,.hotel-grid td:first-child{position:sticky;left:0;min-width:165px;max-width:210px;background:#fff;z-index:1;box-shadow:1px 0 #e1e7dc}.hotel-grid th:first-child{z-index:3;background:#edf2e8!important}.hotel-grid td{min-width:150px;line-height:1.6}.hotel-grid td small{display:block!important}.hotel-grid td button{font-size:10px;padding:3px 7px;min-height:26px;margin-top:7px}.hotel-grid td strong{font-weight:600!important}.hotel-status{display:inline-block;padding:2px 7px;border-radius:5px;font-size:10px;background:#f7ece7;color:#9c4b2d;margin:5px 0}.hotel-status.confirmed{background:#e8f3e8;color:#2c6e36}.hotel-status.ordered,.hotel-status.partial{background:#fff2d3;color:#8b651b}.hotel-status.review{background:#fae6e4;color:#a13b35}.hotel-outstanding td:nth-child(6){color:#a13b35;font-weight:600}.hotel-missing-dates{border:1px solid #e4d5af;border-radius:8px;padding:12px;margin-top:18px;font-size:12px;background:#fffdf5}.hotel-missing-dates summary{cursor:pointer;font-weight:600;color:#85651e}.hotel-day-guest{border-bottom:1px solid #e1e7dc;padding:10px 0}.hotel-reservation-dialog{max-height:86vh;overflow:auto}.hotel-reservation-dialog .purchasing-editor{grid-template-columns:1fr 1fr;gap:12px}.hotel-reservation-dialog .hotel-help,.hotel-reservation-dialog label:last-of-type,.hotel-reservation-dialog .sales-save-status,.hotel-reservation-dialog .sales-dialog-actions{grid-column:1/-1}
@media(max-width:700px){.purchasing-popup.hotel-planning-popup{width:calc(100vw - 24px)}.hotel-reservation-dialog .purchasing-editor{grid-template-columns:1fr}.hotel-filters label{flex:1 1 130px}.hotel-grid-scroll{max-height:50vh}}
@media(max-width:760px){.hotel-grid thead{display:table-header-group}.hotel-grid tbody tr{display:table-row;padding:0}.hotel-grid td{display:table-cell;grid-column:auto;grid-row:auto;text-align:left}.hotel-grid td:nth-child(n){grid-column:auto;grid-row:auto;text-align:left}}
.travel-ticket-popup .purchasing-results td small:last-child{display:block}.travel-ticket-notes{margin-top:5px;font-size:10px;line-height:1.5;white-space:pre-wrap;color:#647561}.travel-ticket-popup .purchasing-tabs{gap:15px;flex-wrap:wrap}.travel-ticket-popup .purchasing-filters select{max-width:180px}


.op-assignment-actions{display:flex!important;flex-wrap:wrap;gap:8px;margin:12px 0!important}.op-assignment-actions button{width:auto!important;min-height:34px!important;padding:8px 11px!important;border-radius:8px!important;border:1px solid #cad8c3!important;background:#fff!important;font-size:11px!important;line-height:1.4!important}.op-assignment-actions .op-assignment-change{color:#2e6245!important}.op-assignment-actions .op-assignment-cancel{color:#b44038!important;border-color:#ead0ca!important}.op-assignment-actions button:disabled{opacity:.5;cursor:not-allowed}.op-correction-form{display:grid;gap:14px}.op-correction-form label{display:grid;gap:7px;font-size:12px;color:#526a48}.op-correction-form select,.op-correction-form textarea{width:100%;box-sizing:border-box;border:1px solid #d2dfc9;border-radius:8px;padding:11px;font:13px system-ui;background:white;color:#2c4535}.op-correction-route{font-weight:600;line-height:1.6}.op-correction-current{background:#f3f6ed;border-radius:9px;padding:12px;font-size:12px;line-height:1.6}.op-correction-note{font-size:12px;color:#7a8772;line-height:1.7;margin:0}.op-correction-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:9px}.op-correction-actions button{min-height:40px;padding:9px 14px;font-size:12px}.op-correction-actions .danger{background:#b5463c;color:white;border-color:#b5463c}

.tower-geo-legend{flex-wrap:wrap;color:#526371!important;gap:14px!important}.tower-legend-feeder:before{border-color:#2563EB!important;border-top-width:3px!important}.tower-legend-crossing:before{border-color:#EA580C!important;border-top-width:3px!important}.tower-legend-onward:before{content:'';display:inline-block;vertical-align:middle;width:23px;border-top:3px solid #7C3AED;margin-right:7px}.tower-route-pax{border-color:#d7dced!important;color:#333e6b!important;font-weight:700!important;background:#fffffff7!important}
.tower-edge{stroke:#7C3AED!important;stroke-width:3.5px}.tower-edge.feeder{stroke:#2563EB!important}.tower-edge.crossing{stroke:#EA580C!important}.tower-legend-tour:before{border-color:#7C3AED!important;border-top-width:3px!important}
.tower-flow-caption{margin:7px 0 12px;color:#647466;font-size:12px}
.tower-daily-tours{margin:0 0 14px;padding:12px;border:1px solid #dfe7dc;border-radius:10px;background:#fffefa;color:#254c3d}
.tower-daily-tours>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.tower-daily-tours h3{margin:0;font-size:14px;font-weight:650}
.tower-tour-empty{margin:4px 0;color:#607161;font-size:11px}
.tower-tour-date{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #dce7da;border-radius:999px;background:#f1f6ef;color:#456352;font-size:11px;white-space:nowrap}
.tower-tour-date svg,.tower-tour-overview>svg,.tower-tour-actions svg{flex:none;width:14px;height:14px}
.tower-tour-grid{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.tower-daily-tour{flex:0 1 290px;max-width:100%;min-width:0;border:1px solid #dce8dc;border-radius:10px;background:#eef5ec}
.tower-tour-needs-driver{border-color:#ede0c5;background:#faf3e5}
.tower-daily-tour .tower-tour-overview{display:grid;width:100%;grid-template-columns:32px minmax(0,1fr) 14px;align-items:start;gap:7px;padding:9px 8px 6px;margin:0;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:left;box-shadow:none;cursor:pointer}
.tower-tour-overview>svg{margin-top:4px;color:#607b67}
.tower-tour-overview[aria-expanded=true]>svg{transform:rotate(180deg)}
.tower-daily-tour .tower-tour-overview:hover,.tower-tour-overview[aria-expanded=true]{background:#254c3d09}
.tower-tour-overview:focus-visible,.tower-tour-actions button:focus-visible{outline:2px solid #658d73;outline-offset:-2px}
.tower-tour-emblem{display:grid;place-items:center;width:32px;height:32px;border:1px solid #c1d6c5;border-radius:50%;background:#e1eee1;color:#355d48}
.tower-tour-emblem svg{width:18px;height:18px}
.tower-tour-needs-driver .tower-tour-emblem{background:#f7ecd5;border-color:#e5d4ad}
.tower-tour-name{min-width:0;overflow-wrap:anywhere}
.tower-tour-name strong{display:block;font-size:12px;font-weight:650;margin-bottom:4px}
.tower-tour-chips,.tower-tour-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.tower-tour-chip{display:inline-block;border-radius:999px;padding:2px 7px;background:#e6ede2;color:#375747;font-size:10px;font-weight:500;line-height:1.45}
.tower-tour-pax{background:#d7eadb;font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}
.tower-tour-actions{padding:0 8px 8px}
.tower-tour-actions button,.tower-tour-assignment-choice button{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:4px 8px;border:1px solid #bfd2c2;border-radius:999px;box-shadow:none;font:500 11px/1.4 system-ui,sans-serif;text-align:left;white-space:normal;cursor:pointer}
.tower-tour-actions .tower-tour-driver{background:#f9fcf8;color:#315a46}
.tower-tour-actions .tower-tour-assign{border-color:#dcbc78;color:#5e3e13;background:#f6dfa9}
.tower-tour-actions button:hover{filter:brightness(.96)}
.tower-tour-chip.tower-tour-pending{margin:1px 0 0 4px;color:#694a18;background:#f5e7c7}
.tower-tour-assignment-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e6ebe3;font-size:11px}
.tower-sharing-group{margin:0 0 8px;padding:0 8px 5px;background:#f5f8f2;border:1px solid #e1e9df;border-radius:8px}
.tower-sharing-group > button{min-height:24px;padding:3px 6px;margin-top:4px;font-size:11px}
.tower-sharing-guests{display:grid;max-height:170px;overflow:auto}
.tower-sharing-guests label{display:flex;align-items:center;gap:8px;margin:0;padding:5px 0;color:#254c3d;font-size:11px}
.tower-sharing-guests input[type=checkbox]{inline-size:16px;block-size:16px;min-height:0;flex:none;margin:0;accent-color:#315846}
.tower-sharing-guests small{display:block;color:#607161;overflow-wrap:anywhere}
.tower-tour-assignment-choice small{display:block;color:#607161;overflow-wrap:anywhere}
.tower-tour-detail{width:min(100%,588px);margin-top:8px;padding:8px;border:1px solid #d7e5d9;border-radius:8px;background:#eff5ed}
.tower-transfer-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#506d5a;margin-top:4px}
.tower-transfer-rail{display:block;margin-top:3px;color:#506d5a;font-weight:400}
.tower-tour-detail h4{margin:0 0 5px;font-size:12px;font-weight:650}
.tower-tour-detail .tower-tour-types{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:11px;color:#375445;background:#fbfdf9}
.tower-tour-types :is(th,td){min-width:0;padding:5px 7px;border-bottom:1px solid #e6ebe3;text-align:left;overflow-wrap:anywhere}
.tower-tour-types thead th:nth-child(2){width:38px}
.tower-tour-types thead th{color:#486650;background:#e7f0e6;font-weight:550}
.tower-tour-types tbody th{font-weight:500}
@media(max-width:550px){
 .tower-daily-tours{padding:9px}
 .tower-tour-types thead{display:table-header-group}
 .tower-tour-types tr{display:table-row}
 .tower-tour-types :is(th,td){display:table-cell}
}

/* Keep the same compact refresh control beside window controls in every Operational tab. */
.operational-page>.op-window-head{gap:12px;min-height:56px;box-sizing:border-box}
.operational-page>.op-window-head>.op-window-title{min-width:0}
.operational-page>.op-window-head>.op-window-actions{position:static;top:auto;z-index:auto;flex:0 0 auto;flex-wrap:nowrap;gap:5px;margin:0 0 0 auto;padding:0;min-height:30px;border:0;background:transparent}
.operational-page>.op-window-head>.workspace-window-actions{margin-left:0}
.operational-page>.op-window-head .op-window-actions button.sales-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-width:30px;min-height:30px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#6a8171}
.operational-page>.op-window-head .op-window-actions button.sales-icon-button:hover:not(:disabled){background:#eaf0e6}
.operational-page>.op-window-head .op-window-actions button:focus-visible{outline:2px solid #b79b58;outline-offset:2px}
@media(pointer:coarse){.operational-page>.op-window-head .op-window-actions button.sales-icon-button{flex-basis:40px;width:40px;height:40px;min-width:40px;min-height:40px}}

/* Scheduled guests requiring Sales review remain visible but unassignable. */
.op-pending-guests{margin:0 18px 14px;padding:14px 16px;border:1px solid #dfc48b;border-radius:12px;background:#fff8e9;color:#654c1e}.op-pending-guests>strong{display:block;font-size:14px}.op-pending-guests p{margin:6px 0;font-size:13px;line-height:1.5}.op-pending-guests ul{list-style:none;margin:8px 0 0;padding:0}.op-pending-guests li+li{margin-top:6px}.op-pending-guests button{width:100%;padding:8px 10px;text-align:left;white-space:normal;line-height:1.5;border-color:#dfc48b;background:#fff;color:inherit;font-size:13px}

.poa-notice{padding:10px 12px;border-left:3px solid #b18738;background:#fff8e8;color:#684f23;font-size:12px;line-height:1.6;white-space:pre-wrap}.poa-editor{display:grid;gap:10px}.poa-editor label{display:grid;gap:5px;font-size:11px}.poa-editor input,.poa-editor select,.poa-editor textarea{min-height:30px;font:12px system-ui;padding:5px 8px;box-sizing:border-box;width:100%}

/* Keep all window controls together at the right edge: minimize, full screen, close. */
.workspace-window-actions>button.workspace-window-control{flex:0 0 28px;width:28px!important;height:28px;min-width:28px;min-height:28px!important;margin:0!important;padding:4px!important;box-shadow:none!important}
.workspace-window-actions>button.workspace-window-close{color:#cf4141}
.workspace-window-actions>button.workspace-window-close:hover{background:#fbecec!important}
.workspace-window-actions>button.workspace-window-control:focus-visible{outline:2px solid #b79b58;outline-offset:2px}

/* City departures share the regular guest table; destination headings replace extra tabs. */
.op-departure-group td{background:#f5f8f1;padding:9px 10px!important;color:#365744}.op-departure-group strong{font-size:12px;font-weight:600}.op-departure-group span{margin-left:12px;font-size:10px;color:#809075}.op-departure-time{white-space:nowrap}.op-departure-workspace .op-guest-table{min-width:760px}.op-departure-workspace{grid-template-columns:minmax(0,1fr) 330px}@media(max-width:1000px){.op-departure-workspace{grid-template-columns:1fr}.op-departure-workspace .op-allocation-pane{border-left:0;padding-left:0}}

/* Compact assignment availability and explicit cross-city pickup. */
.op-resource-policy{grid-column:1/-1;border-top:1px solid #dbe3d8;padding:10px 0;display:grid;gap:8px;font-size:13px}
.op-resource-policy>label,.op-resource-policy div>label{display:flex;align-items:center;gap:8px;margin:0}
.op-resource-policy input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:0 0 16px;margin:0;accent-color:#24543e}
.op-resource-policy [hidden]{display:none!important}.op-resource-policy div{display:grid;gap:8px}
.op-resource-summary{margin:0;color:#607064;font-size:12px}.op-capacity-summary{display:block;margin-top:5px;color:#53654f;font-size:12px;line-height:1.5}
.op-cross-city-note{display:block;padding:5px 0;color:#6b5728;font-size:12px}

/* Compact operations manifest */
.operational-manifest{width:min(970px,94vw)}
.manifest-toolbar,.manifest-copy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.manifest-toolbar .manifest-copy-actions{margin-right:auto}
.manifest-status:empty{display:none}
.manifest-status{margin:8px 0;color:#315b43}
.manifest-compact-head{padding:12px 0 16px}
.manifest-compact-head h3{margin:6px 0;font-size:18px;color:#254c3d}
.manifest-compact-head p{margin:0;color:#61746a}
.manifest-table-wrap{overflow:auto;border:1px solid #e0e6dd;border-radius:9px}
.manifest-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.4}
.manifest-table th,.manifest-table td{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid #e0e6dd;overflow-wrap:anywhere}
.manifest-table th{background:#f4f7f2;color:#536550;font-weight:600}
.manifest-table tr:last-child td{border-bottom:0}
.manifest-table td:first-child,.manifest-table td:nth-child(3){white-space:nowrap}
.manifest-table a{color:#235640;text-decoration:underline}
.manifest-estimated{display:block;color:#735526;font-size:11px}
.manifest-guest-extra{margin-top:4px;color:#61746a}
.manifest-guest-extra summary{cursor:pointer;font-size:12px}
.manifest-guest-extra p,.manifest-payment{margin:4px 0;font-size:12px}
.manifest-payment{padding:3px 6px}
.manifest-notes{white-space:pre-wrap}
@media(max-width:620px){
 .manifest-table,.manifest-table tbody,.manifest-table tr{display:block}
 .manifest-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .manifest-table tr{padding:8px 10px;border-bottom:1px solid #e0e6dd}
 .manifest-table tr:last-child{border-bottom:0}
 .manifest-table td{display:grid;grid-template-columns:104px minmax(0,1fr);gap:4px 8px;border:0;padding:4px 0;white-space:normal}
 .manifest-table td::before{content:attr(data-label);grid-row:1 / span 3;color:#536550;font-size:11px}
 .manifest-table td>*{grid-column:2}
}

.sales-schedule-date{width:100%;min-width:0}.sales-schedule-date input{min-width:0;width:100%}.sales-schedule-date .sales-date-native{width:34px;min-width:34px;padding:4px;cursor:pointer}

.cash-form .joint-cost-approval{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:12px;line-height:1.5;cursor:pointer}.cash-form .joint-cost-approval input[type=checkbox]{appearance:auto;box-sizing:border-box;flex:0 0 16px;width:16px!important;min-width:16px;max-width:16px;height:16px!important;min-height:16px!important;margin:1px 0 0;padding:0;accent-color:#244f40;box-shadow:none;cursor:pointer}.joint-cost-approval input:focus-visible{outline:2px solid #ad8a43;outline-offset:3px}.joint-cost-components select{min-width:140px;max-width:230px}

.workspace-window-fullscreen.workspace-window-with-menu{left:var(--workspace-sidebar-inset,250px)!important;width:calc(100vw - var(--workspace-sidebar-inset,250px))!important}.hotel-fill-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hotel-fill-colors select{width:100%}

.booking-notification-button{position:relative;margin-right:5px}.booking-notification-badge{position:absolute;top:-5px;right:-7px;min-width:16px;padding:2px 4px;border-radius:12px;background:#ad3b38;color:#fff;font-size:10px;line-height:12px}.booking-notification-badge[hidden]{display:none}.booking-notification-item{padding:16px 0;border-bottom:1px solid #d6e0d1}.booking-notification-item>p{font-size:12px;color:#70836e}.booking-notifications td{overflow-wrap:anywhere;max-width:360px}

/* Operational journey planning: same compact scale as Sales and Purchasing. */
.operational-page.journey-page>.op-window-head{min-height:40px;padding:6px 12px}
.journey-page>.op-page-tabs{gap:16px;padding:0 12px;overflow-x:auto;white-space:nowrap}
.journey-page>.op-page-tabs button{min-height:32px;padding:8px 0;flex:none}
.journey-page .operational-results{padding:10px 12px 12px;overflow:auto;font-size:11px;line-height:1.45}
.journey-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin:0 0 8px}
.journey-filters label{display:grid;gap:4px;min-width:0;font-size:10px;font-weight:500}
.journey-filters>input[type=date]{flex:0 0 148px;width:148px}
.journey-filters>input[type=search]{flex:1 1 220px;max-width:440px}
.journey-filters>select{flex:0 1 160px;width:160px}
.journey-filters :is(input,select),.journey-actions select{height:30px;min-height:30px;padding:5px 8px;border:1px solid #d9e2dc;border-radius:6px;font:400 11px/1.4 system-ui;color:#254134;background:#fff}
.journey-summary{font-weight:500;color:#295640}
.journey-summary p{margin:6px 0;font-size:11px;line-height:1.45}
.journey-queue{margin:8px 0}
.journey-queue:empty{display:none}
.journey-crossings{padding:7px 10px;background:#f6f8f3;border:1px solid #e1e7dc;border-radius:6px;font-size:11px}
.journey-crossings summary{cursor:pointer;font-weight:500}
.journey-crossings p{margin:5px 0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.journey-actions.sales-form-toolbar{position:static;z-index:auto;flex-wrap:wrap;gap:6px;padding:0 0 8px;border:0}
.journey-actions.sales-form-toolbar button{min-height:30px;padding:5px 9px;font-size:11px;font-weight:500;border-radius:6px}
.journey-actions select{flex:0 1 280px;width:280px;max-width:100%}
.journey-leg-scroll{max-height:58dvh;border:1px solid #dfe6dc;border-radius:6px;overscroll-behavior:contain}
.journey-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:11px;line-height:1.4;color:#294b3e}
.journey-table th,.journey-table td{padding:6px 8px;text-align:left;border:0;border-bottom:1px solid #e3e9df;vertical-align:middle;font-size:11px;line-height:1.4}
.journey-table th{position:sticky;top:0;z-index:1;background:#edf2ed;color:#657a6b;font-size:10px;font-weight:600;white-space:nowrap}
.journey-table th:first-child,.journey-table td:first-child{width:36px;min-width:36px;padding:4px;text-align:center}
.journey-table th:nth-child(2),.journey-table td:nth-child(2){min-width:140px;max-width:180px}
.journey-table td:nth-child(3){min-width:220px;overflow-wrap:anywhere}
.journey-table td:nth-child(4){width:110px;white-space:nowrap;font-variant-numeric:tabular-nums}
.journey-table td:last-child{min-width:150px}
.journey-table strong{display:block;margin:0;font-size:11px;line-height:1.4;font-weight:600}
.journey-table small{display:block;max-width:none;margin-top:2px;font-size:10px;line-height:1.4;color:#71816d}
.journey-table tbody tr{cursor:default}
.journey-table tbody tr:hover td{background:#f6f9f2}
.journey-table tbody tr:has(input:checked) td{background:#eef4e9}
.journey-table tbody tr:last-child td{border-bottom:0}
.journey-table .journey-pick{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;cursor:pointer}
.journey-table input[type=checkbox]{appearance:auto;display:block;box-sizing:border-box;flex:0 0 16px;width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;max-height:16px;padding:0;margin:0;accent-color:#285442;cursor:pointer;box-shadow:none}
.journey-table .journey-pick:has(input:disabled),.journey-table input[type=checkbox]:disabled{cursor:not-allowed}
.journey-table input[type=checkbox]:focus-visible{outline:2px solid #b59a54;outline-offset:2px}
.journey-table button{display:block;min-height:28px;padding:4px 8px;margin:2px 0;font-size:11px;line-height:1.4;font-weight:500;border-radius:5px}
.journey-table .op-review{margin:0 0 3px;font-size:10px;line-height:1.4}
.journey-duties{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:8px;margin-top:14px}
.journey-duties>h3,.journey-queue>h3{grid-column:1/-1;margin:0 0 2px;font-size:12px;line-height:1.4}
.journey-duty,.journey-incomplete{min-width:0;padding:10px 12px;border:1px solid #dfe6dc;border-radius:6px;background:#f7f9f4;margin:8px 0;font-size:11px;line-height:1.45}
.journey-duties>.journey-duty{margin:0}
.journey-duty>strong,.journey-incomplete>strong{font-size:12px;font-weight:600}
.journey-duty p,.journey-incomplete p{margin:4px 0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.journey-duty small{font-size:10px;line-height:1.45}
.journey-duty .sales-form-toolbar{position:static;z-index:auto;flex-wrap:wrap;gap:5px;padding:0;margin:7px 0 0;border:0;background:transparent}
.journey-duty .sales-form-toolbar button{min-height:28px;padding:4px 8px;font-size:11px;font-weight:500;border-radius:5px}
.journey-duty .op-assignment-actions{gap:5px;margin:7px 0!important}
.journey-duty .op-assignment-actions button{min-height:28px!important;padding:4px 8px!important;border-radius:5px!important}
.journey-incomplete{background:#fff8e9}
/* Labeled assignment workflow: route, guests, resources, then review. */
.journey-editor{width:min(780px,calc(100vw - 24px));padding:12px 16px;font-size:11px}
.journey-editor .sales-dialog-head{margin-bottom:8px}
.journey-editor .sales-dialog-head h2{font-size:14px;font-weight:600}
.journey-editor form{padding:0;max-width:780px;margin-inline:auto}
.journey-editor section{margin-bottom:12px}
.journey-editor h3{margin:0;font-size:12px;line-height:1.4;font-weight:600}
.journey-editor p{margin:5px 0;font-size:11px;line-height:1.45}
.journey-editor .journey-route-preview{margin:0 0 12px;font-size:12px;font-weight:600;color:#285442;overflow-wrap:anywhere}
.journey-section-head{display:flex;align-items:center;gap:7px;margin:0 0 7px}
.journey-section-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;height:20px;border-radius:5px;background:#eaf0e5;color:#315442;font-size:11px;font-weight:600}
.journey-editor .journey-section-hint{margin:0 0 8px;color:#61746a;font-size:10px}
.journey-editor .journey-field{display:grid;gap:4px;min-width:0;margin:0;font-size:10px;font-weight:500;color:#61746a}
.journey-field-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:16px}
.journey-editor .journey-field-hint{font-size:10px;line-height:1.4;font-weight:400;color:#71816d}
.journey-editor input,.journey-editor select,.journey-editor textarea{width:100%;min-width:0;box-sizing:border-box;min-height:30px;padding:5px 8px;border:1px solid #d9e2dc;border-radius:6px;font:400 11px/1.4 system-ui;background:#fff;color:#254134}
.journey-editor input[type=datetime-local]{height:30px}
.journey-editor textarea{min-height:50px;resize:vertical}
.journey-editor input:disabled,.journey-editor select:disabled{background:#f3f5f3;color:#61746a;opacity:1}
.journey-editor form button{min-height:28px;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:500;line-height:1.4}
.journey-stop-list{display:grid;gap:7px;margin:0 0 7px}
.journey-stop-card{min-width:0;padding:7px 10px 9px;border:1px solid #dfe6dc;border-left:3px solid #8da98b;border-radius:6px;background:#f8faf6}
.journey-stop-card>header{display:flex;align-items:center;gap:6px;margin:0 0 6px}
.journey-stop-card>header>strong{font-size:11px;font-weight:600;color:#294b3e}
.journey-stop-number{font-size:10px;color:#71816d}
.journey-stop-fields{display:grid;grid-template-columns:minmax(180px,300px) minmax(110px,140px) minmax(205px,235px);gap:8px}
.journey-stop-actions{display:flex;align-items:center;gap:3px;margin-left:auto}
.journey-editor .journey-stop-actions button{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px;height:24px;min-height:24px;padding:3px;border:0;background:transparent;color:#647b6b}
.journey-stop-actions button:hover:not(:disabled){background:#e7eee1}
.journey-stop-actions button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.journey-zone{display:inline-flex;align-items:center;padding:1px 5px;border:1px solid #d8e2cf;border-radius:4px;background:#edf2e8;color:#36583e;font-size:10px;font-weight:600;line-height:1.3}
.journey-guest-scroll{overflow:auto;max-height:260px;border:1px solid #dfe6dc;border-radius:6px}
.journey-guest-table{min-width:560px;width:100%;border-collapse:separate;border-spacing:0;font-size:11px}
.journey-guest-table th,.journey-guest-table td{padding:6px 8px;vertical-align:middle;border:0;border-bottom:1px solid #e3e9df;text-align:left;font-size:11px;line-height:1.4}
.journey-guest-table th{position:sticky;top:0;background:#edf2ed;color:#657a6b;font-size:10px;font-weight:600}
.journey-guest-table tr:last-child td{border-bottom:0}
.journey-guest-table th:first-child{width:32%}
.journey-guest-table th:nth-child(2){width:72px}
.journey-guest-table strong{display:block;margin:0;font-size:11px;font-weight:600}
.journey-guest-table small{display:block;margin-top:2px;font-size:10px;line-height:1.4;color:#71816d}
.journey-guest-table input{width:56px}
.journey-resource-fields{display:grid;grid-template-columns:minmax(180px,230px) minmax(240px,340px);gap:8px}
.journey-extra-settings{margin-top:8px;border-top:1px solid #e3e9df;padding-top:7px}
.journey-extra-settings>summary{cursor:pointer;font-size:10px;font-weight:500;color:#61746a}
.journey-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.journey-extra-fields>.journey-field:last-child{grid-column:1/-1;max-width:600px}
.journey-extra-fields input[type=number]{width:80px}
.journey-filters>.op-date-trigger{width:150px;min-width:150px;min-height:30px!important;height:30px;padding:5px 8px!important;font-size:11px!important}
.journey-editor .op-date-trigger,.driver-routes-filters .op-date-trigger{min-height:30px!important;height:30px;padding:5px 8px!important;gap:6px;font-size:11px!important;border-radius:6px!important}
.journey-editor .op-date-trigger::after{display:none}
.journey-editor .op-date-trigger svg{width:14px;height:14px}
.journey-date-picker{width:min(300px,calc(100vw - 32px));padding:12px!important;border-radius:9px!important}
.journey-date-picker::backdrop{background:#18362725}
.journey-date-picker .sales-dialog-head{margin-bottom:7px}
.journey-date-picker .sales-dialog-head h2{font-size:12px!important}
.journey-date-picker .workspace-window-control:not(.workspace-window-close){display:none!important}
.journey-date-picker .op-picker-nav{margin:8px 0}
.journey-date-picker .op-picker-time{margin:12px 0 0}
.op-picker-clock{display:flex;align-items:center;gap:5px}
.op-picker-clock select{width:62px;height:30px;padding:4px 7px;border:1px solid #dce3d6;border-radius:5px;background:#fff;font-size:12px;color:#294c3e}
.journey-date-picker .op-picker-actions{margin-top:10px;padding-top:9px}
.journey-date-picker .op-picker-error:empty{display:none}
.journey-assignment-summary{padding:9px 11px;background:#f4f7f0;border:1px solid #dce5d5;border-radius:6px}
.journey-summary-details{display:grid;grid-template-columns:120px minmax(0,1fr);gap:4px 10px;margin:7px 0;font-size:11px;line-height:1.45}
.journey-summary-details dt{color:#61746a}
.journey-summary-details dd{margin:0;overflow-wrap:anywhere;color:#294b3e}
.journey-capacity-neutral{color:#61746a}
.journey-capacity-ok{color:#315b43}
.journey-editor .journey-form-footer{position:sticky;bottom:-12px;display:flex;justify-content:flex-end;gap:7px;padding:8px 0;background:#fff;border-top:1px solid #e1e7dd;z-index:2}
.journey-editor .journey-form-footer button{min-height:30px;padding:5px 12px}
.journey-editor form>.op-review:empty{display:none}
@media(max-width:760px){
 .journey-stop-fields{grid-template-columns:1fr 1fr}
 .journey-stop-fields>.journey-field:first-child{grid-column:1/-1}
 .journey-extra-fields{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .journey-page .operational-results{padding:8px}
 .journey-filters>input[type=search]{order:3;flex-basis:100%;max-width:none}
 .journey-actions select{flex:1 1 190px}
 .journey-editor{padding:10px 12px}
 .journey-resource-fields,.journey-extra-fields{grid-template-columns:1fr}
 .journey-stop-fields{grid-template-columns:1fr}
 .journey-summary-details{grid-template-columns:1fr;gap:2px}
 .journey-summary-details dd{margin-bottom:5px}
}

/* Sales Performance shares the compact Sales shell, controls and table. */
.sales-performance-dialog>.sales-dialog-head{padding:13px 22px;margin:0;border-bottom:1px solid #e3e9e5;background:#f6f8f6}
.sales-performance-dialog>.sales-dialog-head h2{font-size:13px;font-weight:600}
.sales-performance-body{min-height:0;font-size:11px}
.sales-performance-body p{font-size:11px;line-height:1.5;margin:8px 0}
.sales-performance-body .sales-performance-status:empty,.sales-performance-target p:empty{display:none}
.sales-performance-filters{margin:0 0 10px}
.sales-performance-filters label:first-child{flex:0 1 160px;min-width:140px;width:160px}
.sales-performance-filters label:nth-child(2){flex:0 1 310px;width:310px}
.sales-performance-filters input,.sales-performance-filters select,.sales-performance-target input,.sales-performance-record-filter{width:100%;min-width:0;height:30px;min-height:30px;padding:5px 8px;border:1px solid #d9e2dc;border-radius:6px;font:inherit;font-size:11px;background:#fff;color:#213b30}
.sales-performance-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px;margin:8px 0 10px}
.sales-performance-metrics article{padding:8px 10px;background:#f3f5f3;border:1px solid #e5e9e6;border-radius:6px;min-width:0}
.sales-performance-metrics small,.sales-performance-metrics strong{display:block}
.sales-performance-metrics small{font-size:10px;color:#6a7d74;line-height:1.4}
.sales-performance-metrics strong{font-size:14px;font-weight:600;line-height:1.4;margin-top:3px;color:#254c3d;overflow-wrap:anywhere}
.sales-performance-target{align-items:end;margin:8px 0 10px;gap:8px}
.sales-performance-target label{display:grid;gap:4px;font-size:10px;font-weight:500}
.sales-performance-target input{width:180px;max-width:100%}
.sales-performance-body .sales-notice{padding:7px 10px;border-radius:6px;margin:8px 0 10px}
.sales-performance-record-filter{width:min(300px,100%);margin:0 0 8px}
.sales-performance-scroll{max-height:calc(100dvh - 440px)}
.sales-performance-scroll table{width:100%}
@media(max-width:760px){.sales-performance-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.sales-performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-performance-dialog>.sales-dialog-head{padding:12px}}

.sales-performance-body .sales-notice button{border:0;background:transparent;color:#286349;font:inherit;padding:0;text-decoration:underline;min-height:0;width:auto}

/* Compact route references and actionable assignment warnings. */
.journey-timing-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}.journey-timing-actions button,.journey-warning button{font-size:11px;min-height:28px;padding:4px 8px;width:auto}
.journey-warning{margin:7px 0;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;color:#986117}.journey-warning .journey-warning-link{border:0;background:transparent;color:#986117;padding:2px 0;text-align:left;font-weight:600;white-space:normal;min-height:26px}.journey-warning-link:hover{text-decoration:underline}.journey-warning-link:focus-visible{outline:2px solid #b7964f;outline-offset:3px}.journey-warning small{flex-basis:100%;font-size:10px;color:#627568}.journey-warning .op-icon-button{width:28px;height:28px}
.route-timing-master{width:min(780px,95vw)!important}.route-timing-editor{width:min(620px,95vw)!important}.route-timing-master p,.route-timing-editor p{font-size:11px;line-height:1.45}.route-timing-filters{display:flex;gap:8px;margin:10px 0}.route-timing-filters input{width:240px!important}.route-timing-filters select{width:180px!important}.route-timing-list{max-height:55vh;overflow:auto}.route-timing-master table,.route-timing-editor table{width:100%;border-collapse:collapse;font-size:11px}.route-timing-master td,.route-timing-master th,.route-timing-editor td,.route-timing-editor th{padding:8px;text-align:left;border-bottom:1px solid #dce4d9;vertical-align:middle}.route-timing-master th,.route-timing-editor th{background:#f3f6ef}.route-timing-editor td small{display:block;color:#73816e;font-size:10px}.route-timing-editor input[type=number]{width:65px!important;min-height:30px;padding:4px 6px}.route-timing-clock{display:flex;align-items:center;gap:4px}.route-timing-clock select{width:56px!important;min-height:30px;padding:4px}.route-timing-title{font-weight:600}.route-timing-footer{display:flex;justify-content:flex-end;gap:6px;margin-top:14px}.route-timing-footer button{font-size:11px;min-height:30px;padding:5px 10px}
.hotel-manifest-dialog{width:min(720px,95vw)!important}.hotel-manifest-content{max-height:65vh;overflow:auto;user-select:text;font-size:12px;line-height:1.5}.hotel-manifest-content section+section{margin-top:18px;border-top:1px solid #dce4d9;padding-top:14px}.hotel-manifest-content h3{font-size:14px;margin:0 0 4px}.hotel-manifest-content p{margin:2px 0}.hotel-manifest-content article{margin:10px 0;padding:8px 10px;border-left:2px solid #dce4d9}.hotel-manifest-summary{font-weight:600}.hotel-manifest-status{font-size:11px}
@media(max-width:600px){.route-timing-filters{flex-wrap:wrap}.route-timing-editor td,.route-timing-editor th{padding:5px}.route-timing-clock{flex-wrap:wrap}.route-timing-clock .journey-zone{font-size:10px}.route-timing-master td{overflow-wrap:anywhere}}

.op-route-filters{display:flex;gap:10px 16px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.op-route-filters .op-origins{margin:0}.op-drop-filters{border-left:1px solid #dae2d6;padding-left:12px}.op-filter-label{font-size:10px;color:#63745f}.op-leg-drop{min-width:125px;max-width:220px}.op-leg-drop strong,.op-leg-drop span{display:block}.op-leg-drop span{font-size:10px;color:#71846a;margin-top:3px;overflow-wrap:anywhere}

/* Connected tour duties: compact route guidance and preceding-driver choices. */
.journey-chain-notice{padding:9px 12px;border:1px solid #dce5d8;border-radius:8px;background:#f5f8f2;font-size:11px;line-height:1.45}
.journey-chain-notice p{margin:4px 0 7px}.journey-chain-notice button{font-size:10px;padding:4px 8px;min-height:28px}
.journey-driver-suggestions{display:grid;gap:6px;font-size:11px;margin:0 0 8px}
.journey-driver-choice{display:grid;grid-template-columns:1fr auto;gap:3px 8px;align-items:center;border:1px solid #dce5d8;border-radius:6px;padding:7px 9px}
.journey-driver-choice small{grid-column:1;color:#637569}.journey-driver-choice button{grid-column:2;grid-row:1/3;font-size:10px;min-height:28px;padding:4px 8px}
@media(max-width:600px){.journey-driver-choice{grid-template-columns:1fr}.journey-driver-choice button{grid-column:1;grid-row:auto}}

.tower-edge.train{stroke:#0F766E!important;stroke-dasharray:10 4 2 4}.tower-legend-train:before{content:"";display:inline-block;vertical-align:middle;width:23px;border-top:3px double #0F766E;margin-right:7px}
/* Daily resource costs share the compact Sales/Purchasing visual scale. */
.bali-daily-cost-dialog{width:min(1240px,94vw);max-height:min(88dvh,calc(100dvh - 108px));overflow:auto;font-size:13px}
.bali-cost-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
.bali-cost-tools label{max-width:190px}.bali-cost-tools input{min-height:34px}
.bali-daily-cost-dialog table{font-size:12px;width:100%;border-collapse:collapse}
.bali-daily-cost-dialog th,.bali-daily-cost-dialog td{padding:8px;vertical-align:top;line-height:1.45}
.bali-daily-cost-dialog td:nth-child(3){white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.bali-daily-cost-dialog td:last-child{min-width:125px}.bali-daily-cost-dialog td button{padding:5px 8px;margin:3px 4px 0 0;min-height:30px;font-size:12px}
.bali-cost-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bali-booking-cost{background:#f5f8f3;border:1px solid #dce5d7;border-radius:10px;padding:12px;margin:10px 0 14px;font-size:13px}
.bali-booking-cost p{margin:8px 0}.bali-booking-cost td,.bali-booking-cost th{padding:6px 8px;font-size:12px}.bali-booking-cost td:last-child{text-align:right;white-space:nowrap}
.connected-journal .bali-booking-cost table{min-width:0;width:100%;table-layout:fixed}
.connected-journal .bali-booking-cost th,.connected-journal .bali-booking-cost td{min-width:0;max-width:none;white-space:normal;position:static}
.connected-journal .bali-booking-cost th:first-child{width:27%}.connected-journal .bali-booking-cost th:nth-child(2){width:48%}.connected-journal .bali-booking-cost th:last-child{width:25%;text-align:right}
.connected-journal .bali-booking-cost td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.bali-booking-cost .accounting-table-scroll{min-height:0;max-height:none}
.bali-cost-badge{display:inline-block;background:#e7eee4;border-radius:5px;padding:3px 7px;font-size:12px;font-weight:600;color:#2b5441}
.bali-cost-warning{color:#986a20;margin-top:4px}.bali-cost-totals{padding:10px;background:#f2f6ef;border-radius:8px;font-weight:600}

/* Booking notifications follow the compact workspace typography and table layout. */
.booking-notifications-dialog{font-family:inherit;font-size:12px;padding:0;width:min(920px,calc(100vw - 36px));overflow:hidden}
.booking-notifications-dialog>.sales-dialog-head{padding:13px 20px;margin:0;border-bottom:1px solid #e3e9e5;background:#f6f8f6}
.booking-notifications-dialog>.sales-dialog-head h2{font:600 13px/1.4 system-ui,sans-serif;letter-spacing:normal}
.booking-notifications-dialog>p{margin:10px 20px;font-size:11px;line-height:1.5}
.booking-notifications-dialog>.booking-notifications{padding:0 20px;max-height:calc(100dvh - 300px)}
.booking-notifications-dialog .booking-notification-item{padding:12px 0;border-bottom:1px solid #e3e9e5}
.booking-notifications-dialog .booking-notification-item>strong{font-size:12px;font-weight:600}
.booking-notifications-dialog .booking-notification-item>p{font-size:11px;line-height:1.5;margin:5px 0 8px}
.booking-notifications-dialog .booking-notification-item>button{font:inherit;font-size:11px;min-height:30px;padding:5px 10px;margin:8px 6px 0 0;border:1px solid #d9e2dc;border-radius:6px;background:#fff;color:#254134}
.booking-notifications-dialog table{table-layout:fixed;min-width:0;width:100%;font-size:11px;border:1px solid #e3e9e5}
.booking-notifications-dialog thead{display:table-header-group}
.booking-notifications-dialog tbody{display:table-row-group}
.booking-notifications-dialog tr{display:table-row}
.booking-notifications-dialog th,.booking-notifications-dialog td{display:table-cell;padding:7px 10px;text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;border-bottom:1px solid #e3e9e5;max-width:none}
.booking-notifications-dialog th{position:static;background:#edf2ed;color:#6f8272;font-weight:600}
.booking-notifications-dialog th:first-child{width:22%}
.booking-notifications-dialog th:nth-child(2),.booking-notifications-dialog th:nth-child(3){width:39%}
.booking-notifications-dialog>.sales-dialog-actions{margin:0;padding:10px 20px;border-top:1px solid #e3e9e5}
.booking-notifications-dialog>.sales-dialog-actions button{font-size:11px;min-height:30px;padding:5px 10px}

/* Keep route standard clocks visible beside long hotel addresses. */
.route-timing-editor table{table-layout:fixed;min-width:0!important;max-width:100%}
.route-timing-editor th:nth-child(2),.route-timing-editor td:nth-child(2){width:78px;box-sizing:border-box}
.route-timing-editor th:nth-child(3),.route-timing-editor td:nth-child(3){width:178px;box-sizing:border-box}
.route-timing-editor td:first-child,.route-timing-title,.route-timing-areas{overflow-wrap:anywhere;white-space:normal}
.route-timing-editor .route-timing-clock{min-width:0;flex-wrap:nowrap}
.route-timing-editor .route-timing-clock select{flex:0 0 52px;width:52px!important;min-width:0!important;box-sizing:border-box}
.route-timing-editor .route-timing-clock .journey-zone{flex:none;white-space:nowrap}
@media(max-width:480px){
 .route-timing-editor table thead,.route-timing-editor table>tr{display:none}
 .route-timing-editor table tr{display:grid;grid-template-columns:78px minmax(0,1fr)}
 .route-timing-editor table td:first-child{grid-column:1/-1;width:auto}
 .route-timing-editor table td:nth-child(2),.route-timing-editor table td:nth-child(3){width:auto}
 .route-timing-editor table td:nth-child(2):before{content:'Day +';display:block;font-size:10px;margin-bottom:4px}
 .route-timing-editor .route-timing-clock{justify-content:flex-end}
}


/* Duty records: keep controls visible; scroll records in their own viewport. */
.workspace:has(.operational-workspace>.attendance-popup){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.workspace:has(.operational-workspace>.attendance-popup)>.topbar{flex-shrink:0}
.module-main:has(>.operational-workspace>.attendance-popup){flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.operational-workspace:has(>.attendance-popup){display:flex;flex:1;min-height:0}
.operational-workspace>.operational-page.attendance-popup{display:flex;flex-direction:column;flex:1;min-height:0;height:100%;overflow:auto}
.operational-page.attendance-popup>:not(.attendance-panel){flex-shrink:0}
.attendance-popup>.attendance-panel{display:flex;flex-direction:column;flex:1;min-height:160px;overflow:hidden}
.attendance-panel>.attendance-filters,.attendance-panel>.attendance-summary,.attendance-panel>p{flex-shrink:0}
.attendance-popup .attendance-panel>p,.attendance-popup .attendance-table-scroll>p{margin:6px 0;font-size:11px}
.attendance-popup .attendance-table-scroll{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.attendance-popup .attendance-table{border-collapse:separate;border-spacing:0}
.attendance-popup .attendance-table thead th{position:sticky;top:0;z-index:2;background:#f4f7f1;box-shadow:0 1px 0 #dce0d4}


/* Dispatch optimisation follows the existing compact KYMAWARI operational UI. */
.journey-crossings{padding:8px 10px;background:#f7f9f4;border:1px solid #dfe6dc;border-radius:7px;color:#294b3e;font-size:11px;line-height:1.45}
.journey-crossings>summary{display:flex;align-items:center;gap:6px;min-height:26px;font-size:11px;font-weight:600;color:#315442;cursor:pointer}
.journey-crossings>p{margin:5px 0 8px!important;font-size:10px!important;color:#61746a}
.journey-crossings>label{display:flex!important;align-items:center;gap:8px;width:max-content;max-width:100%;margin:5px 0 7px!important;font-size:10px!important;color:#61746a}
.journey-crossings>label input[type=number]{width:64px!important;max-width:64px;height:28px;min-height:28px;padding:4px 7px;border:1px solid #d9e2dc;border-radius:6px;background:#fff;color:#294b3e;font-size:11px}
.journey-crossings>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:7px}
.journey-crossings .journey-duty{margin:0;padding:8px 10px;background:#fff;border:1px solid #dfe6dc;border-radius:6px;font-size:10px}
.journey-crossings .journey-duty>strong{font-size:11px}
.journey-crossings .journey-duty p,.journey-crossings .journey-duty small{font-size:10px;line-height:1.4}
.journey-crossings .journey-duty button{min-height:27px;padding:4px 9px;font-size:10px;border-radius:5px}
.journey-midroute-opportunities{margin:7px 0;padding:7px 9px;background:#f5f8f2;border:1px solid #dce5d8;border-radius:6px}
.journey-midroute-opportunities>summary{font-size:10px;font-weight:600;color:#315442;cursor:pointer}
.journey-midroute-opportunities .journey-driver-choice{margin:6px 0 0;padding:7px 9px;background:#fff;border:1px solid #dfe6dc;border-radius:6px}
.journey-midroute-opportunities .journey-driver-choice strong{display:block;font-size:11px;font-weight:600}
.journey-midroute-opportunities .journey-driver-choice small{display:block;margin-top:3px;font-size:10px;line-height:1.4;color:#61746a;overflow-wrap:anywhere}
.journey-midroute-opportunities .journey-driver-choice button{min-height:27px;margin-top:6px;padding:4px 9px;font-size:10px;border-radius:5px}
.journey-editor .journey-midroute-opportunities{margin:7px 0 10px}
@media(max-width:680px){.journey-crossings>div{grid-template-columns:1fr}.journey-crossings>label{flex-wrap:wrap}}


/* General Ledger totals and ending balance follow the bottom-summary reference. */
.financial-ledger-account .financial-ledger-total td{font-weight:700;background:#f5f8f3;border-top:1px solid #bfcbbf}
.financial-ledger-account .financial-ledger-ending td{font-weight:700;background:#edf2ed;border-top:2px solid #294b3e;border-bottom:2px solid #294b3e}
.financial-ledger-account .financial-ledger-ending td:first-child{text-align:right;white-space:nowrap}
.financial-ledger-account .financial-ledger-ending td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.financial-ledger-heading .financial-ledger-opening{font-size:12px;color:#526a5c}
.financial-ledger-heading .financial-ledger-opening strong{font-size:13px;color:#294b3e;font-variant-numeric:tabular-nums}


/* Compact actionable Booking Notification inbox. Scope to this dialog only. */
.booking-notifications-dialog{width:min(700px,calc(100vw - 24px));max-height:min(90dvh,850px)}
.booking-notifications-dialog[open]{display:flex;flex-direction:column}
.booking-notifications-dialog>.sales-dialog-head{flex:none;padding:10px 14px}
.booking-notifications-dialog>.notification-tabs{display:flex;gap:4px;flex:none;padding:10px 14px 4px;flex-wrap:wrap}
.booking-notifications-dialog .notification-tab{background:#f3f5f3;border:1px solid #dce4dd;border-radius:5px;min-height:30px;padding:5px 9px;color:#365346;font-size:11px}
.booking-notifications-dialog .notification-tab.active,.booking-notifications-dialog .notification-tab[aria-pressed="true"]{background:#e3ede5;border-color:#8faf96;font-weight:700}
.booking-notifications-dialog>.notification-status{padding:2px 14px 8px;margin:0;font-size:11px;color:#60746a}
.booking-notifications-dialog>.booking-notifications{padding:0 14px;overflow:auto;flex:1;min-height:80px;max-height:none}
.booking-notifications-dialog .booking-notification-item{padding:0;border-bottom:1px solid #e3e9e5}
.booking-notifications-dialog .booking-notification-item.is-unread{border-left:3px solid #4f8260}
.booking-notifications-dialog .booking-notification-item.needs-action{border-left:3px solid #b6812e}
.booking-notifications-dialog .booking-notification-item>.notification-trigger{display:block;width:100%;min-height:76px;padding:9px 9px 9px 12px;text-align:left;color:inherit;border:0;background:transparent;border-radius:0;position:relative;font:inherit;cursor:pointer}
.booking-notifications-dialog .notification-trigger:hover{background:#f4f8f5}
.booking-notifications-dialog .notification-trigger:focus-visible,.booking-notifications-dialog .notification-tab:focus-visible,.booking-notifications-dialog .notification-links button:focus-visible{outline:2px solid #176e49;outline-offset:-2px}
.booking-notifications-dialog .notification-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-right:14px}
.booking-notifications-dialog .notification-heading strong{font-size:12px;font-weight:650;line-height:1.3}
.booking-notifications-dialog .notification-heading time{font-size:10px;color:#647468;flex-shrink:0}
.booking-notifications-dialog .notification-identity{font-size:11px;color:#344e3e;margin:2px 14px 0 0;overflow-wrap:anywhere}
.booking-notifications-dialog .notification-summary{font-size:11px;color:#5f7065;line-height:1.4;margin:3px 14px 1px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.booking-notifications-dialog .notification-meta{font-size:10px;color:#708278}
.booking-notifications-dialog .notification-chevron{position:absolute;right:10px;bottom:8px;font-size:14px;color:#526c59}
.booking-notifications-dialog .notification-empty{padding:22px 12px;color:#68776c;text-align:center;font-size:11px}
.booking-notifications-dialog .notification-details{padding:9px 12px 12px;background:#f8faf8;border-top:1px solid #e3ebe4}
.booking-notifications-dialog .notification-detail-caption{font-size:11px;font-weight:600;color:#445949;margin:0 0 8px}
.booking-notifications-dialog .notification-event{margin-top:8px;max-width:100%;overflow:hidden}
.booking-notifications-dialog .notification-event-meta{font-size:10px;color:#687a6c;margin:0 0 5px;overflow-wrap:anywhere}
.booking-notifications-dialog .notification-event table{font-size:10px}
.booking-notifications-dialog .notification-event th,.booking-notifications-dialog .notification-event td{padding:6px;overflow-wrap:anywhere}
.booking-notifications-dialog .notification-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.booking-notifications-dialog .notification-links button{font:inherit;font-size:11px;min-height:29px;padding:5px 9px;border:1px solid #d3ddd5;border-radius:5px;background:#fff;color:#254134}
.booking-notifications-dialog>.sales-dialog-actions{flex:none;padding:8px 14px}
@media(max-width:560px){
 .booking-notifications-dialog{width:calc(100vw - 12px);max-height:94dvh}
 .booking-notifications-dialog>.booking-notifications{padding:0 7px}
 .booking-notifications-dialog .notification-heading{flex-wrap:wrap;gap:2px 8px}
 .booking-notifications-dialog .notification-event table{display:block;overflow-x:auto}
 .booking-notifications-dialog .notification-event th,.booking-notifications-dialog .notification-event td{min-width:90px}
}
@media(prefers-reduced-motion:reduce){.booking-notifications-dialog *{scroll-behavior:auto;transition:none}}


/* Booking notifications: persistent read/unread state is explicit, not color-only. */
.booking-notifications-dialog .booking-notification-item.is-unread{background:#eef6f0;border-left:4px solid #237247}
.booking-notifications-dialog .booking-notification-item:not(.is-unread){background:#fff;border-left:4px solid transparent}
.booking-notifications-dialog .booking-notification-item.is-unread.needs-action{border-left-color:#a36a16}
.booking-notifications-dialog .booking-notification-item.is-unread .notification-heading strong{font-weight:750;color:#173c28}
.booking-notifications-dialog .booking-notification-item:not(.is-unread) .notification-heading strong{font-weight:550;color:#516458}
.booking-notifications-dialog .notification-read-status{display:inline-flex;align-items:center;gap:5px;margin:5px 14px 0 0;padding:2px 7px;border:1px solid #dbe4dd;border-radius:4px;background:#f5f6f5;color:#607267;font-size:10px;line-height:1.35;font-weight:500}
.booking-notifications-dialog .notification-read-status.notification-read-unread{background:#dcefe1;border-color:#9cc4a8;color:#18552f;font-weight:700}
.booking-notifications-dialog .notification-read-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#83988b;flex-shrink:0}
.booking-notifications-dialog .notification-read-unread .notification-read-dot{background:#247248}
.booking-notifications-dialog .booking-notification-item.is-unread .notification-trigger:hover{background:#e4f1e8}
.booking-notifications-dialog .notification-trigger:focus-visible{outline-offset:-3px}


/* Gmail-style notification reader: selectable message list + persistent preview pane. */
.booking-notifications-dialog{width:min(1080px,calc(100vw - 28px));max-height:min(90dvh,900px)}
.booking-notifications-dialog>.notification-bulk-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 14px;border-top:1px solid #e5ebe6;border-bottom:1px solid #e5ebe6;background:#fafcfb;flex:none}
.booking-notifications-dialog .notification-select-all{display:inline-flex;align-items:center;gap:6px;margin-right:auto;font-size:11px;color:#40584a;cursor:pointer}
.booking-notifications-dialog .notification-select-all input,.booking-notifications-dialog .notification-row-select input{width:14px;height:14px;accent-color:#267448;cursor:pointer}
.booking-notifications-dialog .notification-selected-count{font-size:10px;color:#6b7b70;white-space:nowrap}
.booking-notifications-dialog .notification-bulk-action{font:inherit;font-size:10px;min-height:29px;padding:5px 9px;border:1px solid #d3ddd5;border-radius:5px;background:#fff;color:#254134}
.booking-notifications-dialog .notification-bulk-action:disabled{opacity:.42;cursor:not-allowed}
.booking-notifications-dialog>.notification-workspace{display:grid;grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);gap:0;flex:1;min-height:260px;overflow:hidden}
.booking-notifications-dialog>.notification-workspace>.booking-notifications{padding:0;max-height:none;min-height:0;overflow:auto;border-right:1px solid #e1e8e2}
.booking-notifications-dialog .notification-row{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:stretch}
.booking-notifications-dialog .notification-row-select{display:flex;justify-content:center;align-items:flex-start;padding-top:17px;cursor:pointer}
.booking-notifications-dialog .notification-row .notification-trigger{min-width:0}
.booking-notifications-dialog .booking-notification-item.is-preview-selected{background:#e9f1eb}
.booking-notifications-dialog .booking-notification-item.is-preview-selected .notification-trigger{background:#e9f1eb}
.booking-notifications-dialog .notification-preview{min-width:0;overflow:auto;padding:15px 17px;background:#fff}
.booking-notifications-dialog .notification-preview-empty{display:flex;align-items:center;justify-content:center;min-height:180px;height:100%;font-size:11px;color:#829087;text-align:center;line-height:1.5}
.booking-notifications-dialog .notification-preview-kicker{font-size:9px;letter-spacing:.07em;font-weight:700;color:#738479;margin:0 0 7px}
.booking-notifications-dialog .notification-preview-title{font-size:14px;line-height:1.35;margin:0 0 4px;color:#263f31;overflow-wrap:anywhere}
.booking-notifications-dialog .notification-preview-guest{font-size:12px;font-weight:600;margin:0 0 7px;color:#40594a}
.booking-notifications-dialog .notification-preview-meta{font-size:10px;color:#738177;margin:8px 0 12px}
.booking-notifications-dialog .notification-preview-message{font-size:11px;line-height:1.5;color:#42594b;padding:8px 9px;background:#f5f8f5;border-radius:5px;white-space:pre-wrap}
.booking-notifications-dialog .notification-preview-section-title{font-size:11px;margin:15px 0 7px;color:#344d3d}
.booking-notifications-dialog .notification-preview table{width:100%;min-width:0;font-size:10px;table-layout:fixed}
.booking-notifications-dialog .notification-preview th,.booking-notifications-dialog .notification-preview td{padding:6px;overflow-wrap:anywhere;white-space:pre-wrap;vertical-align:top}
.booking-notifications-dialog .notification-preview th:first-child{width:25%}
.booking-notifications-dialog .notification-preview-event{padding:7px 0;border-top:1px solid #e8eee9;font-size:10px;line-height:1.45;color:#52655a}
.booking-notifications-dialog .notification-preview-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;padding-top:10px;border-top:1px solid #e3e9e4}
.booking-notifications-dialog .notification-preview-actions button{font:inherit;font-size:10px;min-height:29px;padding:5px 9px;border:1px solid #d3ddd5;border-radius:5px;background:#fff;color:#254134}
.booking-notifications-dialog .notification-preview-actions button:focus-visible,.booking-notifications-dialog .notification-bulk-action:focus-visible{outline:2px solid #176e49;outline-offset:2px}
@media(max-width:720px){
 .booking-notifications-dialog>.notification-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,0.9fr) minmax(180px,1.1fr);overflow:auto}
 .booking-notifications-dialog>.notification-workspace>.booking-notifications{border-right:0;border-bottom:1px solid #e1e8e2;max-height:none}
 .booking-notifications-dialog .notification-preview{min-height:180px}
}
@media(max-width:440px){
 .booking-notifications-dialog>.notification-bulk-toolbar{gap:5px;padding:7px}
 .booking-notifications-dialog .notification-bulk-action{font-size:9px;padding:4px 6px}
 .booking-notifications-dialog .notification-preview{padding:11px}
}


/* Dispatch correction: compact passenger-slot selection for safe reallocation. */
.op-passenger-move-list{display:grid;gap:7px;max-height:280px;overflow:auto;min-width:0}
.op-passenger-move-group{min-width:0;margin:0;padding:8px;border:1px solid var(--border,#d8dfda);border-radius:6px}
.op-passenger-move-group legend{padding:0 4px;font-size:11px;font-weight:650;color:var(--text,#26362d)}
.op-passenger-move-slots{display:flex;flex-wrap:wrap;gap:6px}
.op-passenger-move-slot{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--border,#d8dfda);border-radius:5px;background:var(--surface-secondary,#f5f7f5);font-size:11px;cursor:pointer}
.op-passenger-move-slot input{width:13px;height:13px;margin:0;accent-color:var(--accent,#267448)}
.op-passenger-move-list>p{font-size:11px;color:var(--muted,#68776d);margin:4px 0}

.op-continuity{margin:6px 0;padding:7px 9px;border-left:3px solid #648b71;background:#f1f6f2;color:#365443;font-size:11px;line-height:1.45;overflow-wrap:anywhere}

.driver-portal-card .portal-handover-panel{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px solid #d9cba9;border-left:4px solid #b18738;border-radius:10px;background:#fffaf0;color:#4e432b}
.driver-portal-card .portal-handover-panel>strong{font-size:13px}
.driver-portal-card .portal-handover-panel>p{margin:0;overflow-wrap:anywhere}
.driver-portal-card .portal-handover-panel button{min-height:42px;padding:9px 12px;border-radius:8px;font:inherit;font-size:12px;cursor:pointer}
.driver-portal-card .portal-handover-panel button:disabled{opacity:.5;cursor:not-allowed}
.driver-portal-card .portal-handover-panel button:focus-visible{outline:2px solid #176e49;outline-offset:2px}

.op-dispatch-incident{display:grid;gap:6px;margin:8px 0;padding:9px 10px;border:1px solid #d8b9a0;border-left:3px solid #b36a35;border-radius:6px;background:#fff8f2;color:#59402f;font-size:11px;overflow-wrap:anywhere}
.op-dispatch-incident>p,.op-dispatch-incident>small{margin:0}
.op-dispatch-incident button{justify-self:start;min-height:28px;padding:5px 9px;font-size:10px}

.op-resource-blockers{margin:6px 0;padding:7px 9px;border:1px solid var(--border,#d8dfda);border-radius:6px;background:var(--surface-secondary,#f5f7f5);font-size:11px;line-height:1.45}
.op-resource-blockers>summary{cursor:pointer;font-weight:650;color:var(--text,#26362d)}
.op-resource-blockers>p{margin:6px 0 0;color:var(--muted,#68776d);overflow-wrap:anywhere}
.op-resource-blockers>p::before{content:"• ";color:var(--warning,#a66d25)}

.op-started-recovery .op-recovery-confirm{display:flex;align-items:center;gap:8px}
.op-started-recovery .op-recovery-confirm input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0}
.op-started-recovery .op-recovery-options>summary{cursor:pointer;font-weight:600}
.op-started-recovery .op-recovery-options[open]>summary{margin-bottom:8px}
.op-started-recovery .op-correction-current{margin:0}


.journey-page .journey-overview{display:grid;gap:12px;padding:14px 16px;margin:10px 0 14px;border:1px solid #dce5d9;border-radius:12px;background:#f4f7ef}
.journey-page .journey-summary{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;color:#244737}
.journey-page .journey-metric{display:flex;align-items:baseline;gap:7px}
.journey-page .journey-metric strong{font-size:21px;line-height:1.2;font-variant-numeric:tabular-nums}
.journey-page .journey-metric span{font-size:12px}
.journey-page .journey-status-filters{display:flex;gap:6px;flex-wrap:wrap}
.journey-page .journey-status-filter{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:5px 10px;min-height:32px;border:1px solid #d1dbcc;border-radius:8px;background:#fff;color:#254737;font-size:11px;font-weight:600}
.journey-page .journey-status-filter[aria-pressed=true],.journey-page .journey-primary-action:not(:disabled){background:#254b3a;color:#fff;border-color:#254b3a}
.journey-page .journey-status-count{padding:1px 5px;border-radius:5px;background:#eaf0e5;color:#254737;line-height:1.4}
.journey-page .journey-worklist-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:10px 0 4px}
.journey-page .journey-worklist-heading h3{margin:0;font-size:15px}
.journey-page .journey-selection-info{display:flex;align-items:center;gap:8px}
.journey-page .journey-selection-count{font-size:11px;color:#50675a}
.journey-page .journey-selection-info button{border:0;background:transparent;color:#285442;text-decoration:underline;font-size:11px;padding:4px;min-height:28px}
.journey-page .journey-join-actions{display:flex;gap:6px;max-width:100%}
.journey-page .journey-join-actions select{min-width:0;max-width:100%}
.journey-page .journey-leg-status{display:inline-block;padding:3px 7px;margin-bottom:3px;border-radius:5px;background:#e5eee7;color:#244f3a;font-size:10px;font-weight:700}
.journey-page .journey-leg-status.pending,.journey-page .journey-leg-status.partial{background:#faf0d9;color:#704a13}
.journey-page .journey-leg-status.review{background:#fae9e4;color:#82352a}
.journey-page .journey-status-filter:focus-visible,.journey-page .journey-actions button:focus-visible{outline:2px solid #9e7433;outline-offset:2px}
@media(max-width:600px){
 .journey-page .journey-overview{padding:10px}
 .journey-page .journey-join-actions{flex-wrap:wrap}
}

#partner-portal{max-width:76rem;margin:auto}
#partner-portal .top-actions{flex-wrap:wrap;margin-block:.75rem}
.partner-booking-form:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));align-items:end;gap:.75rem;margin-block:1rem}
.partner-booking-form label{display:grid;gap:.25rem}
.partner-booking-list{overflow-x:auto}
.partner-booking-list table{width:100%}
.partner-booking-list td:last-child{white-space:pre-line}

@media(max-width:720px){
 .module-main:has(>.operational-workspace>.mobile-dispatch){padding:4px 6px 14px}
 .operational-workspace>.mobile-dispatch{max-width:38rem;margin-inline:auto;overflow:visible}
 .mobile-dispatch .dispatch-body{padding:12px clamp(10px,3vw,18px);color:#254536}
 .mobile-dispatch h2{font-size:1.15rem;line-height:1.3;margin:12px 0 2px}
 .mobile-dispatch h3{font-size:.9rem;line-height:1.35;margin:0}
 .dispatch-menu{padding:0 12px;border-bottom:1px solid #dfe6db}
 .mobile-dispatch summary{cursor:pointer;font-weight:600;font-size:.83rem;padding:12px 0}
 .dispatch-menu .op-page-tabs{flex-wrap:wrap;padding:0;gap:4px 12px}
 .dispatch-days,.dispatch-actions,.dispatch-stats{display:flex;gap:6px;flex-wrap:wrap}
 .dispatch-days button,.dispatch-actions button,.dispatch-duty>button,.dispatch-body>button{min-height:44px;font:inherit;font-size:.82rem}
 .dispatch-days button[aria-pressed=true],.dispatch-bottom button[aria-pressed=true]{color:#214835;background:#e5eee3;font-weight:650}
 .dispatch-days .op-date-trigger{width:auto;flex:1;min-width:8rem;min-height:44px!important}
 .dispatch-meta,.dispatch-type,.dispatch-copy small,.dispatch-stops small{font-size:.8rem;color:#536858;line-height:1.45;overflow-wrap:anywhere}
 .dispatch-meta{margin:2px 0 12px}.dispatch-type{margin:4px 0}
 .dispatch-group{display:grid;gap:6px;margin:16px 0}.dispatch-group h3{margin-bottom:3px}
 .mobile-dispatch button.dispatch-card{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:10px;text-align:start;width:100%;padding:10px 12px;background:white;border:1px solid #dbe3d7;border-radius:12px;color:#214835}
 .dispatch-emblem{border-radius:50%;background:#edf2e9;width:36px;height:36px;display:grid;place-items:center}
 .mobile-dispatch svg{width:17px;height:17px;flex:none}
 .dispatch-copy{display:grid;justify-items:start;gap:2px}.dispatch-copy strong{font-size:.92rem}
 .dispatch-status{background:#fbefce;color:#694911;font-size:.72rem;border-radius:1em;padding:2px 8px}
 .dispatch-duty,.dispatch-stats>div{margin:10px 0;padding:12px;border:1px solid #dbe3d7;border-radius:12px;background:#fafbf7}
 .dispatch-duty p{font-size:.84rem;margin:6px 0}.dispatch-duty details{margin-top:8px;border-top:1px solid #dbe3d7}
 .dispatch-duty .sales-form-toolbar,.dispatch-duty .op-assignment-actions{flex-wrap:wrap}
 .dispatch-stats>div{flex:1;display:grid;gap:3px}.dispatch-stats span{font-size:.8rem}
 .dispatch-stops{padding:0 0 0 12px;margin:12px 0;list-style:none}
 .dispatch-stops li{position:relative;border-left:2px solid #c9d8c9;padding:0 0 10px 13px}
 .dispatch-stops li:last-child{border-color:transparent;padding-bottom:0}
 .dispatch-stops li::before{content:'';position:absolute;top:4px;left:-5px;width:8px;height:8px;background:#527458;border-radius:50%}
 .dispatch-stops strong,.dispatch-stops small{display:block}.dispatch-stops strong{font-size:.83rem}
 .dispatch-bottom{position:sticky;bottom:0;display:flex;background:white;border-top:1px solid #dbe3d7;padding:5px 8px max(5px,env(safe-area-inset-bottom));gap:6px;z-index:2}
 .dispatch-bottom button{min-height:44px;flex:1;display:flex;align-items:center;justify-content:center;gap:6px;font-size:.8rem;border:0}
 .operational-workspace:has(.mobile-dispatch) dialog{box-sizing:border-box;max-width:calc(100vw - 12px);max-height:calc(100dvh - 16px);overflow:auto}
 /* Leave room for both edges of the fixed editor on short phone screens. */
 .operational-workspace:has(.mobile-dispatch) dialog.journey-editor{top:max(8px,env(safe-area-inset-top));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)))}
 .mobile-dispatch~.journey-editor .journey-form-footer{bottom:0;flex-wrap:wrap}
 .operational-workspace:has(.mobile-dispatch) .journey-editor .journey-stop-fields{grid-template-columns:minmax(0,1fr)}
 .operational-workspace:has(.mobile-dispatch) .journey-editor form button{min-height:40px}
 .operational-workspace:has(.mobile-dispatch) .journey-guest-scroll{max-width:100%;overflow:auto}
}
