:root {
  --bg: #f5f6f2; --surface: #fff; --surface-2: #edf3ef;
  --text: #213e42; --muted: #607573; --border: #dce6e1;
  --blue: #236961; --green: #34846c;
}
body { background: radial-gradient(ellipse at 100% 0, #e4eee5 0, transparent 40%), var(--bg); }
.shell { grid-template-columns: 264px minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; padding: 30px 20px 22px; background: linear-gradient(155deg, #193f44, #102d32); border: 0; }
.brand { text-align: center; padding-bottom: 28px; margin-bottom: 26px; border-color: #ffffff20; }
.brand-mark { width: 112px; height: 112px; padding: 9px; margin: 0 auto 18px; border-radius: 50% 50% 44% 44%; background: #f3efe3; box-shadow: 0 0 0 5px #ffffff08, 0 0 0 6px #c5b58b55; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { font-family: Georgia, serif; font-size: 23px; font-weight: 400; letter-spacing: -.7px; }
.brand span { color: #c6d5ce; font-size: 9px; letter-spacing: 2.4px; margin-top: 10px; }
.nav-label { font-size: 9px; letter-spacing: 2px; color: #aebfb9; padding-left: 12px; margin-bottom: 14px; }
.nav { gap: 9px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; font-size: 13px; font-weight: 500; color: #d7e3dd; border: 1px solid transparent; border-radius: 10px; transition: background .15s; }
.nav svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav a.active { background: #e4ede5; color: #193f44; border-color: #e4ede5; box-shadow: 0 5px 15px #00000010; }
.nav a:hover { background: #ffffff16; color: #fff; }
.nav a.active:hover { background: #f3f4eb; color: #193f44; }
.sidebar-note { margin-top: 48px; padding: 20px 16px; border: 1px solid #c9b68442; border-radius: 14px; background: linear-gradient(120deg, #ffffff08, transparent); }
.note-star { display: block; color: #d7c497; font-size: 24px; margin-bottom: 14px; }
.sidebar-note strong { font-family: Georgia, serif; font-weight: 400; color: #f0e6cc; font-size: 18px; }
.sidebar-note p { font-size: 12px; line-height: 1.8; color: #c0d0c9; margin: 10px 0 0; }
.sidebar-footer { margin-top: auto; padding-top: 40px; color: #9eb4ac; font-size: 9px; letter-spacing: 2px; text-align: center; }
.main { padding: 0 32px 24px; max-width: 1700px; width: 100%; margin: 0 auto; }
.workspace-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0; margin-bottom: 28px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.breadcrumb { color: var(--muted); font-weight: 400; margin-left: 10px; }
.local-badge { background: #e8eee6; color: #48674e; border: 1px solid #d6e2d2; border-radius: 20px; padding: 7px 11px; white-space: nowrap; font-size: 11px; }
.main > .topbar { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, #e7efe8, #f1f2e7); padding: 28px; border: 1px solid #dce5d8; border-radius: 18px; align-items: center; min-height: 150px; }
.main > .topbar::after { content: ''; z-index: -1; position: absolute; width: 260px; height: 260px; right: -60px; top: -140px; border: 1px solid #afba9850; border-radius: 50%; box-shadow: 0 0 0 28px #afba9812, 0 0 0 58px #afba9810; pointer-events: none; }
.eyebrow { color: #536e62; letter-spacing: 1.8px; font-size: 10px; margin-bottom: 12px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.2px; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 650; letter-spacing: -.3px; }
.subtitle { font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.main > .topbar .subtitle { margin: 8px 0 0; }
.kpis { gap: 16px; margin: 22px 0; }
.panel, .kpi, .notice-card { border-radius: 15px; box-shadow: 0 4px 18px #183f3605; }
.panel { padding: 22px; }
.kpi { position: relative; overflow: hidden; padding: 22px; min-height: 140px; border-top: 3px solid #548a7c; }
.kpi::after { content: ''; position: absolute; right: -18px; bottom: -22px; width: 85px; height: 85px; border: 12px solid #e9f0eb70; border-radius: 50%; pointer-events: none; }
.kpi:nth-child(2) { border-top-color: #c2736a; }
.kpi:nth-child(3) { border-top-color: #bd9661; }
.kpi:nth-child(4) { border-top-color: #7a91aa; }
.kpi-label { font-size: 10px; letter-spacing: 1px; }
.kpi-value { font-size: 36px; font-weight: 600; letter-spacing: -1px; }
.kpi-note { font-size: 11px; margin-top: 10px; }
.grid-two, .grid-three { gap: 20px; margin-top: 20px; }
.panel > .topbar { margin-bottom: 8px; flex-wrap: wrap; }
.panel h2 { margin-bottom: 12px; }
.notice-card { padding: 18px; }
.button { min-height: 42px; padding: 10px 17px; border-radius: 10px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 10px #193f4410; transition: background .15s, box-shadow .15s; }
.button:hover { background: #194e49; box-shadow: 0 5px 14px #193f4420; }
.button.secondary:hover { background: #edf3ef; }
.button.danger:hover { background: #991b1b; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a67d32; outline-offset: 3px; }
input, select, textarea { border-radius: 9px; min-height: 44px; background: #fcfdfb; }
label { font-size: 11px; letter-spacing: .5px; gap: 8px; }
.form-grid { gap: 20px; }
.table-wrap { border-radius: 12px; }
th { background: #edf3ef; color: #4a655f; font-size: 10px; letter-spacing: .7px; padding: 14px; }
td { padding: 14px; line-height: 1.5; }
tbody tr:hover { background: #f7faf7; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 10px; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
@media (max-width: 1200px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1020px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { padding: 18px 22px; }
  .brand { display: flex; align-items: center; gap: 14px; text-align: left; margin: 0 0 16px; padding: 0 0 16px; }
  .brand-mark { width: 56px; height: 56px; margin: 0; padding: 5px; flex-shrink: 0; }
  .brand span { margin-left: auto; }
  .sidebar-note, .sidebar-footer, .nav-label { display: none; }
  .nav { display: flex; flex-wrap: wrap; gap: 5px; }
  .nav a { padding: 10px; }
  .main { padding: 0 22px 22px; }
  .grid-two, .grid-three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand strong { font-size: 22px; } .brand span { display: none; }
  .main { padding: 0 14px 20px; } .workspace-bar { margin-bottom: 18px; flex-wrap: wrap; }
  .breadcrumb { display: none; } .main > .topbar { padding: 22px; flex-direction: column; align-items: flex-start; }
  .kpis { gap: 10px; } .kpi { padding: 16px 12px; } .kpi-note { font-size: 10px; }
  .panel { padding: 16px; } .filter-bar { grid-template-columns: 1fr; }
  .nav a { font-size: 11px; gap: 7px; } .nav svg { width: 17px; height: 17px; }
}
.academic-mark { margin-top: 24px; padding: 15px 10px; border: 1px solid #ffffff20; border-radius: 14px; background: #073858; text-align: center; }
.academic-mark img { display: block; margin: 0 auto 8px; object-fit: contain; border-radius: 8px; }
.academic-mark span { display: block; font-size: 8px; letter-spacing: 2px; color: #d5c69e; }
.academic-mark strong { display: block; font-size: 13px; line-height: 1.55; margin-top: 8px; font-weight: 500; color: #fff; }
.academic-mark small { display: block; font-size: 10px; color: #c2d5df; margin-top: 5px; }
.academic-banner { display: flex; align-items: center; gap: 24px; padding: 20px 28px; margin-bottom: 22px; border-radius: 18px; background: #073858; color: #fff; border-bottom: 3px solid #c5b58b; }
.academic-banner img { object-fit: contain; border-radius: 12px; flex-shrink: 0; }
.academic-banner p { color: #d5c69e; font-size: 10px; letter-spacing: 1.6px; }
.academic-banner h2 { font-family: Georgia, serif; font-size: 25px; line-height: 1.3; font-weight: 400; }
.academic-banner span { color: #d4e1e9; font-size: 12px; }
@media (max-width: 1020px) { .academic-mark { display: flex; align-items: center; text-align: left; gap: 14px; padding: 8px 16px; margin-top: 14px; } .academic-mark img { width: 58px; height: 58px; margin: 0; } }
@media (max-width: 600px) { .academic-banner { padding: 18px; gap: 14px; } .academic-banner img { width: 76px; height: 76px; } .academic-banner h2 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.workflow-section { margin-top: 22px; }
.kpi-label { display: flex; align-items: center; gap: 8px; }
.kpi-icon { font: 16px/1 'Segoe UI Emoji', sans-serif; }
.group-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin-bottom: 0; }
.group-list li { background: var(--surface-2); padding: 7px 12px; border-radius: 8px; }
.report-credit { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 20px; }
.action-card { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #f7faf7; }
summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details > form { margin-top: 12px; }
.history { padding-left: 22px; }
.history li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.history p, .report-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.history strong { font-size: 12px; }
input[type="checkbox"] { width: 18px; min-height: 18px; }
.system-advanced { margin-top: 28px; color: var(--muted); }
button:disabled { opacity: .55; cursor: not-allowed; }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: white; color: black; font-size: 11px; }
  .sidebar, .workspace-bar, .no-print, .page-footer details { display: none !important; }
  .shell { display: block; min-height: auto; }
  .main { padding: 0; max-width: none; }
  .main > .topbar { background: white; min-height: 0; padding: 10px 0; border: 0; }
  .main > .topbar::after, .kpi::after { display: none; }
  .kpis { grid-template-columns: repeat(4,1fr); margin: 12px 0; }
  .kpi { min-height: 65px; padding: 10px; }
  .panel, .kpi { box-shadow: none; }
  .report-table { padding: 10px; }
  table { table-layout: fixed; font-size: 10px; }
  td, th { overflow-wrap: anywhere; padding: 7px; }
  .pill { white-space: normal; }
  tr, .kpi { break-inside: avoid; }
  thead { display: table-header-group; }
  h2, h3 { break-after: avoid; }
  a { text-decoration: none; }
  .page-footer { font-size: 9px; }
}
