.identify-page {
    padding-bottom: 4rem;
}

.identify-hero {
    padding: 1.5rem 0 0;
}

.identify-sheet-wrap {
    margin-top: 1.5rem;
}

.identify-sheet {
    position: relative;
    padding: 2rem;
    border: 4px solid #1a1a1a;
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(0, 0, 0, 0.08) 0 2px, transparent 3px 100%),
        radial-gradient(circle at top right, rgba(0, 0, 0, 0.08) 0 2px, transparent 3px 100%),
        #fffdf8;
    box-shadow: 0 18px 40px rgba(23, 38, 60, 0.08);
}

.identify-sheet::before {
    content: '';
    position: absolute;
    inset: -22px;
    border: 4px solid #1a1a1a;
    border-radius: 34px;
    pointer-events: none;
    opacity: 0.12;
}

.identify-header {
    margin-bottom: 1.5rem;
}

.identify-header h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: "Trebuchet MS", "Comic Sans MS", Arial, sans-serif;
}

.identify-header p {
    margin: 0;
    font-size: 1.1rem;
    color: #2d2d2d;
}

.example-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 3px solid #69bdf0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(235, 248, 255, 0.85), rgba(255, 255, 255, 0.98));
}

.example-card h3 {
    margin: 0 0 0.75rem;
    color: #1d3f69;
    font-size: 1.4rem;
}

.example-frame {
    display: grid;
    gap: 1rem;
}

.example-steps {
    margin: 0;
    padding-left: 1.15rem;
    color: #27415d;
    font-weight: 700;
}

.worksheet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.question-list {
    display: grid;
    gap: 1rem;
}

.identify-card {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 3px solid #1a1a1a;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
}

.identify-card.is-correct {
    border-color: #1e7b42;
    box-shadow: inset 0 0 0 3px rgba(46, 168, 95, 0.16);
}

.identify-line-shell {
    display: grid;
    gap: 1rem;
    position: relative;
}

.identify-svg {
    width: 100%;
    height: 120px;
    overflow: visible;
}

.track-line {
    stroke: #243852;
    stroke-width: 4;
    stroke-linecap: round;
}

.tick-line {
    stroke: #243852;
    stroke-width: 3;
}

.tick-label {
    font-family: "Trebuchet MS", "Comic Sans MS", Arial, sans-serif;
    font-size: 16px;
    fill: #243852;
    text-anchor: middle;
}

.fraction-tick-label {
    font-size: 14px;
}

.highlight-point {
    fill: #56b8ef;
    stroke: #ffffff;
    stroke-width: 4;
}

.fraction-answer {
    display: flex;
    justify-content: flex-start;
    padding: 0 28px;
}

.fraction-input-stack {
    display: inline-grid;
    justify-items: center;
    gap: 0.2rem;
    margin-left: calc(var(--answer-position, 50%) - 31px);
}

.fraction-input-stack input {
    width: 62px;
    height: 54px;
    border: 3px solid #5cb9ef;
    border-radius: 12px;
    text-align: center;
    font-family: "Trebuchet MS", "Comic Sans MS", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    color: #1f3e69;
}

.fraction-input-stack input.is-wrong {
    border-color: #d74646;
    color: #a11f1f;
}

.fraction-input-stack input.is-right {
    border-color: #1e7b42;
    color: #1e7b42;
}

.fraction-divider {
    width: 100%;
    border-top: 4px solid #1f3e69;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.card-feedback {
    min-height: 24px;
    font-weight: 800;
    color: #2d2d2d;
    text-align: center;
}

.card-feedback.is-right {
    color: #1e7b42;
}

.card-feedback.is-wrong {
    color: #a11f1f;
}

@media (max-width: 760px) {
    .identify-sheet {
        padding: 1rem;
    }

    .identify-sheet::before {
        display: none;
    }

    .worksheet-actions {
        display: grid;
    }

    .worksheet-actions .button,
    .card-actions .button {
        width: 100%;
    }
}
