:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f4f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.app-shell{min-height:100vh}.topbar{height:64px;background:#172033;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,4vw,40px);gap:16px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff;color:#172033}.topbar-user{display:flex;align-items:center;gap:12px;font-size:14px}.nav-tabs{display:flex;gap:4px;overflow-x:auto;background:#fff;border-bottom:1px solid #dce2ec;padding:0 clamp(12px,4vw,36px)}.nav-tabs a{white-space:nowrap;text-decoration:none;padding:14px 12px;border-bottom:3px solid transparent;color:#5a6578;font-weight:700}.nav-tabs a.active{color:#172033;border-bottom-color:#172033}.content{max-width:1440px;margin:auto;padding:24px clamp(12px,3vw,36px) 70px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.page-head h1{font-size:clamp(28px,4vw,40px);margin:2px 0 6px}.page-head p,.panel p,.help{color:#667187}.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#7a8495}.panel{background:#fff;border:1px solid #dce2ec;border-radius:16px;padding:20px;margin-bottom:18px}.panel h2{margin-top:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;padding:10px 14px;border:1px solid transparent;text-decoration:none;font-weight:750;min-height:42px}.btn--primary{background:#172033;color:#fff}.btn--secondary{background:#eef2f7;border-color:#d2d9e4;color:#172033}.btn--ghost{background:transparent;border-color:#d9dfe8}.btn--small{min-height:34px;padding:6px 10px;font-size:13px}.btn--full{width:100%}.button-row{display:flex;flex-wrap:wrap;gap:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat-card{text-align:left;background:#fff;border:1px solid #dce2ec;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:8px;color:#172033}.stat-card strong{font-size:34px}.stat-card small{color:#657085}.table-scroll{width:100%;max-height:430px;overflow:auto;border:1px solid #e1e6ee;border-radius:12px}.table-scroll--tall{max-height:560px}table{border-collapse:collapse;width:100%;min-width:880px;background:#fff}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid #e8ecf2;vertical-align:top}thead th{position:sticky;top:0;background:#f7f9fc;z-index:2;font-size:13px;white-space:nowrap}.click-row{cursor:pointer}.click-row:hover{background:#f8fafc}.wrap-cell{min-width:280px;white-space:pre-wrap}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:850;white-space:nowrap}.badge--office{background:#e9f6ee;color:#17623a}.badge--picked{background:#eef1f5;color:#4b5565}.form-section{display:grid;grid-template-columns:44px 1fr;gap:14px}.section-number{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#172033;color:#fff;font-weight:800}.section-content{min-width:0}.stack{display:grid;gap:16px}label{display:block;font-weight:700;color:#263044}label input,label select,label textarea{display:block;width:100%;margin-top:7px}input,select,textarea{border:1px solid #b9c2d0;border-radius:9px;padding:11px 12px;background:#fff;color:#172033;font-size:16px}textarea{resize:vertical}.required{color:#b3261e}.optional{font-weight:500;color:#8a93a3}.camera-box{border:1px solid #cfd7e3;border-radius:14px;overflow:hidden;background:#111927;margin:14px 0;color:#fff}.camera-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;background:#1b2638}.camera-head p{margin:3px 0 0;color:#b9c4d3;font-size:13px}.camera-stage{position:relative;aspect-ratio:16/9;max-height:430px;background:#080d15;overflow:hidden}.camera-video{width:100%;height:100%;object-fit:cover;display:block}.scan-roi{position:absolute;left:14%;right:14%;top:31%;bottom:31%;border:3px solid rgba(255,255,255,.95);border-radius:12px;box-shadow:0 0 0 9999px #00000047;display:flex;align-items:flex-end;justify-content:center}.scan-roi span{background:#000000b8;padding:5px 9px;border-radius:6px;margin-bottom:8px;font-size:11px;font-weight:900;letter-spacing:.08em}.camera-status{padding:10px 14px;background:#1b2638;color:#dfe7f2;font-size:13px}.camera-status--error{background:#401d21;color:#ffd9dd}.physical-scanner{margin-top:12px}.scan-input-row{display:grid;grid-template-columns:1fr auto;gap:8px}.scan-message{margin:10px 0;padding:9px 11px;background:#f0f4f8;border-radius:8px;color:#43506a}.package-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0 8px}.package-list{display:grid;gap:8px;max-height:440px;overflow:auto;padding-right:3px}.package-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto 38px;gap:10px;align-items:center;padding:10px;border:1px solid #dce2ec;border-radius:11px;background:#fbfcfe}.package-no{width:30px;height:30px;border-radius:8px;background:#172033;color:#fff;display:grid;place-items:center;font-weight:800}.package-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:850;word-break:break-all;margin-bottom:5px}.package-main input{margin:0;padding:8px 10px}.unit-chip{font-size:12px;font-weight:800;color:#566173;background:#eef2f7;padding:6px 8px;border-radius:999px;white-space:nowrap}.icon-button{width:34px;height:34px;border:1px solid #d8dee8;border-radius:8px;background:#fff;font-size:22px}.empty-state{padding:20px;text-align:center;border:1px dashed #c9d1dd;border-radius:10px;color:#7b8493}.sticky-actions{position:sticky;bottom:10px;z-index:4;display:flex;justify-content:flex-end;gap:10px;background:#f4f6faf0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:10px;border-radius:12px}.image-picker{margin-top:10px}.field-label{font-weight:800;margin-bottom:8px}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:12px}.preview{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid #d8dee8}.preview img{width:100%;height:100%;object-fit:cover}.preview button{position:absolute;top:5px;right:5px;width:30px;height:30px;border-radius:50%;border:0;background:#000000b3;color:#fff;font-size:20px}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.filters label{min-width:160px}.filters .grow{flex:1;min-width:260px}.check{display:flex!important;align-items:center;gap:8px;padding-bottom:10px}.check input{width:auto;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.details{display:grid;grid-template-columns:140px 1fr;gap:10px;margin:0}.details dt{font-weight:800;color:#5f6879}.details dd{margin:0}.form-card{max-width:850px}.two-col{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);gap:18px}.min-zero{min-width:0}.edit-package{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:12px;align-items:end;padding:10px 0;border-bottom:1px solid #e4e9f0}.edit-package span{display:block;color:#7a8495;font-size:12px}.edit-package strong{font-family:ui-monospace,monospace}.alert{padding:12px 14px;border-radius:9px;margin-bottom:14px}.alert--error{background:#fff0f0;color:#9d2424;border:1px solid #f2cccc}.center-message{padding:40px;text-align:center;color:#667187}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:#eef2f7}.auth-card{width:min(440px,100%);background:#fff;border:1px solid #dce2ec;border-radius:18px;padding:28px;box-shadow:0 18px 50px #14203714}.auth-card h1{margin-bottom:6px}.auth-card p{color:#667187;margin-top:0}.auth-card label{margin:14px 0}@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr)}.detail-grid,.two-col{grid-template-columns:1fr}.page-head{align-items:stretch}.form-section{grid-template-columns:38px 1fr}}@media(max-width:620px){.content{padding-top:16px}.topbar-user>span{display:none}.nav-tabs a{padding:12px 10px}.page-head{flex-direction:column}.stats-grid{grid-template-columns:1fr 1fr}.stat-card strong{font-size:28px}.panel{padding:14px;border-radius:12px}.form-section{grid-template-columns:1fr}.section-number{width:30px;height:30px}.camera-head{align-items:flex-start}.camera-stage{aspect-ratio:4/3}.scan-roi{left:8%;right:8%;top:34%;bottom:34%}.package-card{grid-template-columns:32px minmax(0,1fr) 34px}.unit-chip{display:none}.physical-scanner .scan-input-row{grid-template-columns:1fr}.filters>*{width:100%;min-width:0!important}.check{padding:4px 0}.sticky-actions{justify-content:stretch}.sticky-actions .btn{flex:1}.details{grid-template-columns:1fr;gap:4px}.details dd{margin-bottom:8px}.edit-package{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(3,1fr)}}.quick-ranges{display:flex;flex-wrap:wrap;gap:7px}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;align-items:end}.report-filters .wide{grid-column:span 2}.report-filter-actions{display:flex;gap:8px;align-items:end}.report-head{align-items:flex-end}.report-head h2{margin-bottom:2px}.report-head .help{margin:0}.code-list{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;min-width:260px}.btn[disabled]{opacity:.6;cursor:not-allowed}@media(max-width:1000px){.report-filters{grid-template-columns:repeat(2,minmax(180px,1fr))}.report-filters .wide{grid-column:span 2}}@media(max-width:620px){.quick-ranges{width:100%}.quick-ranges .btn{flex:1}.report-filters{grid-template-columns:1fr}.report-filters .wide{grid-column:auto}.report-filter-actions{flex-wrap:wrap}.report-filter-actions .btn{flex:1}.report-head{align-items:stretch;flex-direction:column}.report-head .button-row{width:100%}.report-head .button-row .btn{flex:1}}.withdraw-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.withdraw-summary>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid #e1e6ee;border-radius:11px;background:#fbfcfe}.withdraw-summary strong{font-size:28px}.withdraw-summary span{font-size:13px;color:#667187}.progress-number{font-size:24px}.progress-track{height:14px;background:#e7ebf1;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:#172033;border-radius:inherit;transition:width .2s ease}.package-meta{font-size:13px;color:#667187}.package-state{font-size:11px;font-weight:850;padding:6px 8px;border-radius:999px;background:#e9f6ee;color:#17623a;white-space:nowrap}.package-state--selected{background:#fff4d6;color:#765713}.package-state--gone{background:#eef1f5;color:#4b5565}.package-card--selected{border-color:#caa944;background:#fffdf4}.package-card--gone{opacity:.72;background:#f3f5f8}.withdrawal-list{max-height:520px;overflow:auto}@media(max-width:620px){.withdraw-summary{grid-template-columns:1fr 1fr}.withdraw-summary strong{font-size:24px}.withdrawal-package{grid-template-columns:32px minmax(0,1fr) 34px}.withdrawal-package .package-state{grid-column:2/3;width:max-content}.withdrawal-package>span:last-child{display:none}}.withdrawal-start-help{max-width:980px}.withdraw-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.withdraw-steps>div{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e1e6ee;border-radius:11px;background:#fbfcfe}.withdraw-steps strong{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#172033;color:#fff}.withdraw-steps span{font-size:14px;font-weight:700;color:#43506a}@media(max-width:760px){.withdraw-steps{grid-template-columns:1fr 1fr}}@media(max-width:460px){.withdraw-steps{grid-template-columns:1fr}}.nav-tabs .withdraw-nav{font-weight:850}.nav-tabs .withdraw-nav:before{content:"↗";margin-right:6px}.withdraw-search-panel{padding:18px}.withdraw-search-intro{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.withdraw-search-intro h2{margin:0 0 4px}.withdraw-search-intro p{margin:0}.withdraw-search-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}.withdraw-manual-card{border:1px solid #dce2ec;border-radius:14px;padding:16px;background:#fbfcfe;position:sticky;top:12px}.withdraw-manual-card h3{margin:0 0 6px}.withdraw-no-flow-note{display:flex;flex-direction:column;gap:3px;margin-top:12px;padding:12px;border:1px dashed #bac4d2;border-radius:10px;background:#fff}.withdraw-no-flow-note span{color:#667187;font-size:13px}.identified-flow-card{border-width:2px}.identified-flow-main{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.identified-flow-main h2{font-size:32px;margin:2px 0}.identified-flow-badge{padding:8px 11px;border-radius:999px;background:#e9f6ee;color:#17623a;font-weight:850;white-space:nowrap}.identified-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.identified-flow-grid>div{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #e1e6ee;border-radius:11px;background:#fbfcfe;min-width:0}.identified-flow-grid span{color:#667187;font-size:12px}.identified-flow-grid strong{overflow-wrap:anywhere}.remaining-details{margin-top:14px;border-top:1px solid #e4e9f0;padding-top:12px}.remaining-details summary{cursor:pointer;font-weight:800;color:#43506a;margin-bottom:10px}.all-flow-packages{max-height:360px}@media(max-width:900px){.withdraw-search-grid{grid-template-columns:1fr}.withdraw-manual-card{position:static}.identified-flow-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.identified-flow-grid{grid-template-columns:1fr}.identified-flow-main{align-items:flex-start;flex-direction:column}.withdraw-search-panel{padding:14px}}.report-summary-grid .stat-card{cursor:default}.report-detail-table{min-width:1500px}.report-count{text-align:center;font-size:18px;font-weight:850}.report-object-cell{min-width:390px}.report-object-list{display:grid;gap:7px}.report-object-line{padding:8px 10px;border:1px solid #e1e6ee;border-radius:8px;background:#fbfcfe;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.45;white-space:normal}.report-object-cell--pending .report-object-line{background:#fffdf5}.report-object-cell--withdrawn .report-object-line{background:#f5f7fa}.muted-inline{color:#7a8495;font-size:13px}@media(max-width:620px){.report-summary-grid{grid-template-columns:1fr 1fr}.report-object-cell{min-width:320px}}
