.password-field,.currency-field{display:flex;align-items:center;gap:8px}.password-field input,.currency-field input{min-width:0;flex:1}.currency-field>span{font-weight:700;color:var(--muted,#626775)}.password-toggle{padding:10px;font-size:12px}.btn{transition:background .15s,box-shadow .15s,opacity .15s}.btn:disabled{cursor:wait;opacity:.6}.btn.primary:disabled:after{content:'';display:inline-block;margin-left:8px;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:fh-spin .7s linear infinite}@keyframes fh-spin{to{transform:rotate(360deg)}}#toast.show{animation:fh-toast .2s ease-out}@keyframes fh-toast{from{transform:translateY(10px);opacity:0}to{opacity:1}}.schedule-row{display:grid;grid-template-columns:130px 1fr 1fr;gap:12px;margin:10px 0;align-items:center}.schedule-row input[type=checkbox]{width:auto}.finance-table{width:100%;border-collapse:collapse}.finance-table td,.finance-table th{padding:12px;text-align:left;border-bottom:1px solid #ddd}.table-scroll{overflow:auto}.kitchen-shell{padding:24px;max-width:1800px;margin:auto}.kitchen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.kitchen-card{padding:20px;border-top:5px solid #ea6746}.kitchen-card h2{font-size:28px}.kitchen-card li{font-size:22px;margin:15px 0}.kitchen-card small{display:block}.kitchen-card[data-status="Pronto"]{border-color:#19834b}.kitchen-card[data-status="Em preparo"]{border-color:#d58c19}.kitchen-note{padding:12px;border:2px solid #ea6746}.theme-tools{display:flex;flex-wrap:wrap;gap:8px}.billing-notice{padding:12px;background:#fff0df;border-radius:12px;margin:12px 0}.tracking-map{width:100%;height:260px;border:0;border-radius:16px}.date-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}.date-filter .field{margin:0}.date-filter input{max-width:190px}
html[data-theme=dark]{color-scheme:dark;--bg:#15181e;--surface:#20252d;--text:#f1f3f6;--muted:#b8c1ce;--line:#3a424f;--soft:#3e2924}html[data-theme=dark] body{background:#15181e;color:#f1f3f6}html[data-theme=dark] :is(.panel,.topbar,.sidebar,.login-card,.modal-head,.board-column-head,.restaurant-popover,.stat,.checkout-section,dialog,.courier-order){background:#20252d;color:#f1f3f6;border-color:#3a424f}html[data-theme=dark] :is(input,select,textarea,.btn,.board-column-body,.live-order,.restaurant-option){background:#2b313b;color:#f1f3f6;border-color:#475161}html[data-theme=dark] :is(.notice,.live-info,.billing-notice,.board-summary span){background:#303a38;color:#e2e9e6}html[data-theme=dark] :is(.muted,small,.page-head p,.field,.stat-title,.sync-state){color:#bbc4d0}html[data-theme=dark] .btn.primary{background:#ea6746;color:#17191e}html[data-theme=dark] .board-completed .board-column-body{background:#1c342b}html[data-theme=dark] .fh-wordmark{color:#f1f3f6}html[data-theme=dark] .restaurant-option.selected{background:#493028}html[data-theme=dark] .sidebar-footer{background:#20252d}html[data-theme=dark] .content{background:#15181e}
@media(max-width:650px){.schedule-row{grid-template-columns:90px 1fr 1fr;gap:6px}.kitchen-shell{padding:14px}.finance-table{min-width:620px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.courier-mini-map{height:260px;width:100%;max-width:500px;margin:16px auto;position:relative;overflow:hidden;background:#e5e7eb;border-radius:16px}.courier-mini-map img{position:absolute;max-width:none;width:256px;height:256px}.courier-map-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#ea6746;color:white;border:4px solid white;box-shadow:0 2px 10px #0008;border-radius:50%;padding:7px;z-index:1}.courier-mini-map a{position:absolute;bottom:0;right:0;background:#fff;color:#24272d;padding:4px;font-size:11px;z-index:2}

html[data-theme=dark] .restaurant-switcher>summary{background:#2b313b;border-color:#475161;color:#f1f3f6}html[data-theme=dark] .sidebar .nav{color:#c6ceda}html[data-theme=dark] .sidebar .nav.active{background:#493028;color:#ffa88c}html[data-theme=dark] .account-copy strong{color:#e5e9f0}html[data-theme=dark] .icon-button{background:#2b313b;color:#f1f3f6;border-color:#475161}html[data-theme=dark] .restaurant-copy strong{color:#f1f3f6}

html[data-theme=dark] .kitchen-card[data-status='Novo']{border-top-color:#ea6746}html[data-theme=dark] .kitchen-card[data-status='Em preparo']{border-top-color:#d58c19}html[data-theme=dark] .kitchen-card[data-status='Pronto']{border-top-color:#19834b}

.preference-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;flex:none}.preference-icon svg{width:22px;height:22px}.desktop-preferences{display:flex;gap:8px}.mobile-preferences{display:none}.preference-icon[data-sound][aria-pressed=true]{color:#bf5031;background:#fff0e9;border-color:#efc7b6}html[data-theme=dark] .preference-icon[data-sound][aria-pressed=true]{background:#493028;color:#ffa88c}@media(max-width:760px){.live-layout .desktop-preferences{display:none}.live-layout .mobile-preferences{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 4px 14px;border-bottom:1px solid var(--line,#eee3dc)}.mobile-preferences>span{font-size:12px;color:var(--muted,#626775)}.mobile-preferences>div{display:flex;gap:8px}.live-layout .topbar .restaurant-switcher{flex:1;min-width:0}.live-layout .topbar .selected-restaurant{flex:1;min-width:0}.live-layout .topbar .restaurant-copy{flex:1;min-width:0}.live-layout .topbar .restaurant-switcher summary>svg{flex:none}.live-layout .topbar .board-context{min-width:0;flex:1}.live-layout .topbar .board-context strong{font-size:13px}}

.password-field{display:block;position:relative;width:100%;min-width:0}.password-field input{display:block;box-sizing:border-box;width:100%;padding-right:48px}.password-field .btn.password-toggle{position:absolute;right:2px;top:2px;bottom:2px;width:40px;min-width:40px;height:auto;margin:0;padding:8px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--muted,#626775);box-shadow:none}.password-toggle svg{width:20px;height:20px;pointer-events:none}.password-field .password-toggle:hover{color:var(--text,#252a34);background:#80808012}.password-toggle:focus-visible{outline:2px solid #ea6746;outline-offset:-3px}.password-field input::-ms-reveal{display:none}

.settings-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center}.settings-menu>summary::-webkit-details-marker{display:none}.settings-chevron{margin-left:auto;display:flex}.settings-menu[open] .settings-chevron{transform:rotate(180deg)}.settings-submenu{margin-left:15px;padding-left:8px;border-left:1px solid var(--line,#efd9cd)}.live-layout .settings-submenu .nav{font-size:11px;padding:10px 7px;gap:7px;min-height:42px}.settings-submenu .nav svg{flex:none;width:16px}.settings-submenu .nav-label{white-space:normal;text-align:left}.settings-menu>summary:focus-visible{outline:2px solid #ea6746;outline-offset:-2px}.settings-current{font-weight:750}.sidebar-collapsed .settings-chevron{display:none}.sidebar-collapsed .settings-submenu{margin-left:0;padding-left:0;border:0}@media(max-width:760px){.sidebar-collapsed .settings-chevron{display:flex}.sidebar-collapsed .settings-submenu{margin-left:15px;padding-left:8px;border-left:1px solid var(--line,#efd9cd)}}

.restaurant-settings>.page-head{margin-top:28px}.restaurant-settings>.page-head h1{font-size:22px}.restaurant-settings .panel{margin-bottom:24px}

button[data-theme] svg,button[data-sound] svg{width:22px;height:22px;max-width:22px;max-height:22px;flex:none}.restaurant-avatar img,.restaurant-logo img{object-fit:contain;padding:3px}.image-preview img{object-fit:contain;max-height:260px}.shop-hero img{object-position:center}.promotion-frame img{object-fit:contain;background:var(--shop-bg,#fffdfb)}.store-status{display:block;font-size:11px;font-weight:750;text-align:center;margin-top:5px;color:#15743c}.store-status.closed{color:#b52d35}.store-status.open{color:#15743c}.board-store-identity{display:flex;flex-direction:column;align-items:center;flex:none!important}.store-toggle{border:1px solid #b7c4bd;border-radius:24px;padding:5px 10px;background:#edf5ef;color:#176139;cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.store-toggle:before{content:'';width:12px;height:12px;background:currentColor;border-radius:50%}.store-toggle[aria-checked=false]{background:#fff0f0;color:#a72f36;border-color:#deb8bc}html[data-theme=dark] .store-status.open{color:#7de7a5}html[data-theme=dark] .store-status.closed{color:#ff9ba3}html[data-theme=dark] :is(.text-btn,.tab,.chip,.category-pill,.filter-chip,.driver-row button){color:#e8edf5;background:#2b313b;border-color:#475161}html[data-theme=dark] :is(.tab.active,.chip.active,.category-pill.active){background:#493028;color:#ffb498}html[data-theme=dark] :is(.badge,.board-count){background:#3d342e;color:#ffd2b5}html[data-theme=dark] .btn:hover{background:#394352;color:#fff}html[data-theme=dark] .btn.primary:hover{background:#ff9976;color:#17191e}.history-list{display:grid;gap:12px}.history-list .live-order{border:1px solid var(--line,#ddd);border-radius:12px}@media(max-width:760px){.shop-hero{height:220px}.shop-hero img{object-position:center}.promotion-frame{aspect-ratio:16/9}.image-preview img{max-height:190px}.board-column-head{flex-wrap:wrap}.board-column-head>.store-toggle{margin-left:auto}}

.whatsapp-qr img{display:block;width:240px;height:240px;max-width:100%;object-fit:contain;background:white;margin:18px auto}.whatsapp-messages{max-height:480px;overflow:auto;display:flex;flex-direction:column-reverse;gap:12px;margin:20px 0}.whatsapp-message{padding:14px;border:1px solid var(--line,#ddd);border-radius:12px;overflow-wrap:anywhere}.whatsapp-message p{white-space:pre-wrap}.whatsapp-message.out{background:var(--soft,#fff0e9)}.history-caption{padding:12px 20px;margin:0;font-size:12px;color:var(--muted)}
.food-photo{height:auto;aspect-ratio:4/3}.food-photo img{display:block;object-position:center}.food-card.horizontal .food-photo{width:120px;height:120px;aspect-ratio:1;align-self:center}.store-logo-image{object-fit:contain;padding:3px}.shop-hero{isolation:isolate}@media(max-width:760px){.food-card.horizontal .food-photo{width:96px;height:96px}.food-card:hover img{transform:none}.shop-hero .hero-copy{max-width:calc(100% - 36px)}}
/* Consistent, readable FornoHub identity across access and operation screens. */
.fh-brand{gap:12px;max-width:100%}.fh-brand-symbol{width:56px;height:62px}.fh-brand .fh-flame{width:50px;height:56px;max-width:none;stroke:none}.fh-wordmark{font-size:38px;letter-spacing:-1.6px;white-space:nowrap}.fh-wordmark small{font-size:9px;letter-spacing:1.7px;margin-top:8px}.login-card .fh-brand{margin-bottom:28px}.live-layout .sidebar-head{padding:24px 16px 22px}.live-layout .fh-brand{gap:9px}.live-layout .fh-brand-symbol{width:44px;height:52px}.live-layout .fh-flame{width:42px;height:48px}.live-layout .fh-wordmark{font-size:29px;letter-spacing:-1.2px}.live-layout .fh-wordmark small{font-size:8px;letter-spacing:1.1px}.courier-header .fh-wordmark{font-size:30px}.courier-header .fh-brand-symbol{width:44px;height:52px}.courier-header .fh-flame{width:42px;height:48px}.live-layout.sidebar-collapsed .sidebar-head{padding-left:16px;padding-right:16px}.live-layout.sidebar-collapsed .fh-brand{gap:0}
@media(max-width:760px){.login-card .fh-wordmark{font-size:34px}.login-card .fh-brand-symbol{width:48px;height:56px}.login-card .fh-flame{width:46px;height:52px}.login-card .fh-brand{gap:10px}.live-layout .sidebar-head{padding:22px 14px 20px}.live-layout.sidebar-collapsed .fh-brand{gap:9px}.courier-header{flex-wrap:wrap;gap:16px}.courier-header .fh-wordmark{font-size:29px}}
@media(max-width:350px){.login-card .fh-wordmark{font-size:30px}.login-card .fh-wordmark small{font-size:8px;letter-spacing:1.1px}}

/* Commercial workspace */
body .live-layout{--accent:#d85300;--soft:#fff1e5;--sidebar-width:224px;background:#f5f6f8;color:#20252b;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body .live-layout.sidebar-collapsed{--sidebar-width:68px}
body .live-layout .sidebar{background:#fff;border-right:1px solid #e4e7ec}
body .live-layout .sidebar-head{padding:17px 16px 13px;border-bottom:1px solid #eceef1}
body .live-layout .sidebar-scroll{padding:8px 10px 16px}
body .live-layout .nav-group{margin:10px 0 18px}
body .live-layout .nav-group-label{padding:5px 10px 6px;color:#777e87;font-size:10px;text-transform:uppercase;font-weight:750;letter-spacing:.075em}
body .live-layout .nav{min-height:39px;height:auto;border-radius:7px;display:flex;align-items:center;gap:10px;padding:9px 10px;font-size:13px;font-weight:550;color:#4a5059;margin:2px 0;box-shadow:none;background:transparent}
body .live-layout .nav svg{width:19px;height:19px;flex:none}
body .live-layout .nav:hover{background:#f5f6f8;color:#20252b}
body .live-layout .nav.active{background:#fff0e5;color:#a94200;font-weight:750;border:0}
body .live-layout .nav.active::before{display:none}
body .live-layout .sidebar-footer{border-top:1px solid #e9ebef;background:#fff}
body .live-layout.sidebar-collapsed .nav-group-label{display:none}
body .live-layout.sidebar-collapsed .nav-group{border-bottom:1px solid #eee;padding-bottom:10px;margin:4px 0}
body .live-layout.sidebar-collapsed .nav{justify-content:center;padding:8px 4px}
body .live-layout .main{min-width:0;background:#f5f6f8}
body .live-layout .topbar{min-height:62px;padding:10px 26px;background:white;border-bottom:1px solid #e4e7ec}
body .live-layout .content{max-width:none;padding:24px 28px 40px;background:#f5f6f8}
body .live-layout .page-head{margin:0 0 20px;gap:12px}
body .live-layout .page-head h1,body .live-layout .page-head h2{font-size:26px;line-height:1.3;letter-spacing:-.04em;margin:0 0 4px}
body .live-layout .page-head p{font-size:13px;color:#68717c;line-height:1.5}
body .live-layout .btn{border-radius:7px;font-size:13px;font-weight:650;min-height:35px;padding:8px 13px;box-shadow:none}
body .live-layout .btn.primary{background:#d85300;color:#fff;border-color:#d85300}
body .live-layout .btn.compact{min-height:29px;padding:4px 10px}
body .live-layout .panel{border-radius:10px;border-color:#e1e5eb;box-shadow:0 1px 2px #10182807}
body .live-layout .admin-commerce-tabs,body .live-layout .workspace-tabs{display:flex;align-items:center;gap:20px;border-bottom:1px solid #dde1e6;margin:0 0 18px;overflow:auto;background:transparent;padding:0}
body .live-layout .workspace-tabs button,body .live-layout .admin-commerce-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#656d78;padding:11px 2px;white-space:nowrap;font:600 14px system-ui;cursor:pointer}
body .live-layout .workspace-tabs button.active,body .live-layout .admin-commerce-tabs button.active{border-bottom-color:#d85300;color:#20252b;background:transparent}
body .live-layout .data-panel{background:#fff;border:1px solid #e1e5eb;border-radius:10px;overflow:hidden}
body .live-layout .data-toolbar{display:flex;align-items:center;gap:9px;padding:13px 14px;flex-wrap:wrap;border-bottom:1px solid #e9ecf0;margin:0}
body .live-layout .data-toolbar input,body .live-layout .data-toolbar select{border:1px solid #dce0e5;border-radius:7px;background:#fff;color:#20252b;padding:9px 11px;min-height:37px;font:14px system-ui;max-width:100%}
body .live-layout .data-toolbar input{flex:1;min-width:min(250px,100%)}
body .live-layout .data-table-scroll{overflow:auto;max-width:100%}
body .live-layout .data-table{border-collapse:collapse;width:100%;min-width:720px;color:#20252b;background:#fff;text-align:left;font-size:13px}
body .live-layout .data-table th{background:#f8f9fb;color:#68717c;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;padding:12px 14px;border-bottom:1px solid #e3e6eb}
body .live-layout .data-table td{padding:13px 14px;border-bottom:1px solid #e9ecf0;vertical-align:middle}
body .live-layout .data-table tbody tr:hover{background:#fcfcfd}
body .live-layout .data-table td:not(:first-child){white-space:nowrap}
body .live-layout .data-table td small{display:block;font-size:11px;color:#777f89;margin-top:4px}
body .live-layout .data-table .num{text-align:right}
body .live-layout .data-table .table-empty{text-align:center;color:#737b86;padding:50px 20px}
body .live-layout .data-table .data-detail td{padding:14px;background:#f7f8fa;white-space:normal}
body .live-layout .data-detail .live-order{max-width:none;margin:0}
body .live-layout .table-product{display:flex;align-items:center;gap:10px;min-width:180px}
body .live-layout .table-product img,body .live-layout .table-product-placeholder{width:40px;height:40px;object-fit:cover;border-radius:7px;background:#f2f4f7;flex:none}
body .live-layout .table-product-placeholder{display:grid;place-items:center;color:#bcc2ca;font-size:23px}
body .live-layout .data-footer{display:flex;gap:12px;justify-content:space-between;padding:12px 14px;color:#68717c;font-size:12px}
body .live-layout .stock-adjustment{margin:0 0 18px;max-width:none}
body .live-layout .stock-adjustment form{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(120px,1fr) minmax(180px,1.5fr);gap:12px;align-items:end}
body .live-layout .stock-adjustment form .actions{grid-column:1/-1}
[data-theme=dark] body .live-layout,[data-theme=dark] body .live-layout .main,[data-theme=dark] body .live-layout .content{background:#15181e;color:#f3f4f6}
[data-theme=dark] body .live-layout .sidebar,[data-theme=dark] body .live-layout .sidebar-footer,[data-theme=dark] body .live-layout .topbar,[data-theme=dark] body .live-layout .data-panel,[data-theme=dark] body .live-layout .data-table,[data-theme=dark] body .live-layout .data-toolbar input,[data-theme=dark] body .live-layout .data-toolbar select{background:#1e2229;color:#eee;border-color:#353b46}
[data-theme=dark] body .live-layout .nav{color:#c9cdd3}[data-theme=dark] body .live-layout .nav.active{color:#ffb37c;background:#392b25}[data-theme=dark] body .live-layout .data-table th{background:#252a32;color:#c5cbd4;border-color:#353b46}[data-theme=dark] body .live-layout .data-table td,[data-theme=dark] body .live-layout .data-toolbar{border-color:#353b46}[data-theme=dark] body .live-layout .data-table tbody tr:hover{background:#252a32}[data-theme=dark] body .live-layout .data-detail td{background:#1a1e25}[data-theme=dark] body .live-layout .workspace-tabs button.active,[data-theme=dark] body .live-layout .admin-commerce-tabs button.active{color:#fff}
@media(max-width:760px){body .live-layout,body .live-layout.sidebar-collapsed{--sidebar-width:224px}body .live-layout .content{padding:16px 12px 30px}body .live-layout .topbar{padding:8px 12px}body .live-layout .page-head{align-items:flex-start;flex-wrap:wrap}body .live-layout.sidebar-collapsed .nav-group-label{display:block}body .live-layout.sidebar-collapsed .nav{justify-content:flex-start;padding:9px 10px}body .live-layout .stock-adjustment form{display:grid;grid-template-columns:1fr}}
