/* Scoped to the working plan; no homepage styling. */
.ds-page input,.ds-page select,.ds-page textarea{font:inherit;max-width:100%;min-width:0}.ds-page select,.ds-page input:not([type=checkbox]),.ds-page textarea{width:100%;padding:14px;border:1px solid #bfb8ac;border-radius:10px;background:#fffdf8;color:var(--warm-ink,#302b26)}.ds-page input[type=checkbox]{width:22px;height:22px;accent-color:var(--pink,#e7353c);flex-shrink:0}.ds-page .guide-field{margin:20px 0}.ds-page .guide-field>span{font-weight:650;display:block;margin-bottom:8px}.ds-page textarea{resize:vertical;line-height:1.55}.ds-page :is(button,a,input,textarea,select):focus-visible{outline:3px solid #b32d36;outline-offset:4px}.ds-page .guide-heading h1{font-size:clamp(31px,4vw,51px);line-height:1.14}.ds-task-body{margin:25px 0}.ds-task-index,.ds-source,.ds-page .ds-record,.ds-page .info-details{border:1px solid #d9d0c0;border-radius:14px;background:#fffdf8;margin:20px 0;overflow:hidden}.ds-page summary{cursor:pointer;padding:18px;font-weight:650;overflow-wrap:anywhere}.ds-task-index ol{padding:0 22px 15px 42px}.ds-task-index li{padding:9px 0}.ds-task-index a{display:flex;justify-content:space-between;gap:15px;font-size:17px}.ds-task-index a span{color:#74634e;font-size:15px;flex-shrink:0}.ds-record summary{display:flex;justify-content:space-between;gap:15px}.ds-record summary span{font-weight:400;font-size:15px;color:#74634e}.ds-record-fields,.ds-source>*:not(summary),.ds-page .info-details>*:not(summary){margin-left:20px;margin-right:20px}.ds-record-fields{padding-bottom:22px}.ds-record-fields .guide-field:last-child{margin-bottom:0}.ds-ref-list{border:0;padding:15px 0}.ds-ref-list label,.ds-check,.ds-export-files label{display:flex;gap:12px;align-items:flex-start;margin:15px 0}.ds-ref-list legend,.ds-export-files legend{font-weight:700}.ds-local-note{border-left:4px solid #d7aa71;padding:10px 16px;background:#f4ebdc;font-size:17px}.ds-legacy{border-left:3px solid #cdbb9c;padding:15px;background:#f4eee3;margin:20px 0;overflow-wrap:anywhere}.ds-legacy p{white-space:pre-wrap}.ds-completion{margin-top:35px;padding-top:20px;border-top:2px solid #ddd0bc}.ds-actions,.ds-doc-actions,.ds-export-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.ds-doc-actions button,.ds-doc-actions label{font-size:16px}.ds-file-button{position:relative;cursor:pointer}.ds-file-button input{position:absolute;width:1px!important;height:1px;opacity:0;left:0;bottom:0;padding:0!important}.ds-file-button:focus-within{outline:3px solid #b32d36;outline-offset:4px}.ds-validation{color:#9c2633;font-weight:600;min-height:1px}.ds-dossier-entry{display:flex;flex-direction:column;gap:8px;background:#eee3d0;padding:24px;border-radius:12px;margin:24px 0 12px;color:inherit}.ds-dossier-entry b{font-size:24px}.ds-review{background:#f4eee2;padding:24px;border-radius:16px}.ds-page dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:10px}.ds-page dt{font-weight:650}.ds-page dd{margin:0;overflow-wrap:anywhere}.ds-gaps{padding:0;list-style:none}.ds-gaps li{border-bottom:1px solid #d8d0c3;padding:15px 0}.ds-gaps a{display:flex;flex-direction:column;gap:6px}.ds-gaps span{color:#6f6051}.ds-export-files{border:0;padding:15px 0}.ds-export-files small{display:block;color:#74634e;margin-top:4px}.ds-export-buttons{margin:24px 0}.ds-handoff .ds-check input{margin-top:5px}.ds-handoff .ds-check{font-weight:500;line-height:1.5}.ds-preview{font-size:16px;padding:0 20px 20px;max-height:75vh;overflow:auto;background:white}.ds-preview h2{font-size:23px;margin:25px 0 15px}.ds-preview h3{font-size:19px;margin-top:20px}.ds-preview h4{font-size:17px}.ds-preview table{font-size:14px;border-collapse:collapse;width:100%}.ds-preview td,.ds-preview th{padding:8px;border:1px solid #ddd;overflow-wrap:anywhere}.ds-preview .pre{white-space:pre-wrap}.ds-budget-grid{margin:20px 0}.ds-page .guide-budget-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ds-page .guide-budget-results>div{background:#f0e7d8;padding:20px;border-radius:12px}.ds-page .guide-budget-results small{display:block}.ds-page button:disabled{opacity:.5;cursor:wait}.ds-page .small{font-size:16px}.ds-page .guide-file-tools{overflow-wrap:anywhere}.ds-page .guide-file-tools input[type=file]{font-size:15px}.ds-task-index{margin-top:15px}.ds-repeat h2{font-size:25px}.ds-page .ds-report-records dl{grid-template-columns:1fr 1.5fr}
@media(max-width:650px){.ds-page .guide-heading h1{font-size:32px}.ds-task-index a{display:block}.ds-task-index a span{display:block}.ds-page .guide-content{min-width:0}.ds-page .ds-record-fields,.ds-source>*:not(summary),.ds-page .info-details>*:not(summary){margin-left:14px;margin-right:14px}.ds-page .guide-actions{flex-wrap:wrap}.ds-page .ds-actions{align-items:stretch;flex-direction:column}.ds-page .ds-actions .primary,.ds-export-buttons button{width:100%}.ds-page dl{display:block}.ds-page dt{margin-top:15px}.ds-page dd{margin-top:5px}.ds-page .guide-budget-results{grid-template-columns:1fr}.ds-page .ds-record summary{display:block}.ds-record summary span{display:block;margin-top:6px}.ds-review{padding:17px}.ds-page .ds-preview{padding:0 10px 15px}.ds-page .ds-report-records dl{display:block}}
@media print{.ds-page .guide-file-tools,.ds-page .guide-actions,.ds-page .guide-sidebar,.ds-page .guide-mobile-nav{display:none}}

/* Keep the secondary navigation below the task instead of covering form fields. */
.ds-page .guide-actions{position:static;backdrop-filter:none;background:transparent}
.ds-page .guide-sidebar{top:calc(var(--site-header-height,100px) + 20px)}

/* Visible session-only storage reminder within the preparation flow. */
.ds-storage-notice{display:flex;align-items:center;gap:20px;margin:22px 0;padding:18px 20px;border:1px solid #dab975;border-radius:16px;background:#fff6df;color:#45371f}
.ds-storage-notice div{flex:1;min-width:0}.ds-storage-notice strong{font-size:1rem}.ds-storage-notice p{margin:5px 0 0;font-size:.93rem;line-height:1.5}.ds-storage-notice button{flex-shrink:0;white-space:normal}.ds-page .ds-storage-notice{align-items:flex-start;flex-direction:column;gap:12px}
@media(max-width:640px){.ds-storage-notice{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.ds-storage-notice button{max-width:100%}}

/* The working pages share the warm paper, clay illustrations and clear rhythm of the homepage. */
body:has(.ds-page){background:#f8f5ef}
.ds-page{max-width:1390px;padding-top:30px;padding-bottom:75px;--line:#e7ded1;--muted:#766d62}
.ds-page .guide-topline{margin-bottom:26px;padding-bottom:22px;border-color:#e1d7c9;font-size:15px}
.ds-page .guide-topline a{color:#655c53}
.ds-page .guide-topline a:hover{color:var(--pink)}
.ds-page .guide-layout{grid-template-columns:248px minmax(0,1fr);gap:34px}
.ds-page .guide-sidebar{padding:24px 16px 18px;border:1px solid #e2d8c9;border-radius:22px;background:#fffdf8;box-shadow:0 8px 26px #6b4e2410}
.ds-page .guide-sidebar>p{padding:0 10px;font-size:12px;letter-spacing:.12em;color:#766d62}
.ds-page .guide-step-link{gap:10px;padding:13px 10px;border-radius:13px}
.ds-page .guide-step-link>b{font-size:15px;line-height:1.4}
.ds-page .guide-step-link>span{width:29px;height:29px;border-color:#dfd3c2;background:#faf5eb;font-size:14px;color:#83735f}
.ds-page .guide-step-link>small{font-size:12px;color:#8a7b68}
.ds-page .guide-step-link.active{background:#fff0ed;color:#a10026}
.ds-page .guide-step-link.active>span{border-color:var(--pink);background:var(--pink);color:#fff}
.ds-page .guide-step-link.active>small{color:#aa334b}
.ds-page .guide-result-link{font-size:14px;border-color:#e7ded1;padding:15px 10px 0;margin-top:14px}
.ds-page .guide-content{background:#fff;border:1px solid #e5dccf;border-radius:26px;padding:34px 36px 26px;box-shadow:0 12px 40px #70532a0b}
.ds-task-heading{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:22px;align-items:center;padding-bottom:26px;border-bottom:1px solid #ece3d8}
.ds-heading-art{display:block;width:96px;height:108px;object-fit:contain;filter:drop-shadow(0 7px 5px #71512e0c)}
.ds-page .guide-heading .eyebrow{font-size:12px;letter-spacing:.06em;line-height:1.6;margin-bottom:16px}
.ds-page .guide-heading h1{font-size:clamp(36px,3.5vw,52px);line-height:1.08;margin-bottom:17px;hyphens:auto}
.ds-task-heading p:not(.eyebrow){font-size:17px;line-height:1.65;color:#766d62;max-width:580px}
.ds-task-heading .ds-heading-hint{grid-column:1/-1;margin-top:-9px}
.ds-page .ds-storage-notice{flex-direction:row;align-items:center;gap:18px;padding:17px 19px;margin:22px 0;border-color:#e6cf9f;background:#fff8e9;border-radius:15px}
.ds-page .ds-storage-notice strong{font-size:15px;color:#65502d}
.ds-page .ds-storage-notice p{font-size:14px;color:#776442;line-height:1.6}
.ds-page .ds-storage-notice button{max-width:190px;padding:12px 15px;font-size:14px;border-color:#dbc594;background:#fffdf7;box-shadow:0 2px 0 #e8d9bc}
.ds-page :is(.ds-task-index,.ds-source,.ds-record,.guide-background){border-color:#e5dccf;border-radius:16px;background:#fcf9f3;box-shadow:none}
.ds-page :is(.ds-task-index,.ds-source,.guide-background)>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;padding:19px 21px;font-size:16px;line-height:1.5}
.ds-page summary::-webkit-details-marker{display:none}
.ds-page :is(.ds-task-index,.ds-source,.guide-background)>summary::after{content:'+';color:var(--pink);font-size:26px;font-weight:400;line-height:1;flex-shrink:0}
.ds-page :is(.ds-task-index,.ds-source,.guide-background)[open]>summary::after{content:'−'}
.ds-page .guide-background{padding:0;overflow:hidden}
.ds-page .guide-background>a,.ds-page .guide-background>.ds-legacy{margin:0 21px 18px}
.ds-page .ds-task-index ol{margin:0;padding:0 23px 15px 43px}
.ds-page .ds-task-index li{padding:11px 0;color:#83735f}
.ds-page .ds-task-index a{font-size:15px;color:#51483f}
.ds-page .ds-task-index a:hover{color:var(--pink)}
.ds-page .ds-task-index a span{font-size:12px}
.ds-task-body{margin:30px 0}
.ds-form-fields{padding:0;border:0;margin:0;min-width:0}
.ds-form-fields legend,.ds-repeat>h2{font-family:Barlow,Arial,sans-serif;font-size:29px;font-weight:700;line-height:1.2;color:#35312e;margin-bottom:7px}
.ds-field-hint{font-size:14px;color:#8a7b68;margin-bottom:25px}
.ds-field-grid,.ds-page .ds-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px}
.ds-field-grid .guide-field,.ds-page .ds-record-fields .guide-field{margin:0;min-width:0;gap:9px}
.ds-field-grid .ds-field-wide,.ds-field-grid>.guide-field:last-child:nth-child(odd),.ds-page .ds-record-fields>.guide-field:has(textarea),.ds-page .ds-record-fields>p,.ds-page .ds-record-fields>button,.ds-page .ds-record-fields>.ds-doc-actions{grid-column:1/-1}
.ds-page .guide-field>span{font-size:16px;font-weight:600;line-height:1.5;margin:0;color:#51483f}
.ds-page :is(select,input:not([type=checkbox]),textarea){border:1px solid #d8cebf;border-radius:12px;background:#fffefb;padding:14px 15px;box-shadow:0 2px 0 #f2ede5;transition:border-color .15s,box-shadow .15s,background .15s;font-size:17px;line-height:1.5;color:#35312e;min-height:54px}
.ds-page input[type=date],.ds-page input[type=month]{max-width:100%;min-height:55px}
.ds-page textarea{min-height:132px;resize:vertical}
.ds-page :is(input,textarea)::placeholder{color:#9a8e80;font-size:16px}
.ds-page :is(select,input:not([type=checkbox]),textarea):hover{border-color:#bba78e}
.ds-page :is(select,input:not([type=checkbox]),textarea):focus{border-color:var(--pink);background:#fff;box-shadow:0 0 0 4px #f100320c;outline:0}
.ds-page input[type=checkbox]{min-height:22px;margin-top:3px;cursor:pointer}
.ds-page .ds-record>summary{padding:20px 22px;font-size:18px;color:#51483f}
.ds-page .ds-record>summary span{font-size:13px;background:#f0e8dc;border-radius:99px;padding:4px 10px;color:#83735f}
.ds-page .ds-record[open]>summary{border-bottom:1px solid #e7ded1;margin-bottom:24px}
.ds-page .ds-record-fields{margin:0;padding:0 23px 25px}
.ds-page .ds-repeat>p,.ds-page .ds-documents>p{font-size:16px;color:#766d62;margin:18px 0}
.ds-page .ds-repeat>.secondary,.ds-page .ds-documents>.secondary{margin-top:8px;border-style:dashed;border-color:#cbbb9e;background:#fcf9f3;color:#665640}
.ds-page .ds-local-note{font-size:14px;border-left:3px solid #d6b17c;background:#faf3e6;border-radius:0 12px 12px 0;padding:15px 18px;line-height:1.7}
.ds-page .ds-source>.guide-field{margin:20px}
.ds-page .ds-ref-list{margin:20px 21px;padding:18px 0;border-block:1px solid #e5dccf;font-size:15px;min-width:0}
.ds-page .ds-ref-list legend{font-size:15px}
.ds-page .ds-source>p{font-size:14px;color:#83735f}
.ds-page .ds-completion{padding:25px 26px 22px;margin-top:32px;border:1px solid #e5dccf;border-radius:18px;background:#fbf7ef}
.ds-page .ds-completion>.guide-field{margin:0 0 24px;max-width:340px}
.ds-page .ds-completion .primary{font-size:17px;padding:15px 21px}
.ds-page .ds-completion .quiet{font-size:14px;line-height:1.6;color:#83735f}
.ds-page .ds-completion>.small{font-size:13px;color:#8a7b68;margin-top:20px;line-height:1.65}
.ds-page .ds-actions{gap:18px 24px}
.ds-page .guide-actions{margin-top:26px;padding-top:23px;border-color:#e5dccf}
.ds-page .guide-actions .secondary{border-color:#d8cebf;background:#fffdf8;font-size:15px;box-shadow:none;padding:12px 16px}
.ds-page .guide-file-tools{font-size:14px;line-height:1.75;border-color:#e5dccf;padding-top:23px}
.ds-page .guide-file-tools .secondary{font-size:14px;padding:12px 15px}
.ds-page .guide-file-tools .quiet{font-size:14px;color:#766d62}
.ds-page .guide-budget-results>div{background:#f7f1e6;border:1px solid #e4d7c3;border-radius:15px}
@media(max-width:1100px) and (min-width:851px){.ds-page .guide-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}.ds-page .guide-content{padding:28px 25px}.ds-task-heading{grid-template-columns:1fr 70px;gap:15px}.ds-heading-art{width:70px;height:90px}.ds-page .ds-storage-notice{flex-direction:column;align-items:flex-start}.ds-page .ds-storage-notice button{max-width:none}.ds-field-grid,.ds-page .ds-record-fields{grid-template-columns:1fr}}
@media(max-width:850px){.ds-page .guide-layout{grid-template-columns:1fr;gap:20px}.ds-page .guide-mobile-nav{border:1px solid #e2d8c9;background:#fffdf8;border-radius:16px;padding:0}.ds-page .guide-mobile-nav>summary{padding:17px 21px;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:15px}.ds-page .guide-mobile-nav>summary:after{content:'+';color:var(--pink);font-size:23px}.ds-page .guide-mobile-nav[open]>summary:after{content:'−'}.ds-page .guide-mobile-nav ol{padding:0 12px 14px;margin-top:0}}
@media(max-width:600px){.ds-page{padding:20px 14px 45px}.ds-page .guide-topline{font-size:13px;gap:12px;line-height:1.5;margin:0 7px 20px}.ds-page .guide-content{padding:25px 21px 20px;border-radius:20px}.ds-task-heading{grid-template-columns:minmax(0,1fr) 58px;gap:12px;align-items:start;padding-bottom:22px}.ds-heading-art{width:58px;height:76px;margin-top:26px}.ds-page .guide-heading .eyebrow{font-size:10px;letter-spacing:.035em;margin-bottom:13px}.ds-page .guide-heading h1{font-size:35px;line-height:1.08;margin-bottom:16px}.ds-task-heading p:not(.eyebrow){font-size:16px;line-height:1.65;grid-column:1/-1}.ds-page .ds-storage-notice{flex-direction:column;align-items:stretch;gap:13px;padding:16px;margin:20px 0}.ds-page .ds-storage-notice button{max-width:none;align-self:flex-start}.ds-page :is(.ds-task-index,.ds-source,.guide-background)>summary{font-size:15px;padding:17px}.ds-page .ds-task-index a{display:block}.ds-field-grid,.ds-page .ds-record-fields{grid-template-columns:1fr;gap:21px}.ds-form-fields legend,.ds-repeat>h2{font-size:27px}.ds-page .guide-field>span{font-size:16px}.ds-page :is(select,input:not([type=checkbox]),textarea){font-size:16px;padding:14px 12px}.ds-page .ds-record>summary{padding:18px;font-size:17px}.ds-page .ds-record-fields{padding:0 17px 21px}.ds-page .ds-completion{padding:21px 18px}.ds-page .ds-actions{align-items:stretch;gap:17px}.ds-page .ds-completion .quiet{text-align:center}.ds-page .ds-source>.guide-field{margin:17px}.ds-page .ds-source>p,.ds-page .ds-ref-list{margin-left:17px;margin-right:17px}.ds-page .guide-actions{gap:12px}.ds-page .guide-actions .secondary{font-size:14px}.ds-page .ds-doc-actions{gap:13px}.ds-page .ds-doc-actions .secondary{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ds-page :is(select,input,textarea){transition:none}}
@media print{body:has(.ds-page){background:#fff}.ds-page .guide-content{border:0;padding:0;box-shadow:none}.ds-heading-art{display:none}.ds-field-grid,.ds-page .ds-record-fields{display:block}}
@media(max-width:600px){.ds-task-heading{display:block;position:relative}.ds-page .ds-task-heading .eyebrow{max-width:calc(100% - 65px);min-height:56px;margin-bottom:12px;display:flex;align-items:center}.ds-page .ds-task-heading h1{hyphens:none;overflow-wrap:break-word}.ds-heading-art{position:absolute;right:0;top:0;width:52px;height:60px;margin:0}.ds-task-heading .ds-heading-hint{margin-top:0}}
