/* Website Planner typography, spacing and rules for the four guided tools. */
body[data-shared-tool-shell] { --paper:#fff8f2; --ink:#0a0a0a; --accent:#00e5cc; background:var(--paper); color:var(--ink); }
body[data-shared-tool-shell] #header-system { position:relative; z-index:20; }
body[data-shared-tool-shell] #header-host { position:relative; }
body[data-shared-tool-shell] #shell { position:static; background:var(--paper); }
body[data-shared-tool-shell] #shell .shell-top { display:none; }
body[data-shared-tool-shell] #shell .tool-nav { justify-content:center; border-bottom:1px solid var(--rule,#d5cec8); }
body[data-shared-tool-shell] main.wrap { width:min(1180px,100%); max-width:1180px; margin-inline:auto; padding:40px clamp(22px,4vw,48px) 64px; }
body[data-shared-tool-shell] main { font-family:'DM Sans',Arial,sans-serif; }
body[data-shared-tool-shell] main :is(input,textarea,select) { font-family:'DM Sans',Arial,sans-serif; border-radius:0; min-height:48px; max-width:100%; }
body[data-shared-tool-shell] main :is(textarea,select,input:not([type=radio]):not([type=checkbox])) { background:#fff; color:var(--ink); border:1px solid #918b86; }
body[data-shared-tool-shell] main textarea { padding:16px; line-height:1.6; }
body[data-shared-tool-shell] main :is(h1,.planner-title,.process-heading,.con-page-heading) { font:italic 800 clamp(38px,5vw,68px)/1.02 'Barlow Condensed',Impact,sans-serif; text-transform:uppercase; text-align:center; max-width:24ch; margin:16px auto 24px; }
body[data-shared-tool-shell] main :is(.intro,.planner-intro) { text-align:center; margin:0 auto 32px; }
body[data-shared-tool-shell] main .intro > p { max-width:65ch; margin-inline:auto; line-height:1.6; }
body[data-shared-tool-shell] main :is(.existing-guide,.desk-guide) { padding-top:12px; margin-bottom:32px; }
body[data-shared-tool-shell] main :is(.process-options,.con-choices,.board-choices,.choice-grid) { gap:16px; }
body[data-shared-tool-shell] main :is(.process-choice,.con-choice,.board-choice,.choice) { border-radius:0; box-shadow:none; padding:18px; min-height:64px; }
body[data-shared-tool-shell] main :is(.process-choice,.con-choice,.board-choice,.choice):hover { background:#fff; color:var(--ink); border-bottom-color:#8b5cf6; }
body[data-shared-tool-shell] main :is(.process-choice,.con-choice,.board-choice,.choice):has(:checked) { background:linear-gradient(90deg,#00e5cc,#4fa3ff,#8b5cf6) bottom/100% 3px no-repeat,#0a0a0a; color:#fff; }
body[data-shared-tool-shell] main :is(.process-choice,.con-choice,.board-choice,.choice):focus-within { outline:2px solid #8b5cf6; outline-offset:3px; }
body[data-shared-tool-shell] main :is(.process-example,.board-example,.desk-guide-example,.existing-guide-example) { background:transparent; border:0; border-top:2px solid transparent; border-image:var(--brand-gradient) 1; padding:24px 0; }
body[data-shared-tool-shell] main :is(.board-notice,.board-task .blocker) { background:transparent; border-left-color:var(--ink); }
body[data-shared-tool-shell] main :is(button,.button) { border-radius:0; min-height:48px; }
body[data-shared-tool-shell] main :is(button,.button,input,textarea,select):focus-visible { outline:3px solid #8b5cf6; outline-offset:3px; }
body[data-shared-tool-shell] main :is(.process-nav,.con-actions,.desk-guide-actions,.board-actions) { gap:12px; }
body[data-shared-tool-shell] main .tool-footer { display:none; }
body[data-shared-tool-shell] #site-footer { margin-top:32px; }
body[data-shared-tool-shell] main :is(h1,h2)[tabindex] { scroll-margin-top:24px; }
@media(max-width:650px) {
 body[data-shared-tool-shell] main.wrap { padding:24px 22px 48px; }
 body[data-shared-tool-shell] #shell .tool-nav { justify-content:flex-start; }
 body[data-shared-tool-shell] main :is(.process-options,.con-choices,.board-choices,.choice-grid) { grid-template-columns:1fr; }
 body[data-shared-tool-shell] main :is(.question-panel,.priority-card) { margin-inline:0; padding-inline:0; }
 body[data-shared-tool-shell] main :is(.process-nav,.con-actions,.desk-guide-actions) { flex-wrap:wrap; }
 body[data-shared-tool-shell] .homepage-whatsapp { position:static; display:flex; margin:20px 22px 24px auto; }
}

/* Shared vertical spacing: match the refined Search planner without changing the brand. */
body[data-shared-tool-shell] main :is(.reception-stack-section,.board-stack-section,.planner-stacked-section,.planner-stacked-finish) {
 margin-block:32px; padding:40px clamp(18px,3vw,36px); min-width:0;
}
body[data-shared-tool-shell] main :is(.reception-stack-section,.board-stack-section,.planner-stacked-section) > .eyebrow { margin:0 auto 12px; text-align:center; }
body[data-shared-tool-shell] main :is(.reception-stack-section,.board-stack-section,.planner-stacked-section) > h2 { margin:0 auto 16px; text-align:center; }
body[data-shared-tool-shell] main :is(.reception-stack-section,.board-stack-section,.planner-stacked-section) > :is(.guide-hint,p:not(.eyebrow)) { margin:0 auto 28px; text-align:center; max-width:65ch; line-height:1.6; }
body[data-shared-tool-shell] main :is(.reception-group,.board-field) { margin:0; }
body[data-shared-tool-shell] main :is(.desk-guide-example,.existing-guide-example) { margin:28px 0 0; padding-top:24px; }
body[data-shared-tool-shell] main .con-question { margin:28px 0 0; padding:0; min-width:0; }
body[data-shared-tool-shell] main .con-question legend { margin-bottom:12px; line-height:1.5; }
body[data-shared-tool-shell] main .con-question .con-help { margin:0 0 16px; }
body[data-shared-tool-shell] main .con-choices { margin:0; }
body[data-shared-tool-shell] main .process-options { margin:0 0 28px; }
body[data-shared-tool-shell] main :is(.process-fields,.con-inline) { gap:24px; }
body[data-shared-tool-shell] main :is(.process-choice,.con-choice,.choice,.board-choice) input:is([type=radio],[type=checkbox]) { width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0; }
body[data-shared-tool-shell] main :is(.desk-guide-actions,.board-actions,.con-actions,.process-nav) { justify-content:center; flex-wrap:wrap; }
body[data-shared-tool-shell] main .planner-stacked-finish > h2 { margin:0 auto 16px; }
body[data-shared-tool-shell] main .planner-stacked-finish > p { margin:0 auto 28px; }
body[data-shared-tool-shell] main .planner-stacked-finish > button.accent { display:block; margin:0 auto; max-width:100%; min-height:52px; white-space:normal; }
body[data-shared-tool-shell] main :is(.error,.con-status,.delivery-status):empty { display:none; }
body[data-shared-tool-shell] main .plan-delivery { text-align:center; padding-block:32px; }
body[data-shared-tool-shell] main .plan-delivery > :is(h2,p) { margin:0 auto 20px; }
body[data-shared-tool-shell] main .plan-delivery > button { margin:6px; max-width:100%; white-space:normal; }
body[data-shared-tool-shell] main .plan-delivery > button.accent { display:block; margin:24px auto 12px; }
body[data-shared-tool-shell] main .plan-delivery form { margin-inline:auto; text-align:left; }
body[data-shared-tool-shell] main .plan-delivery form > button[type=submit] { display:block; margin:24px auto 0; max-width:100%; }
@media(max-width:650px) {
 body[data-shared-tool-shell] main :is(.reception-stack-section,.board-stack-section,.planner-stacked-section,.planner-stacked-finish) { margin-block:24px; padding:28px 18px; }
 body[data-shared-tool-shell] main :is(.desk-guide-actions,.board-actions) { flex-direction:column; align-items:center; }
 body[data-shared-tool-shell] main :is(.desk-guide-actions,.board-actions) > button { width:100%;max-width:360px;flex:none; }
 body[data-shared-tool-shell] main :is(.planner-stacked-finish,.plan-delivery) > button.accent { width:100%;max-width:360px; }
}

/* These examples use the cream surface; retain readable ink text. */
body[data-shared-tool-shell] main :is(.process-example,.board-example,.desk-guide-example,.existing-guide-example),
body[data-shared-tool-shell] main :is(.process-example,.board-example,.desk-guide-example,.existing-guide-example) :is(h2,h3,p,li,span,strong) { color:var(--ink); }

/* Override the old connection-fieldset padding that doubled the label gap. */
body[data-shared-tool-shell][data-planner-layout="stacked"] #planner .con-question { margin:28px 0 0;padding:0; }
body[data-shared-tool-shell][data-planner-layout="stacked"] #planner .con-question legend { margin:0 0 12px; }
body[data-shared-tool-shell][data-planner-layout="stacked"] #planner .con-question .con-choices { margin:0; }
body[data-shared-tool-shell][data-planner-layout="stacked"] #planner .con-choices:has(> :last-child:nth-child(3)) { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:800px) {
 body[data-shared-tool-shell][data-planner-layout="stacked"] #planner .con-choices:has(> :last-child:nth-child(3)) { grid-template-columns:1fr; }
}
