.polar-page {
    background: #f6f7f4;
}

.polar-hero {
    min-height: 680px;
    padding: 104px 24px 48px;
    background:
        linear-gradient(120deg, rgba(17, 36, 41, 0.86), rgba(18, 60, 66, 0.68)),
        repeating-linear-gradient(135deg, #1f3f46 0 10px, #244b52 10px 20px);
    color: #fff;
    display: flex;
    align-items: center;
}

.polar-hero-inner,
.polar-flow,
.polar-workspace {
    max-width: 1200px;
    margin: 0 auto;
}

.polar-hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.polar-kicker {
    color: #b8eadc;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.polar-hero h1 {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: 0;
    margin: 0 0 22px;
    max-width: 720px;
}

.polar-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.8;
    max-width: 690px;
    margin: 0;
}

.polar-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.polar-btn {
    border: 0;
    border-radius: 8px;
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.polar-btn:hover {
    transform: translateY(-1px);
}

.polar-btn-primary {
    background: #f06f38;
    color: #fff;
    box-shadow: 0 10px 24px rgba(240, 111, 56, .24);
}

.polar-btn-secondary {
    background: #ffffff;
    color: #15383e;
    border: 1px solid rgba(21, 56, 62, .12);
}

.polar-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
    margin-top: 44px;
}

.polar-stats div {
    padding: 18px 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
}

.polar-stats strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.polar-stats span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    margin-top: 8px;
}

.polar-hero-visual {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-clinic-img {
    width: min(100%, 560px);
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.polar-reader {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe5df;
    background: #fff;
    min-height: 260px;
    border-radius: 10px;
}

.polar-reader-pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(26, 53, 60, .08) 0 1px, transparent 1px 13px),
        repeating-linear-gradient(90deg, rgba(26, 53, 60, .08) 0 1px, transparent 1px 13px),
        repeating-linear-gradient(45deg, rgba(28, 130, 111, .18) 0 3px, transparent 3px 12px);
}

.polar-flow {
    padding: 64px 24px 34px;
}

.polar-capabilities {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 24px 30px;
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: center;
}

.capability-visual img,
.sidebar-visual,
.plan-visual,
.panel-visual-head img {
    display: block;
    width: 100%;
    height: auto;
}

.capability-visual img {
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(23, 59, 66, .14);
}

.polar-kicker.dark {
    color: #2c8f78;
}

.capability-copy h2 {
    font-size: 38px;
    line-height: 1.16;
    color: #173b42;
    margin: 0 0 24px;
    letter-spacing: 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.capability-grid div {
    background: #fff;
    border: 1px solid #dfe8e2;
    border-radius: 10px;
    padding: 18px;
    min-height: 112px;
}

.capability-grid strong,
.capability-grid span {
    display: block;
}

.capability-grid strong {
    color: #173b42;
    font-size: 18px;
    margin-bottom: 8px;
}

.capability-grid span {
    color: #647579;
    line-height: 1.7;
    font-size: 14px;
}

.polar-section-head {
    text-align: center;
    margin-bottom: 30px;
}

.polar-section-head.compact {
    text-align: left;
    margin-bottom: 22px;
}

.polar-section-head h2 {
    font-size: 34px;
    margin: 0 0 10px;
    color: #152f35;
}

.polar-section-head p {
    margin: 0 auto;
    max-width: 780px;
    color: #607074;
    font-size: 16px;
}

.polar-flow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.polar-flow-steps span {
    background: #fff;
    border: 1px solid #e3e7e1;
    border-radius: 8px;
    padding: 16px 10px;
    text-align: center;
    font-weight: 700;
    color: #21383d;
}

.polar-workspace {
    padding: 26px 24px 76px;
}

.intro-entry {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 24px 82px;
}

.intro-entry-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 16px;
    background: #173b42;
    color: #fff;
    box-shadow: 0 18px 44px rgba(23, 59, 66, .16);
}

.intro-entry h2 {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: 0;
}

.intro-entry p {
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.8;
    max-width: 760px;
}

.detect-app-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 104px 24px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.detect-app-hero span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: #e8f5f0;
    color: #2c8f78;
    font-size: 13px;
    font-weight: 900;
}

.detect-app-hero h1 {
    margin: 14px 0 10px;
    color: #173b42;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 0;
}

.detect-app-hero p {
    margin: 0;
    color: #607378;
    line-height: 1.8;
    max-width: 760px;
}

.detect-app-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.polar-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e7e2;
    border-radius: 10px;
    margin-bottom: 16px;
    position: sticky;
    top: 70px;
    z-index: 2;
}

.polar-tabs button,
.mode-switch button,
.detect-card,
.choice-list button,
.plan-item,
.game-board button,
.doctor-list button {
    font-family: inherit;
}

.polar-tabs button {
    border: 0;
    background: transparent;
    color: #52666a;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.polar-tabs button.active {
    background: #173b42;
    color: #fff;
}

.polar-panel {
    display: none;
    background: #fff;
    border: 1px solid #e1e8e3;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(24, 42, 45, .06);
}

.polar-panel.active {
    display: block;
}

.detect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.clinical-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 16px;
    margin-bottom: 16px;
}

.patient-card,
.protocol-card,
.result-table-card,
.doctor-review-card {
    border: 1px solid #dfe8e2;
    border-radius: 10px;
    background: #fbfcfa;
    padding: 18px;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.card-title-row strong {
    color: #173b42;
    font-size: 18px;
}

.card-title-row span {
    color: #6b7b7f;
    font-size: 13px;
    font-weight: 800;
}

.patient-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.patient-form-grid label {
    color: #334b50;
    font-size: 13px;
    font-weight: 900;
}

.patient-form-grid input {
    width: 100%;
    height: 42px;
    margin-top: 6px;
    border: 1px solid #d7e0da;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    background: #fff;
}

.protocol-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.protocol-step {
    min-height: 74px;
    border: 1px solid #e0e8e2;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.protocol-step b,
.protocol-step strong,
.protocol-step span {
    display: block;
}

.protocol-step b {
    color: #c85b2c;
    font-size: 12px;
}

.protocol-step strong {
    color: #173b42;
    margin-top: 4px;
}

.protocol-step span {
    color: #6a7b7f;
    font-size: 12px;
    margin-top: 4px;
}

.protocol-step.done {
    border-color: #89cbbd;
    background: #eef8f4;
}

.protocol-step.active {
    border-color: #f06f38;
    box-shadow: 0 10px 24px rgba(240, 111, 56, .12);
}

.quality-dashboard,
.report-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.quality-dashboard div,
.report-meta div {
    border: 1px solid #dfe8e2;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}

.quality-dashboard span,
.quality-dashboard strong,
.report-meta span,
.report-meta strong {
    display: block;
}

.quality-dashboard span,
.report-meta span {
    color: #6b7b7f;
    font-size: 12px;
    font-weight: 900;
}

.quality-dashboard strong,
.report-meta strong {
    color: #173b42;
    font-size: 20px;
    margin-top: 6px;
}

.screening-package {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid #dce8e1;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef8f4, #fff7f1);
}

.screening-package strong,
.screening-package span {
    display: block;
}

.screening-package strong {
    color: #173b42;
    font-size: 18px;
}

.screening-package span {
    color: #607378;
    font-size: 14px;
    margin-top: 4px;
}

.package-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.screening-package button,
.single-result-actions button {
    border: 0;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: #173b42;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.screening-package button:last-child,
.single-result-actions button:last-child {
    background: #f06f38;
}

.reliability-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.result-table-card {
    margin-bottom: 18px;
}

.result-table-card table {
    width: 100%;
    border-collapse: collapse;
}

.result-table-card th,
.result-table-card td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e2eae4;
}

.result-table-card th {
    color: #6a7b7f;
    font-size: 12px;
}

.result-table-card td {
    color: #203b40;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef1f0;
    color: #647579;
    font-size: 12px;
    font-weight: 900;
}

.status-pill.done {
    background: #e4f6ef;
    color: #2c8f78;
}

.reliability-strip span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #dfe8e2;
    border-radius: 8px;
    background: #fff;
    color: #173b42;
    font-size: 13px;
    font-weight: 900;
}

.detect-card {
    text-align: left;
    border: 1px solid #e2e8e2;
    background: #fbfcfa;
    border-radius: 8px;
    min-height: 180px;
    padding: 20px;
    cursor: pointer;
    transition: border .18s ease, transform .18s ease, box-shadow .18s ease;
}

.detect-card:hover {
    border-color: #2c8f78;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(25, 60, 65, .1);
}

.detect-card.active {
    border-color: #2c8f78;
    background: #eef8f4;
}

.detect-card.completed {
    border-color: #89cbbd;
}

.detect-card.completed b::after {
    content: " · 已完成";
    color: #2c8f78;
}

.detect-index {
    color: #c85b2c;
    font-weight: 900;
}

.detect-card strong,
.detect-card em,
.detect-card b {
    display: block;
}

.detect-card strong {
    color: #18353b;
    font-size: 20px;
    margin-top: 24px;
}

.detect-card em {
    color: #708085;
    font-style: normal;
    margin-top: 8px;
}

.detect-card b {
    color: #2c8f78;
    margin-top: 22px;
}

.polar-test-layout,
.training-layout,
.doctor-board {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
}

.test-sidebar {
    background: #eef4ef;
    border-radius: 10px;
    padding: 22px;
}

.sidebar-visual {
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(23, 59, 66, .12);
}

.test-sidebar h2 {
    color: #18353b;
    margin: 0 0 10px;
    font-size: 25px;
}

.test-sidebar p,
.voice-note {
    color: #637376;
    font-size: 14px;
    line-height: 1.7;
}

.test-sidebar label,
.answer-area label {
    display: block;
    color: #2a4146;
    font-weight: 800;
    margin-top: 16px;
}

.test-sidebar input,
.answer-area input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7e0da;
    border-radius: 7px;
    margin-top: 8px;
    padding: 0 12px;
    font-size: 15px;
}

.mode-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.mode-switch button {
    border: 1px solid #d3ddd7;
    background: #fff;
    color: #2a4146;
    min-height: 40px;
    border-radius: 7px;
    font-weight: 800;
    cursor: pointer;
}

.mode-switch button.active {
    background: #2c8f78;
    color: #fff;
    border-color: #2c8f78;
}

.test-main {
    min-width: 0;
}

.detect-type-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 18px;
    background: #f7faf7;
    border: 1px solid #e0e8e2;
    border-radius: 10px;
}

.detect-type-head span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 6px;
    background: #e8f5f0;
    color: #2c8f78;
    font-size: 13px;
    font-weight: 900;
}

.detect-type-head h2 {
    margin: 10px 0 6px;
    color: #173b42;
    font-size: 28px;
    line-height: 1.2;
}

.detect-type-head p {
    margin: 0;
    color: #62777a;
    line-height: 1.7;
}

.detect-type-head strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #173b42;
    color: #fff;
    font-size: 13px;
}

.runtime-strip {
    display: grid;
    grid-template-columns: 110px 110px minmax(180px, 1fr) 150px;
    gap: 10px;
    margin-bottom: 16px;
}

.clinical-note {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #dbe8e1;
    border-radius: 10px;
    background: #f8fbf9;
}

.clinical-note strong {
    flex: 0 0 auto;
    color: #2c8f78;
    font-size: 14px;
}

.clinical-note span {
    color: #637579;
    font-size: 14px;
    line-height: 1.6;
}

.runtime-strip > div {
    min-height: 58px;
    border: 1px solid #e0e8e2;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
}

.runtime-strip span {
    display: block;
    color: #6a7b7f;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.runtime-strip strong {
    display: block;
    color: #173b42;
    font-size: 20px;
    line-height: 1.1;
}

.runtime-progress b {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #e4eee8;
    overflow: hidden;
}

.runtime-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2c8f78, #f06f38);
    transition: width .25s ease;
}

.polar-detect-card {
    border: 1px solid #e0e7e2;
    border-radius: 10px;
    padding: 16px;
    background: #fbfcfa;
}

.polar-instruction {
    color: #6c7d80;
    font-weight: 800;
    margin-bottom: 10px;
}

.reader-line {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 12px;
    text-align: center;
    color: rgba(21, 53, 59, .78);
    padding-top: 72px;
}

.reader-line.faded {
    padding-top: 28px;
    font-size: 30px;
    color: rgba(185, 82, 42, .55);
}

.reader-guide {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 42px;
    height: 5px;
    background: #2c8f78;
    border-radius: 4px;
}

.image-test-scene {
    position: relative;
    z-index: 1;
    min-height: 260px;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: linear-gradient(135deg, #f6fbf8, #eef6f2);
}

.scene-card {
    border: 1px solid #dce8e1;
    background: #fff;
    border-radius: 14px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    min-height: 100px;
    cursor: pointer;
    transition: transform .18s ease, border .18s ease, box-shadow .18s ease;
}

.scene-card:hover,
.scene-card.selected {
    transform: translateY(-2px);
    border-color: #f06f38;
    box-shadow: 0 12px 24px rgba(240, 111, 56, .13);
}

.scene-card span {
    font-size: 46px;
    line-height: 1;
}

.scene-card strong {
    color: #173b42;
}

.scene-card.target {
    border-color: #2c8f78;
    box-shadow: 0 12px 24px rgba(44, 143, 120, .14);
}

.scene-card.soft {
    opacity: .62;
    filter: blur(.2px);
}

.confusion-matrix {
    position: relative;
    z-index: 1;
    min-height: 220px;
    display: grid;
    grid-template-columns: repeat(3, 92px);
    gap: 18px;
    justify-content: center;
    align-content: center;
    background:
        repeating-linear-gradient(45deg, rgba(44, 143, 120, .08) 0 8px, transparent 8px 16px),
        #fff;
}

.confusion-matrix span {
    width: 92px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e5de;
    border-radius: 12px;
    background: #f9fbfa;
    color: #173b42;
    font-size: 42px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease;
}

.confusion-matrix span:hover,
.confusion-matrix span.selected {
    transform: translateY(-2px);
    background: #e9f7f2;
    border-color: #2c8f78;
}

.matrix-hint {
    position: relative;
    z-index: 1;
    padding: 14px;
    text-align: center;
    color: #607378;
    background: #eef6f2;
    border-top: 1px solid #dfe9e3;
}

.line-jump-card {
    position: relative;
    z-index: 1;
    padding: 28px 34px;
    background: #fff;
    min-height: 260px;
}

.line-jump-card p {
    margin: 0;
    padding: 12px 16px;
    color: #1d383e;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    border-bottom: 1px solid #e3ece6;
}

.line-jump-card .focus-line {
    background: #e9f7f2;
    border: 2px solid #2c8f78;
    border-radius: 8px;
}

.speed-passage,
.comprehension-card {
    position: relative;
    z-index: 1;
    min-height: 260px;
    padding: 30px;
    background: #fff;
}

.speed-timer {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: #173b42;
    color: #fff;
    font-weight: 900;
    margin-bottom: 18px;
}

.speed-passage p,
.comprehension-card p {
    margin: 0;
    color: #203b40;
    font-size: 25px;
    line-height: 2;
    font-weight: 700;
}

.comprehension-card h3 {
    color: #2c8f78;
    margin: 0 0 12px;
    font-size: 22px;
}

.comprehension-card strong {
    display: block;
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #fff0e8;
    color: #9d3d17;
}

.stereo-card,
.strabismus-card {
    position: relative;
    z-index: 1;
    min-height: 260px;
    padding: 28px;
    background: radial-gradient(circle at center, #ffffff 0, #eef8f4 100%);
}

.depth-stage {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    perspective: 700px;
}

.depth-item {
    border: 1px solid #dbe7e1;
    border-radius: 18px;
    background: #fff;
    color: #173b42;
    font-size: 54px;
    font-weight: 900;
    width: 112px;
    height: 112px;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(23, 59, 66, .12);
    transition: transform .18s ease, border .18s ease, box-shadow .18s ease;
}

.depth-item.near {
    transform: translateZ(80px) scale(1.14);
    border-color: #f06f38;
    color: #f06f38;
}

.depth-item.mid {
    transform: translateZ(25px);
}

.depth-item.far {
    transform: translateZ(-45px) scale(.9);
    opacity: .72;
}

.depth-item:hover,
.depth-item.selected {
    border-color: #2c8f78;
    box-shadow: 0 18px 38px rgba(44, 143, 120, .2);
}

.eye-row {
    min-height: 168px;
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 22px;
    align-items: center;
}

.eye {
    height: 116px;
    border: 4px solid #173b42;
    border-radius: 60% 60% 54% 54%;
    background: #fff;
    position: relative;
}

.eye i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    background: #173b42;
    border-radius: 50%;
}

.eye.slight i {
    left: 43%;
}

.fix-target {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff0e8;
    color: #f06f38;
    display: grid;
    place-items: center;
    font-size: 48px;
    font-weight: 900;
    border: 2px solid #f4c4aa;
}

.cover-test {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.cover-test span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dfe8e2;
    color: #173b42;
    font-size: 13px;
    font-weight: 900;
}

.color-shift-card,
.field-search-card {
    position: relative;
    z-index: 1;
    min-height: 360px;
    padding: 30px;
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, rgba(30, 48, 52, .045) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(90deg, rgba(30, 48, 52, .035) 0 1px, transparent 1px 5px),
        #eef0ec;
}

.color-shift-card::before,
.field-search-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(206, 74, 58, .08), transparent 34%, rgba(45, 143, 120, .07)),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,.34), transparent 38%);
    pointer-events: none;
}

.color-shift-text,
.color-number-row,
.color-number-large,
.field-symbols,
.search-targets {
    position: relative;
    z-index: 1;
}

.color-shift-text p {
    margin: 0 0 12px;
    color: rgba(44, 57, 58, .52);
    text-shadow:
        1px 0 rgba(177, 72, 62, .18),
        -1px 0 rgba(45, 130, 117, .18);
    font-size: 25px;
    line-height: 1.9;
    font-weight: 800;
    letter-spacing: 2px;
}

.color-number-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: rgba(35, 45, 48, .5);
    font-size: 26px;
    font-weight: 800;
}

.color-number-large {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    color: rgba(35, 45, 48, .42);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 4px;
}

.color-number-large strong {
    color: rgba(35, 45, 48, .56);
    font-size: 42px;
    letter-spacing: 8px;
}

.field-search-card {
    min-height: 430px;
}

.field-symbols {
    min-height: 350px;
}

.field-symbols span {
    position: absolute;
    transform: translate(-50%, -50%);
    color: rgba(28, 42, 46, .58);
    font-size: 34px;
    font-weight: 800;
    text-shadow:
        1px 0 rgba(177, 72, 62, .14),
        -1px 0 rgba(45, 130, 117, .16);
}

.field-symbols span:nth-child(2n) {
    font-size: 28px;
}

.field-symbols span:nth-child(3n) {
    color: rgba(28, 42, 46, .42);
}

.field-symbols span.selected {
    color: #f06f38;
    text-shadow: none;
}

.search-targets {
    border-top: 1px solid rgba(32, 57, 61, .15);
    padding-top: 14px;
    color: #173b42;
    font-weight: 900;
    letter-spacing: 1px;
}

.answer-area {
    display: none;
    margin-top: 18px;
}

.answer-area.active {
    display: block;
}

.choice-list,
.drag-bank {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.choice-list button,
.drag-bank button,
.game-board button {
    border: 1px solid #dbe4dd;
    background: #fff;
    min-height: 48px;
    border-radius: 8px;
    font-weight: 800;
    color: #223b40;
    cursor: pointer;
}

.choice-list button.active,
.game-board button.hit {
    background: #2c8f78;
    color: #fff;
    border-color: #2c8f78;
}

.drop-zone {
    margin-top: 12px;
    min-height: 62px;
    border: 2px dashed #96aaa1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #52666a;
    font-weight: 800;
}

.voice-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.voice-box button,
.doctor-toolbar button {
    border: 0;
    background: #173b42;
    color: #fff;
    border-radius: 8px;
    min-height: 42px;
    padding: 0 16px;
    font-weight: 800;
}

.test-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 22px;
}

.single-result {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #b9ded4;
    border-radius: 10px;
    background: #eef8f4;
}

.single-result.show {
    display: flex;
}

.single-result span,
.single-result strong,
.single-result p {
    display: block;
}

.single-result span {
    color: #2c8f78;
    font-size: 13px;
    font-weight: 900;
}

.single-result strong {
    color: #173b42;
    font-size: 22px;
    margin-top: 4px;
}

.single-result p {
    color: #607378;
    margin: 6px 0 0;
}

.single-result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.report-grid {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
    gap: 16px;
}

.panel-visual-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e9e4;
}

.panel-visual-head h2 {
    color: #173b42;
    font-size: 34px;
    margin: 0 0 10px;
}

.panel-visual-head p {
    color: #607378;
    max-width: 620px;
    line-height: 1.8;
    margin: 0;
}

.panel-visual-head img,
.plan-visual {
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(23, 59, 66, .1);
}

.score-card,
.rating-card,
.ai-advice,
.metric-card,
.confusion-card,
.trend-card,
.training-stage,
.doctor-table,
.doctor-list {
    border: 1px solid #e0e7e2;
    border-radius: 10px;
    background: #fbfcfa;
    padding: 20px;
}

.score-card {
    background: #173b42;
    color: #fff;
}

.score-card span,
.metric-card span,
.training-score span {
    color: #75878b;
    font-weight: 800;
}

.score-card span {
    color: rgba(255, 255, 255, .72);
}

.score-card strong {
    display: block;
    font-size: 64px;
    line-height: 1;
    margin: 18px 0 10px;
}

.score-card em,
.metric-card em {
    font-style: normal;
    color: rgba(255, 255, 255, .78);
}

.rating-card div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e7eee8;
}

.rating-card div:last-child {
    border-bottom: 0;
}

.rating-card b {
    color: #c85b2c;
    letter-spacing: 2px;
}

.ai-advice h2,
.confusion-card h3,
.trend-card h3,
.doctor-list h2 {
    margin: 0 0 12px;
    color: #173b42;
}

.ai-advice p {
    color: #5e7074;
    line-height: 1.8;
    margin: 8px 0 0;
}

.metric-card strong {
    display: block;
    color: #173b42;
    font-size: 28px;
    margin: 10px 0;
}

.metric-card em {
    color: #62777a;
}

.confusion-card {
    grid-column: span 3;
}

#wrongWords {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#wrongWords span {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff2e9;
    border: 1px solid #f1c4a9;
    color: #9d3d17;
    border-radius: 8px;
    font-weight: 900;
}

.report-actions {
    grid-column: span 3;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 2px;
}

.doctor-review-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    margin-top: 18px;
}

.doctor-review-card h3 {
    margin: 0 0 8px;
    color: #173b42;
}

.doctor-review-card p {
    margin: 0;
    color: #607378;
    line-height: 1.8;
}

.review-checks {
    display: grid;
    gap: 10px;
}

.review-checks label {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e1e8e3;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: #173b42;
    font-weight: 800;
}

.plan-list {
    display: grid;
    gap: 10px;
}

.plan-visual {
    margin-bottom: 6px;
}

.plan-item {
    border: 1px solid #dde6e0;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
}

.plan-item.active {
    border-color: #2c8f78;
    background: #eef8f4;
}

.plan-item b,
.plan-item strong,
.plan-item span {
    display: block;
}

.plan-item b {
    color: #c85b2c;
}

.plan-item strong {
    color: #173b42;
    margin-top: 6px;
}

.plan-item span {
    color: #68797d;
    margin-top: 4px;
}

.target-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.target-row span {
    color: #68797d;
    font-weight: 800;
}

.target-row strong {
    color: #173b42;
    font-size: 24px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.training-score,
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.training-score {
    grid-template-columns: repeat(4, 1fr);
}

.training-score div {
    background: #fff;
    border: 1px solid #e2e8e2;
    border-radius: 8px;
    padding: 14px;
}

.training-score strong {
    display: block;
    color: #173b42;
    font-size: 22px;
    margin-top: 6px;
}

#finishTraining {
    margin-top: 18px;
}

.line-chart {
    height: 180px;
    display: flex;
    align-items: end;
    gap: 18px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6ede7;
    border-radius: 8px;
}

.line-chart span {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: #2c8f78;
}

.line-chart.green span {
    background: #4b9b45;
}

.line-chart.amber span {
    background: #c56f2c;
}

.axis {
    display: flex;
    justify-content: space-between;
    color: #667a7e;
    font-size: 13px;
    margin-top: 10px;
}

.doctor-list {
    display: grid;
    gap: 8px;
    align-content: start;
}

.doctor-list button {
    text-align: left;
    border: 0;
    background: #fff;
    color: #2f484d;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

.doctor-list button.active {
    background: #173b42;
    color: #fff;
}

.doctor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.doctor-table table {
    width: 100%;
    border-collapse: collapse;
}

.doctor-table th,
.doctor-table td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid #e3e9e4;
}

.doctor-table th {
    color: #607277;
    font-size: 13px;
}

@media (max-width: 980px) {
    .polar-hero-inner,
    .polar-capabilities,
    .clinical-workbench,
    .detect-app-hero,
    .polar-test-layout,
    .training-layout,
    .doctor-board,
    .report-grid,
    .panel-visual-head,
    .doctor-review-card {
        grid-template-columns: 1fr;
    }

    .polar-hero {
        padding-top: 92px;
    }

    .polar-hero h1 {
        font-size: 42px;
    }

    .detect-type-head {
        display: block;
    }

    .detect-type-head strong {
        margin-top: 12px;
    }

    .polar-flow-steps,
    .detect-grid,
    .reliability-strip,
    .patient-form-grid,
    .protocol-steps,
    .quality-dashboard,
    .report-meta,
    .data-grid,
    .training-score,
    .capability-grid,
    .runtime-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .screening-package {
        align-items: stretch;
        flex-direction: column;
    }

    .package-actions,
    .intro-entry-inner,
    .single-result,
    .single-result-actions,
    .clinical-note {
        align-items: stretch;
        flex-direction: column;
    }

    .confusion-card {
        grid-column: auto;
    }

    .report-actions {
        grid-column: auto;
        justify-content: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .polar-hero {
        min-height: auto;
    }

    .polar-hero h1 {
        font-size: 34px;
    }

    .polar-lead {
        font-size: 16px;
    }

    .polar-stats,
    .polar-flow-steps,
    .detect-grid,
    .capability-grid,
    .reliability-strip,
    .patient-form-grid,
    .protocol-steps,
    .quality-dashboard,
    .report-meta,
    .runtime-strip,
    .choice-list,
    .drag-bank,
    .game-board,
    .data-grid,
    .training-score {
        grid-template-columns: 1fr;
    }

    .polar-panel {
        padding: 18px;
    }

    .detect-app-hero {
        padding-top: 88px;
    }

    .polar-tabs {
        position: static;
    }

    .reader-line {
        font-size: 28px;
        letter-spacing: 6px;
    }

    .image-test-scene,
    .confusion-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .line-jump-card p,
    .speed-passage p,
    .comprehension-card p,
    .color-shift-text p {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .depth-stage,
    .eye-row,
    .cover-test {
        grid-template-columns: 1fr;
    }

    .depth-stage {
        display: grid;
        gap: 12px;
    }
}

@media print {
    .website-nav,
    .polar-hero,
    .polar-flow,
    .polar-capabilities,
    .polar-tabs,
    #panel-center,
    #panel-polar,
    #panel-training,
    #panel-data,
    #panel-doctor,
    .report-actions,
    .website-footer,
    footer {
        display: none !important;
    }

    body,
    .polar-page {
        background: #fff !important;
    }

    .polar-workspace {
        max-width: none;
        padding: 0;
    }

    #panel-report {
        display: block !important;
        border: 0;
        box-shadow: none;
        padding: 0;
    }
}
