:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #22231f;
  background: #f7f6f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --muted: #73766e;
  --line: #e8e6df;
  --green: #557d60;
  --green-dark: #3e654a;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 8%, #e9e8dc 0, transparent 31rem),
    radial-gradient(ellipse at 90% 34%, #f1e7dc 0, transparent 30rem),
    #f7f6f2;
}
button, input { font: inherit; }
button { cursor: pointer; }
.topbar {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-size: 16px; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 13px; color: #fff; background: #547b5e; font-size: 19px; }
.top-note { color: var(--muted); font-size: 12px; }
main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 88px; }
.welcome { max-width: 650px; margin: 0 auto 35px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 65px); letter-spacing: -.07em; line-height: 1.02; }
h1 span { color: var(--green); }
.intro-copy { max-width: 480px; margin: 17px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.auth-card {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 25px;
  border: 1px solid #e9e6de;
  border-radius: 20px;
  background: #fffefa;
  box-shadow: 0 20px 60px #302c2010;
}
.auth-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.auth-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; color: var(--green-dark); background: #eaf0e8; font-size: 19px; }
.auth-heading h2, .dashboard-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.045em; }
.auth-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 19px; border-radius: 11px; background: #f2f1ec; }
.tab { border: 0; border-radius: 8px; padding: 9px 7px; color: #686a63; background: transparent; font-size: 12px; font-weight: 700; }
.tab.is-active { color: #29332a; background: white; box-shadow: 0 1px 4px #292d2015; }
label { display: block; margin: 14px 0 6px; font-size: 12px; font-weight: 750; }
input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dfded7; border-radius: 10px; outline: 0; color: inherit; background: #fff; }
input:focus { border-color: #709476; box-shadow: 0 0 0 3px #70947624; }
.form-hint { margin: 7px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.primary-button { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; padding: 13px 15px; color: white; background: var(--green); font-weight: 750; transition: background .15s, transform .15s; }
.primary-button:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.status { min-height: 18px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.status.error { color: #ad3434; }
.account-note { margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 12px; color: #77796f; font-size: 10px; line-height: 1.55; }
.creations-panel { margin: 0 auto; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.dashboard-heading .eyebrow { margin-bottom: 8px; }
.dashboard-heading h2 { font-size: clamp(28px, 5vw, 38px); }
.account-actions { display: flex; align-items: center; gap: 12px; }
.account-email { max-width: 230px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; }
.quiet-button { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: #484a44; background: #fffefa; font-size: 11px; font-weight: 700; }
.quiet-button:hover { background: #f0efe9; }
.dashboard-copy { margin: 11px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.creation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.creation-card { display: flex; min-height: 220px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fffefa; box-shadow: 0 12px 32px #28251908; transition: transform .18s, box-shadow .18s; }
.creation-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px #28251912; }
.creation-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 15px; font-size: 21px; }
.creation-icon.lavender { color: #66539e; background: #eeeafa; }
.creation-icon.peach { color: #a15d3f; background: #fae9df; }
.creation-status { align-self: flex-start; margin: 16px 0 6px; padding: 5px 8px; border-radius: 99px; color: #44694d; background: #edf3eb; font-size: 10px; font-weight: 750; }
.creation-card h3 { margin: 0; font-size: 19px; letter-spacing: -.04em; }
.creation-card p { flex: 1; margin: 7px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.open-creation { display: inline-flex; align-items: center; justify-content: space-between; color: var(--green-dark); text-decoration: none; font-size: 12px; font-weight: 800; }
.open-creation:hover { text-decoration: underline; }
.footer { width: min(1080px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 12px; margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid #e9e7e0; color: #85867e; font-size: 10px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  main { padding-top: 32px; }
  .creation-grid { grid-template-columns: 1fr; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .account-actions { width: 100%; justify-content: space-between; }
  .account-email { max-width: 185px; }
  .footer { flex-direction: column; }
}
