/* V5.26 — compact professional capture console. Existing theme/navigation stay intact. */
html[data-fec-release="528"]{--fec526-blue:#1268a8;--fec526-stage:#0b1420;--fec526-muted:#a8bacb}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main{--fec16-content:2200px}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace] .fec56-header{border-bottom:1px solid var(--fec16-line,#344b60)!important;box-shadow:none!important}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main .fec41-pagehead{padding-bottom:12px!important;margin-bottom:12px!important;border-bottom:1px solid var(--fec16-line,#344b60)!important}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main .fec526-modebar{display:flex!important;gap:4px!important;flex-wrap:wrap!important;border-bottom:1px solid var(--fec16-line)!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.fec526-modebar a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;padding:9px 14px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--fec16-ink,#182a3b)!important;border-bottom:3px solid transparent!important;box-sizing:border-box}
.fec526-modebar a.active{border-bottom-color:var(--fec16-accent,#1268a8)!important;color:var(--fec16-accent,#1268a8)!important;font-weight:700}
html[data-fec-release="528"] body[data-workspace=member] .main .fec526-console{border:1px solid var(--fec16-line,#a7b7c7);border-top:3px solid var(--fec16-accent,#1268a8);border-radius:6px;background:var(--fec16-surface,#fff);color:var(--fec16-ink,#182a3b);padding:16px;box-sizing:border-box;margin:0 0 16px;min-width:0;width:100%;box-shadow:none}
.fec526-console-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.fec526-console-title{min-width:0}.fec526-kicker{display:block;font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:.08em;color:var(--fec16-muted,#526679)}.fec526-console h2,.fec526-console h3{margin:4px 0!important}.fec526-console p{margin:4px 0 0;line-height:1.5}.fec526-console-title p,.fec526-note{color:var(--fec16-muted,#526679)}
.fec526-state{display:inline-flex;align-items:center;gap:8px;min-height:30px;font-size:12px;line-height:1.35;white-space:normal;color:inherit}.fec526-state>span{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#8c9ba9}.fec526-state[data-state=connected]>span{background:#16a34a}.fec526-state[data-state=waiting]>span{background:#d6a348}
.fec526-sourcebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.fec526-sourcebar button{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:48px;min-width:0;max-width:100%;white-space:normal;text-align:center;margin:0!important;padding:10px!important}.fec526-sourcebar svg,.fec526-phone-empty svg{width:21px;height:21px;flex:0 0 21px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.fec526-sourcebar .fec526-source-primary{background:#1268a8!important;color:#fff!important;border:1px solid #1268a8!important}.fec526-sourcebar .secondary{background:var(--fec16-soft,#edf2f6)!important;color:var(--fec16-ink,#182a3b)!important;border:1px solid var(--fec16-line,#cbd6df)!important}.fec526-sourcebar button:disabled{opacity:.65}
.fec526-console #fec525Panel{border-top:1px solid var(--fec16-line,#cbd6df);margin-top:14px;padding-top:14px}.fec526-console .fec526-pair{display:grid;grid-template-columns:minmax(155px,220px) minmax(0,1fr);align-items:start;gap:20px;padding:0}.fec526-console .fec526-pair>div{min-width:0;max-width:100%}.fec526-qr{display:grid;justify-items:center;align-content:start;gap:6px;color:var(--fec16-muted,#526679)}.fec526-qr canvas{display:block;width:min(100%,220px);height:auto;border:1px solid #a7b7c7;box-sizing:border-box}.fec526-pair-steps ol{margin:10px 0;padding-inline-start:22px;line-height:1.6}.fec526-pair-steps li{padding-bottom:4px}.fec526-pair-tools{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 16px}.fec526-pair-tools details{min-width:0;flex:1 1 180px;padding:0!important;background:transparent!important;border:0!important}.fec526-pair-tools summary{cursor:pointer;padding:9px 0}.fec526-pair-tools input{width:100%!important;min-width:0!important;margin:4px 0!important}.fec526-note{font-size:13px!important;overflow-wrap:anywhere}
.fec526-stage{background:var(--fec526-stage);color:#edf3f8;border:1px solid #31465a;border-radius:6px;overflow:hidden}.fec526-stage-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #31465a;font-size:11px;font-weight:600;color:#c0d1df}.fec526-view{display:grid;place-items:center;min-height:160px;min-width:0;overflow:hidden}.fec526-console #fec525Preview{display:block;width:100%;max-height:min(60vh,580px);object-fit:contain;border-radius:0;background:#0b1420}.fec526-console .fec526-stage-foot{color:#bacbd9!important;font-size:12px!important;padding:8px 12px;margin:0;border-top:1px solid #31465a}.fec526-console .fec526-capturebar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 0}.fec526-capturebar button{min-height:44px;margin:0!important}.fec526-capturebar .fec526-disconnect{margin-left:auto!important}.fec526-console .fec526-status{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere;color:var(--fec16-muted,#526679)!important;margin-top:12px!important;padding-top:10px;border-top:1px solid var(--fec16-line,#cbd6df)}
/* Preserve the original acquisition/recognition surfaces; improve hierarchy without hiding tools. */
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main :is(.fec42-capture-panel,.fec42-photo-panel,#fec521Bulk,#fec37Studio,.fec511-inspect){min-width:0!important;box-shadow:none!important;border-radius:6px!important}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main .fec42-studio-layout{gap:14px!important;align-items:start!important}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main :is(.fec42-panel-head,.fec521-queue-head){border-bottom:1px solid var(--fec16-line)!important;padding-bottom:12px!important;margin-bottom:12px!important}
html[data-fec-release="528"][data-fec-design="516"] body[data-workspace=member] .main :is(.fec524-panel,.fec524-quality){border-top:2px solid var(--fec16-line)!important}
html[data-fec-release="528"] .fec526-console [hidden],html[data-fec-release="528"] .fec526-phone [hidden]{display:none!important}
/* Dedicated mobile screen: no dependence on desktop shell or theme JavaScript. */
body.fec526-phone{background:#0e1722;color:#eaf2f9;margin:0;min-height:100vh;font:16px/1.5 system-ui,-apple-system,sans-serif;color-scheme:dark}body.fec526-phone *{box-sizing:border-box}body.fec526-phone #fec525Mobile{max-width:980px;width:100%;padding:clamp(12px,3vw,24px);padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));margin:auto}
.fec526-phone-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #30465a;padding:0 0 12px}.fec526-phone-head img{width:140px;max-width:52%;height:46px;object-fit:contain}.fec526-phone-head>span{font-size:11px;letter-spacing:.09em;font-weight:700;color:#a8c5da;text-align:right}.fec526-phone-intro{padding:14px 0 8px}.fec526-phone-intro h1{font-size:clamp(23px,4vw,32px);font-weight:700;line-height:1.2;margin:0 0 6px}.fec526-phone-intro p,.fec526-phone-help p{margin:0 0 6px;color:#b9cad8;font-size:14px}.fec526-phone-status{padding:8px 0 12px}.fec526-phone-status p{margin:2px 0 0;color:#bed0df;font-size:14px;overflow-wrap:anywhere}.fec526-phone-stage{position:relative;display:grid;place-items:center;width:100%;min-height:180px;aspect-ratio:4/3;max-height:60dvh;background:#070c12;border:1px solid #3a5066;border-radius:6px;overflow:hidden}.fec526-phone-stage video{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain;border:0;border-radius:0;background:#070c12}.fec526-phone-empty{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;color:#bacbd9;pointer-events:none}.fec526-phone-empty svg{width:40px;height:40px;flex-basis:40px}.fec526-phone-empty strong{font-size:15px}.fec526-phone-empty>span{font-size:13px}.fec526-phone-stage-label{position:absolute;bottom:8px;left:8px;font-size:10px;font-weight:650;letter-spacing:.05em;color:#eaf2f9;background:#0b1420e8;padding:4px 7px;border-radius:3px;pointer-events:none}.fec526-phone-guide{position:absolute;height:65%;aspect-ratio:63/88;max-width:75%;pointer-events:none;inset:0;margin:auto}.fec526-phone-guide i{position:absolute;width:17%;height:13%;border-color:#c3e9ff;border-style:solid;border-width:0}.fec526-phone-guide i:nth-child(1){top:0;left:0;border-top-width:2px;border-left-width:2px}.fec526-phone-guide i:nth-child(2){top:0;right:0;border-top-width:2px;border-right-width:2px}.fec526-phone-guide i:nth-child(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px}.fec526-phone-guide i:nth-child(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px}.fec526-phone .fec526-phone-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.fec526-phone .fec526-phone-controls button{min-height:48px;white-space:normal;min-width:0;font-size:14px;font-weight:650;border:1px solid #4d6780;background:#1d2d3c;color:#eff6fc;border-radius:5px}.fec526-phone #fec525Start{background:#1268a8;border-color:#3187c5;grid-column:1/-1;min-height:52px}.fec526-phone #fec525Stop:not(:disabled){border-color:#b97e7e;color:#ffd4d4}.fec526-phone button:focus-visible{outline:3px solid #8bd3ff;outline-offset:3px}.fec526-phone button:disabled{opacity:.48}.fec526-phone-help{border-top:1px solid #30465a;margin-top:16px;padding-top:12px}.fec526-phone-help h2{font-size:15px;margin:0 0 6px}
@media(max-width:660px){html[data-fec-release="528"] body[data-workspace=member] .main .fec526-console{padding:12px}.fec526-sourcebar{grid-template-columns:repeat(2,minmax(0,1fr))}.fec526-sourcebar .fec526-source-primary{grid-column:1/-1}.fec526-console .fec526-pair{grid-template-columns:minmax(0,1fr);gap:12px}.fec526-qr canvas{width:min(205px,100%)}.fec526-capturebar button{flex:1 1 135px}.fec526-capturebar .fec526-disconnect{margin-left:0!important}.fec526-modebar a{padding-inline:8px;font-size:13px}.fec526-phone-stage{aspect-ratio:3/4;max-height:52dvh}}
@media(prefers-reduced-motion:reduce){.fec526-console *, .fec526-phone *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.fec526-console,.fec526-modebar{display:none!important}}
/* V5.27 operational overview and mobile capture station. */
.fec527-ops{background:var(--fec16-surface,#fff);color:var(--fec16-ink,#152c40);border:1px solid var(--fec16-line,#cbd6df);border-radius:6px;padding:clamp(14px,2vw,22px);margin:0 0 16px;min-width:0}.fec527-ops-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fec527-ops h2{font-size:clamp(20px,2.5vw,26px);margin:3px 0!important}.fec527-ops p{margin:4px 0;color:var(--fec16-muted,#526679)}.fec527-textlink{font-size:14px}.fec527-taskbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0;border-block:1px solid var(--fec16-line,#cbd6df)}.fec527-taskbar a{min-width:0;display:flex;flex-direction:column;gap:4px;justify-content:center;padding:14px 12px;text-decoration:none;color:var(--fec16-ink,#152c40);border-inline-end:1px solid var(--fec16-line,#cbd6df);min-height:64px}.fec527-taskbar a:last-child{border-inline-end:0}.fec527-taskbar a:first-child{border-inline-start:3px solid #1681c5}.fec527-taskbar a:hover,.fec527-taskbar a:focus-visible{background:var(--fec16-soft,#eaf2f9)}.fec527-taskbar strong{font-size:15px}.fec527-taskbar small{font-size:12px;color:var(--fec16-muted,#526679)}.fec527-worklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}.fec527-worklist a{display:flex;justify-content:space-between;align-items:center;gap:6px;text-decoration:none;color:var(--fec16-ink,#152c40);border-bottom:1px solid var(--fec16-line,#cbd6df);padding:8px 0;font-size:13px}.fec527-worklist b{font-size:18px;font-variant-numeric:tabular-nums}.fec527-pairhint,.fec527-desk-info{font-size:12px!important;color:var(--fec16-muted,#526679)!important}.fec527-bottomnav{display:none}.fec527-ops [hidden],.fec527-desk-info[hidden]{display:none!important}
body.fec526-phone #fec525Mobile{max-width:1100px;padding-inline:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.fec526-phone-head{padding-bottom:8px}.fec526-phone-intro{padding-top:10px}.fec526-phone-status{padding:4px 0 10px}.fec526-phone-stage{max-height:52dvh;min-height:155px;aspect-ratio:4/3}.fec527-telemetry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #30465a;margin-top:6px;gap:0}.fec527-telemetry>div{display:flex;flex-direction:column;gap:2px;padding:8px 6px;border-right:1px solid #30465a;min-width:0}.fec527-telemetry>div:last-child{border-right:0}.fec527-telemetry small{color:#a8bdce;font-size:11px}.fec527-telemetry strong{font-size:13px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.fec526-phone #fec527Shutter{grid-column:1/-1;min-height:56px;background:#1268a8;border-color:#63b6ec;font-size:17px}.fec526-phone #fec525Start:disabled{display:none}.fec526-phone #fec525Stop{grid-column:1/-1}.fec527-side{display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1/-1;color:#d3e5f3;font-size:14px}.fec527-side select{min-height:44px;background:#1d2d3c;color:#eff6fc;border:1px solid #4d6780;border-radius:5px;padding:6px 12px;flex:1}.fec526-phone .fec526-phone-controls button:active:not(:disabled){background:#214b6a}.fec526-phone .fec526-phone-help{margin-top:12px}
@media(max-width:760px){.fec527-taskbar{grid-template-columns:repeat(2,minmax(0,1fr))}.fec527-taskbar a:nth-child(2){border-inline-end:0}.fec527-taskbar a:nth-child(-n+2){border-bottom:1px solid var(--fec16-line,#cbd6df)}.fec527-worklist{grid-template-columns:minmax(0,1fr);gap:0}.fec527-bottomnav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--fec16-surface,#fff);border-top:1px solid var(--fec16-line,#cbd6df);padding:4px max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));box-shadow:0 -3px 12px #0b142012}.fec527-bottomnav a{display:grid;place-items:center;min-height:48px;font-size:12px;color:var(--fec16-ink,#152c40);text-decoration:none;border-top:3px solid transparent}.fec527-bottomnav a[aria-current=page]{border-top-color:#1681c5;font-weight:700;color:var(--fec16-accent,#1268a8)}html[data-fec-release="528"] body[data-workspace=member] .main{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important;min-width:0}html[data-fec-release="528"] body[data-workspace=member] .main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-fec-release="528"] body[data-workspace=member] .main select,html[data-fec-release="528"] body[data-workspace=member] .main textarea{font-size:16px!important;max-width:100%;min-width:0}html[data-fec-release="528"] body[data-workspace=member] .main .fec33-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-fec-release="528"] body[data-workspace=member] .main .fec32-grid{grid-template-columns:minmax(0,1fr)!important}.fec526-phone-stage{aspect-ratio:3/4;max-height:47dvh}.fec526-phone .fec526-phone-controls{gap:6px}.fec526-phone .fec526-phone-controls button{min-height:48px}.fec526-phone-intro h1{font-size:22px}}
@media(orientation:landscape) and (max-height:560px){body.fec526-phone #fec525Mobile{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);gap:6px 12px;align-items:start}.fec526-phone-head,.fec526-phone-intro,.fec526-phone-status{grid-column:1/-1}.fec526-phone-intro{display:none}.fec526-phone-stage{grid-column:1;grid-row:3/span 2;aspect-ratio:4/3;max-height:62dvh}.fec527-telemetry,.fec526-phone-controls{grid-column:2}.fec526-phone-help{grid-column:1/-1}.fec526-phone .fec526-phone-controls{margin:0}.fec526-phone .fec526-phone-controls button{min-height:44px}}
@media print{.fec527-bottomnav,.fec527-ops{display:none!important}}
/* V5.28: one capture station, progressive disclosure and clear primary actions. */
html[data-fec-release="528"] .fec528-redundant,html[data-fec-release="528"] .fec528-collapsed:not(.fec528-expanded),html[data-fec-release="528"] .fec528-inactive-action,html[data-fec-release="528"] .fec528-no-feed{display:none!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec41-pagehead{padding-bottom:7px!important;margin-bottom:8px!important;gap:8px!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec519-related{margin-block:3px!important;padding-block:3px!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec515-flow{margin:0 0 10px!important;padding:0!important;box-shadow:none!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec526-console{border-top-width:1px;padding:clamp(12px,2vw,20px);margin-bottom:12px}
.fec528-source-status{font-size:13px;color:var(--fec16-muted,#526679);margin-top:9px!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec528-local-station{max-width:none!important;width:100%!important;margin:12px 0 0!important;padding:0!important;box-shadow:none!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec528-local-station .fec42-capture-panel{max-width:none!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-fec-release="528"] body[data-workspace=member] .main .fec528-local-station .fec57-simple{border:0!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important}
html[data-fec-release="528"] .fec528-manual-link{width:auto!important;min-height:40px;background:transparent!important;color:var(--fec16-accent,#1268a8)!important;border:0!important;text-decoration:underline;padding:5px 0!important;margin:4px 0!important;box-shadow:none!important}
.fec528-camera-tools{margin:0 0 10px!important;min-height:42px}.fec528-next{display:flex!important;align-items:center;gap:8px;font-size:13px;margin:8px 0}.fec528-next input{width:auto!important;margin:0!important}
html[data-fec-release="528"] .fec521-row .actions button{min-height:38px}.fec528-phone-options{padding:10px 0;color:#dceaf5}.fec528-phone-options summary{padding:12px 4px;cursor:pointer;font-weight:650}.fec528-phone-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0}.fec528-phone-tools button{min-height:44px;padding:9px;color:#edf4fa;background:#203446;border:1px solid #3e566a;border-radius:6px;font:inherit}.fec528-phone-tools #fec525Stop{grid-column:1/-1;background:transparent;border-color:#975e5e;color:#ffd0d0}
html[data-fec-release="528"] .fec526-phone .fec526-phone-controls{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.fec526-phone #fec527Shutter,.fec526-phone #fec525Start{width:100%;min-height:56px;font-size:17px;font-weight:700}.fec526-phone .fec526-phone-help{font-size:13px}.fec526-phone .fec526-phone-intro{padding:8px 0 2px}.fec526-phone .fec526-phone-intro h1{margin-bottom:3px}
@media(max-width:600px){html[data-fec-release="528"] .fec526-sourcebar{grid-template-columns:1fr 1fr;gap:6px}.fec526-sourcebar #fec525Pair{grid-column:1/-1}.fec526-sourcebar button{min-height:46px}.fec528-next{font-size:12px}.fec526-phone .fec526-phone-stage{max-height:48dvh}.fec526-phone .fec527-telemetry{margin-block:5px}.fec526-phone .fec526-phone-help{padding-bottom:0}}
.fec528-vault-focus{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;margin:8px 0;border:1px solid var(--fec16-line,#cbd6df);border-left:3px solid var(--fec16-accent,#1268a8);background:var(--fec16-surface,#fff);border-radius:5px}.fec528-vault-focus a{font-size:13px;font-weight:650;color:var(--fec16-accent,#1268a8)}
