:root{color:#17313a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--paper:#fffefa;--paper-warm:#faf8f2;--line:#d9ddd6;--line-strong:#bcc7c1;--ink:#17313a;--muted:#65736f;--teal:#176f68;--teal-dark:#0d534e;--teal-soft:#e4f2ee;--amber:#8b560d;--amber-soft:#fff2d7;--red:#a33a31;--red-soft:#fce9e5;--shadow:0 18px 50px #2f3d3817;background:#f4f2ec;font-family:Avenir Next,Avenir,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin-top:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:20;background:var(--ink);color:#fff;border-radius:6px;padding:9px 12px;position:fixed;top:8px;left:8px;transform:translateY(-140%)}.skip-link:focus{transform:translateY(0)}.app-shell{min-height:100dvh;padding:10px 18px 28px}.topbar{z-index:5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f4f2ecf0;border-bottom:1px solid #bcc7c1cc;justify-content:space-between;align-items:center;gap:16px;max-width:1380px;margin:0 auto;padding:8px 4px;display:flex;position:sticky;top:0}.brand-lockup,.top-actions,.reset-actions,.copy-actions,.step-footer{align-items:center;display:flex}.brand-lockup{gap:11px}.brand-mark{background:var(--ink);color:#eef8f5;border-radius:11px 4px;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:1.2rem;font-weight:700;display:grid}.eyebrow{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;margin:0 0 3px;font-size:.69rem;font-weight:750}h1{letter-spacing:-.02em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.35rem;line-height:1}.top-actions{justify-content:flex-end;gap:7px;position:relative}.readiness-pill,.preview-status{border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 11px;font-size:.78rem;font-weight:800;display:inline-flex}.readiness-pill.pending,.preview-status.blocked{background:var(--amber-soft);color:var(--amber)}.readiness-pill.ready,.preview-status.ready{background:var(--teal-soft);color:var(--teal-dark)}.text-button,.danger-button,.next-button,.copy-button,.secondary-copy{border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-weight:800;transition:border-color .16s,background .16s,color .16s,transform .16s;display:inline-flex}.text-button{border:1px solid var(--line);background:var(--paper);color:var(--ink)}.text-button:hover:not(:disabled){border-color:var(--line-strong);background:#f8faf7}.danger-button{background:var(--red-soft);color:var(--red);border:1px solid #e1a39b}.next-button,.copy-button{border:1px solid var(--teal);background:var(--teal);color:#fff}.next-button:hover:not(:disabled),.copy-button:hover:not(:disabled){border-color:var(--teal-dark);background:var(--teal-dark)}.secondary-copy{background:var(--paper);color:var(--teal-dark);border:1px solid #9abbb5}.secondary-copy:hover:not(:disabled){background:var(--teal-soft)}.reset-popover{z-index:12;background:var(--paper);min-width:220px;box-shadow:var(--shadow);color:var(--ink);border:1px solid #e1a39b;border-radius:10px 7px 12px 10px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.reset-popover strong{font-size:.86rem}.reset-actions{gap:8px}.reset-actions>*{flex:1}.step-nav{border:1px solid var(--line);background:#fffefacc;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));max-width:760px;margin:10px auto 12px;padding:4px;display:grid}.step-button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:flex}.step-button.active{background:var(--paper);color:var(--ink);box-shadow:0 3px 12px #2f3d3814}.step-check{color:var(--teal)}.step-button.active .step-check{color:var(--teal-dark)}.workspace{grid-template-columns:minmax(500px,1.08fr) minmax(380px,.82fr);align-items:start;gap:18px;max-width:1380px;margin:0 auto;display:grid}.input-column{gap:12px;display:grid}.preview-column{gap:9px;display:grid;position:sticky;top:64px}.panel,.preview-card,.validation-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow)}.panel{border-radius:12px 12px 18px;overflow:visible}.panel-title{border-bottom:1px solid var(--line);background:var(--paper-warm);border-radius:11px 11px 0 0;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:10px 13px;display:flex}.panel-title h2{letter-spacing:-.015em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.12rem;line-height:1.1}.panel-content{padding:12px 13px 15px}.section-heading{border-top:1px solid var(--line);justify-content:flex-start;align-items:center;gap:6px;margin:17px 0 9px;padding-top:12px;display:flex}.section-heading:first-child{border-top:0;margin-top:0;padding-top:0}.section-heading h3{color:var(--teal-dark);margin:0;font-size:.88rem}.field-grid{gap:10px;display:grid}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-grid{row-gap:2px}.field{gap:5px;margin-bottom:11px;display:grid}.field>span,.field-label>span,.driver-group legend{color:#3d514f;font-size:.76rem;font-weight:820}.field-label{align-items:center;gap:5px;display:flex}.field>span small{color:var(--muted);margin-left:4px;font-weight:600}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:7px;padding:9px 10px;transition:border-color .16s,box-shadow .16s}input:hover,select:hover,textarea:hover{border-color:var(--line-strong)}input:focus,select:focus,textarea:focus,button:focus-visible,summary:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #176f6838}textarea{resize:vertical;min-height:76px;line-height:1.4}textarea[rows="2"]{min-height:62px}.segmented{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;display:grid}.segmented button,.chip{border:1px solid var(--line);min-height:38px;color:var(--ink);background:#fff;border-radius:7px;padding:0 10px;font-size:.8rem;font-weight:780;transition:border-color .16s,background .16s,color .16s}.segmented button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.segmented button:hover,.chip:hover{border-color:#92b5af}.segmented button.selected,.chip.selected{background:var(--teal-soft);color:var(--teal-dark);border-color:#86b7ae}.chip-group{flex-wrap:wrap;gap:7px;margin-bottom:11px;display:flex}.chip{align-items:center;gap:5px;display:inline-flex}.toggle-row{color:#3d514f;align-items:flex-start;gap:9px;margin:9px 0;font-size:.82rem;font-weight:700;line-height:1.4;display:flex}.toggle-row input{width:17px;min-width:17px;height:17px;accent-color:var(--teal);margin:1px 0 0}.conditional-block{background:#f7fbf9;border-left:3px solid #8dbbb3;padding:12px 12px 4px}.driver-group{border:0;gap:7px;margin:15px 0;padding:0;display:grid}.driver-group legend{margin-bottom:7px}.driver-group legend>span,.driver-group legend>.help-hint{vertical-align:middle;display:inline-block}.driver-group legend>.help-hint{margin-left:5px}.driver-option{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);text-align:left;background:#fff;border-radius:8px;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:8px 11px;display:grid}.driver-option:hover{border-color:#92b5af}.driver-option.selected{background:var(--teal-soft);border-color:#86b7ae}.driver-check{border:1px solid var(--line-strong);color:#fff;border-radius:50%;place-items:center;width:21px;height:21px;display:grid}.driver-option.selected .driver-check{border-color:var(--teal);background:var(--teal)}.driver-option strong{font-size:.84rem;display:block}.source-details{border-top:1px solid var(--line);margin-top:8px;padding-top:10px}.source-details summary,.optional-details summary{cursor:pointer;color:var(--teal-dark);font-size:.78rem;font-weight:800}.optional-details{border:1px solid var(--line);background:var(--paper-warm);border-radius:8px;margin:2px 0 12px;padding:9px 10px}.details-content{padding-top:12px}.notice{border-radius:7px;margin:10px 0;padding:9px 10px;font-size:.8rem;font-weight:680;line-height:1.4}.notice.ok{background:var(--teal-soft);color:var(--teal-dark);border:1px solid #a7d3ca}.notice.warn{background:var(--amber-soft);color:#77470b;border:1px solid #e7c27c}.review-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.summary-item{border:1px solid var(--line);background:var(--paper-warm);border-radius:8px;gap:4px;padding:10px;display:grid}.summary-item span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;font-weight:760}.summary-item strong{font-size:.8rem;line-height:1.35}.audit-checklist{background:var(--teal-soft);border:1px solid #96c4bb;border-radius:9px;padding:12px}.audit-checklist .toggle-row{color:var(--teal-dark);font-weight:820}.step-footer{border:1px solid var(--line);background:#fffefac7;border-radius:9px;justify-content:space-between;min-height:52px;padding:7px}.preview-card,.validation-card{border-radius:10px 10px 15px}.preview-card{padding:13px}.preview-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.preview-header h2{margin:0;font-size:.94rem;line-height:1.25}.rationale{white-space:pre-wrap;border:1px solid var(--line);color:#203238;background:#fff;border-left:3px solid #8dbbb3;border-radius:5px;min-height:250px;max-height:48vh;padding:14px;font-family:Georgia,Times New Roman,serif;font-size:.94rem;line-height:1.58;overflow:auto}.validation-card{padding:0;overflow:hidden}.validation-card>summary{cursor:pointer;color:var(--ink);justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;font-size:.82rem;font-weight:820;list-style:none;display:flex}.validation-card>summary::-webkit-details-marker{display:none}.validation-card>summary:after{content:"+";color:var(--teal);font-size:1rem}.validation-card[open]>summary:after{content:"−"}.validation-card>summary small{color:var(--muted);margin-left:auto;font-size:.69rem;font-weight:720}.validation-body{border-top:1px solid var(--line);padding:3px 13px 11px}.quiet-copy{color:var(--muted);margin:10px 0 2px;font-size:.76rem;line-height:1.4}.issue-list{border-radius:7px;margin:9px 0;padding:9px 10px}.issue-list.block{background:var(--red-soft);color:#8d3028;border:1px solid #e4aaa3}.issue-list.warn{background:var(--amber-soft);color:#77470b;border:1px solid #e7c27c}.issue-heading{align-items:center;gap:6px;margin-bottom:6px;display:flex}.issue-heading h3{margin:0;font-size:.8rem}.issue-list ul{margin:0;padding-left:18px;font-size:.76rem;line-height:1.4}.issue-list li+li{margin-top:4px}.copy-actions{gap:8px;margin-top:11px}.copy-actions>button{flex:1}.help-hint{color:var(--muted);flex:none;display:inline-block;position:relative}.help-hint[open]{z-index:30}.help-hint>summary{cursor:pointer;border-radius:50%;place-items:center;width:30px;height:30px;margin:-6px;list-style:none;transition:background .16s,color .16s;display:grid}.help-hint>summary::-webkit-details-marker{display:none}.help-hint>summary:hover,.help-hint[open]>summary{background:var(--teal-soft);color:var(--teal-dark)}.help-popover{z-index:15;border:1px solid var(--line-strong);background:var(--paper);width:min(290px,72vw);color:var(--ink);border-radius:9px 5px 11px 9px;padding:10px 11px;font-size:.76rem;font-weight:600;line-height:1.42;position:absolute;top:calc(100% + 7px);right:-6px;box-shadow:0 16px 38px #2f3d3829}.help-list{margin:0;padding-left:17px}.help-list li+li{margin-top:7px}@media (width<=1000px){.topbar,.workspace{max-width:760px}.topbar{position:static}.workspace{grid-template-columns:1fr}.preview-column{position:static}.rationale{max-height:none}}@media (width<=640px){.app-shell{padding:10px 10px 24px}.brand-mark{width:34px;height:34px}.top-actions,.reset-actions{justify-content:flex-end}.step-nav{margin-top:12px}.step-button{gap:4px;font-size:.72rem}.step-check{display:none}.field-grid.two,.field-grid.three,.review-summary{grid-template-columns:1fr}.copy-actions{flex-direction:column;align-items:stretch}.panel-content{padding:14px 13px 17px}.validation-card>summary{align-items:flex-start}.help-popover{border-radius:12px;width:auto;max-height:48dvh;padding:14px 15px;position:fixed;inset:auto 10px 10px;overflow:auto;box-shadow:0 18px 54px #17313a3d}}
