:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f8fb;color:#102a3d;--brand: #062a44;--brand-strong: #031d30;--brand-soft: #e8f3f8;--brand-tint: #f3faf7;--ink: #102a3d;--muted: #637787;--line: #dbe7ed;--sidebar: #062a44;--sidebar-deep: #031d30;--accent: #35d07f;--accent-deep: #139759;--danger: #b42318;--warning: #a15c07;--surface: #ffffff;--shadow: 0 14px 36px rgba(6, 42, 68, .08)}*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;min-width:320px;overflow-x:hidden}button,input,select{font:inherit}button{border:1px solid #cdd8d4;background:#fff;color:#16201d;border-radius:8px;padding:.7rem .95rem;cursor:pointer;display:inline-flex;gap:.45rem;align-items:center;justify-content:center}button svg{width:18px;height:18px}.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.center{min-height:100vh;display:grid;place-items:center}.login-shell{min-height:100vh;display:grid;place-items:center;padding:1rem;background:linear-gradient(135deg,#0b6b57,#22363f)}.login-panel{width:min(430px,100%);background:#fff;border-radius:8px;padding:2rem;box-shadow:0 20px 80px #00000040}.brand{display:flex;gap:.8rem;align-items:center}.brand svg{width:38px;height:38px;color:var(--brand)}.brand h1{margin:0;font-size:1.8rem;letter-spacing:0}.brand span{color:var(--muted)}.compact h1{font-size:1.15rem}.compact svg{width:28px;height:28px}.form{display:grid;gap:1rem;margin-top:2rem}label{display:grid;gap:.35rem;color:#43524d}input,select{width:100%;border:1px solid #cdd8d4;border-radius:8px;padding:.75rem;background:#fff}.notice{padding:.8rem;border-radius:8px}.error{background:#feeceb;color:#8c1d18}.ok-text{background:#e9f8f1;color:#0b6b57}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#fffffff5;border-bottom:1px solid var(--line);box-shadow:0 6px 20px #22313f14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.icon-button{width:44px;height:44px;padding:0}.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;padding:1rem}.technical-screen{display:grid;gap:1rem;padding:1rem}.technical-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(360px,1.15fr);gap:1rem;align-items:start}.technical-form{margin:.75rem 0}.technical-schedule{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.65fr) minmax(130px,.55fr) minmax(140px,.6fr) auto;gap:.65rem;align-items:end;margin-top:.85rem}.technical-jms-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:.65rem;margin:.85rem 0}.diagnostic-detail{border:1px solid var(--line);border-radius:8px;margin-top:.75rem;overflow:hidden}.diagnostic-detail summary{cursor:pointer;font-weight:700;padding:.75rem .9rem}.diagnostic-detail pre{border-radius:0;margin:0;max-height:24rem;overflow:auto;white-space:pre-wrap;word-break:break-word}.technical-jms-grid label,.technical-schedule label,.technical-form label{min-width:0}.commerce-grid{grid-template-columns:minmax(300px,1.1fr) minmax(300px,.9fr)}.panel,.scanner{min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:1rem}.panel h2{margin-top:0;font-size:1.1rem;display:flex;align-items:center;gap:.5rem}.wide{margin:1rem}.admin-layout{min-height:calc(100vh - 73px);display:grid;grid-template-columns:250px minmax(0,1fr);background:#eef2f5}.admin-sidebar{position:sticky;top:73px;height:calc(100vh - 73px);display:flex;flex-direction:column;background:linear-gradient(180deg,var(--sidebar),var(--sidebar-deep));color:#d6e0e8;border-right:1px solid rgba(255,255,255,.08)}.admin-main{min-width:0;padding-bottom:1rem}.page-heading{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.25rem}.page-heading h1{margin:.25rem 0 0;color:#334155;font-size:clamp(1.45rem,2.2vw,2rem);font-weight:700;letter-spacing:0}.breadcrumb{display:inline-flex;align-items:center;gap:.4rem;color:#7a8996;font-size:.85rem}.breadcrumb svg{width:15px;height:15px}.role-pill,.soft-pill{display:inline-flex;align-items:center;min-height:34px;padding:.35rem .8rem;border:1px solid rgba(122,163,61,.45);border-radius:999px;background:#fff;color:#5f8428;font-size:.86rem;white-space:nowrap}.admin-grid{display:grid;grid-template-columns:minmax(620px,1fr) minmax(320px,.48fr);gap:1rem;padding:1rem;align-items:start}.merchant-screen,.compact-screen{display:grid;gap:.75rem;padding:0 1.25rem 1rem}.compact-screen .compact-screen{padding:0}.compact-panel,.compact-editor{box-shadow:0 12px 28px #22313f0d}.compact-panel>.section-title{padding-bottom:.75rem;border-bottom:1px solid #e7ecef}.compact-panel h2,.merchant-list-panel h2{margin-bottom:.1rem}.compact-editor.collapsed{padding:0}.compact-editor-form{gap:.75rem;margin-top:0;padding-top:.85rem;border-top:1px solid #e7ecef}.compact-fields{grid-template-columns:repeat(4,minmax(170px,1fr));gap:.65rem}.compact-fields label{gap:.25rem;font-size:.88rem}.compact-fields input,.compact-fields select{padding:.6rem .7rem}.compact-checks{display:flex;flex-wrap:wrap;gap:.55rem}.merchant-editor,.merchant-list-panel{box-shadow:0 12px 28px #22313f0d}.merchant-list-panel .section-title{padding-bottom:.85rem;border-bottom:1px solid #e7ecef}.merchant-editor.collapsed{padding:0}.merchant-toggle{width:100%;min-height:50px;justify-content:space-between;border:0;background:transparent;color:#243447;padding:.8rem 1rem}.merchant-toggle span{font-weight:800}.merchant-toggle small{color:#6d842f}.merchant-form{gap:.75rem;margin-top:0;padding-top:.85rem;border-top:1px solid #e7ecef}.merchant-fields{grid-template-columns:repeat(3,minmax(180px,1fr));gap:.65rem}.merchant-fields label{gap:.25rem;font-size:.88rem}.merchant-fields input,.merchant-fields select{padding:.6rem .7rem}.merchant-fields .field-help{margin:.1rem 0 0}.discount-rule-box{display:grid;gap:.25rem;align-content:center;min-height:100%;padding:.7rem;border:1px solid #dbe8ef;border-radius:8px;background:#f8fbfd;color:#526272}.discount-rule-box strong{color:#243447}.discount-rule-box b{color:#087443;font-weight:800}.merchant-form-note{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem .7rem;background:#f7faf8;border:1px solid #e1ebe5;border-radius:8px}.merchant-form-note.compact{min-height:44px}.merchant-form-note .field-help{margin:0}.switch-row{min-height:32px;padding:.25rem .55rem;border:1px solid rgba(122,163,61,.35);border-radius:999px;background:#fff;white-space:nowrap}.merchant-config-grid{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(420px,1.1fr);gap:.75rem;align-items:start}.merchant-subsection{border:1px solid #dfe8e4;border-radius:8px;background:#fff}.merchant-subsection summary{cursor:pointer;padding:.65rem .8rem;color:#526272;font-weight:800;list-style-position:inside}.merchant-subsection[open] summary{border-bottom:1px solid #edf1f3}.merchant-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;padding-top:.2rem}.merchant-actions .notice{margin:0}.merchant-compact-list{display:grid;gap:.35rem;max-height:280px;overflow:auto;margin-top:.75rem}.merchant-compact-row{display:grid;grid-template-columns:minmax(190px,1.3fr) auto minmax(74px,.45fr) minmax(100px,.55fr) minmax(72px,.45fr) minmax(150px,.9fr) auto;gap:.55rem;align-items:center;min-height:58px;padding:.55rem .65rem;border:1px solid #e4ece8;border-radius:8px;background:#fff}.merchant-compact-row>span,.merchant-dates{min-width:0;color:#243447;font-size:.9rem;overflow:hidden;text-overflow:ellipsis}.merchant-compact-row small{display:block;margin-bottom:.1rem;color:#7a8996;font-size:.68rem;font-weight:800;text-transform:uppercase}.merchant-main{min-width:0}.merchant-main strong,.merchant-main span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merchant-main strong{color:#243447}.merchant-main span{color:#789;font-size:.78rem;text-transform:uppercase}.state-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.25rem .65rem;border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap}.state-badge.active{background:#e9f8f1;color:#0b6b57}.state-badge.inactive{background:#eef2f5;color:#667789}.state-badge.pending{background:#fff7e6;color:#9a5b00}.attention-pill{display:inline-flex;align-items:center;gap:.4rem;min-height:32px;padding:.25rem .7rem;border:1px solid #f3c46b;border-radius:999px;background:#fff7e6;color:#9a5b00;font-size:.84rem;font-weight:800;white-space:nowrap}.attention-pill svg{width:16px;height:16px}.action-alert{display:flex;align-items:center;gap:.55rem;margin:.75rem 0;padding:.65rem .8rem;border:1px solid #f3c46b;border-radius:8px;background:#fffaf0;color:#6f4700}.action-alert strong{color:#7a4b00}.action-alert span{color:#8a6630}.merchant-row-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.merchant-row-actions button{padding:.48rem .62rem}.section-title{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0}.section-title>div{min-width:0}.section-title h2,.section-title .muted{overflow-wrap:anywhere}.compact-form{margin-top:.75rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.field-help{margin:-.2rem 0 0;color:#60716b;font-size:.88rem}.twofa-setup{display:grid;justify-items:center;gap:.65rem;padding:.85rem;border:1px solid #dbe3e0;border-radius:8px;background:#f7faf8;text-align:center}.twofa-setup img{width:220px;max-width:100%;aspect-ratio:1;border:1px solid #e1ebe5;border-radius:8px;background:#fff}.twofa-setup code{max-width:100%;padding:.45rem .6rem;border-radius:8px;background:#fff;color:#22313f;overflow-wrap:anywhere}.check-row{display:flex;align-items:center;gap:.5rem;color:#16201d}.check-row input{width:auto}.schedule-block{display:grid;gap:.55rem}.schedule-block h3{margin:.35rem 0 0;font-size:1rem}.schedule-list{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:.35rem;border:0;border-radius:0;padding:.65rem}.schedule-row{display:grid;grid-template-columns:minmax(88px,1fr) minmax(108px,116px) minmax(108px,116px);gap:.35rem;align-items:center;padding:.4rem;background:#f9fbfa;border:1px solid #e8eef0;border-radius:8px}.schedule-row input{padding:.42rem}.schedule-row input[type=time]{min-width:108px;width:100%;padding-inline:.5rem}.special-date-list{display:grid;gap:.4rem;border:0;border-radius:0;padding:.65rem}.special-date-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(150px,1fr) minmax(84px,.5fr) minmax(82px,.45fr) minmax(82px,.45fr) auto;gap:.45rem;align-items:end;padding:.5rem;background:#f9fbfa;border:1px solid #e5ece9;border-radius:8px}.special-date-row input{padding:.45rem}.special-date-row button{padding:.5rem .65rem}.compact-dates .section-title{padding:.55rem .65rem 0}.compact-dates .section-title button{padding:.45rem .6rem}.status-dashboard{display:grid;gap:1rem;padding:0 1.25rem 1rem}.status-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:8px;padding:1.1rem 1.25rem}.status-hero h2{margin:.2rem 0;color:#334155;font-size:1.25rem}.status-hero p{margin:0;max-width:720px;color:#6b7b88}.eyebrow{color:#8ea0ad;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.connection-badge{display:inline-flex;align-items:center;gap:.6rem;min-height:40px;padding:.45rem .85rem;border-radius:999px;font-weight:700;white-space:nowrap}.connection-badge.ok{background:#e9f8f1;color:#0b6b57}.connection-badge.bad{background:#fff0ed;color:#a13225}.dashboard-cards{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.status-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:1rem 1.05rem;display:grid;gap:.45rem;min-height:136px;box-shadow:0 12px 28px #22313f0d}.status-card-head{display:flex;align-items:center;justify-content:space-between;color:var(--brand)}.status-card svg{width:22px;height:22px}.status-card span{color:var(--muted);font-size:.88rem;font-weight:700;text-transform:uppercase}.status-card strong{font-size:clamp(1.28rem,2.1vw,1.75rem);line-height:1.2;color:#16201d}.status-card small{color:var(--muted);overflow-wrap:anywhere}.led{width:10px;height:10px;border-radius:999px;display:inline-block;background:#9aa8a3;box-shadow:0 0 0 3px #9aa8a329}.led.ok{background:#0b8f68;box-shadow:0 0 0 3px #0b8f6826}.led.bad{background:#c24132;box-shadow:0 0 0 3px #c2413226}.led.pending{background:#b88700}.muted{color:var(--muted)}.scanner video{width:100%;aspect-ratio:4/3;background:#17201d;border-radius:8px;object-fit:cover}.scanner-actions{margin-top:.8rem;display:flex;justify-content:center}.scanner-help{display:block;margin-top:.55rem;text-align:center}.inline-form{display:flex;gap:.6rem}.inline-form input{min-width:0}.qr-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:center}.qr-entry-row input{min-width:0}.qr-entry-row button{min-height:48px;padding-inline:1.1rem}.discount-apply-block{display:grid;gap:.65rem;padding:.8rem .85rem;border:1px solid #d8e5eb;border-radius:8px;background:#f9fcfd}.discount-apply-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:.75rem;align-items:center}.discount-apply-head h3{margin:0;color:#526b7c;font-size:.94rem;font-weight:650}.discount-select-row span{color:var(--muted);font-size:.88rem}.discount-apply-head select,.discount-select-row select{width:100%}.discount-select-row{display:grid;gap:.35rem}.selected-discount-box{min-height:44px;display:flex;align-items:center;padding:.6rem .75rem;border:1px solid #cfdce4;border-radius:8px;background:#fff;color:#062a44;font-weight:800}.result{display:flex;gap:.8rem;align-items:center;margin:1rem 0;padding:1rem;border-radius:8px}.result.ok{background:#e9f8f1;color:#0b6b57}.result.bad{background:#fff3dd;color:#855300}.result span{display:block;margin-top:.2rem}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}.metric{border:1px solid var(--line);border-radius:8px;padding:.8rem;text-align:center;background:#fff}.metric span{display:block;color:var(--muted);font-size:.85rem}.metric strong{font-size:1.5rem}.tabs{display:grid;gap:.25rem;padding:1rem 0 .7rem}.tabs button{width:100%;justify-content:flex-start;border:0;border-radius:0;padding:.9rem 1rem;background:transparent;color:#c6d2dc}.tabs button span{flex:1;text-align:left}.tabs button svg{color:#8da1b4}.tabs button.active{background:#7aa33d;color:#fff}.tabs button.active svg{color:#fff}.nav-alert-dot{min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 .35rem;border-radius:999px;background:#f59e0b;color:#172431;font-size:.75rem;font-weight:900;box-shadow:0 0 0 3px #f59e0b2e}.tabs button.active .nav-alert-dot{background:#fff7e6;color:#8a5400}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:1rem}.chart-panel{min-height:320px;display:grid;gap:1rem}.panel-title{display:flex;justify-content:space-between;align-items:start;gap:1rem;padding-bottom:.85rem;border-bottom:1px solid #e7ecef}.panel-title h2{margin:.15rem 0 0;color:#526272;font-size:1.1rem;text-transform:uppercase}.mini-chart{--chart-fill: 64%;min-height:180px;display:grid;grid-template-columns:repeat(7,1fr);gap:.65rem;align-items:end;padding:1rem .35rem 0;border-bottom:1px solid #dce4e8;background:linear-gradient(to bottom,transparent 24%,#edf2f5 25%,transparent 26%),linear-gradient(to bottom,transparent 49%,#edf2f5 50%,transparent 51%),linear-gradient(to bottom,transparent 74%,#edf2f5 75%,transparent 76%)}.mini-chart span{display:block;min-height:28px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#76a5e8,#356fcb);box-shadow:inset 0 -10px #ffffff1f}.summary-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.donut-wrap{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr);gap:1rem;align-items:center;min-height:210px}.donut{--donut-value: 75%;width:min(230px,100%);aspect-ratio:1;margin:auto;border-radius:999px;display:grid;place-items:center;position:relative;background:conic-gradient(#0b8f68 var(--donut-value),#e7edf1 0);color:#22313f}.donut.empty{background:conic-gradient(#d8e1e7 0 100%)}.donut:after{content:"";position:absolute;inset:26%;border-radius:inherit;background:#fff;box-shadow:inset 0 0 0 1px #ecf0f3}.donut strong,.donut span{position:relative;z-index:1}.donut strong{max-width:96px;font-size:1.35rem;line-height:1;text-align:center}.donut span{margin-top:1.95rem;color:#7a8996;font-size:.8rem}.donut-legend{display:grid;gap:.7rem;color:#526272}.donut-legend span{display:flex;align-items:center;gap:.55rem}.donut-legend i{width:11px;height:11px;border-radius:999px}.legend-ok{background:#0b8f68}.legend-warn{background:#f47a2a}.legend-info{background:#7a8996}.table-wrap{width:100%;max-height:min(58vh,520px);overflow:auto}table{width:100%;border-collapse:collapse;font-size:.86rem}th,td{border-bottom:1px solid #e5ece9;text-align:left;padding:.52rem .58rem;vertical-align:middle}th{color:#60716b;font-weight:700}td{max-width:240px;overflow-wrap:anywhere}td.actions{min-width:190px;white-space:nowrap}td.actions button{margin-right:.4rem;padding:.45rem .6rem}.admin-grid .panel:last-child td.actions{min-width:150px;white-space:normal}.admin-grid .panel:last-child td.actions button{width:100%;margin:0 0 .35rem}pre{white-space:pre-wrap;background:#f0f4f2;padding:1rem;border-radius:8px;overflow-x:auto}.button-row{display:flex;flex-wrap:wrap;gap:.45rem}.button-row button{padding:.55rem .75rem}.report-filter-bar{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(150px,.7fr) minmax(240px,1.2fr) auto;gap:.65rem;align-items:end;padding-top:.75rem}.report-filter-bar label{gap:.25rem;font-size:.86rem}.report-filter-bar input,.report-filter-bar select{padding:.58rem .7rem}.report-filter-bar button{min-height:38px;padding:.55rem .75rem}.reports-screen{gap:.85rem}.report-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:.7rem}.report-metric{background:#fff;border:1px solid #d9e4df;border-radius:8px;padding:.8rem .9rem;box-shadow:0 8px 18px #2136460d}.report-metric span{display:block;color:#60716b;font-size:.78rem;font-weight:700}.report-metric strong{display:block;color:#183a59;font-size:1.1rem;line-height:1.2;margin-top:.25rem;overflow-wrap:anywhere}@media(max-width:1180px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid,.admin-grid,.merchant-config-grid{grid-template-columns:1fr}.compact-fields,.report-filter-bar{grid-template-columns:repeat(2,minmax(180px,1fr))}.report-summary-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.merchant-compact-row{grid-template-columns:minmax(190px,1fr) auto repeat(3,minmax(72px,.45fr)) auto}.merchant-dates{display:none}}@media(max-width:900px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;border-right:0;min-width:0;max-width:100vw;overflow-x:hidden}.tabs{display:flex;gap:.35rem;width:100%;max-width:100%;overflow-x:auto;padding:.6rem}.tabs button{width:auto;flex:0 0 auto;min-width:max-content;border-radius:8px;padding:.7rem .85rem}.page-heading{min-height:auto;padding:1rem}.status-dashboard{padding:0 1rem 1rem}.status-hero{align-items:flex-start;flex-direction:column}.merchant-screen,.compact-screen{padding:0 1rem 1rem}.merchant-fields{grid-template-columns:repeat(2,minmax(180px,1fr))}.merchant-compact-row{grid-template-columns:minmax(180px,1fr) auto auto}.merchant-compact-row>span:not(.state-badge),.merchant-dates{display:none}.schedule-list{grid-template-columns:1fr}}@media(max-width:760px){.topbar{gap:.75rem;padding:.65rem .75rem}.brand{min-width:0}.brand h1,.brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand>div{min-width:0}.dashboard,.wide,.status-dashboard,.merchant-screen,.compact-screen,.technical-screen{padding-left:.75rem;padding-right:.75rem}.wide{margin:.75rem}.panel,.scanner{padding:.85rem}.button-row,.scanner-actions,td.actions{display:grid;grid-template-columns:1fr;width:100%}.button-row button,.scanner-actions button,td.actions button,.technical-schedule button,.merchant-actions button,.inline-form button{width:100%;min-height:44px}.section-title{min-width:0}.section-title .button-row{width:100%}.commerce-grid{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr;padding:.75rem}.page-heading{align-items:flex-start;flex-direction:column}.dashboard-cards,.summary-row,.donut-wrap,.merchant-fields{grid-template-columns:1fr}.merchant-list-panel .section-title,.compact-panel .section-title,.action-alert{align-items:flex-start;flex-direction:column}.merchant-compact-row{grid-template-columns:1fr;align-items:stretch}.merchant-compact-row>span:not(.state-badge){display:block}.state-badge{justify-self:start}.merchant-row-actions{justify-content:flex-start}.merchant-form-note{align-items:flex-start;flex-direction:column}.merchant-config-grid{gap:.75rem}.chart-panel{min-height:auto}.mini-chart{gap:.4rem;min-height:150px}.form-grid,.compact-fields,.report-filter-bar{grid-template-columns:1fr}.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-row{grid-template-columns:1fr 1fr}.schedule-row .check-row{grid-column:1 / -1}.special-date-row{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.inline-form{flex-direction:column}.qr-entry-row,.discount-apply-head{grid-template-columns:1fr}.qr-entry-row button{width:100%}.login-panel{padding:1.2rem}.table-wrap{max-height:none;overflow:visible}table,thead,tbody,tr,th,td{display:block}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}tbody{display:grid;gap:.7rem}tr{border:1px solid #e1ebe5;border-radius:8px;background:#fff;box-shadow:0 8px 18px #2136460a;overflow:hidden}td{max-width:none;min-height:42px;display:grid;grid-template-columns:minmax(112px,.42fr) minmax(0,1fr);gap:.65rem;align-items:center;border-bottom:1px solid #edf2f0;padding:.65rem .75rem}td:last-child{border-bottom:0}td:before{content:attr(data-label);color:#60716b;font-size:.76rem;font-weight:800;text-transform:uppercase}td.actions{min-width:0;white-space:normal;gap:.45rem;grid-template-columns:1fr}td.actions:before{margin-bottom:.1rem}td.actions button{margin:0}pre{max-width:100%;overflow-x:auto}}@media(max-width:1180px){.technical-grid{grid-template-columns:1fr}.technical-jms-grid,.technical-schedule{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media(max-width:760px){.technical-screen{padding:.75rem}.technical-jms-grid,.technical-schedule{grid-template-columns:1fr}}body{background:radial-gradient(circle at top left,rgba(53,208,127,.12),transparent 28rem),linear-gradient(180deg,#f8fbfd,#eef5f8);color:var(--ink)}button{border-color:#cfdee6;color:var(--ink);font-weight:600;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}button:hover:not(:disabled){border-color:#a9c0cd;box-shadow:0 8px 18px #062a4414;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(53,208,127,.28);outline-offset:2px}.primary{background:#2fc774;border-color:var(--accent-deep);color:#05263a;box-shadow:0 8px 18px #20b96a24}input,select{border-color:#cfdee6;color:var(--ink);font-weight:400;transition:border-color .16s ease,box-shadow .16s ease}input::placeholder{color:#8294a1;font-weight:400}input:focus,select:focus{border-color:var(--accent-deep);box-shadow:0 0 0 4px #35d07f1f}label{color:#41586a;font-weight:500}.center{gap:.85rem;background:#f4f8fb;color:var(--muted)}.brand-mark{display:inline-flex;align-items:center;gap:.85rem;min-width:0}.brand-mark img{width:176px;height:auto;display:block}.brand-mark div{display:none;min-width:0}.brand-mark strong,.brand-mark span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-mark strong{color:var(--brand);font-size:1.24rem;line-height:1.1}.brand-mark span{color:var(--muted);font-size:.82rem;margin-top:.15rem}.compact-brand img{width:140px}.login-shell{padding:1.2rem;grid-template-columns:minmax(0,1fr);gap:0;background:radial-gradient(circle at 18% 18%,rgba(53,208,127,.18),transparent 18rem),radial-gradient(circle at 82% 0%,rgba(33,150,243,.16),transparent 20rem),linear-gradient(145deg,#062a44,#031d30)}.login-panel{width:min(460px,100%);justify-self:center;align-self:center;border:1px solid rgba(219,231,237,.95);border-radius:8px;padding:1.55rem;box-shadow:0 18px 50px #062a441f}.login-panel .brand-mark{width:100%;justify-content:center}.login-panel .brand-mark img{width:min(250px,86%)}.login-panel .form{margin-top:1.5rem;gap:.95rem}.login-panel label{color:#33495b;font-size:.92rem}.login-panel input{min-height:46px;padding:.68rem .78rem;font-size:.98rem}.login-panel .field-help{color:#6f808c;font-size:.84rem;font-weight:400}.login-panel .primary{min-height:46px;margin-top:.1rem;font-weight:600}.notice{border:1px solid transparent}.error{background:#fff1f0;border-color:#ffd5d1;color:var(--danger)}.ok-text{background:#e9fbf2;border-color:#bff0d4;color:#087443}.topbar{min-height:72px;padding:.72rem 1rem;background:#ffffffeb;box-shadow:0 8px 26px #062a4414}.topbar-brand{display:flex;align-items:center;gap:1rem;min-width:0}.topbar-context{min-width:0;display:flex;align-items:center;gap:.55rem;padding-left:1rem;border-left:1px solid var(--line)}.topbar-context svg{width:24px;height:24px;color:var(--accent-deep);flex:0 0 auto}.topbar-context h1{margin:0;color:var(--brand);font-size:1.08rem;line-height:1.18;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-context span{display:block;color:var(--muted);font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{border-radius:8px;color:var(--brand)}.admin-layout,.technical-screen,.dashboard,.status-dashboard,.merchant-screen,.compact-screen{background:transparent}.panel,.scanner,.status-card,.report-metric,.status-hero{border-color:var(--line);border-radius:8px;box-shadow:var(--shadow)}.panel h2,.scanner h2{color:var(--brand)}.admin-sidebar{background:linear-gradient(180deg,var(--sidebar),var(--sidebar-deep))}.tabs button{margin:0 .45rem;width:calc(100% - .9rem);border-radius:8px;color:#dce9ef}.tabs button svg{color:#9fdcbf}.tabs button.active{background:var(--accent);color:#05263a;box-shadow:0 12px 24px #35d07f2e}.tabs button.active svg{color:#05263a}.page-heading{min-height:104px;background:linear-gradient(180deg,#ffffffb8,#fff0)}.page-heading h1,.status-hero h2{color:var(--brand)}.breadcrumb,.eyebrow{color:#6f8797}.role-pill,.soft-pill{border-color:#35d07f6b;background:#f3fbf7;color:#087443;font-weight:800}.commerce-grid{grid-template-columns:minmax(300px,1fr) minmax(300px,.9fr);align-items:start}.commerce-grid>.scanner{grid-row:span 2}.commerce-grid>.result{grid-column:2;margin:0}.commerce-grid>.validation-panel{grid-column:2}.scanner{background:linear-gradient(180deg,#fff,#f8fbfd)}.scanner-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.scanner-head h2{margin:0;display:flex;align-items:center;gap:.5rem;font-size:1.08rem}.scanner-head span{display:block;margin-top:.18rem;color:var(--muted);font-size:.88rem}.scanner video{background:linear-gradient(135deg,rgba(53,208,127,.22),transparent),#061b2b;border:1px solid rgba(6,42,68,.14);box-shadow:inset 0 0 0 1px #ffffff14}.validation-panel .section-title{padding-bottom:.8rem;border-bottom:1px solid var(--line)}.validation-form{margin-top:1.05rem;display:grid;gap:.8rem}.validation-panel .metrics{margin-top:.75rem;gap:.65rem}.validation-panel .metric{min-height:76px}.result{border:1px solid transparent}.result.ok{background:#e9fbf2;border-color:#bff0d4;color:#087443}.result.bad{background:#fff7e8;border-color:#ffe2a8;color:var(--warning)}.metric{background:#f8fbfd;border-color:var(--line)}.metric span{color:var(--muted);font-weight:800;text-transform:uppercase}.metric strong{color:var(--brand)}.state-badge.active,.connection-badge.ok{background:#e9fbf2;color:#087443}.state-badge.pending{background:#fff7e8;color:var(--warning)}.state-badge.inactive,.connection-badge.bad{background:#f1f5f8;color:#5e7383}.led.ok,.legend-ok{background:var(--accent-deep)}.donut{background:conic-gradient(var(--accent-deep) var(--donut-value),#e7edf1 0)}.mini-chart span{background:linear-gradient(180deg,var(--accent),#168c58)}.status-hero{position:relative;overflow:hidden}.status-hero>div:first-child{position:relative;z-index:1}th{color:#526b7c;background:#f8fbfd}tr:hover td{background:#fbfefd}pre{background:#f3f8fa;border:1px solid var(--line)}@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-panel{justify-self:center}.tabs button{width:auto;margin:0}}@media(max-width:760px){body{background:#f4f8fb}.login-shell{padding:.8rem;background:radial-gradient(circle at 22% 10%,rgba(53,208,127,.2),transparent 15rem),linear-gradient(180deg,#062a44,#031d30)}.login-panel{padding:1rem;align-self:center;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar{min-height:68px}.topbar-brand{gap:.7rem;width:100%}.topbar .brand-mark img{width:112px}.topbar-context{flex:1;min-width:0;padding-left:.7rem}.topbar-context svg{display:none}.topbar-context h1{font-size:.98rem}.commerce-grid{grid-template-columns:1fr}.commerce-grid>.scanner,.commerce-grid>.result,.commerce-grid>.validation-panel{grid-column:auto;grid-row:auto}.scanner-head{margin-bottom:.65rem}.metrics{gap:.5rem}.metric{padding:.7rem .55rem}td{background:#fff}}
