:root {
  color-scheme: light;
  --ink: #23212a;
  --muted: #777480;
  --soft-muted: #9b98a3;
  --line: #ebe9ef;
  --sidebar: #f8f7f9;
  --canvas: #fff;
  --purple: #7a43d1;
  --purple-soft: #f3edfc;
  --danger: #bd4055;
  --shadow: 0 18px 70px rgba(49, 31, 73, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { color: var(--ink); background: var(--canvas); font-size: 14px; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(131, 77, 216, .33); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.auth-page { position: relative; display: grid; min-height: 100%; place-items: center; overflow: auto; padding: 28px; background: radial-gradient(ellipse at 12% 15%, rgba(173,121,255,.16), transparent 36%), radial-gradient(ellipse at 91% 88%, rgba(230,118,198,.14), transparent 34%), #fbfaff; }
.auth-card { position: relative; z-index: 1; width: min(100%, 430px); padding: 38px; border: 1px solid rgba(224,218,234,.8); border-radius: 24px; background: rgba(255,255,255,.93); box-shadow: 0 24px 90px rgba(64,43,90,.11); backdrop-filter: blur(18px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 650; letter-spacing: -.04em; }
.brand-lockup-auth { margin-bottom: 34px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#7650d8 4%,#a344d2 55%,#d56ab8 100%); box-shadow: 0 5px 14px rgba(133,72,201,.26); }
.brand-mark .icon { width: 18px; height: 18px; stroke-width: 1.9; }
.eyebrow { margin: 0 0 8px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.auth-card h1 { margin: 0; font-size: 28px; font-weight: 620; letter-spacing: -.045em; }
.auth-copy { margin: 11px 0 27px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.form-stack { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #4c4953; font-size: 12px; font-weight: 620; }
.field input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #e4e1e9; border-radius: 12px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 450; transition: border-color .16s ease, box-shadow .16s ease; }
.field input:hover { border-color: #cfc7dc; }
.field input:focus { border-color: #a780dc; box-shadow: 0 0 0 3px rgba(132,81,204,.10); outline: 0; }
.field small { color: var(--soft-muted); font-size: 11px; font-weight: 450; line-height: 1.45; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: 640; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:disabled { cursor: wait; opacity: .65; }
.button-primary { color: #fff; background: linear-gradient(115deg,#7546ce 0%,#9346c7 55%,#bd559f 100%); box-shadow: 0 5px 15px rgba(126,67,189,.19); }
.button-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 21px rgba(126,67,189,.27); }
.button-primary .icon { width: 16px; height: 16px; }
.button-wide { width: 100%; min-height: 48px; margin-top: 3px; }
.button-secondary { border-color: var(--line); color: #514d59; background: #fff; }
.button-secondary:hover:not(:disabled) { border-color: #d8d1e1; background: #f8f6fa; }
.button-danger-quiet { color: var(--danger); background: #fff7f8; }
.button-danger-quiet:hover:not(:disabled) { background: #ffedf0; }
.button-danger-quiet .icon { width: 16px; height: 16px; }
.form-status { min-height: 18px; margin: 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.form-status.is-success { color: #46785b; }
.auth-switch-copy { margin: -2px 0 0; color: var(--soft-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.auth-switch { padding: 3px 4px; border: 0; border-radius: 6px; color: var(--purple); background: transparent; cursor: pointer; font-size: inherit; font-weight: 650; }
.auth-switch:hover { background: var(--purple-soft); }
.auth-switch:disabled { opacity: .55; cursor: default; }
.auth-footnote { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #efedf2; color: #898591; font-size: 10px; line-height: 1.6; }
.auth-footnote .icon { width: 15px; height: 15px; color: var(--purple); }
.auth-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; }
.auth-glow-one { top: -260px; left: -180px; background: radial-gradient(circle,rgba(155,98,224,.12),transparent 70%); }
.auth-glow-two { right: -190px; bottom: -270px; background: radial-gradient(circle,rgba(224,119,190,.12),transparent 70%); }

.workspace { display: grid; width: 100%; height: 100dvh; min-height: 480px; grid-template-columns: 264px minmax(0,1fr); overflow: hidden; background: var(--canvas); }
.sidebar { position: relative; z-index: 3; display: flex; min-width: 0; flex-direction: column; padding: 17px 12px 12px; border-right: 1px solid #efedf1; background: var(--sidebar); }
.sidebar-brand-row { display: flex; height: 42px; align-items: center; justify-content: space-between; padding: 0 7px 0 8px; }
.sidebar-brand-row .brand-lockup { font-size: 15px; }
.sidebar-brand-row .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
.sidebar-section { display: flex; min-height: 0; flex: 1; flex-direction: column; margin-top: 19px; }
.sidebar-action { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 0 11px; border: 1px solid #e8e3ee; border-radius: 12px; color: #38343f; background: linear-gradient(110deg,rgba(255,255,255,.96),rgba(250,246,255,.96)); cursor: pointer; text-align: left; font-size: 12px; font-weight: 610; box-shadow: 0 2px 5px rgba(44,25,63,.025); }
.sidebar-action:hover { border-color: #d7c7ee; background: linear-gradient(110deg,#fff,#f7f0ff); }
.sidebar-action:disabled { cursor: wait; opacity: .6; }
.sidebar-action .icon { color: var(--purple); }
.sidebar-section-heading { margin: 24px 9px 8px; color: #8b8792; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sidebar-list { display: flex; min-height: 0; flex-direction: column; gap: 3px; overflow: auto; padding: 0 1px 5px; scrollbar-width: thin; }
.sidebar-item { display: flex; width: 100%; min-height: 39px; align-items: center; gap: 9px; padding: 0 9px; overflow: hidden; border: 0; border-radius: 9px; color: #5a5660; background: transparent; cursor: pointer; text-align: left; font-size: 12px; }
.sidebar-item:hover { background: #efedf2; }
.sidebar-item:disabled { cursor: wait; opacity: .65; }
.sidebar-item.is-active { color: #45305f; background: #eee8f5; }
.sidebar-item .icon { width: 16px; height: 16px; color: #9a91a4; }
.sidebar-item.is-active .icon { color: var(--purple); }
.sidebar-item-label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-empty { margin: 7px 9px; color: #aaa6b0; font-size: 11px; line-height: 1.55; }
.sidebar-spacer { flex: 1; min-height: 14px; }
.sidebar-profile { display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 8px 7px 3px; border-top: 1px solid #e9e7eb; }
.profile-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7e57cd,#c35ba9); font-size: 12px; font-weight: 700; }
.profile-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.profile-copy strong { overflow: hidden; color: #3d3943; font-size: 11px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy span { color: #97939d; font-size: 10px; }
.icon-button { display: inline-grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 9px; color: #85818c; background: transparent; cursor: pointer; }
.icon-button:hover { color: #4c4654; background: #efedf2; }
.icon-button:disabled { cursor: wait; opacity: .5; }
.icon-button .icon { width: 17px; height: 17px; }
.logout-button { margin-right: -3px; }
.sidebar-close, .sidebar-open, .sidebar-scrim { display: none; }

.main-area { display: flex; min-width: 0; min-height: 0; flex-direction: column; background: #fff; }
.topbar { position: relative; z-index: 1; display: flex; height: 57px; flex: 0 0 auto; align-items: center; gap: 12px; padding: 0 25px; border-bottom: 1px solid rgba(238,236,241,.7); background: rgba(255,255,255,.94); }
.topbar-context { display: flex; min-width: 0; align-items: center; gap: 9px; color: #4d4953; font-size: 12px; font-weight: 610; }
.topbar-context #topbar-subtitle { color: #9995a0; font-size: 11px; font-weight: 450; }
.topbar-dot { width: 3px; height: 3px; border-radius: 50%; background: #c8c3ce; }
.topbar-badge { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #8a8491; font-size: 10px; }
.topbar-badge span { width: 6px; height: 6px; border-radius: 50%; background: #9a6ce0; box-shadow: 0 0 0 3px rgba(154,108,224,.11); }
.header-delete { margin-left: auto; }
.header-delete:hover { color: var(--danger); background: #fff1f3; }
.header-delete + .topbar-badge { margin-left: 0; }

.student-page { display: flex; width: 100%; min-height: 0; flex: 1; flex-direction: column; overflow: hidden; }
.welcome-state { display: flex; width: min(100% - 32px,650px); flex: 1; flex-direction: column; align-items: center; justify-content: center; align-self: center; padding: 35px 0 8px; text-align: center; }
.welcome-mark { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 20px; border: 1px solid #eee4f7; border-radius: 17px; color: #fff; background: linear-gradient(140deg,#8257d4 0%,#a04fce 60%,#d17ab7 100%); box-shadow: 0 9px 24px rgba(137,83,201,.19); }
.welcome-mark .icon { width: 25px; height: 25px; stroke-width: 1.7; }
.welcome-state .eyebrow { margin-bottom: 9px; }
.welcome-state h1 { margin: 0; color: #25212c; font-size: clamp(28px,4vw,38px); font-weight: 560; letter-spacing: -.055em; }
.welcome-state > p:not(.eyebrow) { max-width: 440px; margin: 12px 0 25px; color: #85818d; font-size: 13px; line-height: 1.65; }
.suggestions { display: grid; width: min(100%,560px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.suggestion-card { display: flex; min-height: 76px; align-items: center; gap: 11px; padding: 12px; border: 1px solid #eeebf1; border-radius: 15px; background: #fff; cursor: pointer; text-align: left; transition: border .16s ease, box-shadow .16s ease, transform .16s ease; }
.suggestion-card:hover { transform: translateY(-2px); border-color: #ddd0ed; box-shadow: 0 8px 22px rgba(48,27,70,.06); }
.suggestion-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; }
.suggestion-icon .icon { width: 17px; height: 17px; }
.suggestion-icon-purple { color: #8253c9; background: #f1eafa; }
.suggestion-icon-rose { color: #bd559a; background: #faedf5; }
.suggestion-card > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.suggestion-card strong { color: #4b4651; font-size: 11px; font-weight: 650; }
.suggestion-card small { color: #96919c; font-size: 10px; line-height: 1.4; }
.suggestion-arrow { width: 15px; height: 15px; color: #b0aab6; }
.text-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 19px; padding: 7px 10px; border: 0; border-radius: 8px; color: #7d55ba; background: transparent; cursor: pointer; font-size: 11px; font-weight: 620; }
.text-action:hover { background: #f7f2fc; }
.text-action .icon { width: 15px; height: 15px; }
.message-list { width: min(100% - 36px,760px); flex: 1; align-self: center; overflow: auto; padding: 26px 3px 20px; scroll-behavior: smooth; scrollbar-width: thin; }
.message-row { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 23px; animation: message-in .2s ease both; }
.message-row.is-user { justify-content: flex-end; }
.message-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border: 1px solid #ece7f2; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#8257d4,#bd5aa9); }
.message-avatar .icon { width: 16px; height: 16px; }
.message-avatar-user { width: 27px; height: 27px; border: 0; border-radius: 50%; color: #756e7d; background: #efedf2; font-size: 10px; font-weight: 700; }
.message-content { max-width: min(100%,630px); min-width: 0; padding: 4px 0; color: #39353f; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.message-row.is-user .message-content { padding: 11px 15px; border: 1px solid #efedf1; border-radius: 18px 18px 5px 18px; background: #f7f6f8; line-height: 1.65; }
.message-row.is-pending .message-content { opacity: .67; }
.message-label { margin: 0 0 5px; color: #85808c; font-size: 10px; font-weight: 650; }
.message-row.is-user .message-label { text-align: right; }
.message-block { min-width: 0; }
.message-row.is-user .message-block { display: flex; flex-direction: column; align-items: flex-end; }
.message-edit-button { margin-top: 5px; padding: 3px 6px; border: 0; border-radius: 6px; color: #8b6bab; background: transparent; cursor: pointer; font-size: 9px; }
.message-edit-button:hover { color: #7545b3; background: #f6f0fb; }
.typing-dots { display: flex; align-items: center; gap: 4px; height: 28px; }
.typing-dots span { width: 5px; height: 5px; border-radius: 50%; background: #a27bcc; animation: dot-bounce .9s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .12s; }
.typing-dots span:nth-child(3) { animation-delay: .24s; }
@keyframes message-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dot-bounce { 0%,60%,100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-4px); opacity: 1; } }
.inline-status { min-height: 17px; width: min(100% - 36px,760px); align-self: center; margin: 0 auto; color: #a24e61; font-size: 11px; line-height: 1.5; }
.inline-status.is-success { color: #4d7f63; }
.composer-wrap { width: min(100% - 32px,760px); flex: 0 0 auto; align-self: center; padding: 8px 0 14px; }
.composer { padding: 12px 13px 9px 16px; border: 1px solid #e5e1e9; border-radius: 22px; background: #fff; box-shadow: 0 5px 22px rgba(44,32,58,.06); transition: border-color .16s ease, box-shadow .16s ease; }
.composer:focus-within { border-color: #cdb8e4; box-shadow: 0 5px 25px rgba(94,54,135,.10); }
.composer textarea { display: block; width: 100%; min-height: 44px; max-height: 150px; resize: vertical; overflow: auto; padding: 2px 1px 5px; border: 0; outline: 0; color: #34313a; background: transparent; font-size: 13px; line-height: 1.55; }
.composer textarea::placeholder { color: #a19ca7; }
.composer textarea:focus-visible { outline: 0; }
.composer-footer { display: flex; min-height: 31px; align-items: center; justify-content: space-between; gap: 8px; }
.composer-hint { color: #a19ca7; font-size: 10px; line-height: 1.4; }
.composer-actions { display: flex; align-items: center; gap: 11px; }
.cancel-edit-button { padding: 5px 7px; border: 0; border-radius: 7px; color: #8663a8; background: #f5effa; cursor: pointer; font-size: 9px; }
.cancel-edit-button:hover { background: #ede3f6; }
.character-count { color: #aaa5b0; font-size: 9px; font-variant-numeric: tabular-nums; }
.send-button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#7f4bd0,#b04eb4); cursor: pointer; box-shadow: 0 4px 10px rgba(122,67,189,.2); transition: transform .15s ease, opacity .15s ease; }
.send-button:hover:not(:disabled) { transform: translateY(-1px); }
.send-button:disabled { cursor: default; opacity: .42; box-shadow: none; }
.send-button .icon { width: 16px; height: 16px; }
.composer-disclaimer { margin: 7px 0 0; color: #b0acb5; font-size: 9px; line-height: 1.45; text-align: center; }

.adult-page { width: min(100% - 48px,900px); flex: 1; align-self: center; overflow: auto; padding: 46px 0 40px; scrollbar-width: thin; }
.adult-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.adult-page-heading h1 { margin: 0; color: #27232d; font-size: 28px; font-weight: 590; letter-spacing: -.045em; }
.adult-page-heading p:not(.eyebrow) { max-width: 540px; margin: 9px 0 0; color: #85808c; font-size: 12px; line-height: 1.6; }
.adult-empty { display: flex; min-height: 330px; flex-direction: column; align-items: center; justify-content: center; padding: 26px; border: 1px dashed #e6e0eb; border-radius: 20px; background: linear-gradient(145deg,#fdfcff,#fffafd); text-align: center; }
.empty-illustration { display: grid; width: 57px; height: 57px; place-items: center; margin-bottom: 15px; border: 1px solid #eee4f6; border-radius: 19px; color: #8a55ca; background: linear-gradient(145deg,#f3ecfb,#fff1fa); }
.empty-illustration .icon { width: 24px; height: 24px; }
.adult-empty h2 { margin: 0; color: #49444e; font-size: 15px; font-weight: 640; }
.adult-empty p { max-width: 360px; margin: 8px 0 18px; color: #908b96; font-size: 11px; line-height: 1.6; }
.child-summary-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #ece8f0; border-radius: 17px; background: linear-gradient(115deg,#fff 40%,#fcf9ff); }
.child-summary-avatar { display: grid; width: 45px; height: 45px; flex: 0 0 auto; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(140deg,#7952cf,#c75eab); box-shadow: 0 5px 14px rgba(129,76,190,.16); }
.child-summary-avatar .icon { width: 22px; height: 22px; }
.child-summary-copy { min-width: 0; flex: 1; }
.child-summary-copy .eyebrow { margin-bottom: 3px; font-size: 9px; }
.child-summary-copy h2 { margin: 0; color: #37333d; font-size: 16px; font-weight: 640; letter-spacing: -.02em; }
.child-summary-copy p { margin: 4px 0 0; color: #8f8a95; font-size: 11px; }
.child-summary-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.child-summary-actions .button { min-height: 36px; font-size: 10px; }
.sessions-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 29px 2px 12px; }
.sessions-heading h2 { margin: 0; color: #413c46; font-size: 14px; font-weight: 650; }
.sessions-heading p { margin: 4px 0 0; color: #99939e; font-size: 10px; }
.count-pill { padding: 5px 9px; border: 1px solid #eee8f4; border-radius: 20px; color: #80609d; background: #fbf8fe; font-size: 9px; }
.child-session-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.child-session-card { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px; border: 1px solid #eeebf1; border-radius: 13px; background: #fff; }
.child-session-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #8a63bd; background: #f4eff9; }
.child-session-icon .icon { width: 17px; height: 17px; }
.child-session-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.child-session-copy strong { overflow: hidden; color: #4a4550; font-size: 10px; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
.child-session-copy span { color: #96919b; font-size: 9px; }
.child-session-card .icon-button { width: 30px; height: 30px; color: #aaa4af; }
.child-session-card .icon-button:hover { color: var(--danger); background: #fff1f3; }
.muted-empty { margin: 0; padding: 23px 14px; border: 1px dashed #eae6ed; border-radius: 13px; color: #97919c; font-size: 11px; text-align: center; }

.modal { width: min(100% - 28px,450px); max-width: 450px; max-height: calc(100% - 32px); padding: 0; overflow: auto; border: 1px solid #e9e4ed; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(32,25,41,.34); backdrop-filter: blur(3px); }
.modal-card { display: flex; flex-direction: column; gap: 14px; padding: 23px; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 1px; }
.modal-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.modal-heading h2 { margin: 0; color: #342f39; font-size: 19px; font-weight: 620; letter-spacing: -.035em; }
.modal-copy { margin: -4px 0 2px; color: #85808b; font-size: 11px; line-height: 1.55; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.modal-actions .button { min-width: 95px; }

@media (max-width: 850px) {
  .workspace { grid-template-columns: 235px minmax(0,1fr); }
  .adult-page { width: min(100% - 34px,900px); padding-top: 32px; }
  .child-summary-card { align-items: flex-start; flex-wrap: wrap; }
  .child-summary-actions { width: 100%; justify-content: flex-start; padding-left: 59px; }
}
@media (max-width: 680px) {
  .workspace { display: block; }
  .sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(286px,calc(100vw - 54px)); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 14px 0 40px rgba(30,21,42,.12); }
  .workspace.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-open { display: inline-grid; }
  .sidebar-close { display: inline-grid; }
  .sidebar-scrim { position: fixed; z-index: 2; inset: 0; display: block; border: 0; background: rgba(31,23,41,.22); }
  .workspace:not(.sidebar-open) .sidebar-scrim { display: none; }
  .main-area { width: 100%; height: 100dvh; }
  .topbar { height: 53px; padding: 0 12px; }
  .topbar-badge { display: none; }
  .topbar-context { font-size: 11px; }
  .topbar-context #topbar-subtitle, .topbar-dot { display: none; }
  .welcome-state { width: min(100% - 30px,520px); justify-content: center; padding-top: 20px; }
  .welcome-mark { width: 43px; height: 43px; margin-bottom: 16px; border-radius: 15px; }
  .welcome-state h1 { font-size: 30px; }
  .welcome-state > p:not(.eyebrow) { margin: 10px 0 21px; font-size: 12px; }
  .suggestions { grid-template-columns: 1fr; gap: 7px; }
  .suggestion-card { min-height: 63px; }
  .message-list { width: calc(100% - 24px); padding-top: 17px; }
  .composer-wrap { width: calc(100% - 18px); padding-bottom: max(10px,env(safe-area-inset-bottom)); }
  .composer-disclaimer { font-size: 8px; }
  .adult-page { width: calc(100% - 26px); padding: 27px 0 30px; }
  .adult-page-heading { flex-direction: column; margin-bottom: 20px; }
  .adult-page-heading h1 { font-size: 23px; }
  .adult-page-heading .button { width: 100%; }
  .child-summary-card { padding: 14px; }
  .child-summary-actions { padding-left: 0; }
  .child-summary-actions .button { flex: 1; }
  .child-session-list { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .auth-page { padding: 14px; }
  .auth-card { padding: 27px 21px; border-radius: 20px; }
  .suggestion-card { padding: 10px; }
  .suggestion-card small { font-size: 9px; }
  .composer-hint { max-width: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
