@font-face { font-family: Nunito; src: url('/assets/fonts/nunito-regular-v05.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url('/assets/fonts/nunito-extrabold-v05.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face {
  font-family: Nunito;
  src: url('/assets/fonts/nunito-bold-v05.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #242b25;
  --muted: #626b62;
  --green: #435d47;
  --sage: #eef2ea;
  --line: #dce1d8;
  --danger: #a23d36;
  font-family: Nunito, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #435d47; outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 29px; line-height: 1.3; font-weight: 800; letter-spacing: -.7px; }
h2 { font-size: 21px; line-height: 1.4; font-weight: 700; letter-spacing: -.3px; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 700; }
p { line-height: 1.65; }
.muted, small { color: var(--muted); }
.tiny { font-size: 12px; }
.eyebrow, .section-kicker { font-size: 12px; font-weight: 700; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 30px; }
.row { display: flex; align-items: center; gap: 13px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.gap8 { gap: 8px; }
.icon { width: 20px; height: 20px; display: inline-block; flex: none; vertical-align: middle; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: Nunito, sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -.6px; white-space: nowrap; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: block; object-fit: contain; flex: none; }
.shell { max-width: 1240px; min-height: 100vh; margin: auto; position: relative; }
.sidebar { padding: 0 42px; min-height: 86px; display: flex; align-items: center; gap: 55px; border-bottom: 1px solid var(--line); }
.sidebar nav { display: flex; align-self: stretch; gap: 28px; }
.navlink { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; padding: 0 4px; }
.navlink.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.navlink:hover { color: var(--ink); }
.nav-icon { display: inline-flex; }
.nav-icon .icon { width: 21px; height: 21px; }
.workspace { padding: 32px 42px 70px; }
.topbar { display: flex; align-items: center; justify-content: flex-end; min-height: 32px; position: absolute; top: 26px; right: 42px; }
.top-profile { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); text-decoration: none; }
.top-profile:hover { color: var(--green); }
.mobile-brand { display: none; }
.page-head { padding-bottom: 23px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-head p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 64px; align-items: start; }
.home-columns { gap: 76px; }
.settings-layout { max-width: 760px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; min-width: 0; }
.sage { background: var(--white); }
.card h2 + .muted, .card h3 + .muted { margin-top: 9px; }
.home-start { padding: 8px 0 29px; border-bottom: 1px solid var(--line); }
.home-start h2 { margin-top: 12px; font-size: 35px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; }
.home-start p { margin-top: 15px; max-width: 455px; color: var(--muted); font-size: 15px; }
.start-actions { display: flex; align-items: center; gap: 20px; margin-top: 25px; }
.start-actions > span { font-size: 13px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; background: var(--green); color: white; border: 1px solid var(--green); border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.button:hover:not(:disabled) { background: #344c38; border-color: #344c38; }
.button.secondary { background: var(--white); color: var(--ink); border-color: #c9d2c6; }
.button.secondary:hover:not(:disabled) { background: var(--sage); }
.button.soft { background: var(--sage); color: var(--green); border-color: var(--line); }
.button.text { background: transparent; color: var(--green); border-color: transparent; padding: 8px 0; min-height: 40px; }
.button.text:hover:not(:disabled) { background: transparent; border-color: transparent; text-decoration: underline; }
.button.danger { color: var(--danger); background: transparent; border-color: #e4cbc7; }
.button.full { width: 100%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.section-head h2 { font-size: 17px; }
.quick-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick-topic { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 6px; font-size: 14px; font-weight: 700; text-align: left; }
.quick-topic:hover { border-color: var(--green); background: #f2f5ef; }
.quick-topic > .icon { color: var(--green); width: 22px; height: 22px; }
.quick-arrow { display: inline-flex; align-items: center; margin-left: auto; color: var(--muted); }
.quick-arrow .icon, .history-item .arrow .icon { width: 18px; height: 18px; }
.profile { padding-top: 10px; }
.profile h2 { font-size: 15px; margin-bottom: 19px; }
.profile .tags { margin-top: 15px; }
.profile h3 { margin-top: 12px; }
.quiet-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--green); margin-top: 21px; }
.aside-note { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; font-size: 12px; line-height: 1.4; border-radius: 4px; background: var(--sage); color: #465346; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags .tag { font-size: 13px; background: transparent; border: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #e9eee5; color: #435642; font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.avatar.small { width: 32px; height: 32px; font-size: 11px; }
.avatar.large { width: 80px; height: 80px; font-size: 24px; display: flex; margin: 0 auto 22px; }
.center { text-align: center; }
.center .tags, .center .actions { justify-content: center; }
.center h2 { margin: 16px 0 10px; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }
.empty { padding: 25px 0; color: var(--muted); text-align: center; }
.empty p { font-size: 14px; }
.empty h3 + p { margin-top: 7px; }
.history-empty { text-align: left; padding: 17px 0; border-top: 1px solid var(--line); }
.history-empty p:first-child { color: var(--ink); margin-bottom: 3px; }
.history { display: grid; }
.history-item { width: 100%; display: flex; align-items: center; gap: 13px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); padding: 17px 0; text-align: left; }
.history-item:hover { background: #eef1e9; }
.history-item h3 { font-size: 14px; }
.history-item p { font-size: 12px; margin-top: 4px; }
.history-status { font-size: 12px; color: var(--muted); }
.history-item .arrow { font-size: 20px; color: var(--muted); }
.feedback-prompt { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 2px solid #8a9c7a; padding-left: 17px; }
.feedback-prompt p { font-size: 13px; margin-top: 4px; }
.form-section { display: grid; gap: 14px; }
.form-section h2, .form-section h3 { font-size: 16px; }
.form-section + .form-section { margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--line); }
.label { font-size: 13px; font-weight: 700; display: block; }
.field { display: grid; gap: 8px; }
.input, select { width: 100%; min-height: 45px; border: 1px solid #bcc6b8; border-radius: 6px; background: var(--white); color: var(--ink); padding: 11px 13px; font-size: 15px; }
.input::placeholder { color: #788075; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 51px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); text-align: left; font-size: 14px; font-weight: 400; }
.choice:hover:not(:disabled) { border-color: #8c9b85; }
.choice.selected { background: #eaf0e5; border-color: #647f5d; color: #2e472d; font-weight: 700; }
.choice-symbol { display: inline-flex; align-items: center; flex: none; width: 22px; color: var(--green); }
.choice-symbol .icon { width: 22px; height: 22px; }
.choice .check { display: inline-flex; margin-left: auto; color: var(--green); }
.choice .check .icon { width: 18px; height: 18px; }
.choice input { width: 18px; height: 18px; accent-color: var(--green); }
.choice-grid.interests { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { min-height: 39px; border: 1px solid var(--line); background: transparent; border-radius: 5px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
.pill.selected { color: var(--green); border-color: var(--green); background: var(--sage); font-weight: 700; }
.note { font-size: 13px; line-height: 1.7; color: var(--muted); }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 23px; padding: 11px 14px; background: #f1eee2; border-left: 2px solid #b0a47c; color: #665b40; font-size: 12px; line-height: 1.5; }
.notice.error { background: #f8eae6; color: var(--danger); border-left-color: var(--danger); }
.notice .button { color: inherit; flex-shrink: 0; font-size: 12px; }
.events { padding: 0; border-radius: 6px; }
.events summary { padding: 14px 17px; cursor: pointer; font-size: 13px; font-weight: 700; }
.event { padding: 14px 17px; border-top: 1px solid var(--line); }
.event h3 { font-size: 14px; }
.event p { margin-top: 4px; font-size: 13px; }
.event button { font-size: 13px; }
.queue-status { font-size: 12px; color: var(--green); margin-bottom: 18px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.waiting h2 { font-size: 25px; }
.waiting .muted { font-size: 14px; margin: 10px auto 22px; max-width: 420px; }
.data-line { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; font-size: 14px; }
.data-line + .data-line { border-top: 1px solid var(--line); }
.data-line span:first-child { color: var(--muted); }
.data-line b { text-align: right; font-weight: 700; }
.chat-header { padding-bottom: 19px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
.chat-header h2 { font-size: 18px; }
.chat-header p { font-size: 12px; margin-top: 4px; }
.messages { max-height: 390px; min-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 4px 1px 18px; scrollbar-width: thin; scrollbar-color: #c5cdbf transparent; }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 10px 10px 10px 2px; background: #f0f2ed; font-size: 14px; line-height: 1.6; align-self: flex-start; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: #e3ecdc; color: #273c28; border-radius: 10px 10px 2px 10px; }
.bubble time { display: block; text-align: right; color: #52644f; font-size: 11px; margin-top: 5px; }
.phrase-box { border-top: 1px solid var(--line); padding-top: 19px; }
.phrase-box .note { margin-bottom: 15px; }
.phrase-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; max-height: 260px; overflow: auto; padding: 3px; }
.phrase { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 11px 13px; text-align: left; min-height: 44px; font-size: 13px; line-height: 1.6; }
.phrase:hover, .phrase.selected { border-color: var(--green); background: #f1f5ee; }
.phrase-preview { background: var(--sage); padding: 13px; border-radius: 5px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; font-size: 14px; }
.meeting-status { font-size: 12px; color: var(--green); display: block; margin-bottom: 12px; }
.meeting-card h2 { font-size: 23px; }
.meeting-code { margin: 22px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meeting-code .eyebrow { color: var(--muted); }
.meeting-code strong { display: block; margin: 9px 0; color: var(--ink); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 27px; font-weight: 700; white-space: nowrap; letter-spacing: 0; }
.columns > aside .meeting-code strong { font-size: 20px; }
.meeting-code .note { font-size: 12px; }
.pending { margin-top: 22px; padding: 19px; background: #f1f4ed; border-left: 2px solid #879d7b; }
.pending h3 { margin-bottom: 10px; }
.pending .data-line { font-size: 13px; padding: 10px 0; }
.switchline { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 8px 0; }
.switchline p { font-size: 13px; margin-top: 6px; }
.switchline input { width: 21px; height: 21px; flex: none; accent-color: var(--green); }
.email { overflow-wrap: anywhere; }
.back { margin-bottom: 20px; }
.login-shell { max-width: 1170px; margin: auto; padding: 28px 42px; }
.login-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.login-school { font-size: 12px; color: var(--muted); }
.login-layout { display: grid; grid-template-columns: 1fr 390px; gap: 95px; align-items: start; padding: 100px 0; min-height: calc(100vh - 180px); }
.login-story h1 { font-size: 52px; font-weight: 700; line-height: 1.12; letter-spacing: -2px; margin: 17px 0 24px; }
.login-story > p { max-width: 360px; color: var(--muted); font-size: 15px; }
.login-rules { display: grid; gap: 15px; margin-top: 38px; font-size: 13px; }
.login-rules p { display: flex; align-items: center; gap: 15px; }
.login-rules span { font-family: Consolas, monospace; color: #75856d; font-size: 11px; }
.login-card { padding: 29px; margin-top: 0; }
.login-card h2 { font-size: 23px; margin-bottom: 11px; }
.login-card > p { font-size: 14px; margin-bottom: 24px; }
.login-card form { display: grid; gap: 18px; }
.login-card .note { margin-top: 20px; }
.login-card .privacy { display: flex; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.privacy .icon { width: 16px; margin-top: 2px; color: var(--muted); }
.privacy p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.login-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.onboarding { max-width: 800px; margin: 30px auto 60px; padding: 0 20px; }
.onboarding > .brand { margin-bottom: 28px; }
.onboarding h1 { margin: 15px 0; }
.onboarding > p { margin-bottom: 25px; }
.loading { display: grid; align-content: center; justify-content: center; gap: 20px; text-align: center; min-height: 100vh; }
.loading .brand { justify-content: center; }
dialog { width: calc(100% - 32px); max-width: 480px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 18px 70px #1f2e2826; }
dialog::backdrop { background: #25302966; }
dialog h2 { margin-bottom: 13px; }
dialog form { display: grid; gap: 18px; margin-top: 20px; }
.dialog-actions { display: flex; gap: 11px; justify-content: flex-end; margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 16px; padding: 12px; background: var(--ink); color: white; z-index: 20; }
.skip:focus { top: 12px; }
.busy-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
@media(max-width:1050px) {
  .top-profile > span:first-child { display: none; }
  .columns { gap: 35px; grid-template-columns: minmax(0,1fr) 225px; }
  .login-layout { gap: 50px; grid-template-columns: 1fr 370px; }
  .login-story h1 { font-size: 45px; }
  .quick-topic { gap: 8px; }
  .quick-arrow { display: none; }
}
@media(max-width:800px) {
  .sidebar { padding: 0 26px; gap: 35px; }
  .sidebar nav { gap: 20px; }
  .workspace { padding: 20px 26px 60px; }
  .columns { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .aside { border-top: 1px solid var(--line); padding-top: 23px; }
  .aside .profile { padding-top: 0; }
  .aside-note { border: 0; padding: 0; max-width: 440px; }
  .login-shell { padding: 25px 28px; }
  .login-layout { grid-template-columns: 1fr 330px; gap: 30px; padding: 65px 0; }
  .login-story h1 { font-size: 39px; }
  .login-card { padding: 23px; }
}
@media(max-width:600px) {
  h1 { font-size: 26px; }
  .sidebar { min-height: 0; padding: 0; border: 0; }
  .sidebar > .brand { display: none; }
  .sidebar nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; gap: 0; justify-content: space-around; min-height: 65px; background: #f7f8f4; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .navlink { flex: 1; flex-direction: column; justify-content: center; gap: 5px; border-bottom: none; border-top: 2px solid transparent; font-size: 11px; padding: 10px 5px; }
  .navlink.active { border-top-color: var(--green); background: #eef2e9; }
  .nav-icon .icon { width: 22px; height: 22px; }
  .workspace { padding: 20px 20px 100px; }
  .topbar { position: static; justify-content: space-between; margin-bottom: 24px; }
  .mobile-brand { display: block; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; }
  .top-profile > span:first-child { display: none; }
  .top-profile .avatar { display: inline-flex; }
  .page-head { padding-bottom: 20px; margin-bottom: 24px; }
  .page-head p { font-size: 13px; }
  .stack { gap: 26px; }
  .home-start { padding: 2px 0 26px; }
  .home-start h2 { font-size: 29px; margin-top: 11px; }
  .home-start p { font-size: 14px; }
  .start-actions { gap: 16px; }
  .start-actions .button { min-height: 46px; }
  .start-actions > span { font-size: 12px; }
  .quick-topics { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .quick-topic { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 15px 1px; min-height: 52px; }
  .quick-arrow { display: block; }
  .section-head h2 { font-size: 16px; }
  .card { padding: 21px; border-radius: 8px; }
  .history-status { max-width: 70px; text-align: right; font-size: 11px; }
  .history-item { gap: 10px; }
  .history-item p { font-size: 11px; }
  .feedback-prompt { display: block; }
  .feedback-prompt .button { margin-top: 8px; }
  .choice-grid { gap: 8px; }
  .choice { font-size: 13px; padding: 12px 10px; gap: 8px; min-height: 50px; }
  .choice-symbol { width: 19px; }
  .choice-symbol .icon { width: 19px; height: 19px; }
  .choice-grid.interests { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .data-line { font-size: 13px; gap: 14px; }
  .chat-card { padding: 19px 15px; }
  .chat-header h2 { font-size: 17px; }
  .chat-header > .tag { display: none; }
  .phrase-list { grid-template-columns: 1fr; }
  .phrase-preview { flex-direction: column; align-items: stretch; }
  .meeting-code strong { font-size: 23px; }
  .meeting-card h2 { font-size: 21px; }
  .notice { font-size: 12px; padding: 10px 12px; }
  .login-shell { padding: 22px 20px; }
  .login-school { display: none; }
  .login-head { padding-bottom: 19px; }
  .login-layout { display: block; padding: 30px 0 40px; min-height: auto; }
  .login-story h1 { font-size: 36px; letter-spacing: -1px; margin: 12px 0 16px; }
  .login-story > p { font-size: 14px; max-width: 390px; }
  .login-rules { display: none; }
  .login-card { padding: 23px; margin-top: 28px; }
  .login-footer { font-size: 11px; flex-direction: column; gap: 7px; }
  dialog { padding: 23px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions .button { flex: 1; }
}
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.quiet-link .icon { width: 16px; height: 16px; }

/* Interests are the centre of the new profile, with the same type and icon system. */
.interest-page { max-width: 1000px; margin: auto; padding: 32px 40px 60px; }
.interest-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.interest-intro { margin: 48px 0 32px; }
.interest-intro h1 { font-size: clamp(30px,4vw,42px); line-height: 1.15; letter-spacing: -1px; margin: 12px 0 16px; }
.interest-intro p { line-height: 1.65; }
.interest-layout { display: grid; grid-template-columns: 1.12fr 1fr; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.interest-editor, .interest-suggestions { padding: 28px; min-width: 0; }
.interest-editor { display: flex; flex-direction: column; }
.interest-suggestions { border-left: 1px solid var(--line); background: #f0f2eb; }
.interest-suggestions h2 { margin: 9px 0 20px; font-size: 22px; }
.interest-count { font-size: 13px; font-weight: 700; color: var(--green); background: var(--sage); padding: 5px 9px; border-radius: 5px; white-space: nowrap; }
.selected-interests { display: flex; align-content: flex-start; gap: 8px; flex-wrap: wrap; min-height: 138px; padding: 12px 0 28px; }
.interest-pill { border: 1px solid #b8c7b5; background: #eaf0e5; color: #334b36; border-radius: 6px; padding: 9px 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; overflow-wrap: anywhere; max-width: 100%; text-align: left; min-height: 42px; }
.interest-pill span { font-weight: 400; font-size: 20px; opacity: .7; }
.interest-pill:hover { background: #dfe8d8; }
.interest-input-row { display: flex; gap: 8px; margin-top: 9px; }
.interest-input-row .input { min-width: 0; flex: 1; width: 100%; }
.interest-input-row .button { padding: 11px 13px; }
.interest-error { color: var(--danger); }
.interest-save { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: auto; }
.interest-save .note { margin: 0; }
#own-interest-form { padding-bottom: 26px; }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.suggestion { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #cfd7c8; background: transparent; border-radius: 6px; min-height: 44px; color: var(--green); }
.suggestion .icon { width: 19px; height: 19px; }
.suggestion.selected { background: white; border-color: var(--green); }
.suggestion.selected .icon:last-child { width: 16px; }
.interest-explainer { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #cfd7c8; }
.interest-explainer .icon { flex: 0 0 22px; color: var(--green); }
.interest-explainer p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.home-start { background: #edf0e5; border: 1px solid #d7ddce; border-radius: 10px; padding: 32px; position: relative; }
.home-start h2 { font-size: clamp(32px,4vw,47px); line-height: 1.12; letter-spacing: -1.2px; margin: 15px 0; }
.home-start p { max-width: 430px; line-height: 1.7; }
.home-start .section-kicker { color: #657157; letter-spacing: .06em; }
.matching-note { display: flex; gap: 14px; align-items: flex-start; padding: 0 3px; }
.matching-note > .icon { color: #946348; flex: 0 0 24px; margin-top: 3px; }
.matching-note h3 { font-size: 15px; margin: 0 0 5px; }
.matching-note p { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.6; max-width: 470px; }
.profile .tags { margin-top: 18px; }
.tag { overflow-wrap: anywhere; max-width: 100%; }
.offer-card { padding: 0; overflow: hidden; }
.offer-person { padding: 30px; background: #edf0e5; text-align: center; border-bottom: 1px solid var(--line); }
.offer-person .avatar { margin: 0 auto 18px; display: flex; }
.offer-person h2 { font-size: 27px; margin: 10px 0 5px; }
.offer-person p { margin: 0; font-size: 13px; }
.offer-reason { padding: 25px 28px 8px; }
.offer-reason h3 { margin: 0 0 16px; font-size: 17px; }
.match-reasons { display: grid; gap: 9px; }
.match-exact, .match-pair { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; }
.match-exact { background: #f7f8f4; flex-wrap: wrap; }
.match-exact .icon { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.match-exact span { font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.match-exact small { color: var(--muted); margin-left: auto; font-size: 11px; }
.match-pair > div { flex: 1; min-width: 0; }
.match-pair small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.match-pair div > span { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.match-bridge { color: #946348; flex: 0 0 21px; }
.match-bridge .icon { width: 21px; }
.conversation-note { margin: 17px 28px 0; border-left: 2px solid #b78a67; padding: 2px 0 2px 15px; }
.conversation-note .section-kicker { font-size: 10px; color: #946348; }
.conversation-note p { font-size: 14px; line-height: 1.65; margin: 7px 0 2px; overflow-wrap: anywhere; }
.offer-card > .actions { padding: 10px 28px 0; }
.offer-card > .note { padding: 0 25px 22px; font-size: 11px; line-height: 1.6; }
@media(max-width:700px) {
 .interest-page { padding: 22px 20px 40px; }
 .interest-top { padding-bottom: 20px; }
 .interest-top > .note { display: none; }
 .interest-intro { margin: 32px 0 25px; }
 .interest-intro h1 { font-size: 31px; }
 .interest-layout { grid-template-columns: 1fr; }
 .interest-editor, .interest-suggestions { padding: 22px; }
 .interest-suggestions { border-left: 0; border-top: 1px solid var(--line); }
 .interest-input-row { flex-direction: column; }
 .interest-input-row .button { align-self: flex-start; }
 .selected-interests { min-height: 90px; padding-bottom: 25px; }
 .interest-save { gap: 10px; }
 .home-start { padding: 25px 23px; }
 .home-start h2 { font-size: 36px; }
 .home-start .start-actions { align-items: flex-start; flex-direction: column; gap: 11px; }
 .offer-reason { padding: 23px 18px 8px; }
 .offer-person { padding: 20px 18px; }
 .offer-person .avatar { width: 60px; height: 60px; font-size: 22px; margin-bottom: 12px; }
 .offer-person h2 { font-size: 24px; margin-top: 8px; }
 .conversation-note { margin-left: 18px; margin-right: 18px; }
 .offer-card > .actions { padding-left: 18px; padding-right: 18px; }
 .match-pair { padding: 12px 10px; gap: 9px; }
 .match-pair div > span { font-size: 13px; }
}
/* A conversation is a single bounded workspace, with its own scroll. */
.chat-mode .shell{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.chat-mode .sidebar{flex-shrink:0}
.chat-mode .workspace{flex:1;min-height:0;display:flex;flex-direction:column;padding:20px 42px 24px}
.chat-mode .topbar{display:none}
.chat-mode .workspace>.notice{flex-shrink:0;margin-bottom:8px;padding:8px 12px;font-size:12px}
.conversation-root{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:880px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.conversation-header{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}
.conversation-header h1{font-size:19px;line-height:1.25;margin:0 0 3px;letter-spacing:0}
.conversation-header p{font-size:12px;line-height:1.35;color:var(--muted);margin:0}
.chat-details-button{display:grid;place-items:center;width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:9px;color:var(--green);cursor:pointer;flex-shrink:0}
.chat-pinned{display:flex;align-items:center;gap:11px;padding:10px 22px;text-align:left;background:#eef2ea;border:0;border-bottom:1px solid var(--line);font:inherit;color:var(--ink);cursor:pointer;flex-shrink:0}
.chat-pinned>span{flex:1}.chat-pinned b{display:block;font-size:13px}.chat-pinned small{display:block;font-size:12px;color:var(--muted)}
.conversation-stream{flex:1;min-height:90px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px;padding:22px;background:#fafbf7;scrollbar-width:thin;overflow-anchor:none}
.chat-start-note{text-align:center;color:var(--muted);padding:2px 14px 10px;font-size:12px;flex-shrink:0}.chat-start-note span{color:var(--green);font-weight:700}.chat-start-note p{font-size:12px;margin:4px 0}
.chat-message{align-self:flex-start;max-width:78%;padding:11px 14px 7px;background:white;border:1px solid #e1e6dc;border-radius:11px 11px 11px 3px;font-size:15px;line-height:1.5;overflow-wrap:anywhere;flex-shrink:0}
.chat-message.mine{align-self:flex-end;background:#435d47;color:white;border-color:#435d47;border-radius:11px 11px 3px 11px}
.chat-message time{display:block;text-align:right;font-size:10px;opacity:.65;margin-top:4px}
.chat-invitation,.chat-meeting-card{align-self:center;width:min(100%,410px);padding:20px;background:white;border:1px solid #d3ddce;border-radius:11px;flex-shrink:0}
.chat-invitation{background:#f0f3eb}.chat-invitation h3,.chat-meeting-card h3{font-size:18px;margin:12px 0}.chat-invitation p{font-size:14px;color:var(--muted);line-height:1.5;margin:8px 0 14px}
.chat-card-caption{display:flex;align-items:center;gap:7px;font-size:11px;color:#536c4e;font-weight:700}.chat-card-caption .icon{width:17px;height:17px}
.chat-meeting-date{display:block;font-size:23px;font-weight:800;letter-spacing:-.5px;margin:15px 0 9px;line-height:1.2}
.chat-meeting-place{display:flex;gap:8px;align-items:center;font-size:14px}.chat-meeting-place .icon{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.chat-duration{display:block;font-size:12px;color:var(--muted);margin:8px 0 0 26px}
.chat-card-status{font-size:12px;color:var(--muted);margin:15px 0 0}.chat-card-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0}
.chat-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.chat-card-actions .button{min-height:40px;padding:8px 13px;font-size:13px}
.chat-meeting-card>time,.chat-invitation>time{display:block;font-size:10px;color:var(--muted);margin-top:12px;text-align:right}
.chat-meeting-card.confirmed{border-color:#9aad90;background:#f4f7ef}.chat-meeting-card.archived{background:#f7f8f4;border-color:#e1e5db}.chat-meeting-card.archived .chat-meeting-date{font-size:20px;color:#626b62}
.chat-tea-code{margin-top:18px;padding:13px 0;border-block:1px solid #dce4d5}.chat-tea-code span,.chat-tea-code small{display:block;font-size:11px;color:var(--muted)}.chat-tea-code strong{display:block;font-size:24px;font-weight:800;letter-spacing:1px;margin:2px 0}
.chat-event{align-self:center;text-align:center;font-size:11px;color:var(--muted);padding:5px 15px;flex-shrink:0}.chat-event time{display:block;font-size:10px;margin-top:3px}
.conversation-composer{background:white;border-top:1px solid var(--line);padding:12px 20px;flex-shrink:0;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}
.chat-tools{display:flex;gap:10px}.chat-tools .button{min-height:44px;flex:1;font-size:13px;padding:9px 12px;justify-content:center}.chat-tools .icon{width:18px;height:18px}
.chat-selected-phrase{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.chat-selected-phrase>span{flex:1;font-size:13px}.chat-selected-phrase .button{font-size:12px;padding:8px 10px;min-height:40px}
.chat-phrase-picker{padding-bottom:14px}.chat-phrase-picker h3,.chat-meeting-form h3{font-size:16px;margin:0}.chat-phrase-picker .chips{margin:8px 0}.chat-phrase-picker .pill{padding:6px 10px;font-size:12px}.chat-phrase-picker .phrase-list{max-height:180px;overflow-y:auto;display:grid;gap:7px}.chat-phrase-picker .phrase{font-size:13px;text-align:left;padding:10px 12px;min-height:40px}
.chat-meeting-form{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.chat-form-fields{display:grid;grid-template-columns:1fr 1.3fr .75fr;gap:12px;margin-top:8px}.chat-form-fields .field{margin:0}.chat-form-fields .label{font-size:12px;margin:5px 0}.chat-form-fields select{font-size:13px;min-height:42px;width:100%}.chat-meeting-form>.button{min-height:42px;font-size:13px}
.chat-context{flex-shrink:0;padding:12px 22px;max-height:35dvh;overflow:auto;border-bottom:1px solid var(--line);background:white}.chat-context>h3{font-size:14px;margin:0 0 8px}.chat-context .match-reasons{margin:0}.chat-context .match-reason{padding:10px}.chat-context .conversation-starter{font-size:12px;margin-top:8px}
@media(max-width:700px){
 .chat-mode .workspace{padding:0 0 calc(72px + env(safe-area-inset-bottom));width:100%}
 .chat-mode .workspace>.notice{margin:0;border-radius:0;font-size:11px;padding:5px 12px}
 .chat-mode .sidebar{display:contents}
 .conversation-root{border:0;border-radius:0;max-width:none}
 .conversation-header{padding:10px 16px;gap:10px}.conversation-header h1{font-size:17px}.conversation-header .avatar{width:38px;height:38px;font-size:13px}
 .chat-details-button{width:38px;height:38px}.chat-pinned{padding:8px 16px}
 .conversation-stream{padding:16px;gap:12px}.chat-message{max-width:85%;font-size:14px}
 .chat-invitation,.chat-meeting-card{padding:17px}.chat-meeting-date{font-size:22px}
 .conversation-composer{padding:10px 14px;max-height:51dvh}.chat-tools{gap:8px}.chat-tools .button{font-size:12px;gap:6px}
 .chat-form-fields{grid-template-columns:1fr 1fr;gap:8px}.chat-form-fields .field:nth-child(2){grid-column:1/-1;grid-row:2}.chat-form-fields select{font-size:12px}
 .chat-context{padding:12px 16px}.chat-selected-phrase .button.text{display:none}
}
@media(prefers-reduced-motion:reduce){.conversation-stream{scroll-behavior:auto}}

body.chat-mode{overflow:hidden}.chat-mode #live{position:fixed;top:0;left:0}

/* The confirmed agreement contains the entire start flow. */
.chat-checkin{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.chat-checkin h3{margin:18px 0 8px;font-size:20px;line-height:1.3}.chat-checkin p{font-size:13px;color:var(--muted);line-height:1.6}
.meeting-steps{list-style:none;display:flex;gap:9px;margin:0 0 20px;padding:0}.meeting-steps li{flex:1;display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted);line-height:1.3;position:relative}.meeting-steps li>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:50%;font-size:11px;background:var(--white);z-index:1}.meeting-steps li:not(:last-child):after{content:"";position:absolute;left:29px;right:-3px;top:12px;height:1px;background:var(--line)}.meeting-steps li.done,.meeting-steps li.current{color:var(--green);font-weight:700}.meeting-steps li.done>span{background:var(--green);border-color:var(--green);color:var(--paper)}.meeting-steps li.current>span{border:2px solid var(--green)}
.chat-personal-code{margin:18px 0;padding:18px;text-align:left;border:1px solid var(--line);border-left:3px solid var(--green);border-radius:8px;background:var(--white)}
.chat-personal-code>span,.chat-personal-code small{display:block;color:var(--muted);font-size:12px}.chat-personal-code strong{display:block;margin:9px 0;font-size:38px;line-height:1.15;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:var(--green);white-space:nowrap}.chat-personal-code strong>span{display:inline;font-size:inherit;letter-spacing:.12em}
.chat-checkin-progress{display:grid;gap:9px;margin:18px 0;font-size:12px;color:var(--muted)}.chat-checkin-progress .done{color:var(--green);font-weight:700}
.chat-checkin .field{margin-bottom:6px}.chat-checkin input{font-size:24px;letter-spacing:.14em;width:100%;text-align:center;height:54px;font-variant-numeric:tabular-nums}.chat-checkin input[aria-invalid=true]{border-color:var(--danger)}.chat-checkin #check-in-help{margin:0 0 12px;font-size:12px}.chat-checkin-wait{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--white)}.chat-checkin-wait b{font-size:13px;font-weight:700}.chat-checkin-wait p{margin:5px 0 0;font-size:12px}
.chat-checkin .checkin-error{margin:0 0 12px;color:var(--danger);font-size:12px}.checkin-network{padding:10px 12px;border-left:2px solid var(--green);margin-bottom:12px;background:var(--white)}
.chat-checkin.started{text-align:center}.chat-checkin.started .meeting-steps{text-align:left}.chat-meeting-timer{display:block;font-size:52px;line-height:1.15;letter-spacing:-.04em;color:var(--green);font-variant-numeric:tabular-nums;margin:18px 0}.chat-checkin.started p{max-width:320px;margin:auto}
@media(max-width:380px){.meeting-steps{gap:6px}.meeting-steps li{font-size:9px}.chat-personal-code{padding:14px}.chat-personal-code strong{font-size:34px}}
