.brief-main { background: #f4f7fb; color: #172033; }
.brief-hero { padding: clamp(58px,8vw,92px) 0; border-bottom: 7px solid #1689ff; background: radial-gradient(circle at 80% 20%, rgba(22,137,255,.2), transparent 34%), #050816; color: #fff; }
.brief-hero__inner { max-width: 1040px; }
.brief-hero h1 { max-width: 850px; margin: 17px 0; color: #fff; font-size: clamp(2.5rem,6vw,4.8rem); }
.brief-hero p { max-width: 760px; color: #cbd5e5; font-size: 1.08rem; }
.brief-hero .breadcrumbs { color: #9fb0c8; }
.brief-hero .breadcrumbs a { color: #d9ecff; }
.brief-hero__steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.brief-hero__steps span { padding: 9px 13px; border: 1px solid rgba(217,236,255,.2); border-radius: 999px; background: rgba(11,23,48,.72); color: #d9ecff; font-size: .8rem; font-weight: 750; }
.brief-hero__steps b { margin-right: 6px; color: #58aaff; }
.brief-section { padding: clamp(38px,6vw,76px) 0; }
.brief-shell { display: grid; grid-template-columns: 265px minmax(0,1fr); gap: 26px; align-items: start; }
.brief-progress { position: sticky; top: calc(var(--header-height) + 20px); padding: 22px; border: 1px solid #d6e0ee; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(25,45,78,.07); }
.brief-progress__value { display: flex; justify-content: space-between; gap: 12px; color: #172033; font-size: .78rem; }
.brief-progress__value strong { color: #1689ff; }
.brief-progress__track { height: 7px; margin: 11px 0 20px; overflow: hidden; border-radius: 999px; background: #e8eef6; }
.brief-progress__track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1689ff,#55a9ff); transition: width .3s ease; }
.brief-progress ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.brief-progress li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; min-height: 42px; color: #667085; font-size: .82rem; font-weight: 700; }
.brief-progress li span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #cbd7e6; border-radius: 50%; background: #f9fbfe; color: #667085; }
.brief-progress li.is-active { color: #172033; }
.brief-progress li.is-active span, .brief-progress li.is-complete span { border-color: #1689ff; background: #1689ff; color: #fff; }
.brief-progress li.is-complete { color: #1689ff; }
.brief-private { margin-top: 22px; padding: 14px; border-left: 4px solid #1689ff; border-radius: 0 9px 9px 0; background: #edf6ff; }
.brief-private strong { color: #172033; font-size: .8rem; }
.brief-private p { margin: 4px 0 0; color: #667085; font-size: .72rem; }
.brief-form { min-width: 0; padding: clamp(20px,4vw,40px); border: 1px solid #d6e0ee; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(25,45,78,.08); }
.brief-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.brief-step[hidden] { display: none; }
.brief-module-title { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 12px; width: 100%; align-items: center; margin: 0 0 26px; padding: 14px 18px 14px 0; overflow: hidden; border-radius: 15px; background: #0b1730; color: #fff; box-shadow: 0 7px 18px rgba(11,23,48,.12); }
.brief-module-title > span { display: grid; height: 100%; min-height: 48px; place-items: center; border-left: 8px solid #1689ff; color: #59aaff; font-weight: 850; }
.brief-module-title strong { font-size: 1.12rem; }
.brief-module-title small { color: #b9d9fb; font-size: .73rem; text-align: right; }
.brief-intro { margin-bottom: 22px; padding: 17px 18px; border: 1px solid #cfe2f8; border-left: 5px solid #1689ff; border-radius: 10px; background: #edf6ff; }
.brief-intro strong { color: #172033; }
.brief-intro p { margin: 5px 0 0; color: #506078; font-size: .9rem; }
.brief-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.brief-check, .brief-confirm, .brief-consents label { display: flex; min-height: 54px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #d6e0ee; border-radius: 11px; background: #f9fbfe; color: #26344a; cursor: pointer; font-size: .84rem; }
.brief-check:has(input:checked), .brief-confirm:has(input:checked), .brief-consents label:has(input:checked) { border-color: #1689ff; background: #edf6ff; }
.brief-check input, .brief-confirm input, .brief-consents input, .brief-service input, .brief-choice-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #1689ff; }
.brief-check__number { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #0b1730; color: #fff; font-size: .73rem; font-weight: 800; }
.brief-confirm { margin-top: 18px; border-left: 5px solid #1689ff; font-weight: 750; }
.brief-question { margin-bottom: 22px; }
.brief-question > span { display: block; margin-bottom: 9px; color: #172033; font-weight: 800; }
.brief-choice-row { display: flex; flex-wrap: wrap; gap: 11px; }
.brief-choice-row label { flex: 1 1 220px; }
.brief-choice-row label, .brief-service { display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #d6e0ee; border-radius: 11px; background: #f9fbfe; color: #26344a; cursor: pointer; font-size: .84rem; font-weight: 700; }
.brief-choice-row label:has(input:checked), .brief-service:has(input:checked) { border-color: #1689ff; background: #eaf5ff; box-shadow: inset 0 0 0 1px rgba(22,137,255,.12); }
.brief-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.brief-field-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.brief-field-grid label, .brief-field-wide { display: grid; min-width: 0; gap: 7px; color: #172033; font-size: .82rem; font-weight: 750; }
.brief-field-wide { margin-top: 17px; }
.brief-field-grid .brief-field-wide { grid-column: 1/-1; margin-top: 0; }
.brief-field-grid input, .brief-field-grid select, .brief-field-grid textarea, .brief-field-wide select, .brief-field-wide input, .brief-field-wide textarea { width: 100%; border: 1px solid #b9c9dc; border-radius: 9px; background: #f9fbfe; color: #172033; font: inherit; font-weight: 500; }
.brief-field-grid input, .brief-field-grid select, .brief-field-wide select, .brief-field-wide input { min-height: 48px; padding: 0 13px; }
.brief-field-grid textarea, .brief-field-wide textarea { padding: 12px 13px; resize: vertical; }
.brief-field-grid input:focus, .brief-field-grid select:focus, .brief-field-grid textarea:focus, .brief-field-wide select:focus, .brief-field-wide input:focus, .brief-field-wide textarea:focus { outline: 3px solid rgba(22,137,255,.2); border-color: #1689ff; }
.brief-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.brief-subtitle { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin: 26px 0 16px; padding: 15px 18px; border-left: 8px solid #1689ff; border-radius: 13px; background: #0b1730; color: #fff; }
.brief-subtitle strong { font-size: 1rem; }
.brief-subtitle small { color: #b9d9fb; }
.brief-conditional[hidden] { display: none; }
.brief-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e1e8f1; }
.brief-actions--end { justify-content: flex-end; }
.brief-form__error { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #f5b6b6; border-left: 5px solid #dc2626; border-radius: 9px; background: #fff1f1; color: #9f1d1d; font-size: .85rem; }
.brief-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin: 22px 0; }
.brief-summary div { padding: 14px; border: 1px solid #d6e0ee; border-radius: 10px; background: #f9fbfe; }
.brief-summary span, .brief-summary strong { display: block; }
.brief-summary span { color: #667085; font-size: .72rem; }
.brief-summary strong { margin-top: 4px; color: #172033; font-size: .88rem; overflow-wrap: anywhere; }
.brief-consents { display: grid; gap: 9px; margin: 22px 0; }
.brief-signature { margin-top: 23px; }
.brief-signature > div { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 8px; }
.brief-signature strong { color: #172033; }
.brief-signature button { border: 0; background: transparent; color: #1689ff; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 750; }
.brief-signature canvas { display: block; width: 100%; height: 170px; border: 1px solid #b9c9dc; border-radius: 12px; background: #fff; cursor: crosshair; touch-action: none; }
.brief-signature small { display: block; margin-top: 7px; color: #667085; }
.brief-signature-name { font-family: Georgia,serif !important; font-size: 1.1rem !important; font-style: italic; }
.brief-success { margin-top: 24px; padding: 18px; border: 1px solid #9de5ba; border-left: 6px solid #22c55e; border-radius: 11px; background: #effcf4; color: #185b32; }
.brief-success p { color: #36734b; }
.brief-success .btn { margin: 7px 8px 0 0; }

@media (max-width: 1050px) {
  .brief-shell { grid-template-columns: 1fr; }
  .brief-progress { position: static; }
  .brief-progress ol { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .brief-progress li { display: flex; flex-direction: column; gap: 5px; text-align: center; font-size: .67rem; }
  .brief-private { display: none; }
}
@media (max-width: 760px) {
  .brief-field-grid, .brief-field-grid--2, .brief-checklist, .brief-summary { grid-template-columns: 1fr; }
  .brief-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brief-module-title { grid-template-columns: 48px minmax(0,1fr); }
  .brief-module-title small { display: none; }
  .brief-actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .brief-form { padding: 16px; border-radius: 12px; }
  .brief-service-grid { grid-template-columns: 1fr; }
  .brief-progress { padding: 15px; }
  .brief-progress li { font-size: 0; }
  .brief-progress li span { font-size: .75rem; }
  .brief-actions { flex-direction: column-reverse; }
  .brief-actions .btn { width: 100%; }
  .brief-signature canvas { height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  .brief-progress__track span { transition: none; }
}
@media print {
  .site-header, .mobile-menu, .site-footer, .brief-progress, .brief-actions, .brief-success { display: none !important; }
  .brief-main, .brief-section { background: #fff; }
  .brief-shell { display: block; }
  .brief-form { border: 0; box-shadow: none; }
}
