/* ClearPrep 82b66ac: styles.css tokens and login.tsx layout, without a second JS framework. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
:root {
  --background: oklch(0.965 0.012 85); --foreground: oklch(0.27 0.06 262);
  --card: oklch(0.99 0.006 85); --primary: oklch(0.34 0.08 262);
  --primary-foreground: oklch(0.975 0.01 85); --muted-foreground: oklch(0.5 0.03 262);
  --accent: oklch(0.915 0.02 85); --border: oklch(0.88 0.012 80);
  --input: oklch(0.87 0.014 80); --ring: oklch(0.55 0.1 262);
  --destructive: oklch(0.58 0.19 22); --gold: oklch(0.78 0.14 82);
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background: var(--background); color: var(--foreground); line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, p { margin: 0; }
h1, .display { font-family: "Fraunces Variable", Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: 1.5rem; line-height: 1.33; }
.muted { color: var(--muted-foreground); }
.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand .display { font-size: 1.5rem; line-height: 1; }
.brand-icon { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: var(--primary); color: var(--gold); }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-page { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 1.5rem 1rem; }
.login-card { width: 100%; max-width: 24rem; padding: 1.5rem; border: 1px solid color-mix(in oklab, var(--border) 70%, transparent); border-radius: 1.25rem; background: var(--card); box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px rgb(0 0 0 / 0.1); }
.login-card > * + * { margin-top: 1rem; }
.login-card h1 { font-size: 1.25rem; line-height: 1.4; }
.login-card p { font-size: 0.875rem; }
.login-card h1 + p { margin-top: 0.25rem; }
.field { display: grid; gap: 0.5rem; }
label { font-size: 0.875rem; font-weight: 500; }
input:not([type=file]) { width: 100%; border: 1px solid var(--input); border-radius: 0.5rem; background: var(--background); color: var(--foreground); padding: 0.5rem 0.75rem; font: inherit; font-size: 0.875rem; line-height: 1.25rem; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 0; border-radius: 0.5rem; padding: 0.5rem 1rem; font: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.25rem; background: var(--primary); color: var(--primary-foreground); cursor: pointer; text-decoration: none; }
.login-card button { width: 100%; }
button:hover:not(:disabled), .button:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
button:disabled { opacity: 0.6; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
::selection { background: var(--accent); }
.error { color: var(--destructive); }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.account { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; }
.secondary { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.secondary:hover:not(:disabled) { background: var(--accent); }
main { max-width: 60rem; margin: 0 auto; padding: 2rem 1.5rem; }
.intro { max-width: 65ch; margin-top: 0.5rem; font-size: 0.875rem; }
.notice { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); padding: 1rem; font-size: 0.875rem; }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2.5rem 1.5rem; margin-top: 1.5rem; border: 2px dashed var(--border); border-radius: 1rem; background: var(--card); text-align: center; cursor: pointer; font-weight: 400; }
.drop-zone:hover, .drop-zone.dragging, .drop-zone:focus-within { border-color: var(--primary); background: color-mix(in oklab, var(--primary) 5%, var(--card)); }
.drop-zone:focus-within { outline: 2px solid var(--ring); outline-offset: 3px; }
.drop-zone[aria-disabled=true] { cursor: not-allowed; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.upload-icon { width: 2rem; height: 2rem; color: var(--primary); margin-bottom: 0.25rem; }
.drop-title { font-size: 1rem; font-weight: 600; }
.file-name { max-width: 100%; overflow-wrap: anywhere; font-weight: 500; }
.file-name:empty { display: none; }
.note { font-size: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
#status:not(:empty) { margin-top: 1rem; font-size: 0.875rem; }
main > .note { margin-top: 1rem; }
@media (max-width: 480px) { .app-header { padding: 1rem; align-items: flex-start; } .account { flex-direction: column; align-items: flex-end; gap: 0.5rem; } main { padding: 1.5rem 1rem; } }

/* delivery mode picker (two modes, one preparation) */
#delivery { border: 1px solid var(--border, #d8d3c8); border-radius: 8px; padding: .75rem 1rem; display: grid; gap: .5rem; }
#delivery legend { font-weight: 600; padding: 0 .25rem; }
.choice { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; }
.choice input { margin-top: .3rem; }
