:root{--nav:#14263d;--bg:#f3f5f8;--paper:#fff;--ink:#182a40;--muted:#64748a;--line:#e3e8ee;--blue:#155cc5;--blue-light:#eef4ff;--green:#207665;--green-light:#eaf5ef;--orange:#a26114;--red:#b43141;--radius:12px;font:14px/1.5 Inter,Segoe UI,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78a8ef;outline-offset:3px}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:9px 14px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;font-weight:550}button:hover{background:#f6f8fb}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover{background:#104ea9}button.danger{color:var(--red);border-color:#eed2d7}button.text-button{background:transparent;border-color:transparent;padding:5px 8px;color:var(--blue)}button.icon-button{width:36px;padding:5px;min-height:36px}input,select,textarea{width:100%;padding:10px 12px;background:white;border:1px solid #d5dee8;border-radius:7px;color:var(--ink);min-height:42px}input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:var(--blue);margin:0}label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}a{color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.9px;font-weight:650}h2{font-size:19px;font-weight:650;letter-spacing:-.4px}h3{font-size:14px;font-weight:650}p{color:var(--muted)}small{font-size:12px;color:var(--muted)}.loading{padding:15vh 8vw;text-align:center}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px;color:var(--muted)}.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.layout{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#c5cfdd;display:flex;flex-direction:column;padding:29px 16px 18px;position:sticky;top:0;height:100vh}.brand{padding:0 15px 25px;color:white;display:flex;align-items:center;gap:11px}.brand-mark{font-size:25px;font-weight:850;font-style:italic;letter-spacing:-4px;width:36px;height:36px;border:2px solid #eff4fb;border-radius:6px;line-height:32px;padding-left:5px}.brand strong{display:block;font-size:18px;letter-spacing:1.2px;line-height:1.15}.brand small{font-size:9px;letter-spacing:3.2px;color:#aabbd0}.sidebar .section-label{color:#7f91aa;padding:24px 15px 9px;font-size:10px;letter-spacing:1.3px}.nav-button{border:0;color:#b7c4d6;width:100%;justify-content:flex-start;padding:12px 14px;margin:3px 0;background:none;font-size:13px;font-weight:450;gap:12px}.nav-button:hover{background:#213650;color:white}.nav-button.active{background:#29405f;color:white}.nav-button .nav-count{margin-left:auto;font-size:11px;color:#adbed7;background:#ffffff0e;padding:0 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.sidebar-note{padding:13px;border:1px solid #36465c;border-radius:10px;margin:0 0 19px;color:#aebdd0;font-size:11px}.sidebar-note strong{display:block;color:#d6e1ef;font-size:12px;margin-bottom:5px}.profile{display:flex;gap:10px;align-items:center}.avatar{background:#eaf0f8;color:#304b6b;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:650;flex-shrink:0}.profile .identity{flex:1;min-width:0}.profile strong{display:block;font-size:12px;color:white;overflow-wrap:anywhere}.profile small{font-size:10px;color:#96a9c1}.profile button{background:transparent;color:#c1cddd;border:0}.workspace{min-width:0}.topbar{padding:18px 34px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px}.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb strong{color:var(--ink);font-weight:550}.top-right{display:flex;align-items:center;gap:19px}.connection-label{display:flex;gap:7px;align-items:center;color:var(--green);font-size:11px;white-space:nowrap}.dot{width:6px;height:6px;background:currentColor;border-radius:50%;display:inline-block}.scope-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.top-right select{font-size:12px;width:210px;min-height:35px;padding:7px 9px}.content{max-width:1440px;margin:0 auto;padding:32px 34px 45px}.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff9ee;border:1px solid #f2e2c5;padding:10px 14px;border-radius:8px;font-size:11px;color:#88622a;margin-bottom:24px}.demo-bar strong{font-weight:650}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{font-size:13px;margin-top:7px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;position:relative}.stat .stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat .stat-icon{display:grid;place-items:center;width:31px;height:31px;background:#f2f5fa;border-radius:8px;color:#5b7495}.stat .number{font-size:32px;letter-spacing:-1px;font-weight:600;display:block;margin:8px 0 1px;font-variant-numeric:tabular-nums}.stat small{font-size:11px}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:21px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-header{padding:19px 21px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.panel-header small{display:block;margin-top:4px}.panel-body{padding:20px}.setup-item{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.setup-item:first-child{padding-top:0}.setup-item:last-child{padding-bottom:0;border:0}.setup-step{display:grid;place-items:center;width:34px;height:34px;background:var(--blue-light);color:var(--blue);border-radius:9px;flex-shrink:0;font-weight:600}.setup-item .description{flex:1}.setup-item small{display:block;margin-top:2px;font-size:11px}.setup-item button{font-size:11px;padding:5px 9px;min-height:33px}.list-item{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border:0}.list-item:first-child{padding-top:0}.list-item small{display:block;font-size:11px;margin-top:3px}.list-item .meta{margin-left:auto}.monogram{display:grid;place-items:center;background:#f1f5fa;color:#517090;border-radius:9px;width:38px;height:38px;font-size:12px;font-weight:600;flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;border-radius:5px;padding:4px 7px;background:#eff3f7;color:#63748a;white-space:nowrap}.badge.green{background:var(--green-light);color:var(--green)}.badge.blue{background:var(--blue-light);color:var(--blue)}.badge.amber{background:#fff5e5;color:var(--orange)}.subsection{margin-top:24px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;position:relative;width:340px;max-width:100%}.search .icon{position:absolute;left:12px;color:#8493a8;width:16px}.search input{padding-left:37px;font-size:12px;background:#fafbfd;min-height:38px}.toolbar select{width:160px;font-size:12px;min-height:38px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{padding:12px 20px;background:#fafbfd;color:#708095;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:600;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #edf0f4;vertical-align:middle}td strong{font-size:12px;font-weight:600}td small{display:block;font-size:11px;margin-top:3px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.table-person{display:flex;align-items:center;gap:11px}.code{font-size:11px;color:#526981;font-variant-numeric:tabular-nums;font-family:ui-monospace,Consolas,monospace}.row-actions{display:flex;gap:5px;justify-content:flex-end}.row-actions button{font-size:11px;min-height:30px;padding:5px 8px;border-color:transparent;color:var(--blue);background:transparent}.row-actions button:hover{background:var(--blue-light)}.table-footer{padding:12px 20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.empty{text-align:center;padding:50px 25px}.empty h3{font-size:17px;margin:14px 0 7px}.empty p{max-width:360px;margin:0 auto 19px;font-size:12px}.empty .icon{width:28px;height:28px;color:#7b91ac}.bottom-note{font-size:11px;color:var(--muted);margin-top:17px;display:flex;align-items:center;gap:8px}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.security-grid .panel-body h3{margin-bottom:8px}.security-grid .panel-body p{font-size:12px}.notice{padding:13px 15px;background:#f2f6fb;border-radius:8px;font-size:12px;color:#536c87;margin-bottom:18px}.warning{background:#fff7e8;color:#896227}.error{color:var(--red);font-size:12px;min-height:18px;margin:12px 0}.auth{max-width:440px;margin:9vh auto;padding:28px}.auth .brand{color:var(--nav);justify-content:center;padding:0 0 25px}.auth .brand-mark{border-color:var(--nav)}.auth .brand small{color:var(--muted)}.auth .panel{padding:27px}.auth h1{font-size:23px;margin-bottom:8px}.auth p{font-size:12px;margin-bottom:20px}.auth .field{margin-bottom:15px}.auth button.primary{width:100%}.auth .demo-login{width:100%;margin-top:14px}.auth-footer{text-align:center;font-size:10px;color:var(--muted);margin-top:18px}.secret{background:#f2f5fa;border:1px dashed #adbfd4;padding:14px;overflow-wrap:anywhere;font:13px/1.8 ui-monospace,monospace;margin:15px 0;user-select:all}dialog{padding:0;border:1px solid var(--line);border-radius:15px;width:590px;max-width:calc(100vw - 24px);max-height:90vh;color:var(--ink);box-shadow:0 24px 100px #10223933}dialog::backdrop{background:#14263d70;backdrop-filter:blur(2px)}.dialog-header{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-header h2{font-size:20px}.dialog-header small{display:block;margin-top:4px}.dialog-body{padding:22px 25px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field.full{grid-column:1/-1}.field input,.field select{font-size:13px}.field-hint{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:450;margin:8px 0}.check-group{display:grid;grid-template-columns:1fr 1fr;gap:4px 15px;border:1px solid var(--line);padding:11px 13px;border-radius:8px}.dialog-footer{border-top:1px solid var(--line);padding:15px 25px;display:flex;justify-content:flex-end;gap:9px;background:#fafbfd}.dialog-body p{font-size:13px}.invitation-url{margin:16px 0;width:100%;font:12px ui-monospace,monospace;resize:vertical;min-height:100px}.toast-visible{transform:translateY(0)!important;opacity:1!important}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);opacity:0;background:#173e35;color:#fff;border-radius:9px;padding:13px 20px;font-size:13px;max-width:90vw;box-shadow:0 4px 25px #0002;z-index:30;pointer-events:none;transition:opacity .15s}#connection{position:fixed;inset:0;background:#edf2f9f5;z-index:100;display:grid;place-items:center;padding:25px;text-align:center}#connection[hidden]{display:none}#connection>div{max-width:420px}#connection h2{margin:10px 0}#connection p{margin-bottom:20px;font-size:13px}.mobile-brand{display:none}.host-message{max-width:560px;margin:12vh auto;padding:30px}.host-message p{margin:15px 0 24px}
@media(min-width:1450px){.content{padding-top:40px}.stats{gap:21px}.stat{padding:24px}}
@media(max-width:1100px){.layout{grid-template-columns:205px minmax(0,1fr)}.content{padding:27px 23px}.topbar{padding:16px 23px}.sidebar{padding:25px 10px 15px}.grid-main{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:14px}.stat .stat-icon{display:none}.top-right select{width:180px}}
@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:13px 15px;display:block}.sidebar .brand{padding:0 0 15px}.sidebar .section-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.nav-button{width:auto;min-width:max-content;padding:10px 11px;font-size:11px}.nav-button .icon{width:15px}.nav-count{display:none}.topbar{padding:13px 17px;flex-wrap:wrap}.breadcrumb{font-size:11px}.top-right{gap:10px;flex:1;justify-content:flex-end}.top-right select{width:160px}.connection-label{display:none}.content{padding:22px 16px}.demo-bar{font-size:10px;margin-bottom:20px}.demo-bar>span:last-child{display:none}h1{font-size:25px}.page-heading{gap:12px}.page-heading p{font-size:12px}.page-heading button{font-size:11px;padding:9px 11px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat .number{font-size:27px}.security-grid{grid-template-columns:1fr}.toolbar{padding:12px;gap:10px}.toolbar select{width:115px}.toolbar .search{flex:1}.panel-header{padding:17px}.panel-body{padding:17px}td,th{padding-left:15px;padding-right:15px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.check-group{grid-template-columns:1fr}.dialog-header,.dialog-body,.dialog-footer{padding:18px}.setup-item{gap:10px}.setup-item small{max-width:185px}.auth{margin:3vh auto;padding:20px}.table-footer{font-size:10px}.bottom-note{align-items:flex-start}.mobile-logout{display:inline-flex!important}}
.mobile-logout{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.sidebar{min-width:0}.toolbar{flex-wrap:wrap}
@media(max-width:760px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar nav{max-width:100%}.toolbar .search{min-width:160px}.setup-item .description{min-width:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.import-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.import-preview{max-height:320px;overflow:auto}.import-preview td{white-space:nowrap}.error{white-space:pre-line}

/* Mobile-first issue/return workspace. */
.dispatch{max-width:1080px;margin:auto;padding:24px}.dispatch-top,.dispatch-actions,.dispatch-scope,.dispatch-footer,.dispatch-legend{display:flex;align-items:center;justify-content:space-between;gap:16px}.dispatch-top{padding-bottom:28px;border-bottom:1px solid var(--border,#dfe5ed)}.dispatch-top .brand{color:#163858}.dispatch-scope{margin:28px 0}.dispatch-scope h1{margin:6px 0}.dispatch-scope .field{min-width:220px}.dispatch-home,.dispatch-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px}.dispatch .panel-body{padding:28px}.dispatch-steps{display:flex;list-style:none;padding:0;gap:12px;margin:24px 0}.dispatch-steps li{flex:1;border-top:3px solid #d9e2ed;padding-top:10px;color:#6e7d90}.dispatch-steps li[aria-current]{border-color:#1762cc;color:#174a91;font-weight:700}.customer-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;width:100%;margin:12px 0;padding:18px;border:1px solid #dae3ee;border-radius:10px}.customer-choice span,.gas-choice small{color:#60738a;font-size:14px}.gas-choice{display:grid;grid-template-columns:1fr 110px 110px;gap:18px;padding:20px 0;border-bottom:1px solid #e1e7ef;align-items:center}.gas-choice small{display:block;margin-top:6px}.gas-choice label{font-size:13px}.gas-choice input{margin-top:6px;min-height:48px;font-size:20px;text-align:center}.dispatch-legend{padding-bottom:14px;color:#506983;font-size:14px}.dispatch-footer{margin-top:24px;flex-wrap:wrap}.dispatch textarea{min-height:86px}.dispatch .check-row{align-items:flex-start}.dispatch .check-row input{width:20px;height:20px;flex-shrink:0}.dispatch tfoot th{background:#eff4fa;font-size:15px}.dispatch-summary{margin-bottom:24px}.dispatch-summary h2,.dispatch-summary h3{margin-top:6px}.dispatch-summary small{color:#61748a}.dispatch .muted{color:#66758a;font-size:14px}.dispatch #signature-canvas{display:block;width:100%;height:auto;aspect-ratio:10/3;background:#fbfcff;border:2px dashed #9bacc2;border-radius:8px;touch-action:none;margin:12px 0}.signature-record{width:100%;max-width:500px;fill:none;stroke:#153454;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.dispatch .brand{margin:0}.dispatch .brand small{color:#61748a}.dispatch .notice{margin-bottom:20px}
@media(max-width:650px){.dispatch{padding:16px}.dispatch-top{align-items:flex-start;gap:12px}.dispatch-actions{flex-direction:column;gap:8px}.dispatch-scope{display:block}.dispatch-scope .field{margin-top:16px}.dispatch-home,.dispatch-summary{grid-template-columns:1fr}.dispatch .panel-body{padding:18px}.dispatch-steps{font-size:12px}.gas-choice{grid-template-columns:1fr 86px 86px;gap:10px}.gas-choice>div{grid-column:1/-1}.gas-choice label{grid-row:2}.dispatch-legend{display:block}.dispatch-legend span{display:block;margin:5px 0}.dispatch-footer button{min-height:48px;flex:1}.dispatch-top .brand strong{font-size:16px}}
@media print{body{background:white!important}.dispatch{max-width:none;padding:0}.dispatch-top,.dispatch-scope,.dispatch>.bottom-note,.dispatch .no-print,#toast,#connection{display:none!important}.dispatch .panel{box-shadow:none;border:0}.dispatch .receipt{padding:0}.dispatch .receipt .notice,.dispatch .receipt .muted{font-size:11px}.dispatch table{min-width:0}.dispatch .receipt{break-inside:avoid}}

.dispatch p{margin:12px 0}.dispatch .brand{padding:0}.dispatch .brand-mark{border-color:#9aaec5}.dispatch table{min-width:0;width:100%}.dispatch td,.dispatch th{white-space:normal;overflow-wrap:anywhere}.dispatch td:first-child{width:60%}.dispatch .customer-choice{overflow-wrap:anywhere}@media(max-width:650px){.dispatch td,.dispatch th{padding:12px 8px}.dispatch tfoot th{font-size:12px}}

.invitations-panel{margin-bottom:24px}.invitations-panel td small{display:block;margin-top:4px}.invitations-panel td:last-child{min-width:185px}

.invitations-panel .invite-send { display: block; margin-top: 8px; }

.payment-options { border: 1px solid var(--line, #dce2e8); border-radius: 10px; padding: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.payment-options legend { font-weight: 700; padding: 0 6px; }
.payment-options small { flex-basis: 100%; }
.contract-row { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e5e9ef; }
.contract-row small { display: block; margin-top: 4px; }
@media(max-width:600px) { .contract-row { grid-template-columns: 1fr; } }

/* One screen per task: bounded lists use explicit pagination. */
.dispatch-wizard{height:100dvh;max-width:600px;padding:16px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.wizard-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.wizard-header strong{letter-spacing:2px;font-size:16px}.wizard-header small{display:block;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.wizard-header button{min-width:44px}.wizard-heading{flex-shrink:0}.wizard-heading h1{font-size:25px;margin:3px 0}
.dispatch .wizard-customer{font-size:12px;margin:4px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wizard-body{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}.wizard-body>label{margin:0}
.dispatch-wizard button{min-height:46px}.dispatch-wizard input,.dispatch-wizard select,.dispatch-wizard textarea{font-size:16px}
.dispatch-wizard p{margin:5px 0;font-size:14px;overflow-wrap:anywhere}.wizard-body .error{font-size:12px;margin:0;min-height:0;line-height:1.3}
.wizard-body .error:empty{display:none}.wizard-card{padding:16px;border:1px solid var(--line);border-radius:12px;background:white;overflow-wrap:anywhere}
.wizard-card h2{margin:8px 0}.wizard-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;text-align:left;width:100%;padding:12px 16px;min-height:64px!important;overflow-wrap:anywhere}
.wizard-choice strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wizard-choice small{font-size:12px}
.wizard-pages,.wizard-row,.wizard-total{display:flex;align-items:center;justify-content:space-between;gap:10px}.wizard-pages{margin-top:8px}.wizard-pages button{min-width:58px}.wizard-row button{flex:1}.wizard-total{padding:4px 0}.wizard-total strong{font-size:24px}
.wizard-footer{display:flex;gap:10px;flex-shrink:0;margin-top:auto;padding-top:10px;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.wizard-footer:empty{display:none}.wizard-footer button{flex:1;min-height:50px}.wizard-footer button.primary{flex:1.6}
.wizard-subtitle{font-weight:650;color:var(--ink)}.wizard-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1;min-height:192px;max-height:280px}
.wizard-keypad button{font-size:25px;min-height:44px;padding:4px}.dispatch #quantity{font-size:32px;font-weight:700;text-align:center;min-height:54px;padding:4px}
.wizard-counts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wizard-counts strong{display:block;font-size:28px}.wizard-payments{display:grid;gap:10px}.wizard-choice.selected{border:2px solid var(--blue);background:var(--blue-light)}
.dispatch-wizard #signature-canvas{flex:1;min-height:135px;max-height:300px;width:100%;height:180px;aspect-ratio:auto;margin:0}
.dispatch-wizard .check-row{margin:0;align-items:center}.wizard-number{font-size:13px;overflow-wrap:anywhere}.wizard-print{display:none}
#dispatch-results{display:grid;gap:8px}.wizard-body textarea{height:110px;resize:none}
.dispatch-wizard{position:relative}.wizard-keyboard .wizard-header,.wizard-keyboard .wizard-heading{display:none}.wizard-keyboard{gap:6px}.wizard-keyboard .wizard-body{gap:6px}
.wizard-body>.error:not(:empty){position:absolute;top:65px;left:10px;right:10px;z-index:2;padding:12px;background:#fff0f1;border:1px solid #e9bdc4;border-radius:8px;box-shadow:0 3px 12px #14263d18}
@media(max-height:660px){.dispatch-wizard{padding:10px;gap:7px}.wizard-header small{font-size:10px}.wizard-heading h1{font-size:22px}.wizard-card{padding:10px}.wizard-body{gap:7px}.wizard-choice{padding:8px 12px;min-height:54px!important}.wizard-keypad{gap:5px;min-height:176px;max-height:220px}.wizard-footer{padding-top:7px}.wizard-footer button{min-height:46px}.dispatch-wizard #signature-canvas{min-height:115px}.wizard-body p{font-size:13px}}
@media print{body:has(.wizard-print) #app{display:none!important}.wizard-print{display:block}.wizard-print td,.wizard-print th{white-space:normal}.wizard-print h1{font-size:22px}}

.dispatch-wizard a.button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border-radius:8px;background:var(--blue);color:#fff;text-decoration:none;font-size:14px;font-weight:600;text-align:center}
#document-records .row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px}#document-records .row-actions a{display:inline-block;padding:4px 0;white-space:nowrap}
