/* Match native variables and retain readable long untrusted claims on mobile. */
[hidden] { display: none !important; }
.jwt-breadcrumb { color: var(--text-secondary); font-size: .85rem; margin: 14px 0; }
.jwt-warning { background: color-mix(in srgb, var(--warning) 10%, var(--bg-secondary)); border: 1px solid var(--warning); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 14px; color: var(--text-primary); font-weight: 600; overflow-wrap: anywhere; }
#jwt-input { min-height: 110px; overflow-wrap: anywhere; word-break: break-all; }
.jwt-json-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0 12px; }
.jwt-json-panel { min-width: 0; }
.jwt-json-panel h2, .jwt-claims-title { font-size: 1.05rem; margin: 12px 0 8px; }
.jwt-json-panel pre { border: 1px solid var(--border); background: var(--bg-primary); border-radius: var(--radius-sm); min-height: 120px; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.55 Consolas,monospace; }
.jwt-json-panel .btn { margin-top: 8px; }
.jwt-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.jwt-table th, .jwt-table td { border-bottom: 1px solid var(--border); padding: 9px 7px; vertical-align: top; overflow-wrap: anywhere; text-align: left; }
.jwt-table th { color: var(--text-secondary); font-weight: 600; }
.jwt-table th:first-child { width: 10%; }
.jwt-table th:nth-child(2) { width: 17%; }
.jwt-table th:nth-child(3), .jwt-table th:nth-child(4) { width: 25%; }
.jwt-algorithm { margin-top: 18px; }
#jwt-copy-status { color: var(--success); min-height: 1.5em; }
@media (max-width: 600px) {
  .jwt-json-grid { grid-template-columns: minmax(0,1fr); }
  .jwt-table { font-size: .72rem; }
  .jwt-table th,.jwt-table td { padding: 7px 3px; }
  .btn-row { flex-wrap: wrap; }
  .jwt-breadcrumb { margin: 8px 0; }
}
