@import url('vendor/manrope.css');
:root{--ink:#171b1e;--muted:#6f7d8a;--bg:#fafbf8;--line:#e1e5e7;--lime:#d5f77a;font-family:Manrope,Arial,sans-serif;font-size:15px}body{background:#fafbf8;color:#171b1e}button,input,select,textarea{font-family:Manrope,Arial,sans-serif}h1,h2,h3{font-weight:800}h1{font-size:40px;letter-spacing:-1.8px}h2{font-size:20px}p{font-size:15px;color:var(--muted)}.ph{font-size:22px;vertical-align:middle;line-height:1}.sidebar{width:240px;padding:28px 23px;background:#171b1e}.sidebar .brand{font-size:27px;font-weight:800;letter-spacing:-1px;gap:10px;padding:0}.brand img{width:40px;height:40px;object-fit:contain}.brand-symbol{display:none}.brand{font-family:Manrope,Arial,sans-serif}.sidebar-label{display:block;margin:48px 0 24px;font-size:11px;letter-spacing:1.7px;color:#b3bdc7}.sidebar-bottom{padding:22px 0 0;border-color:#384147}.sidebar-bottom div{font-size:13px}.sidebar-bottom small{font-size:12px}.sidebar-bottom .text-btn{font-size:12px}.studio-nav{margin-top:40px}.nav-item{font-size:12px;color:#b4c1cb;gap:12px;padding:13px 8px}.nav-item.active{background:#2c3435;color:#d5f77a}.nav-item:hover{background:#242b30}.nav-item .ph{font-size:22px}.journey-step{position:relative;display:flex;align-items:flex-start;gap:20px;width:100%;background:none;color:#b5c2cb;text-align:left;padding:0 0 40px;border-radius:0;min-height:95px}.journey-step:not(:last-child)::after{content:'';position:absolute;left:17px;top:40px;bottom:7px;width:2px;background:#45525c}.journey-step.complete::after{background:var(--lime)}.journey-circle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;border:1px solid #586571;background:#252f38;color:#afbeca;font-weight:700;font-size:16px}.journey-circle .ph{font-size:20px}.journey-step.current .journey-circle,.journey-step.complete .journey-circle{background:var(--lime);border-color:var(--lime);color:#171b1e}.journey-step strong{display:block;font-size:14px;line-height:1.5;margin-top:4px}.journey-step small{font-size:12px;color:#aabcca;margin-top:3px;overflow-wrap:anywhere;max-width:130px}.journey-step.current,.journey-step.complete{color:#fff}.journey-step:disabled{opacity:1;cursor:default}.wizard-mode .studio-nav{margin-top:8px}.wizard-mode .studio-nav #nav-upd{display:none}.wizard-mode .studio-nav .nav-item:not(#nav-documents){display:none}main{margin-left:240px}.topbar{height:78px;background:#fcfcfa;padding:0 36px;font-size:13px;color:#536171}.connection-pill{font-size:11px}.view{padding:42px 40px}.view .page-heading h1{font-size:37px}.primary{background:#171b1e;font-size:13px;gap:14px;padding:15px 22px;border-radius:11px;min-height:49px;font-weight:750}.primary:hover{background:#30373b}.primary .ph{color:var(--lime);font-size:22px}.secondary{font-size:13px;border-radius:10px}.text-btn{font-size:13px;color:#536171;font-weight:600}.mode-pill{background:#eef6db;color:#222c21;font-size:12px;line-height:1.4;border-radius:12px;padding:10px 15px;white-space:nowrap}.studio-columns{display:grid;grid-template-columns:minmax(0,1fr) 314px;gap:34px;padding:30px 34px 30px 38px;max-width:1500px;margin:0 auto;min-height:calc(100vh - 78px)}.studio-task{min-width:0}.studio-title{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:10px 0 8px}.studio-title h1{margin:0;font-size:40px;line-height:1.2;letter-spacing:-1.9px}.step-intro{font-size:17px;color:#6e7d8f;margin:15px 0 31px}.source-strip{display:flex;gap:18px;align-items:center;border:1px solid #dfe4e6;border-radius:13px;padding:20px 22px;background:#fff;min-height:87px}.source-strip .excel-icon{font-size:32px;color:#217a43}.source-strip strong{font-size:15px;font-weight:800}.source-strip small{font-size:13px;margin-top:3px}.source-strip .text-btn{margin-left:auto}.recipient-line{border-block:1px solid #dde3e6;margin:24px 0 14px;padding:27px 0 31px}.field-overline{font-size:11px;letter-spacing:1.5px;color:#5d6b7b;display:block;font-weight:650;margin-bottom:12px}.recipient-line strong{font-size:29px;letter-spacing:-.8px}.where-title{font-size:23px;margin:16px 0 17px}.warehouse-choices{display:flex;flex-direction:column;gap:13px}.warehouse-choice{display:flex;align-items:center;text-align:left;gap:22px;width:100%;min-height:92px;background:white;border:1px solid #dce2e5;border-radius:12px;padding:18px 23px;color:var(--ink)}.warehouse-choice>.ph:first-child{font-size:37px}.warehouse-choice div{flex:1;min-width:0}.warehouse-choice strong{display:block;font-size:19px;font-weight:800;margin-bottom:4px}.warehouse-choice span{display:block;font-size:14px;color:#66717b}.warehouse-choice .selection-icon{font-size:25px;color:#a6b4c0}.warehouse-choice:hover{border-color:#a8bc7f;background:#f8fbf0}.warehouse-choice.selected{border-color:#9ec543;background:#f7fbed}.warehouse-choice.selected .selection-icon{color:#87ad23}.mod-section{padding-top:26px;margin-top:23px;border-top:1px solid #dce3e5}.mod-choices{display:flex;flex-wrap:wrap;gap:12px}.mod-choice{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border:1px solid #dbe1e5;border-radius:20px;font-size:13px;font-weight:650;background:white;color:#5a6977;min-height:46px}.mod-choice.selected{background:#eef5de;border-color:#202921;color:#171b1e}.mod-choice:hover{background:#f0f4e8}.mod-choice .ph{font-size:17px}.mod-section .fine{font-size:12px;color:#758397;margin-top:12px}.wizard-footer{display:flex;align-items:center;gap:20px;margin-top:34px;min-height:56px;padding-bottom:8px}.wizard-footer .primary{margin-left:auto;min-height:54px}.wizard-footer .text-btn{display:inline-flex;gap:9px;align-items:center}.wizard-footer #step-counter{font-size:11px;color:#8a98a5;margin-left:auto}.wizard-footer .primary+.text-btn{margin-left:0}.document-summary{border-left:1px solid #e0e5e7;padding-left:31px;min-width:0}.document-summary h2{font-size:21px;margin:12px 0 25px;letter-spacing:-.6px}.paper-preview{background:#fff;border:1px solid #e1e4e7;border-radius:5px;padding:24px 19px;min-height:330px;box-shadow:0 8px 25px #253d4910;font-size:11px;overflow:hidden}.paper-preview header h3{font-size:26px;margin:0 0 2px}.paper-preview header strong{font-size:19px;letter-spacing:-.6px}.paper-preview header span{display:block;color:#87929e;font-size:10px;margin-top:10px;word-break:break-word}.paper-preview table{min-width:0!important;margin-top:25px;display:table!important;table-layout:fixed}.paper-preview thead{position:static!important;clip-path:none!important;width:auto!important;height:auto!important;display:table-header-group!important}.paper-preview tbody{display:table-row-group!important}.paper-preview tr{display:table-row!important;padding:0!important}.paper-preview th,.paper-preview td{padding:6px 4px;font-size:9px!important;display:table-cell!important;min-width:0;max-width:none!important;width:auto!important;word-break:break-word;line-height:1.4}.paper-preview td::before{display:none!important}.paper-preview th:first-child{width:70%}.paper-preview p{font-size:12px;margin:42px 0;color:#a1aab1}.paper-preview footer{font-size:9px;margin-top:25px;padding-top:12px;border-top:1px solid #eef0f2;color:#8c969d}.document-summary dl{margin:28px 0 0}.document-summary dl>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid #e1e5e7;padding:10px 0;font-size:13px}.document-summary dt{color:#778492}.document-summary dd{margin:0;color:#1b252e;word-break:break-word}.document-summary>p{border-top:1px solid #e1e5e7;margin-top:25px;padding-top:20px;font-size:12px;line-height:1.8;color:#7c8995}.excel-drop{display:flex;align-items:center;flex-direction:column;gap:15px;border:1.5px dashed #bdc8c8;border-radius:15px;background:#f5f8ee;padding:43px 26px;text-align:center;margin:0;position:relative;cursor:pointer}.excel-drop .ph{font-size:48px;color:#2b7945}.excel-drop strong{font-size:23px;font-weight:800}.excel-drop>span:not(.file-choice){font-size:13px;font-weight:400;color:#758293}.excel-drop small{font-size:11px;margin-top:5px}.excel-drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.excel-drop.dragging{background:#edf6d5;border-color:#6a951e}.excel-drop:focus-within{outline:3px solid #a1c94a}.file-choice{padding:12px 30px;background:white}.column-mapping{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-bottom:23px}.column-mapping label{font-size:12px}.mapping-top{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:8px 0 24px}.mapping-top label{font-size:12px}.inline-error{font-size:13px;line-height:1.6;padding:14px 17px;background:#faeeeb;border:1px solid #eed5cc;border-radius:10px;color:#a04032;margin:20px 0}.document-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:12px 0 26px}.document-fields label{font-size:12px}#step-three .section-head{margin-top:27px}#goods-review table{min-width:540px}#step-four h2{font-size:30px;letter-spacing:-1px}#step-four p{max-width:550px}#step-four .primary{margin-top:18px}#step-four .text-btn{display:block;margin-top:20px}.ready-icon{display:grid;place-items:center;width:70px;height:70px;background:#eaf5cd;border-radius:18px;margin:28px 0 25px;color:#3d5a09}.ready-icon .ph{font-size:40px}.start-options{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:30px 0 43px}.start-option{padding:29px;background:#fff;border:1px solid #dfe5e6;border-radius:13px;text-align:left;color:#171b1e}.start-option:hover{background:#f6fbea;border-color:#a2c54a}.start-option>.ph{font-size:37px;margin-bottom:20px;color:#54771a}.start-option h2{font-size:25px;margin-bottom:10px;letter-spacing:-.7px}.start-option p{font-size:13px;max-width:330px}.start-option>span{display:flex;justify-content:space-between;align-items:center;color:#6c7c88;font-size:12px;margin-top:26px}.draft-row{display:flex;align-items:center;width:100%;gap:20px;padding:22px;background:#fff;border:1px solid #e1e6e8;text-align:left;color:#1b252d;margin-top:-1px}.draft-row:first-child{border-radius:12px 12px 0 0}.draft-row:last-child{border-radius:0 0 12px 12px}.draft-row:only-child{border-radius:12px}.draft-row:hover{background:#f5f9ed}.draft-row>.ph{font-size:29px;color:#7f8b8f}.draft-row>span:first-of-type{flex:1}.draft-row strong{display:block;font-size:14px}.draft-row small{font-size:11px}.profile-group{border:1px solid #dfe5e5;border-radius:12px;padding:25px;margin-bottom:22px;background:white}.profile-group h2{display:flex;align-items:center;gap:12px}.profile-group h2 .ph{font-size:28px}.profile-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e7ebed;padding:18px 0;gap:20px}.profile-group .secondary{margin-top:15px}.warehouse-fieldset{border:0;padding:0;margin:15px 0 20px;display:flex;gap:15px;flex-wrap:wrap}.warehouse-fieldset legend{font-size:12px;font-weight:650;margin-bottom:10px}.warehouse-fieldset label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;background:#f2f6e9;border-radius:9px;padding:13px}.warehouse-fieldset input{width:17px;height:17px;padding:0;margin:0;accent-color:#719b22}#profile-form>.primary{width:100%;margin-top:25px}#draft-save-status{font-size:12px;color:#7e8a94}#excel-preview{margin:20px 0}#excel-preview table{min-width:420px}.auth-story{background:#171b1e;background-image:none}.auth-story h1{font-family:Manrope,Arial,sans-serif}.auth-card h2{font-family:Manrope,Arial,sans-serif}.auth-story .brand img{display:inline-block}.auth-story .brand-symbol{display:grid}.overview strong{font-weight:700}.view .guide{background:#f0f5e5}.view .stats-grid strong{font-weight:750}.view .progress-track>div{background:#a5c948}.view .scan-card,.view .panel{border-radius:13px}.view .tabs button.active{background:#e8efdc}table{font-size:13px}th{font-size:11px}td{font-size:12px}.notice{font-size:12px}dialog{border-radius:16px}
@media(min-width:1450px){.studio-columns{gap:36px;padding:34px 40px 30px}.studio-task{padding-right:0}}
@media(max-width:1200px){.sidebar{width:218px;padding:25px 20px}.sidebar .brand{font-size:24px}.sidebar .brand img{width:35px;height:35px}main{margin-left:218px}.studio-columns{grid-template-columns:minmax(0,1fr) 260px;gap:25px;padding:28px}.studio-title h1{font-size:34px}.studio-title{gap:12px}.mode-pill{font-size:10px;padding:8px 10px}.document-summary{padding-left:22px}.document-summary h2{font-size:19px}.paper-preview{padding:20px 14px}.step-intro{font-size:15px}.wizard-footer .primary{padding:14px 17px;font-size:12px}.wizard-footer{gap:12px}.warehouse-choice{gap:17px;padding:18px}.view{padding:35px 28px}}
@media(max-width:950px){.sidebar{width:200px;padding:25px 17px}main{margin-left:200px}.studio-columns{grid-template-columns:minmax(0,1fr);padding:28px 26px}.document-summary{display:none}.studio-title h1{font-size:36px}.journey-step{gap:14px}.journey-step strong{font-size:12px}.start-options{gap:15px}.start-option{padding:23px}.start-option h2{font-size:21px}.topbar{padding:0 26px}.view .page-heading{flex-wrap:wrap}}
@media(max-width:700px){.sidebar{position:relative;width:100%;padding:17px 20px;display:block}.sidebar .brand{font-size:24px;display:flex}.sidebar .brand img{width:34px;height:34px}.sidebar-bottom{display:none}.studio-nav{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.nav-item{width:auto;font-size:11px;padding:8px 10px;gap:7px;flex:initial}.nav-item .ph{font-size:18px}.nav-item span{display:initial}.sidebar-label{display:none}.journey-step small{display:none}#journey-steps{display:grid;grid-template-columns:repeat(4,1fr);margin-top:20px;gap:8px}.journey-step{flex-direction:column;align-items:center;text-align:center;gap:9px;padding:0;min-height:80px}.journey-step:not(:last-child)::after{width:calc(100% - 35px);height:1px;left:calc(50% + 22px);top:17px;bottom:auto}.journey-step strong{font-size:9px;line-height:1.4;margin:0}.journey-circle{width:32px;height:32px;font-size:13px}.journey-circle .ph{font-size:17px}.wizard-mode .studio-nav{margin:10px 0 0}.wizard-mode .studio-nav .nav-item:not(#nav-documents){display:none}main{margin-left:0}.topbar{height:54px;min-height:54px;padding:0 19px;font-size:11px}.topbar>span{display:block}.topbar #draft-save-status{display:none!important}.topbar .connection-pill{display:none}.studio-columns{display:block;min-height:0;padding:25px 20px 35px}.studio-title h1{font-size:32px;letter-spacing:-1.4px}.studio-title{gap:13px;align-items:flex-start;flex-direction:column}.step-intro{margin:18px 0 24px;font-size:14px}.source-strip{padding:17px 15px;gap:12px;min-height:80px}.source-strip strong{font-size:13px}.source-strip small{font-size:10px}.source-strip .text-btn{font-size:11px}.source-strip .excel-icon{font-size:28px}.recipient-line{padding:24px 0;margin-top:22px}.recipient-line strong{font-size:25px}.field-overline{font-size:9px;letter-spacing:1px;line-height:1.7}.where-title{font-size:22px}.warehouse-choice{padding:18px 17px;gap:16px;min-height:91px}.warehouse-choice>.ph:first-child{font-size:31px}.warehouse-choice strong{font-size:19px}.warehouse-choice span{font-size:11px}.warehouse-choice .selection-icon{font-size:22px}.mod-choice{font-size:12px;padding:12px 16px}.wizard-footer{display:grid;grid-template-columns:auto 1fr;gap:15px;margin-top:29px}.wizard-footer #step-counter{justify-self:end}.wizard-footer .primary{grid-column:1/-1;width:100%;margin:0;min-height:52px;font-size:13px;justify-content:space-between}.excel-drop{padding:32px 17px}.excel-drop strong{font-size:21px}.excel-drop>span:not(.file-choice){font-size:12px;line-height:1.6}.column-mapping{grid-template-columns:1fr}.mapping-top{gap:12px}.mapping-top label{font-size:11px}.mapping-top input,.mapping-top select{padding:12px 9px}.document-fields{grid-template-columns:1fr}.document-fields label{margin-top:0}.view{padding:28px 20px}.view .page-heading h1{font-size:30px;letter-spacing:-1.2px}.view .page-heading{gap:18px}.start-options{grid-template-columns:1fr;margin:20px 0 32px}.start-option{padding:23px}.start-option>.ph{margin-bottom:17px}.start-option h2{font-size:24px}.start-option p{font-size:13px}.start-option>span{margin-top:17px}.draft-row{gap:12px;padding:19px 14px;flex-wrap:wrap}.draft-row>.ph:first-child{font-size:25px}.draft-row>span:first-of-type{flex:1;min-width:180px}.draft-row .badge{margin-left:38px}.draft-row small{font-size:10px}.draft-row>.ph:last-child{margin-left:auto}.profile-group{padding:21px}.profile-row{align-items:flex-start;flex-direction:column;gap:10px}#step-four h2{font-size:27px}.studio-task .table-wrap table{display:table;min-width:520px}.studio-task .table-wrap thead{display:table-header-group;position:static;clip-path:none;width:auto;height:auto}.studio-task .table-wrap tbody{display:table-row-group}.studio-task .table-wrap tr{display:table-row}.studio-task .table-wrap td{display:table-cell;min-width:0;width:auto;max-width:240px}.studio-task .table-wrap td::before{display:none}.studio-task .table-wrap td:first-child{min-width:180px}.studio-task .table-wrap td:last-child{text-align:left;padding:14px}.auth-screen .brand{font-size:24px}}
@media(min-width:1201px){.sidebar{width:248px}main{margin-left:248px}.studio-columns{grid-template-columns:minmax(0,1fr) 352px;gap:36px;padding-left:40px;padding-right:35px}.document-summary{padding-left:36px}.studio-title h1{font-size:42px}.paper-preview{min-height:390px}}
.step-label-short{display:none}
@media(min-width:1201px){.studio-columns{grid-template-columns:minmax(0,1fr) 366px}.studio-title h1{font-size:46px;letter-spacing:-1.8px}.studio-title{gap:19px}.mode-pill{font-size:13px;padding:10px 15px}.journey-step strong{font-size:15px}.sidebar .nav-item{font-size:14px}.topbar{font-size:14px}.recipient-line strong{font-size:31px}.warehouse-choice strong{font-size:21px}.document-summary h2{font-size:22px}.document-summary dl>div{font-size:14px}.wizard-footer .primary{font-size:14px}.step-intro{font-size:18px}}
@media(max-width:700px){.step-label-full{display:none}.step-label-short{display:inline}.journey-step strong{font-size:11px}.journey-step{min-height:62px}.mod-section .fine{font-size:13px}}

/* Receiving workspace */
.receiving-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:start}.receiving-layout .panel{min-width:0}.warehouse-facts{padding:20px 0}.warehouse-facts p{line-height:1.65}.warehouse-facts dl{display:grid;gap:14px}.warehouse-facts dt{font-size:12px;color:#68756f}.warehouse-facts dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:13px}.warehouse-facts small,.warehouse-facts a{display:block;font-size:12px;margin-top:14px;line-height:1.6}.warehouse-fieldset label:has(input:checked){border-color:#406e60;background:#edf4ef}.verification-panel{margin-bottom:24px}.verification-panel details{margin:20px 0}.verification-panel summary,.secondary-workflow summary{cursor:pointer;font-weight:650}.verification-panel .selected{background:#e5f1e9;border-color:#406e60}.secondary-workflow{margin-top:36px;border-top:1px solid #dce3dd;padding-top:24px}.check-label{display:flex;align-items:center;gap:10px;margin:20px 0}.check-label input{width:18px;height:18px;flex-shrink:0}.table-wrap code{overflow-wrap:anywhere}.check-one{font-size:12px;white-space:nowrap}@media(max-width:1000px){.receiving-layout{grid-template-columns:1fr}.verification-panel .button-row{flex-wrap:wrap}}

@media(max-width:600px){#lamoda-row-preview td:nth-child(2)::before{content:'DATA MATRIX'}#lamoda-row-preview td:nth-child(3)::before{content:'СТОИМОСТЬ'}#lamoda-row-preview td:last-child{text-align:left}#code-table td:nth-child(6)::before{content:'СОПОСТАВЛЕНИЕ XML';display:block;font-size:9px;color:var(--muted);margin-bottom:7px}}

.company-info{display:flex;flex-direction:column;gap:7px;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.company-info span{display:block}.company-info span:last-child{color:#486952}.sender-picker{padding:20px 0;margin-bottom:20px;border-bottom:1px solid var(--line)}.sender-picker select{max-width:100%}.company-card{margin-bottom:18px}.company-card .button-row{margin-top:20px}.tool-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.tool-shortcuts a{text-decoration:none}.start-option[href]{display:block;text-decoration:none;color:inherit}.trash-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.flags-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:15px;margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:10px}.xml-facts dd{margin:8px 0 20px;overflow-wrap:anywhere;font-size:13px}.xml-change{display:flex;flex-direction:column;gap:8px;padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:13px}#ozon-diagnosis li,#ozon-preview li{font-size:13px;line-height:1.7;overflow-wrap:anywhere}#ozon-inspection .panel{margin-bottom:24px}#ozon-fbs-view textarea{font-family:Consolas,monospace;font-size:14px;overflow-wrap:anywhere}#fbs-video{width:100%;max-height:400px;border-radius:12px}#fbs-camera-area{margin:20px 0}#receipt-admin-tools{margin-left:auto}#ozon-fbs-view .panel{max-width:980px}.studio-nav{margin-top:24px}@media(max-width:700px){.flags-fields{grid-template-columns:1fr}.tool-shortcuts{flex-direction:column}.tool-shortcuts a{display:block}.verification-panel .button-row button{white-space:normal}.company-info{font-size:13px}.studio-nav{gap:4px}.nav-item{min-height:38px}#receipt-admin-tools{margin-left:0}.xml-change{font-size:12px}}

/* 3.3.3 wizard usability */
.mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:0 0 24px}.mode-choices legend{grid-column:1/-1;font-size:16px;font-weight:800;margin:0 0 4px}.mode-card{position:relative;display:flex;align-items:center;gap:13px;min-height:94px;padding:16px;border:1px solid #dce3e5;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.mode-card:hover{border-color:#a6bf69}.mode-card:has(input:checked){border-color:#91b93c;background:#f7fbed;box-shadow:0 0 0 2px #d5f77a55}.mode-card input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.mode-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#f0f4e8;color:#637e26}.mode-icon .ph{font-size:23px}.mode-copy strong,.mode-copy small{display:block}.mode-copy strong{font-size:13px}.mode-copy small{font-size:11px;color:#71808c;margin-top:4px}.mode-check{margin-left:auto;flex:0 0 19px;height:19px;border:1px solid #bec9cc;border-radius:50%}.mode-card:has(input:checked) .mode-check{border:6px solid #92b63f}.excel-settings{margin:14px 0 8px;border:1px solid #e1e6e7;border-radius:11px;background:#fff;padding:13px 16px}.excel-settings summary,.goods-details summary{cursor:pointer;font-size:13px;font-weight:750;color:#536171}.excel-settings[open] summary{margin-bottom:14px}.excel-settings h2{font-size:15px}.sender-extra{margin:18px 0;padding:19px 20px;border:1px solid #e1e6e7;border-radius:14px;background:#fff}.signer-mode{border:0;padding:0;margin:0;display:flex;gap:10px;flex-wrap:wrap}.signer-mode legend{font-size:15px;font-weight:800;margin-bottom:12px}.signer-mode label{display:flex;align-items:center;gap:8px;border:1px solid #e0e5e6;border-radius:10px;padding:10px 13px;font-size:12px;cursor:pointer}.signer-mode label:has(input:checked){border-color:#91b93c;background:#f6faed}.sender-extra .document-fields{margin-top:16px}.sender-extra .document-fields p{grid-column:1/-1}.upd-meta-fields{margin:25px 0}.review-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 16px;padding:15px 17px;border:1px solid #dfe8d1;border-radius:13px;background:#f6faef}.review-actions .secondary{background:#fff;border-color:#d4dfc4;font-weight:750}.review-actions span{font-size:12px;color:#6b7a6c}.goods-details{margin:15px 0 20px;border:1px solid #e0e5e6;border-radius:13px;background:#fff;padding:15px 18px}.goods-details[open] summary{margin-bottom:14px}.goods-details .table-wrap{overflow:auto;max-width:100%}.goods-details table{min-width:930px;width:100%}.goods-details td code{min-width:180px}.goods-details td small{display:block}.document-summary{max-width:240px;min-width:0;padding:20px 17px}.document-summary h2{font-size:16px}.document-summary .paper-preview{padding:13px;margin:12px 0}.document-summary .paper-preview table{min-width:0}.document-summary .paper-preview td:first-child{min-width:0}.document-summary #summary-fields{font-size:11px}.document-summary #summary-fields>div{padding:7px 0}.wizard-error{scroll-margin-top:30px}.studio-task{min-width:0}.studio-columns{grid-template-columns:minmax(0,1fr) 240px;gap:20px;padding-inline:26px}.step-intro{scroll-margin-top:90px}
@media(max-width:1000px){.studio-columns{grid-template-columns:minmax(0,1fr) 210px;gap:14px;padding-inline:18px}.document-summary{padding:15px 12px}}
@media(max-width:760px){.mode-choices{grid-template-columns:1fr}.studio-columns{display:block;padding:20px 16px}.document-summary{display:none}.sender-extra{padding:16px}.signer-mode{display:grid;grid-template-columns:1fr}.review-actions{align-items:flex-start;flex-direction:column}.goods-details{padding:13px}.upd-meta-fields{margin:18px 0}}

/* 3.3.4 code results */
.goods-table-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;font-size:12px;color:#63717b}.goods-table-tools label{display:flex;align-items:center;gap:8px;margin:0}.goods-table-tools input{width:16px;height:16px}.goods-details .table-wrap{max-height:65vh;overflow:auto}.goods-details thead th{position:sticky;top:0;background:#f5f7f1;z-index:1}.goods-details td:last-child{min-width:230px}.goods-row-issue{background:#fffaf0}.goods-details .badge{white-space:normal;line-height:1.4}.goods-details .pagination{position:sticky;left:0;background:white;padding-top:12px}@media(max-width:600px){.goods-table-tools{align-items:flex-start;flex-direction:column}}

/* 3.4.0: check supply before document details */
.file-first-note{margin:0 0 20px;max-width:730px;line-height:1.7}.file-first-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:12px 0;color:#71808c;font-size:12px}.file-errors{padding:17px;border:1px solid #ead9ba;border-radius:13px;background:#fffaf1;margin:14px 0}.file-errors h2{font-size:16px}.file-errors table{min-width:0}.file-errors td:first-child{min-width:95px;width:95px}.preflight-file{display:flex;gap:13px;align-items:center;padding:17px 20px;background:#f4f8e9;border:1px solid #dae5c4;border-radius:14px;margin-bottom:22px}.preflight-file>.ph{font-size:29px;color:#709631}.preflight-file strong,.preflight-file span{display:block}.preflight-file strong{font-size:14px}.preflight-file span{font-size:12px;color:#6c7c68;margin-top:3px}.preflight-file .text-btn{margin-left:auto}.inline-cz{padding:22px;border:1px solid #dfe5dc;background:#fff;border-radius:16px;margin:19px 0}.inline-cz-heading{display:flex;align-items:center;gap:14px;margin-bottom:19px}.inline-cz-heading>.ph{font-size:32px;color:#709631}.inline-cz-heading h2{margin:0;font-size:20px}.inline-cz-heading p{margin:4px 0 0;font-size:13px}.inline-cz>label{max-width:470px}.inline-cz .notice.subtle{margin:10px 0 16px}.inline-cert-tools{display:flex;gap:12px;align-items:flex-end;margin:15px 0}.inline-cert-tools label{flex:1;margin:0}.inline-cert-tools button{margin-bottom:0;flex-shrink:0}.inline-cert-tools select{font-size:12px}.inline-cz details{margin:12px 0;padding:10px 0;border-top:1px solid #e5e9e0}.inline-cz details summary{cursor:pointer;color:#6a7772;font-size:12px}.inline-cz details p{font-size:12px;line-height:1.7}.cz-advanced label{max-width:420px;margin-top:12px}.inline-cz>.primary{margin-top:10px}.verification-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.verification-counts>div{padding:14px 16px;border:1px solid #e2e6df;background:white;border-radius:12px}.verification-counts strong{display:block;font-size:25px}.verification-counts span{display:block;margin-top:3px;font-size:11px;color:#758076}.wizard-mode[data-upd-step="1"] .studio-columns,.wizard-mode[data-upd-step="2"] .studio-columns{grid-template-columns:minmax(0,1fr);max-width:1100px}.wizard-mode[data-upd-step="1"] .document-summary,.wizard-mode[data-upd-step="2"] .document-summary{display:none}.wizard-mode[data-upd-step="2"] .goods-details table{min-width:900px}.wizard-mode[data-upd-step="2"] .step-intro{margin-bottom:22px}#upd-connection-status{overflow-wrap:anywhere}@media(max-width:760px){.inline-cert-tools{align-items:stretch;flex-direction:column}.inline-cz{padding:17px}.verification-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.preflight-file{padding:14px;flex-wrap:wrap}.preflight-file .text-btn{margin-left:42px}.file-first-actions{align-items:flex-start;flex-direction:column}.file-errors .section-head{align-items:flex-start;flex-direction:column}}

/* Compact completed verification */
.wizard-mode .notice.warning{background:#fff7e6;border-color:#e8d2a3;color:#81602e}.inline-auth-summary{display:flex;align-items:center;justify-content:space-between;gap:16px}.inline-auth-summary strong,.inline-auth-summary span{display:block}.inline-auth-summary strong{font-size:13px}.inline-auth-summary span{font-size:13px;color:#70806b;margin-top:5px}.inline-cz:has(#upd-auth-summary:not([hidden])){padding:17px 20px}.inline-cz:has(#upd-auth-summary:not([hidden]))>.primary{margin-top:15px}.wizard-mode .file-errors .section-head{margin-bottom:12px}
.wizard-mode[data-upd-step="2"] .goods-details td:first-child{min-width:160px;width:190px}.goods-details td:nth-child(2){min-width:160px}.goods-details td:nth-child(3){min-width:220px}.goods-details td:last-child{min-width:80px;width:80px}.goods-details td:nth-child(4){min-width:190px}
/* 3.5.0: compact scanner workspace */
.quick-connection{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dfe5e1;border-radius:18px;padding:16px 20px;margin:0 0 22px;background:#fff}.quick-connection>div{display:flex;align-items:center;gap:10px;min-width:0}.quick-connection strong{overflow-wrap:anywhere;font-size:14px}.quick-connection i{font-size:23px;color:#387867}
#quick-check-view .quick-check-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;align-items:start}#quick-check-view .panel{min-width:0;padding:24px}.quick-scanner{position:sticky;top:24px}.quick-scanner input{font-family:ui-monospace,monospace;font-size:14px}.quick-scanner .button-row{flex-wrap:wrap}.quick-bulk{margin-top:24px}.quick-bulk summary{font-size:14px;color:#4f665e;cursor:pointer}.quick-bulk label{margin-top:14px}.quick-results-heading,.quick-card-status,.quick-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.quick-results-heading h2{margin:0}.quick-results-heading{margin-bottom:20px}.quick-cards{display:grid;gap:16px}.quick-code-card{border:1px solid #e0e7e2;border-radius:16px;padding:20px;background:#fcfdfb;min-width:0}.quick-code-card>code{display:block;overflow-wrap:anywhere;white-space:normal;color:#47594f;font-size:12px;margin-bottom:16px}.quick-card-status{justify-content:flex-start;flex-wrap:wrap}.quick-card-status strong{font-size:14px}.quick-owner{font-size:14px;line-height:1.6}.quick-product{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:18px 0}.quick-product div{min-width:0}.quick-product dt{font-size:11px;color:#819087;margin-bottom:4px}.quick-product dd{margin:0;font-size:13px;overflow-wrap:anywhere}.quick-product div:has(dt:first-child){min-width:0}.quick-action{display:grid;gap:7px;background:#f0f4ef;border-radius:12px;padding:14px;font-size:12px;margin:12px 0}.quick-action small,.quick-normalized small{overflow-wrap:anywhere}.quick-card-footer{border-top:1px solid #e0e7e2;margin-top:18px;padding-top:12px;flex-wrap:wrap}.quick-card-footer small{color:#819087;font-size:11px}.quick-normalized{font-size:11px;color:#6b7c70;margin-bottom:14px}.quick-normalized summary{cursor:pointer}.quick-auth-dialog{width:min(440px,calc(100vw - 32px));max-height:90dvh;padding:26px;border-radius:20px}.quick-auth-dialog select{max-width:100%;text-overflow:ellipsis}.quick-auth-dialog>.primary{width:100%;margin-top:20px}.quick-scanner video{width:100%;margin-top:16px;border-radius:12px}
@media(max-width:900px){#quick-check-view .quick-check-layout{grid-template-columns:1fr}.quick-scanner{position:static}.quick-connection{padding:14px;flex-wrap:wrap}.quick-connection>div{flex:1}.quick-product{grid-template-columns:1fr 1fr}#quick-check-view .panel{padding:18px}.quick-code-card{padding:16px}}@media(max-width:420px){.quick-product{grid-template-columns:1fr}.quick-connection .secondary{font-size:12px;padding:10px 12px}}
/* 3.6.0: account management */
.access-hidden{display:none!important}.account-tools{border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}.account-tools legend{padding:0 6px;font-size:13px;font-weight:700}.account-tools .check-label{display:flex;align-items:flex-start;gap:10px;margin:10px 0;font-size:13px}.account-tools input{width:18px;height:18px;flex:0 0 18px;margin:0}.account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 0}.account-row>div{min-width:0}.account-row strong,.account-row small{display:block;overflow-wrap:anywhere}.account-row small{font-size:12px;color:var(--muted);line-height:1.6;margin-top:5px}#account-dialog{width:min(520px,calc(100vw - 32px));max-height:90dvh;padding:24px;border-radius:20px}#account-edit-form>.primary{width:100%}
/* 3.8.0: a clear route from the supply file to the unsigned XML. */
.wizard-mode .topbar,.wizard-mode .mode-pill{display:none}
.wizard-mode .studio-nav{margin-top:40px}
.wizard-mode .studio-nav #nav-upd,.wizard-mode .studio-nav .nav-item:not(#nav-documents){display:flex}
.wizard-mode #journey{padding:42px 40px 0;max-width:1320px;margin:0 auto}
.wizard-mode #journey-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
.wizard-mode .journey-step{align-items:center;flex-direction:row;gap:13px;text-align:left;color:#647285;min-height:48px;padding:0;border-radius:8px}
.wizard-mode .journey-circle{width:44px;height:44px;background:#e9edef;color:#667689;border:0;font-size:17px}
.wizard-mode .journey-step strong{font-size:14px;line-height:1.5;margin:0;font-weight:600;white-space:nowrap}
.wizard-mode .journey-step.current{color:var(--ink)}
.wizard-mode .journey-step.current strong{font-weight:800}
.wizard-mode .journey-step.current .journey-circle{background:var(--lime);color:var(--ink)}
.wizard-mode .journey-step.complete .journey-circle{background:#79aa36;color:white}
.wizard-mode .journey-step.complete{color:#536171}
.wizard-mode .journey-step:not(:last-child)::after{display:block;position:static;flex:1;min-width:12px;height:2px;background:#d3dce1}
.wizard-mode .journey-step.complete::after{background:#82b43c}
.wizard-mode .journey-step:focus-visible{outline:3px solid #8cb935;outline-offset:5px}
.wizard-mode .studio-columns,.wizard-mode[data-upd-step="1"] .studio-columns,.wizard-mode[data-upd-step="2"] .studio-columns{max-width:1320px;padding:42px 40px 30px;min-height:0}
.wizard-mode .studio-title{margin:0 0 12px}
.wizard-mode .studio-title h1{font-size:46px;line-height:1.18;letter-spacing:-1.8px}
.wizard-mode .step-intro{font-size:18px;line-height:1.6;margin:0 0 28px}
.wizard-mode .preflight-file{min-height:84px;padding:18px 22px;gap:20px;margin:0 0 28px;background:#f4f8ea;border-color:#d5e3bb;border-radius:13px}
.wizard-mode .preflight-file>.ph{font-size:38px;color:#75a632}
.wizard-mode .preflight-file>div{min-width:0}
.wizard-mode .preflight-file strong{font-size:17px;overflow-wrap:anywhere}
.wizard-mode .preflight-file span{font-size:14px;color:#7a8996}
.wizard-mode .preflight-file .text-btn{white-space:nowrap;font-size:14px}
.wizard-mode #code-check-mode{display:block;margin:0;padding:0;border:0}
.wizard-mode #code-check-mode legend{font-size:18px;font-weight:800;margin-bottom:14px;padding:0}
.wizard-mode #code-check-mode .mode-card{min-height:86px;width:100%;padding:17px 22px;margin:0;gap:18px;border:1px solid #9ac64c;background:#f8fbf0;border-radius:13px;box-shadow:none}
.wizard-mode #code-check-mode .mode-icon{width:auto;height:auto;background:none;color:#82b52a;font-size:27px}
.wizard-mode #code-check-mode .mode-icon .ph{font-size:28px}
.wizard-mode #code-check-mode .mode-check{display:none}
.wizard-mode #code-check-mode .mode-copy strong{font-size:17px}
.wizard-mode #code-check-mode .mode-copy small{font-size:14px;line-height:1.5;margin-top:3px}
.wizard-mode #code-check-mode.skipped .mode-card{border-color:#dce2e5;background:white}
.wizard-mode #code-check-mode.skipped .mode-icon{color:#94a0ab}
.wizard-mode .inline-cz{padding:0;border:0;border-radius:0;background:none;margin:26px 0 0}
.wizard-mode .inline-cz:has(#upd-auth-summary:not([hidden])){padding:0}
.wizard-mode #upd-auth-fields>label{font-size:15px;margin:0 0 24px}
.wizard-mode #upd-auth-fields input,.wizard-mode #upd-auth-fields select{font-size:16px;min-height:52px;padding:14px 16px;border-radius:11px;background:white}
.wizard-mode .inline-cert-tools{display:block;margin:0 0 12px}
.wizard-mode .signature-label{font-size:15px;display:block;margin-bottom:10px;font-weight:600}
.wizard-mode #upd-load-certs{width:100%;display:flex;align-items:center;gap:15px;justify-content:flex-start;min-height:56px;padding:14px 20px;background:white;color:#718093;border:1px solid #ced7dd;font-size:16px;text-align:left}
.wizard-mode #upd-load-certs .ph{font-size:23px}
.wizard-mode #upd-load-certs .ph:last-child{margin-left:auto}
.wizard-mode #upd-certificate-field{margin:15px 0 0;font-size:14px}
.wizard-mode .inline-cz details{margin:4px 0;border:0;padding:2px 0}
.wizard-mode .inline-cz details summary{font-size:12px}
.wizard-mode #draft-check-codes.primary{display:flex;width:100%;justify-content:center;min-height:62px;font-size:17px;margin-top:22px;border-radius:11px}
.wizard-mode #draft-check-codes.secondary{margin-top:18px;min-height:44px;font-size:13px}
.wizard-mode .check-next-hint{font-size:13px;margin:8px 0 0;color:#7a8996;line-height:1.6}
.wizard-mode .skip-check{border-block:1px solid #e1e5e7;margin:18px 0 0;padding:17px 4px}
.wizard-mode .skip-check summary{cursor:pointer;font-size:16px;font-weight:700;color:#344253;line-height:1.6}
.wizard-mode .skip-check summary small{display:block;margin:2px 0 0 19px;color:#7a8996;font-size:13px;font-weight:400;line-height:1.5}
.wizard-mode .skip-check .notice{margin:16px 0 8px}
.wizard-mode .skip-check button{margin-top:12px}
.wizard-mode #verification-verdict{margin-top:24px;font-size:14px}
.wizard-mode .verification-counts{gap:0;border-bottom:1px solid var(--line);padding-bottom:18px}
.wizard-mode .verification-counts>div{border:0;border-radius:0;background:none;padding:12px 16px 0 0}
.wizard-mode .verification-counts span{font-size:12px}
.wizard-mode .wizard-footer{border-top:1px solid var(--line);padding-top:18px;margin-top:28px}
.wizard-mode[data-upd-step="2"] .wizard-footer{border-top:0;margin-top:8px}
.wizard-mode .wizard-footer .text-btn{font-size:14px}
.wizard-mode .wizard-footer #step-counter{font-size:12px}
.wizard-mode .wizard-footer .primary{font-size:15px}
.wizard-mode button:disabled{cursor:default}
.wizard-mode .primary:disabled{opacity:.45}
.wizard-mode .goods-details{margin-top:20px}
@media(min-width:701px) and (max-width:1199px){.wizard-mode .sidebar{width:220px}.wizard-mode main{margin-left:220px}.wizard-mode #journey{padding:30px 28px 0}.wizard-mode #journey-steps{gap:8px}.wizard-mode .journey-step{gap:8px}.wizard-mode .journey-circle{width:32px;height:32px;font-size:14px}.wizard-mode .journey-step strong{font-size:12px;white-space:normal}.wizard-mode .studio-columns,.wizard-mode[data-upd-step="1"] .studio-columns,.wizard-mode[data-upd-step="2"] .studio-columns{padding:32px 28px}.wizard-mode .studio-title h1{font-size:36px}}
@media(max-width:700px){.wizard-mode main{margin-left:0}.wizard-mode .sidebar{padding:16px 18px}.wizard-mode .studio-nav{margin:16px 0 0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.wizard-mode .studio-nav .nav-item{white-space:nowrap;flex-shrink:0}.wizard-mode #journey{padding:22px 18px 0}.wizard-mode #journey-steps{gap:8px}.wizard-mode .journey-step{flex-direction:column;gap:8px;text-align:center;min-height:64px}.wizard-mode .journey-circle{width:32px;height:32px;font-size:14px}.wizard-mode .journey-step strong{font-size:11px;white-space:normal}.wizard-mode .studio-columns,.wizard-mode[data-upd-step="1"] .studio-columns,.wizard-mode[data-upd-step="2"] .studio-columns{padding:25px 18px}.wizard-mode .studio-title h1{font-size:30px;letter-spacing:-1.1px}.wizard-mode .step-intro{font-size:14px;margin-bottom:22px}.wizard-mode .preflight-file{padding:15px;gap:12px;margin-bottom:24px}.wizard-mode .preflight-file strong{font-size:14px}.wizard-mode .preflight-file span{font-size:12px}.wizard-mode .preflight-file .text-btn{margin-left:48px;font-size:12px}.wizard-mode #code-check-mode legend{font-size:16px}.wizard-mode #code-check-mode .mode-card{padding:14px;gap:12px;min-height:86px}.wizard-mode #code-check-mode .mode-copy strong{font-size:15px}.wizard-mode #code-check-mode .mode-copy small{font-size:12px}.wizard-mode #draft-check-codes.primary{min-height:58px;font-size:14px;padding:14px}.wizard-mode .skip-check summary{font-size:14px}.wizard-mode .skip-check summary small{font-size:12px}.wizard-mode .wizard-footer{gap:15px}.wizard-mode .wizard-footer .primary{font-size:14px}.wizard-mode .verification-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:850px){.wizard-mode .sidebar{position:fixed;left:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap}.wizard-mode .sidebar .nav-item{width:100%;margin:0 0 4px;flex:initial}.wizard-mode .sidebar-bottom{display:block}}
@media(max-width:700px){.wizard-mode .journey-step:not(:last-child)::after{display:none}}
/* 3.7.0: scoped history cleanup */
.cleanup-dialog{width:min(600px,calc(100vw - 32px));max-height:90dvh;padding:26px;border-radius:20px}.cleanup-dialog p,.cleanup-dialog li{font-size:13px;line-height:1.65}.cleanup-dialog .check-label{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:14px 0}.cleanup-dialog .check-label input{flex:0 0 18px;width:18px;height:18px;margin:0}.cleanup-dialog>.primary{width:100%;margin-top:16px}.cleanup-dialog .notice ul{padding-left:20px}.company-card .button-row{flex-wrap:wrap}
