.fc-page-shell { display: flex; flex-direction: column; gap: 1rem; height: 100%; min-height: 0; }
.fc-page-header, .fc-overview-panel, .fc-analysis-panel { border: 1px solid rgba(148, 163, 184, 0.24); background: rgba(255, 255, 255, 0.96); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); }
.fc-page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 1.25rem; }
.fc-page-header h1, .fc-panel-heading h2, .fc-trend-heading h3 { margin: 0; color: #0f172a; font-weight: 800; }
.fc-page-header h1 { font-size: 1.65rem; }
.fc-eyebrow { margin: 0 0 0.2rem; color: #64748b; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.fc-back-button { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #f8fafc; color: #334155; transition: background 0.2s, transform 0.2s; }
.fc-back-button:hover { background: #e2e8f0; transform: translateX(-2px); }
.fc-week-badge { padding: 0.4rem 0.7rem; border-radius: 999px; background: #002147; color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; white-space: nowrap; }
.fc-page-grid { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.45fr); gap: 1rem; flex: 1; min-height: 0; }
.fc-overview-panel, .fc-analysis-panel { min-height: 0; padding: 1.25rem; border-radius: 1.25rem; }
.fc-overview-panel { display: flex; flex-direction: column; }
.fc-analysis-panel { overflow-y: auto; }
.fc-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.fc-panel-heading h2 { font-size: 1.2rem; }
.fc-analysis-header { align-items: center; }
.fc-analysis-last-score { display: flex; flex-shrink: 0; align-items: baseline; justify-content: flex-end; gap: 0.4rem; text-align: right; }
.fc-analysis-last-score .fc-eyebrow { margin: 0; }
.fc-analysis-last-score h2 { color: #0f172a; }
.fc-status-badge { padding: 0.4rem 0.7rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.fc-status-badge.is-open, .fc-status-badge.is-closed { border: 1px solid #002147; background: #002147; color: #fff; }
.fc-status-badge.is-cheated { border: 1px solid #b91c1c; background: #fef2f2; color: #991b1b; }
.app-dark #page-fc .fc-week-badge,
.app-dark #page-et .fc-week-badge,
.app-dark #page-ic .fc-week-badge,
.app-dark #page-fc .fc-status-badge,
.app-dark #page-et .fc-status-badge,
.app-dark #page-ic .fc-status-badge { border-color: #fff; background: #fff; color: #002147; }
.app-dark #page-fc .fc-status-badge.is-cheated,
.app-dark #page-et .fc-status-badge.is-cheated,
.app-dark #page-ic .fc-status-badge.is-cheated { border-color: #fca5a5; background: #7f1d1d; color: #fff; }
.app-dark #page-fc .fc-action-button,
.app-dark #page-et .fc-action-button,
.app-dark #page-ic .fc-action-button { background: #fff; color: #002147; }
.app-dark #page-fc .fc-action-button:hover,
.app-dark #page-et .fc-action-button:hover,
.app-dark #page-ic .fc-action-button:hover { filter: brightness(0.92); }
.fc-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.fc-stat-card { padding: 1rem; border: 1px solid #e2e8f0; border-radius: 0.95rem; background: #f8fafc; }
.fc-stat-card span { display: block; color: #64748b; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fc-stat-card strong { display: block; margin-top: 0.35rem; color: #0f172a; font-size: 1.35rem; font-weight: 800; }
.fc-focus-tip { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem 0 0; padding: 0.8rem 0.9rem; border-left: 0.25rem solid #2563eb; border-radius: 0.65rem; background: #eff6ff; color: #1e3a8a; font-size: 0.78rem; font-weight: 700; line-height: 1.45; }
.fc-focus-tip i { flex-shrink: 0; margin-top: 0.15rem; color: #2563eb; }
.fc-student-message { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.7rem 0 0; padding: 0.8rem 0.9rem; border-left: 0.25rem solid #f59e0b; border-radius: 0.65rem; background: #fffbeb; color: #92400e; font-size: 0.78rem; font-weight: 700; line-height: 1.45; }
.fc-student-message i { flex-shrink: 0; margin-top: 0.15rem; color: #f59e0b; }
.fc-action-area { display: flex; flex: 1; align-items: flex-end; margin-top: 1rem; }
.fc-action-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem 1rem; border-radius: 0.7rem; background: #002147; color: #fff; font-size: 0.8rem; font-weight: 800; transition: filter 0.2s, transform 0.2s; }
.fc-action-button:hover { filter: brightness(1.15); transform: translateY(-1px); }
.fc-closed-message { width: 100%; padding: 0.9rem 1rem; border-left: 0.3rem solid #f59e0b; border-radius: 0.7rem; background: #fffbeb; color: #92400e; font-size: 0.8rem; font-weight: 700; }
.fc-opened-message { width: 100%; padding: 0.9rem 1rem; border-left: 0.3rem solid #22c55e; border-radius: 0.7rem; background: #f0fdf4; color: #166534; font-size: 0.8rem; font-weight: 700; }
.fc-answer-bar { display: flex; height: 1rem; margin-top: 1.35rem; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.fc-answer-segment { min-width: 0; transition: width 0.25s ease; }
.fc-answer-correct { background: #22c55e; }
.fc-answer-unanswered { background: #facc15; }
.fc-answer-incorrect { background: #ef4444; }
.fc-answer-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 0.7rem; color: #64748b; font-size: 0.75rem; }
.fc-answer-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.fc-answer-legend strong { color: #0f172a; }
.fc-legend-dot { width: 0.65rem; height: 0.65rem; border-radius: 0.2rem; }
.fc-trend-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.fc-trend-heading h3 { font-size: 1.05rem; }
.fc-trend-heading > span { color: #64748b; font-size: 0.7rem; font-weight: 800; }
.fc-chart-wrap { display: flex; gap: 0.55rem; height: 14rem; margin-top: 1rem; }
.fc-chart-y-labels { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: space-between; height: calc(100% - 1.6rem); padding: 0; color: #94a3b8; font-size: 0.7rem; font-weight: 700; }
.fc-chart-y-labels span { line-height: 1; transform: translateY(-50%); }
.fc-chart { position: relative; flex: 1; min-width: 0; padding-bottom: 1.6rem; }
.fc-chart-grid { position: absolute; inset: 0 0 1.6rem; display: flex; flex-direction: column; justify-content: space-between; }
.fc-chart-grid span { border-top: 1px dashed #cbd5e1; }
.fc-score-chart { position: absolute; inset: 0 0 1.6rem; width: 100%; height: calc(100% - 1.6rem); overflow: visible; }
.fc-score-line { fill: none; stroke: #002147; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.fc-score-point-group { outline: none; }
.fc-score-hit-area { fill: transparent; cursor: pointer; }
.fc-score-point { fill: #fff; stroke: #002147; stroke-width: 3; }
.fc-score-tooltip { opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.fc-score-tooltip path { fill: #002147; }
.fc-score-tooltip text { fill: #fff; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; }
.fc-score-point-group:hover .fc-score-tooltip,
.fc-score-point-group:focus .fc-score-tooltip { opacity: 1; }
.fc-chart-labels { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #64748b; font-size: 0.68rem; font-weight: 700; }
.fc-quiz-shell { position: relative; }
.fc-quiz-shell .lp-question-panel { overflow-y: auto; overscroll-behavior: contain; }
.fc-quiz-shell .lp-progress-track { position: sticky; top: 0; z-index: 2; flex-shrink: 0; background: #e2e8f0; }
.fc-quiz-shell .lp-question-panel > #fc-quiz-content, .fc-quiz-shell .lp-question-panel > #et-quiz-content, .fc-quiz-shell .lp-question-panel > #ic-quiz-content { flex: 1 1 auto; min-height: 0; overflow: visible; }
.fc-quiz-shell .lp-navigation { position: sticky; bottom: 0; z-index: 2; flex-shrink: 0; padding: 0.6rem 0 0.15rem; background: transparent; }
.fc-quiz-shell .lp-choice.is-selected { border-color: var(--choice-strong); background: var(--choice-selected); box-shadow: 0 4px 12px var(--choice-shadow); }
.ic-answer-field { display: grid; gap: 0.55rem; max-width: 52rem; margin: 1.5rem auto; }
.ic-answer-field span { color: #64748b; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ic-answer-field textarea { box-sizing: border-box; width: 100%; height: 15rem; min-height: 15rem; max-height: 15rem; resize: none; padding: 0.9rem 1rem; border: 2px solid #cbd5e1; border-radius: 0.75rem; background: #f8fafc; color: #0f172a; font: inherit; font-size: 0.9rem; font-weight: 600; line-height: 1.5; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.ic-answer-field textarea:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.ic-good-luck { margin: 0.5rem 0 0; color: #64748b; font-size: 0.85rem; }
.app-dark #page-fc .fc-page-header,
.app-dark #page-fc .fc-overview-panel,
.app-dark #page-fc .fc-analysis-panel,
.app-dark #page-et .fc-page-header,
.app-dark #page-et .fc-overview-panel,
.app-dark #page-et .fc-analysis-panel,
.app-dark #page-ic .fc-page-header,
.app-dark #page-ic .fc-overview-panel,
.app-dark #page-ic .fc-analysis-panel { border-color: #24466b; background: rgba(0, 26, 56, 0.96); }
.app-dark #page-fc .fc-page-header h1,
.app-dark #page-fc .fc-panel-heading h2,
.app-dark #page-fc .fc-trend-heading h3,
.app-dark #page-fc .fc-analysis-last-score h2,
.app-dark #page-fc .fc-stat-card strong,
.app-dark #page-fc .fc-answer-legend strong,
.app-dark #page-et .fc-page-header h1,
.app-dark #page-et .fc-panel-heading h2,
.app-dark #page-et .fc-trend-heading h3,
.app-dark #page-et .fc-analysis-last-score h2,
.app-dark #page-et .fc-stat-card strong,
.app-dark #page-et .fc-answer-legend strong,
.app-dark #page-ic .fc-page-header h1,
.app-dark #page-ic .fc-panel-heading h2,
.app-dark #page-ic .fc-trend-heading h3,
.app-dark #page-ic .fc-analysis-last-score h2,
.app-dark #page-ic .fc-stat-card strong,
.app-dark #page-ic .fc-answer-legend strong { color: #f1f5f9; }
.app-dark #page-fc .fc-eyebrow,
.app-dark #page-fc .fc-stat-card span,
.app-dark #page-fc .fc-answer-legend,
.app-dark #page-fc .fc-trend-heading > span,
.app-dark #page-fc .fc-chart-labels,
.app-dark #page-et .fc-eyebrow,
.app-dark #page-et .fc-stat-card span,
.app-dark #page-et .fc-answer-legend,
.app-dark #page-et .fc-trend-heading > span,
.app-dark #page-et .fc-chart-labels,
.app-dark #page-ic .fc-eyebrow,
.app-dark #page-ic .fc-stat-card span,
.app-dark #page-ic .fc-answer-legend,
.app-dark #page-ic .fc-trend-heading > span,
.app-dark #page-ic .fc-chart-labels { color: #a8b6c8; }
.app-dark #page-fc .fc-back-button,
.app-dark #page-et .fc-back-button,
.app-dark #page-ic .fc-back-button { border-color: #24466b; background: #0b3158; color: #e2e8f0; }
.app-dark #page-fc .fc-back-button:hover,
.app-dark #page-et .fc-back-button:hover,
.app-dark #page-ic .fc-back-button:hover { background: #164574; }
.app-dark #page-fc .fc-stat-card,
.app-dark #page-et .fc-stat-card,
.app-dark #page-ic .fc-stat-card { border-color: #24466b; background: #001a38; }
.app-dark #page-fc .fc-focus-tip,
.app-dark #page-et .fc-focus-tip,
.app-dark #page-ic .fc-focus-tip { border-left-color: #60a5fa; background: #142f50; color: #dbeafe; }
.app-dark #page-fc .fc-focus-tip i,
.app-dark #page-et .fc-focus-tip i,
.app-dark #page-ic .fc-focus-tip i { color: #93c5fd; }
.app-dark #page-fc .fc-student-message,
.app-dark #page-et .fc-student-message,
.app-dark #page-ic .fc-student-message { border-left-color: #fbbf24; background: #422f16; color: #fde68a; }
.app-dark #page-fc .fc-closed-message,
.app-dark #page-et .fc-closed-message,
.app-dark #page-ic .fc-closed-message { border-left-color: #fbbf24; background: #422f16; color: #fde68a; }
.app-dark #page-fc .fc-opened-message,
.app-dark #page-et .fc-opened-message,
.app-dark #page-ic .fc-opened-message { border-left-color: #4ade80; background: #15382e; color: #bbf7d0; }
.app-dark #page-fc .fc-answer-bar,
.app-dark #page-et .fc-answer-bar,
.app-dark #page-ic .fc-answer-bar { background: #24466b; }
.app-dark #page-fc .fc-chart-grid span,
.app-dark #page-et .fc-chart-grid span,
.app-dark #page-ic .fc-chart-grid span { border-top-color: #365777; }
.app-dark #page-fc .fc-score-line,
.app-dark #page-et .fc-score-line,
.app-dark #page-ic .fc-score-line { stroke: #60a5fa; }
.app-dark #page-fc .fc-score-point,
.app-dark #page-et .fc-score-point,
.app-dark #page-ic .fc-score-point { fill: #0b3158; stroke: #93c5fd; }
.app-dark #page-fc .fc-score-tooltip path,
.app-dark #page-et .fc-score-tooltip path,
.app-dark #page-ic .fc-score-tooltip path { fill: #e2e8f0; }
.app-dark #page-fc .fc-score-tooltip text,
.app-dark #page-et .fc-score-tooltip text,
.app-dark #page-ic .fc-score-tooltip text { fill: #001a38; }
.app-dark #page-ic-quiz .ic-answer-field span { color: #a8b6c8; }
.app-dark #page-ic-quiz .ic-answer-field textarea { border-color: #365777; background: #001a38; color: #f1f5f9; }
.app-dark #page-ic-quiz .ic-answer-field textarea::placeholder { color: #8fa4bb; }
.app-dark #page-ic-quiz .ic-answer-field textarea:focus { border-color: #60a5fa; background: #0b3158; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18); }
.app-dark #page-lp .lp-progress-fill,
.app-dark #page-fc-quiz .lp-progress-fill,
.app-dark #page-et-quiz .lp-progress-fill,
.app-dark #page-ic-quiz .lp-progress-fill { background: #fff; }
.app-dark #page-ic-quiz .ic-good-luck { color: #a8b6c8; }
.fc-confetti-layer { position: fixed; inset: 0; z-index: 300; overflow: hidden; pointer-events: none; }
.fc-confetti-piece { position: absolute; top: 45%; left: 50%; opacity: 0; animation: fc-confetti-physics var(--confetti-duration) cubic-bezier(0.18, 0.72, 0.28, 1) forwards; will-change: transform, opacity; }
@keyframes fc-confetti-physics { 0% { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(0.35) rotate(0deg); animation-timing-function: cubic-bezier(0.12, 0.8, 0.2, 1); } 5% { opacity: 1; transform: translate3d(calc(-50% + var(--confetti-burst-x)), calc(-50% + var(--confetti-burst-y)), 0) scale(1) rotate(var(--confetti-burst-rotation)); animation-timing-function: linear; } 100% { opacity: 0; transform: translate3d(calc(-50% + var(--confetti-fall-x)), calc(-50% + var(--confetti-fall-y)), 0) scale(0.8) rotate(var(--confetti-fall-rotation)); } }
@media (max-width: 800px) { .fc-page-grid { grid-template-columns: 1fr; overflow-y: auto; } .fc-overview-panel { min-height: 19rem; } .fc-analysis-panel { min-height: 25rem; } }
@media (max-width: 520px) { .fc-page-header { align-items: flex-start; flex-wrap: wrap; padding: 1rem; } .fc-page-header h1 { font-size: 1.35rem; } .fc-overview-panel, .fc-analysis-panel { padding: 1rem; } .fc-chart-wrap { height: 12rem; } }
