/* =====================================================
   AUDIOBOOK SPEED CALCULATOR — style.css v1.0.0
   Design: Warm Dark / Amber — "Late Night Listening"
   ===================================================== */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Variables ── */
.absc-wrap {
    --ab-bg:          #0c0a09;
    --ab-surface:     #1c1917;
    --ab-card:        #231f1d;
    --ab-border:      rgba(255,255,255,0.07);
    --ab-border-hi:   rgba(245,158,11,0.35);
    --ab-amber:       #f59e0b;
    --ab-amber-dark:  #b45309;
    --ab-amber-glow:  rgba(245,158,11,0.15);
    --ab-amber-soft:  rgba(245,158,11,0.08);
    --ab-green:       #4ade80;
    --ab-green-soft:  rgba(74,222,128,0.12);
    --ab-red:         #f87171;
    --ab-red-soft:    rgba(248,113,113,0.12);
    --ab-text:        #fafaf9;
    --ab-muted:       #a8a29e;
    --ab-faint:       #57534e;
    --ab-radius:      14px;
    --ab-radius-sm:   8px;
    --ab-radius-pill: 999px;
    --ab-font:        'Inter', system-ui, sans-serif;
    --ab-mono:        'JetBrains Mono', monospace;
    --ab-trans:       0.18s ease;
    --ab-shadow:      0 0 0 1px rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.5);
    --ab-shadow-glow: 0 0 0 1px rgba(245,158,11,0.2), 0 8px 40px rgba(245,158,11,0.08);
}

/* ── Reset ── */
.absc-wrap *, .absc-wrap *::before, .absc-wrap *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}

/* ── Wrapper ── */
.absc-wrap {
    font-family: var(--ab-font);
    background: var(--ab-bg);
    color: var(--ab-text);
    border-radius: var(--ab-radius);
    border: 1px solid var(--ab-border);
    box-shadow: var(--ab-shadow);
    overflow: hidden;
    max-width: 940px;
    margin: 0 auto 40px;
    font-size: 14px;
    line-height: 1.5;
}

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.absc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1a1208 0%, #0c0a09 60%);
    border-bottom: 1px solid var(--ab-border);
    gap: 12px;
    flex-wrap: wrap;
}

.absc-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.absc-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.absc-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ab-text);
    line-height: 1.2;
}

.absc-subtitle {
    font-size: 0.78rem;
    color: var(--ab-muted);
    margin-top: 2px;
}

.absc-speed-badge {
    font-family: var(--ab-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ab-amber);
    background: var(--ab-amber-soft);
    border: 1px solid var(--ab-border-hi);
    padding: 6px 18px;
    border-radius: var(--ab-radius-pill);
    letter-spacing: 0.02em;
    transition: all var(--ab-trans);
}

/* ════════════════════════════════
   BODY LAYOUT
════════════════════════════════ */
.absc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--ab-border);
}

.absc-inputs-col {
    padding: 24px;
    border-right: 1px solid var(--ab-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.absc-results-col {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Cards ── */
.absc-card {
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    padding: 18px;
}

.absc-card-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ab-muted);
    margin-bottom: 16px;
}

.absc-card-label svg { color: var(--ab-amber); }

/* ── Duration stepper ── */
.absc-duration-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.absc-dur-sep {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ab-faint);
    padding-bottom: 4px;
}

.absc-dur-unit { flex: 1; }

.absc-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.absc-step-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--ab-radius-sm);
    border: 1px solid var(--ab-border);
    background: var(--ab-card);
    color: var(--ab-muted);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ab-trans);
    flex-shrink: 0;
}

.absc-step-btn:hover {
    background: var(--ab-amber);
    color: #0c0a09;
    border-color: var(--ab-amber);
}

.absc-step-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.absc-step-input {
    width: 100%;
    padding: 7px 6px;
    background: var(--ab-card);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-text);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--ab-mono);
    text-align: center;
    outline: none;
    transition: border-color var(--ab-trans);
    -moz-appearance: textfield;
}

.absc-step-input::-webkit-outer-spin-button,
.absc-step-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.absc-step-input:focus {
    border-color: var(--ab-amber);
    box-shadow: 0 0 0 3px var(--ab-amber-glow);
}

.absc-step-unit {
    font-size: 0.68rem;
    color: var(--ab-faint);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.06em;
}

/* ── Popular lengths ── */
.absc-popular-lengths {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.absc-pop-label {
    font-size: 0.7rem;
    color: var(--ab-faint);
    font-weight: 600;
    white-space: nowrap;
}

.absc-pop-btn {
    padding: 4px 9px;
    border-radius: var(--ab-radius-pill);
    border: 1px solid var(--ab-border);
    background: var(--ab-card);
    color: var(--ab-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ab-font);
    transition: all var(--ab-trans);
    white-space: nowrap;
}

.absc-pop-btn:hover {
    border-color: var(--ab-amber);
    color: var(--ab-amber);
    background: var(--ab-amber-soft);
}

/* ── Speed grid ── */
.absc-speed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 16px;
}

.absc-speed-pill {
    padding: 9px 6px;
    border-radius: var(--ab-radius-sm);
    border: 1px solid var(--ab-border);
    background: var(--ab-card);
    color: var(--ab-muted);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--ab-mono);
    cursor: pointer;
    transition: all var(--ab-trans);
    text-align: center;
}

.absc-speed-pill:hover {
    border-color: rgba(245,158,11,0.4);
    color: var(--ab-amber);
    background: var(--ab-amber-soft);
}

.absc-speed-pill.active {
    background: var(--ab-amber);
    color: #0c0a09;
    border-color: var(--ab-amber);
    box-shadow: 0 0 16px rgba(245,158,11,0.3);
}

/* ── Custom speed ── */
.absc-custom-speed-row {
    margin-bottom: 14px;
}

.absc-custom-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ab-faint);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}

.absc-custom-speed-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Range slider */
.absc-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 99px;
    background: var(--ab-border);
    outline: none;
    cursor: pointer;
}

.absc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ab-amber);
    cursor: pointer;
    box-shadow: 0 0 0 3px var(--ab-amber-glow);
    transition: box-shadow var(--ab-trans);
}

.absc-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px var(--ab-amber-glow);
}

.absc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ab-amber);
    cursor: pointer;
    border: none;
}

.absc-custom-val-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--ab-card);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    padding: 4px 10px;
}

.absc-speed-num-input {
    width: 46px;
    background: none;
    border: none;
    color: var(--ab-amber);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--ab-mono);
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.absc-speed-num-input::-webkit-outer-spin-button,
.absc-speed-num-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.absc-x-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ab-muted);
}

/* ── Speed viz bar ── */
.absc-speed-viz {
    margin-top: 4px;
}

.absc-viz-bar-track {
    height: 6px;
    background: var(--ab-card);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
}

.absc-viz-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--ab-amber-dark), var(--ab-amber));
    border-radius: 99px;
    transition: width 0.3s ease;
    width: 28.6%; /* 1.0x out of 4.0 max = 25% but offset from min 0.5 */
}

.absc-viz-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ab-amber);
    box-shadow: 0 0 8px rgba(245,158,11,0.6);
    transition: left 0.3s ease;
}

.absc-viz-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.66rem;
    color: var(--ab-faint);
    font-weight: 600;
}

/* ════════════════════════════════
   RESULT CARD
════════════════════════════════ */
.absc-result-card {
    background: linear-gradient(145deg, #1e1508, #1a1206);
    border: 1px solid var(--ab-border-hi);
    border-radius: var(--ab-radius);
    padding: 28px 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 0 40px rgba(245,158,11,0.05);
}

.absc-result-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.absc-result-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ab-muted);
    margin-bottom: 10px;
}

.absc-result-time {
    font-size: 3.2rem;
    font-weight: 900;
    font-family: var(--ab-mono);
    color: var(--ab-amber);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    text-shadow: 0 0 40px rgba(245,158,11,0.3);
}

.absc-result-sub {
    font-size: 0.78rem;
    color: var(--ab-muted);
    margin-bottom: 16px;
}

.absc-result-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.absc-pill-saved,
.absc-pill-pct {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--ab-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.absc-pill-saved {
    background: var(--ab-green-soft);
    color: var(--ab-green);
    border-color: rgba(74,222,128,0.2);
}

.absc-pill-saved.slower {
    background: var(--ab-red-soft);
    color: var(--ab-red);
    border-color: rgba(248,113,113,0.2);
}

.absc-pill-pct {
    background: var(--ab-amber-soft);
    color: var(--ab-amber);
    border-color: var(--ab-border-hi);
}

/* ── Waveform ── */
.absc-waveform {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 28px;
}

.absc-wave-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(245,158,11,0.25);
    animation: abscWave 1.2s ease-in-out infinite;
}

.absc-wave-bar:nth-child(odd)  { animation-duration: 0.9s; }
.absc-wave-bar:nth-child(3n)   { animation-duration: 1.4s; }
.absc-wave-bar:nth-child(4n)   { animation-duration: 1.0s; }

@keyframes abscWave {
    0%, 100% { height: 4px;  opacity: 0.3; }
    50%       { height: 20px; opacity: 0.8; }
}

/* ── Stats row ── */
.absc-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.absc-stat-box {
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    padding: 13px 14px;
    text-align: center;
}

.absc-stat-val {
    font-family: var(--ab-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ab-text);
    margin-bottom: 4px;
}

.absc-stat-val.absc-accent { color: var(--ab-amber); }

.absc-stat-lbl {
    font-size: 0.68rem;
    color: var(--ab-faint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ════════════════════════════════
   TABS
════════════════════════════════ */
.absc-tabs-wrap {
    border-bottom: 1px solid var(--ab-border);
}

.absc-tabs {
    display: flex;
    border-bottom: 1px solid var(--ab-border);
    background: var(--ab-surface);
    overflow-x: auto;
    scrollbar-width: none;
}

.absc-tabs::-webkit-scrollbar { display: none; }

.absc-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 18px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ab-faint);
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--ab-font);
    transition: all var(--ab-trans);
}

.absc-tab:hover { color: var(--ab-text); }

.absc-tab.active {
    color: var(--ab-amber);
    border-bottom-color: var(--ab-amber);
    background: linear-gradient(to bottom, transparent, var(--ab-amber-soft));
}

.absc-tab-panel {
    display: none;
    padding: 22px 24px;
}

.absc-tab-panel.active { display: block; }

/* ── Comparison table ── */
.absc-table-wrap { overflow-x: auto; }

.absc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.absc-table thead th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ab-faint);
    border-bottom: 1px solid var(--ab-border);
    white-space: nowrap;
}

.absc-table tbody tr {
    border-bottom: 1px solid var(--ab-border);
    transition: background var(--ab-trans);
}

.absc-table tbody tr:last-child { border-bottom: none; }
.absc-table tbody tr:hover { background: var(--ab-surface); }
.absc-table tbody tr.absc-row-active { background: var(--ab-amber-soft) !important; }

.absc-table tbody td {
    padding: 11px 14px;
    vertical-align: middle;
}

.absc-table .absc-td-speed {
    font-family: var(--ab-mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ab-amber);
}

.absc-table .absc-td-time {
    font-family: var(--ab-mono);
    font-weight: 600;
    color: var(--ab-text);
}

.absc-table .absc-td-saved { color: var(--ab-green); font-weight: 600; }
.absc-table .absc-td-saved.slower { color: var(--ab-red); }
.absc-table .absc-td-pct { color: var(--ab-muted); font-size: 0.8rem; }

.absc-rating-stars { color: var(--ab-amber); font-size: 0.8rem; letter-spacing: -1px; }

/* ── Finish by / Daily goal ── */
.absc-finishby-grid,
.absc-daily-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

.absc-fb-group {
    margin-bottom: 16px;
}

.absc-fb-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ab-muted);
    margin-bottom: 8px;
}

.absc-fb-input {
    width: 100%;
    padding: 10px 13px;
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-text);
    font-size: 0.88rem;
    font-family: var(--ab-font);
    outline: none;
    transition: border-color var(--ab-trans);
    color-scheme: dark;
}

.absc-fb-input:focus {
    border-color: var(--ab-amber);
    box-shadow: 0 0 0 3px var(--ab-amber-glow);
}

.absc-fb-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.absc-fb-time-unit {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    padding: 8px 12px;
    flex: 1;
    transition: border-color var(--ab-trans);
}

.absc-fb-time-unit:focus-within {
    border-color: var(--ab-amber);
    box-shadow: 0 0 0 3px var(--ab-amber-glow);
}

.absc-fb-num {
    width: 44px;
    background: none;
    border: none;
    color: var(--ab-text);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--ab-mono);
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.absc-fb-num::-webkit-outer-spin-button,
.absc-fb-num::-webkit-inner-spin-button { -webkit-appearance: none; }

.absc-fb-unit {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ab-faint);
    text-transform: uppercase;
}

.absc-fb-colon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ab-faint);
}

.absc-calc-btn {
    width: 100%;
    padding: 12px;
    background: var(--ab-amber);
    color: #0c0a09;
    border: none;
    border-radius: var(--ab-radius-sm);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--ab-font);
    letter-spacing: 0.01em;
    transition: all var(--ab-trans);
}

.absc-calc-btn:hover {
    background: #fbbf24;
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
    transform: translateY(-1px);
}

/* Result boxes */
.absc-finishby-result,
.absc-daily-result {
    background: var(--ab-surface);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius-sm);
    padding: 20px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.absc-fb-placeholder {
    text-align: center;
    color: var(--ab-faint);
    font-size: 0.82rem;
    line-height: 1.6;
}

.absc-fb-placeholder p { margin-top: 10px; max-width: 220px; }

.absc-fb-result-inner {
    width: 100%;
}

.absc-fb-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--ab-border);
    font-size: 0.85rem;
}

.absc-fb-result-row:last-child { border-bottom: none; }

.absc-fb-result-label { color: var(--ab-muted); font-weight: 500; }

.absc-fb-result-val {
    font-family: var(--ab-mono);
    font-weight: 700;
    color: var(--ab-amber);
}

.absc-fb-result-val.green { color: var(--ab-green); }
.absc-fb-result-val.red   { color: var(--ab-red); }
.absc-fb-result-val.white { color: var(--ab-text); }

.absc-fb-alert {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--ab-radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    background: var(--ab-amber-soft);
    color: var(--ab-amber);
    border: 1px solid var(--ab-border-hi);
}

.absc-fb-alert.danger {
    background: var(--ab-red-soft);
    color: var(--ab-red);
    border-color: rgba(248,113,113,0.2);
}

/* ── Tips ── */
.absc-tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.absc-tip-wide { grid-column: 1 / -1; }

.absc-tip-card {
    border-radius: var(--ab-radius-sm);
    padding: 18px;
    border: 1px solid var(--ab-border);
    background: var(--ab-surface);
}

.absc-tip-beginner { border-left: 3px solid #60a5fa; }
.absc-tip-normal   { border-left: 3px solid var(--ab-green); }
.absc-tip-fast     { border-left: 3px solid var(--ab-amber); }
.absc-tip-pro      { border-left: 3px solid var(--ab-red); }
.absc-tip-science  { border-left: 3px solid #a78bfa; }

.absc-tip-icon { font-size: 1.4rem; margin-bottom: 8px; }

.absc-tip-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ab-text);
    margin-bottom: 4px;
}

.absc-tip-speed {
    display: inline-block;
    font-family: var(--ab-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ab-amber);
    background: var(--ab-amber-soft);
    padding: 2px 8px;
    border-radius: var(--ab-radius-pill);
    margin-bottom: 10px;
}

.absc-tip-desc {
    font-size: 0.8rem;
    color: var(--ab-muted);
    line-height: 1.65;
}

/* ── Footer ── */
.absc-footer {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    color: var(--ab-faint);
    flex-wrap: wrap;
}

.absc-footer-sep { color: var(--ab-border); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 700px) {
    .absc-body { grid-template-columns: 1fr; }
    .absc-inputs-col { border-right: none; border-bottom: 1px solid var(--ab-border); }
    .absc-result-time { font-size: 2.4rem; }
    .absc-stats-row { grid-template-columns: 1fr 1fr; }
    .absc-finishby-grid,
    .absc-daily-grid { grid-template-columns: 1fr; }
    .absc-tips-grid { grid-template-columns: 1fr; }
    .absc-tip-wide { grid-column: 1; }
    .absc-speed-grid { grid-template-columns: repeat(3, 1fr); }
    .absc-header { padding: 16px; }
    .absc-tab { padding: 11px 13px; font-size: 0.78rem; }
    .absc-tab svg { display: none; }
    .absc-tab-panel { padding: 16px; }
}

@media (max-width: 480px) {
    .absc-inputs-col,
    .absc-results-col { padding: 16px; }
    .absc-result-time { font-size: 2rem; }
    .absc-stats-row { grid-template-columns: 1fr 1fr; }
    .absc-duration-row { gap: 6px; }
    .absc-speed-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .absc-speed-pill { padding: 7px 4px; font-size: 0.78rem; }
    .absc-table thead th,
    .absc-table tbody td { padding: 9px 10px; }
}
