:root { color-scheme: light; font-family: system-ui, sans-serif; color: #192a38; background: #f4f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 5vw; background: white; border-bottom: 1px solid #dce2e7; }
.brand { font-size: 1.3rem; font-weight: 750; text-decoration: none; color: #192a38; }
.brand span { font-size: .85rem; font-weight: 400; margin-left: .75rem; color: #546675; }
.primary-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: .35rem; flex-wrap: wrap; }
.primary-nav a { padding: .45rem .7rem; border-radius: 7px; color: #344b5b; text-decoration: none; font-size: .9rem; }
.primary-nav a:hover { color: #075b78; background: #edf5f7; }
.header form { display: flex; align-items: center; gap: 1rem; }
main { max-width: 1120px; margin: 3rem auto; padding: 0 1.25rem; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 1rem; }
h2 { font-size: 1.2rem; }
a { color: #075b78; }
.eyebrow { color: #546675; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 650; }
.intro { color: #546675; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; }
.card { background: white; border: 1px solid #dce2e7; border-radius: 12px; padding: 1.5rem; overflow-wrap: anywhere; }
.login { max-width: 420px; margin: 8vh auto; }
.editor { max-width: 660px; margin-top: 1.5rem; }
label { display: block; margin: 1rem 0 .4rem; font-weight: 550; }
input:not([type=hidden]):not([type=checkbox]), textarea { width: 100%; border: 1px solid #9dacb8; border-radius: 6px; padding: .7rem; font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #75bed5; outline-offset: 3px; }
button { cursor: pointer; background: #075b78; color: white; border: 1px solid transparent; border-radius: 6px; font: inherit; padding: .65rem 1.1rem; }
.card button { margin-top: 1.5rem; }
.secondary { background: #eff4f7; color: #192a38; border-color: #dce2e7; }
.helptext { font-size: .85rem; color: #546675; margin-top: .3rem; }
.check-field { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; }
.check-field label { margin: 0; }
.check-field input[type=checkbox] { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.errorlist { background: #fff0ed; color: #a0291c; padding: .75rem 1.5rem; border-radius: 6px; }
.badge { display: inline-block; font-size: .8rem; background: #eaf2f5; border-radius: 5px; padding: .25rem .5rem; }
.blocked { color: #a0291c; background: #fff0ed; }
.notice { background: #eaf4ec; color: #195a33; border-radius: 6px; padding: .75rem 1rem; }
.connection-head,.connection-actions,.connection-summary { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.connection-actions,.connection-summary { align-items:center; }
.connection-actions form { margin:0; }
.connection-alert { margin:1rem 0; padding:1rem; border:1px solid #c88a22; border-radius:10px; background:#fff8e9; color:#71490b; }
.connection-form { margin:1rem 0; }
.connection-form form { max-width:660px; }
.connection-summary { justify-content:flex-end; margin:1.2rem 0 .6rem; }
.connection-table { border:1px solid #dce2e7; border-radius:12px; background:white; }
.connection-table small { display:block; margin-top:.25rem; color:#667986; white-space:normal; }
.connection-table .problem-row td:first-child { border-left:3px solid #d94b63; }
.status-pill { display:inline-block; padding:.25rem .55rem; border-radius:999px; background:#edf1f4; color:#566875; font-size:.76rem; white-space:nowrap; }
.status-pill.working { background:#e4f7ef; color:#08734c; }.status-pill.failed { background:#fff0f2; color:#b32640; }.status-pill.configuration { background:#fff6e5; color:#8a5911; }
.table-hint { display:block; max-width:24rem; margin-top:.3rem; color:#71808d; font-weight:400; line-height:1.35; }
@media (max-width:700px) { .connection-head { flex-direction:column; }.connection-actions { width:100%; flex-wrap:wrap; }.connection-table table { min-width:760px; } }
@media (max-width: 480px) { .brand span { display: none; } .header { padding: 1rem; } main { margin-top: 1.5rem; } }

.header { flex-wrap: wrap; }
select { width: 100%; max-width: 100%; min-width: 0; padding: .6rem; font: inherit; }
.log-record { margin: 1rem 0; }
.log-record pre { white-space: pre-wrap; overflow-wrap: anywhere; }

.report-table { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; }
.report-table table { border-collapse: collapse; width: 100%; }
.report-table th, .report-table td { padding: .6rem; border-bottom: 1px solid #dce2e7; text-align: left; white-space: nowrap; }
.metadata-section { width: 100%; max-width: 100%; min-width: 0; margin: 1rem 0; overflow: hidden; }
.inline-editor { display: flex; align-items: center; gap: .5rem; min-width: 22rem; }
.inline-editor input:not([type=hidden]) { min-width: 12rem; }
.inline-editor button { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .metadata-section .report-table table, .metadata-section .report-table tbody, .metadata-section .report-table tr, .metadata-section .report-table td { display: block; width: 100%; }
  .metadata-section .report-table thead { display: none; }
  .metadata-section .report-table tr { padding: .6rem 0; border-bottom: 1px solid #dce2e7; }
  .metadata-section .report-table td { border: 0; white-space: normal; }
  .metadata-section .report-table td::before { content: attr(data-label); display: block; color: #546675; font-size: .75rem; font-weight: 650; text-transform: uppercase; }
  .inline-editor { min-width: 0; flex-wrap: wrap; }
  .inline-editor input:not([type=hidden]) { min-width: 0; }
}

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.page-heading .intro { max-width: 48rem; margin-bottom: 0; }
.environment { display: inline-flex; flex: none; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid #b9d8c3; border-radius: 999px; color: #195a33; background: #edf8f0; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.environment::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #27945c; }
.environment.enabled { color: #8a351f; border-color: #ebc1b8; background: #fff0ed; }
.environment.enabled::before { background: #c64e32; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.module-card { --accent: #176b87; position: relative; display: flex; min-height: 14rem; flex-direction: column; padding: 1.5rem; overflow: hidden; border: 1px solid #dce2e7; border-radius: 16px; color: #192a38; background: white; text-decoration: none; box-shadow: 0 8px 28px rgba(24, 49, 66, .06); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.module-card::after { content: ""; position: absolute; right: -2rem; top: -2.5rem; width: 8rem; height: 8rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white); }
.module-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, white); box-shadow: 0 12px 32px rgba(24, 49, 66, .11); }
.module-card:focus-visible { outline: 3px solid #75bed5; outline-offset: 3px; }
.module-kicker { position: relative; z-index: 1; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.module-card > strong { position: relative; z-index: 1; margin-top: .45rem; font-size: 1.25rem; }
.module-description { max-width: 31rem; margin-top: .55rem; color: #546675; }
.module-count { margin-top: auto; padding-top: 1.25rem; color: #546675; }
.module-count b { margin-right: .25rem; color: var(--accent); font-size: 1.55rem; }
.module-open { margin-top: .75rem; color: var(--accent); font-weight: 700; }
.tone-violet { --accent: #6551a8; }.tone-cyan { --accent: #087c91; }.tone-green { --accent: #237a4b; }.tone-orange { --accent: #a45a16; }.tone-pink { --accent: #a43c67; }.tone-teal { --accent: #15756f; }.tone-slate { --accent: #40556b; }
.safety-note { margin-top: 1rem; padding: 1.25rem 1.4rem; border: 1px solid #d7e1e8; border-radius: 12px; background: #eef3f6; }
.safety-note p { margin: .3rem 0 0; color: #546675; }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; color: #6c7d89; font-size: .85rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.metric-card { min-width: 0; padding: 1.2rem; border: 1px solid #dce2e7; border-radius: 12px; background: white; }
.metric-card b { display: block; overflow-wrap: anywhere; color: #075b78; font-size: 1.8rem; line-height: 1.1; }
.metric-card span { display: block; margin-top: .45rem; color: #546675; font-size: .85rem; }
.action-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .75rem; margin-top: 1rem; }
.action-strip a { display: flex; flex-direction: column; padding: 1rem 1.1rem; border: 1px solid #cfe0e6; border-radius: 10px; background: #f4fafb; text-decoration: none; }
.action-strip a span { margin-top: .25rem; color: #546675; font-size: .8rem; }
.workspace-section { margin-top: 2.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { margin: 0; font-size: 1.35rem; }.section-heading .eyebrow { margin-bottom: .2rem; }.section-heading > p { margin: 0; color: #6c7d89; font-size: .8rem; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: .8rem; }
.status-card { padding: 1.15rem; border: 1px solid #dce2e7; border-radius: 12px; background: white; }
.status-card h3 { margin: 0 0 .8rem; font-size: 1rem; }.status-list { display: grid; gap: .45rem; }
.status-list > div { display: grid; grid-template-columns: .55rem 1fr auto; align-items: center; gap: .5rem; min-width: 0; }
.status-list span:nth-child(2) { overflow-wrap: anywhere; color: #546675; font-size: .83rem; }
.status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #8293a0; }
.state-done,.state-confirmed { background: #27945c; }.state-failed,.state-uncertain { background: #c64e32; }.state-pending { background: #d58a20; }.state-running,.state-sending { background: #1b82a1; }
.status-note { margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid #e4e9ed; color: #6c7d89; font-size: .75rem; }
.empty { margin: 0; color: #6c7d89; font-size: .83rem; }
.data-table { width: 100%; overflow-x: auto; border: 1px solid #dce2e7; border-radius: 12px; background: white; }
.data-table table { width: 100%; border-collapse: collapse; }.data-table th,.data-table td { padding: .75rem .85rem; border-bottom: 1px solid #e7ecef; text-align: left; white-space: nowrap; font-size: .82rem; }.data-table th { color: #546675; background: #f7f9fa; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }.data-table tbody tr:last-child td { border-bottom: 0; }
.workspace-filter { display: flex; align-items: end; gap: 1rem; margin-top: 1rem; max-width: none; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; flex: 1; }
.filter-grid p { margin: 0; }.filter-grid label { margin-top: 0; font-size: .8rem; }.workspace-filter button { margin: 0; white-space: nowrap; }.workspace-filter > a { padding: .65rem 0; white-space: nowrap; }
.local-action { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .7fr); gap: 2rem; align-items: center; margin-top: 1rem; }
.local-action > * { min-width: 0; }
.local-action h2 { margin: 0; }.local-action p { color: #546675; }.local-action form p { margin: 0; }.local-action form label { margin-top: 0; }.local-action form button { margin-top: .75rem; }
.service-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0 0; }
.service-facts div { padding: .75rem; border-radius: 10px; background: #f3f7f9; }
.service-facts dt { color: #6c7d89; font-size: .75rem; }.service-facts dd { margin: .25rem 0 0; color: #075b78; font-size: 1.1rem; font-weight: 700; }
.event-summary { margin-top: 1rem; }.event-summary h2 { margin: 0 0 1rem; }.event-summary dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .8rem; margin: 0; }.event-summary dl div { min-width: 0; padding: .8rem; border-radius: 8px; background: #f7f9fa; }.event-summary dt { color: #6c7d89; font-size: .72rem; font-weight: 700; text-transform: uppercase; }.event-summary dd { margin: .3rem 0 0; overflow-wrap: anywhere; }

@media (max-width: 780px) {
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-content: stretch; }
  .primary-nav { grid-column: 1 / -1; width: 100%; min-width: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .primary-nav a { white-space: nowrap; }
  .header form { margin: 0; }
  .page-heading { flex-direction: column; gap: 1rem; }
  .module-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .workspace-filter { align-items: stretch; flex-direction: column; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .local-action { grid-template-columns: 1fr; gap: 1rem; }
  .service-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .metric-grid { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .environment { white-space: normal; }
}

/* Management BI */
.bi-shell { display: grid; gap: 1.1rem; }
.bi-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 2.1rem; overflow: hidden; border-radius: 24px; color: #f7f8ff; background: radial-gradient(circle at 78% 8%, rgba(139, 113, 255, .65), transparent 31%), linear-gradient(125deg, #171629, #292349 62%, #183c4b); box-shadow: 0 24px 55px rgba(24, 22, 52, .2); }
.bi-hero::after { content: ""; position: absolute; right: 4%; bottom: -7rem; width: 20rem; height: 20rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(255,255,255,.025), 0 0 0 7rem rgba(255,255,255,.018); }
.bi-hero > * { position: relative; z-index: 1; }
.bi-hero h1 { margin: .25rem 0 .4rem; font-size: clamp(2.2rem, 6vw, 4.1rem); line-height: .96; letter-spacing: -.055em; }
.bi-hero .eyebrow { color: #a99bff; }.bi-hero .intro { max-width: 37rem; margin: 0; color: #c9c7dc; }
.bi-period { min-width: 17rem; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(13, 14, 29, .38); backdrop-filter: blur(12px); }
.bi-period span,.bi-period small { display: block; color: #aaa8bd; font-size: .75rem; }.bi-period strong { display: block; margin: .25rem 0; font-size: 1rem; }
.bi-filters { display: grid; grid-template-columns: .8fr .8fr 1.2fr 1.2fr auto auto; align-items: end; gap: .7rem; padding: 1rem; border: 1px solid #e2e5eb; border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: 0 9px 28px rgba(25,31,45,.05); }
.bi-filters label { margin: 0; color: #6c7180; font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.bi-filters input,.bi-filters select { margin-top: .38rem; border: 1px solid #d9dde5; border-radius: 9px; background: #fafbfc; color: #202332; }
.bi-filters button { border-radius: 9px; background: #6d52e8; }.bi-filters > a { padding: .68rem .35rem; color: #686d78; font-size: .85rem; }
.bi-empty { padding: 1.05rem 1.2rem; border: 1px solid #eadfb9; border-radius: 14px; color: #6d5719; background: #fffaf0; }.bi-empty span { font-weight: 800; }.bi-empty p { margin: .25rem 0 0; font-size: .85rem; }
.bi-source-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid #cfe5dc; border-radius: 13px; color: #315d50; background: #f2fbf7; font-size: .8rem; }
.bi-source-note span { color: #56756c; }
.bi-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.bi-kpi { min-width: 0; padding: 1.25rem; border: 1px solid #e2e5eb; border-radius: 17px; background: white; box-shadow: 0 10px 25px rgba(25,31,45,.045); }
.bi-kpi-primary { color: white; border-color: transparent; background: linear-gradient(145deg,#6e53ed,#8b6fff); box-shadow: 0 15px 30px rgba(110,83,237,.25); }
.bi-kpi > span { display: block; color: #777c89; font-size: .78rem; font-weight: 700; }.bi-kpi-primary > span { color: #dcd6ff; }
.bi-kpi strong { display: block; margin: .55rem 0 .45rem; overflow-wrap: anywhere; font-size: clamp(1.65rem, 3.2vw, 2.25rem); letter-spacing: -.04em; line-height: 1; }
.bi-kpi small { color: #898e99; font-size: .72rem; }.bi-kpi-primary small { color: #ded9ff; }.trend.up::before { content: "↗ "; }.trend.down::before { content: "↘ "; }.trend.neutral::before { content: "→ "; }
.bi-grid-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .9fr); gap: 1rem; }
.bi-panel { min-width: 0; padding: 1.35rem; border: 1px solid #e2e5eb; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(25,31,45,.045); }
.bi-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }.bi-panel-head .eyebrow { margin: 0 0 .25rem; color: #8370dc; }.bi-panel-head h2 { margin: 0; font-size: 1.2rem; }.bi-panel-head > strong { color: #8b8f99; font-size: .75rem; font-weight: 650; }
.line-chart { height: 260px; margin-top: 1.4rem; padding: .5rem 0; border-bottom: 1px solid #e7e8ee; background: repeating-linear-gradient(to bottom, transparent 0, transparent 63px, #eceef3 64px); }.line-chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; margin-top: .5rem; color: #9296a1; font-size: .7rem; }
.chart-placeholder { position: relative; display: grid; align-content: center; height: 275px; margin-top: 1rem; overflow: hidden; text-align: center; color: #9195a1; background: repeating-linear-gradient(to bottom, transparent 0, transparent 67px, #eceef3 68px); }.chart-placeholder span { position: absolute; bottom: 20%; width: 35%; height: 2px; transform: rotate(-7deg); background: #dcd7f8; }.chart-placeholder span:nth-child(1) { left: 0; }.chart-placeholder span:nth-child(2) { left: 30%; transform: rotate(11deg); }.chart-placeholder span:nth-child(3) { right: 0; transform: rotate(-15deg); }
.rank-list { display: grid; gap: .85rem; margin-top: 1.25rem; }.rank-row { display: grid; grid-template-columns: minmax(0,1fr) 2.6rem; gap: .32rem .7rem; }.rank-row > div:first-child { display: flex; justify-content: space-between; gap: .7rem; font-size: .77rem; }.rank-row b { font-size: .76rem; }.rank-row small { grid-column: 2; grid-row: 2; color: #8d919b; font-size: .67rem; text-align: right; }.rank-track { height: 6px; overflow: hidden; border-radius: 999px; background: #eeeef4; }.rank-track i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#6d52e8,#52b7c4); }
.bi-models { margin-bottom: 2rem; }.bi-model-table { margin-top: 1rem; }.bi-model-row { display: grid; grid-template-columns: minmax(12rem, 1fr) 7rem 6rem 5rem; align-items: center; gap: 1rem; min-height: 3.65rem; border-top: 1px solid #eceef2; font-size: .82rem; }.bi-model-row.heading { min-height: 2.2rem; border: 0; color: #8b8f99; font-size: .67rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }.bi-model-row > div { min-width: 0; }.bi-model-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.bi-model-row i { display: block; width: var(--value); max-width: 100%; height: 3px; margin-top: .45rem; border-radius: 999px; background: #7960ed; }
.rank-meta { display: flex; justify-content: space-between; gap: .75rem; margin-top: .35rem; color: #969aa4; font-size: .66rem; }
.rank-job { margin-top: .2rem; color: #777c89; font-size: .66rem; }
.bi-drilldown { color: #4f3db2; font-weight: 780; text-decoration: underline; text-decoration-color: #d4cdf8; text-underline-offset: .2em; }.bi-drilldown:hover,.bi-drilldown:focus-visible { color: #281b78; text-decoration-color: currentColor; }
.table-link { color: #4f3db2; font-weight: 760; text-decoration: underline; text-decoration-color: #d4cdf8; text-underline-offset: .18em; }.table-link:hover,.table-link:focus-visible { color: #281b78; text-decoration-color: currentColor; }
.bi-projection { padding-bottom: .65rem; }.bi-table-scroll { margin: 1rem -.4rem 0; overflow-x: auto; }.bi-data-table { width: 100%; min-width: 72rem; border-collapse: separate; border-spacing: 0; font-size: .75rem; font-variant-numeric: tabular-nums; }.bi-data-table th,.bi-data-table td { padding: .72rem .62rem; border-bottom: 1px solid #eceef2; text-align: right; white-space: nowrap; }.bi-data-table thead th { position: sticky; top: 0; z-index: 1; color: #777c89; background: #f7f8fb; font-size: .65rem; letter-spacing: .035em; text-transform: uppercase; }.bi-data-table th:first-child,.bi-data-table td:first-child { position: sticky; left: 0; z-index: 2; text-align: left; background: white; }.bi-data-table thead th:first-child { z-index: 3; background: #f7f8fb; }.bi-data-table tbody tr:hover td,.bi-data-table tbody tr:hover th { background: #faf9ff; }.bi-data-table .money { color: #5741bd; font-weight: 800; }.bi-model-detail { min-width: 96rem; }
.almanac-tree { display: grid; gap: .65rem; margin-top: 1rem; }.almanac-member,.almanac-day { border: 1px solid #e2e5eb; border-radius: 14px; background: #fff; }.almanac-member > summary,.almanac-day > summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; }.almanac-member > summary small,.almanac-day > summary small { display: block; margin-top: .2rem; color: #777c89; }.almanac-day { margin: 0 .75rem .65rem; background: #f7f8fb; }.almanac-model { margin: 0 .75rem .75rem; padding: .75rem; border-radius: 10px; background: #fff; }.almanac-model > div,.almanac-model li { display: flex; justify-content: space-between; gap: 1rem; }.almanac-model ul { display: grid; gap: .35rem; margin: .55rem 0 0; padding: 0; list-style: none; color: #777c89; }.almanac-tree .money { color: #5741bd; font-variant-numeric: tabular-nums; font-weight: 800; }
.quality-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }.quality-grid > div { padding: .9rem; border-radius: 12px; background: #f7f8fb; }.quality-grid span { display: block; color: #797e8a; font-size: .7rem; }.quality-grid strong { display: block; margin-top: .3rem; font-size: 1.4rem; }.quality-warning { margin: .8rem 0 0; color: #8a5513; }
@media (max-width: 900px) { .bi-kpis { grid-template-columns: 1fr 1fr; }.bi-grid-main { grid-template-columns: 1fr; }.bi-filters { grid-template-columns: 1fr 1fr; }.bi-filters button,.bi-filters > a { width: 100%; }.bi-hero { align-items: flex-start; flex-direction: column; }.bi-period { width: 100%; } }
@media (max-width: 560px) { main { padding: 0 .8rem; }.bi-hero { padding: 1.5rem; border-radius: 18px; }.bi-kpis,.bi-filters,.quality-grid { grid-template-columns: 1fr; }.bi-source-note { align-items: flex-start; flex-direction: column; }.bi-model-table { overflow-x: auto; }.bi-model-row { min-width: 34rem; }.line-chart { height: 210px; } }
