.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)}}
