@charset "UTF-8";
:root {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  color: #172238;
  background: #f5f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #172238;
  --muted: #5e6c82;
  --line: #dce3ee;
  --green: #295bea;
  --pale: #eaf0ff;
  --apricot: #f4d6b8;
  --red: #a13f32;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; }
button, input, textarea, select { outline-offset: 4px; }
:focus-visible { outline: 3px solid #577aff; outline-offset: 4px; }
button { border: 0; background: none; }
button svg { flex-shrink: 0; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.05em; line-height: 1.35; word-break: keep-all; }
h1 { font-size: 36px; }
h2 { font-size: 21px; }
h3 { font-size: 16px; }
input, textarea, select { min-width: 0; color: var(--ink); border: 1px solid #dce3ee; background: var(--white); border-radius: 9px; padding: 11px 13px; }
textarea { resize: vertical; min-height: 100px; line-height: 1.85; }
input::placeholder, textarea::placeholder { color: #5e6c82; opacity: 1; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 auto; }
input[type="date"] { min-height: 45px; }
label { font-size: 13px; font-weight: 600; }
small, .muted { color: var(--muted); }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 99; background: var(--green); color: white; padding: 10px 18px; }
.skip-link:focus { top: 10px; }
.startup { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 40px; text-align: center; }
.app-shell { display: grid; grid-template-columns: 214px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 214px; background: #eaf0ff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 33px 20px 22px; z-index: 3; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px; text-align: left; }
.brand-mark { width: 38px; height: 42px; border-radius: 15px 15px 6px 15px; background: var(--green); color: #f9f2dd; display: grid; place-items: center; font-size: 24px; font-family: "Batang", "바탕", serif; font-weight: 600; }
.brand-name { font-size: 23px; font-weight: 750; letter-spacing: -.08em; }
.brand-sub { display: block; font-size: 9px; letter-spacing: .23em; color: #5e6c82; margin-top: -2px; }
[data-edition="business"] .brand-sub { letter-spacing: .04em; font-size: 10px; }
.sidebar-caption { font-size: 10px; font-weight: 650; letter-spacing: .16em; color: #5e6c82; padding: 0 14px; margin: 48px 0 13px; }
.nav { display: grid; gap: 5px; }
.nav-button { display: flex; gap: 12px; align-items: center; padding: 13px 15px; width: 100%; border-radius: 10px; color: #5e6c82; text-align: left; font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.nav-button:hover { background: #eaf0ff; color: var(--ink); }
.nav-button.active { color: #295bea; background: #eaf0ff; }
.nav-button.active::after { content: ""; width: 5px; height: 5px; margin-left: auto; background: #295bea; border-radius: 100%; }
.sidebar-note { margin: auto 9px 20px; padding: 35px 5px 0; color: #5e6c82; font-size: 12px; line-height: 1.95; }
.sidebar-note svg { margin-bottom: 14px; }
.sidebar-footer { border-top: 1px solid #dce3ee; padding-top: 13px; }
.workspace { grid-column: 2; min-width: 0; }
.topbar { height: 85px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 46px; gap: 18px; }
.edition-badge { display: flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #dce3ee; border-radius: 9px; background: #eaf0ff; font-size: 12px; color: #295bea; }
.edition-badge span { color: #5e6c82; font-size: 11px; margin-left: 5px; }
[data-edition="business"] .edition-badge { background: #eaf0ff; border-color: #dce3ee; }
.top-status { font-size: 11px; color: #5e6c82; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; background: #295bea; border-radius: 50%; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eaf0ff; color: #5e6c82; margin-left: 11px; }
.main { padding: 38px 46px 50px; max-width: 1280px; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #5e6c82; font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-bottom: 13px; }
.date-label { font-size: 12px; font-weight: 500; letter-spacing: -.01em; }
.hero { min-height: 230px; display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: center; gap: 20px; margin: 0 0 28px; }
.hero h1 { font-size: clamp(32px,3.15vw,45px); line-height: 1.38; font-weight: 600; }
.hero h1 em { font-style: normal; color: #295bea; }
.hero-description { margin-top: 17px; font-size: 13px; line-height: 1.95; color: #5e6c82; }
.hero-art { width: 260px; height: 225px; align-self: end; }
.hero-art svg { width: 100%; height: 100%; }
.panel { border: 1px solid var(--line); background: var(--white); border-radius: 15px; }
.composer { padding: 27px 29px 18px; position: relative; box-shadow: 0 4px 22px #28382103; }
.composer-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: 12px; font-weight: 600; color: #5e6c82; }
.composer textarea { border: 0; border-radius: 0; width: 100%; display: block; padding: 12px 0; min-height: 135px; resize: vertical; background: transparent; font-size: 17px; line-height: 1.95; }
.composer textarea::placeholder { color: #5e6c82; }
.composer textarea:focus { outline-offset: 3px; border-radius: 4px; }
.composer-bottom { display: flex; justify-content: space-between; gap: 15px; align-items: center; border-top: 1px solid #eaf0ff; padding-top: 16px; margin-top: 12px; }
.composer-tools { display: flex; align-items: center; gap: 13px; min-width: 0; color: #5e6c82; font-size: 11px; }
.subtle-button { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #5e6c82; padding: 4px 0; }
.subtle-button:hover { color: var(--green); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border-radius: 9px; background: var(--green); color: #ffffff; font-size: 12px; font-weight: 600; min-height: 42px; white-space: nowrap; transition: background .15s; }
.button:hover { background: #295bea; }
.button.secondary { border: 1px solid #dce3ee; background: var(--white); color: var(--ink); }
.button.secondary:hover { background: #eaf0ff; }
.button.quiet { background: #eaf0ff; color: #5e6c82; }
.button.quiet:hover { background: #eaf0ff; }
.button.danger { background: #f5e8e3; color: var(--red); }
.button.danger:hover { background: #efd6cd; }
.button.small { padding: 7px 12px; min-height: 34px; }
.icon-button { width: 32px; height: 32px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #5e6c82; flex: 0 0 auto; }
.icon-button:hover { background: #eaf0ff; color: var(--green); }
.icon-button.starred { color: #926320; background: #fbf1dc; }
.icon-button.danger:hover { color: var(--red); background: #f8eae6; }
.composer-date { margin-top: 15px; display: flex; align-items: center; gap: 12px; }
.composer-date[hidden] { display: none; }
.save-status { margin: 12px 0 0; min-height: 19px; font-size: 11px; text-align: right; color: #5e6c82; }
.gentle-note { font-size: 11px; color: #5e6c82; text-align: center; margin: 14px 0 29px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; }
.section-heading h2 { font-size: 17px; display: flex; gap: 10px; align-items: baseline; }
.section-heading h2 span { font-size: 11px; font-weight: 500; color: #5e6c82; letter-spacing: 0; }
.recent-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.entry-card { padding: 19px 22px; min-width: 0; position: relative; }
.entry-card-date { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; font-size: 10px; font-weight: 600; color: #5e6c82; letter-spacing: .02em; }
.entry-card h3 { font-size: 14px; line-height: 1.8; letter-spacing: -.035em; overflow-wrap: anywhere; }
.entry-body { color: #5e6c82; margin-top: 7px; font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.entry-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; border-top: 1px solid #eaf0ff; padding-top: 12px; }
.entry-card-footer .subtle-button { font-size: 11px; }
.entry-actions { display: flex; gap: 2px; }
.tiny-label { font-size: 10px; color: #5e6c82; display: flex; align-items: center; gap: 5px; }
.example-card { border-style: dashed; background: #f5f7fb; }
.example-pill { padding: 2px 7px; border-radius: 5px; background: #eaf0ff; color: #5e6c82; font-size: 9px; }
.bottom-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #eaf0ff; padding: 20px 24px; border-radius: 12px; margin-top: 24px; }
.bottom-banner p { font-size: 12px; color: #5e6c82; }
.bottom-banner strong { font-size: 12px; font-weight: 650; display: block; color: #5e6c82; margin-bottom: 3px; }
.bottom-banner svg { color: #5e6c82; }
.banner-copy { display: flex; align-items: center; gap: 15px; }
.page-heading { margin-bottom: 30px; display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.page-heading h1 { font-size: 32px; }
.page-heading p { color: var(--muted); font-size: 12px; margin-top: 12px; max-width: 600px; }
.page-heading .eyebrow { margin-bottom: 11px; }
.inline-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 23px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.grow { flex: 1; min-width: 180px; }
.field small { font-size: 11px; font-weight: 400; }
.field label, .field-label { color: #5e6c82; font-size: 11px; font-weight: 600; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 13px; top: 15px; color: #5e6c82; }
.search-wrap input { width: 100%; padding-left: 39px; }
.filter-check { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-weight: 500; font-size: 12px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; color: #5e6c82; font-size: 12px; }
.tabs { display: flex; gap: 4px; padding: 3px; background: #eaf0ff; border-radius: 8px; }
.tab { padding: 6px 12px; border-radius: 6px; font-size: 11px; }
.tab.active { background: var(--white); box-shadow: 0 1px 3px #20341d0d; }
.entries-list { display: grid; gap: 14px; }
.more-row { display: grid; justify-items: center; gap: 10px; padding: 15px 0; }
.entries-list .entry-card { min-height: 135px; }
.empty-state { display: grid; justify-items: center; text-align: center; padding: 55px 25px; border: 1px dashed #dce3ee; border-radius: 14px; background: #f5f7fb; }
.empty-state .empty-icon { width: 55px; height: 55px; display: grid; place-items: center; background: #eaf0ff; color: #5e6c82; border-radius: 18px; margin-bottom: 20px; }
.empty-state h2 { font-size: 19px; }
.empty-state p { color: #5e6c82; font-size: 12px; margin: 12px 0 22px; max-width: 390px; line-height: 1.9; }
.notice { background: #eaf0ff; border-radius: 10px; padding: 13px 17px; font-size: 11px; color: #5e6c82; line-height: 1.85; }
.notice.warning { color: #89643b; background: #f8efdf; }
.notice.error { background: #faeae6; color: var(--red); }
.notice + .notice { margin-top: 12px; }
.report-layout { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 22px; align-items: start; }
.report-controls { padding: 22px; display: grid; gap: 19px; }
.report-controls h2 { font-size: 15px; margin-bottom: 1px; }
.report-controls .button { width: 100%; }
.report-preview { min-height: 530px; }
.preview-toolbar { padding: 19px 23px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preview-toolbar h2 { font-size: 14px; }
.preview-content { padding: 30px; }
.report-empty { padding: 65px 28px; text-align: center; color: #5e6c82; display: grid; justify-items: center; gap: 15px; }
.report-empty h3 { font-size: 17px; }
.report-empty p { font-size: 12px; max-width: 275px; }
.document-title { font-size: 23px; margin-bottom: 9px; }
.document-range { font-size: 11px; color: #5e6c82; }
.document-note { font-size: 12px; color: #5e6c82; line-height: 1.95; margin-top: 20px; }
.document-records { margin-top: 30px; }
.document-record { border-top: 1px solid #eaf0ff; padding: 23px 0; }
.document-record-top { display: flex; gap: 9px; align-items: center; color: #5e6c82; font-size: 10px; }
.document-number { color: #5e6c82; font-size: 12px; font-weight: 600; margin-right: 3px; }
.document-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 2; margin: 14px 0 12px; color: #5e6c82; }
.document-record .subtle-button { font-size: 10px; color: #5e6c82; }
.report-count { color: #5e6c82; font-size: 11px; margin-top: 18px; }
.handoff-grid { display: grid; gap: 15px; }
.handoff-card { padding: 24px; }
.handoff-card-top { display: flex; justify-content: space-between; gap: 20px; }
.handoff-card p { font-size: 12px; color: #5e6c82; margin-top: 8px; }
.inline-arrow { display: inline-block; vertical-align: middle; margin: 0 7px; }
.handoff-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 11px; color: #5e6c82; }
.status-pill { border-radius: 6px; background: #eaf0ff; color: #5e6c82; padding: 3px 8px; font-size: 10px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.status-pill.pending { background: #f2eee3; color: #7d673e; }
.status-pill.changes { background: #f7e9df; color: #985929; }
.status-pill.company_wait { background: #e7eef1; color: #4b6e80; }
.status-pill.accepted { background: #eaf0ff; color: #5e6c82; }
.back-button { margin: 0 0 20px; }
.handoff-editor { display: grid; gap: 19px; }
.handoff-info { padding: 25px; display: grid; gap: 19px; }
.form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.progress-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; }
.handoff-items { display: grid; gap: 12px; }
.handoff-item { border: 1px solid var(--line); border-radius: 11px; background: var(--white); overflow: hidden; }
.handoff-item summary { display: flex; align-items: center; gap: 11px; padding: 17px 21px; cursor: pointer; list-style: none; }
.handoff-item summary::-webkit-details-marker { display: none; }
.handoff-item summary::after { content: "+"; font-size: 20px; color: #5e6c82; margin-left: auto; }
.handoff-item[open] summary::after { content: "−"; }
.item-number { width: 27px; height: 27px; display: grid; place-items: center; color: #5e6c82; border: 1px solid #dce3ee; border-radius: 7px; font-size: 11px; flex-shrink: 0; }
.item-title { font-size: 13px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; min-width: 0; }
.item-content { padding: 5px 21px 23px; display: grid; gap: 16px; }
.item-guidance { font-size: 11px; color: #876a3a; background: #faf4e7; border-radius: 7px; padding: 9px 12px; }
.source-note { background: #f5f7fb; padding: 12px 15px; font-size: 11px; color: #5e6c82; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sticky-save { position: sticky; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; background: #fffefaed; border: 1px solid #dce3ee; box-shadow: 0 5px 30px #25352112; border-radius: 11px; z-index: 2; backdrop-filter: blur(12px); }
.sticky-save p { font-size: 11px; color: #5e6c82; }
.history { padding: 22px; }
.history h2 { font-size: 16px; margin-bottom: 7px; }
.history > p { font-size: 11px; color: #5e6c82; }
.history ol { list-style: none; padding: 0; margin: 20px 0 0; }
.history li { border-top: 1px solid #eaf0ff; padding: 11px 0; font-size: 11px; color: #5e6c82; }
.history time { display: block; font-size: 10px; color: #5e6c82; }
.settings-stack { display: grid; gap: 20px; max-width: 850px; }
.settings-panel { padding: 27px; }
.settings-panel h2 { font-size: 18px; margin-bottom: 9px; }
.settings-panel > p { font-size: 12px; color: #5e6c82; margin-bottom: 21px; }
.setting-inline { display: flex; gap: 12px; align-items: flex-end; }
.setting-inline input { width: 100%; }
.setting-inline .field { flex: 1; }
.settings-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.settings-columns > div { padding: 19px; border: 1px solid var(--line); border-radius: 10px; }
.settings-columns h3 { margin-bottom: 8px; font-size: 14px; }
.settings-columns p { font-size: 11px; color: #5e6c82; margin-bottom: 18px; }
.privacy-list { display: grid; gap: 14px; margin-top: 17px; }
.privacy-row { display: flex; gap: 12px; font-size: 12px; color: #5e6c82; }
.privacy-row svg { color: #5e6c82; flex-shrink: 0; margin-top: 3px; }
.privacy-row strong { color: #5e6c82; font-weight: 600; display: block; }
.local-path { overflow-wrap: anywhere; margin-top: 16px; color: #5e6c82; font-size: 10px; }
.app-version { margin-top: 22px; color: #5e6c82; font-size: 11px; text-align: center; }
dialog { width: min(640px,calc(100vw - 36px)); max-height: calc(100vh - 60px); border: 1px solid #dce3ee; border-radius: 16px; background: var(--white); color: var(--ink); padding: 0; box-shadow: 0 24px 100px #20372530; }
dialog::backdrop { background: #1f302c55; backdrop-filter: blur(3px); }
.modal-header { padding: 24px 27px 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal-header h2 { font-size: 22px; }
.modal-header p { color: #5e6c82; margin-top: 7px; font-size: 12px; }
.modal-body { padding: 6px 27px 27px; display: grid; gap: 18px; }
.modal-body textarea { min-height: 180px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 6px; }
.selection-toolbar { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 11px; color: #5e6c82; }
.selection-list { max-height: 240px; overflow-y: auto; display: grid; gap: 7px; padding: 3px; }
#selection-summary { margin-top: -10px; line-height: 1.8; }
#new-handoff-form .selection-list { min-height: 90px; }
.selection-entry { display: flex; align-items: flex-start; gap: 10px; padding: 11px; background: #f5f7fb; border-radius: 8px; font-weight: 400; font-size: 12px; cursor: pointer; }
.selection-entry input { margin-top: 4px; }
.selection-entry small { display: block; font-size: 10px; margin-bottom: 2px; color: #5e6c82; }
.selection-entry span { overflow-wrap: anywhere; }
.form-error { font-size: 12px; color: var(--red); border-radius: 7px; background: #faeae5; padding: 9px 12px; }
.form-error:empty { display: none; }
.toast { position: fixed; left: calc(50% + 107px); bottom: 28px; transform: translateX(-50%) translateY(20px); background: #295bea; color: #ffffff; border: 1px solid #5e6c82; border-radius: 10px; padding: 13px 23px; font-size: 12px; box-shadow: 0 10px 35px #1c302c22; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; z-index: 20; max-width: calc(100vw - 60px); overflow-wrap: anywhere; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #8b4035; border-color: #a26155; }
.spacer-top { margin-top: 20px; }
[hidden] { display: none !important; }
@media (min-width: 1450px) { .main { padding-top: 48px; } .hero { margin-bottom: 38px; } }
@media (max-width: 1150px) { .sidebar { width: 190px; padding-left: 13px; padding-right: 13px; } .app-shell { grid-template-columns: 190px minmax(0,1fr); } .main { padding: 30px; } .topbar { padding: 0 30px; } .hero { grid-template-columns: minmax(0,1fr) 190px; min-height: 215px; } .hero-art { width: 190px; height: 190px; } .hero h1 { font-size: 34px; } .toast { left: calc(50% + 95px); } .report-layout { grid-template-columns: 220px minmax(0,1fr); gap: 16px; } .report-controls { padding: 18px; } }
@media (max-width: 920px) { .sidebar { width: 170px; padding-left: 10px; padding-right: 10px; } .app-shell { grid-template-columns: 170px minmax(0,1fr); } .brand { padding-left: 9px; gap: 8px; } .brand-name { font-size: 21px; } .brand-sub { font-size: 8px; } .nav-button { font-size: 12px; padding: 12px; gap: 9px; } .main { padding: 27px 24px; } .topbar { padding: 0 24px; } .top-status { font-size: 10px; } .hero { grid-template-columns: minmax(0,1fr) 150px; gap: 5px; } .hero-art { width: 150px; height: 175px; } .hero h1 { font-size: 29px; } .hero-description { font-size: 12px; } .composer { padding: 21px; } .composer textarea { font-size: 15px; } .recent-grid { gap: 11px; } .entry-card { padding: 16px; } .shortcut-hint { display: none; } .report-layout { grid-template-columns: 1fr; } .report-controls { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; } .report-controls h2 { grid-column: 1/-1; } .report-controls .notice { grid-column: 1/3; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .field:last-child { grid-column: 1/-1; } .toast { left: calc(50% + 85px); } }
@media (max-width: 710px) { .app-shell { grid-template-columns: 70px minmax(0,1fr); } .sidebar { width: 70px; padding: 25px 9px 16px; align-items: center; } .brand { padding: 0; } .brand-copy,.sidebar-caption,.sidebar-note,.nav-label { display: none; } .nav { margin-top: 36px; width: 100%; } .nav-button { padding: 14px 0; justify-content: center; } .nav-button.active::after { display: none; } .sidebar-footer { margin-top: auto; width: 100%; } .topbar { height: 73px; padding: 0 20px; } .top-status .offline-text { display: none; } .main { padding: 24px 20px; } .hero { grid-template-columns: 1fr; min-height: 0; margin-bottom: 26px; } .hero-art { display: none; } .hero h1 { font-size: 33px; } .hero-description { margin-top: 13px; } .recent-grid { grid-template-columns: 1fr; } .composer-tools { gap: 6px; } .composer-bottom { gap: 8px; } .composer { padding: 19px; } .composer textarea { min-height: 160px; } .gentle-note { font-size: 10px; text-align: left; } .bottom-banner { padding: 16px; } .bottom-banner p { display: none; } .banner-copy { gap: 10px; } .bottom-banner .subtle-button { font-size: 11px; } .page-heading { flex-direction: column; align-items: flex-start; gap: 18px; } .page-heading h1 { font-size: 29px; } .settings-columns { grid-template-columns: 1fr; } .form-grid,.form-grid.two { grid-template-columns: 1fr; } .report-controls { grid-template-columns: 1fr 1fr; } .report-controls > .field:first-of-type { grid-column: 1/-1; } .report-controls .notice { grid-column: 1/-1; } .preview-content { padding: 20px; } .handoff-card-top { gap: 10px; } .handoff-card { padding: 19px; } .sticky-save { padding: 12px; } .sticky-save p { max-width: 180px; } .toast { left: calc(50% + 35px); max-width: calc(100vw - 110px); } .settings-panel { padding: 20px; } .filters .field { flex: 1; } .edition-badge { padding: 7px 10px; } .edition-badge span { display: none; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Connected accounts retain the quiet rhythm of the daily journal. */
.service-shell { min-height: 100vh; max-width: 1420px; margin: auto; padding: 34px 54px 24px; }
.service-shell > header, .service-shell > footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.service-brand { display: flex; gap: 13px; align-items: center; }
.service-brand strong { display: block; font-size: 21px; letter-spacing: -.045em; }
.service-brand span:not(.brand-mark):not(.edition-tag) { display: block; font-size: 10px; color: #5e6c82; margin-top: 2px; }
.edition-tag { padding: 3px 9px; border: 1px solid #dce3ee; border-radius: 20px; font-size: 10px; color: #5e6c82; margin-left: 8px; }
.service-layout { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(380px,1fr); margin: 40px 0 25px; gap: 70px; align-items: center; }
.service-story { min-height: 590px; border-radius: 130px 130px 25px 25px; background: #eaf0ff; padding: 37px 44px 30px; position: relative; overflow: hidden; }
.story-number { font-size: 9px; letter-spacing: .16em; color: #5e6c82; text-align: center; }
.service-story .hero-art { width: 270px; height: 243px; margin: 18px auto 16px; }
.service-story blockquote { margin: 0; font-size: 31px; line-height: 1.6; font-weight: 500; letter-spacing: -.065em; color: #5e6c82; }
.service-story > p:not(.story-number) { font-size: 11px; margin-top: 19px; color: #5e6c82; }
.story-mark { font-size: 10px; letter-spacing: .22em; border-top: 1px solid #dce3ee; padding-top: 17px; margin-top: 25px; color: #5e6c82; }
.service-card { padding: 12px 6px; max-width: 510px; width: 100%; }
.service-card h1 { font-size: 35px; line-height: 1.45; }
.service-intro { color: #5e6c82; font-size: 13px; line-height: 1.9; margin: 17px 0 25px; }
.welcome-choices { display: grid; gap: 13px; margin-top: 36px; }
.welcome-choices .button { min-height: 52px; font-size: 13px; justify-content: space-between; padding: 14px 19px; }
.welcome-choices .button svg { order: 2; }
.service-footnote { font-size: 11px; color: #5e6c82; margin-top: 22px; line-height: 1.9; }
.service-form { display: grid; gap: 16px; }
.service-form > .button { width: 100%; }
.service-form .field input { width: 100%; }
.service-form .filter-check { line-height: 1.65; align-items: flex-start; min-height: auto; }
.service-form .filter-check input { margin-top: 4px; flex-shrink: 0; }
.service-terms { background: #eaf0ff; padding: 12px 15px; border-radius: 9px; color: #5e6c82; font-size: 11px; }
.service-terms summary { cursor: pointer; font-weight: 600; }
.service-terms p { padding-top: 12px; }
.auth-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 2px; }
.button.link-button { padding: 3px 0; background: none; color: #5e6c82; border: 0; min-height: 28px; font-size: 11px; font-weight: 500; white-space: normal; text-align: left; }
.button.link-button:hover { text-decoration: underline; }
.server-address { font-size: 10px; color: #5e6c82; overflow-wrap: anywhere; }
.service-shell > footer > div { display: flex; flex-wrap: wrap; gap: 17px; }
.service-shell > footer { border-top: 1px solid var(--line); padding-top: 14px; }
.service-header { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.company-switch { display: flex; align-items: center; gap: 9px; text-align: left; min-width: 0; padding: 5px; border-radius: 8px; }
.company-switch:hover { background: #eaf0ff; }
.company-switch strong { display: block; font-size: 12px; max-width: 170px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.company-switch small { font-size: 9px; color: #5e6c82; }
.company-logo { display: inline-flex; flex: 0 0 auto; width: 37px; height: 37px; align-items: center; justify-content: center; border: 1px solid #dce3ee; border-radius: 10px; background: #ffffff; color: #5e6c82; overflow: hidden; }
.company-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.company-logo.large { width: 66px; height: 66px; border-radius: 16px; }
.account-button { display: flex; gap: 9px; align-items: center; min-width: 0; }
.account-button .avatar { margin: 0; }
.account-label { font-size: 11px; color: #5e6c82; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-notice { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #eaf0ff; border: 1px solid #dce3ee; border-radius: 9px; padding: 10px 14px; margin-bottom: 22px; font-size: 11px; color: #5e6c82; }
.workspace-notice > span { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.workspace-notice svg { flex-shrink: 0; }
.workspace-notice strong { font-weight: 650; overflow-wrap: anywhere; }
.service-alert { display: flex; justify-content: space-between; align-items: center; gap: 17px; margin-bottom: 22px; }
.service-alert strong { display: block; font-size: 13px; margin-bottom: 4px; }
.organization-list { display: grid; gap: 10px; margin: 10px 0 17px; }
.organization-choice { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.organization-choice > div { min-width: 0; flex: 1; }
.organization-choice strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.organization-choice small { display: block; color: #5e6c82; font-size: 10px; }
.org-forms { display: grid; gap: 12px; margin: 19px 0 0; }
.org-forms > details { border: 1px solid var(--line); border-radius: 11px; padding: 15px 18px; }
.org-forms > details > summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.org-forms .service-form { padding-top: 17px; }
.company-profile { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.company-profile p { font-size: 11px; color: #5e6c82; }
.company-code { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px; border-radius: 10px; background: #eaf0ff; margin-bottom: 17px; }
.company-code code { font-size: 16px; letter-spacing: .035em; overflow-wrap: anywhere; user-select: all; }
.member-list { display: grid; gap: 0; }
.member-row { padding: 19px 0; border-top: 1px solid var(--line); display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.member-identity { display: flex; gap: 10px; align-items: center; min-width: 0; }
.member-identity .avatar { margin: 0; flex-shrink: 0; }
.member-identity strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.member-identity small { display: block; font-size: 10px; color: #5e6c82; overflow-wrap: anywhere; margin-bottom: 5px; }
.member-controls { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.member-controls select { font-size: 11px; padding: 7px; }
.member-controls .form-error { flex-basis: 100%; }
.audit-list, .session-list { list-style: none; padding: 0; margin: 22px 0; }
.audit-list li, .session-list li { border-top: 1px solid var(--line); padding: 15px 0; font-size: 12px; }
.audit-list li > div, .session-list li { display: flex; gap: 15px; justify-content: space-between; }
.audit-list time, .audit-list small, .session-list span { color: #5e6c82; font-size: 10px; }
.audit-list p { margin-top: 7px; overflow-wrap: anywhere; }
#recovery-code { font-family: Consolas, monospace; font-size: 16px; letter-spacing: .015em; line-height: 1.9; min-height: 105px; user-select: all; background: #eaf0ff; }
.spacer-bottom { margin-bottom: 18px; }
.capture-help { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.record-next-step { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; margin-top: 18px; background: var(--pale); border-radius: 12px; }
.record-next-step h2 { font-size: 15px; }
.record-next-step p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.report-periods { display: flex; gap: 8px; }
.report-periods .button { width: auto; flex: 1; }
.report-periods [aria-pressed="true"] { background: var(--pale); border-color: var(--green); }
.preview-toolbar { flex-wrap: wrap; }
.successor-summary { padding: 24px; margin-bottom: 24px; }
.successor-summary > p { font-size: 12px; color: var(--muted); }
.successor-summary .section-heading { align-items: flex-start; }
.successor-summary h2, .successor-task h3 { overflow-wrap: anywhere; }
.successor-tasks { display: grid; gap: 12px; margin: 18px 0; }
.successor-more > summary { cursor: pointer; font-size: 12px; font-weight: 600; padding: 10px 0; }
.successor-task { min-width: 0; padding: 18px; border: 1px solid var(--line); border-left: 3px solid #577aff; border-radius: 10px; }
.successor-task.accepted { border-left-color: var(--green); background: #f5f7fb; }
.successor-task-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.successor-task-heading h3 { font-size: 15px; }
.successor-task .status-pill { flex-shrink: 0; }
.successor-task dl { display: grid; gap: 9px; margin: 14px 0; }
.successor-task dl > div { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 12px; font-size: 12px; }
.successor-task dt { color: var(--muted); }
.successor-task dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.handoff-item { scroll-margin-top: 20px; }
@media (max-width: 710px) {
  .nav { margin-top: 24px; }
  .nav-button { flex-direction: column; padding: 10px 0; gap: 5px; }
  .nav-label { display: block; font-size: 10px; line-height: 1.4; text-align: center; word-break: keep-all; }
  .sidebar .brand, .sidebar-footer { flex-shrink: 0; }
  .report-controls { grid-template-columns: 1fr; }
  .record-next-step { align-items: flex-start; flex-direction: column; }
  .successor-summary { padding: 17px; }
  .successor-task { padding: 13px; }
  .successor-task-heading { flex-direction: column; gap: 7px; }
  .successor-task dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.capture-fields { display: grid; gap: 18px; }
.candidate-card, .review-panel { padding: 23px; }
.candidate-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.candidate-heading h2 { font-size: 16px; overflow-wrap: anywhere; margin-bottom: 7px; }
.candidate-heading > div { min-width: 0; }
.candidate-heading .tiny-label { overflow-wrap: anywhere; }
.candidate-filter { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; white-space: nowrap; }
.candidate-filter select { min-width: 110px; }
.candidate-toolbar { flex-wrap: wrap; }
.status-pill.deferred { background: #f2eee3; color: #7d673e; }
.status-pill.dismissed { background: #ecece5; color: #5e6c82; }
#interview-form textarea { min-height: 95px; }
.review-checks { list-style: none; padding: 0; margin: 20px 0; }
.review-checks li { padding: 13px 0; border-top: 1px solid var(--line); }
.review-checks li > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; }
.review-checks p, .review-blockers { color: var(--muted); font-size: 12px; margin-top: 7px; overflow-wrap: anywhere; }
@media (max-height: 820px) { .sidebar { overflow-y: auto; } .sidebar-caption { margin-top: 25px; } .sidebar-note { padding-top: 20px; } }
@media (max-width: 710px) { .capture-help { justify-content: flex-start; } .candidate-card, .review-panel { padding: 17px; } .candidate-heading { gap: 10px; } .candidate-toolbar { display: grid; grid-template-columns: 1fr auto; } .candidate-filter { grid-column: 1/-1; } }
@media screen { #web-print { display: none; } }
@media print { body.web-printing > *:not(#web-print) { display: none !important; } body.web-printing #web-print { display: block; color: #172238; background: white; padding: 24px; } }
@media (max-width: 1080px) { .service-shell { padding: 26px 32px; } .service-layout { gap: 35px; grid-template-columns: .8fr 1fr; } .service-story { padding: 32px; } .service-story blockquote { font-size: 28px; } .service-story .hero-art { width: 230px; } .member-row { align-items: flex-start; flex-direction: column; } .service-header { gap: 10px; } .account-label { display: none; } }
@media (max-width: 760px) { .service-shell { padding: 24px; } .service-layout { display: block; margin-top: 34px; } .service-story { display: none; } .service-card { max-width: 520px; margin: auto; padding-bottom: 25px; } .service-card h1 { font-size: 32px; } .service-shell > footer { align-items: flex-start; flex-direction: column; gap: 7px; } .service-header .company-switch strong { max-width: 125px; } .service-alert { align-items: flex-start; flex-direction: column; } .workspace-notice { align-items: flex-start; } .company-switch { gap: 6px; } .company-logo { width: 30px; height: 30px; } }
@media (max-width: 490px) { .service-brand strong { font-size: 18px; } .edition-tag { margin-left: 0; } .company-switch > span:last-child { display: none; } .service-header { gap: 7px; } .service-header .avatar { width: 28px; height: 28px; } .workspace-notice { flex-direction: column; } .organization-choice { gap: 9px; padding: 12px; flex-wrap: wrap; } .organization-choice .status-pill { margin-left: 39px; } .member-controls { width: 100%; } .member-controls label { flex: 1; } }
.password-control { display: flex; align-items: center; gap: 10px; }
.password-control input { flex: 1; min-width: 0; }
.password-toggle { flex: 0 0 auto; min-width: 48px; min-height: 44px; justify-content: center; }
.auth-help { color: #5e6c82; font-size: 13px; line-height: 1.7; }
.ai-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; margin-bottom: 24px; background: #eaf0ff; }
.ai-entry h2 { font-size: 18px; }
.ai-entry p, .ai-create > p, .ai-saved > p, .ai-sources > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 8px; }
#ai-status { margin-bottom: 18px; }
.ai-create, .ai-editor, .ai-saved, .ai-sources { padding: 24px; margin-bottom: 24px; min-width: 0; }
.ai-create, .ai-editor { display: grid; gap: 20px; }
.ai-create h2, .ai-saved h2, .ai-sources h2 { font-size: 18px; }
.ai-records { margin: 0; padding: 0; min-width: 0; border: 0; }
.ai-records legend { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.ai-records .selection-list { max-height: 340px; }
.ai-records input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; }
.ai-records .selection-entry { min-width: 0; line-height: 1.7; }
.ai-section textarea, #ai-questions { width: 100%; min-height: 125px; line-height: 1.8; resize: vertical; }
.ai-evidence { font-size: 12px; margin-top: 8px; color: var(--muted); }
.ai-evidence a { color: var(--green); padding: 5px; }
.ai-save-row, .ai-export-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ai-save-row { justify-content: space-between; }
.ai-save-row p, .ai-export-row label { font-size: 12px; color: var(--muted); }
.ai-export-row { border-top: 1px solid var(--line); padding-top: 20px; }
.ai-export-row select { min-width: 90px; }
.ai-saved ul { list-style: none; padding: 0; margin: 0; }
.ai-saved li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.ai-saved li > span { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.ai-report-link { min-width: 0; overflow-wrap: anywhere; white-space: normal; text-align: left; justify-content: flex-start; }
.ai-report-link svg { flex-shrink: 0; }
.ai-sources details { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 15px; scroll-margin-top: 20px; }
.ai-sources summary { cursor: pointer; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.ai-sources details p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.9; padding: 12px; background: #f5f7fb; margin-top: 10px; }
.ai-progress { padding: 14px; border-left: 3px solid var(--green); background: var(--pale); font-size: 13px; line-height: 1.8; }
@media (max-width: 710px) {
  .ai-entry, .ai-create, .ai-editor, .ai-saved, .ai-sources { padding: 17px; }
  .ai-create .selection-toolbar, .ai-saved li { flex-direction: column; align-items: flex-start; }
  .ai-create .form-grid.two { grid-template-columns: minmax(0, 1fr); }
  .ai-create input[type="date"] { width: 100%; min-width: 0; }
  .ai-save-row, .ai-export-row { align-items: stretch; flex-direction: column; }
  .ai-export-row .button { justify-content: center; }
  .ai-saved .section-heading { flex-wrap: wrap; gap: 10px; }
}
