.exam-submit-mode { min-height: 100vh; background: #f0f4f1; color: #273f34; }
.exam-submit-shell { width: min(640px, 100%); margin: 0 auto; padding: 32px 20px 56px; }
.exam-submit-brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 750; margin-bottom: 26px; }
.exam-submit-brand .brand-mark { background: #dbece3; color: #315e47; }
.exam-submit-card { background: #fff; border: 1px solid #dbe5dd; border-radius: 20px; padding: 36px; box-shadow: 0 14px 50px #254a3010; }
.exam-submit-heading { margin-bottom: 30px; }
.exam-submit-heading h1 { font-size: 30px; margin: 7px 0 12px; line-height: 1.4; }
.exam-submit-heading > p:last-child { color: #6b7c70; margin: 0; font-size: 15px; line-height: 1.8; }
.exam-submit-heading .eyebrow { color: #668271; font-size: 11px; letter-spacing: .13em; margin-top: 18px; }
.exam-submit-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; background: #eaf2eb; border-radius: 14px; }
.exam-submit-icon img { width: 24px; height: 24px; }
.exam-submit-card label { font-size: 16px; gap: 10px; }
.exam-submit-card :is(input,select) { min-height: 50px; border-color: #cfdcd2; font-size: 17px; }
.exam-submit-card .two-col { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.exam-submit-card textarea { min-height: 120px; border-color: #cfdcd2; font-size: 17px; line-height: 1.7; }
.exam-links-content { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.exam-links-content + .exam-links-url { margin-top: 8px; }
.exam-submit-card .message:empty, .exam-links-panel .message:empty { display: none; }
.exam-submit-card .message:not(:empty), .exam-links-panel .message:not(:empty) { margin: 0; line-height: 1.7; }
.exam-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.exam-button img { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.primary-button.exam-button { background: #365f4b; }
.primary-button.exam-button img { filter: brightness(0) invert(1); }
.exam-submit-card .exam-button { min-height: 50px; }
.exam-submit-card .primary-button { margin-top: 8px; }
.exam-button:disabled { opacity: .55; cursor: not-allowed; }
.exam-receipt { text-align: center; padding: 12px 0 4px; }
.exam-success-mark { display: grid; place-items: center; font-size: 32px; width: 66px; height: 66px; margin: 0 auto 22px; background: #e7f4e9; color: #3c7251; border-radius: 50%; }
.exam-receipt h2 { font-size: 26px; margin-bottom: 14px; }
.exam-receipt p { line-height: 1.8; }
.exam-receipt .exam-button { margin: 22px auto 0; }
.exam-links-panel { margin: 0 0 24px; }
.exam-links-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.exam-links-heading h3 { margin: 0 0 6px; font-size: 20px; }
.exam-links-heading p { margin: 0; line-height: 1.6; font-size: 13px; }
.exam-links-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.exam-links-filters { display: grid; grid-template-columns: minmax(120px,1fr) minmax(140px,1fr) minmax(200px,2fr); gap: 14px; margin-bottom: 18px; align-items: end; }
.exam-links-filters label { min-width: 0; line-height: 20px; }
.exam-links-filters :is(input,select) { min-height: 44px; line-height: 20px; }
.exam-links-count { font-size: 13px; color: #6a7d6e; margin: 12px 0; }
.exam-links-table-wrap { overflow: auto; max-height: 430px; border: 1px solid #dce4dc; border-radius: 9px; }
.exam-links-table { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.exam-links-table th { position: sticky; top: 0; z-index: 1; background: #f0f5ef; color: #5f7564; text-align: left; }
.exam-links-table :is(th,td) { padding: 14px; border-bottom: 1px solid #e7ece6; vertical-align: middle; line-height: 1.7; }
.exam-links-table th:nth-child(1) { width: 90px; }
.exam-links-table th:nth-child(2) { width: 80px; }
.exam-links-table th:nth-child(3) { width: 110px; }
.exam-links-table th:last-child { width: 174px; }
.exam-links-table td { overflow-wrap: anywhere; }
.exam-links-table tbody tr:last-child td { border-bottom: 0; }
.exam-links-url { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 100%; text-decoration: none; color: #35644a; }
.exam-links-url span { font-weight: 700; }
.exam-links-url small { color: #718176; font-size: 12px; overflow-wrap: anywhere; }
.exam-links-panel .message { margin-bottom: 12px; }
.exam-submit-mode .hidden, .exam-links-panel.hidden { display: none !important; }
@media (max-width: 900px) { .exam-links-heading { align-items: flex-start; flex-wrap: wrap; } .exam-links-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } .exam-links-filters label:last-child { grid-column: 1 / -1; } }
@media (max-width: 490px) { .exam-submit-shell { padding: 22px 14px 36px; } .exam-submit-card { padding: 26px 22px; } .exam-submit-heading h1 { font-size: 27px; } .exam-submit-card .two-col { grid-template-columns: 1fr; } .exam-links-actions { width: 100%; } .exam-links-actions .exam-button { flex: 1; } .exam-links-table-wrap { max-height: 360px; } }
.exam-links-availability { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: #f1f6f0; border: 1px solid #dce7db; border-radius: 9px; margin-bottom: 20px; }
.exam-links-availability strong { display: inline-flex; align-items: center; gap: 8px; color: #35644a; line-height: 1.6; font-size: 15px; }
.exam-links-availability strong::before { content: ''; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #4b895f; }
.exam-links-availability strong.is-closed { color: #8b5f3d; }
.exam-links-availability strong.is-closed::before { background: #b5814e; }
.exam-links-availability p { margin: 5px 0 0; color: #6b7b6d; font-size: 13px; line-height: 1.7; }
.exam-links-availability .exam-button { flex-shrink: 0; min-width: 110px; }
.primary-button.exam-close-button { background: #8d5646; }
.exam-submission-status { margin: 0; padding: 14px 16px; border: 1px solid #ead8be; background: #fcf5e9; color: #805937; border-radius: 9px; font-size: 16px; line-height: 1.8; font-weight: 700; }
@media (max-width: 490px) { .exam-links-availability { align-items: stretch; flex-direction: column; gap: 12px; } .exam-links-availability .exam-button { width: 100%; } }
.exam-upload-field { min-width: 0; display: grid; gap: 10px; padding: 18px; border: 1px dashed #bdcebf; background: #f7faf6; border-radius: 10px; }
.exam-submit-card input[type="file"] { min-height: 44px; max-width: 100%; font-size: 14px; padding: 8px; background: #fff; }
.exam-upload-hint { color: #6b7c70; font-size: 13px; line-height: 1.8; margin: 0; }
.exam-file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.exam-file-list:empty { display: none; }
.exam-file-list li { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-top: 1px solid #e0e9dc; padding-top: 10px; }
.exam-file-list li > div { display: grid; gap: 4px; min-width: 0; }
.exam-file-list strong { overflow-wrap: anywhere; font-size: 14px; }
.exam-file-list span { font-size: 12px; color: #748171; }
.exam-file-list button { flex-shrink: 0; min-height: 36px; font-size: 13px; }
.exam-attachments { display: grid; gap: 9px; list-style: none; padding: 0; margin: 12px 0 0; }
.exam-attachments li { display: grid; gap: 2px; }
.exam-attachments a { display: inline-flex; align-items: center; gap: 7px; color: #35644a; text-decoration: none; font-weight: 650; max-width: 100%; }
.exam-attachments a span { min-width: 0; overflow-wrap: anywhere; }
.exam-attachments img { width: 16px; height: 16px; flex: 0 0 16px; }
.exam-attachments small { color: #718176; font-size: 12px; padding-left: 23px; }
