/* Direction: Paperclip — a bright, encouraging writing workspace. Cool paper
   canvas, confident electric blue, geometric display type, soft rounded cards. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f6f8fd;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --border: #dbe2f1;
  --border-strong: #adb2bc;
  --ink: #0f1627;
  --muted: #5a637a;
  --accent: #1d5cff;
  --accent-hover: #194ed9;
  --accent-ink: #ffffff;
  --accent-text: #1549cf;
  --accent-strong: #113ca9;
  --accent-soft: #e5ecff;
  --accent-border: #94b2fe;
  --success: #0f8a5f;
  --success-ink: #ffffff;
  --success-soft: #daebea;
  --success-strong: #0d7550;
  --warning: #a9630c;
  --warning-ink: #ffffff;
  --warning-soft: #ede6e0;
  --warning-strong: #8f540a;
  --danger: #c2342f;
  --danger-ink: #ffffff;
  --danger-soft: #f0e0e4;
  --danger-strong: #b2302b;
  --chart-1: #1d5cff;
  --chart-2: #d040df;
  --chart-3: #a81423;
  --chart-4: #a77f1e;
  --chart-5: #136a1a;
  --chart-6: #239aa4;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.025em;
  --radius-card: 18px;
  --radius-btn: 11px;
  --radius-input: 11px;
  --card-pad: 1.3rem;
  --x-paper: #ffffff;
  --x-paper-ink: #15181f;
  --x-paper-muted: #5b6373;
  --x-paper-rule: #dde1e9;
  --x-on-photo: #ffffff;
  --x-res: #1d5cff;
  --x-res-blue: #1d5cff;
  --x-res-teal: #0e7c75;
  --x-res-plum: #7a3b96;
  --x-res-slate: #334155;
  --x-res-amber: #ad620a;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #030610;
  --surface: #1c1f28;
  --surface-2: #10121c;
  --border: #262931;
  --border-strong: #4f5158;
  --ink: #f6f8fd;
  --muted: #95979e;
  --accent: #1d5cff;
  --accent-hover: #3f74ff;
  --accent-ink: #ffffff;
  --accent-text: #4f80ff;
  --accent-strong: #4f80ff;
  --accent-soft: #091945;
  --accent-border: #0f2d7c;
  --success: #0f8a5f;
  --success-ink: #ffffff;
  --success-soft: #062321;
  --success-strong: #349c78;
  --warning: #a9630c;
  --warning-ink: #ffffff;
  --warning-soft: #281a0f;
  --warning-strong: #b67b31;
  --danger: #c2342f;
  --danger-ink: #ffffff;
  --danger-soft: #2d1017;
  --danger-strong: #cf615d;
  --chart-1: #1d5cff;
  --chart-2: #d040df;
  --chart-3: #ea1f35;
  --chart-4: #a77f1e;
  --chart-5: #069b1e;
  --chart-6: #239aa4;
}

/* resume accent swatches — switch the sheet's accent with one class */
.acc-blue { --x-res: var(--x-res-blue); }
.acc-teal { --x-res: var(--x-res-teal); }
.acc-plum { --x-res: var(--x-res-plum); }
.acc-slate { --x-res: var(--x-res-slate); }
.acc-amber { --x-res: var(--x-res-amber); }

.paper {
  box-shadow: 0 26px 60px -34px rgb(0 0 0 / 0.32), 0 2px 6px -2px rgb(0 0 0 / 0.08);
}

.meter-track {
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}
.meter-fill {
  background: var(--accent);
  height: 100%;
  border-radius: 999px;
  transition: width 0.45s ease;
}

.entry-card {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 14px;
}

.swatch {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

@page {
  margin: 14mm;
}

@media print {
  .no-print { display: none !important; }
  html, body { background: var(--x-paper) !important; }
  .paper {
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  .print-sheet {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
