:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#203737;background:#f5f6f3;font-synthesis:none;--ink:#203737;--muted:#71817e;--line:#e2e7e1;--green:#257c63;--mint:#a3e6ca;--navy:#132d32;--red:#b84836;--radius:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #72bca8;outline-offset:3px}button,input,select{min-height:42px}input,select,textarea{border:1px solid #d9e1db;background:#fff;border-radius:9px;color:var(--ink);padding:10px 12px;min-width:0;width:100%}input::placeholder,textarea::placeholder{color:#94a19c}textarea{min-height:90px;resize:vertical}select{appearance:auto}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.3;margin-bottom:9px}h2{font-size:18px;letter-spacing:-.45px;margin-bottom:6px}h3{font-size:15px;line-height:1.5}p{line-height:1.7}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;word-break:break-all}.nowrap{white-space:nowrap}.align-right{text-align:right}.skip-link{position:fixed;top:-80px;left:20px;background:#fff;z-index:200;padding:12px}.skip-link:focus{top:12px}.boot-state{min-height:100vh;display:flex;gap:20px;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.brand-mark{display:grid;place-items:center;height:44px;width:44px;border-radius:13px;background:var(--mint);color:var(--navy);font-size:17px;font-weight:900;letter-spacing:-1px}.brand-mark img{width:100%;height:100%}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#d9e6e0;padding:34px 22px 24px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:244px;z-index:20}.brand{display:flex;gap:11px;align-items:center;margin-bottom:44px}.brand-name{font-size:17px;font-weight:700;letter-spacing:-.4px;color:#fff}.brand-caption{font-size:10px;text-transform:uppercase;letter-spacing:2.2px;color:#8fa8a8;margin-top:5px}.nav-label{color:#789191;font-size:10px;letter-spacing:1.7px;padding:0 13px;margin-bottom:13px}.nav{display:flex;flex-direction:column;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;text-decoration:none;color:#b6c9c6;padding:12px 14px;min-height:48px;border-radius:9px;font-size:14px}.nav-link:hover{background:#1c3b40;color:#fff}.nav-link.active{background:var(--mint);color:var(--navy);font-weight:750}.icon{width:20px;height:20px;display:inline-flex;flex:none;align-items:center;justify-content:center}.icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;padding-top:30px}.workspace-card{border:1px solid #345054;padding:15px 13px;border-radius:12px;margin-bottom:21px}.workspace-card .eyebrow{color:#8fa8a8}.workspace-card p{font-size:12px;color:#9fb8b5;margin:8px 0 0}.workspace-name{font-size:13px;font-weight:650;color:#dfebe6}.status-dot{display:inline-block;width:7px;height:7px;background:#a3e6ca;border-radius:50%;margin-right:7px}.account{display:flex;gap:10px;align-items:center;padding:0 3px}.avatar{background:#36545a;color:#d5eee3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}.account-info{min-width:0;flex:1}.account-name{font-size:12px;color:#e1e9e5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-role{font-size:10px;color:#8fa8a8;margin-top:4px}.logout{background:transparent;color:#9cb4b2;border:0;min-width:36px;display:grid;place-items:center}.workspace{grid-column:2;min-width:0}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 44px;border-bottom:1px solid var(--line);background:#fbfcf9}.breadcrumb{font-size:12px;color:#87938e;display:flex;gap:10px;align-items:center}.breadcrumb strong{font-weight:600;color:#3a514c}.top-actions{display:flex;align-items:center;gap:18px}.top-search{width:238px;position:relative}.top-search input{padding-left:37px;font-size:12px;background:#f2f5ef;border-color:transparent;min-height:38px}.top-search>.icon{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#7d9189}.connection{font-size:11px;color:#70867b;display:flex;gap:6px;align-items:center;white-space:nowrap}.connection.offline{color:var(--red)}.connection .status-dot{background:#4c9875;margin-right:0}.connection.offline .status-dot{background:var(--red)}main{padding:36px 44px 44px;max-width:1580px;margin:auto;min-height:calc(100vh - 86px)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{font-size:13px;color:var(--muted);margin:0}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;font-weight:650;color:var(--green);margin-bottom:9px}.head-actions{display:flex;gap:9px;flex-wrap:wrap;padding-top:5px}.btn{border:1px solid #dce4dd;border-radius:9px;background:#fff;color:#3c5248;font-size:12px;font-weight:650;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap;line-height:1.4;min-height:42px}.btn:hover{background:#f5f8f2;border-color:#b6c8ba}.btn.primary{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.primary:hover{background:#26474a}.btn.mint{background:var(--mint);color:var(--navy);border-color:var(--mint)}.btn.danger{color:var(--red);border-color:#eed9d1}.btn.small{padding:7px 11px;min-height:36px}.btn.ghost{border-color:transparent;background:transparent}.btn .icon{width:16px;height:16px}.btn.icon-only{width:42px;padding:9px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px 22px;position:relative;overflow:hidden;min-height:146px}.stat-label{font-size:12px;color:#72817b;display:flex;gap:8px;align-items:center;margin-bottom:22px}.stat-label .icon{width:17px;height:17px}.stat-value{font-size:31px;letter-spacing:-1px;font-weight:650;line-height:1}.stat-unit{font-size:12px;color:#839088;font-weight:400;letter-spacing:0;margin-left:6px}.stat-note{font-size:10px;color:#8e9b92;margin-top:12px}.stat.highlight{background:var(--navy);color:#fff;border-color:var(--navy)}.stat.highlight .stat-label,.stat.highlight .stat-note,.stat.highlight .stat-unit{color:#adc5bd}.stat.highlight:after{content:"";position:absolute;width:150px;height:150px;border:1px solid #3f5c5a;border-radius:50%;right:-68px;top:49px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid #edf0eb}.panel-head p{font-size:11px;margin:7px 0 0;color:var(--muted)}.panel-body{padding:24px}.panel+.panel{margin-top:20px}.empty{padding:57px 25px;display:flex;align-items:center;flex-direction:column;text-align:center}.empty-icon{width:64px;height:64px;border:1px solid #e6ece4;background:#f4f7ef;color:#829780;border-radius:18px;display:grid;place-items:center;margin-bottom:20px}.empty-icon .icon{width:28px;height:28px}.empty h3{font-size:15px;margin-bottom:8px}.empty p{color:#7c8a81;font-size:12px;max-width:365px;margin-bottom:20px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:17px;padding:18px;border:1px solid #e3e9df;border-radius:12px;background:#fbfcf9;color:#3e594c}.quick-action:hover{background:#eef5e9;border-color:#c1d3b8}.quick-action strong{font-size:12px}.quick-action .icon{color:#719276}.guide{background:#eaf1e2;border:1px solid #dce7d1;border-radius:14px;padding:21px 23px;margin-top:20px}.guide .eyebrow{color:#7e9366;font-size:9px}.guide h3{font-size:15px;margin:0 0 7px}.guide p{font-size:12px;color:#738364;margin:0 0 16px}.guide .btn{background:transparent;border-color:#bdceb2;color:#435b36}.notice{border:1px solid #dce6da;background:#edf3e9;border-radius:11px;padding:14px 17px;color:#57724f;font-size:12px;line-height:1.7;margin-bottom:18px}.notice.warning{color:#91632b;border-color:#ebdcc1;background:#fff8eb}.notice.error{color:#a74236;border-color:#efcfc5;background:#fff4ef}.notice p{margin:0}.notice strong{font-weight:650}.notice a{color:inherit}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--line)}.search-field{position:relative;min-width:180px;flex:1;max-width:360px}.search-field input{padding-left:39px;font-size:12px;background:#fafbf8}.search-field>.icon{position:absolute;top:12px;left:13px;width:17px;height:17px;color:#8ca093}.toolbar select{width:auto;min-width:130px;font-size:12px}.filter-check{display:flex;align-items:center;gap:7px;font-size:12px;color:#698172;white-space:nowrap}.filter-check input{width:15px;min-height:15px;accent-color:var(--green)}.toolbar .spacer{flex:1}.count-label{font-size:11px;color:#829086;white-space:nowrap}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#f9faf7;color:#879285;font-size:10px;letter-spacing:.2px}th{font-weight:600;padding:14px 20px;white-space:nowrap}td{border-top:1px solid #edf0e9;padding:17px 20px;vertical-align:middle}tbody tr:hover{background:#fcfdf9}.item-cell{display:flex;align-items:center;gap:13px;min-width:185px}.item-avatar{background:#edf1e5;color:#8c9d72;border-radius:10px;height:39px;width:39px;display:grid;place-items:center;flex:none}.item-avatar .icon{width:19px;height:19px}.item-name{border:0;padding:0;background:transparent;text-align:left;color:#2e473e;font-weight:650;min-height:24px;max-width:300px;word-break:break-word;font-size:12px}.item-name:hover{color:var(--green);text-decoration:underline}.item-sub{font-size:10px;color:#96a093;margin-top:5px;max-width:300px;word-break:break-all}.quantity{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e0e8d9;background:#f2f6ec;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:550;color:#698451;white-space:nowrap}.pill.warning{background:#fff7e9;border-color:#f0dfc2;color:#b08743}.pill.neutral{background:#f4f5f1;border-color:#e8eae3;color:#889180}.pill.out{color:#a57948;background:#fbf3e8;border-color:#ecdfcc}.pill.move{color:#667e9a;background:#edf3f8;border-color:#dbe5ed}.pill.adjust{color:#92799c;background:#f5eff7;border-color:#e8ddeb}.pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 23px;border-top:1px solid var(--line);font-size:11px;color:#879185}.pagination-controls{display:flex;gap:8px;align-items:center}.pagination .btn{min-height:34px;padding:6px 10px;font-size:11px}.page-index{padding:0 8px;color:#52624d}.mobile-cards{display:none}.loading{padding:80px 24px;text-align:center;color:#7b897f;font-size:13px}.loading:before{content:"";display:block;width:24px;height:24px;border:2px solid #e0e8dc;border-top-color:var(--green);border-radius:50%;margin:0 auto 17px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.footer-note{font-size:10px;color:#9aa294;margin-top:21px;display:flex;justify-content:space-between;gap:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:12px;font-weight:600;color:#536650}.field .hint{font-size:10px;color:#8a9785;line-height:1.6}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{font-size:13px}.required{color:#a07845;margin-left:3px}.section-label{font-size:11px;font-weight:700;color:#718767;text-transform:uppercase;letter-spacing:1px;margin:23px 0 12px}.stack{display:flex;flex-direction:column;gap:11px}.inline{display:flex;gap:9px;align-items:center}.attribute-row{display:grid;grid-template-columns:1fr 1.35fr 38px;gap:9px}.attribute-row input{font-size:12px}.attribute-row button{min-width:38px;width:38px}.dialog{border:1px solid #dae3d8;border-radius:20px;padding:0;max-width:700px;width:calc(100% - 36px);box-shadow:0 30px 90px #10292535;max-height:90dvh;color:var(--ink);background:#fff}.dialog.wide{max-width:880px}.dialog::backdrop{background:#0b292971;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:23px 27px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:19px;margin:0}.dialog-body{padding:25px 27px;max-height:calc(90dvh - 157px);overflow:auto}.dialog-foot{border-top:1px solid var(--line);padding:17px 27px;display:flex;justify-content:flex-end;gap:9px;background:#fafcf7}.dialog-close{border:0;background:transparent;color:#84917e;font-size:22px;width:38px;min-height:38px}.form-error{margin:0 0 18px}.detail-title{display:flex;align-items:center;gap:15px;margin-bottom:23px}.detail-title .item-avatar{width:58px;height:58px}.detail-title h3{font-size:20px;margin:0 0 6px;word-break:break-word}.detail-title p{margin:0;font-size:12px;color:#89917f}.details{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}.details div{min-width:0}.details dt{color:#8a957f;font-size:10px;margin-bottom:7px}.details dd{font-size:13px;margin:0;word-break:break-word}.stock-lines{border:1px solid var(--line);border-radius:11px;margin-top:12px;overflow:hidden}.stock-line{display:grid;grid-template-columns:minmax(0,1fr) 125px 38px;gap:12px;align-items:center;padding:13px;border-bottom:1px solid var(--line)}.stock-line:last-child{border-bottom:0}.stock-line strong{display:block;font-size:12px}.stock-line small{font-size:10px;color:#8a9981}.stock-line input{font-size:13px}.suggestions{border:1px solid #dce5d6;background:#fff;border-radius:10px;overflow:hidden;margin-top:6px;max-height:240px;overflow:auto}.suggestion{border:0;border-bottom:1px solid #edf0e8;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;text-align:left;padding:12px 14px;font-size:12px;color:var(--ink)}.suggestion:hover{background:#f2f6ec}.suggestion small{color:#8e9985;font-size:10px}.transaction-list{padding:0 24px}.transaction-entry{padding:18px 0;border-bottom:1px solid #edf0e7}.transaction-entry:last-child{border-bottom:0}.transaction-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.transaction-title strong{font-size:12px}.transaction-meta{display:flex;gap:12px;font-size:10px;color:#899582;flex-wrap:wrap}.transaction-entry p{font-size:12px;margin:9px 0;color:#5d7251}.transaction-lines{list-style:none;margin:10px 0 0;padding:0;background:#f8faf5;border-radius:8px}.transaction-lines li{font-size:11px;padding:8px 11px;display:flex;justify-content:space-between;gap:15px}.positive{color:#347b57}.negative{color:#b77549}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:24px}.tab{background:transparent;border:0;border-bottom:2px solid transparent;padding:12px 18px;font-size:13px;color:#8a967f;margin-bottom:-1px}.tab.active{border-bottom-color:var(--green);color:var(--green);font-weight:700}.settings-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:23px}.settings-layout>.panel+.panel{margin-top:0}.simple-list{list-style:none;margin:0;padding:0}.simple-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 23px;border-bottom:1px solid #edf0e8}.simple-list li:last-child{border-bottom:0}.simple-list strong{font-size:12px;word-break:break-word}.simple-list p{font-size:11px;color:#8c9884;margin:6px 0 0;word-break:break-all}.step-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.step{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}.step-number{width:29px;height:29px;display:grid;place-items:center;background:#f0f4e9;color:#83936f;border-radius:50%;font-size:11px;flex:none}.step.active .step-number{background:var(--navy);color:var(--mint)}.step strong{display:block;font-size:12px}.step small{font-size:10px;color:#89967e;display:block;margin-top:4px}.dropzone{border:1.5px dashed #c5d4b8;border-radius:13px;padding:29px;background:#f9fcf5;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin-bottom:22px}.dropzone .icon{width:31px;height:31px;color:#849d6b}.dropzone strong{font-size:14px}.dropzone p{font-size:11px;color:#879877;margin:0}.dropzone input{font-size:12px;max-width:360px;background:#fff}.migration-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.migration-summary>div{border:1px solid var(--line);border-radius:10px;padding:15px}.migration-summary strong{font-size:23px;display:block;margin-top:9px;font-weight:600}.migration-summary span{font-size:10px;color:#829475}.issue-list{max-height:230px;overflow:auto;margin:0;padding:0 0 0 20px;font-size:12px;line-height:1.8}.mapping-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.source-hash{background:#f5f7f0;padding:13px 15px;border-radius:8px;font-size:11px;line-height:1.8;color:#768a66;margin:18px 0}.check-confirm{display:flex;align-items:flex-start;gap:11px;padding:15px 0;font-size:12px;color:#536f43;line-height:1.8}.check-confirm input{width:17px;min-height:17px;margin-top:3px;flex:none;accent-color:var(--green)}.error-page{max-width:600px;margin:60px auto;text-align:center}.error-page p{font-size:13px;color:var(--muted)}.toasts{position:fixed;right:24px;bottom:24px;display:flex;flex-direction:column;gap:10px;z-index:150;max-width:min(440px,calc(100vw - 40px))}.toast{background:var(--navy);color:#fff;border:1px solid #446257;padding:15px 18px;border-radius:12px;box-shadow:0 8px 30px #102b2922;font-size:12px;line-height:1.6;display:flex;gap:15px;align-items:center}.toast.error{background:#8d3c2e;border-color:#a65745}.toast button{min-width:30px;min-height:30px;border:0;background:transparent;color:inherit;font-size:18px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:var(--navy);color:#fff;padding:65px clamp(35px,6vw,100px);display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .brand{margin-bottom:95px}.login-story h1{font-size:clamp(34px,4vw,57px);line-height:1.35;letter-spacing:-2px;font-weight:550;max-width:600px}.login-story h1 span{color:var(--mint)}.login-story p{color:#9eb9b3;max-width:390px;font-size:14px;line-height:1.9}.login-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}.login-features span{border:1px solid #44605d;padding:9px 13px;border-radius:99px;color:#b5ccc1;font-size:11px}.login-bottom{margin-top:auto;padding-top:90px;color:#71988e;font-size:11px;letter-spacing:.2px}.login-form-side{padding:40px;display:flex;align-items:center;justify-content:center;background:#f8faf5}.login-box{max-width:370px;width:100%}.login-box h2{font-size:26px;letter-spacing:-.8px;margin-bottom:11px}.login-box>p{font-size:12px;color:#84957a;margin-bottom:33px}.login-box .field{margin-bottom:18px}.login-box .btn{width:100%;margin-top:8px;min-height:46px}.login-help{border-top:1px solid #dfe7d8;padding-top:22px;margin-top:30px;font-size:11px;color:#87987b;line-height:1.9}.mobile-menu{display:none}.camera-video{width:100%;max-height:340px;border-radius:12px;background:#142d2c}.camera-help{font-size:12px;color:var(--muted);margin-top:14px}.pending-banner{display:flex;justify-content:space-between;align-items:center;gap:15px}details>summary{cursor:pointer;font-size:12px;color:#58794d;min-height:42px;display:flex;align-items:center;gap:7px}details>summary:before{content:"+";font-size:18px}details[open]>summary:before{content:"−"}.form-progress{color:#728366;font-size:12px}.empty.compact{padding:35px 20px}.empty.compact .empty-icon{width:49px;height:49px;border-radius:14px}.empty.compact p{font-size:11px}.view-badge{font-size:10px;color:#859877;border:1px solid #dbe5d2;padding:5px 8px;border-radius:6px}.hidden{display:none!important}
@media(min-width:1450px){main{padding-top:44px}.page-head{margin-bottom:34px}.stat{min-height:160px;padding:26px}.stat-value{font-size:35px}.dashboard-grid{gap:25px}}
@media(max-width:1120px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding:30px 16px}.brand-name{font-size:15px}.topbar{padding:0 28px}main{padding:30px 28px}.top-search{width:195px}.stats{gap:12px}.stat{padding:19px 17px}.stat-value{font-size:26px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.settings-layout{grid-template-columns:1fr}.head-actions{max-width:300px;justify-content:flex-end}.breadcrumb{display:none}}
@media(max-width:860px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .18s}.sidebar.open{transform:translateX(0);box-shadow:15px 0 45px #122e2a44}.mobile-menu{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:8px;border:0;background:transparent;color:var(--ink)}.topbar{height:70px;padding:0 22px;justify-content:initial;gap:12px}.breadcrumb{display:flex;margin-right:auto}.top-actions{gap:12px;margin-left:auto}.top-search{width:210px}.workspace{width:100%}main{padding:28px 24px;min-height:calc(100vh - 70px)}.stats{grid-template-columns:repeat(2,1fr)}.stat{min-height:135px}.stat-label{margin-bottom:20px}.dashboard-grid{grid-template-columns:1.5fr 1fr;gap:16px}.panel-head{padding:20px}.panel-body{padding:20px}.head-actions{max-width:none}.login-story{padding:45px 30px}.login-story h1{font-size:38px}.login-form-side{padding:28px}.step{padding:13px}.step small{line-height:1.5}}
@media(max-width:650px){h1{font-size:25px}.topbar{padding:0 13px}.top-search{display:none}.connection{font-size:10px}.breadcrumb{font-size:11px}.page-head{display:block;margin-bottom:23px}.head-actions{margin-top:17px;justify-content:flex-start;gap:8px}.head-actions .btn{font-size:11px;padding:9px 12px}main{padding:25px 17px 30px}.stats{gap:11px;margin-bottom:18px}.stat{padding:18px 16px;min-height:133px}.stat-value{font-size:28px}.stat-label{font-size:11px;margin-bottom:19px}.stat-note{font-size:9px}.dashboard-grid{display:block}.dashboard-side{margin-top:18px}.panel{border-radius:13px}.panel-head{padding:18px}.panel-head h2{font-size:16px}.panel-head .btn{font-size:10px;padding:7px 9px;min-height:36px}.empty{padding:42px 19px}.toolbar{padding:15px;gap:10px}.search-field{min-width:calc(100% - 53px);max-width:none;flex:1}.toolbar select{font-size:11px;min-width:120px;flex:1}.toolbar .spacer{display:none}.filter-check{font-size:11px;flex:1}.toolbar .count-label{display:none}.item-table{display:none}.mobile-cards{display:block}.product-card{padding:16px;border-bottom:1px solid var(--line)}.product-card:last-child{border-bottom:0}.product-card-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}.product-card-top .item-name{font-size:13px;max-width:none}.product-card-top>.btn{margin-left:auto}.product-card-bottom{display:flex;align-items:center;justify-content:space-between;padding-left:51px}.product-card-bottom .quantity{font-size:17px}.product-card-bottom .muted{font-size:10px}.pagination{padding:14px 15px;font-size:10px;gap:8px}.pagination .btn{font-size:10px;padding:6px 8px;min-height:38px}.page-index{padding:0 3px}.form-grid{gap:14px;grid-template-columns:1fr}.field.full{grid-column:auto}.dialog{width:calc(100% - 22px);max-height:94dvh;border-radius:15px}.dialog-head{padding:18px 19px}.dialog-body{padding:20px 19px;max-height:calc(94dvh - 155px)}.dialog-foot{padding:16px 19px;flex-wrap:wrap}.dialog-head h2{font-size:17px}.dialog .form-grid.two-col{grid-template-columns:1fr 1fr}.stock-line{grid-template-columns:minmax(0,1fr) 86px 32px;gap:6px;padding:11px}.stock-line input{padding:9px 7px}.stock-line button{width:32px;min-width:32px;padding:6px}.mapping-grid{grid-template-columns:1fr}.migration-summary{grid-template-columns:1fr 1fr}.step-list{gap:7px}.step{padding:12px 7px;display:block;text-align:center}.step-number{margin:0 auto 8px;width:25px;height:25px}.step strong{font-size:10px}.step small{display:none}.dropzone{padding:25px 14px}.settings-layout{gap:17px}.tabs{gap:0}.tab{padding:12px 16px;font-size:12px}.simple-list li{padding:17px}.simple-list .inline{gap:5px}.simple-list .btn{font-size:10px;padding:7px 9px}.simple-list select{font-size:11px;width:auto;padding:9px}.transaction-list{padding:0 17px}.transaction-title{align-items:flex-start}.transaction-meta{gap:8px;line-height:1.5}.transaction-lines li{display:block;line-height:1.8}.transaction-lines li>span:last-child{display:block}.footer-note{font-size:9px;line-height:1.8}.login-page{display:block}.login-story{padding:29px 26px 33px}.login-story .brand{margin-bottom:34px}.login-story h1{font-size:34px;line-height:1.3;letter-spacing:-1.6px;margin-bottom:14px}.login-story p{font-size:12px;margin-bottom:0}.login-features,.login-bottom{display:none}.login-form-side{padding:35px 27px 45px}.login-box h2{font-size:22px}.login-box>p{margin-bottom:25px}.pending-banner{align-items:flex-start;flex-direction:column}.attribute-row{grid-template-columns:1fr 1fr 32px;gap:6px}.attribute-row button{width:32px}.attribute-row input{padding:9px 8px;font-size:11px}.details{gap:20px 13px}.quick-action{gap:14px}.quick-grid{gap:11px}.mobile-scrim{position:fixed;inset:0;background:#0c252c55;z-index:19}.toasts{bottom:16px;right:16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.receipt-grid{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr);gap:24px;align-items:start}.receipt-photo{border:1px solid var(--line);border-radius:12px;background:#f3f5ee;padding:13px;text-align:center;position:sticky;top:0}.receipt-photo img{max-width:100%;max-height:530px;object-fit:contain;display:block;margin:auto;border-radius:5px}.receipt-photo a{display:inline-block;margin-top:11px;font-size:11px}.receipt-form .form-grid{gap:13px}.receipt-line{border:1px solid var(--line);border-radius:10px;padding:13px;margin-bottom:10px}.receipt-line-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.receipt-line-head strong{font-size:12px;display:block}.receipt-line-head small{font-size:10px;color:#8a9782}.receipt-line .form-grid{grid-template-columns:90px 1fr}.receipt-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;background:#f2f6eb;border-radius:12px;padding:17px;margin:16px 0}.receipt-summary span{display:block;font-size:10px;color:#879777;margin-bottom:7px}.receipt-summary strong{font-size:18px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.receipt-summary.balanced{background:#e9f4e8}.receipt-summary.unbalanced{background:#fff6e9}.receipt-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 23px;border-bottom:1px solid var(--line)}.receipt-row:last-child{border-bottom:0}.receipt-row-main{display:flex;align-items:center;gap:15px;min-width:0}.receipt-row strong{font-size:13px}.receipt-row p{font-size:11px;color:#899780;margin:6px 0 0}.receipt-row button.item-name{font-size:13px}.receipt-row .amount{text-align:right;font-weight:650;font-size:14px;white-space:nowrap}.receipt-row .amount small{display:block;font-size:10px;color:#92a085;margin-top:5px;font-weight:400}.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.unit-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:19px;min-width:0}.unit-card .card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.unit-card h3{margin:0 0 8px;font-size:14px;overflow-wrap:anywhere}.unit-card .item-sub{margin:0 0 13px}.unit-card .unit-meta{font-size:11px;color:#859779;line-height:1.8}.unit-card .unit-price{font-size:19px;font-weight:600;margin-top:12px}.unit-card .unit-price small{font-size:10px;margin-left:5px;color:#8d9e80;font-weight:400}.unit-card .btn{width:100%;margin-top:15px}.qr-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px}.qr-frame{padding:20px;border:1px solid var(--line);background:#fff;border-radius:15px;text-align:center}.qr-frame img{width:100%;display:block;image-rendering:pixelated}.qr-frame p{font-size:11px;color:#91a086;margin:13px 0 0}.garment-heading{display:flex;gap:12px;align-items:center;margin-bottom:17px}.garment-heading h2{font-size:24px;margin:0;word-break:break-word}.receipt-detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:17px 0}.receipt-detail-actions select{width:auto;font-size:12px;max-width:185px}.unit-check{width:17px;min-height:17px;accent-color:var(--green)}.label-select-count{font-size:11px;color:#7c9070}.currency-note{font-size:10px;color:#8c9c7f;line-height:1.7}.receipt-dialog{max-width:1050px!important}.receipt-open-image{width:auto!important}.page-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.slim-notice{font-size:11px;color:#899a7c;margin-top:14px;line-height:1.7}.receipt-form .search-field{max-width:none}.receipt-photo-empty{padding:38px 15px}.receipt-photo-empty .icon{width:42px;height:42px;color:#9aac87}.receipt-photo-empty p{font-size:12px;color:#8c9c7f;margin:14px 0}.inline-totals{font-size:11px;color:#829373;display:flex;gap:17px;flex-wrap:wrap}.receipt-fields-top{margin-bottom:18px}.receipt-inline-notice{font-size:11px;color:#8a967e;line-height:1.7;margin-top:12px}.unit-table-check th:first-child,.unit-table-check td:first-child{width:42px;padding-right:0}
@media(max-width:1120px){.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-grid{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:860px){.receipt-grid{grid-template-columns:1fr}.receipt-photo{position:static;max-width:360px;margin:0 auto;width:100%}.receipt-photo img{max-height:280px}.qr-layout{grid-template-columns:200px minmax(0,1fr);gap:22px}}
@media(max-width:650px){.unit-grid{gap:11px}.unit-card{padding:15px 12px}.unit-card .unit-price{font-size:16px}.unit-card h3{font-size:12px}.unit-card .unit-meta{font-size:10px}.unit-card .btn{font-size:10px;padding:8px}.receipt-row{padding:16px;gap:10px}.receipt-row-main{gap:10px}.receipt-row .amount{font-size:12px}.receipt-row .item-avatar{display:none}.receipt-row p{font-size:10px}.receipt-row strong{font-size:12px}.receipt-summary{padding:14px 12px;gap:8px}.receipt-summary strong{font-size:16px}.receipt-summary span{font-size:9px}.qr-layout{grid-template-columns:1fr}.qr-frame{max-width:220px;margin:auto}.garment-heading h2{font-size:20px}.receipt-form .form-grid{grid-template-columns:1fr 1fr}.receipt-form .form-grid .field:last-child:nth-child(odd){grid-column:1/-1}.receipt-form .receipt-line .form-grid{grid-template-columns:75px 1fr}.receipt-detail-actions .btn{font-size:11px}.receipt-grid{gap:18px}.receipt-photo{max-width:300px}.receipt-fields-top{margin-bottom:15px}.page-intro-grid{grid-template-columns:1fr}}
/* Authenticated product thumbnails use only the same-origin photo endpoint. */
.product-photo{position:relative;overflow:hidden;background:#f2f4ed;border:1px solid #e3e9df}
.product-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;opacity:0}
.product-photo.photo-loaded img,.product-photo-large.photo-loaded img{opacity:1}
.product-photo.photo-loaded>.icon,.product-photo-large.photo-loaded>.icon{visibility:hidden}
.product-photo-block{margin:0 0 25px;display:flex;flex-direction:column;align-items:center;gap:9px}
.product-photo-large{position:relative;width:300px;max-width:100%;height:300px;background:#f5f7f0;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#99aa87}
.product-photo-large>.icon{width:54px;height:54px}
.product-photo-large img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;opacity:0}
.product-photo-message{font-size:12px;color:#87967b}
.product-photo-block figcaption{font-size:10px;color:#8b9880;text-align:center;line-height:1.6}
@media(max-width:650px){.product-photo-large{width:270px;height:270px}.product-photo-block{margin-bottom:22px}}
/* V2: manufacturer barcode and evidence-backed purchase cost workflow. */
/* Variable-height footers stay fully visible while only modal content scrolls. */
.dialog[open]{display:flex;flex-direction:column;overflow:hidden}.dialog-head,.dialog-foot{flex:none}.dialog-body{min-height:0;max-height:none;overflow:auto;flex:1 1 auto}
@media(max-width:650px){.item-detail-dialog .dialog-foot{display:grid;grid-template-columns:1fr 1fr}.item-detail-dialog .dialog-foot>.btn{min-height:46px}}
/* Product lifecycle and exact, purchase-lot-aware stock correction. */
.item-status-badges{display:inline-flex;gap:6px;flex-wrap:wrap;align-items:center}.item-state-inactive{background:#fff3d9!important;color:#9d6a21!important}.item-state-deleted{background:#f8e5df!important;color:#a35443!important}.detail-title .pill{margin-top:9px}.item-lifecycle-controls{margin-top:23px;padding-top:4px;border-top:1px solid var(--line)}.item-lifecycle-controls p{margin:13px 0 0;line-height:1.8}.item-lifecycle-controls .notice{margin-top:12px}.item-stock-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.item-lifecycle-controls .item-stock-actions{justify-content:flex-start}.barcode-product-choice .pill{margin-top:9px}.stock-adjustment-dialog{max-width:780px!important}.stock-adjustment-form>.notice{margin:18px 0}.stock-adjustment-form>.receipt-summary{margin-top:19px}.stock-adjustment-form>.field{margin-top:22px}.adjustment-allocation{margin:25px 0}.adjustment-lots{display:grid;gap:11px;margin:14px 0}.adjustment-lot{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:20px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#f9fcf5;padding:17px}.adjustment-lot.unknown-cost{background:#fffaf0;border-color:#eed9b9}.adjustment-lot-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}.adjustment-lot-heading>input{width:23px;min-height:23px;flex:none;margin-top:2px;accent-color:var(--green)}.adjustment-lot-heading>div{min-width:0}.adjustment-lot-heading strong{font-size:13px;overflow-wrap:anywhere}.adjustment-lot-heading p{font-size:11px;color:var(--muted);margin:8px 0;line-height:1.7}.adjustment-lot>.field{margin:0}.adjustment-lot>.field input{font-size:16px}.adjustment-lot>.field .field-help{font-size:10px}
@media(max-width:650px){.item-stock-actions{justify-content:flex-start}.panel-head:has(.item-stock-actions){align-items:flex-start;flex-direction:column}.panel-head>.item-stock-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.panel-head>.item-stock-actions>.btn{min-height:46px;font-size:12px}.panel-head>.item-stock-actions>.btn:last-child{grid-column:1/-1}.item-lifecycle-controls .btn{min-height:46px;flex:1}.item-status-badges{gap:5px}.item-status-badges .pill{font-size:9px}.stock-adjustment-form>.form-grid{grid-template-columns:1fr}.stock-adjustment-form .form-grid input{font-size:16px;min-height:48px}.stock-adjustment-form>.receipt-summary strong{font-size:17px}.adjustment-lot{grid-template-columns:1fr;gap:13px;padding:15px 12px}.adjustment-lot-heading strong{font-size:12px}.adjustment-lot>.field{margin-left:35px}.adjustment-lot>.field input{min-height:48px}.stock-adjustment-dialog .dialog-foot .primary{flex:1;min-height:48px}.item-lifecycle-controls .notice{font-size:11px}}
.sidebar{overflow-y:auto}.barcode-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:11px}.barcode-search-row input{font-size:16px;min-height:49px}.barcode-search-row .btn{min-height:49px;font-size:13px}.workflow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:22px}.workflow-steps>div{font-size:12px;border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff;color:#617854}.barcode-product-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.barcode-product-choice{display:flex;align-items:center;gap:14px;text-align:left;padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);min-height:80px}.barcode-product-choice.selected{border:2px solid #5c9b7b;background:#eef7ea}.barcode-product-choice>span:nth-child(2){flex:1;min-width:0}.barcode-product-choice strong{display:block;font-size:13px;overflow-wrap:anywhere}.barcode-product-choice small{display:block;margin-top:7px;font-size:11px;color:#8a9a7d}.lot-list{display:flex;flex-direction:column;gap:13px}.lot-card{border:1px solid #dce5d6;border-radius:13px;padding:18px;margin-bottom:13px;background:#fbfcf8}.lot-card.unknown-cost{border-color:#e8d7b8;background:#fffbf2}.lot-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.lot-card-heading>div{flex:1;min-width:0}.lot-card-heading strong{display:block;font-size:13px;overflow-wrap:anywhere}.lot-card-heading small{display:block;font-size:10px;color:#8c9b7f;margin-top:6px}.lot-card-body{display:flex;align-items:center;justify-content:space-between;gap:18px}.lot-card-body>.field{width:115px;flex:none}.lot-card-body .eyebrow{margin-bottom:7px;font-size:9px}.lot-cost{font-size:22px;font-weight:650;letter-spacing:-.7px}.lot-card-body p{margin:7px 0 0;font-size:11px}.lot-card input[type=checkbox]{width:21px;min-height:21px;flex:none}.lot-selection-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px;background:#edf4e6;border:1px solid #dbe8cf;border-radius:12px;margin:21px 0 13px}.lot-selection-summary>strong{font-size:19px;white-space:nowrap}.cost-summary-lines{display:flex;flex-direction:column;gap:7px;text-align:right;font-size:12px;line-height:1.7}.lot-out-actions{display:grid;grid-template-columns:2fr 1fr;gap:12px}.lot-out-actions .btn{min-height:48px;font-size:14px}.upload-file-list{display:flex;flex-direction:column;gap:11px}.upload-file-row{display:grid;grid-template-columns:80px minmax(0,1fr) 40px;gap:14px;align-items:start;padding:15px;border:1px solid var(--line);border-radius:12px}.upload-file-row>img{width:80px;height:95px;object-fit:contain;border-radius:7px;background:#f4f6ef}.upload-file-info{min-width:0}.upload-file-info>strong{font-size:12px;display:block;overflow-wrap:anywhere}.upload-file-info>small{font-size:10px;color:#8c9a81;display:block;margin:6px 0 9px}.upload-file-info select{font-size:12px;max-width:210px}.upload-file-info .btn{white-space:normal;justify-content:flex-start;text-align:left}.attachment-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.attachment-tile{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fafcf6;padding:8px;min-width:0;color:var(--ink)}.attachment-tile img{width:100%;height:140px;object-fit:contain;background:white;border-radius:6px}.attachment-tile strong{display:block;font-size:10px;overflow-wrap:anywhere;padding:9px 3px 3px;line-height:1.5}.attachment-tile small{font-size:9px;line-height:1.6;color:#8b9a7e;padding:0 3px 4px}.attachment-doc{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;height:110px;background:#f0f4e8;color:#8ca075;border-radius:6px;font-size:12px}.attachment-doc .icon{width:35px;height:35px}.ocr-review{margin-top:28px;border-top:1px solid var(--line);padding-top:5px}.ocr-editor{min-height:180px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;line-height:1.8}.ocr-match{padding:9px 11px;border-bottom:1px solid var(--line);background:#fffdeb;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7}.ocr-candidate{padding:14px;border:1px solid var(--line);background:#f8fbf3;border-radius:11px;margin-bottom:10px}.ocr-candidate.review-only{background:#fcf7ed;border-color:#eee1cb}.ocr-candidate>p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}.ocr-candidate-meta{font-size:10px;color:#879879;line-height:1.8}.candidate-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.candidate-buttons .btn{white-space:normal;text-align:left;justify-content:flex-start;min-height:40px}.v2-receipt-grid{grid-template-columns:minmax(200px,.72fr) minmax(0,1.5fr)}.receipt-line-head .pill{margin-top:7px}.receipt-form>.check-confirm{margin-bottom:20px;border-bottom:1px solid var(--line)}
@media(max-width:860px){.v2-receipt-grid{grid-template-columns:1fr}.v2-receipt-grid .attachment-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.attachment-tile img{height:110px}}
@media(max-width:650px){.sidebar{padding-top:24px;padding-bottom:20px}.sidebar .brand{margin-bottom:27px}.sidebar .nav{gap:3px}.sidebar .nav-link{min-height:44px;padding-top:10px;padding-bottom:10px}.sidebar .workspace-card{margin-bottom:15px}.barcode-search-row{grid-template-columns:minmax(0,1fr) 66px;gap:9px}.barcode-search-row>.btn:last-child{grid-column:1/-1;font-size:16px;min-height:52px}.barcode-search-row input{font-size:15px}.workflow-steps{grid-template-columns:1fr;gap:8px}.workflow-steps>div{padding:15px;font-size:12px}.barcode-product-choices{grid-template-columns:1fr}.barcode-product-choice{padding:15px}.lot-card{padding:15px 12px}.lot-card-heading{gap:9px;flex-wrap:wrap}.lot-card-heading strong{font-size:12px}.lot-card-heading>.pill{margin-left:30px}.lot-card-body{gap:12px}.lot-card-body>.field{width:90px}.lot-card-body input{font-size:16px;min-height:46px}.lot-cost{font-size:18px}.lot-card-body p{font-size:10px}.lot-selection-summary{padding:16px 13px;display:block}.cost-summary-lines{text-align:left;margin-top:10px;font-size:11px}.lot-out-actions{grid-template-columns:1fr}.lot-out-actions .btn{min-height:52px;font-size:15px}.upload-file-row{grid-template-columns:55px minmax(0,1fr) 34px;gap:9px;padding:12px}.upload-file-row>img{width:55px;height:75px}.upload-file-info>strong{font-size:11px}.upload-file-info select{font-size:11px}.upload-file-row>.btn{width:34px;padding:5px}.v2-receipt-grid .attachment-gallery{grid-template-columns:1fr 1fr}.attachment-tile img{height:120px}.candidate-buttons{display:block}.candidate-buttons>.btn{width:100%;margin-top:6px}.ocr-editor{font-size:13px;min-height:160px}.ocr-candidate{padding:12px}.receipt-form .receipt-detail-actions .btn{min-height:44px}.receipt-form .check-confirm{font-size:13px}.receipt-form .check-confirm input{width:21px;min-height:21px}}
.item-registration-dialog{max-width:820px!important}.item-registration-form>.notice{margin:18px 0}.item-registration-form .field{margin-bottom:16px}.item-registration-form .notice p{margin:8px 0 0}.registration-receipt-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-bottom:18px}.registration-receipt-actions>.field{flex-basis:100%;margin-bottom:0}.registration-source{border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.registration-source>.notice{margin:16px 0}.registration-candidates{display:grid;gap:10px;margin:16px 0}.registration-candidate{display:flex;width:100%;justify-content:flex-start;text-align:left;white-space:normal;border:1px solid var(--line);background:#f8fbf3;padding:15px;min-width:0}.registration-candidate.selected{border:2px solid #5c9b7b;background:#eaf5e7}.registration-candidate>span{display:block;min-width:0}.registration-candidate strong{font-size:14px;display:block;overflow-wrap:anywhere;line-height:1.6}.registration-candidate small{font-size:11px;display:block;color:var(--muted);margin-top:6px;overflow-wrap:anywhere;font-weight:400;line-height:1.7}.registration-review{margin-top:20px}.registration-receipt-choice{width:100%;justify-content:flex-start;white-space:normal;text-align:left;margin-top:12px;padding:14px}.registration-receipt-choice>span:last-child{min-width:0}.registration-receipt-choice strong,.registration-receipt-choice small{display:block;overflow-wrap:anywhere}.registration-receipt-choice small{font-size:11px;font-weight:400;color:var(--muted);margin-top:7px}.item-registration-dialog .details dd{overflow-wrap:anywhere}
@media(max-width:650px){.item-registration-form input:not([type=file]),.item-registration-form textarea{font-size:16px;min-height:48px}.item-registration-form input[type=file]{font-size:12px;max-width:100%}.registration-receipt-actions{display:grid;grid-template-columns:1fr}.registration-receipt-actions>.btn{white-space:normal;min-height:48px}.registration-candidate{padding:13px}.registration-candidate strong{font-size:14px}.registration-candidate small{font-size:11px}.item-registration-dialog .dialog-foot>.btn{min-height:48px;white-space:normal;flex:1}.item-registration-dialog .dialog-foot>.primary{flex-basis:100%}.item-registration-dialog .details{grid-template-columns:1fr}.registration-source .receipt-detail-actions>.btn{min-height:46px;white-space:normal}.registration-source>.btn{min-height:46px}}
/* Receipt review: the entire image fits first; zoomed content scrolls inside its own viewport. */
.stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.receipt-evidence-column{min-width:0}.attachment-browser{min-width:0}.attachment-focus{margin-bottom:14px;min-width:0}.receipt-image-viewer{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eef1ec;min-width:0}.receipt-zoom-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px;background:#fff;border-bottom:1px solid var(--line)}.receipt-zoom-controls .btn{min-height:38px;padding:7px 9px}.receipt-zoom-status{font-size:11px;flex:1;min-width:55px;text-align:center;font-variant-numeric:tabular-nums}.receipt-image-viewport{height:420px;max-height:55vh;min-height:240px;overflow:hidden;overscroll-behavior:contain;cursor:grab;touch-action:none;position:relative}.receipt-image-viewport.dragging{cursor:grabbing;user-select:none}.receipt-image-stage{position:relative;min-width:100%;min-height:100%}.receipt-image-stage img{position:absolute;display:block;max-width:none;max-height:none;object-fit:contain;flex:none;user-select:none;-webkit-user-drag:none;box-shadow:0 2px 9px #2037371a}.receipt-viewer-hint{padding:8px 10px;margin:0;font-size:10px;color:var(--muted);background:#fff}.attachment-current-name{font-size:11px;overflow-wrap:anywhere;margin:8px 0 3px}.attachment-pdf{padding:16px;background:#f0f4ec;border-radius:12px;text-align:center}.attachment-pdf p{font-size:12px}.attachment-tile{cursor:pointer;text-align:left}.attachment-tile.selected{outline:2px solid var(--green);outline-offset:-2px;background:#eaf5e7}.receipt-form .receipt-line-values{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-line>.field{margin-bottom:12px}.receipt-line-head strong{font-size:14px;overflow-wrap:anywhere}.receipt-line-head small{overflow-wrap:anywhere}.receipt-line-source{font-size:11px;margin-top:12px;color:var(--muted)}.receipt-line-source p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.receipt-reference-history article{border:1px solid var(--line);border-radius:10px;padding:12px;margin:10px 0}.receipt-reference-history article p{margin:7px 0}.receipt-reference-history strong{font-size:13px;overflow-wrap:anywhere}.receipt-confirmed-lines{display:grid;gap:12px}.receipt-confirmed-line{padding:15px;border:1px solid var(--line);border-radius:12px;background:#f9fbf6;min-width:0}.receipt-confirmed-line h3{font-size:14px;overflow-wrap:anywhere;margin-bottom:7px}.receipt-confirmed-line p{font-size:12px;overflow-wrap:anywhere;margin:7px 0}.receipt-confirmed-line .details{margin:13px 0}.receipt-confirmed-line .details dt{font-size:10px}.receipt-confirmed-line .details dd{font-size:13px;overflow-wrap:anywhere}.ocr-candidate>strong{display:block;font-size:13px;margin-bottom:6px}.ocr-candidate-meta{font-size:12px;color:#536a4c}.receipt-summary strong{overflow-wrap:anywhere}.receipt-form .currency-note{font-size:11px}
@media(max-width:860px){.attachment-browser .attachment-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-image-viewport{height:360px;max-height:48vh}.receipt-evidence-column{position:static}.attachment-focus{max-width:100%}.receipt-zoom-controls .btn{min-height:42px}}
@media(max-width:650px){.attachment-browser .attachment-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-image-viewport{height:320px;min-height:220px;max-height:43vh}.receipt-zoom-controls{gap:5px;padding:7px}.receipt-zoom-controls .btn{font-size:11px;min-height:44px;padding:8px}.receipt-zoom-controls .icon{width:16px;height:16px}.receipt-form .receipt-line .receipt-line-values{grid-template-columns:1fr 1fr}.receipt-line input,.receipt-fields-top input{font-size:16px;min-height:46px}.receipt-line .field-help{font-size:10px}.receipt-line>.receipt-detail-actions{display:grid;grid-template-columns:1fr}.receipt-line>.receipt-detail-actions .btn{white-space:normal}.receipt-confirmed-line{padding:13px}.receipt-summary strong{font-size:15px}.receipt-dialog .dialog-foot .btn{white-space:normal;min-height:46px}.receipt-reference-history .btn{min-height:44px}}
.v2-receipt-grid>*{min-width:0}.attachment-focus>*{max-width:100%}.receipt-confirmed-lines,.receipt-classified-lines{min-width:0}
@media(max-width:860px){.v2-receipt-grid{grid-template-columns:minmax(0,1fr)}}

/* A fitted image shares single-finger scrolling with its parent; pinches stay inside the viewer. */
.receipt-image-viewport:focus-visible{outline:3px solid #72bca8;outline-offset:-3px}.receipt-image-stage img{touch-action:none}.receipt-pdf-viewer,.receipt-pdf-content{min-width:0}.receipt-page-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.receipt-page-controls .btn{min-height:42px;padding:8px 10px;font-size:11px}.receipt-page-status{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.receipt-pdf-viewer[aria-busy=true] .receipt-pdf-content{opacity:.55}.receipt-original-dialog{width:calc(100% - 32px);max-width:1160px!important;height:94dvh;max-height:94dvh}.receipt-original-dialog .dialog-head{padding:12px 18px;gap:15px}.receipt-original-dialog .dialog-head h2{font-size:15px;margin:0}.receipt-original-back{gap:8px;font-size:13px}.receipt-original-back>span{font-size:21px;line-height:1}.receipt-original-dialog .dialog-body{padding:12px 18px;display:flex;flex-direction:column;overflow:hidden;gap:9px}.receipt-original-dialog .attachment-current-name{flex:none;margin:0;font-size:12px}.receipt-original-dialog .receipt-image-viewer{display:flex;flex-direction:column;flex:1;min-height:0}.receipt-original-dialog .receipt-image-viewport{height:auto;min-height:0;max-height:none;flex:1}.receipt-original-dialog .receipt-zoom-controls,.receipt-original-dialog .receipt-viewer-hint{flex:none}.receipt-original-dialog .receipt-pdf-viewer{display:flex;flex-direction:column;flex:1;min-height:0}.receipt-original-dialog .receipt-pdf-content{display:flex;flex-direction:column;flex:1;min-height:0}.receipt-original-dialog .dialog-foot{padding:10px 18px}.receipt-original-dialog .receipt-page-controls{flex:none;margin:0 0 8px}.receipt-original-dialog .notice{margin-bottom:8px}
@media(max-width:650px){.receipt-original-dialog{width:100%;max-width:100%!important;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.receipt-original-dialog .dialog-head{padding:calc(8px + env(safe-area-inset-top)) 10px 8px}.receipt-original-dialog .dialog-body{padding:10px}.receipt-original-dialog .dialog-foot{padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.receipt-original-dialog .dialog-foot .btn{width:100%;min-height:46px}.receipt-original-dialog .receipt-viewer-hint{font-size:10px;padding:8px}.receipt-page-controls{gap:5px}.receipt-page-controls .btn{font-size:10px;min-height:44px;padding:7px}.receipt-page-status{font-size:11px}}

/* Receipt review: one product at a time, with optional evidence detail. */
.receipt-form .ocr-review{margin-top:0;padding-top:0;border-top:0}.receipt-review-progress{display:flex;flex-direction:column;gap:7px;padding:15px;margin:12px 0;background:#edf4e6;border-radius:12px;font-size:12px}.receipt-review-progress strong{font-size:16px}.receipt-product-card{min-width:0;overflow-wrap:anywhere}.receipt-product-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.receipt-product-card-head strong{font-size:15px;line-height:1.6;min-width:0}.receipt-product-card-head .pill{flex:none;margin-top:2px}.receipt-product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:14px 0}.receipt-product-facts>div{min-width:0}.receipt-product-facts dt{font-size:11px;font-weight:400;color:#64745c;margin-bottom:4px}.receipt-product-facts dd{font-size:14px;line-height:1.5;font-weight:600;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.receipt-product-extra,.receipt-ocr-tools,.receipt-line-advanced{border-top:1px solid var(--line);margin-top:14px;padding-top:10px;font-size:12px;color:#506447}.receipt-product-extra summary,.receipt-ocr-tools summary,.receipt-line-advanced summary{cursor:pointer;min-height:36px;display:list-item;line-height:1.6;padding:5px 0}.receipt-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.receipt-ocr-tools[open]>.ocr-editor{margin-top:12px}.receipt-line-advanced .form-grid{margin-top:12px}.receipt-match-choice>span:last-child{display:block;min-width:0}.receipt-match-choice strong,.receipt-match-choice small{display:block;overflow-wrap:anywhere}.receipt-match-choice small{font-weight:400;font-size:11px;line-height:1.6;margin-top:5px}.receipt-linked-name{font-size:13px;color:#34593c;line-height:1.6;overflow-wrap:anywhere}.ocr-candidate.is-linked{background:#eef6ed;border-color:#c6dcc2}.registration-candidates>.receipt-product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.registration-candidates .registration-candidate{border:0;border-radius:0}.registration-candidates .registration-candidate.selected{box-shadow:inset 0 0 0 2px #5c9b7b}.registration-candidates .receipt-product-extra,.registration-candidates .receipt-product-card>p{margin-left:13px;margin-right:13px}.registration-existing-matches{background:#f5f8ef;border-radius:12px;padding:0 14px 12px;margin:16px 0}.registration-existing-matches:empty{display:none}.receipt-summary-proposal{border:1px solid #d5e2cd;background:#f7faf3;border-radius:12px;padding:14px;margin:12px 0}.receipt-summary-proposal:empty{display:none}.receipt-summary-proposal>strong{font-size:13px}.receipt-product-extra .small{line-height:1.7}.receipt-line>.btn{margin:4px 0}.receipt-line-head>div{min-width:0}.receipt-line .receipt-line-values .field{min-width:0}
@media(max-width:650px){.receipt-product-card-head{flex-direction:column;gap:7px}.receipt-product-facts{gap:11px 10px}.receipt-product-facts dd{font-size:14px}.receipt-product-extra summary,.receipt-ocr-tools summary,.receipt-line-advanced summary{min-height:44px;padding:10px 0}.receipt-line-advanced .btn{width:100%;min-height:44px;white-space:normal}.receipt-line>.btn{width:100%;min-height:44px;white-space:normal}.receipt-summary-proposal>.btn{width:100%;min-height:44px}.receipt-form .receipt-line .receipt-line-values{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-match-choice{width:100%}.receipt-product-card-head strong{font-size:15px}.receipt-review-progress{font-size:12px;line-height:1.7}}
@media(min-width:861px){.v2-receipt-grid>.receipt-evidence-column{position:sticky;top:0;max-height:calc(100dvh - 190px);overflow-y:auto;padding-right:3px}}

/* Account forms retain native password-manager fields and fit a narrow phone. */
.password-change-page{min-height:100dvh;max-width:640px;margin:0 auto;padding:36px 24px}.password-change-page>.brand{margin-bottom:40px;color:var(--ink)}.password-change-page .brand-name{color:var(--ink)}.password-change-page .login-box{max-width:480px;margin:0 auto}.password-change-page h1{font-size:28px;line-height:1.35}.password-change-page .login-box>p{line-height:1.8}.account-security-panel{max-width:680px}.account-batch-rows{display:flex;flex-direction:column;gap:16px}.account-batch-row{border:1px solid var(--line);border-radius:12px;padding:16px}.account-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.account-batch-heading h3{font-size:15px;margin:0}.account-batch-row .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(100px,.7fr)}@media(max-width:650px){.account-batch-row .form-grid{grid-template-columns:1fr}.password-change-page{padding:28px 20px}.password-change-page h1{font-size:24px}}
