/* =========================================================================
   GST Fetch — v5 professional
   White canvas · IBM Plex Sans + IBM Plex Mono · soft borders · data-dense
   ========================================================================= */

:root {
    /* Canvas */
    --bg:            #F8FAFC;
    --surface:       #FFFFFF;
    --surface-2:     #F1F5F9;
    --surface-hi:    #E2E8F0;

    /* Borders */
    --border:        #E2E8F0;
    --border-strong: #CBD5E1;
    --divider:       #F1F5F9;

    /* Ink */
    --ink:           #0F172A;
    --ink-soft:      #334155;
    --ink-muted:     #64748B;
    --ink-faint:     #94A3B8;

    /* Accent: indigo → violet */
    --accent:        #4F46E5;
    --accent-2:      #7C3AED;
    --accent-ink:    #FFFFFF;
    --accent-soft-bg:    #EEF2FF;
    --accent-soft-ink:   #4338CA;
    --accent-soft-border:#C7D2FE;

    /* Status */
    --ok-bg:     #ECFDF5;
    --ok-ink:    #047857;
    --ok-border: #A7F3D0;

    --bad-bg:     #FEF2F2;
    --bad-ink:    #B91C1C;
    --bad-border: #FECACA;

    --warm-bg:     #FFFBEB;
    --warm-ink:    #92400E;
    --warm-border: #FDE68A;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 1px 3px rgba(15, 23, 42, 0.07), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 2px 8px rgba(15, 23, 42, 0.06), 0 16px 40px -12px rgba(15, 23, 42, 0.10);

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-pill: 999px;

    --gutter: clamp(20px, 4vw, 48px);

    /* Typography — IBM Plex family only */
    --f-body:    'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
    --f-display: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
    --f-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv02", "cv11";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---- Page shell --------------------------------------------------------- */
.page {
    position: relative;
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(32px, 5vw, 56px) var(--gutter) 56px;
    animation: fadeIn 0.35s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }

/* ---- Back link --------------------------------------------------------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(20px, 3vw, 28px);
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 4px 2px;
    transition: color 0.15s ease;
}
.back-link:hover { color: var(--accent); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-sm);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.12s ease, background 0.18s ease,
                border-color 0.18s ease, box-shadow 0.18s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    background-size: 180% 180%;
    background-position: 0% 50%;
    box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.32);
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
}
.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.42);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    color: var(--ink);
}
.btn-ghost .icon { font-size: 16px; line-height: 1; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--r-xs);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    color: var(--ink);
}
.icon-btn .icon { font-size: 14px; line-height: 1; }

/* ---- Index hero -------------------------------------------------------- */
.hero {
    text-align: center;
    padding: clamp(24px, 5vw, 56px) 0 clamp(16px, 3vw, 24px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border-radius: var(--r-pill);
    background: var(--accent-soft-bg);
    border: 1px solid var(--accent-soft-border);
    color: var(--accent-soft-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.eyebrow::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 6.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 auto 20px;
    max-width: 22ch;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    font-weight: 500;
    background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lede {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.4vw, 16px);
    font-weight: 400;
    max-width: 56ch;
    margin: 0 auto clamp(28px, 4vw, 40px);
}

/* ---- Form --------------------------------------------------------------- */
.search-form {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-row:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.gstin-input {
    flex: 1 1 280px;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 14px 16px;
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    min-width: 0;
}
.gstin-input::placeholder {
    color: var(--ink-faint);
    letter-spacing: 0.1em;
}

.try-it {
    margin-top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--ink-muted);
    font-size: 12px;
}
.try-it .chip {
    padding: 5px 10px;
    border-radius: var(--r-xs);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-soft);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.try-it .chip:hover {
    border-color: var(--accent);
    color: var(--accent-soft-ink);
    background: var(--accent-soft-bg);
}

/* ---- Recent lookups ---------------------------------------------------- */
.recent {
    margin-top: clamp(28px, 5vw, 40px);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}
.recent[hidden] { display: none; }
.recent-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.recent-head h2 {
    font-family: var(--f-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.recent-head .clear {
    font-size: 12px;
    color: var(--ink-muted);
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 4px 8px;
    border-radius: var(--r-xs);
    font-weight: 500;
}
.recent-head .clear:hover { color: var(--bad-ink); background: var(--bad-bg); }

.recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.recent-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 12px;
    padding: 10px 8px;
    border-radius: var(--r-xs);
    cursor: pointer;
    transition: background 0.15s ease;
    border-top: 1px solid var(--divider);
}
.recent-list li:first-child { border-top: 0; }
.recent-list li:hover { background: var(--surface-2); }
.recent-list li .item-main {
    grid-column: 1;
    min-width: 0;
}
.recent-list li .name {
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.recent-list li .gstin {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    margin-top: 2px;
}
.recent-list li .time {
    grid-column: 2;
    font-size: 11px;
    color: var(--ink-muted);
    font-family: var(--f-mono);
    white-space: nowrap;
}

.recent-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--divider);
}
.recent-pagination[hidden] { display: none; }
.recent-pagination .page-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    padding: 5px 10px;
    color: var(--ink-soft);
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.recent-pagination .page-btn:hover:not(:disabled) {
    background: var(--surface-2);
    border-color: var(--border-strong);
    color: var(--ink);
}
.recent-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.recent-pagination .page-info {
    font-size: 11px;
    color: var(--ink-muted);
    font-family: var(--f-mono);
    letter-spacing: 0.04em;
}

/* ---- Alert -------------------------------------------------------------- */
.alert {
    padding: 12px 16px;
    background: var(--bad-bg);
    border: 1px solid var(--bad-border);
    border-radius: var(--r-sm);
    color: var(--bad-ink);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert::before {
    content: "!";
    width: 18px; height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 11px;
    background: var(--bad-ink);
    color: #FEF2F2;
    flex-shrink: 0;
}

/* ---- Result hero ------------------------------------------------------- */
.result-hero {
    position: relative;
    padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px) clamp(28px, 4vw, 36px);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.result-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.hero-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.gstin-display-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.gstin-display {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    letter-spacing: 0.08em;
    color: var(--ink);
}
.gstin-display .grp { padding: 0 10px; }
.gstin-display .grp:first-child { padding-left: 0; }
.gstin-display .grp:last-child { padding-right: 0; }
.gstin-display .dot { opacity: 0.35; font-weight: 400; }

.legal-name {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 6px;
    max-width: 32ch;
    text-wrap: balance;
}
.trade-name {
    font-family: var(--f-body);
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 18px;
    font-weight: 400;
}
.trade-name::before {
    content: "Trades as ";
    color: var(--ink-faint);
    letter-spacing: 0.06em;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 6px;
}

.meta-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--ink);
    font-size: 13px;
}
.meta-breadcrumb span + span::before {
    content: "";
    display: inline-block;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--ink-faint);
    margin-right: 14px;
    vertical-align: middle;
}
.meta-breadcrumb .label {
    color: var(--ink-muted);
    letter-spacing: 0.06em;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 6px;
}
.meta-breadcrumb .value { font-weight: 500; }
.meta-breadcrumb .mono { font-family: var(--f-mono); letter-spacing: 0.04em; }

/* Status pill */
.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px 5px 9px;
    border-radius: var(--r-pill);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--ok-bg);
    color: var(--ok-ink);
    border: 1px solid var(--ok-border);
}
.status::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: currentColor;
}
.status.active::before { animation: pulse 2.5s ease-in-out infinite; }
.status.cancelled, .status.inactive, .status.suspended {
    background: var(--bad-bg); color: var(--bad-ink); border-color: var(--bad-border);
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

/* Age chip */
.age-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--warm-bg);
    color: var(--warm-ink);
    border: 1px solid var(--warm-border);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---- Stats row (replaces timeline) ------------------------------------ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.stat {
    padding: 22px clamp(20px, 2.5vw, 28px);
    border-left: 1px solid var(--divider);
}
.stat:first-child { border-left: 0; }
@media (max-width: 680px) {
    .stat { border-left: 0; border-top: 1px solid var(--divider); }
    .stat:first-child { border-top: 0; }
}
.stat .label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.stat .value {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.stat .value.muted { color: var(--ink-muted); font-weight: 400; }
.stat .value.cancelled { color: var(--bad-ink); }
.stat .sub {
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* ---- Data cards grid --------------------------------------------------- */
.data-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
@media (max-width: 860px) { .data-grid { grid-template-columns: repeat(6, 1fr); } }

.data-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: clamp(22px, 2.5vw, 28px);
    box-shadow: var(--shadow-sm);
}
.data-card.span-6  { grid-column: span 6; }
.data-card.span-12 { grid-column: span 12; }
@media (max-width: 860px) { .data-card.span-6, .data-card.span-12 { grid-column: span 6; } }

.card-title {
    font-family: var(--f-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.card-title .label { display: inline-flex; align-items: center; gap: 10px; }

/* ---- Two-column key-value list (Details card) ------------------------- */
.kv-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.kv-list > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: baseline;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--divider);
}
.kv-list > div:first-child { border-top: 0; padding-top: 0; }
.kv-list > div:last-child { padding-bottom: 0; }
.kv-list dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.kv-list dd {
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}
.kv-list dd.muted { color: var(--ink-muted); font-weight: 400; }
.kv-list dd .sub {
    display: block;
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.01em;
}
@media (max-width: 620px) {
    .kv-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Code chip */
.code-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--r-xs);
    background: var(--accent-soft-bg);
    border: 1px solid var(--accent-soft-border);
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--accent-soft-ink);
    margin-left: 6px;
    vertical-align: middle;
}

/* ---- Address ----------------------------------------------------------- */
.address-block {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.55;
    color: var(--ink);
    max-width: 60ch;
    letter-spacing: -0.005em;
}
.address-block .line { display: block; }
.address-block .landmark {
    display: block;
    font-family: var(--f-body);
    font-size: 13px;
    font-style: italic;
    color: var(--ink-muted);
    margin-top: 4px;
}
.address-block .pin {
    display: inline-block;
    margin-top: 12px;
    padding: 3px 12px;
    border-radius: var(--r-xs);
    background: var(--accent-soft-bg);
    border: 1px solid var(--accent-soft-border);
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent-soft-ink);
}
.address-empty { color: var(--ink-muted); font-style: italic; }

.premises-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--ink-muted);
}
.premises-note strong {
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 10px;
    margin-right: 6px;
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.more-places {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}
.more-places summary {
    cursor: pointer;
    font-size: 13px;
    color: var(--accent-soft-ink);
    font-weight: 500;
    letter-spacing: 0.01em;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.more-places summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent-soft-bg);
    color: var(--accent-soft-ink);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--accent-soft-border);
}
.more-places[open] summary::before { content: "−"; }
.more-places summary::-webkit-details-marker { display: none; }
.more-places .places { margin-top: 14px; display: grid; gap: 10px; }
.more-places .places pre {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--ink-soft);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    padding: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---- Tag list ---------------------------------------------------------- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}
.tag::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ---- A11y -------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 640px) {
    .gstin-display { font-size: 0.9rem; letter-spacing: 0.04em; }
    .gstin-display .grp { padding: 0 6px; }
    .btn-primary { padding: 13px 20px; }
}
