@font-face { font-family: 'Italiana'; src: url('fonts/Italiana-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/DMMono-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/DMMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { --background: #f0eee8; --foreground: #1b1b19; --mesa-red: #a1412f; --mesa-line: rgb(27 27 25 / 22%); --font-display: 'Italiana', Georgia, serif; --font-interface: 'Manrope', Arial, sans-serif; --font-mono: 'DM Mono', monospace; }
@theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-interface); }
a { color: inherit; text-decoration: none; } button { font: inherit; }
.wordmark { font-size: 1.35rem; font-weight: 800; letter-spacing: .16em; }.wordmark span { color: var(--mesa-red); }.wordmark-light { color: #fff7ed; }
.eyebrow { margin: 0 0 1rem; color: var(--mesa-red); font-size: .7rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }.eyebrow-light { color: #d8a997; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 1.04fr) minmax(460px, .96fr); background: #faf7f1; }
.auth-story { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 5rem); background: #71362f; color: #fff7ed; position: relative; overflow: hidden; }
.auth-story::after { content: ''; position: absolute; width: 38rem; height: 38rem; border: 1px solid rgb(255 247 237 / 13%); border-radius: 50%; right: -20rem; bottom: -15rem; box-shadow: 0 0 0 7rem rgb(255 247 237 / 3%), 0 0 0 14rem rgb(255 247 237 / 2%); }.auth-story > * { position: relative; z-index: 1; }
.auth-story h1 { max-width: 780px; margin: 0 0 2rem; font-family: Georgia, serif; font-size: clamp(3rem, 5.8vw, 6.7rem); font-weight: 400; line-height: .96; letter-spacing: -.045em; }.story-copy { max-width: 560px; color: #ead8ce; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }.story-foot { margin: 0; color: #d8bcb1; font-size: .76rem; letter-spacing: .06em; }
.auth-panel { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 3rem clamp(1.5rem, 6vw, 7rem); }.auth-card { width: min(100%, 470px); }.auth-card h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 3.5vw, 3.5rem); font-weight: 400; letter-spacing: -.035em; }.auth-intro { margin: 1rem 0 2.5rem; color: #786b5d; line-height: 1.6; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.2rem; border-bottom: 1px solid var(--mesa-line); text-align: center; color: #8b7d70; font-size: .87rem; font-weight: 650; }.auth-switch span { padding: .9rem; }.auth-switch-active { border-bottom: 2px solid var(--mesa-red); color: var(--foreground); }
.primary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 0; border-radius: 999px; padding: .8rem 1.35rem; background: var(--mesa-red); color: white; cursor: pointer; font-size: .88rem; font-weight: 700; }.primary-button-wide { width: 100%; min-height: 56px; justify-content: space-between; padding-inline: 1.5rem; }.privacy-note { margin: 1.2rem auto 0; max-width: 390px; color: #9b8f83; font-size: .72rem; line-height: 1.55; text-align: center; }.auth-footer { margin: 3rem 0 0; color: #93867a; font-size: .75rem; }
.signed-in-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.2rem; border: 1px solid var(--mesa-line); border-radius: 18px; background: white; }.signed-in-card div { display: flex; flex-direction: column; gap: .2rem; }.signed-in-card div span { color: #8b7d70; font-size: .76rem; }.signed-in-card .primary-button { grid-column: 1 / -1; }.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #e6cbbd; color: #71362f; font-weight: 750; }
.dashboard-shell { min-height: 100vh; background: #f7f3ec; padding-bottom: 70px; }.topbar { height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; padding: 0 clamp(1.5rem, 5vw, 5rem); border-bottom: 1px solid #e3d7c8; background: rgb(250 247 241 / 92%); backdrop-filter: blur(14px); }.desktop-nav { justify-self: center; display: flex; gap: .35rem; }.nav-link { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: 999px; color: #807367; font-size: .79rem; }.nav-link.active { background: #eee3d8; color: var(--mesa-red); font-weight: 700; }
.member-menu { display: flex; align-items: center; gap: .75rem; }.member-copy { display: flex; flex-direction: column; text-align: right; font-size: .75rem; }.member-copy small { color: #998c80; }.avatar-small { width: 38px; height: 38px; font-size: .8rem; }.quiet-link { color: #8a7d70; font-size: .72rem; }
.dashboard-main { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) 0; }.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }.dashboard-heading h1 { margin: 0; max-width: 780px; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }.add-button { flex: 0 0 auto; margin-bottom: .55rem; }
.quick-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5.5rem); }.quick-card { min-height: 270px; display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid #e0d4c5; border-radius: 22px; background: #fcfaf6; }.quick-card-featured { background: #773a32; border-color: #773a32; color: #fff7ed; }.card-label { margin: 0 0 auto; color: #a39284; font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }.quick-card-featured .card-label { color: #d8a99a; }.quick-card strong { margin-bottom: .5rem; font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; }.quick-card > span { min-height: 3rem; color: #887a6d; font-size: .83rem; line-height: 1.5; }.quick-card-featured > span { color: #e2c9bf; }.quick-card button { display: flex; justify-content: space-between; width: 100%; margin-top: 1.3rem; padding: .9rem 0 0; border: 0; border-top: 1px solid #e0d4c5; background: transparent; color: inherit; cursor: pointer; font-size: .78rem; font-weight: 700; }.quick-card-featured button { border-color: rgb(255 255 255 / 18%); }.bottom-bar { display: none; }
@media (max-width: 920px) { .auth-page { grid-template-columns: 1fr; }.auth-story { min-height: 46vh; padding: 2rem; }.auth-story h1 { max-width: 640px; font-size: clamp(2.8rem, 9vw, 5rem); }.story-foot { display: none; }.auth-panel { min-height: 54vh; padding: 3.5rem 1.5rem 5rem; }.desktop-nav, .member-copy, .quiet-link { display: none; }.topbar { grid-template-columns: 1fr auto; }.quick-grid { grid-template-columns: 1fr 1fr; }.quick-card-featured { grid-column: 1 / -1; }.bottom-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; height: 70px; padding: 0 .6rem env(safe-area-inset-bottom); border-top: 1px solid #ded2c4; background: rgb(250 247 241 / 96%); backdrop-filter: blur(16px); }.bottom-link { display: flex; min-width: 54px; flex-direction: column; align-items: center; gap: .2rem; color: #8d8074; font-size: 1.05rem; }.bottom-link small { font-size: .62rem; }.bottom-link.active { color: var(--mesa-red); }.bottom-add { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mesa-red); color: white; font-size: 1.4rem; } }
@media (max-width: 620px) { .auth-story { min-height: 43vh; }.auth-story h1 { font-size: 2.7rem; }.dashboard-heading { align-items: start; flex-direction: column; }.quick-grid { grid-template-columns: 1fr; }.quick-card-featured { grid-column: auto; }.dashboard-main { width: min(100% - 2rem, 1180px); } }

/* MESA inherits the exact SOY YO typographic and visual system. */
.wordmark { font-family: var(--font-display); font-size: 2.05rem; font-weight: 400; letter-spacing: .08em; }
.wordmark-light { color: var(--background); }
.eyebrow { font-family: var(--font-mono); font-size: .625rem; font-weight: 300; letter-spacing: .16em; }
.eyebrow-light { color: rgb(240 238 232 / 74%); }
.auth-page { background: var(--background); }
.auth-story { background: var(--foreground); color: var(--background); }
.auth-story h1, .auth-card h2, .dashboard-heading h1, .quick-card strong { font-family: var(--font-display); font-weight: 400; letter-spacing: -.055em; }
.story-copy { color: rgb(240 238 232 / 70%); font-size: clamp(.8rem, 1vw, 1rem); letter-spacing: .08em; }
.story-foot, .auth-switch, .primary-button, .privacy-note, .auth-footer, .nav-link, .quiet-link, .card-label { font-family: var(--font-mono); }
.story-foot { color: rgb(240 238 232 / 55%); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; }
.auth-intro { color: rgb(27 27 25 / 65%); font-size: .82rem; letter-spacing: .04em; }
.auth-switch { color: rgb(27 27 25 / 48%); font-size: .625rem; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.auth-switch-active { border-bottom: 1px solid var(--foreground); color: var(--foreground); }
.primary-button { border: 1px solid var(--foreground); border-radius: 0; background: var(--foreground); color: var(--background); font-size: .625rem; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.privacy-note, .auth-footer { color: rgb(27 27 25 / 48%); font-size: .5rem; letter-spacing: .1em; }
.auth-footer { text-transform: uppercase; }
.dashboard-shell { background: var(--background); }
.topbar { height: 96px; padding-inline: 3.5rem; border-color: var(--mesa-line); background: rgb(240 238 232 / 94%); backdrop-filter: blur(4px); }
.desktop-nav { gap: 1.75rem; }
.nav-link { padding: .5rem 0; border-radius: 0; color: rgb(27 27 25 / 58%); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-link.active { border-bottom: 1px solid var(--foreground); background: transparent; color: var(--foreground); font-weight: 400; }
.quiet-link { color: rgb(27 27 25 / 55%); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; }
.quick-grid { gap: 0; border-top: 1px solid var(--mesa-line); border-left: 1px solid var(--mesa-line); }
.quick-card { border: 0; border-right: 1px solid var(--mesa-line); border-bottom: 1px solid var(--mesa-line); border-radius: 0; background: transparent; }
.quick-card-featured { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.quick-card strong { font-size: 2.5rem; }
.avatar { border: 1px solid var(--mesa-line); background: transparent; color: var(--foreground); }
.bottom-bar { border-color: var(--mesa-line); background: rgb(240 238 232 / 96%); }
.bottom-add { border-radius: 0; background: var(--foreground); }

.auth-tab { border: 0; border-bottom: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; }
.auth-form { display: grid; gap: 1rem; }
.auth-form[hidden] { display: none; }
.auth-intro.compact { margin-bottom: .5rem; }
.auth-form label { display: grid; gap: .45rem; color: rgb(27 27 25 / 58%); font-family: var(--font-mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; }
.auth-form label small { color: rgb(27 27 25 / 38%); font-size: inherit; }
.auth-form input:not([type='checkbox']) { width: 100%; min-height: 46px; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--mesa-line); border-radius: 0; outline: 0; background: transparent; color: var(--foreground); font-family: var(--font-interface); font-size: .9rem; letter-spacing: normal; }
.auth-form input:focus { border-color: var(--foreground); }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-row { grid-template-columns: 1rem 1fr !important; align-items: start; gap: .75rem !important; line-height: 1.5; }
.check-row input { margin: 0; accent-color: var(--foreground); }
.form-message { min-height: 1.2rem; margin: .25rem 0; font-size: .72rem; line-height: 1.5; }
.form-message.success { color: #446145; }.form-message.error { color: var(--mesa-red); }
.text-button { justify-self: center; border: 0; background: transparent; color: rgb(27 27 25 / 50%); cursor: pointer; font-family: var(--font-mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-button:disabled { cursor: wait; opacity: .55; }
.member-menu button { border: 0; background: transparent; cursor: pointer; }
@media (max-width: 520px) { .name-grid { grid-template-columns: 1fr; } }
