/* Sunrise School ERP — interactive demo.
   Tokens follow the main product's DESIGN.md (five presets, light + dark). */

:root {
  --primary: #3730A3; --primary-contrast: #FFFFFF; --surface: #FFFFFF; --surface-alt: #F3F2FB;
  --text: #151432; --text-muted: #54527A; --border: #DCDAF0; --border-strong: #8987A8;
  --success: #167648; --warning: #895B00; --danger: #B42318; --info: #1D5FBF; --secondary: #F5A524;
  --page: #F7F7FC; --shadow: 0 1px 2px rgba(20,20,50,.06), 0 4px 16px rgba(20,20,50,.06);
  --radius: 12px; --radius-sm: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  color-scheme: light;
}
:root[data-preset="saffron-hearth"] { --primary:#B54708; --surface:#FFFBF5; --surface-alt:#FBEFE0; --text:#2B1D14; --text-muted:#6B5547; --border:#E8D5BF; --border-strong:#998473; --secondary:#E8A317; --page:#FFF8EE; }
:root[data-preset="teal-coral"]     { --primary:#0F766E; --surface:#F7FFFD; --surface-alt:#E3F6F2; --text:#10302C; --text-muted:#476660; --border:#C5E6DF; --border-strong:#6F8F89; --secondary:#E4572E; --page:#F1FBF8; }
:root[data-preset="plum-gold"]      { --primary:#6B2166; --surface:#FFFDFB; --surface-alt:#F7EEF6; --text:#2A1229; --text-muted:#6A4D69; --border:#E6D2E4; --border-strong:#998098; --secondary:#C9A227; --page:#FCF7FB; }
:root[data-preset="forest-sand"]    { --primary:#2F6B3F; --surface:#FBF8F1; --surface-alt:#F0EADB; --text:#1F2A20; --text-muted:#566355; --border:#DDD4BD; --border-strong:#808675; --secondary:#D9C79A; --page:#F7F3E8; }

:root[data-theme="dark"] {
  --primary:#A5A0FF; --primary-contrast:#0F0E24; --surface:#17163A; --surface-alt:#232249; --text:#EEEDFF; --text-muted:#B3B1DB;
  --border:#3A3870; --border-strong:#706E9F; --success:#5FD39A; --warning:#F5B948; --danger:#FF8F86; --info:#7DB2FF; --page:#0F0E24;
  --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}
:root[data-theme="dark"][data-preset="saffron-hearth"] { --primary:#F29A5C; --primary-contrast:#1C1410; --surface:#261C16; --surface-alt:#332720; --text:#F6EADF; --text-muted:#C4AE9C; --border:#4A3A2F; --border-strong:#857162; --page:#1C1410; }
:root[data-theme="dark"][data-preset="teal-coral"]     { --primary:#4FD1C0; --primary-contrast:#0C1F1D; --surface:#122A27; --surface-alt:#173330; --text:#E6FAF6; --text-muted:#9CC9C1; --border:#2C4F4A; --border-strong:#56827B; --page:#0C1F1D; }
:root[data-theme="dark"][data-preset="plum-gold"]      { --primary:#E3A6DD; --primary-contrast:#1B0D1A; --surface:#271526; --surface-alt:#352033; --text:#F8ECF7; --text-muted:#CBA9C8; --border:#4D3449; --border-strong:#8A6887; --page:#1B0D1A; }
:root[data-theme="dark"][data-preset="forest-sand"]    { --primary:#8FD19E; --primary-contrast:#121A14; --surface:#1A241C; --surface-alt:#222E25; --text:#EAF3EB; --text-muted:#A9BFAC; --border:#34443A; --border-strong:#667C6B; --page:#121A14; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--page); color: var(--text); line-height: 1.5; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 28px; } h2 { font-size: 21px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0 0 .75em; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons, chips, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-alt); }
.btn.primary { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.accent { background: var(--secondary); color: #1A1A1A; border-color: var(--secondary); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { padding: 4px 10px; font-size: 13px; }
.btn.lg { padding: 12px 20px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-alt); color: var(--text-muted); white-space: nowrap; }
.tag.ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.tag.warn { background: color-mix(in srgb, var(--warning) 16%, transparent); color: var(--warning); }
.tag.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.tag.info { background: color-mix(in srgb, var(--info) 14%, transparent); color: var(--info); }
.tag.pri { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 14px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; }
.chip.on { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }

/* ---------- Layout primitives ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.card > h3:first-child, .card > h2:first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } .span2 { grid-column: auto; } h1 { font-size: 24px; } }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.stat .value { font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 13px; color: var(--text-muted); }
.bar { height: 8px; background: var(--surface-alt); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.bar.ok > span { background: var(--success); } .bar.warn > span { background: var(--warning); } .bar.bad > span { background: var(--danger); }

/* ---------- Tables & forms ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); background: var(--surface-alt); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
tr.clickable { cursor: pointer; } tr.clickable:hover td { background: var(--surface-alt); }
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
input[type=text], input[type=number], input[type=date], input[type=tel], input[type=email], input[type=password], input[type=search], select, textarea {
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-sm); padding: 9px 11px; font-size: 15px; width: 100%; min-width: 0; }
textarea { min-height: 80px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--border-strong); border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--success); }
.switch input:checked + span::after { transform: translateX(20px); }

/* ---------- Demo ribbon ---------- */
.demo-ribbon { background: #151432; color: #fff; font-size: 13px; padding: 6px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.demo-ribbon a, .demo-ribbon button { color: #F5A524; background: none; border: 0; font-weight: 700; cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; }

/* ---------- Landing ---------- */
.landing-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1240px; margin: 0 auto; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.logo { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: var(--primary-contrast); display: grid; place-items: center; font-weight: 900; flex: none; }
.logo.sun { background: linear-gradient(135deg, #F5A524, #E4572E); color: #fff; }
.hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; letter-spacing: -.02em; }
.hero .lead { font-size: 18px; color: var(--text-muted); max-width: 600px; }
.hero-art { background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 50%, #000)); border-radius: 24px; padding: 24px; color: #fff; box-shadow: 0 20px 50px rgba(55,48,163,.3); }
.hero-art .mini { background: rgba(255,255,255,.12); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.hero-art .mini b { font-size: 24px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }
.section { max-width: 1240px; margin: 0 auto; padding: 32px 24px; }
.section > h2 { font-size: 26px; }
.role-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; cursor: pointer; }
.role-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20,20,50,.12); }
.role-card .ic { font-size: 28px; }
.role-card .who { font-size: 13px; color: var(--text-muted); }
.feature { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.feature:last-child { border-bottom: 0; }
.feature .ft { flex: 1; min-width: 0; }
.feature .ft b { display: block; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 32px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: calc(100vh - 32px); overflow-y: auto; }
.sidebar .brand { padding: 4px 8px 14px; font-size: 15px; }
.sidebar .brand small { display: block; font-weight: 600; font-size: 12px; color: var(--text-muted); }
.nav-group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; padding: 12px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { background: var(--surface-alt); }
.nav a.on { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.nav a .badge { margin-left: auto; background: var(--danger); color: #fff; border-radius: 99px; font-size: 11px; padding: 0 7px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.topbar .title { font-weight: 800; font-size: 17px; flex: 1; min-width: 120px; }
.topbar select { width: auto; padding: 6px 8px; font-size: 13px; }
.content { padding: 24px; max-width: 1280px; width: 100%; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--secondary); color: #1A1A1A; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; height: 100vh; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 40; }
  .menu-btn { display: inline-flex; }
  .content { padding: 16px; }
  .topbar { padding: 10px 16px; }
  .hide-sm { display: none !important; }
}

/* ---------- Attendance ---------- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr)); gap: 8px; }
@media (max-width: 900px) { .wa-fab { bottom: 88px; } .wa-panel { bottom: 152px; height: 460px; } .demo-ribbon { font-size: 12px; padding: 4px 10px; } }
.pupil { border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px; background: var(--surface); cursor: pointer; text-align: left; display: flex; gap: 8px; align-items: center; min-height: 56px; }
.pupil .rn { font-weight: 800; font-size: 13px; color: var(--text-muted); width: 22px; flex: none; }
.pupil.absent { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); border-color: var(--danger); }
.pupil.absent .st { color: var(--danger); }
.pupil.late { background: color-mix(in srgb, var(--warning) 14%, var(--surface)); border-color: var(--warning); }
.pupil .st { font-size: 12px; font-weight: 700; color: var(--success); }
.pupil .note { font-size: 11px; color: var(--info); font-weight: 700; }
.sticky-submit { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 12px; margin: 16px -18px -18px; border-radius: 0 0 var(--radius) var(--radius); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .d { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--surface-alt); }
.cal .h { font-size: 11px; color: var(--text-muted); text-align: center; font-weight: 700; }
.cal .P { background: color-mix(in srgb, var(--success) 22%, transparent); }
.cal .A { background: color-mix(in srgb, var(--danger) 25%, transparent); }
.cal .L { background: color-mix(in srgb, var(--warning) 25%, transparent); }
.cal .H { background: color-mix(in srgb, var(--info) 18%, transparent); color: var(--info); }
.cal .X { background: transparent; }

/* ---------- Modal, toast, WhatsApp ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(10,10,30,.5); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: var(--surface); border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal.wide { max-width: 820px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 460px); }
.toast { background: #151432; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: pop .2s ease-out; width: 100%; }
.toast.ok { border-left: 4px solid #5FD39A; } .toast.wa { border-left: 4px solid #25D366; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }

.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; border: 0; font-size: 26px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-fab .cnt { position: absolute; top: -2px; right: -2px; background: #E4572E; color: #fff; font-size: 11px; border-radius: 99px; padding: 1px 6px; font-weight: 800; }
.wa-panel { position: fixed; right: 18px; bottom: 86px; width: 340px; max-width: calc(100vw - 36px); height: 540px; max-height: calc(100vh - 120px); z-index: 95; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  background: #ECE5DD; box-shadow: 0 20px 60px rgba(0,0,0,.35); border: 6px solid #111; color: #111; }
.wa-panel[hidden] { display: none; }
.wa-head { background: #075E54; color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.wa-head .x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.wa-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg { background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 13.5px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.1); white-space: pre-line; }
.wa-msg.out { align-self: flex-end; background: #DCF8C6; }
.wa-msg .meta { display: block; font-size: 10.5px; color: #667; text-align: right; margin-top: 2px; }
.wa-msg .kind { display: block; font-size: 10.5px; font-weight: 800; color: #075E54; text-transform: uppercase; letter-spacing: .04em; }
.wa-empty { text-align: center; color: #667; font-size: 13px; margin: auto; padding: 20px; }

/* ---------- Receipt / report card ---------- */
.paper { background: #fff; color: #111; border: 1px solid #ccc; border-radius: 8px; padding: 22px; font-size: 14px; }
.paper h3 { color: #111; }
.paper table th { background: #f3f3f3; color: #444; }
.paper td, .paper th { border-color: #ddd; }

/* ---------- Public school website ---------- */
.site-top { background: #151432; color: #fff; font-size: 13px; }
.site-top .in { max-width: 1200px; margin: 0 auto; padding: 6px 20px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.site-top a { color: #F5A524; }
.site-nav { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.site-nav .in { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-nav .links { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.site-nav .links a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; }
.site-nav .links a.on, .site-nav .links a:hover { background: var(--surface-alt); color: var(--primary); }
.site-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.site-hero .slide { position: absolute; inset: 0; transition: opacity .8s; opacity: 0; }
.site-hero .slide.on { opacity: 1; }
.site-hero .cap { position: relative; max-width: 1200px; margin: 0 auto; padding: 40px 20px; width: 100%; }
.site-hero h1 { font-size: 40px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.site-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }
.site-footer { background: #151432; color: #ccd; margin-top: 40px; }
.site-footer .in { max-width: 1200px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; font-size: 14px; }
.site-footer a { color: #F5A524; }
.ph { border-radius: 12px; aspect-ratio: 4/3; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; text-align: center; padding: 10px; }
.marquee { overflow: hidden; white-space: nowrap; background: var(--secondary); color: #1A1A1A; font-weight: 700; font-size: 14px; }
.marquee span { display: inline-block; padding: 8px 0; animation: scroll 40s linear infinite; padding-left: 100%; }
@keyframes scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; padding-left: 16px; } }

/* Steps / wizard */
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.steps .s { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--surface-alt); color: var(--text-muted); }
.steps .s.on { background: var(--primary); color: var(--primary-contrast); }
.steps .s.done { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }

.empty { text-align: center; padding: 30px; color: var(--text-muted); }
.kpi-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.notice-banner { border-left: 4px solid var(--info); background: color-mix(in srgb, var(--info) 8%, var(--surface)); padding: 12px 14px; border-radius: 8px; }
.notice-banner.warn { border-color: var(--warning); background: color-mix(in srgb, var(--warning) 10%, var(--surface)); }
.notice-banner.ok { border-color: var(--success); background: color-mix(in srgb, var(--success) 10%, var(--surface)); }
.list-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.vbars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.vbars .vb { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; position: relative; min-width: 8px; }
.vbars .vb span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-muted); }
@media print { .demo-ribbon, .sidebar, .topbar, .wa-fab, .wa-panel, .no-print { display: none !important; } .shell { display: block; } }
