:root {
  color-scheme: light;
  --ink: #192322;
  --muted: #78827f;
  --green: #238a6e;
  --green-dark: #176f59;
  --mint: #eaf5f0;
  --line: #e9eeeb;
  --surface: #fff;
  --canvas: #f6f8f7;
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; }

.sidebar {
  width: 248px; position: fixed; inset: 0 auto 0 0; z-index: 2; display: flex;
  flex-direction: column; padding: 28px 18px 18px; background: #fff;
  border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; font: 800 21px "Manrope", sans-serif; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px 11px 11px 4px; background: var(--green); color: #fff; font: 800 20px "Manrope", sans-serif; }
.brand-accent { color: var(--green); }
.section-kicker { color: #929b98; font-size: 10px; font-weight: 700; letter-spacing: 1.25px; }
.side-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: #6d7874; font-size: 13px; font-weight: 600; }
.nav-item.active { background: #edf6f2; color: var(--green-dark); }
.nav-icon { font-size: 17px; width: 18px; text-align: center; }
.sidebar-bottom { margin-top: auto; }
.profile { display: flex; align-items: center; gap: 10px; padding: 19px 3px 1px; }
.avatar, .mini-avatar { display: grid; place-items: center; border-radius: 50%; background: #e5f1eb; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.avatar { width: 33px; height: 33px; }
.profile-copy { min-width: 0; }
.profile-copy strong, .profile-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile strong { font-size: 11px; }
.profile-copy span { margin-top: 3px; color: #969f9b; font-size: 10px; }
.profile form { margin-left: auto; }
.logout-button { width: 30px; height: 30px; border: 0; border-radius: 7px; background: transparent; color: #7c8983; font-size: 17px; cursor: pointer; }
.logout-button:hover { background: #f1f6f3; color: var(--green-dark); }

.main-content { max-width: 1540px; margin-left: 248px; padding: 0 52px; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { color: #8b9591; font-size: 12px; }
.breadcrumb span { padding: 0 10px; color: #c0c7c3; }
.breadcrumb strong { color: #414d49; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.system-status { display: flex; align-items: center; gap: 7px; color: #6f7c76; font-size: 11px; }
.system-status i, .live-pill i, .recognition-meta strong i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #45ac80; box-shadow: 0 0 0 3px #e6f4ec; }
.topbar-divider { width: 1px; height: 22px; background: #e4e9e6; }
.mini-avatar { width: 30px; height: 30px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; padding: 40px 0 27px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.eyebrow-line { width: 18px; height: 1px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
.page-heading h1 { margin: 12px 0 7px; font: 700 clamp(27px, 3vw, 36px) "Manrope", sans-serif; letter-spacing: -1.5px; }
.page-heading h1 span { color: var(--green); }
.heading-copy { margin-bottom: 0; color: #818c87; font-size: 13px; }
.account-card { display: flex; align-items: center; gap: 12px; min-width: 215px; margin: 0 0 2px 20px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.account-avatar { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e5f1eb; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.account-card > div:last-child { display: grid; gap: 3px; min-width: 0; }
.account-label { color: #929b98; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.account-card strong { overflow: hidden; color: #34413b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-username { color: #89948e; font-size: 10px; }

.studio-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .92fr); gap: 18px; align-items: stretch; }
.camera-card, .result-card { overflow: hidden; border: 1px solid #e9eeeb; border-radius: 12px; background: var(--surface); box-shadow: 0 4px 20px #24372d05; }
.card-heading { display: flex; justify-content: space-between; align-items: center; padding: 19px 21px 16px; }
.card-heading h2, .guide-title h2 { margin: 5px 0 0; font: 700 15px "Manrope", sans-serif; letter-spacing: -.3px; }
.speech-toggle { display: flex; align-items: center; gap: 9px; padding: 5px 0 5px 8px; border: 0; background: transparent; color: #64716b; text-align: left; cursor: pointer; }
.speech-toggle-copy { display: grid; gap: 2px; }
.speech-toggle-copy strong { color: #45524c; font-size: 10px; font-weight: 600; }
.speech-toggle-copy span { color: #929b98; font-size: 9px; }
.speech-toggle-track { display: flex; align-items: center; width: 31px; height: 18px; padding: 2px; border-radius: 10px; background: #dce3df; transition: background .2s; }
.speech-toggle-track > span { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #16251c30; transition: transform .2s; }
.speech-toggle[aria-pressed="true"] .speech-toggle-track { background: var(--green); }
.speech-toggle[aria-pressed="true"] .speech-toggle-track > span { transform: translateX(13px); }
.speech-toggle:focus-visible { outline: 2px solid #58a98d; outline-offset: 3px; border-radius: 5px; }
.speech-toggle:disabled { cursor: not-allowed; opacity: .6; }
.live-pill { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #e9eeeb; border-radius: 20px; color: #8b9591; font-size: 9px; font-weight: 700; letter-spacing: .45px; }
.live-pill i { width: 6px; height: 6px; background: #b7c1bc; box-shadow: none; }
.live-pill.is-live { color: #257b61; border-color: #d7eee3; background: #f3faf6; }
.live-pill.is-live i { background: #43aa7e; box-shadow: 0 0 0 3px #e1f3e9; }
.camera-stage { position: relative; display: grid; place-items: center; overflow: hidden; margin: 0 12px; aspect-ratio: 16 / 9; min-height: 250px; border-radius: 8px; background: #182521; }
#camera-video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transform: scaleX(-1); }
.camera-placeholder { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; text-align: center; color: #fff; }
.camera-placeholder-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border: 1px solid #ffffff27; border-radius: 15px; background: #ffffff0c; color: #c8e7d8; font-size: 27px; }
.camera-placeholder strong { font: 600 13px "Manrope", sans-serif; }
.camera-placeholder span { margin-top: 6px; color: #a9bbb3; font-size: 10px; }
.primary-button { margin-top: 18px; padding: 10px 15px; border: 0; border-radius: 7px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.primary-button:hover { transform: translateY(-1px); background: var(--green-dark); }
.primary-button span { margin-right: 6px; }
.camera-overlay { position: absolute; z-index: 0; inset: 13px; pointer-events: none; }
.camera-overlay[hidden] { display: none; }
.corner { position: absolute; width: 20px; height: 20px; border-color: #d5f1dfaa; border-style: solid; }
.corner-tl { top: 0; left: 0; border-width: 1px 0 0 1px; border-top-left-radius: 6px; }
.corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; border-top-right-radius: 6px; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; border-bottom-left-radius: 6px; }
.corner-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: 6px; }
.camera-footer { position: absolute; z-index: 1; inset: auto 13px 12px; display: flex; justify-content: space-between; color: #fff; font-size: 9px; text-shadow: 0 1px 5px #000; }
.camera-footer[hidden] { display: none; }
.record-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #6ce0a7; }
.camera-controls { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 20px; }
.camera-tip { color: #8a9590; font-size: 10px; }
.camera-tip span { margin-right: 4px; color: #dcaa54; }
.text-button { padding: 7px 9px; border: 0; background: transparent; color: #9c625c; font-size: 10px; cursor: pointer; }
.text-button:hover { color: #bc5046; }

.result-card { display: flex; flex-direction: column; }
.result-body { padding: 14px 22px 19px; }
.result-label { color: #9aa39f; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.result-word { overflow-wrap: anywhere; margin: 12px 0 6px; color: #216d56; font: 800 clamp(28px, 3.2vw, 41px) "Manrope", sans-serif; letter-spacing: -1.5px; }
.result-period { color: #e1ad54; }
.result-description { min-height: 32px; margin-bottom: 17px; color: #8c9692; font-size: 11px; line-height: 1.6; }
.result-divider { height: 1px; margin-bottom: 9px; background: #edf0ee; }
.recognition-meta { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: #8d9792; font-size: 10px; }
.recognition-meta strong { color: #697670; font-size: 10px; font-weight: 600; }
.recognition-meta strong i { width: 6px; height: 6px; margin-right: 6px; box-shadow: none; }
.meta-value { color: #9ba5a0 !important; }
.guide-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.guide-title h2 { margin-top: 5px; font-size: 16px; }
.guide-summary { display: flex; align-items: baseline; gap: 7px; margin: 0 0 2px 20px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #89948e; font-size: 10px; white-space: nowrap; }
.guide-summary strong { color: var(--green-dark); font: 800 17px "Manrope", sans-serif; }
.guide-summary i { width: 1px; height: 18px; margin: 0 5px; background: var(--line); }
.guide-instructions { padding-bottom: 8px; }
.sample-library { margin-top: 28px; }
.sample-library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.sample-library-heading h2 { margin: 5px 0; font: 700 18px "Manrope", sans-serif; }
.sample-library-heading p { margin: 0; color: #89948e; font-size: 11px; line-height: 1.6; }
.sample-library-heading code, .sample-empty code { color: var(--green-dark); font-size: 10px; }
.sample-library-controls { display: flex; align-items: center; gap: 8px; }
.sample-search input, .sample-status-filter select { height: 37px; border: 1px solid #dfe7e2; border-radius: 8px; outline: none; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.sample-search input { width: 205px; padding: 10px 12px; }
.sample-status-filter select { min-width: 150px; padding: 8px 10px; }
.sample-search input:focus, .sample-status-filter select:focus { border-color: #58a98d; box-shadow: 0 0 0 3px #238a6e18; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.sample-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 4px 20px #24372d05; }
.sample-card[hidden] { display: none; }
.sample-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px 11px; }
.sample-card-heading h3 { margin: 4px 0 0; color: #34413b; font: 700 14px "Manrope", sans-serif; }
.sample-count { flex: 0 0 auto; padding: 5px 8px; border-radius: 20px; background: #edf6f2; color: var(--green-dark); font-size: 9px; font-weight: 700; }
.sample-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #182521; object-fit: contain; }
.sample-picker { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px 13px; color: #78827f; font-size: 10px; }
.sample-picker select { min-width: 105px; padding: 7px 8px; border: 1px solid #dfe7e2; border-radius: 6px; background: #fff; color: #45524c; font: inherit; font-size: 10px; }
.sample-empty { display: flex; min-height: 178px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 20px; background: #fafcfb; color: #929b98; text-align: center; }
.sample-empty-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: #edf6f2; color: var(--green); font-size: 18px; }
.sample-empty strong { color: #59665f; font-size: 11px; }
.sample-empty > span:last-child { font-size: 10px; line-height: 1.5; }
.sample-empty-library { min-height: 220px; border: 1px dashed #dfe7e2; border-radius: 10px; }
.sample-no-results { margin: 20px 0; color: #89948e; text-align: center; font-size: 12px; }
.content-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 20px #24372d05; }
.content-panel h2 { margin: 7px 0; color: #34413b; font: 700 17px "Manrope", sans-serif; }
.panel-copy { margin: 0 0 19px; color: #89948e; font-size: 11px; line-height: 1.65; }
.review-summary { align-items: center; }
.review-stars { color: #e7a839; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.review-layout { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.review-form, .contribution-form { display: grid; gap: 10px; }
.rating-field { margin: 3px 0 8px; padding: 0; border: 0; }
.rating-field legend, .form-label { margin-bottom: 8px; color: #45524c; font-size: 11px; font-weight: 600; }
.rating-options { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-options input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.rating-options label { color: #d7ded9; font-size: 29px; line-height: 1; cursor: pointer; transition: color .15s; }
.rating-options label:hover, .rating-options label:hover ~ label, .rating-options input:checked ~ label { color: #e7a839; }
.rating-options input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px; }
.form-label { display: block; margin: 3px 0 -4px; }
.content-panel textarea, .amount-input input { width: 100%; padding: 11px 12px; border: 1px solid #dfe7e2; border-radius: 8px; outline: none; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.content-panel textarea { min-height: 105px; resize: vertical; line-height: 1.6; }
.content-panel textarea:focus, .amount-input input:focus { border-color: #58a98d; box-shadow: 0 0 0 3px #238a6e18; }
.form-submit { padding: 11px 14px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.form-submit:hover { background: var(--green-dark); }
.form-hint { margin: 0; color: #929b98; font-size: 10px; line-height: 1.5; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2 { margin-bottom: 0; }
.review-list { margin-top: 15px; }
.review-item { display: flex; gap: 11px; padding: 15px 0; border-top: 1px solid #edf0ee; }
.review-avatar { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e5f1eb; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.review-copy { min-width: 0; flex: 1; }
.review-item-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; color: #45524c; font-size: 11px; }
.review-item-heading time { color: #a0aaa5; font-size: 9px; }
.review-copy .review-stars { margin-top: 5px; font-size: 11px; }
.review-copy p { margin: 7px 0 0; color: #6f7c76; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.review-empty { display: grid; min-height: 180px; align-content: center; justify-items: center; padding: 20px; color: #929b98; text-align: center; }
.review-empty > span { color: #e7a839; font-size: 28px; }
.review-empty strong { margin-top: 8px; color: #59665f; font-size: 12px; }
.review-empty p { margin: 6px 0 0; font-size: 10px; }
.page-messages { margin: 0 0 16px; }
.page-message { margin: 0; padding: 11px 13px; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.page-message.error { background: #fff2ef; color: #a14d42; }
.page-message.success { background: #edf6f2; color: var(--green-dark); }
.contribution-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 16px; align-items: start; }
.contribution-info h2 { max-width: 440px; margin-top: 9px; font-size: 21px; line-height: 1.4; }
.contribution-info > .panel-copy { max-width: 550px; margin-top: 9px; }
.contribution-uses { display: grid; gap: 14px; margin: 24px 0; }
.contribution-uses > div { display: flex; align-items: center; gap: 12px; }
.use-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #edf6f2; color: var(--green-dark); font: 700 10px "Manrope", sans-serif; }
.contribution-uses p { display: grid; gap: 4px; margin: 0; }
.contribution-uses strong { color: #45524c; font-size: 11px; }
.contribution-uses p span { color: #89948e; font-size: 10px; line-height: 1.5; }
.payment-notice { padding: 14px; border: 1px solid #f1e5c9; border-radius: 9px; background: #fffbf2; }
.payment-notice strong { color: #896b31; font-size: 11px; }
.payment-notice p { margin: 6px 0 0; color: #897b5c; font-size: 10px; line-height: 1.65; }
.contribution-form { gap: 11px; }
.contribution-form .panel-copy { margin-bottom: 5px; }
.amount-input { position: relative; }
.amount-input input { padding-right: 35px; }
.amount-input > span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: #89948e; font-size: 12px; }
.contribution-summary { flex-wrap: wrap; max-width: 390px; }
.contribution-summary > strong:first-child { font-size: 15px; }
.contribution-summary > span:first-of-type { margin-right: 3px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.step-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 93px; padding: 15px 15px 14px 43px; border: 1px solid #e9eeeb; border-radius: 10px; background: #fff; }
.step-number { position: absolute; left: 14px; top: 14px; color: #b7c1bb; font: 600 9px "Manrope", sans-serif; }
.step-icon { flex: 0 0 35px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; font-size: 16px; }
.camera-step { background: #edf6f2; color: #39886b; }
.hand-step { background: #fff5e8; color: #c58f39; }
.chat-step { background: #edf2fb; color: #6480b3; }
.step-card h3 { margin: 0 0 5px; font: 700 11px "Manrope", sans-serif; }
.step-card p { margin: 0; color: #919b96; font-size: 9px; line-height: 1.55; }
.step-arrow { position: absolute; right: 13px; top: 13px; color: #bec7c2; font-size: 12px; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 25px 0 20px; color: #a3aca8; font-size: 9px; }
.footer-dot { padding: 0 5px; color: #c8d1cc; }
.footer-heart { color: #d99586; }
.toast { position: fixed; z-index: 5; right: 24px; bottom: 24px; max-width: min(390px, calc(100vw - 32px)); padding: 12px 16px; transform: translateY(12px); border: 1px solid #f1d8d1; border-radius: 9px; background: #fff; box-shadow: 0 8px 30px #15291e14; color: #a14d42; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.visible { transform: translateY(0); opacity: 1; }

@media (min-width: 1500px) { .main-content { margin: 0 auto; padding-left: 300px; } }
@media (max-width: 1100px) {
  .sidebar { width: 215px; }
  .main-content { margin-left: 215px; padding: 0 28px; }
  .studio-grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr); gap: 13px; }
  .camera-stage { min-height: 220px; }
  .step-card { padding-left: 35px; gap: 8px; }
}
@media (max-width: 800px) {
  .sidebar { width: 64px; align-items: center; padding: 20px 8px; }
  .brand { padding: 0; }
  .brand > span:not(.brand-mark), .nav-item:not(.active), .nav-item.active { font-size: 0; }
  .brand-mark { width: 37px; height: 37px; }
  .side-nav { width: 100%; margin-top: 45px; }
  .nav-item { justify-content: center; padding: 12px 0; }
  .nav-item.active { font-size: 0; }
  .nav-icon { font-size: 17px; }
  .sidebar-bottom { width: 100%; }
  .profile-copy { display: none; }
  .profile { flex-direction: column; justify-content: center; gap: 4px; padding: 0; }
  .profile form { margin: 0; }
  .main-content { margin-left: 64px; padding: 0 22px; }
  .studio-grid { grid-template-columns: 1fr; }
  .result-card { min-height: 310px; }
}
@media (max-width: 560px) {
  .main-content { padding: 0 14px; }
  .topbar { height: 58px; }
  .breadcrumb { font-size: 10px; }
  .breadcrumb span { padding: 0 5px; }
  .system-status { font-size: 0; }
  .topbar-right { gap: 9px; }
  .page-heading { padding: 29px 0 21px; }
  .page-heading h1 { font-size: 28px; }
  .heading-copy { max-width: 270px; font-size: 11px; line-height: 1.6; }
  .account-card { min-width: 0; margin: 15px 0 0; padding: 9px 11px; }
  .account-avatar { width: 34px; height: 34px; flex-basis: 34px; }
  .page-heading { display: block; }
  .card-heading { padding: 16px 15px 13px; }
  .guide-summary { width: max-content; margin: 16px 0 0; }
  .review-layout, .contribution-layout { grid-template-columns: 1fr; }
  .content-panel { padding: 18px; }
  .sample-library-heading { align-items: stretch; flex-direction: column; }
  .sample-library-controls { align-items: stretch; flex-direction: column; }
  .sample-search input, .sample-status-filter select { width: 100%; }
  .camera-stage { min-height: 190px; margin: 0 8px; }
  .camera-controls { padding: 0 13px; }
  .camera-tip { font-size: 9px; }
  .guide-section { padding-top: 25px; }
  .steps-grid { grid-template-columns: 1fr; gap: 8px; }
  .step-card { min-height: 74px; }
  .page-footer { flex-direction: column; padding-top: 20px; }
}

.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at top left, #eaf5f0 0, transparent 42%), var(--canvas); }
.auth-card { width: min(100%, 430px); padding: 38px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 55px #21372c0c; }
.auth-brand { padding: 0; }
.auth-heading { margin: 38px 0 25px; }
.auth-heading h1 { margin: 8px 0; font: 700 25px "Manrope", sans-serif; letter-spacing: -.8px; }
.auth-heading p { margin: 0; color: #818c87; font-size: 13px; line-height: 1.6; }
.auth-form { display: grid; gap: 9px; }
.auth-form label { margin-top: 7px; color: #45524c; font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; padding: 12px 13px; border: 1px solid #dfe7e2; border-radius: 8px; outline: none; color: var(--ink); font: inherit; font-size: 13px; }
.auth-form input:focus { border-color: #58a98d; box-shadow: 0 0 0 3px #238a6e18; }
.auth-submit { margin-top: 13px; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font: 700 13px "DM Sans", sans-serif; cursor: pointer; }
.auth-submit:hover { background: var(--green-dark); }
.auth-switch { margin: 22px 0 0; color: #7e8984; text-align: center; font-size: 12px; }
.auth-switch a { color: var(--green-dark); font-weight: 700; }
.auth-messages { margin: -10px 0 18px; }
.auth-message { margin: 0; padding: 10px 12px; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.auth-message.error { background: #fff2ef; color: #a14d42; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px; }
}
