:root {
  --paper: #fbf8f3;
  --paper-deep: #f5ecdf;
  --ink: #28251f;
  --muted: #81796f;
  --line: #e7d8c5;
  --copper: #d98561;
  --copper-dark: #a75f3d;
  --gold: #d9a255;
  --olive: #6b7040;
  --olive-dark: #555a34;
  --brown: #40362a;
  --green: #71874c;
  --red: #cf4d4d;
  --shadow: 0 2px 10px rgba(85, 63, 39, .035);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(218, 174, 124, .09), transparent 28%),
    linear-gradient(90deg, rgba(247, 238, 225, .82), rgba(253, 251, 247, .95) 24%, #fbfaf7);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.42;
}

button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 242px;
  overflow-y: auto;
  padding: 22px 17px 26px;
  color: #282721;
  border-right: 1px solid rgba(215, 185, 151, .35);
  background:
    radial-gradient(circle at 45% 16%, rgba(255,255,255,.82), transparent 28%),
    linear-gradient(180deg, #f7ecdc 0%, #fbf2e5 54%, #f6ead8 100%);
  scrollbar-width: thin;
}
.sidebar::after {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
.sidebar > * { position: relative; z-index: 1; }
.brand {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 19px;
  color: #a85e40;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}
.brand:hover { color: #a85e40; transform: translateY(-1px); }
.brand:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 6px; }
.brand-name {
  font: 500 29px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 1.7px;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  margin-top: 5px;
  color: #71685f;
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: .15px;
  line-height: 1;
  white-space: nowrap;
}
.main-nav { display: grid; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 43px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}
.nav-item svg { width: 22px; height: 22px; color: var(--copper); stroke-width: 1.7; }
.nav-item:hover { background: rgba(255,255,255,.42); color: var(--copper-dark); }
.nav-item.active { border-color: rgba(217,133,97,.52); color: var(--copper-dark); background: rgba(255,248,238,.58); }
.nav-item.active svg { fill: rgba(217,133,97,.66); color: var(--copper); }

.connections { margin-top: 22px; padding: 12px 13px 11px; border: 1px solid rgba(217,133,97,.55); border-radius: 10px; }
.connections h2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; }
.connections ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.connections li { display: grid; grid-template-columns: 16px 1fr auto auto; align-items: center; gap: 6px; font-size: 9.5px; }
.connections svg { width: 15px; height: 15px; color: var(--copper); }
.connections small { color: #786f62; font-size: 8.5px; }
.connections b { color: var(--green); font-size: 12px; }
.sidebar-logo { display: flex; align-items: center; justify-content: center; width: 205px; min-height: 145px; margin: 24px auto 0; overflow: hidden; z-index: auto; }
.sidebar-logo img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

.main-content { min-height: 100vh; margin-left: 242px; padding: 20px 28px 14px; }
.topbar { height: 72px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.title-wrap { display: flex; align-items: center; gap: 12px; }
.topbar h1 { margin: 0; font-size: 25px; letter-spacing: -.5px; line-height: 1.15; }
.topbar p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.header-actions { display: flex; align-items: center; gap: 18px; padding-top: 9px; }
.updated { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #59554e; white-space: nowrap; }
.updated svg { width: 17px; height: 17px; }
.app-launch { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 11px; border: 1px solid #d6b493; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #747747, #5b6035); font-size: 10px; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 10px rgba(83,86,48,.13); transition: transform .18s ease, box-shadow .18s ease; }
.app-launch:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(83,86,48,.18); }
.app-launch svg { width: 15px; height: 15px; color: #efb779; }
.icon-button { width: 30px; height: 30px; padding: 5px; border: 0; background: transparent; cursor: pointer; position: relative; }
.icon-button svg { width: 20px; height: 20px; stroke-width: 2; }
.notification-button b { position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--red); color: #fff; font-size: 8px; }
.notification-button b[hidden] { display: none; }
.notification-button:hover, .notification-button[aria-expanded="true"] { color: var(--copper-dark); background: rgba(217,133,97,.1); border-radius: 8px; }
.notifications { position: relative; display: flex; }
.notification-panel { position: absolute; z-index: 55; top: 41px; right: -52px; width: min(360px, calc(100vw - 22px)); border: 1px solid #dfcdb9; border-radius: 14px; background: rgba(255,252,247,.98); box-shadow: 0 18px 50px rgba(66,48,29,.2); overflow: hidden; color: var(--ink); }
.notification-panel::before { content: ""; position: absolute; top: -7px; right: 58px; width: 12px; height: 12px; transform: rotate(45deg); border-left: 1px solid #dfcdb9; border-top: 1px solid #dfcdb9; background: #fffaf5; }
.notification-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 17px 13px; border-bottom: 1px solid #eadfd2; background: linear-gradient(135deg, #fffaf5, #f8eee2); }
.notification-header h2 { margin: 0; color: #47372c; font-size: 16px; line-height: 1.2; }
.notification-header p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.notification-header button { padding: 2px 0; border: 0; background: transparent; color: var(--copper-dark); font-size: 11px; font-weight: 600; cursor: pointer; }
.notification-header button:hover { text-decoration: underline; }
.notification-list { display: grid; }
.notification-item { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 11px; width: 100%; padding: 13px 17px; border: 0; border-bottom: 1px solid #eee4d9; background: transparent; text-align: left; cursor: pointer; }
.notification-item.unread { background: rgba(217,133,97,.045); }
.notification-item.unread::after { content: ""; position: absolute; top: 17px; right: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.notification-item:hover { background: #fbf1e5; }
.notification-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.notification-symbol.critical { color: #b83f3f; background: #f9dfdc; }
.notification-symbol.warning { color: #996425; background: #f6ead1; }
.notification-symbol.positive { color: #627c3f; background: #e5ecd9; font-size: 17px; }
.notification-item strong, .notification-item small, .notification-item em { display: block; padding-right: 10px; }
.notification-item strong { color: #3f352d; font-size: 13px; line-height: 1.3; }
.notification-item small { margin-top: 3px; color: #625b53; font-size: 11px; line-height: 1.35; }
.notification-item em { margin-top: 4px; color: #9a9085; font-size: 9px; font-style: normal; }
.notification-footer { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 44px; border: 0; background: #fffaf5; color: #70513d; font-size: 12px; font-weight: 700; cursor: pointer; }
.notification-footer:hover { color: var(--copper-dark); background: #f9eee1; }
.notification-footer span { font-size: 17px; }
.notification-panel[hidden] { display: none; }
.profile { display: flex; align-items: center; gap: 10px; margin-left: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e7c185; overflow: hidden; }
.avatar::before { content: ""; width: 13px; height: 13px; margin-top: 5px; border-radius: 50%; background: #28251f; }
.avatar span { width: 27px; height: 15px; margin-top: -1px; border-radius: 50% 50% 0 0; background: #28251f; }
.profile strong, .profile small { display: block; font-size: 12px; }.profile small { margin-top: 1px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 38px; height: 38px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 4px 0; }

.kpi-area { display: grid; grid-template-columns: 1fr 166px; gap: 12px; margin: 11px 0 13px; }
.kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.kpi-card, .panel { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.38); box-shadow: var(--shadow); }
.kpi-card { min-width: 0; height: 137px; padding: 20px 17px 15px; transition: transform .18s ease, box-shadow .18s ease; }
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 9px 25px rgba(85,63,39,.08); }
.kpi-label { display: flex; align-items: center; gap: 12px; color: #514133; text-transform: uppercase; font-size: 10.5px; white-space: nowrap; }
.kpi-label svg { width: 26px; height: 26px; color: var(--copper-dark); flex: 0 0 auto; stroke-width: 1.9; }
.kpi-card > strong { display: block; margin-top: 14px; text-align: center; color: #563b29; font-size: 23px; font-weight: 600; white-space: nowrap; }
.kpi-meta { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-top: 16px; font-size: 10px; color: #5e574f; }
.kpi-meta em, .finance-list em, .shop-stats em { margin-left: auto; font-style: normal; white-space: nowrap; }
.up, .down-good { color: #6c8748; }.danger { color: var(--red); }
.quick-actions { display: grid; grid-template-rows: 46px 1fr; gap: 10px; }
.ai-shortcut, .tasks-shortcut { width: 100%; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.ai-shortcut { display: flex; align-items: center; justify-content: center; gap: 9px; border-color: var(--olive-dark); background: linear-gradient(135deg, #777848, #646638); color: white; box-shadow: inset 0 1px rgba(255,255,255,.15); }
.ai-shortcut svg { width: 19px; height: 19px; color: #e7ad6b; }
.tasks-shortcut { display: flex; gap: 13px; align-items: flex-start; padding: 14px 13px; background: rgba(255,255,255,.34); text-align: left; }
.tasks-shortcut svg { width: 25px; height: 25px; color: var(--copper-dark); flex: 0 0 auto; }
.tasks-shortcut span > * { display: block; font-style: normal; }.tasks-shortcut small { text-transform: uppercase; font-size: 10px; }.tasks-shortcut strong { font-size: 21px; line-height: 1.3; }.tasks-shortcut em { font-size: 9px; color: var(--muted); }

.dashboard-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.span-3 { grid-column: span 3; }.span-4 { grid-column: span 4; }.span-5 { grid-column: span 5; }.span-12 { grid-column: span 12; }
.panel { min-width: 0; min-height: 253px; padding: 14px 14px 12px; overflow: hidden; }
.panel h2 { margin: 0; color: #4a3b30; font-size: 15px; line-height: 1.2; text-transform: uppercase; letter-spacing: .35px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 25px; margin-bottom: 7px; }
.panel-heading select { max-width: 155px; height: 32px; border: 1px solid var(--line); border-radius: 7px; padding: 0 24px 0 9px; background: #fffaf4; color: #5f574e; font-size: 12px; outline: none; cursor: pointer; }
.panel-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 14px; font-weight: 600; }.panel-link span { font-size: 18px; }
.panel-link:hover { color: var(--copper-dark); }

.ai-summary, .ai-assistant { color: white; border-color: #5f6138; background:
  linear-gradient(rgba(0,0,0,.02), rgba(0,0,0,.02)),
  radial-gradient(circle at 90% 10%, rgba(255,255,255,.08), transparent 30%),
  #666a3e;
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 5px 17px rgba(71,74,42,.12);
}
.ai-summary { padding: 18px 16px 15px; display: flex; flex-direction: column; }
.ai-summary h2, .ai-assistant h2 { color: #fff; display: flex; align-items: center; gap: 8px; }
.ai-summary h2 svg, .ai-assistant h2 svg { width: 19px; height: 19px; color: #e7ad6b; }
.ai-summary p { margin: 18px 0 14px; font-size: 15px; line-height: 1.62; }
.outline-button { width: fit-content; margin-top: auto; min-height: 41px; border: 1px solid #c79065; border-radius: 7px; padding: 0 15px; background: rgba(255,255,255,.03); color: #efbd91; font-size: 14px; cursor: pointer; }.outline-button span { margin-left: 8px; }

.legend { height: 31px; display: flex; align-items: center; gap: 8px; padding-left: 36px; color: #6f655c; font-size: 12px; }
.legend-solid { width: 21px; height: 7px; border-radius: 3px; background: var(--gold); }.legend-dash { width: 20px; height: 1px; margin-left: 12px; border-top: 1px dashed #978b7d; }
.line-chart { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: 1fr 18px; height: 190px; }
.y-labels { display: flex; flex-direction: column; justify-content: space-between; height: 155px; padding: 1px 0; color: #5e574f; font-size: 12px; }
.line-chart svg { width: 100%; height: 155px; overflow: visible; }
.grid-lines line { stroke: #eae2d9; stroke-width: 1; }.line { fill: none; stroke-width: 2; }.line.previous { stroke: #b6aa9d; stroke-dasharray: 7 7; }.line.current { stroke: #d38f3e; }.current-dots { fill: #d38f3e; stroke: #c17b2c; stroke-width: 1; }.previous-dots { fill: #bbb0a4; stroke: none; }
.x-labels { grid-column: 2; display: flex; justify-content: space-between; padding: 1px 6px 0 10px; font-size: 12px; }

.costs-body { display: grid; grid-template-columns: minmax(150px, 1fr) 1fr; align-items: center; gap: 10px; }
.donut { width: 150px; height: 150px; margin: 1px auto 2px; border-radius: 50%; background: conic-gradient(var(--gold) 0 51%, #7d914e 51% 84%, var(--brown) 84% 95%, #d9c8b5 95% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 31px; border-radius: 50%; background: #fffaf5; }
.donut > div { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; text-align: center; }.donut small { font-size: 12px; }.donut strong { margin-top: 4px; font-size: 17px; }
.cost-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cost-legend li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }.cost-legend i { width: 20px; height: 7px; border-radius: 3px; }.cost-legend .gold { background: var(--gold); }.cost-legend .olive { background: #7d914e; }.cost-legend .brown { background: var(--brown); }.cost-legend .cream { background: #d9c8b5; }.cost-legend b { font-weight: 500; }
.goal-row { display: flex; align-items: center; gap: 11px; padding: 0 8px; font-size: 12px; }.goal-row b { color: var(--green); font-size: 18px; }
.progress { height: 7px; margin: 4px 7px 0; border-radius: 5px; background: #eadfd3; overflow: hidden; }.progress i { display: block; width: 89%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #789250, #6d8246); }

.finance-list { display: grid; font-size: 12.5px; }
.finance-list > div { display: grid; grid-template-columns: 1fr 91px 50px; align-items: center; min-height: 23px; }.finance-list strong { font-weight: 600; text-align: right; }.finance-list em { text-align: right; }.finance-list .subtotal { border-bottom: 1px solid var(--line); font-weight: 700; }.finance-list .result { grid-template-columns: 1fr 91px; min-height: 33px; margin-bottom: 3px; border-bottom: 1px solid var(--line); font-weight: 700; }
.finance-panel, .dishes-panel, .webshop-panel { min-height: 273px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11.5px; white-space: nowrap; }
th { height: 22px; text-align: left; font-size: 10.5px; font-weight: 500; color: #5c5247; }th:not(:first-child), td:not(:first-child) { text-align: right; }
td { height: 35px; border-top: 1px solid #eee5da; }
.dish-emoji { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 7px; border-radius: 50%; background: #f0ddc6; font-size: 17px; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(139,95,50,.12); }

.shop-body { display: grid; grid-template-columns: 1.08fr 1fr; gap: 12px; align-items: center; }
.jars { height: 177px; border-radius: 10px; background: radial-gradient(circle at 50% 16%, #fffdfa, #edddc5); display: flex; align-items: flex-end; justify-content: center; gap: -2px; padding: 20px 8px 22px; }
.jar { position: relative; width: 53px; height: 112px; margin: 0 -2px; border-radius: 7px 7px 15px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(79,60,35,.22); box-shadow: 2px 5px 8px rgba(64,45,24,.17), inset 5px 0 rgba(255,255,255,.16); transform-origin: bottom; }
.jar:nth-child(2) { z-index: 2; height: 121px; width: 58px; }.jar:nth-child(1) { transform: rotate(-2deg); }.jar:nth-child(3) { transform: rotate(2deg); }
.jar i { position: absolute; top: -11px; left: -2px; right: -2px; height: 15px; border-radius: 5px 5px 2px 2px; background: repeating-linear-gradient(90deg, #252017 0 5px, #3d3529 5px 8px); box-shadow: 0 2px 2px rgba(0,0,0,.25); }
.jar b { width: 86%; padding: 9px 0 5px; background: rgba(50,52,30,.88); color: #e4bc68; text-align: center; font: 15px Georgia,serif; }.jar small { width: 86%; height: 27px; background: rgba(50,52,30,.88); color: #ecd798; text-align: center; font-size: 6px; letter-spacing: .8px; }.jar-green { background: linear-gradient(90deg,#9aa06b,#c0c79b); }.jar-gold { background: linear-gradient(90deg,#ca9e43,#e7c36d); }.jar-orange { background: linear-gradient(90deg,#bd7044,#d68d63); }
.shop-stats { display: grid; gap: 12px; font-size: 12px; }.shop-stats > div { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; align-items: center; }.shop-stats strong { text-align: right; font-size: 13px; }.shop-stats em { font-size: 10.5px; }
.webshop-panel[data-href] { cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.webshop-panel[data-href]:hover, .webshop-panel[data-href]:focus-visible { transform: translateY(-2px); border-color: rgba(217,133,97,.7); box-shadow: 0 10px 28px rgba(85,63,39,.1); outline: none; }
.webshop-panel[data-href]:hover .panel-link { color: var(--copper-dark); }

.guest-communication-panel{display:grid;grid-template-columns:minmax(265px,1.2fr) minmax(420px,2fr) auto;align-items:center;gap:18px;min-height:154px;padding:17px 18px;background:linear-gradient(105deg,rgba(255,255,255,.52),rgba(247,238,226,.58))}
.guest-communication-intro{display:flex;align-items:center;gap:13px}.guest-communication-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:13px;background:#666a3e;color:#efbd91}.guest-communication-icon svg{width:23px;height:23px}.guest-eyebrow{display:block;margin-bottom:3px;color:#a86747;font-size:9px;font-weight:800;letter-spacing:.65px}.guest-communication-panel h2{font-size:14px;text-transform:none;letter-spacing:0}.guest-communication-panel p{margin:5px 0 0;color:#726960;font-size:10px;line-height:1.45}.guest-communication-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.guest-communication-metrics a{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;min-height:84px;padding:9px;border:1px solid #e7dacd;border-radius:9px;background:#fffaf5;transition:.18s ease}.guest-communication-metrics a:hover{transform:translateY(-2px);border-color:#d69a78;box-shadow:0 6px 16px rgba(87,61,37,.07)}.guest-communication-metrics span{font-size:8.5px;font-weight:750}.guest-communication-metrics strong{grid-column:2;grid-row:1/span 2;color:#5f633c;font-size:21px}.guest-communication-metrics small{color:#7d746b;font-size:8px}.guest-communication-metrics em{position:absolute;right:6px;bottom:5px;padding:2px 4px;border-radius:8px;background:#f1e2c8;color:#94632c;font-size:6px;font-style:normal;font-weight:750;text-transform:uppercase}.guest-communication-link{display:flex;align-items:center;gap:9px;min-width:max-content;padding:10px 12px;border:1px solid #d3a483;border-radius:8px;color:#a45b3d;font-size:10px;font-weight:750}.guest-communication-link:hover{background:#fff7ef}.guest-communication-link span{font-size:15px}

.tasks-panel, .cashflow-panel, .ai-assistant { min-height: 224px; }
.badge { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 8px; border-radius: 50%; background: var(--red); color: white; font-size: 10px; }
.task-list { display: grid; }
.task-list button { display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 7px; min-height: 42px; padding: 0; border: 0; border-bottom: 1px solid #eee5da; background: transparent; text-align: left; font-size: 11.5px; cursor: pointer; }.task-list button:hover span { color: var(--copper-dark); }.task-icon { display: grid; place-items: center; width: 15px; height: 15px; color: #e2a452; font-style: normal; font-weight: 700; }.danger-ring { border: 1px solid var(--red); color: var(--red); border-radius: 50%; }.priority { position: relative; padding-left: 9px; color: #49443f; font-size: 10.5px; white-space: nowrap; }.priority::before { content: ""; position: absolute; left: 0; top: 4px; width: 6px; height: 6px; background: #e7978d; }.priority.medium::before { background: #e6b16f; }

.cashflow-chart { display: grid; grid-template-columns: 36px 1fr; height: 139px; margin-top: 8px; }
.cash-y { display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 8px; font-size: 11.5px; }
.cash-plot { position: relative; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 13px 19px; }
.cash-grid { position: absolute; inset: 0 0 19px; display: flex; flex-direction: column; justify-content: space-between; }.cash-grid i { border-top: 1px solid #eae2d9; }
.bar-group { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 5px; width: 47px; height: 100%; }.bar-group i, .bar-group b { width: 14px; border-radius: 2px 2px 0 0; }.bar-group i { background: linear-gradient(90deg,#66764b,#8b9a6a); }.bar-group b { background: linear-gradient(90deg,#d8a057,#e6ba78); }.bar-group span { position: absolute; left: -4px; bottom: -20px; width: 55px; text-align: center; font-size: 11px; }
.cash-plot svg { position: absolute; z-index: 2; inset: 0 0 19px; width: 100%; height: calc(100% - 19px); pointer-events: none; }.cash-plot polyline { fill: none; stroke: #252521; stroke-width: 2; vector-effect: non-scaling-stroke; }.cash-plot circle { fill: #24231f; stroke: none; }
.cash-legend { display: flex; justify-content: center; gap: 25px; font-size: 11px; }.cash-legend span { display: flex; align-items: center; gap: 5px; }.cash-legend i { width: 18px; height: 6px; border-radius: 2px; }.cash-legend .income { background: #758753; }.cash-legend .expense { background: #dca457; }.cash-legend .balance { height: 1px; background: #24231f; position: relative; }.cash-legend .balance::after { content: ""; position: absolute; width: 5px; height: 5px; left: 7px; top: -2px; border-radius: 50%; background: #24231f; }

.ai-assistant { padding: 13px; }
.suggestions { display: grid; gap: 5px; margin: 12px 0 11px; }.suggestions button { height: 34px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; background: rgba(255,255,255,.02); color: #fff; text-align: left; font-size: 11.5px; cursor: pointer; }.suggestions button:hover { background: rgba(255,255,255,.09); }
.assistant-form { display: grid; grid-template-columns: 1fr 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #fff; }.assistant-form input { min-width: 0; border: 0; outline: 0; padding: 0 12px; font-size: 12px; }.assistant-form button { border: 0; background: linear-gradient(135deg,#e3a177,#d77f5d); color: white; cursor: pointer; font-size: 16px; }

footer { display: flex; justify-content: space-between; align-items: center; min-height: 45px; gap: 20px; padding: 12px 0 0; font-size: 8.5px; color: #6d6861; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 10px 16px; border-radius: 8px; background: #343526; color: white; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 8px 26px rgba(0,0,0,.2); }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sidebar-scrim { display: none; }

@media (max-width: 1270px) {
  .main-content { padding-inline: 18px; }
  .kpi-area { grid-template-columns: 1fr 145px; }
  .kpi-card { padding-inline: 12px; }
  .kpi-label { font-size: 9px; gap: 7px; }
  .kpi-card > strong { font-size: 20px; }
  .span-3 { grid-column: span 4; }.span-5 { grid-column: span 8; }.costs-panel { grid-column: span 12; }
  .costs-body { grid-template-columns: 1fr 1fr; max-width: 540px; margin: auto; }
  .guest-communication-panel{grid-template-columns:1fr 2fr}.guest-communication-link{grid-column:1/span 2;justify-self:end;margin-top:-8px}
}

@media (max-width: 1050px) {
  .sidebar { transform: translateX(-102%); transition: transform .25s ease; box-shadow: 12px 0 35px rgba(54,43,28,.16); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim { display: block; position: fixed; z-index: 29; inset: 0; background: rgba(36,31,24,.28); opacity: 0; pointer-events: none; transition: opacity .25s ease; }.sidebar-scrim.show { opacity: 1; pointer-events: auto; }
  .main-content { margin-left: 0; }
  .menu-toggle { display: block; }
}

@media (max-width: 820px) {
  .topbar { height: 66px; align-items: flex-start; }.topbar h1 { font-size: 21px; }.topbar p { font-size: 12px; }
  .header-actions { gap: 7px; padding-top: 4px; }.updated, .profile div { display: none; }.profile { padding-left: 8px; margin-left: 0; }.avatar { width: 32px; height: 32px; }
  .kpi-area { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: 1fr 1fr; grid-template-rows: 48px; }.tasks-shortcut { padding: 8px 14px; align-items: center; }.tasks-shortcut span { display: flex; gap: 8px; align-items: center; }.tasks-shortcut span em { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.kpi-card:last-child { grid-column: span 2; }.kpi-card { height: 126px; }
  .span-3, .span-4, .span-5, .costs-panel { grid-column: span 6; }
  .revenue-panel, .costs-panel, .ai-summary { grid-column: span 12; }
  .ai-summary { min-height: 230px; }
  .guest-communication-panel{grid-template-columns:1fr}.guest-communication-link{grid-column:1;justify-self:start;margin-top:0}.guest-communication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 610px) {
  body { font-size: 12px; }
  .main-content { padding: 13px 11px 10px; }
  .topbar { height: 60px; }.menu-toggle { margin-left: -6px; }.title-wrap { gap: 5px; }.topbar h1 { font-size: 19px; }.topbar p { font-size: 10px; }
  .header-actions > .icon-button:first-of-type { display: none; }.profile { border: 0; }
  .app-launch { width: 32px; padding: 0; justify-content: center; }.app-launch span { display: none; }
  .notification-panel { position: fixed; top: 61px; right: 11px; left: 11px; width: auto; }
  .notification-panel::before { right: 45px; }
  .kpi-grid { grid-template-columns: 1fr; }.kpi-card, .kpi-card:last-child { grid-column: span 1; }.kpi-card { height: 113px; padding: 14px 15px; }.kpi-card > strong { margin-top: 8px; }.kpi-meta { margin-top: 9px; }
  .dashboard-grid { gap: 10px; }.span-3, .span-4, .span-5, .costs-panel { grid-column: span 12; }
  .panel { min-height: unset; }.revenue-panel { min-height: 260px; }.finance-panel, .dishes-panel, .webshop-panel { min-height: 270px; }.tasks-panel, .cashflow-panel, .ai-assistant { min-height: 225px; }
  .costs-body { grid-template-columns: 1fr 1fr; }.donut { width: 132px; height: 132px; }.donut::after { inset: 27px; }
  .shop-body { grid-template-columns: 1.05fr 1fr; }.jars { height: 175px; }
  .priority { display: none; }.task-list button { grid-template-columns: 17px 1fr; }
  .quick-actions { grid-template-columns: 1fr; grid-template-rows: 45px 58px; }.tasks-shortcut span { width: 100%; justify-content: space-between; }
  .guest-communication-metrics{grid-template-columns:1fr 1fr}.guest-communication-panel{padding:15px}.guest-communication-intro{align-items:flex-start}
  footer { padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
