.capture-status-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:12px 32px;background:#eef5ff;border-bottom:1px solid #d9e5fb;color:#243f6c;min-height:67px}
.capture-status-summary{display:flex;align-items:center;gap:10px;min-width:0}.capture-status-dot{width:8px;height:8px;border-radius:50%;background:#2a65df;box-shadow:0 0 0 4px #dbe8ff;flex-shrink:0}.capture-status-summary strong{font-size:12px;line-height:1.5;font-weight:700;display:flex;gap:10px;flex-wrap:wrap}.capture-status-summary strong span{color:#42618f;font-weight:500}.capture-status-detail{font-size:11px;color:#567092;margin:3px 0 0;line-height:1.5}.capture-status-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.capture-status-actions .text-button{font-size:12px;margin:0;padding:6px 0}.capture-status-actions .button{font-size:12px;min-height:34px;padding:7px 12px;white-space:nowrap}.capture-status-bar.is-paused .capture-status-dot{background:#8390a5;box-shadow:0 0 0 4px #e1e7ef}.capture-status-bar.has-error .capture-status-detail{color:#8e4b1c}.capture-status-bar.has-error .capture-status-dot{background:#bd7325;box-shadow:0 0 0 4px #f5e6cf}
.capture-history{max-width:1060px;width:calc(100vw - 40px);max-height:90dvh;padding:0;border:0;border-radius:18px;background:#fff;color:#172b4d;box-shadow:0 30px 100px #0d214f45}.capture-history::backdrop{background:#10234065;backdrop-filter:blur(3px)}.capture-history .dialog-header{padding:22px 28px;position:sticky;top:0;background:#fff;border-bottom:1px solid #e7edf7;z-index:1}.capture-history .dialog-header h2{font-size:22px;margin:3px 0 0}.capture-history .eyebrow{font-size:10px;letter-spacing:1.4px;color:#5475ac;margin:0}.capture-history-body{padding:23px 28px 28px}.capture-history-description{font-size:13px;line-height:1.8;margin:0 0 9px;color:#37537b}.capture-history-note{font-size:12px;line-height:1.7;margin:0 0 23px;padding:12px 14px;background:#f4f7fc;border-radius:9px;color:#61718a}.capture-history-filters{display:flex;align-items:end;gap:14px;margin-bottom:23px}.capture-history-filters .field-label{margin:0;min-width:170px;max-width:280px;font-size:12px;flex:1}.capture-history-filters input,.capture-history-filters select{width:100%;min-height:42px}.capture-history-filters .button{min-height:42px}.capture-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.capture-record{overflow:hidden;border:1px solid #e1e8f2;border-radius:12px;background:#fff}.capture-record>a{display:block;background:#f1f5fb;aspect-ratio:4/3;border-bottom:1px solid #e1e8f2}.capture-record img{display:block;width:100%;height:100%;object-fit:contain;transition:filter .15s}.capture-record a:hover img{filter:brightness(.96)}.capture-record a:focus-visible{outline:3px solid #2763e7;outline-offset:-3px}.capture-record-meta{padding:13px 15px}.capture-record-meta strong{font-size:17px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.capture-record-meta strong span{font-size:10px;font-weight:500;color:#597194;white-space:nowrap}.capture-record-meta p{font-size:12px;margin:8px 0 3px}.capture-record-meta small{font-size:10px;color:#7a8aa2;display:block;margin-top:6px}.capture-history-empty{text-align:center;padding:44px 16px;background:#f6f8fc;border-radius:12px;color:#6e7f98;font-size:13px;line-height:1.8}.capture-history-empty strong{color:#365174;display:block;font-size:15px}.capture-history-empty p{margin:7px 0 12px}.capture-history-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:12px;font-size:12px;color:#6d7f9b}.capture-history-pagination>div{display:flex;gap:8px}.capture-record-unavailable{aspect-ratio:4/3;display:grid;place-items:center;font-size:12px;background:#eef3fa;color:#71829e}.capture-image-error{font-size:11px;color:#7b8ba5;padding:14px}
@media(max-width:1100px){.capture-status-bar{padding:12px 22px;align-items:flex-start;gap:10px}.capture-status-actions{gap:10px}.capture-status-summary strong{gap:5px;flex-direction:column}.capture-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.capture-status-bar{padding:13px 18px;flex-wrap:wrap}.capture-status-summary{flex:1 1 100%}.capture-status-summary strong{flex-direction:row;gap:9px}.capture-status-actions{padding-left:18px;justify-content:space-between;width:100%}.capture-status-detail{font-size:11px}.capture-history{width:calc(100vw - 20px);max-height:94dvh}.capture-history .dialog-header{padding:18px}.capture-history .dialog-header h2{font-size:19px}.capture-history-body{padding:18px}.capture-history-filters{flex-wrap:wrap;gap:12px}.capture-history-filters .field-label{min-width:140px}.capture-history-filters .button{flex:1}.capture-history-grid{gap:12px}.capture-record-meta{padding:10px}.capture-record-meta strong{font-size:15px;align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:760px){.capture-status-actions .text-button,.capture-status-actions .button{min-height:44px}}
@media(max-width:420px){.capture-history-grid{grid-template-columns:1fr}.capture-history-filters .field-label{max-width:none;flex-basis:100%}.capture-record-meta strong{flex-direction:row;align-items:center}}
@media(prefers-reduced-motion:reduce){.capture-record img{transition:none}}
.capture-history-export{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 16px;margin:-7px 0 23px;padding:14px 16px;background:#f4f7fc;border:1px solid #e1e8f2;border-radius:10px}.capture-history-export .button{min-height:42px;white-space:nowrap}.capture-history-export p{margin:0;color:#61718a;font-size:11px;line-height:1.7}.capture-history-export .capture-export-error{grid-column:1/-1;color:#a33b34}.capture-export-error:empty{display:none}.capture-image-download{display:inline-flex;align-items:center;min-height:36px;font-size:12px;font-weight:600;color:#245bc2;text-underline-offset:3px;margin-top:8px}.capture-image-download:hover{color:#153f90}.capture-image-download:focus-visible{outline:3px solid #2763e7;outline-offset:3px;border-radius:3px}
@media(max-width:760px){.capture-history-export{grid-template-columns:1fr}.capture-history-export .button{min-height:44px}.capture-image-download{min-height:44px}}
.capture-hours-label{font-size:12px;color:#37537b;line-height:1.5;margin:3px 0 0}.capture-status-bar.is-outside-hours:not(.has-error) .capture-status-dot{background:#8390a5;box-shadow:0 0 0 4px #e1e7ef}
