:root {
  --ink: #17211c;
  --forest: #123e32;
  --forest-2: #1d5c49;
  --mint: #dcebe1;
  --paper: #f5f3ec;
  --white: #fffdfa;
  --line: #deded5;
  --muted: #6e756f;
  --amber: #c88616;
  --red: #b6473f;
  --purple: #7258a3;
  --shadow: 0 12px 34px rgba(24, 40, 32, .07);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px 18px; color: #ecf4ef; background: var(--forest); display: flex; flex-direction: column; overflow-y: auto; z-index: 20; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 24px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.35); font-family: "Newsreader", serif; font-size: 25px; border-radius: 50%; }
.brand strong { display: block; font: 600 21px/1 "Newsreader", serif; letter-spacing: .04em; }
.brand small, .sidebar-footer small { display: block; margin-top: 3px; color: #a7bcb2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.cycle-panel { padding: 15px; margin-bottom: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.055); }
.eyebrow { display: block; color: #758078; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cycle-panel .eyebrow { color: #9bb1a5; }
.cycle-panel strong { display: block; margin: 4px 0 9px; font-family: "Newsreader", serif; font-size: 19px; }
.cycle-dot { color: #b9c9c0; font-size: 11px; }
.cycle-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #e1ad48; box-shadow: 0 0 0 4px rgba(225,173,72,.12); }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-section { margin: 17px 11px 6px; color: #789589; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 11px; color: #c8d7cf; border-radius: 9px; font-size: 12px; font-weight: 600; transition: .2s ease; }
.side-nav a > span { width: 17px; color: #9eb6aa; font-size: 16px; text-align: center; }
.side-nav a b { margin-left: auto; padding: 2px 6px; color: #f3cf8d; background: rgba(233,183,89,.14); border-radius: 20px; font-size: 9px; }
.side-nav a:hover, .side-nav a.active { color: white; background: rgba(255,255,255,.1); transform: translateX(2px); }
.side-nav a.active::before { content: ""; width: 3px; height: 20px; margin-left: -11px; border-radius: 0 4px 4px 0; background: #e1ad48; }
.sidebar-footer { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-top: auto; padding: 17px 7px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-footer strong { font-size: 11px; }
.sidebar-footer button { color: #9fb3a9; border: 0; background: transparent; }
.user-avatar { display: grid; width: 34px; height: 34px; place-items: center; color: var(--forest); background: #e4c884; border-radius: 50%; font-size: 10px; font-weight: 800; }
.user-avatar.small { width: 30px; height: 30px; font-size: 9px; }
.main-stage { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 15; height: 68px; display: flex; align-items: center; padding: 0 32px; border-bottom: 1px solid rgba(23,33,28,.08); background: rgba(245,243,236,.9); backdrop-filter: blur(15px); }
.menu-button { display: none; border: 0; background: transparent; font-size: 20px; }
.scope-switcher { display: flex; align-items: center; gap: 9px; }
.scope-switcher small, .scope-switcher strong { display: block; }
.scope-switcher small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.scope-switcher strong { font-size: 12px; }
.scope-icon { display: grid; width: 30px; height: 30px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 50%; }
.chevron { margin-left: 5px; color: var(--muted); }
.topbar-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.quiet-button { position: relative; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.65); }
.notification i { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; background: var(--red); border: 2px solid var(--paper); border-radius: 50%; }
.assistant-shortcut { display: flex; gap: 7px; align-items: center; padding: 9px 14px; color: white; background: var(--forest); border-radius: 9px; font-size: 11px; font-weight: 700; }
.assistant-shortcut span { color: #f2c76f; }
.page-canvas { max-width: 1510px; margin: 0 auto; padding: 36px 34px 70px; }
.page-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 28px; }
.page-heading h1 { margin: 4px 0 5px; font: 600 clamp(30px, 4vw, 44px)/1 "Newsreader", serif; letter-spacing: -.025em; }
.page-heading p { margin: 0; color: var(--muted); }
.heading-actions { display: flex; gap: 9px; }
.btn { border-radius: 9px; font-size: 12px; font-weight: 700; padding: 10px 16px; }
.btn-ink { color: white; background: var(--forest); border-color: var(--forest); }
.btn-ink:hover { color: white; background: #0a2d23; }
.btn-paper { color: var(--forest); background: var(--white); border: 0; }
.filter-ribbon { display: flex; gap: 8px; align-items: stretch; margin-bottom: 18px; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.52); }
.filter-ribbon button { display: grid; min-width: 138px; grid-template-columns: 1fr auto; column-gap: 18px; padding: 7px 10px; text-align: left; border: 0; border-right: 1px solid var(--line); background: transparent; }
.filter-ribbon button small { grid-column: 1; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.filter-ribbon button strong { grid-column: 1; font-size: 11px; }
.filter-ribbon button span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--muted); }
.filter-ribbon .save-view { display: block; min-width: auto; border: 0; color: var(--forest); font-weight: 700; }
.filter-spacer { flex: 1; }
.metric-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.metric-grid.compact { grid-template-columns: repeat(4, 1fr); }
.metric-card, .panel { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.metric-card { min-height: 128px; padding: 18px; border-radius: 13px; }
.metric-feature { color: white; border-color: var(--forest); background: var(--forest); }
.metric-feature::after { content: ""; position: absolute; width: 130px; height: 130px; right: -45px; bottom: -55px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.metric-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metric-feature .metric-label { color: #b7cbc1; }
.metric-value { margin: 9px 0 4px; font: 600 38px/.95 "Newsreader", serif; letter-spacing: -.03em; }
.metric-value small { font-size: 18px; }
.metric-value.amber { color: var(--amber); }
.metric-value.red { color: var(--red); }
.metric-value.green { color: var(--forest-2); }
.metric-foot { color: var(--muted); font-size: 10px; }
.metric-feature .metric-foot { color: #ceddd6; }
.positive { color: var(--forest-2); }
.negative { color: var(--red); }
.panel { border-radius: 14px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .8fr); gap: 14px; }
.performance-panel, .attention-panel, .department-panel, .status-panel { padding: 21px; }
.department-panel { grid-row: span 2; }
.panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.panel-head h2, .guidance-panel h2, .issue-detail h2 { margin: 3px 0 0; font: 600 22px/1.1 "Newsreader", serif; }
.panel-head a, .text-link { color: var(--forest-2); font-size: 11px; font-weight: 700; }
.panel-note { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.icon-button { border: 0; background: transparent; color: var(--muted); }
.trend-layout { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: end; }
.trend-stat strong { display: block; font: 600 44px/1 "Newsreader", serif; }
.trend-stat span, .trend-stat em { display: block; color: var(--muted); font-size: 10px; font-style: normal; }
.trend-stat em { margin-top: 18px; color: var(--forest-2); font-weight: 700; }
.trend-chart { position: relative; height: 155px; display: flex; gap: 8px; align-items: end; padding: 20px 0 19px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(23,33,28,.06) 40px); }
.chart-target { position: absolute; left: 0; right: 0; top: 30px; border-top: 1px dashed rgba(182,71,63,.45); }
.chart-target span { position: absolute; right: 0; top: -16px; color: var(--red); font-size: 8px; }
.trend-column { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; }
.trend-column small { position: absolute; bottom: 2px; color: var(--muted); font-size: 8px; }
.trend-bar { position: relative; width: 68%; height: var(--height); max-height: 105px; min-height: 30px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #3b8068, var(--forest)); transition: .3s ease; }
.trend-bar:hover { filter: brightness(1.15); transform: translateY(-2px); }
.trend-bar span { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 8px; font-weight: 700; }
.attention-list { display: flex; flex-direction: column; }
.attention-item { display: grid; grid-template-columns: 8px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ecece6; }
.attention-item strong, .attention-item small { display: block; }
.attention-item strong { font-size: 11px; }
.attention-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.attention-item em { color: var(--muted); font-size: 9px; font-style: normal; }
.severity-dot { width: 7px; height: 7px; border-radius: 50%; }
.severity-dot.critical, .severity-dot.high { background: var(--red); }
.severity-dot.medium { background: var(--amber); }
.attention-summary { display: flex; gap: 18px; padding-top: 15px; color: var(--muted); font-size: 9px; }
.attention-summary b { color: var(--ink); font: 600 18px "Newsreader", serif; }
.ranking-list { display: flex; flex-direction: column; gap: 13px; }
.ranking-row { display: grid; grid-template-columns: 16px 130px 1fr 24px; gap: 8px; align-items: center; font-size: 9px; }
.ranking-row > span { color: var(--muted); }
.ranking-track, .mini-progress, .submission-progress { height: 5px; overflow: hidden; background: #e6e8e3; border-radius: 5px; }
.ranking-track i, .mini-progress i, .submission-progress i { display: block; height: 100%; background: var(--forest-2); border-radius: inherit; }
.status-panel { min-height: 265px; }
.donut-wrap { display: flex; align-items: center; justify-content: space-around; gap: 16px; margin: 20px 0; }
.donut { position: relative; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--forest-2) 0 50%, var(--amber) 50% 62.5%, var(--red) 62.5% 100%); }
.donut::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--white); }
.donut > span { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: 8px; }
.donut strong { display: block; color: var(--ink); font: 600 27px "Newsreader", serif; }
.legend { display: flex; flex-direction: column; gap: 10px; min-width: 100px; }
.legend span { display: grid; grid-template-columns: 8px 1fr auto; gap: 7px; color: var(--muted); font-size: 9px; }
.legend i { width: 7px; height: 7px; border-radius: 2px; }
.legend b { color: var(--ink); }
.legend-green { background: var(--forest-2); }.legend-amber { background: var(--amber); }.legend-red { background: var(--red); }
.table-panel { margin-top: 14px; padding: 21px; }
.kra-table { margin: 0; font-size: 10px; }
.kra-table thead th { padding: 9px 12px; color: var(--muted); background: #f4f4ee; border: 0; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.kra-table tbody td { padding: 12px; border-color: #ecece6; }
.kra-table td strong, .kra-table td small { display: block; }
.kra-table td small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.record-id { display: block; margin-bottom: 3px; color: var(--forest-2); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.kra-table .mini-progress { display: inline-block; width: 58px; margin-right: 6px; vertical-align: middle; }
.status-pill, .quality-tag, .severity-tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 20px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.status-met-target, .status-approved, .status-exceeded { color: #1b634d; background: #dfeee7; }
.status-at-risk, .status-submitted { color: #8b5c0d; background: #f8ebcf; }
.status-below-target, .status-late { color: #9b3b35; background: #f6ddda; }
.status-critical, .status-missing { color: white; background: var(--red); }
.status-clarification { color: #65488f; background: #eee5f8; }
.quality-valid { color: #1b634d; background: #e4f0ea; }.quality-review { color: #8b5c0d; background: #f7ebd2; }.quality-issue { color: #9b3b35; background: #f6ddda; }
.table-search { display: flex; gap: 7px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.table-search.wide { min-width: min(420px, 45vw); }
.table-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 10px; }
.submission-progress { display: inline-block; width: 70px; margin-right: 6px; vertical-align: middle; }
.issue-count { display: inline-grid; width: 21px; height: 21px; place-items: center; background: #eef0ec; border-radius: 50%; }
.issue-count.has-issues { color: var(--red); background: #f6ddda; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr); gap: 16px; }
.upload-panel, .guidance-panel, .validation-panel { padding: 25px; }
.stepper { display: flex; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 9px; }
.stepper span { display: flex; gap: 6px; align-items: center; }
.stepper b { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 9px; }
.stepper .active { color: var(--forest); font-weight: 700; }.stepper .active b { color: white; border-color: var(--forest); background: var(--forest); }
.stepper i { flex: 1; height: 1px; margin: 0 9px; background: var(--line); }
.form-label { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.form-select, .form-control { min-height: 42px; border-color: var(--line); border-radius: 8px; font-size: 11px; }
.drop-zone { min-height: 250px; margin: 20px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed #a7b6ad; border-radius: 14px; background: #f5f8f5; text-align: center; cursor: pointer; transition: .2s; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--forest-2); background: #ecf4ef; transform: translateY(-2px); }
.drop-zone input { display: none; }
.upload-glyph { display: grid; width: 48px; height: 48px; margin-bottom: 14px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 50%; font-size: 23px; }
.drop-zone strong { font: 600 20px "Newsreader", serif; }.drop-zone small { margin: 6px 0 13px; color: var(--muted); font-size: 9px; }.drop-zone em { color: var(--forest-2); font-size: 9px; font-style: normal; font-weight: 700; }
.upload-actions { display: flex; justify-content: space-between; align-items: center; }
.guidance-panel h2 { margin: 8px 0 20px; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 25px; color: var(--muted); border-bottom: 1px solid #ecece6; font-size: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--forest-2); font-weight: 800; }
.privacy-note { margin-top: 23px; padding: 15px; border-radius: 10px; background: var(--mint); }.privacy-note p { margin: 5px 0 0; color: #4c655a; font-size: 9px; line-height: 1.6; }
.validation-panel { margin-top: 16px; }
.validation-banner { display: flex; gap: 13px; align-items: center; padding: 15px; border-radius: 10px; }.validation-banner.valid { background: #e3f0e9; }.validation-banner.invalid { background: #f6e1df; }
.validation-banner > span { display: grid; width: 30px; height: 30px; place-items: center; color: white; background: var(--forest-2); border-radius: 50%; font-weight: 800; }.validation-banner.invalid > span { background: var(--red); }
.validation-banner strong, .validation-banner small { display: block; }.validation-banner small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.result-list { margin-top: 15px; padding: 13px 16px; border-left: 3px solid; }.result-list.errors { border-color: var(--red); background: #fbf1ef; }.result-list.warnings { border-color: var(--amber); background: #fcf6e9; }
.result-list h3 { font: 600 17px "Newsreader", serif; }.result-list p { margin: 6px 0; font-size: 10px; }.result-list p span { margin-right: 8px; font-weight: 800; }
.preview-head { display: flex; justify-content: space-between; align-items: end; margin: 24px 0 12px; }
.repository-filter { width: 160px; min-height: 38px; }
.quality-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 15px; }
.issue-queue, .issue-detail { padding: 21px; }
.issue-card { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 14px 11px; text-align: left; border: 0; border-bottom: 1px solid #ecece6; background: transparent; transition: .15s; }
.issue-card:hover, .issue-card.selected { padding-left: 15px; background: #f1f5f2; }
.issue-card .severity-tag { justify-self: start; }.issue-card strong, .issue-card small { grid-column: 1 / 3; }.issue-card strong { margin-top: 3px; font-size: 11px; }.issue-card small, .issue-card em { color: var(--muted); font-size: 8px; font-style: normal; }.issue-card em { grid-column: 2; grid-row: 1; }
.severity-critical { color: white; background: var(--red); }.severity-high { color: #9b3b35; background: #f6ddda; }.severity-medium { color: #8b5c0d; background: #f8ebcf; }
.detail-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.issue-detail h2 { margin-top: 18px; font-size: 30px; }.detail-lead { color: var(--muted); line-height: 1.7; }
.evidence-box { margin: 25px 0; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #faf9f4; }
.comparison { display: flex; gap: 25px; align-items: center; margin-top: 13px; }.comparison span { flex: 1; }.comparison small, .comparison strong { display: block; }.comparison small { color: var(--muted); font-size: 8px; }.comparison strong { margin-top: 5px; font: 600 30px "Newsreader", serif; }.comparison b { color: var(--muted); }
.owner-strip { display: flex; gap: 10px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.owner-strip span:nth-child(2) { flex: 1; }.owner-strip small, .owner-strip strong { display: block; }.owner-strip small { color: var(--muted); font-size: 8px; }
.detail-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.assistant-heading { align-items: center; }.governed-badge { padding: 8px 11px; color: var(--forest-2); border: 1px solid #b9d0c4; border-radius: 20px; background: #eaf3ee; font-size: 9px; font-weight: 700; }
.assistant-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 15px; min-height: 650px; }
.assistant-chat { display: flex; flex-direction: column; min-height: 650px; padding: 25px; background: radial-gradient(circle at 50% 5%, #f3f8f5 0, var(--white) 40%); }
.assistant-intro { max-width: 650px; margin: 65px auto 25px; text-align: center; }
.assistant-star { display: grid; width: 52px; height: 52px; margin: 0 auto 16px; place-items: center; color: #d5a236; background: var(--forest); border-radius: 18px; font-size: 24px; transform: rotate(4deg); }
.assistant-intro h2 { margin: 0 0 8px; font: 600 29px "Newsreader", serif; }.assistant-intro p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }.prompt-grid button { padding: 12px; text-align: left; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.85); font-size: 9px; font-weight: 700; }.prompt-grid button:hover { border-color: #99b7a8; transform: translateY(-1px); }
.message { max-width: 80%; margin: 10px 0; padding: 13px 15px; border-radius: 13px; line-height: 1.6; font-size: 10px; }.user-message { align-self: flex-end; color: white; background: var(--forest); border-bottom-right-radius: 3px; }.assistant-message { display: flex; gap: 10px; background: #edf4f0; border-bottom-left-radius: 3px; }.assistant-message > span { color: #d1a037; }.assistant-message p { margin: 0; }.assistant-message small { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; }
.evidence-links { display: flex; gap: 5px; margin-top: 10px; }.evidence-links a { padding: 3px 7px; color: var(--forest-2); background: white; border: 1px solid #c6d9cf; border-radius: 20px; font-size: 8px; font-weight: 700; }
.assistant-composer { position: relative; margin-top: auto; padding: 11px 55px 23px 13px; border: 1px solid #bfc8c2; border-radius: 13px; background: white; box-shadow: 0 8px 28px rgba(19,62,50,.1); }.assistant-composer textarea { width: 100%; resize: none; border: 0; outline: 0; }.assistant-composer button { position: absolute; right: 10px; top: 9px; width: 35px; height: 35px; color: white; border: 0; border-radius: 9px; background: var(--forest); }.assistant-composer small { position: absolute; left: 13px; bottom: 7px; color: var(--muted); font-size: 7px; }
.context-rail { display: flex; flex-direction: column; gap: 12px; }.context-card { padding: 20px; }.context-card h3 { margin: 5px 0 15px; font: 600 23px "Newsreader", serif; }.context-card dl { margin: 0; }.context-card dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #ecece6; font-size: 9px; }.context-card dt { color: var(--muted); font-weight: 500; }.context-card dd { margin: 0; font-weight: 700; }.compact-list li { padding-top: 7px; padding-bottom: 7px; }
.report-hero { min-height: 210px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; margin-bottom: 15px; padding: 34px 38px; color: white; border-radius: 15px; background: var(--forest); background-image: radial-gradient(circle at 90% 20%, rgba(255,255,255,.12), transparent 27%), linear-gradient(125deg, transparent 50%, rgba(225,173,72,.08)); box-shadow: var(--shadow); }.report-hero h2 { margin: 6px 0; font: 600 31px "Newsreader", serif; }.report-hero p { color: #bed0c7; }.eyebrow.light { color: #b2c9be; }.hero-actions { display: flex; gap: 8px; margin-top: 22px; }
.report-progress { justify-self: end; width: min(280px, 100%); }.report-progress > span { display: flex; gap: 8px; align-items: baseline; }.report-progress strong { font: 600 42px "Newsreader", serif; }.report-progress > div { height: 7px; margin: 10px 0; overflow: hidden; background: rgba(255,255,255,.15); border-radius: 6px; }.report-progress i { display: block; height: 100%; background: #e4bd6c; }.report-progress small { color: #b7c9c0; font-size: 9px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.report-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 19px; }.report-type { display: grid; width: 48px; height: 60px; place-items: center; color: white; border-radius: 5px 12px 5px 5px; font: 600 22px "Newsreader", serif; }.report-type.monthly { background: #547b70; }.report-type.quarterly { background: #b17634; }.report-type.half { background: #755d86; }.report-type.annual { background: #405a70; }.report-card h2 { margin: 3px 0 6px; font: 600 19px "Newsreader", serif; }.report-card p { margin: 0; color: var(--muted); font-size: 9px; }.report-card > button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: white; }.report-meta { display: flex; gap: 10px; align-items: center; margin-top: 12px; }.report-meta span { padding: 3px 7px; color: #896011; background: #f5e8cb; border-radius: 20px; font-size: 7px; font-weight: 700; }.report-meta span.draft { color: #65488f; background: #eee5f8; }.report-meta span.planned { color: #486151; background: #e5ece7; }.report-meta span.published { color: #1b634d; background: #dfeee7; }.report-meta small { color: var(--muted); font-size: 8px; }
.report-modal { border: 0; border-radius: 15px; }.report-modal .modal-header, .report-modal .modal-body, .report-modal .modal-footer { padding: 22px 25px; }.report-modal h2 { margin: 3px 0; font: 600 25px "Newsreader", serif; }.source-summary { display: flex; gap: 8px; align-items: center; margin-top: 22px; padding: 14px; border-radius: 9px; background: #f0f5f2; }.source-summary strong { margin-right: auto; }.source-summary span { padding: 4px 8px; background: white; border-radius: 20px; font-size: 8px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.admin-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 20px; transition: .2s; }.admin-card:hover { border-color: #a7bcb1; transform: translateY(-2px); }.admin-card > span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 10px; font-size: 19px; }.admin-card h2 { margin: 0 0 4px; font: 600 18px "Newsreader", serif; }.admin-card p { margin: 0; color: var(--muted); font-size: 9px; }.admin-card b { color: var(--muted); }
.activity-panel { margin-top: 14px; padding: 21px; }.activity-list > div { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid #ecece6; }.activity-list p { margin: 0; font-size: 10px; }.activity-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.reveal { animation: reveal .55s ease both; }.delay-1 { animation-delay: .08s; }.delay-2 { animation-delay: .16s; }.delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .department-panel { grid-row: auto; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -270px; width: 254px; transition: .25s; box-shadow: 15px 0 40px rgba(0,0,0,.22); }
  .sidebar.open { left: 0; }
  .menu-button { display: block; margin-right: 12px; }
  .topbar { padding: 0 18px; }
  .page-canvas { padding: 28px 18px 60px; }
  .metric-grid, .metric-grid.compact { grid-template-columns: 1fr 1fr; }
  .upload-layout, .quality-layout, .assistant-layout, .report-hero { grid-template-columns: 1fr; }
  .context-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .report-progress { justify-self: start; }
  .filter-ribbon { overflow-x: auto; }
  .filter-ribbon button { min-width: 135px; }
}
@media (max-width: 560px) {
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 34px; }
  .metric-grid, .metric-grid.compact, .report-grid, .admin-grid, .context-rail { grid-template-columns: 1fr; }
  .metric-card { min-height: 110px; }
  .trend-layout { grid-template-columns: 1fr; }
  .prompt-grid { grid-template-columns: 1fr; }
  .scope-switcher { display: none; }
  .assistant-shortcut { padding: 9px; }.assistant-shortcut { font-size: 0; }.assistant-shortcut span { font-size: 14px; }
  .report-hero { padding: 25px; }
}

