.fw-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border:1px solid #cbd5e1;background:#f8fafc;color:#1e293b;border-radius:12px;padding:10px 14px;font-size:12px;font-weight:700;cursor:pointer;min-height:42px}.fw-button:disabled{opacity:.5;cursor:wait}.fw-primary{background:#1e56a0;color:white;border-color:#1e56a0}.fw-dialog{width:min(760px,calc(100% - 24px));border:0;border-radius:22px;padding:0;box-shadow:0 20px 80px #0005}.fw-dialog::backdrop{background:#0f172a99}.fw-dialog form{padding:24px;max-height:88vh;overflow:auto}.fw-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.fw-dialog h2{font-size:20px;font-weight:800}.fw-dialog header button{font-size:28px}.fw-field{display:block;font-size:12px;font-weight:700;margin:12px 0;color:#475569}.fw-field input,.fw-field select,.fw-field textarea{display:block;width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:10px;margin-top:5px;background:white;color:#0f172a}.fw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.fw-card{border:1px solid #e2e8f0;border-radius:18px;background:white;padding:18px}.fw-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.fw-table{width:100%;border-collapse:collapse;font-size:12px}.fw-table td,.fw-table th{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}.fw-muted{font-size:12px;color:#64748b}.fw-alert{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:12px;color:#9a3412;font-size:13px}#fw-dialog-error{color:#b91c1c;margin:12px 0;font-size:13px}#fw-connection{position:fixed;bottom:12px;left:12px;right:12px;background:#9a3412;color:white;z-index:100;padding:12px;border-radius:12px;font-size:13px}#pdv-cart-items{max-height:38vh!important}#fw-categories{display:flex;gap:8px;overflow:auto;padding-bottom:8px}#fw-categories button{white-space:nowrap}#fw-split-rows .fw-grid{grid-template-columns:1.5fr 1fr 1fr auto;align-items:end}#fw-kitchen-columns{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:16px;overflow:auto}.fw-late{border:2px solid #f97316}@media(max-width:640px){.fw-dialog form{padding:16px}#module-pdv>div:last-child{position:static}#fw-split-rows .fw-grid{grid-template-columns:1fr 1fr}#fw-kitchen-columns{grid-template-columns:1fr}.fw-button{min-height:44px}#pdv-checkout-btn{position:sticky;bottom:8px;z-index:15}#module-reports{overflow-x:hidden}}
#product-modal .fw-product-panel{max-width:780px;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;gap:16px;overflow:hidden}
#product-modal .fw-product-panel>.space-y-3{overflow-y:auto;min-height:0;padding:2px 6px 8px 2px;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
#product-modal .fw-product-panel>.space-y-3>*{grid-column:1/-1;margin-top:0!important;min-width:0}
#product-modal .fw-product-panel>.space-y-3>div:has(#prod-name){grid-column:1;grid-row:1}
#product-modal .fw-product-panel>.space-y-3>div:has(#prod-description){grid-column:1;grid-row:2}
#product-modal .fw-product-panel>.space-y-3>div:has(#prod-image-file){grid-column:2;grid-row:1/3;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px}
#product-modal #prod-image-preview{width:100px;height:100px}
#product-modal .fw-product-panel>.space-y-3>button{grid-column:1/-1}
@media(max-width:600px){#product-modal{padding:8px}#product-modal .fw-product-panel{max-height:calc(100dvh - 16px);padding:16px}#product-modal .fw-product-panel>.space-y-3{display:flex;flex-direction:column;gap:12px}#product-modal .fw-product-panel>.space-y-3>*{width:100%;flex-shrink:0}#product-modal .fw-product-panel>.space-y-3>div:has(#prod-image-file){order:-1}}
#tenant-detail-dialog{padding:24px;max-height:90dvh;overflow:auto}#tenant-detail-dialog form{padding:0;max-height:none;overflow:visible;margin:20px 0}#tenant-detail-dialog pre{font-size:12px}#tenant-detail-dialog summary{cursor:pointer;font-size:13px}#fw-table-payments{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}#fw-table-tools .fw-button{flex:1 1 130px}.fw-table-payer{min-width:0}#fw-table-service{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px}@media(max-width:600px){#tenant-detail-dialog{padding:18px}#fw-table-payments{grid-template-columns:1fr}}
.fw-preview{width:min(1200px,calc(100vw - 24px));max-height:95dvh;border:0;border-radius:18px;padding:18px}.fw-preview::backdrop{background:#0f172aaa}.fw-preview header{display:flex;justify-content:space-between;gap:12px}.fw-preview header h2{font-size:20px;font-weight:700}.fw-preview header p{font-size:13px;color:#475569}.fw-preview header button{font-size:28px;padding:8px}.fw-preview-stage{overflow:auto;background:#e2e8f0;padding:12px;border-radius:12px}.fw-preview iframe{display:block;border:0;background:white;height:65dvh;max-width:none;margin:auto}.fw-preview-stage:has(iframe[style*="390px"]){max-width:100%}@media(max-width:450px){.fw-preview{padding:10px}.fw-preview-stage{padding:0}.fw-preview iframe[style*="390px"]{width:100%!important}}
.fw-sidebar{position:fixed;left:0;top:70px;bottom:0;width:248px;background:#fff;color:#24354d;border-right:1px solid #e2e8f0;overflow-y:auto;padding:20px 14px;display:flex;flex-direction:column;gap:18px;z-index:35}
.fw-danger{background:#fff1f2;border-color:#fda4af;color:#9f1239}.fw-inventory-summary{margin:16px 0}.fw-stock-actions{display:flex;flex-wrap:wrap;gap:6px}
.fw-side-tools>strong{font-size:12px;color:#64748b}.fw-nav-search input{width:100%;margin-top:12px;padding:10px 12px;border:1px solid #dbe3ed;border-radius:10px;background:#f8fafc;color:#172b43;font-size:12px}
.fw-side-group>summary{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8291a6;padding:0 10px 8px;cursor:pointer;list-style:none}.fw-side-group .fw-nav-menu{position:static;display:flex;flex-direction:column;gap:3px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;min-width:0}
.fw-side-link{display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:10px 12px;border-radius:10px;font-size:12px;font-weight:650;color:#34445b;background:transparent;min-height:40px;border:0;cursor:pointer}.fw-side-link:hover{background:#f3f6fa}.fw-side-link.fw-selected{background:#eaf2ff;color:#174e92;box-shadow:inset 3px 0 #2867b2}.fw-side-link[hidden],.fw-side-group[hidden]{display:none!important}
.fw-side-bottom{margin-top:auto;border-top:1px solid #e2e8f0;padding:16px 10px 4px;display:grid;gap:14px;font-size:12px}.fw-side-bottom button{text-align:left;color:#b42332}
#dashboard>header>div{max-width:none;min-height:70px;padding:12px 24px}#dashboard>main{margin-left:248px;margin-right:0;width:calc(100% - 248px);max-width:none;padding:28px 32px;background:#f5f7fb;min-height:calc(100vh - 70px)}#fw-menu-toggle{display:none}
#fw-page-context{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e0e7f0}#fw-page-context p{font-size:11px;color:#64809c;font-weight:700;text-transform:uppercase;letter-spacing:.08em}#fw-page-context h2{font-size:26px;font-weight:800;color:#162b47;margin:3px 0}#fw-page-context span{font-size:13px;color:#718097}
.fw-home-intro{padding:24px 0 28px}.fw-eyebrow{font-size:10px;font-weight:800;color:#2766ae;letter-spacing:.12em}.fw-home-intro h2{font-size:clamp(23px,3vw,32px);font-weight:800;color:#162b47;margin:8px 0}.fw-home-intro p{font-size:14px;color:#6b7c92;max-width:650px}.fw-home-groups{display:grid;gap:28px}.fw-home-groups h3{font-size:14px;font-weight:800;color:#354b65;margin-bottom:12px}.fw-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.fw-shortcuts>button{position:relative;padding:20px 38px 20px 20px;border:1px solid #e0e7f0;border-radius:15px;background:white;text-align:left;box-shadow:0 3px 12px #162b4704;transition:border-color .15s,transform .15s}.fw-shortcuts>button:hover{border-color:#80a8d7;transform:translateY(-2px)}.fw-shortcuts strong{display:block;color:#1c3656;font-size:14px}.fw-shortcuts span{display:block;color:#758399;font-size:12px;margin-top:6px}.fw-shortcuts b{position:absolute;right:18px;top:22px;color:#8ea5c1}
.fw-admin-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.fw-admin-heading h2{font-size:22px}.fw-admin-heading p{max-width:580px;font-size:13px;line-height:1.6;color:#64748b}.fw-client-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px;margin-top:20px}.fw-client-card{padding:22px;border:1px solid #dbe5f0;border-radius:16px;min-width:0}.fw-client-card h3{margin:0;font-size:18px}.fw-client-card p{line-height:1.6}.fw-status{font-size:11px;font-weight:700;padding:5px 9px;border-radius:20px;background:#e8f6ed;color:#257147}.fw-status.fw-inactive{background:#fce9ea;color:#a3303a}.fw-module-group{margin:16px 0;padding:16px;border:1px solid #dbe5f0;border-radius:12px}.fw-module-group legend{font-weight:800;font-size:13px;padding:0 6px}.fw-module-option{display:flex;gap:12px;align-items:flex-start;padding:10px 2px;cursor:pointer}.fw-module-option input{width:18px;height:18px;margin-top:2px;accent-color:#2563a4;flex-shrink:0}.fw-module-option strong{display:block;font-size:13px}.fw-module-option small{display:block;line-height:1.5;color:#64748b;margin-top:4px}.fw-dialog-actions{position:sticky;bottom:-24px;background:white;padding:14px 0;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e2e8f0}#modules-error{color:#b42332;font-size:13px}
@media(max-width:900px){#dashboard>header>div{padding:10px 16px;min-height:64px}#fw-menu-toggle{display:inline-flex;background:#213752;color:white;border-color:#3a526d;min-height:40px}.fw-sidebar{top:64px;width:min(290px,85vw);transform:translateX(-100%);transition:transform .18s}.fw-menu-open .fw-sidebar{transform:translateX(0)}#dashboard>main{margin-left:0;width:100%;padding:20px 16px}#fw-menu-shade{position:fixed;inset:64px 0 0;background:#132b4970;z-index:19;border:0}#fw-menu-shade[hidden]{display:none}.fw-shortcuts{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}#fw-page-context h2{font-size:22px}.fw-home-intro{padding:8px 0 22px}.fw-client-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.fw-sidebar,.fw-shortcuts>button{transition:none}.fw-shortcuts>button:hover{transform:none}}
.fw-home-summary{margin-bottom:28px}.fw-summary-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.fw-summary-heading h3{font-size:14px;font-weight:800;color:#354b65}.fw-summary-heading>span{font-size:11px;color:#64748b}.fw-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px}.fw-summary-card{min-width:0;text-align:left;background:#fff;border:1px solid #dce6f2;border-top:3px solid #3975bb;border-radius:14px;padding:16px;cursor:pointer}.fw-summary-card:hover{background:#f0f6ff}.fw-summary-card>span{display:block;font-size:12px;color:#60748d}.fw-summary-card>strong{display:block;margin:8px 0;font-size:23px;line-height:1.25;color:#17395f;overflow-wrap:anywhere}.fw-summary-card>small{display:block;font-size:11px;color:#718097}.fw-summary-card[data-summary="cash"]{border-top-color:#159c78}.fw-summary-card[data-summary="orders"]{border-top-color:#e3a52c}@media(max-width:420px){.fw-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fw-summary-card{padding:13px}.fw-summary-card>strong{font-size:20px}}
#fw-footer{position:relative;z-index:0;flex-shrink:0;width:100%;box-sizing:border-box;padding-right:88px}#fw-footer>a{margin-left:0;margin-right:0}#fw-developer-credit{order:3;margin-left:auto;justify-content:flex-end;text-align:right}#fw-developer-credit>div{flex-shrink:0}
@media(min-width:901px){#dashboard>#fw-footer{margin-left:248px;width:calc(100% - 248px)}}
@media(max-width:600px){#fw-developer-credit{flex-basis:100%;font-size:10px}}
#dashboard{padding-top:70px}#dashboard>header{position:fixed;top:0;left:0;right:0;height:70px}#dashboard>header>div{height:70px;flex-wrap:nowrap}#dashboard>header>div>div{min-width:0}#dashboard>header #dash-store-title{min-width:0}
@media(max-width:900px){#dashboard{padding-top:64px}#dashboard>header,#dashboard>header>div{height:64px}#dashboard>header>div{gap:10px}#dashboard>header>div>div{gap:8px}#dashboard>header #dash-store-title{font-size:13px;max-width:150px}#dashboard>header #badge-role{font-size:9px;padding:4px 6px}#fw-menu-toggle{flex-shrink:0;padding:8px 10px}}

#billing-panel{margin-bottom:20px}#billing-panel .fw-summary-grid{margin:16px 0}#billing-dialog{box-sizing:border-box}#billing-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;font:14px system-ui;border:1px solid #cbd5e1;border-radius:10px;padding:12px}.fw-billing-json{white-space:pre-wrap;overflow-wrap:anywhere}#billing-panel .fw-toolbar{align-items:end}#billing-panel .fw-client-card{overflow-wrap:anywhere}#billing-history{max-height:480px;overflow:auto;padding:12px}#billing-dialog button:disabled{opacity:.5;cursor:not-allowed}
.fw-tenant-config{width:min(940px,95vw);max-height:90vh}.fw-tenant-config>header{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #dce3ed;padding-bottom:16px}.fw-tenant-config>header button{align-self:flex-start;font-size:24px;min-width:40px}.fw-config-section{padding:22px 0;border-bottom:1px solid #dce3ed}.fw-config-section h3{font-size:18px;font-weight:700;margin:0 0 16px}.fw-config-section h4{font-size:16px;margin:24px 0 14px}.fw-config-section .fw-field{margin:12px 0}.fw-config-section summary{cursor:pointer;font-weight:600}.fw-config-section p{font-size:14px;color:#475569}.fw-tenant-config #modules-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.fw-tenant-config #tenant-reset-form{max-width:580px}
:is(#module-reports,#report-caixa-section,#report-ponto-section) :is(th,.uppercase){text-transform:none;letter-spacing:normal}:is(#module-reports,#report-caixa-section,#report-ponto-section) :is(.rounded-3xl,.rounded-2xl){border-radius:10px}:is(#module-reports,#report-caixa-section,#report-ponto-section) :is(.font-black,.font-extrabold){font-weight:650}:is(#module-reports,#report-caixa-section,#report-ponto-section) :is(.text-\[10px\],.text-\[11px\],table){font-size:13px}:is(#module-reports,#report-caixa-section,#report-ponto-section) .text-slate-400{color:#536377}:is(#module-reports,#report-caixa-section,#report-ponto-section) table{font-variant-numeric:tabular-nums}:is(#module-reports,#report-caixa-section,#report-ponto-section) tbody tr:hover{background:#f6f8fb}#module-reports [id^="rep-tab-"]{padding:12px 16px;font-size:14px}.fw-report-note{padding:12px 16px;border-left:3px solid #6887a6;background:#f0f4f8;color:#3c526a;font-size:14px;line-height:1.6}#fw-report-period{padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
@media(max-width:600px){.fw-tenant-config #modules-fields{grid-template-columns:1fr}#module-reports [id^="rep-tab-"]{padding:12px 8px}#fw-report-period .fw-field{width:100%}}
.fw-tenant-config{padding:0 20px 20px;box-sizing:border-box}.fw-tenant-config>header{position:sticky;top:0;background:white;z-index:2;padding:18px 0;margin:0}.fw-tenant-config form{max-height:none;overflow:visible;padding:0}.fw-tenant-config .fw-config-section{overflow-wrap:anywhere}
