:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #fffdf8;
  --canvas: #f7f5ef;
  --brand: #dd5b24;
  --brand-dark: #b83e10;
  --accent: #ffcf5a;
  --line: #e7e2d9;
  --success: #1f805d;
  --shadow: 0 18px 45px rgba(70, 45, 23, .10);
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 8% 0%, #fff1cf 0, transparent 28rem), var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: var(--brand-dark); font-weight: 700; text-underline-offset: .16em; }
a:hover { color: var(--brand); }
.site-header { padding: 1rem max(1.25rem, calc((100vw - 70rem) / 2)); }
.nav-shell {
  max-width: 70rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.2rem; letter-spacing: -.04em; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: .8rem; background: var(--brand); color: white; box-shadow: 0 7px 16px rgba(221, 91, 36, .25); }
.nav-links { display: flex; align-items: center; gap: 1rem; font-size: .92rem; }
.nav-links a { text-decoration: none; }
.user-name { color: var(--muted); font-weight: 650; }
.page { max-width: 70rem; margin: 0 auto; padding: 1.25rem 1.25rem 4rem; }
.hero { padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 1.5rem; background: var(--ink); color: white; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; width: 16rem; height: 16rem; border: 2.8rem solid var(--accent); border-radius: 50%; right: -6rem; top: -8rem; opacity: .95; }
.eyebrow { margin: 0 0 .5rem; color: var(--accent); text-transform: uppercase; font-size: .75rem; letter-spacing: .13em; font-weight: 800; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
.hero h1 { max-width: 42rem; margin: 0; font-size: clamp(2rem, 5vw, 4rem); }
.hero p:last-child { max-width: 38rem; margin: 1rem 0 0; color: #dce3ee; }
.content-section { margin-top: 2rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.session-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.card, .auth-card, .order-card { background: rgba(255, 253, 248, .92); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.35rem; box-shadow: 0 7px 20px rgba(70, 45, 23, .05); }
.card h3 { margin: .45rem 0; font-size: 1.28rem; }
.meta, .card p { color: var(--muted); }
.meta { font-size: .88rem; }
.order-form { display: grid; gap: .75rem; margin-top: 1.15rem; }
label { display: block; font-size: .88rem; font-weight: 750; margin-bottom: .35rem; }
input, select, textarea { width: 100%; border: 1px solid #d7d0c5; border-radius: .7rem; background: white; color: var(--ink); padding: .72rem .8rem; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255, 207, 90, .65); border-color: var(--brand); }
button, .button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: .7rem; padding: .76rem 1rem; background: var(--brand); color: white; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 6px 14px rgba(221, 91, 36, .2); text-decoration: none; }
button:hover, .button:hover { background: var(--brand-dark); color: white; }
.history { display: grid; gap: .65rem; padding: 0; list-style: none; }
.history li { padding: .9rem 1rem; border-radius: .8rem; background: #fff; border: 1px solid var(--line); }
.auth-layout { min-height: calc(100vh - 7rem); display: grid; place-items: center; }
.auth-card, .order-card { width: min(100%, 31rem); }
.auth-card h1, .order-card h1 { margin: .2rem 0 1.2rem; }
.auth-card form p, .order-card form p { margin: 0 0 1rem; }
.auth-card button, .order-card button { width: 100%; margin-top: .5rem; }
.muted { color: var(--muted); }
.empty { padding: 1.5rem; border: 1px dashed #cfc5b6; border-radius: 1rem; color: var(--muted); text-align: center; }
@media (max-width: 36rem) { .site-header { padding-inline: .7rem; } .nav-links { gap: .65rem; } .user-name { display: none; } .page { padding-inline: .75rem; } .hero { border-radius: 1.15rem; } }\n.logout-form { margin: 0; }\n.logout-link { appearance: none; padding: 0; border: 0; background: transparent; color: var(--brand-dark); font: inherit; font-weight: 700; box-shadow: none; }\n.logout-link:hover { background: transparent; color: var(--brand); }\n