@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
:root { color-scheme: light; font-synthesis: none; }
* { box-sizing: border-box; }
html,body { margin: 0; min-height: 100%; color: #173b4e; background: #f2f7fa; font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
button,input,select { font: inherit; } button,a { -webkit-tap-highlight-color: transparent; } h1:focus { outline: none; } a { color: #0284c7; }
#blazor-error-ui { display: none; position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 1000; padding: 14px 18px; border-radius: 12px; color: #7f1d1d; background: #fee2e2; box-shadow: 0 12px 30px rgba(127,29,29,.2); }
#blazor-error-ui .dismiss { position: absolute; right: 14px; cursor: pointer; }
.blazor-error-boundary { padding: 1rem; border-radius: 12px; color: white; background: #b91c1c; }.blazor-error-boundary::after { content: "Ocorreu um erro inesperado."; }

/* Conta, empresas e licenciamento: seguem a linguagem visual do Backoffice. */
.platform-heading{margin-bottom:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.platform-heading .eyebrow,.platform-card .eyebrow{display:block;color:#0284c7;font-size:.68rem;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.platform-heading h1{margin:7px 0 5px;color:#082f49;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:900;letter-spacing:-.045em}.platform-heading p,.platform-card p{margin:0;color:#6b8795}.platform-primary,.platform-save{min-height:46px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;color:#fff;background:#0284c7;box-shadow:0 9px 22px rgba(2,132,199,.18);font-size:.76rem;font-weight:900;text-decoration:none}.platform-primary:hover,.platform-save:hover{color:#fff;background:#0369a1}.platform-card{border:1px solid #dce8ee;border-radius:18px;background:#fff;box-shadow:0 9px 26px rgba(20,71,96,.055)}.platform-state{padding:35px;color:#7893a1;text-align:center}.platform-message{margin-bottom:16px;padding:12px 15px;border-radius:12px;font-size:.76rem;font-weight:850}.platform-message.success{color:#166534;background:#dcfce7}.platform-message.error{color:#991b1b;background:#fee2e2}.platform-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-size:.62rem;font-weight:950;white-space:nowrap}.platform-pill.blue{color:#075985;background:#e0f2fe}.platform-pill.green{color:#166534;background:#dcfce7}.platform-pill.amber{color:#92400e;background:#fef3c7}.platform-pill.red{color:#991b1b;background:#fee2e2}.platform-empty{min-height:280px;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #bae6fd;border-radius:18px;color:#648292;background:#f8fbfc}.platform-empty:not(.static){cursor:pointer}.platform-empty>span{color:#38bdf8;font-size:2rem}.platform-empty strong{color:#173b4e;font-size:1rem}.platform-empty small{font-size:.72rem}.platform-empty a{margin-top:10px;font-weight:850}.platform-empty.static{min-height:320px}
.account-overview{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:14px}.identity-card{padding:21px;display:flex;align-items:center;gap:14px}.identity-avatar{width:58px;height:58px;display:grid;place-items:center;flex:0 0 58px;border-radius:17px;color:#fff;background:linear-gradient(145deg,#0284c7,#075985);font-weight:950}.identity-card>div:nth-child(2){display:grid}.identity-card span,.account-stat span{color:#7893a1;font-size:.61rem;font-weight:900;letter-spacing:.07em}.identity-card h2{margin:3px 0;color:#173b4e;font-size:1.08rem;font-weight:900}.identity-card p{font-size:.7rem}.identity-card>.platform-pill{margin-left:auto}.account-stat{padding:20px;display:grid;align-content:center}.account-stat strong{margin:5px 0;color:#0284c7;font-size:2rem;font-weight:950}.account-stat small{color:#7893a1;font-size:.66rem}.account-access{margin-top:16px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.account-access h2{margin:6px 0;color:#173b4e;font-size:1.1rem}.account-access p{max-width:650px;font-size:.75rem}.account-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.account-actions a{padding:10px 13px;border:1px solid #bae6fd;border-radius:10px;color:#0369a1;background:#f0f9ff;font-size:.68rem;font-weight:850;text-decoration:none}
.business-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:18px}.business-list{display:grid;gap:13px}.company-card{overflow:hidden;cursor:pointer;transition:.18s ease}.company-card:hover,.company-card.selected{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.11),0 12px 30px rgba(20,71,96,.07);transform:translateY(-1px)}.company-card>header{padding:17px 19px;display:flex;align-items:center;gap:13px}.company-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;color:#0369a1;background:#e0f2fe;font-size:1.2rem;font-weight:950}.company-card header>div:nth-child(2){display:grid}.company-card header span{color:#0284c7;font-size:.57rem;font-weight:900;text-transform:uppercase}.company-card h2{margin:2px 0;color:#173b4e;font-size:1rem;font-weight:900}.company-card p{font-size:.65rem}.company-card header>strong{margin-left:auto;color:#648292;font-size:.7rem}.store-chips{min-height:55px;padding:0 19px 15px;display:flex;flex-wrap:wrap;gap:7px}.store-chips>span{padding:7px 9px;border-radius:9px;color:#166534;background:#f0fdf4;font-size:.65rem;font-weight:850}.store-chips>span.off{color:#64748b;background:#f1f5f9}.store-chips small{margin-left:5px;opacity:.65}.company-card footer{padding:12px 19px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e7eff3;background:#fbfdfe}.company-card footer button{border:0;color:#0284c7;background:transparent;font-size:.67rem;font-weight:900}.business-editor{position:sticky;top:95px;padding:22px}.business-editor h2,.license-create h2{margin:6px 0 20px;color:#173b4e;font-size:1.1rem}.business-editor label,.license-create label,.license-toolbar label{margin-bottom:13px;display:grid;gap:6px;color:#557788;font-size:.68rem;font-weight:850}.business-editor input,.license-create input,.license-create select,.license-toolbar select,.activation-form input{width:100%;min-height:43px;padding:0 11px;border:1px solid #cfdee6;border-radius:10px;outline:0;color:#173d51;background:#fafdfe;font-size:.76rem}.business-editor input:focus,.license-create input:focus,.license-create select:focus,.license-toolbar select:focus,.activation-form input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.13)}.business-editor .platform-save{width:100%;margin-top:5px}.platform-save.link{margin-top:18px}
.license-toolbar{max-width:430px;margin-bottom:15px}.license-toolbar label{margin:0}.license-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.license-hero,.license-limit{min-height:190px;padding:22px}.license-hero{color:#fff;background:linear-gradient(145deg,#075985,#0284c7);border:0}.license-hero.expired{background:linear-gradient(145deg,#64748b,#94a3b8)}.license-hero span{font-size:.65rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.license-hero h2{margin:12px 0 3px;font-size:1.55rem;font-weight:950}.license-hero p{color:#d7f1fd;font-size:.7rem}.license-hero>strong{display:block;margin-top:17px;font-size:2rem}.license-hero>small{opacity:.8}.license-limit{display:grid;align-content:center}.license-limit>span{color:#7893a1;font-size:.62rem;font-weight:950;letter-spacing:.08em}.license-limit>strong{margin:9px 0;color:#173b4e;font-size:2rem}.license-limit>div{height:7px;overflow:hidden;border-radius:999px;background:#e5eef2}.license-limit i{height:100%;display:block;border-radius:999px;background:#38bdf8}.license-limit small{margin-top:10px;color:#7893a1;font-size:.65rem}.activation-panel{margin-top:16px;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:25px}.activation-panel h2{margin:6px 0;color:#173b4e;font-size:1.05rem}.activation-panel p{font-size:.7rem}.activation-form{width:min(540px,50%);display:grid;grid-template-columns:1fr auto;gap:9px}.activation-form button{padding:0 18px;border:0;border-radius:10px;color:#fff;background:#0284c7;font-size:.72rem;font-weight:900}
.developer-layout{display:grid;grid-template-columns:360px minmax(0,1fr);align-items:start;gap:18px}.license-create{padding:22px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.license-create .platform-save{width:100%;margin-top:5px}.license-list{overflow:hidden}.license-list>header{padding:20px;border-bottom:1px solid #e5eef2}.license-list h2{margin:5px 0 0;color:#173b4e;font-size:1rem}.license-list article{padding:14px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;border-bottom:1px solid #e7eff3}.license-list article:last-child{border:0}.license-list article>div{display:grid;gap:4px}.license-list code{overflow:hidden;color:#0369a1;font-size:.78rem;font-weight:950;text-overflow:ellipsis}.license-list article span,.license-list article small{color:#7893a1;font-size:.62rem}.license-list article button{padding:8px 10px;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;background:#fff7f7;font-size:.62rem;font-weight:850}
@media(max-width:1150px){.account-overview{grid-template-columns:repeat(3,1fr)}.identity-card{grid-column:1/-1}.business-layout,.developer-layout{grid-template-columns:1fr}.business-editor{position:static}.license-grid{grid-template-columns:1fr 1fr}.license-hero{grid-column:1/-1}}@media(max-width:760px){.platform-heading,.account-access,.activation-panel{align-items:flex-start;flex-direction:column}.account-overview,.license-grid{grid-template-columns:1fr}.identity-card{grid-column:auto}.activation-form{width:100%;grid-template-columns:1fr}.license-list article{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr}}
.store-chips>a{padding:8px 10px;display:inline-flex;align-items:center;gap:5px;border-radius:9px;color:#166534;background:#f0fdf4;font-size:.65rem;font-weight:850;text-decoration:none}.store-chips>a:hover{color:#fff;background:#16a34a}.store-chips>a b{margin-left:5px;font-size:.59rem}.store-chips>a small{margin-left:2px}

/* Centro de controlo do desenvolvedor. */
.developer-heading{align-items:center}.developer-refresh{min-height:44px;padding:0 16px;border:1px solid #bae6fd;border-radius:12px;color:#0369a1;background:#f0f9ff;font-size:.72rem;font-weight:900}.developer-stats{margin-bottom:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.developer-stats article{min-height:112px;padding:18px;display:flex;align-items:center;gap:13px;border:1px solid #dce8ee;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(20,71,96,.05)}.developer-stat-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:13px;font-weight:950}.developer-stat-icon.blue{color:#0369a1;background:#e0f2fe}.developer-stat-icon.green{color:#166534;background:#dcfce7}.developer-stat-icon.violet{color:#6d28d9;background:#ede9fe}.developer-stat-icon.amber{color:#92400e;background:#fef3c7}.developer-stats article>div{display:grid}.developer-stats small{color:#7893a1;font-size:.62rem;font-weight:850}.developer-stats strong{margin:2px 0;color:#082f49;font-size:1.55rem}.developer-stats article span:last-child{color:#7893a1;font-size:.61rem}.developer-tabs{margin-bottom:18px;padding:5px;display:flex;gap:5px;overflow-x:auto;border:1px solid #dce8ee;border-radius:14px;background:#fff}.developer-tabs button{min-height:42px;padding:0 15px;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:10px;color:#648292;background:transparent;font-size:.72rem;font-weight:900;white-space:nowrap}.developer-tabs button span{min-width:22px;padding:3px 6px;border-radius:999px;background:#edf4f7;font-size:.57rem}.developer-tabs button.active{color:#fff;background:#075985;box-shadow:0 6px 15px rgba(7,89,133,.18)}.developer-tabs button.active span{color:#075985;background:#e0f2fe}.developer-muted{margin:-10px 0 18px!important;font-size:.67rem;line-height:1.5}.developer-list-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.developer-filters{display:flex;gap:8px}.developer-filters input,.developer-filters select,.developer-accounts header>input{min-height:40px;padding:0 11px;border:1px solid #cfdee6;border-radius:10px;color:#173d51;background:#fafdfe;font-size:.68rem}.developer-filters input{width:245px}.license-list article.developer-license-row{grid-template-columns:minmax(180px,1fr) minmax(170px,.8fr) auto auto}.license-owner{min-width:0}.license-owner small{overflow:hidden;color:#173b4e!important;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.danger-small,.secondary-small{min-height:34px;padding:0 10px;border-radius:9px;font-size:.61rem;font-weight:900}.danger-small{border:1px solid #fecaca!important;color:#b91c1c!important;background:#fff7f7!important}.secondary-small{border:1px solid #bae6fd;color:#0369a1;background:#f0f9ff}.developer-manage-grid{display:grid;grid-template-columns:380px minmax(0,1fr);align-items:start;gap:18px}.developer-editor{padding:22px}.developer-editor h2{margin:6px 0 20px;color:#173b4e;font-size:1.12rem}.developer-editor label{margin-bottom:12px;display:grid;gap:6px;color:#557788;font-size:.68rem;font-weight:850}.developer-editor input:not([type=checkbox]),.developer-editor textarea{width:100%;min-height:43px;padding:10px 11px;border:1px solid #cfdee6;border-radius:10px;outline:0;color:#173d51;background:#fafdfe;font-size:.76rem}.developer-editor textarea{min-height:78px;resize:vertical}.developer-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.developer-actions{display:flex;gap:8px}.developer-actions .platform-save{flex:1}.developer-actions .secondary{padding:0 16px;border:1px solid #cfdee6;border-radius:12px;color:#496777;background:#fff;font-weight:850}.developer-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.developer-plan-card{min-height:225px;padding:19px;display:block;border:1px solid #dce8ee;border-radius:17px;color:#173b4e;background:#fff;text-align:left;transition:.15s ease}.developer-plan-card:hover,.developer-plan-card.selected{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.11);transform:translateY(-2px)}.developer-plan-card h3{margin:14px 0 5px;font-size:1.08rem}.developer-plan-card>strong{display:block;color:#0284c7;font-size:1.65rem}.developer-plan-card>strong small{font-size:.62rem}.developer-plan-card p{min-height:52px;margin:9px 0!important;font-size:.68rem;line-height:1.5}.developer-plan-card footer{display:flex;gap:6px}.developer-plan-card footer span{padding:6px 8px;border-radius:8px;color:#496777;background:#edf4f7;font-size:.59rem;font-weight:850}.developer-accounts{overflow:hidden}.developer-accounts>header{padding:20px;border-bottom:1px solid #e5eef2}.developer-accounts h2,.developer-audit h2{margin:5px 0 0;color:#173b4e;font-size:1rem}.developer-accounts article{padding:14px 18px;display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(190px,.7fr) auto auto;align-items:center;gap:13px;border-bottom:1px solid #e7eff3}.developer-avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;color:#fff;background:linear-gradient(145deg,#0284c7,#075985);font-size:.68rem;font-weight:950}.developer-account-name,.developer-account-meta{display:grid;min-width:0}.developer-account-name strong{overflow:hidden;color:#173b4e;font-size:.75rem;text-overflow:ellipsis}.developer-account-name small,.developer-account-meta small{overflow:hidden;color:#7893a1;font-size:.61rem;text-overflow:ellipsis}.developer-account-meta span{color:#496777;font-size:.68rem;font-weight:800}.developer-audit{overflow:hidden}.developer-audit>header{padding:20px;border-bottom:1px solid #e5eef2}.developer-audit article{padding:13px 18px;display:grid;grid-template-columns:auto minmax(170px,.6fr) 1fr auto;align-items:center;gap:13px;border-bottom:1px solid #e7eff3}.audit-dot{width:9px;height:9px;border-radius:999px;background:#38bdf8;box-shadow:0 0 0 5px #e0f2fe}.developer-audit article>div{display:grid}.developer-audit strong{color:#173b4e;font-size:.7rem}.developer-audit small,.developer-audit time{color:#7893a1;font-size:.6rem}.developer-audit p{font-size:.67rem}.store-required{margin:4px 2px 10px;padding:18px 14px;display:grid;gap:7px;border:1px solid rgba(125,211,252,.2);border-radius:15px;color:#d6edf7;background:rgba(2,132,199,.12)}.store-required>.oi{color:#67d1fb;font-size:1.2rem}.store-required strong{font-size:.8rem}.store-required small{color:#9cc5d9;font-size:.64rem;line-height:1.45}.store-required a{margin-top:5px;color:#7dd3fc;font-size:.68rem;font-weight:900;text-decoration:none}
@media(max-width:1250px){.developer-stats{grid-template-columns:1fr 1fr}.developer-manage-grid{grid-template-columns:1fr}.developer-plan-grid{grid-template-columns:repeat(3,1fr)}.license-list article.developer-license-row{grid-template-columns:1fr 1fr auto}.license-list article.developer-license-row>button{grid-column:3}.developer-accounts article{grid-template-columns:auto 1fr auto}.developer-account-meta{display:none}.developer-accounts article>button{grid-column:3}}
@media(max-width:760px){.developer-stats,.developer-plan-grid{grid-template-columns:1fr}.developer-list-head,.developer-filters{align-items:stretch;flex-direction:column}.developer-filters input{width:100%}.license-list article.developer-license-row,.developer-accounts article,.developer-audit article{grid-template-columns:1fr}.license-list article.developer-license-row>button,.developer-accounts article>button{grid-column:auto}.developer-avatar,.audit-dot{display:none}}

/* Gestão central de clientes e suporte. */
.developer-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.developer-central-callout{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #bae6fd;background:linear-gradient(135deg,#f0f9ff,#fff)}.developer-central-callout h2{margin:5px 0!important}.developer-central-callout p{max-width:680px;font-size:.7rem}.developer-accounts article{grid-template-columns:auto minmax(170px,1fr) minmax(160px,.65fr) auto auto auto}.developer-accounts article>a{text-decoration:none}.developer-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.developer-support-grid article{min-height:235px;padding:26px;display:flex;align-items:flex-start;gap:18px}.developer-support-grid h2{margin:7px 0;color:#173b4e;font-size:1.2rem}.developer-support-grid p{max-width:620px;margin-bottom:22px!important;font-size:.74rem;line-height:1.6}@media(max-width:1250px){.developer-accounts article{grid-template-columns:auto 1fr auto auto}.developer-account-meta{display:none}}@media(max-width:760px){.developer-support-grid{grid-template-columns:1fr}.developer-central-callout{align-items:stretch;flex-direction:column}.developer-accounts article{grid-template-columns:1fr}}

/* Configurador de salas e mesas por loja. */
.dining-heading{align-items:center}.dining-mode-card{margin-bottom:14px;padding:19px 21px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px}.dining-mode-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:#0369a1;background:#e0f2fe;font-size:1.35rem}.dining-mode-card strong{color:#173b4e}.dining-mode-card p{margin-top:4px;font-size:.68rem}.dining-switch{display:flex;align-items:center;gap:8px;cursor:pointer}.dining-switch input{display:none}.dining-switch span{width:50px;height:28px;padding:3px;border-radius:999px;background:#cbd5e1;transition:.16s}.dining-switch span:after{content:"";width:22px;height:22px;display:block;border-radius:999px;background:white;box-shadow:0 2px 7px #0f172a30;transition:.16s}.dining-switch input:checked+span{background:#16a34a}.dining-switch input:checked+span:after{transform:translateX(22px)}.dining-switch b{min-width:68px;color:#496777;font-size:.67rem}.dining-summary{margin-bottom:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.dining-summary article{padding:16px 19px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dce8ee;border-radius:15px;background:white}.dining-summary small{color:#7893a1;font-size:.66rem;font-weight:850}.dining-summary strong{color:#0284c7;font-size:1.45rem}.dining-zonebar{margin-bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.dining-zones{display:flex;flex-wrap:wrap;gap:7px}.dining-zones button{min-height:42px;padding:0 12px;border:1px solid #cfdee6;border-radius:11px;color:#496777;background:#fff;font-size:.69rem;font-weight:900}.dining-zones button.active{color:#fff;border-color:#0284c7;background:#0284c7}.dining-zones span{margin-left:7px;padding:3px 6px;border-radius:999px;color:#0369a1;background:#e0f2fe;font-size:.56rem}.dining-new-zone{display:flex;gap:7px}.dining-new-zone input{min-height:42px;padding:0 11px;border:1px solid #cfdee6;border-radius:10px}.dining-new-zone button{padding:0 13px;border:1px solid #bae6fd;border-radius:10px;color:#0369a1;background:#f0f9ff;font-size:.67rem;font-weight:900}.dining-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:15px}.dining-floor{padding:20px;overflow:hidden}.dining-floor>header{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.dining-floor h2,.dining-controls h2{margin:5px 0;color:#173b4e;font-size:1rem}.dining-floor p{font-size:.65rem}.dining-floor>header>span{padding:7px 9px;border-radius:9px;color:#0369a1;background:#e0f2fe;font-size:.63rem;font-weight:900}.dining-grid{min-width:760px;padding:12px;display:grid;grid-template-columns:repeat(10,minmax(65px,1fr));gap:8px;overflow:auto;border-radius:14px;background-color:#f8fbfc;background-image:radial-gradient(#d6e6ed 1px,transparent 1px);background-size:17px 17px}.dining-cell{height:78px;padding:4px;display:grid;place-items:center;border:1px dashed #cbdde5;border-radius:10px;color:#a0b7c2;background:#ffffff70}.dining-cell.empty:hover{color:#0284c7;border-color:#38bdf8;background:#f0f9ff}.dining-cell.occupied{border-style:solid;background:white;cursor:pointer}.dining-cell.selected{border:2px solid #0284c7;box-shadow:0 0 0 3px #bae6fd}.dining-table-shape{width:58px;height:58px;display:grid;place-items:center;align-content:center;border:2px solid #38bdf8;border-radius:9px;color:#075985;background:#e0f2fe}.dining-table-shape.round{border-radius:50%}.dining-table-shape.rectangle{width:66px;height:45px;border-radius:6px}.dining-table-shape strong{max-width:60px;overflow:hidden;font-size:.67rem;text-overflow:ellipsis}.dining-table-shape small{margin-top:3px;color:#648292;font-size:.5rem}.dining-controls{display:grid;gap:13px}.dining-controls section{padding:19px}.dining-controls label{margin-bottom:11px;display:grid;gap:5px;color:#557788;font-size:.65rem;font-weight:850}.dining-controls input,.dining-controls select{width:100%;min-height:40px;padding:0 9px;border:1px solid #cfdee6;border-radius:9px;color:#173d51;background:#fafdfe}.dining-controls .platform-save{width:100%}.dining-deactivate{width:100%;min-height:42px;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;background:#fff7f7;font-size:.67rem;font-weight:900}.dining-empty{min-height:340px}.business-stepper{margin-bottom:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.business-stepper article{padding:14px 16px;display:flex;align-items:center;gap:11px;border:1px solid #dce8ee;border-radius:14px;background:white}.business-stepper b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#0369a1;background:#e0f2fe;font-size:.7rem}.business-stepper strong,.business-stepper small{display:block}.business-stepper strong{color:#173b4e;font-size:.72rem}.business-stepper small{margin-top:2px;color:#7893a1;font-size:.59rem}.store-entry-grid{padding:0 18px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.store-entry-card{min-height:92px;padding:13px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;border:1px solid #dce8ee;border-radius:13px;color:#173b4e;background:#fbfdfe;text-decoration:none}.store-entry-card:hover{color:#173b4e;border-color:#38bdf8;background:#f0f9ff}.store-entry-card>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#166534;background:#dcfce7}.store-entry-card div{display:grid}.store-entry-card strong{font-size:.72rem}.store-entry-card small{margin-top:3px;color:#7893a1;font-size:.58rem}.store-entry-card b{color:#0284c7;font-size:.63rem}.company-card{cursor:default}.company-card:hover{transform:none}
@media(max-width:1050px){.dining-layout{grid-template-columns:1fr}.dining-new-zone{width:100%}.dining-new-zone input{flex:1}.dining-zonebar{align-items:stretch;flex-direction:column}.store-entry-grid{grid-template-columns:1fr}}
@media(max-width:700px){.dining-mode-card{grid-template-columns:auto 1fr}.dining-switch{grid-column:1/-1}.dining-summary,.business-stepper{grid-template-columns:1fr}}

/* Rotas de impressão: cada cartão representa uma saída exclusiva do terminal. */
.printer-top { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.printer-top .printer-number { margin-bottom: 0; }
.route-badge { padding: 5px 7px; border-radius: 999px; color: #075985; background: #e0f2fe; font-size: .51rem; font-weight: 950; letter-spacing: .04em; }
.route-badge--amber { color: #92400e; background: #fef3c7; }
.route-badge--green { color: #166534; background: #dcfce7; }
.printer-card small { min-height: 48px !important; line-height: 1.35; }

/* Assistente de criação da empresa e da primeira loja. */
.business-stepper--four{grid-template-columns:repeat(4,1fr)}
.business-stepper article{transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.business-stepper article.active{border-color:#38bdf8;background:#f0f9ff;box-shadow:0 0 0 3px rgba(56,189,248,.1)}
.business-stepper article.complete b{color:#fff;background:#16a34a}
.business-stepper article.complete b:after{content:"✓"}.business-stepper article.complete b{font-size:0}
.business-stepper article.complete b:after{font-size:.72rem}
.business-layout:has(.business-wizard){grid-template-columns:minmax(0,1fr) minmax(330px,410px)}
.business-first{min-height:190px}
.business-wizard{padding:24px}
.business-wizard h2{margin-bottom:6px;font-size:1.35rem}
.business-editor-shell{display:contents}.business-editor-shell--open{position:fixed;inset:0;z-index:1300;padding:20px;display:grid;place-items:center;overflow-y:auto;background:rgba(7,24,35,.58);backdrop-filter:blur(3px)}.business-editor-shell--open .business-editor{position:relative;top:auto;width:min(100%,760px);max-height:calc(100dvh - 40px);margin:auto;overflow-y:auto;box-shadow:0 24px 80px rgba(0,0,0,.25)}.business-wizard-close{position:absolute;top:15px;right:16px;z-index:2;width:36px;height:36px;border:1px solid #cfdee6;border-radius:10px;color:#557788;background:#f5f9fb;font-size:1.35rem;line-height:1;cursor:pointer}.business-wizard-close:disabled{opacity:.5;cursor:wait}.business-editor-shell--open .wizard-progress{margin-right:43px}
.wizard-progress{float:right;padding:6px 9px;border-radius:999px;color:#0369a1;background:#e0f2fe;font-size:.59rem;font-weight:900}
.wizard-intro{margin:0 0 17px;color:#648292;font-size:.7rem;line-height:1.55}
.wizard-section{margin-bottom:13px;padding:15px;border:1px solid #e1ebef;border-radius:14px;background:#fbfdfe}
.wizard-section h3{margin:0 0 12px;color:#254a5d;font-size:.76rem}
.business-wizard label em{margin-left:5px;color:#0284c7;font-size:.54rem;font-style:normal;text-transform:uppercase}
.business-wizard label small{color:#8299a5;font-size:.56rem;font-weight:600;line-height:1.4}
.business-form-grid{display:grid;grid-template-columns:125px minmax(0,1fr);gap:9px}
.business-wizard .wizard-main-action{min-height:50px;margin-top:3px}
.business-summary-title{overflow-wrap:anywhere}
.business-list-heading{padding:2px 1px 4px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.business-list-heading h2{margin:4px 0;color:#173b4e;font-size:1rem;font-weight:950}
.business-list-heading p{font-size:.66rem}
.business-list-heading>span{padding:7px 10px;border-radius:999px;color:#0369a1;background:#e0f2fe;font-size:.62rem;font-weight:900;white-space:nowrap}
.business-summary-stats{margin:17px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.business-summary-stats article{padding:14px;border:1px solid #dce8ee;border-radius:13px;background:#f8fbfc}
.business-summary-stats strong,.business-summary-stats small{display:block}
.business-summary-stats strong{color:#0369a1;font-size:1.35rem;font-weight:950}
.business-summary-stats small{margin-top:2px;color:#7893a1;font-size:.62rem;font-weight:800}
.business-summary-details{padding:13px 0;display:grid;grid-template-columns:75px minmax(0,1fr);gap:10px;border-top:1px solid #e5edf1;border-bottom:1px solid #e5edf1;font-size:.68rem}
.business-summary-details span{color:#7893a1}.business-summary-details strong{color:#173b4e;overflow-wrap:anywhere}
.business-summary-actions{margin-top:15px;display:grid;gap:9px}
.business-summary-actions .platform-save{width:100%;margin:0}
.business-secondary-action{min-height:42px;padding:0 12px;display:flex;align-items:center;justify-content:center;border:1px solid #cfdee6;border-radius:11px;color:#0369a1;background:#f8fbfc;font-size:.68rem;font-weight:900;text-decoration:none}
.business-secondary-action:hover{color:#075985;border-color:#7dd3fc;background:#f0f9ff}
.business-access-note{padding:12px;border-radius:11px;color:#526f7e;background:#f1f5f9;font-size:.65rem}
.business-next-steps{margin-top:20px;padding-top:17px;border-top:1px solid #e5edf1}
.business-next-steps h3{margin:4px 0 11px;color:#173b4e;font-size:.88rem;font-weight:950}
.business-next-steps ol{margin:0;padding:0;display:grid;gap:8px;list-style:none}
.business-next-steps li{min-height:58px;padding:8px;display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #e1ebef;border-radius:11px;background:#fbfdfe}
.business-next-steps li>b{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;color:#0369a1;background:#e0f2fe;font-size:.62rem}
.business-next-steps li>div{min-width:0}.business-next-steps li strong,.business-next-steps li small{display:block}
.business-next-steps li strong{color:#173b4e;font-size:.64rem}.business-next-steps li small{margin-top:2px;color:#7893a1;font-size:.55rem;line-height:1.3}
.business-next-steps li>a,.business-next-steps li>button{padding:6px 7px;border:0;border-radius:8px;color:#0369a1;background:#e0f2fe;font-size:.57rem;font-weight:900;text-decoration:none;white-space:nowrap}
.wizard-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;margin-top:14px}
.wizard-actions .platform-save{min-height:48px;margin:0}
.wizard-secondary{min-height:48px;padding:0 14px;border:1px solid #cfdee6;border-radius:12px;color:#496777;background:#fff;font-size:.68rem;font-weight:900}
.store-module-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.business-editor .store-module-picker label{min-height:78px;margin:0;padding:11px;display:grid;grid-template-columns:18px 34px minmax(0,1fr);align-items:center;gap:8px;border:1px solid #dce8ee;border-radius:12px;color:#31576a;background:#fff;cursor:pointer;transition:.15s ease}
.business-editor .store-module-picker label:hover,.business-editor .store-module-picker label.selected{border-color:#38bdf8;background:#f0f9ff}
.business-editor .store-module-picker label.disabled{opacity:.5;cursor:not-allowed}
.developer-module-checks{margin:7px 0 16px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid #dce8ee;border-radius:12px;background:#f8fcfe}.developer-module-checks .developer-check{margin:0!important;padding:7px 8px;border-radius:8px;color:#31576a;background:#fff}.activation-required{padding:14px;border:1px solid #bae6fd;border-radius:13px;background:#f0f9ff}.activation-required>small{display:block;margin-top:-5px;color:#557788;font-size:.63rem;line-height:1.45}
.license-module-access{margin:14px 0;padding:20px;display:grid;grid-template-columns:minmax(230px,.7fr) 1.3fr;align-items:center;gap:20px}.license-module-access h2{margin:5px 0;color:#173b4e;font-size:1.05rem}.license-module-access p{font-size:.68rem;line-height:1.5}.license-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.license-module-grid>span{padding:10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 7px;border-radius:10px;color:#496777;background:#f1f5f9;font-size:.68rem;font-weight:850}.license-module-grid b{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;border-radius:8px}.license-module-grid small{font-size:.55rem}.license-module-grid .included{color:#166534;background:#f0fdf4}.license-module-grid .included b{background:#dcfce7}.license-module-grid .excluded{opacity:.65}.license-module-grid .excluded b{background:#e2e8f0}
.business-editor .store-module-picker input{width:18px;height:18px;min-height:0;padding:0;accent-color:#0284c7;box-shadow:none}
.store-module-picker label>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#0369a1;background:#e0f2fe;font-size:.85rem;font-weight:950}
.store-module-picker label div{min-width:0}
.store-module-picker strong,.store-module-picker small{display:block}
.store-module-picker strong{font-size:.67rem}.store-module-picker small{margin-top:3px;color:#7893a1;font-size:.53rem;line-height:1.35}
.wizard-summary{margin-top:11px;padding:11px 13px;display:grid;grid-template-columns:1fr auto;align-items:center;border-radius:12px;color:#075985;background:#e0f2fe}
.wizard-summary span{grid-column:1/-1;font-size:.52rem;font-weight:900;text-transform:uppercase}.wizard-summary strong{font-size:.75rem}.wizard-summary small{font-size:.56rem}
@media(max-width:1250px){.business-layout:has(.business-wizard){grid-template-columns:1fr}.business-wizard{position:static}}
@media(max-width:760px){.business-stepper--four,.store-module-picker{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.business-stepper--four,.store-module-picker,.business-form-grid{grid-template-columns:1fr}.wizard-actions{grid-template-columns:1fr}}

/* Tema global do Blazor: preferência persistida no navegador. */
.theme-toggle{min-height:36px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cfe1ea;border-radius:10px;color:#17516e;background:#f5fafc;font-size:.66rem;font-weight:850;white-space:nowrap;cursor:pointer}
.theme-toggle:hover{border-color:#38bdf8;background:#e8f6fc}
.theme-toggle>span:first-child{font-size:1rem}
.public-header .theme-toggle{margin-left:8px}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{color:#e4edf4;background:#0b1720}
html[data-theme="dark"] .page{background:#0b1720}
html[data-theme="dark"] .content{color:#e4edf4;background:#0b1720}
html[data-theme="dark"] .top-row{color:#e4edf4;background:rgba(16,34,47,.96);border-color:#263e4d}
html[data-theme="dark"] .top-row__context,html[data-theme="dark"] .account-link{color:#e4edf4}
html[data-theme="dark"] .top-row__eyebrow,html[data-theme="dark"] .account-link small{color:#9bb3c0}
html[data-theme="dark"] .connection-state{color:#c0d0d9}
html[data-theme="dark"] .theme-toggle{color:#d8e9f2;background:#172d3b;border-color:#365364}
html[data-theme="dark"] .theme-toggle:hover{background:#203e50}
html[data-theme="dark"] .content>.platform-heading :is(h1,h2,h3,h4,h5,h6),html[data-theme="dark"] .content>.platform-heading p{color:#e6f0f5}
html[data-theme="dark"] .content :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){color:#e4edf4!important;background:#102431!important;border-color:#395565!important}
html[data-theme="dark"] .content :is(input,select,textarea)::placeholder{color:#839aa7}
html[data-theme="dark"] .content :is(table,th,td){border-color:#2a4352}
html[data-theme="dark"] .content :is(.card,.panel,.editor,.form-card,.table-card,.content-card,[class*="-panel"],[class*="-editor"],[class*="-card"],[class*="-section"],.platform-empty,.platform-state,.business-stepper article,.store-entry-card){color:#e4edf4!important;background-color:#132936!important;border-color:#2b4656!important}
html[data-theme="dark"] .content :is(.card,.panel,.editor,.form-card,.table-card,.content-card,[class*="-panel"],[class*="-editor"],[class*="-card"],[class*="-section"],.platform-empty,.platform-state,.business-stepper article,.store-entry-card) :is(h1,h2,h3,h4,h5,h6,strong,dt,th){color:#e6f0f5!important}
html[data-theme="dark"] .content :is(.card,.panel,.editor,.form-card,.table-card,.content-card,[class*="-panel"],[class*="-editor"],[class*="-card"],[class*="-section"],.platform-empty,.platform-state,.business-stepper article,.store-entry-card) :is(p,small,label,dd,td){color:#afc1cb!important}
html[data-theme="dark"] .content :is(tr:nth-child(even),.list-row,.empty-state){background-color:#102431!important}
html[data-theme="dark"] .public-shell{color:#e4edf4;background:#0b1720}
html[data-theme="dark"] .public-header{background:#10222f;border-color:#263e4d}
html[data-theme="dark"] .public-header :is(a,strong,small){color:#d8e9f2}
html[data-theme="dark"] .public-main :is(.landing-section,.deployment-section){background:#0b1720}
html[data-theme="dark"] .public-main :is(.feature-card,.deployment-card,.landing-secondary,.implementation-row){color:#e4edf4;background:#132936;border-color:#2b4656}
html[data-theme="dark"] .public-main :is(h1,h2,h3,h4,p){color:#e4edf4}
html[data-theme="dark"] .public-footer{color:#d8e9f2;background:#08131b;border-color:#263e4d}
/* Cartões compostos pelo painel de desenvolvedor. */
html[data-theme="dark"] .content .developer-stats article,html[data-theme="dark"] .content .developer-tabs,html[data-theme="dark"] .content .developer-refresh,html[data-theme="dark"] .content .developer-table-card .developer-list-head,html[data-theme="dark"] .content .developer-accounts>header,html[data-theme="dark"] .content .developer-audit>header{color:#e4edf4!important;background:#132936!important;border-color:#2b4656!important}
html[data-theme="dark"] .content .developer-stats article :is(small,span){color:#afc1cb!important}
html[data-theme="dark"] .content .developer-stats article strong{color:#f0f7fa!important}
html[data-theme="dark"] .content .developer-tabs button:not(.active){color:#d1e0e8!important}
html[data-theme="dark"] .content .developer-tabs button:not(.active) span,html[data-theme="dark"] .content .developer-plan-card footer span{color:#c5d5de!important;background:#203d4d!important}
html[data-theme="dark"] .content .developer-refresh{color:#bfeaff!important;text-decoration:none}
/* Componentes com superfícies aninhadas: tema e texto mantêm sempre contraste. */
html[data-theme="dark"] .content .business-editor .store-module-picker label{color:#e4edf4!important;background:#172f3e!important;border-color:#365364!important}
html[data-theme="dark"] .content .business-editor .store-module-picker label :is(strong,small){color:#dce8ee!important}
html[data-theme="dark"] .content .business-editor .store-module-picker label.selected{background:#123d53!important;border-color:#38bdf8!important}
html[data-theme="dark"] .content .business-editor .store-module-picker label.disabled{opacity:1!important;background:#263640!important;border-color:#3c4d57!important}
html[data-theme="dark"] .content .business-editor .store-module-picker label.disabled :is(strong,small){color:#b9c6cc!important}
html[data-theme="dark"] .content .quick-access,html[data-theme="dark"] .content .quick-card,html[data-theme="dark"] .content .metric-card,html[data-theme="dark"] .content .panel,html[data-theme="dark"] .content .state-card{color:#e4edf4!important;background:#132936!important;border-color:#2b4656!important}
html[data-theme="dark"] .content :is(.quick-access,.quick-card,.metric-card,.panel,.state-card) :is(h1,h2,h3,h4,h5,h6,strong,b){color:#e6f0f5!important}
html[data-theme="dark"] .content :is(.quick-access,.quick-card,.metric-card,.panel,.state-card) :is(p,small,label,span:not([class*="icon"]),td,dd){color:#b9c9d2!important}
html[data-theme="dark"] .content .quick-card:hover{background:#193747!important;border-color:#4a7187!important}
html[data-theme="dark"] .content .readiness-item{border-color:#2a4352!important}
html[data-theme="dark"] .content .readiness-item>.oi{background:#203a49!important}
html[data-theme="dark"] .content .readiness-item.ok>.oi{color:#86efac!important;background:#173c37!important}
html[data-theme="dark"] .content .readiness-item.warn>.oi{color:#fcd34d!important;background:#44371e!important}
@media(max-width:840px){.theme-toggle__label{display:none}.theme-toggle{width:38px;padding:0}}

.apps-heading{align-items:center;margin:0 0 18px;padding:23px 26px;border:1px solid #d7e7ef;border-radius:22px;background:linear-gradient(120deg,#fff 0%,#f2faff 100%);box-shadow:0 12px 30px rgba(12,59,84,.045)}
.apps-heading .eyebrow,.apps-section-heading .eyebrow{color:#0284c7;font-size:.63rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.apps-heading h1{margin:5px 0;color:#0b3852;font-size:clamp(1.55rem,2.4vw,2rem);letter-spacing:-.035em}
.apps-platform{min-width:190px;border-color:#cfe9f5;background:#eaf7fd}
.installed-versions{margin:0 0 25px;padding:23px 25px;border-radius:22px;box-shadow:0 12px 35px rgba(12,59,84,.055)}
.installed-versions>header{align-items:center;margin-bottom:16px}
.installed-versions h2{font-size:1.24rem;letter-spacing:-.025em}
.installed-version-list article{grid-template-columns:minmax(150px,1.2fr) minmax(115px,.75fr) minmax(115px,.75fr) auto auto;gap:15px;padding:15px 4px}
.installed-version-list article>div:first-child strong{font-size:.9rem}
.installed-version-state{padding:7px 11px}
.installed-version-list a{padding:8px 11px;border:1px solid #b8e6fb;border-radius:10px;background:#effaff}
.installed-version-list a:hover{background:#dff5ff}
.apps-section-heading{margin:0 0 14px;scroll-margin-top:92px}
.apps-section-heading h2{margin:4px 0;color:#0b3852;font-size:1.35rem;letter-spacing:-.025em}
.apps-section-heading p{margin:0;color:#67808d;font-size:.78rem}
@media(max-width:850px){.apps-heading{align-items:flex-start}.apps-platform{min-width:0}.installed-versions{padding:18px}.installed-version-list article{grid-template-columns:1fr 1fr}}

/* Reservas: controls stay inside their card at narrow POS/tablet widths. */
.reservation-form-card{min-width:0;padding:22px;box-sizing:border-box}
.reservation-fields-row{display:grid;grid-template-columns:minmax(82px,.7fr) repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.reservation-fields-row>label{display:grid;min-width:0;gap:6px;color:var(--text-muted,#60798b);font-size:.76rem;font-weight:800}
.reservation-form-card input,.reservation-form-card select,.reservation-form-card textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.reservation-form-card select{padding-right:34px}
@media(max-width:560px){.reservation-fields-row{grid-template-columns:1fr 1fr}.reservation-fields-row>label:first-child{grid-column:1/-1}}

/* Developer operations dashboard */
.developer-operations{display:grid;gap:15px}
.developer-operations-heading{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.developer-operations-heading h2{margin:5px 0;color:#173b4e;font-size:1.25rem}
.developer-operations-heading p,.developer-operations-intro p{margin:0!important;color:#718b9a;font-size:.72rem;line-height:1.55}
.developer-operations-refresh{display:grid;justify-items:end;gap:8px}
.developer-operations-refresh small{color:#7893a1;font-size:.62rem}
.developer-operations-intro{padding:22px;display:flex;align-items:center;gap:16px}
.developer-operations-intro>div{flex:1}
.developer-operations-intro strong{display:block;margin-bottom:5px;color:#173b4e;font-size:.86rem}
.developer-operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.developer-operation-card{min-height:142px;padding:19px;display:flex;align-items:flex-start;gap:13px}
.developer-operation-card>div{flex:1;min-width:0}
.developer-operation-card .eyebrow{color:#7893a1;font-size:.57rem;font-weight:900;letter-spacing:.12em}
.developer-operation-card h3{margin:5px 0;color:#173b4e;font-size:.94rem}
.developer-operation-card p{margin:0!important;color:#718b9a;font-size:.67rem;line-height:1.5;overflow-wrap:anywhere}
.developer-operation-card .platform-pill{flex:0 0 auto}
.developer-operation-card.needs-attention{border-color:#f5c76b;background:#fffdf7}
.developer-operations-note{padding:16px 19px;display:grid;gap:5px;border:1px solid #dce8ee;border-radius:14px;color:#587485;background:#f8fbfc;font-size:.66rem;line-height:1.55}
.developer-operations-note strong{color:#173b4e;font-size:.7rem}
@media(max-width:760px){.developer-operations-heading,.developer-operations-intro{align-items:stretch;flex-direction:column}.developer-operations-refresh{justify-items:stretch}.developer-operations-grid{grid-template-columns:1fr}.developer-operation-card{flex-wrap:wrap}.developer-operation-card>div{min-width:calc(100% - 72px)}}
