:root{--green:#72c052;--ink:#18251d;--muted:#526657;--border:#e3eae2;--dark:#131c16}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f2f5f1;color:var(--ink)}header{height:74px;background:var(--dark);color:#c0cec2;padding:0 34px 0 260px;display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:5;font-size:12px}header img{width:29px}header strong{color:#fff;font-size:17px;letter-spacing:1px}.admin-rail{position:fixed;left:0;top:0;bottom:0;width:220px;background:#151e18;padding:32px 18px;color:#a8b8ab;z-index:6;display:flex;flex-direction:column;gap:9px}.rail-brand{font-weight:750;font-size:30px;color:#fff;letter-spacing:-1px;padding:0 17px 37px}.rail-brand span{font-size:10px;color:#a5d88e;background:#2e402d;padding:6px;border-radius:5px;letter-spacing:1px;vertical-align:middle}.admin-rail a{color:#a9b8ac;text-decoration:none;font-size:12px;padding:16px;border-radius:10px}.admin-rail a:hover{background:#72c052;color:#21351b}.rail-caption{margin-top:auto;font-size:9px;letter-spacing:2px;color:#a8b8ad;padding:20px 15px;line-height:2}main{max-width:1600px;margin-left:220px;padding:32px 38px 70px}section{background:#fff;border:1px solid var(--border);border-radius:17px;padding:27px;margin:22px 0}.overview{background:transparent;border:0;padding:0;margin-top:0}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:650}.overview h1{font-size:31px;letter-spacing:-1px;margin:12px 0}.overview>p{color:var(--muted);font-size:13px}.overview-cards{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:17px;margin-top:28px}.overview-card{background:#fff;border:1px solid var(--border);padding:22px;border-radius:15px}.overview-card:first-child{background:radial-gradient(ellipse at right top,#38532f,transparent),#18261c;color:#fff;border:0}.overview-card span{display:block;color:var(--muted);font-size:11px}.overview-card strong{font-size:29px;letter-spacing:-1px;display:block;margin:13px 0 8px}.overview-card small{font-size:10px;color:var(--muted)}.overview-card:first-child span,.overview-card:first-child small{color:#9fbb98}h1,h2,h3{letter-spacing:-.4px}h2{font-size:19px;margin:0 0 22px}h3{font-size:15px;margin:25px 0 15px}input,textarea,select,button{font:inherit;border:1px solid #dce6d9;padding:12px 14px;border-radius:9px;margin:5px;min-height:44px}input,select,textarea{background:#fafcf9;color:#304835}button{;cursor:pointer;font-weight:600;font-size:12px}button:hover{}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #72c05275;outline-offset:2px}label{display:inline-flex;flex-direction:column;font-size:11px;color:var(--muted);margin:6px;vertical-align:top}label input,label select{margin:8px 0 0}input[type=checkbox]{accent-color:var(--green);width:20px;height:20px;min-height:20px;margin:16px 0 0}textarea{width:98%;min-height:280px;font-family:monospace}table{width:100%;border-collapse:collapse;font-size:12px;display:block;overflow:auto}td,th{padding:17px 13px;text-align:left;border-bottom:1px solid #e7ece5;white-space:nowrap}th{text-transform:uppercase;letter-spacing:1px;font-size:9px;color:var(--muted)}td button{padding:8px 11px;min-height:33px;font-size:10px;margin:3px}td button:not(:first-child){}.notice{padding:15px;background:#fff3d8}#message{white-space:pre-wrap;color:#84612e;font-size:13px}#message:empty{display:none}#message:not(:empty){padding:15px 18px;background:#fff8e6;border:1px solid #ebdfc3;border-radius:11px}small{color:var(--muted)}nav{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--border);padding-bottom:15px;margin-bottom:20px}nav button{}#businessPanel>label{display:block}.menu-card{margin:14px 0;border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden}.menu-card summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:20px;padding:19px 22px;background:#f9fbf7;min-height:65px}.menu-card summary::-webkit-details-marker{display:none}.menu-card summary:after{content:'+';font-size:22px;color:#94ad88;margin-left:10px}.menu-card[open] summary:after{content:'−'}.menu-card summary strong{font-size:14px;flex:1}.menu-card summary span{font-size:11px;color:var(--muted)}.menu-card summary small{font-size:10px;background:#e9f4df;color:#315f22;padding:5px 9px;border-radius:5px}.menu-card>label,.menu-card>button,.menu-card>h4{margin:16px 20px}.menu-card h4{font-size:12px;color:#405f35;font-weight:650;margin:20px}.menu-card input{max-width:250px}.edit-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.edit-row label{flex:1;min-width:120px}.edit-row input{width:100%}fieldset{border:1px solid #dce8d4;border-radius:11px;margin:14px 20px;padding:16px;background:#fcfdfb}fieldset input{max-width:200px}.product-photo-editor{display:flex;align-items:center;gap:18px;background:#f5f8f0;padding:18px;margin:14px 20px;border-radius:12px}.product-photo-editor img{width:110px;height:75px;object-fit:cover;border-radius:9px}.product-photo-editor label{flex:1}.product-photo-editor button{font-size:10px}.hidden{display:none!important}#login{max-width:570px;margin:50px auto;padding:35px}#login h1{font-size:25px;margin:0 0 20px}#loginForm{display:flex;flex-direction:column}#loginForm input,#loginForm button{margin:7px 0}#resetRequest{background:none;color:#3b663b;border:0;font-size:11px;padding:8px 0}#create form{display:flex;flex-wrap:wrap}#create input{min-width:160px;flex:1}#create #monitor{font-size:11px;color:var(--muted);margin:18px 0 0}#workspace>button{font-size:10px}@media(max-width:1100px){.admin-rail{width:175px;padding:25px 10px}.rail-brand{font-size:24px;padding-left:10px}header{padding-left:200px}main{margin-left:175px;padding:25px}.overview-cards{gap:12px}.overview-card{padding:16px}.overview-card strong{font-size:23px}.menu-card summary span{display:none}}@media(max-width:750px){.admin-rail{position:static;width:100%;height:65px;flex-direction:row;align-items:center;padding:10px 15px;gap:5px}.rail-brand{font-size:23px;padding:0 14px 0 0}.admin-rail a{font-size:10px;padding:10px}.admin-rail a:last-of-type,.rail-caption{display:none}header{position:static;height:58px;padding:0 20px;display:none}main{margin-left:0;padding:20px 15px}.overview h1{font-size:26px}.overview-cards{grid-template-columns:repeat(2,1fr)}section{padding:20px 15px}.product-photo-editor{flex-wrap:wrap}.menu-card>label{margin:12px 15px}.menu-card summary{gap:10px;padding:16px}label input,label select{width:100%}nav{gap:0}nav button{font-size:10px;padding:10px}#login{margin:25px auto}.menu-card>button{margin:10px 12px}}
/* 0.5: persistent feedback, accessible activation dialog and dedicated admin views. */
#message:not(:empty){position:fixed;right:24px;bottom:24px;max-width:min(560px,calc(100vw - 40px));z-index:50;box-shadow:0 8px 30px #18251d25;margin:0}button:disabled{cursor:not-allowed}.admin-rail a.active{background:#263b25;color:#b0e49c}.overview-card[role=button]{cursor:pointer}.overview-card[role=button]:hover{box-shadow:0 0 0 2px var(--green)}.overview-card[role=button]:focus-visible{outline:3px solid var(--green)}dialog{border:1px solid var(--border);border-radius:20px;padding:28px;max-width:580px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 24px 80px #0004}dialog::backdrop{background:#0e1812a6;backdrop-filter:blur(3px)}.dialog-heading,.section-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}.dialog-heading h2{margin:7px 0 16px}.dialog-heading button{}.activation-code{padding:24px 12px;text-align:center;font-size:36px;font-weight:750;letter-spacing:8px;background:#edf7e7;border:1px solid #cfe5c1;border-radius:12px;user-select:all;margin:20px 0}.licence-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.licence-summary>div{padding:18px;border:1px solid var(--border);border-radius:12px;background:#f7faf4}.licence-summary strong{display:block;font-size:25px}.licence-summary span{display:block;font-size:12px;margin-top:7px;color:#61745e}.licence-badge.active{color:#315f22;background:#e9f5e3}.licence-badge.expired{color:#953d2c;background:#fff0e9}.filter-bar{display:flex;gap:12px;flex-wrap:wrap}.filter-bar input{flex:1;min-width:180px}#emailMessages td:nth-child(5){white-space:normal;min-width:260px;max-width:400px}#emailSettingsForm{display:flex;align-items:end;flex-wrap:wrap}#emailSettingsForm label{flex:1;min-width:180px}#emailSettingsForm input{width:100%}#emailSettingsForm input[type=checkbox]{width:20px}.section-heading h2{margin-bottom:8px}@media(max-width:750px){.admin-rail{height:auto;min-height:65px;flex-wrap:wrap}.admin-rail a{display:block!important}.admin-rail a.hidden{display:none!important}.licence-summary{grid-template-columns:repeat(2,1fr)}.section-heading{flex-wrap:wrap}#message:not(:empty){right:12px;bottom:12px}dialog{padding:20px}.activation-code{font-size:28px;letter-spacing:5px}}

.update-upload,.update-release{padding:20px;border:1px solid #dce5db;border-radius:14px;margin:16px 0;background:#fff}.update-release small{display:block;overflow-wrap:anywhere;margin-bottom:14px}.update-targets{max-height:240px;overflow:auto}.update-targets label{display:flex;justify-content:space-between}.update-targets input{width:auto}#appUpdateContent progress{width:100%;margin:12px 0}#dialogBody textarea{min-height:100px;width:100%;box-sizing:border-box}

/* Release management */
.update-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.update-metrics>div{display:grid;gap:8px;border:1px solid #dce5db;border-radius:14px;padding:22px;background:#f4f8f1}.update-metrics strong{font-size:30px}.update-metrics span{font-size:13px;color:#61715e}.update-toolbar{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:26px 0}.update-tabs{display:flex;gap:6px;flex-wrap:wrap;background:#edf2e9;padding:6px;border-radius:12px}.update-tabs button{margin:0}.update-tabs button[aria-selected=true]{}.release-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}.update-release{margin:0;padding:26px;display:flex;flex-direction:column;gap:10px;box-shadow:0 4px 16px #14201805}.update-release h3{font-size:19px;margin:0}.update-release p{line-height:1.6;margin:0}.release-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:20px}.release-actions button{margin:0}.update-badge{align-self:start;display:inline-block;border-radius:20px;padding:6px 12px;font-size:12px;text-transform:capitalize;background:#edf1e9}.update-badge.published{background:#e2f3d8;color:#315a22}.update-badge.withdrawn{background:#fff0e4;color:#88532f}.release-metadata{display:grid;grid-template-columns:120px 1fr;gap:14px}.release-metadata dt{font-weight:700}.release-metadata dd{margin:0;overflow-wrap:anywhere}#appUpdateContent .filter-bar label{display:grid;gap:8px;flex:1}#appUpdateContent input,#appUpdateContent select{width:100%}#updateResults{overflow:auto;margin-top:24px}#updateResults table{min-width:700px}#updateResults td{white-space:normal;max-width:300px;overflow-wrap:anywhere}#dialogBody progress{width:100%;margin:20px 0}#dialogBody input[type=file]{width:100%}
.settings-card{padding:26px;margin:20px 0;background:#f8faf5;border:1px solid #dce5db;border-radius:16px}.settings-card label{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e2e8df}.settings-card input[type=checkbox]{width:20px;height:20px}.admin-cash{padding:32px;margin:24px 0;background:#f7faf4;border-radius:20px}.admin-cash-card{padding:32px;background:#fff;border:1px solid #dce5db;border-radius:16px;margin-top:20px}.admin-cash-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.admin-cash-grid>div{display:grid;gap:12px;padding:20px;background:#f2f6ee;border-radius:12px}.admin-cash-grid strong{font-size:24px}.admin-cash-grid .cash-warning{background:#fff0e4}.admin-cash details{overflow:auto}.admin-cash summary{cursor:pointer;padding:12px 0}#businessPanel>details{margin:20px 0}#businessPanel>details summary{cursor:pointer;font-weight:700;padding:16px;background:#edf3e8;border-radius:10px}#businessPanel .filter-bar{align-items:end}
@media(max-width:1000px){.update-metrics,.admin-cash-grid{grid-template-columns:repeat(2,1fr)}.admin-cash,.admin-cash-card{padding:24px}}@media(max-width:600px){.update-metrics{gap:10px}.update-metrics>div{padding:16px}.update-tabs{width:100%}.release-metadata{grid-template-columns:1fr}.admin-cash-grid{grid-template-columns:1fr}.update-release{padding:20px}}

.update-tabs button{}.update-tabs button[aria-selected=true]{}.update-toolbar>button{}.update-toolbar>button:last-child{}.release-actions button:not(:first-child){}

/* Authentication is hidden in the initial HTML, before JavaScript or session validation. */
.signed-out body>header,.signed-out .admin-rail,.signed-out #overview,.signed-out #workspace{display:none!important}.signed-out main{margin-left:0}.signed-out #login{display:block!important}
.apk-file-picker{display:flex;width:100%;margin:18px 0;padding:22px;background:#f1f7ed;border:2px dashed #739565;border-radius:14px;gap:12px;font-size:15px;color:#263d24}.apk-file-picker input{max-width:100%;margin:0;background:#fff}.apk-file-picker input::file-selector-button{;border:0;border-radius:8px;padding:12px;font:inherit;margin-right:12px;cursor:pointer}.apk-filename{display:block;overflow-wrap:anywhere}.apk-upload-state{min-height:24px}#actionDialog{max-height:90dvh;overflow:auto}#dialogBody{min-width:0}.apk-file-picker input[type=file]{min-width:0}@media(max-width:500px){.apk-file-picker{padding:14px}.apk-file-picker input::file-selector-button{display:block;margin-bottom:12px}}

button{}button:hover{}.update-toolbar>button:last-child{}.cat-palette button:hover{}
.report-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:16px 0}.report-filters label{display:flex;flex-direction:column;gap:6px;min-width:130px}.report-filters input,.report-filters select{max-width:210px;min-height:44px}.report-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.report-totals>div{padding:16px;background:#eaf4e3;border-radius:12px}.report-totals span{display:block;font-size:12px}.report-totals strong{display:block;font-size:22px;margin-top:8px}.report-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.report-tabs button[aria-pressed=true]{}.report-table-wrap{max-width:100%;overflow:auto;margin-top:16px}.report-table-wrap table{border-collapse:collapse;width:100%;white-space:nowrap}.report-table-wrap th,.report-table-wrap td{padding:12px;border-bottom:1px solid #d6e3d0;text-align:left}.report-error{padding:14px;background:#fff0e7;color:#853d2d}.report-loading,.report-empty{padding:22px}.report-exports{display:flex;gap:12px;flex-wrap:wrap}.daily-chart{height:170px;display:flex;align-items:end;gap:8px;overflow-x:auto;margin:20px 0}.daily-chart-column{flex:1;min-width:30px;text-align:center}.daily-chart-bar{background:#367334;border-radius:5px 5px 0 0;min-width:20px}.daily-chart small{font-size:10px}.report-table-wrap pre{white-space:pre-wrap}#main:has(.report-filters){overflow:auto!important}

/* Shared button contract: components choose a variant, never background/text separately. */
button{--button-bg:#f2f5f0;--button-fg:#213126;--button-hover:#e1eadd;--button-pressed:#d0dfc9;background:var(--button-bg);color:var(--button-fg);border-color:#cbd7c7;opacity:1;min-height:44px;transition:border-color .12s}
button[data-variant=primary],button.cat-primary{--button-bg:#286d36;--button-fg:#fff;--button-hover:#20572c;--button-pressed:#174421;border-color:var(--button-bg)}
button[data-variant=destructive]{--button-bg:#ad2828;--button-fg:#fff;--button-hover:#8f2020;--button-pressed:#741919;border-color:var(--button-bg)}
button:hover:not(:disabled){background:var(--button-hover);color:var(--button-fg)}button:active:not(:disabled){background:var(--button-pressed);color:var(--button-fg)}
button:focus-visible{outline:3px solid #173e22;outline-offset:3px}button:disabled{--button-bg:#e3e8e0;--button-fg:#52604e;background:var(--button-bg);color:var(--button-fg);border-color:#cdd6c8;opacity:1;cursor:not-allowed}
#businessTabs button[aria-selected=true],.update-tabs button[aria-selected=true]{--button-bg:#286d36;--button-fg:#fff;--button-hover:#20572c;--button-pressed:#174421}
#closeDialog{font-size:24px;line-height:1;width:44px;flex-shrink:0;padding:6px;margin:0}.dialog-heading{align-items:center}.dialog-heading h2{margin:0}.dialog-heading{margin-bottom:18px}
/* Business editor: one compact workspace with grouped settings and persistent actions. */
#editor{padding:22px 24px;border-radius:12px;min-width:0}#editor .editor-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}#editorTitle{font-size:23px;margin:0;overflow-wrap:anywhere}.editor-context{margin:5px 0 0;color:#536551;font-size:13px}.editor-save-state{font-size:12px;font-weight:650;white-space:nowrap;border-radius:6px;background:#eef4eb;color:#315337;padding:8px 10px}.editor-save-state[data-state=dirty]{background:#fff4d9;color:#66480c}.editor-save-state[data-state=error]{background:#fff0ef;color:#962626}.editor-save-state[data-state=saving]{background:#e9f0f7;color:#25496b}
#businessTabs{gap:4px;padding:0 0 10px;margin:0 0 20px;flex-wrap:nowrap;overflow-x:auto}#businessTabs button{flex-shrink:0;margin:0;font-size:12px;padding:9px 12px;border-radius:7px}#businessPanel{min-width:0}#businessPanel h3{font-size:17px;margin:16px 0 10px}#businessPanel>p{line-height:1.55;max-width:80ch;color:#52604e}.editor-feedback{padding:12px;border-radius:8px;background:#ecf5e8;color:#244e2b;line-height:1.45;margin:0 0 16px}.editor-feedback:empty{display:none}.editor-feedback[data-state=error]{background:#fff0ef;color:#962626}
#businessPanel form{margin:0}.editor-fields{border:0;border-top:1px solid #dce5d8;border-radius:0;background:transparent;margin:18px 0;padding:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;min-width:0}.editor-fields legend{font-weight:700;font-size:15px;padding:0 12px 0 0;color:#1d3223}.editor-fields>p{grid-column:1/-1;margin:0;color:#52604e;font-size:12px;line-height:1.5}#businessPanel label{color:#314835;font-size:13px;margin:0;line-height:1.4;min-width:0}#businessPanel label>input,#businessPanel label>select{width:100%;margin:6px 0 0;min-height:44px;max-width:100%;font-size:14px;background:#fff}#businessPanel label:has(>input[type=checkbox]){display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 12px;background:#f5f8f2;border:1px solid #dce5d8;border-radius:8px;cursor:pointer}#businessPanel label>input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin:0;accent-color:#286d36}.editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 0;margin-top:20px;background:#fff;border-top:1px solid #dce5d8;z-index:3}.editor-actions button{margin:0}#businessPanel .settings-card{padding:16px 0;margin:16px 0;border:0;border-top:1px solid #dce5d8;border-radius:0;background:transparent;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}#businessPanel .settings-card h3,#businessPanel .settings-card>p{grid-column:1/-1;margin:0 0 6px}#businessPanel .settings-card>p{font-size:13px;color:#52604e;line-height:1.5}#businessPanel .settings-card label{border:1px solid #dce5d8}#businessPanel table{font-size:13px}#businessPanel td,#businessPanel th{padding:12px 10px}#businessPanel .cat-header{margin-top:0}#businessPanel .cat-header h2{font-size:20px}#businessPanel .cat-form-footer{position:sticky;bottom:0;background:#fff;z-index:3}#businessPanel .cat-field input[type=checkbox]{width:22px}#businessPanel textarea{font:inherit;line-height:1.5}.editor-staff-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.editor-staff-form .editor-actions{grid-column:1/-1}
@media(max-width:750px){#editor{padding:16px 12px}#editor .editor-heading{align-items:start;flex-direction:column;gap:10px}#editorTitle{font-size:21px}.editor-fields,#businessPanel .settings-card,.editor-staff-form{grid-template-columns:minmax(0,1fr)}#businessTabs{margin-bottom:14px}.editor-actions{padding:10px 0}.editor-actions button{flex:1}#businessPanel .filter-bar label{width:100%}#businessPanel input,#businessPanel select{min-width:0}.admin-rail{max-width:100%;overflow-x:auto}}
#fleetExplorer details{margin:10px 0;border-bottom:1px solid #d9e3d9;padding:10px 0}#fleetExplorer summary{min-height:44px;font-weight:650;cursor:pointer}.fleet-device{border:1px solid #d9e3d9;border-radius:8px;padding:12px;margin:8px 0;gap:8px;background:#fff}.fleet-device.list{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));align-items:center}.fleet-device.cards{display:flex;flex-direction:column;max-width:420px}.fleet-device span{font-size:12px;overflow-wrap:anywhere}#fleetExplorer .filter-bar label{min-width:160px}#fleetExplorer .editor-actions{display:flex;flex-wrap:wrap;gap:6px}#fleetExplorer h4{font-size:15px;margin:14px 0 4px}
.licence-badge.suspended{background:#fff0c7;color:#5a3900;border-color:#9a6b00}#licenceList td{overflow-wrap:anywhere;max-width:340px}#licenceList .editor-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.permission-grid label{display:flex;gap:8px;align-items:center;min-height:44px}.permission-grid input{width:22px;height:22px}.rail-caption{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.service-floor-editor{height:300px;position:relative;border:1px solid #cad6cd;border-radius:10px;background:#f1f6f2;margin:12px 0;overflow:hidden}.service-map-table{position:absolute;min-width:44px;min-height:44px;padding:4px;background:#e6f2df;border:2px solid #315f23;color:#17351e;touch-action:none;overflow-wrap:anywhere}.service-map-table.round{border-radius:50%}.service-map-table.square{border-radius:6px}.service-map-table.rectangle{border-radius:10px}.service-edit-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.service-edit-fields input,.service-edit-fields select{max-width:100%;width:100%}.service-edit-fields input[type=checkbox]{width:24px;height:24px;min-height:24px}

.dialog-feedback:empty{display:none}.dialog-feedback{position:sticky;top:0;z-index:2;padding:.8rem;border:1px solid #bad5c3;border-radius:.5rem;background:#edf7f0;color:#183f27}.dialog-feedback[data-kind="error"]{background:#fff1ee;color:#8d2420;border-color:#e4b0aa}
/* Shared compact administration workspace. Focus and touch targets are retained. */
.admin-rail{overflow-y:auto;padding:20px 12px;gap:5px}.rail-brand{padding:0 12px 16px;font-size:26px}.nav-group{border:0;padding:0;margin:2px 0}.nav-group>summary{padding:10px 12px;color:#b6c5b9;font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer;min-height:40px}.nav-group>a{display:block;margin:2px 0 2px 6px;padding:9px 12px;font-size:13px}.admin-rail a:focus-visible,.nav-group>summary:focus-visible,.row-menu>summary:focus-visible,.column-picker>summary:focus-visible{outline:3px solid #72c052;outline-offset:2px}.overview h1{font-size:28px}.section-heading h2,.editor-heading h2{font-size:24px}.workspace-table-wrap,.report-table-wrap{max-width:100%;overflow:auto}.workspace-table-wrap table{width:100%;min-width:680px;border-collapse:collapse}.workspace-table-wrap th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;background:#f3f6f2;color:#45564a;white-space:nowrap}.workspace-table-wrap td,.workspace-table-wrap th{padding:10px 12px;border-bottom:1px solid #e3eae2;text-align:left;vertical-align:top}.workspace-table-wrap td{font-variant-numeric:tabular-nums}.workspace-table-wrap td small{display:block;max-width:240px;overflow-wrap:anywhere;font-size:11px;color:#536457;margin-top:4px}.business-group{border:1px solid #dce5d9;background:white;border-radius:10px;margin:10px 0;padding:0 12px}.business-group>summary{cursor:pointer;font-size:15px;font-weight:650;padding:16px 4px;min-height:48px}.business-group>.editor-actions{padding:8px 0 16px}.column-picker{display:inline-block;margin:6px 0;max-width:100%;padding:8px 12px;background:#fff;border:1px solid #dce5d9;border-radius:8px}.column-picker>summary{cursor:pointer;min-height:28px}.column-picker label{display:inline-flex;gap:8px;align-items:center;margin:5px 12px 5px 0;min-height:40px}.column-picker input{width:20px;height:20px}.row-menu{position:relative;min-width:90px;padding:0;border:0}.row-menu>summary{cursor:pointer;list-style:none;padding:10px 12px;background:#f2f5f0;color:#213126;border:1px solid #cbd7c7;border-radius:7px;min-height:44px}.row-menu[open]{display:grid;gap:6px}.row-menu[open]>button{width:100%;white-space:nowrap;margin:0}.workspace-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:12px 0}.workspace-results.cards .business-group{box-shadow:0 2px 8px #18251d08}.workspace-results.cards .workspace-table-wrap table{min-width:0}.workspace-results.cards tbody,.workspace-results.cards table{display:block}.workspace-results.cards tr:not(:first-child){display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));border:1px solid #dce5d9;border-radius:8px;margin:8px 0;padding:8px}.workspace-results.cards th{display:none}.workspace-results.cards td{border:0}.editor-tabs,.report-tabs{display:flex;flex-wrap:wrap;gap:5px}.report-tabs button{min-height:40px;font-size:12px;padding:8px 11px}.report-tabs button[aria-pressed=true],.editor-tabs button[aria-selected=true]{background:#286d36;color:white;border-color:#286d36}.licence-capacity{margin:16px 0;padding:12px;border:1px solid #dce5d9;border-radius:8px}.licence-capacity table{display:block;overflow-x:auto}.licence-capacity th,.licence-capacity td{white-space:nowrap}.filter-bar input[type=search]{min-width:180px;flex:1}.filter-bar label{min-width:120px}.editor-actions{gap:7px}.editor-actions button{min-height:42px}.report-filters label{font-size:12px}.report-totals strong{font-size:23px}main{min-width:0}button,summary,input,select{touch-action:manipulation}input[type=checkbox]{min-width:20px;min-height:20px;accent-color:#286d36}.row-menu button[data-variant=destructive]{margin-top:8px;border-top:2px solid #f2cccc}
@media(max-width:800px){.admin-rail{position:relative;width:100%;max-height:260px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;overflow:auto}.rail-brand{grid-column:1/-1;padding:4px 12px}.admin-rail>.rail-caption{grid-column:1/-1}.nav-group{margin:0}.nav-group>a{margin:0}.nav-group>summary{min-height:44px}header{padding:10px 18px;height:auto;min-height:48px}.overview h1{font-size:24px}main{margin-left:0;padding:16px}.filter-bar{align-items:stretch}.filter-bar label,.filter-bar input[type=search]{width:100%;min-width:0}.workspace-pagination{justify-content:space-between}.row-menu[open]>button{white-space:normal}.workspace-table-wrap table{min-width:640px}.section-heading h2,.editor-heading h2{font-size:21px}.business-group>.editor-actions{display:flex;flex-wrap:wrap}}
#fleetExplorer .row-menu{margin:0;padding:0;border:0}#fleetExplorer .column-picker{margin:6px 0;padding:8px 12px;border:1px solid #dce5d9}#fleetExplorer .business-group{padding:0 12px;margin:10px 0;border:1px solid #dce5d9}#fleetExplorer .business-group>summary{padding:13px 4px}#fleetExplorer .row-menu>summary{min-height:44px;padding:10px 12px}#fleetExplorer .workspace-table-wrap td{padding:9px 12px}.row-menu[open]>summary{margin-bottom:6px}
.business-directory{display:grid;gap:8px}.directory-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 12px;border-bottom:1px solid #dce5d9}.directory-row p{margin:5px 0;color:#536457}.business-directory.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.business-directory.cards .directory-row{display:block;border:1px solid #dce5d9;border-radius:9px}.business-directory.cards .editor-actions{margin-top:12px;display:flex;flex-wrap:wrap}@media(max-width:800px){.directory-row{display:block}.directory-row .editor-actions{display:flex;flex-wrap:wrap;margin-top:10px}}

#workspaceMenu{display:none}
@media(max-width:900px){#workspaceMenu{display:inline-flex;align-items:center;min-height:44px}header{display:flex;height:58px;padding:6px 16px;gap:12px}.admin-rail{padding:8px 16px;gap:6px}.admin-rail .rail-brand{font-size:22px;padding:2px 8px}.admin-rail:not(.nav-open)>:not(.rail-brand){display:none!important}.admin-rail.nav-open{max-height:65vh;overflow:auto}.section-heading .eyebrow{display:none}.section-heading h2{margin:4px 0}.section-heading{gap:10px}}
/* POS UK email settings: scoped layout, shared navigation unchanged. */
#emailSettings .email-settings-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px;margin:24px 0}
#emailSettings .email-card{padding:24px;border:1px solid #dce5d9;border-radius:14px;background:#fff;min-width:0}
#emailSettings .email-card h3{margin:0 0 12px;font-size:18px}#emailSettings .email-muted{color:#58665d;font-size:13px;line-height:1.6}
#emailSettingsForm{display:grid;grid-template-columns:1fr;gap:16px;max-width:560px}#emailSettingsForm label{display:grid;gap:7px;min-width:0;margin:0}#emailSettingsForm input,#emailSettingsForm select{width:100%;box-sizing:border-box;margin:0}#emailSettingsForm .email-enable{display:flex;flex-direction:row;align-items:center;gap:10px}#emailSettingsForm input[type=checkbox]{width:20px}#emailSettingsForm button{justify-self:start;margin:0}#emailSettingsForm #smtpCredentialHint{margin:0}#smtpCustomFields{display:grid;gap:14px;min-width:0;margin:0;padding:16px;border:1px solid #dce5dc;border-radius:12px}#smtpCustomFields.hidden{display:none}
#emailSettings .email-badge{padding:8px 12px;border-radius:30px;background:#eef1ed;color:#45564a;font-size:12px;white-space:nowrap}#emailSettings .email-badge[data-state=ready]{background:#e9f5e3;color:#315f22}#emailSettings .email-badge[data-state=missing]{background:#fff1db;color:#80500b}
#emailSettings dl{display:grid;grid-template-columns:100px 1fr;gap:12px;font-size:13px}#emailSettings dt{color:#58665d}#emailSettings dd{margin:0;font-weight:600;overflow-wrap:anywhere}#emailSettings .email-guide p{line-height:1.6;font-size:13px}#emailSettings .email-guide hr{border:0;border-top:1px solid #dce5d9;margin:22px 0}#emailSettings .email-guide button{display:block;margin:10px 0;width:100%}
#emailSettings .email-table-wrap{overflow:auto;max-height:480px}#emailSettings table{width:100%;border-collapse:collapse;font-size:13px}#emailSettings th{position:sticky;top:0;background:#f3f6f2;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em}#emailSettings td,#emailSettings th{padding:12px;border-bottom:1px solid #e3eae2}#emailSettings td{vertical-align:top;overflow-wrap:anywhere}
@media(max-width:850px){#emailSettings .email-settings-grid{grid-template-columns:1fr}#emailSettings .email-card{padding:18px}#emailSettings .section-heading{flex-wrap:wrap}}
/* POS UK device directory: a single compact, scrollable table in list view. */
#fleetExplorer .fleet-toolbar{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr));gap:12px;padding:16px;background:#f6f8f4;border:1px solid #dce5d9;border-radius:12px}
#fleetExplorer .fleet-toolbar label{display:grid;gap:6px;min-width:0;width:auto;margin:0;font-size:11px;font-weight:600}#fleetExplorer .fleet-toolbar label:has([data-fleet-field=q]){grid-column:span 2}#fleetExplorer .fleet-toolbar input,#fleetExplorer .fleet-toolbar select{width:100%;min-width:0;margin:0;padding:9px 11px;min-height:40px;font-size:12px}
#fleetExplorer .fleet-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}#fleetExplorer .fleet-tools button{margin:0;padding:8px 12px;min-height:38px;font-size:12px}#fleetExplorer .fleet-view-switch{display:flex;gap:3px;padding:3px;background:#eaf0e7;border-radius:9px}#fleetExplorer .fleet-view-switch button{border:0;background:transparent}#fleetExplorer .fleet-view-switch button[aria-pressed=true]{background:#fff;color:#245d30;box-shadow:0 1px 4px #18251d15}#fleetExplorer .column-picker{margin:0 0 0 auto;padding:6px 10px;font-size:12px}#fleetExplorer .column-picker[open]{flex-basis:100%;order:1}
#fleetExplorer .fleet-table-wrap{max-height:65vh;overflow:auto;border:1px solid #dce5d9;border-radius:10px;scrollbar-gutter:stable}#fleetExplorer .fleet-table-wrap:focus-visible{outline:3px solid #72c052;outline-offset:2px}#fleetExplorer .fleet-table{display:table!important;width:100%;min-width:1100px;border-collapse:separate;border-spacing:0;font-size:12px}#fleetExplorer .fleet-table thead{display:table-header-group}#fleetExplorer .fleet-table tbody{display:table-row-group}#fleetExplorer .fleet-table tr{display:table-row!important;border:0;margin:0;padding:0}#fleetExplorer .fleet-table th{display:table-cell;position:sticky;top:0;z-index:2;background:#edf2e9;box-shadow:0 1px 0 #dce5d9;font-size:10px}#fleetExplorer .fleet-table td,#fleetExplorer .fleet-table th{padding:8px 10px;vertical-align:top}#fleetExplorer .fleet-table tbody tr:nth-child(even){background:#f9fbf8}#fleetExplorer .fleet-table tbody tr:hover{background:#f0f6ed}#fleetExplorer .fleet-table td small{max-width:170px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#fleetExplorer .fleet-table td:first-child{font-weight:600;min-width:130px}#fleetExplorer .fleet-status[data-status=online]{color:#236b35;font-weight:650}#fleetExplorer .fleet-status[data-status=offline],#fleetExplorer .fleet-status[data-status=stale]{color:#925421}#fleetExplorer .fleet-table .row-menu>summary{padding:7px 10px;min-height:32px;font-size:11px}#fleetExplorer .fleet-table .row-menu[open]{min-width:170px}#fleetExplorer .workspace-pagination{font-size:12px}
@media(max-width:1000px){#fleetExplorer .fleet-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#fleetExplorer .fleet-toolbar{padding:12px;gap:10px}#fleetExplorer .fleet-tools{gap:6px}#fleetExplorer .column-picker{margin-left:0}#fleetExplorer .fleet-tools button{padding:8px 10px}#fleetExplorer .fleet-table-wrap{max-height:60vh}#fleetExplorer .workspace-pagination{gap:6px}}
/* Shared record menus are portalled outside scrolling rows. */
.record-action-trigger{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;margin:0;border:1px solid #d3ded0;border-radius:8px;background:#fff;color:#314835;font-size:24px;line-height:1;cursor:pointer}
.record-action-trigger:hover,.record-action-trigger[aria-expanded=true]{background:#edf4e9;border-color:#8bac7b}.record-action-trigger:focus-visible{outline:3px solid #72c052;outline-offset:2px}
.record-action-menu{position:fixed;z-index:1000;width:256px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:6px;border:1px solid #d8e2d5;border-radius:12px;background:#fff;box-shadow:0 12px 36px #18251d29;text-align:left}
.record-action-menu button{display:block;width:100%;min-height:38px;margin:0;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:#263b2b;text-align:left;font-size:13px;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.record-action-menu button:hover,.record-action-menu button:focus-visible{background:#edf4e9;outline:2px solid #72c052;outline-offset:-2px}.record-action-menu button[data-variant=destructive]{background:transparent;color:#a22c2c}.record-action-menu button[data-variant=destructive]:hover,.record-action-menu button[data-variant=destructive]:focus-visible{background:#fff0ed}.record-action-menu button:disabled{color:#7a837c;background:#f7f8f6;cursor:not-allowed}.record-action-menu [role=separator]{height:1px;margin:5px 6px;background:#e5ebe2}
#fleetExplorer .fleet-table th:last-child,#fleetExplorer .fleet-table td.record-actions-cell{position:sticky;right:0;width:76px;min-width:76px;max-width:76px;text-align:center;background:#fff;box-shadow:-1px 0 0 #dce5d9}
#fleetExplorer .fleet-table th:last-child{top:0;z-index:4;background:#edf2e9}#fleetExplorer .fleet-table td.record-actions-cell{z-index:1}#fleetExplorer .fleet-table tbody tr:nth-child(even) td.record-actions-cell{background:#f9fbf8}#fleetExplorer .fleet-table tbody tr:hover td.record-actions-cell{background:#f0f6ed}
#fleetExplorer .workspace-results.cards tr:not(:first-child){position:relative;padding-right:58px}#fleetExplorer .workspace-results.cards td.record-actions-cell{position:absolute;right:8px;top:8px;padding:0;border:0;background:transparent}
@media(pointer:coarse){.record-action-trigger{width:42px;height:42px}.record-action-menu button{min-height:44px}}
.record-table-scroll{max-width:100%;max-height:65vh;overflow:auto;border:1px solid #e1e8df;border-radius:10px;margin:12px 0}.record-actions-table{width:100%;min-width:620px;border-collapse:separate;border-spacing:0}.record-actions-table th{position:sticky;top:0;z-index:2;background:#edf2e9}.record-actions-table tr>th:last-child,.record-actions-table tr>td:last-child{position:sticky;right:0;width:76px;min-width:76px;max-width:76px;text-align:center;background:#fff;box-shadow:-1px 0 0 #dce5d9}.record-actions-table tr>th:last-child{z-index:4;background:#edf2e9}.record-actions-table tr>td:last-child{z-index:1}.record-card-actions{display:flex!important;align-items:start;justify-content:flex-end;gap:0!important}.has-record-actions{position:relative}.has-record-actions>.record-card-actions{position:absolute;right:14px;top:14px}.has-record-actions>div:first-child,.has-record-actions>h3{padding-right:50px}.kd-display.record-card-actions,.kd-station.record-card-actions{display:block!important;position:relative}.kd-display>.record-action-trigger,.kd-station>.record-action-trigger{position:absolute;right:14px;top:14px}.kd-display>h3,.kd-station>h3{padding-right:44px}
.business-select{display:block;max-width:100%;margin:0;padding:0;border:0;background:transparent;color:#243c2a;text-align:left;font-size:15px;font-weight:700}.business-select:hover{text-decoration:underline}.directory-row.is-selected{border-color:#70a557;background:#f0f7eb;box-shadow:inset 3px 0 #72c052}.business-details{margin-top:20px;border-top:3px solid #72c052}.business-details h3{font-size:22px;margin:0 0 12px}.business-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.business-detail-grid .detail-card{min-width:0;margin:0;padding:18px;border-radius:12px;background:#fafcf9}.detail-card h4{margin:0 0 12px;font-size:15px}.detail-card table{font-size:12px;display:block;overflow:auto}.navigation-backdrop{display:none}
@media(min-width:901px){.admin-rail{position:fixed;top:0;bottom:0;height:100dvh;overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:900px){.admin-rail{position:fixed;top:56px;bottom:0;left:0;width:min(300px,86vw);height:calc(100dvh - 56px);max-height:none;display:flex;flex-direction:column;overflow:auto;transform:translateX(-105%);transition:transform .15s ease;z-index:41}.admin-rail.nav-open{transform:translateX(0)}.admin-rail .nav-group,.admin-rail a{display:block!important}.admin-rail a.hidden{display:none!important}header{min-height:56px;height:56px;padding:8px 18px;top:0;z-index:42}main{margin-left:0;padding:16px}.navigation-backdrop:not([hidden]){display:block;position:fixed;inset:56px 0 0;border:0;border-radius:0;margin:0;width:100%;height:calc(100dvh - 56px);background:#13251b66;z-index:40}.business-detail-grid{grid-template-columns:1fr}}
.signed-out .navigation-backdrop{display:none!important}
#workspace>section{border-radius:14px;box-shadow:0 3px 16px #1d342405}#workspace>section>h2{font-size:24px;letter-spacing:-.025em}.directory-row{min-height:76px;border:1px solid #dfe7dc;border-radius:10px;padding:16px;margin:8px 0;background:#fff}.directory-row p{margin:8px 0 0;color:#59685d;font-size:12px}.record-actions-table td,.record-actions-table th{padding:11px 12px;border-bottom:1px solid #e5ebe2;text-align:left;vertical-align:top}.record-actions-table th{font-size:10px;text-transform:uppercase;letter-spacing:.035em;color:#4d6052}.record-actions-table tbody tr:nth-child(even){background:#fafcf9}.record-actions-table .record-action-trigger{vertical-align:top}
dialog.admin-drawer{position:fixed;inset:0 0 0 auto;width:min(680px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:24px;border-radius:16px 0 0 16px;overflow:auto;border:0;border-left:1px solid #dfe7dc;box-shadow:-18px 0 60px #1025182b}dialog.admin-drawer .dialog-heading{position:sticky;top:-24px;padding:16px 0;background:#fff;z-index:3;border-bottom:1px solid #e2e9df;margin-bottom:18px}dialog.admin-drawer .dialog-heading h2{font-size:21px;line-height:1.3;margin:4px 0}dialog.admin-drawer #dialogBody>label{display:flex;gap:7px;width:100%;margin:10px 0}dialog.admin-drawer #dialogBody>label>input,dialog.admin-drawer #dialogBody>label>select{width:100%}dialog.admin-drawer #dialogBody p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.discard-panel{max-width:440px}.discard-panel h2{font-size:21px}.discard-panel button{min-height:42px}.dialog-feedback:empty{display:none}
@media(max-width:600px){dialog.admin-drawer{width:100vw;padding:18px;border-radius:0}dialog.admin-drawer .dialog-heading{top:-18px}#workspace>section{padding:18px 14px}.business-details h3{font-size:19px}}
.signed-out main{padding:0;margin:0;max-width:none}.signed-out #login{padding:0;margin:0;border:0;border-radius:0;background:#f5f7f0}.auth-shell{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(400px,.88fr);min-height:100dvh}.auth-brand{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(36px,6vw,92px);background:#1e2f26;color:#f5f7ee}.auth-brand:after{content:'';position:absolute;z-index:-1;width:700px;height:700px;right:-360px;bottom:-520px;border:1px solid #6d915351;border-radius:50%;box-shadow:0 0 0 70px #6d915307,0 0 0 140px #6d915305}.auth-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:#9bbd78}.auth-brand h1{font-size:clamp(40px,5.4vw,78px);line-height:1.08;letter-spacing:-.045em;margin:52px 0 30px;color:#f5f7ee}.auth-brand h1 span{color:#a5cb78}.auth-intro{max-width:440px;font-size:16px;line-height:1.8;color:#b8c8b7}.auth-steps{margin-top:64px;font-size:12px;color:#bdcdb8}.auth-side{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px clamp(24px,4vw,64px);gap:18px}.auth-card{width:100%;max-width:500px;padding:36px;border:1px solid #e0e7db;border-radius:24px;background:#fff;box-shadow:0 12px 45px #243c2b04}.auth-wordmark{display:flex;align-items:center;gap:9px;margin-bottom:34px;font-size:25px;font-weight:800;letter-spacing:-.04em}.auth-wordmark img{width:32px;height:44px;object-fit:contain}.auth-wordmark small{display:block;font-size:10px;letter-spacing:.03em;font-weight:500;color:#5e6c60}.auth-accent{color:#4d9b3c}.auth-card h2{font-size:23px;margin:0 0 8px;color:#243b2b}.auth-caption{font-size:13px;color:#68756c;line-height:1.5;margin-bottom:25px}#loginForm{display:grid;gap:10px}#loginForm>label{display:block;margin:5px 0 0;font-size:13px;font-weight:600;color:#5b6864}#loginForm input{width:100%;min-height:54px;margin:0;padding:14px 15px;font-size:16px;border:1px solid #dce4e7;border-radius:11px;background:#fff}#loginForm input:focus-visible{outline:2px solid #9bbd78;outline-offset:1px}.auth-password{position:relative}.auth-password input{padding-right:70px!important}#loginForm .auth-toggle{position:absolute;right:8px;top:8px;min-height:38px;margin:0;padding:8px 9px;border:0;background:transparent;font-size:12px;color:#4b6852}#loginForm>button[type=submit]{margin:14px 0 0;min-height:54px;border:0;border-radius:11px;background:#365640;color:#fff;font-size:16px;font-weight:650}#loginForm>button[type=submit]:disabled{opacity:.65}#resetRequest{margin:16px 0 0;padding:4px 0;border:0;background:transparent;color:#45694c;font-size:13px;text-decoration:underline}#resetForm:not(.hidden){display:grid;gap:12px;margin-top:24px;border-top:1px solid #e1e8de;padding-top:20px}#resetForm input{width:100%}.auth-footer{font-size:11px;color:#647364;text-align:center}
@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-brand{padding:28px 24px;min-height:230px}.auth-brand h1{font-size:40px;margin:24px 0 16px}.auth-brand h1 br{display:none}.auth-brand h1 br:after{content:' '}.auth-brand h1 span{display:block}.auth-intro{font-size:13px;margin:0;max-width:100%}.auth-steps{display:none}.auth-eyebrow{font-size:9px}.auth-side{padding:28px 18px}.auth-card{padding:26px 22px;border-radius:18px}.auth-wordmark{font-size:23px;margin-bottom:26px}}
.signed-out #login{max-width:none;width:100%}.signed-out #login .auth-brand h1{font-size:clamp(40px,5.4vw,78px);line-height:1.08}@media(max-width:850px){.signed-out #login .auth-brand h1{font-size:32px}}
.business-detail-grid{align-items:start}#businessDetails .detail-card h3{font-size:14px;margin:14px 0 8px}.has-record-actions>.record-card-actions{padding:0!important;margin:0;border:0}
/* Optional audit context and consistent save footers. */
.reason-form{min-width:0}.optional-reason{display:flex!important;flex-direction:column;gap:8px;width:100%;margin:20px 0 16px!important;font-weight:600;font-size:14px;line-height:1.5;box-sizing:border-box}.optional-reason textarea,textarea.optional-reason{display:block;width:100%;max-width:100%;min-height:88px;resize:vertical;box-sizing:border-box;font:inherit;font-weight:400;line-height:1.5;padding:12px;border:1px solid #bac8b8;border-radius:10px;background:#fff;color:#213b2c}
.reason-actions{position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px;padding:14px 0 max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce5db}.reason-actions button{margin:0;min-height:44px}.reason-actions button[data-variant=primary]{order:2}.reason-actions button:focus-visible,.optional-reason textarea:focus-visible{outline:3px solid #5c873d;outline-offset:3px}
.capacity-location{min-width:0;margin:18px 0;padding:18px;border:1px solid #dce5db;border-radius:12px}.capacity-location legend{padding:0 7px;font-weight:700}.capacity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.capacity-fields label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;font-size:14px}.capacity-fields input{width:100%;min-width:0;box-sizing:border-box}.capacity-form .dialog-feedback{position:sticky;top:50px;z-index:2;background:#fff}
@media(max-width:600px){.capacity-fields{grid-template-columns:1fr}.capacity-location{padding:14px}.reason-actions{gap:8px}.reason-actions button{flex:1}#actionDialog{box-sizing:border-box;max-width:100vw}.reason-form input,.reason-form select{max-width:100%;box-sizing:border-box}}
.workspace-results.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px}.device-card{min-width:0;aspect-ratio:1;border:1px solid #dce5d9;border-radius:14px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;overflow:hidden}.device-card[data-selected=true]{border:2px solid #286d36;background:#f5faf2;padding:15px}.device-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.device-card-select{min-width:0;padding:2px 0!important;margin:0!important;background:transparent!important;color:#183324!important;border:0!important;text-align:left;font-weight:700;font-size:16px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.device-card-meta{flex:1;min-height:0;overflow:auto}.device-card-meta p{font-size:13px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.device-card-contact{font-size:12px;margin:0;color:#526355}.device-card>small{font-size:11px;overflow-wrap:anywhere}.device-card button:focus-visible{outline:3px solid #5c873d;outline-offset:3px}
.license-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.license-totals>div{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #dce5d9;border-radius:10px;background:#f5f8f2}.license-totals strong{font-size:26px;color:#244d2c}.license-totals span{font-size:12px;overflow-wrap:anywhere}.license-code-status{margin:16px 0;border-top:1px solid #dce5d9;padding-top:12px}.licence-capacity{min-width:0}.licence-capacity table{max-width:100%}
dialog.floor-plan-panel{width:min(1120px,100vw)}.floor-plan-panel .service-edit-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.floor-plan-panel fieldset{min-width:0}.floor-plan-panel .service-floor-editor{height:360px}
.floor-plan-viewport{max-width:100%;max-height:480px;overflow:auto;touch-action:pan-x pan-y;border:1px solid #dce5d9;border-radius:10px}.floor-plan-viewport .service-floor-editor{box-sizing:border-box;margin:0;width:100%;min-width:100%}.floor-plan-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.floor-plan-tools button{margin:0;min-height:44px}.floor-plan-tools label{display:flex;align-items:center;gap:6px;margin:0}.floor-plan-tools input[type=checkbox]{width:22px;height:22px}

/* Feedback belongs inside native dialog top layers, not a higher page z-index. */
.dialog-feedback:not(:empty){position:sticky;top:0;z-index:8;max-width:100%;overflow-wrap:anywhere;padding:12px 14px;margin:0 0 14px;border:1px solid #b9cdb7;border-radius:9px;background:#f0f7ec;color:#254327;line-height:1.5}.dialog-feedback[data-kind=error]:not(:empty),#message[data-kind=error]:not(:empty){background:#fff0ed;border-color:#ba5b4a;color:#752b20}.dialog-feedback:focus-visible{outline:3px solid #5c873d;outline-offset:2px}

#accountMenuHost{margin-left:auto;display:flex;align-items:center}.account-profile-trigger{font-size:22px;line-height:1;color:#eaf4e6;background:#283e2d;border:1px solid #59705d;min-width:44px;min-height:44px}html.signed-out #accountMenuHost{display:none}

.business-profile-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;padding:20px;border:1px solid #dce3db;border-radius:18px}.business-profile-dialog form{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;max-height:calc(90dvh - 40px);margin:0;gap:12px}.business-profile-dialog form>div{overflow:auto;min-height:0}.business-profile-dialog footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;background:#fff;padding:12px 0}.business-profile-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;margin:16px 0}.business-profile-dialog form>*{min-width:0}.business-profile-dialog form>div>label{display:grid;gap:6px}.business-profile-dialog textarea{box-sizing:border-box;max-width:100%;min-width:0}.business-profile-fields label{min-width:0;display:flex;flex-direction:column;gap:6px}.business-profile-fields input,.business-profile-fields textarea,.business-profile-dialog select{box-sizing:border-box;margin:0;min-width:0;max-width:100%;width:100%;min-height:44px;font:inherit;padding:10px;border:1px solid #859087;border-radius:8px}.business-profile-fields span{display:flex;align-items:center;gap:8px;font-size:.85rem}.business-profile-fields input[type=checkbox]{width:22px;min-height:22px}.business-receipt-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f3;border:1px solid #dce3db;padding:16px}.business-profile-dialog input:focus-visible,.business-profile-dialog button:focus-visible{outline:3px solid #315b87;outline-offset:2px}

.service-floor-editor .selected-table,.floor-plan-panel fieldset.selected-table{outline:3px solid #315b87;outline-offset:2px}.service-floor-editor:not(.movement-enabled) .service-map-table{cursor:pointer;touch-action:pan-x pan-y}.service-floor-editor.movement-enabled .service-map-table{cursor:move;touch-action:none}
.purge-confirmation-form{display:grid;gap:16px;margin-top:20px}.purge-confirmation-form label{display:grid;gap:8px;margin:0;min-width:0}.purge-confirmation-form input,.purge-confirmation-form textarea{box-sizing:border-box;min-width:0;width:100%;margin:0;min-height:44px;font:inherit}.purge-confirmation-form label:has(input[type=checkbox]){display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:12px;line-height:1.5}.purge-confirmation-form input[type=checkbox]{flex:0 0 22px;width:22px;min-height:22px;height:22px}.purge-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;background:#fff;border-top:1px solid #dce5d8;padding:14px 0 0;margin-top:20px;z-index:2}.purge-actions button{min-height:44px;margin:0}.purge-confirmation-form :focus-visible{outline:3px solid #315b87;outline-offset:2px}
/* Customer directory and read-only order history stay scoped to their business. */
.customer-directory-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #dce4d9}.customer-directory-row>div{flex:1 1 230px;min-width:0}.customer-directory-row small{display:block;overflow-wrap:anywhere}.customer-history-card{padding:16px;margin:12px 0;border:1px solid #dce4d9;border-radius:14px;background:#f8fbf6}.customer-history-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.customer-history-facts>div{display:grid;gap:4px}.customer-history-facts span{font-size:.85rem;color:#596754}.customer-history-card p{color:#596754}
.customer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:840px}.customer-form>label{display:flex;min-width:0;margin:0}.customer-form>label>input{width:100%;max-width:100%;min-width:0}.customer-form>.customer-identity,.customer-form>footer{grid-column:1/-1}.customer-identity{display:block;overflow-wrap:anywhere}.customer-form>footer{display:flex;gap:10px;flex-wrap:wrap;padding:10px 0;background:#fff}@media(max-width:600px){.customer-form{grid-template-columns:minmax(0,1fr)}}

/* Device enrolment and recovery keep the original business scope visible. */
.device-setup{min-width:0}.device-setup>p:first-child{margin-top:0}.device-setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.device-setup-fields>label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:13px;font-weight:600}.device-setup-fields>label>small{font-weight:400;line-height:1.5;color:#59685d}.device-setup input:not([type=checkbox]),.device-setup select,.device-setup textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:44px;margin:0;padding:10px;border:1px solid #aebdab;border-radius:8px;font:inherit}.device-setup input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:0 0 22px}.device-setup button{min-height:44px;margin:0;white-space:normal;overflow-wrap:anywhere}.device-setup-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:14px 0;padding:14px;background:#f4f8f0;border:1px solid #dce5d9;border-radius:10px}.device-setup-context>div{min-width:0}.device-setup-context dt{font-size:11px;color:#59685d;margin-bottom:3px}.device-setup-context dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.device-setup-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px}.device-setup-footer{position:sticky;bottom:-24px;z-index:2;background:#fff;padding:14px 0 24px;border-top:1px solid #dce5d9}.device-setup-availability{padding:12px;border:1px solid #cbdcc3;background:#f1f7ed;border-radius:9px}.device-setup-panel{margin:18px 0;padding:16px;border:1px solid #cbdcc3;border-radius:12px;background:#fafcf8}.device-setup-panel[hidden]{display:none}.device-setup-panel h3{margin-top:0}.device-setup .activation-code{display:block;padding:14px;margin:14px 0;background:#eaf3e3;border:1px solid #b9cdb0;border-radius:9px;font-family:monospace;font-size:clamp(22px,4vw,34px);font-weight:700;letter-spacing:.08em;text-align:center;overflow-wrap:anywhere}.device-recovery-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.device-recovery-choices button{text-align:left;padding:14px}.device-recovery-choices button[aria-pressed=true]{outline:2px solid #416b30;background:#e8f2e0}.device-recovery-panel>.optional-reason{margin-top:16px!important}.device-recovery-panel>label:not(.optional-reason){display:flex;align-items:center;gap:10px;margin:16px 0;font-size:13px;line-height:1.5}.revoked-device-cards{display:grid;gap:14px}.revoked-device-card{border:1px solid #d9e4d5;border-radius:12px;padding:16px;background:#fff}.revoked-device-card h3{font-size:17px;margin:0 0 8px}.revoked-device-card p{margin:6px 0!important}.revoked-device-card>button{width:100%;margin-top:12px}.revoked-device-card>small{display:block;margin-top:10px;color:#5d695f}.device-setup :focus-visible{outline:3px solid #315b87;outline-offset:2px}
@media(max-width:600px){.device-setup-fields,.device-recovery-choices{grid-template-columns:minmax(0,1fr)}.device-setup-context{gap:10px;padding:12px}.device-setup-panel{padding:12px}.device-setup-actions>button{flex:1 1 140px}.device-setup-footer{bottom:-18px;padding-bottom:18px}}

/* Business identity is a full editor page in the web console. */
.business-profile-inline{box-sizing:border-box;max-width:1100px;width:100%;padding:clamp(16px,3vw,30px)}.business-profile-inline form{display:grid;gap:16px;min-width:0}.business-profile-inline form>*{min-width:0}.business-profile-inline select,.business-profile-inline textarea{box-sizing:border-box;max-width:100%;min-width:0;font:inherit;padding:10px;border:1px solid #859087;border-radius:8px}.business-profile-inline form>div>select{margin:0 10px 12px 0;min-height:44px}.business-profile-inline footer{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #dce3db;padding-top:16px}.business-profile-inline .business-profile-logo{padding:16px;background:#f3f7f4;border:1px solid #dce3db;border-radius:10px;margin:16px 0}.business-profile-logo input[type=file]{max-width:100%;min-width:0;display:block;margin:12px 0}.business-profile-logo button{margin:5px 10px 5px 0}.business-profile-logo label{display:flex;gap:10px;align-items:center}.business-profile-inline input:focus-visible,.business-profile-inline button:focus-visible{outline:3px solid #315b87;outline-offset:2px}@media(max-width:600px){.business-profile-inline form>div>select{width:100%;margin-right:0}.business-profile-inline footer button{flex:1}.business-profile-logo button{max-width:100%}}

.business-profile-logo-preview{display:block;max-width:200px;max-height:100px;object-fit:contain;margin:12px 0}.business-profile-logo-preview[hidden]{display:none}
/* Noninteractive feedback must not block the next business-settings action. */
body.admin-redesign #message{pointer-events:none}
