@charset "UTF-8";
@font-face {
  font-family: "Pretendard Variable";
  src: url("/fonts/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}
/* Midnight indigo: quiet surfaces, clear actions, consistent Korean typography. */
:root {
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none; color: var(--ink); background: var(--canvas);
  font-size: 16px; line-height: 1.65; letter-spacing: -.02em;
  --ink: #252b42; --muted: #626b80; --subtle: #687287;
  --primary: #505bb5; --primary-hover: #414b9d; --midnight: #232b49;
  --accent-soft: #eef0fc; --accent-line: #c8ceed;
  --canvas: #f5f6fa; --surface: #fff; --surface-soft: #f8f9fc;
  --line: #e2e5ef; --radius: 20px;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; }
button { cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #828dde; outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: #dce0ff; color: var(--midnight); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 240px; z-index: 50; background: var(--midnight); color: white; padding: 14px; border-radius: 8px; }
.skip-link:focus { top: 10px; }

/* Navigation and page rhythm */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 36px 20px 26px; z-index: 4; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin: 0 12px 46px; font-size: 30px; line-height: 1.15; font-weight: 760; letter-spacing: -.06em; }
.brand-symbol { display: grid; place-items: center; width: 35px; height: 35px; color: var(--primary); flex-shrink: 0; }
.brand-symbol svg { width: 100%; height: 100%; }
.brand-caption { display: block; font-size: 11px; font-weight: 450; letter-spacing: -.01em; margin-top: 8px; color: var(--muted); }
.nav-caption { font-size: 11px; color: var(--subtle); margin: 0 14px 12px; font-weight: 550; }
.main-nav { display: grid; gap: 6px; }
.nav-link { display: flex; gap: 12px; align-items: center; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 550; text-align: left; border-radius: 12px; min-height: 49px; padding: 0 14px; white-space: nowrap; }
.nav-link:hover { background: var(--surface-soft); color: var(--ink); }
.nav-link.active, .nav-link[aria-current=page] { background: var(--accent-soft); color: var(--primary); font-weight: 700; }
.nav-icon { width: 21px; height: 21px; display: grid; place-items: center; flex-shrink: 0; }
.nav-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-note { margin-top: auto; padding: 32px 12px 22px; }
.sidebar-note > span { font-size: 36px; line-height: 1; color: #a5aed7; }
.sidebar-note p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.sidebar-profile { border-top: 1px solid var(--line); padding: 22px 10px 0; display: flex; gap: 11px; align-items: center; }
.avatar { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--primary); font-size: 13px; font-weight: 650; }
.sidebar-profile strong { font-size: 13px; display: block; max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile div > span { font-size: 11px; color: var(--subtle); display: block; margin-top: 3px; }
.workspace { margin-left: 224px; }
.topbar { min-height: 74px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 14px 40px; background: var(--surface); gap: 22px; }
.topbar-label { font-size: 12px; color: var(--muted); }
.date-label { font-size: 12px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.topbar .text-button { white-space: nowrap; }
main { max-width: 1360px; margin: auto; padding: 36px 40px 0; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.eyebrow { font-size: 12px; font-weight: 550; color: var(--muted); margin: 0 0 8px; }
h1 { font-size: 32px; letter-spacing: -.045em; line-height: 1.35; margin: 0 0 10px; font-weight: 750; }
h2 { font-size: 18px; letter-spacing: -.03em; line-height: 1.55; margin: 0; font-weight: 680; }
h3 { font-size: 16px; letter-spacing: -.025em; line-height: 1.6; }
p { line-height: 1.8; font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
.subtitle { font-size: 14px; color: var(--muted); margin: 0; }
.soft-tag { font-size: 12px; color: var(--primary); background: var(--accent-soft); border: 1px solid #dfe3f7; padding: 7px 12px; border-radius: 100px; white-space: nowrap; }

/* A single, quiet visual anchor */
.hero-card { background: linear-gradient(112deg, #232b49 4%, #343c64 100%); color: #fff; position: relative; overflow: hidden; border-radius: var(--radius); min-height: 277px; margin-bottom: 24px; padding: 30px 34px; }
.hero-content { position: relative; z-index: 1; }
.hero-kicker { font-size: 12px; color: #cbd1ef; font-weight: 500; }
.hero-card h2 { font-size: 28px; line-height: 1.5; letter-spacing: -.04em; margin: 12px 0 10px; font-weight: 620; }
.hero-card p { color: #d0d5eb; font-size: 14px; margin: 0 0 22px; line-height: 1.8; }
.hero-card .primary { min-width: 154px; }
.hero-art { position: absolute; width: 360px; height: 360px; right: 20px; top: -18px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #cbd0ff26; border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 330px; height: 330px; }.orbit-two { width: 254px; height: 254px; }.orbit-three { width: 180px; height: 180px; border-color: #d6d9ff40; }
.orbit-center { position: absolute; width: 104px; height: 104px; border-radius: 50%; top: calc(50% - 52px); left: calc(50% - 52px); background: radial-gradient(circle at 33% 28%, #afb9ed, #7e8dc68f 54%, #6575b526 90%); box-shadow: 0 0 65px #bbc4ff12, inset 0 0 22px #e3e8ff18; }
.orbit-dot { position: absolute; width: 8px; height: 8px; left: 77px; top: 103px; border-radius: 50%; background: #c4ccff; box-shadow: 0 0 22px #b8c2ff70; }
.art-caption { position: absolute; top: 251px; width: 100%; text-align: center; font-size: 11px; letter-spacing: .16em; color: #c3cae8; }

/* Cards, buttons, and fields */
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,1fr); gap: 24px; align-items: start; }
.column { min-width: 0; display: grid; gap: 24px; align-content: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; box-shadow: 0 3px 14px #232b4903; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.section-title h2 { min-width: 0; }.section-title .eyebrow { margin-bottom: 5px; font-size: 12px; }
.section-help { color: var(--muted); font-size: 14px; margin: 8px 0 15px; line-height: 1.8; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--primary); border-radius: 7px; padding: 5px 9px; font-size: 12px; line-height: 1.5; font-weight: 600; white-space: nowrap; }
.pill.neutral { background: #f0f2f7; color: var(--muted); }
.small { font-size: 13px; }.muted { color: var(--muted); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 17px; border-radius: 10px; font-size: 14px; font-weight: 620; text-decoration: none; line-height: 1.5; }
.primary { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.primary.light { background: #edf0ff; color: #303b75; border-color: #edf0ff; }.primary.light:hover { background: #fff; border-color: #fff; }
.secondary { background: var(--surface); border: 1px solid #d8ddec; color: #4e5b80; }.secondary:hover { background: var(--accent-soft); border-color: var(--accent-line); }
.full { width: 100%; justify-content: space-between; }
.text-button { display: inline-flex; align-items: center; border: 0; background: transparent; padding: 7px 0; min-height: 36px; font-size: 13px; color: var(--primary); font-weight: 600; text-decoration: none; line-height: 1.65; }
.text-button:hover { color: var(--primary-hover); text-decoration: underline; }
label { display: block; font-size: 14px; font-weight: 600; color: #49536c; margin: 20px 0 9px; }
input, textarea, select { border: 1px solid #ccd2e1; color: var(--ink); background: var(--surface-soft); border-radius: 10px; max-width: 100%; min-width: 0; }
input, textarea { width: 100%; padding: 12px 14px; font-size: 15px; line-height: 1.8; }
input::placeholder, textarea::placeholder { color: #677187; opacity: 1; font-size: 14px; }
textarea { resize: vertical; min-height: 66px; }input:focus, textarea:focus { background: var(--surface); border-color: var(--primary); }
input[type=checkbox] { accent-color: var(--primary); }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.optional { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 24px 0 27px; margin-top: 36px; font-size: 12px; color: var(--muted); }

/* Today's preparation and reflection */
.checklist-note { border-top: 1px solid var(--line); margin: 8px 0 0; padding-top: 16px; font-size: 13px; line-height: 1.8; }
.check-row { display: flex; width: 100%; align-items: center; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid #edf0f6; background: none; padding: 16px 0; color: var(--ink); min-height: 77px; }.check-row:last-child { border-bottom: 0; }
.check-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: #f1f3fa; display: grid; place-items: center; color: #6b76a1; font-size: 17px; }
.check-copy { flex: 1; min-width: 0; }
.check-copy label, .check-copy strong { font-size: 14px; line-height: 1.55; color: #414c6a; font-weight: 600; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.check-copy p, .check-copy small, .check-copy span { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 4px 0 0; }.check-copy strong, .check-copy span { display: block; }
.check-row select { width: 108px; flex-shrink: 0; font-size: 13px; min-height: 40px; padding: 8px 7px; background: var(--surface); color: #4d587a; }
.check-row.done .check-icon { background: #e8ecfd; color: var(--primary); }.check-row.done .check-copy label, .check-row.done strong { color: var(--primary); }
.check-row.done select { border-color: var(--accent-line); background: var(--accent-soft); color: var(--primary); }.check-row input[type=checkbox] { width: 18px; height: 18px; }
.subtle-mark { color: #8c98bd; font-size: 25px; }
.meter-card { text-align: center; }.meter-card .section-title { text-align: left; }
.meter { position: relative; width: 226px; height: 226px; margin: 20px auto 14px; }.meter.mini { width: 200px; height: 200px; margin: 20px auto 8px; }
.meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }.meter circle { fill: none; stroke-width: 7; }.meter-track { stroke: #e9edf7; }.meter-arc { stroke: #7380cf; stroke-linecap: round; transition: stroke-dashoffset .7s; }
.meter-value { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.meter-value strong { font-size: 49px; font-weight: 550; letter-spacing: -.05em; line-height: 1.2; color: var(--midnight); font-variant-numeric: tabular-nums; }.meter-value span { font-size: 12px; color: var(--muted); }
.meter-card > p { font-size: 14px; color: var(--muted); }.meter-card > .secondary { margin-top: 8px; background: var(--surface-soft); font-size: 13px; }
.measurement-note, .analysis-disclosure { font-size: 12px !important; line-height: 1.8 !important; color: var(--muted) !important; margin: 14px 0 0; }
.paper-card { background: #edf0fa; border-color: #e1e5f3; }.card-marker { display: block; font-size: 12px; color: #667398; margin-bottom: 16px; }
.paper-card h2 { font-size: 21px; line-height: 1.75; font-weight: 550; color: #3f4b72; }.paper-card p { color: var(--muted); margin: 12px 0 14px; }
.continue-card { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.continue-card h2 { font-size: 18px; overflow-wrap: anywhere; }.continue-card p { white-space: pre-wrap; overflow-wrap: anywhere; }.continue-card .secondary { flex-shrink: 0; }
.question-guide { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.question-guide summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #4c587c; }.question-guide textarea { margin-bottom: 12px; }

/* Slow thinking session */
.focus-layout, .journal-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.focus-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }.focus-toolbar .text-button { flex-shrink: 0; }.focus-toolbar p { margin: 0; }
.focus-card { text-align: center; padding: 32px; }.focus-card .pill { white-space: normal; max-width: 100%; }
.focus-prompt { color: var(--muted); font-size: 13px; margin: 30px 0 10px; }.focus-card h2 { font-size: 21px; margin-bottom: 20px; overflow-wrap: anywhere; word-break: keep-all; }.focus-card > input { max-width: 420px; text-align: center; }
.timer { font-size: 78px; line-height: 1.2; letter-spacing: -.045em; font-weight: 350; color: var(--midnight); margin-top: 34px; font-variant-numeric: tabular-nums; }.timer-caption { font-size: 13px; color: var(--muted); margin: 12px 0 26px; }
.duration-options { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }.duration-options > button { border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); border-radius: 9px; font-size: 13px; min-height: 44px; padding: 8px 13px; }.duration-options > .selected, .duration-options > button.active { background: var(--accent-soft); color: var(--primary); border-color: #aeb9e8; font-weight: 650; }
.custom-duration { display: flex; align-items: center; gap: 5px; margin: 0; min-height: 44px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; padding-left: 10px; }.custom-duration input { padding: 6px; width: 60px; border: 0; font-size: 14px; background: transparent; line-height: 1.4; }
.session-actions { display: flex; justify-content: center; gap: 10px; margin: 28px auto 12px; flex-wrap: wrap; }.session-actions .primary { min-width: 190px; }.focus-card #blocking-state { font-size: 13px; line-height: 1.8; margin: 18px 0 0; }
.channel { display: flex; align-items: center; gap: 11px; min-height: 55px; border-bottom: 1px solid #edf0f6; padding: 12px 0; font-size: 14px; cursor: pointer; margin: 0; font-weight: 500; }.channel label { margin: 0; }.channel > input[type=checkbox] { width: 18px; height: 18px; }.channel > span { flex: 1; min-width: 0; }.channel .pill { margin-left: auto; flex: 0 0 auto; }.channel small { font-size: 12px; color: var(--muted); }.channel.unavailable { color: var(--muted); cursor: default; }.channel.unavailable small { font-weight: 400; }
.connection-box { padding: 16px; background: var(--accent-soft); border-radius: 12px; margin-top: 20px; }.connection-box strong { font-size: 13px; color: #485888; }.connection-box p { font-size: 13px; color: #596788; margin: 6px 0 2px; }.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #95a1ce; flex-shrink: 0; }
.setup-details { margin-top: 20px; font-size: 13px; color: var(--muted); }.setup-details summary { cursor: pointer; color: #4f608c; font-weight: 600; }.setup-details ol { padding-left: 19px; line-height: 1.9; }.setup-details li { padding-bottom: 6px; }.setup-details p { font-size: 13px; }.setup-details code { background: #e9edfa; padding: 1px 4px; border-radius: 4px; }
.mobile-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }.mobile-card > .secondary { margin-top: 16px; }.quiet-note { background: var(--surface-soft); border-left: 2px solid #b5bee2; color: var(--muted); padding: 12px 14px; font-size: 13px; line-height: 1.9; margin-top: 16px; }
.timer-hidden #timer { visibility: hidden; }.timer-hidden .timer-caption::before { content: '시간은 흘러가고 있어요. '; }.focusing .focus-card { border-color: #b6c0e8; box-shadow: 0 0 0 4px #eef0fc; }

/* Journal and the shared community */
.journal-writing { line-height: 2; min-height: 270px; }
.share-option { display: flex; align-items: flex-start; gap: 11px; background: var(--accent-soft); padding: 16px; border-radius: 12px; font-size: 14px; cursor: pointer; }.share-option input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }.share-option span > span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-top: 5px; word-break: keep-all; }
.share-preview { padding: 19px; border: 1px dashed #b4bfe3; border-radius: 12px; margin-top: 16px; background: var(--surface-soft); max-height: 350px; overflow: auto; }.share-preview h3 { margin-top: 0; overflow-wrap: anywhere; }.share-preview .prewrap { font-size: 14px; color: var(--muted); }.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.journal-history .section-title { margin-bottom: 16px; }.journal-history .text-button { white-space: normal; }.entry-item { padding: 19px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }.entry-item:first-child { border-top: 0; }.entry-item h3 { margin: 8px 0; font-size: 16px; }.entry-item p { font-size: 13px; color: var(--muted); margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }.entry-item .text-button { margin-right: 13px; }
.community-layout { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(270px,1fr); gap: 24px; align-items: start; }.development-notice { display: flex; gap: 11px; background: var(--accent-soft); padding: 15px 18px; border-radius: 12px; color: #5d6b94; }.notice-symbol { font-size: 18px; line-height: 1.8; }.development-notice p { font-size: 13px; margin: 0; line-height: 1.9; }.development-notice strong { font-weight: 600; color: #485784; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; margin: 2px 2px -7px; gap: 12px; }.feed-heading h2 { font-size: 16px; }.nickname-save { margin-top: 14px; justify-content: center; }
.community-guide { padding-top: 29px; }.guide-symbol { font-size: 34px; color: #7b89bc; display: block; margin-bottom: 16px; }.community-guide h2 { font-size: 21px; }.community-guide p { font-size: 14px; line-height: 2; margin: 16px 0 24px; }.community-guide .small { font-size: 12px; }
.post { padding: 26px; margin-bottom: 20px; overflow-wrap: anywhere; }.post-author { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #4d5879; }.post-author strong { font-size: 14px; }.post-author time, .post-author small, .post-author .small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }.post > h2, .post h3 { font-size: 20px; line-height: 1.65; margin: 20px 0 13px; }
.post-question { font-size: 14px; color: #55628d; padding: 12px 14px; background: var(--accent-soft); border-radius: 8px; border-left: 2px solid #b5c0e9; overflow-wrap: anywhere; }.post-body { font-size: 15px; color: #4f5a74; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }.post-actions { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }.post-actions > span { font-size: 13px; color: var(--muted); }
.cheer { font-size: 13px; background: var(--surface-soft); border: 1px solid var(--line); color: #617098; border-radius: 8px; padding: 9px 12px; min-height: 40px; }.cheer.active { color: var(--primary); background: var(--accent-soft); border-color: var(--accent-line); }
.comment { font-size: 14px; line-height: 1.8; margin: 14px 0; padding: 14px; background: var(--surface-soft); border-radius: 10px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-wrap; }.comment strong { font-size: 13px; color: #4e5b82; }.comment p { font-size: 14px; margin: 5px 0; }.comment-form { display: flex; align-items: center; gap: 8px; margin-top: 18px; min-width: 0; }.comment-form textarea, .comment-form input { font-size: 14px; min-height: 44px; padding: 10px 12px; flex: 1; width: 0; }.comment-form button { flex-shrink: 0; padding: 10px 12px; font-size: 13px; }
.empty-state { padding: 34px 15px; text-align: center; color: var(--muted); }.empty-icon { display: block; font-size: 36px; line-height: 1; color: #9aa7d0; margin-bottom: 16px; }.empty-state h3 { font-size: 16px; font-weight: 600; color: #59688e; margin: 12px 0; }.empty-state p { font-size: 14px; line-height: 1.9; margin: 8px 0; }.empty-state .secondary { margin-top: 14px; }.community-layout #community-feed > .empty-state { border: 1px dashed #ccd3e7; border-radius: var(--radius); background: var(--surface-soft); padding: 65px 20px; }

/* Reflection, output, and history */
.insights-layout { display: grid; grid-template-columns: minmax(300px,1fr) minmax(0,1.4fr); gap: 24px; align-items: stretch; margin-bottom: 24px; }.insights-layout .meter { margin-top: 14px; }.insights-layout .measurement-note { margin-bottom: 24px; }.analysis-card { display: flex; flex-direction: column; }.analysis-card > #ai-breakdown { flex: 1; }.analysis-card .empty-state { padding-top: 75px; }
.dimension { border-bottom: 1px solid var(--line); padding: 18px 0; text-align: left; }.dimension:last-child { border-bottom: 0; }.dimension-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: #4e5b85; font-weight: 600; }.dimension p { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 9px 0; }.dimension blockquote { margin: 10px 0 0; font-size: 13px; color: var(--muted); background: var(--surface-soft); padding: 10px 13px; border-left: 2px solid #b5bee2; line-height: 1.8; }.dimension progress { width: 100%; height: 6px; accent-color: #7380cf; }
.ai-action { font-size: 14px; color: #56668d; }.ai-action:not(:empty) { border-radius: 12px; background: var(--accent-soft); padding: 16px; margin-top: 18px; }.ai-action h3 { font-size: 16px; margin: 0 0 8px; }.ai-action p, .ai-action li { font-size: 14px; }.ai-action ul { padding-left: 18px; margin-bottom: 0; }
.output-card > .section-title .secondary { font-size: 13px; padding: 10px 12px; flex-shrink: 0; }.export-actions { justify-content: space-between; }.export-actions > .small { font-size: 12px; }
.history-card { margin: 24px 0; }.history-list, .search-results { display: grid; gap: 12px; }.history-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid var(--line); border-radius: 12px; gap: 14px; }.history-item > div { min-width: 0; overflow-wrap: anywhere; }.history-item strong { font-size: 20px; color: var(--primary); flex-shrink: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }.history-item p { margin: 4px 0; }.history-item time { font-size: 12px; color: var(--muted); }
.search-results:empty { display: none; }.search-hit { padding: 16px; border-radius: 12px; background: var(--surface-soft); white-space: pre-wrap; overflow-wrap: anywhere; }.search-hit h3 { margin: 0 0 8px; font-size: 16px; }.search-hit p { margin: 5px 0; }.search-controls { display: flex; gap: 10px; align-items: end; margin: 12px 0 18px; }.search-controls > div { flex: 1; }.search-controls .secondary { flex-shrink: 0; }

/* Connection settings and transient feedback */
dialog { border: 1px solid var(--line); border-radius: 22px; padding: 28px; max-width: 560px; width: calc(100% - 32px); max-height: 85dvh; color: var(--ink); background: var(--surface); overflow: auto; box-shadow: 0 20px 90px #20294933; }dialog::backdrop { background: #171e3866; backdrop-filter: blur(3px); }
.settings-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }.settings-section h3 { font-size: 18px; }.settings-section input, .settings-section select { margin-bottom: 8px; }.settings-section select { min-height: 44px; padding: 8px 12px; }.settings-section .full { text-align: center; justify-content: center; margin-top: 12px; }.settings-section p { line-height: 1.8; }.settings-section .text-button { margin-top: 12px; }.native-ready { padding: 16px; background: var(--accent-soft); border-radius: 12px; margin-top: 16px; }
.toast { position: fixed; left: calc(50% + 112px); bottom: 25px; transform: translateX(-50%); z-index: 40; background: var(--midnight); color: #f2f4ff; padding: 14px 22px; border-radius: 12px; box-shadow: 0 5px 28px #232b4926; max-width: calc(100vw - 40px); font-size: 14px; line-height: 1.8; text-align: center; word-break: keep-all; }

@media (min-width: 1500px) {
  main { padding-top: 42px; }.hero-card { padding: 34px 40px; }.hero-card h2 { font-size: 31px; }.hero-art { right: 75px; top: -10px; }.card { padding: 29px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 208px; padding-left: 15px; padding-right: 15px; }.workspace { margin-left: 208px; }.topbar { padding-left: 28px; padding-right: 28px; }main { padding: 30px 28px 0; }
  .hero-art { right: -55px; opacity: .7; }.hero-card { padding: 29px; }.dashboard-grid { grid-template-columns: minmax(0,1.3fr) minmax(260px,1fr); }
  .dashboard-grid, .focus-layout, .journal-layout, .community-layout, .insights-layout, .column { gap: 20px; }.card { padding: 22px; }
  .focus-layout, .journal-layout { grid-template-columns: minmax(0,1.2fr) minmax(270px,1fr); }.community-layout { grid-template-columns: minmax(0,1.55fr) minmax(245px,1fr); }.insights-layout { grid-template-columns: minmax(275px,1fr) minmax(0,1.3fr); }
  .check-row { gap: 9px; }.check-icon { width: 30px; height: 32px; }.check-row select { width: 96px; }.toast { left: calc(50% + 104px); }
}
@media (max-width: 900px) {
  /* A filtered ancestor would incorrectly anchor the fixed bottom navigation. */
  .sidebar { position: static; inset: auto; width: 100%; max-width: 100%; padding: 18px 24px; border-right: 0; border-bottom: 1px solid var(--line); backdrop-filter: none; filter: none; transform: none; }
  .sidebar .brand { font-size: 26px; margin: 0; gap: 9px; }.brand > span:last-child { display: flex; align-items: baseline; gap: 12px; }.brand-symbol { width: 29px; height: 29px; }.brand-caption { font-size: 11px; margin: 0; }
  .nav-caption, .sidebar-note, .sidebar-profile { display: none; }.workspace { margin-left: 0; }
  .main-nav { position: fixed; bottom: 0; left: 0; right: 0; top: auto; z-index: 30; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); width: 100%; margin: 0; padding: 7px 8px calc(7px + env(safe-area-inset-bottom,0px)); gap: 3px; background: #fffffffa; border-top: 1px solid var(--line); box-shadow: 0 -4px 22px #232b4906; backdrop-filter: blur(12px); }
  .main-nav .nav-link { width: 100%; min-width: 0; min-height: 55px; flex-direction: column; justify-content: center; gap: 5px; padding: 5px 1px; font-size: 12px; line-height: 1.35; border: 0; border-radius: 10px; letter-spacing: -.025em; }.main-nav .nav-icon, .main-nav .nav-icon svg { width: 21px; height: 21px; }
  .topbar { min-height: 52px; padding: 8px 24px; gap: 18px; background: var(--canvas); border: 0; }.topbar-label { display: none; }.topbar .text-button { min-height: 36px; }
  main { padding: 22px 24px calc(96px + env(safe-area-inset-bottom,0px)); }.page-heading .soft-tag { display: none; }
  .dashboard-grid, .focus-layout, .journal-layout, .community-layout, .insights-layout { grid-template-columns: minmax(0,1fr); }.dashboard-grid > .column:last-child { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; }.paper-card { display: flex; flex-direction: column; justify-content: center; }
  .hero-art { right: 10px; opacity: .65; }.meter.mini { width: 185px; height: 185px; }.analysis-card .empty-state { padding-top: 35px; }
  .toast { left: 50%; bottom: calc(87px + env(safe-area-inset-bottom,0px)); width: max-content; max-width: calc(100% - 32px); }.skip-link { left: 12px; }
  dialog { max-height: calc(100dvh - 35px); padding: 24px; }
  input, textarea, select, .focus-card > input, .comment-form input, .comment-form textarea, .custom-duration input { font-size: 16px; }
  .continue-card { flex-direction: column; align-items: stretch; }.focus-toolbar { align-items: flex-start; }
}
@media (max-width: 600px) {
  .sidebar { padding: 17px 20px; }.topbar { padding: 8px 20px; gap: 14px; }.date-label { font-size: 12px; white-space: normal; text-align: right; }
  main { padding: 17px 18px calc(96px + env(safe-area-inset-bottom,0px)); }h1 { font-size: 28px; margin-bottom: 9px; }
  .page-heading { margin-bottom: 22px; align-items: flex-start; gap: 12px; }.page-heading .subtitle { line-height: 1.85; }.page-heading > .primary { min-height: 44px; font-size: 13px; padding: 10px 12px; flex-shrink: 0; margin-top: 26px; }.page-heading > .primary span { display: none; }
  .hero-card { padding: 26px 24px; border-radius: 18px; margin-bottom: 20px; }.hero-card h2 { font-size: 25px; }.hero-card p { font-size: 13px; }.hero-art { width: 290px; height: 290px; top: 45px; right: -163px; opacity: .42; }.art-caption { display: none; }.hero-content { max-width: 100%; }
  .card, .post { padding: 22px; border-radius: 18px; }.dashboard-grid, .column, .focus-layout, .journal-layout, .community-layout, .insights-layout { gap: 18px; }.dashboard-grid > .column:last-child { grid-template-columns: minmax(0,1fr); }.dashboard-grid > .column:last-child .paper-card { min-height: 235px; }
  .section-title { flex-wrap: wrap; gap: 8px; }.section-title h2 { font-size: 17px; }.section-title > .pill { font-size: 11px; flex-shrink: 0; }
  .check-row { gap: 10px; }.check-icon { width: 30px; height: 32px; }.check-row select { width: 98px; font-size: 14px; padding: 9px 5px; min-height: 44px; }.check-copy label { font-size: 14px; }.check-copy p { font-size: 12px; }.checklist-note { font-size: 13px; }.meter.mini { width: 200px; height: 200px; }
  .focus-card { padding: 28px 20px; }.focus-card h2 { font-size: 20px; }.timer { font-size: 72px; }.focus-toolbar { gap: 12px; }.focus-toolbar p { font-size: 13px; }.session-actions .primary { min-width: 170px; }.duration-options { gap: 7px; }.duration-options > button { padding: 8px 12px; }
  .journal-writing { min-height: 250px; }.post-body { font-size: 15px; }.comment-form { gap: 7px; }.comment-form button { min-height: 46px; }.output-card .section-title { align-items: flex-start; }.export-actions { align-items: flex-start; }
  .search-controls { flex-wrap: wrap; }.search-controls > div { min-width: 100%; }.footer { margin-top: 28px; font-size: 11px; line-height: 1.8; padding: 20px 1px; flex-wrap: wrap; gap: 3px; }.footer > span:last-child { display: none; }dialog { padding: 21px; }
}
@media (max-width: 365px) {
  .sidebar { padding: 16px; }.topbar { padding: 8px 16px; gap: 10px; }.date-label { font-size: 11px; }main { padding-left: 14px; padding-right: 14px; }
  .main-nav { gap: 1px; padding-left: 5px; padding-right: 5px; }.main-nav .nav-link { font-size: 11px; }.hero-card { padding: 24px 20px; }.hero-card h2 { font-size: 22px; }.card, .post { padding: 18px; }
  .check-row { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 7px 10px; }.check-icon { width: 28px; height: 30px; }.check-row select { grid-column: 2; width: 100%; }
  .page-heading { flex-wrap: wrap; }.page-heading > .primary { margin-top: 0; }.timer { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.shared-focus-card { margin-bottom: 24px; border: 1px solid #d8ddf2; }
.shared-focus-card summary { cursor: pointer; color: var(--primary, #505bb5); font-weight: 600; padding: 10px 0; }
.alarms-card { margin: 0 0 24px; }
.alarms-card h3 { font-size: 16px; margin: 0 0 12px; }
.alarm-capability { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 16px; background: #f2f3fb; border-radius: 14px; margin: 18px 0; }
.alarm-capability > span { font-size: 14px; font-weight: 650; }
.alarm-capability p { flex-basis: 100%; margin: 0; line-height: 1.7; }
.alarm-capability button { padding: 9px 13px; }
.alarm-native-guide { margin: 16px 0; padding: 12px 14px; border: 1px solid #dce0f0; border-radius: 12px; }
.alarm-native-guide summary { cursor: pointer; font-size: 14px; font-weight: 650; }
.alarm-native-guide p { line-height: 1.7; }
.alarm-form, .alarm-invitation { padding: 22px; margin: 20px 0; border: 1px solid #dce0f0; background: #fafbff; border-radius: 16px; }
.alarm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.alarm-form-grid > div { min-width: 0; }
.alarms-card select { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; }
.alarms-card input, .alarms-card textarea { max-width: 100%; min-width: 0; }
.alarm-choice { display: flex; align-items: center; gap: 10px; margin: 12px 0; cursor: pointer; }
.alarm-choice input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; padding: 0; accent-color: #5967b2; }
.alarm-recipients { margin: 20px 0 0; padding: 12px 16px; border: 1px solid #dce0f0; border-radius: 12px; }
.alarm-recipients legend { font-size: 14px; font-weight: 650; padding: 0 6px; }
.alarm-list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.alarm-list-heading h3 { margin: 0; }
.alarm-list-heading select { width: auto; font-size: 13px; }
.alarm-empty { border: 1px dashed #dce0f0; border-radius: 14px; padding: 24px 16px; text-align: center; font-size: 14px; line-height: 1.7; }
.alarm-item { padding: 18px; border: 1px solid #e1e5f1; border-radius: 14px; margin: 12px 0; overflow-wrap: anywhere; }
.alarm-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.alarm-item-top strong { font-size: 14px; color: #53619e; font-variant-numeric: tabular-nums; }
.alarm-item p { line-height: 1.7; margin: 8px 0; }
.alarm-item .shared-actions { margin-bottom: 0; }
.alarm-note { white-space: pre-wrap; font-size: 14px; }
.alarm-sharing { color: #4c5892; }
#alarm-people { margin-top: 22px; border-top: 1px solid #e1e5f1; padding-top: 16px; }
#alarm-people summary { cursor: pointer; font-weight: 650; font-size: 15px; padding: 8px 0; }
#alarm-link-area { margin-top: 20px; }
#alarm-link-area button { margin-top: 10px; }
.alarm-person { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid #e1e5f1; overflow-wrap: anywhere; }
.alarm-person strong { font-size: 14px; }
.alarm-ringing { width: min(440px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 26px; color: #26334d; box-shadow: 0 24px 80px #15264d40; max-height: 85dvh; overflow-y: auto; }
.alarm-ringing::backdrop { background: #18244188; backdrop-filter: blur(5px); }
.alarm-ringing h2 { font-size: 26px; }
.alarm-ringing > button { width: 100%; }
.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; }
@media (max-width: 600px) {
  .alarm-form-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .alarm-form, .alarm-invitation { padding: 15px; }
  .alarms-card > .section-title { align-items: center; gap: 12px; }
  .alarms-card > .section-title h2 { font-size: 19px; }
  #alarm-new { flex-shrink: 0; padding: 12px; font-size: 13px; }
  .alarm-item { padding: 15px; }
  .alarm-choice { align-items: flex-start; }
  #alarm-at { width: 100%; font-size: 16px; min-height: 48px; }
}
.shared-focus-card details[open] > summary { margin-bottom: 14px; }
.shared-setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.shared-setup-grid form { min-width: 0; padding: 20px; border-radius: 14px; background: var(--accent-soft, #eef0fc); }
.shared-setup-grid h3 { margin: 0 0 16px; font-size: 16px; }
.shared-setup-grid button { margin-top: 16px; }
.shared-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.shared-members { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.shared-member { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 15px; border-radius: 12px; background: #f3f4fa; }
.shared-member strong, #shared-room-topic { overflow-wrap: anywhere; }
#shared-network { margin-top: 16px; }
#shared-link { font-size: 13px; }
@media (max-width: 600px) {
  .shared-setup-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .shared-setup-grid form { padding: 16px; }
  #shared-link { font-size: 16px; }
  .shared-actions > button { flex: 1 1 auto; }
}
