:root {
  --blue:#1565c0; --blue2:#0d47a1; --bg:#f3f7fb; --card:#ffffff; --text:#172033;
  --muted:#64748b; --line:#d9e2ef; --ok:#0f9f6e; --warn:#b7791f; --danger:#c62828;
  --app-height:100vh;
}
*{box-sizing:border-box} html,body{height:100%} body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{color:var(--blue);text-decoration:none} a:hover{text-decoration:underline}.hidden{display:none!important}.muted{color:var(--muted)}
.topbar{position:sticky;top:0;z-index:20;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;padding:12px 16px;box-shadow:0 2px 10px rgba(0,0,0,.16)}
.topbar h1{font-size:17px;line-height:1.15;margin:0}.topbar small{display:block;opacity:.88;margin-top:3px;font-size:12px}.container{max-width:880px;margin:0 auto;padding:10px}.container.wide{max-width:1280px}
.operator-page.count-mode{overflow:hidden}.operator-page.count-mode .operator-container{height:calc(var(--app-height) - 72px);overflow:hidden}
.card,.login-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 8px 26px rgba(20,40,80,.08);margin-bottom:10px}.login-card{max-width:420px;margin:10vh auto}.login-card h1{font-size:22px;margin-top:0}.page-login{padding:16px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.space{justify-content:space-between}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:700px){.grid.two,.grid.four{grid-template-columns:1fr}.container{padding:8px}}
.input,select,textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:16px;background:#fff;color:var(--text)}label{font-size:13px;font-weight:700;color:#334155;margin:0;display:block}.btn{border:0;border-radius:12px;padding:11px 14px;font-weight:800;font-size:15px;cursor:pointer;background:#e6eef9;color:#16365f}.btn.primary{background:var(--blue);color:white}.btn.success{background:var(--ok);color:white}.btn.warn{background:#f6ad55;color:#3a2300}.btn.danger{background:var(--danger);color:white}.btn.ghost{background:#eef2f7;color:#344256}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.block{width:100%}.btn.mini{padding:8px 12px;font-size:14px;border-radius:10px}
.alert{padding:12px 14px;border-radius:13px;margin:10px 0;background:#e8f1ff;border:1px solid #bcd7ff}.alert.danger{background:#fff1f1;border-color:#ffc5c5;color:#841616}.alert.ok{background:#ecfff8;border-color:#b9f2dd;color:#046447}.alert.warn{background:#fff8e8;border-color:#ffe0a3;color:#704100}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#edf2f7;color:#334155}.badge.ok{background:#e6fff5;color:#06724f}.badge.warn{background:#fff4d5;color:#7a4d00}.badge.danger{background:#ffe8e8;color:#9a1515}.badge.blue{background:#e8f1ff;color:#064e9b}
.qrbox{text-align:center}.qrbox img{width:min(280px,85vw);height:auto;border:12px solid #fff;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.12);background:#fff}.token{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;letter-spacing:.04em;background:#f1f5f9;border:1px dashed #aab7c8;border-radius:10px;padding:8px;display:inline-block;margin-top:8px}
.stat{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px}.stat b{font-size:20px;display:block}.progress{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.progress>span{display:block;height:100%;background:var(--ok);width:0}
.task-title,.compact-title{font-size:18px;font-weight:900;margin:4px 0 6px;line-height:1.08}.v2-title{min-height:38px;max-height:42px;overflow:hidden}
.task-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.qty-input{font-size:30px;text-align:center;font-weight:900;padding:12px;border-width:2px}.camera-wrap{background:#05070a;border-radius:18px;overflow:hidden;position:relative}.camera-wrap video{display:block;width:100%;height:100%;object-fit:cover;background:#000}.camera-note{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;padding:5px 7px;border-radius:8px;max-width:90%}
.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.preview-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:2px solid var(--line)}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}.table{width:100%;border-collapse:collapse;font-size:14px}.table th,.table td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}.table th{background:#f8fafc;position:sticky;top:0;z-index:1}.table tr:hover td{background:#fbfdff}.num{text-align:right!important;white-space:nowrap}.nowrap{white-space:nowrap}.breadcrumbs{font-size:14px;margin:0 0 12px}.photo-detail{max-width:360px;border-radius:12px;border:1px solid var(--line)}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.thumbs img{width:100%;border-radius:8px;border:1px solid var(--line)}
.mobile-block{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.mobile-block .card{max-width:520px}.scanner video{width:100%;background:#000;border-radius:16px;max-height:60vh}.scan-frame{border:2px dashed #93c5fd;border-radius:16px;padding:10px;background:#f8fbff}

/* operator compact v2 */
.task-screen{height:100%}.compact-count-card{display:flex;flex-direction:column;height:100%;margin-bottom:0;padding:8px 8px 10px;overflow:hidden}.compact-progress{margin-bottom:7px;min-height:10px}.compact-task-body{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.compact-empty{display:flex;align-items:center;justify-content:center;min-height:140px;text-align:center}
.count-app-v2{display:flex;flex-direction:column;gap:7px;min-height:0;flex:1}
.top-select-row{display:grid;grid-template-columns:74px 1fr;gap:8px;align-items:end}.tier-box-inline{height:58px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;padding:6px 9px;display:flex;flex-direction:column;justify-content:center}.tier-box-inline span{font-size:11px;color:#64748b;font-weight:800}.tier-box-inline b{font-size:25px;line-height:1;margin-top:3px}
.category-inline label,.item-row-full label{margin:0}.category-inline select,.item-row-full select{margin-top:4px}
.select-cat{font-size:17px;font-weight:800;height:42px}.select-item{font-size:13px;line-height:1.15;height:40px;padding-top:8px;padding-bottom:8px}.select-item option{font-size:13px}
.item-row-full{display:block}
.micro-info-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mini-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:700}.mini-chip b{font-size:15px;color:#0f172a}.compact-micro-row{margin-bottom:1px}
.work-row-v3{display:grid;grid-template-columns:minmax(210px,58%) 1fr;gap:10px;align-items:start;min-height:0}.camera-col-v3,.qty-col-v3{display:flex;flex-direction:column;gap:8px;min-height:0}
.square-camera{aspect-ratio:1/1;border:2px solid #dbe6f4;background:#000;position:relative}.big-camera{min-height:0}.camera-overlay-btn{position:absolute;left:9px;top:9px;z-index:2;border:0;border-radius:12px;padding:8px 10px;background:rgba(21,101,192,.92);color:#fff;font-weight:800;font-size:15px;box-shadow:0 3px 12px rgba(0,0,0,.25)}.camera-overlay-btn:disabled{opacity:.65}
.preview-strip-v2{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.preview-strip-v2 img,.photo-slot{width:100%;aspect-ratio:1/1;border-radius:10px;border:2px solid #d5e0ee;object-fit:cover;background:#f5f8fc}.photo-slot{display:flex;align-items:center;justify-content:center;color:#748499;font-weight:900;font-size:18px}
.qty-est-box{border:1px solid #f1d69b;background:#fff8e8;border-radius:16px;padding:8px 12px;min-height:62px;display:flex;flex-direction:column;justify-content:center}.qty-est-box small{display:block;color:#9a6b00;font-weight:900;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.qty-est-box b{font-size:17px;line-height:1.15;color:#7b4c00;margin-top:4px}
.v2-qty{font-size:30px;height:84px;border-width:3px;padding:6px 10px;background:#fbfdff}.slim-qty-box{border-radius:16px}.slim-est-box{margin-bottom:2px}
.keypad-wrap-v2{flex:1 0 auto}.keypad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.keypad-grid button{height:54px;border:1px solid #c9d7e6;border-radius:14px;background:#f0f5fb;color:#0f172a;font-size:26px;font-weight:900;box-shadow:0 2px 8px rgba(15,23,42,.05)}.keypad-grid button:active{transform:translateY(1px)}
.action-row-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:2px}.action-btn-v2{height:54px;font-size:20px;border-radius:16px}
@media(max-width:430px){
  .topbar{padding:10px 12px}.topbar h1{font-size:16px}.topbar small{font-size:11px}
  .compact-count-card{padding:8px 8px 10px}.top-select-row{grid-template-columns:72px 1fr;gap:7px}.tier-box-inline{height:56px;padding:6px 8px}.tier-box-inline b{font-size:24px}
  .select-cat{font-size:16px;height:41px}.select-item{font-size:12px;height:39px}.v2-title{font-size:15px;min-height:30px;max-height:34px;margin-top:0}
  .work-row-v3{grid-template-columns:52.5% 47.5%;gap:8px}.qty-est-box{min-height:58px;padding:7px 10px}.qty-est-box b{font-size:16px}.v2-qty{font-size:28px;height:76px}
  .camera-overlay-btn{font-size:14px;padding:7px 8px}.camera-note{font-size:10px;padding:4px 6px}.keypad-grid button{height:50px;font-size:24px}.action-btn-v2{height:50px;font-size:18px}.mini-chip b{font-size:14px}
}


/* patch sort_20260623_1745_compact_cleanup_v3 */
.compact-count-card{padding-top:6px}
.top-tight-row{margin-top:0;align-items:stretch}.same-size{height:58px}
.tier-box-inline.same-size{display:flex;align-items:flex-start;justify-content:center}
.category-inline.same-size{height:58px;display:flex;align-items:center}.category-inline.same-size .select-cat{height:58px;border-radius:16px;padding:0 18px;font-size:18px;font-weight:900}
.item-row-tight{margin-top:-1px}.title-select{font-size:17px!important;font-weight:900!important;line-height:1.08!important;height:58px!important;padding:8px 16px!important;white-space:normal;overflow:hidden;text-overflow:clip}
.select-item.title-select option{font-size:13px;font-weight:700}
.compact-micro-top{margin-top:0}.mini-chip{padding:5px 10px}.mini-chip b{font-size:16px}
.work-row-tight{margin-top:-1px}.work-row-v3{grid-template-columns:minmax(224px,60%) 1fr;gap:10px}.camera-col-v3,.qty-col-v3{gap:6px}
.big-camera{aspect-ratio:1/1;min-height:224px}.square-camera{border-radius:18px}
.qty-col-tight{padding-top:0}.slim-est-box{min-height:56px;padding:8px 12px}.slim-est-box b{font-size:18px}.qty-label-tight{margin-top:2px;margin-bottom:5px}.slim-qty-box{height:120px;font-size:34px;padding:6px 8px}
.preview-strip-v2.hidden{display:none!important}
@media(max-width:430px){
  .compact-count-card{padding-top:5px}
  .top-tight-row{grid-template-columns:72px 1fr;gap:8px}
  .same-size{height:56px}
  .category-inline.same-size .select-cat{height:56px;font-size:17px;padding:0 14px}
  .title-select{font-size:15px!important;height:54px!important;padding:7px 13px!important}
  .work-row-v3{grid-template-columns:53% 47%;gap:8px}
  .big-camera{min-height:208px}
  .slim-est-box{min-height:52px;padding:7px 10px}.slim-est-box b{font-size:17px}
  .slim-qty-box{height:112px;font-size:32px}
}


/* patch sort_20260623_1805_header_tight_selecttitle_v4 */
.compact-count-card{padding-top:4px!important}
.top-near-header{margin-top:-2px}
.top-tight-row{grid-template-columns:72px 1fr!important;gap:8px!important;align-items:stretch!important}
.tier-box-inline.same-size,.category-inline.same-size,.category-inline.same-size .select-cat{height:54px!important}
.tier-box-inline.same-size{padding:6px 9px!important}
.tier-box-inline.same-size b{font-size:24px!important}
.category-inline.same-size .select-cat{font-size:19px!important;font-weight:900!important;padding:0 16px!important;border-radius:16px!important}
.item-row-titlelike{margin-top:-2px!important}.title-select-big{height:62px!important;font-size:17px!important;font-weight:900!important;line-height:1.05!important;padding:8px 16px!important;border-radius:16px!important}
.title-select-big option{font-size:13px!important;font-weight:700!important}
.compact-micro-top{margin-top:0!important;margin-bottom:2px!important}
.mini-chip{padding:5px 9px!important}.mini-chip b{font-size:15px!important}
.work-row-lifted{margin-top:-1px!important}.work-row-v3{grid-template-columns:minmax(230px,60%) 1fr!important;gap:8px!important}.camera-col-v3,.qty-col-v3{gap:6px!important}
.big-camera{min-height:230px!important}.camera-overlay-btn{top:8px!important;left:8px!important}.camera-note{bottom:8px!important;left:8px!important;right:8px!important;max-width:none!important}
.slim-est-box{min-height:56px!important;padding:8px 11px!important}.slim-est-box b{font-size:18px!important}.qty-label-tight{margin-top:1px!important;margin-bottom:4px!important}.slim-qty-box{height:118px!important;font-size:34px!important}
.preview-strip-v2,.preview-strip-v2.hidden{display:none!important}
@media(max-width:430px){
  .compact-count-card{padding-top:4px!important;padding-bottom:8px!important}
  .top-near-header{margin-top:-3px!important}
  .top-tight-row{grid-template-columns:70px 1fr!important;gap:8px!important}
  .tier-box-inline.same-size,.category-inline.same-size,.category-inline.same-size .select-cat{height:52px!important}
  .category-inline.same-size .select-cat{font-size:18px!important;padding:0 14px!important}
  .title-select-big{height:58px!important;font-size:15px!important;padding:7px 14px!important}
  .work-row-v3{grid-template-columns:53% 47%!important;gap:8px!important}
  .big-camera{min-height:210px!important}
  .slim-est-box{min-height:52px!important}.slim-est-box b{font-size:17px!important}
  .slim-qty-box{height:110px!important;font-size:31px!important}
}


/* patch sort_20260623_1835_final_compact_selectors_v5 */
.compact-count-card{padding-top:2px!important}
.top-super-tight{margin-top:-4px!important}.top-near-header{margin-top:-4px!important}
.same-height-box{height:56px!important}.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big{height:56px!important}
.tier-box-inline.same-height-box{padding:6px 9px!important}
.category-inline.no-label-box{display:block!important}
.select-cat-big{font-size:20px!important;font-weight:900!important;padding:0 16px!important;border-radius:16px!important}
.item-row-raised{margin-top:-4px!important}.title-select-2line{display:block!important;height:64px!important;font-size:18px!important;font-weight:900!important;line-height:1.05!important;padding:8px 14px!important;border-radius:16px!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important}
.compact-micro-under-item{margin-top:0!important;margin-bottom:3px!important}.compact-micro-under-item .mini-chip{padding:5px 9px!important}
.work-row-lifted{margin-top:-2px!important}.work-row-v3{grid-template-columns:minmax(232px,60%) 1fr!important;gap:8px!important}.big-camera{min-height:232px!important}.camera-col-v3{justify-content:flex-start!important}.qty-col-tight{justify-content:flex-start!important}
.preview-strip-v2,.preview-strip-v2.hidden{display:none!important}
@media(max-width:430px){
  .compact-count-card{padding-top:2px!important;padding-bottom:8px!important}
  .top-super-tight{margin-top:-5px!important}.same-height-box,.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big{height:54px!important}
  .select-cat-big{font-size:19px!important;padding:0 14px!important}
  .item-row-raised{margin-top:-4px!important}.title-select-2line{height:60px!important;font-size:16px!important;padding:7px 13px!important}
  .compact-micro-under-item{margin-top:0!important;margin-bottom:2px!important}
  .work-row-v3{grid-template-columns:53% 47%!important;gap:8px!important}.big-camera{min-height:212px!important}
}


/* patch sort_20260623_1910_layout_cleanup_v6 */
body.operator-page.count-mode{overflow:hidden!important}
.operator-page.count-mode .operator-container{padding-top:4px!important;padding-left:8px!important;padding-right:8px!important;height:calc(var(--app-height) - 72px)!important;overflow:hidden!important}
.operator-page.count-mode .compact-count-card{padding:5px 8px 8px!important;border-radius:18px!important;margin-top:0!important;overflow:hidden!important}
.operator-page.count-mode .compact-progress{height:9px!important;margin:0 0 5px 0!important;min-height:9px!important}
.count-app-v2{gap:6px!important}
.top-super-tight,.top-near-header,.top-tight-row{margin-top:0!important;margin-bottom:0!important;display:grid!important;grid-template-columns:72px 1fr!important;gap:8px!important;align-items:stretch!important}
.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big{height:54px!important}
.tier-box-inline.same-height-box{border-radius:15px!important;padding:6px 9px!important;justify-content:center!important}
.tier-box-inline.same-height-box span{font-size:11px!important;font-weight:900!important;color:#64748b!important;line-height:1!important;margin:0!important}
.tier-box-inline.same-height-box b{font-size:25px!important;line-height:1!important;margin-top:3px!important}
.category-inline.no-label-box{display:block!important;margin:0!important;padding:0!important;height:54px!important}
.category-inline.no-label-box .select-cat-big{display:block!important;margin:0!important;border-radius:15px!important;font-size:20px!important;font-weight:900!important;padding:0 17px!important;line-height:54px!important;background:#fff!important;color:#172033!important}
.item-row-titlelike,.item-row-raised{margin-top:-1px!important;margin-bottom:0!important}
.item-picker-wrap{position:relative!important;width:100%!important;height:66px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}
.item-title-button{position:absolute!important;inset:0!important;z-index:1!important;width:100%!important;height:100%!important;border:0!important;background:#fff!important;color:#111827!important;text-align:left!important;padding:8px 42px 8px 14px!important;font-size:18px!important;font-weight:900!important;line-height:1.08!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important;font-family:inherit!important}
.item-picker-wrap:after{content:'⌄';position:absolute;right:14px;top:50%;transform:translateY(-54%);z-index:2;font-size:22px;color:#475569;pointer-events:none}
.native-item-select{position:absolute!important;inset:0!important;z-index:3!important;width:100%!important;height:100%!important;opacity:0!important;font-size:16px!important}
.title-select-2line,.title-select-big{height:66px!important}
.compact-micro-under-item,.compact-micro-top{margin-top:0!important;margin-bottom:1px!important;gap:7px!important}
.compact-micro-under-item .mini-chip,.compact-micro-top .mini-chip{padding:4px 9px!important;font-size:12px!important}.compact-micro-under-item .mini-chip b,.compact-micro-top .mini-chip b{font-size:15px!important}
.compact-micro-under-item .btn.mini,.compact-micro-top .btn.mini{padding:7px 12px!important;border-radius:12px!important;font-size:13px!important}
.compact-title,.v2-title{display:none!important}
.work-row-lifted,.work-row-tight{margin-top:0!important}.work-row-v3{display:grid!important;grid-template-columns:minmax(238px,60%) 1fr!important;gap:8px!important;align-items:start!important;min-height:0!important}
.camera-col-v3,.qty-col-v3{gap:6px!important;min-height:0!important}.big-camera{min-height:238px!important;aspect-ratio:1/1!important;border-radius:18px!important}.camera-wrap video{height:100%!important;object-fit:cover!important}
.camera-overlay-btn{top:8px!important;left:8px!important;font-size:14px!important;padding:7px 9px!important;border-radius:11px!important}.camera-note{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;font-size:11px!important;padding:5px 7px!important;line-height:1.2!important}
.preview-strip-v2,.preview-strip-v2.hidden,.photo-slots{display:none!important}
.qty-col-tight{padding-top:0!important}.slim-est-box{min-height:54px!important;padding:7px 10px!important;border-radius:15px!important}.slim-est-box small{font-size:11px!important}.slim-est-box b{font-size:18px!important}.qty-label-tight{font-size:13px!important;margin:1px 0 4px!important}.slim-qty-box{height:122px!important;border-radius:16px!important;font-size:35px!important;padding:6px 8px!important}
.keypad-wrap-v2{margin-top:0!important}.keypad-grid{gap:8px!important}.keypad-grid button{height:54px!important}.action-row-v2{margin-top:0!important}.action-btn-v2{height:54px!important}
@media(max-width:430px){
  .operator-page.count-mode .operator-container{padding-top:4px!important;padding-left:7px!important;padding-right:7px!important;height:calc(var(--app-height) - 70px)!important}
  .operator-page.count-mode .compact-count-card{padding:4px 7px 8px!important}
  .top-super-tight,.top-near-header,.top-tight-row{grid-template-columns:70px 1fr!important;gap:8px!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:52px!important}
  .category-inline.no-label-box .select-cat-big{font-size:19px!important;line-height:52px!important;padding:0 14px!important}
  .item-picker-wrap{height:62px!important}.item-title-button{font-size:16px!important;line-height:1.08!important;padding:7px 38px 7px 13px!important}.item-picker-wrap:after{right:12px;font-size:20px}
  .compact-micro-under-item,.compact-micro-top{gap:6px!important;margin-bottom:1px!important}.compact-micro-under-item .mini-chip,.compact-micro-top .mini-chip{padding:4px 8px!important}.compact-micro-under-item .btn.mini,.compact-micro-top .btn.mini{padding:7px 11px!important}
  .work-row-v3{grid-template-columns:53% 47%!important;gap:8px!important}.big-camera{min-height:214px!important}.slim-est-box{min-height:52px!important;padding:7px 9px!important}.slim-est-box b{font-size:17px!important}.slim-qty-box{height:112px!important;font-size:32px!important}
  .keypad-grid button{height:50px!important}.action-btn-v2{height:50px!important}
}
@media(max-width:380px){
  .work-row-v3{grid-template-columns:52% 48%!important}.big-camera{min-height:194px!important}.item-picker-wrap{height:58px!important}.item-title-button{font-size:15px!important}.slim-qty-box{height:98px!important}.keypad-grid button{height:46px!important}.action-btn-v2{height:48px!important}
}

/* patch sort_20260623_1915_layout_cleanup_force_v6 */
.operator-page.count-mode .operator-container{padding-top:4px!important;padding-left:7px!important;padding-right:7px!important;height:calc(var(--app-height) - 70px)!important;overflow:hidden!important}
.operator-page.count-mode .compact-count-card{padding:4px 7px 8px!important;margin-top:0!important;overflow:hidden!important}
.operator-page.count-mode .compact-progress{height:8px!important;min-height:8px!important;margin:0 0 5px!important}
.count-app-v2{gap:6px!important}
.top-super-tight,.top-near-header,.top-tight-row{margin:0!important;display:grid!important;grid-template-columns:72px 1fr!important;gap:8px!important;align-items:stretch!important}
.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big{height:54px!important}
.tier-box-inline.same-height-box{border-radius:15px!important;padding:6px 9px!important;justify-content:center!important}
.tier-box-inline.same-height-box span{font-size:11px!important;font-weight:900!important;color:#64748b!important;line-height:1!important;margin:0!important}
.tier-box-inline.same-height-box b{font-size:25px!important;line-height:1!important;margin-top:3px!important}
.category-inline.no-label-box{height:54px!important;margin:0!important;padding:0!important;display:block!important}
.category-inline.no-label-box .select-cat-big{height:54px!important;margin:0!important;border-radius:15px!important;font-size:20px!important;font-weight:900!important;padding:0 17px!important;line-height:54px!important;background:#fff!important;color:#172033!important}
.item-row-titlelike,.item-row-raised{margin-top:-1px!important;margin-bottom:0!important}
.item-title-button{width:100%!important;height:66px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:#fff!important;color:#111827!important;text-align:left!important;padding:8px 42px 8px 14px!important;font-size:18px!important;font-weight:900!important;line-height:1.08!important;font-family:inherit!important;display:flex!important;align-items:center!important;position:relative!important;overflow:hidden!important}
.item-title-button span{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important;max-height:42px!important}
.item-title-button em{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-52%)!important;font-style:normal!important;font-size:22px!important;color:#475569!important;line-height:1!important}
.native-item-hidden{display:none!important}
.compact-title,.v2-title{display:none!important}
.compact-micro-under-item,.compact-micro-top{margin:0 0 1px!important;gap:7px!important}.compact-micro-under-item .mini-chip,.compact-micro-top .mini-chip{padding:4px 9px!important;font-size:12px!important}.compact-micro-under-item .mini-chip b,.compact-micro-top .mini-chip b{font-size:15px!important}.compact-micro-under-item .btn.mini,.compact-micro-top .btn.mini{padding:7px 12px!important;border-radius:12px!important;font-size:13px!important}
.work-row-lifted,.work-row-tight{margin-top:0!important}.work-row-v3{display:grid!important;grid-template-columns:minmax(238px,60%) 1fr!important;gap:8px!important;align-items:start!important;min-height:0!important}.camera-col-v3,.qty-col-v3{gap:6px!important;min-height:0!important}.big-camera{min-height:238px!important;aspect-ratio:1/1!important;border-radius:18px!important}.camera-wrap video{height:100%!important;object-fit:cover!important}
.camera-overlay-btn{top:8px!important;left:8px!important;font-size:14px!important;padding:7px 9px!important;border-radius:11px!important}.camera-note{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;font-size:11px!important;padding:5px 7px!important;line-height:1.2!important}
.preview-strip-v2,.preview-strip-v2.hidden,.photo-slots{display:none!important}
.qty-col-tight{padding-top:0!important}.slim-est-box{min-height:54px!important;padding:7px 10px!important;border-radius:15px!important}.slim-est-box small{font-size:11px!important}.slim-est-box b{font-size:18px!important}.qty-label-tight{font-size:13px!important;margin:1px 0 4px!important}.slim-qty-box{height:122px!important;border-radius:16px!important;font-size:35px!important;padding:6px 8px!important}
.keypad-wrap-v2{margin-top:0!important}.keypad-grid{gap:8px!important}.keypad-grid button{height:54px!important}.action-row-v2{margin-top:0!important}.action-btn-v2{height:54px!important}
.item-picker{position:fixed!important;inset:0!important;z-index:9999!important;background:rgba(15,23,42,.42)!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:12px!important}.item-picker.hidden{display:none!important}.item-picker-panel{width:100%!important;max-height:72vh!important;background:#fff!important;border-radius:18px 18px 10px 10px!important;box-shadow:0 -12px 40px rgba(0,0,0,.22)!important;overflow:hidden!important}.item-picker-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 14px!important;border-bottom:1px solid var(--line)!important}.item-picker-head b{font-size:18px!important}.item-picker-head button{border:0!important;border-radius:10px!important;background:#eef2f7!important;padding:8px 12px!important;font-weight:800!important}.item-picker-list{max-height:calc(72vh - 58px)!important;overflow:auto!important;padding:8px!important}.item-picker-list button{width:100%!important;border:1px solid var(--line)!important;background:#fff!important;border-radius:12px!important;margin:0 0 7px!important;padding:12px!important;text-align:left!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;color:#111827!important}.item-picker-list button.active{background:#e8f1ff!important;border-color:#93c5fd!important;color:#064e9b!important}
@media(max-width:430px){
  .operator-page.count-mode .operator-container{padding-top:3px!important;padding-left:7px!important;padding-right:7px!important;height:calc(var(--app-height) - 69px)!important}
  .operator-page.count-mode .compact-count-card{padding:4px 7px 8px!important}
  .top-super-tight,.top-near-header,.top-tight-row{grid-template-columns:70px 1fr!important;gap:8px!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:52px!important}
  .category-inline.no-label-box .select-cat-big{font-size:19px!important;line-height:52px!important;padding:0 14px!important}
  .item-title-button{height:62px!important;font-size:16px!important;line-height:1.08!important;padding:7px 38px 7px 13px!important}.item-title-button span{max-height:38px!important}.item-title-button em{right:12px!important;font-size:20px!important}
  .compact-micro-under-item,.compact-micro-top{gap:6px!important;margin-bottom:1px!important}.compact-micro-under-item .mini-chip,.compact-micro-top .mini-chip{padding:4px 8px!important}.compact-micro-under-item .btn.mini,.compact-micro-top .btn.mini{padding:7px 11px!important}
  .work-row-v3{grid-template-columns:53% 47%!important;gap:8px!important}.big-camera{min-height:214px!important}.slim-est-box{min-height:52px!important;padding:7px 9px!important}.slim-est-box b{font-size:17px!important}.slim-qty-box{height:112px!important;font-size:32px!important}
  .keypad-grid button{height:50px!important}.action-btn-v2{height:50px!important}
}
@media(max-width:380px){
  .work-row-v3{grid-template-columns:52% 48%!important}.big-camera{min-height:194px!important}.item-title-button{height:58px!important;font-size:15px!important}.slim-qty-box{height:98px!important}.keypad-grid button{height:46px!important}.action-btn-v2{height:48px!important}
}

/* patch sort_20260623_2215_camera_big_sideboxes_v8 */
.operator-page.count-mode .operator-container{padding-top:3px!important;padding-left:7px!important;padding-right:7px!important;height:calc(var(--app-height) - 69px)!important;overflow:hidden!important}
.operator-page.count-mode .compact-count-card{padding:4px 7px 8px!important;overflow:hidden!important}
.operator-page.count-mode .compact-progress{height:8px!important;min-height:8px!important;margin:0 0 4px!important}
.top-super-tight,.top-near-header,.top-tight-row{margin:0!important;grid-template-columns:70px 1fr!important;gap:8px!important;align-items:stretch!important}
.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:52px!important}
.category-inline.no-label-box .select-cat-big{font-size:20px!important;line-height:52px!important;padding:0 14px!important}
.item-row-titlelike,.item-row-raised{margin-top:-1px!important;margin-bottom:0!important}.item-title-button{height:60px!important;font-size:16px!important;padding:7px 38px 7px 13px!important}.item-title-button span{max-height:38px!important}
.compact-micro-row,.compact-micro-top,.compact-micro-under-item,.work-row-v3,.camera-col-v3,.qty-col-v3,.work-row-v7,.camera-col-v7,.side-stack-v7{display:none!important}
.work-row-v8{display:grid!important;grid-template-columns:56% 44%!important;gap:10px!important;align-items:stretch!important;margin-top:0!important;min-height:0!important}
.camera-col-v8{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important}.big-camera-v8{min-height:276px!important;aspect-ratio:1/1!important;border-radius:18px!important}.camera-wrap video{height:100%!important;object-fit:cover!important}
.camera-overlay-btn{top:8px!important;left:8px!important;font-size:14px!important;padding:7px 9px!important;border-radius:11px!important}.camera-note{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;font-size:11px!important;padding:5px 7px!important;line-height:1.2!important}
.preview-strip-v2,.preview-strip-v2.hidden,.photo-slots{display:none!important}
.side-stack-v8{display:grid!important;grid-template-rows:repeat(3,40px) 48px 1fr!important;gap:8px!important;min-height:276px!important}
.side-box-v8{border:1px solid #cfd8e6!important;border-radius:14px!important;background:#fff!important;color:#172033!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important}
.side-btn-v8{font-size:16px!important;font-weight:900!important;background:#eef2f7!important;padding:0 6px!important}
.side-stat-v8{flex-direction:column!important;padding:4px 6px!important;font-size:12px!important;font-weight:800!important;line-height:1.05!important}.side-stat-v8 b{display:block!important;font-size:15px!important;margin-top:2px!important}
.side-est-v8{flex-direction:column!important;padding:4px 8px!important;background:#fff8e8!important;border-color:#f1d69b!important}.side-est-v8 small{font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;color:#8a6400!important;line-height:1!important}.side-est-v8 b{font-size:14px!important;line-height:1.05!important;color:#7b4c00!important;margin-top:3px!important}
.side-qty-v8{padding:6px 8px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important}.side-qty-v8 small{font-size:11px!important;font-weight:900!important;text-align:center!important;color:#475569!important;line-height:1!important;margin-bottom:6px!important}
.qty-display-v8{width:100%!important;height:100%!important;min-height:88px!important;border:0!important;border-radius:12px!important;background:#f8fbff!important;text-align:center!important;font-size:34px!important;font-weight:900!important;color:#6b7280!important;padding:4px 6px!important;outline:none!important}
.qty-display-v8::placeholder{color:#9aa5b1!important}
.keypad-lower-v8{margin-top:16px!important}.keypad-grid{gap:8px!important}.keypad-grid button{height:46px!important}.action-row-v2{margin-top:6px!important;gap:10px!important}.action-btn-v2{height:50px!important;font-size:18px!important}
@media(max-width:430px){
  .work-row-v8{grid-template-columns:56% 44%!important;gap:8px!important}.big-camera-v8{min-height:260px!important}.side-stack-v8{grid-template-rows:repeat(3,39px) 46px 1fr!important;min-height:260px!important}.side-btn-v8{font-size:15px!important}.side-stat-v8{font-size:12px!important}.side-stat-v8 b{font-size:15px!important}.side-est-v8 b{font-size:13px!important}.qty-display-v8{min-height:82px!important;font-size:32px!important}.keypad-lower-v8{margin-top:15px!important}.keypad-grid button{height:44px!important}.action-row-v2{margin-top:6px!important}.action-btn-v2{height:48px!important}
}
@media(max-width:380px){
  .top-super-tight,.top-near-header,.top-tight-row{grid-template-columns:68px 1fr!important;gap:7px!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:50px!important}
  .category-inline.no-label-box .select-cat-big{font-size:18px!important;line-height:50px!important;padding:0 12px!important}
  .item-title-button{height:58px!important;font-size:15px!important;padding:7px 34px 7px 12px!important}.item-title-button span{max-height:36px!important}
  .work-row-v8{grid-template-columns:55% 45%!important;gap:8px!important}.big-camera-v8{min-height:236px!important}.side-stack-v8{grid-template-rows:repeat(3,37px) 44px 1fr!important;gap:7px!important;min-height:236px!important}.side-btn-v8{font-size:14px!important}.side-stat-v8{font-size:11px!important}.side-stat-v8 b{font-size:14px!important}.side-est-v8 b{font-size:12px!important}.qty-display-v8{min-height:74px!important;font-size:28px!important}.keypad-lower-v8{margin-top:12px!important}.keypad-grid button{height:42px!important}.action-btn-v2{height:46px!important}
}
/* patch sort_20260623_2335_camera_preview_align_v9 */
.operator-page.count-mode .operator-container{padding-top:3px!important;padding-left:7px!important;padding-right:7px!important;height:calc(var(--app-height) - 69px)!important;overflow:hidden!important}
.operator-page.count-mode .compact-count-card{padding:4px 7px 8px!important;overflow:hidden!important}
.operator-page.count-mode .compact-progress{height:8px!important;min-height:8px!important;margin:0 0 4px!important}
.top-super-tight,.top-near-header,.top-tight-row{margin:0!important;grid-template-columns:70px 1fr!important;gap:8px!important;align-items:stretch!important}
.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:52px!important}
.category-inline.no-label-box .select-cat-big{font-size:20px!important;line-height:52px!important;padding:0 14px!important}
.item-row-titlelike,.item-row-raised{margin-top:-1px!important;margin-bottom:0!important}.item-title-button{height:60px!important;font-size:16px!important;padding:7px 38px 7px 13px!important}.item-title-button span{max-height:38px!important}
.compact-micro-row,.compact-micro-top,.compact-micro-under-item,.work-row-v3,.camera-col-v3,.qty-col-v3,.work-row-v7,.camera-col-v7,.side-stack-v7,.work-row-v8,.camera-col-v8,.side-stack-v8{display:none!important}
.work-row-v9{display:grid!important;grid-template-columns:58% 42%!important;gap:10px!important;align-items:stretch!important;margin-top:0!important;min-height:0!important}
.camera-col-v9{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:0!important}.big-camera-v9{width:100%!important;aspect-ratio:1/1!important;min-height:0!important;border-radius:18px!important}.camera-wrap video{height:100%!important;object-fit:cover!important}
.camera-overlay-btn{top:8px!important;left:8px!important;font-size:14px!important;padding:7px 9px!important;border-radius:11px!important}.camera-note{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;font-size:11px!important;padding:5px 7px!important;line-height:1.2!important}
.preview-strip-v2.preview-strip-v9{display:grid!important;grid-template-columns:repeat(4,46px)!important;justify-content:start!important;gap:6px!important;min-height:46px!important}.preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:46px!important;height:46px!important;aspect-ratio:1/1!important;border-radius:10px!important;border:2px solid #d5e0ee!important;background:#f5f8fc!important;object-fit:cover!important}.preview-strip-v9 .photo-slot{display:flex!important;align-items:center!important;justify-content:center!important;color:#748499!important;font-weight:900!important;font-size:16px!important}
.side-stack-v9{display:grid!important;grid-template-rows:34px 34px 34px 42px 1fr!important;gap:8px!important;height:100%!important;min-height:0!important}
.side-box-v9{border:1px solid #cfd8e6!important;border-radius:14px!important;background:#fff!important;color:#172033!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important}
.side-btn-v9{font-size:15px!important;font-weight:900!important;background:#eef2f7!important;padding:0 6px!important}
.side-stat-v9{flex-direction:column!important;padding:2px 6px!important;font-size:11px!important;font-weight:800!important;line-height:1.0!important}.side-stat-v9 b{display:block!important;font-size:14px!important;margin-top:1px!important}
.side-est-v9{flex-direction:column!important;padding:3px 6px!important;background:#fff8e8!important;border-color:#f1d69b!important}.side-est-v9 small{font-size:9px!important;font-weight:900!important;text-transform:uppercase!important;color:#8a6400!important;line-height:1!important}.side-est-v9 b{font-size:13px!important;line-height:1.02!important;color:#7b4c00!important;margin-top:2px!important}
.side-qty-v9{padding:4px 6px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important}.side-qty-v9 small{font-size:10px!important;font-weight:900!important;text-align:center!important;color:#475569!important;line-height:1!important;margin-bottom:4px!important}
.qty-display-v9{width:100%!important;height:100%!important;min-height:64px!important;border:0!important;border-radius:12px!important;background:#f8fbff!important;text-align:center!important;font-size:30px!important;font-weight:900!important;color:#6b7280!important;padding:2px 6px!important;outline:none!important}.qty-display-v9::placeholder{color:#9aa5b1!important}
.keypad-lower-v9{margin-top:10px!important}.keypad-grid{gap:8px!important}.keypad-grid button{height:45px!important}.action-row-v2{margin-top:6px!important;gap:10px!important}.action-btn-v2{height:48px!important;font-size:18px!important}
@media(max-width:430px){
  .work-row-v9{grid-template-columns:58% 42%!important;gap:8px!important}.big-camera-v9{width:100%!important;aspect-ratio:1/1!important}.preview-strip-v2.preview-strip-v9{grid-template-columns:repeat(4,44px)!important;gap:6px!important;min-height:44px!important}.preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:44px!important;height:44px!important}
  .side-stack-v9{grid-template-rows:33px 33px 33px 40px 1fr!important;gap:8px!important}.side-btn-v9{font-size:14px!important}.side-stat-v9{font-size:11px!important}.side-stat-v9 b{font-size:14px!important}.side-est-v9 b{font-size:12px!important}.qty-display-v9{min-height:60px!important;font-size:28px!important}
  .keypad-lower-v9{margin-top:10px!important}.keypad-grid button{height:43px!important}.action-btn-v2{height:47px!important}
}
@media(max-width:380px){
  .top-super-tight,.top-near-header,.top-tight-row{grid-template-columns:68px 1fr!important;gap:7px!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:50px!important}
  .category-inline.no-label-box .select-cat-big{font-size:18px!important;line-height:50px!important;padding:0 12px!important}
  .item-title-button{height:58px!important;font-size:15px!important;padding:7px 34px 7px 12px!important}.item-title-button span{max-height:36px!important}
  .work-row-v9{grid-template-columns:57% 43%!important;gap:8px!important}.preview-strip-v2.preview-strip-v9{grid-template-columns:repeat(4,40px)!important;gap:5px!important;min-height:40px!important}.preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:40px!important;height:40px!important}
  .side-stack-v9{grid-template-rows:31px 31px 31px 38px 1fr!important;gap:7px!important}.side-btn-v9{font-size:13px!important}.side-stat-v9{font-size:10px!important}.side-stat-v9 b{font-size:13px!important}.side-est-v9 b{font-size:11px!important}.qty-display-v9{min-height:56px!important;font-size:26px!important}.keypad-lower-v9{margin-top:9px!important}.keypad-grid button{height:41px!important}.action-btn-v2{height:45px!important}
}

/* patch sort_20260623_2355_camera_wider_qtytrim_v10 */
.work-row-v9{grid-template-columns:62% 38%!important;gap:8px!important}
.camera-col-v9{gap:8px!important}
.big-camera-v9{width:100%!important;height:236px!important;min-height:236px!important;aspect-ratio:auto!important}
.preview-strip-v2.preview-strip-v9{grid-template-columns:repeat(4,44px)!important;justify-content:start!important;gap:6px!important;min-height:44px!important}
.preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:44px!important;height:44px!important}
.side-stack-v9{grid-template-rows:32px 32px 32px 44px 76px!important;gap:6px!important;align-content:start!important}
.side-btn-v9{font-size:14px!important}
.side-stat-v9{font-size:10px!important;padding:2px 4px!important}.side-stat-v9 b{font-size:13px!important}
.side-est-v9 small{font-size:8px!important}.side-est-v9 b{font-size:11px!important;line-height:1.0!important}
.side-qty-v9{padding:3px 6px!important}.side-qty-v9 small{font-size:10px!important;margin-bottom:3px!important}
.qty-display-v9{min-height:52px!important;height:52px!important;font-size:26px!important;line-height:52px!important;padding:0 6px!important}
@media(max-width:430px){
  .work-row-v9{grid-template-columns:61% 39%!important;gap:8px!important}
  .big-camera-v9{height:238px!important;min-height:238px!important}
  .preview-strip-v2.preview-strip-v9{grid-template-columns:repeat(4,44px)!important;min-height:44px!important}
  .preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:44px!important;height:44px!important}
  .side-stack-v9{grid-template-rows:32px 32px 32px 44px 74px!important;gap:6px!important}
  .side-stat-v9{font-size:10px!important}.side-stat-v9 b{font-size:13px!important}
  .side-est-v9 b{font-size:11px!important}.qty-display-v9{height:50px!important;min-height:50px!important;font-size:25px!important;line-height:50px!important}
}
@media(max-width:380px){
  .work-row-v9{grid-template-columns:60% 40%!important;gap:7px!important}
  .big-camera-v9{height:226px!important;min-height:226px!important}
  .preview-strip-v2.preview-strip-v9{grid-template-columns:repeat(4,40px)!important;gap:5px!important;min-height:40px!important}
  .preview-strip-v9 img,.preview-strip-v9 .photo-slot{width:40px!important;height:40px!important}
  .side-stack-v9{grid-template-rows:30px 30px 30px 40px 68px!important;gap:6px!important}
  .side-stat-v9{font-size:9px!important}.side-stat-v9 b{font-size:12px!important}
  .side-est-v9 b{font-size:10px!important}.qty-display-v9{height:46px!important;min-height:46px!important;font-size:23px!important;line-height:46px!important}
}
/* patch sort_20260624_0815_preview_click_modal_v11 */
.operator-page.count-mode .compact-count-card{overflow:visible!important}
.work-row-v9{grid-template-columns:63% 37%!important;gap:8px!important}
.big-camera-v9{height:236px!important;min-height:236px!important;aspect-ratio:auto!important}
.preview-strip-v2.preview-strip-v9{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-height:54px!important;align-items:stretch!important}
.preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{width:100%!important;height:54px!important}
.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{border-radius:12px!important;border:2px solid #d5e0ee!important;background:#f5f8fc!important;box-sizing:border-box!important}
.preview-strip-v9 .photo-slot{display:flex!important;align-items:center!important;justify-content:center!important;color:#748499!important;font-weight:900!important;font-size:17px!important}
.preview-thumb-btn{display:block!important;padding:0!important;overflow:hidden!important;cursor:pointer!important}
.preview-thumb-btn img{display:block!important;object-fit:cover!important;border:0!important;border-radius:10px!important}
.side-stack-v9{grid-template-rows:32px 32px 32px 44px 74px!important;gap:8px!important;align-content:start!important;padding-right:1px!important}
.side-box-v9{width:100%!important;box-sizing:border-box!important;border-radius:10px!important;overflow:hidden!important}
.side-btn-v9{font-size:14px!important}
.side-stat-v9{font-size:10px!important;padding:2px 4px!important}.side-stat-v9 b{font-size:13px!important}
.side-est-v9 small{font-size:8px!important}.side-est-v9 b{font-size:11px!important;line-height:1!important}
.side-qty-v9{padding:3px 6px!important}.side-qty-v9 small{font-size:10px!important;margin-bottom:3px!important}
.qty-display-v9{height:48px!important;min-height:48px!important;line-height:48px!important;font-size:24px!important;padding:0 6px!important}
.preview-modal{position:fixed!important;inset:0!important;z-index:10050!important;background:rgba(15,23,42,.50)!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:14px 10px 142px!important}
.preview-modal.hidden{display:none!important}
.preview-modal-inner{max-width:94vw!important;max-height:38vh!important;background:#fff!important;border-radius:14px!important;padding:6px!important;box-shadow:0 18px 60px rgba(0,0,0,.32)!important}
.preview-modal-inner img{display:block!important;max-width:90vw!important;max-height:34vh!important;border-radius:10px!important;object-fit:contain!important}
body.modal-open{overflow:hidden!important}
@media(max-width:430px){
  .work-row-v9{grid-template-columns:63% 37%!important;gap:8px!important}
  .big-camera-v9{height:238px!important;min-height:238px!important}
  .preview-strip-v2.preview-strip-v9{gap:8px!important;min-height:54px!important}
  .preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{height:54px!important}
  .side-stack-v9{grid-template-rows:32px 32px 32px 44px 72px!important;gap:8px!important}
  .qty-display-v9{height:48px!important;min-height:48px!important;line-height:48px!important;font-size:24px!important}
  .preview-modal{padding:14px 10px 142px!important}
}
@media(max-width:380px){
  .work-row-v9{grid-template-columns:62% 38%!important;gap:7px!important}
  .big-camera-v9{height:228px!important;min-height:228px!important}
  .preview-strip-v2.preview-strip-v9{gap:6px!important;min-height:48px!important}
  .preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{height:48px!important}
  .side-stack-v9{grid-template-rows:30px 30px 30px 40px 66px!important;gap:7px!important}
  .side-stat-v9{font-size:9px!important}.side-stat-v9 b{font-size:12px!important}
  .side-est-v9 b{font-size:10px!important}
  .qty-display-v9{height:44px!important;min-height:44px!important;line-height:44px!important;font-size:22px!important}
  .preview-modal{padding:12px 8px 138px!important}
}

/* patch sort_20260624_0915_delete_user_responsive_v13 */
.count-app-v2{overflow:visible!important}
.work-row-v9{flex:0 0 auto!important;overflow:visible!important;margin-bottom:10px!important;position:relative!important;z-index:1!important}
.camera-col-v9{flex:0 0 auto!important;overflow:visible!important}
.preview-strip-v2.preview-strip-v9{position:relative!important;z-index:5!important;flex:0 0 auto!important;margin-top:0!important}
.keypad-lower-v9{flex:0 0 auto!important;position:relative!important;z-index:1!important;clear:both!important;margin-top:12px!important}
.keypad-grid{position:relative!important;z-index:1!important}
.action-row-v2{flex:0 0 auto!important;position:relative!important;z-index:1!important}
.side-box-v9{border-radius:10px!important;max-width:100%!important;overflow:hidden!important}
.device-action-row .btn{padding:10px 12px!important;border-radius:10px!important}.device-action-row select{min-height:40px!important;border-radius:10px!important}
@media(max-height:760px){
  .operator-page.count-mode .operator-container{height:calc(var(--app-height) - 66px)!important;padding-top:3px!important}
  .operator-page.count-mode .compact-count-card{padding-top:4px!important;padding-bottom:7px!important}
  .item-title-button{height:56px!important;font-size:15px!important;line-height:1.05!important}.item-title-button span{max-height:34px!important}
  .big-camera-v9{height:222px!important;min-height:222px!important}
  .preview-strip-v2.preview-strip-v9{min-height:46px!important;gap:6px!important}.preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{height:46px!important}
  .side-stack-v9{grid-template-rows:29px 29px 29px 38px 60px!important;gap:6px!important}
  .side-btn-v9{font-size:13px!important}.side-stat-v9{font-size:9px!important}.side-stat-v9 b{font-size:12px!important}.side-est-v9 b{font-size:10px!important}.qty-display-v9{height:40px!important;min-height:40px!important;line-height:40px!important;font-size:22px!important}
  .keypad-lower-v9{margin-top:10px!important}.keypad-grid button{height:41px!important}.action-row-v2{margin-top:7px!important}.action-btn-v2{height:45px!important}
}
@media(max-height:700px){
  .topbar{padding-top:8px!important;padding-bottom:8px!important}.topbar h1{font-size:15px!important}.topbar small{font-size:10px!important}
  .operator-page.count-mode .operator-container{height:calc(var(--app-height) - 58px)!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:48px!important}
  .category-inline.no-label-box .select-cat-big{line-height:48px!important;font-size:18px!important}
  .item-title-button{height:52px!important;font-size:14px!important}.item-title-button span{max-height:31px!important}
  .big-camera-v9{height:200px!important;min-height:200px!important}
  .preview-strip-v2.preview-strip-v9{min-height:42px!important}.preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{height:42px!important}
  .keypad-grid button{height:38px!important}.action-btn-v2{height:42px!important}
}


/* patch sort_20260624_1015_reset_view_dashboard_v14: preview-to-keypad spacing polish */
.keypad-lower-v9{margin-top:15px!important}
@media(max-width:430px){.keypad-lower-v9{margin-top:14px!important}}
@media(max-width:380px){.keypad-lower-v9{margin-top:12px!important}}


/* patch sort_20260624_1010_reset_view_dashboard_v14: preview/keypad spacing and dashboard styles */
.preview-strip-v2.preview-strip-v9{margin-bottom:6px!important}
.keypad-lower-v9{margin-top:16px!important}
@media(max-height:760px){.preview-strip-v2.preview-strip-v9{margin-bottom:5px!important}.keypad-lower-v9{margin-top:14px!important}}
@media(max-height:700px){.preview-strip-v2.preview-strip-v9{margin-bottom:4px!important}.keypad-lower-v9{margin-top:12px!important}}
.sortdash-body{background:#edf3fa;color:#172033}
.sortdash-top{position:sticky;top:0;z-index:40;background:linear-gradient(135deg,#0d5dbc,#073c86);color:#fff;padding:14px 18px;box-shadow:0 2px 12px rgba(15,23,42,.18)}
.sortdash-top h1{margin:0;font-size:22px;line-height:1.1}.sortdash-top small{display:block;opacity:.88;margin-top:4px}
.sortdash-wrap{max-width:1500px;margin:0 auto;padding:14px}
.sortdash-toolbar{position:sticky;top:70px;z-index:30;background:#fff;border:1px solid #d7e2ef;border-radius:18px;padding:12px;box-shadow:0 8px 24px rgba(15,23,42,.08);display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.sortdash-toolbar input{flex:1;min-width:260px;border:1px solid #ccd9ea;border-radius:13px;padding:11px 13px;font-size:15px}
.sortdash-btn{border:0;border-radius:12px;padding:10px 13px;font-weight:900;background:#e8f1ff;color:#0d47a1;text-decoration:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.sortdash-btn.primary{background:#1565c0;color:#fff}.sortdash-btn.warn{background:#fff3d5;color:#744600}.sortdash-btn.danger{background:#ffe7e7;color:#9a1515}
.sortdash-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}@media(max-width:1100px){.sortdash-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.sortdash-grid{grid-template-columns:repeat(2,1fr)}}
.sortdash-card{background:#fff;border:1px solid #d7e2ef;border-radius:18px;padding:14px;box-shadow:0 8px 24px rgba(15,23,42,.07)}.sortdash-card h2,.sortdash-card h3{margin:0 0 10px}
.sortdash-kpi{background:#fff;border:1px solid #d7e2ef;border-radius:16px;padding:12px;box-shadow:0 6px 18px rgba(15,23,42,.06)}.sortdash-kpi span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.sortdash-kpi b{font-size:24px;display:block;margin-top:4px}
.wh-panel{background:#fff;border:1px solid #d7e2ef;border-radius:18px;margin-bottom:12px;box-shadow:0 8px 24px rgba(15,23,42,.06);overflow:hidden}.wh-panel>summary{list-style:none;cursor:pointer;padding:14px 16px;display:grid;grid-template-columns:170px 1fr 135px 135px 135px 135px 130px;gap:10px;align-items:center;background:#fff}.wh-panel>summary::-webkit-details-marker{display:none}@media(max-width:1050px){.wh-panel>summary{grid-template-columns:1fr 1fr 1fr;}}
.wh-title b{font-size:20px}.wh-title small{display:block;color:#64748b;margin-top:2px}.mini-stat{background:#f8fafc;border:1px solid #e1e9f3;border-radius:12px;padding:8px 10px;text-align:right}.mini-stat span{display:block;color:#64748b;font-size:11px;font-weight:800}.mini-stat b{font-size:18px}
.progress-mini{height:9px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:7px}.progress-mini i{display:block;height:100%;background:#0f9f6e;width:0}
.wh-body{padding:14px 16px 18px;background:#fbfdff;border-top:1px solid #e4edf7}
.detail-section{border:1px solid #dce6f2;background:#fff;border-radius:15px;margin:10px 0;overflow:hidden}.detail-section>summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:900;background:#f8fafc}.detail-section>summary::-webkit-details-marker{display:none}.detail-section .detail-body{padding:12px 14px}
.sortdash-table-wrap{overflow:auto;border:1px solid #dce6f2;border-radius:14px;background:#fff}.sortdash-table{width:100%;border-collapse:collapse;font-size:13px}.sortdash-table th,.sortdash-table td{border-bottom:1px solid #e5edf6;padding:8px 10px;vertical-align:top;text-align:left}.sortdash-table th{background:#f8fafc;position:sticky;top:0;z-index:1}.sortdash-table tr:hover td{background:#fcfdff}.sortdash-table .num{text-align:right;white-space:nowrap}.sortdash-table .nowrap{white-space:nowrap}
.status-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;background:#edf2f7;color:#334155}.status-pill.ok{background:#e6fff5;color:#06724f}.status-pill.warn{background:#fff4d5;color:#7a4d00}.status-pill.danger{background:#ffe8e8;color:#9a1515}
.photo-mini{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid #d8e2ee}.thumbline{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.thumbline img{width:38px;height:38px;object-fit:cover;border-radius:7px;border:1px solid #d8e2ee}
.hidden-by-filter{display:none!important}

/* patch sort_20260624_1115_responsive_fit_v15 : adaptive fit for different HP heights */
:root{
  --sort-camera-h:238px;
  --sort-preview-h:54px;
  --sort-key-h:45px;
  --sort-action-h:48px;
  --sort-preview-gap:8px;
  --sort-keypad-gap:8px;
}
body.operator-page.count-mode{overflow:hidden!important}
.operator-page.count-mode .operator-container{
  height:calc(var(--app-height) - 69px)!important;
  padding-top:3px!important;
  padding-left:7px!important;
  padding-right:7px!important;
  overflow:hidden!important;
}
.operator-page.count-mode .compact-count-card{
  padding:4px 7px 8px!important;
  overflow:hidden!important;
}
.operator-page.count-mode .compact-progress{height:8px!important;min-height:8px!important;margin:0 0 4px!important}
.count-app-v2{gap:6px!important;min-height:0!important}
.top-super-tight,.top-near-header,.top-tight-row{margin:0!important;grid-template-columns:70px 1fr!important;gap:8px!important}
.tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:52px!important}
.category-inline.no-label-box .select-cat-big{font-size:20px!important;line-height:52px!important;padding:0 14px!important}
.item-row-titlelike,.item-row-raised{margin-top:-1px!important;margin-bottom:0!important}
.item-title-button{height:60px!important;font-size:16px!important;padding:7px 38px 7px 13px!important}.item-title-button span{max-height:38px!important}

.work-row-v9{
  display:grid!important;
  grid-template-columns:61% 39%!important;
  gap:8px!important;
  align-items:start!important;
  margin-top:0!important;
  min-height:0!important;
}
.camera-col-v9{display:flex!important;flex-direction:column!important;gap:var(--sort-preview-gap)!important;min-height:0!important}
.big-camera-v9{
  width:100%!important;
  height:var(--sort-camera-h)!important;
  min-height:var(--sort-camera-h)!important;
  aspect-ratio:auto!important;
  border-radius:18px!important;
}
.camera-wrap video{height:100%!important;object-fit:cover!important}
.camera-overlay-btn{top:8px!important;left:8px!important;font-size:14px!important;padding:7px 9px!important;border-radius:11px!important}
.camera-note{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;font-size:11px!important;padding:5px 7px!important;line-height:1.2!important}

.preview-strip-v2.preview-strip-v9{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:var(--sort-preview-gap)!important;
  width:100%!important;
  min-height:var(--sort-preview-h)!important;
  margin:0!important;
  align-items:stretch!important;
}
.preview-strip-v9 img,.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{
  width:100%!important;
  height:var(--sort-preview-h)!important;
}
.preview-strip-v9 .photo-slot,.preview-strip-v9 .preview-thumb-btn{
  border-radius:12px!important;
  border:2px solid #d5e0ee!important;
  background:#f5f8fc!important;
  box-sizing:border-box!important;
}
.preview-strip-v9 .photo-slot{
  display:flex!important;align-items:center!important;justify-content:center!important;
  color:#748499!important;font-weight:900!important;font-size:17px!important;
}
.preview-thumb-btn{display:block!important;padding:0!important;overflow:hidden!important;cursor:pointer!important}
.preview-thumb-btn img{display:block!important;object-fit:cover!important;border:0!important;border-radius:10px!important}

.side-stack-v9{
  display:grid!important;
  grid-template-rows:32px 32px 32px 44px minmax(56px,1fr)!important;
  gap:6px!important;
  height:var(--sort-camera-h)!important;
  min-height:0!important;
  align-content:start!important;
  padding-right:0!important;
  overflow:hidden!important;
}
.side-box-v9{
  width:100%!important;box-sizing:border-box!important;border-radius:10px!important;overflow:hidden!important;
  border:1px solid #cfd8e6!important;background:#fff!important;color:#172033!important;
  display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
}
.side-btn-v9{font-size:14px!important;font-weight:900!important;background:#eef2f7!important;padding:0 6px!important}
.side-stat-v9{font-size:10px!important;padding:2px 4px!important;line-height:1!important;flex-direction:column!important;font-weight:800!important}
.side-stat-v9 b{font-size:13px!important;line-height:1.05!important;margin-top:1px!important}
.side-est-v9{background:#fff8e8!important;border-color:#f1d69b!important;flex-direction:column!important;padding:3px 5px!important}
.side-est-v9 small{font-size:8px!important;line-height:1!important;font-weight:900!important;text-transform:uppercase!important;color:#8a6400!important}
.side-est-v9 b{font-size:11px!important;line-height:1!important;color:#7b4c00!important;margin-top:2px!important}
.side-qty-v9{padding:3px 6px!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important}
.side-qty-v9 small{font-size:10px!important;font-weight:900!important;text-align:center!important;color:#475569!important;line-height:1!important;margin-bottom:3px!important}
.qty-display-v9{
  width:100%!important;height:48px!important;min-height:48px!important;line-height:48px!important;
  border:0!important;border-radius:12px!important;background:#f8fbff!important;text-align:center!important;
  font-size:24px!important;font-weight:900!important;color:#6b7280!important;padding:0 6px!important;outline:none!important;
}

.keypad-lower-v9{margin-top:var(--sort-keypad-gap)!important}
.keypad-grid{gap:8px!important}.keypad-grid button{height:var(--sort-key-h)!important}
.action-row-v2{margin-top:6px!important;gap:10px!important}.action-btn-v2{height:var(--sort-action-h)!important;font-size:18px!important}

@media(max-width:380px){
  .top-super-tight,.top-near-header,.top-tight-row{grid-template-columns:68px 1fr!important;gap:7px!important}
  .tier-box-inline.same-height-box,.category-inline.same-height-box,.category-inline.same-height-box .select-cat-big,.category-inline.no-label-box{height:50px!important}
  .category-inline.no-label-box .select-cat-big{font-size:18px!important;line-height:50px!important;padding:0 12px!important}
  .item-title-button{height:58px!important;font-size:15px!important;padding:7px 34px 7px 12px!important}.item-title-button span{max-height:36px!important}
  .work-row-v9{grid-template-columns:60% 40%!important;gap:7px!important}
  .side-stack-v9{grid-template-rows:30px 30px 30px 40px minmax(48px,1fr)!important;gap:6px!important}
  .side-btn-v9{font-size:13px!important}.side-stat-v9{font-size:9px!important}.side-stat-v9 b{font-size:12px!important}
  .side-est-v9 b{font-size:10px!important}.qty-display-v9{height:44px!important;min-height:44px!important;line-height:44px!important;font-size:22px!important}
}

/* patch sort_20260624_1305_buttons_fixed_preview_overlap_v16: tombol bawah wajib tampil, preview boleh overlap kamera */
:root {
  --sort-preview-overlap:0px;
}
.operator-page.count-mode {
  overflow:hidden!important;
}
.operator-page.count-mode .operator-container {
  overflow:hidden!important;
}
.operator-page.count-mode .compact-count-card {
  overflow:hidden!important;
  padding-bottom:8px!important;
}
.work-row-v9 {
  grid-template-columns:62% 38%!important;
  gap:8px!important;
}
.camera-col-v9 {
  gap:var(--sort-preview-gap)!important;
}
.big-camera-v9 {
  height:var(--sort-camera-h)!important;
  min-height:var(--sort-camera-h)!important;
  aspect-ratio:auto!important;
}
.preview-strip-v2.preview-strip-v9 {
  margin-top:calc(-1 * var(--sort-preview-overlap))!important;
  margin-bottom:0!important;
  position:relative!important;
  z-index:6!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  min-height:var(--sort-preview-h)!important;
  width:100%!important;
}
.preview-strip-v9 img,
.preview-strip-v9 .photo-slot,
.preview-strip-v9 .preview-thumb-btn {
  height:var(--sort-preview-h)!important;
  width:100%!important;
}
.side-stack-v9 {
  grid-template-rows:32px 32px 32px 44px 74px!important;
  gap:7px!important;
  align-content:start!important;
}
.side-box-v9 {
  border-radius:10px!important;
}
.qty-display-v9 {
  height:48px!important;
  min-height:48px!important;
  line-height:48px!important;
  font-size:24px!important;
}
.keypad-lower-v9 {
  margin-top:var(--sort-keypad-gap)!important;
}
.keypad-grid button {
  height:var(--sort-key-h)!important;
}
.action-row-v2 {
  margin-top:6px!important;
}
.action-btn-v2 {
  height:var(--sort-action-h)!important;
}
@media(max-width:430px){
  .work-row-v9{grid-template-columns:61% 39%!important;gap:8px!important}
  .side-stack-v9{grid-template-rows:31px 31px 31px 42px 70px!important;gap:6px!important}
  .qty-display-v9{height:46px!important;min-height:46px!important;line-height:46px!important;font-size:23px!important}
  .preview-strip-v2.preview-strip-v9{gap:7px!important}
}
@media(max-width:380px){
  .work-row-v9{grid-template-columns:60% 40%!important;gap:7px!important}
  .side-stack-v9{grid-template-rows:29px 29px 29px 40px 66px!important;gap:6px!important}
  .preview-strip-v2.preview-strip-v9{gap:6px!important}
  .qty-display-v9{height:44px!important;min-height:44px!important;line-height:44px!important;font-size:22px!important}
}
/* patch sort_20260624_1325_bottom_locked_overlap_v17
   Kelompok preview + keypad + Send/Reset/Exit dikunci rapat dari bawah.
   Jika viewport pendek, preview akan naik/overlap ke kamera, bukan tombol bawah yang terpotong. */
.operator-page.count-mode .compact-count-card{
  padding-bottom:6px!important;
  overflow:hidden!important;
}
.camera-col-v9{
  gap:var(--sort-preview-gap)!important;
}
.preview-strip-v2.preview-strip-v9{
  margin-top:calc(-1 * var(--sort-preview-overlap))!important;
  margin-bottom:0!important;
  position:relative!important;
  z-index:9!important;
  gap:8px!important;
}
.keypad-lower-v9{
  margin-top:var(--sort-keypad-gap)!important;
}
.keypad-grid{
  gap:8px!important;
}
.keypad-grid button{
  height:var(--sort-key-h)!important;
}
.action-row-v2{
  margin-top:6px!important;
  margin-bottom:0!important;
  gap:10px!important;
  position:relative!important;
  z-index:10!important;
}
.action-btn-v2{
  height:var(--sort-action-h)!important;
}
@media(max-width:430px){
  .preview-strip-v2.preview-strip-v9{gap:7px!important}
  .action-row-v2{margin-top:5px!important}
}
@media(max-width:380px){
  .preview-strip-v2.preview-strip-v9{gap:6px!important}
  .action-row-v2{margin-top:4px!important}
}
/* patch sort_20260624_1355_bottom_dock_fixed_v18
   Final operator rule: preview + keypad + Send/Reset/Exit are a bottom-docked group.
   The dock is anchored from the bottom of the card so Send/Reset/Exit cannot be cut.
   If screen is short, the dock moves upward and may overlap the camera. */
:root{
  --sort-preview-w:62%;
  --sort-key-gap:8px;
  --sort-action-gap:8px;
  --sort-keypad-h:204px;
}
.operator-page.count-mode{overflow:hidden!important}
.operator-page.count-mode .operator-container{overflow:hidden!important;padding-bottom:0!important}
.operator-page.count-mode .compact-count-card{overflow:hidden!important;padding-bottom:6px!important}
.compact-task-body{position:relative!important;overflow:hidden!important;min-height:0!important}
.count-app-v2{position:relative!important;height:100%!important;min-height:0!important;overflow:hidden!important;gap:6px!important;padding-bottom:0!important}
.work-row-v9{display:grid!important;grid-template-columns:var(--sort-preview-w) minmax(0,1fr)!important;gap:8px!important;align-items:start!important;margin-top:0!important;margin-bottom:0!important;position:relative!important;z-index:1!important;min-height:0!important}
.camera-col-v9{display:block!important;position:static!important;min-height:0!important;gap:0!important}.big-camera-v9{height:var(--sort-camera-h)!important;min-height:var(--sort-camera-h)!important;aspect-ratio:auto!important;border-radius:18px!important}.camera-wrap video{height:100%!important;object-fit:cover!important}
.side-stack-v9{height:var(--sort-camera-h)!important;min-height:0!important;display:grid!important;grid-template-rows:32px 32px 32px 44px minmax(56px,1fr)!important;gap:6px!important;align-content:start!important;overflow:hidden!important;padding-right:0!important}.side-box-v9{border-radius:10px!important;box-sizing:border-box!important;overflow:hidden!important;width:100%!important}
.bottom-dock-v18{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:40!important;display:block!important;pointer-events:auto!important;background:transparent!important}
.bottom-dock-v18 .preview-strip-v2.preview-strip-v9{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:var(--sort-preview-w)!important;gap:8px!important;min-height:var(--sort-preview-h)!important;margin:0 0 var(--sort-preview-gap) 0!important;position:relative!important;z-index:42!important;align-items:stretch!important}
.bottom-dock-v18 .preview-strip-v9 img,.bottom-dock-v18 .preview-strip-v9 .photo-slot,.bottom-dock-v18 .preview-strip-v9 .preview-thumb-btn{width:100%!important;height:var(--sort-preview-h)!important;min-height:0!important}.bottom-dock-v18 .preview-strip-v9 .photo-slot,.bottom-dock-v18 .preview-strip-v9 .preview-thumb-btn{border-radius:12px!important;border:2px solid #d5e0ee!important;background:#f5f8fc!important;box-sizing:border-box!important}.bottom-dock-v18 .preview-strip-v9 .photo-slot{display:flex!important;align-items:center!important;justify-content:center!important;color:#748499!important;font-weight:900!important;font-size:17px!important}
.bottom-dock-v18 .keypad-lower-v9{margin:0 0 var(--sort-action-gap) 0!important;position:relative!important;z-index:41!important;clear:none!important}.bottom-dock-v18 .keypad-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--sort-key-gap)!important}.bottom-dock-v18 .keypad-grid button{height:var(--sort-key-h)!important}
.bottom-dock-v18 .action-row-v2{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0!important;position:relative!important;z-index:43!important}.bottom-dock-v18 .action-btn-v2{height:var(--sort-action-h)!important;font-size:18px!important}
@media(max-width:430px){
  .work-row-v9{grid-template-columns:var(--sort-preview-w) minmax(0,1fr)!important;gap:8px!important}
  .bottom-dock-v18 .preview-strip-v2.preview-strip-v9{gap:7px!important}
  .bottom-dock-v18 .action-row-v2{gap:10px!important}
}
@media(max-width:380px){
  .work-row-v9{gap:7px!important}
  .bottom-dock-v18 .preview-strip-v2.preview-strip-v9{gap:6px!important}
  .bottom-dock-v18 .action-row-v2{gap:8px!important}
}