.tools-page{max-width:980px;padding:clamp(32px,5vw,56px) 0 64px}.tool-page{max-width:980px;padding:46px 0 58px}.tools-hero{margin-bottom:0}.tool-header{margin-bottom:32px}.tools-hero h1,.tool-header h1{max-width:820px}.tools-hero h1{text-wrap:balance;margin-bottom:18px;font-size:clamp(2.5rem,5vw,3.7rem);line-height:1.08}.tools-hero .lead{max-width:760px;line-height:1.7}.tools-page .tools-catalog-section{padding:clamp(32px,4vw,42px) 0 0}.tools-catalog-section h2{margin-bottom:20px}.tools-page .tools-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));align-items:stretch;gap:20px}.tools-page .tool-card{gap:12px;padding:22px}.tools-page .tool-card .eyebrow{text-transform:none;margin:0;font-size:.82rem;line-height:1.45}.tools-page .tool-card h3{margin:0;font-size:1.32rem}.tools-page .tool-card>p:not(.eyebrow):not(.tool-related){color:var(--muted);margin:0}.tools-page .tool-card-action{align-self:stretch;margin-top:auto}.tools-page .tool-related{border-top:1px solid var(--line);min-height:88px;padding-top:12px;font-size:.94rem;margin-top:8px!important}.tools-explainer,.tools-sources{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin-top:30px;padding:clamp(22px,3vw,30px)}.tools-explainer h2,.tools-sources h2{margin-bottom:14px;font-size:clamp(1.45rem,2.5vw,1.75rem)}.tools-explainer p,.tool-explanation p,.tools-sources p{max-width:100%}.tools-explainer h3{margin:24px 0 8px;font-size:1.1rem}.tools-explainer p:last-child,.tools-sources p:last-child{margin-bottom:0}.tools-page .medical-notice{border-radius:12px;margin-top:22px;padding:22px 24px}.tools-page .medical-notice h2{margin-bottom:10px;font-size:1.35rem}.tools-page .medical-notice p{max-width:76ch;margin-bottom:0}.tools-sources ul{gap:10px;margin:0;padding-left:1.25rem;display:grid}.tools-sources li{padding-left:3px}.tools-sources .muted-note{margin-top:16px}.tool-page{max-width:900px}.tool-panel{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0 0 24px;padding:clamp(18px,3vw,28px)}.tool-panel h2{margin-bottom:16px}.tool-panel h3{margin-top:18px}.tool-fieldset{border:0;min-width:0;margin:0 0 24px;padding:0}.tool-fieldset legend{width:100%;margin:0 0 12px;font-size:1.12rem;font-weight:750}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.day-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.choice{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:12px;min-height:52px;padding:10px 12px;display:flex}.choice:hover,.habit-row:hover{background:#f7fbf7;border-color:#90b9ac}.choice input,.habit-row input,.completion-control input{width:22px;height:22px;accent-color:var(--brand);flex:0 0 22px;margin:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.field-label{gap:7px;font-weight:700;display:grid}.field-hint,.form-hint,.muted-note{color:var(--muted);margin-top:8px;font-size:.94rem}.form-error{color:#852e1b;background:#fff0ed;border-radius:8px;padding:12px 14px;font-weight:700}.button-row{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.button:disabled{opacity:.56;cursor:not-allowed}.results-panel{scroll-margin-top:22px}.empty-state{background:var(--soft);color:#38493f;border:1px dashed #a7b9aa;border-radius:8px;padding:16px}.summary-strip,.daily-summary{color:#164f47;background:#e8f3ea;border-radius:9px;padding:14px 16px;font-size:1.04rem;font-weight:750}.goal-summary{border-left:4px solid var(--accent);background:#fff8ee;padding:10px 14px}.schedule-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.schedule-day{border:1px solid var(--line);border-radius:9px;padding:16px}.schedule-day h3{margin:0 0 12px}.session-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.planned-session{border-top:1px solid var(--line);gap:12px;padding-top:12px;display:grid}.planned-session:first-child{border-top:0;padding-top:0}.planned-session p{color:var(--muted);margin:4px 0 0}.session-edit-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.session-edit-label{color:var(--muted);gap:5px;font-size:.88rem;font-weight:700;display:grid}.session-edit-label .input{min-height:44px}.remove-session{justify-self:start}.session-complete strong{text-decoration:line-through;text-decoration-thickness:2px}.completion-control{min-height:44px;color:var(--brand-dark);cursor:pointer;align-items:center;gap:10px;font-weight:700;display:flex}.preference-note{background:#f5f3e8;border-radius:8px;grid-column:1/-1;padding:12px 14px}.tool-explanation{margin:34px 0 0}.tool-explanation h2{margin-bottom:14px}.tool-explanation h3{margin:26px 0 10px}.medical-notice{background:#fff8eb;border:1px solid #e0c99f;border-left:5px solid #a96320;border-radius:8px;margin-top:22px;padding:18px 20px}.question-number{background:var(--soft);width:30px;height:30px;color:var(--brand-dark);border-radius:50%;place-items:center;margin-right:10px;display:inline-grid}.sleep-question{border-bottom:1px solid var(--line);padding:0 0 22px}.sleep-question:last-of-type{border-bottom:0}.sleep-options{gap:8px;display:grid}.sleep-options .choice{justify-content:flex-start}.answer-summary,.history-list{gap:10px;margin:12px 0 24px;padding:0;list-style:none;display:grid}.answer-summary li,.history-list li{border:1px solid var(--line);background:#fff;border-radius:8px;gap:4px;padding:12px 14px;display:grid}.answer-summary li span,.history-list li span{color:var(--muted)}.advice-list{gap:12px;display:grid}.advice-card{border-left:4px solid var(--brand);background:var(--soft);border-radius:7px;padding:16px 18px}.advice-card h4{margin:0 0 6px;font-size:1.05rem}.advice-card p{margin:0}.storage-status{color:#164f47;background:#eff8f0;border:1px solid #b4d1bc;border-radius:9px;margin:0 0 20px;padding:14px 16px;font-weight:700}.storage-status.status-warning{color:#713f12;background:#fff8eb;border-color:#e0c99f}.tracker-heading-row{justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px;display:flex}.tracker-heading-row h2{margin-bottom:0}.tracker-heading-row .eyebrow{margin-bottom:5px}.date-field{width:min(100%,250px)}.habit-list{gap:10px;margin-bottom:16px;display:grid}.habit-row{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:14px;min-height:72px;padding:12px 14px;display:flex}.habit-text{gap:2px;display:grid}.habit-goal-text{color:var(--muted);font-size:.94rem}.daily-summary{margin-top:14px}.week-navigation{flex-wrap:wrap;gap:8px;display:flex}.week-navigation .button{min-height:44px}.icon-button{min-width:46px;padding-inline:12px}.week-label{color:var(--muted);margin:0 0 12px;font-weight:700}.week-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.calendar-day{border:1px solid var(--line);min-width:0;min-height:88px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:9px;align-content:center;justify-items:center;gap:3px;padding:6px 2px;display:grid}.calendar-day:hover,.calendar-selected{border-color:var(--brand);background:#eff8f0}.calendar-selected{box-shadow:inset 0 0 0 1px var(--brand)}.calendar-day:disabled{color:#7a827c;cursor:not-allowed;background:#f5f6f3}.calendar-weekday{max-width:100%;color:var(--muted);text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.calendar-count{color:var(--brand-dark);font-size:.75rem;font-weight:750}.calendar-count-empty{color:#858d86}.progress-heading{justify-content:space-between;gap:10px;margin-top:24px;display:flex}.progress-heading span{text-align:right;color:var(--muted)}.week-progress{width:100%;height:18px;accent-color:var(--brand);margin:10px 0 16px;display:block}.week-progress::-webkit-progress-bar{background:#e5ece5;border-radius:999px}.week-progress::-webkit-progress-value{background:var(--brand);border-radius:999px}.report-caption{margin-bottom:8px;font-weight:750}.history-list li{grid-template-columns:1fr auto;align-items:start}.history-list li strong,.history-list li span{grid-column:1}.text-button{border:1px solid var(--line);min-height:42px;color:var(--brand-dark);font:inherit;cursor:pointer;background:#fff;border-radius:7px;grid-area:1/2/span 2;padding:6px 12px;font-weight:700}.goal-settings summary{min-height:48px;color:var(--brand-dark);cursor:pointer;font-size:1.2rem;font-weight:750}.goal-settings form{gap:16px;margin-top:18px;display:grid}.goal-field{border-bottom:1px solid var(--line);padding-bottom:16px}.goal-label{font-size:1.03rem}.goal-input-label{color:var(--muted);gap:7px;font-size:.95rem;font-weight:600;display:grid}.goal-input-label .input{color:var(--text);font-weight:400}.data-controls .danger-button{color:#842f24;background:#fff;border:1px solid #a64435}.data-controls .danger-button:hover{background:#fff2ee}.tools-home-callout{border:1px solid var(--line);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:28px;padding:26px;display:flex}.tools-home-callout h2{margin:0 0 8px;font-size:clamp(1.5rem,3vw,2rem)}.tools-home-callout p:not(.eyebrow){color:var(--muted);margin:0}.tools-home-callout .eyebrow{margin-bottom:5px}.tools-home-callout .button{flex:none}@media (width<=820px){.tools-page,.tool-page{padding-block:32px 44px}.schedule-list,.form-grid{grid-template-columns:1fr}.tracker-heading-row,.tools-home-callout{flex-direction:column;align-items:stretch}.date-field{width:100%}.tools-home-callout .button{align-self:flex-start}}@media (width<=540px){.tools-page{padding-block:28px 44px}.tools-hero h1{font-size:clamp(2.2rem,10vw,2.8rem)}.tools-page .tools-catalog-section{padding-top:30px}.tools-page .tools-grid{grid-template-columns:1fr;gap:14px}.tools-page .tool-card{padding:20px}.tools-page .tool-related{min-height:0}.tools-explainer,.tools-sources{margin-top:22px}.tools-page .medical-notice{padding:18px}.day-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid{grid-template-columns:1fr}.tools-explainer,.tools-sources{padding:18px}.week-calendar{gap:3px}.calendar-day{min-height:76px}.calendar-weekday{font-size:.7rem}.progress-heading{flex-direction:column;gap:4px}.progress-heading span{text-align:left}.history-list li{grid-template-columns:1fr}.history-list li strong,.history-list li span,.text-button{grid-area:auto/1}.text-button{justify-self:start}}@media (prefers-reduced-motion:reduce){.tool-page,.tools-page{scroll-behavior:auto}}@media print{.site-header,.site-footer,.skip-link,.activity-planner-page>:not(#planner-results),.activity-planner-page #planner-results .button-row,.activity-planner-page #planner-results button,.activity-planner-page #planner-results .session-edit-row,.habit-tracker-page>:not(.weekly-panel),.habit-tracker-page .weekly-panel .tracker-heading-row .week-navigation,.habit-tracker-page .weekly-panel .button-row{display:none!important}.activity-planner-page,.habit-tracker-page{max-width:none;padding:0}.tool-panel,.schedule-day,.history-list li{break-inside:avoid;box-shadow:none;background:#fff;border-color:#aaa}.remove-session{display:none!important}.week-calendar{max-width:700px}a{color:#111}}
