:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18212f;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit}.app-shell{min-height:100vh;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1440px;margin:0 auto 18px}.eyebrow{margin:0 0 4px;color:#2563eb;font-size:13px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:28px;line-height:1.15}h2{margin-bottom:0;font-size:16px;line-height:1.3}.top-actions,.auth-actions,.account-chip{display:flex;align-items:center;gap:8px;min-width:0}.top-actions{justify-content:flex-end;flex-wrap:wrap}.auth-actions{flex-wrap:wrap}.account-chip{min-height:36px;padding:0 8px 0 12px;border:1px solid #d7dde5;border-radius:8px;background:#fff;color:#263244}.account-chip span{min-width:0;max-width:160px;overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.account-chip strong{color:#64748b;font-size:12px;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:16px;max-width:1440px;margin:0 auto}.tool-panel,.viewer-panel{border:1px solid #d7dde5;border-radius:8px;background:#fff}.tool-panel{padding:16px}.dropzone{display:grid;place-items:center;gap:10px;min-height:190px;padding:16px;border:1px dashed #9aa7b8;border-radius:8px;color:#526174;background:#f8fafc}.dropzone:focus-visible{border-color:#2563eb;outline:3px solid rgb(37 99 235 / 16%)}.dropzone.dragging{border-color:#2563eb;background:#eef6ff}.paste-hint{color:#64748b;font-size:12px;line-height:1.35;text-align:center}.dropzone input{display:none}.primary-action,.secondary-action,.detect-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:0;border-radius:8px;cursor:pointer}.primary-action{padding:0 14px;background:#18212f;color:#fff;font-weight:800}.secondary-action{min-height:36px;padding:0 10px;border:1px solid #d7dde5;background:#fff;color:#263244;font-size:13px;font-weight:800}.secondary-action:hover:not(:disabled){border-color:#2563eb;color:#2563eb}.secondary-action:disabled{cursor:not-allowed;opacity:.58}.primary-action:disabled{cursor:not-allowed;opacity:.58}.danger-text{color:#b91c1c}.detect-button{width:100%;margin-top:12px;padding:0 16px;background:#2563eb;color:#fff;font-weight:800}.detect-button:disabled{cursor:not-allowed;background:#a8b5c7}.file-name{max-width:100%;overflow-wrap:anywhere;font-size:13px;color:#3a4658}.panel-header-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.panel-header-row span{color:#64748b;font-size:12px;white-space:nowrap}.text-action{padding:0;border:0;background:transparent;color:#2563eb;cursor:pointer;font-size:13px;font-weight:800}.model-panel,.preset-panel{margin-top:14px;padding-top:14px;border-top:1px solid #e1e6ee}.model-panel{display:grid;gap:8px}.model-select{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px}.model-select svg{justify-self:center;color:#526174}.model-select select,.preset-panel select{width:100%;min-height:38px;padding:0 10px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#18212f;font:inherit}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.preset-card{position:relative;aspect-ratio:1;min-width:0;overflow:hidden;padding:0;border:2px solid transparent;border-radius:8px;background:#edf0f2;cursor:pointer}.preset-card img{width:100%;height:100%;object-fit:cover}.preset-card span{position:absolute;right:4px;bottom:4px;min-width:20px;padding:2px 4px;border-radius:6px;background:#18212fc7;color:#fff;font-size:11px;font-weight:800}.preset-card.selected{border-color:#16a34a}.error-box{display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:10px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#b91c1c;font-size:14px}.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:14px}.result-inspector .summary{margin-top:0}.summary>div{min-height:70px;padding:12px;border:1px solid #e1e6ee;border-radius:8px;background:#fbfcfd}.metric{display:block;color:#18212f;font-size:22px;font-weight:850;overflow-wrap:anywhere}.model-metric{font-size:16px;line-height:1.25}.metric-label{color:#64748b;font-size:13px}.detections{margin-top:16px}.score-list,.history-list{display:grid;gap:18px;margin:12px 0 0;padding:0;list-style:none}.score-item{min-width:0}.score-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;color:#263244;font-size:15px;line-height:1.35}.score-row span{min-width:0;overflow-wrap:anywhere;font-weight:700}.score-row strong{flex:0 0 auto;font-weight:750;white-space:nowrap}.score-track{position:relative;width:100%;height:6px;overflow:hidden;background:#edf0f2}.score-fill{display:block;height:100%;background:#42ad50}.empty-text{margin:12px 0 0;color:#7a8797}.auth-panel{display:grid;gap:12px;margin:0}.auth-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-panel-header .eyebrow{margin-bottom:2px}.auth-panel label{display:grid;gap:6px;color:#3a4658;font-size:13px;font-weight:750}.auth-panel input,.admin-create-form input,.admin-create-form select{width:100%;min-width:0;min-height:40px;padding:0 10px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#18212f;font:inherit}.auth-panel input:focus,.admin-create-form input:focus,.admin-create-form select:focus{border-color:#2563eb;outline:2px solid rgb(37 99 235 / 18%)}.auth-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0f172a70}.auth-modal{width:min(440px,100%);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:22px;border:1px solid #d7dde5;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.auth-modal-form .identity-note,.auth-modal-form .detect-button,.auth-error{margin-top:4px}.auth-modal-switch{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding-top:2px;color:#64748b;font-size:13px}.confirm-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:24px;background:#0f172a7a}.confirm-modal{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;width:min(460px,100%);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:20px;border:1px solid #d7dde5;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a4d}.confirm-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#2563eb}.confirm-icon.danger{border-color:#fecdd3;background:#fff1f2;color:#dc2626}.confirm-body{display:grid;gap:10px;min-width:0}.confirm-body h2{margin:0;color:#18212f;font-size:18px;line-height:1.25}.confirm-body p{margin:0;color:#526174;font-size:14px;line-height:1.55}.confirm-input{display:grid;gap:7px;min-width:0;margin-top:2px}.confirm-input span{color:#263244;font-size:13px;font-weight:800}.confirm-input input{width:100%;min-width:0;min-height:40px;padding:0 10px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#18212f;font:inherit}.confirm-input input:focus{border-color:#2563eb;outline:2px solid rgb(37 99 235 / 18%)}.confirm-input em{color:#64748b;font-size:12px;font-style:normal}.confirm-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;min-width:0;padding-top:4px}.confirm-action{width:auto;min-width:96px;margin-top:0;padding:0 14px}.confirm-action.danger{background:#dc2626}.confirm-action.danger:hover:not(:disabled){background:#b91c1c}.identity-note{display:flex;align-items:flex-start;gap:9px;margin:0 0 14px;padding:10px;border:1px solid #d7dde5;border-radius:8px;background:#f8fafc;color:#526174;font-size:13px;line-height:1.45}.identity-note svg{flex:0 0 auto;margin-top:1px}.identity-note.saved{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.identity-note.warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.viewer-panel{align-self:start;display:flex;flex-direction:column;min-width:0;overflow:hidden}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 16px;border-bottom:1px solid #e1e6ee}.viewer-header span{color:#64748b;font-size:13px;white-space:nowrap}.viewer-header-tabs{flex-wrap:wrap;min-height:62px}.view-tabs{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:4px;border:1px solid #d7dde5;border-radius:8px;background:#f8fafc}.view-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#526174;cursor:pointer;font-size:13px;font-weight:850}.view-tab span{color:inherit;font-size:inherit;font-weight:inherit}.view-tab:hover,.view-tab.active{color:#18212f;background:#fff;box-shadow:0 1px 3px #0f172a17}.view-tab.active{color:#fff;background:#18212f}.viewer-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.history-actions{display:inline-flex;align-items:center;gap:6px;color:#526174}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #d7dde5;border-radius:8px;background:#fff;color:#526174;cursor:pointer}.icon-button:hover:not(:disabled){border-color:#2563eb;color:#2563eb}.icon-button.danger:hover:not(:disabled){border-color:#ef4444;color:#dc2626;background:#fff1f2}.icon-button:disabled,.history-delete:disabled{cursor:not-allowed;opacity:.55}.image-stage{padding:16px}.preview-pane,.history-pane{min-width:0;padding:16px}.preview-pane{display:grid;gap:16px}.preview-main{display:grid;gap:16px;min-width:0}.preview-pane .image-stage{padding:0}.result-inspector{min-width:0}.history-pane{overflow:auto}.result-strip{min-width:0;padding-top:14px;border-top:1px solid #e1e6ee}.result-thumbs{display:flex;gap:12px;margin:0;padding:2px 2px 8px;overflow-x:auto;list-style:none}.result-thumbs li{flex:0 0 auto}.pending-strip-header{align-items:flex-start;gap:14px;margin-bottom:12px}.pending-strip-header>div:first-child{display:grid;gap:3px;min-width:0}.pending-strip-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.pending-detect-button{min-width:136px;padding:0 14px;white-space:nowrap}.pending-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;overflow:visible;padding:2px}.pending-thumbs li{min-width:0}.pending-thumb-card{position:relative}.result-thumb{position:relative;display:block;width:116px;aspect-ratio:1;overflow:hidden;padding:0;border:2px solid #d7dde5;border-radius:8px;background:#f8fafc;color:#fff;cursor:pointer}.pending-thumbs .pending-thumb{width:100%;aspect-ratio:4 / 3}.result-thumb:hover:not(:disabled),.result-thumb.active{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.result-thumb.failed{border-color:#ef4444}.result-thumb:disabled{cursor:not-allowed;opacity:.62}.result-thumb img{display:block;width:100%;height:100%;object-fit:cover}.result-thumb:after{position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,#0f172a00,#0f172ad1);content:""}.thumb-index,.thumb-model,.result-thumb strong,.thumb-empty{position:absolute;z-index:1}.thumb-index{top:6px;left:6px;display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#0f172ac7;font-size:12px;font-weight:850}.result-thumb strong{right:7px;bottom:7px;left:7px;overflow:hidden;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.thumb-model{right:7px;bottom:28px;left:7px;overflow:hidden;color:#dbeafe;font-size:11px;font-style:normal;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.pending-thumb-remove{position:absolute;z-index:2;top:7px;right:7px;display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid rgb(255 255 255 / 72%);border-radius:8px;background:#0f172ab3;color:#fff;cursor:pointer}.pending-thumb-remove:hover:not(:disabled){border-color:#fecaca;background:#dc2626}.pending-thumb-remove:disabled{cursor:not-allowed;opacity:.55}.thumb-empty{top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#64748b;font-size:13px;font-weight:800}.image-frame{position:relative;width:100%;min-height:0;overflow:hidden;border:1px solid #d7dde5;border-radius:8px;background:#111827}.image-frame img{display:block;width:100%;height:auto}.detection-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:2;touch-action:manipulation}.detection-box{position:absolute;z-index:1;box-sizing:border-box;padding:0;border:3px solid var(--box-color);border-radius:2px;background:#fff0;box-shadow:0 0 0 1px #ffffffbd;color:#fff;cursor:pointer;outline:none;touch-action:manipulation;transition:background .15s ease,box-shadow .15s ease}.detection-box:before{position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;content:""}.detection-box:hover,.detection-box:focus-visible,.detection-box.active{z-index:3;background:#ffffff17;box-shadow:0 0 0 2px #ffffffe0,0 0 20px var(--box-color)}.detection-label{position:absolute;top:-31px;left:-3px;max-width:min(260px,calc(100vw - 56px));padding:3px 8px 4px;overflow:hidden;border-radius:4px 4px 4px 0;background:var(--box-color);color:#fff;font-size:14px;font-weight:850;line-height:1.25;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 8px 18px #0f172a38;transition:opacity .15s ease,transform .15s ease}.detection-label.inside{top:5px;left:5px;border-radius:4px}.detection-box.active .detection-label,.detection-box:hover .detection-label,.detection-box:focus-visible .detection-label{transform:translateY(-2px)}.box-tooltip{position:absolute;z-index:5;box-sizing:border-box;width:min(300px,max(0px,calc(100% - 16px)));max-width:max(0px,calc(100% - 16px));max-height:max(0px,calc(100% - 16px));padding:11px;overflow:hidden auto;border:1px solid rgb(226 232 240 / 20%);border-top:4px solid var(--box-color);border-radius:8px;background:#0f172af0;color:#fff;pointer-events:none;box-shadow:0 18px 42px #0f172a59;animation:tooltip-in .15s ease both}.box-tooltip-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.box-tooltip-header strong,.box-tooltip-scores li span{min-width:0;overflow-wrap:anywhere}.box-tooltip-header strong{font-size:15px;line-height:1.25}.box-tooltip-header span{flex:0 0 auto;font-weight:800;white-space:nowrap}.box-tooltip-grid{display:grid;gap:6px;margin:0 0 10px}.box-tooltip-grid div,.box-tooltip-scores li{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.box-tooltip-grid dt{color:#cbd5e1;font-size:12px}.box-tooltip-grid dd{margin:0;font-size:12px;font-weight:760;text-align:right;white-space:nowrap}.box-tooltip-scores>span{display:block;margin-bottom:6px;color:#cbd5e1;font-size:12px;font-weight:760}.box-tooltip-scores ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}.box-tooltip-scores li{min-width:0;font-size:12px}.box-tooltip-scores li strong{flex:0 0 auto;white-space:nowrap}@keyframes tooltip-in{0%{opacity:0}to{opacity:1}}.placeholder{display:grid;place-items:center;gap:8px;min-height:420px;border:1px solid #d7dde5;border-radius:8px;color:#64748b;background:#f8fafc}.history-list{gap:8px}.history-pane .history-list{max-height:calc(100vh - 220px);overflow:auto;padding-right:2px}.history-pane .history-empty{padding:0}.user-history-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;padding:0}.history-pane .user-history-grid{margin:0}.user-history-grid .admin-history-card,.user-history-grid .admin-history-card-actions,.user-history-grid .history-select{min-width:0}.user-history-grid .admin-history-thumb{aspect-ratio:16 / 10}.history-item{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:stretch}.history-open,.history-delete{width:100%;min-height:48px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#263244;cursor:pointer}.history-open{padding:8px 10px;text-align:left}.history-delete{display:inline-flex;align-items:center;justify-content:center;padding:0;color:#7a8797}.history-open.active,.history-open:hover{border-color:#2563eb;background:#eff6ff}.history-delete:hover:not(:disabled){border-color:#ef4444;color:#dc2626;background:#fff1f2}.history-list span,.history-list strong,.history-list em{display:block;overflow-wrap:anywhere}.history-list span{color:#64748b;font-size:12px}.history-list strong{margin-top:4px;font-size:14px}.history-list em{margin-top:3px;color:#526174;font-size:12px;font-style:normal;font-weight:750}.admin-workspace{display:grid;gap:16px;max-width:1440px;margin:0 auto}.admin-section{overflow:hidden;border:1px solid #d7dde5;border-radius:8px;background:#fff}.admin-create-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end;padding:16px;border-bottom:1px solid #e1e6ee}.admin-create-form label{display:grid;min-width:0;gap:6px;color:#3a4658;font-size:13px;font-weight:750}.admin-create-form label span{min-width:0;overflow-wrap:anywhere}.admin-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.admin-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #edf0f2}.admin-list-item:first-child{border-top:0}.admin-list-item>div,.admin-history-open{min-width:0}.admin-list-item strong,.admin-list-item span{display:block;min-width:0;overflow-wrap:anywhere}.admin-list-item strong{color:#18212f;font-size:14px}.admin-list-item span{margin-top:4px;color:#64748b;font-size:12px;line-height:1.35}.admin-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.admin-count{display:inline-flex;align-items:center;gap:8px;color:#526174}.admin-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #e1e6ee;background:#fbfcfd}.admin-history-sort{display:flex;align-items:center;gap:8px;min-width:0;color:#526174;font-size:13px;font-weight:750}.admin-history-sort select{min-width:150px;min-height:36px;padding:0 10px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#18212f;font:inherit}.admin-history-bulk{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}.admin-history-bulk>span{color:#64748b;font-size:13px;font-weight:750;white-space:nowrap}.admin-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0;padding:16px;list-style:none}.admin-history-card{display:grid;gap:10px;min-width:0;padding:10px;border:1px solid #d7dde5;border-radius:8px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.admin-history-card.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.admin-history-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-select{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 9px;border:1px solid #d7dde5;border-radius:8px;background:#fff;color:#526174;cursor:pointer;font-size:12px;font-weight:800}.history-select.active{border-color:#2563eb;background:#eff6ff;color:#2563eb}.history-select:disabled{cursor:not-allowed;opacity:.55}.admin-history-open{display:grid;gap:10px;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.admin-history-thumb{display:grid;place-items:center;margin-top:0;width:100%;aspect-ratio:4 / 3;overflow:hidden;border:1px solid #d7dde5;border-radius:8px;background:#f8fafc;color:#64748b}.admin-history-thumb img{display:block;width:100%;height:100%;object-fit:contain}.admin-history-meta{display:grid;gap:7px;margin-top:0;min-width:0}.admin-history-meta>strong{color:#18212f;font-size:14px;line-height:1.3}.admin-history-meta>span{color:#64748b;font-size:12px;line-height:1.35}.admin-history-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px}.admin-history-facts span{display:grid;gap:2px;min-width:0;padding:7px;border:1px solid #edf0f2;border-radius:8px;background:#fbfcfd}.admin-history-facts b,.admin-history-facts em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-history-facts b{color:#64748b;font-size:11px}.admin-history-facts em{color:#263244;font-size:12px;font-style:normal;font-weight:750}.admin-history-open:hover strong{color:#2563eb}.admin-error{margin:12px 16px 0}.history-empty{padding:0 16px 16px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1180px){.preview-main{grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start}.result-inspector{padding-left:16px;border-left:1px solid #e1e6ee}}@media(max-width:1100px){.workspace{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:760px){.app-shell{padding:14px}.topbar{align-items:flex-start;flex-direction:column}.top-actions,.auth-actions{justify-content:flex-start;width:100%}.account-chip{justify-content:space-between;width:100%}.workspace{grid-template-columns:1fr}.auth-modal-backdrop{padding:14px}.auth-modal{max-height:calc(100vh - 28px);padding:18px}.confirm-modal-backdrop{padding:14px}.confirm-modal{grid-template-columns:1fr;max-height:calc(100vh - 28px);padding:18px}.confirm-actions{flex-wrap:wrap;justify-content:stretch}.confirm-actions .primary-action,.confirm-actions .secondary-action{flex:1 1 128px}.auth-modal-switch{flex-wrap:wrap}.viewer-header-tabs{align-items:stretch;flex-direction:column;padding:12px}.view-tabs,.viewer-toolbar{width:100%}.view-tab{flex:1 1 0}.viewer-toolbar,.history-actions{justify-content:flex-start;flex-wrap:wrap}.pending-strip-header{align-items:stretch;flex-direction:column}.pending-strip-actions{justify-content:flex-start;flex-wrap:wrap;width:100%}.pending-strip-actions .secondary-action,.pending-strip-actions .pending-detect-button{flex:1 1 128px}.pending-thumbs{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.summary{grid-template-columns:1fr}.result-thumb{width:92px}.pending-thumbs .pending-thumb{width:100%}.admin-create-form,.admin-list-item{grid-template-columns:1fr}.admin-row-actions{justify-content:flex-start}.admin-row-actions .secondary-action{flex:1 1 136px}.admin-history-toolbar{align-items:stretch;flex-direction:column}.admin-history-sort,.admin-history-sort select,.admin-history-bulk{width:100%}.admin-history-bulk{justify-content:flex-start}.admin-history-bulk .secondary-action{flex:1 1 118px}.admin-history-grid{grid-template-columns:1fr;padding:12px}.placeholder{min-height:300px}.detection-box:before{top:-14px;right:-14px;bottom:-14px;left:-14px}.detection-label{top:-27px;max-width:min(210px,calc(100vw - 40px));padding:3px 6px;font-size:12px}.box-tooltip{width:min(260px,max(0px,calc(100% - 16px)));padding:9px}.box-tooltip-header strong{font-size:14px}.box-tooltip-grid dd,.box-tooltip-grid dt,.box-tooltip-scores>span,.box-tooltip-scores li{font-size:11px}}
