/* Digital Confidence - AI Policy Builder */
.aipb-wrap { max-width: 1200px; margin: 0 auto; }
.aipb-wrap [hidden] { display: none !important; }
.aipb-hero { padding: 8px 4px 16px; }
.aipb-hero h2 { margin-top: 0; }
.aipb-hero ul { padding-left: 20px; }
.aipb-hero li { margin-bottom: 6px; }
.aipb-privacy { background: #f4f7fb; border-left: 4px solid #5275b7; padding: 10px 14px; margin: 16px 0; }

.aipb-layout { display: flex; gap: 24px; align-items: flex-start; }
.aipb-steps { flex: 0 0 240px; position: sticky; top: 90px; }
.aipb-steps ol { list-style: none; margin: 0; padding: 0; }
.aipb-step { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 8px 10px; font: inherit; color: #333; cursor: pointer; }
.aipb-step:hover { background: #f1f1f1; }
.aipb-step:focus-visible { outline: 2px solid #5275b7; outline-offset: 1px; }
.aipb-step-num { flex: 0 0 26px; height: 26px; border-radius: 50%; border: 1px solid #bbb; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #555; background: #fff; }
.aipb-step-done .aipb-step-num { background: #e6f2e6; border-color: #7aa87a; color: #2d6a2d; }
.aipb-step-current { background: #eef2fa; font-weight: 600; }
.aipb-step-current .aipb-step-num { background: #5275b7; border-color: #5275b7; color: #fff; }

.aipb-main { flex: 1 1 auto; min-width: 0; }
.aipb-progress { height: 6px; background: #e8e8e8; border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.aipb-progress-bar { height: 100%; width: 0; background: #5275b7; transition: width .25s ease; }
.aipb-panel { outline: none; }
.aipb-panel h2 { margin: 0 0 4px; }
.aipb-eyebrow { margin: 0; color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.aipb-intro { color: #555; margin-top: 4px; }

.aipb-field { margin: 20px 0; }
.aipb-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.aipb-label { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.aipb-req { font-weight: 400; color: #a33; font-size: 13px; }
.aipb-help { margin: -2px 0 8px; color: #666; font-size: 14px; }
.aipb-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 12px; }
.aipb-choice { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; background: #fff; line-height: 1.35; }
.aipb-choice:hover { border-color: #5275b7; }
.aipb-choice input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.aipb-choice:has(input:checked) { border-color: #5275b7; background: #eef2fa; }
.aipb-choices-hinted { grid-template-columns: 1fr; }
.aipb-choice-text { display: flex; flex-direction: column; gap: 3px; }
.aipb-choices-hinted .aipb-choice-value { font-weight: 600; }
.aipb-choice-hint { font-size: 14px; color: #555; }
.aipb-tag { align-self: flex-start; font-size: 12px; line-height: 1.5; background: #e6f2e6; color: #2d6a2d; border-radius: 10px; padding: 0 8px; }
.aipb-guide { margin: 0 0 10px; }
.aipb-guide summary { cursor: pointer; color: #2f55a0; font-size: 14px; display: inline-block; }
.aipb-guide p { background: #f4f7fb; border-left: 3px solid #5275b7; padding: 8px 12px; margin: 6px 0 0; font-size: 14px; }
.aipb-other { margin-top: 8px; max-width: 520px; }
.aipb-tool { border: 1px solid #dde4f0; border-radius: 8px; padding: 8px 14px 12px; margin: 10px 0; background: #fbfcfe; min-width: 0; }
.aipb-tool-title { font-weight: 600; padding: 0 6px; }
.aipb-tool .w3-input { max-width: 420px; }
.aipb-sublabel { display: block; font-size: 14px; font-weight: 600; color: #444; margin: 8px 0 4px; }
.aipb-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.aipb-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddd; border-radius: 16px; padding: 4px 10px; font-size: 14px; cursor: pointer; background: #fff; line-height: 1.3; }
.aipb-pill:has(input:checked) { border-color: #5275b7; background: #eef2fa; }
.aipb-pill input { margin: 0; width: 15px; height: 15px; }
.aipb-field input[type=date] { max-width: 220px; }

.aipb-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.aipb-actions [hidden] { display: none !important; }
.aipb-status { flex: 1 1 auto; text-align: center; font-size: 14px; color: #666; }
.aipb-status-error { color: #a33; }
.aipb-primary { background: #5275b7 !important; color: #fff !important; }
.aipb-primary:hover { background: #3f5f9c !important; }
.aipb-primary[disabled] { opacity: .5; cursor: not-allowed; }

.aipb-summary-section { border-top: 1px solid #e5e5e5; padding: 12px 0; }
.aipb-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aipb-summary-head h3 { margin: 4px 0; font-size: 18px; }
.aipb-dl { margin: 6px 0 0; display: grid; grid-template-columns: minmax(180px, 38%) 1fr; gap: 6px 16px; }
.aipb-dl dt { color: #555; }
.aipb-dl dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.aipb-empty { color: #888; font-style: italic; margin: 4px 0; }
.aipb-warning { background: #fff6e5; border-left: 4px solid #e0a100; padding: 8px 14px; margin: 12px 0; }
.aipb-warning p { margin: 4px 0; }
.aipb-note { background: #f4f7fb; padding: 8px 12px; border-radius: 6px; }
.aipb-sent { background: #e9f5ea; border-left: 4px solid #3c8c40; padding: 12px 16px; margin-bottom: 12px; }
.aipb-sent h2 { margin: 0 0 6px; }
.aipb-link { background: none; border: 0; padding: 0; color: #2f55a0; text-decoration: underline; cursor: pointer; font: inherit; }
.aipb-send-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.aipb-admin-table { width: 100%; border-collapse: collapse; }
.aipb-admin-table th, .aipb-admin-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.aipb-table-wrap { overflow-x: auto; }

.aipb-finder { background: #f7f9fc; border: 1px solid #dde4f0; border-radius: 8px; padding: 12px 14px; }
.aipb-myschools { margin-bottom: 14px; max-width: 520px; }
.aipb-search-row { display: flex; gap: 8px; align-items: stretch; }
.aipb-search-row input { flex: 1 1 auto; min-width: 0; }
.aipb-finder-status { margin: 8px 0 0; color: #555; font-size: 14px; min-height: 1.2em; }
.aipb-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 320px; overflow-y: auto; border: 1px solid #ddd; border-radius: 6px; background: #fff; }
.aipb-results li + li { border-top: 1px solid #eee; }
.aipb-result { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 12px; cursor: pointer; font: inherit; color: inherit; }
.aipb-result:hover, .aipb-result:focus-visible { background: #eef2fa; outline: none; }
.aipb-result-name { display: block; font-weight: 600; }
.aipb-result-meta { display: block; font-size: 13px; color: #666; }

@media (max-width: 800px) {
  .aipb-layout { display: block; }
  .aipb-steps { position: static; margin-bottom: 12px; }
  .aipb-steps ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .aipb-step { white-space: nowrap; padding: 6px 8px; }
  .aipb-step span:not(.aipb-step-num) { display: none; }
  .aipb-step-current span:not(.aipb-step-num) { display: inline; }
  .aipb-dl { grid-template-columns: 1fr; }
  .aipb-dl dd { margin-bottom: 8px; }
}

@media print {
  .aipb-noprint, .w3-top, footer, #topspacer, #mobileNav { display: none !important; }
  .aipb-layout { display: block; }
  .aipb-summary-section { break-inside: avoid; }
}

/* No-sign-in Send (22 Sep 2026) */
.aipb-sendto { margin: 20px 0 8px; padding: 16px; border: 1px solid #d6dbe6; border-radius: 6px; background: #f7f9fc; }
.aipb-sendto h3 { margin-top: 0; }
.aipb-sendto label { display: inline; }
.aipb-sendto .w3-input { max-width: 420px; margin: 4px 0 12px; }
.aipb-check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.aipb-check input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; }
.aipb-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.aipb-turnstile { margin: 12px 0 4px; min-height: 0; }
.aipb-send-error { color: #a4262c; font-weight: bold; margin: 8px 0 0; }
.aipb-send-error:empty { display: none; }

/* "Before you start" - what it costs, above the questions (23 Sep 2026) */
.aipb-terms { border: 1px solid #d6dbe6; border-radius: 8px; background: #f7f9fc; padding: 2px 18px 14px; margin: 16px 0 20px; }
.aipb-terms h2 { margin: 16px 0 10px; font-size: 22px; }
.aipb-terms p { margin: 10px 0; }
.aipb-terms a { color: #2f55a0; }
.aipb-terms-price { background: #fff; border-left: 4px solid #5275b7; border-radius: 0 4px 4px 0; padding: 10px 14px; margin: 12px 0; }
.aipb-terms-price p { margin: 4px 0; }
.aipb-terms-small { font-size: 14px; color: #555; }
@media (max-width: 800px) {
  .aipb-terms { padding: 2px 12px 12px; }
  .aipb-terms h2 { font-size: 20px; }
  .aipb-terms-price { padding: 8px 12px; }
}