:root {
  --bg:#fff8f9;
  --ink:#44363b;
  --muted:#95838a;
  --rose:#b86d86;
  --rose-dark:#9b536d;
  --rose-soft:#ffeff4;
  --rose-line:#f2dfe7;
  --gold:#c59b4b;
  --gold-pale:#fbf1d8;
  --green:#82aa8c;
  --white:#fff;
  --shadow:0 15px 40px rgba(119,71,86,.065);
}
* { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; }
body { margin:0; min-height:100vh; color:var(--ink); background:radial-gradient(circle at 96% 3%,#fff0f3 0,transparent 26%),radial-gradient(circle at 4% 46%,#fff4e6 0,transparent 25%),var(--bg); font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.5; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.4; cursor:not-allowed; }
a { color:var(--rose); }
button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #d8af67; outline-offset:2px; }
h1,h2,h3,p { margin-top:0; }
h1,h2 { letter-spacing:-.035em; }
h1 { font-size:clamp(2.1rem,4.6vw,3.5rem); line-height:1.14; font-weight:780; margin-bottom:12px; }
h2 { font-size:1.29rem; line-height:1.24; margin-bottom:9px; font-weight:760; }
p { color:var(--muted); }
.wrap { max-width:1190px; padding:0 26px; margin:0 auto; }
.site { min-height:100vh; display:flex; flex-direction:column; }
.site-header { background:rgba(255,255,255,.83); box-shadow:0 1px 0 #f7e9ec; }
.topbar { height:87px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.brand { display:flex; align-items:center; gap:12px; min-width:230px; }
.brand-mark { height:47px; width:47px; border-radius:17px; background:#fff1f4; display:grid; place-items:center; font-size:27px; flex-shrink:0; box-shadow:0 0 0 1px #f7e3e9 inset; }
.brand-mark.big { height:71px; width:71px; margin:0 auto 19px; font-size:42px; border-radius:25px; }
.brand-name { font-weight:850; letter-spacing:-.045em; font-size:1.12rem; color:#5b3d47; white-space:nowrap; }
.brand-name span { color:var(--rose); }
.brand-sub { font-size:.61rem; letter-spacing:.16em; font-weight:830; color:var(--gold); margin-top:1px; }
.nav { display:flex; gap:5px; background:#fff7f9; border:1px solid #f9ecf0; border-radius:19px; padding:5px; }
.nav-tab { background:transparent; border:0; border-radius:14px; padding:11px 17px; color:#967f89; font-size:.86rem; font-weight:740; white-space:nowrap; transition:background .16s; }
.nav-tab.on { background:white; color:var(--rose-dark); box-shadow:0 3px 12px #e8cbd568; }
.nav-icon { margin-right:7px; }
.header-actions { display:flex; align-items:center; gap:7px; }
.icon-btn { height:37px; width:37px; border:1px solid #f0e1e5; color:#9b7d88; background:white; border-radius:12px; font-size:19px; display:grid; place-items:center; }
.icon-btn:hover,.icon-btn.on { background:#fff0f5; color:var(--rose); }
.main { flex:1; padding-top:44px; padding-bottom:60px; width:100%; }
.footer { border-top:1px solid #f4e7eb; padding-top:18px; padding-bottom:25px; width:100%; display:flex; justify-content:space-between; gap:10px; font-size:.75rem; color:#b19fa5; }
.gold-dot { color:var(--gold); }
.eyebrow,.mini-eyebrow { font-weight:840; font-size:.7rem; color:var(--gold); letter-spacing:.16em; }
.eyebrow { margin-bottom:15px; }
.mini-eyebrow { font-size:.62rem; margin-bottom:9px; }
.sparkle { font-size:1rem; margin-right:3px; }
.welcome { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:30px; }
.welcome p,.page-heading p { font-size:1rem; margin:0; }
.card { background:var(--white); border-radius:24px; border:1px solid #f7e9ed; box-shadow:var(--shadow); }
.date-card { padding:18px 20px 14px; text-align:center; background:#fff; border:1px solid var(--rose-line); box-shadow:0 11px 25px #b9768721; border-radius:20px; min-width:310px; }
.date-card-label { color:var(--gold); font-size:.62rem; font-weight:800; letter-spacing:.14em; margin-bottom:7px; }
.date-row { display:flex; justify-content:center; align-items:center; gap:8px; }
.date-row input { max-width:190px; padding:8px 5px; font-size:.95rem; font-weight:740; color:#694c57; background:white; border:0; text-align:center; }
.arrow-btn { width:37px; height:37px; border:1px solid #f3e2e8; background:#fff9fb; color:#aa7185; border-radius:11px; font-size:25px; line-height:1; }
.arrow-btn:not(:disabled):hover { background:#ffeaf1; }
.date-caption { font-size:.75rem; color:#ac949e; margin-top:4px; }
.entry-layout { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(290px,1fr); gap:23px; align-items:start; }
.entry-primary,.entry-aside { display:flex; flex-direction:column; gap:22px; min-width:0; }
.mood-panel,.symptom-panel { padding:29px 31px 33px; }
.section-title-row { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; }
.section-title-row p { margin:0; font-size:.88rem; }
.status { font-size:.7rem; font-weight:700; padding:7px 10px; border-radius:9px; white-space:nowrap; }
.status.good { color:#528466; background:#eff8ef; }
.status.empty { color:#ad8d48; background:#fff8e9; }
.mood-options { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; margin-top:29px; }
.mood-option { border:2px solid #f6edf0; background:#fffafa; border-radius:18px; min-height:119px; padding:14px 5px 11px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:9px; transition:transform .15s,border-color .15s,background .15s; }
.mood-option:hover { transform:translateY(-3px); border-color:#ebc2d0; }
.mood-option.chosen { background:#fff0f5; border-color:var(--rose); box-shadow:0 6px 16px #dbaabe47; }
.mood-emoji { font-size:clamp(27px,4vw,40px); line-height:1.25; }
.mood-name { font-size:.69rem; font-weight:740; text-align:center; color:#856f78; }
.mood-option.chosen .mood-name { color:var(--rose-dark); }
.selection-count { font-size:.7rem; font-weight:800; border-radius:99px; padding:6px 11px; background:#fff3de; color:#b48d46; white-space:nowrap; }
.symptom-group { margin-top:28px; }
.group-heading { font-size:.8rem; font-weight:780; color:#65525b; margin-bottom:13px; }
.group-icon { margin-right:7px; }
.chips { display:flex; flex-wrap:wrap; gap:9px; }
.chip { border:1.5px solid #f0e3e7; background:#fff; border-radius:99px; color:#7b6871; font-size:.77rem; font-weight:640; line-height:1.2; padding:10px 13px; transition:background .12s,border-color .12s; }
.chip:hover { border-color:#d5a9b7; background:#fff8fa; }
.chip.selected { background:#ffedf3; border-color:#cd8ca3; color:#a15370; }
.chip-check { display:none; font-weight:800; margin-left:2px; }
.chip.selected .chip-check { display:inline; }
.add-row { margin-top:29px; padding-top:22px; border-top:1px dashed #f1e1e5; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.add-row span { font-size:.76rem; font-weight:700; color:#8c747d; }
input:not([type=date]), textarea { min-width:0; border:1.5px solid #eddee4; background:#fffdfd; color:var(--ink); border-radius:12px; padding:11px 13px; outline:0; }
input:not([type=date]):focus,textarea:focus { border-color:#d9a5b8; }
.add-row input { flex:1; min-width:120px; font-size:.83rem; }
input::placeholder,textarea::placeholder { color:#bbaab1; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1px solid transparent; border-radius:12px; padding:12px 19px; color:var(--ink); font-weight:790; font-size:.85rem; line-height:1.25; text-decoration:none; white-space:nowrap; transition:transform .12s,background .12s; }
.btn:hover:not(:disabled) { transform:translateY(-1px); }
.btn.primary { background:linear-gradient(115deg,#ba718d,#a85f7c); color:white; box-shadow:0 7px 18px #c992a74a; }
.btn.primary:hover { background:#9d4f6b; }
.btn.secondary { background:#fff9fb; border-color:#efd7df; color:#a25c76; }
.btn.secondary:hover { background:#ffeff5; }
.btn.small { padding:10px 13px; font-size:.78rem; }
.btn.wide { width:100%; }
.meds-panel,.notes-panel { padding:27px 24px; }
.meds-panel p,.notes-panel p { font-size:.84rem; margin-bottom:22px; }
.meds-panel { padding:0; overflow:hidden; }
.meds-toggle { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; padding:24px; text-align:left; border:0; background:transparent; color:inherit; border-radius:24px; }
.meds-toggle:hover { background:#fffafb; }
.meds-toggle-text { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.meds-toggle .mini-eyebrow { margin-bottom:0; }
.meds-heading { display:block; font-size:1.25rem; font-weight:760; letter-spacing:-.035em; }
.meds-summary { display:inline-block; font-size:.75rem; font-weight:750; color:#5b9270; }
.meds-summary.has-missed { color:#b37f52; }
.meds-summary.has-unlogged { color:#a05872; }
.meds-chevron { font-size:1.7rem; line-height:1; color:#ac7f90; transform:rotate(0); transition:transform .15s; }
.meds-toggle[aria-expanded="true"] .meds-chevron { transform:rotate(180deg); }
.meds-details { padding:0 24px 24px; border-top:1px solid #f7e9ed; }
.meds-details p { padding-top:18px; margin-bottom:8px; }
.light-heart { color:var(--rose); font-size:1.35rem; }
.med-item { border-top:1px solid #f6e9ed; padding-top:17px; margin-top:15px; }
.med-label { font-size:.86rem; font-weight:800; margin-bottom:10px; color:#765561; }
.med-choice { display:flex; flex-wrap:wrap; gap:6px; }
.med-pill { border:1.5px solid #f0e4e8; color:#99838b; background:white; padding:7px 9px; font-size:.7rem; font-weight:720; border-radius:9px; }
.med-pill.active { background:#fff0f5; color:#a05872; border-color:#d7a7b8; }
.med-pill[data-status="yes"].active { background:#f0f8f1; border-color:#b1d4b9; color:#5b9270; }
.med-pill[data-status="no"].active { background:#fff3e6; border-color:#e7cfae; color:#b37f52; }
.subtle-link { background:none; border:0; color:var(--rose); padding:0; margin-top:18px; font-size:.77rem; font-weight:750; }
.notes-panel textarea { resize:vertical; width:100%; min-height:120px; font-size:.85rem; }
.note-help { font-size:.7rem; color:#b6a2aa; margin-top:9px; }
.save-panel { text-align:center; }
.save-btn { width:100%; padding:17px 23px; border-radius:15px; font-size:1rem; justify-content:space-between; }
.save-caption { color:#b19aa2; font-size:.73rem; margin-top:12px; }
.reminder { display:flex; align-items:center; gap:15px; padding:18px 22px; background:#fff4df; border:1px solid #f7e5bb; border-radius:18px; margin-bottom:23px; }
.reminder-icon { font-size:28px; }
.reminder strong { color:#946f37; font-size:.86rem; }
.reminder p { font-size:.77rem; margin:3px 0 0; color:#a78c65; }
.reminder-btn { margin-left:auto; padding:9px 15px; border:1px solid #ead09a; background:white; color:#986f32; }
.toast { position:fixed; bottom:23px; right:24px; background:#534049; color:white; border-radius:12px; padding:13px 18px; box-shadow:0 15px 33px #35282e38; font-weight:680; font-size:.86rem; opacity:0; transform:translateY(12px); pointer-events:none; transition:.2s; z-index:50; max-width:min(90vw,410px); }
.toast.is-visible { opacity:1; transform:translateY(0); }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:31px; }
.heading-actions { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.toolbar { display:flex; align-items:center; gap:14px; margin-bottom:24px; color:#917781; font-weight:680; font-size:.83rem; flex-wrap:wrap; }
.segments { display:flex; gap:4px; background:#fcecf0; padding:4px; border-radius:13px; }
.segment { border:0; background:transparent; border-radius:10px; color:#a47e8c; font-size:.78rem; padding:9px 15px; font-weight:780; }
.segment.active { background:white; color:#a15772; box-shadow:0 2px 9px #ddb4c356; }
.toolbar-hint { margin-left:auto; font-size:.77rem; color:#b09da4; }
.kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:22px; }
.kpi { background:white; border:1px solid #f5e8ed; box-shadow:var(--shadow); border-radius:21px; padding:23px; display:flex; flex-direction:column; min-height:197px; }
.kpi-icon { height:40px; width:40px; border-radius:13px; display:grid; place-items:center; margin-bottom:14px; font-size:19px; }
.kpi-icon.pink { background:#fff0f5; }.kpi-icon.gold { background:#fcf3dc; }.kpi-icon.green { background:#edf6ef; }
.kpi > span { font-size:.74rem; font-weight:720; color:#94818a; }
.kpi strong { font-size:2.4rem; letter-spacing:-.05em; line-height:1.2; margin-top:4px; }
.kpi strong small { font-size:1.02rem; color:#ad9aa2; letter-spacing:-.02em; font-weight:650; }
.kpi .kpi-word { font-size:1.65rem; line-height:1.4; }
.kpi-foot { font-size:.67rem; color:#b3a1a8; margin-top:auto; padding-top:8px; }
.dash-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.dash-card { padding:27px 28px; min-width:0; }
.dash-card p { font-size:.8rem; margin-bottom:23px; }
.wide-chart,.full-width { grid-column:1/-1; }
.chart-emoji { font-size:29px; }
.mood-chart { width:100%; max-height:328px; display:block; }
.bar-stack { display:flex; flex-direction:column; gap:13px; }
.bar-row { display:grid; grid-template-columns:minmax(100px,1.25fr) minmax(70px,1.7fr) 80px; gap:11px; align-items:center; font-size:.77rem; }
.bar-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#735e68; font-weight:700; }
.bar-row progress { width:100%; height:11px; border:0; border-radius:999px; background:#fcecf1; overflow:hidden; }
.bar-row progress::-webkit-progress-bar { background:#fcecf1; border-radius:999px; }
.bar-row progress::-webkit-progress-value { background:linear-gradient(90deg,#dfadc0,#bb7b94); border-radius:999px; }
.bar-row progress::-moz-progress-bar { background:#c38a9e; border-radius:999px; }
.bar-num { text-align:right; font-weight:780; color:#9e7183; white-space:nowrap; }
.bar-pct { color:#b9a3ac; font-size:.67rem; font-weight:600; }
.empty-state { background:#fff9fb; color:#b29da5; border:1px dashed #f3dee6; font-size:.86rem; padding:55px 20px; text-align:center; border-radius:13px; }
.empty-state.compact { padding:31px 15px; }
.med-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.med-stat { background:#fffbfc; padding:17px 20px; border:1px solid #f5e9ed; border-radius:15px; }
.med-stat strong { display:block; font-size:.85rem; margin-bottom:12px; }
.med-stat-counts { display:flex; flex-wrap:wrap; gap:8px 17px; font-size:.74rem; font-weight:650; color:#af9ba3; }
.count-taken { color:#6b9b79; }.count-missed { color:#ba8861; }
.footnote { color:#aa9aa0; font-size:.76rem; margin-top:25px; }
.calendar-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr); gap:23px; align-items:start; }
.calendar-card { padding:29px; }
.calendar-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:27px; }
.calendar-top h2 { font-size:1.55rem; margin-bottom:0; }
.calendar-nav { display:flex; gap:8px; }
.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:9px; }
.calendar-weekdays { margin-bottom:10px; text-align:center; font-size:.65rem; font-weight:800; color:#b09ba3; }
.cal-day { border:1.5px solid #f3e9ed; background:white; border-radius:13px; aspect-ratio:.96; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; padding:4px; color:#aa98a0; }
.cal-day:hover:not(:disabled) { border-color:#bf8199; box-shadow:0 4px 13px #dcb3c257; }
.cal-day.future { background:#fcfafa; }
.cal-day.missed { background:#fff9fb; border-style:dashed; border-color:#e9bdcd; }
.cal-day.today { box-shadow:0 0 0 2px #d7aa61; }
.cal-day.mood-1,.cal-day.mood-2 { background:#fff0f4; border-color:#ebc7d4; }
.cal-day.mood-3 { background:#fff8e9; border-color:#ecdcb6; }
.cal-day.mood-4,.cal-day.mood-5 { background:#f0f8f1; border-color:#cfe4d2; }
.cal-num { position:absolute; top:6px; left:8px; font-size:.68rem; font-weight:780; }
.cal-face { line-height:1; font-size:clamp(18px,2.1vw,29px); }
.cal-small { margin-top:5px; font-size:.54rem; font-weight:740; }
.cal-day.future .cal-face,.cal-day.future .cal-small { opacity:0; }
.calendar-legend { display:flex; gap:10px 22px; flex-wrap:wrap; padding-top:22px; margin-top:20px; border-top:1px solid #f5ebee; color:#a38f97; font-size:.69rem; }
.legend-dot { display:inline-block; width:10px; height:10px; border-radius:4px; margin-right:5px; background:#e4e4e4; vertical-align:middle; }
.legend-dot.logged { background:#a8d2af; }.legend-dot.missing { background:#fff; border:2px dashed #dc9cb3; }.legend-dot.today-dot { background:#f2dba4; }
.calendar-aside { display:flex; flex-direction:column; gap:20px; }
.month-summary,.happy-card { padding:29px; }
.month-big { color:#9d647b; font-size:2.8rem; font-weight:830; letter-spacing:-.05em; }
.month-big span { font-size:.85rem; font-weight:700; letter-spacing:0; color:#a9939d; }
.mini-stat { font-size:.85rem; font-weight:740; color:#927f88; padding-top:8px; }
.calendar-note { color:#b5a1a8; border-top:1px solid #f5e8ed; padding-top:16px; margin-top:22px; font-size:.78rem; }
.happy-card { background:#fff4f7; }
.happy-symbol { font-size:36px; margin-bottom:12px; }
.happy-card p { font-size:.88rem; margin:0; }
.settings-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.settings-card { padding:28px; }
.settings-card p { font-size:.86rem; }
.settings-card.full { grid-column:1/-1; }
.settings-form { display:flex; gap:9px; flex-wrap:wrap; margin-top:22px; }
.settings-form input { flex:1; min-width:170px; }
.settings-items { margin-top:20px; }
.settings-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 0; border-bottom:1px solid #f4e9ec; color:#735e68; font-size:.86rem; font-weight:690; }
.item-actions { display:flex; gap:10px; }
.text-button { border:0; background:none; color:#ad6c84; font-size:.75rem; font-weight:770; padding:4px; }
.text-button:hover { text-decoration:underline; }
.privacy-note { border-top:1px solid #f3e8ec; margin-top:22px; padding-top:18px; color:#94838a; font-size:.8rem; }
.gate-wrap { display:grid; min-height:100vh; place-items:center; padding:26px; background:radial-gradient(circle at top left,#ffe9f0,transparent 40%),radial-gradient(circle at bottom right,#fff0d5,transparent 35%),#fff9fb; }
.gate { width:min(100%,440px); padding:38px; text-align:center; }
.gate h1 { font-size:2rem; }
.gate p { font-size:.9rem; }
.gate form { text-align:left; margin-top:24px; }
.gate input { display:block; width:100%; margin-bottom:16px; }
.gate .field-label { display:block; margin:8px 0 6px; font-size:.75rem; font-weight:780; color:#846971; }
.gate .error { font-size:.81rem; color:#b3425b; margin:3px 0 10px; min-height:0; }
.gate-foot { margin-top:25px; color:#af99a4; font-weight:680; font-size:.72rem; }
.gate-foot span { color:var(--gold); padding:0 7px; }
.splash { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#b47d91; }
.splash-flower { font-size:44px; }
#print-report { display:none; }
@media (max-width:1040px) {
  .brand { min-width:auto; }.brand-name { font-size:1rem; }
  .topbar { gap:12px; }.nav-tab { padding:10px 11px; }
  .entry-layout { grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr); gap:17px; }
  .mood-panel,.symptom-panel { padding:25px 22px; }
  .mood-options { gap:6px; }.mood-option { min-height:104px; }
  .meds-panel { padding:0; }
  .meds-toggle { padding:23px 21px; }
  .meds-details { padding:0 21px 23px; }
  .notes-panel { padding:24px 21px; }
}
@media (max-width:780px) {
  .topbar { min-height:118px; height:auto; display:grid; grid-template-columns:1fr auto; padding-top:13px; padding-bottom:13px; }
  .nav { grid-column:1 / -1; grid-row:2; justify-content:space-around; }
  .nav-tab { flex:1; text-align:center; }
  .header-actions { grid-column:2; grid-row:1; }
  .entry-layout,.calendar-layout { grid-template-columns:1fr; }
  .entry-aside { display:grid; grid-template-columns:1fr 1fr; }
  .save-panel { grid-column:1/-1; }
  .welcome { align-items:flex-start; }
  .date-card { min-width:260px; }
  .dash-grid { gap:16px; }
  .bar-row { grid-template-columns:minmax(80px,1fr) minmax(70px,1.3fr) 66px; gap:8px; }
  .bar-pct { display:none; }
}
@media (max-width:610px) {
  .wrap { padding-left:16px; padding-right:16px; }
  .main { padding-top:28px; padding-bottom:35px; }
  .welcome,.page-heading { flex-direction:column; align-items:stretch; gap:20px; margin-bottom:24px; }
  .welcome h1,.page-heading h1 { font-size:2.35rem; }
  .date-card { width:100%; }
  .entry-aside,.settings-layout,.kpis,.dash-grid,.med-stats { grid-template-columns:1fr; }
  .wide-chart,.full-width,.settings-card.full { grid-column:auto; }
  .mood-panel,.symptom-panel,.dash-card,.calendar-card { padding:22px 17px; }
  .mood-options { gap:5px; margin-top:22px; }
  .mood-option { min-height:97px; border-radius:12px; padding:12px 1px; }
  .mood-emoji { font-size:27px; }.mood-name { font-size:.59rem; }
  .section-title-row { align-items:flex-start; }.status { font-size:.61rem; }
  .chips { gap:7px; }.chip { font-size:.76rem; padding:9px 11px; }
  .reminder { gap:10px; flex-wrap:wrap; padding:14px; }.reminder-btn { margin-left:0; width:100%; }
  .page-heading .heading-actions { justify-content:flex-start; }
  .toolbar-hint { margin-left:0; width:100%; }
  .kpi { min-height:145px; }.kpi strong { font-size:2rem; }
  .calendar-weekdays,.calendar-grid { gap:4px; }
  .cal-day { border-radius:8px; aspect-ratio:.82; }
  .cal-num { top:4px; left:5px; font-size:.6rem; }
  .cal-face { font-size:21px; }.cal-small { font-size:.49rem; }
  .calendar-legend { gap:6px 12px; }
  .footer { flex-direction:column; }
  .topbar { gap:11px; }
  .brand-mark { width:38px; height:38px; border-radius:13px; font-size:23px; }
  .brand-name { font-size:.88rem; }.brand-sub { font-size:.5rem; }
  .nav-tab { font-size:.73rem; padding:10px 8px; }.nav-icon { margin-right:4px; }
  .heading-actions .btn { flex:1; font-size:.73rem; padding:11px; }
  .settings-form .btn { width:100%; }
}
@page { size:auto; margin:15mm; }
@media print {
  body { background:#fff; color:#222; font-family:Arial,Helvetica,sans-serif; font-size:10pt; }
  #app { display:none !important; }
  #print-report { display:block !important; }
  #print-report h1 { font-size:19pt; border-bottom:2px solid #d2a36e; padding-bottom:8px; margin:0 0 8px; }
  #print-report h2 { font-size:12pt; margin:18px 0 8px; }
  #print-report p { font-size:9pt; color:#444; }
  #print-report .report-meta { color:#555; }
  #print-report .report-overview { display:flex; gap:35px; padding:13px; background:#fff4f7; border:1px solid #f0e5e7; }
  #print-report table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:8.3pt; }
  #print-report th { text-align:left; color:#543f4a; background:#f7edf1; padding:7px 6px; border-bottom:1px solid #ddc8d0; }
  #print-report td { padding:7px 6px; border-bottom:1px solid #e9e3e5; vertical-align:top; word-wrap:break-word; }
  #print-report th:nth-child(1) { width:10%; }
  #print-report th:nth-child(2) { width:17%; }
  #print-report th:nth-child(3) { width:27%; }
  #print-report th:nth-child(4) { width:22%; }
  #print-report th:nth-child(5) { width:24%; }
  #print-report tr { break-inside:avoid; }
  #print-report .report-footer { margin-top:20px; color:#666; font-style:italic; }
}
