/* Interior pages share the home page's paper, botanical green and soft light. */
:root{--ui-shadow:0 4px 16px rgba(64,78,54,.035);--ui-border:rgba(115,134,109,.12)}
.page:not(#page-home){background:radial-gradient(ellipse at 100% 0%,rgba(206,227,202,.34),transparent 340px),var(--bg);padding-bottom:calc(var(--nav-h) + 28px + env(safe-area-inset-bottom,0px))}
.page:not(#page-home) .page-head{padding:32px 22px 20px;align-items:center;gap:12px}.page-head h2{font-size:30px;line-height:1.25;letter-spacing:-.8px}.page-eyebrow{font-size:11px;font-weight:600;color:var(--brand);letter-spacing:2px;margin-bottom:9px}.page-description{font-size:12px;line-height:1.6;color:var(--text-2);margin-top:8px}
.page:not(#page-home) .add-btn{width:46px;height:46px;border-radius:16px;background:linear-gradient(145deg,#3d9476,#17674f);color:#fff;box-shadow:0 6px 13px rgba(26,105,79,.16);font-size:27px;flex-shrink:0}
.daily-insight{position:relative;display:flex;align-items:center;gap:12px;padding:20px 19px 27px;margin:0 18px 20px;border:1px solid rgba(105,155,106,.14);border-radius:24px;background:radial-gradient(ellipse at right top,rgba(250,237,201,.7),transparent 80%),linear-gradient(120deg,#e5f0e5,#eef3e7);overflow:hidden;color:#174b39}.insight-label{font-size:10px;color:#648673;letter-spacing:1px}.daily-insight h3{font-size:17px;font-weight:600;line-height:1.45;margin:7px 0}.daily-insight p{font-size:11px;line-height:1.6;color:#6a8071}.insight-number{margin-left:auto;flex-shrink:0;display:flex;flex-direction:column;align-items:center;width:53px}.insight-number strong{font-size:34px;font-weight:500;line-height:1.15;font-variant-numeric:tabular-nums}.insight-number span{font-size:10px;color:#6a8071;margin-top:5px}.insight-track{position:absolute;bottom:14px;left:19px;right:19px;height:3px;background:rgba(72,123,83,.09);border-radius:4px;overflow:hidden}.insight-track span{display:block;height:100%;background:#449779;border-radius:4px;transition:width .25s ease}
.search-field{display:flex;align-items:center;gap:10px;margin:0 18px 18px;padding:0 13px;height:48px;border-radius:16px;background:var(--card);border:1px solid var(--ui-border);box-shadow:var(--ui-shadow)}.search-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(60,146,112,.09)}.search-field>svg{width:20px;height:20px;flex-shrink:0;color:var(--text-3)}.search-field input,.search-field .ai-search{flex:1;min-width:0;width:auto;margin:0;padding:0;background:transparent;border:0;border-radius:0;outline:none;box-shadow:none;font-size:14px;color:var(--text);height:100%}.search-field input::-webkit-search-cancel-button{display:none}.search-clear{width:30px;height:32px;border-radius:10px;background:var(--bg-2);color:var(--text-2);font-size:21px;flex-shrink:0}.search-clear[hidden]{display:none}
.chips,.note-filters{display:flex;gap:7px;margin:0;padding:0 18px 14px;overflow-x:auto}.chip,.note-filters button{border:1px solid var(--ui-border);background:var(--card);padding:10px 15px;min-height:40px;border-radius:13px;flex-shrink:0;color:var(--text-2);font-size:12px;white-space:nowrap}.chip.on,.note-filters button.on{background:var(--brand);border-color:var(--brand);color:white;box-shadow:0 3px 8px rgba(34,109,78,.12)}.category-chips{padding-left:18px;padding-right:18px}.category-chips button{font-size:11px;background:transparent;border-color:transparent;padding:6px 10px;min-height:34px}.category-chips .on{background:var(--brand-soft);color:var(--brand);border-color:transparent}
.result-caption{margin:1px 22px 11px;font-size:11px;color:var(--text-2);line-height:1.5}.group-label{padding:16px 22px 10px;font-size:11px;font-weight:600;color:var(--text-2)}.group-label::after{margin-left:5px;background:var(--ui-border)}
.todo-item{margin:0 18px 10px;padding:17px 10px 17px 17px;border:1px solid var(--ui-border);border-radius:20px;gap:12px;box-shadow:var(--ui-shadow);align-items:center}.todo-item::before{width:3px;top:20px;bottom:20px}.t-check{border:1.5px solid #bbcdc0;width:24px;height:24px;margin-top:0}.t-body{cursor:pointer;border-radius:8px}.t-text{font-size:14px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.t-meta{gap:7px;margin-top:8px}.t-cat{font-size:10px;background:var(--bg-2);padding:3px 7px;border-radius:6px}.t-due{font-size:10px}.t-more{color:var(--text-2)}.todo-item.done{background:var(--bg-2);box-shadow:none}.todo-item.done .t-text{color:var(--text-2)}
.note-item{margin:0 18px 12px;padding:18px 18px 12px;border:1px solid var(--ui-border);border-radius:21px;box-shadow:var(--ui-shadow);cursor:pointer;overflow:hidden}.note-item::before{height:3px;left:18px;right:18px;top:0;bottom:auto;width:auto;opacity:.65}.note-item[data-category="work"]::before{background:var(--c-work)}.note-item[data-category="life"]::before{background:var(--c-life)}.note-item[data-category="study"]::before{background:var(--c-study)}.note-item.fav::before{background:var(--accent)}.ai-note-title{font-size:17px;margin:0 0 8px;line-height:1.5;font-weight:650;letter-spacing:-.3px}.note-text{font-size:13px;line-height:1.9;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.ai-note-summary{font-size:12px;line-height:1.75;color:var(--text)}.note-foot{border-top:1px solid var(--ui-border);padding-top:8px;margin-top:15px}.note-actions button{min-height:40px;min-width:40px}.ai-tag{background:var(--bg-2);color:var(--text-2);border-radius:7px;padding:4px 7px;font-size:10px}.ai-provenance{font-size:9px;color:var(--text-2)}
.empty{padding:35px 28px 24px;margin:0 18px;border-radius:25px;border:1px dashed var(--ui-border);background:rgba(255,255,255,.32)}.empty img{width:115px;height:76px;mix-blend-mode:multiply}.empty h3{font-size:18px;color:var(--text);margin-top:12px;font-weight:600}.empty p{font-size:12px;line-height:1.8;max-width:230px}.primary-action{padding:12px 22px;background:var(--brand);color:white;border-radius:14px;min-height:44px;font-size:13px;font-weight:600;margin-top:20px;box-shadow:0 5px 12px rgba(31,116,83,.12)}
.schedule-seg{margin:0 18px 17px;gap:4px;padding:4px;background:var(--bg-2);border:1px solid var(--ui-border);border-radius:15px}.schedule-seg button{flex:1;min-height:38px;border-radius:11px;background:transparent;font-size:12px;padding:7px 12px}.schedule-seg .on{background:var(--card);color:var(--brand);box-shadow:0 2px 6px rgba(58,84,51,.08);font-weight:600}.schedule-toolbar{margin:0 18px 18px;gap:10px}.schedule-toolbar input{border:1px solid var(--ui-border);font-size:14px;height:46px;text-align:center;border-radius:14px}.schedule-toolbar button{border:1px solid var(--ui-border);height:46px;border-radius:14px;font-size:26px;color:var(--brand)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:0 18px;margin-bottom:18px}.week-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:79px;border-radius:16px;background:var(--card);border:1px solid var(--ui-border);color:var(--text-2)}.week-day span{font-size:10px}.week-day strong{font-size:19px;font-weight:500;color:var(--text)}.week-day i{display:block;width:4px;height:4px;border-radius:50%;background:transparent}.week-day i.has-items{background:var(--brand)}.week-day.selected{background:var(--brand);border-color:var(--brand);color:rgba(255,255,255,.75);box-shadow:0 5px 12px rgba(33,113,81,.15)}.week-day.selected strong{color:#fff}.week-day.selected i.has-items{background:#fff}.schedule-summary{margin:0 22px 14px;font-size:11px;color:var(--text-2)}
.profile-head{display:grid;grid-template-columns:58px 1fr;column-gap:15px;align-items:center;text-align:left;padding:32px 22px 25px}.profile-logo{grid-row:1/3;width:58px;height:58px;border-radius:20px;margin:0;box-shadow:0 8px 17px rgba(47,118,79,.13);background:linear-gradient(135deg,#73b595,#216f53)}.profile-logo svg{width:29px}.profile-head h2{font-size:27px;letter-spacing:-.7px;align-self:end}.profile-head p{font-size:12px;align-self:start;margin-top:7px}.stat-grid{margin:0 18px 22px;gap:10px}.stat-box{padding:17px 16px;border:1px solid var(--ui-border);border-radius:21px;box-shadow:var(--ui-shadow)}.stat-box:nth-child(1){background:linear-gradient(140deg,var(--card),var(--brand-soft))}.stat-box:nth-child(4){background:linear-gradient(140deg,var(--card),var(--accent-soft))}.stat-box .v{font-size:29px;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-box .l{font-size:11px;margin-top:8px}.set-list{margin:0 18px 16px;border:1px solid var(--ui-border);border-radius:22px;box-shadow:var(--ui-shadow)}.set-item{min-height:66px;padding:14px 16px;font-size:13px;border-color:var(--ui-border);gap:11px;text-align:left}.set-item .ic{width:33px;height:33px;border-radius:11px;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.set-item .ic svg{width:17px}.set-item.danger .ic{background:var(--accent-soft)}.set-item .val{font-size:10px;color:var(--text-2)}#aiProfileStatus{padding:5px 8px;border-radius:8px;background:var(--brand-soft);color:var(--brand)}.seg{border-radius:10px;padding:3px}.seg button{min-height:32px;padding:5px 10px;font-size:11px}.insight-fold{margin:0 18px 16px;background:var(--card);border:1px solid var(--ui-border);border-radius:22px}.insight-fold>summary{padding:18px 16px;font-size:13px;cursor:pointer;min-height:54px;color:var(--text)}.insight-fold>summary span{font-size:11px;color:var(--text-2);margin-left:10px}.insight-fold>.card{margin:0 14px 15px;padding:15px;border-radius:16px;box-shadow:none;background:var(--bg)}.insight-fold .card-title .t{font-size:14px}.storage-footnote{font-size:10px;line-height:1.7;color:var(--text-2);text-align:center;margin:10px 20px 22px}
.detail{background:radial-gradient(ellipse at 100% 0%,rgba(206,227,202,.35),transparent 280px),var(--bg)}.detail-bar{position:relative;padding:22px 18px 16px;min-height:78px}.db-btn{width:44px;height:44px;border-radius:15px;background:var(--card);border:1px solid var(--ui-border);z-index:1}.editor-heading{position:absolute;left:50%;transform:translateX(-50%);font-size:13px;font-weight:600;pointer-events:none;color:var(--text-2)}#ndDelete{margin-left:auto;margin-right:8px;background:transparent;border:0;color:var(--p-high);font-size:12px}.detail-scroll{padding:8px 18px 18px}.detail-title{font-size:23px;line-height:1.65;padding:6px 3px;min-height:82px}.detail-status{margin-top:7px;margin-bottom:20px}.opt-row{border:1px solid var(--ui-border);border-radius:17px;box-shadow:none;padding:14px 15px;min-height:58px;font-size:13px}.opt-row .val{font-size:12px;max-width:55%}.subtask-box,.detail-note{border:1px solid var(--ui-border);border-radius:18px;box-shadow:none}.subtask-head{font-size:13px}.add-sub input{font-size:16px;color:var(--text);padding:11px}.add-sub button{height:44px;width:44px}.sub-del{min-width:40px;min-height:40px}.detail-note{min-height:108px;font-size:14px}.detail-save{margin:8px 18px 18px;width:calc(100% - 36px);border-radius:17px;min-height:52px;background:var(--brand);box-shadow:0 6px 16px rgba(30,108,75,.14);font-size:14px}#ndHeadline{background:transparent;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;font-size:24px;font-weight:600;padding:10px 0 15px}#ndTitle{padding:12px 0;line-height:1.9!important;font-size:16px!important}.detail .ai-field{font-size:11px;color:var(--text-2)}
.ai-overlay{background:radial-gradient(ellipse at 100% 0%,rgba(206,227,202,.34),transparent 320px),var(--bg)}.ai-top{padding:20px 18px 14px;border-bottom:1px solid var(--ui-border);gap:12px;background:transparent}.ai-top h2{font-size:15px;letter-spacing:-.3px}.ai-top p{font-size:10px;line-height:1.6;margin-top:3px;color:var(--text-2)}.ai-close{background:var(--card);border:1px solid var(--ui-border);border-radius:14px;width:42px;height:42px;font-size:27px}.ai-settings{min-height:42px;padding:8px 12px;border-radius:13px;background:var(--card);border:1px solid var(--ui-border);font-size:11px}.ai-scroll{padding:22px 20px 28px}.ai-scroll h3{font-size:25px;font-weight:600;letter-spacing:-.7px;line-height:1.5}.assistant-steps{display:flex;gap:13px;align-items:center;margin:0 0 27px;font-size:10px;letter-spacing:.4px;color:var(--text-2)}.assistant-steps i{width:24px;height:1px;background:var(--line)}.assistant-steps .current{color:var(--brand);font-weight:600}.ai-help{font-size:12px;line-height:1.9;margin-top:10px;color:var(--text-2)}.ai-field{margin-top:20px;margin-bottom:9px;font-size:12px;color:var(--text)}.ai-textarea,.ai-input,.ai-select{background:var(--card);border:1px solid var(--ui-border);box-shadow:var(--ui-shadow);border-radius:16px;padding:14px;font-size:16px;color:var(--text);line-height:1.75}.ai-textarea{min-height:164px;resize:vertical}.ai-input,.ai-select{min-height:50px}.ai-textarea:focus,.ai-input:focus,.ai-select:focus{outline:2px solid rgba(59,152,105,.3);outline-offset:2px}.ai-textarea::placeholder{font-size:13px;line-height:1.9;color:var(--text-2)}.ai-textarea.small{min-height:92px}.ai-actions{gap:9px}.ai-button{border-radius:14px;min-height:47px;font-size:12px;box-shadow:none;padding:12px 15px;background:var(--brand);font-weight:600}.ai-button.secondary{background:var(--brand-soft);border:1px solid var(--ui-border);color:var(--brand)}.ai-button.quiet{background:var(--card);border:1px solid var(--ui-border);color:var(--text-2)}#aiRecord{width:100%;min-height:58px;border-radius:19px;font-size:14px;letter-spacing:.2px;background:linear-gradient(135deg,#2e8e6d,#17634c);color:#fff;border:1px solid rgba(255,255,255,.4);box-shadow:0 7px 18px rgba(34,117,82,.13)}#aiRecord::before{content:'◉';margin-right:9px;font-size:18px;color:#afdfc4}#aiSaveRaw{color:var(--brand)}.ai-example{font-size:10px;padding:8px 10px;border-radius:10px;min-height:36px;border-color:var(--ui-border);background:var(--card)}.ai-status{font-size:12px;border:1px solid var(--ui-border);background:var(--brand-soft);border-radius:16px;line-height:1.8;padding:14px}.ai-fine{font-size:10px;color:var(--text-2);line-height:1.85}.privacy-detail{margin:18px 0}.privacy-detail summary{font-size:10px;color:var(--text-2);cursor:pointer;padding:8px 0}.connection-hint{display:flex;align-items:center;gap:10px;background:var(--accent-soft);border:1px solid rgba(174,137,70,.1);border-radius:17px;padding:14px;margin:18px 0}.connection-hint[hidden]{display:none}.connection-hint strong{font-size:12px;color:var(--text);font-weight:600}.connection-hint p{font-size:10px;line-height:1.7;margin-top:5px;color:var(--text-2)}.connection-hint button{color:var(--brand);font-size:11px;font-weight:600;flex-shrink:0;min-height:42px}.ai-record{background:var(--brand-soft);border:1px solid var(--ui-border);border-radius:20px}.ai-record strong{color:var(--brand);font-size:30px;font-variant-numeric:tabular-nums}.ai-draft{border-color:var(--ui-border);border-radius:21px;padding:17px;box-shadow:var(--ui-shadow)}.ai-draft-head h3{font-size:21px}.ai-draft .ai-input,.ai-draft .ai-select,.ai-draft .ai-textarea{font-size:14px;background:var(--bg);border-radius:12px;box-shadow:none}.ai-pick{font-size:13px}.ai-config details{padding:12px 15px;border:1px solid var(--ui-border);border-radius:17px;background:var(--card)}.ai-config details summary{font-size:12px;padding:4px 0}.ai-code-status{background:var(--card);border:1px solid var(--ui-border);border-radius:17px;padding:15px;font-size:11px}
.sheet{border-radius:28px 28px 0 0;border-top:1px solid var(--ui-border);box-shadow:0 -12px 35px rgba(32,47,35,.09)}.sheet-title{font-size:16px;line-height:1.6}.sheet-confirm,.sheet-cancel{border-radius:15px;min-height:46px;font-size:14px}.sheet input{font-size:16px}
@media(hover:hover){.todo-item:hover,.note-item:hover{border-color:rgba(63,135,94,.3);box-shadow:0 7px 20px rgba(40,82,54,.06)}.set-item:hover,.t-more:hover,.note-actions button:hover{background:var(--bg-2)}}
@media(max-width:350px){.page:not(#page-home) .page-head{padding:25px 18px 18px}.daily-insight{margin-left:14px;margin-right:14px;padding:17px 15px 25px}.daily-insight h3{font-size:15px}.ai-scroll{padding-left:16px;padding-right:16px}.seg button{padding:5px 7px}.week-strip{gap:3px}.week-day{border-radius:12px}}
[data-theme="dark"] .daily-insight{background:linear-gradient(120deg,#203d2e,#303829);border-color:var(--ui-border);color:#d1e8cf}[data-theme="dark"] .daily-insight p,[data-theme="dark"] .insight-label,[data-theme="dark"] .insight-number span{color:#a4bda9}[data-theme="dark"] .empty{background:rgba(255,255,255,.025)}[data-theme="dark"] .empty img{mix-blend-mode:normal;opacity:.7;border-radius:12px}[data-theme="dark"] .t-check{border-color:#658272}
@media(prefers-reduced-motion:reduce){.insight-track span{transition:none}}

.set-item .chev{margin-left:auto}.priority-label{font-size:9px;border-radius:5px;padding:3px 6px;line-height:1.4}.priority-label.high{color:#b63f2f;background:#fff0e9}.priority-label.mid{color:#996528;background:#fff4df}#aiRecord{display:flex;align-items:center;justify-content:center;gap:10px}#aiRecord::before{display:none}#aiRecord svg{width:23px;height:25px}.discard-help{font-size:12px;color:var(--text-2);line-height:1.8;padding:0 18px 16px;text-align:center}
[data-theme="dark"] .nav-item.on{color:var(--brand)}[data-theme="dark"] .nav-item.on[data-nav="home"] svg{fill:var(--brand);stroke:var(--brand)}[data-theme="dark"] .chip.on,[data-theme="dark"] .note-filters button.on,[data-theme="dark"] .primary-action,[data-theme="dark"] .detail-save,[data-theme="dark"] .ai-button:not(.secondary):not(.quiet):not(#aiRecord),[data-theme="dark"] .week-day.selected,[data-theme="dark"] .week-day.selected strong{color:#0d3024}[data-theme="dark"] .week-day.selected i.has-items{background:#0d3024}[data-theme="dark"] .priority-label.high{background:#452b27;color:#f0ad9f}[data-theme="dark"] .priority-label.mid{background:#453c28;color:#e9c891}[data-theme="dark"] .page:not(#page-home),[data-theme="dark"] .detail,[data-theme="dark"] .ai-overlay{background:radial-gradient(ellipse at 100% 0%,rgba(55,94,60,.2),transparent 340px),var(--bg)}

.head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.view-shortcut{width:38px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--card);border:1px solid var(--ui-border);color:var(--brand)}.view-shortcut svg{width:21px;height:21px}#ndOriginal{margin-top:15px;overflow-wrap:anywhere}.page-description{text-wrap:pretty}

/* v0.5: readable type is independent of the scaled reference artwork. */
.page-eyebrow{font-size:13px;letter-spacing:1px}.page-description{font-size:15px;line-height:1.75}.page-head h2{font-size:32px}.daily-insight{padding-bottom:30px}.insight-label{font-size:13px}.daily-insight h3{font-size:20px}.daily-insight p{font-size:14px;line-height:1.75}.insight-number span{font-size:12px}.insight-number{width:60px}.search-field{height:52px}.search-field input,.search-field .ai-search{font-size:16px}.chip,.note-filters button{font-size:14px;min-height:44px}.category-chips button{font-size:14px;min-height:40px}.result-caption,.group-label{font-size:13px;line-height:1.6}.t-text{font-size:17px;line-height:1.65}.t-cat,.t-due{font-size:13px}.priority-label{font-size:12px}.todo-item{padding-top:18px;padding-bottom:18px}.ai-note-title{font-size:20px}.note-text{font-size:16px;line-height:1.8}.ai-note-summary{font-size:15px;line-height:1.75}.ai-tag{font-size:12px}.ai-provenance{font-size:12px}.note-foot .t-cat{font-size:13px}.empty h3{font-size:20px}.empty p{font-size:15px;line-height:1.8}.primary-action{font-size:16px}.schedule-seg button{font-size:15px;min-height:44px}.schedule-summary{font-size:14px}.week-day span{font-size:13px}.week-day strong{font-size:21px}.week-day{min-height:86px}.profile-head p{font-size:15px}.stat-box .l{font-size:14px}.stat-box .v{font-size:32px}.set-item{font-size:16px;min-height:72px;gap:9px}.set-item .val{font-size:13px}.seg button{font-size:13px;padding:7px 9px;min-height:38px}.set-item .ic{width:30px}.insight-fold>summary{font-size:16px}.insight-fold>summary span{font-size:13px}.insight-fold .card-title .t{font-size:17px}.storage-footnote{font-size:13px}.cat-row .n{font-size:14px}.cat-row .c{font-size:13px}.bars .bl,.bars .bv{font-size:13px}.editor-heading{font-size:16px}#ndDelete{font-size:14px}.detail-title{font-size:25px}.opt-row{font-size:16px;gap:10px}.opt-row .val{font-size:14px;max-width:53%;overflow-wrap:anywhere}.subtask-head,.subtask .tx{font-size:16px}.detail-note{font-size:16px}.detail-meta{font-size:13px}.detail-save{font-size:17px}.detail .ai-field{font-size:14px}#ndTitle{font-size:18px!important;line-height:1.85!important}.search-tag{font-size:14px}.ai-top h2{font-size:18px}.ai-top p{font-size:13px}.ai-settings{font-size:14px}.assistant-steps{font-size:13px}.ai-help{font-size:15px;line-height:1.85}.ai-field{font-size:15px}.ai-textarea::placeholder{font-size:16px;line-height:1.8}.ai-button{font-size:15px;min-height:50px}#aiRecord{font-size:17px}.ai-example{font-size:13px;min-height:40px}.ai-status{font-size:15px}.ai-fine{font-size:13px}.privacy-detail summary{font-size:13px}.connection-hint{flex-wrap:wrap}.connection-hint strong{font-size:15px}.connection-hint p{font-size:13px}.connection-hint button{font-size:14px}.ai-config details summary{font-size:15px}.ai-code-status{font-size:14px;line-height:1.9}.ai-draft .ai-input,.ai-draft .ai-select,.ai-draft .ai-textarea{font-size:16px}.ai-pick{font-size:16px}.ai-draft .ai-field{font-size:14px}.discard-help{font-size:15px}.sheet-title{font-size:19px}.sheet-opt,.sheet-confirm,.sheet-cancel{font-size:16px}.toast{font-size:15px;line-height:1.65}
.hero .hello{font-size:16px}.hero .h-date{font-size:16px}.hero .slogan{font-size:15px;line-height:1.75}.hero{height:max(calc(400 * var(--ref)),245px)}.hero .hand-title{width:max(calc(438 * var(--ref)),235px);height:max(calc(106 * var(--ref)),59px)}.today-hero{gap:16px}.today-hero .info{min-width:0;padding-right:20px}.today-hero .big,.today-hero .big .zero2{font-size:17px}.today-hero .big .zero{font-size:30px}.today-hero .sub{font-size:15px;line-height:1.7;max-width:none}.ring{width:84px;height:84px;flex-shrink:0}.ring .pct{font-size:22px}.ring .pl{font-size:12px}.card-title .t{font-size:20px}.card-title .link{font-size:14px}.more-head .t{font-size:20px}.more-head .link{font-size:14px}.card-empty .et{font-size:16px;line-height:1.65}.speak-btn{font-size:17px;min-height:46px}.card-empty{height:190px;padding-top:66px}.card-empty img{top:-9px;width:110px;height:65px}.home-trend .bars .bl{font-size:14px}.home-trend .bars .bv{font-size:12px}.more-item .mt{font-size:15px;white-space:normal}.more-item .ms{font-size:12px;white-space:normal;line-height:1.5;padding:0 5px}.more-item{min-height:128px}.more-item .mi{width:55px;height:55px}.nav-item{font-size:15px;gap:7px}.navbar{height:calc(76px + env(safe-area-inset-bottom,0px))}.nav-item svg{width:24px;height:24px}.nav-mic .fab{width:62px;height:62px;margin-top:-26px}.nav-mic .fab svg{width:31px;height:34px}.func-card{height:172px;min-width:0;padding:15px;border-radius:22px}.func-card .fc-icon,.func-card .fc-title,.func-card .fc-sub,.func-card .fc-arrow{opacity:1}.func-card .fc-title{font-size:17px;line-height:1.45;margin-top:9px;position:relative}.func-card .fc-sub{font-size:14px;line-height:1.6;position:relative}.func-card .fc-icon{width:34px;height:34px;border-radius:11px}.func-card .fc-icon svg{width:21px}.func-card .fc-arrow{right:10px;top:18px}.func-card::before{content:'';position:absolute;inset:0;pointer-events:none}#fcVoice{background-image:linear-gradient(to bottom,#e9f0e0 0%,#e9f0e0 66%,transparent 90%),url('assets/reference-voice-card.webp')!important;color:#174a37}#fcSched{background-image:linear-gradient(to bottom,#fff0dc 0%,#fff0dc 66%,transparent 90%),url('assets/reference-schedule-card.webp')!important;color:#78451e}
@media(max-width:480px){.hero{height:220px}.hero-inner{padding-top:24px;padding-left:22px;padding-right:22px}.hero .h-date{margin-top:10px}.hero .slogan{margin-top:9px}.today-hero .big{white-space:normal}.more-grid{gap:0}.set-item:has(#themeSeg){flex-wrap:wrap}.set-item:has(#themeSeg) .val{margin-left:auto}.page-description{font-size:14px}}
@media(max-width:350px){.daily-insight h3{font-size:18px}.insight-number{width:48px}.set-item{font-size:15px;padding-left:13px;padding-right:13px}.set-item .val{font-size:12px}.seg button{font-size:12px;padding:6px 7px}.ai-grid{grid-template-columns:1fr}.opt-row{font-size:15px;padding:13px 11px}.opt-row .val{font-size:13px}.func-card{padding:12px}.func-card .fc-title{font-size:16px}.func-card .fc-sub{font-size:14px}.card-title .t{font-size:18px}.today-hero{gap:10px}.ring{width:72px;height:72px}.today-hero .big{font-size:16px}.today-hero .sub{font-size:14px}}

/* Record-grounded assistant and recovery controls. */
.memory-launch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 18px 16px;padding:17px 16px;width:calc(100% - 36px);border-radius:18px;background:var(--brand-soft);border:1px solid var(--ui-border);color:var(--brand);text-align:left;min-height:64px}.memory-launch span:first-child{font-size:16px;font-weight:600}.memory-launch span:last-child{font-size:12px;line-height:1.6}#memoryOverlay{z-index:48}#memoryAnswer{white-space:pre-wrap;font-size:17px;line-height:1.85;padding:18px 0;overflow-wrap:anywhere}#memoryAnswerArea h3.memory-answer-title{font-size:23px;margin-top:25px}#memoryAnswerArea h4{font-size:15px;margin:24px 0 12px}.reference-record{display:block;width:100%;padding:14px 15px;min-height:48px;margin:9px 0;border:1px solid var(--ui-border);border-radius:14px;background:var(--card);color:var(--brand);font-size:15px;line-height:1.7;text-align:left;overflow-wrap:anywhere}#snapshotOptions{font-size:14px;line-height:1.8}#memoryReferences{font-size:14px;color:var(--text-2);line-height:1.8}#recoverDraft .val,#recoverySnapshots .val{font-size:12px}.memory-launch:active{transform:scale(.98)}

.duplicate-confirm{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.8;margin:18px 0;padding:13px;background:var(--accent-soft);border-radius:13px}.duplicate-confirm[hidden]{display:none}.duplicate-confirm input{width:20px;height:20px;accent-color:var(--brand);flex-shrink:0}
