/* =========================================================================
   USAJobsKit - LinkedIn Headline Generator
   All selectors scoped to .usk-tool to avoid Jannah theme conflicts
   ========================================================================= */

/* Visually hidden H1 (SEO only) */
.usajobskit-page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------------------------
   Root container
   ------------------------------------------------------------------------- */
.usk-tool {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    color: #0F172A;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
                 Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
}
.usk-tool *,
.usk-tool *::before,
.usk-tool *::after {
    box-sizing: border-box;
}
.usk-tool img { max-width: 100%; height: auto; }
.usk-tool a { color: #1D4ED8; text-decoration: none; }
.usk-tool a:hover { color: #1E40AF; text-decoration: underline; }

.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 ul { margin: 0 0 12px 20px; padding: 0; }
.usk-tool ul li { margin-bottom: 6px; }

.usk-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0F172A;
}
.usk-section-sub {
    color: #475569;
    margin-bottom: 20px;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.usk-tool .usk-hero {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    color: #fff;
    padding: 36px 24px;
    border-radius: 16px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.18);
}
.usk-tool .usk-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.usk-tool .usk-hero-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}
.usk-tool .usk-hero-sub {
    color: #E0E7FF;
    font-size: 16px;
    margin: 0 auto 20px;
    max-width: 720px;
}
.usk-tool .usk-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.usk-tool .usk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
    text-decoration: none;
    font-family: inherit;
}
.usk-tool .usk-btn:active { transform: translateY(1px); }
.usk-tool .usk-btn:focus-visible {
    outline: 3px solid #93C5FD;
    outline-offset: 2px;
}
.usk-tool .usk-btn-primary {
    background: #1D4ED8;
    color: #fff;
    border-color: #1D4ED8;
}
.usk-tool .usk-btn-primary:hover {
    background: #1E40AF;
    border-color: #1E40AF;
    color: #fff;
    text-decoration: none;
}
.usk-tool .usk-btn-primary:disabled {
    background: #93C5FD;
    border-color: #93C5FD;
    cursor: not-allowed;
}
.usk-tool .usk-btn-ghost {
    background: #fff;
    color: #1D4ED8;
    border-color: #E5E7EB;
}
.usk-tool .usk-btn-ghost:hover {
    background: #F8FAFC;
    border-color: #1D4ED8;
    color: #1E40AF;
    text-decoration: none;
}
.usk-tool .usk-btn-lg {
    min-height: 56px;
    padding: 14px 28px;
    font-size: 16px;
}

.usk-tool .usk-icon-btn {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #1D4ED8;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}
.usk-tool .usk-icon-btn:hover {
    background: #EFF6FF;
    border-color: #1D4ED8;
}
.usk-tool .usk-icon-btn.usk-copied {
    background: #ECFDF5;
    color: #047857;
    border-color: #10B981;
}

/* Spinner inside button */
.usk-tool .usk-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: usk-spin 0.7s linear infinite;
}
.usk-tool .usk-btn.usk-loading .usk-spinner { display: inline-block; }
.usk-tool .usk-btn.usk-loading .usk-btn-label { opacity: 0.85; }
@keyframes usk-spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   Key Facts
   ------------------------------------------------------------------------- */
.usk-tool .usk-key-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.usk-tool .usk-fact-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.usk-tool .usk-fact-num {
    color: #1D4ED8;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.usk-tool .usk-fact-label {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Audience cards
   ------------------------------------------------------------------------- */
.usk-tool .usk-audience {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;
}
.usk-tool .usk-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.usk-tool .usk-audience-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 18px;
}
.usk-tool .usk-audience-card h3 {
    font-size: 16px;
    margin: 6px 0 6px;
    color: #0F172A;
}
.usk-tool .usk-audience-card p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}
.usk-tool .usk-audience-icon {
    font-size: 22px;
    line-height: 1;
}

/* -------------------------------------------------------------------------
   Form
   ------------------------------------------------------------------------- */
.usk-tool .usk-form-section {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    scroll-margin-top: 80px;
}
.usk-tool .usk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.usk-tool .usk-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.usk-tool .usk-field-full {
    grid-column: 1 / -1;
}
.usk-tool .usk-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 6px;
}
.usk-tool .usk-req {
    color: #DC2626;
    margin-left: 2px;
}
.usk-tool .usk-help {
    display: block;
    font-size: 12px;
    color: #64748B;
    margin-top: 6px;
    line-height: 1.45;
}

.usk-tool input[type="text"],
.usk-tool input[type="number"],
.usk-tool input[type="email"],
.usk-tool select,
.usk-tool textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #0F172A;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.usk-tool input[type="text"]:hover,
.usk-tool select:hover {
    border-color: #CBD5E1;
}
.usk-tool input[type="text"]:focus,
.usk-tool select:focus,
.usk-tool textarea:focus {
    outline: none;
    border-color: #1D4ED8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.usk-tool input.usk-invalid,
.usk-tool select.usk-invalid {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

/* Select dropdown override (Jannah conflict safe) */
.usk-tool select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231D4ED8' d='M6 8 0 0h12z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    padding-right: 40px !important;
    background-color: #fff !important;
}

.usk-tool .usk-error {
    display: none;
    color: #DC2626;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

.usk-tool .usk-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}
.usk-tool .usk-form-note {
    font-size: 13px;
    color: #64748B;
    margin: 14px 0 0;
}

/* -------------------------------------------------------------------------
   Results
   ------------------------------------------------------------------------- */
.usk-tool .usk-results {
    margin-bottom: 32px;
    animation: usk-fadeIn 0.25s ease-out;
}
@keyframes usk-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.usk-tool .usk-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}
.usk-tool .usk-alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.usk-tool .usk-section { margin-bottom: 24px; }
.usk-tool .usk-results-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 14px;
}

/* Highlight card */
.usk-tool .usk-result-highlight {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 22px;
}
.usk-tool .usk-result-highlight-label {
    font-size: 13px;
    font-weight: 600;
    color: #1E40AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.usk-tool .usk-result-highlight-text {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.5;
    background: #fff;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    word-break: break-word;
}
.usk-tool .usk-result-highlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.usk-tool .usk-result-highlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Chips */
.usk-tool .usk-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #E0E7FF;
    color: #1E40AF;
    line-height: 1.2;
}
.usk-tool .usk-chip-success {
    background: #D1FAE5;
    color: #065F46;
}
.usk-tool .usk-chip-error {
    background: #FEE2E2;
    color: #991B1B;
}
.usk-tool .usk-chip-muted {
    background: #F1F5F9;
    color: #475569;
}

/* Headline list */
.usk-tool .usk-headline-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.usk-tool .usk-headline-card {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: start;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.usk-tool .usk-headline-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.08);
}
.usk-tool .usk-headline-card.usk-over-limit {
    border-color: #FECACA;
    background: #FEF2F2;
}
.usk-tool .usk-headline-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #1D4ED8;
    font-weight: 700;
    font-size: 14px;
}
.usk-tool .usk-headline-body { min-width: 0; }
.usk-tool .usk-headline-text {
    font-size: 15px;
    font-weight: 500;
    color: #0F172A;
    line-height: 1.5;
    margin-bottom: 8px;
    word-break: break-word;
}
.usk-tool .usk-headline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.usk-tool .usk-headline-actions {
    display: flex;
    align-items: center;
}

/* Breakdown cards */
.usk-tool .usk-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.usk-tool .usk-breakdown-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px;
}
.usk-tool .usk-breakdown-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748B;
    margin-bottom: 6px;
}
.usk-tool .usk-breakdown-value {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
    word-break: break-word;
}
.usk-tool .usk-breakdown-note {
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
}

/* Insights */
.usk-tool .usk-insights {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    padding: 14px 18px 14px 34px;
    margin: 0;
}
.usk-tool .usk-insights li {
    color: #78350F;
    font-size: 14px;
    margin-bottom: 6px;
}
.usk-tool .usk-insights li:last-child { margin-bottom: 0; }

/* Chart */
.usk-tool .usk-chart {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px;
}
.usk-tool .usk-chart-row {
    display: grid;
    grid-template-columns: 40px 1fr 48px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.usk-tool .usk-chart-row:last-child { margin-bottom: 0; }
.usk-tool .usk-chart-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.usk-tool .usk-chart-track {
    height: 14px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
}
.usk-tool .usk-chart-bar {
    height: 100%;
    border-radius: 999px;
    background: #1D4ED8;
    transition: width 0.4s ease;
}
.usk-tool .usk-chart-bar.low { background: #60A5FA; }
.usk-tool .usk-chart-bar.mid { background: #1D4ED8; }
.usk-tool .usk-chart-bar.high { background: #10B981; }
.usk-tool .usk-chart-bar.over { background: #DC2626; }
.usk-tool .usk-chart-value {
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
}
.usk-tool .usk-chart-note {
    font-size: 12px;
    color: #64748B;
    margin: 10px 0 0;
}

/* -------------------------------------------------------------------------
   How it works
   ------------------------------------------------------------------------- */
.usk-tool .usk-how {
    margin-bottom: 32px;
}
.usk-tool .usk-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.usk-tool .usk-how-step {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px;
}
.usk-tool .usk-how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1D4ED8;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}
.usk-tool .usk-how-step h3 {
    font-size: 16px;
    margin: 0 0 6px;
}
.usk-tool .usk-how-step p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* -------------------------------------------------------------------------
   Info / Examples / FAQ / Sources / Privacy
   ------------------------------------------------------------------------- */
.usk-tool .usk-info,
.usk-tool .usk-examples,
.usk-tool .usk-faq,
.usk-tool .usk-sources,
.usk-tool .usk-privacy,
.usk-tool .usk-trust {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}
.usk-tool .usk-info h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    color: #0F172A;
}

.usk-tool .usk-example-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.usk-tool .usk-example-card:last-child { margin-bottom: 0; }
.usk-tool .usk-example-role {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1D4ED8;
    margin-bottom: 6px;
}
.usk-tool .usk-example-text {
    font-size: 15px;
    color: #0F172A;
    font-weight: 500;
    margin-bottom: 4px;
    word-break: break-word;
}
.usk-tool .usk-example-meta {
    font-size: 12px;
    color: #64748B;
}

.usk-tool .usk-faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}
.usk-tool .usk-faq-item[open] {
    border-color: #BFDBFE;
}
.usk-tool .usk-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #0F172A;
    padding: 14px 16px;
    list-style: none;
    position: relative;
    padding-right: 42px;
    font-size: 15px;
}
.usk-tool .usk-faq-item summary::-webkit-details-marker { display: none; }
.usk-tool .usk-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #1D4ED8;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.usk-tool .usk-faq-item[open] summary::after { content: "–"; }
.usk-tool .usk-faq-item p {
    padding: 0 16px 16px;
    margin: 0;
    color: #334155;
    font-size: 14px;
}

.usk-tool .usk-source-list { margin: 8px 0 10px 20px; }
.usk-tool .usk-source-note { font-size: 13px; color: #64748B; margin: 0; }

.usk-tool .usk-privacy-list {
    margin: 0 0 0 20px;
}
.usk-tool .usk-privacy-list li {
    color: #334155;
    font-size: 14px;
}

/* -------------------------------------------------------------------------
   Trust / Developer card
   ------------------------------------------------------------------------- */
.usk-tool .usk-trust-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: start;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px;
}
.usk-tool .usk-trust-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background: #E5E7EB;
}
.usk-tool .usk-trust-name {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
}
.usk-tool .usk-trust-role {
    font-size: 13px;
    color: #1D4ED8;
    font-weight: 600;
    margin-bottom: 8px;
}
.usk-tool .usk-trust-desc {
    font-size: 14px;
    color: #334155;
    margin: 0 0 10px;
}
.usk-tool .usk-trust-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #64748B;
    align-items: center;
}
.usk-tool .usk-trust-link {
    color: #1D4ED8;
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   Related tools
   ------------------------------------------------------------------------- */
.usk-tool .usk-related {
    margin-bottom: 32px;
}
.usk-tool .usk-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.usk-tool .usk-related-card {
    display: block;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px;
    color: #0F172A;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.usk-tool .usk-related-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}
.usk-tool .usk-related-card h3 {
    font-size: 16px;
    color: #1D4ED8;
    margin: 0 0 6px;
}
.usk-tool .usk-related-card p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .usk-tool .usk-key-facts { grid-template-columns: repeat(2, 1fr); }
    .usk-tool .usk-audience-grid { grid-template-columns: repeat(2, 1fr); }
    .usk-tool .usk-how-grid { grid-template-columns: repeat(2, 1fr); }
    .usk-tool .usk-breakdown-grid { grid-template-columns: repeat(2, 1fr); }
    .usk-tool .usk-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .usk-tool { padding: 12px; font-size: 15px; }
    .usk-tool .usk-hero { padding: 26px 18px; }
    .usk-tool .usk-hero-title { font-size: 22px; }
    .usk-tool .usk-hero-sub { font-size: 15px; }
    .usk-tool .usk-section-title { font-size: 20px; }

    .usk-tool .usk-form-section,
    .usk-tool .usk-info,
    .usk-tool .usk-examples,
    .usk-tool .usk-faq,
    .usk-tool .usk-sources,
    .usk-tool .usk-privacy,
    .usk-tool .usk-trust,
    .usk-tool .usk-audience { padding: 18px; }

    .usk-tool .usk-form-grid { grid-template-columns: 1fr; gap: 14px; }
    .usk-tool .usk-key-facts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .usk-tool .usk-fact-num { font-size: 22px; }
    .usk-tool .usk-audience-grid { grid-template-columns: 1fr; }
    .usk-tool .usk-how-grid { grid-template-columns: 1fr; }
    .usk-tool .usk-breakdown-grid { grid-template-columns: 1fr; }
    .usk-tool .usk-related-grid { grid-template-columns: 1fr; }

    .usk-tool .usk-headline-card {
        grid-template-columns: 36px 1fr;
    }
    .usk-tool .usk-headline-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .usk-tool .usk-headline-rank {
        width: 32px; height: 32px; font-size: 13px;
    }
    .usk-tool .usk-headline-text { font-size: 14.5px; }

    .usk-tool .usk-result-highlight { padding: 18px; }
    .usk-tool .usk-result-highlight-text { font-size: 16px; padding: 12px 14px; }
    .usk-tool .usk-result-highlight-actions .usk-btn { flex: 1 1 auto; }

    .usk-tool .usk-trust-card {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .usk-tool .usk-trust-img {
        width: 72px; height: 72px;
    }

    .usk-tool .usk-form-actions .usk-btn { flex: 1 1 auto; }

    .usk-tool .usk-chart-row {
        grid-template-columns: 32px 1fr 44px;
    }
}

@media (max-width: 380px) {
    .usk-tool .usk-hero-title { font-size: 20px; }
    .usk-tool .usk-fact-num { font-size: 20px; }
    .usk-tool .usk-key-facts { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Print styles
   ------------------------------------------------------------------------- */
@media print {
    .usk-tool .usk-hero,
    .usk-tool .usk-audience,
    .usk-tool .usk-form-section,
    .usk-tool .usk-how,
    .usk-tool .usk-faq,
    .usk-tool .usk-related,
    .usk-tool .usk-privacy,
    .usk-tool .usk-result-highlight-actions { display: none !important; }

    .usk-tool {
        max-width: 100%;
        padding: 0;
        color: #000;
    }
    .usk-tool .usk-results { display: block !important; }
    .usk-tool .usk-headline-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border-color: #999;
    }
    .usk-tool a { color: #000; text-decoration: underline; }
}
