/* finesse · product · Notion warm paper · quiet document workbench · compact finance
   All rules are opt-in; system fonts use local fallbacks without remote requests. */
:root[data-theme=notion] {
  --page:#f7f6f3;
  --surface:#fdfcf9;
  --inset:#f2f1ed;
  --rail:#eeede8;
  --header:#f5f4f0;
  --ink:#32312c;
  --body:#48463f;
  --muted:#625f57;
  --border:#dedbd3;
  --accent:#393832;
  --accent-soft:#eae8e1;
  --on-accent:#fdfcf9;
  --good:#30664d;
  --good-bg:#e9f0e8;
  --warn:#875913;
  --warn-bg:#faf0dc;
  --bad:#a43c37;
  --bad-bg:#faeae6;
  --purple:#6d527f;
  --purple-bg:#f0eaf3;
  --shadow:0 1px 2px #39352a06;
  --r:9px;
  --rs:6px;
  color-scheme:light;
}
:root[data-theme=notion] body {
  font-family:"Segoe UI Variable Text","Segoe UI","Noto Sans SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
  font-size:13.5px;
  line-height:1.6;
  letter-spacing:0;
  text-rendering:optimizeLegibility;
}
:root[data-theme=notion] h1 {
  font-size:26px;
  font-weight:650;
  line-height:1.38;
  letter-spacing:-.025em;
}
:root[data-theme=notion] h2 { font-size:15px;font-weight:650;line-height:1.5;letter-spacing:-.012em; }
:root[data-theme=notion] h3 { font-size:13px;font-weight:600;line-height:1.5; }
:root[data-theme=notion] small,
:root[data-theme=notion] .muted { line-height:1.55; }
:root[data-theme=notion] .heading { margin-bottom:22px; }
:root[data-theme=notion] .heading p { margin-top:6px;line-height:1.65; }
:root[data-theme=notion] .sidebar { gap:23px; }
:root[data-theme=notion] .brand { gap:9px; }
:root[data-theme=notion] .brand b { font-size:18px;letter-spacing:-.03em;font-weight:650; }
:root[data-theme=notion] .brand small { margin-top:0;font-size:10px;letter-spacing:.07em; }
:root[data-theme=notion] .brandmark { border-radius:7px; }
:root[data-theme=notion] .nav-group { font-size:11px;font-weight:600;letter-spacing:.025em; }
:root[data-theme=notion] .nav a { border-radius:5px;padding-top:10px;padding-bottom:10px; }
:root[data-theme=notion] .nav a.active { color:var(--ink);background:#dfddd5;box-shadow:none;font-weight:650; }
:root[data-theme=notion] .nav a.active:before { display:none; }
:root[data-theme=notion] .nav a:hover { background:#e4e2db; }
:root[data-theme=notion] .nav a.active:hover { background:#d9d7cf; }
:root[data-theme=notion] .application-nav-title { font-size:12px;font-weight:600;color:var(--muted); }
:root[data-theme=notion] .nav a.application-subnav { padding-top:8px;padding-bottom:8px; }
:root[data-theme=notion] .subnav-dot { width:4px;height:4px; }
:root[data-theme=notion] .sidebar-bottom { line-height:1.65; }
:root[data-theme=notion] .topbar { background:var(--page); }
:root[data-theme=notion] .top-title { font-weight:600;color:var(--ink); }
:root[data-theme=notion] .top-title small { font-weight:400; }
:root[data-theme=notion] .avatar { border-radius:6px;background:#e6e3db;color:var(--ink);font-weight:600; }
:root[data-theme=notion] .card-head { padding-top:12px;padding-bottom:12px; }
:root[data-theme=notion] .card,
:root[data-theme=notion] .kpi,
:root[data-theme=notion] .fund-currency-scope { box-shadow:none; }
:root[data-theme=notion] .card-head h2 { font-size:14px;font-weight:650; }
:root[data-theme=notion] .kpi { border-color:var(--border); }
:root[data-theme=notion] .kpi:after { display:none; }
:root[data-theme=notion] .kpi b { font-size:29px;font-weight:650;letter-spacing:-.035em; }
:root[data-theme=notion] .kpi b.small-number { font-size:24px; }
:root[data-theme=notion] .kpi-icon,
:root[data-theme=notion] .quick-icon { border-radius:6px; }
:root[data-theme=notion] .quick-links { gap:24px; }
:root[data-theme=notion] button { font-size:12px;font-weight:500;border-color:#d2cfc6;box-shadow:none; }
:root[data-theme=notion] button:hover:not(:disabled) { border-color:#b9b5aa;background:#eceae3; }
:root[data-theme=notion] button.primary { background:var(--accent);border-color:var(--accent);color:var(--on-accent); }
:root[data-theme=notion] button.primary:hover:not(:disabled) { background:#292823;border-color:#292823;filter:none; }
:root[data-theme=notion] button.danger { border-color:#dfb8b0;background:var(--bad-bg);color:var(--bad); }
:root[data-theme=notion] button.link { border-color:transparent;background:transparent;color:var(--accent);font-weight:500; }
:root[data-theme=notion] button.link:hover:not(:disabled) { color:var(--ink);text-decoration:underline;text-underline-offset:3px; }
:root[data-theme=notion] button:disabled { cursor:not-allowed; }
:root[data-theme=notion] input,
:root[data-theme=notion] select,
:root[data-theme=notion] textarea { border-color:#d2cfc6;line-height:1.45; }
:root[data-theme=notion] input::placeholder,
:root[data-theme=notion] textarea::placeholder { color:var(--muted);opacity:1; }
:root[data-theme=notion] .tabs { gap:3px;padding-bottom:9px; }
:root[data-theme=notion] .tabs button { color:var(--muted);font-weight:500; }
:root[data-theme=notion] .tabs button.selected { color:var(--ink);background:#e9e7df;border-color:#d7d3c8;font-weight:650; }
:root[data-theme=notion] .filters { background:var(--header); }
:root[data-theme=notion] table { font-size:12.5px;line-height:1.55; }
:root[data-theme=notion] th { color:var(--muted);font-size:11.5px;font-weight:600;background:var(--header); }
:root[data-theme=notion] td { padding-top:12px;padding-bottom:12px; }
:root[data-theme=notion] .line-table td { padding:8px; }
:root[data-theme=notion] td.title-cell .link { font-weight:600; }
:root[data-theme=notion] td.title-cell small { font-size:11px; }
:root[data-theme=notion] .number,
:root[data-theme=notion] .number button,
:root[data-theme=notion] .kpi b,
:root[data-theme=notion] .receipt-grid b,
:root[data-theme=notion] .fund-scope-metrics b { font-variant-numeric:tabular-nums lining-nums; }
:root[data-theme=notion] .number { letter-spacing:0; }
:root[data-theme=notion] .tag { border-radius:4px;padding:3px 7px;font-weight:500; }
:root[data-theme=notion] .tag:before { width:4px;height:4px; }
:root[data-theme=notion] .notice { border-color:var(--border);background:var(--inset);line-height:1.7; }
:root[data-theme=notion] .notice.warning { border-color:#e4d0a7;background:var(--warn-bg); }
:root[data-theme=notion] .notice.error { border-color:#e0bdb6;background:var(--bad-bg); }
:root[data-theme=notion] .timeline-event { border-radius:6px;background:var(--header); }
:root[data-theme=notion] .step b { font-weight:600; }
:root[data-theme=notion] .modal-head { background:var(--header); }
:root[data-theme=notion] .modal-head h2 { font-size:18px;font-weight:650;letter-spacing:-.015em; }
:root[data-theme=notion] dialog { border-radius:12px;box-shadow:0 16px 60px #35302526; }
:root[data-theme=notion] dialog::backdrop { background:#302d264d;backdrop-filter:blur(2px); }
:root[data-theme=notion] .auth-page { background:var(--page); }
:root[data-theme=notion] .auth-card { border-radius:12px;box-shadow:0 3px 15px #39352a09; }
:root[data-theme=notion] .fund-scope-controls { background:var(--header); }
:root[data-theme=notion] .fund-scope-metrics { background:var(--inset); }
:root[data-theme=notion] .fund-scope-metrics b { font-size:21px;font-weight:650;letter-spacing:-.02em; }
:root[data-theme=notion] .currency-tab.selected { background:var(--accent);border-color:var(--accent);color:var(--on-accent); }
:root[data-theme=notion] .pagination { background:var(--header); }
:root[data-theme=notion] .help-link { text-underline-offset:3px; }
@media(max-width:720px) {
  :root[data-theme=notion] h1 { font-size:23px; }
  :root[data-theme=notion] .nav a.application-subnav { min-height:44px; }
  :root[data-theme=notion] .kpi b { font-size:26px; }
  :root[data-theme=notion] .kpi b.small-number { font-size:22px; }
  :root[data-theme=notion] .fund-scope-metrics b { font-size:16px; }
  :root[data-theme=notion] .quick-links { gap:14px; }
}
