.discovery-page-head { align-items: flex-start; }
.discovery-form { max-width: 1040px; margin-bottom: 24px; }
.discovery-form-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.discovery-form-title h2 { margin: 5px 0 0; color: var(--brand); font-size: 26px; }
.discovery-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discovery-question-list { display: grid; gap: 0; margin: 24px 0; }
.discovery-question { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.discovery-question-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--brand); color: #fff; font-weight: 900; }
.discovery-question label > strong { color: #183343; font-size: 15px; }
.discovery-question label > span { color: var(--muted); font-size: 13px; font-style: italic; font-weight: 500; }
.discovery-question textarea { min-height: 92px; }
.discovery-power-questions { padding: 18px; border-radius: 10px; background: #eaf4f8; }
.discovery-power-questions h3 { margin: 0 0 14px; color: var(--brand); }
.discovery-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.discovery-close-grid fieldset { margin: 0; border: 1px solid var(--line); border-radius: 9px; padding: 16px; }
.discovery-close-grid legend { color: var(--brand); font-weight: 900; padding: 0 7px; }
.discovery-snapshot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.discovery-snapshot label { display: flex; align-items: center; gap: 8px; }
.discovery-snapshot input, .discovery-rating input { width: auto; }
.discovery-rating > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.discovery-rating > div label { display: block; }
.discovery-rating > div span { display: block; padding: 10px 7px; border: 1px solid var(--line); border-radius: 7px; text-align: center; }
.discovery-rating > div input { position: absolute; opacity: 0; }
.discovery-rating > div input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.discovery-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.discovery-history { max-width: 1040px; }
.badge.sent { background: #e7f4f8; color: var(--brand); }
.badge.completed { background: #eaf7ef; color: #267a3e; }
.badge.archived { background: #eceff0; color: #56666d; }
.external-discovery-page { min-height: 100vh; padding: 28px 16px 60px; background: var(--bg); }
.external-discovery-shell { width: min(1040px, 100%); margin: 0 auto; }
.external-discovery-brand { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.external-discovery-brand img { width: 220px; max-width: 55%; }
.external-discovery-brand span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.external-discovery-intro { margin-bottom: 18px; }
.external-discovery-intro h1 { margin: 0 0 8px; color: var(--brand); }
.external-discovery-expiry { padding: 12px 14px; border-left: 4px solid var(--brand); background: #eaf4f8; color: #34535f; }
.external-discovery-submit { display: flex; justify-content: flex-end; margin-top: 20px; }
@media(max-width:760px){.discovery-contact-grid,.discovery-close-grid{grid-template-columns:1fr}.discovery-snapshot{grid-template-columns:1fr 1fr}.discovery-rating>div{grid-template-columns:1fr}.discovery-form{padding:16px}.discovery-actions{justify-content:stretch}.discovery-actions button{width:100%}}
