:root{
--bg: #060a14;
--bg-raised: #0b1120;
--bg-panel: #0d1526;
--bg-card: #101c33;
--bg-card-alt: #0e1830;
--border: #1c2c47;
--border-bright: #24395c;
--text: #dce6f2;
--text-dim: #9fb0c8;
--text-mute: #8da3c892;
--text-mute-solid: #a3badc;
--green: #2bffa5;
--green-dim: rgba(0, 244, 142, 0.37);
--green-line: rgba(43,255,165,0.35);
--blue: #4d8dff;
--blue-dim: rgba(41, 141, 213, 0.405);
--amber: #ffb454;
--amber-dim: rgba(255, 181, 84, 0.576);
--red: #ff5252;
--red-dim: rgba(123, 39, 39, 0.48);
--grey: #4f5e75;
--grey-dim: rgba(60, 87, 128, 0.621);
--radius: 10px;
--mono: 'JetBrains Mono', ui-monospace, monospace;
--display: 'Space Grotesk', sans-serif;
--body-font: 'Inter', sans-serif;
}

*{ box-sizing: border-box; }

html, body{
margin:0; padding:0;
background: var(--bg);
color: var(--text);
font-family: var(--body-font);
min-height: 100vh;
}

body{
background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(43,255,165,0.07), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(77,141,255,0.08), transparent 55%),
    linear-gradient(var(--bg), var(--bg));
background-attachment: fixed;
}

::selection{ background: var(--green-dim); color: var(--green); }

::-webkit-scrollbar{ height: 8px; width: 8px; }
::-webkit-scrollbar-track{ background: transparent; }
::-webkit-scrollbar-thumb{ background: var(--border-bright); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover{ background: var(--green-line); }

a{ color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible{
outline: 2px solid var(--green);
outline-offset: 2px;
border-radius: 4px;
}

.page{
max-width: 1200px;
margin: 0 auto;
padding: 48px 24px 96px;
}

.hero{ margin-bottom: 36px; }

.hero-eyebrow{
font-family: var(--mono);
font-size: 12px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--green);
display: inline-flex;
align-items: center;
gap: 10px;
padding: 6px 12px;
border: 1px solid var(--border-bright);
border-radius: 999px;
background: var(--bg-raised);
}

.hero-eyebrow .pulse-dot{
width: 7px; height: 7px; border-radius: 50%;
background: var(--green);
box-shadow: 0 0 0 0 var(--green-line);
animation: pulse 2.2s infinite;
}

@keyframes pulse{
0%   { box-shadow: 0 0 0 0 rgba(43,255,165,0.55); }
70%  { box-shadow: 0 0 0 8px rgba(43,255,165,0); }
100% { box-shadow: 0 0 0 0 rgba(43,255,165,0); }
}

.hero h1{
font-family: var(--display);
font-weight: 700;
font-size: clamp(32px, 5vw, 52px);
letter-spacing: -0.01em;
margin: 18px 0 10px;
line-height: 1.05;
}

.hero h1 .accent{
color: var(--green);
text-shadow: 0 0 24px rgba(43,255,165,0.35);
}

.hero-sub{
color: var(--text-dim);
font-size: 15.5px;
max-width: 620px;
line-height: 1.55;
margin: 0;
}

.search-panel{
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 24px;
position: relative;
box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6);
}

.search-label{
display:block;
font-family: var(--mono);
font-size: 13px;
color: var(--green);
margin-bottom: 12px;
letter-spacing: 0.02em;
}

.search-row{
display: flex;
gap: 12px;
}

#address-input{
flex: 1;
background: var(--bg);
border: 1px solid var(--border-bright);
color: var(--text);
font-family: var(--mono);
font-size: 14.5px;
padding: 14px 18px;
border-radius: 8px;
transition: border-color .15s ease, box-shadow .15s ease;
}

#address-input::placeholder{ color: var(--text-mute-solid); }
#address-input:focus{
border-color: var(--green);
box-shadow: 0 0 0 3px var(--green-dim);
}

.btn-check{
font-family: var(--display);
font-weight: 600;
font-size: 14px;
background: var(--green);
color: #04140d;
border: none;
border-radius: 8px;
padding: 0 24px;
cursor: pointer;
transition: transform .1s ease, box-shadow .15s ease, opacity .15s ease;
white-space: nowrap;
}

.btn-check:hover:not(:disabled){ box-shadow: 0 0 0 4px var(--green-dim); }
.btn-check:active:not(:disabled){ transform: translateY(1px); }
.btn-check:disabled{ opacity: 0.35; cursor: not-allowed; }

.suggestions{
list-style: none;
margin: 0;
padding: 6px;
background: var(--bg-raised);
border: 1px solid var(--border-bright);
border-radius: 8px;
position: absolute;
left: 24px; right: 24px;
top: 100%;
margin-top: 6px;
z-index: 50;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.suggestions li{
padding: 12px 16px;
border-radius: 6px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
font-size: 14px;
}

.suggestions li:hover, .suggestions li.active{
background: var(--green-dim);
color: var(--green);
}

.suggestions .sugg-addr{
    font-family: var(--body-font);
    font-size: 16px;
    text-transform: uppercase;
}
.sugg-tags{ display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.suggestions .sugg-tag, .sugg-tag{
font-family: var(--mono);
font-size: 10.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-solid);
border: 1px solid var(--border-bright);
padding: 3px 7px;
border-radius: 999px;
flex-shrink: 0;
}

/* Provider badge colour coding, shared between suggestion tags and panel-index badges */
.badge-opticomm{ color: var(--green); border-color: var(--green-line); background: var(--green-dim); }
.badge-nbn{ color: var(--blue); border-color: rgba(84, 161, 255, 0.35); background: var(--blue-dim); }
.badge-vodafone{ color: var(--red); border-color: rgba(255,82,82,0.35); background: var(--red-dim); }
.badge-unknown{ color: var(--text-mute-solid); border-color: var(--border-bright); background: var(--grey-dim); }

.panel-header h2 .panel-index.badge-nbn,
.panel-header h2 .panel-index.badge-opticomm,
.panel-header h2 .panel-index.badge-vodafone,
.panel-header h2 .panel-index.badge-unknown{
font-weight: 700;
}

.status-pill.off-bad{
color: var(--red);
border-color: rgba(255,82,82,0.3);
background: var(--red-dim);
}

/* Auxiliary requery panels (Vodafone-only autocomplete, lot-query results) */
.extra-list{ display: flex; flex-direction: column; gap: 10px; }
.extra-row{
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 12px 16px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 8px;
flex-wrap: wrap;
}
.extra-addr{ font-family: var(--mono); font-size: 13px; color: var(--text); flex: 1; min-width: 200px; }
.extra-view-btn{ flex-shrink: 0; }

.search-hint{
margin-top: 14px;
font-size: 12.5px;
color: var(--text-mute-solid);
}

.scan-status{
margin-top: 18px;
display: flex;
align-items: center;
gap: 14px;
font-family: var(--mono);
font-size: 13px;
color: var(--green);
}

.scan-bar{
flex: 1;
height: 4px;
background: var(--border);
border-radius: 4px;
overflow: hidden;
}

.scan-fill{
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--blue), var(--green));
animation: scan-progress 900ms ease forwards;
}

@keyframes scan-progress{ to{ width: 100%; } }

.results{
margin-top: 36px;
display: flex;
flex-direction: column;
gap: 28px;
}

.results-toolbar{
display: flex;
justify-content: flex-end;
}

.btn-reset{
background: none;
border: 1px solid var(--border-bright);
color: var(--text-dim);
font-family: var(--mono);
font-size: 12.5px;
padding: 8px 16px;
border-radius: 7px;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-reset:hover{ border-color: var(--green); color: var(--green); }

.panel{
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
margin-bottom: 30px;
border-left: 4px solid var(--border);
transition: all 0.2s ease;
}

.panel.nbn {
border-left-color: var(--blue);
box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 0 20px rgba(77, 141, 255, 0.08);
}

.panel.nbn .panel-header {
border-bottom-color: rgba(77, 141, 255, 0.4);
}

.panel.opticomm {
border-left-color: var(--green);
box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 0 20px rgba(43, 255, 165, 0.08);
}

.panel.opticomm .panel-header {
border-bottom-color: rgba(43, 255, 165, 0.4);
}

.panel.vodafone {
border-left-color: var(--red);
box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 0 20px rgba(255, 82, 82, 0.08);
}

.panel.vodafone .panel-header {
border-bottom-color: rgba(255, 82, 82, 0.4);
}

.panel-header{
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 24px;
border-bottom: 1px solid var(--border);
background: linear-gradient(180deg, var(--bg-raised), transparent);
}

.panel-header.nbn{
background: linear-gradient(180deg, rgba(77, 141, 255, 0.08), transparent);
border-bottom-color: rgba(77, 141, 255, 0.25);
}

.panel-header.opticomm{
background: linear-gradient(180deg, rgba(43, 255, 165, 0.08), transparent);
border-bottom-color: rgba(43, 255, 165, 0.25);
}

.panel-header.vodafone{
background: linear-gradient(180deg, rgba(255, 82, 82, 0.08), transparent);
border-bottom-color: rgba(255, 82, 82, 0.25);
}

.panel-header h2{
font-family: var(--mono);
font-size: 15px;
letter-spacing: 0.04em;
text-transform: uppercase;
margin: 0;
display: flex;
align-items: center;
gap: 10px;
}

.panel-header.nbn .panel-index.badge-nbn{
color: white;
border-color: var(--blue);
background: var(--blue-dim);
box-shadow: 0 0 16px rgba(77, 141, 255, 0.8), 0 0 32px rgba(77, 141, 255, 0.4);
border: 2px solid var(--blue);
text-shadow: 0 0 8px rgba(77, 141, 255, 0.6);
}

.panel-header.opticomm .panel-index.badge-opticomm{
color: white;
border-color: var(--green);
background: var(--green-dim);
box-shadow: 0 0 16px rgba(43, 255, 165, 0.8), 0 0 32px rgba(43, 255, 165, 0.4);
border: 2px solid var(--green);
text-shadow: 0 0 8px rgba(43, 255, 165, 0.6);
}

.panel-header.vodafone .panel-index.badge-vodafone{
color: white;
border-color: var(--red);
background: var(--red-dim);
box-shadow: 0 0 16px rgba(255, 82, 82, 0.8), 0 0 32px rgba(255, 82, 82, 0.4);
border: 2px solid var(--red);
text-shadow: 0 0 8px rgba(255, 82, 82, 0.6);
}

.panel-header h2 .panel-index{
font-family: var(--mono);
font-size: 11px;
color: var(--text-mute-solid);
border: 1px solid var(--border-bright);
padding: 4px 10px;
border-radius: 6px;
transition: all 0.2s ease;
}

.status-pill{
font-family: var(--mono);
font-size: 11px;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 5px 12px;
border-radius: 999px;
display: inline-flex;
align-items: center;
gap: 7px;
border: 1px solid var(--border-bright);
color: var(--text-mute-solid);
}

.status-pill::before{
content: '';
width: 6px; height: 6px; border-radius: 50%;
background: currentColor;
}

.status-pill.on{
color: var(--green);
border-color: var(--green-line);
background: var(--green-dim);
}

.status-pill.off{
color: var(--text-mute-solid);
}

.panel-body{ padding: 24px; }

/* Grid Layout Architecture */
.grid-container-2col {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 20px;
}

.field-grid-2col {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0 40px;
}

.field-row{
display: grid;
grid-template-columns: 200px 1fr;
gap: 16px;
padding: 12px 0;
border-bottom: 1px solid var(--border);
align-items: start;
}

.field-row.grid-span-2 {
grid-column: span 2;
grid-template-columns: 200px 1fr;
}

.field-row:last-child{ border-bottom: none; }

.field-label{
font-family: var(--mono);
font-size: 12.5px;
color: var(--text-dim);
padding-top: 4px;
display: flex;
align-items: center;
gap: 8px;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
white-space: normal;
overflow-wrap: break-word; /* Ensures long words don't overflow */
word-break: break-word; /* Fallback for broader browser support */
}

.field-row.has-children > .field-label::before{
content: '';
width: 6px; height: 6px;
border-radius: 50%;
background: var(--blue);
box-shadow: 0 0 6px var(--blue-dim);
flex-shrink: 0;
}

.field-value{
font-family: var(--mono);
font-size: 13.5px;
color: var(--text);
word-break: break-word;
display: flex;
align-items: center;
min-height: 26px;
width: 100%;
}

.value-empty{ color: var(--text-mute-solid); font-style: italic; }

.bool-badge{
display: inline-flex;
align-items: center;
gap: 6px;
font-family: var(--mono);
font-size: 11.5px;
letter-spacing: 0.04em;
padding: 3px 10px;
border-radius: 999px;
border: 1px solid var(--border-bright);
}
.bool-badge.is-true{ color: var(--green); border-color: var(--green-line); background: var(--green-dim); }
.bool-badge.is-false{ color: var(--text-mute-solid); }
.bool-badge::before{ content:''; width:5px; height:5px; border-radius:50%; background: currentColor; }

.status-inline{
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: 999px;
border: 1px solid var(--border-bright);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.status-inline.good{ color: var(--green); border-color: var(--green-line); background: var(--green-dim); }
.status-inline.bad{ color: var(--red); border-color: var(--red); background: var(--red-dim); }
.status-inline::before{ content:''; width:5px; height:5px; border-radius:50%; background: currentColor; }

.chip-list{
display: flex;
flex-wrap: wrap;
gap: 6px;
width: 100%;
}
.chip{
background: var(--bg);
border: 1px solid var(--border-bright);
color: var(--text-dim);
font-size: 12px;
padding: 4px 10px;
border-radius: 6px;
}

/* Full-width Responsive Fallback Grid Cards */
.fallback-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
width: 100%;
}

.data-card{
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
width: 100%;
}

.data-card.depth-1{ background: var(--bg-card); }
.data-card.depth-2{ background: var(--bg-card-alt); }
.data-card.depth-3{ background: #0c1730; }

.data-card-title{
font-family: var(--display);
font-weight: 600;
font-size: 12px;
letter-spacing: 0.03em;
color: var(--blue);
padding: 10px 14px;
border-bottom: 1px solid var(--border);
background: rgba(77,141,255,0.05);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.data-card .field-grid-2col { grid-template-columns: 1fr; gap: 0; }
.data-card .field-row{ grid-template-columns: 140px 1fr; gap: 8px; padding: 8px 14px; border-bottom: 1px solid rgba(28,44,71,0.5); }
.data-card .field-row.grid-span-2 { grid-template-columns: 140px 1fr; }
.data-card .field-label{ font-size: 11.5px; }
.data-card .field-value{ font-size: 12px; }

.empty-note{
font-family: var(--mono);
font-size: 12.5px;
color: var(--text-mute-solid);
font-style: italic;
}

.truncate-link{
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
}

/* Portal Dashboard Subsections */
.portal-section {
margin-bottom: 32px;
}

.portal-section:last-child {
margin-bottom: 0;
}

.tech-section-title {
font-family: var(--display);
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--green);
margin: 0 0 16px 0;
display: flex;
align-items: center;
gap: 8px;
}

.tech-section-title::after {
content: '';
flex: 1;
height: 1px;
background: var(--border-bright);
}

/* Summary Grid Tiles */
.summary-tile-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 14px;
margin-bottom: 16px;
}

.summary-tile {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px 16px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 8px;
}

.summary-tile-label {
font-family: var(--mono);
font-size: 11px;
color: var(--text-mute-solid);
text-transform: uppercase;
letter-spacing: 0.02em;
}

.summary-tile-value {
font-family: var(--display);
font-size: 16px;
font-weight: 600;
color: var(--text);
}

/* Interactive Custom Port Components */
.port-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 14px;
}

.port-card {
background: var(--bg-raised);
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}

.port-meta {
display: flex;
flex-direction: column;
gap: 2px;
}

.port-id {
font-family: var(--mono);
font-size: 13.5px;
font-weight: 600;
}

.port-type {
font-family: var(--body-font);
font-size: 11px;
color: var(--text-mute-solid);
}

.port-status-badge {
font-family: var(--mono);
font-size: 11px;
padding: 4px 10px;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}

.port-status-badge.free {
background: var(--green-dim);
border: 1px solid var(--green-line);
color: var(--green);
}

.port-status-badge.used {
background: var(--red-dim);
border: 1px solid rgba(255,82,82,0.3);
color: var(--red);
}

.port-status-badge.locked {
background: var(--amber-dim);
border: 1px solid rgba(255,180,84,0.3);
color: var(--amber);
}

.port-status-badge.unknown {
background: var(--grey-dim);
border: 1px solid var(--grey);
color: var(--text-dim);
}

/* Provisioning Capacity Tables */
.capacity-table-wrapper {
background: var(--bg-card-alt);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
}

.capacity-table {
width: 100%;
border-collapse: collapse;
font-family: var(--mono);
font-size: 13px;
text-align: left;
}

.capacity-table th {
background: rgba(77,141,255,0.04);
border-bottom: 1px solid var(--border);
color: var(--blue);
padding: 12px 16px;
font-family: var(--display);
font-weight: 600;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.capacity-table td {
padding: 12px 16px;
border-bottom: 1px solid rgba(28,44,71,0.5);
color: var(--text);
}

.capacity-table tr:last-child td {
border-bottom: none;
}

/* Collapsible Details Panel */
.collapsible-wrapper {
background: var(--bg-card-alt);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
}

.collapsible-trigger {
width: 100%;
background: rgba(28,44,71,0.3);
border: none;
color: var(--text-dim);
padding: 14px 20px;
font-family: var(--mono);
font-size: 13px;
text-align: left;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.15s ease;
}

.collapsible-trigger:hover {
background: rgba(28,44,71,0.6);
color: var(--text);
}

.collapsible-content {
padding: 24px;
border-top: 1px solid var(--border);
background: var(--bg-panel);
}

/* Enhanced Field Rendering: 6-column grid for scalars, full-width for complex */
.enhanced-field-container {
display: flex;
flex-direction: column;
gap: 24px;
}

.simple-fields-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 14px;
margin-bottom: 12px;
}

.simple-field-tile {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 12px;
display: flex;
flex-direction: column;
gap: 6px;
transition: border-color 0.15s ease;
}

.simple-field-tile:hover {
border-color: var(--border-bright);
}

.simple-field-label {
font-family: var(--mono);
font-size: 10.5px;
color: var(--text-mute-solid);
text-transform: uppercase;
letter-spacing: 0.08em;
}

.simple-field-value {
font-family: var(--body-font);
font-size: 13px;
font-weight: 600;
color: var(--text);
word-break: break-word;
min-height: 18px;
display: flex;
align-items: center;
}

.complex-section {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
}

.complex-section-title {
font-family: var(--display);
font-weight: 600;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--blue);
padding-bottom: 8px;
border-bottom: 1px solid var(--border-bright);
}

.complex-items-container {
display: flex;
flex-direction: column;
gap: 12px;
}

.complex-item {
background: var(--bg-card-alt);
border: 1px solid rgba(28, 44, 71, 0.5);
border-radius: 4px;
padding: 12px;
}

.complex-item-title {
font-family: var(--mono);
font-size: 11px;
color: var(--text);
font-weight: 600;
margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(43, 255, 165, 0.15);
}

/* Permanent ID section */
.permanent-id-section {
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 8px;
padding: 14px 16px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}

.permanent-id-content {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}

.permanent-id-label {
font-family: var(--mono);
font-size: 10px;
color: var(--text-mute-solid);
text-transform: uppercase;
letter-spacing: 0.08em;
}

.permanent-id-value {
font-family: var(--mono);
font-size: 14px;
font-weight: 600;
color: var(--green);
word-break: break-all;
}

.copy-id-btn {
background: var(--green);
color: #04140d;
border: none;
border-radius: 4px;
padding: 6px 12px;
font-family: var(--mono);
font-size: 11px;
font-weight: 600;
cursor: pointer;
flex-shrink: 0;
transition: all 0.15s ease;
}

.copy-id-btn:hover {
transform: scale(1.05);
box-shadow: 0 0 8px rgba(43, 255, 165, 0.4);
}

.copy-id-btn:active {
transform: scale(0.98);
}

.hidden-panel{ display: none !important; }

footer.note{
margin-top: 40px;
font-size: 12px;
color: var(--text-mute-solid);
font-family: var(--mono);
text-align: center;
}

@media (max-width: 900px){
.field-grid-2col { grid-template-columns: 1fr; gap: 0; }
.field-row.grid-span-2 { grid-template-columns: 200px 1fr; }
.simple-fields-grid { grid-template-columns: repeat(4, 1fr); }
.permanent-id-section { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px){
.field-row, .field-row.grid-span-2 { grid-template-columns: 1fr; gap: 4px; }
.field-label { padding-top: 0; }
.search-row { flex-direction: column; }
.btn-check { padding: 14px; }
.simple-fields-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.simple-field-tile { padding: 10px; }
.simple-field-label { font-size: 9px; }
.simple-field-value { font-size: 12px; }
.permanent-id-section { padding: 10px 12px; }
.permanent-id-value { font-size: 12px; }
.copy-id-btn { padding: 5px 10px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce){
.hero-eyebrow .pulse-dot{ animation: none; }
.scan-fill{ animation: none; width: 100%; }
}