/* extra.css — the deliberate "10 %". style.css stays byte-for-byte the original. */

/* expiry dates: past = red, within 90 days = amber */
.exp-past { color: #c00; font-weight: bold; }
.exp-soon { color: #a86500; font-weight: bold; }

/* tables scroll sideways on a phone instead of breaking the page */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap > .table { margin-bottom: 0; }
.table-wrap { margin-bottom: 20px; }

/* archive markers */
.archive-tag { font-size: 10px; opacity: .75; margin-left: 3px; letter-spacing: .04em; text-transform: uppercase; }
h1 small { font-size: 55%; }

/* audit trail line on show pages */
.last-changed { margin-top: 8px; margin-bottom: 0; }

/* native date inputs sit like the old text inputs */
input[type="date"].form-control { line-height: 1.42857; }

/* the navbar collapse without Bootstrap's JS */
@media (max-width: 767px) {
  .navbar-collapse.collapse { display: none !important; }
  .navbar-collapse.collapse.in { display: block !important; }
}

/* info tables on show pages scroll inside their panel on a phone */
.panel-body { overflow-x: auto; }

/* beta banner (DAP_PREVIEW=1) */
.preview-bar { background: #fff6e0; border-bottom: 1px solid #f0d9a0; color: #6b4f00; font-size: 13px; padding: 6px 0; }
.preview-bar a { color: #6b4f00; text-decoration: underline; }

/* the ? page: a readable column, larger type, figures with captions. Same palette as the app. */
.help { max-width: 840px; font-size: 16px; line-height: 1.6; color: #333; padding-bottom: 60px; }
.help h1 { margin-bottom: 6px; }
.help .lead-in { font-size: 19px; line-height: 1.5; color: #555; margin-bottom: 18px; }
.help .toc { margin: 0 0 22px; }
.help .toc a { display: inline-block; padding: 4px 12px; margin: 0 6px 8px 0; border: 1px solid #b9dcdb; border-radius: 16px; font-size: 14px; color: #227f7c; text-decoration: none; }
.help .toc a:hover { background: #e9f5f5; }
.help .alert { font-size: 15px; }
.help h2 { font-size: 30px; margin: 52px 0 18px; padding-bottom: 10px; border-bottom: 1px solid #ddd; }
.help h3 { font-size: 24px; color: #227f7c; margin: 44px 0 14px; }
.help h4 { font-size: 18px; font-weight: bold; margin: 32px 0 10px; }
.help p, .help li { margin-bottom: 12px; }
.help ol li, .help ul li { margin-bottom: 8px; }
.help figure { margin: 18px 0 28px; }
.help figure img { max-width: 100%; height: auto; border: 1px solid #d5dbdf; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: block; }
.help figure.bare img { border: 0; box-shadow: none; }
.help figure.small img { max-width: 620px; }
.help .steps .step { margin-bottom: 22px; }
.help .steps.js .step { display: none; margin-bottom: 0; }
.help .steps.js .step.is-on { display: block; }
.help .steps.js .step img { cursor: pointer; }
.help .steps-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.help .steps-dots button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #b9dcdb; background: #fff; color: #227f7c; font-size: 14px; margin: 0 2px; padding: 0; }
.help .steps-dots button.is-on { background: #309895; border-color: #309895; color: #fff; font-weight: bold; }
.help .steps-dots button:hover { background: #e9f5f5; }
.help .steps-dots button.is-on:hover { background: #309895; }
.help figcaption { font-size: 13.5px; color: #777; margin-top: 8px; line-height: 1.4; }
.help .compare { display: flex; gap: 24px; margin: 14px 0 20px; }
.help .compare > div { flex: 1 1 0; background: #f7f9f9; border-radius: 4px; padding: 12px 16px; }
.help .compare h5 { margin: 0 0 8px; font-size: 12px; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: #999; }
.help .compare .now h5 { color: #227f7c; }
.help .compare p { margin: 0; font-size: 15px; }
.help .stacked figure { margin: 0 0 14px; }
.help .stacked figcaption { margin-top: 4px; }
.help .phone { float: right; width: 170px; margin: 4px 0 14px 28px; }
.help .phone img { width: 100%; }
.help .clear { clear: both; }
.help .stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 22px; }
.help .stat { flex: 1 1 150px; border-top: 3px solid #309895; padding: 8px 0 0; }
.help .stat b { display: block; font-size: 26px; line-height: 1.1; font-weight: normal; color: #222; }
.help .stat span { font-size: 13px; color: #777; }
.help pre { font-size: 13px; line-height: 1.45; background: #f7f9f9; border: 1px solid #e3e8ea; border-radius: 4px; padding: 12px 14px; overflow-x: auto; }
.help pre.term { background: #1e2b2b; color: #dfe9e9; border-color: #1e2b2b; }
.help .chat { border: 1px solid #d5dbdf; border-radius: 6px; padding: 14px 16px 6px; margin: 14px 0 22px; }
.help .chat .q { display: inline-block; background: #e9f5f5; border-radius: 14px; padding: 5px 14px; margin-bottom: 10px; font-size: 15px; }
.help .chat pre { margin-bottom: 10px; }
.help .chips { margin: 10px 0 6px; }
.help .chip { display: inline-block; border: 1px solid; border-radius: 12px; padding: 2px 10px; margin: 0 4px 6px 0; font-size: 13.5px; background: #fff; }
.help .chip.ok { color: #2e7d32; border-color: #a5d6a7; background: #f1f8f1; }
.help .chip.soon { color: #a86500; border-color: #f0c58a; background: #fff7ea; }
.help .chip.past { color: #c00; border-color: #f3a3a3; background: #fdf0f0; }
.help .chip.unknown { color: #c00; border-color: #f3a3a3; background: #fff; text-decoration: line-through; }
.help .help-archive { max-width: 680px; }
@media (max-width: 640px) {
  .help { font-size: 16px; }
  .help .compare { display: block; }
  .help .compare > div { margin-bottom: 10px; }
  .help .phone { float: none; width: 100%; max-width: 240px; margin: 0 auto 16px; }
  .help h2 { font-size: 26px; } .help h3 { font-size: 22px; }
}
