/**
 * Kentucky Paycheck Calculator 2026 - Styles
 * Path: /tools/kentucky-paycheck-calculator/style.css
 * All selectors scoped to .usk-tool for Jannah safety.
 */

/* =========================================================================
 * SR-ONLY (hidden H1 page title)
 * ========================================================================= */
.usajobskit-page-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================================
 * BASE CONTAINER
 * ========================================================================= */
.usk-tool {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #0F172A;
    line-height: 1.55;
    font-size: 16px;
    box-sizing: border-box;
}
.usk-tool *,
.usk-tool *::before,
.usk-tool *::after {
    box-sizing: border-box;
}
.usk-tool a {
    color: #1D4ED8;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.usk-tool a:hover {
    color: #1E40AF;
}
.usk-tool h2,
.usk-tool h3 {
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 12px;
}
.usk-tool p {
    margin: 0 0 12px;
}
.usk-tool strong {
    color: #0F172A;
}
.usk-tool .usk-section {
    margin: 40px 0;
}
.usk-tool .usk-section-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
}
.usk-tool .usk-section-lead {
    color: #475569;
    margin: 0 0 20px;
    font-size: 15px;
}
.usk-tool .usk-small {
    font-size: 13px;
    color: #64748B;
}

/* =========================================================================
 * HERO
 * ========================================================================= */
.usk-tool .usk-hero {
    position: relative;
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 60%, #0F172A 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 36px 28px;
    margin: 8px 0 32px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.18);
}
.usk-tool .usk-hero::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.usk-tool .usk-hero::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -40px;
    width: 200px; height: 200px;
    background: rgba(16, 185, 129, 0.14);
    border-radius: 50%;
    pointer-events: none;
}
.usk-tool .usk-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}
.usk-tool .usk-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}
.usk-tool .usk-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    margin: 0 auto 18px;
    max-width: 720px;
    position: relative;
    z-index: 1;
}
.usk-tool .usk-hero-sub strong { color: #ffffff; }
.usk-tool .usk-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.usk-tool .usk-hero-pill {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================================
 * KEY FACTS
 * ========================================================================= */
.usk-tool .usk-keyfacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 0 32px;
}
.usk-tool .usk-keyfact-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.usk-tool .usk-keyfact-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.usk-tool .usk-keyfact-label {
    font-size: 12px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-bottom: 6px;
}
.usk-tool .usk-keyfact-value {
    font-size: 26px;
    font-weight: 800;
    color: #1D4ED8;
    line-height: 1.1;
    margin-bottom: 4px;
}
.usk-tool .usk-keyfact-note {
    font-size: 12px;
    color: #475569;
}

/* =========================================================================
 * AUDIENCE / WHO CAN USE
 * ========================================================================= */
.usk-tool .usk-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.usk-tool .usk-audience-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.usk-tool .usk-audience-card:hover {
    border-color: #1D4ED8;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.10);
    transform: translateY(-2px);
}
.usk-tool .usk-audience-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #1D4ED8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
}
.usk-tool .usk-audience-card h3 {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 700;
}
.usk-tool .usk-audience-card p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* =========================================================================
 * CALCULATOR FORM
 * ========================================================================= */
.usk-tool .usk-calculator {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
}
.usk-tool .usk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}
.usk-tool .usk-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.usk-tool .usk-field-wide {
    grid-column: 1 / -1;
}
.usk-tool .usk-field label {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}
.usk-tool .usk-field input[type="number"],
.usk-tool .usk-field input[type="text"],
.usk-tool .usk-field select,
.usk-tool .usk-select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    font-size: 15px !important;
    color: #0F172A !important;
    line-height: 1.4 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}
.usk-tool .usk-field select,
.usk-tool .usk-select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230F172A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    padding-right: 40px !important;
}
.usk-tool .usk-field input:focus,
.usk-tool .usk-field select:focus,
.usk-tool .usk-select:focus {
    outline: none !important;
    border-color: #1D4ED8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.16) !important;
}
.usk-tool .usk-field input.usk-invalid,
.usk-tool .usk-field select.usk-invalid {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}
.usk-tool .usk-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748B;
}
.usk-tool .usk-error {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    font-size: 12px;
    color: #DC2626;
    font-weight: 600;
}

/* Input with $ icon */
.usk-tool .usk-input-with-icon {
    position: relative;
}
.usk-tool .usk-input-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    z-index: 1;
    pointer-events: none;
}
.usk-tool .usk-input-with-icon input {
    padding-left: 52px !important;
}

/* Input with suffix (e.g. % of gross) */
.usk-tool .usk-input-with-suffix {
    position: relative;
}
.usk-tool .usk-input-suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    pointer-events: none;
}
.usk-tool .usk-input-with-suffix input {
    padding-right: 96px !important;
}

/* Form actions */
.usk-tool .usk-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    align-items: center;
}
.usk-tool .usk-btn {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.08s ease;
    font-family: inherit;
    letter-spacing: 0.1px;
}
.usk-tool .usk-btn:active { transform: translateY(1px); }
.usk-tool .usk-btn-primary {
    background: #1D4ED8;
    color: #ffffff;
    border-color: #1D4ED8;
}
.usk-tool .usk-btn-primary:hover:not(:disabled) {
    background: #1E40AF;
    border-color: #1E40AF;
}
.usk-tool .usk-btn-primary:disabled {
    background: #93A3C7;
    border-color: #93A3C7;
    cursor: not-allowed;
}
.usk-tool .usk-btn-ghost {
    background: transparent;
    color: #1D4ED8;
    border-color: transparent;
}
.usk-tool .usk-btn-ghost:hover {
    background: #EFF6FF;
}
.usk-tool .usk-btn-outline {
    background: #ffffff;
    color: #0F172A;
    border-color: #E5E7EB;
}
.usk-tool .usk-btn-outline:hover {
    border-color: #1D4ED8;
    color: #1D4ED8;
}
.usk-tool .usk-btn-success {
    background: #10B981 !important;
    color: #ffffff !important;
    border-color: #10B981 !important;
}

/* Spinner */
.usk-tool .usk-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: usk-spin 0.8s linear infinite;
}
.usk-tool .usk-btn.usk-loading .usk-btn-spinner {
    display: inline-block;
}
@keyframes usk-spin {
    to { transform: rotate(360deg); }
}

.usk-tool .usk-form-error {
    margin-top: 14px;
    color: #DC2626;
    font-size: 14px;
    font-weight: 600;
    min-height: 18px;
}

/* =========================================================================
 * RESULTS
 * ========================================================================= */
.usk-tool .usk-results {
    animation: usk-fade 0.35s ease;
}
@keyframes usk-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.usk-tool .usk-result-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E40AF 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.usk-tool .usk-result-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    margin-bottom: 10px;
}
.usk-tool .usk-result-hero-value {
    font-size: 48px;
    font-weight: 800;
    color: #10B981;
    line-height: 1.05;
    letter-spacing: -0.6px;
}
.usk-tool .usk-result-hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-top: 4px;
}
.usk-tool .usk-result-subtotals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}
.usk-tool .usk-result-subtotals > div {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
}
.usk-tool .usk-result-subtotals span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 4px;
    font-weight: 600;
}
.usk-tool .usk-result-subtotals strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

/* KPIs */
.usk-tool .usk-result-kpis {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.usk-tool .usk-kpi {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.usk-tool .usk-kpi:hover {
    border-color: #1D4ED8;
    box-shadow: 0 4px 14px rgba(29,78,216,0.08);
}
.usk-tool .usk-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 6px;
}
.usk-tool .usk-kpi-value {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
}

/* Result grid */
.usk-tool .usk-result-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}
.usk-tool .usk-bd-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
.usk-tool .usk-h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
.usk-tool .usk-bd-lead {
    color: #475569;
    font-size: 14px;
    margin: 0 0 14px;
}
.usk-tool .usk-bd-group {
    border-top: 1px solid #E5E7EB;
    padding-top: 12px;
    margin-top: 12px;
}
.usk-tool .usk-bd-group:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}
.usk-tool .usk-bd-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    font-weight: 700;
    margin-bottom: 8px;
}
.usk-tool .usk-bd-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 7px 0;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px dashed #EEF2F7;
}
.usk-tool .usk-bd-row:last-child { border-bottom: 0; }
.usk-tool .usk-bd-row strong {
    color: #0F172A;
    font-weight: 700;
    white-space: nowrap;
}
.usk-tool .usk-bd-total {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 10px 10px;
    margin-top: 6px;
    border-bottom: 0;
}
.usk-tool .usk-bd-total strong {
    color: #1D4ED8;
}
.usk-tool .usk-bd-net {
    margin-top: 18px;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.usk-tool .usk-bd-net span {
    color: #064E3B;
    font-weight: 700;
    font-size: 15px;
}
.usk-tool .usk-bd-net strong {
    color: #047857;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

/* Chart */
.usk-tool .usk-chart-wrap {
    position: relative;
    height: 280px;
    margin-bottom: 14px;
}
.usk-tool .usk-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}
.usk-tool .usk-chart-table th,
.usk-tool .usk-chart-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid #E5E7EB;
}
.usk-tool .usk-chart-table th {
    background: #F8FAFC;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.usk-tool .usk-chart-table td:last-child { text-align: right; font-weight: 700; color: #0F172A; }
.usk-tool .usk-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Annual card */
.usk-tool .usk-annual-card {
    margin-bottom: 20px;
}
.usk-tool .usk-annual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.usk-tool .usk-annual-grid > div {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 12px;
}
.usk-tool .usk-annual-grid span {
    display: block;
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}
.usk-tool .usk-annual-grid strong {
    font-size: 16px;
    color: #0F172A;
    font-weight: 800;
}
.usk-tool .usk-annual-net { color: #047857 !important; }

/* Insights */
.usk-tool .usk-insights {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 18px;
    margin-bottom: 20px;
}
.usk-tool .usk-insight {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 10px;
    border-left: 4px solid #1D4ED8;
    background: #F8FAFC;
}
.usk-tool .usk-insight-good  { border-left-color: #10B981; background: #ECFDF5; }
.usk-tool .usk-insight-tip   { border-left-color: #F59E0B; background: #FFFBEB; }
.usk-tool .usk-insight-info  { border-left-color: #1D4ED8; background: #EFF6FF; }
.usk-tool .usk-insight-title {
    font-weight: 700;
    color: #0F172A;
    font-size: 14px;
}
.usk-tool .usk-insight-msg {
    color: #334155;
    font-size: 14px;
}

/* Compare card */
.usk-tool .usk-compare-card { margin-bottom: 20px; }
.usk-tool .usk-compare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.usk-tool .usk-compare-item {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}
.usk-tool .usk-compare-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 6px;
}
.usk-tool .usk-compare-value {
    font-size: 18px;
    font-weight: 800;
    color: #1D4ED8;
}

/* Result actions */
.usk-tool .usk-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 18px;
}
.usk-tool .usk-disclaimer {
    font-size: 12px;
    color: #64748B;
    background: #F8FAFC;
    border: 1px dashed #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0;
}

/* =========================================================================
 * HOW IT WORKS
 * ========================================================================= */
.usk-tool .usk-how-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.usk-tool .usk-how-steps li {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px 14px 56px;
    position: relative;
    font-size: 15px;
    color: #334155;
    counter-increment: step;
}
.usk-tool .usk-how-steps li::before {
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #1D4ED8;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

/* =========================================================================
 * INFO / EXAMPLES / FAQ / SOURCES / PRIVACY
 * ========================================================================= */
.usk-tool .usk-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.usk-tool .usk-info-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 16px;
}
.usk-tool .usk-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1D4ED8;
}
.usk-tool .usk-info-card p {
    font-size: 14px;
    color: #334155;
    margin: 0;
}

.usk-tool .usk-example-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #1D4ED8;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
.usk-tool .usk-example-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}
.usk-tool .usk-example-card p {
    font-size: 14px;
    color: #334155;
    margin: 0;
}

.usk-tool .usk-faq-item {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.usk-tool .usk-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #0F172A;
    list-style: none;
    padding-right: 28px;
    position: relative;
}
.usk-tool .usk-faq-item summary::-webkit-details-marker { display: none; }
.usk-tool .usk-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #EFF6FF;
    color: #1D4ED8;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.usk-tool .usk-faq-item[open] summary::after {
    content: "−";
    background: #1D4ED8;
    color: #ffffff;
}
.usk-tool .usk-faq-item p {
    margin: 10px 0 0;
    color: #334155;
    font-size: 14px;
}

.usk-tool .usk-source-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
}
.usk-tool .usk-source-list li {
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
}

.usk-tool .usk-privacy {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 18px;
}
.usk-tool .usk-privacy p { margin: 0; color: #334155; font-size: 14px; }

/* =========================================================================
 * TRUST / DEVELOPER
 * ========================================================================= */
.usk-tool .usk-trust-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 20px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
.usk-tool .usk-trust-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EFF6FF;
    background: #F8FAFC;
}
.usk-tool .usk-trust-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    font-weight: 700;
    margin-bottom: 4px;
}
.usk-tool .usk-trust-name {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 2px;
}
.usk-tool .usk-trust-role {
    color: #1D4ED8;
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 8px;
}
.usk-tool .usk-trust-statement {
    font-size: 14px;
    color: #334155;
    margin: 0 0 8px;
}
.usk-tool .usk-trust-meta {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}
.usk-tool .usk-trust-sep { margin: 0 8px; color: #CBD5E1; }

/* =========================================================================
 * RELATED TOOLS
 * ========================================================================= */
.usk-tool .usk-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.usk-tool .usk-related-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 16px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none;
    color: #0F172A;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.usk-tool .usk-related-card:hover {
    border-color: #1D4ED8;
    box-shadow: 0 6px 18px rgba(29,78,216,0.10);
    transform: translateY(-2px);
    color: #0F172A;
    text-decoration: none;
}
.usk-tool .usk-related-tag {
    display: inline-block;
    align-self: flex-start;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.usk-tool .usk-related-title {
    font-weight: 700;
    font-size: 15px;
}
.usk-tool .usk-related-desc {
    font-size: 13px;
    color: #475569;
}

/* =========================================================================
 * RESPONSIVE BREAKPOINTS
 * ========================================================================= */
@media (max-width: 1024px) {
    .usk-tool .usk-result-kpis {
        grid-template-columns: repeat(3, 1fr);
    }
    .usk-tool .usk-keyfacts,
    .usk-tool .usk-audience-grid,
    .usk-tool .usk-related-grid,
    .usk-tool .usk-annual-grid,
    .usk-tool .usk-compare-grid,
    .usk-tool .usk-result-subtotals {
        grid-template-columns: repeat(2, 1fr);
    }
    .usk-tool .usk-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .usk-tool .usk-source-list {
        grid-template-columns: 1fr;
    }
    .usk-tool .usk-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .usk-tool {
        padding: 12px;
        font-size: 15px;
    }
    .usk-tool .usk-section { margin: 28px 0; }
    .usk-tool .usk-section-title { font-size: 22px; }

    .usk-tool .usk-hero {
        padding: 26px 18px;
        border-radius: 14px;
    }
    .usk-tool .usk-hero-title { font-size: 22px; }
    .usk-tool .usk-hero-sub { font-size: 15px; }

    .usk-tool .usk-calculator {
        padding: 16px;
        border-radius: 14px;
    }
    .usk-tool .usk-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .usk-tool .usk-form-actions { flex-direction: column; align-items: stretch; }
    .usk-tool .usk-form-actions .usk-btn { width: 100%; }

    .usk-tool .usk-keyfacts,
    .usk-tool .usk-audience-grid,
    .usk-tool .usk-info-grid,
    .usk-tool .usk-related-grid,
    .usk-tool .usk-annual-grid,
    .usk-tool .usk-compare-grid,
    .usk-tool .usk-result-subtotals {
        grid-template-columns: 1fr 1fr;
    }
    .usk-tool .usk-result-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .usk-tool .usk-result-hero-value { font-size: 36px; }
    .usk-tool .usk-bd-net strong { font-size: 18px; }
    .usk-tool .usk-chart-wrap { height: 240px; }

    .usk-tool .usk-trust-card {
        grid-template-columns: 72px 1fr;
        padding: 16px;
        gap: 14px;
    }
    .usk-tool .usk-trust-avatar { width: 72px; height: 72px; }
    .usk-tool .usk-trust-name { font-size: 18px; }
}

@media (max-width: 420px) {
    .usk-tool .usk-keyfacts,
    .usk-tool .usk-audience-grid,
    .usk-tool .usk-info-grid,
    .usk-tool .usk-related-grid,
    .usk-tool .usk-annual-grid,
    .usk-tool .usk-compare-grid,
    .usk-tool .usk-result-subtotals,
    .usk-tool .usk-result-kpis {
        grid-template-columns: 1fr;
    }
    .usk-tool .usk-keyfact-value { font-size: 22px; }
    .usk-tool .usk-result-hero-value { font-size: 32px; }
}

/* =========================================================================
 * PRINT STYLES
 * ========================================================================= */
@media print {
    .usk-tool { max-width: 100%; padding: 0; color: #000; }
    .usk-tool .usk-hero,
    .usk-tool .usk-keyfacts,
    .usk-tool .usk-audience,
    .usk-tool .usk-calculator,
    .usk-tool .usk-faq,
    .usk-tool .usk-related,
    .usk-tool .usk-result-actions,
    .usk-tool .usk-how,
    .usk-tool .usk-privacy {
        display: none !important;
    }
    .usk-tool .usk-section { margin: 14px 0; page-break-inside: avoid; }
    .usk-tool .usk-bd-card,
    .usk-tool .usk-insights,
    .usk-tool .usk-compare-card,
    .usk-tool .usk-annual-card,
    .usk-tool .usk-trust-card {
        box-shadow: none !important;
        border-color: #999 !important;
    }
    .usk-tool .usk-result-header {
        background: #ffffff !important;
        color: #000 !important;
        border: 1px solid #999;
    }
    .usk-tool .usk-result-label,
    .usk-tool .usk-result-hero-sub,
    .usk-tool .usk-result-subtotals span,
    .usk-tool .usk-result-subtotals strong {
        color: #000 !important;
    }
    .usk-tool .usk-result-hero-value { color: #064E3B !important; }
}
