:root{--green:#285b49;--dark:#273b33;--muted:#7b827b;--border:#e7e9e3;--bg:#fafbf8}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--dark);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b085db;outline-offset:4px}button{border:0;background:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.skip{position:fixed;top:-50px;z-index:99;background:white;padding:12px}.skip:focus{top:0}.sidebar{position:fixed;width:246px;top:0;bottom:0;background:#f1f4ed;border-right:1px solid #e3e7df;padding:35px 21px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:21px;font-weight:800;letter-spacing:-1px;text-decoration:none;white-space:nowrap}.brand-icon{display:flex;color:var(--green)}.brand-icon svg{width:32px;height:32px;stroke-width:1.8}.brand-dot{color:#83a286}.workspace-label{font-size:10px;letter-spacing:1.7px;color:#899186;margin:52px 14px 19px;font-weight:600}nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border-radius:7px;font-size:13px;text-align:left;color:#677269;white-space:nowrap}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#e0e9dc;color:var(--green);font-weight:650}.nav-item:hover{background:#e6ece2}.new{font-size:8px;font-weight:700;background:#e8e3f0;color:#88739f;border-radius:4px;padding:4px 5px;margin-left:-3px}.sidebar-bottom{margin-top:auto}.support-note{padding:22px 14px 25px}.support-note>span{color:#739377}.support-note>span svg{width:30px;height:30px}.support-note h3{font-size:13px;font-weight:600;margin:11px 0 8px}.support-note p{font-size:12px;line-height:1.8;color:#7c877b;margin:0}.support-note button{font-size:11px;color:var(--green);padding:13px 0 0;font-weight:600}.support-note button span{margin-left:24px}.sidebar-bottom>.nav-item{border-top:1px solid #dfe5da;border-radius:0;font-size:11px;padding:20px 10px}.profile{display:flex;gap:10px;align-items:center;text-align:left;padding:14px 9px 0;width:100%;border-top:1px solid #dfe5da}.avatar,.small-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e2e6d7;color:#64725a;font-size:12px;width:36px;height:36px}.profile strong{font-size:12px;font-weight:600;display:block}.profile small{font-size:10px;display:block;color:#899083;margin-top:4px}.profile-arrow{margin-left:auto}.app{margin-left:246px}header{height:83px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fdfdfa}.breadcrumb{font-size:12px;color:#8b918b;display:flex;gap:17px}.breadcrumb span{color:#c1c6bd}.breadcrumb strong{color:#5e6b61;font-weight:500}.header-actions{display:flex;align-items:center;gap:23px}.voice-button{display:flex;gap:9px;align-items:center;font-size:11px;color:#647363}.voice-button svg{width:17px;height:17px}.status-dot{width:6px;height:6px;background:#80a883;border-radius:50%;margin-left:3px}.header-divider{height:22px;border-left:1px solid var(--border)}.icon-button{position:relative;padding:0;display:flex;color:#7b8479}.icon-button i{position:absolute;width:5px;height:5px;background:#a9b390;border-radius:50%;right:1px;top:0}.small-avatar{width:31px;height:31px;font-size:10px}main{max-width:1370px;margin:auto;padding:37px 44px 0}.page{display:none}.page.active{display:block}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#899082}h1{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-weight:650;letter-spacing:-1.6px;font-size:36px;line-height:1.3;margin:10px 0 9px}h1>span{color:#87a18a}.greeting p,.page-intro{font-size:13px;color:#81867d;margin:0}.date{display:flex;align-items:center;gap:9px;font-size:10px;color:#8a9084;margin-top:19px}.date svg{width:14px;height:14px}.hero{height:294px;border:1px solid #e0e7d9;border-radius:13px;background:#eaf0e3;display:flex;overflow:hidden;position:relative}.hero-copy{padding:30px 35px;position:relative;z-index:2;width:57%}.pill{font-size:8px;letter-spacing:1.5px;display:inline-flex;align-items:center;gap:7px;background:#f6f8f0;padding:6px 9px;border-radius:5px;color:#6c8662;font-weight:600}.tiny-star{font-size:12px}.hero h2{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:33px;line-height:1.25;letter-spacing:-1.1px;font-weight:600;margin:15px 0 11px}.hero p{font-size:12px;line-height:1.8;color:#71806b;margin:0 0 20px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;border-radius:6px;background:var(--green);color:white;padding:12px 17px;font-size:11px;font-weight:500;min-height:40px}.primary:hover{background:#194535}.primary svg{width:15px;height:15px}.hero-art{position:relative;width:43%;display:flex;justify-content:center;align-items:center}.orbit{position:absolute;border:1px solid #d6e0cc;border-radius:50%;width:252px;height:252px}.orbit-two{width:330px;height:330px}.orbit-three{width:408px;height:408px}.compass-art{width:174px;height:174px;background:#f8faf1;border-radius:50%;padding:12px;transform:rotate(13deg);box-shadow:8px 15px 24px #5a784815,inset 0 0 0 1px #fff;z-index:1;margin-bottom:17px}.compass-ring{position:relative;border:1px solid #d5dfc9;width:150px;height:150px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#c4d0b8 0deg 1deg,transparent 1deg 30deg);box-shadow:inset 0 0 0 10px #f8faf1}.compass-ring:before{content:'';position:absolute;inset:19px;border:1px solid #e3e9d9;border-radius:50%;background:#f8faf1}.compass-ring>span{position:absolute;font-size:9px;color:#9aa98e;z-index:1}.north{top:16px;left:70px}.south{bottom:16px;left:70px}.east{right:16px;top:69px}.west{left:16px;top:69px}.needle{position:absolute;top:29px;left:54px;width:40px;height:91px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(90deg,#a9bf9a 50%,#426c4b 50%);transform:rotate(29deg);z-index:2}.needle:after{content:'';position:absolute;top:50%;width:100%;height:50%;background:#e0e7d7;clip-path:polygon(0 0,100% 0,50% 100%)}.compass-center{width:11px;height:11px;background:#fcfdf9;border:2px solid #779368;position:absolute;top:69px;left:69px;border-radius:50%;z-index:3}.art-card{position:absolute;background:#f9fbf3;border:1px solid #fff;border-radius:12px;box-shadow:0 8px 20px #4663350a;z-index:2;width:57px;height:57px;display:flex;align-items:center;justify-content:center;color:#78956c}.art-card svg{width:27px;height:27px;stroke-width:1.3}.card-heart{left:31px;top:51px;transform:rotate(-12deg)}.card-leaf{right:39px;bottom:59px;transform:rotate(12deg)}.art-star{position:absolute;color:#96ad83}.star-one{right:61px;top:43px;font-size:25px}.star-two{left:60px;bottom:77px;font-size:24px}.art-caption{position:absolute;bottom:25px;font-size:9px;color:#839278;display:flex;align-items:center;gap:7px}.art-caption>span{width:4px;height:4px;border-radius:50%;background:#90a980}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:16px;font-weight:600;letter-spacing:-.4px;margin:0}.section-heading>span{font-size:10px;color:#94988e}#dashboard>.section-heading{margin:31px 0 17px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tool-card{border:1px solid var(--border);background:#fff;border-radius:9px;padding:21px 20px;text-align:left;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.tool-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px #334c3b0a}.tool-icon{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:10px;margin-bottom:17px}.lavender{background:#eeebf5;color:#9380ab}.peach{background:#faf0e7;color:#b49271}.mint{background:#e9f1e9;color:#7a9980}.tool-icon svg{width:21px;height:21px}.tool-title{font-size:12px;font-weight:600;letter-spacing:-.2px;width:100%;display:flex;justify-content:space-between;gap:4px}.tool-title>span{font-weight:400;color:#a1a69b}.tool-description{font-size:11px;color:#8b8f86;line-height:1.8;margin-top:9px}.tool-link{font-size:10px;color:#4f745b;font-weight:500;margin-top:21px;display:flex;align-items:center;gap:13px}.tool-link span{font-size:15px}.lower-grid{display:grid;grid-template-columns:1.17fr 1fr;gap:20px;margin-top:27px}.care-panel,.visit-panel{border:1px solid var(--border);background:white;border-radius:9px;padding:23px}.lower-grid .section-heading h2{font-size:14px}.text-button{font-size:10px;color:#678269;display:flex;gap:12px;padding:0;align-items:center}.lower-grid section>p{font-size:11px;color:#92958c;margin:10px 0 19px}.conditions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.conditions>span{font-size:9px;padding:7px 9px;background:#f2f4ed;border-radius:5px;color:#74806a;border:1px solid #e9ece2}.conditions>button{border:1px dashed #d5ddcf;border-radius:5px;width:27px;height:27px;color:#7d8b73}.care-divider{border-top:1px solid #edf0e8;margin:21px 0 18px}.care-tip{display:flex;align-items:center;gap:13px}.tip-icon{display:flex;border-radius:50%;background:#faf4e6;color:#b39e66;padding:10px}.tip-icon svg{width:19px;height:19px}.care-tip .eyebrow{font-size:7px;letter-spacing:1.3px;color:#a3a88f}.care-tip h3{font-size:12px;font-weight:500;margin:5px 0 5px}.care-tip p{font-size:10px;line-height:1.7;color:#919589;margin:0}.circle-button{margin-left:auto;border:1px solid #e4e8dc;border-radius:50%;width:27px;height:27px;color:#8e9a7d}.mini-icon svg{width:18px;height:18px;color:#9aa48c}.visit-item{display:flex;align-items:center;gap:10px;font-size:10px;color:#7d8776;margin:14px 0}.check-mark{font-size:9px;border:1px solid #dbe2d0;width:16px;height:16px;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#91a17b}.visit-panel>.text-button{margin-top:25px}footer{display:flex;align-items:center;gap:7px;font-size:9px;color:#a1a597;padding:25px 0 20px}footer>svg{width:13px;height:13px}.footer-right{margin-left:auto;display:flex;gap:9px}.footer-right span{font-size:15px}.feature-panel{background:white;border:1px solid var(--border);border-radius:12px;padding:30px;margin:28px 0;max-width:850px}.feature-panel>label{display:block;font-weight:500;margin:15px 0 10px}textarea,input,select{border:1px solid #dfe5da;border-radius:6px;padding:13px;background:#fdfefa;color:var(--dark)}textarea{width:100%;min-height:145px;resize:vertical;margin-bottom:16px}select{width:100%;max-width:420px}.upload-zone{border:1px dashed #b6c9af;padding:25px;display:flex!important;flex-direction:column;align-items:center;gap:12px;border-radius:8px;background:#f7faf3;cursor:pointer}.upload-zone span{font-size:12px;color:var(--muted)}.upload-zone svg{width:32px;height:32px}.upload-zone input{max-width:100%;font-size:11px}.fine-print{font-size:11px;color:#92988d;line-height:1.7;margin-top:20px}.result{line-height:1.8}.result:empty{display:none}.result h3{font-size:16px}.result p{font-size:13px}.directory-list{display:flex;flex-direction:column;gap:14px;margin-top:25px}.directory-list a{display:block;padding:22px;background:#f3f6ef;border-radius:8px;text-decoration:none}.directory-list strong{display:block;margin-bottom:8px}.directory-list span{font-size:12px;color:var(--muted)}#checklist{margin:20px 0}.task{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}.task input{accent-color:var(--green);width:17px;height:17px}.task input:checked+span{text-decoration:line-through;color:#929a8c}.task button{margin-left:auto;color:#929a8c}#add-task,#chat-form{display:flex;gap:10px}#add-task input,#chat-form input{flex:1;min-width:0}.plan-note{display:flex;gap:15px;padding:20px;background:#edf3e7;border-radius:8px;margin-top:25px;line-height:1.8}.plan-note p{margin:0;font-size:12px}.plan-note svg{margin-top:4px}#chat-messages{display:flex;flex-direction:column;gap:15px;min-height:220px;margin-bottom:24px}.chat-message{padding:16px 20px;border-radius:12px;font-size:13px;line-height:1.8;max-width:85%}.bot{background:#edf3e7;align-self:flex-start}.user{background:#285b49;color:white;align-self:flex-end}.suggestions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.suggestions button{border:1px solid #dfe5da;border-radius:20px;padding:9px 12px;font-size:11px}dialog{border:1px solid var(--border);border-radius:15px;padding:35px;width:460px;max-width:90vw;color:var(--dark);box-shadow:0 20px 100px #203d3620}dialog::backdrop{background:#18332650;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:15px;top:10px;font-size:25px;color:#84917d}dialog h2{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:25px;margin:15px 0 22px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--border);font-size:13px}.setting-row input{accent-color:var(--green);width:18px;height:18px}.condition-option{display:flex;gap:10px;padding:12px 0;font-size:13px}.condition-option input{accent-color:var(--green)}dialog .primary{margin-top:23px;width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#285b49;color:white;padding:13px 22px;border-radius:8px;font-size:12px;box-shadow:0 6px 30px #18332625;display:none;z-index:100}.large-text{font-size:17px}.large-text p,.large-text .tool-description,.large-text .nav-item{font-size:15px}.high-contrast{--muted:#424c42;--border:#768474;--dark:#112b1e}.high-contrast p,.high-contrast .tool-description,.high-contrast .eyebrow{color:#384e38}
@media(min-width:1450px){main{padding-top:45px}.hero{height:320px}.hero-copy{padding-top:39px}.tool-card{padding:25px}.tool-title{font-size:14px}.tool-description{font-size:12px}.lower-grid{margin-top:30px}}
@media(max-width:1150px){.sidebar{width:215px;padding-left:14px;padding-right:14px}.brand{font-size:19px}.app{margin-left:215px}header{padding:0 28px}main{padding:30px 28px 0}.tool-grid{gap:12px}.tool-card{padding:18px 14px}.tool-title{font-size:11px}.tool-description{font-size:10px}.hero-copy{padding-left:27px}.card-heart{left:9px}.card-leaf{right:10px}.lower-grid{gap:13px}.care-panel,.visit-panel{padding:19px}.date{font-size:9px}.footer-right{display:none}}
@media(max-width:900px){.sidebar{width:76px;padding:26px 10px}.brand>span:last-child,.workspace-label,.nav-item .new,.sidebar-bottom .support-note,.profile,.sidebar-bottom>.nav-item{display:none}.brand{justify-content:center}nav{margin-top:40px}.nav-item{font-size:0;justify-content:center;padding:14px;gap:0}.nav-item svg{width:22px;height:22px}.app{margin-left:76px}.hero-copy{width:60%}.hero-art{width:40%}.tool-title{line-height:1.6}.tool-description br{display:none}.date{display:none}.lower-grid{grid-template-columns:1fr 1fr}.conditions>span{font-size:8px}.care-tip p br{display:none}.hero h2{font-size:30px}.card-heart{left:-10px;top:35px}.card-leaf{right:-9px;bottom:43px}.hero-art .orbit-three{display:none}}
@media(max-width:650px){.sidebar{position:relative;width:100%;height:auto;padding:19px 20px;border-right:0;border-bottom:1px solid var(--border)}.brand{justify-content:flex-start}.brand>span:last-child{display:block}nav{margin-top:20px;flex-direction:row;justify-content:space-between;gap:3px}.nav-item{padding:10px 15px}.sidebar-bottom{display:none}.app{margin-left:0}header{height:61px;padding:0 20px}.header-actions{gap:12px}.voice-button{font-size:0;gap:4px}.voice-button svg{width:20px;height:20px}.header-divider{display:none}main{padding:27px 20px 0}h1{font-size:30px}.greeting .eyebrow{font-size:7px;letter-spacing:1.2px}.greeting p{font-size:12px}.greeting{margin-bottom:23px}.hero{height:290px}.hero-copy{padding:25px 22px;width:100%}.hero h2{font-size:28px}.hero p{font-size:11px;max-width:220px}.hero-art{position:absolute;right:-65px;top:35px;width:230px;opacity:.6}.compass-art{width:130px;height:130px;padding:10px;margin-top:20px}.compass-ring{width:110px;height:110px}.north{top:10px;left:50px}.south{bottom:10px;left:50px}.east{right:10px;top:49px}.west{left:10px;top:49px}.needle{top:23px;left:40px;width:28px;height:65px}.compass-center{top:49px;left:49px}.art-card,.art-caption,.art-star{display:none}.orbit-one{width:190px;height:190px}.orbit-two{width:250px;height:250px}.hero .primary{margin-top:9px}.hero-copy .desktop{display:none}#dashboard>.section-heading>span{display:none}.tool-grid{grid-template-columns:1fr}.tool-card{display:grid;grid-template-columns:44px 1fr;column-gap:14px;padding:20px}.tool-icon{grid-row:1/4;margin:0}.tool-title{font-size:13px}.tool-description{font-size:11px;margin-top:5px}.tool-link{margin-top:11px}.lower-grid{grid-template-columns:1fr;gap:17px}.conditions>span{font-size:10px}.care-panel,.visit-panel{padding:22px}.care-tip p{font-size:11px}footer{font-size:8px;line-height:1.7}.feature-panel{padding:21px}.chat-message{max-width:95%}.page-intro{line-height:1.7}.eyebrow{font-size:8px}#add-task{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Use local system fonts so the interface also works offline and with blocked fonts. */
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  min-width: 280px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  line-height: 1.5;
}
button {
  -webkit-appearance: none;
  appearance: none;
}
button:disabled {
  cursor: default;
  opacity: .55;
}
[hidden] {
  display: none !important;
}
.sidebar {
  overflow-y: auto;
}
.sidebar > nav,
.sidebar-bottom,
.brand {
  flex-shrink: 0;
}
.app,
.page,
.hero-copy,
.hero-art,
.tool-card,
.care-panel,
.visit-panel,
.feature-panel,
.care-tip > div,
.chat-message,
.voice-panel-copy {
  min-width: 0;
}
.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lower-grid {
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
}
.section-heading {
  gap: 12px;
  flex-wrap: wrap;
}
.tool-title,
.conditions > span,
.task > span,
.chat-message,
.directory-list a,
.fine-print {
  overflow-wrap: anywhere;
}
.avatar,
.small-avatar,
.tip-icon,
.task input,
.circle-button,
.status-dot {
  flex-shrink: 0;
}
.hero {
  min-height: 294px;
  height: auto;
}
.hero-copy {
  padding-bottom: 30px;
}
.breadcrumb,
.header-actions {
  min-width: 0;
}
.breadcrumb {
  flex-wrap: wrap;
  gap: 8px 14px;
}
.header-actions {
  flex-shrink: 0;
}
.voice-button {
  min-height: 40px;
  border-radius: 6px;
  padding: 7px 9px;
}
.voice-button[aria-pressed="true"] {
  background: #e6efe4;
  color: var(--green);
}
.voice-button[data-state="off"] .status-dot,
.voice-button[data-state="unavailable"] .status-dot {
  background: #879087;
}
.voice-button[data-state="permission"] .status-dot,
.voice-button[data-state="paused"] .status-dot,
.voice-button[data-state="starting"] .status-dot {
  background: #b67d24;
}
.voice-button[data-state="speaking"] .status-dot {
  background: #8769ae;
}
.voice-button[data-state="listening"] .status-dot {
  background: #367b46;
  box-shadow: 0 0 0 3px #367b4620;
}
.voice-panel {
  max-width: 1282px;
  margin: 20px 44px 0;
  padding: 16px 18px;
  border: 1px solid #dce6d5;
  border-radius: 9px;
  background: #f0f5ec;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.voice-panel-copy {
  flex: 1 1 240px;
}
#voice-status {
  font-size: 13px;
  color: var(--green);
}
#voice-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #596c56;
}
.voice-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.voice-panel-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #bdceb6;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: var(--green);
}
.voice-panel-actions button:hover {
  background: #e4edde;
}
#voice-transcript {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  color: #4e614b;
  overflow-wrap: anywhere;
}
#voice-transcript:empty {
  display: none;
}
dialog {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
dialog::backdrop {
  -webkit-backdrop-filter: blur(3px);
}
.dialog-close {
  min-width: 40px;
  min-height: 40px;
}
.task button {
  min-width: 36px;
  min-height: 36px;
}
.task > label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.task > label > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.promise-copy {
  line-height: 1.9;
}
.high-contrast .voice-panel {
  border-color: #768474;
}
.high-contrast #voice-hint,
.high-contrast #voice-transcript,
.high-contrast .fine-print,
.high-contrast .nav-item,
.high-contrast .tool-link,
.high-contrast .breadcrumb,
.high-contrast .date,
.high-contrast footer {
  color: #384e38;
}
.large-text .voice-button,
.large-text #voice-status,
.large-text #voice-hint,
.large-text #voice-transcript,
.large-text .voice-panel-actions button,
.large-text .tool-title,
.large-text .tool-link,
.large-text .fine-print,
.large-text .primary,
.large-text .conditions > span,
.large-text .visit-item {
  font-size: 15px;
}
.large-text .hero {
  min-height: 330px;
}
.large-text .hero p {
  max-width: 100%;
  font-size: 15px;
}
.large-text .care-tip p {
  font-size: 15px;
}

@media (min-width: 1450px) {
  .hero {
    min-height: 320px;
  }
  .voice-panel {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 88px);
  }
}
@media (min-width: 901px) and (max-height: 780px) {
  .workspace-label {
    margin-top: 28px;
  }
  .support-note {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
@media (min-width: 901px) and (max-height: 680px) {
  .support-note {
    display: none;
  }
}
@media (max-width: 1150px) {
  .voice-panel {
    margin-left: 28px;
    margin-right: 28px;
  }
}
@media (min-width: 651px) and (max-width: 900px) {
  .sidebar {
    width: 96px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .app {
    margin-left: 96px;
  }
  .nav-item {
    flex-direction: column;
    gap: 7px;
    padding: 12px 3px;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }
  .sidebar-bottom > .nav-item {
    display: flex;
    padding: 14px 3px;
    font-size: 10px;
  }
  .profile {
    display: flex;
    justify-content: center;
    padding: 14px 0;
  }
  .profile > span:nth-child(2),
  .profile-arrow {
    display: none;
  }
  .lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .large-text .nav-item {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    overflow: visible;
  }
  nav {
    align-items: stretch;
  }
  nav .nav-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding: 10px 3px;
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }
  .sidebar-bottom {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid #dfe5da;
  }
  .sidebar-bottom > .nav-item {
    display: flex;
    width: auto;
    flex: 1;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 0;
    border-top: 0;
    font-size: 11px;
    white-space: normal;
  }
  .profile {
    display: flex;
    width: auto;
    border-top: 0;
    padding: 10px 0;
  }
  .profile > span:nth-child(2),
  .profile-arrow {
    display: none;
  }
  header {
    min-height: 61px;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .voice-button {
    font-size: 11px;
    padding-left: 6px;
    padding-right: 6px;
    gap: 5px;
  }
  .voice-panel {
    margin: 16px 20px 0;
    padding: 14px;
  }
  .voice-panel-copy {
    flex-basis: 100%;
  }
  .voice-panel-actions {
    width: 100%;
  }
  .voice-panel-actions button {
    flex: 1 1 140px;
  }
  .hero {
    min-height: 290px;
    height: auto;
  }
  .hero-art {
    pointer-events: none;
  }
  .hero-copy {
    padding-bottom: 25px;
  }
  .tool-grid,
  .lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .large-text nav .nav-item {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .sidebar,
  header {
    padding-left: 14px;
    padding-right: 14px;
  }
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .voice-panel {
    margin-left: 14px;
    margin-right: 14px;
  }
  .breadcrumb {
    font-size: 11px;
    column-gap: 6px;
  }
  .header-actions .small-avatar {
    display: none;
  }
  .hero-art {
    right: -95px;
    opacity: .3;
  }
}

/* Optional assistance and practical care tools share the site's quiet palette. */
.ai-panel {
  max-width: 1282px;
  margin: 14px 44px 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  background: #fff;
}
.ai-panel > div { flex: 1; min-width: 0; }
.ai-panel > .ai-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ai-connection-help { flex-basis: 100%; border-top: 1px solid var(--border); padding-top: 12px; font-size: 12px; line-height: 1.7; }
.ai-connection-help summary { cursor: pointer; font-weight: 600; }
.ai-connection-help p { margin: 10px 0; }
.ai-connection-help a { text-decoration: underline; }
.ai-panel strong { font-size: 12px; }
.ai-panel p { margin: 4px 0; font-size: 12px; color: #596c56; }
.ai-panel small { display: block; font-size: 11px; line-height: 1.6; color: #687565; }
.ai-switch, .wake-option { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.ai-switch { flex-shrink: 0; }
.ai-switch input, .wake-option input { accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }
.wake-option { flex-basis: 100%; cursor: pointer; }
.voice-privacy { margin: 0; flex-basis: 100%; font-size: 11px; line-height: 1.6; color: #687565; }
.voice-button[data-state="standby"] .status-dot { background: #b67d24; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.upload-zone {
  position: relative;
  min-height: 215px;
  border: 1.5px dashed #b0c2aa;
  background: linear-gradient(135deg, #f5f8ef, #edf3e9);
  text-align: center;
  transition: border-color .15s, background .15s;
}
.upload-zone:hover, .upload-zone.drag-active {
  background: #e7f0df;
  border-color: var(--green);
}
.upload-zone .upload-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e0ebd7;
  color: #54734a;
}
.upload-zone .upload-icon svg { width: 27px; height: 27px; }
.upload-zone strong { font-size: 16px; }
.upload-zone .upload-choose {
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ccdac4;
  padding: 9px 17px;
  font-size: 12px;
  color: var(--green);
}
.upload-zone .upload-formats { font-size: 10px; }
.file-details { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 25px; font-size: 11px; color: #687565; }
.file-details span { overflow-wrap: anywhere; }
.tool-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #cddac5;
  border-radius: 6px;
  background: #f6f9f2;
  color: var(--green);
  font-size: 12px;
}
.secondary:hover { background: #e8f0e1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.form-grid > div { min-width: 0; }
.form-grid label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; }
.form-grid input { width: 100%; min-width: 0; }
.feature-panel h2 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.feature-panel .section-heading h2 { margin: 0; }
.panel-intro { font-size: 13px; color: #687565; line-height: 1.7; }
.progress-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 22px 0; font-size: 12px; color: #687565; }
.progress-row progress { accent-color: var(--green); height: 9px; width: 180px; max-width: 100%; }
.suggested-task { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; padding: 12px 0; border-top: 1px solid var(--border); }
.suggested-task input { accent-color: var(--green); margin-top: 5px; flex-shrink: 0; }
.tool-source { display: block; font-size: 11px; color: #62795b; margin: 10px 0; line-height: 1.7; }
.result { white-space: normal; overflow-wrap: anywhere; }
.result p, .chat-message p { white-space: pre-line; }
#decoder-save, #plan-apply { margin-top: 15px; }
#plan-concern { min-height: 95px; }
#symptom-log { margin-top: 22px; }
.symptom-entry { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--border); }
.symptom-entry > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.symptom-entry strong { font-size: 13px; }
.symptom-entry small { display: block; font-size: 11px; color: #687565; margin-top: 4px; }
.symptom-entry button { min-width: 38px; min-height: 38px; font-size: 20px; color: #687565; }
.chat-panel > .section-heading { margin-bottom: 22px; }
.chat-message p { margin: 0; }
.chat-action { margin-top: 12px; }
#profile-search { width: 100%; margin: 10px 0 15px; }
.large-text .ai-panel p, .large-text .ai-panel small, .large-text .secondary,
.large-text .wake-option, .large-text .form-grid label { font-size: 15px; }
.high-contrast .tool-source, .high-contrast .panel-intro,
.high-contrast .voice-privacy, .high-contrast .ai-panel small { color: #384e38; }
@media (min-width: 1450px) {
  .ai-panel { margin-left: auto; margin-right: auto; width: calc(100% - 88px); }
}
@media (max-width: 1150px) {
  .ai-panel { margin-left: 28px; margin-right: 28px; }
}
@media (max-width: 650px) {
  .ai-panel { margin: 14px 20px 0; padding: 14px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .ai-panel > div { flex-basis: 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-actions > .primary, .tool-actions > .secondary { width: 100%; }
  .upload-zone { padding: 22px 14px; }
  .upload-zone strong { font-size: 15px; }
}
@media (max-width: 400px) {
  .ai-panel { margin-left: 14px; margin-right: 14px; }
  .feature-panel { padding: 19px; }
}

.settings-label { display: block; font-size: 13px; margin: 17px 0 8px; }
#voice-rate { width: 100%; accent-color: var(--green); }
#voice-preview { margin-top: 12px; }
#rate-value { float: right; }
#settings-dialog h3 { margin-top: 25px; font-size: 16px; }
#reset-data { margin-top: 14px; width: 100%; }
.danger { color: #9b403b; border-color: #ddbbb8; }
#specialist-search { width: 100%; }
.review-summary {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 40vh;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f2f6ee;
  line-height: 1.8;
}
#review-dialog .primary { width: auto; margin-top: 0; }
#review-dialog .tool-actions { align-items: stretch; }
.site-footer { padding: 24px 44px; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--border); }
.site-footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 0 auto;
  font-size: 12px;
}
.site-footer a { text-decoration: underline; text-underline-offset: 3px; min-height: 30px; display: inline-flex; align-items: center; }
.policy-copy { font-size: 14px; line-height: 1.85; }
.policy-copy p { color: var(--dark); }
.policy-copy a { color: var(--green); overflow-wrap: anywhere; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.dyslexia-friendly { font-family: Verdana, 'Trebuchet MS', Arial, sans-serif; line-height: 1.9; letter-spacing: .035em; word-spacing: .08em; }
.dyslexia-friendly p, .dyslexia-friendly label, .dyslexia-friendly input,
.dyslexia-friendly textarea, .dyslexia-friendly .chat-message { line-height: 1.9; }
.dyslexia-friendly h1, .dyslexia-friendly h2, .dyslexia-friendly h3 { font-family: inherit; letter-spacing: .015em; }
.dark-mode {
  color-scheme: dark;
  --bg: #18241f;
  --dark: #e4ece2;
  --muted: #aab9ac;
  --border: #435449;
  --green: #8bc3a8;
}
.dark-mode .sidebar, .dark-mode header { background: #202f27; border-color: var(--border); }
.dark-mode .brand, .dark-mode h1, .dark-mode h2, .dark-mode h3 { color: #e4ece2; }
.dark-mode .tool-card, .dark-mode .care-panel, .dark-mode .visit-panel,
.dark-mode .feature-panel, .dark-mode .ai-panel, .dark-mode dialog { background: #24342a; color: var(--dark); }
.dark-mode .voice-panel, .dark-mode .hero, .dark-mode .plan-note,
.dark-mode .bot, .dark-mode .review-summary, .dark-mode .directory-list a { background: #2d4131; border-color: var(--border); }
.dark-mode .upload-zone { background: linear-gradient(135deg, #293d2d, #304735); border-color: #6b8969; }
.dark-mode .upload-zone:hover, .dark-mode .upload-zone.drag-active { background: #39563e; }
.dark-mode input, .dark-mode textarea, .dark-mode select { background: #1d2d23; color: #e4ece2; border-color: #657a65; }
.dark-mode .primary, .dark-mode .user, .dark-mode #toast { background: #376d51; color: #fff; }
.dark-mode .primary:hover { background: #417e5f; }
.dark-mode .secondary, .dark-mode .upload-choose, .dark-mode .voice-panel-actions button {
  background: #263e2d; border-color: #5d7a5a; color: #c3dfb9;
}
.dark-mode .nav-item.active, .dark-mode .nav-item:hover,
.dark-mode .voice-button[aria-pressed="true"], .dark-mode .conditions > span { background: #354c38; color: #d3e4c8; }
.dark-mode p, .dark-mode .eyebrow, .dark-mode .page-intro, .dark-mode .tool-description,
.dark-mode .date, .dark-mode footer, .dark-mode .breadcrumb,
.dark-mode .nav-item, .dark-mode .fine-print, .dark-mode .ai-panel small,
.dark-mode .tool-source, .dark-mode small, .dark-mode .directory-list span,
.dark-mode .upload-zone span, .dark-mode #voice-hint, .dark-mode #voice-status,
.dark-mode .voice-privacy, .dark-mode .panel-intro, .dark-mode .progress-row { color: #b8c8b5; }
.dark-mode .text-button, .dark-mode .policy-copy a, .dark-mode .tool-link,
.dark-mode .circle-button { color: #b6d9b2; }
.dark-mode .visit-item { color: #b8c8b5; }
.dark-mode .skip { background: #24342a; color: #e4ece2; }
.dark-mode .avatar, .dark-mode .small-avatar, .dark-mode .upload-icon,
.dark-mode .pill { background: #435d3f; color: #e4ecd9; }
.dark-mode .danger { color: #f2bab5; border-color: #a8716c; }
.dark-mode.high-contrast { --border: #a7bca4; --dark: #fff; }
.dark-mode.high-contrast p, .dark-mode.high-contrast small,
.dark-mode.high-contrast .nav-item, .dark-mode.high-contrast .fine-print,
.dark-mode.high-contrast .eyebrow, .dark-mode.high-contrast .voice-privacy,
.dark-mode.high-contrast .panel-intro, .dark-mode.high-contrast .tool-source,
.dark-mode.high-contrast .visit-item, .dark-mode.high-contrast .tool-link { color: #edf6e8; }
@media (max-width: 650px) {
  .site-footer { padding: 20px; }
  .site-footer nav { width: 100%; margin-left: 0; gap: 8px 16px; }
  .dyslexia-friendly nav .nav-item { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 400px) {
  .site-footer { padding-left: 14px; padding-right: 14px; }
}
