:root{--accent:#535fbc;--accent-soft:#eeeff9;--ink:#473e3b;--muted:#8d8d8d;--line:#e6e4e3;--panel:#fff;--green:#49a37e;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:#f6f6f6}
*{box-sizing:border-box}html,body{margin:0;min-width:0;min-height:100%}body{height:100vh;overflow:hidden;background:#f6f6f6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}.icon-sprite,.nav-icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.capture-app{display:grid;grid-template-columns:232px minmax(0,1fr);height:100%}.capture-sidebar{display:flex;flex-direction:column;padding:26px 18px 22px;background:#fff;border-right:1px solid var(--line)}
.capture-brand{display:flex;align-items:center;gap:11px;padding:0 10px 28px;color:inherit;text-decoration:none}.capture-brandmark{display:grid;width:38px;height:38px;place-items:center;color:#fff;background:var(--accent);border-radius:11px;box-shadow:0 6px 16px rgba(83,95,188,.18);font-size:15px;font-weight:800}.capture-brandname{font-size:18px;font-weight:750}.capture-brandname small{display:block;margin-top:2px;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.11em}.capture-nav-label{padding:2px 12px 10px;color:#b6b6b6;font-size:10px;font-weight:750;letter-spacing:.13em}.capture-nav{display:flex;flex-direction:column;gap:5px}.capture-nav a{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;color:#6f6966;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none}.capture-nav a.active{color:var(--accent);background:var(--accent-soft)}.capture-nav svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.capture-nav .nav-rule{width:auto;height:1px;margin:7px 12px;background:var(--line)}.capture-shortcut{margin-top:auto;padding:14px;background:#fbfbfb;border:1px solid #e8e6e5;border-radius:14px}.capture-shortcut strong{font-size:11px}.capture-shortcut p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.capture-shortcut kbd{display:inline-grid;min-width:44px;height:22px;margin-right:6px;padding:0 7px;place-items:center;color:var(--accent);background:#fff;border:1px solid #d8d4d2;border-bottom-width:2px;border-radius:5px;font:700 9px Inter,sans-serif}.capture-account{display:flex;align-items:center;gap:10px;margin-top:16px;padding:0 8px}.capture-account>span{display:grid;width:34px;height:34px;place-items:center;color:#fff;background:var(--ink);border-radius:50%;font-size:12px;font-weight:700}.capture-account strong{font-size:12px}.capture-account small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.capture-main{display:flex;min-width:0;flex-direction:column}.capture-topbar{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 28px;flex:none;background:#fff;border-bottom:1px solid var(--line)}.capture-work-title{display:flex;align-items:center;gap:12px}.capture-work-icon{display:grid;width:36px;height:36px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:10px}.capture-work-icon svg,.capture-top-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.35}.capture-work-title strong{font-size:15px}.capture-work-title small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.capture-top-actions{display:flex;align-items:center;gap:9px}.capture-icon-button,.capture-manage-button{display:flex;align-items:center;justify-content:center;height:38px;color:#625b58;background:#fff;border:1px solid #ddd9d7;border-radius:9px}.capture-icon-button{width:38px}.capture-icon-button svg{width:15px}.capture-manage-button{gap:7px;padding:0 14px;font-size:11px;font-weight:700;text-decoration:none}.capture-manage-button svg{width:15px}
.capture-content{min-height:0;padding:16px 18px 18px;flex:1}.capture-workspace{display:grid;grid-template-columns:286px minmax(420px,1fr) 298px;gap:14px;height:100%}.capture-card{overflow:hidden;background:#fff;border:1px solid #e4e1e0;border-radius:14px}.capture-card-head{display:flex;align-items:center;justify-content:space-between;height:66px;padding:0 16px;border-bottom:1px solid #ebe9e8}.capture-head-title{display:flex;align-items:center;gap:10px}.capture-head-title>span{display:grid;width:29px;height:29px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:8px;font-size:9px;font-weight:800}.capture-head-title strong{font-size:14px}.capture-head-title small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.capture-more{color:#aaa4a1;font-size:17px}
.settings-panel{display:flex;min-height:0;flex-direction:column}.settings-body{padding:14px 16px 16px;overflow:auto;scrollbar-width:thin}.settings-group-title{display:flex;align-items:center;justify-content:space-between;margin:2px 0 10px;color:#6d6663;font-size:10px}.settings-group-title span{color:var(--accent);font-size:9px}.capture-field{display:grid;gap:5px;margin-top:10px;color:#77706d;font-size:9px;font-weight:700}.capture-field input,.capture-field select{width:100%;height:37px;padding:0 10px;color:var(--ink);background:#fff;border:1px solid #dcd8d6;border-radius:8px;font-size:10px;outline:none}.capture-field input:focus,.capture-field select:focus{border-color:#9da5db;box-shadow:0 0 0 3px rgba(83,95,188,.1)}.capture-field-row{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px}.task-hint{margin:5px 0 0;color:#aaa4a1;font-size:8px}.settings-divider{height:1px;margin:15px 0;background:#ece9e8}.capture-quality{display:grid;gap:7px;margin-top:12px;color:#77706d;font-size:9px}.capture-quality>span{display:flex;justify-content:space-between}.capture-quality output{color:var(--accent);font-weight:700}.capture-quality input{width:100%;height:13px;margin:0;accent-color:var(--accent)}.local-folder-field{display:grid;gap:8px;margin-top:13px}.local-folder-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;color:#625b58;font-size:9px;cursor:pointer}.local-folder-toggle input{position:absolute;opacity:0;pointer-events:none}.local-folder-toggle i{position:relative;width:32px;height:18px;background:#d3d1d0;border-radius:999px;transition:.16s}.local-folder-toggle i:after{position:absolute;top:2px;left:2px;width:14px;height:14px;content:"";background:#fff;border-radius:50%;transition:.16s}.local-folder-toggle input:checked+i{background:var(--accent)}.local-folder-toggle input:checked+i:after{transform:translateX(14px)}.local-folder-button{display:flex;align-items:center;justify-content:space-between;height:35px;padding:0 9px;color:#625b58;background:#fff;border:1px solid #dedbd9;border-radius:8px;font-size:8px}.local-folder-button b{color:var(--accent)}
.capture-center{display:flex;min-width:0;min-height:0;flex-direction:column;gap:12px}.task-strip{display:flex;align-items:center;justify-content:space-between;height:66px;padding:0 16px;flex:none;background:#fff;border:1px solid #e4e1e0;border-radius:14px}.task-main{display:flex;align-items:center;gap:10px;min-width:0}.task-main>span{width:8px;height:8px;flex:none;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #e5f3ee}.task-main strong{display:block;overflow:hidden;max-width:260px;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.task-main small{display:block;margin-top:4px;color:var(--muted);font-size:9px}.task-meta{display:flex;gap:22px;color:#9a9491;font-size:8px;text-align:right}.task-meta span{white-space:nowrap}.task-meta strong{display:block;margin-top:3px;color:#625b58;font-size:10px}
.camera-panel{display:grid;grid-template-rows:44px minmax(0,1fr) 86px;min-height:0;flex:1;overflow:hidden;background:#fff;border:1px solid #e4e1e0;border-radius:14px}.camera-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:#fff;background:#111312;font-size:10px}.camera-toolbar>div{display:flex;align-items:center;gap:8px}.camera-toolbar .live-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 3px rgba(73,163,126,.16)}.camera-toolbar p{margin:0;color:#a8aaa9;font-size:8px}.capture-stage{position:relative;display:grid;min-height:0;place-items:center;overflow:hidden;background:#151817}.capture-stage video,.capture-stage #snapshot{width:100%;height:100%;object-fit:contain}.capture-stage #snapshot{position:absolute;z-index:2;inset:0;background:#101110}.capture-review-badge{position:absolute;z-index:3;top:14px;left:14px;display:flex;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:7px 10px;color:#e9f1ee;background:rgba(15,21,19,.88);border-radius:6px;font-size:8px}.capture-review-badge[hidden],.camera-error[hidden]{display:none}.capture-review-badge span{width:6px;height:6px;flex:none;background:#49c392;border-radius:50%}.capture-review-badge strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-error{position:absolute;z-index:4;inset:0;display:grid;place-content:center;justify-items:center;padding:24px;color:#fff;background:#151817;text-align:center}.camera-error p{max-width:420px;color:#b9c7cc;font-size:11px}.camera-error button{height:34px;padding:0 13px;color:#fff;background:var(--accent);border:0;border-radius:7px}.capture-actions{display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff}.space-action{display:flex;align-items:center;gap:12px}.space-action>kbd{display:grid;min-width:84px;height:38px;place-items:center;color:var(--accent);background:#fff;border:1px solid #cbc7c5;border-bottom:3px solid #bdb8b5;border-radius:8px;box-shadow:0 2px 7px rgba(71,62,59,.07);font-size:10px;font-weight:800;letter-spacing:.1em}.space-action strong,.review-copy strong{display:block;font-size:12px}.space-action span,.review-copy small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.review-copy{display:none;align-items:center;gap:10px}.review-copy>span{display:grid;width:28px;height:28px;place-items:center;color:#238263;background:#e7f5ef;border-radius:8px}.review-copy>span svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.review-buttons{display:flex;gap:9px;margin-left:auto}.review-button{height:38px;padding:0 14px;color:#625b58;background:#fff;border:1px solid #d5d1cf;border-radius:8px;font-size:9px;font-weight:700}.review-button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.review-button kbd{margin-left:8px;padding:2px 5px;color:inherit;background:transparent;border:1px solid currentColor;border-radius:4px;font-size:7px}.camera-panel.is-reviewing .capture-stage{padding:0;background:#151817}.camera-panel.is-reviewing #snapshot{inset:0;width:100%;height:100%;border:0;border-radius:0}.camera-panel.is-reviewing .capture-review-badge{top:14px;left:14px}.camera-panel.is-reviewing .space-action{display:none}.camera-panel.is-reviewing .review-copy{display:flex}
.queue-panel{display:grid;grid-template-rows:66px 57px minmax(0,1fr) 62px;min-height:0}.queue-count b{font-size:20px}.queue-count span{margin-left:4px;color:var(--muted);font-size:9px}.queue-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;padding:0 14px;border-bottom:1px solid #ebe9e8}.queue-actions button,.queue-select-all{display:flex;align-items:center;justify-content:center;height:34px;color:#6f6966;background:#fff;border:1px solid #ddd9d7;border-radius:8px;font-size:9px}.queue-select-all input{position:absolute;opacity:0}.queue-actions button:disabled{color:#aaa4a1;background:#efeff5;border-color:#e7e5e4}.queue-actions #delete-selected{display:none}.queue-content{min-height:0;overflow:auto;padding:14px}.empty-collection{display:grid;height:184px;place-items:center;align-content:center;color:var(--ink);background:#fbfbfb;border:1px dashed #d9d5d3;border-radius:11px;text-align:center}.empty-collection[hidden]{display:none}.empty-collection>span{display:grid;width:40px;height:40px;margin-bottom:10px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:12px}.empty-collection svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}.empty-collection strong{font-size:11px}.empty-collection p{margin:6px 0 0;color:#9a9491;font-size:9px}.queue-tip{margin:14px 0 0;padding:12px;color:#7c78a1;background:#f8f8fd;border-radius:10px;font-size:9px;line-height:1.55}.image-list{display:grid;gap:7px}.image-item{position:relative;display:grid;grid-template-columns:16px 66px minmax(0,1fr) 20px;gap:7px;align-items:center;min-height:64px;padding:7px;background:#fff;border:1px solid #e1dedc;border-radius:9px}.image-item:has(.status-uploading){background:#fafaff;border-color:#aeb7e6}.image-item>.item-select{width:14px;height:14px;accent-color:var(--accent)}.image-item>img{width:66px;height:48px;object-fit:cover;background:#111;border-radius:7px}.item-info{display:grid;min-width:0;gap:3px}.item-info strong,.item-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-info strong{font-size:8px}.item-info span{color:var(--muted);font-size:7px}.item-upload{grid-column:3/5;display:grid;gap:4px;color:var(--muted);font-size:7px}.item-upload progress{width:100%;height:3px;accent-color:var(--accent)}.remove-item{position:absolute;top:5px;right:5px;width:20px;height:20px;padding:0;color:#9c7771;background:#fff;border:0;border-radius:5px;font-size:0}.remove-item:after{content:none}.overall-status{display:grid;grid-template-columns:auto minmax(60px,90px) auto;gap:9px;align-items:center;padding:0 14px;border-top:1px solid #ebe9e8}.overall-status strong{font-size:9px}.overall-status progress{width:100%;height:4px;accent-color:var(--accent)}.overall-status p{margin:0;color:var(--muted);font-size:8px;text-align:right}
button,a{transition:background .15s,border-color .15s,transform .1s}button{cursor:pointer}button:active,.capture-manage-button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed}.capture-field[hidden],button[hidden]{display:none!important}
@media(max-width:1180px){body{overflow:auto}.capture-app{grid-template-columns:200px;min-width:1080px}.capture-sidebar{position:sticky;top:0;height:100vh}.capture-workspace{grid-template-columns:260px minmax(430px,1fr) 280px}.capture-content{min-height:760px}.capture-shortcut{display:none}}
@media(max-width:760px){body{overflow:auto}.capture-app{display:block;min-width:0}.capture-sidebar{position:static;display:block;height:auto;padding:14px}.capture-brand{padding:0}.capture-nav-label,.capture-nav,.capture-shortcut,.capture-account{display:none}.capture-topbar{height:62px;padding:0 14px}.capture-top-actions .capture-icon-button{display:none}.capture-content{min-height:0;padding:10px}.capture-workspace{display:flex;min-width:0;flex-direction:column}.settings-panel{order:2}.capture-center{order:1;min-height:620px}.queue-panel{order:3;min-height:460px}.task-meta{display:none}.settings-body{overflow:visible}.camera-panel{min-height:540px}.capture-work-title small{display:none}}
.space-capture-toggle{position:relative;display:flex;align-items:center;gap:8px;margin-left:auto;color:#6f6966;font-size:9px;cursor:pointer}.space-capture-toggle input{position:absolute;opacity:0;pointer-events:none}.space-capture-toggle i{position:relative;width:30px;height:17px;background:#d3d1d0;border-radius:999px;transition:.16s}.space-capture-toggle i:after{position:absolute;top:2px;left:2px;width:13px;height:13px;content:"";background:#fff;border-radius:50%;transition:.16s}.space-capture-toggle input:checked+i{background:var(--accent)}.space-capture-toggle input:checked+i:after{transform:translateX(13px)}.camera-panel.is-reviewing .space-capture-toggle{display:none}
.review-buttons{display:none}.camera-panel.is-reviewing .review-buttons{display:flex}
/* Make the frozen capture unmistakable without shrinking the image. */
.camera-panel.is-reviewing .camera-toolbar{background:#171812;border-bottom:1px solid rgba(226,168,74,.28)}
.camera-panel.is-reviewing .camera-toolbar .live-dot{background:#e2a84a;box-shadow:0 0 0 3px rgba(226,168,74,.18)}
.camera-panel.is-reviewing #camera-mode-title:after{content:" · 已冻结";margin-left:6px;color:#e6bd71;font-size:8px;font-weight:650}
.camera-panel.is-reviewing .capture-stage:after{position:absolute;z-index:3;inset:0;content:"";pointer-events:none;box-shadow:inset 0 0 0 3px rgba(83,95,188,.92),inset 0 54px 62px rgba(8,10,10,.28),inset 0 -38px 54px rgba(8,10,10,.16)}
.camera-panel.is-reviewing .capture-review-badge{z-index:4;padding:9px 12px;color:#fff;background:rgba(20,22,21,.86);border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 22px rgba(0,0,0,.18);font-size:10px;backdrop-filter:blur(8px)}
.camera-panel.is-reviewing .capture-review-badge span{width:7px;height:7px;background:#e2a84a;box-shadow:0 0 0 3px rgba(226,168,74,.16)}
.camera-panel.is-reviewing .capture-actions{border-top:3px solid var(--accent);box-shadow:0 -10px 24px rgba(35,38,72,.08)}
.remove-item svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
