/* Website brief builder. Loads after property-service.css and reuses its tokens. */
select { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools-index h3 a { text-decoration: none; }
.tools-index h3 a:hover { text-decoration: underline; }
button.text-link { padding-inline: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; }
select:focus-visible, .type-option input:focus-visible + span, .suggestion-list button:focus-visible, .feature-option input:focus-visible + span { outline: 3px solid #e9c3a6; outline-offset: 3px; }

.builder-hero { padding-block: 48px 40px; }
.builder-hero h1 { max-width: none; }
.builder-hero h1 em { display: inline; }
.builder-hero-copy { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.builder-hero-copy > p:not(.hero-intro) { color: var(--muted); font-size: .95rem; max-width: 55ch; }

.builder-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 7.5vw, 112px); border-top: 1px solid var(--line); }

.builder-form { min-width: 0; }
.builder-step { margin: 0; padding: 34px 0 12px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.builder-step legend { float: left; width: 100%; margin-bottom: 24px; padding: 0; font-size: 1.4rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.builder-step legend .item-number { margin-bottom: 10px; letter-spacing: 0; }
.builder-step > *:not(legend) { clear: both; }
.builder-form label, .field-label { display: block; margin-bottom: 22px; font-size: .8rem; }
.builder-form label > span, .field-hint { color: var(--muted); }
.field-hint { margin: 0; font-size: .8rem; }
.builder-form input:not([type="radio"]):not([type="checkbox"]), .builder-form select, .builder-form textarea { display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 12px 14px; border: 1px solid #b9beb2; border-radius: 0; color: var(--ink); background: #fbfaf6; font-size: 1rem; }
.builder-form textarea { resize: vertical; }
.builder-form ::placeholder { color: #7c857d; opacity: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.type-options { display: grid; gap: 10px; margin-bottom: 26px; }
.type-option { position: relative; margin: 0 !important; cursor: pointer; }
.type-option input, .feature-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option > span { display: block; padding: 16px 18px 16px 48px; border: 1px solid #b9beb2; background: #fbfaf6; color: var(--muted); font-size: .85rem; }
.type-option > span::before { content: ""; position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: 50%; }
.type-option strong { display: block; color: var(--ink); font-size: .98rem; font-weight: 500; }
.type-option input:checked + span { border-color: var(--ink); background: #e9ebe3; }
.type-option input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #e9ebe3; }

.suggestions { margin: -10px 0 24px; font-size: .78rem; color: var(--muted); }
.suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.suggestion-list button { padding: 6px 12px; border: 1px solid #b9beb2; background: transparent; color: var(--ink); font-size: .8rem; cursor: pointer; }
.suggestion-list button:hover { border-color: var(--ink); }
.suggestion-list button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.feature-group { margin-bottom: 22px; }
.feature-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-option { position: relative; margin: 0 !important; cursor: pointer; }
.feature-option > span { display: block; height: 100%; padding: 10px 12px 10px 38px; border: 1px solid #b9beb2; background: #fbfaf6; font-size: .85rem; line-height: 1.45; }
.feature-option > span::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border: 1px solid var(--ink); }
.feature-option input:checked + span { border-color: var(--ink); background: #e9ebe3; }
.feature-option input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #e9ebe3; }

.builder-reset { margin-top: 18px; font-size: .8rem; color: var(--muted); }

.brief-panel { position: sticky; top: 24px; min-width: 0; padding-top: 34px; }
.brief-panel-inner { border: 1px solid var(--ink); background: #fbfaf6; padding: 24px; }
.brief-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brief-panel-head h2 { font: 1.8rem/1.2 var(--serif); letter-spacing: -.02em; }
.brief-progress { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.readiness-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 16px 0; padding: 0; list-style: none; font-size: .78rem; color: var(--muted); }
.readiness-list li { display: flex; gap: 8px; align-items: baseline; }
.readiness-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border: 1px solid #9aa197; border-radius: 50%; }
.readiness-list li.is-done { color: var(--ink); }
.readiness-list li.is-done::before { background: var(--accent); border-color: var(--accent); }
.brief-output { max-height: min(56vh, 560px); margin: 0; padding: 18px; overflow: auto; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: .8rem/1.65 ui-monospace, "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.brief-output:focus-visible { outline: 3px solid #e9c3a6; outline-offset: 2px; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }
.brief-action-status { min-height: 1.4em; margin-top: 10px; font-size: .8rem; color: var(--muted); }

.guide-section { background: #e9ebe3; }
.contact-copy a { color: var(--paper); }

@media (max-width: 1100px) {
  .builder-section { grid-template-columns: 1fr; }
  .brief-panel { position: static; padding-top: 12px; }
  .brief-output { max-height: 480px; }
}
@media (max-width: 860px) {
  .builder-hero-copy { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 540px) {
  .builder-hero { padding-top: 28px; padding-bottom: 28px; }
  .field-row, .feature-options, .readiness-list { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .brief-panel-inner { padding: 18px 16px; }
  .brief-actions .button { width: 100%; }
}

@media print {
  body { background: white; }
  .skip-link, .site-header, .builder-hero, .builder-form, .brief-panel-head, .readiness-list, .brief-actions, .brief-action-status, .guide-section, .questions-section, .contact-section, .site-footer { display: none !important; }
  .builder-section { display: block; width: 100%; padding: 0; border: 0; }
  .brief-panel { position: static; padding: 0; }
  .brief-panel-inner { border: 0; padding: 0; background: none; }
  .brief-output { max-height: none; overflow: visible; border: 0; padding: 0; background: none; font-size: 10.5pt; }
}
