:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #26343b; background: #f6f8fa; font-synthesis: none; font-size: 14px;
  --muted: #78858e; --line: #e2e8eb; --green: #19856d;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; border-top: 4px solid #243c43; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, input, select, a, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--green); }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
svg { display: inline-block; flex-shrink: 0; width: 18px; height: 18px; stroke-width: 1.7; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 27px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
h2 { font-size: 19px; line-height: 1.5; font-weight: 650; }
h3 { font-size: 13px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { max-width: 1600px; margin: auto; display: flex; align-items: center; gap: 30px; min-height: 67px; padding: 0 36px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 5px; background: #e3efea; color: var(--green); }
.brand-mark svg { width: 17px; height: 17px; }
nav { display: flex; gap: 6px; min-width: 0; }
.nav-link { display: flex; align-items: center; gap: 7px; color: var(--muted); padding: 10px 12px; font-size: 12px; border-radius: 4px; white-space: nowrap; }
.nav-link svg { width: 15px; height: 15px; }
.nav-link:hover { color: #253e37; background: #edf1f0; }
.nav-link.active { color: var(--green); background: #e9f2ed; }
.header-note { margin-left: auto; font-size: 10px; color: #95a0a6; white-space: nowrap; }
main { max-width: 1600px; margin: auto; padding: 28px 36px 24px; }
section, aside, #overview { scroll-margin-top: 20px; }
.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 25px; }
.page-heading > div:first-child { min-width: 0; }
.heading-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.scheduling-note { color: #d34a64; font-size: 14px; line-height: 1.7; }
.eyebrow { color: #85939b; font-size: 10px; margin-bottom: 7px; font-weight: 600; }
.page-heading .muted { font-size: 12px; line-height: 1.8; margin-top: 9px; overflow-wrap: anywhere; }
.heading-status { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; flex-shrink: 0; }
.topbar-actions { display: flex; gap: 15px; align-items: center; margin-top: 3px; }
.auto-control { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); position: relative; cursor: pointer; }
.auto-control input { position: absolute; right: 0; opacity: 0; width: 30px; height: 22px; cursor: pointer; }
.switch-track { width: 30px; height: 18px; padding: 3px; border-radius: 10px; background: #c9ced1; pointer-events: none; }
.switch-track::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: white; transition: transform .15s; }
.auto-control input:checked + .switch-track { background: var(--green); }
.auto-control input:checked + .switch-track::before { transform: translateX(12px); }
.auto-control input:focus-visible + .switch-track { outline: 2px solid var(--green); outline-offset: 3px; }
.button, .icon-button { border: 1px solid #dce3e6; background: white; border-radius: 5px; color: #52616b; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 12px; font-size: 12px; }
.button:hover, .icon-button:hover { background: #f0f5f2; border-color: #aac9bd; }
.icon-button { width: 34px; height: 34px; padding: 0; flex-shrink: 0; }
.compact { min-height: 30px; padding: 5px 9px; font-size: 11px; }
.compact svg { width: 13px; height: 13px; }
.button.primary { background: #213f47; border-color: #213f47; color: white; }
.button.primary:hover { background: #2e5157; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 28px; align-items: start; }
.monitor-column { min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.stat { border: 1px solid var(--line); background: white; padding: 18px 16px; border-radius: 6px; min-width: 0; }
.stat:last-child { background: #253f45; border-color: #253f45; color: white; }
.stat:last-child .stat-label, .stat:last-child .stat-bottom { color: #b8cdcf; }
.stat-label { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.stat-label svg { width: 14px; height: 14px; color: #a1b2b8; }
.stat-number { font-size: 32px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; margin: 12px 0 8px; min-height: 42px; line-height: 1.3; }
.stat-number.success { color: var(--green); }
.stat-number .unit { font-size: 18px; margin-left: 2px; }
.stat-number.waiting { font-size: 18px; padding-top: 8px; }
.stat-bottom { font-size: 10px; color: #86949b; line-height: 1.8; }
.progress-track { height: 2px; background: #e8f2ed; margin-top: 6px; }
.progress-track > span { display: block; height: 100%; background: #32a286; width: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 7px; font-size: 10px; font-weight: 550; line-height: 1.4; border-radius: 3px; white-space: nowrap; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.ok { color: #19735e; background: #e8f5ef; }
.badge.wrong { color: #b65363; background: #fceef1; }
.badge.error { color: #9c701f; background: #fbf1dd; }
.badge.running { color: #687bb5; background: #edf0fb; }
.badge.empty { color: #7c8890; background: #ecf0f2; }
.section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.section-title h2 { overflow-wrap: anywhere; }
.section-index { display: grid; place-items: center; width: 34px; height: 36px; border: 1px solid var(--line); color: #94a1a8; font-size: 11px; border-radius: 5px; flex-shrink: 0; background: white; }
.tag { color: #91a0a7; font-size: 9px; border: 1px solid var(--line); padding: 3px 5px; border-radius: 3px; }
.timeline-toolbar { display: flex; justify-content: space-between; gap: 14px; margin: 24px 0 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 5px; }
.dot { width: 7px; height: 7px; border-radius: 2px; }
.dot.ok, .slot.ok { background: #37a687; }
.dot.wrong, .slot.wrong { background: #d9607b; }
.dot.error, .slot.error { background: #dca639; }
.dot.running, .slot.running { background: #7a90d8; }
.dot.empty, .slot.empty { background: #e1e7eb; }
.timeline-grid { display: grid; grid-template-columns: repeat(144, minmax(0, 1fr)); gap: 4px 2px; min-height: 27px; }
.slot { width: 100%; height: 27px; border: 0; border-radius: 2px; padding: 0; }
.slot:hover, .slot:focus-visible { box-shadow: 0 0 0 2px #335e51; filter: brightness(.93); }
.slot.running { animation: blink 1.8s ease-in-out infinite; }
.timeline-axis { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: #8f9da4; margin-top: 12px; }
.schedule { display: flex; justify-content: space-between; gap: 16px; padding: 21px 0; font-size: 11px; color: #8998a0; }
.schedule > div { display: flex; gap: 10px; flex-wrap: wrap; }
.schedule strong { color: #5d707a; font-weight: 450; font-variant-numeric: tabular-nums; }
.record-disclosure { border-top: 1px solid var(--line); padding-top: 12px; }
.record-disclosure summary { cursor: pointer; font-size: 12px; color: #62767b; width: fit-content; }
.record-disclosure[open] { border-left: 3px solid #a1c8ba; padding: 15px; background: #edf3f0; border-radius: 0 5px 5px 0; }
.record-disclosure[open] summary { margin-bottom: 18px; }
.records-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.segmented { display: inline-flex; background: #eaf0f1; border: 1px solid #e4e9eb; border-radius: 5px; padding: 2px; flex-shrink: 0; }
.segmented button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; border: 0; background: transparent; padding: 5px 10px; min-width: 50px; min-height: 28px; font-size: 11px; color: #7d8d93; border-radius: 3px; }
.segmented button.selected { color: #315d4d; background: white; box-shadow: 0 1px 3px #182e1920; }
.segmented svg { width: 13px; height: 13px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
th { color: #899aa3; text-align: left; font-weight: 450; padding: 9px 10px; background: #f4f7f7; }
th:first-child { width: 36%; }
th:nth-child(2) { width: 30%; }
th:last-child { width: 36px; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: #5d717a; }
tr[data-slot] { cursor: pointer; }
tr[data-slot]:hover { background: #f8fbf9; }
.row-button { width: 25px; height: 25px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; color: #8b9da3; }
.row-button svg { width: 15px; height: 15px; }
.text-button { border: 0; background: transparent; padding: 8px; color: #567363; font-size: 11px; display: inline-flex; gap: 5px; align-items: center; }
.text-button svg { width: 13px; height: 13px; }
.more { display: flex; margin: 12px auto 0; }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0 5px; }
.gallery-section > .section-heading { flex-wrap: wrap; }
.gallery-monitor-note { flex: 1 1 240px; max-width: 360px; margin: 0 0 0 auto; color: #c6364b; font-size: 12px; line-height: 1.8; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .gallery-monitor-note { order: 1; flex-basis: 100%; max-width: none; margin: 0; text-align: left; }
}
.gallery-description { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; margin: 12px 0 18px; }
.gallery-description > .muted { overflow-wrap: anywhere; min-width: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-height: 760px; overflow-y: auto; scrollbar-width: thin; padding: 1px 8px 1px 1px; overscroll-behavior: contain; }
.work-item { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; align-self: start; }
.account-label { display: flex; align-items: center; gap: 6px; min-height: 35px; padding: 8px 10px; font-size: 10px; color: #4d6570; }
.account-label span { min-width: 0; overflow-wrap: anywhere; }
.account-label svg { width: 12px; height: 12px; color: #98a8ae; }
.work-preview { padding: 0; border: 0; width: 100%; aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; background: #edf2f4; }
.work-preview img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.quality-ribbon { position: absolute; top: 0; right: 0; width: 108px; height: 108px; overflow: hidden; pointer-events: none; z-index: 1; }
.quality-ribbon > span { position: absolute; top: 34px; right: -22px; width: 152px; padding: 5px 0; transform: rotate(45deg); color: white; font-size: 11px; line-height: 16px; font-weight: 700; text-align: center; white-space: nowrap; box-shadow: 0 2px 4px #0002; }
.quality-ribbon-degraded > span { background: #ab384b; }
.quality-ribbon-suspicious > span { background: #92600d; }
@media (max-width: 620px) {
  .work-preview .quality-ribbon { width: 72px; height: 72px; }
  .work-preview .quality-ribbon > span { width: 102px; top: 20px; right: -15px; padding: 3px 0; font-size: 9px; line-height: 12px; }
}
.zoom-cue { position: absolute; bottom: 8px; right: 8px; width: 25px; height: 25px; display: grid; place-items: center; background: #fffffff0; color: #596e77; border-radius: 4px; border: 1px solid #e3eaed; opacity: 0; }
.work-preview:hover .zoom-cue, .work-preview:focus-visible .zoom-cue { opacity: 1; }
.zoom-cue svg { width: 13px; height: 13px; }
.image-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #92a1a8; text-align: center; font-size: 11px; padding: 12px; }
.work-info { border-top: 1px solid var(--line); padding: 10px; }
.work-line { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 10px; color: #627983; flex-wrap: wrap; }
.work-meta { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; color: #92a0a7; margin-top: 6px; }
.work-model { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.work-meta > span:last-child { white-space: nowrap; }
.gallery-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; }
.gallery-footer .small { font-size: 11px; }
.tests-column { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.test-panel { padding: 21px; background: white; border: 1px solid var(--line); border-radius: 7px; min-width: 0; }
.test-panel h2 { font-size: 18px; margin-bottom: 9px; }
.test-description { margin-bottom: 9px; font-size: 12px; line-height: 1.85; color: #627983; overflow-wrap: anywhere; }
.test-note { margin-bottom: 18px; font-size: 11px; line-height: 1.8; color: #627983; overflow-wrap: anywhere; }
.test-note-warning { color: #ac4550; }
.test-form { display: grid; gap: 13px; }
.test-form label { display: grid; gap: 7px; font-size: 11px; color: #75878f; min-width: 0; }
.test-form input:not([type="checkbox"]), .test-form select { width: 100%; min-width: 0; height: 37px; border: 1px solid #dfe5e8; background: #fbfcfd; padding: 8px 9px; border-radius: 5px; color: #354e59; font-size: 11px; }
.test-form input::placeholder { color: #a0adb3; }
.field-row { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 10px; }
.test-form .consent { display: flex; align-items: flex-start; gap: 7px; font-size: 10px; line-height: 1.8; }
.consent input { width: 14px; height: 14px; accent-color: var(--green); margin: 2px 0 0; flex-shrink: 0; }
.test-form > .button { width: 100%; min-height: 39px; }
.test-message { font-size: 11px; color: #856c30; line-height: 1.8; overflow-wrap: anywhere; }
.test-message:empty { display: none; }
.test-results { margin-top: 18px; border-top: 1px solid var(--line); max-height: 226px; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.test-result { display: block; text-align: left; padding: 13px 0; width: 100%; background: transparent; border: 0; border-bottom: 1px solid #edf0f2; color: inherit; }
.test-result:hover { background: #f8fbf9; }
.test-result-summary { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; }
[data-results="pelican"] { max-height: 540px; }
.inline-animation { position: relative; margin-top: 10px; width: 100%; aspect-ratio: 8 / 5; background: #edf2f4; overflow: hidden; border-radius: 4px; display: grid; place-items: center; }
.inline-animation iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.inline-animation-expand { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 8px; display: flex; align-items: flex-end; justify-content: flex-end; background: transparent; color: #354e59; }
.inline-animation-expand svg { width: 26px; height: 26px; padding: 5px; border-radius: 4px; background: #fffffff0; }
.test-result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.test-result strong { font-size: 12px; overflow-wrap: anywhere; }
.test-result time { font-size: 10px; color: #8a9ba3; flex-shrink: 0; }
.test-result .small { font-size: 10px; display: block; overflow-wrap: anywhere; }
.test-result-foot { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 10px; color: #8a9ba3; }
.test-result-foot svg { width: 12px; height: 12px; margin-left: auto; }
.test-result-message { display: block; margin-top: 7px; font-size: 11px; line-height: 1.8; color: #627983; overflow-wrap: anywhere; }
.test-result-message.failed { color: #ac4550; }
.empty-message, .gallery-placeholder, .timeline-placeholder { padding: 26px 10px; text-align: center; font-size: 12px; color: #899da5; }
.gallery-placeholder, .timeline-placeholder { grid-column: 1 / -1; border: 1px dashed #d6e0e4; border-radius: 4px; }
.notice { margin: 16px 0; padding: 12px 14px; color: #967233; border-left: 3px solid #d8b461; background: #fcf7e9; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.page-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1.8; color: #94a1a9; padding-top: 20px; }
.page-footer > span { display: flex; align-items: center; gap: 5px; }
.page-footer svg { width: 12px; height: 12px; }
dialog { color: inherit; padding: 0; border: 0; overflow: auto; }
dialog::backdrop { background: #101d2880; }
body:has(dialog[open]) { overflow: hidden; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(600px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; box-shadow: -12px 0 50px #15233230; }
.drawer[open] { animation: slide-in .2s ease-out; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-bottom: 1px solid var(--line); background: white; position: sticky; top: 0; z-index: 2; }
.dialog-heading h2 { font-size: 18px; overflow-wrap: anywhere; }
.drawer-content { padding: 24px 26px 32px; }
.detail-lead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 20px; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid dt { color: #889aa3; font-size: 11px; margin-bottom: 7px; }
.detail-grid dd { margin: 0; font-size: 13px; color: #526d79; overflow-wrap: anywhere; }
.detail-answer { padding-top: 23px; }
.detail-answer h3 { margin-bottom: 14px; }
.answer-text { font-family: inherit; font-size: 12px; line-height: 1.95; margin: 0; padding: 18px; background: #f4f7f8; border: 1px solid #e7edef; border-radius: 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-error { background: #fdf4f1; color: #a96852; }
.detail-sync { font-size: 11px; color: #91a1aa; margin-top: 25px; }
.media-dialog { width: min(1000px, calc(100% - 48px)); max-width: 1000px; max-height: calc(100dvh - 48px); border-radius: 7px; margin: auto; box-shadow: 0 20px 80px #101c3640; }
.media-toolbar { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 13px 24px; border-bottom: 1px solid var(--line); }
.media-stage { width: 100%; aspect-ratio: 16 / 10; max-height: 65dvh; min-height: 160px; background: #edf2f4; display: grid; place-items: center; position: relative; }
.media-stage img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.media-caption { padding: 17px 24px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 11px; color: #7c919b; }
.self-animation { margin-top: 20px; aspect-ratio: 8 / 5; border: 1px solid var(--line); }
.self-animation iframe { width: 100%; height: 100%; border: 0; display: block; }
.confirm-dialog { width: min(520px, calc(100% - 30px)); border-radius: 7px; }
#confirm-test-target { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .55; } }
@keyframes slide-in { from { transform: translateX(35px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
@media (min-width: 1500px) {
  .dashboard-columns { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1150px) {
  main, .site-header { padding-left: 24px; padding-right: 24px; }
  .dashboard-columns { grid-template-columns: minmax(0, 1fr) 294px; gap: 22px; }
  .stats { gap: 8px; }
  .stat { padding: 15px 11px; }
  .stat-number { font-size: 28px; }
  .stat-label svg { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule > div { flex-direction: column; gap: 5px; }
  .test-panel { padding: 18px; }
}
@media (max-width: 940px) {
  .dashboard-columns { grid-template-columns: minmax(0, 1fr); }
  .tests-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-note { display: none; }
  .site-header { justify-content: space-between; gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 640px; }
  .gallery-description { margin-bottom: 14px; }
}
@media (max-width: 620px) {
  main { padding: 23px 17px; }
  .site-header { padding: 16px 17px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  nav { width: 100%; justify-content: space-between; gap: 0; }
  .nav-link { padding: 11px 6px; font-size: 11px; gap: 5px; border-radius: 4px 4px 0 0; }
  .nav-link svg { width: 13px; height: 13px; }
  h1 { font-size: 24px; }
  .page-heading { flex-direction: column; align-items: stretch; gap: 15px; }
  .heading-status { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .heading-status .small { font-size: 10px; }
  .topbar-actions { margin: 0 0 0 auto; gap: 10px; }
  .auto-control > span:first-child { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 20px; }
  .stat { padding: 17px 14px; }
  .stat-number { font-size: 31px; }
  .stat-label svg { display: block; }
  .section { padding: 22px 0; }
  h2 { font-size: 18px; }
  .section-title { gap: 9px; }
  .section-index { width: 29px; height: 32px; }
  .timeline-toolbar { flex-direction: column; gap: 10px; margin-top: 19px; }
  .timeline-grid { grid-template-columns: repeat(36, minmax(0, 1fr)); gap: 4px 3px; }
  .slot { height: 24px; }
  .timeline-axis { font-size: 9px; }
  .schedule { font-size: 10px; gap: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding-right: 6px; }
  .gallery-description { align-items: flex-start; line-height: 1.8; }
  .account-label { padding: 8px; font-size: 9px; }
  .account-label svg { display: none; }
  .work-info { padding: 8px; }
  .work-meta { flex-wrap: wrap; gap: 4px; }
  .zoom-cue { opacity: 1; }
  .tests-column { grid-template-columns: minmax(0, 1fr); }
  .test-panel { padding: 21px; }
  .test-form input:not([type="checkbox"]), .test-form select { font-size: 14px; height: 41px; }
  .test-form label { font-size: 12px; }
  .test-form .consent { font-size: 11px; }
  .record-disclosure[open] { padding: 12px 8px; }
  td, th { padding-left: 5px; padding-right: 5px; }
  .dialog-heading { padding: 19px; }
  .drawer-content { padding: 20px 19px; }
  .media-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .media-caption { padding: 15px; gap: 10px; }
}
@media (max-width: 360px) {
  .nav-link { padding-left: 3px; padding-right: 3px; gap: 4px; font-size: 10px; }
  .nav-link svg { width: 11px; height: 11px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
  .section-title { gap: 7px; }
  .stat { padding: 15px 11px; }
  .stat-label svg { display: none; }
  .legend { gap: 8px; font-size: 9px; }
  .gallery-tools > .small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
