/* A quiet screening desk: warm stock, tungsten details, a stable source monitor. */
.qc-room { border: 0; padding: 22px 32px 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none;
  color: var(--paper); background: radial-gradient(ellipse at 22% 5%, #29201666, transparent 50%), var(--ink); overflow: hidden; }
.qc-room[open] { display: grid; grid-template-rows: auto auto auto minmax(0,1fr) auto; gap: 0; }
.qc-room::backdrop { background: #080706; }
.qc-room button, .qc-room a { -webkit-tap-highlight-color: transparent; }
.qc-room button:focus-visible, .qc-room a:focus-visible, .qc-room summary:focus-visible { outline: 2px solid var(--tung); outline-offset: 4px; }
.qc-room button:disabled { opacity: .4; cursor: default; }
.qc-top { grid-row: 1; display: flex; align-items: center; gap: 28px; padding-bottom: 22px; }
.qc-back { flex: none; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 0; color: var(--dim); font-size: 12px; }
.qc-back span { color: var(--tung); font-size: 22px; }
.qc-back:hover { color: var(--paper); }
.qc-name { flex: 1; min-width: 0; padding-left: 24px; border-left: 1px solid var(--line2); }
.qc-name > small, .qc-monitor-head small, .qc-results-head small { color: var(--faint); font: 10px var(--mono); letter-spacing: .15em; }
.qc-name h1 { margin: 5px 0 0; font: 900 26px var(--serif-zh); letter-spacing: .12em; }
.qc-name em { margin-left: 12px; color: #a99a85; font: italic 25px var(--italic); letter-spacing: 0; }
.qc-action { display: flex; align-items: center; gap: 20px; }
.qc-job-label { color: var(--dim); font-size: 11px; }
.qc-start { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 17px; min-width: 148px; background: var(--tung); border: 1px solid var(--tung); color: #201006; font-size: 13px; font-weight: 700; border-radius: 3px; transition: background .2s; }
.qc-start:hover:not(:disabled) { background: #ffa555; }
.qc-start span { font-size: 19px; font-weight: 400; }
.qc-start.is-running { background: transparent; color: var(--tung); opacity: 1; }
.qc-start.is-running span { animation: qc-turn 2.5s linear infinite; }
.qc-overview { grid-row: 2; display: flex; align-items: center; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line); margin-bottom: 22px; min-width: 0; }
.qc-film { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font: 700 14px var(--serif-zh); }
.qc-film span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-film > i { width: 5px; height: 5px; border-radius: 50%; background: var(--tung); flex: none; }
.qc-progress-label, .qc-tally { color: var(--dim); font: 11px var(--mono); white-space: nowrap; }
.qc-tally { color: #d8c5a8; }
.qc-progress { width: 160px; height: 3px; background: #f1e7d610; flex: none; overflow: hidden; }
.qc-progress > i { display: block; height: 100%; background: var(--tung); transition: width .6s ease; }
.qc-alert { grid-row: 3; margin: -5px 0 15px; padding: 10px 14px; border-left: 2px solid var(--tung); background: var(--tung-soft); font-size: 12px; color: #e3c2a1; }
.qc-main { grid-row: 4; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(340px,1fr); gap: 30px; min-height: 0; }
.qc-left { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.qc-monitor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 13px; }
.qc-monitor-head h2 { font: 600 15px var(--sans-zh); margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(42vw,660px); }
.qc-clip-state { color: var(--dim); font: 10px var(--mono); flex: none; }
.qc-screen { position: relative; display: grid; place-items: center; background: #050504; border: 1px solid var(--line2); border-radius: 3px; min-height: 130px; flex: 1; overflow: hidden;
  box-shadow: 0 16px 45px #0005; }
.qc-screen::before, .qc-screen::after { content: ''; position: absolute; top: 0; bottom: 0; width: 5px; z-index: 1; pointer-events: none; opacity: .14; background: repeating-linear-gradient(180deg, #e7d7bd 0 7px, transparent 7px 21px); }
.qc-screen::before { left: 5px; } .qc-screen::after { right: 5px; }
.qc-screen video { display: block; width: 100%; height: 100%; position: absolute; object-fit: contain; }
.qc-screen-empty { position: relative; display: grid; justify-items: center; gap: 15px; padding: 34px; text-align: center; pointer-events: none; }
.qc-screen-empty > svg { width: 54px; height: 54px; color: #a68b6c; stroke: currentColor; stroke-width: .9; }
.qc-screen-empty > span { font: 700 19px var(--serif-zh); color: #c1b099; }
.qc-screen-empty > small { color: var(--faint); font-size: 12px; }
.qc-monitor-foot { display: flex; align-items: center; gap: 14px; padding: 12px 0 18px; }
.qc-clock { color: var(--paper); font: 12px var(--mono); }
.qc-source-note { color: var(--faint); font-size: 10px; flex: 1; }
.qc-edit { color: var(--dim); font-size: 11px; text-decoration: none; }
.qc-edit:hover { color: var(--tung); }
.qc-browse { border-top: 1px solid var(--line); padding-top: 14px; }
.qc-strip-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.qc-strip-head > small { font: 10px var(--mono); letter-spacing: .12em; color: #b7a992; }
.qc-page-label { color: var(--faint); font: 10px var(--mono); flex: 1; }
.qc-strip-head > div { display: flex; gap: 6px; }
.qc-strip-head button { width: 26px; height: 24px; background: none; color: var(--dim); border: 1px solid var(--line2); border-radius: 2px; font-size: 20px; line-height: 1; }
.qc-strip { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; min-height: 100px; }
.qc-clip { position: relative; padding: 0; min-width: 0; text-align: left; background: none; border: 0; color: var(--dim); }
.qc-clip-image { position: relative; display: block; aspect-ratio: 16/10; background: linear-gradient(135deg,#28221b,#15120e); border: 1px solid var(--line2); overflow: hidden; border-radius: 2px; transition: border-color .2s; }
.qc-clip-image img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.qc-clip-image > b { position: absolute; bottom: 5px; left: 6px; font: 600 12px var(--mono); color: #fff4e1; text-shadow: 0 1px 4px #000; }
.qc-clip-image > em { position: absolute; right: 5px; top: 5px; min-width: 16px; text-align: center; padding: 1px 4px; color: #241305; background: #dfa65e; border-radius: 2px; font: 10px var(--mono); }
.qc-clip-label { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; padding-top: 7px; }
.qc-clip > small { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: 9px; margin-top: 4px; white-space: nowrap; }
.qc-clip > small > i { width: 3px; height: 3px; background: var(--faint); border-radius: 50%; }
.qc-clip.running > small { color: var(--tung); } .qc-clip.running > small > i { background: var(--tung); animation: qc-pulse 1.8s infinite; }
.qc-clip.done > small > i { background: var(--ok); } .qc-clip.has-issues > small > i { background: #dfa65e; }
.qc-clip.failed > small { color: #ef9b86; }
.qc-clip.selected .qc-clip-image { border-color: var(--tung); box-shadow: 0 0 0 1px var(--tung); }
.qc-clip.selected img { opacity: 1; } .qc-clip.selected .qc-clip-label { color: var(--paper); }
.qc-monitor-note { font-size: 10px; color: var(--faint); margin: 14px 0 0; }
.qc-right { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(160deg,#1b1712b0,#15120f90); border: 1px solid var(--line2); border-radius: 3px; overflow: hidden; }
.qc-results-head { display: flex; justify-content: space-between; align-items: center; padding: 19px 22px 17px; }
.qc-results-head h2 { margin: 6px 0 0; font: 800 18px var(--serif-zh); letter-spacing: .08em; }
.qc-results-count { font: 600 37px var(--display); color: #a68762; }
.qc-tabs { display: flex; align-items: center; gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--line2); }
.qc-tabs button { background: none; border: 0; padding: 10px 0; font-size: 11px; color: var(--dim); white-space: nowrap; }
.qc-tabs button.on { color: var(--paper); border-bottom: 2px solid var(--tung); margin-bottom: -1px; }
.qc-tabs button span { margin-left: 3px; color: #d5b183; font: 10px var(--mono); }
.qc-tabs button.qc-only { margin-left: auto; color: var(--faint); }
.qc-tabs button.qc-only.on { color: var(--tung); border-bottom-color: transparent; }
.qc-results { overflow-y: auto; min-height: 0; flex: 1; padding: 17px; scroll-behavior: smooth; }
.qc-finding { padding: 16px; margin-bottom: 14px; background: #211b1490; border: 1px solid #dfaa6228; border-left: 2px solid #b28b55; border-radius: 2px; animation: qc-in .3s ease-out; }
.qc-finding.major { border-left-color: #e69b76; background: #2d1d1590; }
.qc-finding.is-current { border-top-color: #dfaa6240; }
.qc-finding-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.qc-finding-meta > span { color: #cba571; font-size: 9px; border: 1px solid #cba57133; padding: 2px 5px; }
.qc-finding.major .qc-finding-meta > span { color: #e1ac8b; border-color: #e1ac8b33; }
.qc-finding-meta > small { color: var(--faint); font: 9px var(--mono); }
.qc-finding-title { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 0; text-align: left; background: none; border: 0; color: #ebdcc6; font-size: 13px; font-weight: 600; }
.qc-finding-title > span { color: #aa8d66; }
.qc-finding > p, .qc-finding details p { color: #b2a493; font-size: 11px; line-height: 1.85; margin: 8px 0 12px; overflow-wrap: anywhere; }
.qc-evidence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.qc-evidence button { position: relative; background: #090807; border: 1px solid var(--line); border-radius: 2px; padding: 0; aspect-ratio: 16/9; overflow: hidden; }
.qc-evidence img { width: 100%; height: 100%; object-fit: contain; opacity: .85; }
.qc-evidence button:hover img { opacity: 1; }
.qc-evidence button span { position: absolute; bottom: 4px; left: 5px; font: 9px var(--mono); color: #f1e7d6; padding: 3px 5px; background: #090807bb; border-radius: 2px; }
.qc-finding details { margin-top: 11px; border-top: 1px solid var(--line); padding-top: 9px; }
.qc-finding summary { display: flex; justify-content: space-between; list-style: none; font-size: 10px; color: #a18c70; cursor: pointer; }
.qc-finding details[open] summary span { transform: rotate(45deg); }
.qc-provisional { display: block; margin-top: 10px; font-size: 9px; color: var(--faint); }
.qc-results-foot { display: flex; justify-content: center; align-items: center; gap: 7px; border-top: 1px solid var(--line); padding: 12px; font-size: 10px; color: var(--faint); }
.qc-results-foot > i { width: 4px; height: 4px; border: 1px solid #8e795d; border-radius: 50%; }
.qc-empty { min-height: 100%; padding: 35px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qc-empty svg { width: 50px; height: 50px; stroke: #9a805c; stroke-width: .8; margin-bottom: 28px; opacity: .65; }
.qc-empty > small { font: 9px var(--mono); color: #967b56; letter-spacing: .15em; }
.qc-empty h3 { margin: 12px 0; font: 700 19px var(--serif-zh); color: #d5c4a9; }
.qc-empty p { max-width: 245px; font-size: 11px; line-height: 1.9; color: var(--dim); margin: 0; }
.qc-empty-start { color: var(--tung); background: none; border: 1px solid #ff8a2b44; border-radius: 2px; margin-top: 26px; padding: 9px 20px; font-size: 11px; }
.qc-running .qc-empty svg { animation: qc-pulse 2.7s ease-in-out infinite; }
.qc-record { padding: 12px 3px; border-bottom: 1px solid var(--line); }
.qc-record > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 3px 0; border: 0; background: none; text-align: left; }
.qc-record > button > i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 50%; color: var(--faint); font: 12px var(--mono); flex: none; }
.qc-record i.done { color: #b4bf8a; border-color: #b4bf8a33; } .qc-record i.note { color: #cda572; border-color: #cda57244; }
.qc-record > button > span { min-width: 0; flex: 1; }
.qc-record b { font-size: 11px; font-weight: 500; display: block; color: #c5b7a1; }
.qc-record small { font-size: 10px; color: var(--dim); display: block; margin-top: 5px; }
.qc-record em { color: var(--faint); font: 12px var(--mono); }
.qc-record > details { margin: 10px 0 0 36px; }
.qc-record summary { font-size: 10px; color: var(--faint); cursor: pointer; }
.qc-shot-note { padding-top: 12px; } .qc-shot-note b { font: 10px var(--mono); } .qc-shot-note b > span { margin-left: 5px; color: #8a7c68; font: 10px var(--sans-zh); }
.qc-shot-note p { color: var(--dim); font-size: 11px; line-height: 1.8; margin: 6px 0; }
.qc-shot-note p.qc-uncertain { font-size: 10px; color: var(--faint); }
.qc-bottom { grid-row: 5; display: flex; align-items: center; gap: 20px; padding: 17px 0; margin-top: 19px; border-top: 1px solid var(--line); color: var(--faint); font: 9px var(--mono); letter-spacing: .07em; }
.qc-bottom > span:first-child { color: #958269; } .qc-bottom b { margin: 0 8px; color: var(--faint); }
.qc-background-note { flex: 1; text-align: center; font: 10px var(--sans-zh); letter-spacing: 0; }
.qc-bottom > button { background: none; border: 0; color: var(--dim); font-size: 10px; padding: 0; }
.qc-bottom > button > span { color: var(--tung); padding-left: 8px; }
@keyframes qc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qc-turn { to { transform: rotate(360deg); } }
@keyframes qc-pulse { 50% { opacity: .35; } }
@media (min-width: 1800px) { .qc-room { padding-left: max(32px,calc((100vw - 1700px)/2)); padding-right: max(32px,calc((100vw - 1700px)/2)); } }
@media (max-width: 1100px) { .qc-room { padding: 18px 20px 0; } .qc-main { gap: 18px; grid-template-columns: minmax(0,1.5fr) minmax(310px,1fr); } .qc-name em { display: none; } .qc-action { gap: 12px; } .qc-job-label { display: none; } }
@media (max-width: 999px) { .qc-strip { grid-template-columns: repeat(6,minmax(0,1fr)); } .qc-source-note { display: none; } .qc-monitor-foot .qc-edit { margin-left: auto; } .qc-overview { gap: 12px; } .qc-progress { width: 80px; } }
@media (max-width: 760px) { .qc-room { padding: 14px 14px 0; } .qc-top { gap: 14px; padding-bottom: 15px; } .qc-back { font-size: 0; } .qc-back span { font-size: 22px; } .qc-name { padding-left: 14px; } .qc-name h1 { font-size: 22px; } .qc-name > small { font-size: 8px; letter-spacing: .06em; } .qc-start { min-width: 112px; gap: 8px; padding: 9px 12px; font-size: 12px; } .qc-overview { flex-wrap: wrap; padding: 12px 0; margin-bottom: 14px; gap: 10px; } .qc-film { flex-basis: 100%; font-size: 13px; } .qc-progress-label { flex: none; } .qc-progress { flex: 1; } .qc-main { display: block; overflow: auto; padding-bottom: 10px; } .qc-left { min-height: 0; } .qc-screen { flex: none; aspect-ratio: 16/9; min-height: 0; } .qc-monitor-head h2 { max-width: 58vw; font-size: 13px; } .qc-clip-state { font-size: 9px; } .qc-monitor-note { margin-bottom: 20px; } .qc-right { min-height: 400px; max-height: 72vh; } .qc-results { min-height: 200px; } .qc-bottom { margin-top: 8px; padding: 12px 0; } .qc-bottom > span:first-child { display: none; } .qc-background-note { text-align: left; font-size: 9px; } }
@media (max-width: 639px) { .qc-strip { grid-template-columns: repeat(4,minmax(0,1fr)); } .qc-clip-image { aspect-ratio: 16/9; } }
@media (prefers-reduced-motion: reduce) { .qc-room *, .qc-room *::before, .qc-room *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
