@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --red: #e31c25;
  --red-dark: #b9131b;
  --yellow: #f8c915;
  --yellow-soft: #fff4bf;
  --ink: #1e222b;
  --muted: #727784;
  --line: #e8e9ed;
  --surface: #ffffff;
  --background: #f5f5f7;
  --green: #20a56b;
  --blue: #4274e7;
  --shadow: 0 18px 55px rgba(28, 29, 34, 0.09);
  --soft-shadow: 0 8px 28px rgba(28, 29, 34, 0.06);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--background); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
svg { width: 20px; height: 20px; stroke-width: 2; }
.hidden { display: none !important; }

.login-screen {
  min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(248,201,21,.25), transparent 28%), linear-gradient(135deg, #faf7ee 0%, #fff 50%, #f9eded 100%);
}
.login-screen::before { content: ''; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(#d4971d 1px, transparent 1px); background-size: 28px 28px; }
.login-glow { position: absolute; border-radius: 999px; filter: blur(12px); animation: float 7s ease-in-out infinite; }
.glow-one { width: 320px; height: 320px; background: rgba(227,28,37,.15); right: -80px; top: -70px; }
.glow-two { width: 260px; height: 260px; background: rgba(248,201,21,.25); left: -70px; bottom: -80px; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-18px,0) scale(1.04); } }

.login-card { width: min(470px, 100%); background: rgba(255,255,255,.91); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; padding: 34px; box-shadow: 0 30px 90px rgba(70,20,20,.14); position: relative; z-index: 2; animation: cardIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.brand-lockup { display: flex; gap: 16px; align-items: center; }
.logo-shell { width: 88px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 12px; box-shadow: var(--soft-shadow); }
.brand-logo { display: block; width: 100%; max-height: 44px; object-fit: contain; }
.eyebrow, .section-kicker { color: var(--red); font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.login-card h1 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.04em; }
.login-card h1 strong { color: var(--red); }
.login-description { color: var(--muted); line-height: 1.65; margin: 26px 0; }
.login-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 9px; }
.password-field { height: 54px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 16px; background: #fafafa; transition: .2s; }
.password-field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,28,37,.09); background: #fff; }
.password-field > svg { color: var(--muted); }
.password-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.form-error { color: var(--red); min-height: 19px; margin: 8px 2px 4px; font-size: 12px; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #aaa; font-size: 12px; }
.or-divider::before,.or-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login-footnote { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; margin: 18px 4px 0; }
.login-footnote svg { width: 16px; flex: none; color: var(--green); }

.primary-button,.secondary-button,.danger-button,.ghost-button { min-height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 0; font-weight: 800; font-size: 13px; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: linear-gradient(135deg, var(--red), #f23a42); color: white; box-shadow: 0 9px 22px rgba(227,28,37,.25); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(227,28,37,.31); }
.secondary-button { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.secondary-button:hover { border-color: #c9cbd1; transform: translateY(-1px); box-shadow: var(--soft-shadow); }
.danger-button { background: #fff0f0; color: var(--red); border: 1px solid #ffd0d2; }
.danger-button:hover { background: var(--red); color: #fff; }
.ghost-button { background: transparent; color: var(--red); padding: 0; min-height: auto; }
.login-button,.full-button { width: 100%; height: 52px; }
.compact-button { min-height: 40px; padding: 0 14px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); }
.icon-button:hover { background: #f1f1f3; color: var(--ink); }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 256px; background: #202126; color: white; z-index: 40; display: flex; flex-direction: column; padding: 22px 16px; overflow: hidden; }
.sidebar::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(248,201,21,.08); bottom: -110px; right: -110px; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 25px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.sidebar-brand img { width: 86px; max-height: 34px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.22)); }
.sidebar-brand div { display: none; }
.main-nav { display: grid; gap: 7px; margin-top: 22px; position: relative; z-index: 1; }
.nav-item { width: 100%; min-height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 13px; border-radius: 13px; border: 0; background: transparent; color: #aeb0b8; font-weight: 700; text-align: left; transition: .2s; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-item.active { color: #fff; background: linear-gradient(135deg, var(--red), #bf171e); box-shadow: 0 12px 28px rgba(227,28,37,.2); }
.nav-item svg { width: 19px; }
.sidebar-bottom { margin-top: auto; position: relative; z-index: 1; }
.sync-card { display: flex; align-items: center; gap: 10px; margin: 0 8px 10px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.03); }
.sync-card strong,.sync-card small { display: block; }
.sync-card strong { font-size: 12px; }
.sync-card small { color: #858892; font-size: 10px; margin-top: 2px; }
.sync-dot { width: 9px; height: 9px; border-radius: 50%; background: #f1a93b; box-shadow: 0 0 0 5px rgba(241,169,59,.1); flex: none; }
.sync-dot.online { background: #35cb87; box-shadow: 0 0 0 5px rgba(53,203,135,.1); animation: pulse 2s infinite; }
.sync-dot.offline { background: #e35b61; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(53,203,135,0); } }
.logout-item { color: #858892; }

.main-content { margin-left: 256px; min-height: 100vh; }
.topbar { height: 84px; background: rgba(255,255,255,.9); backdrop-filter: blur(15px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.breadcrumb { margin: 0 0 3px; color: #a0a3aa; font-size: 11px; font-weight: 700; }
.breadcrumb span { margin: 0 5px; }
.breadcrumb b { color: var(--red); }
.topbar h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.live-pill { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 99px; background: #eaf8f1; color: var(--green); font-size: 10px; font-weight: 800; }
.live-pill span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.role-badge { height: 40px; padding: 0 13px; display: flex; align-items: center; gap: 8px; border-radius: 12px; background: #f4f4f6; color: var(--muted); font-size: 12px; }
.role-badge svg { width: 16px; }
.role-badge.editor { background: var(--yellow-soft); color: #7d6200; }
.mobile-menu { display: none; }
.content-wrap { padding: 28px 34px 50px; max-width: 1550px; margin: 0 auto; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.reveal { animation: reveal .45s ease both; }
.delay-1 { animation-delay: .05s; }.delay-2 { animation-delay: .1s; }.delay-3 { animation-delay: .15s; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-card { min-height: 230px; border-radius: 26px; padding: 34px 38px; color: white; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; background: radial-gradient(circle at 75% 50%, rgba(248,201,21,.22), transparent 29%), linear-gradient(135deg, #2b2c31, #18191d 70%); box-shadow: var(--shadow); }
.hero-card::before { content: ''; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 23px 23px; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 800; letter-spacing: .1em; font-size: 11px; }
.hero-label svg { width: 16px; }
.hero-card h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.055em; line-height: 1.08; margin: 14px 0 12px; }
.hero-card h3 em { color: var(--yellow); font-style: normal; }
.hero-card p { color: #bdbfc7; max-width: 610px; line-height: 1.65; margin: 0; }
.hero-meta { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 11px; }
.hero-meta > span { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 11px; }
.hero-meta svg { width: 15px; color: var(--yellow); }
.hero-giraffe { width: 200px; height: 200px; flex: none; border-radius: 50%; background: linear-gradient(145deg, var(--yellow), #e6a713); position: relative; display: grid; place-items: center; transform: rotate(5deg); box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.hero-giraffe svg { width: 76px; height: 76px; color: #202126; stroke-width: 1.6; position: relative; z-index: 2; }
.giraffe-pattern { position: absolute; inset: 0; border-radius: inherit; opacity: .2; background-image: radial-gradient(ellipse at 30% 30%, #6a4211 0 9%, transparent 10%), radial-gradient(ellipse at 65% 60%, #6a4211 0 12%, transparent 13%), radial-gradient(ellipse at 40% 80%, #6a4211 0 8%, transparent 9%), radial-gradient(ellipse at 80% 25%, #6a4211 0 7%, transparent 8%); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.metric-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--soft-shadow); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.metric-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.red-accent { --accent: var(--red); }.yellow-accent { --accent: var(--yellow); }.dark-accent { --accent: #4f5360; }.green-accent { --accent: var(--green); }
.metric-head { display: flex; justify-content: space-between; align-items: center; }
.metric-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); }
.trend { font-size: 10px; font-weight: 800; padding: 6px 8px; border-radius: 8px; color: var(--muted); background: #f3f3f5; }
.trend.positive { color: var(--green); background: #eaf8f1; }.trend.negative { color: var(--red); background: #fff0f0; }
.metric-label { display: block; color: var(--muted); font-size: 11px; margin: 17px 0 5px; }
.metric-card > strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.metric-card > small { display: block; color: #999ca4; font-size: 10px; margin: 6px 0 14px; }
.progress-track { height: 5px; border-radius: 99px; background: #eeeeF1; overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .55s cubic-bezier(.2,.8,.2,1); }

.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr); gap: 20px; margin-bottom: 20px; }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 21px; padding: 22px; box-shadow: var(--soft-shadow); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-heading h3 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.03em; }
.heading-icon { color: var(--red); }
.legend { display: flex; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }.legend-plan { background: var(--yellow); }.legend-actual { background: var(--red); }
.sales-chart { height: 260px; display: flex; align-items: stretch; gap: 7px; padding-top: 16px; }
.chart-column { flex: 1; min-width: 26px; display: grid; grid-template-rows: 1fr auto; gap: 8px; }
.chart-bars { min-height: 0; display: flex; align-items: end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line); position: relative; }
.chart-bars::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to top, transparent 0 24%, rgba(0,0,0,.035) 25%); pointer-events: none; }
.bar { width: 34%; min-width: 6px; max-width: 14px; border-radius: 5px 5px 2px 2px; position: relative; z-index: 1; transition: height .55s cubic-bezier(.2,.8,.2,1); }
.bar.plan { background: var(--yellow); opacity: .65; }.bar.actual { background: var(--red); }
.chart-label { color: #91949d; font-size: 8px; text-align: center; white-space: nowrap; }
.opportunity-list { display: grid; gap: 15px; }
.opportunity-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; }
.opportunity-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.opportunity-icon.additional { color: var(--red); background: #fff0f0; }.opportunity-icon.beverages { color: var(--blue); background: #eef3ff; }.opportunity-icon.desserts { color: #b27a13; background: #fff7dc; }
.opportunity-copy b,.opportunity-copy small { display: block; }.opportunity-copy b { font-size: 12px; }.opportunity-copy small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.opportunity-value { text-align: right; }.opportunity-value strong,.opportunity-value small { display: block; }.opportunity-value strong { font-size: 14px; }.opportunity-value small { color: var(--muted); font-size: 9px; }
.mini-progress { grid-column: 2 / 4; height: 5px; background: #eff0f2; border-radius: 99px; overflow: hidden; }
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.period-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.period-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fbfbfc; }
.period-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.period-card-head b { font-size: 13px; }.period-card-head span { color: var(--muted); font-size: 10px; }
.period-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.period-stat { padding: 10px; border-radius: 11px; background: #fff; border: 1px solid #eeeef1; }
.period-stat small,.period-stat b { display: block; }.period-stat small { color: var(--muted); font-size: 8px; }.period-stat b { margin-top: 4px; font-size: 12px; }

.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-title-row h3 { font-size: 27px; margin: 5px 0 6px; letter-spacing: -.045em; }.section-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.inputs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-bottom: 16px; }
.field-card { display: block; padding: 13px 15px; border: 1px solid var(--line); background: #fff; border-radius: 15px; box-shadow: 0 3px 12px rgba(0,0,0,.025); }
.field-card > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }.field-card > span svg { width: 15px; color: var(--red); }
.field-card input { width: 100%; border: 0; outline: 0; padding: 8px 0 0; font-weight: 800; color: var(--ink); background: transparent; }
.field-card:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,28,37,.06); }
.goal-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(190px,.8fr); gap: 12px; margin-bottom: 17px; }
.goal-strip > label,.goal-total { min-height: 78px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px; }
.goal-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; }.goal-icon.additional { color: var(--red); background: #fff0f0; }.goal-icon.beverages { color: var(--blue); background: #edf3ff; }.goal-icon.desserts { color: #a97813; background: #fff6d5; }
.goal-strip label > span:nth-child(2) { flex: 1; }.goal-strip small,.goal-strip b { display: block; }.goal-strip small { color: var(--muted); font-size: 9px; }.goal-strip b { font-size: 12px; margin-top: 3px; }
.goal-strip input { width: 70px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-weight: 800; outline: 0; }
.goal-total { display: block; text-align: right; }.goal-total strong { display: block; font-size: 23px; }.goal-total span { font-size: 9px; color: var(--muted); }.goal-total.valid strong { color: var(--green); }.goal-total.warning strong { color: #d18c00; }
.table-card { padding: 0; overflow: hidden; }.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.data-table th { background: #282a30; color: #fff; font-size: 10px; letter-spacing: .02em; padding: 14px 12px; text-align: left; white-space: nowrap; }
.data-table td { border-bottom: 1px solid #eeeeF1; padding: 10px 12px; font-size: 11px; vertical-align: middle; }
.data-table tbody tr { transition: .16s; }.data-table tbody tr:hover { background: #fffaf0; }
.data-table tfoot td { background: #f7f7f9; font-weight: 800; border-bottom: 0; }
.table-input { width: 100%; min-width: 75px; height: 36px; padding: 0 9px; border: 1px solid #e0e1e5; border-radius: 9px; background: #fff; outline: 0; font-size: 11px; transition: .18s; }
.table-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,28,37,.08); }
.table-input:disabled,.field-card input:disabled,.goal-strip input:disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; border-color: transparent; background: transparent; }
.note-input { min-width: 190px; }
.computed-value { font-weight: 800; white-space: nowrap; }.computed-value.muted { color: var(--muted); font-weight: 700; }
.row-status { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #ddd; margin-right: 8px; }.row-status.good { background: var(--green); }.row-status.bad { background: var(--red); }
.execution-summary { display: flex; gap: 10px; align-items: center; background: #eaf8f1; color: var(--green); border-radius: 14px; padding: 10px 14px; }.execution-summary small,.execution-summary b { display: block; }.execution-summary small { font-size: 8px; }.execution-summary b { font-size: 11px; margin-top: 2px; }

.indicator-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.indicator-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.indicator-card-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.indicator-card-head svg { color: var(--red); }
.indicator-card strong { display: block; font-size: 23px; margin: 15px 0 5px; }.indicator-card small { color: var(--muted); font-size: 9px; }
.ranking-list,.goal-progress-list { display: grid; gap: 11px; }
.ranking-item { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 11px; border-radius: 13px; background: #f9f9fa; }
.rank-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--red); background: #fff0f0; font-weight: 800; font-size: 10px; }.ranking-item b,.ranking-item small { display: block; }.ranking-item b { font-size: 11px; }.ranking-item small { font-size: 8px; color: var(--muted); margin-top: 3px; }.rank-value { font-weight: 800; font-size: 11px; }
.goal-progress-item { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }.goal-progress-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-bottom: 10px; }.goal-progress-head small { color: var(--muted); }.wide-progress { height: 8px; border-radius: 99px; background: #eeeef1; overflow: hidden; }.wide-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--red)); }

.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.settings-card { min-height: 210px; display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--soft-shadow); }.settings-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: #fff0f0; color: var(--red); }.settings-card h4 { margin: 4px 0 8px; }.settings-card p { color: var(--muted); font-size: 11px; line-height: 1.55; min-height: 52px; }.danger-card { border-color: #ffd9da; }.file-button input { display: none; }
.security-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; }.security-note > svg { color: var(--green); flex: none; }.security-note h4 { margin: 0 0 5px; }.security-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.security-note code { padding: 2px 5px; background: #f2f2f4; border-radius: 5px; color: var(--ink); }

.toast-container { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 9px; }
.toast { min-width: 270px; max-width: 360px; padding: 13px 15px; border-radius: 13px; color: #fff; background: #26272c; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 11px; animation: toastIn .3s ease; }.toast.success svg { color: #5ce0a5; }.toast.error svg { color: #ff7d83; }
@keyframes toastIn { from { opacity: 0; transform: translateX(18px); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(17,18,21,.56); backdrop-filter: blur(7px); }
.confirm-modal { width: min(420px,100%); background: #fff; border-radius: 23px; padding: 28px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.2); animation: cardIn .3s ease; }.modal-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #fff0f0; color: var(--red); margin: 0 auto 15px; }.confirm-modal h3 { margin: 0 0 8px; }.confirm-modal p { color: var(--muted); font-size: 12px; line-height: 1.55; }.modal-actions { display: flex; gap: 10px; margin-top: 20px; }.modal-actions button { flex: 1; }
.sidebar-overlay { display: none; }

@media (max-width: 1180px) {
  .metric-grid,.indicator-grid { grid-template-columns: repeat(2,1fr); }
  .inputs-grid { grid-template-columns: repeat(2,1fr); }
  .goal-strip { grid-template-columns: repeat(2,1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 930px) {
  .sidebar { transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(0,0,0,.2); }.sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }.mobile-menu { display: grid; }.sidebar-overlay { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s; }.sidebar-overlay.open { opacity: 1; pointer-events: auto; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .hero-giraffe { width: 150px; height: 150px; }
}
@media (max-width: 700px) {
  .topbar { height: 72px; padding: 0 14px; }.content-wrap { padding: 18px 14px 35px; }.topbar h2 { font-size: 17px; }.breadcrumb,.live-pill,.compact-button { display: none; }.role-badge { padding: 0 10px; }.role-badge b { display: none; }
  .hero-card { min-height: 290px; padding: 28px 23px; align-items: flex-start; }.hero-card h3 { font-size: 31px; }.hero-giraffe { width: 110px; height: 110px; position: absolute; right: -25px; bottom: -15px; opacity: .75; }.hero-giraffe svg { width: 48px; }
  .metric-grid,.indicator-grid,.inputs-grid,.goal-strip,.period-summary { grid-template-columns: 1fr; }
  .section-title-row { align-items: flex-start; flex-direction: column; }.section-title-row h3 { font-size: 24px; }
  .panel-card { padding: 17px; }.chart-card { overflow-x: auto; }.sales-chart { min-width: 630px; }
  .login-card { padding: 25px 20px; }.brand-lockup { align-items: flex-start; }.logo-shell { width: 76px; height: 58px; }
}
.button-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
