:root{--app-bg:#f4f6f8;--surface:#fff;--surface-2:#f8fafc;--text:#17202a;--muted:#6b7280;--line:rgba(15,23,42,.08);--accent:#111827;--accent-soft:#eef2ff;--shadow:0 12px 40px rgba(15,23,42,.08);--radius:24px;--safe-bottom:env(safe-area-inset-bottom,0px)}html[data-bs-theme=dark],html[data-theme=dark]{--app-bg:#0b0e13;--surface:#141922;--surface-2:#0f141c;--text:#f5f7fa;--muted:#929cab;--line:rgba(255,255,255,.08);--accent:#f5f7fa;--accent-soft:#202838;--shadow:0 16px 50px rgba(0,0,0,.35)}body{background:var(--app-bg)!important;color:var(--text)!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em}.main-content,.page-content,.container-fluid{background:transparent!important}.page-content{padding-top:92px!important;padding-bottom:100px}.container-fluid{max-width:1500px;padding-left:24px;padding-right:24px}#page-topbar{position:static!important;top:auto;left:auto;right:auto;height:auto;background:color-mix(in srgb,var(--surface) 88%,transparent)!important;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);backdrop-filter:blur(18px);z-index:1040}.navbar-header{height:100%!important;padding:0 14px!important}.header-item{width:44px;height:44px;border-radius:14px!important;color:var(--text)!important;background:transparent!important;border:0!important}.header-item:hover{background:var(--surface-2)!important}.dashboard-modern{margin:0 0 22px}.dashboard-hero{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:10px 0 18px}.dashboard-title{font-size:clamp(28px,4vw,46px);font-weight:760;letter-spacing:-.045em;margin:2px 0}.dashboard-subtitle,.metric-meta,.chart-foot,.text-muted{color:var(--muted)!important}.dashboard-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--muted)}.dashboard-actions{display:flex;gap:10px}.form-control,.form-select,.input{background:var(--surface-2)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:15px!important;min-height:46px;box-shadow:none!important}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card,.chart-card,.cano-list-shell,.tv-page-card{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow)}.metric-card{padding:20px;display:flex;gap:14px;min-height:132px}.metric-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:var(--accent-soft);font-size:22px}.metric-label{font-size:12px;color:var(--muted);font-weight:700}.metric-value{font-size:clamp(23px,2.5vw,34px);font-weight:800;letter-spacing:-.04em;margin:4px 0}.chart-card{margin-top:14px;padding:20px}.chart-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.annual-bars{height:290px;display:grid;grid-template-columns:repeat(12,minmax(36px,1fr));gap:9px;align-items:end;padding-top:28px}.annual-month{height:100%;display:flex;flex-direction:column;justify-content:end;position:relative;min-width:0}.annual-track{height:205px;border-radius:14px;background:var(--surface-2);display:flex;align-items:end;overflow:hidden}.annual-fill{width:100%;min-height:3px;border-radius:14px;background:linear-gradient(180deg,#64748b,var(--accent));transition:.35s ease}.annual-label{text-align:center;font-size:11px;color:var(--muted);margin-top:8px}.annual-value{text-align:center;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.annual-tooltip{display:none;position:absolute;bottom:calc(100% - 8px);left:50%;transform:translateX(-50%);background:var(--text);color:var(--surface);padding:10px 12px;border-radius:13px;z-index:10;min-width:180px;box-shadow:var(--shadow);font-size:11px}.annual-tooltip strong,.annual-tooltip span,.annual-tooltip small{display:block}.annual-month:hover .annual-tooltip,.annual-month:focus .annual-tooltip{display:block}.cano-list-shell{padding:14px;overflow:hidden}.cano-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 230px auto;gap:10px;align-items:center;margin-bottom:12px}.cano-search{position:relative}.cano-search i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:19px}.cano-search input{width:100%;padding-left:43px}.cano-toolbar select{min-height:46px;background:var(--surface-2);color:var(--text);border:1px solid var(--line);border-radius:15px;padding:0 14px}#customerList-table{border-collapse:separate!important;border-spacing:0 9px!important}#customerList-table tr.restaurant-row{background:var(--surface-2)!important;box-shadow:none!important}#customerList-table tr.restaurant-row td{border:0!important;padding:14px!important;color:var(--text)!important}#customerList-table tr.restaurant-row td:first-child{border-radius:16px 0 0 16px}#customerList-table tr.restaurant-row td:last-child{border-radius:0 16px 16px 0}.offcanvas,.modal-content{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}.offcanvas{border:0!important;box-shadow:-20px 0 60px rgba(0,0,0,.18);width:min(520px,100vw)!important}.offcanvas-header{padding:20px 22px;border-bottom:1px solid var(--line)}.offcanvas-body{padding:20px 22px}.btn{border-radius:14px!important;min-height:42px;font-weight:700}.btn-primary,.btn-dark{background:var(--accent)!important;color:var(--surface)!important;border-color:var(--accent)!important}.app-history-progress{display:none;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;background:var(--surface-2);border:1px solid var(--line);border-radius:15px;font-size:13px}.app-history-progress.active{display:flex}.app-spinner{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--text);border-radius:50%;animation:appspin .8s linear infinite}@keyframes appspin{to{transform:rotate(360deg)}}.app-bottom-nav{display:none}.view-panel{display:none}.view-panel.active{display:block}.footer{display:none!important}.ui-datepicker{background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:10px!important;box-shadow:var(--shadow)!important}.ui-datepicker-header{background:var(--surface-2)!important;border:0!important;color:var(--text)!important}.ui-datepicker td a{background:transparent!important;color:var(--text)!important;border:0!important;border-radius:9px;text-align:center!important}.ui-datepicker td a:hover{background:var(--accent-soft)!important}
@media(max-width:900px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cano-toolbar{grid-template-columns:1fr 190px}.toolbar-extra{display:none}.annual-bars{overflow-x:auto;grid-template-columns:repeat(12,56px);padding-bottom:4px}.cano-nav{display:none!important}.app-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);left:12px;right:12px;bottom:calc(10px + var(--safe-bottom));height:66px;padding:6px;background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 55px rgba(0,0,0,.22);backdrop-filter:blur(20px);z-index:1050}.app-bottom-nav button{border:0;background:transparent;color:var(--muted);border-radius:16px;font-size:11px;font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.app-bottom-nav i{font-size:22px}.app-bottom-nav button.active{background:var(--accent-soft);color:var(--text)}}
@media(max-width:640px){#page-topbar{top:8px;left:8px;right:8px;height:60px;border-radius:19px}.navbar-header{padding:0 8px!important}.navbar-header img{height:38px!important;margin-left:5px!important}.navbar-header .dropdown.ms-1:first-of-type,.navbar-header #toplamGetirBtn{display:none}.page-content{padding-top:78px!important;padding-bottom:96px}.container-fluid{padding-left:10px;padding-right:10px}.dashboard-hero{align-items:start;flex-direction:column}.dashboard-actions{width:100%}.dashboard-actions .form-select{flex:1}.dashboard-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{padding:14px;min-height:118px;display:block}.metric-icon{width:36px;height:36px;border-radius:12px;margin-bottom:8px}.metric-value{font-size:22px}.chart-card{padding:14px;border-radius:20px!important}.chart-head{display:block}.chart-legend{font-size:11px;color:var(--muted)}.cano-list-shell{padding:10px;border-radius:20px!important}.cano-toolbar{grid-template-columns:1fr;position:sticky;top:75px;background:var(--surface);z-index:20;padding-bottom:9px}.offcanvas{top:auto!important;bottom:0!important;width:100%!important;height:min(88dvh,760px)!important;border-radius:26px 26px 0 0!important;transform:translateY(100%)!important}.offcanvas.show{transform:none!important}.offcanvas-start,.offcanvas-end{left:0!important;right:0!important}.offcanvas-header:before{content:"";position:absolute;top:8px;left:50%;width:42px;height:4px;border-radius:4px;background:var(--line);transform:translateX(-50%)}.offcanvas-header{padding-top:24px}.table-responsive{overflow:visible!important}#customerList-table,#customerList-table tbody{display:block!important}#customerList-table thead{display:none!important}#customerList-table tr.restaurant-row{display:grid!important;grid-template-columns:1fr auto;margin-bottom:9px;border-radius:18px!important;padding:4px}#customerList-table tr.restaurant-row td{display:block!important;padding:10px!important;border-radius:0!important}.tv-page-grid{grid-template-columns:1fr!important}}

/* CANO V8 UI QA */
html,body{min-height:100%;} body{margin:0;overflow-x:hidden;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}button,input,select,textarea{font:inherit}a{color:inherit}.card,.dropdown-menu,.list-group-item,.table,.table>:not(caption)>*>*,.input-group-text{background-color:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}.dropdown-menu{border-radius:18px!important;box-shadow:var(--shadow)!important;padding:8px!important}.dropdown-item{border-radius:11px;color:var(--text)!important}.dropdown-item:hover{background:var(--surface-2)!important}.btn-light,.btn-secondary{background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important}.btn-danger{border-color:transparent!important}.alert{border-radius:16px!important}.modal{--bs-modal-bg:var(--surface);--bs-modal-color:var(--text)}.modal-content{border-radius:24px!important}.modal-header,.modal-footer{border-color:var(--line)!important}.btn-close{filter:none}html[data-theme=dark] .btn-close,html[data-bs-theme=dark] .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}
#screen{min-height:120px}.table-responsive{border-radius:18px}.restaurant-row{transition:transform .18s ease,box-shadow .18s ease}.restaurant-row:hover{transform:translateY(-1px)}.restaurant-name{font-weight:800;letter-spacing:-.015em}.stat-pill{border-radius:999px!important}.top-rank-badge{white-space:nowrap}.history-note{margin-top:12px;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--muted);font-size:12px}.annual-month.is-empty .annual-fill{background:var(--line)}.annual-month.is-empty .annual-value{color:var(--muted)}
.zeitraum-card{padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);margin-top:12px}.zeitraum-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.zeitraum-sep{color:var(--muted)}.app-pdf-action{width:100%;display:flex!important;align-items:center;justify-content:center;padding:11px 14px!important;margin-bottom:6px;border-radius:14px!important;background:var(--accent)!important;color:var(--surface)!important;font-weight:800;text-decoration:none}.edeel-mini-cart-total a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:14px;padding:11px 14px;text-decoration:none}
.auth-v6{min-height:100dvh;display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(360px,.85fr);background:var(--app-bg)}.auth-v6-art{padding:clamp(32px,6vw,84px);display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#101827,#202b45);color:#fff}.auth-v6-art h1{font-size:clamp(38px,5vw,70px);line-height:.98;letter-spacing:-.055em;max-width:760px}.auth-v6-wrap{display:grid;place-items:center;padding:28px}.auth-v6-card{width:min(440px,100%);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:30px;padding:clamp(24px,4vw,42px)}.auth-v6-logo{width:52px;height:52px;object-fit:contain;margin-bottom:24px}.auth-v6-card .input-group>.form-control{border-radius:15px 0 0 15px!important}.auth-v6-card .input-group>.btn{border-radius:0 15px 15px 0!important}
@media(max-width:760px){.auth-v6{grid-template-columns:1fr}.auth-v6-art{display:none}.auth-v6-wrap{padding:16px;align-items:center}.auth-v6-card{border-radius:26px}.zeitraum-grid{grid-template-columns:1fr}.zeitraum-sep{display:none}.dashboard-actions{position:relative}.dashboard-actions select,.dashboard-actions button{min-height:48px}.cano-toolbar{box-shadow:0 8px 20px color-mix(in srgb,var(--app-bg) 70%,transparent);border-radius:16px}.offcanvas-body{overflow-y:auto;-webkit-overflow-scrolling:touch}.btn{min-height:46px}.btn-sm{min-height:38px}input,select,textarea{font-size:16px!important}}

/* CANO V9 — full app component pass */
:root{--brand:#5b5cf0;--brand-2:#7c5cff;--brand-soft:rgba(91,92,240,.10);--success:#1e9b68;--danger:#d84b5b;--warning:#d99b31;--app-max:1440px;--topbar-h:72px}
html[data-theme=dark],html[data-bs-theme=dark]{--brand:#8b8cff;--brand-soft:rgba(139,140,255,.14)}
.app-body{min-height:100dvh;background:radial-gradient(circle at 15% -10%,rgba(91,92,240,.09),transparent 34%),var(--app-bg)!important}
#layout-wrapper{min-height:100dvh}.main-content{margin:0!important}.page-content{padding:18px 0 40px!important}.container-fluid{width:min(var(--app-max),calc(100% - 40px));max-width:none!important;margin:auto;padding:0!important}
.app-topbar{position:static;z-index:1080;inset:auto!important;height:var(--topbar-h)!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
.app-topbar-inner{height:100%;max-width:var(--app-max);margin:auto;padding:8px 10px 8px 12px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;background:color-mix(in srgb,var(--surface) 91%,transparent);border:1px solid var(--line);border-radius:24px;box-shadow:0 16px 50px rgba(15,23,42,.10);backdrop-filter:blur(24px)}
.app-brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:0}.app-brand-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--surface-2);border:1px solid var(--line)}.app-brand-mark img{width:34px;height:34px;object-fit:contain}.app-brand-copy{display:flex;flex-direction:column;line-height:1.15}.app-brand-copy strong{font-size:14px;color:var(--text)}.app-brand-copy small{font-size:10px;color:var(--muted);margin-top:4px}
.app-desktop-tabs{display:flex;align-items:center;padding:4px;background:var(--surface-2);border:1px solid var(--line);border-radius:16px;gap:3px}.app-desktop-tabs button{height:40px;padding:0 15px;display:flex;align-items:center;gap:7px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-weight:750;font-size:13px}.app-desktop-tabs button i{font-size:18px}.app-desktop-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 4px 15px rgba(15,23,42,.07)}
.app-topbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px}.app-icon-btn,.app-counter{width:44px;height:44px;border-radius:14px;border:1px solid transparent;background:transparent;color:var(--text);display:grid;place-items:center;position:relative}.app-icon-btn{font-size:21px}.app-icon-btn:hover{background:var(--surface-2);border-color:var(--line)}.app-icon-primary{background:var(--brand)!important;color:white!important}.app-counter{width:auto;min-width:54px;padding:0 10px;display:flex;gap:6px;background:var(--surface-2);border-color:var(--line);font-size:13px}.app-counter i{font-size:17px}
.dashboard-modern{margin:0}.dashboard-hero{padding:8px 4px 4px;align-items:center}.dashboard-title{font-size:clamp(30px,4vw,48px);line-height:1.02}.dashboard-actions{padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.dashboard-actions .form-select{min-width:112px;border:0!important;background:transparent!important}.dashboard-action{min-height:42px!important;padding:0 16px!important}
.dashboard-grid{margin-top:16px}.metric-card{position:relative;overflow:hidden;align-items:flex-start;box-shadow:0 10px 32px rgba(15,23,42,.055)!important}.metric-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-48px;top:-52px;background:var(--brand-soft)}.metric-feature{background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 8%,var(--surface)),var(--surface))!important}.metric-icon{background:var(--brand-soft)!important;color:var(--brand)}.metric-label{letter-spacing:.01em}.metric-value{font-variant-numeric:tabular-nums}.chart-card{box-shadow:0 10px 32px rgba(15,23,42,.055)!important}.annual-track{border:1px solid var(--line)}.annual-fill{background:linear-gradient(180deg,var(--brand-2),var(--brand))}.annual-month.is-empty .annual-fill{background:var(--line)}
.cano-list-shell{margin-top:18px;padding:18px!important;box-shadow:0 10px 32px rgba(15,23,42,.055)!important}.cano-toolbar{padding:6px;background:var(--surface-2);border:1px solid var(--line);border-radius:18px}.cano-search input,.cano-toolbar select{background:transparent!important;border:0!important}.cano-search input:focus,.cano-toolbar select:focus{box-shadow:none!important}.toolbar-extra{padding-right:10px}
#customerList-table{margin:0!important;border-spacing:0 8px!important}#customerList-table tr.restaurant-row{transition:transform .16s ease,box-shadow .16s ease;background:var(--surface)!important;box-shadow:inset 0 0 0 1px var(--line)!important}#customerList-table tr.restaurant-row:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 28%,var(--line)),0 7px 20px rgba(15,23,42,.055)!important}#customerList-table tr.restaurant-row td{background:transparent!important}.restaurant-name{font-weight:780}.restaurant-place{color:var(--muted)}.restaurant-rank{display:inline-flex;align-items:center;height:23px;padding:0 8px;margin-right:7px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.04em}.stat-pill{display:inline-flex!important;margin-left:8px;padding:4px 8px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-size:11px;color:var(--muted)}
/* Sheets: Bootstrap is behavior only; app owns presentation */
.app-sheet{--bs-offcanvas-width:min(560px,94vw);background:var(--surface)!important;border:0!important;box-shadow:0 0 80px rgba(15,23,42,.22)!important}.app-sheet .offcanvas-header{position:relative;padding:25px 26px 18px!important;border-bottom:1px solid var(--line);background:var(--surface)!important}.app-sheet .offcanvas-title{font-size:20px;font-weight:820;letter-spacing:-.025em}.app-sheet .offcanvas-body{padding:22px 26px 34px!important;background:var(--surface)!important}.app-sheet .btn-close{opacity:.7;border-radius:12px;padding:10px;background-color:var(--surface-2)!important}.app-sheet .form-floating{margin-bottom:12px!important}.app-sheet .form-control,.app-sheet .form-select{min-height:52px!important;background:var(--surface-2)!important}.app-sheet textarea.form-control{min-height:120px!important}.app-sheet hr{border-color:var(--line);opacity:1}.app-sheet .alert{border:1px solid var(--line);border-radius:16px}.app-sheet .card{border-radius:18px!important;box-shadow:none!important}.app-result-stack{margin-top:4px;line-height:1.55}.app-result-stack hr{margin:11px 0}.app-result-stack b{font-size:18px}
.offcanvas-backdrop.show{opacity:.28!important;backdrop-filter:blur(2px)}
.tv-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.tv-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tv-page-card{padding:17px;box-shadow:none!important}.tv-page-card h6{font-weight:800;margin-bottom:5px}.tv-page-meta{font-size:12px;color:var(--muted);word-break:break-word}.tv-page-actions{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.btn{border-radius:13px!important}.btn-primary{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}.btn-light,.btn-secondary{background:var(--surface-2)!important;border-color:var(--line)!important;color:var(--text)!important}.btn-danger{background:color-mix(in srgb,var(--danger) 12%,var(--surface))!important;color:var(--danger)!important;border-color:transparent!important}.badge{border-radius:999px;padding:.45em .7em}.bg-success{background:color-mix(in srgb,var(--success) 14%,var(--surface))!important;color:var(--success)!important}.bg-secondary{background:var(--surface-2)!important;color:var(--muted)!important}
.dropdown-menu{padding:7px!important}.dropdown-item{border-radius:11px;padding:9px 11px;color:var(--text)!important}.dropdown-item:hover{background:var(--surface-2)!important}.modal-content{border-radius:24px!important;box-shadow:0 30px 90px rgba(0,0,0,.22)!important}.modal-header,.modal-footer{border-color:var(--line)!important}
.auth-v6{background:var(--app-bg)!important}.auth-v6-card{box-shadow:0 24px 80px rgba(15,23,42,.12)!important;border:1px solid var(--line)!important}
@media(max-width:1050px){.app-brand-copy{display:none}.app-topbar-inner{grid-template-columns:auto 1fr auto}.app-desktop-tabs{justify-self:center}.tv-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--topbar-h:60px}.app-topbar{inset:8px 8px auto!important}.app-topbar-inner{border-radius:20px;padding:6px 7px;grid-template-columns:1fr auto}.app-desktop-tabs{display:none}.app-brand-mark{width:44px;height:44px}.app-topbar-actions{gap:2px}.app-counter,.app-topbar-actions .app-icon-btn:nth-of-type(1),.app-topbar-actions .app-icon-btn:nth-of-type(2){display:none}.app-icon-btn{width:42px;height:42px}.page-content{padding-top:82px!important}.container-fluid{width:calc(100% - 18px)!important}.dashboard-hero{gap:13px}.dashboard-actions{width:100%;display:grid;grid-template-columns:1fr auto}.dashboard-grid{grid-template-columns:1fr 1fr}.metric-card{min-height:124px}.cano-list-shell{padding:10px!important;margin-top:12px}.cano-toolbar{position:sticky;top:78px;z-index:20;display:grid!important;grid-template-columns:1fr!important;padding:6px}.toolbar-extra{display:none}.tv-page-grid{grid-template-columns:1fr}.app-sheet{--bs-offcanvas-width:100%;top:auto!important;bottom:0!important;height:min(92dvh,820px)!important;width:100%!important;border-radius:28px 28px 0 0!important}.app-sheet.offcanvas-start,.app-sheet.offcanvas-end{left:0!important;right:0!important;transform:translateY(100%)!important}.app-sheet.show{transform:none!important}.app-sheet .offcanvas-header{padding:28px 18px 16px!important}.app-sheet .offcanvas-header:before{content:"";position:absolute;top:9px;left:50%;width:44px;height:5px;border-radius:10px;background:var(--line);transform:translateX(-50%)}.app-sheet .offcanvas-body{padding:16px 18px calc(28px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto}.app-bottom-nav{z-index:1090!important}.annual-bars{height:260px}.annual-track{height:180px}}
@media(max-width:430px){.dashboard-grid{grid-template-columns:1fr}.metric-card{display:grid!important;grid-template-columns:42px 1fr;min-height:0!important;align-items:center}.metric-icon{margin:0!important}.metric-value{font-size:25px}.dashboard-title{font-size:32px}.chart-card{padding:12px!important}.app-brand-mark{border:0;background:transparent}.app-topbar-actions .app-icon-btn.app-icon-primary{display:grid}.app-topbar-actions .app-icon-btn[title="Darstellung"]{display:grid}.app-topbar-actions .app-icon-btn[title="Abmelden"]{display:grid}}
/* CANO V10 diagnostic drawer */
.debug-panel{position:fixed;left:12px;right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px));max-height:min(72dvh,720px);z-index:2200;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.28);padding:16px;display:none;overflow:hidden;color:var(--text)}.debug-panel.open{display:flex;flex-direction:column}.debug-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.debug-head h3{margin:2px 0 3px;font-size:20px}.debug-head p{margin:0;color:var(--muted);font-size:12px}.debug-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:800}.debug-close{width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);color:var(--text);font-size:21px}.debug-status-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:14px 0}.debug-status-grid div{padding:9px 10px;background:var(--surface-2);border:1px solid var(--line);border-radius:13px}.debug-status-grid span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.debug-status-grid b{font-size:12px}.debug-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.debug-actions button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:11px;padding:8px 11px;font-size:11px;font-weight:750}.debug-log{overflow:auto;min-height:140px;background:#0b1020;color:#dbeafe;border-radius:15px;padding:10px;font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.debug-entry{padding:7px 5px;border-bottom:1px solid rgba(255,255,255,.08);white-space:pre-wrap;word-break:break-word}.debug-entry:last-child{border:0}.debug-entry.error{color:#fecaca}.debug-entry.warn{color:#fde68a}.debug-entry.ok{color:#bbf7d0}#debugNavBtn{position:relative}#debugErrorCount{position:absolute;top:4px;right:7px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#dc2626;color:white;font:700 9px/16px sans-serif;font-style:normal;display:none}@media(min-width:761px){.debug-panel{left:auto;right:20px;bottom:20px;width:min(680px,calc(100vw - 40px))}#debugNavBtn{display:none!important}}@media(max-width:760px){.app-bottom-nav{grid-template-columns:repeat(4,1fr)!important}.debug-status-grid{grid-template-columns:repeat(3,1fr)}}
/* V13 always-available diagnostics */
.debug-float-btn{position:fixed;right:18px;bottom:18px;z-index:2300;display:flex;align-items:center;gap:8px;height:48px;padding:0 15px;border:1px solid var(--line);border-radius:16px;background:var(--text);color:var(--surface);box-shadow:0 18px 55px rgba(0,0,0,.25);font-weight:800;font-size:12px}.debug-float-btn i{font-size:20px}.debug-float-btn em{font-style:normal}.debug-panel{z-index:2400!important}@media(max-width:760px){.debug-float-btn{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));height:42px;padding:0 11px}.debug-float-btn span{display:none}}
.app-loading-state,.app-error-state{min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;flex-direction:column;color:var(--muted);text-align:center;padding:24px}.app-error-state b{color:var(--text)}
/* CANO V19 dashboard + form system */
.dashboard-grid-clean{grid-template-columns:repeat(4,minmax(0,1fr))}.year-switcher{align-items:center}.year-switcher .form-select{width:112px;text-align:center;font-weight:800}.year-nav{width:46px;padding:0}.chart-actions{display:flex;gap:8px}.annual-month{appearance:none;border:0;background:transparent;color:inherit;padding:0;height:100%;display:flex;flex-direction:column;justify-content:end;position:relative;min-width:0;cursor:pointer;text-align:inherit}.annual-month:hover .annual-track,.annual-month:focus-visible .annual-track{outline:2px solid color-mix(in srgb,var(--text) 18%,transparent);outline-offset:3px}.annual-month.is-empty .annual-track{border:1px dashed var(--line);background:transparent}.annual-month.is-empty .annual-fill{height:0!important}.annual-state{text-align:center;font-size:9px;color:var(--muted);margin-top:5px;white-space:nowrap}.month-detail-card{overflow:hidden}.month-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.month-detail-grid>div{padding:15px;background:var(--surface-2);border:1px solid var(--line);border-radius:16px}.month-detail-grid span{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-bottom:4px}.month-detail-grid strong{font-size:19px}.month-source{display:flex;gap:12px;align-items:center;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:16px}.month-source>i{font-size:24px}.month-source b,.month-source small{display:block}.month-source small{color:var(--muted)}.month-empty{text-align:center;padding:22px}.month-empty>i{font-size:42px}.month-empty p{color:var(--muted)}
/* unified modern controls */
input:not([type=checkbox]):not([type=radio]),select,textarea,.form-control,.form-select{min-height:46px;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface-2)!important;color:var(--text)!important;padding:10px 13px;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}input:focus,select:focus,textarea:focus,.form-control:focus,.form-select:focus{border-color:color-mix(in srgb,var(--text) 25%,var(--line))!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--text) 6%,transparent)!important}input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:var(--text);vertical-align:middle}.btn,.button,button{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn:active{transform:translateY(1px)}label{font-weight:650;color:var(--text)}
/* restaurant control center */
.cano-list-shell{padding:18px}.cano-toolbar{padding:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:19px;margin-bottom:16px}.cano-search input{background:var(--surface)!important}.restaurant-row{transition:transform .15s ease,box-shadow .15s ease}.restaurant-row:hover{transform:translateY(-1px)}.restaurant-rank{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:23px;padding:0 8px;margin-right:7px;border-radius:999px;background:var(--text);color:var(--surface);font-size:10px;font-weight:850;letter-spacing:.02em}.restaurant-top td{background:color-mix(in srgb,var(--surface-2) 80%,#f5c451 20%)!important}.stat-pill{display:inline-flex!important;align-items:center;gap:7px;margin-left:10px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:11px;color:var(--muted)}#customerList-table .btn-sm{width:38px;height:38px;min-height:38px;padding:0;display:inline-grid;place-items:center;border-radius:12px!important}
.offcanvas-body>.card,.offcanvas-body .card,.modal-body>.card{border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none!important;margin-bottom:12px}.offcanvas-body .card-body{padding:16px}.offcanvas-body hr{border-color:var(--line);opacity:1}.offcanvas-body .row{row-gap:10px}
@media(max-width:900px){.dashboard-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-hero{align-items:stretch;flex-direction:column}.year-switcher{display:grid;grid-template-columns:46px 1fr 46px}.year-switcher .form-select{width:100%}.year-switcher #dashRefresh{grid-column:1/-1}.chart-head{flex-direction:column}.chart-actions{width:100%}.chart-actions .btn{width:100%}.month-detail-grid{grid-template-columns:1fr}}
@media(max-width:560px){.dashboard-grid-clean{grid-template-columns:1fr}.cano-toolbar{grid-template-columns:1fr!important}.metric-card{min-height:110px}.annual-bars{height:265px}}
/* V20 contrast, filters and sheet performance */
.btn i,.app-icon-btn i,.year-nav i,.chart-actions i,.cano-toolbar i{color:currentColor!important;opacity:1!important}.btn-light i,.btn-secondary i{color:var(--text)!important}.app-icon-btn{color:var(--text)!important}.cano-toolbar{padding:10px!important;background:var(--surface)!important;border:1px solid var(--line);border-radius:20px!important;box-shadow:0 8px 24px rgba(15,23,42,.05)}.cano-search input,.cano-toolbar select{height:48px!important;border-radius:14px!important;background:var(--surface-2)!important}.cano-toolbar select{appearance:auto!important}.app-sheet{box-shadow:-12px 0 34px rgba(15,23,42,.14)!important;will-change:transform}.offcanvas-backdrop.show{backdrop-filter:none!important;opacity:.22!important}.app-sheet .offcanvas-header,.app-sheet .offcanvas-body{backdrop-filter:none!important}.app-sheet .offcanvas-body>.row,.app-sheet .offcanvas-body>form,.app-sheet .offcanvas-body>.app-result-stack{background:var(--surface-2);border:1px solid var(--line);border-radius:20px;padding:16px;margin-bottom:14px}.app-sheet .card{background:var(--surface)!important;border-radius:18px!important}.app-sheet .form-control,.app-sheet .form-select{background:var(--surface)!important}.restaurant-rank{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;background:var(--accent-soft);color:var(--text);font-size:10px;font-weight:850;letter-spacing:.03em}.month-detail-grid>div{background:var(--surface-2);border:1px solid var(--line);border-radius:17px;padding:15px}.month-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.month-detail-grid span{display:block;color:var(--muted);font-size:11px}.month-detail-grid strong{display:block;margin-top:4px;font-size:19px}.month-source{display:flex;gap:11px;align-items:center;margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
@media(max-width:760px){.cano-toolbar{box-shadow:none!important}.app-sheet{box-shadow:0 -10px 30px rgba(15,23,42,.12)!important}.month-detail-grid{grid-template-columns:1fr 1fr}}

/* CANO V22 monthly #statushep snapshot */
.statushep-snapshot{display:grid;gap:12px}.snapshot-title,.snapshot-row,.snapshot-block,.snapshot-total{border:1px solid var(--app-border,rgba(120,130,150,.18));background:var(--app-surface,#fff);border-radius:16px;padding:14px 16px}.snapshot-title{display:flex;gap:12px;align-items:center}.snapshot-title>i{font-size:26px}.snapshot-title small,.snapshot-block small{display:block;opacity:.68}.snapshot-title strong{display:block;font-size:17px}.snapshot-row,.snapshot-total{display:flex;align-items:center;justify-content:space-between;gap:18px}.snapshot-block{display:grid;gap:7px}.snapshot-block .snapshot-row{border:0;padding:0;background:transparent}.snapshot-total{font-size:18px}.snapshot-total strong{font-size:22px}.annual-month{min-width:0}
\n\n/* CANO V25 — mobile restaurant list / toolbar layout fix */\n@media(max-width:640px){\n  #restaurantsView .cano-list-shell{overflow:visible!important;padding:10px!important}\n  #restaurantsView .cano-toolbar{position:relative!important;top:auto!important;z-index:2!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:0 0 12px!important;padding:9px!important;border-radius:17px!important}\n  #restaurantsView .cano-search,#restaurantsView .cano-search input,#restaurantsView .cano-toolbar select{width:100%!important;min-width:0!important}\n  #restaurantsView .toolbar-extra{display:none!important}\n  #restaurantsView .table-responsive{overflow:visible!important;width:100%!important}\n  #customerList-table,#customerList-table tbody{display:block!important;width:100%!important}\n  #customerList-table tr.restaurant-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;grid-template-areas:"info pos delete"!important;align-items:center!important;gap:7px!important;width:100%!important;margin:0 0 9px!important;padding:9px!important;border-radius:18px!important;box-sizing:border-box!important}\n  #customerList-table tr.restaurant-row>td{min-width:0!important;padding:0!important;background:transparent!important}\n  #customerList-table tr.restaurant-row>td:first-child{grid-area:info!important}\n  #customerList-table tr.restaurant-row>td:nth-child(2){grid-area:pos!important;text-align:center!important}\n  #customerList-table tr.restaurant-row>td:nth-child(3){grid-area:delete!important;text-align:center!important}\n  #customerList-table tr.restaurant-row>td:first-child>a.open-modal{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 5px!important;min-width:0!important;width:100%!important;color:var(--text)!important;text-decoration:none!important;line-height:1.25!important}\n  #customerList-table .restaurant-name{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}\n  #customerList-table .restaurant-place{flex-basis:100%!important;margin-left:21px!important;font-size:11px!important;white-space:normal!important;overflow-wrap:anywhere!important}\n  #customerList-table .stat-pill{flex-basis:auto!important;max-width:100%!important;margin:3px 0 0 21px!important;white-space:nowrap!important}\n  #customerList-table .restaurant-rank{margin-right:2px!important}\n  #customerList-table .btn-sm{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:0!important;padding:0!important}\n}\n@media(max-width:390px){\n  #customerList-table tr.restaurant-row{grid-template-columns:minmax(0,1fr) 40px 40px!important;gap:5px!important;padding:8px!important}\n  #customerList-table .btn-sm{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}\n  #customerList-table .stat-pill{font-size:10px!important}\n}\n

/* CANO V26 — restaurant mobile card layout + history customer label */
@media (max-width: 700px){
  #restaurantsView,
  #restaurantsView .cano-list-shell,
  #restaurantsView .table-responsive,
  #restaurantsView #screen{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:visible !important;
  }

  #restaurantsView .cano-list-shell{
    padding:0 !important;
  }

  #restaurantsView .cano-toolbar{
    position:static !important;
    top:auto !important;
    z-index:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
    width:100% !important;
    margin:0 0 14px !important;
    padding:12px !important;
    border-radius:16px !important;
  }

  #restaurantsView .cano-search,
  #restaurantsView .cano-search input,
  #restaurantsView #restaurantSort{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
  }

  #restaurantsView .cano-search{
    display:flex !important;
    align-items:center !important;
  }

  #restaurantsView .cano-search input,
  #restaurantsView #restaurantSort{
    min-height:46px !important;
    font-size:16px !important;
  }

  #restaurantsView .toolbar-extra{
    display:none !important;
  }

  #restaurantsView #customerList-table{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
  }

  #restaurantsView #customerList-table thead{
    display:none !important;
  }

  #restaurantsView #customerList-table tbody{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    width:100% !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:14px !important;
    gap:12px 8px !important;
    border:1px solid var(--app-border, rgba(127,127,127,.2)) !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row > td{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:0 !important;
    border:0 !important;
    text-align:left !important;
    box-sizing:border-box !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row > td:first-child{
    grid-column:1 / -1 !important;
    width:100% !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(2){
    grid-column:1 !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(3){
    grid-column:2 !important;
  }

  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(2) > *,
  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(3) > *{
    width:100% !important;
    max-width:100% !important;
    min-height:44px !important;
    margin:0 !important;
    justify-content:center !important;
  }

  #restaurantsView .restaurant-main,
  #restaurantsView .restaurant-info,
  #restaurantsView .restaurant-name,
  #restaurantsView .restaurant-place,
  #restaurantsView .restaurant-meta{
    min-width:0 !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  #restaurantsView .stat-pill,
  #restaurantsView .restaurant-top-badge{
    max-width:100% !important;
    white-space:normal !important;
  }
}

@media (max-width: 380px){
  #restaurantsView #customerList-table tr.restaurant-row{
    grid-template-columns:minmax(0,1fr) !important;
  }
  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(2),
  #restaurantsView #customerList-table tr.restaurant-row > td:nth-child(3){
    grid-column:1 !important;
  }
}

.annual-label{
  white-space:normal;
  line-height:1.2;
}


/* CANO V29 — theme-safe controls, mobile header actions, text brand */
.app-brand-mark.app-brand-text{
  display:grid!important;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface-2);
  color:var(--text);
  font-size:14px;
  font-weight:900;
  letter-spacing:-.04em;
}
.year-nav{
  width:46px;
  min-width:46px;
  height:46px;
  padding:0!important;
  display:inline-grid!important;
  place-items:center;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
.year-nav:hover,.year-nav:focus-visible{
  background:var(--accent-soft)!important;
  color:var(--text)!important;
  border-color:color-mix(in srgb,var(--accent) 35%,var(--line))!important;
}
#dashYear{
  height:46px;
  border-color:var(--line)!important;
  background-color:var(--surface-2)!important;
  color:var(--text)!important;
}
.app-topbar-actions .app-icon-btn{
  display:grid!important;
  place-items:center;
  background:var(--surface-2)!important;
  border:1px solid var(--line)!important;
  color:var(--text)!important;
}
.app-topbar-actions .app-icon-btn i{color:currentColor!important;opacity:1!important}
.app-topbar-actions .app-icon-btn:hover,
.app-topbar-actions .app-icon-btn:focus-visible{
  background:var(--accent-soft)!important;
  color:var(--text)!important;
}
.debug-panel{
  background:var(--surface)!important;
  color:var(--text)!important;
}
@media(max-width:640px){
  .navbar-header #toplamGetirBtn,
  .app-topbar-actions #toplamGetirBtn,
  .app-topbar-actions [data-bs-target="#mitsenden"]{
    display:grid!important;
  }
  .app-topbar-inner{gap:6px!important;min-width:0}
  .app-brand{min-width:0!important;flex:0 1 auto}
  .app-brand-copy small{display:none!important}
  .app-brand-copy strong{font-size:12px!important;white-space:nowrap}
  .app-brand-mark.app-brand-text{width:34px;height:34px;flex-basis:34px;border-radius:11px;font-size:11px}
  .app-topbar-actions{
    display:flex!important;
    gap:4px!important;
    margin-left:auto!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .app-topbar-actions .app-icon-btn{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    padding:0!important;
    flex:0 0 36px!important;
  }
  .app-topbar-actions .app-counter{display:none!important}
}
@media(max-width:430px){
  .app-brand-copy{display:none!important}
  .app-topbar-actions{gap:3px!important}
  .app-topbar-actions .app-icon-btn{width:34px!important;min-width:34px!important;height:34px!important;flex-basis:34px!important}
}
/* CANO V30 — reachable details + debug removed from mobile navigation */
.metric-inline-action{border:0;background:transparent;color:inherit;padding:0;font:inherit;cursor:pointer;text-decoration:none}.metric-inline-action:hover,.metric-inline-action:focus-visible{color:var(--text);text-decoration:underline;text-underline-offset:3px}.unreachable-list{display:grid;gap:10px}.unreachable-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.unreachable-item strong{color:var(--text)}.unreachable-item small{color:var(--muted);word-break:break-all}.unreachable-reason{grid-column:1/-1;font-size:12px;color:var(--muted)}.unreachable-status{font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px;background:var(--surface);border:1px solid var(--line);align-self:start}.app-bottom-nav{grid-template-columns:repeat(3,1fr)!important}#debugNavBtn,.debug-float-btn{display:none!important}

/* CANO V31 — calmer icons + rebuilt mobile restaurant cards */
.bx{font-weight:400!important;text-shadow:none!important}
.app-topbar-actions .app-icon-btn i,.year-nav i,.metric-icon i,.app-bottom-nav i{font-size:20px!important;transform:scale(.92)}
.metric-icon i{font-size:19px!important}
.restaurant-action{display:inline-flex!important;align-items:center;justify-content:center;gap:7px}
.restaurant-delete{background:color-mix(in srgb,#dc3545 10%,var(--surface))!important;color:#dc3545!important;border:1px solid color-mix(in srgb,#dc3545 28%,var(--line))!important}
.secure-delete-name{padding:12px 14px;margin-bottom:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);font-weight:800}.secure-confirm-check{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:14px}.secure-confirm-check input{margin-top:3px}.secure-delete-card{border-radius:22px!important}
@media(max-width:700px){
 #restaurantsView{padding-top:0!important}
 #restaurantsView .cano-list-shell{padding:10px!important;overflow:visible!important}
 #restaurantsView .cano-toolbar{position:relative!important;top:auto!important;z-index:2!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0 0 14px!important;padding:0 0 12px!important;background:var(--surface)!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}
 #restaurantsView .cano-search,#restaurantsView .cano-search input,#restaurantsView #restaurantSort{width:100%!important;max-width:none!important;margin:0!important}
 #restaurantsView .table-responsive{overflow:visible!important;margin:0!important;padding:0!important}
 #restaurantsView #screen{min-height:0!important;margin:0!important;padding:0!important}
 #restaurantsView #customerList-table,#restaurantsView #customerList-table tbody{display:block!important;width:100%!important;margin:0!important;padding:0!important}
 #restaurantsView #customerList-table tr.restaurant-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0 0 12px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--surface-2)!important;box-shadow:0 8px 24px rgba(15,23,42,.05)!important;overflow:hidden!important}
 #restaurantsView #customerList-table tr.restaurant-row>td{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;text-align:left!important;border-radius:0!important}
 #restaurantsView #customerList-table tr.restaurant-row>td:first-child{grid-column:1/-1!important;padding-bottom:12px!important;border-bottom:1px solid var(--line)!important}
 #restaurantsView #customerList-table tr.restaurant-row>td:nth-child(2){grid-column:1!important}
 #restaurantsView #customerList-table tr.restaurant-row>td:nth-child(3){grid-column:2!important}
 #restaurantsView #customerList-table tr.restaurant-row>td:nth-child(2)>*,#restaurantsView #customerList-table tr.restaurant-row>td:nth-child(3)>*{width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;border-radius:13px!important}
 #restaurantsView .open-modal{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;width:100%!important;min-width:0!important;white-space:normal!important;text-decoration:none!important;color:var(--text)!important}
 #restaurantsView .restaurant-name{font-size:15px!important;font-weight:750!important;min-width:0!important;overflow-wrap:anywhere!important}
 #restaurantsView .restaurant-place{flex-basis:100%!important;margin-left:0!important;padding-left:20px!important;font-size:12px!important;color:var(--muted)!important;white-space:normal!important}
 #restaurantsView .stat-pill{flex-basis:100%!important;margin:7px 0 0!important;padding:8px 10px!important;border-radius:11px!important;background:var(--surface)!important;font-size:11px!important;white-space:normal!important}
 #restaurantsView .restaurant-rank{font-size:9px!important;padding:3px 6px!important}
}
@media(max-width:380px){#restaurantsView #customerList-table tr.restaurant-row{grid-template-columns:1fr!important}#restaurantsView #customerList-table tr.restaurant-row>td:nth-child(2),#restaurantsView #customerList-table tr.restaurant-row>td:nth-child(3){grid-column:1!important}}
/* CANO V32 — compact restaurant analysis */
.year-chevron{display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor}.year-chevron-left{transform:rotate(-135deg);margin-left:3px}.year-chevron-right{transform:rotate(45deg);margin-right:3px}
.restaurant-analysis-toolbar{display:grid!important;grid-template-columns:minmax(220px,1.2fr) minmax(170px,.7fr) minmax(360px,1.4fr) auto!important;align-items:end!important;gap:10px!important;position:static!important;top:auto!important}.analysis-dates{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end}.analysis-dates label{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.analysis-dates .form-control{margin-top:4px;height:42px!important}.analysis-dates .btn{height:42px}.analysis-export{display:flex;gap:6px}.analysis-export .btn{height:42px;white-space:nowrap}.restaurant-data-table{table-layout:fixed}.restaurant-data-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border-bottom:1px solid var(--line)!important}.restaurant-data-table th:nth-child(1){width:72px}.restaurant-data-table th:nth-child(2){width:29%}.restaurant-data-table th:nth-child(3){width:18%}.restaurant-data-table th:nth-child(4){width:82px}.restaurant-data-table th:nth-child(5){width:110px}.restaurant-data-table th:nth-child(6){width:130px}.restaurant-data-table th:nth-child(7){width:94px}.restaurant-data-table td{vertical-align:middle!important}.restaurant-actions{white-space:nowrap}.restaurant-actions .restaurant-action{width:34px!important;height:34px!important;padding:0!important;display:inline-grid!important;place-items:center;margin-left:4px}.mobile-field-label{display:none}
@media(max-width:900px){.restaurant-analysis-toolbar{grid-template-columns:1fr 1fr!important}.analysis-dates{grid-column:1/-1}.analysis-export{justify-content:flex-end}.restaurant-data-table thead{display:none!important}.restaurant-data-table,.restaurant-data-table tbody{display:block!important}.restaurant-data-table tbody{display:grid!important;gap:7px!important}.restaurant-data-table tr.restaurant-row{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto auto!important;grid-template-areas:"nr name orders actions" "nr place revenue actions"!important;align-items:center!important;gap:1px 8px!important;padding:9px 10px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;min-height:58px!important}.restaurant-data-table td{border:0!important;padding:0!important;min-width:0!important}.restaurant-nr{grid-area:nr}.restaurant-main{grid-area:name;overflow:hidden}.restaurant-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:800}.restaurant-place{grid-area:place;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-top-cell{display:none}.restaurant-orders{grid-area:orders;font-size:11px}.restaurant-revenue{grid-area:revenue;font-size:11px}.restaurant-actions{grid-area:actions;display:flex!important;gap:4px!important}.restaurant-actions .restaurant-action{width:30px!important;height:30px!important;margin:0!important;border-radius:9px!important}.mobile-field-label{display:inline!important;color:var(--muted);font-size:9px;margin-right:4px}.restaurant-status{display:none}.restaurant-rank{font-size:8px!important;padding:2px 4px!important}}
@media(max-width:560px){.restaurant-analysis-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;margin:0 0 9px!important;padding:8px!important}.restaurant-analysis-toolbar>*{width:100%!important}.analysis-dates{grid-template-columns:1fr 1fr 38px}.analysis-dates .btn{width:38px;padding:0}.analysis-dates .btn span{display:none}.analysis-export{justify-content:flex-start}.analysis-export .btn{height:36px;padding:0 12px}.restaurant-data-table tr.restaurant-row{grid-template-columns:26px minmax(0,1fr) auto auto!important;padding:7px 8px!important;border-radius:12px!important;min-height:52px!important}.restaurant-actions .restaurant-action{width:28px!important;height:28px!important}.restaurant-nr b{font-size:10px}.restaurant-orders,.restaurant-revenue{font-size:10px}}

/* CANO V34 — compact restaurant mobile layout */
@media(max-width:700px){
 #restaurantsView .cano-list-shell{padding:8px!important;border-radius:16px!important}
 #restaurantsView .restaurant-analysis-toolbar{
   position:static!important;top:auto!important;z-index:auto!important;
   display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:6px!important;padding:7px!important;margin:0 0 8px!important;
   border-radius:14px!important;
 }
 #restaurantsView .cano-search{grid-column:1/-1!important;min-width:0!important}
 #restaurantsView .cano-search input,#restaurantsView #restaurantSort,
 #restaurantsView #restaurantMonth{height:38px!important;min-height:38px!important;font-size:13px!important;border-radius:10px!important}
 #restaurantsView #restaurantSort{grid-column:1/-1!important;width:100%!important}
 #restaurantsView .analysis-dates{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:6px!important;width:100%!important}
 #restaurantsView .analysis-dates label{font-size:10px!important;margin:0!important;min-width:0!important}
 #restaurantsView .analysis-dates label input{margin-top:2px!important}
 #restaurantsView #restaurantAnalyze{width:40px!important;min-width:40px!important;height:38px!important;padding:0!important;align-self:end!important;border-radius:10px!important}
 #restaurantsView #restaurantAnalyze span{display:none!important}
 #restaurantsView .analysis-export{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
 #restaurantsView .analysis-export .btn{height:34px!important;padding:4px 8px!important;font-size:11px!important;border-radius:9px!important}
 #restaurantsView #restaurantAnalysisMeta{grid-column:1/-1!important;display:block!important;margin:0!important;font-size:10px!important;line-height:1.2!important}
 #restaurantsView .table-responsive{overflow:visible!important}
 #customerList-table,#customerList-table tbody{display:block!important;width:100%!important}
 #customerList-table thead{display:none!important}
 #customerList-table tbody{display:grid!important;gap:5px!important}
 #customerList-table tr.restaurant-row{
   display:grid!important;grid-template-columns:34px minmax(0,1fr) auto auto 68px!important;
   grid-template-areas:"nr main top stats actions"!important;
   align-items:center!important;gap:5px!important;
   min-height:48px!important;padding:5px 6px!important;margin:0!important;
   border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface)!important;
   box-shadow:none!important;overflow:hidden!important;
 }
 #customerList-table tr.restaurant-row>td{display:block!important;padding:0!important;border:0!important;min-width:0!important;background:transparent!important}
 #customerList-table .restaurant-nr{grid-area:nr!important;font-size:10px!important;white-space:nowrap}
 #customerList-table .restaurant-status{margin-right:2px!important}
 #customerList-table .restaurant-main{grid-area:main!important;min-width:0!important}
 #customerList-table .restaurant-name{display:block!important;font-size:12px!important;font-weight:750!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #customerList-table .restaurant-place{grid-area:main!important;margin-top:25px!important;font-size:9px!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;pointer-events:none}
 #customerList-table .restaurant-top-cell{grid-area:top!important}
 #customerList-table .restaurant-rank{font-size:8px!important;padding:3px 4px!important;border-radius:6px!important;white-space:nowrap!important}
 #customerList-table .restaurant-orders{grid-area:stats!important;font-size:10px!important;text-align:right!important}
 #customerList-table .restaurant-revenue{grid-area:stats!important;margin-top:24px!important;font-size:9px!important;text-align:right!important;white-space:nowrap!important}
 #customerList-table .mobile-field-label{display:none!important}
 #customerList-table .restaurant-actions{grid-area:actions!important;display:grid!important;grid-template-columns:30px 30px!important;gap:3px!important;justify-content:end!important}
 #customerList-table .restaurant-action{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:8px!important}
 #customerList-table .restaurant-action i{font-size:14px!important}
}
@media(max-width:390px){
 #customerList-table tr.restaurant-row{grid-template-columns:30px minmax(0,1fr) auto 64px!important;grid-template-areas:"nr main stats actions"!important}
 #customerList-table .restaurant-top-cell{display:none!important}
}

/* CANO V35 — dedicated mobile restaurant row. No desktop-table gymnastics. */
.restaurant-mobile-row{display:none}
@media(max-width:700px){
 #restaurantsView .cano-list-shell{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 #restaurantsView .restaurant-analysis-toolbar{display:flex!important;flex-wrap:wrap!important;gap:5px!important;padding:6px!important;margin:0 0 6px!important;border-radius:10px!important}
 #restaurantsView .cano-search{flex:1 1 100%!important}
 #restaurantsView #restaurantSort{flex:1 1 calc(55% - 3px)!important;width:auto!important}
 #restaurantsView .analysis-dates{flex:1 1 calc(45% - 3px)!important;display:flex!important;gap:4px!important}
 #restaurantsView .analysis-dates label{flex:1!important}
 #restaurantsView .analysis-export{flex:1 1 100%!important;display:flex!important;gap:4px!important}
 #restaurantsView .analysis-export .btn{flex:1!important}
 #restaurantsView #restaurantAnalysisMeta{flex:1 1 100%!important}
 #restaurantsView .cano-search input,#restaurantsView #restaurantSort,#restaurantsView #restaurantMonth{height:34px!important;min-height:34px!important;padding-top:3px!important;padding-bottom:3px!important}
 #restaurantsView #restaurantAnalyze{width:34px!important;min-width:34px!important;height:34px!important}
 #restaurantsView .analysis-export .btn{height:30px!important}
 #customerList-table{border-collapse:separate!important;border-spacing:0 4px!important}
 #customerList-table thead{display:none!important}
 #customerList-table tbody{display:table-row-group!important}
 #customerList-table tr.restaurant-row{display:table-row!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 #customerList-table tr.restaurant-row>td:not(.restaurant-mobile-row){display:none!important}
 #customerList-table tr.restaurant-row>.restaurant-mobile-row{
   display:grid!important;grid-template-columns:36px minmax(0,1fr) 48px 72px 57px!important;
   align-items:center!important;gap:4px!important;width:100%!important;
   padding:4px 5px!important;border:1px solid var(--line)!important;border-radius:9px!important;
   background:var(--surface)!important;vertical-align:middle!important;
 }
 .restaurant-mobile-row .rm-id{display:flex;align-items:center;gap:2px;font-size:9px;white-space:nowrap}
 .restaurant-mobile-row .rm-id .restaurant-status{margin:0!important}
 .restaurant-mobile-row .rm-info{min-width:0;cursor:pointer}
 .restaurant-mobile-row .rm-info strong{display:block;font-size:11px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .restaurant-mobile-row .rm-info small{display:block;margin-top:2px;font-size:8px;line-height:1;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .restaurant-mobile-row .rm-metric{text-align:right!important;min-width:0}
 .restaurant-mobile-row .rm-metric small{display:block;font-size:7px;line-height:1;color:var(--muted)}
 .restaurant-mobile-row .rm-metric b{display:block;margin-top:2px;font-size:9px;line-height:1.05;white-space:nowrap}
 .restaurant-mobile-row .rm-actions{display:flex;gap:3px;justify-content:flex-end}
 .restaurant-mobile-row .restaurant-action{width:27px!important;height:27px!important;min-width:27px!important;padding:0!important;border-radius:7px!important;display:grid!important;place-items:center!important}
 .restaurant-mobile-row .restaurant-action i{font-size:12px!important}
}
@media(max-width:390px){
 #customerList-table tr.restaurant-row>.restaurant-mobile-row{grid-template-columns:31px minmax(0,1fr) 43px 65px 53px!important;gap:3px!important;padding:3px 4px!important}
 .restaurant-mobile-row .rm-info strong{font-size:10px}
 .restaurant-mobile-row .restaurant-action{width:25px!important;height:25px!important;min-width:25px!important}
}

/* CANO V36 — actual mobile card: two rows, no mini-table */
@media(max-width:700px){
 #customerList-table{display:block!important;width:100%!important;border:0!important;border-spacing:0!important}
 #customerList-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;width:100%!important}
 #customerList-table tr.restaurant-row{display:block!important;width:100%!important}
 #customerList-table tr.restaurant-row>.restaurant-mobile-row{
   display:block!important;width:100%!important;padding:7px 8px!important;
   border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;
 }
 .restaurant-mobile-row .rm-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;min-width:0!important}
 .restaurant-mobile-row .rm-title{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;cursor:pointer!important}
 .restaurant-mobile-row .rm-dot{display:inline-flex!important;flex:0 0 auto!important}
 .restaurant-mobile-row .rm-dot .restaurant-status{margin:0!important;font-size:7px!important}
 .restaurant-mobile-row .rm-id{flex:0 0 auto!important;font-size:9px!important;color:var(--muted)!important}
 .restaurant-mobile-row .rm-title strong{min-width:0!important;font-size:12px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .restaurant-mobile-row .rm-top{flex:0 0 auto!important;font-size:7px!important;font-weight:700!important;padding:2px 4px!important;border-radius:5px!important;background:var(--soft)!important;color:var(--muted)!important}
 .restaurant-mobile-row .rm-actions{display:flex!important;flex:0 0 auto!important;gap:3px!important}
 .restaurant-mobile-row .restaurant-action{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;border-radius:7px!important}
 .restaurant-mobile-row .restaurant-action i{font-size:12px!important}
 .restaurant-mobile-row .rm-foot{display:flex!important;align-items:center!important;gap:8px!important;margin-top:4px!important;padding-left:14px!important;min-width:0!important;font-size:9px!important;line-height:1.1!important;color:var(--muted)!important}
 .restaurant-mobile-row .rm-place{min-width:0!important;flex:1 1 auto!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .restaurant-mobile-row .rm-foot .restaurant-orders,.restaurant-mobile-row .rm-foot .restaurant-revenue{display:inline-flex!important;align-items:baseline!important;gap:2px!important;flex:0 0 auto!important;margin:0!important;font-size:9px!important;white-space:nowrap!important}
 .restaurant-mobile-row .rm-foot em{font-style:normal!important;font-size:8px!important;color:var(--muted)!important}
 .restaurant-mobile-row .rm-foot b{font-size:9px!important;color:var(--text)!important}
}
@media(max-width:380px){
 #customerList-table tr.restaurant-row>.restaurant-mobile-row{padding:6px!important}
 .restaurant-mobile-row .rm-title strong{font-size:11px!important}
 .restaurant-mobile-row .rm-top{display:none!important}
 .restaurant-mobile-row .rm-foot{gap:5px!important;padding-left:12px!important}
}

/* CANO V37 — single DOM source: original table cells become the mobile card */
@media(max-width:700px){
 #customerList-table .restaurant-mobile-row{display:none!important}
 #customerList-table{display:block!important;width:100%!important;border:0!important;border-spacing:0!important}
 #customerList-table thead{display:none!important}
 #customerList-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;width:100%!important}
 #customerList-table tr.restaurant-row{
   display:grid!important;
   grid-template-columns:34px minmax(0,1fr) auto auto 57px!important;
   grid-template-areas:
     "nr name name name actions"
     "nr place orders revenue actions"!important;
   align-items:center!important;column-gap:6px!important;row-gap:2px!important;
   width:100%!important;min-height:0!important;margin:0!important;padding:6px 7px!important;
   border:1px solid var(--line)!important;border-radius:10px!important;
   background:var(--surface)!important;box-shadow:none!important;overflow:hidden!important;
 }
 #customerList-table tr.restaurant-row>td{
   display:block!important;min-width:0!important;margin:0!important;padding:0!important;
   border:0!important;background:transparent!important;
 }
 #customerList-table .restaurant-nr{grid-area:nr!important;font-size:9px!important;white-space:nowrap!important}
 #customerList-table .restaurant-main{grid-area:name!important;cursor:pointer!important}
 #customerList-table .restaurant-name{display:block!important;font-size:12px!important;font-weight:700!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #customerList-table .restaurant-place{grid-area:place!important;font-size:8px!important;line-height:1!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #customerList-table .restaurant-top-cell{display:none!important}
 #customerList-table .restaurant-orders{grid-area:orders!important;text-align:right!important;font-size:9px!important;white-space:nowrap!important}
 #customerList-table .restaurant-revenue{grid-area:revenue!important;text-align:right!important;font-size:9px!important;white-space:nowrap!important}
 #customerList-table .restaurant-orders .mobile-field-label,
 #customerList-table .restaurant-revenue .mobile-field-label{display:inline!important;font-size:7px!important;font-weight:400!important;color:var(--muted)!important;margin-right:2px!important}
 #customerList-table .restaurant-orders b,#customerList-table .restaurant-revenue b{font-size:9px!important}
 #customerList-table .restaurant-actions{
   grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;
 }
 #customerList-table .restaurant-action{
   display:grid!important;place-items:center!important;width:26px!important;height:26px!important;min-width:26px!important;
   padding:0!important;margin:0!important;border-radius:7px!important;
 }
 #customerList-table .restaurant-action i{font-size:12px!important}
}
@media(max-width:380px){
 #customerList-table tr.restaurant-row{grid-template-columns:31px minmax(0,1fr) auto auto 53px!important;padding:5px 6px!important;column-gap:4px!important}
 #customerList-table .restaurant-name{font-size:11px!important}
 #customerList-table .restaurant-action{width:25px!important;height:25px!important;min-width:25px!important}
}

/* CANO V38 — restaurant mobile redesigned from zero, product-card UI */
.restaurant-mobile-list{display:none}
@media(max-width:700px){
 #restaurantsView #customerList-table{display:none!important}
 #restaurantsView .restaurant-mobile-list{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important}
 #restaurantsView .restaurant-product-card{display:block!important;width:100%!important;padding:8px 9px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important;box-shadow:0 2px 8px rgba(15,23,42,.035)!important}
 .rpc-top{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
 .rpc-identity{display:flex!important;align-items:center!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--text)!important;text-align:left!important}
 .rpc-status{width:7px!important;height:7px!important;border-radius:50%!important;flex:0 0 7px!important}
 .rpc-status.is-online{background:#22c55e!important}.rpc-status.is-offline{background:#ef4444!important}
 .rpc-id{font-size:9px!important;color:var(--muted)!important;flex:0 0 auto!important}
 .rpc-name{font-size:12px!important;font-weight:750!important;line-height:1.1!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .rpc-topbadge{font-size:7px!important;font-weight:800!important;line-height:1!important;padding:3px 4px!important;border-radius:5px!important;background:var(--accent-soft)!important;color:var(--accent)!important;flex:0 0 auto!important}
 .rpc-actions{display:flex!important;align-items:center!important;gap:3px!important;flex:0 0 auto!important}
 .rpc-actions .restaurant-action{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;margin:0!important;border-radius:7px!important}
 .rpc-actions .restaurant-action i{font-size:12px!important}
 .rpc-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:end!important;gap:10px!important;margin-top:5px!important;padding-left:12px!important}
 .rpc-place{min-width:0!important;font-size:9px!important;line-height:1.1!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .rpc-stat{display:flex!important;align-items:baseline!important;gap:3px!important;white-space:nowrap!important}
 .rpc-stat small{font-size:7px!important;color:var(--muted)!important}
 .rpc-stat b{font-size:9px!important;line-height:1!important;color:var(--text)!important}
}
@media(max-width:380px){
 #restaurantsView .restaurant-product-card{padding:7px!important}
 .rpc-name{font-size:11px!important}.rpc-topbadge{display:none!important}
 .rpc-bottom{gap:6px!important;padding-left:10px!important}
 .rpc-stat small{display:none!important}
}
@media(min-width:701px){
 #restaurantsView #customerList-table{display:table!important}
 #restaurantsView .restaurant-mobile-list{display:none!important}
}

/* CANO V39 — final mobile card proportions */
@media(max-width:700px){
 #restaurantsView .restaurant-mobile-list{gap:4px!important}
 #restaurantsView .restaurant-product-card{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) 42px 68px 56px!important;
   grid-template-areas:"company orders revenue actions"!important;
   align-items:start!important;gap:5px!important;
   padding:5px 6px!important;border-radius:9px!important;min-height:39px!important;
 }
 .restaurant-product-card .rpc-company{grid-area:company!important;min-width:0!important}
 .restaurant-product-card .rpc-identity{display:block!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important}
 .restaurant-product-card .rpc-titleline{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;height:15px!important}
 .restaurant-product-card .rpc-name{font-size:11px!important;line-height:15px!important}
 .restaurant-product-card .rpc-place{display:block!important;margin:1px 0 0 16px!important;font-size:7.5px!important;line-height:9px!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .restaurant-product-card .rpc-stat{align-self:start!important;display:block!important;text-align:right!important;padding-top:1px!important;white-space:nowrap!important}
 .restaurant-product-card .rpc-stat small{display:block!important;font-size:6.5px!important;line-height:8px!important;color:var(--muted)!important}
 .restaurant-product-card .rpc-stat b{display:block!important;margin-top:1px!important;font-size:8.5px!important;line-height:11px!important}
 .restaurant-product-card .restaurant-orders{grid-area:orders!important}
 .restaurant-product-card .restaurant-revenue{grid-area:revenue!important}
 .restaurant-product-card .rpc-actions{grid-area:actions!important;align-self:start!important;display:flex!important;justify-content:flex-end!important;gap:3px!important;padding:0!important}
 .restaurant-product-card .rpc-actions .restaurant-action{width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;margin:0!important}
}
@media(max-width:380px){
 #restaurantsView .restaurant-product-card{grid-template-columns:minmax(0,1fr) 36px 60px 51px!important;gap:3px!important;padding:4px 5px!important}
 .restaurant-product-card .rpc-name{font-size:10.5px!important}
 .restaurant-product-card .rpc-place{margin-left:15px!important}
 .restaurant-product-card .rpc-actions .restaurant-action{width:24px!important;height:24px!important;min-width:24px!important}
}

/* CANO V40 — store state, aligned toolbar, compact premium restaurant sheet */
.restaurant-store-state{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:var(--surface-2);font-size:13px}
.restaurant-store-state.is-online{color:#16a34a;background:rgba(34,197,94,.10)}
.restaurant-store-state.is-offline{color:#dc2626;background:rgba(239,68,68,.10)}
.restaurant-nr{white-space:nowrap}.restaurant-nr .restaurant-status{display:inline-flex;vertical-align:middle;margin-right:9px}
#restaurantsView .restaurant-analysis-toolbar{align-items:center!important}
#restaurantsView .analysis-month{align-items:center!important}
#restaurantsView .analysis-month>label{display:none!important}
#restaurantsView #restaurantMonth,#restaurantsView #restaurantSort,#restaurantsView .cano-search{margin:0!important}
@media(min-width:701px){
 #restaurantsView .restaurant-analysis-toolbar{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
 #restaurantsView .cano-search{flex:1 1 250px!important}
 #restaurantsView #restaurantSort{flex:0 1 190px!important}
 #restaurantsView .analysis-month{display:flex!important;gap:5px!important;flex:0 0 auto!important}
 #restaurantsView #restaurantMonth{width:145px!important;height:38px!important}
 #restaurantsView #restaurantAnalyze{height:38px!important}
 #restaurantsView .analysis-export{display:flex!important;gap:5px!important}
 #restaurantsView .analysis-export .btn{height:38px!important}
 #restaurantsView #restaurantAnalysisMeta{margin-left:auto!important}
}
/* detail sheet: compact app panel instead of legacy form */
#AproductModal.app-sheet{--bs-offcanvas-width:min(520px,94vw)!important}
#AproductModal .offcanvas-header{padding:12px 14px!important;border-bottom:1px solid var(--line)!important}
#AproductModal .offcanvas-title{font-size:17px!important;font-weight:800!important}
#AproductModal .offcanvas-body{padding:10px!important}
#AproductModal .offcanvas-body>.container,#AproductModal .offcanvas-body>.container-fluid{padding:0!important}
#AproductModal .card,#AproductModal .zeitraum-card{padding:10px!important;margin-bottom:8px!important;border:1px solid var(--line)!important;border-radius:11px!important;box-shadow:none!important;background:var(--surface)!important}
#AproductModal .zeitraum-card h4{font-size:13px!important;font-weight:800!important;margin:0 0 7px!important}
#AproductModal table{margin:0!important}
#AproductModal td,#AproductModal th{padding:4px!important}
#AproductModal input.input,#AproductModal input.form-control,#AproductModal select{height:34px!important;min-height:34px!important;padding:5px 8px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--surface-2)!important;color:var(--text)!important;outline:0!important}
#AproductModal .btn{min-height:32px!important;border-radius:8px!important;padding:5px 9px!important;font-size:11px!important;font-weight:700!important}
#AproductModal hr{margin:8px 0!important;border-color:var(--line)!important;opacity:1!important}
#AproductModal h5{font-size:13px!important}
#AproductModal #testsoundsenden{padding:8px!important;margin-bottom:8px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface-2)!important;font-size:11px!important}
@media(max-width:700px){
 #restaurantsView .restaurant-analysis-toolbar{gap:4px!important;padding:5px!important}
 #restaurantsView #restaurantMonth{height:32px!important;min-height:32px!important}
 .restaurant-product-card .rpc-status{display:inline-grid!important;place-items:center!important;width:17px!important;height:17px!important;flex:0 0 17px!important;border-radius:5px!important;background:transparent!important;font-size:11px!important}
 .restaurant-product-card .rpc-status.is-online{color:#16a34a!important}.restaurant-product-card .rpc-status.is-offline{color:#dc2626!important}
 .restaurant-product-card .rpc-titleline{height:17px!important;gap:5px!important}
 .restaurant-product-card .rpc-id{margin-left:2px!important}
 #AproductModal .offcanvas-header{padding:9px 10px!important}
 #AproductModal .offcanvas-body{padding:7px!important}
 #AproductModal .card,#AproductModal .zeitraum-card{padding:7px!important;margin-bottom:6px!important;border-radius:9px!important}
}

/* CANO V41 — keep mobile cards low; hide empty/technical detail controls */
#AproductModal #filter.hide{display:none!important}
#AproductModal #testsoundsenden:empty{display:none!important}
#AproductModal #testsoundsenden[style*="display: none"]{display:none!important}
@media(max-width:700px){
 .restaurant-product-card .rpc-actions{height:21px!important;min-height:0!important;align-items:start!important}
 .restaurant-product-card .rpc-actions .restaurant-action{
   width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;
   max-width:21px!important;max-height:21px!important;padding:0!important;border-radius:6px!important;line-height:1!important;
 }
 .restaurant-product-card .rpc-actions .restaurant-action i{font-size:10px!important;line-height:1!important}
 .restaurant-product-card{min-height:0!important}
}

/* CANO V42 — more room for identity; destructive action belongs in detail */
.restaurant-detail-danger{margin-top:10px;padding-top:8px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
.restaurant-detail-danger .btn{display:inline-flex!important;align-items:center!important;gap:6px!important}
@media(max-width:700px){
 #restaurantsView .restaurant-product-card{
   grid-template-columns:minmax(0,1fr) 45px 76px 25px!important;
   gap:6px!important;padding:5px 6px!important;
 }
 .restaurant-product-card .rpc-company{min-width:0!important}
 .restaurant-product-card .rpc-identity{display:block!important}
 .restaurant-product-card .rpc-titleline{display:flex!important;height:18px!important;align-items:center!important}
 .restaurant-product-card .rpc-name{font-size:12px!important;line-height:17px!important;font-weight:800!important}
 .restaurant-product-card .rpc-place{
   display:block!important;margin:1px 0 0 22px!important;padding:0!important;
   font-size:8.5px!important;line-height:10px!important;max-width:100%!important;
   color:var(--muted)!important;text-align:left!important;
 }
 .restaurant-product-card .rpc-id{font-size:9.5px!important}
 .restaurant-product-card .rpc-stat small{font-size:7px!important}
 .restaurant-product-card .rpc-stat b{font-size:9.5px!important;line-height:12px!important}
 .restaurant-product-card .rpc-actions{width:25px!important}
 .restaurant-product-card .rpc-actions .restaurant-action{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}
 #AproductModal .restaurant-detail-danger{margin-top:7px;padding-top:7px}
 #AproductModal #detailRestaurantDelete{font-size:10px!important;min-height:29px!important;padding:4px 7px!important}
}
@media(max-width:380px){
 #restaurantsView .restaurant-product-card{grid-template-columns:minmax(0,1fr) 39px 67px 24px!important;gap:4px!important}
 .restaurant-product-card .rpc-name{font-size:11.5px!important}
 .restaurant-product-card .rpc-place{font-size:8px!important;margin-left:21px!important}
}

/* CANO V43 — unified restaurant controls + clean meta + bounded datepicker */
#restaurantsView .restaurant-analysis-meta{
 display:block!important;width:100%!important;margin:5px 0 7px!important;padding:0!important;
 text-align:center!important;background:transparent!important;border:0!important;box-shadow:none!important;
 font-size:10px!important;line-height:16px!important;color:var(--muted)!important
}
#restaurantsView .restaurant-analysis-toolbar input,
#restaurantsView .restaurant-analysis-toolbar select,
#restaurantsView .restaurant-analysis-toolbar button{
 height:36px!important;min-height:36px!important;border-radius:9px!important;font-size:11px!important
}
#restaurantsView .restaurant-analysis-toolbar .cano-search{height:36px!important;min-height:36px!important;border-radius:9px!important}
#restaurantsView .restaurant-analysis-toolbar .cano-search input{height:34px!important;min-height:34px!important}
#restaurantsView .restaurant-analysis-toolbar .btn{padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
#restaurantsView .analysis-month,#restaurantsView .analysis-export{align-items:center!important}
#AproductModal #from_date,#AproductModal #to_date{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important
}
#AproductModal .zeitraum-card table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
#AproductModal .zeitraum-card td{min-width:0!important;max-width:100%!important}
.ui-datepicker{
 width:280px!important;max-width:calc(100vw - 20px)!important;box-sizing:border-box!important;
 z-index:20000!important;padding:6px!important;border-radius:10px!important;overflow:hidden!important
}
.ui-datepicker table{width:100%!important;table-layout:fixed!important}
.ui-datepicker td,.ui-datepicker th{width:14.285%!important;padding:1px!important}
.ui-datepicker td a,.ui-datepicker td span{display:block!important;width:100%!important;text-align:center!important;box-sizing:border-box!important}
@media(max-width:700px){
 #restaurantsView .restaurant-analysis-toolbar{
   display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:5px!important;padding:5px!important
 }
 #restaurantsView .restaurant-analysis-toolbar .cano-search{grid-column:1/-1!important;width:100%!important}
 #restaurantsView #restaurantSort{grid-column:1/2!important;width:100%!important}
 #restaurantsView .analysis-month{grid-column:2/3!important;display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;gap:5px!important;width:100%!important}
 #restaurantsView #restaurantMonth{width:100%!important;height:36px!important;min-height:36px!important}
 #restaurantsView #restaurantAnalyze{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important}
 #restaurantsView #restaurantAnalyze span{display:none!important}
 #restaurantsView .analysis-export{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;width:100%!important}
 #restaurantsView .analysis-export .btn{width:100%!important;height:36px!important;min-height:36px!important}
 #restaurantsView .restaurant-analysis-meta{margin:3px 0 6px!important;font-size:9px!important}
 #AproductModal .zeitraum-card{overflow:visible!important}
 #AproductModal .zeitraum-card table{display:table!important;width:100%!important}
 #AproductModal .zeitraum-card td{padding:2px!important}
 #AproductModal #from_date,#AproductModal #to_date{height:32px!important;min-height:32px!important;padding:4px 6px!important;font-size:11px!important}
 .ui-datepicker{width:260px!important;max-width:calc(100vw - 14px)!important;font-size:11px!important}
}

/* CANO V44 — responsive hardening */
.restaurant-store-state{width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;font-size:16px!important}
.restaurant-store-state.is-online{background:transparent!important;color:#16a34a!important}
.restaurant-store-state.is-offline{background:transparent!important;color:#dc2626!important}
.restaurant-status{background:transparent!important}
.restaurant-product-card .rpc-status{background:transparent!important;border-radius:0!important;font-size:14px!important;width:18px!important;height:18px!important}

.cano-search{position:relative!important;width:100%!important;min-width:0!important}
.cano-search>i{position:absolute!important;left:11px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;pointer-events:none!important}
.cano-search input{width:100%!important;min-width:0!important;box-sizing:border-box!important;padding-left:34px!important;padding-right:10px!important}
#tvView .cano-toolbar,#tvView .cano-search{width:100%!important;max-width:none!important}
#tvView .cano-toolbar{display:block!important}

.ui-datepicker .ui-icon{background-image:none!important;text-indent:0!important;overflow:visible!important;width:20px!important;height:20px!important}
.ui-datepicker .ui-datepicker-prev span:before{content:"‹";font-size:22px;line-height:18px}
.ui-datepicker .ui-datepicker-next span:before{content:"›";font-size:22px;line-height:18px}
.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{display:grid!important;place-items:center!important}
.ui-datepicker{width:280px!important;max-width:calc(100vw - 20px)!important;z-index:20000!important}
#AproductModal .zeitraum-card input{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

.offcanvas.app-sheet{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;z-index:1065!important}
.offcanvas.app-sheet .offcanvas-header{flex:0 0 auto!important;position:relative!important;z-index:3!important;background:var(--surface)!important}
.offcanvas.app-sheet .offcanvas-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
#AproductModal .offcanvas-body{padding-bottom:56px!important}
#AproductModal .restaurant-detail-danger{
 position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:6!important;
 margin:0!important;padding:7px 10px!important;border-top:1px solid var(--line)!important;
 background:var(--surface)!important;display:flex!important;justify-content:flex-end!important
}
#AproductModal .restaurant-detail-danger .btn{min-height:30px!important;padding:4px 8px!important;font-size:10px!important;border-radius:8px!important}

.modal{z-index:1070!important}.modal-backdrop{z-index:1068!important}
.modal-dialog{max-height:calc(100dvh - 20px)!important;margin:10px auto!important}
.modal-content{max-height:calc(100dvh - 20px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.modal-header{flex:0 0 auto!important;z-index:2!important;background:var(--surface)!important}
.modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
.modal-footer{flex:0 0 auto!important;z-index:2!important;background:var(--surface)!important}

@media(max-width:700px){
 #tvView .cano-toolbar{padding:5px!important}
 #tvView .cano-search,#tvView .cano-search input{height:36px!important;min-height:36px!important}
 #restaurantsView .cano-search input{padding-left:34px!important}
 .restaurant-product-card .rpc-status{font-size:13px!important;width:17px!important;min-width:17px!important}
 #AproductModal .zeitraum-card table{table-layout:fixed!important;width:100%!important}
 #AproductModal .zeitraum-card td:nth-child(1),#AproductModal .zeitraum-card td:nth-child(3){width:47%!important}
 #AproductModal .zeitraum-card td:nth-child(2){width:6%!important}
 #AproductModal .zeitraum-card input{font-size:16px!important}
 .ui-datepicker{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(280px,calc(100vw - 14px))!important;max-width:calc(100vw - 14px)!important}
 .modal-dialog{width:calc(100% - 12px)!important;max-width:none!important;margin:6px auto!important;max-height:calc(100dvh - 12px)!important}
 .modal-content{max-height:calc(100dvh - 12px)!important}
}

/* CANO V45 — sheets always above mobile nav; 70vh mobile bottom-sheet */
.offcanvas,.modal{z-index:30000!important}
.offcanvas-backdrop,.modal-backdrop{z-index:29990!important}
.ui-datepicker{z-index:30100!important}
#AproductModal #testsoundsenden{
 background:var(--surface-2)!important;border:0!important;border-radius:9px!important;
 padding:8px!important;margin:0 0 7px!important;box-shadow:none!important
}
#AproductModal #testsoundsenden b{font-size:10px!important;font-weight:700!important}
#AproductModal #testsoundsenden .btn{margin-top:6px!important}
#customerList-table tbody tr.restaurant-row{cursor:pointer}
#customerList-table tbody tr.restaurant-row:hover td{background:var(--surface-2)}
#customerList-table .restaurant-actions{cursor:default}
@media(max-width:700px){
 .offcanvas.app-sheet{
   top:auto!important;bottom:0!important;left:0!important;right:0!important;
   width:100%!important;max-width:100%!important;height:70dvh!important;max-height:70dvh!important;
   border:0!important;border-radius:16px 16px 0 0!important;transform:translateY(100%)!important
 }
 .offcanvas.app-sheet.show,.offcanvas.app-sheet.showing{transform:none!important}
 .offcanvas.app-sheet.hiding{transform:translateY(100%)!important}
 .offcanvas.app-sheet .offcanvas-header{
   min-height:44px!important;padding:8px 11px!important;border-radius:16px 16px 0 0!important
 }
 .offcanvas.app-sheet .offcanvas-body{padding:7px!important;max-height:none!important}
 #AproductModal .offcanvas-body{padding-bottom:51px!important}
 #AproductModal .restaurant-detail-danger{position:absolute!important;bottom:0!important;left:0!important;right:0!important}
 #AproductModal #testsoundsenden{padding:7px!important;margin-bottom:6px!important}
 #AproductModal #testsoundsenden .btn{min-height:28px!important;padding:4px 7px!important;font-size:9px!important}
}

/* CANO V46 — deterministic overlay stack */
.offcanvas-backdrop.show{z-index:20000!important}
.modal-backdrop.show{z-index:21000!important}
.offcanvas.app-sheet{z-index:22000!important}
.modal{z-index:23000!important}
.ui-datepicker{z-index:24000!important}

/* Bootstrap can leave multiple backdrops; never let one cover active UI */
body>.offcanvas-backdrop{z-index:20000!important}
body>.modal-backdrop{z-index:21000!important}
body>.offcanvas.show,body>.offcanvas.showing{z-index:22000!important}
body>.modal.show{z-index:23000!important}

/* CANO V47 — stop desktop sort/month controls from stretching a white surface */
#restaurantsView .restaurant-analysis-toolbar,
#restaurantsView .analysis-month,
#restaurantsView .analysis-export{
 background:transparent!important;
 box-shadow:none!important;
 border-color:transparent!important;
}
#restaurantsView .analysis-month,
#restaurantsView .analysis-export{
 width:auto!important;
 min-width:0!important;
 max-width:max-content!important;
 flex-grow:0!important;
 flex-shrink:0!important;
}
#restaurantsView #restaurantSort,
#restaurantsView #restaurantMonth{
 display:block!important;
 box-sizing:border-box!important;
 margin:0!important;
 background-color:var(--surface)!important;
 background-clip:padding-box!important;
}
@media(min-width:701px){
 #restaurantsView #restaurantSort{width:190px!important;min-width:190px!important;max-width:190px!important;flex:none!important}
 #restaurantsView #restaurantMonth{width:145px!important;min-width:145px!important;max-width:145px!important;flex:none!important}
 #restaurantsView .analysis-month{display:inline-flex!important;flex:0 0 auto!important}
 #restaurantsView .analysis-export{display:inline-flex!important;flex:0 0 auto!important}
 #restaurantsView .restaurant-analysis-toolbar>*{align-self:center!important}
}
/* Native focus must stay on the control, not paint a long wrapper */
#restaurantsView #restaurantSort:focus,
#restaurantsView #restaurantMonth:focus{
 outline:none!important;
 box-shadow:0 0 0 2px color-mix(in srgb,currentColor 14%,transparent)!important;
}

/* CANO V48 — Zeitraum fit, datepicker compact, toolbar card restored */
#restaurantsView .restaurant-analysis-toolbar{
 background:var(--surface)!important;
 border:1px solid var(--line)!important;
 border-radius:12px!important;
 box-shadow:0 5px 18px rgba(0,0,0,.055)!important;
 padding:7px!important;
}
#restaurantsView .analysis-month,#restaurantsView .analysis-export{
 background:transparent!important;border:0!important;box-shadow:none!important
}

/* Zeitraum inputs always stay inside their card */
#AproductModal .zeitraum-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
#AproductModal .zeitraum-card table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
#AproductModal .zeitraum-card tr{display:grid!important;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)!important;gap:4px!important;align-items:center!important;width:100%!important}
#AproductModal .zeitraum-card td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important}
#AproductModal .zeitraum-card td:nth-child(2){text-align:center!important}
#AproductModal .zeitraum-card td:nth-child(n+4){display:none!important}
#AproductModal #from_date,#AproductModal #to_date{
 width:100%!important;max-width:100%!important;min-width:0!important;height:34px!important;
 box-sizing:border-box!important;margin:0!important;padding:5px 7px!important
}

/* Detail destructive action: centered and easier to hit */
#AproductModal .restaurant-detail-danger{justify-content:center!important;padding:9px 10px!important}
#AproductModal #detailRestaurantDelete{
 min-height:36px!important;padding:7px 14px!important;font-size:11px!important;font-weight:750!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important
}
#AproductModal #detailRestaurantDelete i{font-size:14px!important}

/* Compact jQuery UI header — keep prev/next inside */
.ui-datepicker{padding:4px!important;overflow:hidden!important}
.ui-datepicker .ui-datepicker-header{
 position:relative!important;height:34px!important;min-height:34px!important;
 margin:0!important;padding:3px 32px!important;box-sizing:border-box!important
}
.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{
 position:absolute!important;top:4px!important;width:26px!important;height:26px!important;margin:0!important
}
.ui-datepicker .ui-datepicker-prev{left:4px!important}
.ui-datepicker .ui-datepicker-next{right:4px!important}
.ui-datepicker .ui-datepicker-title{margin:0!important;display:flex!important;justify-content:center!important;gap:4px!important;height:27px!important;align-items:center!important}
.ui-datepicker .ui-datepicker-title select{height:25px!important;min-height:25px!important;padding:1px 4px!important;font-size:10px!important;margin:0!important}
.ui-datepicker .ui-datepicker-buttonpane{
 margin:3px 0 0!important;padding:3px!important;border-top:1px solid var(--line)!important;display:flex!important;justify-content:flex-end!important
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{display:none!important}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close{
 float:none!important;margin:0!important;padding:4px 9px!important;min-height:27px!important;
 border:0!important;border-radius:7px!important;font-size:10px!important;font-weight:700!important
}
@media(max-width:700px){
 #restaurantsView .restaurant-analysis-toolbar{padding:6px!important;border-radius:11px!important}
 #AproductModal .zeitraum-card tr{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)!important;gap:3px!important}
 #AproductModal #detailRestaurantDelete{min-height:34px!important;padding:6px 12px!important;font-size:10.5px!important}
 .ui-datepicker .ui-datepicker-header{padding:3px 30px!important}
}

/* CANO V49 — month detail modal uses the same responsive/dark UI language */
#monthDetailModal{z-index:23000!important}
#monthDetailModal .modal-dialog{
 width:min(760px,calc(100% - 24px))!important;max-width:760px!important;
 margin:18px auto!important;max-height:calc(100dvh - 36px)!important
}
#monthDetailModal .month-detail-card{
 background:var(--surface)!important;color:var(--text)!important;
 border:1px solid var(--line)!important;border-radius:14px!important;
 box-shadow:0 18px 55px rgba(0,0,0,.18)!important;
 max-height:calc(100dvh - 36px)!important;overflow:hidden!important
}
#monthDetailModal .modal-header{
 flex:0 0 auto!important;padding:11px 13px!important;
 background:var(--surface)!important;color:var(--text)!important;
 border-bottom:1px solid var(--line)!important
}
#monthDetailModal .modal-header h1,
#monthDetailModal .modal-header h2,
#monthDetailModal .modal-header h3,
#monthDetailModal .modal-header h4,
#monthDetailModal .modal-header h5,
#monthDetailModal .modal-title{color:var(--text)!important;margin:0!important}
#monthDetailModal .modal-body{
 flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
 padding:10px!important;background:var(--surface)!important;color:var(--text)!important
}
#monthDetailModal .modal-footer{
 flex:0 0 auto!important;padding:8px 10px!important;
 background:var(--surface)!important;border-top:1px solid var(--line)!important
}
#monthDetailModal table{color:var(--text)!important;background:transparent!important}
#monthDetailModal th{
 color:var(--muted)!important;background:var(--surface-2)!important;
 border-color:var(--line)!important
}
#monthDetailModal td{color:var(--text)!important;background:transparent!important;border-color:var(--line)!important}
#monthDetailModal tbody tr:hover td{background:var(--surface-2)!important}
#monthDetailModal .text-muted,#monthDetailModal small{color:var(--muted)!important}
#monthDetailModal .btn-close{opacity:.72!important}
[data-theme="dark"] #monthDetailModal .btn-close,
[data-bs-theme="dark"] #monthDetailModal .btn-close{filter:invert(1) grayscale(1)!important;opacity:.8!important}

@media(max-width:700px){
 #monthDetailModal{align-items:flex-end!important}
 #monthDetailModal .modal-dialog{
   position:absolute!important;left:0!important;right:0!important;bottom:0!important;
   width:100%!important;max-width:100%!important;height:70dvh!important;max-height:70dvh!important;
   margin:0!important
 }
 #monthDetailModal .month-detail-card{
   width:100%!important;height:70dvh!important;max-height:70dvh!important;
   border-left:0!important;border-right:0!important;border-bottom:0!important;
   border-radius:16px 16px 0 0!important;box-shadow:0 -12px 36px rgba(0,0,0,.20)!important
 }
 #monthDetailModal .modal-header{min-height:44px!important;padding:8px 11px!important}
 #monthDetailModal .modal-body{padding:7px!important}
 #monthDetailModal .modal-footer{padding:7px 9px!important}
 #monthDetailModal table{font-size:10px!important}
 #monthDetailModal th,#monthDetailModal td{padding:5px!important}
}

/* CANO V50 — snapshot components: real dark-mode surfaces */
.statushep-snapshot,
.snapshot-title{
 background:var(--surface)!important;
 color:var(--text)!important;
 border-color:var(--line)!important;
 box-shadow:none!important;
}
.statushep-snapshot *,
.snapshot-title *{border-color:var(--line)}
.statushep-snapshot .snapshot-title{
 background:var(--surface-2)!important;
 color:var(--text)!important;
}
.statushep-snapshot .text-muted,
.statushep-snapshot small,
.snapshot-title .text-muted,
.snapshot-title small{color:var(--muted)!important}
.statushep-snapshot table,
.statushep-snapshot tbody,
.statushep-snapshot tr,
.statushep-snapshot td{
 background:transparent!important;
 color:var(--text)!important;
}
.statushep-snapshot th{
 background:var(--surface-2)!important;
 color:var(--muted)!important;
}
.statushep-snapshot tbody tr:hover td{background:var(--surface-2)!important}

/* Catch hard-coded Bootstrap white utilities inside snapshot only */
.statushep-snapshot .bg-white,
.snapshot-title.bg-white,
.statushep-snapshot [style*="background: white"],
.statushep-snapshot [style*="background:#fff"],
.statushep-snapshot [style*="background: #fff"],
.snapshot-title[style*="background: white"],
.snapshot-title[style*="background:#fff"],
.snapshot-title[style*="background: #fff"]{
 background:var(--surface)!important;
 color:var(--text)!important;
}

/* CANO V51 — unified dashboard card theming */
.statushep-snapshot,.snapshot-block,.customer-stats,
.statushep-snapshot .snapshot-block,.statushep-snapshot .customer-stats,
.snapshot-block .card,.customer-stats .card{
 background:var(--surface)!important;color:var(--text)!important;
 border-color:var(--line)!important;
}
.snapshot-block .snapshot-title,.customer-stats .snapshot-title,
.snapshot-block .card-header,.customer-stats .card-header{
 background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important;
}
.snapshot-block *, .customer-stats *{border-color:var(--line)}
.snapshot-block .text-muted,.customer-stats .text-muted,
.snapshot-block small,.customer-stats small{color:var(--muted)!important}
.snapshot-block table,.customer-stats table,
.snapshot-block tbody,.customer-stats tbody,
.snapshot-block tr,.customer-stats tr,
.snapshot-block td,.customer-stats td{background:transparent!important;color:var(--text)!important}
.snapshot-block th,.customer-stats th{background:var(--surface-2)!important;color:var(--muted)!important}
.snapshot-block .bg-white,.customer-stats .bg-white,
.snapshot-block [style*="background: white"],.customer-stats [style*="background: white"],
.snapshot-block [style*="background:#fff"],.customer-stats [style*="background:#fff"],
.snapshot-block [style*="background: #fff"],.customer-stats [style*="background: #fff"]{
 background:var(--surface)!important;color:var(--text)!important
}

/* Annual bars grow naturally; no inner vertical scrollbar */
.annual-bars{
 height:auto!important;max-height:none!important;min-height:0!important;
 overflow-y:visible!important;overflow-x:hidden!important;
}

/* App-sheet header: more breathing room + visible drag handle */
@media(max-width:700px){
 .offcanvas.app-sheet .offcanvas-header{
   min-height:54px!important;padding:12px 12px 9px!important;
   position:relative!important;touch-action:pan-y!important;user-select:none!important
 }
 .offcanvas.app-sheet .offcanvas-header:before{
   content:""!important;position:absolute!important;top:5px!important;left:50%!important;
   transform:translateX(-50%)!important;width:38px!important;height:4px!important;
   border-radius:999px!important;background:var(--line)!important;opacity:.95!important
 }
 .offcanvas.app-sheet .offcanvas-header>*{margin-top:3px}
 .offcanvas.app-sheet.cano-dragging{transition:none!important}
}

/* CANO V52 — remaining snapshot rows/totals */
.snapshot-row,
.snapshot-total{
 background:var(--surface)!important;
 color:var(--text)!important;
 border-color:var(--line)!important;
}
.snapshot-row *,
.snapshot-total *{border-color:var(--line)}
.snapshot-row .text-muted,.snapshot-total .text-muted,
.snapshot-row small,.snapshot-total small{color:var(--muted)!important}
.snapshot-row:hover{background:var(--surface-2)!important}
.snapshot-total{
 background:var(--surface-2)!important;
 font-weight:700!important;
}
.snapshot-row [style*="background: white"],
.snapshot-total [style*="background: white"],
.snapshot-row [style*="background:#fff"],
.snapshot-total [style*="background:#fff"],
.snapshot-row [style*="background: #fff"],
.snapshot-total [style*="background: #fff"],
.snapshot-row.bg-white,.snapshot-total.bg-white{
 background:inherit!important;color:var(--text)!important;
}

/* Mobile sheets: flush to viewport bottom, safe-area aware, no clipped lower edge */
@media(max-width:700px){
 .offcanvas.app-sheet{
   position:fixed!important;
   top:auto!important;left:0!important;right:0!important;bottom:0!important;
   width:100vw!important;max-width:100vw!important;
   height:70dvh!important;max-height:70dvh!important;
   margin:0!important;
   border-radius:16px 16px 0 0!important;
   overflow:hidden!important;
   padding-bottom:env(safe-area-inset-bottom,0px)!important;
   box-sizing:border-box!important;
 }
 .offcanvas.app-sheet.show,.offcanvas.app-sheet.showing{
   bottom:0!important;transform:translate3d(0,0,0)!important;
 }
 .offcanvas.app-sheet .offcanvas-body{
   min-height:0!important;
   padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
 }
 #AproductModal .offcanvas-body{
   padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))!important;
 }
 #AproductModal .restaurant-detail-danger{
   bottom:env(safe-area-inset-bottom,0px)!important;
 }
}

/* CANO V53 — mobile Zeitraum fills card; datepicker anchored by JS */
#AproductModal .zeitraum-card{display:block!important;width:100%!important;max-width:none!important}
#AproductModal .zeitraum-card table,
#AproductModal .zeitraum-card tbody{display:block!important;width:100%!important;max-width:none!important}
#AproductModal .zeitraum-card tr{
 display:grid!important;width:100%!important;max-width:none!important;
 grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)!important;
 gap:5px!important;align-items:center!important
}
#AproductModal .zeitraum-card td{min-width:0!important;width:100%!important;max-width:100%!important}
#AproductModal #from_date,#AproductModal #to_date{
 display:block!important;width:100%!important;min-width:0!important;max-width:none!important;
 box-sizing:border-box!important
}
@media(max-width:700px){
 #AproductModal .zeitraum-card{width:100%!important;padding-left:0!important;padding-right:0!important}
 #AproductModal .zeitraum-card tr{
   grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr)!important;gap:4px!important
 }
 .ui-datepicker{
   position:absolute!important;
   transform:none!important;
   width:min(280px,calc(100vw - 16px))!important;
   max-width:calc(100vw - 16px)!important;
   margin:0!important
 }
}

/* CANO V54 — definitive Zeitraum mobile layout: ignore legacy table column sizing */
@media(max-width:700px){
 #AproductModal .zeitraum-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:visible!important}
 #AproductModal .zeitraum-card table[width="100%"]{
   display:block!important;width:100%!important;max-width:100%!important;
   table-layout:auto!important;border-collapse:separate!important
 }
 #AproductModal .zeitraum-card table[width="100%"]>tbody{display:block!important;width:100%!important}
 #AproductModal .zeitraum-card table[width="100%"]>tbody>tr{
   display:grid!important;
   grid-template-columns:minmax(0,calc((100% - 18px)/2)) 10px minmax(0,calc((100% - 18px)/2))!important;
   column-gap:4px!important;
   width:100%!important;max-width:100%!important;
   align-items:center!important
 }
 #AproductModal .zeitraum-card table[width="100%"]>tbody>tr>td{
   display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
   padding:0!important;margin:0!important;box-sizing:border-box!important
 }
 #AproductModal .zeitraum-card table[width="100%"]>tbody>tr>td:nth-of-type(2){
   width:10px!important;text-align:center!important
 }
 #AproductModal .zeitraum-card table[width="100%"]>tbody>tr>td:nth-of-type(4){
   display:none!important;width:0!important
 }
 #AproductModal .zeitraum-card #from_date,
 #AproductModal .zeitraum-card #to_date{
   display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
   box-sizing:border-box!important;height:36px!important;
   padding:6px 8px!important;margin:0!important;font-size:16px!important
 }
}

/* CANO V55 — mobile main page header scrolls normally */
@media(max-width:700px){
 body > header,
 .app-header,
 .top-header,
 .main-header,
 .topbar,
 .app-topbar{
   position:static!important;
   top:auto!important;
   inset-block-start:auto!important;
   transform:none!important;
 }
}

/* CANO V56 — Fix Kunden visual identity */
.fix-primary{background:#7c3aed!important;border-color:#7c3aed!important}
.fix-metric-card{border-color:color-mix(in srgb,#7c3aed 25%,var(--line))!important;text-align:left;width:100%}
.fix-metric-card .metric-icon,.fix-card-icon{background:color-mix(in srgb,#7c3aed 13%,var(--surface))!important;color:#7c3aed!important}
.fix-dashboard-lower{margin-top:14px!important}.fix-chart-card{border-top:3px solid #7c3aed!important}
.fix-annual-bars .annual-fill{background:#7c3aed!important}
.fix-list-shell{border-top:3px solid #7c3aed!important}
.fix-customer-grid{display:grid;gap:7px;margin-top:9px}
.fix-customer-card{display:grid;grid-template-columns:36px minmax(0,1fr) 145px 70px;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:9px 11px;cursor:pointer;transition:.15s}
.fix-customer-card:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(0,0,0,.07);border-color:color-mix(in srgb,#7c3aed 30%,var(--line))}
.fix-customer-card.is-inactive{opacity:.68}.fix-card-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:16px}
.fix-card-main,.fix-card-money{min-width:0;display:flex;flex-direction:column}.fix-card-main b{font-size:12px;color:var(--text)}.fix-card-main span,.fix-card-money span{font-size:9px;color:var(--muted)}.fix-card-main small{font-size:8px;color:var(--muted)}
.fix-card-money{text-align:right}.fix-card-money b{font-size:12px;color:var(--text)}
.fix-card-state{text-align:right}.fix-active,.fix-inactive{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:8px;font-weight:800}.fix-active{background:rgba(124,58,237,.12);color:#7c3aed}.fix-inactive{background:var(--surface-2);color:var(--muted)}
.fix-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fix-form-grid label{font-size:9px;font-weight:700;color:var(--muted)}.fix-form-grid input,.fix-form-grid select{margin-top:4px}
.fix-vat-preview{margin-top:12px;padding:9px;border-radius:10px;background:color-mix(in srgb,#7c3aed 7%,var(--surface));display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fix-vat-preview span{display:flex;flex-direction:column;font-size:8px;color:var(--muted)}.fix-vat-preview b{font-size:11px;color:var(--text)}
.fix-sheet-actions{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
.fix-month-summary{padding:9px;border-radius:10px;background:color-mix(in srgb,#7c3aed 8%,var(--surface));display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:10px}
.fix-month-row{display:flex;justify-content:space-between;gap:10px;padding:8px 4px;border-bottom:1px solid var(--line)}.fix-month-row>div{display:flex;flex-direction:column}.fix-month-row>div:last-child{text-align:right}.fix-month-row span{font-size:9px;color:var(--muted)}.fix-month-row b{font-size:10px;color:var(--text)}
@media(max-width:700px){
 .fix-customer-card{grid-template-columns:30px minmax(0,1fr) 92px;padding:7px;gap:6px}.fix-card-state{grid-column:3;text-align:right}.fix-card-icon{width:27px;height:27px}.fix-card-main b,.fix-card-money b{font-size:10.5px}
 .fix-form-grid{grid-template-columns:1fr}.fix-vat-preview{grid-template-columns:1fr 1fr 1fr;padding:7px}.fix-vat-preview b{font-size:9px}
 .fix-month-summary{flex-direction:column}.fix-dashboard-lower{margin-top:10px!important}
}

/* CANO V57 — Fix Kunden identity + unified sheets + clean Restaurant detail */
.fix-chart-card{
 background:linear-gradient(180deg,color-mix(in srgb,#7c3aed 7%,var(--surface)),var(--surface) 46%)!important;
 border:1px solid color-mix(in srgb,#7c3aed 28%,var(--line))!important;
 border-top:3px solid #7c3aed!important;
 box-shadow:0 10px 28px rgba(124,58,237,.07)!important
}
.fix-chart-card .dashboard-eyebrow,.fix-chart-card #fixChartYear{color:#7c3aed!important}
.fix-chart-card .annual-month{
 background:color-mix(in srgb,#7c3aed 5%,var(--surface))!important;
 border-color:color-mix(in srgb,#7c3aed 20%,var(--line))!important
}
.fix-chart-card .annual-month:hover{background:color-mix(in srgb,#7c3aed 10%,var(--surface))!important}
.fix-chart-card .annual-track{background:color-mix(in srgb,#7c3aed 10%,var(--surface-2))!important}
.fix-chart-card .annual-fill{background:linear-gradient(180deg,#8b5cf6,#7c3aed)!important}
.fix-chart-card .annual-value{color:#6d28d9!important}
[data-theme="dark"] .fix-chart-card .annual-value{color:#c4b5fd!important}

/* Fix details are now true app sheets, same surfaces in light/dark */
#fixCustomerSheet,#fixMonthDetailModal{
 background:var(--surface)!important;color:var(--text)!important;
 border-color:var(--line)!important
}
#fixCustomerSheet .offcanvas-header,#fixMonthDetailModal .offcanvas-header{
 background:var(--surface)!important;color:var(--text)!important;border-bottom:1px solid var(--line)!important
}
#fixCustomerSheet .offcanvas-body,#fixMonthDetailModal .offcanvas-body{
 background:var(--surface)!important;color:var(--text)!important
}
#fixCustomerSheet .form-control,#fixCustomerSheet .form-select{
 background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important
}
#fixCustomerSheet .fix-vat-preview,#fixMonthDetailModal .fix-month-summary{
 background:color-mix(in srgb,#7c3aed 10%,var(--surface))!important;color:var(--text)!important
}
#fixMonthDetailModal .fix-month-row{border-color:var(--line)!important}
#fixMonthDetailModal .fix-month-row b{color:var(--text)!important}
#fixMonthDetailModal .fix-month-row span{color:var(--muted)!important}

/* Restaurant delete belongs to content; remove fake fixed footer / clipped bottom */
#AproductModal .offcanvas-body{
 padding-bottom:10px!important;
 background:var(--surface)!important;color:var(--text)!important
}
#AproductModal .restaurant-detail-danger{
 position:static!important;left:auto!important;right:auto!important;bottom:auto!important;
 width:100%!important;box-sizing:border-box!important;
 margin:12px 0 2px!important;padding:10px!important;
 border:1px solid color-mix(in srgb,#dc2626 20%,var(--line))!important;
 border-radius:10px!important;
 background:color-mix(in srgb,#dc2626 5%,var(--surface))!important;
 display:flex!important;justify-content:center!important
}
#AproductModal #detailRestaurantDelete{margin:0 auto!important}
#AproductModal,#AproductModal .offcanvas-header{
 background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important
}
#AproductModal .zeitraum-card,#AproductModal #testsoundsenden{
 background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important
}
#AproductModal input,#AproductModal select{
 background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important
}

/* Backdrop must never outlive/cover the active sheet */
body>.offcanvas-backdrop{z-index:20000!important}
body>.offcanvas.show,body>.offcanvas.showing{z-index:22000!important}

@media(max-width:700px){
 #fixCustomerSheet,#fixMonthDetailModal,#AproductModal{
   height:70dvh!important;max-height:70dvh!important;bottom:0!important;
   border-radius:16px 16px 0 0!important
 }
 #AproductModal .offcanvas-body{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
 #AproductModal .restaurant-detail-danger{margin-bottom:calc(3px + env(safe-area-inset-bottom,0px))!important}
}

/* CANO V58 — all month details are app sheets; Fix year switcher */
#monthDetailModal{
 background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important
}
#monthDetailModal .offcanvas-header,#monthDetailModal .offcanvas-body{
 background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important
}
#monthDetailModal table,#monthDetailModal th,#monthDetailModal td{
 background:transparent!important;color:var(--text)!important;border-color:var(--line)!important
}
.fix-year-switcher{display:inline-flex;align-items:center;gap:4px;margin-left:auto}
.fix-year-switcher button,.fix-year-switcher select{
 height:30px!important;border:1px solid color-mix(in srgb,#7c3aed 25%,var(--line))!important;
 background:color-mix(in srgb,#7c3aed 6%,var(--surface))!important;color:var(--text)!important;
 border-radius:8px!important;font-size:10px!important;font-weight:750!important
}
.fix-year-switcher button{width:30px!important;display:grid!important;place-items:center!important;padding:0!important}
.fix-year-switcher select{width:76px!important;padding:3px 22px 3px 8px!important}
.fix-year-switcher button:hover{background:color-mix(in srgb,#7c3aed 13%,var(--surface))!important}
@media(max-width:700px){
 #monthDetailModal{height:70dvh!important;max-height:70dvh!important;bottom:0!important;border-radius:16px 16px 0 0!important}
 .fix-chart-card .chart-head{align-items:center!important}
 .fix-year-switcher{flex-shrink:0}
 .fix-year-switcher button{width:27px!important;height:28px!important}
 .fix-year-switcher select{width:68px!important;height:28px!important}
}

/* CANO V59 — mobile annual charts: no horizontal scroll, 12 responsive bars */
@media(max-width:700px){
 #annualBars.annual-bars,
 #fixAnnualBars.annual-bars{
   display:grid!important;
   grid-template-columns:repeat(12,minmax(0,1fr))!important;
   gap:2px!important;
   width:100%!important;max-width:100%!important;
   min-width:0!important;
   overflow-x:hidden!important;overflow-y:visible!important;
   padding:5px 1px 2px!important;
   box-sizing:border-box!important
 }
 #annualBars .annual-month,
 #fixAnnualBars .annual-month{
   min-width:0!important;width:100%!important;max-width:none!important;
   padding:3px 1px!important;margin:0!important;
   border-radius:6px!important;
   display:grid!important;
   grid-template-rows:22px 82px auto auto!important;
   align-items:end!important;
   overflow:hidden!important
 }
 #annualBars .annual-track,
 #fixAnnualBars .annual-track{
   width:clamp(5px,1.7vw,9px)!important;
   height:78px!important;
   min-height:78px!important;
   margin:0 auto!important
 }
 #annualBars .annual-value,
 #fixAnnualBars .annual-value{
   font-size:0!important;
   height:18px!important;
   overflow:hidden!important
 }
 #annualBars .annual-label,
 #fixAnnualBars .annual-label{
   display:flex!important;
   flex-direction:column!important;
   align-items:center!important;
   justify-content:flex-start!important;
   gap:1px!important;
   min-width:0!important;
   font-size:7px!important;
   line-height:1.1!important;
   white-space:normal!important;
   text-align:center!important;
   overflow:hidden!important
 }
 #annualBars .annual-state,
 #fixAnnualBars .annual-state{
   display:block!important;
   width:100%!important;
   min-width:0!important;
   margin-top:2px!important;
   font-size:6px!important;
   line-height:1.1!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
   text-align:center!important
 }
 /* Restaurant/Fix detail text becomes a compact horizontal info line below each bar */
 #annualBars .annual-label,
 #fixAnnualBars .annual-label{writing-mode:horizontal-tb!important;transform:none!important}
 .annual-chart-card{overflow:hidden!important}
 .annual-chart-card .chart-foot{
   display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
   gap:3px 10px!important;font-size:8px!important
 }
}
@media(max-width:390px){
 #annualBars.annual-bars,#fixAnnualBars.annual-bars{gap:1px!important}
 #annualBars .annual-month,#fixAnnualBars .annual-month{padding-left:0!important;padding-right:0!important}
 #annualBars .annual-track,#fixAnnualBars .annual-track{width:5px!important}
 #annualBars .annual-label,#fixAnnualBars .annual-label{font-size:6.3px!important}
}

/* CANO V60 — Restaurant month detail: hard reset obsolete modal-era rules */
#monthDetailModal.offcanvas.app-sheet{
 display:flex!important;flex-direction:column!important;
 position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;
 width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;
 background:var(--surface)!important;color:var(--text)!important;
 border:0!important;border-top:1px solid var(--line)!important;
 border-radius:16px 16px 0 0!important;
 overflow:hidden!important;transform:translate3d(0,100%,0);
 box-shadow:0 -12px 36px rgba(0,0,0,.16)!important
}
#monthDetailModal.offcanvas.app-sheet.show,
#monthDetailModal.offcanvas.app-sheet.showing{transform:translate3d(0,0,0)!important}
#monthDetailModal.offcanvas.app-sheet .offcanvas-header{
 flex:0 0 auto!important;min-height:54px!important;
 padding:12px 12px 9px!important;margin:0!important;
 background:var(--surface)!important;color:var(--text)!important;
 border-bottom:1px solid var(--line)!important
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-body{
 flex:1 1 auto!important;min-height:0!important;
 width:100%!important;max-width:100%!important;
 padding:9px!important;margin:0!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 background:var(--surface)!important;color:var(--text)!important;
 box-sizing:border-box!important
}
#monthDetailModal.offcanvas.app-sheet .modal-dialog,
#monthDetailModal.offcanvas.app-sheet .modal-content,
#monthDetailModal.offcanvas.app-sheet .modal-header,
#monthDetailModal.offcanvas.app-sheet .modal-body,
#monthDetailModal.offcanvas.app-sheet .modal-footer{all:unset!important;display:none!important}
#monthDetailModal.offcanvas.app-sheet table{
 width:100%!important;max-width:100%!important;table-layout:auto!important;
 color:var(--text)!important;background:transparent!important
}
#monthDetailModal.offcanvas.app-sheet th{
 background:var(--surface-2)!important;color:var(--muted)!important;border-color:var(--line)!important
}
#monthDetailModal.offcanvas.app-sheet td{
 background:transparent!important;color:var(--text)!important;border-color:var(--line)!important
}
@media(max-width:700px){
 #monthDetailModal.offcanvas.app-sheet{
   height:70dvh!important;max-height:70dvh!important;
   padding-bottom:env(safe-area-inset-bottom,0px)!important
 }
 #monthDetailModal.offcanvas.app-sheet .offcanvas-body{
   padding:7px 7px calc(9px + env(safe-area-inset-bottom,0px))!important
 }
 #monthDetailModal.offcanvas.app-sheet table{font-size:9px!important}
 #monthDetailModal.offcanvas.app-sheet th,
 #monthDetailModal.offcanvas.app-sheet td{padding:5px 4px!important}
}

/* Fix month summary: structured KPI cards instead of one compressed line */
#fixMonthDetailModal .fix-month-summary{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:7px!important;padding:0!important;background:transparent!important
}
#fixMonthDetailModal .fix-month-summary .fix-summary-count{
 grid-column:1/-1!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 padding:8px 10px!important;border:1px solid color-mix(in srgb,#7c3aed 18%,var(--line))!important;
 border-radius:10px!important;background:color-mix(in srgb,#7c3aed 7%,var(--surface))!important;
 color:var(--text)!important;font-size:10px!important
}
#fixMonthDetailModal .fix-summary-kpi{
 min-width:0!important;padding:8px!important;border:1px solid var(--line)!important;
 border-radius:10px!important;background:var(--surface-2)!important;
 display:flex!important;flex-direction:column!important;gap:2px!important
}
#fixMonthDetailModal .fix-summary-kpi span{font-size:8px!important;color:var(--muted)!important}
#fixMonthDetailModal .fix-summary-kpi b{font-size:11px!important;color:var(--text)!important;white-space:nowrap!important}
#fixMonthDetailModal .fix-summary-kpi.is-gross{
 border-color:color-mix(in srgb,#7c3aed 28%,var(--line))!important;
 background:color-mix(in srgb,#7c3aed 8%,var(--surface))!important
}
@media(max-width:430px){
 #fixMonthDetailModal .fix-month-summary{grid-template-columns:1fr!important}
 #fixMonthDetailModal .fix-month-summary .fix-summary-count{grid-column:1!important}
 #fixMonthDetailModal .fix-summary-kpi{
   display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important
 }
}

/* CANO V61 — definitive Restaurant Monatsdetail geometry */
#monthDetailModal.offcanvas.app-sheet{
 top:0!important;right:0!important;bottom:0!important;left:auto!important;
 width:min(520px,92vw)!important;max-width:520px!important;
 height:100%!important;max-height:100%!important;
 border-radius:0!important;
 border-left:1px solid var(--line)!important;border-top:0!important;
 transform:translate3d(100%,0,0)!important;
 box-shadow:-12px 0 36px rgba(0,0,0,.14)!important;
}
#monthDetailModal.offcanvas.app-sheet.show,
#monthDetailModal.offcanvas.app-sheet.showing{
 transform:translate3d(0,0,0)!important;
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-header{
 min-height:54px!important;padding:12px!important;
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-body{
 padding:10px!important;overflow:auto!important;
}

/* V61 mobile annual bars: bar occupies its month cell, not a thin line */
@media(max-width:700px){
 #monthDetailModal.offcanvas.app-sheet{
   top:auto!important;right:0!important;bottom:0!important;left:0!important;
   width:100%!important;max-width:100%!important;
   height:70dvh!important;max-height:70dvh!important;
   border-radius:16px 16px 0 0!important;
   border:1px solid var(--line)!important;border-bottom:0!important;
   transform:translate3d(0,100%,0)!important;
   box-shadow:0 -12px 36px rgba(0,0,0,.18)!important;
 }
 #monthDetailModal.offcanvas.app-sheet.show,
 #monthDetailModal.offcanvas.app-sheet.showing{
   transform:translate3d(0,0,0)!important;
 }

 #annualBars.annual-bars,
 #fixAnnualBars.annual-bars{
   grid-template-columns:repeat(12,minmax(0,1fr))!important;
   gap:3px!important;
   padding-left:0!important;padding-right:0!important;
 }
 #annualBars .annual-month,
 #fixAnnualBars .annual-month{
   min-width:0!important;width:100%!important;
   padding:3px 1px!important;
 }
 #annualBars .annual-track,
 #fixAnnualBars .annual-track{
   width:100%!important;max-width:none!important;
   min-width:0!important;
   height:78px!important;min-height:78px!important;
   margin:0!important;
   border-radius:4px!important;
   overflow:hidden!important;
 }
 #annualBars .annual-fill,
 #fixAnnualBars .annual-fill{
   width:100%!important;min-width:100%!important;max-width:100%!important;
   border-radius:3px 3px 1px 1px!important;
 }
}
@media(max-width:390px){
 #annualBars.annual-bars,#fixAnnualBars.annual-bars{gap:2px!important}
 #annualBars .annual-track,#fixAnnualBars .annual-track{width:100%!important}
}

/* CANO V62 — Restaurant sheet header alignment */
#monthDetailModal.offcanvas.app-sheet .offcanvas-header{
 display:flex!important;flex-direction:row!important;
 align-items:center!important;justify-content:space-between!important;
 text-align:left!important;width:100%!important;box-sizing:border-box!important
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-header>div{
 flex:1 1 auto!important;min-width:0!important;
 margin:0!important;padding:0!important;text-align:left!important
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-header .dashboard-eyebrow,
#monthDetailModal.offcanvas.app-sheet .offcanvas-header .modal-title{
 display:block!important;width:auto!important;
 margin-left:0!important;margin-right:0!important;
 text-align:left!important
}
#monthDetailModal.offcanvas.app-sheet .offcanvas-header .btn-close{
 flex:0 0 auto!important;margin:0 0 0 12px!important;padding:8px!important
}

/* Fix annual card already owns the violet surface: remove the second tile background */
.fix-chart-card #fixAnnualBars .annual-month{
 background:transparent!important;
 border-color:transparent!important;
 box-shadow:none!important
}
.fix-chart-card #fixAnnualBars .annual-month:hover{
 background:color-mix(in srgb,#7c3aed 5%,transparent)!important
}
.fix-chart-card #fixAnnualBars .annual-track{
 background:color-mix(in srgb,#7c3aed 10%,var(--surface-2))!important
}

/* Four equal mobile navigation destinations */
@media(max-width:700px){
 #appBottomNav.app-bottom-nav{
   grid-template-columns:repeat(4,minmax(0,1fr))!important
 }
 #appBottomNav.app-bottom-nav button{
   min-width:0!important;padding-left:3px!important;padding-right:3px!important
 }
 #appBottomNav.app-bottom-nav button span{
   font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
 }
}

/* CANO V63 — full-width flush header, no separate topbar card */
html,body{margin-top:0!important;padding-top:0!important}
body>header,.app-header,.main-header,.top-header{
 margin-top:0!important;top:0!important;
 border-radius:0!important
}
.app-header{
 width:100%!important;max-width:none!important;
 margin-left:0!important;margin-right:0!important;
 padding-left:max(18px,env(safe-area-inset-left,0px))!important;
 padding-right:max(18px,env(safe-area-inset-right,0px))!important;
 background:var(--surface)!important;
 border-top:0!important;
 border-left:0!important;border-right:0!important;
 box-shadow:none!important
}
.app-topbar{
 width:100%!important;max-width:none!important;
 margin:0!important;
 background:transparent!important;
 background-image:none!important;
 border:0!important;border-radius:0!important;
 box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important
}
.app-topbar:before,.app-topbar:after{
 background:transparent!important;box-shadow:none!important;border:0!important
}

/* Mobile header belongs to normal document flow and scrolls away */
@media(max-width:700px){
 body>header,.app-header,.top-header,.main-header,.topbar,.app-topbar{
   position:static!important;
   inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
   transform:none!important
 }
 .app-header{
   width:100%!important;max-width:100%!important;
   margin:0!important;
   padding-left:max(10px,env(safe-area-inset-left,0px))!important;
   padding-right:max(10px,env(safe-area-inset-right,0px))!important
 }
 .app-topbar{margin:0!important;width:100%!important}
}

/* CANO V64 — header architecture correction:
   #page-topbar = ONE full-width background
   .app-topbar/.app-topbar-inner = transparent layout containers */
#page-topbar{
 top:0!important;
 margin:0!important;
 border-radius:0!important;
 background:var(--surface)!important;
 background-image:none!important;
 border-left:0!important;border-right:0!important;border-top:0!important;
 box-shadow:none!important;
 width:100%!important;
}

/* Do NOT stretch or repaint the menu/header containers */
#page-topbar .app-topbar,
#page-topbar .app-topbar-inner{
 background:transparent!important;
 background-image:none!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
#page-topbar .app-topbar{
 margin-left:auto!important;
 margin-right:auto!important;
}
/* undo V63's forced full-width/padding on inner header container */
#page-topbar .app-header{
 max-width:var(--app-max,1280px)!important;
 margin-left:auto!important;
 margin-right:auto!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
}

/* Mobile: header is plain document content — never follows viewport */
@media(max-width:700px){
 #page-topbar,
 #page-topbar .app-header,
 #page-topbar .app-topbar,
 #page-topbar .app-topbar-inner{
   position:static!important;
   top:auto!important;
   right:auto!important;
   bottom:auto!important;
   left:auto!important;
   inset:auto!important;
   transform:none!important;
 }
 #page-topbar{
   width:100%!important;
   margin:0!important;
   border-radius:0!important;
 }
 #page-topbar .app-header{
   width:auto!important;
   max-width:var(--app-max,1280px)!important;
   margin-left:auto!important;
   margin-right:auto!important;
 }
}

/* CANO V65 — no sticky-header spacer; topbar inner aligns with page content */
@media(max-width:760px){
 .page-content{
   padding-top:0!important;
 }
}

/* Outer topbar remains full bleed; only inner content follows the page container */
#page-topbar{
 width:100%!important;
 padding-left:0!important;
 padding-right:0!important;
}
#page-topbar .app-topbar-inner{
 width:100%!important;
 max-width:1280px!important;
 margin-left:auto!important;
 margin-right:auto!important;
 padding-left:18px!important;
 padding-right:18px!important;
 box-sizing:border-box!important;
}
.page-content{
 box-sizing:border-box!important;
}

/* Match the actual page gutters on mobile too */
@media(max-width:760px){
 #page-topbar .app-topbar-inner{
   width:100%!important;
   max-width:100%!important;
   margin:0 auto!important;
   padding-left:12px!important;
   padding-right:12px!important;
   box-sizing:border-box!important;
 }
}

/* CANO V66 — app-topbar-inner MUST equal .container-fluid exactly */
#page-topbar .app-topbar-inner{
 width:min(var(--app-max),calc(100% - 40px))!important;
 max-width:none!important;
 margin:auto!important;
 padding:0!important;
 box-sizing:border-box!important;
}

/* Existing mobile .container-fluid is calc(100% - 18px): keep header on same rails */
@media(max-width:760px){
 #page-topbar .app-topbar-inner{
   width:calc(100% - 18px)!important;
   max-width:none!important;
   margin:auto!important;
   padding:0!important;
 }
}

/* CANO V67 — SINGLE CANONICAL TOPBAR DEFINITION.
   Legacy fixed/floating topbar geometry is intentionally neutralized above. */
#page-topbar.app-topbar,
#page-topbar{
 position:static!important;
 inset:auto!important;
 top:auto!important;
 right:auto!important;
 bottom:auto!important;
 left:auto!important;
 width:100%!important;
 max-width:none!important;
 height:auto!important;
 min-height:var(--topbar-h)!important;
 margin:0!important;
 padding:0!important;
 z-index:1040!important;
 background:var(--surface)!important;
 background-image:none!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 transform:none!important;
}
#page-topbar .app-topbar-inner{
 width:min(var(--app-max),calc(100% - 40px))!important;
 max-width:none!important;
 min-height:var(--topbar-h)!important;
 height:auto!important;
 margin:auto!important;
 padding:0!important;
 box-sizing:border-box!important;
 background:transparent!important;
 background-image:none!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
@media(max-width:760px){
 #page-topbar.app-topbar,#page-topbar{
   position:static!important;
   inset:auto!important;
   margin:0!important;
   border-radius:0!important;
 }
 #page-topbar .app-topbar-inner{
   width:calc(100% - 18px)!important;
   max-width:none!important;
   margin:auto!important;
   padding:0!important;
 }
 .page-content{padding-top:0!important}
}

/* CANO V68 — page content spacing for a non-fixed header */
.page-content{
 padding:18px 0 40px!important;
}
@media(max-width:760px){
 .page-content{
   padding:12px 0 92px!important;
 }
}

/* CANO V69 — Restaurant Deaktivieren back to simple centered footer action */
#AproductModal .restaurant-detail-danger{
 position:static!important;
 inset:auto!important;
 order:999!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 margin:22px 0 4px!important;
 padding:16px 0 2px!important;
 background:transparent!important;
 background-image:none!important;
 border:0!important;
 border-top:1px solid var(--line)!important;
 border-radius:0!important;
 box-shadow:none!important;
 color:inherit!important;
}
#AproductModal .restaurant-detail-danger::before,
#AproductModal .restaurant-detail-danger::after{
 display:none!important;
 content:none!important;
}
#AproductModal .restaurant-detail-danger .btn,
#AproductModal .restaurant-detail-danger button{
 width:auto!important;
 min-width:150px!important;
 max-width:100%!important;
 margin:0 auto!important;
 box-shadow:none!important;
}

/* CANO V70 — no extra separator/card around deactivate */
#AproductModal .restaurant-detail-danger{
 position:static!important;
 order:initial!important;
 margin:20px 0 4px!important;
 padding:8px 0 2px!important;
 border:0!important;
 border-top:0!important;
 border-bottom:0!important;
 background:transparent!important;
 box-shadow:none!important;
 border-radius:0!important;
 justify-content:center!important;
}

/* CANO V74 — Abrechnung: restore original HTML/native table behavior */
#AproductModal #abrechnung_table{
 display:block!important;
 width:100%!important;
 max-width:none!important;
 overflow:visible!important;
}
#AproductModal #abrechnung_table > table{
 display:table!important;
 width:100%!important;
 max-width:none!important;
 table-layout:auto!important;
 border-collapse:separate!important;
 border-spacing:2px!important;
}
#AproductModal #abrechnung_table table tbody{display:table-row-group!important}
#AproductModal #abrechnung_table table tr{display:table-row!important}
#AproductModal #abrechnung_table table td,
#AproductModal #abrechnung_table table th{
 display:table-cell!important;
 width:auto!important;
 max-width:none!important;
 min-width:0!important;
 white-space:normal!important;
 overflow:visible!important;
 text-overflow:clip!important;
 box-sizing:content-box!important;
}
/* Preserve HTML align attributes exactly like the original output */
#AproductModal #abrechnung_table td[align="center"],
#AproductModal #abrechnung_table th[align="center"]{text-align:center!important}
#AproductModal #abrechnung_table td[align="right"],
#AproductModal #abrechnung_table th[align="right"]{text-align:right!important}
#AproductModal #abrechnung_table td[align="left"],
#AproductModal #abrechnung_table th[align="left"]{text-align:left!important}

/* Nested Steuer table stays naturally inside its colspan cell */
#AproductModal #abrechnung_table td[colspan="3"] > table{
 display:table!important;
 width:100%!important;
 max-width:none!important;
 table-layout:auto!important;
 border-collapse:separate!important;
 border-spacing:2px!important;
}
#AproductModal #abrechnung_table hr{
 width:100%!important;
 max-width:none!important;
 margin:8px 0!important;
}

/* Zeitraum remains flat as requested */
#AproductModal .zeitraum-card{
 width:100%!important;max-width:none!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
