.ats-page {
    overflow-x: clip;
    background: #f5f7fa;
    color: #182230;
}

.ats-breadcrumb-band {
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.ats-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    color: #667085;
    font-size: 14px;
    list-style: none;
}

.ats-breadcrumb a { color: #0b63ce; }

.ats-intro { padding: 44px 0 28px; }

.ats-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
}

.ats-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: #087f5b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.ats-kicker i { font-size: 18px; }

.ats-intro h1 {
    max-width: 820px;
    margin: 0 0 13px;
    color: #101828;
    font-size: 40px;
    line-height: 1.16;
    overflow-wrap: break-word;
}

.ats-intro p {
    max-width: 780px;
    margin: 0;
    color: #526173;
    font-size: 17px;
    line-height: 1.7;
}

.ats-privacy-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #c7eadf;
    border-radius: 6px;
    background: #edfaf5;
    color: #146c52;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ats-tool-section { padding-bottom: 56px; }

.ats-tool {
    display: grid;
    grid-template-columns: minmax(340px, .92fr) minmax(440px, 1.08fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .09);
}

.ats-form-panel,
.ats-result-panel { min-width: 0; padding: 30px; }
.ats-form-panel { border-right: 1px solid #e2e8f0; }
.ats-result-panel { display: flex; min-height: 660px; background: #f9fbfd; }

.ats-panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.ats-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0a65cc;
    color: #fff;
    font-weight: 800;
}

.ats-panel-heading h2 { margin: 0 0 2px; font-size: 21px; line-height: 1.3; }
.ats-panel-heading p { margin: 0; color: #7b8797; font-size: 13px; }

.ats-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 154px;
    margin-bottom: 20px;
    padding: 22px;
    border: 1px dashed #9db6d3;
    border-radius: 8px;
    background: #f5f9fe;
    color: #344054;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ats-upload:hover,
.ats-upload.is-dragging,
.ats-upload:focus-within {
    border-color: #0a65cc;
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(10, 101, 204, .1);
}

.ats-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ats-upload i { margin-bottom: 8px; color: #0a65cc; font-size: 32px; }
.ats-upload strong { margin-bottom: 5px; font-size: 15px; }
.ats-upload span { color: #768496; font-size: 12px; line-height: 1.5; }

.ats-field { margin-bottom: 18px; }
.ats-field > label { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 750; }
.ats-field > label span { color: #8b96a5; font-size: 12px; font-weight: 500; }
.ats-field input,
.ats-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #182230;
    font-size: 14px;
    line-height: 1.55;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ats-field input { min-height: 47px; }
.ats-field textarea { min-height: 188px; resize: vertical; }
.ats-field input:focus,
.ats-field textarea:focus { border-color: #1971d4; box-shadow: 0 0 0 3px rgba(25, 113, 212, .12); }
.ats-field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: #8994a3; font-size: 11px; }

.ats-form-message {
    margin-bottom: 14px;
    padding: 11px 12px;
    border: 1px solid #f2c2c2;
    border-radius: 6px;
    background: #fff4f4;
    color: #9f2d2d;
    font-size: 13px;
    line-height: 1.5;
}

.ats-submit,
.ats-primary-link,
.ats-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 18px;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ats-submit { width: 100%; background: #0a65cc; color: #fff; cursor: pointer; }
.ats-submit:hover { background: #0755ad; }
.ats-submit:disabled { opacity: .65; cursor: wait; }
.ats-consent { margin: 10px 0 0; color: #8290a1; font-size: 11px; line-height: 1.5; }

.ats-empty-state,
.ats-loading { align-self: center; width: 100%; max-width: 510px; margin: auto; text-align: center; }
.ats-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border: 1px solid #cfe0f5;
    border-radius: 50%;
    background: #fff;
    color: #0a65cc;
    font-size: 33px;
}
.ats-step-label { color: #087f5b; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ats-empty-state h2,
.ats-loading h2 { margin: 8px 0 10px; font-size: 24px; line-height: 1.3; }
.ats-empty-state p,
.ats-loading p { margin: 0 auto; color: #687689; line-height: 1.65; }
.ats-empty-state ul { display: grid; gap: 9px; max-width: 360px; margin: 24px auto 0; padding: 0; list-style: none; text-align: left; }
.ats-empty-state li { display: flex; align-items: center; gap: 9px; color: #415166; font-size: 14px; }
.ats-empty-state li i { color: #0a9b6b; font-size: 18px; }

.ats-spinner {
    display: inline-block;
    width: 44px;
    height: 44px;
    border: 4px solid #dbe8f7;
    border-top-color: #0a65cc;
    border-radius: 50%;
    animation: ats-spin .75s linear infinite;
}
@keyframes ats-spin { to { transform: rotate(360deg); } }

.ats-report { width: 100%; }
.ats-report-top { display: grid; grid-template-columns: 122px minmax(0, 1fr); align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid #e1e7ee; }
.ats-score {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: conic-gradient(#0a65cc calc(var(--score) * 1%), #dbe5f0 0);
}
.ats-score > div { display: flex; align-items: baseline; justify-content: center; width: 90px; height: 90px; padding-top: 26px; border-radius: 50%; background: #fff; }
.ats-score strong { font-size: 33px; line-height: 1; }
.ats-score span { color: #718095; font-size: 12px; }
.ats-report-label { color: #087f5b; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ats-report-top h2 { margin: 4px 0 7px; font-size: 24px; }
.ats-report-top p { margin: 0; color: #687689; font-size: 14px; line-height: 1.6; }

.ats-keyword-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.ats-keyword-grid section { min-width: 0; padding: 17px; border: 1px solid #dde4ec; border-radius: 8px; background: #fff; }
.ats-keyword-grid h3,
.ats-format-report h3 { margin: 0 0 12px; font-size: 14px; }
.ats-keyword-grid h3 i { margin-right: 5px; color: #0a8f65; }
.ats-keyword-grid section + section h3 i { color: #c77700; }
.ats-keyword-grid p { margin: 10px 0 0; color: #7c8796; font-size: 11px; line-height: 1.45; }
.ats-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ats-chip { max-width: 100%; padding: 5px 8px; border-radius: 5px; font-size: 12px; overflow-wrap: anywhere; }
.ats-chips-match .ats-chip { background: #eaf8f2; color: #087453; }
.ats-chips-missing .ats-chip { background: #fff3df; color: #8a5200; }
.ats-chip-empty { color: #7b8797; font-size: 12px; }

.ats-format-report { padding: 18px; border: 1px solid #dde4ec; border-radius: 8px; background: #fff; }
.ats-format-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; padding: 10px 0; border-top: 1px solid #edf0f4; }
.ats-format-item:first-child { border-top: 0; }
.ats-format-item i { margin-top: 2px; color: #0a9569; font-size: 18px; }
.ats-format-item.is-warning i { color: #c77700; }
.ats-format-item strong { display: block; margin-bottom: 2px; font-size: 13px; }
.ats-format-item span { display: block; color: #758194; font-size: 12px; line-height: 1.45; }
.ats-method-note { margin: 15px 0; padding-left: 11px; border-left: 3px solid #9ebddd; color: #687689; font-size: 12px; line-height: 1.55; }
.ats-report-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ats-primary-link { background: #0a65cc; color: #fff !important; }
.ats-secondary-link { border: 1px solid #b8c6d6; background: #fff; color: #185b9f !important; }

.ats-content-band { padding: 68px 0; background: #fff; }
.ats-content-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); align-items: end; gap: 40px; margin-bottom: 30px; }
.ats-content-heading h2,
.ats-guide-grid h2,
.ats-faq-band > .container > h2 { margin: 0; font-size: 30px; line-height: 1.25; }
.ats-content-heading p { margin: 0; color: #667489; line-height: 1.7; }
.ats-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ats-plan { position: relative; min-width: 0; padding: 24px; border: 1px solid #dce3eb; border-radius: 8px; background: #f9fbfd; }
.ats-plan-current { border-color: #a8caee; background: #f2f8ff; }
.ats-plan-badge { display: inline-block; margin-bottom: 20px; padding: 4px 8px; border-radius: 4px; background: #e8eef5; color: #536378; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ats-plan-current .ats-plan-badge { background: #dceeff; color: #0755ad; }
.ats-plan > i { display: block; margin-bottom: 12px; color: #0a65cc; font-size: 30px; }
.ats-plan h3 { margin: 0 0 7px; font-size: 20px; }
.ats-plan p { min-height: 44px; margin: 0 0 16px; color: #6d798a; font-size: 13px; line-height: 1.55; }
.ats-plan ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ats-plan li { position: relative; padding-left: 18px; color: #405066; font-size: 14px; line-height: 1.45; }
.ats-plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #18a77a; }

.ats-guide-band { padding: 68px 0; }
.ats-guide-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 54px; }
.ats-guide-grid p,
.ats-guide-grid li { color: #5f6d80; font-size: 15px; line-height: 1.75; }
.ats-guide-grid ol { display: grid; gap: 8px; padding-left: 22px; }
.ats-guide-grid aside { align-self: start; padding: 24px; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; }
.ats-guide-grid aside h2 { font-size: 22px; }
.ats-truth-list { display: grid; gap: 16px; margin-top: 20px; }
.ats-truth-list > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.ats-truth-list i { color: #0a9569; font-size: 20px; }
.ats-truth-list div:nth-child(2) i { color: #c24d4d; }
.ats-truth-list div:nth-child(3) i { color: #0a65cc; }
.ats-truth-list span { color: #59687b; font-size: 13px; line-height: 1.6; }

.ats-faq-band { padding: 64px 0 74px; border-top: 1px solid #e1e7ee; background: #fff; }
.ats-faq-list { display: grid; gap: 10px; max-width: 900px; margin-top: 25px; }
.ats-faq-list details { border: 1px solid #dbe3eb; border-radius: 8px; background: #fff; }
.ats-faq-list summary { padding: 17px 20px; color: #253246; font-weight: 750; cursor: pointer; }
.ats-faq-list p { margin: 0; padding: 0 20px 18px; color: #637185; line-height: 1.65; }

[hidden] { display: none !important; }

@media (max-width: 991.98px) {
    .ats-intro-grid,
    .ats-content-heading { grid-template-columns: 1fr; align-items: start; }
    .ats-privacy-note { justify-self: start; }
    .ats-tool { grid-template-columns: 1fr; }
    .ats-form-panel { border-right: 0; border-bottom: 1px solid #e2e8f0; }
    .ats-result-panel { min-height: 560px; }
    .ats-plan-grid { grid-template-columns: 1fr 1fr; }
    .ats-plan:last-child { grid-column: 1 / -1; }
    .ats-guide-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 575.98px) {
    .ats-intro { padding: 30px 0 22px; }
    .ats-intro h1 { font-size: 30px; }
    .ats-intro p { font-size: 15px; }
    .ats-privacy-note { white-space: normal; }
    .ats-form-panel,
    .ats-result-panel { padding: 20px; }
    .ats-result-panel { min-height: 500px; }
    .ats-report-top { grid-template-columns: 1fr; }
    .ats-score { width: 104px; height: 104px; }
    .ats-score > div { width: 80px; height: 80px; padding-top: 22px; }
    .ats-keyword-grid,
    .ats-plan-grid { grid-template-columns: 1fr; }
    .ats-plan:last-child { grid-column: auto; }
    .ats-content-band,
    .ats-guide-band,
    .ats-faq-band { padding: 48px 0; }
    .ats-content-heading { gap: 18px; }
    .ats-content-heading h2,
    .ats-guide-grid h2,
    .ats-faq-band > .container > h2 { font-size: 25px; }
    .ats-report-actions { display: grid; }
    .ats-field-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    .ats-spinner { animation-duration: 1.8s; }
    .ats-upload,
    .ats-field input,
    .ats-field textarea { transition: none; }
}
