:root {
  color-scheme: light;
  --navy: #18314b;
  --navy-2: #234762;
  --navy-soft: #334f68;
  --teal: #11787d;
  --teal-bright: #32aaa6;
  --teal-pale: #e3f3f2;
  --ink: #203a50;
  --muted: #596c7c;
  --muted-2: #687b89;
  --page: #f4f7fb;
  --white: #ffffff;
  --line: #e3eaf0;
  --mint: #e8f4ef;
  --blue-pale: #eaf3f9;
  --lilac: #f1effa;
  --peach: #fff0e8;
  --yellow: #fff7df;
  --shadow: 0 12px 34px rgba(25, 49, 72, .07);
  --sidebar-width: 252px;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Manrope", "DM Sans", "Segoe UI", sans-serif;
  --content: 1370px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: #c9eeeb; color: #173c50; }
:focus-visible { outline: 3px solid #d7835c; outline-offset: 3px; border-radius: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--white); padding: 11px 15px; border-radius: 9px; color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.privacy-bar { position: fixed; z-index: 45; top: 0; left: var(--sidebar-width); right: 0; min-height: 42px; padding: 7px 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #eaf4f5; border-bottom: 1px solid #dcebed; color: #335568; font-size: 11px; }
.privacy-bar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.privacy-bar svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.privacy-bar strong { color: var(--navy); }
.privacy-bar > a { flex: 0 0 auto; color: #8a4838; font-weight: 700; text-decoration: none; }
.privacy-bar > a:hover { text-decoration: underline; text-underline-offset: 3px; }

.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 25px 17px 18px; display: flex; flex-direction: column; background: var(--white); border-right: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 2px 8px; text-decoration: none; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 13px; background: #e7f4f2; color: var(--teal); }
.brand-mark svg { width: 31px; height: 31px; }
.brand-copy { display: grid; gap: 3px; }
.brand-name { font: 800 16px/1.1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.brand-name b { color: var(--teal); font-size: 10px; letter-spacing: .04em; vertical-align: 2px; }
.brand-caption { color: #586e7e; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.sidebar-label { margin: 42px 11px 12px; color: #576d7c; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.primary-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link { position: relative; min-height: 43px; padding: 9px 11px; display: flex; align-items: center; gap: 12px; border-radius: 10px; color: #546a7c; text-decoration: none; font-size: 12px; font-weight: 600; transition: color .18s ease, background .18s ease, transform .18s ease; }
.nav-link svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-link:hover { background: #f2f7f9; color: var(--navy); transform: translateX(2px); }
.nav-link.is-active { background: #e9f5f5; color: #126d73; font-weight: 700; }
.nav-link.is-active::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: -17px; width: 3px; border-radius: 0 4px 4px 0; background: var(--teal-bright); }
.nav-link.nav-urgent { margin-top: 18px; color: #8e4b3a; background: #fff4ee; }
.nav-link.nav-urgent:hover, .nav-link.nav-urgent.is-active { background: #ffebe1; color: #863f30; }
.sidebar-bottom { margin-top: auto; }
.sidebar-companion { padding: 12px 10px; display: flex; align-items: center; gap: 10px; background: #f4f9fa; border: 1px solid #e6eff0; border-radius: 13px; }
.sidebar-companion img { width: 37px; height: 37px; object-fit: contain; }
.sidebar-companion div { display: grid; gap: 1px; }
.sidebar-companion strong { color: var(--navy); font-size: 10px; }
.sidebar-companion span { color: var(--muted); font-size: 9px; }
.sidebar-privacy { margin: 12px 5px 0; display: flex; align-items: center; gap: 6px; color: #576d7c; font-size: 9px; }
.sidebar-privacy svg { width: 15px; height: 15px; fill: none; stroke: #56827f; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }

.dashboard-main { min-height: 100vh; margin-left: var(--sidebar-width); padding: 76px 36px 35px; }
.dashboard-content { max-width: var(--content); margin-inline: auto; }
.welcome-panel { min-height: 285px; padding: 31px 38px 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(230px, .85fr); align-items: center; gap: 15px; overflow: hidden; position: relative; border-radius: 23px; color: #f9ffff; background: linear-gradient(114deg, #18354f 0%, #214b66 61%, #216d76 100%); box-shadow: 0 17px 37px rgba(24, 57, 80, .15); }
.welcome-panel::before { content: ""; position: absolute; width: 380px; height: 380px; right: 10%; top: -250px; border: 1px solid rgba(196, 240, 234, .16); border-radius: 50%; box-shadow: 0 0 0 24px rgba(196, 240, 234, .035), 0 0 0 53px rgba(196, 240, 234, .03); pointer-events: none; }
.welcome-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow, .section-kicker { margin: 0; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.welcome-panel .eyebrow { display: flex; align-items: center; gap: 8px; color: #c9e6e8; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7be0c6; box-shadow: 0 0 0 4px rgba(123,224,198,.14); }
.welcome-panel h1 { max-width: 620px; margin: 14px 0 0; font: 800 clamp(32px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.055em; }
.welcome-panel h1 span { color: #9ee2dc; }
.welcome-intro { max-width: 555px; margin: 12px 0 0; color: #d8e8ec; font-size: 12px; line-height: 1.75; }
.welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 20px; margin-top: 21px; }
.button { min-height: 41px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; cursor: pointer; font-size: 11px; font-weight: 700; line-height: 1.3; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #f3ffff; color: #164c5d; box-shadow: 0 5px 13px rgba(7, 27, 43, .14); }
.button-light:hover { background: #d9f4ef; }
.welcome-text-link { color: #f2ffff; font-size: 11px; font-weight: 700; text-decoration: none; }
.welcome-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.welcome-assurance { margin-top: 18px; display: flex; align-items: center; gap: 7px; color: #c5dfe5; font-size: 9px; }
.welcome-assurance svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #a1ded4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.welcome-mascot { position: relative; min-height: 218px; display: grid; place-items: center; }
.welcome-mascot > img { position: relative; z-index: 1; width: min(240px, 100%); height: 226px; object-fit: contain; filter: drop-shadow(0 13px 17px rgba(6, 28, 44, .18)); animation: mascot-float 5.5s ease-in-out infinite; }
.mascot-orbit { position: absolute; border: 1px solid rgba(188, 237, 230, .3); border-radius: 50%; }
.orbit-a { width: 184px; height: 184px; }
.orbit-b { width: 221px; height: 221px; border-style: dashed; opacity: .58; }
.mascot-bubble { position: absolute; z-index: 2; right: 0; bottom: 20px; padding: 9px 12px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(220,247,243,.62); border-radius: 11px; background: #f7ffff; color: #264f62; box-shadow: 0 9px 22px rgba(9, 33, 49, .18); font-size: 9px; font-weight: 700; }
.bubble-spark { color: #d47f5d; font-size: 14px; }

.summary-grid { margin: 18px 0 27px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.summary-card { min-height: 143px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 5px 19px rgba(24, 49, 72, .035); }
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; }
.summary-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-mood { color: #11777a; background: #e4f3f1; }
.icon-history { color: #74658d; background: #f0edf8; }
.icon-action { color: #a66048; background: #fff0e8; }
.summary-kicker { color: #596c7c; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.summary-card > p { margin: 10px 0 0; color: #526579; font-size: 10px; }
.summary-card > strong { display: block; margin-top: 2px; color: var(--navy); font: 700 15px/1.35 var(--display); }
.summary-card > .summary-empty { font-size: 13px; }
.summary-card > a { display: inline-block; margin-top: 7px; color: #116c72; font-size: 9px; font-weight: 700; text-decoration: none; }
.summary-card > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.summary-note { display: block; margin-top: 3px; color: #596c7c; font-size: 9px; }
.summary-action { background: linear-gradient(140deg, #ffffff, #f1f8f8); }

.dashboard-section { margin: 29px 0; scroll-margin-top: 76px; }
.section-heading { margin-bottom: 15px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.section-heading h2 { margin: 5px 0 0; color: var(--navy); font: 800 clamp(22px, 2.7vw, 29px)/1.2 var(--display); letter-spacing: -.045em; }
.section-heading h2 span { color: var(--teal); }
.section-heading > div > p:last-child { max-width: 690px; margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.section-kicker { color: #576d7c; font-size: 8px; }
.section-badge { flex: 0 0 auto; padding: 6px 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dfe9ed; border-radius: 99px; background: #fff; color: #556f80; font-size: 8px; font-weight: 700; }
.section-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge-scripted { color: #6c5f8a; background: #f6f2ff; border-color: #e8e0f6; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #9a83bd; }
.badge-unavailable { color: #7a5b47; background: #fff7e8; border-color: #f0e2c3; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 6px 20px rgba(27, 53, 75, .04); }

.checkin-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(245px, .9fr); gap: 13px; align-items: stretch; }
.feeling-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.feeling-card { min-height: 78px; padding: 11px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #e2eaf0; border-radius: 13px; background: var(--white); color: #345168; text-align: left; cursor: pointer; font-size: 10px; font-weight: 700; transition: transform .18s ease, border .18s ease, background .18s ease, box-shadow .18s ease; }
.feeling-card:hover { transform: translateY(-2px); border-color: #9bcfca; box-shadow: 0 8px 17px rgba(27, 98, 98, .08); }
.feeling-card[aria-pressed="true"] { border-color: #54a9a5; background: #eef9f8; box-shadow: 0 0 0 2px rgba(34, 153, 148, .1); }
.feeling-illustration { width: 37px; height: 37px; flex: 0 0 37px; }
.feeling-illustration svg { width: 100%; height: 100%; }
.feeling-illustration circle { fill: #f6d985; stroke: none; }
.feeling-illustration path { fill: none; stroke: #31506a; stroke-width: 1.7; stroke-linecap: round; }
.mood-wave circle { fill: #c7e9e9; }
.mood-lilac circle { fill: #e5dbf3; }
.mood-blue circle { fill: #d4e8f6; }
.mood-peach circle { fill: #f8dccb; }
.mood-teal circle { fill: #c6eee5; }
.feeling-arrow { margin-left: auto; color: #74909e; font-size: 13px; }
.checkin-result { position: relative; padding: 19px; animation: card-arrive .24s ease both; }
.checkin-result[hidden] { display: none; }
.result-close { position: absolute; top: 8px; right: 11px; padding: 3px 7px; border: 0; background: transparent; color: #687b8b; font-size: 21px; cursor: pointer; }
.result-kicker { margin: 0 0 8px; color: #576d7c; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.checkin-result h3 { margin: 0 20px 6px 0; color: var(--navy); font: 700 17px/1.3 var(--display); }
.checkin-result > p:not(.result-kicker):not(.privacy-note) { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.result-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.result-links a { color: #126c73; font-size: 9px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.privacy-note { margin: 12px 0 0; color: #576d7c; font-size: 8px; }
.section-footnote { margin: 10px 0 0; display: flex; align-items: center; gap: 7px; color: #596c7c; font-size: 9px; }
.section-footnote svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #7b9ea5; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.companion-section { margin-top: 33px; }
.companion-panel { min-height: 300px; padding: 17px; display: grid; grid-template-columns: minmax(170px, .65fr) minmax(0, 1.55fr); gap: 17px; background: #fbfdff; }
.companion-side { padding: 17px; display: flex; flex-direction: column; align-items: flex-start; border-radius: 13px; background: linear-gradient(150deg, #eaf6f4, #f3f5fb); }
.companion-avatar { width: 69px; height: 69px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d7edeb; border-radius: 22px; background: #fff; box-shadow: 0 5px 13px rgba(24, 78, 88, .08); }
.companion-avatar img { width: 62px; height: 62px; object-fit: contain; }
.companion-side h3 { margin: 14px 0 4px; color: var(--navy); font: 800 16px/1.2 var(--display); }
.companion-side > p { max-width: 230px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.companion-safe { margin-top: auto; padding-top: 13px; display: flex; align-items: flex-start; gap: 6px; color: #7e5a43; font-size: 8px; line-height: 1.5; }
.companion-safe svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #ba7d58; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chat-panel { min-width: 0; display: flex; flex-direction: column; }
.chat-title { min-height: 42px; padding: 0 3px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f3; }
.chat-title > div { display: grid; }
.chat-title strong { color: var(--navy); font-size: 10px; }
.chat-title > div > span { color: #596c7c; font-size: 8px; }
.online-status { display: inline-flex; align-items: center; gap: 5px; color: #62536f; font-size: 8px; }
.online-status i { width: 6px; height: 6px; border-radius: 50%; background: #b897d2; }
.chat-history { min-height: 153px; max-height: 216px; padding: 14px 3px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.chat-row { max-width: 90%; display: flex; align-items: flex-end; gap: 7px; }
.chat-row-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; background: #dff1ef; color: #126e73; font-size: 9px; font-weight: 800; }
.chat-bubble { padding: 9px 12px; border-radius: 12px 12px 12px 3px; color: #435d70; font-size: 9px; line-height: 1.6; }
.chat-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble-guide { background: #edf4f8; }
.chat-bubble-user { border-radius: 12px 12px 3px 12px; background: #dff2ef; color: #254d5c; }
.chat-bubble a { display: inline-block; margin: 5px 8px 0 0; color: #126e73; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.chat-composer { min-height: 44px; padding: 4px 5px 4px 13px; display: flex; align-items: center; gap: 8px; border: 1px solid #dfe8ee; border-radius: 11px; background: #fff; }
.chat-composer:focus-within { outline: 3px solid rgba(24, 140, 144, .2); border-color: #72b9b6; }
.chat-composer input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 10px; }
.chat-composer input::placeholder { color: #576d7c; opacity: 1; }
.chat-composer button { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--teal); color: #fff; cursor: pointer; }
.chat-composer button:hover { background: #0c6066; }
.chat-composer button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.composer-note { margin: 5px 0 0; color: #596c7c; font-size: 8px; line-height: 1.5; }

.resource-heading { align-items: end; }
.resource-search { width: min(265px, 100%); min-height: 42px; padding: 0 11px; display: flex; align-items: center; gap: 7px; }
.search-glyph { color: #688296; font-size: 20px; line-height: 1; }
.resource-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 10px; }
.resource-search input::placeholder { color: #576d7c; opacity: 1; }
.resource-search:focus-within { outline: 3px solid rgba(24, 140, 144, .2); border-color: #72b9b6; }
.filter-row { margin: 13px 0 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { min-height: 31px; padding: 6px 10px; border: 1px solid #dce6ec; border-radius: 99px; background: #fff; color: #4c6578; cursor: pointer; font-size: 9px; font-weight: 600; transition: background .18s ease, color .18s ease, border .18s ease; }
.filter-chip:hover, .filter-chip.is-active { border-color: #126d73; background: #126d73; color: #fff; }
.filter-chip span { margin-left: 3px; opacity: .9; font-size: 8px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.resource-card { min-height: 255px; padding: 16px 17px 13px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(25, 49, 72, .08); }
.card-mint { background: #f5fbf8; }
.card-peach { background: #fffaf6; }
.card-lilac { background: #fbfaff; }
.card-yellow { background: #fffdf5; }
.card-blue { background: #f6fbfd; }
.card-green { background: #f7fbf6; }
.resource-card-top { display: flex; align-items: center; justify-content: space-between; }
.resource-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; background: #e3f2ef; color: #247b7b; font-size: 16px; }
.card-peach .resource-icon { background: #fff0e8; color: #9b654d; }
.card-lilac .resource-icon { background: #efecf8; color: #73658c; }
.card-yellow .resource-icon { background: #fff5d8; color: #8c7241; }
.card-blue .resource-icon { background: #e5f1f8; color: #4b758e; }
.card-green .resource-icon { background: #eaf3e6; color: #55764d; }
.read-time { color: #596c7c; font-size: 8px; }
.resource-category { margin: 15px 0 4px; color: #566b7b; font-size: 7px; font-weight: 800; letter-spacing: .11em; }
.resource-card h3 { margin: 0; color: var(--navy); font: 700 15px/1.3 var(--display); letter-spacing: -.02em; }
.resource-card > p:not(.resource-category) { margin: 6px 0 9px; color: #586b79; font-size: 9px; line-height: 1.55; }
.resource-details { margin-top: auto; border-top: 1px solid rgba(43, 79, 100, .12); }
.resource-details summary { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #126c72; cursor: pointer; list-style: none; font-size: 9px; font-weight: 700; }
.resource-details summary::-webkit-details-marker { display: none; }
.resource-details summary span { font-size: 15px; font-weight: 400; transition: transform .18s ease; }
.resource-details[open] summary span { transform: rotate(45deg); }
.details-content { padding: 0 1px 8px; animation: card-arrive .2s ease both; }
.details-content p { margin: 0 0 7px; color: #506574; font-size: 9px; line-height: 1.55; }
.details-content a { color: #116b72; font-size: 9px; font-weight: 700; text-underline-offset: 2px; }
.resource-card[hidden] { display: none; }
.no-results { margin: 27px auto 0; text-align: center; color: #52697a; font-size: 11px; }
.no-results button { border: 0; background: none; color: #116b72; font-weight: 700; text-decoration: underline; cursor: pointer; }
.no-results[hidden] { display: none; }

.tool-cards { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 13px; }
.tool-card { min-height: 365px; padding: 19px; }
.breathing-card { background: linear-gradient(160deg, #f2fbfa, #fff); }
.grounding-card { background: linear-gradient(160deg, #f8f6ff, #fff); }
.tool-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.tool-label { color: #557987; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.tool-duration { color: #677986; font-size: 8px; }
.tool-card h3 { margin: 13px 0 4px; color: var(--navy); font: 700 18px/1.25 var(--display); }
.tool-card > p:not(.tool-safety) { margin: 0; color: #586d7d; font-size: 9px; line-height: 1.6; }
.breathing-visual { position: relative; width: 122px; height: 122px; margin: 19px auto 4px; display: grid; place-items: center; }
.breathing-circle { position: relative; z-index: 1; width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid #add9d4; border-radius: 50%; background: #daf1ed; box-shadow: inset 0 0 0 6px rgba(255,255,255,.45); color: #287d7b; font-size: 21px; transition: background .35s ease; }
.breathing-halo { position: absolute; inset: 5px; border: 1px solid rgba(48, 135, 132, .3); border-radius: 50%; transform: scale(.88); }
.breathing-visual.is-active .breathing-circle { animation: breathe-cycle 10s ease-in-out infinite; }
.breathing-visual.is-active .breathing-halo { animation: halo-cycle 10s ease-in-out infinite; }
.breathing-instruction { min-height: 19px; margin: 2px 0 0 !important; color: #236e72 !important; font-size: 10px !important; text-align: center; font-weight: 700; }
.tool-actions { margin-top: 8px; display: flex; justify-content: center; }
.button-teal { min-height: 36px; padding: 8px 12px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 9px; }
.button-teal:hover { background: #0c6066; }
.tool-safety { margin: 10px 0 0; color: #526777; font-size: 8px; text-align: center; line-height: 1.5; }
.sense-list { margin-top: 13px; display: grid; gap: 4px; }
.sense-step { min-height: 41px; padding: 5px 8px; display: grid; grid-template-columns: 26px 1fr 17px; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; background: #f7f5fc; color: #3d5a71; text-align: left; cursor: pointer; transition: background .18s ease, border .18s ease, transform .18s ease; }
.sense-step:hover { border-color: #dbd4ed; background: #f0eef9; }
.sense-step[aria-pressed="true"] { border-color: #b4a5d4; background: #eee9fa; }
.sense-number { color: #786d93; font: 700 10px var(--display); }
.sense-step strong { display: block; font-size: 9px; line-height: 1.3; }
.sense-step small { display: block; color: #526777; font-size: 8px; line-height: 1.3; }
.sense-check { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #b6c0cc; border-radius: 50%; color: transparent; font-size: 9px; }
.sense-step[aria-pressed="true"] .sense-check { border-color: #685b8d; background: #685b8d; color: #fff; }
.grounding-footer { padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.grounding-footer p { margin: 0; color: #627584; font-size: 8px; }
.text-button { border: 0; border-bottom: 1px solid #9c8dbb; background: none; color: #655883; font-size: 8px; font-weight: 700; cursor: pointer; }

.counselor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 13px; align-items: stretch; }
.counselor-steps { padding: 17px 19px; }
.conversation-step { padding: 12px 0; display: grid; grid-template-columns: 33px 1fr; gap: 10px; border-bottom: 1px solid #edf0f3; }
.conversation-step:first-child { padding-top: 0; }
.conversation-step:last-of-type { border-bottom: 0; }
.step-index { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #c9e4e2; border-radius: 50%; background: #eff8f7; color: #1c7778; font: 700 10px var(--display); }
.conversation-step h3 { margin: 0 0 3px; color: var(--navy); font: 700 11px var(--display); }
.conversation-step p { margin: 0; color: #5b6f7f; font-size: 9px; line-height: 1.55; }
.confidentiality-note { margin: 8px 0 0; padding: 9px 10px; border-radius: 8px; background: #f4f8fb; color: #50697a; font-size: 8px; line-height: 1.55; }
.appointment-card { padding: 17px; }
.appointment-heading { display: flex; align-items: center; gap: 9px; }
.appointment-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #e9f4f3; color: #1b777a; }
.appointment-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.appointment-heading h3 { margin: 3px 0 0; color: var(--navy); font: 800 15px/1.25 var(--display); }
.appointment-copy { margin: 9px 0 11px; color: #596e7d; font-size: 9px; line-height: 1.55; }
.appointment-card label { margin: 8px 0 4px; display: block; color: #435c70; font-size: 8px; font-weight: 700; }
.appointment-card select, .appointment-card textarea { width: 100%; padding: 8px 10px; border: 1px solid #dce6ec; border-radius: 8px; background: #fbfdff; color: #314d62; font-size: 9px; }
.appointment-card select:focus, .appointment-card textarea:focus { outline: 3px solid rgba(24, 140, 144, .18); border-color: #72b9b6; }
.appointment-card textarea { min-height: 69px; resize: vertical; line-height: 1.5; }
.appointment-actions { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.appointment-actions p { margin: 0; color: #596c7c; font-size: 8px; }
.campus-contact-placeholder { margin-top: 11px; padding-top: 10px; display: flex; align-items: flex-start; gap: 6px; border-top: 1px solid #edf0f3; color: #795b42; font-size: 8px; line-height: 1.5; }
.campus-contact-placeholder svg { width: 13px; height: 13px; flex: 0 0 auto; fill: none; stroke: #a2764f; stroke-width: 1.5; stroke-linecap: round; }

.pulse-panel { min-height: 194px; padding: 19px 24px; display: grid; grid-template-columns: minmax(170px, .5fr) minmax(0, 1.5fr); align-items: center; gap: 22px; background: linear-gradient(120deg, #fff, #f5fafb); }
.pulse-art { min-height: 148px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background-color: #eff7f8; background-image: linear-gradient(rgba(108,148,158,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(108,148,158,.08) 1px, transparent 1px); background-size: 20px 20px; }
.pulse-art svg { position: relative; z-index: 1; width: 117px; fill: none; stroke: #238d91; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .74; }
.pulse-ring { position: absolute; border: 1px solid rgba(41, 148, 148, .2); border-radius: 50%; }
.ring-one { width: 119px; height: 119px; }
.ring-two { width: 148px; height: 148px; border-style: dashed; }
.pulse-copy h3 { margin: 5px 0 6px; color: var(--navy); font: 800 16px/1.3 var(--display); }
.pulse-copy > p:not(.section-kicker) { margin: 0; color: #586d7c; font-size: 9px; line-height: 1.65; }
.pulse-note { margin-top: 10px; display: flex; align-items: center; gap: 5px; color: #5c7282; font-size: 8px; font-weight: 600; }
.pulse-note svg { width: 14px; height: 14px; fill: none; stroke: #4c8583; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.community-card { min-height: 207px; padding: 16px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.community-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(25,49,72,.08); }
.community-mint { background: #f5fbf8; }
.community-peach { background: #fffaf6; }
.community-lilac { background: #fbfaff; }
.community-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: #e5f4ed; color: #40856f; font-size: 18px; }
.community-peach .community-icon { background: #ffefe6; color: #a8634d; }
.community-lilac .community-icon { background: #eeeafa; color: #766793; }
.community-card .resource-category { margin: 12px 0 4px; }
.community-card h3 { margin: 0; color: var(--navy); font: 700 14px/1.3 var(--display); }
.community-card > p:not(.resource-category) { margin: 6px 0 10px; color: #596d7b; font-size: 9px; line-height: 1.55; }
.community-card > a { margin-top: auto; color: #146b71; font-size: 9px; font-weight: 700; text-decoration: none; }
.community-card > a:hover { text-decoration: underline; text-underline-offset: 3px; }

.urgent-section { margin-top: 35px; }
.urgent-card { padding: 23px 25px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(245px, .85fr); gap: 23px; border-radius: 18px; background: #193c56; color: #f5fbfe; box-shadow: 0 12px 28px rgba(24,54,77,.13); }
.urgent-kicker { margin: 0 0 6px; color: #f6c3a9; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.urgent-kicker span { margin-right: 4px; font-size: 13px; }
.urgent-copy h2 { max-width: 510px; margin: 0; color: #fff; font: 800 clamp(22px, 2.7vw, 30px)/1.18 var(--display); letter-spacing: -.04em; }
.urgent-copy h2 span { color: #a9e5df; }
.urgent-copy > p:not(.urgent-kicker):not(.urgent-small) { max-width: 600px; margin: 8px 0 12px; color: #dceaf0; font-size: 9px; line-height: 1.65; }
.button-emergency { min-height: 36px; padding: 8px 12px; background: #fff1e9; color: #653e32; font-size: 9px; }
.button-emergency:hover { background: #ffe0d0; }
.urgent-small { margin: 6px 0 0; color: #c1d2dc; font-size: 8px; }
.urgent-side { padding: 15px; align-self: stretch; border: 1px solid rgba(232,244,245,.21); border-radius: 12px; background: rgba(230,246,245,.08); }
.urgent-side-heading { display: flex; align-items: center; gap: 7px; color: #d3e9eb; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.urgent-icon { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(231,244,240,.55); border-radius: 50%; color: #ffe1ce; font-size: 9px; font-weight: 800; }
.urgent-side h3 { margin: 9px 0 4px; color: #fff; font: 700 15px var(--display); }
.urgent-side > p { margin: 0; color: #d5e3e9; font-size: 8px; line-height: 1.55; }
.urgent-placeholder { margin-top: 9px; padding: 7px 8px; border: 1px dashed rgba(240,245,231,.4); border-radius: 7px; color: #fff5e8; font-size: 8px; }
.urgent-side hr { height: 1px; margin: 9px 0; border: 0; background: rgba(229,239,236,.18); }
.urgent-side > p:last-child strong { color: #fff; }
.floating-urgent { position: fixed; z-index: 40; right: 22px; bottom: 17px; min-height: 39px; padding: 7px 12px 7px 8px; display: none; align-items: center; gap: 7px; border: 1px solid #edcdbd; border-radius: 999px; background: #fff8f3; color: #713d32; box-shadow: 0 8px 23px rgba(25,49,72,.16); font-size: 9px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.floating-urgent:hover { transform: translateY(-2px); background: #ffede4; box-shadow: 0 11px 26px rgba(25,49,72,.2); }
.floating-urgent span:first-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f5e0d5; color: #794333; font-size: 13px; }

.faq-list { padding: 0 17px; }
.faq-list details { border-bottom: 1px solid #e8edf0; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 13px; color: #324f65; cursor: pointer; list-style: none; font-size: 10px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #557c83; font-size: 15px; font-weight: 400; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details > p { max-width: 890px; margin: 0 30px 13px 0; color: #526a7a; font-size: 9px; line-height: 1.65; }
.dashboard-footer { margin-top: 31px; padding: 14px 3px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #e0e7ec; color: #596c7c; }
.footer-brand { display: flex; align-items: center; gap: 7px; color: var(--navy); font: 800 11px var(--display); text-decoration: none; }
.footer-brand .brand-mark { width: 25px; height: 25px; flex-basis: 25px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 21px; height: 21px; }
.dashboard-footer > p { margin: 0; font-size: 8px; }
.dashboard-footer > a:last-child { color: #86503f; font-size: 9px; font-weight: 700; text-decoration: none; }
.dashboard-footer > a:last-child:hover { text-decoration: underline; }

@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes card-arrive { from { opacity: .6; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe-cycle { 0% { transform: scale(.9); } 40% { transform: scale(1.12); } 100% { transform: scale(.9); } }
@keyframes halo-cycle { 0% { transform: scale(.86); opacity: .55; } 40% { transform: scale(1.03); opacity: .9; } 100% { transform: scale(.86); opacity: .55; } }

@media (max-width: 1160px) {
  :root { --sidebar-width: 226px; }
  .sidebar { padding-inline: 13px; }
  .dashboard-main { padding-inline: 25px; }
  .welcome-panel { padding-inline: 28px; }
  .feeling-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --sidebar-width: 0px; }
  .privacy-bar { left: 0; padding-inline: 19px; }
  .sidebar { position: sticky; inset: auto; top: 0; width: 100%; height: 66px; padding: 0 19px; flex-direction: row; align-items: center; justify-content: space-between; box-shadow: 0 5px 16px rgba(24,49,72,.06); }
  .sidebar-label, .sidebar-bottom { display: none; }
  .menu-toggle { width: 39px; height: 39px; padding: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid #dce7eb; border-radius: 10px; background: #fff; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: #31576d; transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 66px; left: 0; right: 0; max-height: calc(100vh - 100px); padding: 10px 18px 16px; display: none; overflow-y: auto; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 24px rgba(24,49,72,.12); }
  .primary-nav.is-open { display: flex; animation: card-arrive .18s ease both; }
  .nav-link { min-height: 41px; }
  .nav-link.is-active::before { left: -18px; }
  .nav-link.nav-urgent { margin-top: 8px; }
  .dashboard-main { margin-left: 0; padding: 22px 22px 30px; }
  .privacy-bar { position: relative; min-height: 39px; }
  .welcome-panel { min-height: 265px; }
  .floating-urgent { right: 12px; bottom: 12px; display: inline-flex; }
}
@media (max-width: 620px) {
  .privacy-bar { padding: 7px 13px; gap: 8px; font-size: 9px; }
  .privacy-bar p { align-items: flex-start; }
  .privacy-bar > a { font-size: 8px; }
  .sidebar { height: 60px; padding-inline: 13px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-name { font-size: 15px; }
  .dashboard-main { padding: 14px 13px 24px; }
  .welcome-panel { min-height: 0; padding: 23px 19px 18px; grid-template-columns: minmax(0, 1fr) 105px; gap: 0; border-radius: 17px; }
  .welcome-panel h1 { max-width: 460px; margin-top: 10px; font-size: clamp(27px, 8vw, 38px); }
  .welcome-intro { font-size: 10px; }
  .welcome-actions { gap: 8px 11px; margin-top: 13px; }
  .button { min-height: 37px; padding: 8px 10px; font-size: 9px; }
  .welcome-text-link { font-size: 9px; }
  .welcome-assurance { grid-column: 1 / -1; font-size: 8px; }
  .welcome-mascot { min-height: 117px; align-self: center; }
  .welcome-mascot > img { width: 111px; height: 127px; }
  .orbit-a { width: 99px; height: 99px; }
  .orbit-b { width: 119px; height: 119px; }
  .mascot-bubble { right: -2px; bottom: -1px; padding: 6px 7px; font-size: 7px; }
  .bubble-spark { font-size: 10px; }
  .summary-grid { margin: 11px 0 22px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .summary-card { min-height: 126px; padding: 12px; border-radius: 13px; }
  .summary-card:last-child { grid-column: 1 / -1; min-height: 115px; }
  .summary-icon { width: 30px; height: 30px; }
  .summary-card > p { margin-top: 7px; font-size: 9px; }
  .summary-card > strong { font-size: 12px; }
  .summary-card > .summary-empty { font-size: 11px; }
  .summary-note, .summary-card > a { font-size: 8px; }
  .dashboard-section { margin: 24px 0; scroll-margin-top: 74px; }
  .section-heading { align-items: flex-start; gap: 8px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > div > p:last-child { font-size: 9px; }
  .section-badge { margin-top: 2px; padding: 5px 7px; font-size: 7px; }
  .checkin-layout { grid-template-columns: 1fr; }
  .feeling-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .feeling-card { min-height: 64px; padding: 7px; gap: 6px; font-size: 8px; }
  .feeling-illustration { width: 31px; height: 31px; flex-basis: 31px; }
  .feeling-arrow { font-size: 11px; }
  .checkin-result { min-height: 170px; }
  .section-footnote { align-items: flex-start; font-size: 8px; }
  .companion-panel { padding: 10px; grid-template-columns: 1fr; gap: 9px; }
  .companion-side { padding: 11px; display: grid; grid-template-columns: 52px 1fr; gap: 2px 9px; align-items: center; }
  .companion-avatar { width: 49px; height: 49px; grid-row: span 2; border-radius: 15px; }
  .companion-avatar img { width: 45px; height: 45px; }
  .companion-side h3 { margin: 0; font-size: 13px; }
  .companion-side > p { max-width: none; font-size: 8px; }
  .companion-safe { grid-column: 1 / -1; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(62,116,120,.11); }
  .chat-history { min-height: 135px; max-height: 190px; }
  .resource-heading { display: block; }
  .resource-search { margin-top: 10px; width: 100%; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1px 7px; }
  .filter-chip { flex: 0 0 auto; }
  .resource-grid { grid-template-columns: 1fr; gap: 8px; }
  .resource-card { min-height: 215px; padding: 14px; }
  .tool-cards { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; padding: 15px; }
  .counselor-layout { grid-template-columns: 1fr; }
  .pulse-panel { grid-template-columns: 1fr; gap: 12px; padding: 13px; }
  .pulse-art { min-height: 100px; }
  .pulse-art svg { width: 90px; }
  .pulse-ring.ring-one { width: 85px; height: 85px; }
  .pulse-ring.ring-two { width: 105px; height: 105px; }
  .community-grid { grid-template-columns: 1fr; gap: 8px; }
  .community-card { min-height: 185px; padding: 14px; }
  .urgent-card { grid-template-columns: 1fr; gap: 14px; padding: 17px; border-radius: 15px; }
  .urgent-copy h2 { font-size: 24px; }
  .faq-list { padding-inline: 12px; }
  .faq-list summary { min-height: 47px; font-size: 9px; }
  .faq-list details > p { font-size: 8px; }
  .dashboard-footer { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-footer > p { order: 3; width: 100%; }
  .floating-urgent { min-height: 35px; padding: 5px 9px 5px 6px; font-size: 8px; }
}
@media (max-width: 380px) {
  .welcome-panel { grid-template-columns: minmax(0, 1fr) 78px; padding-inline: 14px; }
  .welcome-panel h1 { font-size: 27px; }
  .welcome-mascot > img { width: 86px; }
  .mascot-bubble { right: -6px; }
  .feeling-card { font-size: 7px; }
  .privacy-bar > a { max-width: 65px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
