@charset "UTF-8";
.journal-advanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:16px 0 8px}.journal-advanced label{display:grid;gap:6px;font-size:12px;color:#6d7e6c;min-width:0}.journal-advanced select,.journal-advanced input{font:inherit;color:var(--ink);width:100%;min-width:0;background:var(--paper);border:1px solid #dfe5d8;border-radius:8px;padding:10px;height:44px}.followup-intro{padding:22px;background:#eaf0e5;border-radius:12px;margin-bottom:24px;color:#60745f}.followup-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-top:1px solid var(--line)}.followup-item>div{min-width:0}.followup-item h3{overflow-wrap:anywhere;white-space:pre-wrap;font-size:16px}.followup-item .button{flex-shrink:0}.followup-item .field-help{margin:7px 0 0}@media(max-width:900px){.journal-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-advanced>.text-button{grid-column:1/-1;justify-self:start}}@media(max-width:520px){.followup-item{display:block}.followup-item .button{margin-top:14px}.journal-advanced input[type=date]{font-size:12px;padding:8px}}
/* Reports share the local worksheet data on desktop and narrow mobile screens. */
.text-button.report-entry{display:block;margin-bottom:12px;width:fit-content}.report-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.report-toolbar .filter-tabs{flex-wrap:wrap}.report-toolbar .filter-tabs button[aria-pressed=true]{background:#477d69;color:white}.report-intro{background:#eaf0e5;border:1px solid #dce5d5;border-radius:16px;padding:28px;margin-bottom:20px}.report-intro h2{font-size:22px;margin:6px 0 10px}.report-intro p{margin-bottom:12px}.report-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:24px}.report-stat{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.report-stat>span{color:#697c6c;font-size:12px}.report-stat strong{font-size:30px;font-weight:500}.report-stat small{color:#7d897e}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.report-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.report-card .field-help{margin:10px 0 16px}.report-card .report-grid{margin-top:18px}.report-empty{padding:18px 0;color:#697b6c}.report-chart{display:block;width:100%;height:auto;max-height:240px;margin:20px 0}.report-chart text{font-size:12px;fill:#708171}.chart-axis{stroke:#dce4d7;stroke-width:1;fill:none}.chart-bar{fill:#8aaa91}.chart-line{fill:none;stroke:#608871;stroke-width:2.5}.chart-point{fill:#477d69}.report-method{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.report-method:last-of-type{margin-bottom:14px}.report-method strong{white-space:nowrap;font-weight:500}.report-details summary{cursor:pointer;color:#477d69;padding:10px 0}.report-table-wrap{overflow:auto;max-height:300px}.report-table-wrap table{width:100%;text-align:left;border-collapse:collapse}.report-table-wrap th,.report-table-wrap td{border-bottom:1px solid var(--line);padding:8px}.report-comparison{padding:20px;background:#f7f8f2;border-radius:12px;min-width:0}.report-comparison-heading{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;align-items:center}.report-comparison h3{font-size:14px}.report-change{padding:2px 9px;background:#e6eddf;border-radius:16px;font-size:12px;white-space:nowrap}.report-values{font-size:26px;margin:12px 0}.report-values small{font-size:12px;color:#788977}.report-meter{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;gap:10px;align-items:center;font-size:12px;color:#6f7e6b}.report-meter meter{width:100%;height:14px}.report-meter meter::-webkit-meter-bar{background:#e8ecdf;border:0;border-radius:6px}.report-meter meter::-webkit-meter-optimum-value{background:#87a38b;border-radius:6px}.report-meter:nth-of-type(3) meter::-webkit-meter-optimum-value{background:#477d69}.report-comparison .field-help{font-size:12px;margin:8px 0 0}.report-score-summary{display:flex;flex-wrap:wrap;gap:24px;margin-top:20px;align-items:center}.report-score-summary strong{display:block;font-size:36px;font-weight:500;color:#477d69}.report-score-summary strong small{font-size:14px}.report-score-summary small,.report-score-summary span{font-size:12px;color:#758370}.report-notes p{color:#71816f;margin-top:10px;font-size:13px}.report-card .section-heading{flex-wrap:wrap;gap:8px}.report-card .support-message{padding:16px;background:#faf0e4;border-radius:8px;margin:14px 0}
@media(max-width:760px){.report-grid{grid-template-columns:1fr;gap:14px}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-stat:last-child{grid-column:1/-1}.report-card{padding:18px}.report-intro{padding:22px}.report-intro h2{font-size:20px}.report-toolbar{display:block}.report-toolbar .filter-tabs{display:flex;gap:4px;overflow:visible}.report-toolbar .filter-tabs button{padding:8px 10px}.report-score-summary{gap:16px}.report-score-summary>div{width:100%}}
:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#35473d;background:#f7f8f2;font-synthesis:none;--green:#477d69;--ink:#35473d;--muted:#879087;--line:#e7eae1;--paper:#fffefb;--sage:#edf2e9;--peach:#f7eee4}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.75}button,input,textarea{font:inherit}button,a,input,textarea,summary,label{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0}button{border:0;background:none}button:focus-visible,a:focus-visible,summary:focus-visible,label[role=button]:focus-visible{outline:3px solid #a3bda1;outline-offset:4px}input:focus,textarea:focus{outline:2px solid #a3bda1;outline-offset:1px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-weight:600}h1{font-size:30px;letter-spacing:1.5px;line-height:1.5}h2{font-size:18px;letter-spacing:.5px}h3{font-size:16px}button,a{transition:background .18s,color .18s,box-shadow .18s,transform .18s}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;padding:12px;background:white;z-index:100}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#f1f3eb;border-right:1px solid var(--line);padding:35px 23px;z-index:10;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding-left:13px;width:fit-content}.brand span{display:flex;flex-direction:column}.brand strong{font-size:25px;letter-spacing:5px;line-height:1.35}.brand small{font-size:9px;letter-spacing:2.2px;color:#7e8c7d}.sidebar-caption{font-size:11px;color:#919b8a;letter-spacing:1.3px;padding:20px 0 32px 14px}.navigation{display:grid;gap:10px}.navigation a{display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:9px;color:#7a8578;position:relative}.navigation a>span:first-child{display:flex}.navigation a[aria-current=page]{background:#e1eadc;color:#3e6b50;font-weight:600}.navigation a:hover{background:#e8eddf}.nav-dot{width:5px;height:5px;background:#628365;border-radius:50%;margin-left:auto;display:none}.navigation a[aria-current=page] .nav-dot{display:block}.sidebar-bottom{margin-top:auto;padding:24px 13px 0;color:#8d9989}.sidebar-bottom p{font-size:12px;line-height:2.2;letter-spacing:1.6px}.little-wave{font-size:62px;line-height:1;color:#b5c3a6;margin-bottom:12px;font-family:Georgia,serif}.local-note{display:flex;align-items:center;gap:6px;margin-top:28px;font-size:10px;letter-spacing:.4px;color:#98a28f}.local-note svg{width:13px;height:13px}.app-shell{margin-left:224px;min-height:100vh}.topbar{height:79px;padding:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;font-size:11px}.breadcrumb{color:#99a18e;letter-spacing:.7px}.breadcrumb span{padding:0 14px;color:#c2c7b8}.breadcrumb strong{font-weight:400;color:#67765e}.date-label{margin-left:auto;color:#8b9582}.avatar{display:grid;place-items:center;background:#e8eddf;color:#738065;width:32px;height:32px;border-radius:50%;font-size:11px}main{max-width:1250px;margin:auto;padding:38px 5% 44px;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#8b9b80;line-height:1.5}.page-heading h1{margin:9px 0}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;letter-spacing:.5px}.hero{background:#eaf0df;border-radius:15px;display:grid;grid-template-columns:1.02fr 1fr;overflow:hidden;position:relative;min-height:310px}.hero-copy{padding:32px 0 30px 35px;z-index:1;position:relative}.pill{display:inline-flex;gap:6px;align-items:center;font-size:10px;letter-spacing:.6px;color:#6a805e;background:#f5f7ecb8;border:1px solid #dbe5cf;border-radius:30px;padding:4px 10px}.pill svg{width:12px;height:12px}.hero h2{font-size:29px;font-family:"Songti SC","Noto Serif SC","SimSun",serif;line-height:1.65;letter-spacing:3px;margin:16px 0 11px;color:#3e5d47;font-weight:500}.hero p{font-size:12px;color:#7a8d6e;line-height:1.95;letter-spacing:.6px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:8px;padding:10px 20px;font-size:12px;letter-spacing:.6px;font-weight:500;white-space:nowrap}.button.primary{background:var(--green);color:#fffef4;border:1px solid var(--green)}.button.primary:hover{background:#396b58;box-shadow:0 4px 12px #355a4714}.button.primary svg{width:16px;height:16px}.button.secondary{background:#f9faf4;border:1px solid #dbe2d4;color:#587550}.button.secondary:hover{background:#edf2e6}.button.danger{background:#a75043;color:white}.hero .button{margin-top:21px;min-width:160px}.hero-footnote{display:inline-block;margin-left:14px;font-size:10px;color:#8c9c7f;letter-spacing:.5px}.bay-art{height:100%;width:100%;object-fit:cover;object-position:60% center;mix-blend-mode:multiply;opacity:.95}.mood-section,.practice-section{margin-top:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-heading h2{font-size:16px}.section-heading p{font-size:11px;color:#98a08e;margin-top:4px}.subtle-label{font-size:10px;color:#9aa18f;letter-spacing:.5px}.mood-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;background:var(--paper);padding:20px 18px 17px;border:1px solid var(--line);border-radius:13px}.mood-choice{display:flex;flex-direction:column;gap:9px;align-items:center;color:#7b8772;font-size:11px;border-radius:10px;padding:3px}.mood-choice:hover{transform:translateY(-3px);background:#f6f7ee}.mood-face{border-radius:50%;width:47px;height:47px;background:#f1f1e7;display:grid;place-items:center}.mood-face svg{width:28px;height:28px;stroke-width:1.3}.mood-0 .mood-face{background:#eaf1e2;color:#91aa7f}.mood-1 .mood-face{background:#faf0cf;color:#c2aa60}.mood-2 .mood-face{background:#f6e8d8;color:#c4a281}.mood-3 .mood-face{background:#e8edf1;color:#91a7b5}.mood-4 .mood-face{background:#f6e3de;color:#c49383}.mood-5 .mood-face{background:#eee7ee;color:#b199ae}.mood-6 .mood-face{background:#ebece2;color:#a6ad96}.mood-7 .mood-face{background:#eeebe5;color:#b3a693}.text-button{color:#7b8f6a;font-size:11px;letter-spacing:.3px;padding:4px 0;display:inline-flex;align-items:center;gap:7px}.text-button:hover{color:#35674b;text-decoration:underline}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tool-card{position:relative;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:24px;min-height:226px}.tool-card:hover{border-color:#bacbad;box-shadow:0 6px 20px #3b573208;transform:translateY(-2px)}.tool-icon{width:43px;height:43px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.tool-icon svg{width:23px;height:23px}.sage{background:var(--sage);color:#7a9570}.peach{background:var(--peach);color:#b99975}.lavender{background:#eeebf3;color:#a097ae}.tool-label{position:absolute;top:27px;left:82px;font-size:11px;color:#809073;display:flex;flex-direction:column;gap:2px}.tool-label small{font-size:8px;letter-spacing:1.7px;color:#a7af9d}.tool-card h3{font-size:19px;margin:16px 0 7px}.tool-card p{font-size:12px;color:#929b87;line-height:1.9;letter-spacing:.3px}.tool-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#819673;margin-top:19px;border-top:1px solid #edf0e6;padding-top:12px}.tool-bottom svg{width:16px;height:16px}.pending-strip{margin-top:24px;border:1px solid #e6e4ce;background:#f6f4e6;padding:14px 18px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8c906d}.pending-strip>span{display:flex;align-items:center;gap:10px}.bottom-grid{margin-top:31px;display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.recent-section .section-heading{margin-bottom:15px}.empty-state{min-height:154px;background:#fffefb;border:1px dashed #dfe5d6;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:24px}.empty-icon{color:#acbaa1;display:flex;margin-bottom:2px}.empty-icon svg{width:23px;height:23px}.empty-state h3{font-size:12px;font-weight:400;color:#859479}.empty-state p{font-size:10px;color:#a3ab98;margin-top:3px}.empty-state .text-button{font-size:10px}.week-card{background:#eff2e7;border:1px solid #e4e9da;border-radius:13px;padding:21px 22px;align-self:start}.week-card h3{font-size:13px;font-weight:500;margin-top:8px}.week-dots{display:flex;justify-content:space-between;margin:17px 0}.week-dots>div{display:flex;flex-direction:column;align-items:center;gap:7px;color:#96a086;font-size:10px}.week-dot{height:25px;width:25px;display:flex;align-items:center;justify-content:center;border:1px solid #dce3d1;border-radius:50%;color:#abb79b;background:#f7f8f0;font-size:17px}.week-dot.today{border-color:#91ab7a}.week-dot.filled{background:#98b18a;color:white;border-color:#98b18a}.week-dot svg{width:14px;height:14px}.week-card p{font-size:10px;color:#95a184;line-height:2}.site-footer{max-width:1250px;margin:0 auto;padding:0 5% 24px;display:flex;justify-content:space-between;gap:10px;color:#abb3a0;font-size:9px;letter-spacing:1px}.record-card{width:100%;display:flex;align-items:center;gap:15px;padding:18px 20px;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:11px;margin-bottom:11px;min-width:0}.record-card:hover{border-color:#c1cfb4;background:#fcfdf6}.record-icon{height:41px;width:41px;display:flex;align-items:center;justify-content:center;border-radius:12px;flex-shrink:0}.record-icon svg{width:24px;height:24px}.record-content{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.record-meta{font-size:10px;color:#9aa38f}.record-meta span{margin:0 5px}.record-content strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.record-summary{font-size:10px;color:#8b9b7c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-arrow{color:#a4b296;display:flex}.record-arrow svg{width:16px;height:16px}.journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:35px}.filter-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.filter-tabs button{padding:8px 15px;border-radius:7px;font-size:12px;color:#859078}.filter-tabs button[aria-pressed=true]{background:#e5edde;color:#55734c}.search-field{max-width:255px;flex:1}.search-field input{font-size:12px;min-height:39px}.record-count{font-size:11px;color:#a0aa94;margin:23px 0 15px}.journal-list{min-height:340px}.journal-list .empty-state{min-height:280px}.guide-intro{display:flex;align-items:center;gap:17px;margin:40px 0 23px}.guide-intro p{font-size:12px;color:#939e87;margin-top:6px}.distortion-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.distortion-card{background:var(--paper);border:1px solid var(--line);border-radius:10px}.distortion-card summary{display:flex;gap:12px;align-items:center;padding:19px;cursor:pointer;list-style:none}.distortion-card summary::-webkit-details-marker{display:none}.distortion-number{font-family:Georgia,serif;font-size:22px;color:#b1bea0}.distortion-card summary>span:nth-child(2){flex:1}.distortion-card summary strong{font-size:13px;font-weight:500;display:block}.distortion-card summary small{display:block;font-size:10px;line-height:1.8;color:#9aa38f;margin-top:4px}.expand-sign{color:#9eae8e;font-size:19px}.distortion-card[open] .expand-sign{transform:rotate(45deg)}.distortion-detail{padding:0 20px 19px;color:#88977a;font-size:12px}.distortion-detail p{margin-top:12px}.distortion-detail strong{font-size:11px}.example-text{padding:10px 14px;background:#f2f5eb;border-radius:6px}.method-note{margin-top:28px;font-size:11px;color:#9ba48e;border-top:1px solid var(--line);padding-top:20px;line-height:2}.settings-card{display:flex;align-items:flex-start;gap:22px;padding:29px;background:var(--paper);border:1px solid var(--line);border-radius:13px;margin-bottom:20px}.settings-card>div{min-width:0;flex:1}.settings-card h2{font-size:17px;margin:4px 0 15px}.settings-card p{color:#87957a;font-size:12px;line-height:2;margin-top:10px}.storage-stats{display:flex;gap:35px;margin-top:23px;font-size:11px;color:#8b9980}.storage-stats strong{font-size:24px;color:#5b7a52;font-weight:500;margin-right:7px}.button-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}.import-button{cursor:pointer}.offline-status{color:#668059!important}.error-banner{padding:15px 20px;background:#f9e9e1;color:#a45a46;border:1px solid #efd4c6;border-radius:8px;margin-bottom:22px;font-size:12px}
dialog{border:1px solid #e2e8da;padding:0;background:#fffefb;color:var(--ink);border-radius:18px;box-shadow:0 25px 100px #24331f33;width:min(690px,calc(100% - 32px));max-height:calc(100dvh - 56px)}dialog::backdrop{background:#27332466;backdrop-filter:blur(5px)}.entry-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 58px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;padding:26px 29px 21px;border-bottom:1px solid var(--line);flex-shrink:0;gap:20px}.dialog-header h2{font-size:21px;margin-top:7px;letter-spacing:1px}.dialog-header .eyebrow{font-size:9px}.icon-button{font-size:26px;line-height:1;width:34px;height:34px;border-radius:50%;color:#8d9c80;display:grid;place-items:center}.icon-button:hover{background:#eff3e6}.dialog-scroll{padding:22px 29px 26px;overflow:auto;overscroll-behavior:contain}.mode-tabs{background:#f1f3eb;padding:4px;display:grid;grid-template-columns:1fr 1fr;border-radius:9px;gap:5px}.mode-tabs button{font-size:13px;padding:9px;border-radius:7px;color:#8d9b80}.mode-tabs button small{font-size:9px;margin-left:7px;font-weight:400}.mode-tabs button[aria-pressed=true]{background:#fffefb;box-shadow:0 2px 5px #45533208;color:#4d7041}.form-intro{font-size:12px;color:#94a084;margin:18px 0 5px;line-height:1.8}.form-section{margin-top:25px}.form-section h3{font-size:14px;font-weight:500;display:flex;align-items:center;gap:9px;margin-bottom:13px}.form-section h3 small{font-size:10px;font-weight:400;color:#a1ad91;margin-left:auto}.step-number{font-size:10px;background:#edf2e5;color:#82996e;border-radius:50%;min-width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center}.emotion-chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:15px}.emotion-chip{display:flex;align-items:center;gap:6px;border:1px solid #e3e8dc;border-radius:20px;padding:7px 12px;font-size:11px;color:#8a987c}.emotion-chip svg{width:18px;height:18px}.emotion-chip[aria-pressed=true]{border-color:#9eb68d;background:#ecf3e3;color:#597b49}.score-row{display:flex;align-items:center;gap:15px;margin:15px 0;font-size:12px}.score-row label{min-width:40px;color:#829471}.score-row input[type=range]{flex:1;width:100%;accent-color:#779866;height:5px;min-height:20px;cursor:pointer;outline-offset:3px}.score-row output{background:#eef3e5;color:#6d895a;min-width:36px;text-align:center;padding:2px 5px;border-radius:5px;font-size:11px;font-variant-numeric:tabular-nums}.score-legend{font-size:10px;color:#a3ac97;text-align:right}.field-help{font-size:11px;color:#96a187;line-height:1.9;margin:0 0 12px}.field-label{display:block;font-size:13px;color:#69805b;margin-bottom:9px}.field-label small{font-size:10px;color:#a0ac91;margin-left:8px}.spaced{margin-top:20px}textarea,input:not([type=checkbox]):not([type=range]):not([type=file]){width:100%;border:1px solid #e0e6d8;border-radius:8px;background:#fbfcf7;color:#516849;padding:12px 14px;font-size:12px;line-height:1.8}textarea{resize:vertical;min-height:90px;max-height:450px}textarea::placeholder,input::placeholder{color:#abb49d}input[type=checkbox]{accent-color:#6d8f5c;flex-shrink:0;cursor:pointer}.distortion-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.distortion-option{display:flex;align-items:flex-start;gap:7px;padding:10px 9px;border:1px solid #e9edde;border-radius:7px;cursor:pointer;background:#fcfdf8}.distortion-option:has(input:checked){border-color:#a3ba8f;background:#f0f5e9}.distortion-option strong{font-size:11px;font-weight:500;color:#758c65}.distortion-option small{display:block;font-size:10px;color:#a0ab92;line-height:1.7;margin-top:4px}.writing-prompt{font-size:11px;color:#889b75;background:#f1f5e9;border-left:2px solid #b6c99c;border-radius:0 5px 5px 0;padding:12px 14px;margin:0 0 13px;line-height:1.9}.after-row{justify-content:space-between}.after-row label{display:flex;align-items:center;gap:12px}.after-row small{font-size:10px;color:#a0ad90}.after-row input{max-width:105px}.dialog-footer{padding:17px 29px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);background:#fffefb;flex-shrink:0}.draft-status{font-size:10px;color:#9faa90}.dialog-footer .button{font-size:12px;min-height:42px}.column-heading{margin:28px 0 0;padding-top:22px;border-top:1px dashed #dce4d1;color:#89a176;letter-spacing:1px;font-size:12px}.rating-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rating-grid label{font-size:12px;color:#849775}.rating-grid input{margin-top:8px}.error-message{background:#faece5;color:#a45d4b;padding:11px 14px;border-radius:7px;font-size:12px;margin-top:20px}.detail-dialog{width:min(800px,calc(100% - 32px))}.detail-dialog[open]{display:flex;flex-direction:column}.detail-body{padding:28px;overflow:auto}.detail-body h3{font-size:16px;margin-bottom:12px}.detail-body h4{font-size:12px;color:#7e936b;margin:15px 0 9px}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#819073;line-height:2}.emotion-tags{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.emotion-tags>span{padding:5px 11px;border-radius:20px;background:#edf3e4;color:#849b6e;font-size:11px}.emotion-tags strong{font-weight:500;margin-left:5px}.three-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:25px}.three-columns section{background:#f6f8ef;border:1px solid #e6ecd9;padding:17px;border-radius:8px;min-width:0}.three-columns h4{margin:0 0 13px;font-size:11px}.three-columns p{font-size:12px;color:#8b9a7d;overflow-wrap:anywhere}.comparison-table{border-collapse:collapse;width:100%;margin:25px 0;font-size:13px}.comparison-table caption{text-align:left;color:#94a183;font-size:11px;margin-bottom:12px}.comparison-table th,.comparison-table td{padding:13px 15px;border-bottom:1px solid var(--line);text-align:left;font-weight:400}.comparison-table thead{background:#f0f4e7;color:#84996f;font-size:11px}.comparison-table td{font-variant-numeric:tabular-nums;color:#73905d}.danger-text{color:#b08a79}.delete-confirm{background:#faeee5;border-radius:8px;padding:17px;margin-top:24px;font-size:12px;color:#aa785d}.delete-confirm p{margin-bottom:14px}.delete-confirm .button{font-size:11px;margin-right:15px}.toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translateX(-50%);z-index:50;background:#3e5c42;color:#f5f9ee;border:1px solid #5d7a51;border-radius:10px;padding:13px 20px;box-shadow:0 5px 30px #2f3f2226;font-size:12px;max-width:calc(100vw - 35px);width:max-content;display:flex;align-items:center;gap:20px}.toast button{color:#d7e8c0;text-decoration:underline;white-space:nowrap}.noscript{position:fixed;inset:30%;background:white;padding:35px;z-index:100}
@media(min-width:1550px){main{padding-top:48px}.hero{min-height:350px}.hero-copy{padding-top:42px}.hero h2{font-size:33px}.hero .button{margin-top:26px}.mood-section,.practice-section{margin-top:34px}}
@media(max-width:1150px){.sidebar{width:192px;padding:32px 17px}.app-shell{margin-left:192px}.hero-footnote{display:none}.hero-copy{padding-left:26px}.hero h2{font-size:26px}.hero{grid-template-columns:1.15fr 1fr;min-height:300px}.mood-grid{gap:5px}.mood-face{width:43px;height:43px}.tool-card{padding:20px}.tool-label{left:77px;top:23px}.toast{left:calc(50% + 96px)}.bottom-grid{grid-template-columns:1.35fr 1fr;gap:16px}.week-card{padding:19px 17px}.page-heading h1{font-size:27px}}
@media(max-width:900px){.sidebar{width:168px;padding:28px 12px}.brand{padding-left:9px}.brand strong{font-size:22px}.sidebar-caption{font-size:9px;padding-left:10px;letter-spacing:.5px}.navigation a{padding:12px;gap:9px;font-size:12px}.app-shell{margin-left:168px}.sidebar-bottom{padding-left:10px}.sidebar-bottom p{font-size:11px}.local-note{font-size:9px;gap:3px}.topbar{padding:0 25px;height:69px}.date-label{font-size:10px}main{padding:30px 25px}.page-heading h1{font-size:24px}.hero h2{font-size:25px}.hero-copy{padding:26px 0 25px 23px}.hero{min-height:294px;grid-template-columns:1.35fr 1fr}.hero p{font-size:11px}.bay-art{object-position:65% center}.mood-grid{padding:16px 10px}.mood-face{width:36px;height:36px}.mood-face svg{width:24px;height:24px}.mood-choice{font-size:10px}.subtle-label{display:none}.section-heading h2{font-size:15px}.tool-label{font-size:10px}.tool-card h3{font-size:18px}.tool-bottom{font-size:9px}.bottom-grid{grid-template-columns:1fr}.week-card{max-width:none}.week-dots{max-width:370px}.week-card p br{display:none}.journal-toolbar{flex-direction:column;align-items:stretch;gap:15px}.search-field{max-width:none}.distortion-grid{grid-template-columns:1fr}.guide-intro h2{font-size:16px}.guide-intro p{font-size:11px}.toast{left:calc(50% + 84px)}.page-heading>.button{padding:9px 13px;font-size:11px}}
@media(max-width:650px){body{font-size:13px}.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:auto;display:block;padding:0;background:#fafbf5ee;backdrop-filter:blur(15px);border:0;border-top:1px solid #e2e8d9;z-index:20}.brand,.sidebar-caption,.sidebar-bottom{display:none}.navigation{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom))}.navigation a{flex-direction:column;gap:4px;justify-content:center;padding:5px 2px;color:#9aa68d;font-size:10px;border-radius:9px}.navigation a[aria-current=page]{background:#edf3e5;color:#5b7e4a}.navigation svg{width:19px;height:19px}.nav-dot{display:none!important}.app-shell{margin-left:0;padding-bottom:80px}.topbar{height:61px;padding:0 21px;gap:11px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 8px}.date-label{font-size:9px}.avatar{height:27px;width:27px;font-size:10px}main{padding:27px 20px 30px}.page-heading{margin-bottom:23px;align-items:flex-start;flex-wrap:wrap;gap:13px}.eyebrow{font-size:9px;letter-spacing:1.8px}.page-heading h1{font-size:24px;letter-spacing:1px;margin:9px 0}.page-heading p:not(.eyebrow){font-size:11px}.hero{display:block;min-height:318px}.hero-copy{padding:24px;position:relative}.hero h2{font-size:28px;letter-spacing:2px;line-height:1.65;margin:18px 0 12px}.hero p{font-size:11px;max-width:220px;position:relative;z-index:1}.bay-art{position:absolute;right:-77px;top:10px;bottom:0;width:82%;height:100%;object-position:60% center;opacity:.56;mask-image:linear-gradient(to right,transparent,#000 45%)}.hero .button{font-size:12px;min-height:43px;min-width:145px;position:relative;z-index:1;margin-top:23px}.hero .pill{font-size:9px}.mood-section,.practice-section{margin-top:27px}.section-heading{margin-bottom:15px;gap:8px}.section-heading h2{font-size:15px}.section-heading p{font-size:10px;margin-top:6px}.text-button{font-size:10px}.mood-grid{grid-template-columns:repeat(4,1fr);row-gap:19px;padding:19px 14px 17px}.mood-face{height:43px;width:43px}.mood-face svg{width:27px;height:27px}.mood-choice{gap:7px;font-size:11px}.tool-grid{grid-template-columns:1fr;gap:14px}.tool-card{min-height:0;padding:21px}.tool-card h3{font-size:18px;margin:15px 0 8px}.tool-card p{font-size:11px;line-height:1.9}.tool-card p br{display:none}.tool-label{left:80px;font-size:11px;top:24px}.tool-bottom{margin-top:17px;padding-top:12px;font-size:10px}.bottom-grid{margin-top:27px;gap:22px}.empty-state{min-height:180px}.week-card{padding:23px}.week-card h3{font-size:14px}.week-dots{margin:21px 0;max-width:none}.week-dot{width:30px;height:30px}.week-card p{font-size:10px}.site-footer{padding:0 22px 14px;font-size:8px;letter-spacing:.3px}.pending-strip{font-size:11px;align-items:flex-start;flex-direction:column}.pending-strip>span{gap:8px}.toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom));font-size:11px;padding:12px 16px}.filter-tabs{gap:3px}.filter-tabs button{font-size:11px;padding:8px 11px}.journal-toolbar{margin-top:20px}.record-card{padding:16px 14px;gap:12px}.record-content strong{font-size:12px}.record-meta{font-size:9px}.record-summary{font-size:9px}.record-icon{width:36px;height:36px}.guide-intro{align-items:flex-start;margin-top:31px;gap:12px}.guide-intro h2{font-size:15px}.guide-intro p{font-size:11px;line-height:1.9}.distortion-card summary{padding:18px 15px}.settings-card{padding:21px 19px;gap:13px}.settings-card>.tool-icon{width:31px;height:31px;border-radius:8px}.settings-card>.tool-icon svg{width:18px;height:18px}.settings-card h2{font-size:15px;margin-top:2px}.settings-card p{font-size:11px}.storage-stats{gap:15px;flex-wrap:wrap;font-size:10px}.storage-stats strong{font-size:21px}.button-row{gap:9px}.button-row .button{font-size:11px;padding:10px 12px}.page-heading>.button{min-height:37px}.dialog-header{padding:22px 20px 18px}.dialog-header h2{font-size:18px}.dialog-scroll{padding:18px 20px 23px}.dialog-footer{padding:14px 18px}.dialog-footer .button{padding:10px 14px;font-size:11px}.draft-status{font-size:9px;max-width:125px}.entry-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:14px}.entry-dialog form{max-height:calc(100dvh - 26px)}.mode-tabs button{font-size:12px;padding:9px 5px}.mode-tabs button small{display:block;font-size:9px;margin:2px 0 0}.form-section h3{font-size:13px;flex-wrap:wrap}.form-section h3 small{font-size:9px}.form-intro{font-size:11px}.emotion-chips{gap:7px}.emotion-chip{padding:6px 10px;font-size:11px}.distortion-picker{grid-template-columns:1fr}.distortion-option small{font-size:10px}.distortion-option{padding:9px 11px}.distortion-option strong{font-size:12px}.rating-grid{gap:12px}.rating-grid label{font-size:11px}.detail-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.detail-body{padding:22px 20px}.three-columns{grid-template-columns:1fr;margin-top:20px}.detail-text{font-size:12px}.comparison-table{font-size:12px}.comparison-table th,.comparison-table td{padding:11px}.error-banner{font-size:11px}.method-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.catalog-section{margin-top:38px;padding-top:28px;border-top:1px solid var(--line)}.catalog-heading{font-size:13px;color:#849776;margin:22px 0 13px}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.catalog-item{border:1px solid #e5eadc;border-radius:9px;background:#fafbf6}.catalog-item summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;font-size:12px}.catalog-item summary::-webkit-details-marker{display:none}.catalog-item summary>span:first-child{flex:1}.catalog-item summary small{font-size:9px;color:#a3ac96;background:#eef1e6;border-radius:4px;padding:2px 5px;white-space:nowrap}.catalog-item[open] .expand-sign{transform:rotate(45deg)}.catalog-description{padding:0 16px 17px;font-size:11px;color:#8a997c}.catalog-fields{margin-top:10px;color:#789463;line-height:1.9}.catalog-evidence{display:block;font-size:9px;margin-top:12px;color:#a3ac96}.method-note a{color:#758d63;text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.catalog-grid{grid-template-columns:1fr}.catalog-section{margin-top:29px}.catalog-item summary{font-size:12px}}
:root{--reflection-line:#dbe4d4}
.reflection-section{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}.reflection-section .section-heading{align-items:flex-start}.reflection-section h3{font-size:16px}.reflection-section .section-heading p{font-size:12px;line-height:1.8;margin-top:6px}.reflection-empty{font-size:12px;color:var(--muted);padding:14px 0 20px}.reflection-item{position:relative;border-left:2px solid var(--reflection-line);padding:3px 0 18px 18px;margin:0 0 13px 5px}.reflection-item:before{content:'';width:8px;height:8px;border-radius:50%;background:#96ad85;position:absolute;left:-5px;top:9px}.reflection-item header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.reflection-author{display:flex;gap:5px;align-items:center;color:#708561;font-size:11px}.reflection-author svg{width:13px;height:13px}.reflection-item time{font-size:10px;color:#8d9886}.reflection-text{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 7px}.reflection-actions{display:flex;gap:20px}.reflection-actions button{min-height:32px}.reflection-section label{display:block;font-size:13px;margin-bottom:10px}.reflection-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.reflection-prompts button{background:#edf2e5;border:1px solid #e0e7d8;border-radius:14px;padding:6px 10px;color:#758967;font-size:10px;text-align:left;white-space:normal}.reflection-section textarea{width:100%;resize:vertical;min-height:112px;box-sizing:border-box}.reflection-form-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px}.reflection-form-footer .field-help{font-size:10px;flex:1}.reflection-form-footer .button{min-height:40px;padding:9px 15px}.reflection-section .form-error{color:#ad574b;font-size:12px;margin-top:8px}@media(max-width:650px){.reflection-section{padding-top:23px}.reflection-item{padding-left:13px}.reflection-item header{align-items:flex-start;flex-direction:column;gap:4px}.reflection-form-footer{flex-wrap:wrap}.reflection-form-footer .field-help{flex-basis:100%}.reflection-prompts button{min-height:34px}.reflection-text{font-size:12px}.reflection-section textarea{font-size:16px}}

.sync-banner { font-size:12px;color:var(--muted,#6b776f);margin:0 0 18px; }
.account-card > div { width:100%;min-width:0; }
.account-form { display:grid;gap:16px;max-width:420px;margin:20px 0; }
.account-form label { display:grid;gap:8px; }
.account-form input { width:100%;padding:12px;border:1px solid #d9e1db;border-radius:10px;background:#fff;font:inherit; }
.account-card summary { cursor:pointer;padding:12px 0; }
.account-card details { margin-top:12px; }
.sync-conflict { border:1px solid #ddc8ad;border-radius:14px;padding:18px;margin-top:20px; }
.sync-conflict pre { white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font:inherit;background:#f5f4ef;padding:12px; }
.invitation-result { overflow-wrap:anywhere;user-select:all; }
/* Repeated worksheets and periodic assessment share the quiet paper palette. */
.expansion-dialog{width:min(920px,calc(100vw - 24px));max-height:92vh;padding:0;border:1px solid #dce4d9;border-radius:22px;background:#fcfcf7;color:#304c40}
.expansion-dialog::backdrop{background:#203e3655;backdrop-filter:blur(3px)}
.expansion-dialog .dialog-scroll{padding:24px;max-height:70vh;overflow:auto}
.expansion-dialog label{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:0}
.expansion-dialog input:not([type=checkbox]):not([type=radio]),.expansion-dialog select,.expansion-dialog textarea,#assessment-plan-form select{box-sizing:border-box;width:100%;padding:11px;border:1px solid #d3ddd2;border-radius:10px;background:#fffef9;color:inherit;font:inherit}
.expansion-dialog small{font-size:12px;color:#718375}
.worksheet-group{margin-top:24px}.worksheet-row{border:1px solid #dce5da;border-radius:14px;margin:16px 0;padding:18px;min-width:0}.worksheet-row legend{padding:0 8px;font-size:13px;color:#60806b}
.worksheet-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}.worksheet-distortions{min-width:0;grid-column:1/-1;border:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.worksheet-distortions legend{margin-bottom:8px}.worksheet-distortions label{display:block;background:#f1f5ed;padding:8px;border-radius:8px}.worksheet-distortions small{display:block;margin-top:3px}.row-actions{display:flex;gap:18px;justify-content:flex-end;margin-top:12px}
.worksheet-result{border:1px solid #e0e7dd;border-radius:12px;padding:14px;margin:12px 0}.worksheet-result dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}.worksheet-result dt{font-size:12px;color:#788c7b}.worksheet-result dd{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.available-worksheets .catalog-item{padding:20px}.available-worksheets h3{margin:0 0 12px}.available-worksheets p{line-height:1.8;color:#768675}
.assessment-stats{display:flex;gap:35px;flex-wrap:wrap;margin:26px 0}.assessment-stats>div{display:flex;flex-direction:column;gap:8px}.assessment-stats strong{font-size:36px;font-weight:500;color:#447d68}.assessment-stats small{font-size:14px}.support-message{padding:16px 20px;border-left:3px solid #b68763;border-radius:10px;background:#faf0e4;color:#67543e;line-height:1.9}
.assessment-question{border:0;border-top:1px solid #e2e8dc;padding:18px 0;margin-top:15px;min-width:0}.assessment-question legend{font-size:15px;padding:0 8px 0 0}.assessment-options{display:flex;gap:8px;flex-wrap:wrap}.assessment-options label{display:block;padding:10px;background:#f0f4e9;border-radius:9px;font-size:13px}.assessment-options label:has(input:checked){background:#dcebdc;color:#2c634c}.assessment-options input{accent-color:#447d68}
.assessment-history{margin:30px 0}.assessment-history-row{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #dfe6d9}.assessment-history-row p{font-size:13px;color:#7b8c79}.score-chart{display:flex;align-items:flex-end;gap:20px;overflow-x:auto;padding:20px;border-radius:16px;background:#f0f4e9;margin:20px 0}.score-point{min-width:70px;text-align:center;flex:0 0 auto}.score-point>div{background:#8eb59c;border-radius:7px 7px 0 0;margin:5px auto;width:26px}.score-point small{white-space:nowrap;font-size:11px}.assessment-answers>div{border-bottom:1px solid #e0e7dc;padding:12px 0}.assessment-answers dd{margin:8px 0 0;color:#65836c}
@media(max-width:600px){.expansion-dialog .dialog-scroll{padding:16px;max-height:68vh}.worksheet-fields,.worksheet-distortions{grid-template-columns:1fr}.assessment-stats{gap:20px}.assessment-stats strong{font-size:28px}.expansion-dialog .dialog-footer{flex-wrap:wrap;gap:10px}.assessment-history-row{padding:12px 0}.expansion-dialog .dialog-header h2{font-size:20px}.expansion-dialog .dialog-header{padding:18px}.worksheet-row{padding:12px}}

.score-bar{fill:#8eb59c}.score-point svg{display:block;margin:5px auto;width:30px;height:140px}

.expansion-dialog[open]{display:flex;flex-direction:column}.expansion-dialog form{display:flex;flex-direction:column;min-height:0;max-height:calc(92vh - 2px);width:100%}.expansion-dialog .dialog-scroll{flex:1;min-height:0;max-height:none}.expansion-dialog .dialog-header,.expansion-dialog .dialog-footer{flex-shrink:0}

.practice-recommendations{margin:24px 0 36px;padding:24px;background:#eef2e9;border:1px solid var(--line);border-radius:16px}.practice-recommendations .section-heading{gap:16px;flex-wrap:wrap;margin-bottom:12px}.practice-recommendations .support-message{background:#fff3e9;border-left:3px solid #b67c54;border-radius:6px;padding:16px;line-height:1.8;margin:16px 0}.recommendation-distribution{margin:16px 0}.recommendation-distribution summary{cursor:pointer;color:#477d69;font-size:13px}.distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.distribution-item{font-size:13px;padding:12px;background:var(--paper);border-radius:8px}.distribution-item p{font-size:12px;color:var(--muted);margin:6px 0}.distribution-item meter{width:100%;height:14px}.recommendation-card{background:var(--paper);padding:20px}.recommendation-card h3{margin-bottom:10px}.recommendation-card p{font-size:13px;line-height:1.85;color:#687c6b}.recommendation-card .button{margin-top:14px}.recommendation-empty{font-size:13px;line-height:1.8;margin:18px 0}.practice-library-link{margin-top:16px}.practice-library .section-heading{gap:12px;flex-wrap:wrap}.practice-library .field-help{margin:12px 0}.practice-sort-controls{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.practice-sort-controls .button{padding:8px 12px;min-height:40px;font-size:12px}.practice-sort-controls button:disabled{opacity:.45;cursor:default}.shortcut-practice{display:block;margin-top:12px}.practice-library{margin-bottom:36px}.practice-recommendations .catalog-item p{overflow-wrap:anywhere}@media(max-width:600px){.practice-recommendations{padding:18px}.distribution-grid{grid-template-columns:1fr}.recommendation-cards{grid-template-columns:1fr}.practice-library .button-row{gap:12px}.practice-recommendations .section-heading h2{font-size:19px}}
/* Reference guides share their offline content with the mini-program. */
.reference-library { margin-top: 36px; }
.reference-card { margin: 16px 0; border: 1px solid #e1e7df; border-radius: 18px; background: #fffdf8; }
.reference-card summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; cursor: pointer; list-style: none; }
.reference-card summary::-webkit-details-marker { display: none; }
.reference-card summary strong { display: block; font-size: 18px; }
.reference-card summary small { display: block; margin-top: 8px; color: #68746e; line-height: 1.6; }
.reference-content { padding: 0 22px 22px; }
.reference-source { padding: 12px 16px; background: #f2f4ed; border-radius: 10px; color: #58675d; line-height: 1.8; font-size: 13px; }
.reference-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reference-item { min-width: 0; padding: 18px 0; border-top: 1px solid #e4e9e1; overflow-wrap: anywhere; }
.reference-item h3 { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.reference-item h3 span { color: #62806b; font-size: 13px; }
.reference-item p { line-height: 1.8; font-size: 14px; }
.reference-prompt { color: #446a55; }
.reference-comparison { margin: 12px 0; font-size: 14px; }
.reference-comparison div { padding: 10px 12px; background: #f5f5ef; margin-bottom: 8px; border-radius: 8px; }
.reference-comparison dt { font-weight: 600; }
.reference-comparison dd { margin: 6px 0 0; line-height: 1.7; }
.worksheet-instructions { font-size: 14px; line-height: 1.8; }
@media (max-width: 620px) { .reference-items { grid-template-columns: 1fr; gap: 0; } .reference-card summary { padding: 18px; } .reference-content { padding: 0 18px 18px; } }

.maintenance-secret { overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; line-height: 1.8; color: #446a55; }
.migration-items { max-height: 260px; overflow: auto; overflow-wrap: anywhere; padding-left: 22px; font-size: 13px; line-height: 1.8; }
#cloud-import-preview { margin-top: 20px; }
html.large-text { font-size: 19px; }
html.large-text input,html.large-text textarea,html.large-text select { font-size: 1.05rem; }
html.large-text body {font-size:19px;}html.large-text button,html.large-text .button,html.large-text label,html.large-text .field-help,html.large-text .sync-banner,html.large-text .text-button {font-size:17px;}
html.reduce-motion *,html.reduce-motion *::before,html.reduce-motion *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
html.privacy-locked body > :not(#privacy-shield) { visibility:hidden!important; }
#privacy-shield { max-width: min(420px,90vw); padding:28px; border:1px solid #dce4d8; border-radius:18px; }
#privacy-shield::backdrop { background:#f7f8f2; }
#privacy-shield form { display:grid;gap:16px; }
.preserve-lines { white-space:pre-wrap;overflow-wrap:anywhere; }

.growth-links{margin:0 0 28px;gap:10px}.growth-links .button{font-size:13px;padding:10px 16px}.growth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.growth-card{padding:28px;background:#fffdf8;border:1px solid #dfe6da;border-radius:20px;min-width:0;overflow-wrap:anywhere}.growth-card h2{font-size:21px;margin:0 0 18px}.growth-card p{line-height:1.85}.growth-toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:22px 0}.growth-toolbar label{display:grid;gap:10px;font-size:13px}.growth-toolbar input,.growth-toolbar select{padding:12px;border:1px solid #dce4d8;border-radius:10px;background:#fffdf8;min-height:46px;color:#314f3e}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0}.calendar-day{border:1px solid #dfe6da;border-radius:12px;background:#fffdf8;min-width:0;min-height:100px;padding:12px}.calendar-day>strong{font-size:13px;color:#647f6d}.calendar-record{display:grid;gap:6px;min-width:0;width:100%;border:0;text-align:left;background:#eef3e9;border-radius:7px;padding:9px;margin-top:10px;color:#3e654d;overflow-wrap:anywhere;cursor:pointer}.calendar-record small{font-size:11px;line-height:1.6}.growth-report{background:#fffdf8;border:1px solid #dfe6da;border-radius:18px;padding:28px;margin:24px 0;overflow-x:auto;line-height:1.8}.growth-report h1{font-size:25px}.growth-report h2{font-size:20px;margin-top:26px}.growth-report h3{font-size:16px}.growth-report table{border-collapse:collapse;width:100%;min-width:300px}.growth-report td,.growth-report th{border:1px solid #dde5d7;padding:12px;text-align:left}.growth-report section{break-inside:avoid}#growth-error,#growth-page-error{color:#a04f43}#growth-dialog[open]{display:flex;flex-direction:column}#growth-form{display:flex;flex-direction:column;min-height:0;width:100%;max-height:90vh}#growth-form .dialog-scroll{flex:1;min-height:0;max-height:none}#growth-form .dialog-footer{flex-shrink:0}#growth-form .account-form{max-width:none}
@media(max-width:900px){.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.growth-grid{grid-template-columns:1fr}.growth-card,.growth-report{padding:20px}.calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-links .button{flex:1 1 40%}.growth-toolbar label{flex:1 1 44%;min-width:0}.growth-toolbar input{max-width:100%}}
@media print{body.printing-comparison>.sidebar,body.printing-comparison>.skip-link,body.printing-comparison .topbar,body.printing-comparison .site-footer,body.printing-comparison #main>:not(#comparison-output),body.printing-comparison>dialog,body.printing-comparison>#toast{display:none!important}body.printing-comparison .app-shell{margin:0!important}body.printing-comparison #main{padding:0!important;max-width:none!important}body.printing-comparison .growth-report{border:0;padding:0;overflow:visible}body.printing-comparison{background:white}html.privacy-locked body.printing-comparison .app-shell{display:none!important}}

.app-update-notice:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px clamp(16px, 4vw, 48px) 0; padding: 14px 18px; border: 1px solid #d8e4dc; border-radius: 12px; background: #eff5ee; font-size: 14px; }
