.trouble-page { max-width: 960px; margin: 32px auto 64px; }
.trouble-hero { padding: 36px; background: #eaf4ff; border: 1px solid #d8e8f8; border-radius: 24px; margin-bottom: 28px; }
.trouble-hero h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.6; margin: 10px 0; }
.trouble-hero p { color: #52647b; max-width: 720px; margin: 8px 0 20px; }
.trouble-pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #355779; }
.trouble-pills span { background: #fff; border-radius: 30px; padding: 4px 12px; }
.trouble-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.trouble-card { background: #fff; border: 1px solid #dce5f0; padding: 26px; border-radius: 20px; display: flex; flex-direction: column; }
.trouble-card:hover { border-color: #1169bd; box-shadow: 0 8px 24px #1b43700c; }
.trouble-number { color: #1169bd; font-size: 20px; font-weight: 700; }
.trouble-card h2 { font-size: 21px; margin: 12px 0 4px; }
.trouble-card p { color: #5a6b80; font-size: 14px; margin: 0 0 22px; }
.trouble-link { color: #1169bd; font-size: 14px; font-weight: 700; margin-top: auto; }
.trouble-panel { background: #fff; border: 1px solid #dce5f0; border-radius: 20px; padding: 32px; scroll-margin-top: 24px; }
.trouble-panel h2 { margin: 10px 0 16px; font-size: 24px; line-height: 1.7; }
.trouble-panel p { line-height: 2.1; }
.trouble-step { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.trouble-muted { color: #5c6c80; font-size: 13px; }
.trouble-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trouble-fields label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.trouble-fields label span { color: #5c6c80; font-weight: 400; }
.trouble-fields input, .trouble-fields select { font: inherit; padding: 10px 12px; width: 100%; min-width: 0; border: 1px solid #bccbdb; border-radius: 10px; background: #fff; color: #16243c; }
.trouble-answers { display: grid; gap: 12px; margin-top: 26px; }
.trouble-answer { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #ccdaeb; border-radius: 12px; background: #f7faff; padding: 14px 18px; text-align: start; color: #194b7e; width: 100%; }
.trouble-answer:hover { background: #eaf4ff; border-color: #1169bd; }
.trouble-answer span { flex-shrink: 0; }
.trouble-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; padding-top: 18px; border-top: 1px solid #e7edf5; font-size: 13px; color: #135fa7; }
.trouble-actions a { padding: 6px 0; }
.trouble-history { padding: 18px 24px; margin-top: 18px; border: 1px solid #dce5f0; border-radius: 16px; background: #fff; font-size: 14px; }
.trouble-history summary { cursor: pointer; font-weight: 700; }
.trouble-history li { margin: 12px 0; }
.trouble-history li span { display: block; color: #52647b; }
.trouble-about { margin: 28px 0; padding: 0 8px; }
.trouble-about h2, .trouble-sources h2 { font-size: 19px; }
.trouble-about p, .trouble-about li { color: #52647b; }
.trouble-about li { margin: 8px 0; }
.trouble-tip { padding: 16px; background: #f0f6fc; border-radius: 12px; }
.trouble-success { border-color: #8fcbb5; background: #f5fcf8; }
.trouble-warning, .trouble-notice { border: 1px solid #e7bc7c; background: #fff9ed; }
.trouble-notice { border-radius: 12px; padding: 16px; }
.trouble-sources { border-top: 1px solid #dce5f0; padding: 16px 8px 0; font-size: 13px; }
.trouble-sources a { color: #135fa7; text-decoration: underline; text-underline-offset: 4px; }
.trouble-page :is(a, button, input, select, summary):focus-visible { outline: 3px solid #1169bd; outline-offset: 4px; }
.trouble-page bdi { overflow-wrap: anywhere; }
@media (max-width: 620px) {
    .trouble-page { margin-top: 20px; }
    .trouble-hero, .trouble-panel { padding: 24px 20px; border-radius: 18px; }
    .trouble-grid, .trouble-fields { grid-template-columns: 1fr; }
    .trouble-card { padding: 22px; }
    .trouble-panel h2 { font-size: 21px; }
    .trouble-answer { font-size: 14px; padding: 13px; }
}
