/* reset.css */ /* :contentReference[oaicite:0]{index=0} */
    *, *::before, *::after { box-sizing: border-box; }
    html, body, div, span, applet, button, input, select, textarea, object, iframe,
    h1, h2, h3, h4, h5, h6, hr, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
    dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
      background: transparent;
      border: 0;
      font: inherit;
      font-size: 100%;
      margin: 0;
      min-width: 0;
      outline: 0;
      padding: 0;
      vertical-align: baseline;
    }
    article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
    body { line-height: 1; }
    ol, ul, menu { list-style: none; }
    blockquote, q { quotes: none; }
    blockquote:before, blockquote:after, q:before, q:after { content: none; }
    img, svg { display: block; }
    table { border-collapse: collapse; border-spacing: 0; }

    /* root.css */ /* :contentReference[oaicite:1]{index=1} */
    :root{
      --bg:#ffeaf0;
      --panel:#ffffff;
      --text:#0f172a;
      --muted:#475569;
      --accent:#db21bc;
      --col-bg:#fffffe;
      --card:#ffffff;
      --border:#222222;
      --shadow:0 1px 3px rgba(0,0,0,.08);
      --scroll:#94a3b8;
      --scroll-hover:#64748b;
      --success:#16a34a;
      --risk:#ffde21;
      --grad-avatar: linear-gradient(135deg,#ec4899,#8b5cf6);
    }
    [data-theme="dark"]{
      --bg:#0b1220;
      --panel:#0f172a;
      --text:#e6edf6;
      --muted:#93a4b1;
      --accent:#961b82;
      --col-bg:#0b1220;
      --card:#111827;
      --border:#1f2937;
      --shadow:0 2px 6px rgba(0,0,0,.35);
      --scroll:#475569;
      --scroll-hover:#64748b;
      --success:#22c55e;
      --risk:#b09d30;
      --grad-avatar: linear-gradient(135deg,#f472b6,#a78bfa);
    }

    /* theme.css */ /* :contentReference[oaicite:2]{index=2} */
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      background:var(--bg);
      color:var(--text);
      font:14px 'Inter', system-ui, sans-serif;
      letter-spacing:-0.01em;
    }
    h1,h2,h3,h4,h5,h6 { font-weight:600; letter-spacing:-0.01em; }
    header{
      display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;
      padding:.75rem 1rem;border-bottom:1px solid var(--border);background:var(--panel);position:sticky;top:0;z-index:5
    }
    button{
      font-size: 1rem;background:var(--panel);color:var(--text);border:2px solid var(--border);
      border-radius:10px;padding:.35rem .6rem;cursor:pointer;box-shadow:var(--shadow)
    }
    button.primary{background:var(--accent);border-color:transparent;color:white;padding:.4rem .7rem;border-radius: 8px;font-weight:900;}
    .pill{
      display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .6rem;border:1px solid var(--border);
      border-radius:10px;background:var(--panel);font-size:0.8rem;text-decoration:none;color:inherit
    }
    .pill:hover{filter:brightness(0.98)}

    /* animations.css */ /* :contentReference[oaicite:3]{index=3} */
    @keyframes burning {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
      70% { opacity: 0.9; }
    }
    .burn { animation: burning 0.7s infinite alternate; }
    @keyframes cardhover { from { background-color: #ffeaf0; } to { background-color: #f6abf7; } }

    /* project specific styling, aligned to the same system */
    :root{
      --radius:10px;
      --b:2px;
      --gap:12px;

      --q-year: #c7f0ff;
      --q-xmas: #ffe3ea;
      --q-left: #d8ffe9;
      --q-pct:  #efe0ff;

      --xmas-red: #ef4444;
      --xmas-white: #ffffff;
    }

    main{
      max-width: 980px;
      margin: 0 auto;
      padding: 12px;
      display: grid;
      gap: 12px;
    }

    .topline{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:12px;
      flex-wrap:wrap;
    }

    .titlewrap{display:grid;gap:6px}
    .titlewrap h1{font-size:1.8rem}
    .sub{color:var(--muted);font-size:1rem}

    .badges{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
    .dot{width:12px;height:12px;border-radius:50%;border:2px solid var(--border);background:var(--accent)}

    .grid{
      display:grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--gap);
    }

    .quad{
      border: var(--b) solid var(--border);
      border-radius: var(--radius);
      background: var(--card);
      box-shadow: var(--shadow);
      padding: 12px;
      display:flex;
      flex-direction:column;
      gap: 10px;
      min-height: 170px;
    }
    .quad:hover{ animation: cardhover 1s; animation-fill-mode: both; }

    .quadHead{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:10px;
    }
    .label{
      font-size: .9rem;
      color: var(--muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .02em;
    }
    .tag{
      border: 1px solid var(--border);
      background: var(--panel);
      border-radius: 10px;
      padding: .2rem .5rem;
      font-size: .85rem;
      color: var(--text);
      white-space: nowrap;
    }

    .value{
      font-weight: 900;
      letter-spacing: -0.02em;
      font-size: clamp(2.6rem, 6vw, 4.2rem);
      line-height: 1;
    }

    .meta{
      display:flex;
      justify-content:space-between;
      gap:10px;
      flex-wrap:wrap;
      color: var(--muted);
      font-size: .95rem;
    }

    .q-year{ background: var(--q-year); }
    .q-xmas{ background: var(--q-xmas); }
    .q-left{ background: var(--q-left); }
    .q-pct { background: var(--q-pct); }

    .candy{
      height: 16px;
      border: var(--b) solid var(--border);
      border-radius: 999px;
      background:
        repeating-linear-gradient(
          45deg,
          var(--xmas-red) 0px,
          var(--xmas-red) 12px,
          var(--xmas-white) 12px,
          var(--xmas-white) 24px
        );
    }

    .bar{
      height: 18px;
      border: var(--b) solid var(--border);
      border-radius: 999px;
      background: var(--panel);
      overflow:hidden;
      position:relative;
      box-shadow: var(--shadow);
    }
    .fill{
      height:100%;
      width:0%;
      background: var(--accent);
      transition: width .25s ease;
    }
    .barText{
      position:absolute;
      inset:0;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:.85rem;
      color: var(--text);
      pointer-events:none;
      mix-blend-mode:multiply;
    }

    /* thick scrollbar, matching theme.css conventions */
    *{scrollbar-width:auto; scrollbar-height:auto;}
    body::-webkit-scrollbar{height:20px; width:20px}
    body::-webkit-scrollbar-thumb{background:var(--scroll);border-radius:7px;border:3px solid transparent;background-clip:content-box}
    body::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)}

    @media (max-width: 760px){
      .grid{ grid-template-columns: 1fr; }
      .titlewrap h1{ font-size: 1.5rem; }
    }