:root {
  --ink: #1f2933;
  --navy: #183b70;
  --muted: #7b8791;
  --line: #e7ebe8;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #176b5a;
  --green-dark: #0e5548;
  --mint: #dcefe5;
  --coral: #e8795d;
  --yellow: #f4bf4f;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.login-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, #dff0e8 0%, #f7f8f5 48%, #e9f1fa 100%); }
.login-card { width: min(100%, 420px); padding: 34px 30px 28px; background: var(--white); border: 1px solid #dce6f2; border-radius: 14px; box-shadow: 0 20px 48px rgba(14, 52, 85, 0.10); }
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font: 700 17px "Space Grotesk", sans-serif; color: var(--green-dark); }
.login-brand small { color: var(--muted); font-size: 11px; }
.login-card h1 { font-size: 24px; color: var(--navy); letter-spacing: -.5px; margin: 0 0 20px; }
.login-form { display: grid; gap: 15px; }
.login-field { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.login-field input { width: 100%; padding: 11px 13px; border: 1px solid #cfdbe8; border-radius: 8px; background: #fbfdff; color: var(--ink); font: 500 14px "DM Sans", sans-serif; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.login-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 90, 0.14); background: #fff; }
.login-pw-wrap { position: relative; display: flex; align-items: center; }
.login-pw-wrap input { padding-right: 42px; }
.login-pw-toggle { position: absolute; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; padding: 0; background: transparent; color: var(--muted); transition: background .15s ease, color .15s ease; }
.login-pw-toggle:hover { background: #eef4fb; color: var(--navy); }
.login-pw-toggle .icon-eye-off { display: none; }
.login-pw-toggle[aria-pressed="true"] .icon-eye { display: none; }
.login-pw-toggle[aria-pressed="true"] .icon-eye-off { display: block; }
.login-error { margin: 0; padding: 10px 12px; border-radius: 7px; border: 1px solid #f5b7b1; background: #fff1f0; color: #b42318; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.login-submit { border: 0; border-radius: 8px; padding: 12px 16px; background: var(--green); color: #fff; font: 700 14px "DM Sans", sans-serif; box-shadow: 0 8px 18px rgba(23, 107, 90, 0.22); transition: background .15s ease, transform .15s ease; }
.login-submit:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-footnote { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
.sidebar-user { margin-top: auto; margin-bottom: 12px; padding: 12px 13px; border-radius: 9px; background: rgba(255, 255, 255, 0.10); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar-user-info { min-width: 0; }
.sidebar-user-info strong, .sidebar-user-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-info strong { color: #fff; font-size: 13px; }
.sidebar-user-info small { color: #bfe0d3; font-size: 11px; margin-top: 2px; }
.logout-btn { border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 6px; padding: 6px 10px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.logout-btn:hover { background: rgba(255, 255, 255, 0.24); }
.sidebar-user:not([hidden]) + .sidebar-note { margin-top: 0; }
.sidebar { width: 244px; padding: 30px 20px 24px; background: var(--green); color: #f5faf6; display: flex; flex-direction: column; }
.brand { display: flex; gap: 11px; align-items: center; margin: 0 11px 66px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--yellow); color: var(--green-dark); font: 700 22px "Space Grotesk", sans-serif; }
.brand strong, .brand small { display: block; }
.brand strong { font: 600 16px "Space Grotesk", sans-serif; letter-spacing: -.3px; }
.brand small { margin-top: 3px; color: #a9cbbf; font-size: 10px; }
.main-nav { display: grid; gap: 8px; }
.nav-item { display: flex; gap: 13px; align-items: center; padding: 13px 14px; border-radius: 9px; color: #afd0c6; font-size: 14px; }
.nav-item.active, .nav-item:hover { background: rgba(255,255,255,.12); color: white; }
.sidebar-note { margin-top: auto; padding: 15px; border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: 10px; align-items: flex-start; color: #a9cbbf; font-size: 11px; line-height: 1.5; }
.note-icon { color: var(--yellow); font-size: 17px; }
.sidebar-note p { margin: 0; }.sidebar-note strong { color: #eef9f0; font-weight: 500; }
.content { width: min(100%, 1260px); padding: 51px 6.2% 26px; margin: auto; }
.topbar { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 36px; }
.eyebrow { color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; margin: 0 0 9px; text-transform: uppercase; }
h1, h2 { font-family: "Space Grotesk", sans-serif; margin: 0; letter-spacing: -.8px; } h1 { font-size: clamp(27px, 3vw, 38px); } h2 { font-size: 20px; }
.intro { color: var(--muted); margin: 10px 0 0; font-size: 14px; }
.period-picker { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.period-picker select { min-width: 180px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: 600 13px "DM Sans", sans-serif; cursor: pointer; }
.primary-button { border: 0; border-radius: 7px; padding: 13px 18px; background: var(--coral); color: white; font-weight: 700; font-size: 13px; box-shadow: 0 7px 15px rgba(232,121,93,.2); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #d9694f; }.primary-button span { font-size: 18px; vertical-align: -1px; margin-right: 4px; }
.stats-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 15px; margin-bottom: 18px; }.stat-card { min-height: 143px; background: var(--white); padding: 21px 23px; border: 1px solid var(--line); border-radius: 8px; }.stat-card.featured { background: var(--mint); border-color: transparent; }.stat-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }.stat-card strong { display: block; margin-top: 15px; font: 700 28px "Space Grotesk", sans-serif; letter-spacing: -1px; }.stat-icon { color: var(--green); font-weight: 700; }.stat-icon.muted { color: #b7c1c2; }.trend { margin: 12px 0 0; font-size: 11px; font-weight: 700; }.trend span { color: var(--muted); font-weight: 400; }.positive { color: var(--green); }.neutral { color: var(--coral); }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; }.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 25px 25px 20px; }.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.select-button { background: #f7f9f7; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; padding: 8px 11px; }.select-button span { padding-left: 9px; color: var(--green); }.text-link { color: var(--green); font-size: 12px; font-weight: 700; }
.chart-wrap { display: flex; height: 238px; margin-top: 27px; }.y-axis { display: flex; flex-direction: column; justify-content: space-between; color: #a2adae; font-size: 10px; padding-bottom: 25px; width: 43px; }.chart { position: relative; display: flex; align-items: flex-end; justify-content: space-around; flex: 1; padding: 0 8px 0 5px; }.grid-line { position: absolute; left: 0; right: 0; border-top: 1px dashed #e4eae7; }.line-1 { top: 0; }.line-2 { top: 25%; }.line-3 { top: 50%; }.line-4 { top: 75%; }.bar-group { z-index: 1; width: 12%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; color: #9ca7a8; font-size: 10px; }.bar { width: min(35px, 72%); min-height: 9px; background: #b9d9cb; border-radius: 5px 5px 2px 2px; transition: height .4s, background .2s; }.bar-group:hover .bar, .bar-group.current .bar { background: var(--green); }.bar-group.current span { color: var(--green); font-weight: 700; }
.branch-panel { min-width: 0; }.branch-list { margin-top: 19px; }.branch-row { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf0ee; }.branch-row:last-child { border-bottom: 0; }.branch-rank { color: #b7c1c2; font: 600 11px "Space Grotesk", sans-serif; }.branch-info { flex: 1; min-width: 0; }.branch-info strong, .branch-info small { display: block; }.branch-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.branch-info small { margin-top: 3px; color: var(--muted); font-size: 10px; }.branch-row b { color: var(--green); font: 600 12px "Space Grotesk", sans-serif; white-space: nowrap; }.footer { color: #a2adae; font-size: 10px; margin-top: 27px; }
@media (max-width: 850px) { .sidebar { width: 190px; }.content { padding: 35px 4%; }.dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .app-shell { display: block; }.sidebar { width: 100%; padding: 16px 18px; }.brand { margin: 0 0 18px; }.main-nav { display: flex; gap: 5px; }.nav-item { padding: 9px 11px; }.nav-item span { display: none; }.sidebar-note { display: none; }.topbar { align-items: flex-start; flex-direction: column; margin-bottom: 25px; gap: 20px; }.primary-button { width: 100%; }.stats-grid { grid-template-columns: 1fr; }.stat-card { min-height: 125px; }.content { padding: 31px 18px 22px; } }

.legacy-dashboard { display: none; }
.live-report { margin-top: -8px; }
.branch-page,.comparison-page { margin-top: -8px; }.page-heading { margin-bottom: 28px; }.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }.branch-picker { flex: 0 0 220px; }.branch-report-panel { width: 100%; }
.report-page { margin-top: -8px; }.report-controls { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }.report-controls .period-picker { min-width: 160px; }.report-controls input,.report-controls select { min-height: 37px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font: 600 12px "DM Sans", sans-serif; }.period-picker[hidden] { display: none; }.kpi-prev { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; white-space: nowrap; }.kpi-prev[hidden] { display: none; }.empty-chart-note { width: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; padding: 24px; text-align: center; }.owner-kpi-panel,.owner-detail-panel,.owner-branch-panel { margin-bottom: 18px; }.owner-detail-table { padding: 12px 18px 18px; }.owner-detail-head,.owner-detail-row { display: grid; grid-template-columns: 1fr 150px 180px; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid #edf1f6; }.owner-detail-head { color: var(--muted); font-weight: 700; }.owner-detail-row strong { color: var(--navy); text-align: right; }.owner-detail-row span { text-align: right; }
.report-status { display: flex; align-items: center; gap: 7px; min-height: 30px; color: var(--muted); font-size: 11px; }.active-period { margin-left: 10px; color: var(--navy); font-size: 12px; }
.status-source { margin-left: auto; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #20ae63; }
.report-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
.comparison-branch-grid { margin-top: 0; }
.comparison-growth-panel { margin-bottom: 18px; }
.growth-body { padding: 18px 20px 22px; }
.growth-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.growth-highlight { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-radius: 6px; border: 1px solid #e3eaf3; background: #fbfdff; }
.growth-highlight.up { border-color: #bfe8d4; background: #f2fbf6; }
.growth-highlight.down { border-color: #f6c9c9; background: #fff6f6; }
.growth-highlight small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.growth-highlight strong { display: block; margin-top: 3px; color: #183b70; font: 700 15px "Space Grotesk", sans-serif; }
.growth-highlight b { font: 700 18px "Space Grotesk", sans-serif; white-space: nowrap; }
.growth-highlight.up b { color: #159b62; }
.growth-highlight.down b { color: #e74747; }
.growth-axis-head { display: grid; grid-template-columns: 165px 1fr 190px; align-items: center; gap: 14px; padding: 0 4px 8px; border-bottom: 1px solid #e2ebf5; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.growth-axis-labels { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 10px; }
.growth-axis-labels.single { grid-template-columns: auto 1fr; }
.growth-axis-labels .axis-pos { color: #159b62; text-align: left; }
.growth-axis-labels.single .axis-pos { text-align: right; }
.growth-axis-labels .axis-zero { text-align: center; color: #183b70; }
.growth-axis-labels.single .axis-zero { text-align: left; }
.growth-axis-labels .axis-neg { text-align: right; color: #e74747; }
.growth-row { display: grid; grid-template-columns: 165px 1fr 190px; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid #edf1f6; }
.growth-row:last-child { border-bottom: 0; }
.growth-branch { display: flex; align-items: center; gap: 10px; min-width: 0; }
.growth-rank { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 5px; background: #eef4fb; color: #183b70; font: 700 12px "Space Grotesk", sans-serif; }
.growth-branch-name { font-weight: 700; font-size: 13px; color: #183b70; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.growth-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: 32px; background: #f7faff; border: 1px solid #e4edf7; border-radius: 6px; padding: 4px 0; }
.growth-track::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #9db4d0; transform: translateX(-50%); }
.growth-track.single { grid-template-columns: 1fr; padding: 4px 6px 4px 0; }
.growth-track.single::after { left: 0; transform: none; }
.growth-half { display: flex; align-items: center; height: 100%; padding: 0 4px; min-width: 0; }
.growth-half.pos { justify-content: flex-end; }
.growth-half.neg { justify-content: flex-start; }
.growth-track.single .growth-half.pos,
.growth-track.single .growth-half.neg { justify-content: flex-start; padding-left: 6px; }
.growth-bar { height: 20px; border-radius: 4px; min-width: 4px; max-width: calc(100% - 48px); transition: width .3s ease; }
.growth-bar.pos { background: linear-gradient(90deg, #24b47e, #159b62); }
.growth-bar.neg { background: linear-gradient(90deg, #e74747, #f57171); }
.growth-pct { font: 700 12px "Space Grotesk", sans-serif; white-space: nowrap; padding: 0 6px; }
.growth-pct.pos { color: #159b62; }
.growth-pct.neg { color: #e74747; }
.growth-pct.flat { color: var(--muted); }
.growth-values { text-align: right; font-size: 12px; line-height: 1.35; }
.growth-values strong { display: block; color: #183b70; font-weight: 700; }
.growth-values small { color: var(--muted); font-size: 11px; }
@media (max-width: 760px) { .growth-highlights { grid-template-columns: 1fr; } .growth-axis-head { display: none; } .growth-row { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; } .growth-values { text-align: left; display: flex; justify-content: space-between; gap: 8px; } }
.comparison-daily-panel { margin-bottom: 18px; }
.branch-trend-body { padding: 18px 20px 22px; }
.branch-trend-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 16px; padding: 10px 14px; border: 1px solid #e3eaf3; border-radius: 6px; background: #f8fbff; font-size: 12px; font-weight: 700; color: #183b70; }
.branch-trend-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-line { width: 22px; height: 0; border-top: 3px solid #086fe8; display: inline-block; }
.legend-line.prev { border-top: 3px dashed #f47e19; }
.branch-trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.branch-trend-card { min-width: 0; border: 1px solid #e3eaf3; border-radius: 6px; background: #fff; overflow: hidden; }
.branch-trend-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e8eff7; background: #fbfdff; }
.branch-trend-head h3 { margin: 0; color: #183b70; font: 700 14px "Space Grotesk", sans-serif; letter-spacing: .2px; }
.branch-trend-summary { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.branch-trend-summary strong { color: #183b70; font-size: 12px; }
.branch-trend-pct { font-weight: 700; color: #159b62; }
.branch-trend-pct.down { color: #e74747; }
.branch-trend-chart { height: 210px; display: flex; gap: 6px; padding: 14px 14px 10px; background: linear-gradient(180deg, #fff, #f7fbff); }
.branch-trend-chart .line-axis-y { width: 58px; padding-bottom: 22px; font-size: 10px; }
.branch-trend-chart svg { width: 100%; height: 100%; display: block; }
.chart-guide { opacity: 0; transition: opacity .12s ease; pointer-events: none; }
.chart-guide.active { opacity: 1; }
.chart-hover-band { cursor: crosshair; }
.chart-tooltip { position: fixed; z-index: 9999; pointer-events: none; min-width: 190px; padding: 9px 11px; border-radius: 7px; background: rgba(15, 34, 66, 0.96); color: #fff; box-shadow: 0 10px 24px rgba(10, 25, 52, 0.25); font-size: 12px; line-height: 1.4; }
.chart-tooltip-title { font-weight: 700; font-size: 11px; color: #b7d2ff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.chart-tooltip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; white-space: nowrap; }
.chart-tooltip-row + .chart-tooltip-row { margin-top: 3px; }
.chart-tooltip-label { display: inline-flex; align-items: center; gap: 6px; color: #e6eefc; }
.chart-tooltip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chart-tooltip strong { font-family: "Space Grotesk", sans-serif; font-size: 12px; color: #fff; }
@media (max-width: 960px) { .branch-trend-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .branch-trend-head { flex-direction: column; align-items: flex-start; } .branch-trend-chart { height: 190px; padding: 12px 8px 8px; } }
.report-panel { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid #dce6f2; border-radius: 10px; box-shadow: 0 8px 24px rgba(10, 34, 72, 0.05); transition: box-shadow .2s ease; }
.report-panel:hover { box-shadow: 0 12px 28px rgba(10, 34, 72, 0.08); }
.report-title { min-height: 76px; display: flex; align-items: center; gap: 15px; background: linear-gradient(105deg, #061e50, #0b438e); color: #fff; box-shadow: 0 3px 0 rgba(6,30,80,.12); }
.report-title h2 { display: block; margin: 0; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .2px; line-height: 1.15; }.report-title div { min-width: 0; padding: 10px 0; }.report-title small { display: block; margin-top: 6px; color: #d0e2ff; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.report-heading { flex: 1; }.report-filter { display: grid; gap: 4px; min-width: 150px; margin: 0 18px 0 8px; color: #d0e2ff; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }.report-filter select { width: 100%; padding: 8px 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: #fff; color: #183b70; font: 600 12px "DM Sans", sans-serif; }
.report-number { align-self: stretch; display: grid; place-items: center; width: 56px; background: linear-gradient(145deg, #ffd34f, #f3a900); color: var(--navy); font: 700 34px "Space Grotesk", sans-serif; clip-path: polygon(0 0,100% 0,74% 100%,0 100%); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }
.kpi { min-height: 105px; padding: 17px 14px; border: 1px solid #e3eaf3; border-radius: 8px; background: linear-gradient(180deg, #fff, #fbfdff); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }.kpi:hover { transform: translateY(-2px); border-color: #bfd5f3; box-shadow: 0 6px 16px rgba(8, 111, 232, 0.08); }.kpi small { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }.kpi strong { display: block; margin-top: 12px; color: var(--navy); font: 700 25px "Space Grotesk", sans-serif; white-space: nowrap; }.kpi em { display: block; margin-top: 7px; color: #159b62; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }.kpi em.down { color: #e74747; }
.bar-chart { height: 330px; display: flex; align-items: stretch; justify-content: space-around; gap: 12px; padding: 25px 30px 18px; border-bottom: 1px solid #e8eff7; background: linear-gradient(180deg, #fff 0%, #f9fcff 100%); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 58px, #edf3fa 59px); }
.chart-axis-y { width: 58px; flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 0 8px 34px 0; color: #506b91; font-size: 10px; text-align: right; }.chart-bars { min-width: 0; flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; }
.mini-bar-chart .chart-bars { display: contents; }
.bar-item { flex: 1; min-width: 35px; max-width: 85px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; cursor: pointer; }.bar-item b { color: var(--navy); font-size: 12px; font-weight: 700; transition: transform .18s ease; }.bar-delta { font-style: normal; font-size: 10px; font-weight: 700; color: #159b62; background: #e8f8f0; padding: 1px 6px; border-radius: 999px; white-space: nowrap; }.bar-delta.down { color: #e74747; background: #fdecec; }.bar-awards { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: -2px; }.bar-award { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; flex: none; }.award-dollar { background: radial-gradient(circle at 30% 30%, #fff4b8, #f5b700 58%, #b97800 100%); border: 1.5px solid #ffd84d; color: #6c4300; font: 700 13px "Space Grotesk", sans-serif; box-shadow: 0 3px 10px rgba(245, 183, 0, 0.45); animation: awardFloat 2.2s ease-in-out infinite, goldGlow 2.2s ease-in-out infinite; }.award-star { background: radial-gradient(circle at 30% 30%, #fff7d6, #fde68a 75%); border: 1.5px solid #f59e0b; box-shadow: 0 3px 10px rgba(245, 158, 11, 0.38); animation: starTwinkle 1.9s ease-in-out infinite; }.award-star svg { width: 14px; height: 14px; display: block; }@keyframes awardFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.06); } }@keyframes goldGlow { 0%, 100% { box-shadow: 0 3px 10px rgba(245, 183, 0, 0.45); } 50% { box-shadow: 0 6px 16px rgba(245, 183, 0, 0.78); } }@keyframes starTwinkle { 0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4)); } 50% { transform: translateY(-4px) rotate(8deg) scale(1.14); filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.85)); } }.bar-item i { width: 100%; min-height: 4px; border-radius: 8px 8px 3px 3px; box-shadow: 0 6px 14px rgba(8,111,232,.18); transition: transform .18s ease, filter .18s ease; }.bar-item:hover i { transform: translateY(-3px); filter: brightness(1.06); }.bar-item:hover b { transform: translateY(-2px); }.bar-item span { color: #506b91; font-size: 12px; font-weight: 700; white-space: nowrap; }
.city-revenue-chart { display: flex; align-items: stretch; gap: 10px; }.city-revenue-chart .bar-item { min-width: 0; max-width: none; width: auto; }.city-revenue-chart .bar-item span { width: 100%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.city-revenue-chart .chart-bars { min-width: 0; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; }.city-revenue-chart .chart-axis-y { flex: 0 0 58px; }
.city-chart-block h3 { margin: 16px 20px 0; color: #183b70; font-size: 14px; }.city-chart-block .bar-chart { height: 260px; }.other-legend,.province-legend { padding: 14px 20px 18px; color: #506b91; font-size: 12px; line-height: 1.55; border-top: 1px solid #e2ebf5; }.other-legend strong { color: #183b70; }.province-legend { display: grid; gap: 8px; }.province-legend div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }.province-legend b { color: #183b70; }.province-legend span { color: #506b91; }
.summary-branch-view { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 0 18px 18px; }.summary-branch-view h3 { margin: 16px 8px 8px; color: #183b70; font-size: 14px; }.summary-branch-chart { height: 300px; border-radius: 8px; border: 1px solid #e6eef8; }.summary-donut-layout { min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 15px; border-left: 1px solid #e2ebf5; }.summary-donut { width: 190px; height: 190px; }.branch-detail-view[hidden],.summary-branch-view[hidden] { display: none; }
.volume-vertical-grid { padding: 0 18px 18px; }.volume-vertical-grid > div { overflow: hidden; border: 1px solid #e3eaf3; border-radius: 8px; margin-top: 16px; }.volume-vertical-grid h3 { margin: 0; padding: 12px 14px; color: #183b70; font-size: 14px; background: #f8fbff; border-bottom: 1px solid #e6eef8; }.volume-vertical-grid .mini-bar-chart { height: 260px; }
.line-chart { height: 330px; display: flex; gap: 8px; padding: 22px 25px; background: linear-gradient(180deg, #fff, #f7fbff); }.line-axis-y { width: 62px; flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 25px; color: #506b91; font-size: 10px; text-align: right; }.line-plot { min-width: 0; flex: 1; }.line-plot svg,.line-chart svg,.volume-chart svg,.daily-chart svg { width: 100%; height: 100%; }
.daily-combo-wrap { padding: 16px 20px 18px; background: linear-gradient(180deg, #fff, #f8fbff); }
.daily-combo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.daily-combo-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; }
.combo-stat { padding: 8px 12px; border: 1px solid #e3eaf3; border-radius: 7px; background: #fff; }
.combo-stat small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.combo-stat strong { display: block; margin-top: 2px; color: var(--navy); font: 700 13px "Space Grotesk", sans-serif; white-space: nowrap; }
.daily-combo-legend { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border: 1px solid #e3eaf3; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 700; color: var(--navy); }
.combo-legend-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.combo-legend-bar { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #3ea0ff, #086fe8); display: inline-block; }
.combo-legend-line { width: 18px; height: 3px; border-radius: 2px; background: #f47e19; display: inline-block; position: relative; }
.combo-legend-line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #fff; border: 2px solid #f47e19; transform: translate(-50%, -50%); }
.daily-combo-chart { height: 290px; display: flex; align-items: stretch; gap: 8px; }
.combo-axis-right { width: 52px; flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 25px; color: #d66510; font-size: 10px; font-weight: 600; text-align: left; }
.combo-bar { transition: opacity .15s ease; }
.combo-hover-col { cursor: crosshair; }
.combo-col-highlight { opacity: 0; transition: opacity .12s ease; pointer-events: none; }
.combo-col-highlight.active { opacity: 1; }
@media (max-width: 960px) { .daily-combo-stats { grid-template-columns: repeat(2, 1fr); width: 100%; } }
@media (max-width: 760px) { .daily-combo-wrap { padding: 12px 10px 14px; } .daily-combo-chart { height: 235px; } .combo-axis-right { width: 42px; font-size: 9px; } }
.donut-layout { height: 370px; display: flex; align-items: center; justify-content: center; gap: 56px; padding: 24px; border-top: 1px solid #e2ebf5; }.donut { position: relative; width: 250px; height: 250px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: transparent; filter: drop-shadow(0 8px 18px rgba(14, 52, 110, 0.12)); }.donut-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }.donut-slice { transition: transform .22s cubic-bezier(.22, 1, .36, 1), filter .22s ease; cursor: pointer; transform: translate(0, 0); transform-origin: center; }.donut-slice:hover { transform: translate(var(--tx, 0px), var(--ty, 0px)); filter: drop-shadow(0 6px 12px rgba(10, 34, 72, 0.24)) brightness(1.04); }circle.donut-slice:hover { transform: scale(1.04); }.donut strong,.donut small { position: relative; z-index: 1; pointer-events: none; }.donut strong { font: 700 19px "Space Grotesk", sans-serif; color: var(--navy); }.donut small { font-size: 12px; color: var(--muted); }.legend { display: grid; gap: 8px; padding-left: 6px; font-size: 12.5px; }.legend-item { display: grid; grid-template-columns: 12px minmax(90px, 1fr) auto; align-items: center; gap: 9px; min-width: 195px; padding: 7px 11px; border-radius: 7px; background: #f8fbff; border: 1px solid #e6eef8; white-space: nowrap; }.legend-item.with-delta { grid-template-columns: 12px minmax(75px, 1fr) auto auto; min-width: 245px; }.legend-delta { font-style: normal; font-size: 11px; font-weight: 700; color: #159b62; background: #e8f8f0; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }.legend-delta.down { color: #e74747; background: #fdecec; }.legend-item b { margin-left: auto; color: var(--navy); }.legend-dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.branch-share { min-height: 235px; display: flex; align-items: center; justify-content: center; gap: 70px; padding: 20px 30px; background: #fbfdff; border-top: 1px solid #e2ebf5; }.small-donut { width: 175px; height: 175px; }.branch-share .legend { gap: 9px; }
.stacked-chart { height: 330px; padding: 14px 20px; background: linear-gradient(180deg,#fff,#f7fbff); }.stacked-chart svg { width: 100%; height: 100%; display: block; }.stacked-item label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 700; }.stacked-bar { display: flex; height: 30px; overflow: hidden; border-radius: 5px; background: #e9eff7; box-shadow: inset 0 1px 3px rgba(9,44,104,.1); }.stacked-bar span { display: grid; place-items: center; color: white; font-size: 11px; font-weight: 700; }.jatim { background: linear-gradient(90deg,#075dcc,#2ba3ff); }.jateng { background: linear-gradient(90deg,#e85d12,#ffad32); }
.province-report-panel { grid-column: span 1; }.province-report-panel .stacked-chart { height: 390px; padding: 10px 8px; overflow: hidden; }.province-report-panel .stacked-chart svg { width: 100%; height: 100%; display: block; transform: none; }.province-report-panel .report-title small { max-width: 100%; }
.rank-table { padding: 12px 16px 18px; }.rank-row { position: relative; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 12px; min-height: 42px; padding: 0 8px; margin-bottom: 4px; border-radius: 6px; background: linear-gradient(90deg, rgba(8, 111, 232, 0.08) var(--bar-pct, 0%), transparent var(--bar-pct, 0%)); border-bottom: 1px solid #eef3f9; font-size: 13.5px; transition: background-color .15s ease; }.rank-row:hover { background-color: #f4f8ff; }.rank-row:last-child { border-bottom: 0; margin-bottom: 0; }.rank { width: 26px; height: 24px; display: grid; place-items: center; border-radius: 5px; background: #eef3fa; color: var(--navy); font: 700 12px "Space Grotesk", sans-serif; }.rank.rank-1 { background: #fff3cd; color: #9a6700; }.rank.rank-2 { background: #e8eef6; color: #3f5573; }.rank.rank-3 { background: #fde8d8; color: #9c4a1a; }.rank-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }.rank-value { color: var(--navy); font-weight: 700; white-space: nowrap; }
.customer-table .rank-row { grid-template-columns: 35px 1fr auto auto; }
.volume-chart,.daily-chart { height: 330px; padding: 25px 22px; background: linear-gradient(180deg,#fff,#f7fbff); }.daily-chart { display: flex; align-items: stretch; gap: 8px; }.daily-chart .line-axis-y { padding-bottom: 25px; }.daily-chart .line-plot { min-width: 0; flex: 1; }.performance-table { padding: 12px 16px 18px; font-size: 13px; }.performance-head,.performance-row { display: grid; grid-template-columns: 1.2fr .7fr .7fr .8fr; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px; border-bottom: 1px solid #edf1f6; }.performance-row { margin-bottom: 4px; border-radius: 6px; background: linear-gradient(90deg, rgba(22, 166, 185, 0.09) var(--bar-pct, 0%), transparent var(--bar-pct, 0%)); }.performance-row:hover { background-color: #f4f8ff; }.performance-head { color: var(--muted); font-weight: 700; }.performance-row b { font-size: 13px; color: var(--navy); }.error-message { padding: 12px; color: #a83232; background: #ffe7e4; border: 1px solid #f2b7ae; border-radius: 5px; }
.province-bar { transition: opacity .15s ease; cursor: pointer; }.province-bar:hover { opacity: .85; }
.volume-triple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }.volume-triple-grid > div { min-width: 0; border: 1px solid #e3eaf3; border-radius: 6px; overflow: hidden; }.volume-triple-grid h3 { margin: 0; padding: 12px 14px; color: #183b70; font-size: 14px; }.mini-bar-chart { height: 245px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; justify-content: stretch; gap: 8px; overflow: hidden; padding: 18px 14px 14px; background: linear-gradient(180deg, #fff 0%, #f9fcff 100%); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 50px, #edf3fa 51px); }.mini-bar-chart .bar-item { min-width: 0; max-width: none; width: auto; gap: 6px; }.mini-bar-chart .bar-item b { font-size: 10px; }.mini-bar-chart .bar-item span { width: 100%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }.status-chart { min-height: 330px; padding: 22px 25px; background: linear-gradient(180deg,#fff,#f7fbff); }.status-chart svg { width: 100%; height: 100%; display: block; }
.volume-double-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .summary-branch-view { grid-template-columns: 1fr; } .summary-donut-layout { border-left: 0; border-top: 1px solid #e2ebf5; min-height: 240px; } }
@media (max-width: 760px) { .topbar { align-items: stretch; }.period-picker select { width: 100%; }.status-source { display: none; }.kpi-grid { grid-template-columns: repeat(2,1fr); }.kpi strong { font-size: 20px; }.donut-layout,.branch-share { gap: 20px; justify-content: space-around; }.donut { width: 145px; height: 145px; }.small-donut { width: 125px; height: 125px; }.page-heading-row { display: block; }.branch-picker { width: 100%; margin-top: 20px; }.report-controls { display: grid; grid-template-columns: 1fr; gap: 12px; }.report-controls .period-picker { min-width: 0; width: 100%; }.report-controls select,.report-controls input { width: 100%; }.report-title { min-height: 62px; gap: 9px; flex-wrap: nowrap; align-items: center; }.report-title div { padding: 8px 0; }.report-title h2 { font-size: 16px; line-height: 1.12; letter-spacing: 0; }.report-title small { margin-top: 4px; font-size: 10px; line-height: 1.2; white-space: normal; overflow: visible; text-overflow: clip; }.report-number { width: 45px; flex: 0 0 45px; font-size: 28px; }.report-filter { flex: 1 1 150px; margin: 0 12px 10px 54px; }.bar-chart { height: 270px; padding: 18px 8px 14px; gap: 5px; }.bar-item b,.bar-item span { font-size: 9px; }.bar-delta { font-size: 8px; padding: 1px 4px; }.line-chart { height: 270px; padding: 16px 10px; }.daily-chart { height: 270px; padding: 16px 10px; }.donut-layout { height: auto; min-height: 260px; padding: 14px 10px; gap: 12px; flex-direction: column; }.donut { width: 135px; height: 135px; }.legend { gap: 6px; padding-left: 2px; font-size: 11px; width: 100%; }.legend-item,.legend-item.with-delta { min-width: 0; padding: 5px 8px; }.volume-triple-grid { grid-template-columns: 1fr; }.mini-bar-chart { height: 225px; }.province-report-panel .stacked-chart { height: 300px; padding: 5px 0; }.province-report-panel .stacked-chart svg { width: 100%; height: 100%; }.owner-detail-head,.owner-detail-row { grid-template-columns: minmax(0,1fr) 72px 105px; gap: 6px; font-size: 11px; }.owner-detail-row strong { font-size: 11px; }.rank-row { font-size: 12px; min-height: 36px; } }

.kpi-icon { float: left; width: 34px; height: 34px; display: grid; place-items: center; margin: -2px 9px 2px 0; border-radius: 6px; color: #fff; font-size: 21px; font-weight: 700; }
.icon-blue { background: #0798bc; }.icon-green { background: #28a66b; }.icon-teal { background: #087fae; }.icon-orange { background: #ef821c; }.icon-red { background: #ef4745; }.icon-purple { background: #6243dd; }.icon-indigo { background: #2c5cc5; }.icon-amber { background: #d98a00; }
.branch-share { min-height: 255px; border-top: 2px solid #c7d8ea; }
.branch-share .legend { padding: 18px; border-left: 2px solid #d7e3ef; }
.small-donut { width: 195px; height: 195px; }
.customer-table .rank-row { grid-template-columns: 35px 1fr 150px 105px; }
.customer-table .rank-value { text-align: right; }
.status-chart { display: flex; align-items: center; justify-content: center; }
