@font-face{font-family:'DM Sans';src:url('/assets/fonts/dm-sans.ttf') format('truetype');font-display:swap}
:root{--ink:#17352f;--orange:#c56442;--sage:#edf5ee;--paper:#fff;--muted:#58665f;--line:#d8e2dc;--cream:#fff;--radius:16px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;font-family:'DM Sans',Arial,Helvetica,sans-serif;background:var(--cream);color:var(--ink);font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,textarea,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}a{color:var(--ink);text-underline-offset:4px}p{margin:0 0 1rem}h1,h2,h3{line-height:1.15;margin:0 0 1rem;letter-spacing:-.025em}h1{font-size:clamp(2.4rem,5vw,4.1rem);max-width:830px}h2{font-size:1.35rem}h3{font-size:1.15rem}button{color:var(--ink)}[hidden]{display:none!important}.skip-link{position:absolute;top:-100px;left:12px;padding:10px 16px;background:white;z-index:10}.skip-link:focus{top:12px}.sample-banner{background:var(--ink);color:white;text-align:center;padding:9px 18px;font-size:.8rem;letter-spacing:.015em}.site-header{max-width:1220px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 26px;border-bottom:1px solid var(--line)}.brand{display:flex;max-width:180px}.brand img{display:block;width:100%;height:auto;max-height:60px;object-fit:contain}.back-link{font-size:.9rem;font-weight:600}.introduction{max-width:1168px;margin:0 auto;padding:58px 0 24px}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9c482d;margin-bottom:16px}.intro-copy{font-size:1.1rem;max-width:770px;color:var(--muted)}.setup-guide{padding:0;margin:32px 0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;list-style:none}.setup-guide li{display:flex;align-items:flex-start;gap:13px}.setup-guide li>span{width:30px;height:30px;border-radius:50%;background:var(--sage);display:grid;place-items:center;flex:none;font-size:.8rem;font-weight:bold}.setup-guide strong{display:block;margin-bottom:4px}.setup-guide p{font-size:.85rem;color:var(--muted);max-width:240px;margin:0}.small-note{font-size:.8rem;color:var(--muted);max-width:850px}.jump-links{max-width:1168px;margin:0 auto 28px;display:flex;flex-wrap:wrap;gap:8px}.jump-links a{font-size:.85rem;border:1px solid var(--line);padding:8px 14px;border-radius:50px;background:white;text-decoration:none}.jump-links a:hover{border-color:var(--ink)}.workspace{max-width:1168px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;align-items:start}.editor,.preview-panel{min-width:0}.section-title{display:flex;gap:10px;align-items:center;margin:0 0 22px}.section-title h2{margin:0}.section-number{font-size:.7rem;color:var(--orange);font-weight:bold;letter-spacing:.05em}.field-section{border:0;border-bottom:1px solid var(--line);padding:0 0 25px;margin:0 0 26px;min-width:0}.field-section legend{padding:0;margin-bottom:14px;font-size:1rem;font-weight:700;float:left;width:100%}.field-section legend+*{clear:both}.field-section label:not(.check-row):not(.radio-options label){display:block;font-size:.85rem;font-weight:600;margin:16px 0 6px}.field-hint{font-size:.8rem;color:var(--muted);margin:8px 0 12px;line-height:1.5}.optional{font-size:.75rem;color:var(--muted);font-weight:400;margin-left:4px}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{width:100%;border:1px solid #b9c7be;border-radius:8px;background:white;color:var(--ink);padding:11px 12px;min-height:46px;line-height:1.4}textarea{resize:vertical;max-height:350px}.example-buttons{display:flex;gap:8px;flex-wrap:wrap}.example-buttons button{padding:9px 14px;background:white;border:1px solid var(--line);border-radius:8px;min-height:44px;font-size:.9rem}.example-buttons button:hover,.example-buttons button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.radio-options{display:flex;gap:10px;flex-wrap:wrap}.radio-options label{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:10px 12px;border-radius:8px;font-size:.85rem;min-height:46px}.radio-options input,.check-row input{width:18px;height:18px;margin:0;accent-color:var(--ink);flex:none}.count{font-weight:400;font-size:.8rem;color:var(--muted);margin-left:6px}.step-editor{padding:15px;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px}.step-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.step-heading strong{font-size:.8rem}.step-actions{display:flex;gap:4px;flex-wrap:wrap}.step-actions button{min-height:38px;padding:5px 8px;background:var(--sage);border:0;border-radius:6px;font-size:.75rem}.step-actions button.remove-step{background:#f9efeb;color:#883e28}.step-editor label.step-label{margin-top:10px!important}.picture-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.picture-controls label{margin-top:10px!important}.file-label{display:flex!important;align-items:center;min-height:44px;padding:9px 10px;margin:6px 0 0!important;font-weight:400!important;border:1px dashed #96ab9f;border-radius:8px;cursor:pointer;font-size:.8rem!important;text-align:center;justify-content:center;background:var(--cream)}.file-label:focus-within{outline:3px solid var(--orange);outline-offset:2px}.file-input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.photo-controls{margin-top:8px;display:flex;align-items:center;gap:10px}.photo-controls img{width:42px;height:42px;object-fit:cover;border-radius:8px}.photo-controls button{font-size:.75rem;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;padding:8px}.words-mode .picture-controls,.words-mode .photo-controls{display:none}.button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:12px 18px;border-radius:9px;font-weight:600;border:1px solid transparent;line-height:1.3;font-size:.9rem}.button-primary{background:var(--ink);color:white}.button-primary:hover{background:#294d42}.button-outline{background:white;border-color:#a9bcb0}.button-outline:hover{background:var(--sage)}.check-row{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.9rem}.support-options{display:flex;gap:8px;flex-wrap:wrap}.support-options .check-row{padding:6px 10px;background:white;border:1px solid var(--line);border-radius:8px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-buttons{display:flex;gap:10px;flex-wrap:wrap}.save-tools{padding:22px;background:var(--sage);border-radius:var(--radius)}.device-actions{display:flex;flex-direction:column;align-items:flex-start;margin-top:20px}.text-button{border:0;background:transparent;padding:8px 0;font-size:.85rem;text-align:left;text-decoration:underline;text-underline-offset:4px;min-height:40px}.storage-note{font-size:.75rem;color:var(--muted);margin:10px 0 8px}.reset-actions{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #d0dfd4;padding-top:10px}.danger{color:#8d3a24}.status{margin:12px 0 0;min-height:26px;font-size:.8rem;font-weight:600;overflow-wrap:anywhere}.status.error{color:#8d3a24}.preview-panel{padding-top:0}.preview-hint,.preview-footer{font-size:.8rem;color:var(--muted)}.plan-sheet,.caregiver-sheet{background:white;border:1px solid #d6dfd8;padding:30px;border-radius:3px;box-shadow:0 7px 24px #17352f07;margin-bottom:18px;overflow-wrap:anywhere}.plan-eyebrow{font-size:.64rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#9c482d;margin-bottom:14px}.plan-title{font-size:1.9rem;line-height:1.15;letter-spacing:-.03em;margin-bottom:10px;overflow-wrap:anywhere}.plan-destination{font-size:.95rem;color:var(--muted);margin-bottom:22px}.routine-list{list-style:none;margin:22px 0;padding:0;display:flex;flex-direction:column;gap:10px}.routine-step{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:12px;min-height:80px}.step-number{align-self:flex-start;font-size:.7rem;font-weight:700;color:#728379;margin-top:3px;flex:none;width:15px}.step-picture{width:54px;height:54px;background:var(--sage);border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}.step-picture svg{width:34px;height:34px;stroke:var(--ink);stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}.step-picture img{width:100%;height:100%;object-fit:cover}.routine-step .step-text{font-size:1.1rem;line-height:1.35;font-weight:600;min-width:0;overflow-wrap:anywhere}.choice-block{padding:16px;background:var(--sage);border-radius:10px;margin:20px 0}.choice-block h3{font-size:.95rem;margin-bottom:12px;overflow-wrap:anywhere}.choice-values{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice-values span{background:white;border:1px solid #cbdccf;padding:10px;border-radius:7px;line-height:1.35;font-size:.95rem;text-align:center;overflow-wrap:anywhere}.support-cards{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.support-card{flex:1;min-width:70px;background:#fbf2ed;border:1px solid #e9d6cb;border-radius:9px;padding:11px 8px;text-align:center;font-size:.85rem;font-weight:700;overflow-wrap:anywhere}.change-block{border-left:3px solid var(--orange);padding:0 0 0 13px;font-size:.9rem;margin:20px 0;white-space:pre-wrap}.change-block strong{display:block;margin-bottom:4px}.sheet-footer{font-size:.63rem;letter-spacing:.03em;color:var(--muted);margin:24px 0 0;padding-top:12px;border-top:1px solid var(--line)}.caregiver-sheet h3{font-size:1.1rem;margin-bottom:15px}.caregiver-sheet p,.caregiver-sheet li{font-size:.85rem}.caregiver-sheet ul{padding-left:20px;margin:12px 0}.caregiver-note{white-space:pre-wrap;background:var(--sage);padding:14px;border-radius:8px}.closing-note{max-width:1168px;margin:50px auto 0;padding:28px 0;border-top:1px solid var(--line)}.closing-note h2{font-size:1.2rem}.closing-note p{max-width:730px;color:var(--muted);font-size:.9rem}.closing-note a{font-size:.9rem;font-weight:600}.site-footer{max-width:1168px;margin:20px auto 0;padding:24px 0 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:35px}.site-footer span{font-size:.85rem;font-weight:700}.site-footer p{font-size:.75rem;color:var(--muted);max-width:650px;margin:0}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:450px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#17352f75}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.noscript{margin:20px;padding:20px;background:white;border:1px solid var(--orange)}
@media(min-width:1050px){.preview-panel{position:sticky;top:22px;max-height:calc(100vh - 44px);overflow:auto;padding-right:4px;scrollbar-width:thin}}
@media(max-width:1220px){.introduction,.workspace,.jump-links,.closing-note,.site-footer{margin-left:26px;margin-right:26px}}
@media(max-width:800px){.workspace{grid-template-columns:1fr;gap:38px;max-width:620px;margin-left:auto;margin-right:auto;padding:0 22px}.introduction{padding-top:36px}.setup-guide{gap:18px;grid-template-columns:1fr}.setup-guide p{max-width:none}.introduction,.jump-links,.closing-note,.site-footer{margin-left:22px;margin-right:22px}.intro-copy{font-size:1rem}.site-footer{display:block}.site-footer span{display:block;margin-bottom:12px}.preview-panel{position:static}.plan-sheet,.caregiver-sheet{padding:25px}.section-title{margin-bottom:18px}.preview-hint{margin-bottom:16px}.jump-links{margin-top:4px;margin-bottom:32px}.preview-footer{margin-top:18px}.site-header{padding:14px 22px}.brand{max-width:150px}.back-link{font-size:.8rem}}
@media(max-width:390px){.site-header{padding:12px 16px;gap:12px}.brand{max-width:130px}.introduction,.jump-links,.closing-note,.site-footer{margin-left:16px;margin-right:16px}.workspace{padding:0 16px}.step-editor{padding:12px}.step-actions button{padding:5px 6px}.plan-sheet,.caregiver-sheet{padding:19px}.step-picture{width:43px;height:43px}.routine-step{gap:8px;padding:10px}.routine-step .step-text{font-size:1rem}.save-tools{padding:17px}.export-buttons .button{width:100%}.two-fields{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{@page{size:A4;margin:13mm}html,body{margin:0;padding:0;background:white;color:#17352f;font-size:11pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sample-banner,.site-header,.introduction,.jump-links,.editor,.preview-heading,.preview-hint,.preview-footer,.closing-note,.site-footer,.skip-link,dialog,noscript{display:none!important}.workspace,.preview-panel,.print-sheets{display:block;margin:0;padding:0;max-width:none;max-height:none;overflow:visible;position:static}.plan-sheet,.caregiver-sheet{margin:0;padding:0;border:0;box-shadow:none;border-radius:0}.plan-sheet{break-after:page;page-break-after:always}.caregiver-sheet{break-before:page;page-break-before:always}.plan-title{font-size:24pt}.plan-destination{font-size:11pt;margin-bottom:12px}.routine-list{gap:7px;margin:15px 0}.routine-step{min-height:61px;padding:9px;break-inside:avoid}.step-picture{width:43px;height:43px}.routine-step .step-text{font-size:13pt}.choice-block{padding:11px;margin:13px 0;break-inside:avoid}.support-cards{margin:13px 0;break-inside:avoid}.change-block{font-size:10pt;margin:13px 0;break-inside:avoid}.sheet-footer{margin-top:16px}.caregiver-sheet h3{font-size:20pt}.caregiver-sheet p,.caregiver-sheet li{font-size:11pt}.caregiver-note{padding:16px}}

/* Legible controls and guidance for the pilot. */
.field-hint,.optional,.small-note,.storage-note,.status,.preview-hint,.preview-footer,.setup-guide p,.field-section label:not(.check-row):not(.radio-options label),.step-actions button,.photo-controls button,.text-button,.file-label{font-size:14px!important}.step-actions button{min-height:44px}.step-heading strong{font-size:14px}.site-footer p{font-size:14px}.sample-banner{font-size:14px}.jump-links{position:sticky;top:0;z-index:3;background:#fff;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #d8e2dc}.jump-links a{font-size:14px}
@media print{.jump-links{display:none!important}.field-hint,.small-note,.storage-note,.status,.preview-hint,.preview-footer{display:none!important}}

/* Editor handoff and portable plan files. */
.checklist-callout{padding:16px;margin:0 0 22px;background:#fff;border:1px solid #bdcfc1;border-radius:10px}.checklist-callout .button,.preview-checklist-action .button{width:100%}.checklist-callout p{font-size:.8rem;color:var(--muted);margin:10px 0 0}.plan-file-tools{border-top:1px solid #cbdccc;padding-top:20px;margin-top:20px}.plan-file-tools h4{font-size:.95rem;margin:0 0 12px;line-height:1.3}.plan-file-tools .export-buttons{gap:8px}.plan-file-tools .button{font-size:.82rem;flex:1 1 155px}.preview-checklist-action{padding:18px;background:var(--sage);border:1px solid var(--line);border-radius:12px;margin:18px 0}.preview-checklist-action .field-hint{margin-bottom:0}.preview-checklist-action .status:empty{display:none}.app-editor-notice{font-size:.85rem;max-width:820px;padding:15px 18px;background:var(--sage);border-left:3px solid var(--orange);margin:20px 0;line-height:1.55}body[data-app-editor] .site-header{padding-top:max(18px,env(safe-area-inset-top));}body[data-app-editor] .site-footer{padding-bottom:max(40px,env(safe-area-inset-bottom))}@media print{.preview-checklist-action,.app-editor-notice{display:none!important}}
