.dr-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:60px;padding-block:70px 60px;align-items:center}.dr-hero h1{font-size:clamp(42px,4.7vw,68px);line-height:1.08;margin-bottom:25px}.dr-lede{max-width:630px;font-size:18px}.dr-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.dr-text-link{color:var(--blue-light);font-size:13px}.dr-caption{font-size:12px;margin:18px 0 0}.dr-preview{padding:28px;background:#fff;border:1px solid #e3d8c7;border-radius:12px}.dr-label{font-size:10px;letter-spacing:.1em;color:#453d34}.dr-preview ol{list-style:none;padding:0;margin:25px 0 0}.dr-preview li{display:flex;gap:18px;border-top:1px solid var(--line);padding:21px 0}.dr-preview li:last-child{padding-bottom:0}.dr-preview li>span{font-size:12px;color:var(--blue);padding-top:3px}.dr-preview strong{font-size:16px}.dr-preview p{font-size:13px;margin:6px 0 0}.dr-workspace{border:1px solid #e3d8c7;border-radius:14px;padding:32px;background:#fff;scroll-margin-top:105px}.dr-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.dr-section-head .eyebrow{margin-bottom:12px}.dr-section-head h2{font-size:34px;margin:0}.dr-pill{border:1px solid #9fcfb0;color:#1f6b3a;border-radius:20px;padding:5px 12px;white-space:nowrap;font-size:12px}.dr-intro{max-width:900px;font-size:14px;margin:18px 0 25px}.dr-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:17px 0;border-block:1px solid var(--line)}.dr-workspace button{border:1px solid #cdbfa9;background:#f2eadd;border-radius:7px;padding:9px 13px;font-size:12px;cursor:pointer;min-height:38px}.dr-workspace button:hover{background:#e9dfcf}.dr-workspace button:disabled{opacity:.4;cursor:default}.dr-toolbar>span{margin-left:auto;color:var(--muted);font-size:11px}.dr-message{min-height:20px;font-size:13px;margin:10px 0;color:#2b2620}.dr-canvas-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:32px}.dr-editor label{display:block;margin:13px 0 7px;font-size:13px;font-weight:600}.dr-optional{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}.dr-editor input,.dr-editor textarea,.dr-editor select{background:#faf6ef;border:1px solid #cdbfa9;color:var(--text);font:inherit;font-size:13px;border-radius:6px;padding:10px;width:100%;min-width:0}.dr-editor textarea{resize:vertical}.dr-field-head{display:flex;justify-content:space-between;align-items:center;margin:27px 0 10px;gap:10px}.dr-field-head h3{font-size:18px;margin:0}.dr-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-bottom:10px}.dr-option label{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:400;margin:0 0 3px}.dr-option input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue)}.dr-help{font-size:12px;line-height:1.65;margin-bottom:15px}.dr-matrix-scroll{overflow:auto;border:1px solid #e3d8c7;border-radius:8px}.dr-editor table{border-collapse:collapse;width:100%;min-width:400px;font-size:11px}.dr-editor th,.dr-editor td{padding:9px;text-align:left;border-bottom:1px solid var(--line)}.dr-editor th:first-child,.dr-editor td:first-child{min-width:140px}.dr-editor thead{background:#f2eadd}.dr-editor td input{min-width:120px;padding:8px}.dr-editor td select{min-width:53px;padding:7px}.dr-editor td button{font-size:16px;padding:2px 7px;min-height:31px}.dr-editor tr:last-child td{border-bottom:0}.dr-details{margin-top:25px;border-top:1px solid #e3d8c7;padding-top:17px}.dr-details summary{font-weight:600;font-size:14px;cursor:pointer}.dr-details p{font-size:13px;margin-top:15px}.dr-result{background:#f2eadd;border:1px solid #e3d8c7;border-radius:10px;padding:23px;align-self:start;position:sticky;top:110px}.dr-result .eyebrow{font-size:10px;margin-bottom:12px}.dr-result h3{font-size:23px;margin-bottom:20px}.dr-result h4{font-size:14px;margin:24px 0 8px}.dr-result p,.dr-result li{font-size:13px;line-height:1.7}.dr-result li{color:#453d34;margin-bottom:7px}.dr-result ul{padding-left:20px}.dr-winner{font-size:24px!important;line-height:1.3!important;color:#1d1a16!important;margin-bottom:9px!important;overflow-wrap:anywhere}.dr-rank-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:18px 0;font-size:12px}.dr-rank-row strong{color:#2b2620}.dr-rank-row progress{width:100%;grid-column:1/-1;height:6px;accent-color:#1d1a16}.dr-formula{border-top:1px solid #e3d8c7;padding-top:17px;margin-top:22px}.dr-formula strong{font-size:12px}.dr-formula code{display:block;font-size:11px;margin:10px 0;color:#2b2620;white-space:normal}.dr-formula p{font-size:11px;margin-bottom:0}.dr-export{display:flex;justify-content:space-between;gap:25px;border-top:1px solid #e3d8c7;padding-top:25px;margin-top:30px;align-items:center}.dr-export h3{font-size:19px;margin-bottom:8px}.dr-export p{font-size:12px;max-width:480px;margin:0}.dr-export .dr-actions{gap:8px}.dr-workspace .dr-primary{background:var(--blue);color:#faf6ef;border-color:var(--blue);font-weight:700}.dr-explain{padding-block:70px}.dr-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:36px}.dr-feature-grid span{font-size:10px;color:var(--blue-light);letter-spacing:.1em}.dr-feature-grid h3{font-size:23px;margin:14px 0}.dr-feature-grid p{font-size:14px}.dr-recorded{border:1px solid var(--line);border-radius:10px;padding:24px;margin-top:30px}.dr-recorded pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;color:#453d34}.dr-recorded h3{font-size:23px}.dr-recorded p{font-size:13px}.dr-recorded summary{cursor:pointer}.dr-recorded a{color:var(--blue-light);text-decoration:underline}.dr-workspace [hidden],.dr-recorded[hidden]{display:none!important}@media(max-width:1100px){.dr-canvas-layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:20px}.dr-export{display:block}.dr-export .dr-actions{margin-top:18px}.dr-hero{gap:30px}.dr-workspace{padding:24px}.dr-result{padding:18px}}@media(max-width:800px){.dr-hero{grid-template-columns:1fr;padding-block:42px}.dr-preview{display:none}.dr-canvas-layout{grid-template-columns:1fr}.dr-result{position:static;margin-top:15px}.dr-section-head{align-items:flex-start;flex-direction:column;gap:12px}.dr-section-head h2{font-size:28px}.dr-workspace{padding:20px}.dr-toolbar>span{width:100%;margin-left:0}.dr-feature-grid{grid-template-columns:1fr;gap:20px}.dr-feature-grid article{border-bottom:1px solid var(--line);padding-bottom:18px}.dr-explain{padding-block:45px}.dr-hero h1{font-size:43px}.dr-lede{font-size:16px}}@media(max-width:480px){.dr-workspace{width:calc(100% - 24px);padding:16px}.dr-toolbar{gap:7px}.dr-workspace button{padding:8px 10px}.dr-hero h1{font-size:38px}.dr-editor td,.dr-editor th{padding:7px}.dr-export .dr-actions{align-items:stretch}.dr-export button{flex-grow:1}}
.dr-preview strong,.dr-result p,.dr-result li,.dr-feature-grid p,.dr-intro,.dr-details p{font-size:16px}.dr-preview p,.dr-editor label,.dr-editor input,.dr-editor textarea,.dr-editor select,.dr-help,.dr-workspace button,.dr-rank-row,.dr-export p,.dr-toolbar>span,.dr-editor table{font-size:14px}.dr-caption,.dr-label,.dr-pill,.dr-optional,.dr-formula p,.dr-formula code,.dr-feature-grid span,.dr-result .eyebrow{font-size:12px}.dr-editor th:first-child,.dr-editor td:first-child{min-width:155px}.dr-editor table{min-width:440px}
.dr-editor,.dr-result,.dr-canvas-layout{min-width:0}.dr-matrix-scroll{max-width:100%}.dr-result{overflow-wrap:anywhere}
/* Public plan brief builder. All state stays in the current tab. */
.dr-tool-switch{display:flex;gap:10px;margin-bottom:16px;scroll-margin-top:105px}.dr-tool-switch button{border:1px solid #e3d8c7;border-radius:7px;background:#fff;color:#453d34;font-size:15px;font-weight:600;padding:13px 20px;min-height:48px}.dr-tool-switch button[aria-selected=true]{background:#e9dfcf;border-color:#1d1a16;color:#1d1a16}.dr-tool-switch button:hover{background:#e9dfcf}.dr-builder-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:34px;align-items:start}.dr-builder-form,.dr-builder-field,.dr-builder-check,.dr-builder-pair{min-width:0}.dr-builder-field{margin-bottom:25px}.dr-builder-field>label,.dr-builder-sources>label{display:block;font-size:16px;font-weight:600;margin:0 0 6px}.dr-builder-field>p{font-size:14px;margin-bottom:11px;line-height:1.65}.dr-builder input,.dr-builder textarea{font:inherit;font-size:16px;line-height:1.65;display:block;width:100%;min-width:0;border:1px solid #cdbfa9;border-radius:7px;padding:12px 13px;background:#fff;color:var(--text)}.dr-builder textarea{resize:vertical;min-height:90px;max-height:500px}.dr-builder textarea::placeholder,.dr-builder input::placeholder{color:#5c544a}.dr-required{font-size:11px;font-weight:500;border:1px solid #cdbfa9;border-radius:4px;color:#453d34;padding:2px 6px;margin-left:7px;vertical-align:middle}.dr-builder-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.dr-builder-sources{border:1px solid #e3d8c7;border-radius:8px;padding:0 18px 18px}.dr-builder-sources>summary{padding:16px 0 0;cursor:pointer;font-size:16px;font-weight:600}.dr-builder-sources[open]>summary{padding-bottom:14px}.dr-builder-sources>summary span{font-size:12px;color:var(--muted);font-weight:400;margin-left:8px}.dr-builder-sources .dr-help{font-size:14px}.dr-builder-sources>label{font-size:14px;margin-top:17px}.dr-builder-check{position:sticky;top:110px;border:1px solid #cdbfa9;border-top:3px solid #63c48c;border-radius:10px;padding:25px;background:#f2eadd}.dr-builder-check>.eyebrow{font-size:10px;letter-spacing:.09em;margin-bottom:13px}.dr-builder-check h3{font-size:25px;margin-bottom:12px}.dr-builder-count{font-size:15px;color:#2b2620;margin:0 0 20px}.dr-builder-checklist{list-style:none;padding:0;margin:0}.dr-builder-checklist li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #e3d8c7;font-size:14px;line-height:1.5}.dr-builder-checklist strong{font-size:12px;font-weight:500;flex-shrink:0;color:#5c544a}.dr-builder-checklist .filled strong{color:#1f6b3a}.dr-builder-checklist .empty span{color:#453d34}.dr-builder-budget{margin-top:21px;padding-top:20px;border-top:1px solid #e3d8c7}.dr-builder-budget>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px}.dr-builder-budget strong{font-size:13px;font-weight:600}.dr-builder-budget>p{font-size:12px;line-height:1.65;margin:10px 0 0}.dr-builder-budget progress{display:block;width:100%;height:6px;margin-top:13px;accent-color:#2f8f5b;border:0;border-radius:4px;background:#e9dfcf}.dr-builder-budget progress.over-budget{accent-color:#c2412d}.dr-builder-format{font-size:13px;line-height:1.65;border:1px solid #9fcfb0;padding:12px;border-radius:6px;background:#e3f3e8;color:#1f5a3a;margin-top:20px}.dr-builder-format.invalid{background:#fbe5df;border-color:#e2a493;color:#8f2a17}.dr-builder-errors{padding-left:19px;font-size:13px;line-height:1.65;color:#8f2a17;margin-bottom:0}.dr-builder-errors li{margin:9px 0}.dr-builder-boundary{font-size:12px;line-height:1.7;color:#453d34;margin:17px 0 0}.dr-import-note{font-size:12px!important;margin-top:10px!important}.dr-import-note a{color:var(--blue-light);text-decoration:underline;text-underline-offset:3px}.dr-builder .dr-export .dr-actions{align-items:stretch;flex-direction:column;min-width:210px}.dr-feedback{display:flex;justify-content:space-between;align-items:center;gap:28px;border:1px solid #e3d8c7;background:#fff;border-radius:10px;padding:26px;margin-top:30px}.dr-feedback h3{font-size:22px;margin-bottom:9px}.dr-feedback p{font-size:15px;margin:0;max-width:730px}.dr-feedback .button{flex-shrink:0}.dr-workspace[hidden]{display:none!important}.dr-hero>div,.dr-section-head>div,.dr-export>div{min-width:0}.dr-caption,.dr-text-link{line-height:1.7}.dr-explain,.dr-workspace,.dr-hero{overflow-wrap:anywhere}
@media(max-width:1100px){.dr-builder-layout{grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);gap:22px}.dr-builder-pair{grid-template-columns:1fr;gap:0}.dr-builder-check{padding:20px}.dr-builder .dr-export .dr-actions{flex-direction:row;flex-wrap:wrap}}
@media(max-width:800px){.dr-tool-switch{gap:8px;margin-bottom:12px}.dr-tool-switch button{flex:1;font-size:14px;padding:11px 12px;min-height:46px}.dr-builder-layout{grid-template-columns:1fr;gap:24px}.dr-builder-check{position:static;top:auto}.dr-builder-pair{grid-template-columns:1fr 1fr;gap:16px}.dr-builder-check>.eyebrow{font-size:10px}.dr-builder-checklist li{font-size:15px}.dr-feedback{align-items:start;flex-direction:column;gap:20px;padding:23px}.dr-feedback h3{font-size:23px}.dr-builder .dr-export .dr-actions{flex-direction:row}.dr-hero .dr-actions{align-items:start;gap:14px}.dr-text-link{font-size:13px}.dr-builder-form textarea{font-size:16px}}
@media(max-width:480px){.dr-tool-switch{width:calc(100% - 24px)}.dr-tool-switch button{font-size:13px;padding:10px 8px}.dr-builder-pair{grid-template-columns:1fr;gap:0}.dr-builder-field>label{font-size:16px}.dr-builder-field>p{font-size:13px}.dr-builder-sources{padding-inline:13px}.dr-builder-check{padding:20px 17px}.dr-builder .dr-export .dr-actions{flex-direction:column;min-width:0}.dr-builder .dr-export button{width:100%;font-size:14px}.dr-builder-checklist li{font-size:14px}.dr-caption{font-size:12px}.dr-hero .dr-actions{flex-direction:column}.dr-hero .button{width:100%}.dr-builder-budget>div{gap:7px}.dr-preview{min-width:0}}
/* ---- Warm light theme, 2026-11-27 ---- */
.dr-preview,.dr-workspace{background:var(--surface);box-shadow:var(--shadow)}
.dr-preview{border-radius:22px}
.dr-workspace{border-radius:24px}
.dr-workspace button,.dr-tool-switch button{border-radius:999px;background:var(--surface);color:var(--text)}
.dr-workspace button:hover,.dr-tool-switch button:hover{background:var(--sand)}
.dr-tool-switch button[aria-selected=true],.dr-workspace .dr-primary{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.dr-workspace .dr-primary:hover{background:var(--link);border-color:var(--link)}
.dr-pill{background:#e3f3e8}
.dr-text-link,.dr-recorded a,.dr-import-note a{color:var(--link)}
