:root { color-scheme: light; }
.break { white-space: pre; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 218px; background: #f0f2ec; border-right: 1px solid #e5e9e0; padding: 32px 18px 0; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; gap: 11px; align-items: center; margin: 0 9px 44px; }
.brand-seal { width: 42px; height: 46px; border: 1px solid #486154; border-radius: 11px 4px 11px 4px; background: #345b49; color: #fffdf5; display: flex; align-items: center; justify-content: center; font: 29px/1 "Songti SC", STSong, serif; }
.brand-name { display: block; font: 24px/1.3 "Songti SC", STSong, serif; letter-spacing: 2px; color: #2f493b; font-weight: 600; }
.brand-english { display: block; font-size: 8px; letter-spacing: 2px; color: #7e8c7e; margin-top: 6px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 7px; }
.nav-item { display: flex; align-items: center; width: 100%; padding: 13px 16px; gap: 13px; border-radius: 8px; font-size: 13px; text-align: left; color: #657166; min-height: 47px; }
.nav-item image { width: 20px; height: 20px; opacity: .77; }
.nav-item.active { color: #2c5341; background: #e0e7dc; font-weight: 600; }
.nav-item.active image { opacity: 1; }
.nav-count { margin-left: auto; font: 11px/1.7 -apple-system, sans-serif; color: #70826e; background: #d4dfcf; min-width: 22px; border-radius: 4px; text-align: center; }
.sidebar-section { margin-top: 34px; padding-top: 24px; border-top: 1px solid #dfe5d9; }
.sidebar-section > .eyebrow { display: block; margin: 0 16px 12px; color: #8a9586; font-size: 10px; }
.nav-item.subtle { font-size: 12px; padding-top: 10px; padding-bottom: 10px; }
.sidebar-footer { margin-top: auto; }
.side-poem { margin: 36px 18px 28px; color: #899281; font: 13px/2.2 "Songti SC", STSong, serif; }
.family-switch { display: flex; align-items: center; gap: 9px; padding: 21px 0; border-top: 1px solid #dfe5d9; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #dfe6d6; color: #617355; font: 17px/34px "Songti SC", STSong, serif; text-align: center; flex-shrink: 0; }
.family-switch-title { display: block; font-size: 11px; color: #43523e; }
.family-switch .small-muted { font-size: 9px; margin-top: 3px; }
.chevron { margin-left: auto; color: #9ba491; }
.workspace { margin-left: 218px; }
.topbar { min-height: 69px; margin: 0 42px; border-bottom: 1px solid #e5e8e0; display: flex; align-items: center; justify-content: space-between; }
.breadcrumbs { display: flex; align-items: center; gap: 15px; font-size: 11px; color: #8a938a; }
.crumb-slash { color: #c7ccc2; }
.crumb-current { color: #46594a; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.mode-badge { font-size: 10px; color: #7b8975; display: flex; align-items: center; gap: 6px; }
.tiny-dot { width: 4px; height: 4px; border-radius: 50%; background: #7d9772; display: inline-block; }
.top-avatar { font: 17px/32px "Songti SC", STSong, serif; width: 32px; height: 32px; background: #e8ecdf; border: 1px solid #dbe3d1; border-radius: 50%; color: #708461; }
.page-content { max-width: 1440px; margin: 0 auto; padding: 35px 42px 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 12px; }
.eyebrow { font-size: 10px; letter-spacing: 1.4px; color: #7b8975; }
.heading-eyebrow { font-size: 9px; letter-spacing: 2px; color: #87957c; }
.page-title { font: 32px/1.6 "Songti SC", STSong, serif; font-weight: 600; letter-spacing: 1px; color: #253f30; margin-top: 2px; }
.page-subtitle { display: block; font-size: 12px; line-height: 1.9; color: #8a9186; margin-top: 4px; }
.button { min-height: 42px; padding: 11px 18px; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 12px; line-height: 1.5; font-weight: 500; }
.button image { width: 16px; height: 16px; }
.button.primary { background: #345e49; border: 1px solid #345e49; color: white; }
.button.secondary { background: #fbfcf8; border: 1px solid #dce2d5; color: #53654c; }
.button[disabled].primary { background: #345e49; color: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(255px,1fr); gap: 22px; margin-bottom: 34px; }
.daily-card { min-height: 263px; border: 1px solid #e3e6d9; border-radius: 9px; background: #eeefe5; padding: 25px 29px 19px; position: relative; overflow: hidden; }
.landscape { position: absolute; right: 0; bottom: 0; width: 65%; height: 100%; opacity: .8; pointer-events: none; }
.daily-meta, .daily-quote, .daily-footer { position: relative; z-index: 1; }
.daily-meta { display: flex; align-items: center; gap: 14px; }
.daily-meta .eyebrow { color: #657c5b; font-size: 11px; letter-spacing: 3px; }
.daily-number { font-size: 9px; color: #9ca38b; padding-left: 14px; border-left: 1px solid #cbd3bc; }
.daily-quote { font: 32px/1.85 "Songti SC", STSong, serif; font-weight: 500; letter-spacing: 3px; color: #455d3c; margin-top: 20px; }
.daily-footer { display: flex; justify-content: space-between; align-items: end; margin-top: 22px; gap: 15px; font-size: 10px; color: #879479; }
.daily-link { color: #657d51; font-size: 10px; }
.daily-link > text { margin-left: 8px; }
.poem-seal { position: absolute; right: 31px; top: 67px; width: 27px; padding: 7px 4px; font: 13px/1.4 "Songti SC", STSong, serif; color: #b18d79; border: 1px solid #bca58b; border-radius: 2px; writing-mode: vertical-rl; opacity: .75; }
.ai-entry { position: relative; overflow: hidden; padding: 22px 24px 18px; background: #345846; color: #eaf0e2; border: 1px solid #345846; border-radius: 9px; }
.ai-entry-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.sparkle { color: #cbd5b9; font: 27px/1 Georgia, serif; }
.ai-pill { font-size: 9px; letter-spacing: 1px; border: 1px solid #6c816b; color: #c4d2bb; border-radius: 4px; padding: 2px 8px; }
.ai-title { position: relative; z-index: 1; font: 23px/1.6 "Songti SC", STSong, serif; letter-spacing: 1px; margin-top: 16px; }
.ai-description { display: block; position: relative; z-index: 1; font-size: 10px; line-height: 1.9; color: #b7c7ad; margin-top: 9px; }
.ai-bottom { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; margin-top: 16px; font-size: 11px; color: #d3dfca; }
.circle-arrow { width: 29px; height: 29px; border: 1px solid #71896b; border-radius: 50%; text-align: center; line-height: 26px; font-size: 16px; }
.ai-orbit { position: absolute; width: 215px; height: 215px; border: 1px solid rgba(190,211,165,.13); border-radius: 50%; pointer-events: none; }
.orbit-one { right: -100px; top: 10px; }.orbit-two { right: -80px; top: 31px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 247px; gap: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-title { font: 17px/1.6 "Songti SC", STSong, serif; font-weight: 600; color: #344a37; }
.section-subtitle { font-size: 10px; color: #8f9887; margin-left: 13px; }
.text-button { color: #69805c; font-size: 10px; line-height: 1.7; padding: 6px 0; display: inline-flex; gap: 5px; text-align: left; }
.search-box { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #e2e7dc; border-radius: 6px; padding: 10px 13px; }
.search-box image { width: 17px; height: 17px; opacity: .65; flex-shrink: 0; }
.search-box input { font-size: 11px; height: 22px; flex: 1; min-width: 0; background: transparent; border: none; outline: none; }
.search-hint { color: #a2aa99; font-size: 9px; }
.filter-scroll { min-width: 0; width: 100%; }
.filter-row { display: flex; gap: 7px; flex-wrap: nowrap; padding: 14px 0 18px; white-space: nowrap; }
.filter-chip { color: #85917b; border-radius: 5px; padding: 6px 11px; line-height: 1.65; font-size: 10px; flex-shrink: 0; border: 1px solid transparent; }
.filter-chip.selected { color: #49633c; background: #e9eedf; border-color: #dde5d0; font-weight: 500; }
.name-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.name-card { border-radius: 7px; border: 1px solid #e4e7df; background: #fff; padding: 14px 17px 0; min-width: 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top .eyebrow { font-size: 9px; letter-spacing: 1px; }
.icon-button { width: 28px; height: 28px; padding: 5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-button image { width: 17px; height: 17px; opacity: .6; }
.icon-button.is-saved image { opacity: 1; }
.name-open { padding: 9px 0 19px; }
.name-display { font: 32px/1.6 "Songti SC", STSong, serif; letter-spacing: 4px; color: #3e523a; font-weight: 500; }
.surname { color: #9ba790; font-size: .75em; margin-right: 3px; }
.pinyin { display: block; color: #9ba58f; font-family: Georgia, "Times New Roman", serif; font-size: 10px; letter-spacing: 1.5px; line-height: 1.8; margin-top: 2px; }
.poem-line { font: 12px/1.9 "Songti SC", STSong, serif; color: #7c8771; margin: 23px 0 8px; min-height: 46px; }
.marked { color: #3f6136; background: #e7eddd; padding: 1px 0; border-radius: 1px; }
.source-caption { display: block; color: #a0a895; font-size: 9px; line-height: 1.9; min-height: 18px; }
.card-bottom { border-top: 1px solid #eef0e9; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 43px; }
.relation { font-size: 9px; color: #98a18c; display: flex; align-items: center; gap: 5px; }
.relation .tiny-dot { background: #b6c1a5; width: 3px; height: 3px; }
.add-small { font-size: 9px; color: #6d835e; padding: 10px 0 10px 5px; white-space: nowrap; }
.add-small.added { color: #9aa88b; }
.sand .card-top .eyebrow { color: #a09676; }.sand .marked { background: #f2eddf; color: #867547; }.blue .card-top .eyebrow { color: #849b9d; }.blue .marked { background: #e8efec; color: #547574; }
.right-rail { padding-top: 0; }
.rail-card { border: 1px solid #e3e7da; border-radius: 7px; padding: 20px 18px 0; background: #fbfcf7; }
.rail-header { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.rail-header .section-title { font-size: 15px; }
.rail-header image { width: 18px; height: 18px; opacity: .6; }
.rail-description { display: block; color: #9aa48e; font-size: 10px; margin: 8px 0 19px; }
.quick-name { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0e6; }
.mini-name { width: 39px; height: 43px; border-radius: 4px; background: #edf1e4; font: 14px/43px "Songti SC", STSong, serif; color: #73835c; text-align: center; flex-shrink: 0; }
.quick-fullname { display: block; font: 15px/1.5 "Songti SC", STSong, serif; color: #536544; }
.small-muted { display: block; color: #929c87; font-size: 10px; line-height: 1.9; }
.quick-name .small-muted { font-size: 9px; margin-top: 4px; }
.quick-arrow { margin-left: auto; color: #9aab88; font-size: 19px; }
.rail-link { display: flex; width: 100%; justify-content: space-between; color: #82946c; font-size: 10px; padding: 16px 0; }
.rail-note { background: #f1efe4; border: 1px solid #e9e5d5; border-radius: 7px; padding: 18px; margin-top: 18px; }
.rail-note .eyebrow { font-size: 9px; letter-spacing: 1px; color: #9b9579; }
.wish-quote { display: block; font: 17px/2 "Songti SC", STSong, serif; color: #827d5c; margin: 19px 0 13px; }
.rail-note .text-button { color: #9a9374; font-size: 9px; }
.gentle-note { padding: 28px 16px; display: flex; gap: 10px; color: #a3ab95; font-size: 10px; line-height: 2; }
.small-leaf { font-size: 21px; color: #a8b594; }
.rail-empty { display: block; color: #9aa58b; font-size: 12px; padding: 20px 0; line-height: 2; }
.sources-heading { margin-top: 32px; }
.sources-heading .section-subtitle { display: block; margin: 5px 0 0; }
.source-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.source-tile { position: relative; background: #f1f3ea; border: 1px solid #e8ebdf; border-radius: 6px; padding: 18px 15px; text-align: left; min-height: 125px; }
.source-symbol { font: 25px/1.4 "Songti SC", STSong, serif; color: #91a17b; margin-bottom: 11px; }
.source-symbol.story { color: #ae9d7c; }.source-symbol.reading { color: #899f99; }
.tile-title { display: block; color: #6a795b; font-size: 12px; margin-bottom: 4px; }
.source-tile .small-muted { font-size: 9px; color: #a0a78f; }
.tile-arrow { position: absolute; right: 13px; top: 19px; color: #a1ad90; }
.page-footer { display: flex; align-items: center; gap: 16px; color: #aab09f; font-size: 9px; border-top: 1px solid #e7ebdf; margin-top: 35px; padding: 20px 0 24px; }
.footer-brand { font: 14px/1.5 "Songti SC", STSong, serif; letter-spacing: 2px; color: #88967a; }
.footer-flower { margin-left: auto; font-size: 20px; color: #acb99d; }
.mobile-nav { display: none; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 4px 0 16px; }
.list-toolbar > .filter-scroll { flex: 1; }
.compare-button { flex-shrink: 0; }
.count-pill { padding: 1px 7px; background: #e5ecdd; color: #6a8058; border-radius: 4px; font-size: 10px; }
.candidate-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.candidate-card { background: #fff; border: 1px solid #e1e7d9; border-radius: 9px; padding: 20px 23px 0; }
.candidate-top { display: flex; justify-content: space-between; align-items: center; }
.stage-badge { font-size: 10px; color: #6d8560; background: #edf2e7; padding: 3px 9px; border-radius: 4px; }
.select-button { color: #9ba78e; font-size: 11px; padding: 7px 0 7px 10px; }.select-button.checked { color: #45673c; }
.candidate-body { padding: 16px 0 26px; }
.candidate-meaning { display: block; font-size: 12px; line-height: 1.9; color: #839174; min-height: 48px; margin: 22px 0 15px; }
.candidate-footer { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid #edf0e8; color: #93a183; font-size: 10px; }
.page-tip { margin: 30px 0; text-align: center; font-size: 11px; line-height: 1.9; color: #a1ac95; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; padding: 45px 20px; color: #94a186; font-size: 12px; line-height: 2; border: 1px dashed #dfe6d6; border-radius: 9px; }
.empty-state image { width: 32px; height: 32px; opacity: .5; }
.empty-state .button { margin-top: 9px; }.empty-title { font: 22px/1.8 "Songti SC", STSong, serif; color: #6a8059; }.empty-state.spacious { padding: 70px 20px; background: #f6f8f1; }
.empty-ink { font: 50px/1.4 "Songti SC", STSong, serif; color: #b4c09f; }
.notes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.note-card { padding: 23px; background: #f6f3e9; border: 1px solid #e6e3d7; border-radius: 7px; }
.note-meta { display: flex; justify-content: space-between; gap: 9px; color: #a79f87; font-size: 10px; }
.privacy-badge { font-size: 9px; color: #928e71; }.privacy-badge.family { color: #6f8861; }
.note-title { font: 21px/1.8 "Songti SC", STSong, serif; color: #7c7958; margin: 20px 0 12px; }
.note-body { white-space: pre-wrap; font-size: 12px; line-height: 2; color: #8e8d72; display: block; }
.note-footer { margin-top: 24px; padding-top: 15px; border-top: 1px solid #e6e2d2; display: flex; align-items: center; justify-content: space-between; color: #a39d83; font-size: 10px; }
.note-footer .text-button { color: #948f73; }
.family-hero { display: flex; align-items: center; gap: 25px; background: #edf1e5; border: 1px solid #e0e7d5; border-radius: 9px; padding: 31px; }
.family-hero-seal { width: 74px; height: 84px; flex-shrink: 0; background: #dbe4cd; border: 1px solid #b5c59e; color: #7e9464; border-radius: 25px 6px 25px 6px; font: 44px/84px "Songti SC", STSong, serif; text-align: center; }
.family-title { font: 28px/1.7 "Songti SC", STSong, serif; color: #466139; margin: 5px 0; }.family-hero .button { margin-left: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 26px 0; padding: 25px 0; border-top: 1px solid #e2e8d9; border-bottom: 1px solid #e2e8d9; }
.stats-grid > view { text-align: center; border-right: 1px solid #e1e6d8; }.stats-grid > view:last-child { border: none; }.stat-number { display: block; font: 33px/1.6 Georgia, serif; color: #6d8757; }
.family-columns { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 26px; }.white-panel { padding: 24px; background: white; border: 1px solid #e1e7d8; border-radius: 7px; margin-bottom: 23px; }
.preference-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf0e7; color: #6c815a; font-size: 12px; }.preference-row > text:first-child { color: #99a48c; flex-shrink: 0; }.preference-row:last-child { border: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }.tag { display: inline-block; color: #7d9169; font-size: 10px; padding: 3px 8px; background: #edf2e6; border-radius: 4px; }
.member-row { display: flex; align-items: center; gap: 13px; padding: 15px 0; }.member-name { color: #61794f; font-size: 13px; }.member-status { margin-left: auto; font-size: 10px; color: #96a685; }
.activity-row { display: flex; gap: 13px; margin-top: 23px; align-items: start; }.activity-dot { width: 6px; height: 6px; border-radius: 50%; background: #c5d3b4; flex-shrink: 0; margin-top: 7px; }.activity-message { display: block; font-size: 12px; color: #7e9169; line-height: 1.8; }.activity-row .small-muted { margin-top: 6px; font-size: 9px; }
.story-callout { padding: 25px; background: #efede2; border: 1px solid #e6e2d0; border-radius: 7px; }.story-callout .section-title { display: block; margin: 12px 0; color: #8a805d; line-height: 2; }.story-callout .text-button { margin-top: 15px; color: #9a8d68; }.story-callout .reopen { display: block; margin-top: 7px; }
.decision-banner { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 23px; background: #e8efdd; border: 1px solid #d5e1c4; border-radius: 8px; margin-bottom: 22px; }.decision-banner .section-title { margin-top: 5px; }
.saved-links { margin-top: 30px; }.link-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; padding: 18px 0; border-bottom: 1px solid #e4eadb; text-align: left; }.link-title { font-size: 13px; color: #6e865b; }.link-row image { width: 19px; height: 19px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(29,43,31,.32); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; padding: 30px; }
.sheet { position: relative; background: #fcfdf9; width: 610px; max-width: 100%; max-height: calc(100vh - 60px); border: 1px solid #e5eadc; border-radius: 15px; box-shadow: 0 20px 90px rgba(30,46,24,.17); display: flex; flex-direction: column; }
.sheet.wide-sheet { width: 760px; }.sheet-grabber { display: none; }.sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 19px 29px 8px; gap: 14px; flex-shrink: 0; }.sheet-header .eyebrow { font-size: 8px; letter-spacing: 1.7px; color: #95a085; }.close-button { width: 36px; height: 36px; border-radius: 50%; color: #8b9a7c; background: #f0f3e9; font-size: 25px; line-height: 32px; text-align: center; flex-shrink: 0; }
.sheet-scroll { padding: 0 32px 31px; min-height: 0; max-height: calc(100vh - 150px); overflow-y: auto; }
.sheet-title { font: 25px/1.8 "Songti SC", STSong, serif; color: #49653b; margin-top: 3px; font-weight: 500; }.sheet-subtitle { display: block; font-size: 12px; line-height: 1.9; color: #97a28b; margin: 7px 0 26px; }
.detail-name { font: 48px/1.6 "Songti SC", STSong, serif; color: #3f5b32; letter-spacing: 8px; margin-top: 6px; }.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 22px; }.verification-label { font-size: 10px; color: #9aa68e; }.detail-poem { padding: 24px; background: #eef2e5; border: 1px solid #e3e9d7; border-radius: 7px; }.detail-poem-text { font: 22px/2 "Songti SC", STSong, serif; color: #7e906b; margin-bottom: 9px; }.detail-poem .source-caption { font-size: 10px; }.detail-poem .text-button { margin-top: 8px; }
.detail-section { padding-top: 26px; }.detail-body { display: block; font-size: 13px; line-height: 2; color: #81946e; margin-top: 10px; white-space: pre-wrap; }.detail-footnote { display: block; font-size: 10px; line-height: 1.9; color: #a3ad97; margin: 12px 0 19px; }.name-tryout { margin-top: 26px; padding: 22px; background: #f4f1e8; border: 1px solid #e9e4d5; border-radius: 7px; }.tryout-quote { font: 20px/1.9 "Songti SC", STSong, serif; color: #8e835f; margin: 9px 0 12px; }.name-tryout .small-muted { color: #aaa28b; }
.sheet-actions { display: flex; gap: 12px; margin-top: 25px; }.sheet-actions .button { flex: 1; padding-left: 10px; padding-right: 10px; }.full-width { width: 100%; margin-top: 24px; }.sheet-actions .full-width { margin-top: 0; }.form-label { display: block; color: #71865e; font-size: 12px; margin: 20px 0 8px; }.optional { color: #a7b098; font-size: 10px; margin-left: 6px; }.form-input,.form-textarea { background: #f8faf4; border: 1px solid #dfe6d5; border-radius: 6px; padding: 12px 14px; width: 100%; color: #596f47; font-size: 13px; outline: none; }.form-input { height: 46px; line-height: 22px; }.form-textarea { height: 120px; line-height: 1.9; }.form-textarea.small { height: 85px; margin-top: 14px; }.form-textarea.note-input { height: 190px; }.form-textarea.story-input { height: 370px; }.large-input { font: 22px/1.2 "Songti SC", STSong, serif; height: 56px; }.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.style-options { display: flex; flex-wrap: wrap; gap: 8px; }.style-options .filter-chip { border: 1px solid #e1e7d7; }.visibility-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }.visibility-option { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 8px; border: 1px solid #e0e7d7; color: #98a68a; border-radius: 7px; font-size: 12px; }.visibility-option image { width: 17px; height: 17px; opacity: .65; }.visibility-option.chosen { border-color: #94ae7c; background: #edf3e5; color: #688254; }.danger-button { color: #a08b77; border: 1px solid #e7dfd3; }
.studio-context { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 20px 0; }.studio-context .text-button { margin-left: auto; }.studio-input { height: 132px; font-size: 14px; }.prompt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }.prompt-chips button { font-size: 10px; padding: 5px 9px; color: #8a9e77; border: 1px dashed #d2debf; border-radius: 4px; }.studio-disclosure { display: block; font-size: 10px; color: #a6b197; margin: 12px 0 29px; line-height: 1.9; }.studio-results { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.attitude-row { display: flex; gap: 9px; margin: 13px 0; }.attitude { flex: 1; border: 1px solid #e0e7d7; padding: 9px 5px; border-radius: 5px; font-size: 11px; color: #96a687; }.attitude.chosen { background: #e8f0de; border-color: #b9cda3; color: #68864e; }.review-row { padding: 15px 0; border-bottom: 1px solid #e6ecde; }.review-author { font-size: 11px; color: #7f9769; }.review-row .detail-body { font-size: 12px; margin-top: 6px; }.review-save { margin-bottom: 8px; }.stage-heading { margin-top: 26px; }.stage-options { display: flex; flex-wrap: wrap; gap: 6px; }.consent-box { display: flex; flex-direction: column; gap: 13px; margin-top: 19px; padding: 19px; background: #edf3e5; border: 1px solid #dbe7ce; border-radius: 6px; color: #81996b; font-size: 11px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; margin-top: 27px; }.comparison-column { padding-right: 22px; min-width: 0; }.comparison-column + .comparison-column { border-left: 1px solid #e1e8d6; padding: 0 0 0 22px; }.compare-name { font: 34px/1.7 "Songti SC", STSong, serif; color: #526e42; letter-spacing: 3px; }.compare-block { border-top: 1px solid #e3ead9; margin-top: 23px; padding-top: 18px; min-height: 145px; }.compare-value { display: block; font-size: 12px; line-height: 2; color: #8a9e76; margin: 12px 0; }.compare-block .tag { margin-top: 9px; }.compare-review { font-size: 12px; line-height: 1.9; color: #81996a; margin: 12px 0; }.compare-review > text { display: block; }.comparison-column > .button { margin-top: 17px; }.invite-code { background: #eff4e7; padding: 22px; margin: 20px 0; border-radius: 7px; word-break: break-all; font-size: 12px; color: #6f8859; }.invite-code > text { display: block; }.invite-code .text-button { margin: 12px 0; }.divider { height: 1px; background: #e4eadb; margin: 30px 0; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 35px; transform: translateX(-50%); max-width: calc(100% - 40px); width: max-content; background: rgba(42,65,34,.95); color: #f2f6e9; border: 1px solid #637c50; border-radius: 8px; padding: 13px 22px; box-shadow: 0 5px 20px #273c2520; font-size: 12px; text-align: center; }
.loading-overlay,.error-screen { display: flex; position: fixed; inset: 0; z-index: 70; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: #f8f9f6; color: #8a9d77; font-size: 13px; }
@media (min-width: 900px) { .button:hover,.nav-item:hover,.filter-chip:hover { filter: brightness(.97); }.name-card:hover { border-color: #bccbb0; box-shadow: 0 4px 16px #425e2e08; }.name-open,.daily-card,.ai-entry,.quick-name,.candidate-body,.family-switch { cursor: pointer; } }
@media (max-width: 1200px) { .sidebar { width: 194px; padding-left: 12px; padding-right: 12px; }.brand-name { font-size: 21px; }.workspace { margin-left: 194px; }.page-content { padding: 28px 28px 0; }.topbar { margin: 0 28px; }.content-grid { grid-template-columns: minmax(0,1fr) 210px; gap: 20px; }.name-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.intro-grid { gap: 17px; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr); }.daily-quote { font-size: 28px; }.daily-card { padding: 24px; }.daily-footer { flex-direction: column; align-items: start; margin-top: 13px; gap: 6px; }.daily-link { font-size: 9px; }.section-subtitle { display: block; margin: 3px 0 0; }.source-grid { gap: 10px; }.candidate-grid,.notes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .sidebar { display: none; }.workspace { margin-left: 0; }.topbar { min-height: 57px; }.page-content { padding-top: 26px; }.mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; border-top: 1px solid #e5eadf; background: rgba(249,251,245,.94); backdrop-filter: blur(20px); justify-content: space-around; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); }.mobile-nav-item { position: relative; display: flex; align-items: center; flex-direction: column; gap: 4px; width: 25%; padding: 5px 0; font-size: 10px; color: #9aa88b; }.mobile-nav-item image { width: 22px; height: 22px; opacity: .5; }.mobile-nav-item.active { color: #506c3c; }.mobile-nav-item.active image { opacity: 1; }.nav-indicator { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #7c9664; bottom: 0; left: calc(50% + 15px); }.page-footer { padding-bottom: 95px; }.toast { bottom: 95px; }.right-rail { display: none; }.content-grid { grid-template-columns: minmax(0,1fr); }.name-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.family-columns { grid-template-columns: 1.3fr 1fr; } }
@media (max-width: 600px) { .topbar { margin: 0 21px; min-height: 51px; }.breadcrumbs { font-size: 10px; gap: 10px; }.topbar-right { gap: 12px; }.mode-badge { font-size: 9px; }.top-avatar { width: 28px; height: 28px; line-height: 27px; font-size: 15px; }.page-content { padding: 22px 20px 0; }.page-heading { margin-bottom: 23px; align-items: center; }.page-title { font-size: 28px; }.page-subtitle { font-size: 11px; max-width: 255px; }.heading-eyebrow { font-size: 8px; }.desktop-action { display: none; }.page-heading .button { min-height: 38px; padding: 9px 12px; font-size: 11px; }.intro-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }.daily-card { min-height: 253px; padding: 23px 24px; }.daily-meta .eyebrow { font-size: 10px; }.daily-quote { font-size: 29px; letter-spacing: 3px; margin-top: 17px; }.daily-footer { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }.landscape { width: 66%; }.poem-seal { right: 23px; top: 69px; }.ai-entry { min-height: auto; padding: 18px 20px 17px; }.ai-entry-top { gap: 9px; }.ai-title { font-size: 20px; margin: 11px 0 3px; }.ai-title .break { white-space: normal; }.ai-description { font-size: 10px; max-width: 220px; }.ai-description .break { white-space: normal; }.ai-bottom { position: absolute; right: 20px; top: 62px; margin-top: 0; }.ai-bottom > text { display: none; }.circle-arrow { width: 36px; height: 36px; line-height: 33px; font-size: 21px; }.ai-orbit { width: 180px; height: 180px; }.orbit-one { right: -50px; top: -25px; }.orbit-two { right: -70px; top: -5px; }.section-heading { margin-bottom: 13px; }.section-title { font-size: 17px; }.section-subtitle { font-size: 10px; margin-top: 3px; }.search-box { padding: 10px 12px; }.search-box input { font-size: 12px; }.search-hint { display: none; }.filter-row { gap: 4px; padding: 13px 0 16px; }.filter-chip { font-size: 11px; padding: 7px 10px; }.name-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.name-card { padding: 11px 12px 0; border-radius: 7px; }.card-top .eyebrow { font-size: 9px; }.name-display { font-size: 29px; letter-spacing: 2px; }.name-open { padding: 8px 0 13px; }.pinyin { font-size: 9px; letter-spacing: 1px; }.poem-line { font-size: 11px; line-height: 1.9; margin-top: 18px; min-height: 44px; }.source-caption { font-size: 8px; }.relation { font-size: 8px; gap: 3px; }.add-small { font-size: 8px; padding-left: 0; }.card-bottom { gap: 3px; min-height: 40px; }.source-grid { grid-template-columns: 1fr; gap: 10px; }.source-tile { min-height: 82px; padding: 17px 17px 17px 70px; }.source-symbol { position: absolute; left: 22px; top: 22px; font-size: 27px; margin: 0; }.tile-title { font-size: 13px; }.source-tile .small-muted { font-size: 10px; }.tile-arrow { top: 27px; right: 18px; }.sources-heading { margin-top: 28px; }.page-footer { margin-top: 27px; gap: 12px; font-size: 8px; padding-bottom: 100px; }.footer-brand { font-size: 12px; letter-spacing: 1px; }.candidate-grid,.notes-grid { grid-template-columns: 1fr; gap: 16px; }.candidate-card { padding: 17px 22px 0; }.candidate-body .name-display { font-size: 35px; }.candidate-meaning { min-height: 0; margin: 17px 0 12px; font-size: 12px; }.candidate-footer { padding: 13px 0; }.list-toolbar { flex-wrap: wrap; margin-bottom: 10px; gap: 8px; }.list-toolbar > .filter-scroll { flex-basis: 100%; }.list-toolbar > .small-muted { font-size: 9px; }.compare-button { margin-left: auto; min-height: 36px; font-size: 11px; padding: 8px 12px; margin-bottom: 7px; }.page-tip { font-size: 10px; margin: 23px 0; }.family-hero { position: relative; padding: 21px 18px 66px; gap: 16px; }.family-hero-seal { width: 54px; height: 65px; font-size: 34px; line-height: 65px; border-radius: 18px 4px 18px 4px; }.family-title { font-size: 23px; }.family-hero .eyebrow { font-size: 8px; letter-spacing: 1px; }.family-hero .button { position: absolute; left: 88px; bottom: 19px; min-height: 32px; padding: 7px 12px; font-size: 10px; }.family-hero .page-subtitle { font-size: 10px; }.stats-grid { margin: 20px 0; padding: 20px 0; }.stat-number { font-size: 27px; }.stats-grid .small-muted { font-size: 8px; }.family-columns { grid-template-columns: 1fr; gap: 0; }.white-panel { padding: 20px; margin-bottom: 18px; }.preference-row { font-size: 11px; }.tag { font-size: 9px; }.story-callout { padding: 22px; }.decision-banner { padding: 20px; flex-wrap: wrap; }.decision-banner .section-title { font-size: 18px; }.modal-backdrop { padding: 0; align-items: flex-end; background: rgba(31,46,25,.35); }.sheet { border-radius: 18px 18px 0 0; width: 100%; max-height: 92vh; border-bottom: none; }.sheet-grabber { display: block; height: 4px; width: 34px; border-radius: 5px; background: #d3dfc5; margin: 9px auto 0; flex-shrink: 0; }.sheet-header { padding: 12px 20px 6px; }.sheet-header .eyebrow { font-size: 7px; letter-spacing: 1.2px; }.close-button { width: 32px; height: 32px; line-height: 29px; font-size: 23px; }.sheet-scroll { padding: 0 23px calc(25px + env(safe-area-inset-bottom)); max-height: calc(92vh - 70px); }.sheet-title { font-size: 23px; line-height: 1.7; }.sheet-subtitle { font-size: 11px; margin: 7px 0 20px; }.detail-name { font-size: 43px; letter-spacing: 7px; }.detail-tags { gap: 7px; }.verification-label { font-size: 9px; }.detail-poem { padding: 20px; }.detail-poem-text { font-size: 20px; }.detail-body { font-size: 12px; }.detail-footnote { font-size: 10px; }.sheet-actions { gap: 10px; }.sheet-actions .button { font-size: 10px; }.studio-results { gap: 10px; }.studio-results .name-card { padding: 10px 10px 0; }.studio-results .name-display { font-size: 26px; }.form-label { margin-top: 19px; }.form-textarea { font-size: 13px; }.studio-input { font-size: 13px; }.form-input { font-size: 13px; }.comparison-column { padding-right: 12px; }.comparison-column + .comparison-column { padding-left: 12px; }.compare-name { font-size: 27px; letter-spacing: 1px; }.compare-block { min-height: 185px; }.compare-value { font-size: 11px; }.compare-block .eyebrow { font-size: 9px; }.name-tryout { padding: 18px; }.tryout-quote { font-size: 18px; }.toast { bottom: 88px; font-size: 11px; padding: 12px 17px; }.note-title { font-size: 23px; } }
@media (max-width: 360px) { .page-content { padding-left: 15px; padding-right: 15px; }.name-display { font-size: 26px; }.daily-quote { font-size: 26px; }.name-card { padding-left: 10px; padding-right: 10px; }.add-small { font-size: 7px; }.relation { font-size: 7px; }.card-bottom .tiny-dot { display: none; } }
@media (prefers-reduced-transparency: reduce) { .mobile-nav { background: #f9fbf5; backdrop-filter: none; }.modal-backdrop { backdrop-filter: none; } }
@media (prefers-contrast: more) { .small-muted,.page-subtitle,.source-caption,.pinyin,.eyebrow,.section-subtitle,.detail-footnote { color: #61734e; }.name-card { border-color: #afbd9e; } }
.next-batch { width: 100%; margin-top: 18px; border: 1px solid #dfe6d6; border-radius: 5px; padding: 11px; color: #788e65; font-size: 11px; background: #f1f5ea; }
.next-batch text { margin-left: 8px; }
/* 辅助信息保留层次，同时保证浅色界面的文字可辨识。 */
.page-subtitle,.small-muted,.source-caption,.pinyin,.section-subtitle,.rail-description,.detail-footnote,.studio-disclosure,.verification-label { color: #75816b; }
.poem-line,.detail-body,.candidate-meaning { color: #68795b; }
.relation,.add-small,.filter-chip,.eyebrow { color: #748269; }
.card-top .eyebrow { color: #7e8b72; }.sand .card-top .eyebrow { color: #90825e; }.blue .card-top .eyebrow { color: #728a89; }
.source-tile .small-muted { color: #7f8a71; }.wish-quote { color: #786f4e; }.rail-note .eyebrow { color: #8d8062; }
.sheet-scroll { height: 72vh; }
@media (max-width:600px) {
  .ai-title { font-size: 22px; margin-top: 12px; }.ai-title .break { white-space: pre; }.ai-entry { min-height: 192px; padding: 20px 22px; }.ai-description { max-width: 230px; margin-top: 9px; font-size: 11px; }.ai-bottom { top: 87px; right: 20px; }
  .page-subtitle { font-size: 12px; }.section-subtitle { font-size: 11px; }.name-grid .source-caption { font-size: 10px; min-height: 36px; }.poem-line { font-size: 12px; min-height: 46px; }.pinyin { font-size: 10px; }.card-bottom { flex-wrap: wrap; padding: 3px 0; min-height: 43px; }.relation,.add-small { font-size: 9px; }.name-card { padding-left: 13px; padding-right: 13px; }.name-display { font-size: 30px; }.source-caption { font-size: 10px; }.form-label { font-size: 13px; }.form-input,.form-textarea { font-size: 14px; }.detail-body { font-size: 14px; }.sheet-subtitle { font-size: 13px; }.detail-footnote { font-size: 11px; }.sheet-scroll { height: 76vh; }.page-heading .button { min-height: 44px; }.filter-chip { min-height: 38px; }.icon-button { width: 32px; height: 32px; }.attitude { min-height: 44px; }.button { min-height: 44px; }
  .page-content { padding-top: 18px; }.heading-eyebrow { display: none; }.page-title { font-size: 27px; line-height: 1.5; }.page-heading { margin-bottom: 20px; }.page-subtitle { line-height: 1.7; }
  .daily-card { min-height: 184px; padding: 16px 22px; }.daily-quote { font-size: 26px; line-height: 1.6; margin-top: 11px; }.daily-footer { margin-top: 10px; }.daily-link { display: none; }.poem-seal { top: 50px; }
  .ai-entry { min-height: 126px; padding: 15px 22px; }.ai-title { font-size: 19px; line-height: 1.5; margin-top: 8px; }.ai-description { display: none; }.ai-bottom { top: 64px; right: 22px; }.intro-grid { margin-bottom: 22px; }
}
@media (prefers-contrast: more) { .small-muted,.page-subtitle,.source-caption,.pinyin,.eyebrow,.section-subtitle,.detail-footnote,.studio-disclosure { color: #52673e; } }
.source-directory { margin-bottom: 26px; }
.directory-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.source-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.category-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f2f4ed; border: 1px solid #e2e7d9; border-radius: 6px; text-align: left; min-width: 0; }
.category-item.selected { background: #e6eddd; border-color: #a6bb93; }
.category-symbol { flex-shrink: 0; font: 22px/1.5 "Songti SC",STSong,serif; color: #879b71; width: 28px; text-align: center; }
.category-label { display: block; font-size: 12px; color: #4f6743; }
.category-caption { display: block; font-size: 9px; color: #909e83; margin-top: 3px; }
.category-count { margin-left: auto; align-self: start; font-size: 9px; color: #98a68a; }
.directory-all-active { font-weight: 600; }
.material-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 11px 0 15px; }
.material-toolbar .small-muted { font-size: 9px; }
.source-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.material-card { background: #fff; border: 1px solid #e1e7d9; border-radius: 7px; padding: 15px 18px 0; min-width: 0; }
.material-card-top { display: flex; align-items: center; justify-content: space-between; }
.material-kind { font-size: 9px; color: #81906f; letter-spacing: .5px; }
.material-open { padding: 8px 0 19px; cursor: pointer; }
.material-title { font: 18px/1.7 "Songti SC",STSong,serif; color: #4e6542; min-height: 60px; }
.material-summary { display: block; font-size: 11px; color: #7a8a6b; line-height: 1.9; margin-top: 10px; min-height: 42px; }
.material-attribution { display: block; color: #89967c; font-size: 10px; line-height: 1.8; margin-top: 13px; }
.material-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #edf0e7; min-height: 43px; }
.material-scope { font-size: 8px; color: #93a184; }
.sources-next { margin-top: 15px; }
.suggested-heading { margin-top: 29px; }
.material-reading { padding: 20px; background: #f0f4e9; border: 1px solid #e0e8d5; border-radius: 7px; }
.material-reading .detail-body { margin-top: 0; }
.material-questions { padding: 23px 0 0; }
.material-question { font-size: 12px; line-height: 1.9; color: #7b8e69; padding: 9px 0; border-bottom: 1px solid #e6ecde; }
.material-category-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.material-category-options .filter-chip { border: 1px solid #e1e7d8; }
.name-card .poem-line { min-height: 67px; }
.name-card .source-caption { min-height: 36px; }
@media(min-width:1400px) { .source-categories { grid-template-columns: repeat(6,minmax(0,1fr)); }.category-caption { font-size: 8px; }.category-symbol { width: 22px; font-size: 20px; }.category-item { padding: 12px 9px; gap: 7px; }.category-label { font-size: 11px; } }
@media(max-width:600px) {
  .directory-heading { align-items: start; margin-bottom: 12px; }.directory-heading .section-title { font-size: 18px; }.directory-heading .section-subtitle { font-size: 10px; margin-top: 4px; max-width: 230px; }.directory-heading .text-button { white-space: nowrap; font-size: 9px; }
  .source-categories { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }.category-item { min-height: 51px; padding: 9px 7px; gap: 6px; }.category-symbol { font-size: 19px; width: 20px; }.category-caption { display: none; }.category-label { font-size: 11px; }.category-count { font-size: 8px; }.source-directory { margin-bottom: 20px; }
  .source-cards { grid-template-columns: 1fr; gap: 12px; }.material-card { padding: 13px 17px 0; }.material-title { font-size: 20px; min-height: 0; line-height: 1.8; }.material-summary { font-size: 13px; min-height: 0; margin-top: 9px; }.material-attribution { font-size: 11px; }.material-kind { font-size: 10px; }.material-scope { font-size: 9px; }.material-card-bottom { min-height: 47px; }.material-card-bottom .text-button { font-size: 11px; }
  .material-toolbar { flex-wrap: wrap; }.material-toolbar .small-muted { flex-basis: 100%; font-size: 10px; }.material-toolbar .text-button { font-size: 11px; }.suggested-heading { margin-top: 25px; }.material-reading { padding: 18px; }.material-question { font-size: 13px; }
  .name-card .poem-line { min-height: 68px; font-size: 12px; }.name-card .source-caption { min-height: 40px; }.material-category-options .filter-chip { min-height: 40px; }.material-sheet .studio-results { grid-template-columns: 1fr; }.material-sheet .name-card .name-display { font-size: 34px; }
}
.notification-button { position: relative; padding: 7px 3px; font-size: 10px; color: #718566; min-height: 32px; white-space: nowrap; }
.unread-badge { display: inline-block; margin-left: 4px; min-width: 15px; background: #819d6b; color: white; border-radius: 9px; padding: 0 4px; font-size: 9px; text-align: center; }
.auto-feed-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: -4px 0 24px; padding: 14px 17px; border: 1px solid #dce5d2; border-radius: 7px; background: #eff4e8; }
.auto-feed-title { display: flex; align-items: center; gap: 7px; color: #587246; font-size: 12px; }
.auto-feed-bar .small-muted { font-size: 10px; margin-top: 4px; }
.auto-feed-bar .text-button { white-space: nowrap; }
.live-feed-section { margin-bottom: 31px; }
.live-feed-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.live-card { padding: 17px; background: #f2f5ec; border: 1px solid #e0e7d6; border-radius: 7px; min-width: 0; }
.live-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 9px; color: #91a07e; }
.live-platform { font-size: 9px; color: #768b62; border: 1px solid #d8e1cb; padding: 2px 7px; border-radius: 4px; background: #eaf0df; }
.live-card-body { cursor: pointer; }
.live-title { font: 19px/1.75 "Songti SC",STSong,serif; color: #536c42; margin: 16px 0 9px; overflow-wrap: anywhere; }
.live-summary { display: block; color: #849374; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.live-byline { display: block; color: #96a486; font-size: 9px; margin-top: 15px; overflow-wrap: anywhere; }
.live-reason { border-top: 1px solid #dfe7d5; padding-top: 11px; margin-top: 15px; font-size: 9px; color: #879a72; line-height: 1.9; }
.live-open { font-size: 10px; margin-top: 5px; }
.live-feed-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; gap: 12px; }
.live-feed-footer .small-muted { font-size: 9px; }
.feed-control-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 5px 0 20px; border-bottom: 1px solid #e4eadc; }
.feed-toggle { min-width: 68px; padding: 9px 12px; color: #a3aa98; border: 1px solid #dce5d1; border-radius: 5px; font-size: 11px; }
.feed-toggle.on { background: #e6eedb; border-color: #adc296; color: #6e8a54; }
.feed-connections { margin: 3px 0 24px; }
.feed-connection { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 17px 0; border-bottom: 1px solid #e4eadb; }
.feed-connection-info { flex: 1; min-width: 0; }
.feed-source-name { display: block; color: #698153; font-size: 13px; line-height: 1.8; }
.feed-connection .small-muted { margin-top: 4px; font-size: 10px; }
.connection-status { display: block; font-size: 10px; color: #8ba576; margin-top: 6px; }
.connection-status.connection-error { color: #a18e68; }
.feed-subscribe { flex-shrink: 0; border: 1px solid #e0e7d6; padding: 8px 10px; color: #97a588; font-size: 10px; border-radius: 4px; }
.feed-subscribe.selected { background: #e9f0de; border-color: #b9cda2; color: #78965f; }
.feed-time { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feed-channel-note { background: #eff2e8; border: 1px solid #e0e7d7; padding: 18px; border-radius: 6px; margin-top: 24px; }
.feed-channel-note .section-title { font-size: 15px; }
.feed-channel-note .detail-footnote { margin-bottom: 0; }
.unsupported-sources { margin-top: 29px; padding-top: 23px; border-top: 1px solid #e1e8d6; }
.unsupported-source { padding: 16px 0; border-bottom: 1px solid #e6ecdf; }
.unsupported-source .small-muted { font-size: 11px; margin: 6px 0; }
.feed-notification { border: 1px solid #d9e5cc; border-radius: 7px; background: #f0f5e8; padding: 20px; margin-top: 15px; }
.feed-notification.is-read { background: #f8faf5; border-color: #e5eadf; }
.feed-notification-title { font: 20px/1.8 "Songti SC",STSong,serif; color: #64814c; margin-bottom: 10px; }
.feed-notification .note-body { color: #81956c; font-size: 12px; }
.feed-notification-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.feed-notification-footer .small-muted { font-size: 9px; }
.digest-preview-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(max-width:600px) {
  .topbar { gap: 8px; }.breadcrumbs { min-width: 0; white-space: nowrap; overflow: hidden; }.topbar-right { flex-shrink: 0; gap: 10px; }.notification-button { font-size: 10px; }
  .auto-feed-bar { padding: 12px 13px; margin-bottom: 20px; gap: 8px; }.auto-feed-title { font-size: 11px; }.auto-feed-bar .small-muted { font-size: 9px; }.auto-feed-bar .text-button { font-size: 10px; }
  .live-feed-grid { grid-template-columns: 1fr; gap: 12px; }.live-title { font-size: 20px; }.live-summary { font-size: 13px; }.live-byline { font-size: 10px; }.live-card-meta { font-size: 10px; }.live-reason { font-size: 11px; }.live-open { min-height: 36px; font-size: 12px; }.live-feed-footer { align-items: start; }.live-feed-footer .small-muted { font-size: 9px; }
  .feed-subscribe { min-height: 40px; }.feed-control-row .small-muted { font-size: 11px; }.feed-source-name { font-size: 14px; }.feed-connection .small-muted { font-size: 11px; }.connection-status { font-size: 11px; }.feed-time .material-category-options { margin-top: 0; }
  .feed-notification { padding: 17px; }.feed-notification-title { font-size: 22px; }.feed-notification .note-body { font-size: 13px; }.feed-notification-footer { flex-wrap: wrap; }.feed-notification-footer .small-muted { font-size: 10px; }
}

/* 家人安排与资料保管沿用同一层面板。 */
.member-row { flex-wrap: wrap; }.member-identity { flex: 1; min-width: 100px; }.member-choice { font-size: 10px; }
.data-panel { margin-top: 24px; }.data-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }.data-actions .button { flex: 1; min-width: 160px; }
.consent-preview { display: block; white-space: pre-wrap; background: #f1f4ed; padding: 18px; border-radius: 12px; margin: 20px 0; word-break: break-word; }
.export-content { height: 250px; font-size: 11px; word-break: break-all; }.ai-consent-sheet .full-width { margin-top: 12px; }
@media (max-width: 600px) { .data-actions { flex-direction: column; align-items: stretch; }.member-choice { margin-left: auto; }.consent-preview { padding: 14px; } }

/* 手机弹层：标题、滚动内容和主要操作各占一层，避免长表单挤在一起。 */
.sheet { height: 84vh; max-height: 900px; overflow: hidden; }
.sheet-header { padding: 16px 24px; border-bottom: 1px solid #e5eadf; min-height: 65px; }
.sheet-nav-title { flex: 1; font-size: 16px; font-weight: 600; color: #344f41; }
.sheet-back { color: #456951; font-size: 14px; min-height: 44px; padding-right: 12px; flex-shrink: 0; }
.sheet-header .close-button { flex: 0 0 44px; width: 44px; min-width: 0; max-width: 44px; height: 44px; line-height: 42px; font-size: 26px; padding: 0; }
.sheet-scroll { flex: 1; height: 0; min-height: 0; max-height: none; padding: 0; width: 100%; }
.sheet-content { padding: 22px 26px 28px; }
.sheet-footer { flex-shrink: 0; border-top: 1px solid #e1e7da; background: #fcfdf9; padding: 14px 26px 20px; }
.sheet-footer .button { width: 100%; min-height: 48px; font-size: 15px; border-radius: 12px; }
.footer-hint { display: block; text-align: center; font-size: 11px; color: #6e7e68; margin-bottom: 9px; }
.form-section { padding: 18px; background: #fff; border: 1px solid #e3e9dd; border-radius: 14px; margin: 18px 0; min-width: 0; }
.form-section-title { display: block; font-size: 15px; font-weight: 600; color: #415e48; line-height: 1.6; margin-bottom: 8px; }
.form-section .form-label { margin-top: 16px; }
.form-section .form-textarea { margin-top: 10px; }
.field-hint { display: block; font-size: 12px; color: #6e7e68; line-height: 1.7; margin-top: 8px; }
.surname-fields { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 12px; }
.form-two-columns > view { min-width: 0; }
.length-options { display: flex; gap: 8px; }
.length-options .filter-chip { flex: 1; border: 1px solid #dce4d4; text-align: center; }
.segmented-control { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: #eaf0e5; margin: 20px 0; }
.segmented-control button { flex: 1; min-width: 0; min-height: 44px; padding: 10px 6px; border-radius: 9px; font-size: 13px; color: #63725c; }
.segmented-control button.selected { background: #fff; color: #365440; font-weight: 600; box-shadow: 0 1px 4px #30442a12; }
.source-selector { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 1px solid #dfe6d7; border-radius: 13px; padding: 13px 16px; margin-top: 18px; background: #f0f5eb; color: #5c7351; font-size: 13px; }
.source-selector .field-hint { margin: 0; font-size: 11px; }
.source-selector-value { display: block; font-size: 16px; font-weight: 600; margin-top: 3px; color: #3f5c46; }
.studio-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 12px 0; }
.studio-category-grid .filter-chip { padding: 10px 4px; min-width: 0; font-size: 12px; }
.choice-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.choice-row { display: block; border: 1px solid #e1e7da; background: #f8faf5; padding: 14px 16px; text-align: left; border-radius: 12px; color: #546a48; font-size: 14px; }
.choice-row.selected { border-color: #849e73; background: #edf4e7; }
.choice-row.selected > text:first-child { font-weight: 600; }
.choice-row .field-hint { font-weight: 400; margin-top: 3px; }
.interval-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.interval-options .filter-chip { border: 1px solid #dde5d3; }
.sheet .studio-results { grid-template-columns: 1fr; gap: 14px; }
.sheet .name-card .name-display { font-size: 34px; }
.sheet .name-card .poem-line { min-height: 0; line-height: 1.8; margin: 12px 0; }
.sheet .name-card .source-caption { min-height: 0; margin-bottom: 12px; }
.sheet .name-card .name-open { padding-top: 2px; }
.sheet .name-card .card-bottom { min-height: 50px; }
.sheet .name-card { padding: 16px 20px 0; }
.feed-connections { margin-bottom: 16px; }
.feed-toggle { flex: 0 0 76px; width: 76px; min-width: 0; max-width: 76px; }
.feed-subscribe { flex: 0 0 84px; width: 84px; min-width: 0; max-width: 84px; }
.feed-control-row > view { flex: 1; min-width: 0; }
.feed-time { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 12px; }
.live-feed-footer { flex-wrap: wrap; }
.name-card .source-caption,.material-attribution,.live-byline { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .sheet { height: 91vh; max-height: 91vh; border-radius: 22px 22px 0 0; }
  .sheet-header { padding: 10px 18px 12px; min-height: 62px; }
  .sheet-content { padding: 16px 18px 24px; }
  .sheet-footer { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
  .sheet-title { font-size: 22px; line-height: 1.5; letter-spacing: 0; }
  .sheet-subtitle { font-size: 13px; line-height: 1.8; margin: 10px 0 20px; }
  .sheet .section-title { font-size: 17px; line-height: 1.6; }
  .sheet .section-heading { align-items: center; flex-wrap: wrap; gap: 10px; }
  .sheet .form-label { font-size: 13px; color: #52674a; }
  .form-section { padding: 15px; margin: 15px 0; }
  .form-input { min-width: 0; height: 48px; padding: 11px 12px; font-size: 15px; border-radius: 10px; }
  .form-textarea { font-size: 15px; line-height: 1.8; padding: 12px; border-radius: 10px; }
  .form-two-columns { gap: 10px; }
  .sheet .sheet-actions { flex-direction: column; gap: 10px; }
  .sheet .sheet-actions .button { flex: none; width: 100%; min-height: 46px; font-size: 14px; border-radius: 10px; }
  .sheet .text-button { min-height: 40px; font-size: 13px; }
  .sheet .filter-chip { min-height: 44px; font-size: 13px; }
  .sheet .style-options { display: flex; flex-wrap: wrap; gap: 8px; }
  .sheet .style-options .filter-chip { flex: 0 0 calc(50% - 4px); width: calc(50% - 4px); min-width: 0; max-width: calc(50% - 4px); padding: 10px 4px; }
  .visibility-options { gap: 10px; }
  .visibility-option { min-height: 48px; font-size: 13px; }
  .feed-subscribe,.feed-toggle { min-height: 44px; font-size: 12px; border-radius: 10px; }
  .feed-source-name { font-size: 14px; font-weight: 500; }
  .detail-tags { align-items: flex-start; }
  .detail-name { font-size: 40px; letter-spacing: 4px; overflow-wrap: anywhere; }
  .detail-poem { padding: 18px; border-radius: 14px; }
  .detail-section { padding-top: 22px; }
  .detail-footnote,.verification-label { line-height: 1.8; }
  .comparison-column { padding-right: 10px; }
  .comparison-column + .comparison-column { padding-left: 10px; }
  .compare-name { font-size: 25px; letter-spacing: 0; overflow-wrap: anywhere; }
  .compare-value { font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
  .compare-block { min-height: 0; margin-top: 18px; padding-top: 16px; }
  .comparison-column > .button { width: 100%; font-size: 12px; padding: 10px 4px; }
  .member-row { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 8px 12px; padding: 18px 0; border-bottom: 1px solid #edf0e7; }
  .member-row .member-choice { grid-column: 2; margin-left: 0; justify-self: start; }
  .member-row > .text-button { grid-column: 2; justify-self: start; min-height: 36px; }
  .preference-row { flex-wrap: wrap; gap: 8px; font-size: 13px; }
  .family-title { overflow-wrap: anywhere; }
  .page-heading { align-items: flex-start; gap: 14px; }
  .page-heading > view { flex: 1; min-width: 0; }
  .page-heading .button { flex-shrink: 0; padding: 10px 12px; font-size: 12px; }
  .category-item { min-height: 58px; padding: 10px 8px; gap: 5px; }
  .category-count { font-size: 9px; }
  .category-label { font-size: 12px; }
  .live-title { font-size: 19px; }
  .live-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .name-grid { grid-template-columns: 1fr; gap: 14px; }
  .name-grid .name-card { padding: 16px 20px 0; }
  .name-grid .name-display { font-size: 35px; }
  .name-grid .poem-line { min-height: 0; font-size: 14px; margin: 12px 0; }
  .name-grid .source-caption { min-height: 0; font-size: 11px; margin-bottom: 14px; }
  .name-grid .card-bottom { min-height: 50px; }
  .name-grid .relation,.name-grid .add-small { font-size: 12px; }
  .add-small { min-height: 44px; padding: 10px 12px; }
  .name-grid .pinyin { font-size: 12px; }
  .name-grid .card-top .eyebrow { font-size: 11px; }
  .icon-button { width: 44px; height: 44px; }
  .next-batch { min-height: 46px; font-size: 13px; border-radius: 10px; }
  .toast { z-index: 100; max-width: calc(100vw - 36px); width: max-content; white-space: normal; }
}
@media (max-width: 360px) {
  .sheet-content { padding-left: 14px; padding-right: 14px; }
  .surname-fields { grid-template-columns: 1fr; }
  .studio-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-count { display: none; }
}

/* 每日精选之外的搜索独立展示全库结果。 */
.global-search { margin-bottom: 24px; }
.search-clear { flex: 0 0 52px; width: 52px; max-width: 52px; min-height: 44px; color: #476d52; font-size: 13px; }
.search-summary { padding: 20px 0; border-bottom: 1px solid #dfe7d6; margin-bottom: 24px; }
.search-summary .section-title { font-size: 23px; overflow-wrap: anywhere; }
.search-result-group { margin: 28px 0 38px; }
.search-group-heading { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; color: #355440; }
.search-group-heading .small-muted { margin-left: auto; font-size: 12px; font-weight: 400; }
.search-group-symbol { display: flex; align-items: center; justify-content: center; width: 38px; height: 42px; border: 1px solid #dce5d2; border-radius: 10px; background: #ebf1e5; font: 24px/1.4 "Songti SC",STSong,serif; }
.search-type-title { display: block; color: #72826a; font-size: 13px; margin: 22px 0 10px; }
.search-names-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.search-name-result,.search-material-result { min-width: 0; padding: 19px; border: 1px solid #e0e7d9; border-radius: 14px; background: #fcfdf9; cursor: pointer; }
.search-material-result { margin: 10px 0; }
.search-result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #718267; }
.search-result-meta .gender-badge { margin-left: auto; }
.search-name-title { font: 28px/1.7 "Songti SC",STSong,serif; color: #3f5c43; margin-top: 10px; }
.search-material-title { color: #405e48; font-size: 17px; font-weight: 500; line-height: 1.8; }
.search-result-snippet { margin-top: 9px; font-size: 14px; line-height: 1.9; color: #61715c; white-space: pre-wrap; overflow-wrap: anywhere; }
.search-result-source { display: block; margin-top: 12px; font-size: 11px; line-height: 1.8; color: #7b8870; overflow-wrap: anywhere; }
.search-hit { color: #2d583e; background: #e8edd0; border-radius: 2px; font-weight: 600; }
.gender-badge { display: inline-block; flex-shrink: 0; background: #edf2e6; border: 1px solid #dfe7d5; color: #536c49; border-radius: 20px; padding: 4px 11px; font-size: 12px; line-height: 1.5; }
.detail-profile { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.profile-label { font-size: 12px; color: #718169; }
.profile-note { display: block; font-size: 11px; line-height: 1.8; color: #7a8770; margin-top: 8px; }
.detail-meaning { border: 1px solid #dce6d2; background: #eff4e8; border-radius: 14px; padding: 20px; margin: 20px 0; }
.detail-meaning .section-heading { margin-bottom: 0; }
.detail-meaning .detail-body { font-size: 16px; line-height: 1.9; color: #496246; }
.gender-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gender-options .filter-chip { flex: 0 0 calc(50% - 4px); width: calc(50% - 4px); min-width: 0; max-width: calc(50% - 4px); border: 1px solid #dfe6d7; }
.daily-footer > text { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width:600px) {
  .global-search { margin-bottom: 18px; }
  .global-search input { font-size: 13px; }
  .search-names-grid { grid-template-columns: 1fr; }
  .search-result-group { margin: 24px 0 30px; }
  .search-group-heading { font-size: 19px; }
  .search-summary { padding-top: 4px; }
  .search-summary .section-title { font-size: 21px; }
  .search-summary .section-subtitle { font-size: 12px; line-height: 1.9; }
  .search-name-result,.search-material-result { padding: 16px; }
  .search-result-meta { font-size: 10px; }
  .search-result-snippet { font-size: 14px; }
  .detail-meaning { padding: 18px; }
  .daily-footer > text { max-width: 100%; }
}

.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;margin-bottom:14px;background:#f7f0e3;border:0.5px solid #e8d9bc;border-radius:9px;color:#746449;font-size:12px;line-height:1.7}.connection-banner>view{display:flex;flex:1;min-width:0;flex-direction:column}.connection-title{font-size:14px;font-weight:600;color:#594b35;margin-bottom:3px}.connection-banner .button{flex-shrink:0;white-space:nowrap}@media(max-width:600px){.connection-banner{align-items:flex-start;flex-direction:column}.connection-banner .button{align-self:flex-end}}
