:root {
  --ink: #17201b;
  --ink-soft: #465048;
  --muted: #7d867f;
  --paper: #f4f4ef;
  --surface: #fbfbf8;
  --line: #dedfd8;
  --green: #1d563d;
  --green-dark: #102c21;
  --mint: #a9d8bd;
  --lime: #d6e9a8;
  --red: #b7594f;
  --amber: #c88439;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(18, 34, 25, .08);
  --sidebar: 246px;
  --font: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(50, 122, 87, .24); outline-offset: 2px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar); padding: 27px 18px 20px; display: flex; flex-direction: column; color: #edf2ed; background: var(--green-dark); border-right: 1px solid rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 30px; color: inherit; text-decoration: none; }
.brand-mark { position: relative; width: 34px; height: 34px; display: block; border-radius: 9px; background: var(--lime); overflow: hidden; transform: rotate(-3deg); }
.brand-mark i { position: absolute; width: 19px; height: 8px; border: 3px solid var(--green-dark); border-width: 3px 0 0; border-radius: 50%; transform: rotate(-38deg); }
.brand-mark i:first-child { top: 9px; left: 4px; }.brand-mark i:last-child { top: 18px; left: 12px; }
.brand strong { display: block; font-size: 17px; line-height: 1; letter-spacing: .02em; }.brand small { color: #9fb0a5; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.nav-label { margin: 0 12px 10px; color: #73877b; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }.nav-label-spaced { margin-top: 26px; }
.main-nav { flex: 1; }
.nav-item { position: relative; width: 100%; height: 43px; display: flex; align-items: center; gap: 12px; margin: 3px 0; padding: 0 12px; color: #a9b7ae; background: transparent; border: 0; border-radius: 8px; text-align: left; font-size: 12px; transition: .22s ease; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.08); }.nav-item.active:before { content: ""; position: absolute; left: -18px; width: 3px; height: 23px; background: var(--lime); border-radius: 0 3px 3px 0; }
.nav-icon { width: 20px; color: #8ea497; font-size: 18px; text-align: center; }.nav-item.active .nav-icon { color: var(--lime); }.nav-count { margin-left: auto; padding: 2px 6px; color: #dbe6df; background: rgba(255,255,255,.1); border-radius: 10px; font: 9px var(--mono); }.status-dot { margin-left: auto; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.period-card { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; }.period-icon { color: var(--lime); }.period-card div { flex: 1; }.period-card small, .period-card strong { display: block; }.period-card small { color: #87998e; font-size: 9px; }.period-card strong { margin-top: 2px; font-size: 11px; }.online-dot { width: 6px; height: 6px; background: #79c696; border-radius: 50%; box-shadow: 0 0 0 3px rgba(121,198,150,.12); }
.profile { display: flex; align-items: center; gap: 10px; padding: 13px 6px 0; border-top: 1px solid rgba(255,255,255,.08); }.avatar { width: 31px; height: 31px; display: grid; place-items: center; color: var(--green-dark); background: #c8dbc9; border-radius: 50%; font: 10px var(--mono); }.profile > span:nth-child(2) { flex: 1; }.profile strong, .profile small { display: block; }.profile strong { font-size: 10px; }.profile small { margin-top: 2px; color: #81938a; font-size: 8px; }.profile button { padding: 6px; color: #81938a; background: none; border: 0; letter-spacing: 2px; }

.main-content { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; z-index: 15; top: 0; height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(244,244,239,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-title { min-width: 0; display: flex; align-items: center; gap: 10px; font-size: 10px; }.breadcrumb { color: #929a94; }.topbar-title strong { font-weight: 600; }.menu-button { display: none; border: 0; background: none; font-size: 20px; }
.top-actions { display: flex; align-items: center; gap: 9px; }.sync-indicator { display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: #768079; background: none; border: 0; font-size: 9px; }.sync-indicator span { width: 6px; height: 6px; background: #67a87e; border-radius: 50%; }.icon-button { position: relative; width: 34px; height: 34px; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; }.notification-button i { position: absolute; top: -4px; right: -4px; width: 15px; height: 15px; display: grid; place-items: center; color: white; background: var(--red); border: 2px solid var(--paper); border-radius: 50%; font: 7px var(--mono); }.primary-button, .export-button, .outline-button { min-height: 36px; padding: 0 15px; border-radius: 8px; font-size: 10px; font-weight: 700; transition: .18s ease; }.primary-button { color: white; background: var(--green); border: 1px solid var(--green); box-shadow: 0 4px 12px rgba(29,86,61,.13); }.primary-button:hover { background: #15442f; transform: translateY(-1px); }.primary-button span { margin-right: 5px; font-size: 14px; }.export-button, .outline-button { background: var(--surface); border: 1px solid var(--line); }.export-button:hover, .outline-button:hover { border-color: #aab2ac; background: white; }
.page { max-width: 1580px; margin: auto; padding: 39px 34px 55px; }.view { display: none; animation: viewIn .35s ease; }.view.active { display: block; }@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } }
.page-heading, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }.page-heading h1, .section-heading h1 { margin: 5px 0 5px; font-size: clamp(25px, 3vw, 36px); line-height: 1.1; letter-spacing: -.045em; }.page-heading > div > p:last-child, .section-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }.eyebrow { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--green); font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }.eyebrow > span { width: 15px; height: 1px; background: var(--green); }
.date-control { height: 46px; display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 4px 12px rgba(30,40,34,.03); }.date-control > button { border: 0; background: none; }.date-control > button:first-child { border-right: 1px solid var(--line); }.date-control > button:last-child { border-left: 1px solid var(--line); }.date-control > button:not(.date-main) { width: 33px; color: #879089; font-size: 18px; }.date-main { display: flex; align-items: center; gap: 9px; padding: 0 14px; text-align: left; }.date-main > span:first-child { font-size: 16px; }.date-main small, .date-main strong { display: block; }.date-main small { color: #999f9b; font-size: 7px; text-transform: uppercase; }.date-main strong { margin-top: 2px; font: 9px var(--mono); }
.scope-bar { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 18px; background: #e9eae4; border: 1px solid #dedfd8; border-radius: 11px; }.scope-switch { display: flex; gap: 3px; }.scope-switch button { min-height: 34px; padding: 0 14px; color: #757e77; background: transparent; border: 0; border-radius: 7px; font-size: 9px; font-weight: 600; }.scope-switch button.active { color: var(--ink); background: var(--surface); box-shadow: 0 2px 8px rgba(25,35,29,.07); }.station-select-wrap { display: flex; align-items: center; gap: 5px; margin-left: auto; }.station-select-wrap label { color: #89918b; font-size: 8px; }.station-select-wrap select, .legend select, .toolbar select { height: 34px; padding: 0 27px 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); font-size: 9px; }.filter-button { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: transparent; border: 1px solid #d2d4cc; border-radius: 7px; font-size: 9px; }.filter-button i { display: none; min-width: 16px; height: 16px; place-items: center; color: white; background: var(--green); border-radius: 8px; font: 7px var(--mono); }.scope-bar > .export-button { margin-left: 2px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }.metric-card { position: relative; min-height: 151px; padding: 19px 19px 15px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.metric-card.featured { color: #f3f7f4; background: var(--green); border-color: var(--green); }.metric-top, .metric-bottom { display: flex; justify-content: space-between; align-items: center; }.metric-top > span:first-child { color: #737d75; font-size: 9px; font-weight: 600; }.featured .metric-top > span:first-child { color: #b8d0c1; }.metric-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--green-dark); background: var(--lime); border-radius: 50%; font-size: 12px; }.metric-icon.soft { color: var(--green); background: #edf0e9; }.metric-value { position: relative; z-index: 1; display: block; margin-top: 18px; font: 500 clamp(20px, 2.2vw, 29px) var(--mono); letter-spacing: -.055em; }.metric-bottom { position: relative; z-index: 1; justify-content: flex-start; gap: 7px; margin-top: 13px; }.metric-bottom small { color: #939a95; font-size: 8px; }.featured .metric-bottom small { color: #a5bcad; }.trend { padding: 3px 5px; border-radius: 4px; font: 7px var(--mono); }.trend.positive { color: #22613f; background: #dcf0e2; }.featured .trend.positive { color: #d9ebac; background: rgba(255,255,255,.1); }.trend.negative { color: #a34c45; background: #f6e4e0; }.sparkline { position: absolute; right: -8px; bottom: -10px; width: 61%; height: 74px; opacity: .27; }.sparkline svg { width: 100%; height: 100%; }.metric-progress { height: 4px; margin-top: 14px; background: #e8e9e3; border-radius: 3px; }.metric-progress i { display: block; height: 100%; background: var(--green); border-radius: inherit; }.mini-columns { position: absolute; right: 16px; bottom: 14px; height: 24px; display: flex; align-items: flex-end; gap: 3px; }.mini-columns i { width: 4px; background: #d8ded8; border-radius: 2px 2px 0 0; }.mini-columns i:nth-child(1){height:35%}.mini-columns i:nth-child(2){height:55%}.mini-columns i:nth-child(3){height:43%}.mini-columns i:nth-child(4){height:74%;background:#a7c6b1}.mini-columns i:nth-child(5){height:64%}.mini-columns i:nth-child(6){height:90%;background:var(--green)}.mini-columns i:nth-child(7){height:69%}.net-caption { position: absolute; left: 19px; right: 19px; bottom: 14px; color: #8b938d; font-size: 7px; }.net-caption i { display: inline-block; width: 60%; height: 3px; margin-right: 8px; vertical-align: middle; background: linear-gradient(90deg,var(--green) 79%,#e3e5df 79%); border-radius: 2px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); gap: 12px; margin-bottom: 12px; }.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.performance-panel, .health-panel, .station-table-panel, .alerts-panel, .movement-panel, .comparison-chart-panel, .ranking-panel, .matrix-panel { padding: 20px; }.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.panel-header h2 { margin: 0; font-size: 12px; letter-spacing: -.015em; }.panel-header p { margin: 4px 0 0; color: #929992; font-size: 8px; }.legend { display: flex; align-items: center; gap: 12px; color: #7d867f; font-size: 7px; }.legend span { display: flex; align-items: center; gap: 4px; }.legend i { width: 6px; height: 6px; border-radius: 50%; }.legend .income { background: var(--green); }.legend .expense { background: #b8c0b9; }.legend select { margin-left: 5px; }
.chart-wrap { height: 210px; display: grid; grid-template-columns: 34px 1fr; margin-top: 20px; }.y-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; color: #a2a8a3; font: 7px var(--mono); }.line-chart { position: relative; overflow: hidden; background: repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),#e9eae5 25%); }.line-chart svg { width: 100%; height: 100%; overflow: visible; }.chart-tooltip { position: absolute; z-index: 2; padding: 7px 9px; color: white; background: var(--green-dark); border-radius: 6px; pointer-events: none; transform: translate(-50%,-110%); font: 7px var(--mono); white-space: nowrap; opacity: 0; transition: opacity .15s; }.chart-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-top: 14px; border-top: 1px solid #e7e8e2; }.chart-summary div:not(:first-child) { padding-left: 17px; border-left: 1px solid #e7e8e2; }.chart-summary small, .chart-summary strong { display: block; }.chart-summary small { color: #9a9f9b; font-size: 7px; }.chart-summary strong { margin-top: 4px; font: 9px var(--mono); }.green { color: var(--green); }
.station-health-list { margin-top: 17px; }.health-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ecece7; }.station-badge { width: 31px; height: 31px; display: grid; place-items: center; color: var(--green); background: #edf1eb; border-radius: 8px; font: 8px var(--mono); }.health-info strong { display: block; font-size: 9px; }.health-info small { display: block; margin-top: 3px; color: #979e98; font-size: 7px; }.health-status { text-align: right; }.health-status strong { display: block; color: var(--green); font: 8px var(--mono); }.health-status small { color: #9ba19c; font-size: 7px; }.health-status.pending strong { color: var(--amber); }.health-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; font-size: 8px; }.health-footer span { color: #7f8881; }.health-footer i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: #76b78c; border-radius: 50%; }.health-footer strong { font: 9px var(--mono); }.text-button { padding: 2px 0; color: var(--green); background: none; border: 0; font-size: 8px; font-weight: 700; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); gap: 12px; }.station-table-panel { min-width: 0; }.outline-button { min-height: 31px; }.table-scroll { overflow-x: auto; }.station-table-panel table, .movement-panel table, .matrix-panel table { width: 100%; margin-top: 15px; border-collapse: collapse; white-space: nowrap; }th { padding: 9px 10px; color: #929992; border-bottom: 1px solid #e5e6e0; font-size: 7px; font-weight: 600; letter-spacing: .04em; text-align: left; text-transform: uppercase; }td { padding: 12px 10px; border-bottom: 1px solid #eeeeea; font: 8px var(--mono); }tbody tr:last-child td { border-bottom: 0; }.station-cell { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 700; }.station-cell .station-badge { width: 27px; height: 27px; }.table-status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; color: #2c6c47; background: #e3f0e6; border-radius: 9px; font: 6px var(--font); }.table-status.pending { color: #98622c; background: #f5eadc; }.table-status i { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }.row-action { padding: 5px; color: #929a94; background: none; border: 0; font-size: 16px; }.alerts-panel { padding-bottom: 13px; }.alert-count { width: 22px; height: 22px; display: grid; place-items: center; color: #a24e47; background: #f4e3df; border-radius: 50%; font: 8px var(--mono); }.alert-list { margin-top: 12px; }.alert-item { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; padding: 12px 2px; background: none; border: 0; border-bottom: 1px solid #ebece6; text-align: left; }.alert-symbol { width: 27px; height: 27px; display: grid; place-items: center; background: #eef0eb; border-radius: 50%; font: 9px var(--mono); }.alert-symbol.warning { color: #a45b42; background: #f6e7df; }.alert-item strong, .alert-item small, .alert-item b { display: block; }.alert-item strong { font-size: 8px; }.alert-item small { margin-top: 3px; color: #9a9f9b; font-size: 7px; }.alert-item b { margin-top: 2px; color: var(--red); font: 7px var(--mono); }.alert-item > i { color: #b4bab5; font-size: 16px; }.full-text-button { width: 100%; padding: 12px 0 4px; color: var(--green); background: none; border: 0; font-size: 8px; font-weight: 700; }

.section-heading { align-items: center; margin-bottom: 25px; }.station-card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }.station-detail-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: .2s ease; }.station-detail-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }.station-detail-head { display: flex; justify-content: space-between; }.station-title { display: flex; align-items: center; gap: 11px; }.station-title .station-badge { width: 39px; height: 39px; }.station-title h2 { margin: 0; font-size: 13px; }.station-title p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }.status-pill { height: fit-content; padding: 5px 8px; color: var(--green); background: #e7f2e9; border-radius: 10px; font-size: 7px; }.status-pill.pending { color: #98622c; background: #f5eadc; }.station-detail-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 22px 0 17px; }.station-detail-metrics div { padding: 12px; background: #f0f1ec; border-radius: 9px; }.station-detail-metrics small, .station-detail-metrics strong { display: block; }.station-detail-metrics small { color: #8d958f; font-size: 7px; }.station-detail-metrics strong { margin-top: 5px; font: 10px var(--mono); }.station-detail-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #e7e8e2; }.station-detail-footer small { color: var(--muted); font-size: 7px; }.station-detail-footer button { color: var(--green); background: none; border: 0; font-size: 8px; font-weight: 700; }
.toolbar { display: flex; gap: 9px; margin-bottom: 4px; }.search-field { height: 36px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #929a94; background: #f1f2ed; border: 1px solid var(--line); border-radius: 8px; }.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 9px; }.right { text-align: right; }.movement-panel td:last-child { text-align: right; font-weight: 500; }.movement-type { display: inline-flex; padding: 4px 7px; color: var(--green); background: #e6efe7; border-radius: 8px; font: 7px var(--font); }.movement-type.gasto { color: #a4554c; background: #f4e4e1; }.movement-type.depósito { color: #526a87; background: #e5eaf0; }
.comparison-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 14px; margin-bottom: 14px; }.comparison-bars { height: 290px; display: flex; align-items: flex-end; justify-content: space-around; gap: 22px; padding: 30px 20px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),#e9eae5 25%); }.bar-group { height: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 7px; position: relative; }.bar { width: min(36px,38%); min-height: 8px; border-radius: 5px 5px 0 0; transition: height .5s ease; }.bar.profit { background: var(--green); }.bar.expenses { background: #c3cac4; }.bar-group label { position: absolute; bottom: -24px; width: 100%; color: #737d75; font-size: 7px; text-align: center; }.bar:hover { filter: brightness(1.15); }.ranking-panel { padding-bottom: 13px; }.ranking-item { padding: 16px 0; border-bottom: 1px solid #e9eae5; }.ranking-item:last-child { border: 0; }.ranking-head { display: flex; justify-content: space-between; font-size: 8px; }.ranking-head span:first-child { display: flex; gap: 7px; font-weight: 700; }.ranking-head b { color: #a0a7a1; font: 8px var(--mono); }.ranking-head strong { font: 9px var(--mono); }.ranking-track { height: 5px; margin-top: 9px; background: #e8e9e4; border-radius: 5px; }.ranking-track i { display: block; height: 100%; background: var(--green); border-radius: inherit; }.matrix-panel { margin-top: 14px; }.matrix-panel td:first-child { font-family: var(--font); font-weight: 700; }.best-cell { color: var(--green); background: #eef3ec; font-weight: 500; }
.reconcile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }.reconcile-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.reconcile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }.reconcile-head h2 { margin: 0; font-size: 12px; }.check-list { display: grid; gap: 9px; }.check-row { display: flex; align-items: center; gap: 9px; padding: 10px; background: #f1f2ed; border-radius: 8px; font-size: 8px; }.check-row span:first-child { width: 18px; height: 18px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 9px; }.check-row.pending span:first-child { color: #9c652d; background: #f2dfc8; }.check-row strong { margin-left: auto; font: 7px var(--mono); }.reconcile-progress { height: 5px; margin-top: 16px; background: #e7e9e3; border-radius: 4px; }.reconcile-progress i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.report-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }.report-card { min-height: 190px; display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; transition: .2s ease; }.report-card:hover { transform: translateY(-2px); border-color: #b9c1ba; box-shadow: var(--shadow); }.report-card > span { width: 43px; height: 43px; display: grid; place-items: center; color: var(--green); background: #eaf0e9; border-radius: 11px; font-size: 18px; }.report-card small { color: var(--green); font-size: 7px; font-weight: 700; letter-spacing: .13em; }.report-card h2 { margin: 7px 0; font-size: 15px; }.report-card p { max-width: 360px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }.report-card > i { grid-column: 2; color: var(--green); font-size: 8px; font-style: normal; font-weight: 700; }

.modal { width: min(600px, calc(100% - 28px)); padding: 0; background: var(--surface); border: 0; border-radius: 16px; box-shadow: 0 30px 90px rgba(5,20,12,.3); }.modal::backdrop { background: rgba(10,24,16,.65); backdrop-filter: blur(4px); }.modal form { padding: 27px; }.modal-header { display: flex; justify-content: space-between; margin-bottom: 24px; }.modal-header h2 { margin: 6px 0 5px; font-size: 21px; letter-spacing: -.03em; }.modal-header p:last-child { margin: 0; color: var(--muted); font-size: 9px; }.modal-close, .drawer-header button { width: 31px; height: 31px; background: #eef0eb; border: 0; border-radius: 50%; font-size: 18px; }.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }.form-grid label, .full-field { color: #667069; font-size: 8px; font-weight: 700; }.form-grid input, .form-grid select, .full-field textarea { width: 100%; min-height: 40px; margin-top: 6px; padding: 0 11px; color: var(--ink); background: #f1f2ed; border: 1px solid #dfe1da; border-radius: 8px; font-size: 9px; }.full-field { display: block; margin-top: 15px; }.full-field textarea { padding-top: 10px; resize: vertical; }.input-prefix { position: relative; }.input-prefix span { position: absolute; z-index: 1; top: 18px; left: 11px; color: #7d867f; font: 9px var(--mono); }.input-prefix input { padding-left: 24px; }.modal-summary { display: flex; justify-content: space-between; padding: 12px; margin-top: 18px; background: #edf1eb; border-radius: 8px; color: #758078; font-size: 8px; }.modal-summary strong { color: var(--green); }.modal-summary i { display: inline-block; width: 5px; height: 5px; background: var(--amber); border-radius: 50%; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }.compact-modal { width: min(520px,calc(100% - 28px)); }
.drawer-backdrop { position: fixed; z-index: 40; inset: 0; visibility: hidden; opacity: 0; background: rgba(10,24,16,.4); transition: .25s; }.drawer-backdrop.open { visibility: visible; opacity: 1; }.filter-drawer { position: fixed; z-index: 45; top: 0; right: 0; width: min(385px,100%); height: 100vh; display: flex; flex-direction: column; padding: 25px; background: var(--surface); box-shadow: -20px 0 60px rgba(12,29,18,.13); transform: translateX(101%); transition: transform .3s ease; }.filter-drawer.open { transform: translateX(0); }.drawer-header { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }.drawer-header small { color: var(--green); font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }.drawer-header h2 { margin: 5px 0 0; font-size: 20px; }.drawer-content { flex: 1; overflow-y: auto; }.drawer-content fieldset { display: grid; gap: 12px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); }.drawer-content legend { margin-bottom: 13px; font-size: 9px; font-weight: 700; }.drawer-content label { display: flex; align-items: center; gap: 8px; color: #626d65; font-size: 9px; }.drawer-content input { accent-color: var(--green); }.drawer-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 70; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 11px; min-width: 290px; padding: 13px 15px; color: white; background: var(--green-dark); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; box-shadow: 0 15px 40px rgba(10,24,16,.25); transform: translateY(30px); opacity: 0; pointer-events: none; transition: .28s ease; }.toast.show { transform: none; opacity: 1; }.toast > span { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green-dark); background: var(--lime); border-radius: 50%; }.toast strong, .toast small { display: block; }.toast strong { font-size: 9px; }.toast small { margin-top: 2px; color: #a8b9ae; font-size: 7px; }

@media (max-width: 1120px) {
  :root { --sidebar: 215px; }.metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.dashboard-grid, .lower-grid { grid-template-columns: minmax(0,1fr); }.health-panel { order: -1; }.station-health-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }.comparison-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  :root { --sidebar: 250px; }.sidebar { transform: translateX(-101%); transition: transform .3s ease; box-shadow: 20px 0 60px rgba(9,23,15,.2); }.sidebar.open { transform: translateX(0); }.main-content { width: 100%; max-width: 100vw; min-width: 0; margin-left: 0; overflow-x: hidden; }.topbar { width: 100%; height: 61px; padding: 0 16px; }.menu-button { display: block; flex-shrink: 0; }.breadcrumb, .sync-indicator, .top-actions .icon-button { display: none; }.top-actions { flex-shrink: 0; }.page { width: 100%; min-width: 0; padding: 26px 16px 45px; }.view { min-width: 0; }.page-heading, .section-heading { align-items: flex-start; flex-direction: column; }.date-control { width: 100%; min-width: 0; }.date-main { min-width: 0; flex: 1; padding-inline: 9px; }.date-main strong { white-space: nowrap; }.scope-bar { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; }.scope-switch { grid-column: 1 / -1; width: 100%; min-width: 0; overflow: hidden; }.scope-switch button { min-width: 0; flex: 1; padding-inline: 7px; white-space: nowrap; }.station-select-wrap { grid-column: 1 / -1; min-width: 0; margin-left: 0; }.station-select-wrap select { min-width: 0; width: 100%; }.scope-bar .filter-button, .scope-bar > .export-button { width: 100%; justify-content: center; margin-left: 0; }.metric-grid { grid-template-columns: minmax(0,1fr); }.metric-card { min-width: 0; min-height: 142px; }.panel { min-width: 0; }.station-card-grid, .reconcile-grid, .report-grid { grid-template-columns: minmax(0,1fr); }.station-health-list { grid-template-columns: minmax(0,1fr); }.toolbar { flex-wrap: wrap; }.search-field { min-width: 0; flex-basis: 100%; }.toolbar select { min-width: 0; flex: 1; }.comparison-bars { gap: 5px; padding-inline: 0; }.form-grid { grid-template-columns: 1fr; }.top-actions .primary-button { padding: 0 11px; white-space: nowrap; }.top-actions .primary-button span { display: none; }.modal form { padding: 21px; }
}
@media (max-width: 390px) {
  .scope-bar .export-button { flex: 1; }.filter-button { flex: 1; }.performance-panel, .health-panel, .station-table-panel, .alerts-panel, .movement-panel, .comparison-chart-panel, .ranking-panel, .matrix-panel { padding: 15px; }.panel-header { flex-wrap: wrap; }.legend { flex-wrap: wrap; }.chart-wrap { height: 180px; }.chart-summary { gap: 5px; }.station-detail-metrics { grid-template-columns: 1fr; }.toast { left: 15px; right: 15px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* LINKGAS — editorial brand system */
:root {
  --ink: #17201c;
  --ink-soft: #4f5852;
  --muted: #7f857f;
  --paper: #ebe9e2;
  --surface: #f7f5ef;
  --line: #d6d3ca;
  --green: #1c4b3d;
  --green-dark: #0c211b;
  --mint: #b9c9b9;
  --lime: #d8b363;
  --red: #a54f45;
  --amber: #b98756;
  --bronze: #b38a61;
  --radius: 4px;
  --shadow: 0 22px 65px rgba(19, 31, 25, .09);
  --sidebar: 266px;
  --serif: "Instrument Serif", Georgia, serif;
}

body { background-color: var(--paper); background-image: radial-gradient(rgba(24,54,43,.045) .6px, transparent .6px); background-size: 7px 7px; }
.sidebar { padding: 24px 19px 19px; background: #080b0a; border-right: 1px solid #292c2a; }
.sidebar::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; pointer-events: none; background: linear-gradient(160deg, transparent 20%, rgba(212,221,173,.035)); }
.brand { position: relative; z-index: 1; justify-content: center; margin: -24px -19px 0; padding: 17px 20px 15px; background: #080909; border-bottom: 1px solid #242725; }
.brand-logo { display: block; width: 158px; height: 126px; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green-dark); background: var(--lime); border-radius: 0; transform: none; }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(12,33,27,.26); }
.brand-mark i { position: static; width: auto; height: auto; border: 0; border-radius: 0; transform: none; font-style: normal; }
.brand-mark i:first-child { position: static; font: 20px var(--serif); }.brand-mark i:last-child { position: absolute; top: 4px; right: 6px; font: 7px var(--mono); }
.brand strong { font-family: var(--serif); font-size: 23px; font-weight: 400; letter-spacing: .015em; text-transform: uppercase; }.brand small { margin-top: 2px; color: #93a49b; font-size: 7px; letter-spacing: .2em; }
.brand-edition { position: relative; z-index: 1; display: flex; justify-content: space-between; margin: 13px 9px 20px; padding: 9px 0; color: #697069; border-top: 1px solid #292d2a; border-bottom: 1px solid #292d2a; font: 7px var(--mono); letter-spacing: .12em; }.brand-edition b { color: var(--lime); font-weight: 400; }
.nav-label { margin-left: 11px; color: #60756a; font: 7px var(--mono); letter-spacing: .18em; }
.nav-item { height: 54px; gap: 10px; margin: 2px 0; padding: 0 10px; color: #94a69d; border-radius: 2px; }
.nav-item:hover { background: rgba(255,255,255,.035); }.nav-item.active { background: #1a382e; box-shadow: inset 0 0 0 1px rgba(217,223,173,.08); }
.nav-item.active::before { left: -19px; width: 2px; height: 36px; background: var(--lime); border-radius: 0; }
.nav-index { width: 22px; color: #5d776b; font: 7px var(--mono); }.nav-item.active .nav-index { color: var(--lime); }
.nav-copy { min-width: 0; flex: 1; }.nav-copy strong, .nav-copy small { display: block; }.nav-copy strong { color: inherit; font-size: 10px; font-weight: 600; }.nav-copy small { margin-top: 3px; color: #61766c; font-size: 7px; }.nav-item.active .nav-copy small { color: #92a89e; }
.nav-count { background: transparent; border: 1px solid #52675e; }.period-card { position: relative; z-index: 1; border-radius: 2px; }.profile { position: relative; z-index: 1; }.avatar { border-radius: 2px; background: var(--lime); }.profile strong { font-size: 9px; }.profile small { color: #72877c; }

.topbar { height: 73px; padding: 0 38px; background: rgba(235,233,226,.88); border-color: #d2cfc5; }.topbar::after { content: "LINKGAS / CONTROL ROOM"; position: absolute; left: 50%; color: #9a9c95; font: 7px var(--mono); letter-spacing: .15em; transform: translateX(-50%); }.topbar-title { font-family: var(--mono); font-size: 8px; }.primary-button, .export-button, .outline-button { border-radius: 2px; letter-spacing: .02em; }.primary-button { background: var(--green); box-shadow: none; }.icon-button, .date-control, .scope-bar, .scope-switch button, .station-select-wrap select, .filter-button { border-radius: 2px; }
.page { max-width: 1550px; padding: 48px 38px 72px; }
.page-heading { position: relative; align-items: center; min-height: 132px; padding: 22px 25px 22px 34px; margin-bottom: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.page-heading::before { content: "01"; position: absolute; right: 29%; bottom: -40px; color: rgba(27,72,58,.055); font: 150px/1 var(--serif); }
.page-heading::after { content: "FINANCIAL OVERVIEW"; position: absolute; top: 0; left: 0; padding: 4px 8px; color: var(--surface); background: var(--green); font: 6px var(--mono); letter-spacing: .16em; }
.page-heading h1, .section-heading h1 { margin: 7px 0 7px; font: 400 clamp(34px, 4vw, 54px)/.95 var(--serif); letter-spacing: -.03em; }.page-heading h1 em, .section-heading h1 em { color: var(--green); font-weight: 400; }.page-heading h1 em { margin-left: .1em; }.page-heading > div > p:last-child, .section-heading > div > p:last-child { max-width: 540px; font-size: 10px; line-height: 1.55; }.eyebrow { font: 7px var(--mono); letter-spacing: .18em; }.eyebrow > span { width: 25px; }
.date-control { position: relative; z-index: 1; background: transparent; border-color: #cbc8bd; box-shadow: none; }.date-main small { font-family: var(--mono); }.briefing-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; min-height: 34px; padding: 0 13px; margin-bottom: 15px; color: #777e78; background: #dedcd3; border: 1px solid #d1cec4; font: 7px var(--mono); letter-spacing: .06em; }.briefing-line > span:last-child { text-align: right; }.briefing-line b { color: var(--green); font-weight: 500; }.briefing-line p { margin: 0; }.briefing-line i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; background: #6ea27e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(110,162,126,.14); }
.scope-bar { padding: 7px; background: rgba(221,219,210,.82); border-color: #cfccc2; }.scope-switch button.active { box-shadow: none; }.metric-grid { grid-template-columns: 1.25fr repeat(3,1fr); gap: 9px; }.metric-card { min-height: 172px; padding: 21px; border-radius: 3px; }.metric-card::before { content: ""; position: absolute; top: 0; left: 0; width: 29px; height: 1px; background: var(--bronze); }.metric-card.featured { background: linear-gradient(135deg,#173e33,#265b49); }.metric-card.featured::after { content: "LINKGAS"; position: absolute; right: -12px; bottom: 13px; color: rgba(255,255,255,.045); font: 51px var(--serif); letter-spacing: .05em; transform: rotate(-90deg) translateX(40%); }.metric-top > span:first-child { font: 7px var(--mono); letter-spacing: .08em; text-transform: uppercase; }.metric-icon { border-radius: 1px; }.metric-value { margin-top: 23px; font-size: clamp(21px,2.3vw,31px); }.metric-progress, .net-caption i { border-radius: 0; }
.panel { position: relative; border-radius: 3px; }.panel::before { content: ""; position: absolute; top: -1px; left: 20px; width: 34px; height: 1px; background: var(--bronze); }.panel-header h2 { font-family: var(--serif); font-size: 17px; font-weight: 400; }.panel-header p { font-family: var(--mono); font-size: 7px; letter-spacing: .02em; }.station-badge { border-radius: 2px; }.health-item { min-height: 57px; }.station-table-panel th { font-family: var(--mono); }.table-status, .status-pill, .movement-type { border-radius: 1px; }.alerts-panel { background: #f3f0e9; }.alert-symbol { border-radius: 2px; }

.section-heading { position: relative; min-height: 220px; display: grid; grid-template-columns: 95px minmax(0,1fr) auto; align-items: end; gap: 28px; padding: 34px; margin-bottom: 18px; overflow: hidden; color: #eef1ec; background: #10271f; border: 1px solid #1f3a30; }
.section-heading::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 52%, rgba(217,223,173,.08)), repeating-linear-gradient(90deg,transparent 0,transparent 79px,rgba(255,255,255,.025) 80px); }.section-heading::after { content: ""; position: absolute; right: -75px; top: -105px; width: 310px; height: 310px; border: 1px solid rgba(217,223,173,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(217,223,173,.025),0 0 0 84px rgba(217,223,173,.018); }
.section-number { position: relative; z-index: 1; color: var(--lime); font: 78px/.75 var(--serif); opacity: .87; }.section-heading > div { position: relative; z-index: 1; }.section-heading h1 { color: white; }.section-heading h1 em { color: var(--lime); }.section-heading .eyebrow { color: #b6c5bc; }.section-heading .eyebrow > span { background: var(--bronze); }.section-heading > div > p:last-child { color: #96a99f; }.section-action { align-self: end; display: grid; justify-items: end; gap: 13px; }.section-action small { color: #778e83; font: 6px var(--mono); letter-spacing: .14em; }.section-heading .primary-button { color: var(--green-dark); background: var(--lime); border-color: var(--lime); }.section-heading .export-button { color: white; background: transparent; border-color: #52675e; }
[data-view-panel="movements"] .section-heading { background: #2d352f; border-color: #454e47; }[data-view-panel="movements"] .section-heading h1 em { color: #dac0a4; }[data-view-panel="movements"] .section-number { color: #dac0a4; }
[data-view-panel="comparison"] .section-heading { background: #422f25; border-color: #5b4337; }[data-view-panel="comparison"] .section-heading h1 em,[data-view-panel="comparison"] .section-number { color: #e1c5a7; }
[data-view-panel="reconciliation"] .section-heading { color: var(--ink); background: #d5d9bf; border-color: #c1c6a8; }[data-view-panel="reconciliation"] .section-heading h1 { color: var(--green-dark); }[data-view-panel="reconciliation"] .section-heading h1 em,[data-view-panel="reconciliation"] .section-number { color: var(--green); }[data-view-panel="reconciliation"] .section-heading > div > p:last-child,[data-view-panel="reconciliation"] .section-heading .eyebrow { color: #58695f; }[data-view-panel="reconciliation"] .section-action small { color: #6c776e; }[data-view-panel="reconciliation"] .section-heading .primary-button { color: white; background: var(--green); border-color: var(--green); }
[data-view-panel="reports"] .section-heading { min-height: 260px; background: #151816; border-color: #2d312e; }[data-view-panel="reports"] .section-heading h1 em,[data-view-panel="reports"] .section-number { color: #c09a73; }
.station-card-grid { gap: 10px; }.station-detail-card { position: relative; border-radius: 3px; }.station-detail-card::after { content: attr(data-index); position: absolute; left: 53%; bottom: 1px; color: #deddd7; font: 30px var(--serif); pointer-events: none; }.station-detail-metrics div { border-radius: 2px; }.movement-panel { border-top: 3px solid #303b34; }.comparison-chart-panel { border-top: 3px solid #6b4a38; }.reconcile-card { border-radius: 3px; }.report-grid { gap: 9px; }.report-card { position: relative; min-height: 220px; border-radius: 3px; }.report-card::after { content: ""; position: absolute; right: 0; top: 0; width: 38px; height: 38px; border-top: 1px solid var(--bronze); border-right: 1px solid var(--bronze); }.report-card > span { border-radius: 1px; }.report-card h2 { font: 400 22px var(--serif); }.modal, .filter-drawer { border-radius: 3px; }.modal-header h2, .drawer-header h2 { font-family: var(--serif); font-weight: 400; }

@media (max-width: 1120px) {
  :root { --sidebar: 228px; }.metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.section-heading { grid-template-columns: 72px minmax(0,1fr); }.section-action { grid-column: 2; justify-items: start; }.topbar::after { display: none; }
}
@media (max-width: 760px) {
  :root { --sidebar: 266px; }.main-content { overflow-x: clip; }.sidebar { z-index: 60; overflow-y: auto; overscroll-behavior: contain; }.topbar { position: sticky; z-index: 35; top: 0; height: 62px; padding-inline: 16px; transition: height .24s ease, background-color .24s ease, box-shadow .24s ease; }.topbar.compact { height: 44px; background: rgba(235,233,226,.97); box-shadow: 0 8px 24px rgba(12,27,20,.09); }.topbar .topbar-title > div { max-width: 150px; overflow: hidden; opacity: 1; white-space: nowrap; transition: max-width .2s ease, opacity .16s ease; }.topbar.compact .topbar-title > div { max-width: 0; opacity: 0; }.topbar.compact .menu-button { font-size: 18px; }.topbar.compact #newClosingButton { width: 32px; min-height: 29px; padding: 0; overflow: hidden; color: transparent; font-size: 0; }.topbar.compact #newClosingButton::before { content: "+"; color: white; font-size: 16px; }.menu-open { overflow: hidden; }.page { padding: 22px 14px 48px; }.page-heading { min-height: 190px; align-items: flex-start; padding: 31px 20px 20px; }.page-heading::before { right: -10px; bottom: -20px; }.page-heading h1 { font-size: 40px; }.date-control { margin-top: 16px; }.briefing-line { grid-template-columns: 1fr auto; }.briefing-line p { display: none; }.briefing-line > span:last-child { text-align: right; }.metric-grid { grid-template-columns: minmax(0,1fr); }.metric-card { min-height: 156px; }.section-heading { min-height: 300px; grid-template-columns: 1fr; align-content: end; gap: 17px; padding: 26px 22px; }.section-number { position: absolute; top: 24px; right: 21px; font-size: 66px; }.section-heading h1 { max-width: 330px; font-size: 40px; }.section-action { grid-column: 1; justify-items: start; }.section-heading::after { right: -155px; }.brand-edition { margin-bottom: 17px; }
}
@media (max-width: 390px) { .briefing-line { font-size: 6px; }.page-heading h1, .section-heading h1 { font-size: 36px; } }
