@font-face{font-family:DM;src:url('/fonts/dm-sans.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url('/fonts/dm-sans-semibold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Fredoka;src:url('/fonts/fredoka.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--paper:#fffdf5;--ink:#354432;--muted:#67705e;--sun:#f6d553;--pale:#fff4be;--line:#e0e3d3;--field:#f5f5ec;--red:#9d3b32;font-family:DM,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #667940;outline-offset:5px}button{border:0}button:disabled{opacity:.5}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}svg{flex-shrink:0}button svg{vertical-align:middle}button{background:transparent}.display{font-family:Fredoka,system-ui,sans-serif;font-weight:500}.muted{color:var(--muted)}.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}.loading{display:grid;place-content:center;justify-items:center;gap:16px;min-height:80vh}.shell{max-width:1440px;margin:auto;padding:0 64px 120px}.header{height:132px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:8px;text-align:left;padding:0}.brand img{width:76px;height:66px;transform:rotate(-4deg)}.brand-name{font-family:Fredoka,sans-serif;font-size:37px;letter-spacing:-1.2px;line-height:1}.brand-sub{display:block;font-size:11px;letter-spacing:.1px;margin-top:6px}.small-sun{width:23px;height:23px}.header-right{display:flex;align-items:center;gap:22px}.text-button{font-weight:600;padding:10px 0;text-underline-offset:5px}.text-button:hover{text-decoration:underline}.outline-button{border:1px solid #bdc3ac;border-radius:30px;padding:12px 20px;font-weight:600;background:var(--paper)}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--sun);border:1.5px solid var(--ink);border-radius:40px;min-height:57px;padding:15px 28px;font-weight:600;font-size:16px;box-shadow:0 3px 0 var(--ink);transition:transform .15s,box-shadow .15s;text-decoration:none}.primary:hover{transform:translateY(-2px);box-shadow:0 5px 0 var(--ink)}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}.primary svg{width:20px;height:20px}.primary.full{width:100%}.secondary{border:1px solid #bdc3ac;border-radius:30px;min-height:45px;padding:10px 22px;background:var(--paper);font-weight:600}.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:48px 0 42px}.intro-title{font-size:45px;line-height:1.15;letter-spacing:-.6px;margin-top:10px}.intro-kicker{font-size:15px;display:flex;align-items:center;gap:8px}.intro-kicker span.dot{width:7px;height:7px;background:#7c8b52;border-radius:50%;display:inline-block}.intro-copy{font-size:14px;margin-top:14px;line-height:1.6;color:var(--muted)}.intro-copy strong{color:var(--ink);font-weight:600}.report-block{text-align:center;flex-shrink:0}.report-block small{display:block;margin-top:12px;font-size:12px;color:var(--muted)}.chart-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 14px}.chart-title{font-size:17px;font-weight:600;display:flex;align-items:center;gap:8px}.view-switch{display:flex;padding:4px;border-radius:30px;background:#efefe2}.view-switch button{padding:8px 19px;font-size:13px;border-radius:24px}.view-switch button[aria-pressed=true]{background:var(--paper);box-shadow:0 1px 4px #35443215;font-weight:600}.chart-frame{position:relative;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#f0f1e5}.chart-layout{display:flex;position:relative}.scale{position:relative;flex:0 0 62px;height:324px;border-right:1px solid #dce0ce;background:#f4f4e9;z-index:2}.scale-label{position:absolute;left:0;right:0;text-align:center;transform:translateY(-50%);font-size:13px;font-weight:600}.scale-label span{display:block;font-size:9px;line-height:1.2;font-weight:400;color:var(--muted);margin-top:4px}.scroll-chart{overflow-x:auto;flex:1;overscroll-behavior-x:contain;scrollbar-color:#aab392 transparent;scrollbar-width:thin;scroll-behavior:smooth}.plot{position:relative;height:324px;min-width:100%;display:flex}.gridline{position:absolute;left:0;right:0;height:1px;background:#dbe0cf;pointer-events:none}.gridline.middle{background:none;border-top:1px dashed #dbe0cf}.period{position:relative;height:100%;width:190px;flex-shrink:0;text-align:center;border-right:1px dashed #d5dbc7}.period.first{width:230px}.period.pending{width:170px;border-right:0}.period-bar{position:absolute;left:10px;right:10px;top:var(--y);transform:translateY(-50%);height:18px;border:1px solid #738068;border-radius:7px;background:var(--fill);padding:0;min-width:2px}.period-bar::after{content:'';position:absolute;inset:-18px -3px}.period-bar:hover{outline:2px solid #687650;outline-offset:3px}.bar-value{position:absolute;left:50%;bottom:25px;transform:translateX(-50%);white-space:nowrap;font-size:15px;color:var(--ink);font-weight:600}.bar-value small{font-size:11px;font-weight:400;color:var(--muted);margin-left:2px}.period-caption{position:absolute;bottom:14px;left:5px;right:5px;text-align:center;font-size:12px;line-height:1.55;color:var(--muted)}.period-caption strong{display:block;color:var(--ink);font-weight:600}.period-caption .long-duration{font-size:11px}.pending-line{position:absolute;left:12px;right:12px;top:50%;height:18px;border-radius:8px;border:1px dashed #94a180;background:#f8f8ef}.pending-copy{position:absolute;left:8px;right:8px;top:36%;font-size:12px;color:var(--muted)}.tiny-sun{position:absolute;top:17px;right:19px;font-size:26px;color:#758252;line-height:1}.chart-foot{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);background:#f8f8ee;padding:14px 20px;font-size:11px;color:var(--muted);align-items:center}.chart-foot .scroll-hint{white-space:nowrap;display:flex;gap:7px;align-items:center}.chart-footer{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:20px;font-size:12px;color:var(--muted)}.legend{display:flex;align-items:center;gap:8px}.legend-swatches{display:flex;gap:3px}.legend-swatches i{width:12px;height:9px;border:1px solid #879279;border-radius:3px}.chart-note{font-size:11px}.below-chart{display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;font-size:12px;color:var(--muted);margin-top:35px}.below-chart svg{width:17px;height:17px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fffdf5f5;border-top:1px solid var(--line);backdrop-filter:blur(12px);z-index:10;display:grid;grid-template-columns:repeat(5,1fr);max-width:100%;height:87px;padding:8px max(24px,calc((100% - 1000px)/2)) max(8px,env(safe-area-inset-bottom))}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:11px;white-space:nowrap;position:relative;padding:3px 5px}.nav-item svg{width:22px;height:22px}.nav-item:hover:not(:disabled){background:var(--pale);border-radius:18px}.nav-item:disabled{opacity:.43}.nav-item small{font-size:9px;margin-top:-3px}.nav-placeholder{display:flex;align-items:center;justify-content:center;opacity:.45}.nav-placeholder span{width:6px;height:6px;border-radius:50%;border:1px solid #97a082}.lifetime-plot{display:block;min-width:100%}.lifetime-plot .life-bar{position:absolute;top:var(--y);left:var(--left);width:var(--width);height:18px;transform:translateY(-50%);border:1px solid #738068;border-radius:5px;background:var(--fill);min-width:1px}.life-caption{position:absolute;top:calc(var(--y) - 38px);left:var(--left);width:var(--width);text-align:center;font-weight:600;font-size:14px;white-space:nowrap;pointer-events:none}.life-caption small{font-size:11px;color:var(--muted)}.year-ticks{position:absolute;bottom:17px;left:0;right:0;display:flex;justify-content:space-between;padding:0 16px;font-size:11px;color:var(--muted)}.birth-marker{position:absolute;left:18px;top:21px;font-size:12px;color:var(--muted)}.life-open{position:absolute;top:50%;left:var(--left);width:var(--width);height:18px;border:1px dashed #859175;border-radius:6px;transform:translateY(-50%);background:#fffdf570}.empty-prompt{position:absolute;top:33%;left:20%;right:20%;text-align:center;color:var(--muted);font-size:13px}.example-label{background:#ebeedf;border-radius:20px;padding:7px 12px;font-size:12px;color:#58634b}.example-notice{display:flex;justify-content:space-between;align-items:center;gap:15px;background:var(--pale);border-radius:12px;padding:12px 17px;margin:14px 0 0;font-size:12px}.example-notice button{text-decoration:underline;text-underline-offset:3px;font-weight:600}.welcome{padding-top:42px}.welcome-main{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:60px;min-height:370px}.welcome-copy h1{font-size:66px;line-height:1.08;letter-spacing:-1.3px;max-width:600px;text-wrap:balance}.welcome-copy p{font-size:17px;line-height:1.7;max-width:420px;margin-top:23px;color:var(--muted)}.welcome-actions{display:flex;align-items:center;gap:25px;margin-top:30px}.hero-hat{height:326px;display:grid;place-items:center;position:relative}.hat-orbit{width:280px;height:280px;border-radius:50%;background:var(--pale);display:grid;place-items:center;position:relative}.hat-orbit>img{width:220px;transform:rotate(-9deg)}.sun-rays{position:absolute;right:10px;top:16px;font-size:56px;transform:rotate(14deg);font-family:Fredoka,sans-serif}dialog{color:var(--ink);background:var(--paper);border:1px solid #dce0cf;border-radius:26px;padding:30px;width:min(540px,calc(100vw - 30px));max-height:calc(100dvh - 35px);overflow-y:auto;box-shadow:0 20px 90px #35443222}dialog::backdrop{background:#26352244;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.dialog-top h2{font-family:Fredoka,sans-serif;font-size:28px;line-height:1.1}.close{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#edeee1;font-size:24px;flex-shrink:0}.dialog-copy{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:22px}.form-grid{display:grid;gap:17px}label{display:grid;gap:8px;font-size:13px;font-weight:600}label small{font-weight:400;color:var(--muted);font-size:11px}input{width:100%;border:1px solid #c8ceba;border-radius:11px;padding:13px 14px;background:#fff;color:var(--ink);min-height:48px}input::placeholder{color:#8d9485}input[type=date]{min-width:0;appearance:none}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-error{color:var(--red);font-size:13px;line-height:1.5}.form-error:empty{display:none}.form-bottom{font-size:12px;color:var(--muted);text-align:center;margin-top:20px;line-height:1.8}.form-bottom button{text-decoration:underline;text-underline-offset:3px}.report-period{background:#f0f2e6;border-radius:17px;padding:22px;text-align:center;margin-bottom:24px}.report-period .display{font-size:34px;line-height:1.15;margin:6px 0 9px}.report-period small{font-size:11px;line-height:1.6;display:block;color:var(--muted)}.report-question{font-size:22px;line-height:1.3;text-align:center;margin:20px auto 22px;max-width:390px}.rating-options{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.rating-choice{border:1px solid #9ca88b;border-radius:9px;height:44px;padding:0;font-size:14px;position:relative;background:var(--fill)}.rating-choice[aria-checked=true]{outline:3px solid var(--ink);outline-offset:2px;font-weight:600}.rating-choice[data-value="1"],.rating-choice[data-value="2"]{color:#fff;text-shadow:0 1px 1px #0007}.rating-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:13px 0 24px}.score-preview{height:105px;position:relative;margin-bottom:14px;background:#f0f2e6;border-radius:15px}.score-preview-line{position:absolute;left:23px;right:23px;top:var(--y);height:13px;transform:translateY(-50%);background:var(--fill);border:1px solid #6e7c63;border-radius:5px;transition:top .22s,background .22s}.score-preview-number{position:absolute;top:var(--y);right:27px;transform:translateY(-34px);font-size:13px;font-weight:600;transition:top .22s}.score-preview-empty{height:100%;display:grid;place-items:center;font-size:13px;color:var(--muted)}.report-form-note{text-align:center;font-size:12px;color:var(--muted);margin:14px 0 5px}.recovery-code{background:#eff1e6;border-radius:12px;padding:20px;word-break:break-all;font-size:18px;line-height:1.5;text-align:center;letter-spacing:.6px;user-select:all;margin:20px 0}.account-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0;font-size:14px}.account-row span{color:var(--muted)}.account-actions{display:flex;gap:12px;margin-top:23px;flex-wrap:wrap}.lift-options{display:grid;gap:12px}.lift-option{display:flex;text-align:left;gap:15px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#f5f6eb}.lift-option .lift-icon{font-size:25px}.lift-option strong{font-size:15px;font-weight:600}.lift-option p{font-size:13px;line-height:1.6;color:var(--muted);margin-top:5px}.lift-prompt{text-align:center;padding:16px 0 22px}.lift-prompt .display{font-size:32px;line-height:1.25;margin:20px 0}.lift-prompt p{line-height:1.7;color:var(--muted);font-size:14px}.detail-score{font-size:58px;text-align:center;margin-bottom:6px}.detail-score small{font-size:22px;color:var(--muted)}.detail-dates{text-align:center;line-height:1.9;font-size:13px;color:var(--muted);margin-bottom:20px}#toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%) translateY(12px);opacity:0;pointer-events:none;background:var(--ink);color:#fff;border-radius:25px;padding:13px 22px;z-index:50;font-size:13px;transition:opacity .2s,transform .2s;text-align:center;max-width:90vw;width:max-content}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.details-list{margin-top:18px;font-size:12px;color:var(--muted)}.details-list summary{cursor:pointer;padding:8px 0;width:max-content}.details-list ul{list-style:none;margin:0;padding:0}.details-list li button{width:100%;display:flex;justify-content:space-between;padding:13px 4px;border-bottom:1px solid var(--line);text-align:left;gap:20px;font-size:12px}.details-list li button strong{white-space:nowrap}
@media(min-width:1441px){.shell{padding-top:14px}.dashboard-intro{margin-top:65px}.scale,.plot{height:370px}.below-chart{margin-top:45px}}
@media(max-width:1000px){.shell{padding:0 32px 120px}.header{height:110px}.welcome-main{gap:25px}.welcome-copy h1{font-size:56px}.hat-orbit{width:235px;height:235px}.hat-orbit>img{width:195px}.intro-title{font-size:37px}.dashboard-intro{margin:35px 0}.chart-note{max-width:230px;text-align:right}.bottom-nav{padding-left:15%;padding-right:15%}}
@media(max-width:650px){.shell{padding:0 20px 123px}.header{height:94px}.brand img{width:55px;height:54px}.brand-name{font-size:28px}.brand-sub{font-size:9px;margin-top:5px}.header-right{gap:13px;font-size:12px}.header-right .outline-button{padding:10px 15px}.dashboard-intro{display:block;margin:30px 0 30px}.intro-title{font-size:34px;letter-spacing:-.4px;max-width:360px;margin-top:9px}.intro-kicker{font-size:13px}.intro-copy{font-size:12px;margin-top:11px}.report-block{margin-top:25px;text-align:left;display:flex;align-items:center;gap:18px}.report-block .primary{font-size:14px;min-height:51px;padding:12px 22px}.report-block small{margin:0;font-size:10px;max-width:80px;line-height:1.6}.chart-title{font-size:14px}.view-switch button{padding:7px 13px;font-size:11px}.view-switch{padding:3px}.chart-top{gap:10px;margin-bottom:12px}.chart-frame{border-radius:17px}.scale{flex-basis:42px}.scale-label{font-size:11px}.scale-label span{font-size:8px}.scale,.plot{height:290px}.period{width:160px}.period.first{width:180px}.period.pending{width:135px}.chart-foot{padding:12px;font-size:10px;line-height:1.5;gap:15px}.chart-foot .scroll-hint{font-size:0;gap:0}.chart-foot .scroll-hint svg{width:20px}.chart-footer{font-size:10px;margin-top:14px;align-items:flex-start;gap:15px}.legend{gap:5px;flex-wrap:wrap;max-width:160px}.legend-swatches{gap:2px}.legend-swatches i{width:10px}.chart-note{max-width:145px;font-size:10px;line-height:1.6}.below-chart{font-size:11px;margin-top:27px;gap:6px}.bottom-nav{padding-left:8px;padding-right:8px;height:80px}.nav-item{font-size:9px}.nav-item svg{width:20px;height:20px}.nav-item small{font-size:8px}.welcome{padding-top:17px}.welcome-main{display:flex;flex-direction:column-reverse;gap:15px;align-items:flex-start}.hero-hat{height:180px;width:100%}.hat-orbit{width:180px;height:180px}.hat-orbit>img{width:142px}.sun-rays{right:45px;top:5px;font-size:39px}.welcome-copy h1{font-size:47px;max-width:370px}.welcome-copy p{font-size:15px;margin-top:15px;max-width:320px}.welcome-actions{margin-top:22px;gap:24px}.welcome-actions .primary{min-height:51px;padding:12px 23px;font-size:14px}.example-notice{font-size:11px;line-height:1.5;padding:10px 12px}.example-label{font-size:10px;padding:6px 9px}dialog{padding:24px 20px;border-radius:22px}.dialog-top h2{font-size:26px}.dialog-top{margin-bottom:20px}.report-period{padding:20px 12px}.report-period .display{font-size:30px}.report-question{font-size:20px}.rating-options{gap:4px}.rating-choice{font-size:12px;height:41px;border-radius:7px}.rating-choice[aria-checked=true]{outline-width:2px}.rating-labels{font-size:10px}.field-pair{grid-template-columns:1fr}.report-form-note{font-size:11px}.year-ticks{font-size:9px;padding:0 9px}.birth-marker{font-size:11px}.empty-prompt{left:8%;right:8%;font-size:12px}.life-caption{font-size:12px}.detail-dates{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Keep short periods visible and the primary action available while scrolling. */
.reports-plot{width:max-content;min-width:100%}.period.first{width:190px}.rating-choice{color:#111!important;text-shadow:none!important}.floating-report{position:fixed;right:35px;bottom:105px;z-index:12;box-shadow:0 3px 0 var(--ink),0 5px 20px #35443218}.floating-report[hidden]{display:none}
@media(max-width:650px){.period.first{width:160px}.floating-report{right:20px;bottom:98px;font-size:14px;min-height:50px;padding:12px 23px}}

.score-preview-line{right:80px}.score-preview-number{right:25px;transform:translateY(-50%)}

.landing-shell{padding-bottom:48px}

.intro-title{margin-top:0}
.scale{flex-basis:80px}
.scale-label span{font-size:11px;line-height:1.3;margin-top:5px}
.period-bar,.lifetime-plot .life-bar{height:30px;display:flex;align-items:center;justify-content:center;padding:0}
.bar-value{position:static;transform:none;font-size:13px;line-height:1;color:#111;font-weight:600;white-space:nowrap}
.lifetime-plot .life-bar{container-type:inline-size;overflow:hidden}
@container(max-width:24px){.bar-value{visibility:hidden}}
.account-view{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;font-size:14px}
.report-list{list-style:none;padding:0;margin:0 0 16px}
.report-list button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:16px 0;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.report-list small{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.report-list strong{white-space:nowrap}
@media(max-width:650px){.scale{flex-basis:72px}.scale-label span{font-size:10px}.intro-title{margin-top:0}.period-caption{bottom:5px;font-size:11px;line-height:1.4}.account-view{gap:12px}}

.password-field{display:grid;gap:8px}
.password-field label{display:flex;align-items:baseline;justify-content:space-between}
.password-control{display:flex;align-items:center;gap:8px}
.password-control input{flex:1;min-width:0}
.password-control button{font-size:13px;min-height:44px;min-width:48px;text-decoration:underline;text-underline-offset:3px}
.auth-links{display:flex;justify-content:space-between;gap:16px;margin-top:20px;font-size:12px;color:var(--muted)}
.auth-links button{padding:8px 0;text-decoration:underline;text-underline-offset:3px}

/* Authentication has a quieter, focused surface of its own. */
html:has(dialog[open]){overflow:hidden}
dialog.auth-dialog{width:min(440px,calc(100vw - 40px));padding:40px;border:1px solid var(--line);border-radius:30px;box-shadow:0 24px 100px #35443212}
dialog.auth-dialog::backdrop{background:#fffdf5e8;backdrop-filter:blur(10px)}
.auth-dialog .auth-hat{display:block;width:74px;height:62px;margin:0 0 22px -5px;transform:rotate(-5deg)}
.auth-dialog .dialog-top{margin-bottom:30px}
.auth-dialog .dialog-top h2{font-size:36px;letter-spacing:-.7px;outline:none}
.auth-dialog .close{position:absolute;top:20px;right:20px;width:44px;height:44px;background:transparent;font-size:26px;color:var(--muted)}
.auth-dialog .form-grid,.signup-fields{display:grid;gap:22px}
.auth-dialog [hidden]{display:none!important}
.auth-dialog label{font-size:13px;font-weight:600;gap:9px}
.auth-dialog input{min-height:58px;border:1px solid #d6dbca;border-radius:14px;background:#fff;font-size:17px;padding:16px;box-shadow:none;transition:border-color .15s}
.auth-dialog input:focus{border-color:var(--ink)}
.auth-dialog .password-control{position:relative;gap:0}
.auth-dialog .password-control input{padding-right:70px}
.auth-dialog .password-control button{position:absolute;right:7px;padding:0 10px;min-height:44px;font-size:12px;text-decoration:none;font-weight:600}
.auth-dialog .password-field small{font-weight:400;color:var(--muted)}
.auth-dialog .primary{min-height:58px;border-radius:16px;box-shadow:0 2px 0 var(--ink);margin-top:6px}
.auth-dialog .form-error:empty{display:none}
.auth-dialog .form-error{font-size:13px;line-height:1.5}
.auth-dialog .form-bottom{margin-top:22px;font-size:14px}
.auth-dialog .form-bottom button,.auth-dialog .auth-links button,.auth-back{min-height:44px;font-weight:600;text-decoration:none}
.auth-dialog .auth-links{font-size:13px;margin-top:18px}
.auth-dialog .auth-back{justify-self:center;padding:0 16px;margin-top:-10px;font-size:14px}
.auth-dialog input[type=date]{display:block;width:100%;min-width:0;color:var(--ink);font-family:DM,system-ui,sans-serif}
@media(max-width:650px){
  dialog.auth-dialog{width:100%;max-width:none;min-height:100dvh;max-height:100dvh;margin:0;padding:calc(64px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none}
  .auth-dialog .auth-hat{margin-bottom:28px}
  .auth-dialog .close{top:calc(14px + env(safe-area-inset-top));right:16px}
  .auth-dialog .dialog-top{margin-bottom:34px}
  .auth-dialog .dialog-top h2{font-size:38px}
}
@media(prefers-reduced-motion:reduce){.auth-dialog input{transition:none}}
.recovery-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}
.account-row strong{min-width:0;overflow-wrap:anywhere;text-align:right}
.google-button{min-height:44px;width:100%;display:flex;justify-content:center;align-items:center;font-size:13px}
.google-auth .form-error:not(:empty){margin-top:16px}
.google-auth[aria-busy=true]{opacity:.6;pointer-events:none}

.welcome-copy .cta-reassurance{margin:14px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.landing-questions{max-width:780px;margin-top:64px;padding-top:34px;border-top:1px solid var(--line)}
.landing-answer+.landing-answer{margin-top:36px}
.landing-answer h2{font-family:Fredoka,system-ui,sans-serif;font-size:27px;line-height:1.3;font-weight:500;margin-bottom:14px;text-wrap:pretty}
.landing-answer p,.landing-answer ol{font-size:16px;line-height:1.8;color:var(--ink)}
.landing-answer ol{padding-left:24px;margin:16px 0 0}
.landing-answer li{padding-left:5px}
.landing-answer li+li{margin-top:9px}
@media(max-width:650px){.landing-questions{margin-top:44px;padding-top:28px}.landing-answer+.landing-answer{margin-top:30px}.landing-answer h2{font-size:23px;margin-bottom:12px}.landing-answer p,.landing-answer ol{font-size:15px;line-height:1.75}.welcome-copy .cta-reassurance{margin-top:12px;font-size:12px}}

/* Reporting focuses on the unrecorded interval itself. */
dialog.report-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:0;box-shadow:none;overflow:auto;overscroll-behavior:contain}
dialog.report-dialog::backdrop{background:var(--paper);backdrop-filter:none}
.report-dialog .dialog-top{margin:0}
.report-dialog .close{position:absolute;top:calc(20px + env(safe-area-inset-top));right:max(24px,calc((100vw - 860px)/2));width:48px;height:48px;background:transparent;z-index:2;color:var(--muted)}
.report-focus{width:min(760px,100%);min-height:100%;margin:0 auto;padding:calc(86px + env(safe-area-inset-top)) 32px calc(36px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:stretch;justify-content:center}
.report-prompt{font-family:Fredoka,system-ui,sans-serif;font-size:30px;line-height:1.35;text-align:center;max-width:570px;align-self:center;margin:0 0 32px;text-wrap:pretty}
.report-duration{font-weight:500;box-shadow:inset 0 -.24em 0 var(--sun);font-variant-numeric:tabular-nums;white-space:nowrap}
.gap-chart{position:relative;height:clamp(240px,42dvh,400px);flex-shrink:0;touch-action:none;user-select:none;cursor:ns-resize}
.gap-art{position:absolute;inset:0;background:#f0f1e5;border-radius:22px}
.gap-guide{position:absolute;left:0;right:0;height:1px;background:#dce0ce80}
.gap-zone{position:absolute;inset:0 6% 0 13%}
.gap-first .gap-zone{left:6%}
.gap-boundary{position:absolute;left:0;top:12%;bottom:12%;width:1px;background:#c9cebc}
.gap-now{left:auto;right:0;background:#9ba58c}
.gap-bar,.gap-previous{position:absolute;top:var(--y);height:40px;transform:translateY(-50%);background:var(--fill);border:1px solid #79856c;border-radius:8px;transition:top .24s cubic-bezier(.2,.8,.2,1),background-color .3s;display:flex;align-items:center;justify-content:center;color:#111;font-size:16px;font-weight:600}
.gap-bar{left:0;right:0}
.gap-previous{left:0;width:13%;border-radius:0 7px 7px 0;border-left:0;opacity:.7}
.gap-bar.is-empty{border-style:dashed;animation:gap-breathe 5.2s ease-in-out infinite;background:#bfbfbf}
@keyframes gap-breathe{0%,100%{background-color:#808080}50%{background-color:#fff}}
.state-scrubber{height:72px;flex-shrink:0;display:grid;grid-template-columns:repeat(10,1fr);align-items:center;cursor:ew-resize;touch-action:none;user-select:none;margin:16px 0 0;border-radius:20px}
.state-scrubber span{position:relative;isolation:isolate;text-align:center;font-size:16px;line-height:40px;font-variant-numeric:tabular-nums;color:var(--muted)}
.state-scrubber span::before{content:'';position:absolute;left:50%;top:50%;width:min(42px,100%);height:42px;border-radius:50%;background:var(--sun);transform:translate(-50%,-50%) scale(.6);opacity:0;transition:opacity .15s,transform .2s;z-index:-1}
.state-scrubber span.selected{color:var(--ink);font-weight:600}
.state-scrubber span.selected::before{opacity:1;transform:translate(-50%,-50%) scale(1)}
.state-scale-labels{position:relative;height:38px;margin:0 0 24px;font-size:12px;line-height:1.4;color:var(--muted)}
.state-scale-labels span{position:absolute;top:0;max-width:30%}
.state-scale-labels .scale-low{left:0}
.state-scale-labels .scale-mix{left:45%;transform:translateX(-50%);text-align:center}
.state-scale-labels .scale-high{right:0;text-align:right}
.report-save{align-self:center;width:100%;max-width:360px;min-height:58px;margin-top:6px}
.report-save:disabled{opacity:1;background:#ececdf;border-color:transparent;color:#929784;box-shadow:none;transform:none}
.report-focus .form-error{max-width:440px;align-self:center;margin-bottom:12px;text-align:center}
@media(max-width:650px){
  .report-dialog .close{top:calc(12px + env(safe-area-inset-top));right:14px}
  .report-focus{padding:calc(76px + env(safe-area-inset-top)) 22px calc(32px + env(safe-area-inset-bottom))}
  .report-prompt{font-size:24px;margin-bottom:26px}
  .report-duration{white-space:normal;box-decoration-break:clone;-webkit-box-decoration-break:clone}
  .gap-chart{height:clamp(220px,36dvh,360px)}
  .gap-art{border-radius:18px}
  .state-scrubber{margin-top:10px}
  .state-scale-labels{font-size:11px;margin-bottom:18px}
  .state-scrubber span{font-size:14px}
  .state-scrubber span::before{height:36px}
}
@media(max-height:600px){.report-focus{padding-top:64px;padding-bottom:24px}.report-prompt{font-size:22px;margin-bottom:18px}.gap-chart{height:190px}.state-scrubber{height:58px;margin:6px 0 0}.state-scale-labels{margin-bottom:12px}.report-save{min-height:50px}}
@media(prefers-reduced-motion:reduce){.gap-bar.is-empty{animation:none;background:#bfbfbf}.gap-bar,.state-scrubber span::before{transition:none}}

textarea{width:100%;font:inherit;font-size:16px;line-height:1.5;color:var(--ink);background:#fff;border:1px solid #c8ceba;border-radius:12px;padding:13px 14px;resize:vertical;min-height:90px}
textarea:focus-visible{outline:3px solid #667940;outline-offset:3px}
.report-notes{width:100%;max-width:440px;align-self:center;margin:0 0 18px;color:var(--muted);font-size:13px}
.report-notes summary{cursor:pointer;min-height:40px;display:list-item;width:max-content;margin:auto;padding:10px 0}
.report-notes[open] summary{margin-bottom:8px}
.report-notes textarea{background:#fffdf5;max-height:220px;color:var(--ink)}
.report-note-detail{padding:18px 0 0}
.report-note-detail h3{font-size:13px;color:var(--muted);margin-bottom:10px}
.report-note-detail p{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.report-detail-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px}
.report-detail-actions .text-button{margin-right:auto}
.report-edit-dialog .detail-dates{margin:0 0 20px}
.report-edit-dialog .gap-chart{height:170px}
.report-edit-dialog .state-scrubber{height:62px;margin-top:8px}
.report-edit-dialog .state-scale-labels{margin-bottom:18px}
.edit-notes-label{display:flex;align-items:baseline;gap:8px;font-size:14px;margin-bottom:8px}
.edit-notes-label small{font-size:12px;color:var(--muted)}
.report-edit-dialog textarea{max-height:200px}
.edit-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:20px}
.edit-actions .primary{min-width:140px}
.report-edit-dialog .form-error:not(:empty){margin-top:14px}
.timezone-tag{display:inline-block;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:400;color:var(--muted);margin-left:12px;vertical-align:middle;letter-spacing:0}
.report-timezone{display:block;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:400;color:var(--muted);margin-top:10px}
.account-timezone{padding:18px 0;border-bottom:1px solid var(--line)}
.account-timezone label{display:block;color:var(--muted);font-size:14px;margin-bottom:10px}
.timezone-controls{display:flex;gap:10px;align-items:center}
.timezone-controls select{width:100%;min-width:0;min-height:44px;border:1px solid #c8ceba;border-radius:12px;background:var(--paper);color:var(--ink);padding:10px;font:inherit;font-size:14px}
.timezone-controls .secondary{flex-shrink:0;padding:10px 16px}
.account-timezone .form-error:not(:empty){margin-top:12px}
@media(max-width:650px){.report-edit-dialog .gap-chart{height:140px}.report-edit-dialog .state-scrubber span::before{height:32px}.report-edit-dialog .state-scale-labels{font-size:10px}}
.nav-item[aria-current=page]{background:var(--pale);border-radius:18px}
.subpage{max-width:780px;margin:16px auto 0}
.subpage-back{font-size:13px;color:var(--muted);margin-bottom:24px}
.subpage h1{font-size:44px;line-height:1.2;margin-bottom:32px;outline:none}
.technique{padding:28px 0;border-bottom:1px solid var(--line)}
.technique h2{font-family:Fredoka,system-ui,sans-serif;font-size:25px;line-height:1.3;overflow-wrap:anywhere}
.technique p{font-size:15px;line-height:1.7;color:var(--muted);margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}
.technique-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.favorite-button{flex-shrink:0;font-size:29px;width:44px;height:44px;line-height:1;color:var(--muted)}
.favorite-button[aria-pressed=true]{color:#8e741a}
.technique-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:14px;font-size:13px}
.technique-links a{padding:10px 0;text-underline-offset:4px;text-decoration-thickness:1px}
.nominate-button{font-size:12px;padding:10px 0;color:var(--muted);text-underline-offset:4px}
.nominate-button:hover{text-decoration:underline}
.nominate-button[aria-pressed=true]{color:var(--ink)}
.tool-editor{margin-bottom:12px}
.tool-editor>summary{display:list-item;width:max-content;cursor:pointer;list-style:none;line-height:24px}
.tool-editor>summary::-webkit-details-marker{display:none}
.tool-editor .form-grid{margin:24px 0;padding:24px;background:#f5f5ec;border-radius:18px;max-width:560px}
.tool-editor label small{display:inline}
.tool-editor .primary{justify-self:start;min-width:140px}
#personal-tools:empty{display:none}
#personal-tools>.muted{font-size:13px;padding:20px 0}
#personal-tools:has(.personal-technique){margin-bottom:24px}
.built-in-techniques .technique:first-child{padding-top:24px}
.manifesto p{font-size:21px;line-height:1.8;margin:0 0 28px;max-width:700px;text-wrap:pretty}
.manifesto .manifesto-emphasis{font-family:Fredoka,system-ui,sans-serif;font-size:32px;line-height:1.4;margin:34px 0}
.manifesto .manifesto-help{border-top:1px solid var(--line);padding-top:28px;margin-top:48px;font-size:16px;color:var(--muted)}
@media(max-width:650px){
  .subpage{margin-top:6px}.subpage-back{margin-bottom:20px}.subpage h1{font-size:34px;margin-bottom:28px}
  .technique h2{font-size:23px}.technique{padding:25px 0}.technique p{font-size:14px}.technique-links{gap:8px 20px}
  .tool-editor .form-grid{padding:20px}.manifesto p{font-size:18px;line-height:1.75}.manifesto .manifesto-emphasis{font-size:28px}.manifesto .manifesto-help{font-size:15px}
  .report-notes{margin-bottom:12px}.report-focus .gap-chart{height:clamp(200px,33dvh,330px)}
}

/* Compact views; the chart stays the visual focus. */
.chart-views{display:flex;justify-content:flex-end;margin-bottom:18px}
.chart-views .view-switch button{min-height:42px}
.trend-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;font-size:12px;color:var(--muted)}
.trend-pagination{display:flex;align-items:center;gap:8px}
.trend-pagination button{font-size:24px;width:38px;height:40px;border-radius:50%;line-height:1}
.trend-pagination button:hover:not(:disabled){background:var(--pale)}
.trend-pagination button:disabled{opacity:.25}
.trend-pagination>span{font-size:12px;text-align:center;min-width:165px;font-variant-numeric:tabular-nums}
.trend-plot{display:block;touch-action:pan-y;cursor:crosshair;outline-offset:-4px!important}
.trend-svg{position:absolute;width:100%;height:100%;inset:0;overflow:visible;pointer-events:none}
.trend-selected-line{stroke:#7d8967;stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.trend-selected-dot{fill:var(--sun);stroke:var(--ink);stroke-width:1.5;vector-effect:non-scaling-stroke}
.trend-ticks{position:absolute;left:0;right:0;bottom:17px;font-size:11px;color:var(--muted);pointer-events:none}
.trend-ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.trend-empty{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--muted);pointer-events:none}
.trend-readout{display:flex;gap:16px;align-items:center;min-height:56px;font-size:13px;width:100%;text-align:left;padding:12px 0;color:var(--muted)}
.trend-readout strong{color:var(--ink);font-size:16px;font-variant-numeric:tabular-nums}
.trend-readout:disabled{opacity:1}
.trend-detail-link{margin-left:auto;text-decoration:underline;text-underline-offset:4px}
.account-view{flex-wrap:wrap}
.account-view .view-switch button{padding:8px 12px;min-height:42px}
@media(max-width:650px){
  .chart-views{justify-content:stretch;margin-bottom:12px}
  .chart-views .view-switch{width:100%}
  .chart-views .view-switch button{flex:1;padding:8px;font-size:12px}
  .trend-heading{align-items:flex-start;flex-direction:column;gap:2px}
  .trend-pagination{width:100%;justify-content:space-between}
  .trend-pagination>span{font-size:12px}
  .trend-ticks{font-size:10px}
  .trend-readout{font-size:12px;gap:12px}
  .trend-readout strong{font-size:15px}
}
.trend-dot,.trend-active-dot{position:absolute;width:4px;height:4px;background:var(--ink);border:1px solid var(--ink);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.trend-dot.partial{background:var(--paper)}
.trend-active-dot{width:11px;height:11px;background:var(--sun);border-width:1.5px}
.report-video{display:block;width:100%;max-height:50dvh;background:#172016;border-radius:14px;margin:18px 0}
.report-video[hidden]{display:none}
.report-video-upload{width:100%;max-width:440px;align-self:center;margin-bottom:16px}
.report-video-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.report-video-actions button{min-height:44px}
.report-video-actions small,.video-preview-message{font-size:12px;color:var(--muted)}
.report-video-upload .report-video{max-height:280px;margin:12px 0 0}
.video-preview-message{text-align:center;margin:10px 0 0}

/* Tools: one collection, with a full-page document behind every card. */
.tools-shell{--tools-sun:#f9dc55;--tools-grass:#e2eccf;--tools-sky:#dcecf1;--tools-pink:#f4dccc}
.tools-page{position:relative;width:100%;max-width:940px;margin:20px auto 0}
.tools-topbar{display:flex;align-items:center;gap:18px;min-height:56px;margin-bottom:26px}
.tools-topbar h1{font-size:42px;line-height:1.1;letter-spacing:-.6px;margin:0;outline:none}
.tools-round{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:transparent}
.tools-round svg{display:block;width:23px;height:23px}
.tools-round:hover{background:#3544320b}
.tools-page-heading{display:flex;justify-content:flex-end;margin:-80px 0 34px;pointer-events:none;min-height:46px}
.tools-add-top{display:flex;align-items:center;gap:8px;min-height:46px;background:transparent;font-size:14px;font-weight:600;pointer-events:auto}
.tools-add-top svg{width:19px;height:19px}
.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.tools-tile-wrap{position:relative;min-width:0}
.tools-tile{width:100%;min-height:240px;border-radius:27px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 16px 22px;box-shadow:0 3px 0 #34443119;transition:transform .15s}
.tools-tile:hover{transform:translateY(-3px)}
.tools-tile:active{transform:translateY(1px)}
.tool-color-yellow{background:var(--tools-sun)}
.tool-color-green{background:var(--tools-grass)}
.tool-color-blue{background:var(--tools-sky)}
.tool-color-pink{background:var(--tools-pink)}
.tools-art{display:block;width:124px;height:124px;flex-shrink:0;overflow:visible}
.tools-tile-label{font:500 23px/1.14 Fredoka,system-ui,sans-serif;text-align:center;overflow-wrap:anywhere;min-width:0;max-width:100%}
.tools-tile small{font-size:11px;color:var(--muted)}
.tools-star{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-size:23px;background:transparent;z-index:1}
.tools-star:hover{background:#fff8}
.tools-add-tile{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;border:1.5px dashed #acb89b;border-radius:20px;background:transparent;font-size:15px;font-weight:600}
.tools-add-tile svg{width:21px;height:21px}
.tools-add-tile small{font-weight:400;font-size:12px;color:var(--muted)}
.tools-add-tile:hover{background:#f0f3e8}
.tools-loading,.tools-notice{padding:26px 0;color:var(--muted);font-size:15px;line-height:1.6}
.tools-notice button{background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:44px}
.tools-shell:has(.tools-document) .header,.tools-shell:has(.tools-builder) .header{display:none}
.tools-shell:has(.tools-document),.tools-shell:has(.tools-builder){padding-bottom:0}
.tools-document,.tools-builder{max-width:700px;margin-top:22px;padding-bottom:100px}
.tools-builder{padding-bottom:40px}
.tools-document .tools-topbar{margin-bottom:20px}
.tools-status{font-size:12px;color:var(--muted);margin-left:auto;margin-right:46px}
.tools-card-settings{position:absolute;right:0;top:6px}
.tools-cover{height:300px;border-radius:32px;display:grid;place-items:center;margin-bottom:28px}
.tools-cover .tools-art{width:235px;height:235px}
.tools-document-title{font-size:42px;line-height:1.12;letter-spacing:-.5px;margin:0 0 20px;overflow-wrap:anywhere;outline:none}
.tools-body-copy{font-size:18px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:30px}
.tools-links{display:grid;gap:14px}
.tools-link{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:60px;background:var(--tools-sun);padding:17px 23px;border-radius:32px;text-decoration:none;font-size:16px;font-weight:600;text-align:left;overflow-wrap:anywhere}
.tools-link:hover{background:#f3d142}
.tools-link span{min-width:0}
.tools-link svg{width:22px;height:22px;flex-shrink:0}
.tools-video iframe{border:0;border-radius:18px;display:block;width:100%;aspect-ratio:16/9;background:#172016}
.tools-document-actions{position:fixed;left:0;right:0;bottom:0;z-index:11;display:flex;align-items:stretch;justify-content:center;gap:12px;padding:16px max(24px,calc((100vw - 700px)/2)) calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper)}
.tools-action{display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:8px;min-height:54px;border-radius:28px;background:#edf0e3;padding:13px 20px;font-size:14px;font-weight:600;line-height:1.35}
.tools-action-primary{background:var(--tools-sun)}
.tools-action:disabled{opacity:.45}
.tools-document-actions .tools-action{flex:1}
.tools-document-actions .tools-action-primary{flex:1.45}
.tools-submit{font-size:13px}
.tools-canvas{min-height:65dvh;display:flex;flex-direction:column}
.tools-writing-field{width:100%;min-height:50dvh;border:0;border-radius:0;background:transparent;padding:0;font:400 19px/1.75 DM,system-ui,sans-serif;color:var(--ink);resize:vertical;overflow:auto;box-shadow:none}
.tools-writing-field:focus-visible{outline:2px solid #c5cfb6;outline-offset:8px}
.tools-writing-field::placeholder{color:#8b9482}
.tools-editor-links{display:grid;gap:10px;margin-top:20px}
.tools-embed-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 8px 8px 18px;border-radius:16px;background:#eef0e5;font-size:14px;overflow-wrap:anywhere}
.tools-embed-row span{min-width:0}
.tools-embed-row .tools-round{font-size:24px}
.tools-insert-buttons{display:flex;align-items:center;gap:20px;margin-top:12px}
.tools-insert-buttons button{min-height:48px;padding:10px 0;background:transparent;font-size:14px;font-weight:600}
.tools-error{font-size:14px;line-height:1.5;color:var(--red);margin-top:18px;padding:12px 0;overflow-wrap:anywhere}
.tools-error .text-button{background:transparent;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.tools-card-form{max-width:460px;margin:auto;display:grid;gap:24px}
.tools-field{display:grid;gap:9px;font-size:14px;font-weight:600}
.tools-field input{width:100%;min-width:0;min-height:56px;border:1px solid #c8ceba;border-radius:13px;padding:14px 16px;background:#fff;color:var(--ink);font-size:17px;font-weight:400}
.tools-card-preview{width:190px;min-height:210px;border-radius:26px;margin:0 auto;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:12px;padding:18px 15px}
.tools-card-preview .tools-art{width:120px;height:120px}
.tools-card-preview .tools-tile-label{font-size:22px}
.tools-card-form fieldset{margin:0;padding:0;border:0;min-width:0}
.tools-card-form legend{font-size:13px;font-weight:600;margin-bottom:12px;padding:0}
.tools-choices{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tools-choice{position:relative;cursor:pointer;display:block}
.tools-choice input{position:absolute;opacity:0;width:1px;height:1px}
.tools-choice>span{width:60px;height:60px;border-radius:16px;display:grid;place-items:center;border:2px solid transparent;background:#f0f2e8}
.tools-choice .tools-art{width:48px;height:48px}
.tools-choice input:checked+span{border-color:var(--ink);box-shadow:0 0 0 2px var(--paper) inset}
.tools-choice input:focus-visible+span{outline:3px solid #667940;outline-offset:4px}
.tools-color-choice>span{width:50px;height:50px;border-radius:50%}
.tools-color-choice .tool-color-yellow{background:var(--tools-sun)}
.tools-color-choice .tool-color-green{background:var(--tools-grass)}
.tools-color-choice .tool-color-blue{background:var(--tools-sky)}
.tools-color-choice .tool-color-pink{background:var(--tools-pink)}
.tools-color-choice input:checked+span:after{content:'✓';font-size:20px}
.tools-insert-form{margin-top:22px;padding:22px;background:#eff1e5;border-radius:22px;display:grid;gap:18px}
.tools-insert-form h2{font:500 25px Fredoka,system-ui,sans-serif}
.tools-insert-form .form-error:empty{display:none}
.tools-insert-actions{display:flex;gap:12px;justify-content:flex-end}
.tools-insert-actions .tools-action{min-width:100px}
@media(max-width:1050px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px;margin:auto}.tools-tile{min-height:240px}.tools-collection{max-width:620px}}
@media(max-width:650px){
  .tools-shell{padding-left:22px;padding-right:22px}
  .tools-page{margin-top:8px}.tools-topbar{gap:12px;margin-bottom:24px}.tools-topbar h1{font-size:34px}
  .tools-page-heading{margin:-74px 0 28px}.tools-add-top{font-size:0;width:44px;justify-content:center}.tools-add-top svg{width:23px;height:23px}
  .tools-grid{gap:14px}.tools-tile{min-height:200px;padding:24px 12px 18px;border-radius:24px;gap:8px}.tools-tile .tools-art{width:110px;height:110px}.tools-tile-label{font-size:21px}.tools-star{font-size:22px}
  .tools-add-tile{margin-top:6px;min-height:58px}.tools-add-tile small{display:none}
  .tools-document,.tools-builder{margin-top:calc(12px + env(safe-area-inset-top));padding-bottom:120px}
  .tools-builder{padding-bottom:32px}
  .tools-cover{height:240px;border-radius:28px;margin-bottom:27px}.tools-cover .tools-art{width:210px;height:210px}
  .tools-document-title{font-size:35px;line-height:1.14;margin-bottom:18px}.tools-body-copy{font-size:16px;line-height:1.7;margin-bottom:26px}
  .tools-link{font-size:15px;min-height:58px;padding:16px 21px}.tools-links{gap:13px}
  .tools-document-actions{gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.tools-action{font-size:13px;padding:12px 14px;min-height:52px}.tools-document-actions .tools-submit{font-size:12px;padding-left:10px;padding-right:10px}
  .tools-writing-field{font-size:17px;min-height:52dvh;line-height:1.75}.tools-canvas{min-height:68dvh}
  .tools-card-form{gap:24px}.tools-choices{gap:10px}.tools-choice>span{width:48px;height:48px;border-radius:13px}.tools-choice .tools-art{width:42px;height:42px}.tools-color-choice>span{border-radius:50%}
  .tools-insert-form{padding:18px}.tools-status{font-size:11px}
}
@media(max-width:360px){.tools-shell{padding-left:16px;padding-right:16px}.tools-grid{gap:10px}.tools-tile{min-height:186px;padding-left:9px;padding-right:9px}.tools-tile-label{font-size:19px}.tools-tile .tools-art{width:100px;height:100px}.tools-document-actions{padding-left:10px;padding-right:10px}.tools-document-actions .tools-action{padding-left:8px;padding-right:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.tools-tile{transition:none}}
