.kyc-app { display: flex; flex-direction: column; gap: 20px; }

.kyc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.kyc-form-col { grid-column: span 7; display: flex; flex-direction: column; gap: 18px; }
.kyc-verdict-col { grid-column: span 5; position: sticky; top: 80px; }

.q-group { margin: 0; padding: 20px; background: var(--bg-canvas); border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.q-legend { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--ink-primary); padding: 0 4px; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.015em; }

.opt-grid { display: grid; gap: 10px; margin-top: 12px; }
.opt-grid-1 { grid-template-columns: minmax(0, 1fr); }
.opt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.opt-card { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 54px; padding: 11px 13px; background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 10px; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-card:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--bg-canvas), 0 0 0 4px var(--ink-primary); }
.opt-card:hover { border-color: var(--border-strong); background: var(--bg-canvas); }
.opt-card.is-selected { border-color: var(--ink-primary); background: var(--bg-canvas); box-shadow: 0 0 0 1px var(--ink-primary); }
.opt-card.opt-card-danger.is-selected { border-color: var(--status-block-fg); background: var(--status-block-bg); box-shadow: 0 0 0 1px var(--status-block-fg); }
.opt-title { font-size: var(--text-sm); font-weight: 600; color: var(--ink-primary); line-height: 1.35; }
.opt-sub { font-size: var(--text-xs); color: var(--ink-muted); line-height: 1.4; }
.opt-check { padding-left: 38px; }
.opt-check input { opacity: 1; position: absolute; left: 13px; top: 15px; width: 16px; height: 16px; accent-color: var(--ink-primary); }

.country-row, .meta-inputs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.verdict-card { background: var(--bg-canvas); border-radius: var(--radius-lg); box-shadow: var(--shadow-hero); padding: 20px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--accent-emerald); }
.verdict-card.verdict-pass { border-top-color: var(--accent-emerald); }
.verdict-card.verdict-fix { border-top-color: var(--dot-amber); }
.verdict-card.verdict-block { border-top-color: var(--status-block-fg); }

.verdict-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.verdict-mode-tag { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-muted); }
.verdict-title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.verdict-summary { margin: 0; font-size: var(--text-sm); color: var(--ink-secondary); line-height: 1.55; }

.hits-list { display: flex; flex-direction: column; gap: 8px; }
.hit-item { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-hairline); background: var(--bg-surface); font-size: var(--text-xs); line-height: 1.5; }
.hit-item.hit-block { background: var(--status-block-bg); border-color: var(--status-block-border); color: var(--status-block-fg); }
.hit-item.hit-fix { background: var(--status-fix-bg); border-color: var(--status-fix-border); color: var(--status-fix-fg); }
.hit-item.hit-pass { background: var(--status-pass-bg); border-color: var(--status-pass-border); color: var(--status-pass-fg); }
.hit-head { font-weight: 600; display: block; margin-bottom: 2px; font-family: var(--font-mono); }

.verdict-output-wrap { border: 1px solid var(--border-code); border-radius: 10px; overflow: hidden; background: var(--bg-code); }
.verdict-output-head { padding: 8px 12px; background: var(--bg-code-head); border-bottom: 1px solid var(--border-code); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent-emerald); }
.verdict-pre { margin: 0; padding: 12px; max-height: 210px; overflow: auto; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.5; color: var(--ink-on-dark); white-space: pre-wrap; word-break: break-word; }

.copy-hint { margin: -6px 0 0; font-size: var(--text-xs); color: var(--ink-muted); text-align: center; }

.verdict-links { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border-hairline); }
.vlink-card { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--bg-surface); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink-primary); transition: box-shadow 0.15s ease; }
.vlink-card:hover { box-shadow: var(--shadow-card-hover); color: var(--ink-primary); }
.vlink-k { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-muted); font-weight: 500; }
.vlink-t { font-size: var(--text-sm); font-weight: 600; }

.mobile-sticky-bar { display: none; }

@media (max-width: 1023px) {
  .kyc-form-col, .kyc-verdict-col { grid-column: span 12; position: static; }
}
@media (max-width: 767px) {
  .seg-tabs { width: 100%; }
  .seg-tab { flex: 1 1 100%; text-align: left; }
  .opt-grid-2, .opt-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .mobile-sticky-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; bottom: 0; left: 0; right: 0; height: 56px; padding: 0 16px;
    background: var(--bg-glass); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--border-hairline);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06); z-index: 35;
  }
  .msb-left { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
  .msb-text { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; color: var(--ink-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .msb-jump { min-height: 38px; padding: 0 14px; background: var(--ink-primary); color: var(--bg-canvas); border: none; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 600; cursor: pointer; white-space: nowrap; }
}
