
*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#17212f;font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}main{max-width:1120px;margin:32px auto;padding:0 24px}.preview{font-size:12px;text-align:center;padding:10px;background:#e9edf4;color:#57647b}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}.brand{font-size:23px;font-weight:750;letter-spacing:-.7px}.brand b{color:var(--accent)}.top small{margin-left:18px;color:#697589}.tools{display:flex;gap:12px;align-items:center}.secondary{border:1px solid #dce1e9;background:white;color:#26344b;border-radius:9px;padding:10px 15px}h1{font-size:29px;letter-spacing:-.7px;margin:0 0 9px}.subtitle{color:#667388;margin:0 0 28px;line-height:1.6}.steps{display:flex;gap:28px;margin:26px 0;font-size:14px;color:#657387}.steps span:first-child{color:#21845f}.card{background:white;border:1px solid #e1e6ee;border-radius:14px;padding:25px;margin:18px 0}h2{font-size:18px;margin:0 0 20px}.fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}label{display:block;color:#6d7789;font-size:13px}input,select{width:100%;display:block;margin-top:8px;border:1px solid #d7dfea;background:#fff;border-radius:8px;padding:11px;color:#26344b}.primary{background:var(--accent);border:0;border-radius:9px;color:white;padding:12px 19px;font-weight:600}.note{font-size:13px;color:#68758b;line-height:1.6}.tabs{display:flex;gap:26px;border-bottom:1px solid #e4e8ef;margin:0 0 22px}.tab{border:0;background:none;color:#697589;padding:0 0 15px}.tab.active{color:var(--accent);border-bottom:2px solid var(--accent);font-weight:650}.count{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.pill{padding:6px 10px;background:#eff8f3;color:#23835a;border-radius:20px;font-size:12px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:#7a8495;font-size:12px;font-weight:500}td,th{padding:16px 8px;border-bottom:1px solid #edf0f5}td.code{font-family:monospace}input[type=checkbox]{width:16px;display:inline;margin:0}.bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.empty{color:#7a8495;padding:34px 0;text-align:center}.switch{position:relative}.menu{position:absolute;top:45px;left:0;z-index:2;border:1px solid #dce1e9;background:white;border-radius:9px;padding:6px;min-width:170px;box-shadow:0 10px 30px #15234220}.menu a{display:block;padding:12px}.menu a:hover{background:#f0f4fa}.credentials{padding-top:22px;border-top:1px solid #edf0f5;margin-top:22px}.credentials .fields{grid-template-columns:1fr 2fr}.status{color:#23835a;font-size:13px}details summary{cursor:pointer;list-style:none}.foot{color:#8791a1;font-size:12px;margin-top:24px}@media(max-width:650px){main{margin:22px auto;padding:0 16px}.top{align-items:flex-start;margin-bottom:26px}.tools{gap:8px;font-size:12px}.top small{display:none}.brand{font-size:20px}.fields,.credentials .fields{grid-template-columns:1fr}.card{padding:18px}.steps{gap:14px;font-size:12px}.table{overflow:auto}.bottom{gap:15px;align-items:flex-start;flex-direction:column}.tabs{gap:20px}.subtitle{font-size:14px}h1{font-size:25px}}
:root{--accent:#8038bc}body[data-marketplace=ozon]{--accent:#075cf7}section{background:white;border:1px solid #e1e6ee;border-radius:14px;padding:25px;margin:18px 0}header{padding:0}header>h1{margin-top:0}header>p{color:#667388;line-height:1.6;margin:0 0 28px}.cabinet-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;gap:14px}.cabinet-brand{font-size:23px;font-weight:750;letter-spacing:-.7px;color:#17212f}.cabinet-brand b{color:var(--accent)}.cabinet-brand small{margin-left:14px;color:#697589;font-size:12px;font-weight:400;letter-spacing:0}.cabinet-tools{display:flex;align-items:center;gap:12px}.cabinet-tools button{margin:0}.market-switch{position:relative;margin:0}.market-switch summary{padding:10px 15px;border:1px solid #dce1e9;background:white;color:#26344b;border-radius:9px;font-size:14px;list-style:none}.market-switch summary:after{content:'⌄';margin-left:8px}.market-switch nav{position:absolute;right:0;top:44px;min-width:190px;padding:6px;background:white;border:1px solid #dce1e9;border-radius:9px;box-shadow:0 10px 30px #15234220;z-index:5}.market-switch nav a{display:block;padding:12px}.market-switch nav a:hover{background:#f0f4fa}button{font:inherit;font-size:14px;background:var(--accent);color:white;border:0;border-radius:9px;padding:12px 19px;font-weight:600;cursor:pointer;margin:5px 7px 5px 0}button.secondary{border:1px solid #dce1e9;background:white;color:#26344b;font-weight:500}button:disabled{opacity:.5;cursor:wait}#badge{display:none!important}.steps{margin:26px 0}.steps span:first-child{color:#657387}.steps.connected span:first-child{color:#21845f}#message:not(:empty){font-size:13px;line-height:1.5;color:#667388;margin:8px 0 18px;padding:0}#message.error{background:#fff0ed;color:#8a2718;padding:12px;border-radius:8px}#orgPanel{margin:0}#orgPanel>summary{display:flex;justify-content:space-between;gap:20px;list-style:none}#orgSummary{color:#26344b;font-size:16px}.org-subtitle{margin:9px 0 0;color:#697589;font-size:13px}#orgState{color:#23835a;font-size:13px;white-space:nowrap}#orgState:after{content:'⌄';margin-left:7px}.org-content{padding-top:20px}.org-content>.heading{display:flex;justify-content:flex-end}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.heading button{margin:0}#wbLabel{display:block;margin:18px 0 10px;max-width:720px}#profileStatus{font-weight:600;font-size:13px;color:#243d7c}#ozonCredentials{border-top:1px solid #edf0f5;margin-top:18px;padding-top:18px}#accessDetails{margin:0}#accessDetails>summary{font-weight:600;list-style:none;color:#26344b}#accessDetails>summary:after{content:'⌄';float:right}#accessDetails[open]>summary{margin-bottom:18px}#access h2{font-size:16px}.operations-tabs{display:flex;gap:26px;border-bottom:1px solid #e4e8ef;margin:0 0 22px}.operations-tabs button{background:transparent;color:#697589;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 0 15px;margin:0;font-weight:500}.operations-tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:650}.period-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-bottom:22px}.period-action{align-self:end}.period-action button{margin:0;min-height:43px}.count-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.count-heading strong{font-size:15px}.operation-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:22px}.operation-bottom button{margin:0}.table-wrap{overflow-x:auto}.code{font-family:monospace}.check{display:flex;gap:10px;align-items:flex-start;margin:15px 0}.check input{width:18px;height:18px;flex-shrink:0;margin:0}td input{width:16px!important;margin:0!important}pre{font:13px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere}.muted,.note{font-size:13px;color:#68758b;line-height:1.6}details{margin:18px 0}summary{cursor:pointer}#advancedOptions,#documentOptions,.source-info,#reviewPanel{font-size:13px;color:#68758b}#advancedOptions>summary,#reviewPanel>summary{padding:8px 0}#advancedOptions p{line-height:1.6}#exeAudit{margin:15px 0}#exeAudit>summary{font-weight:600;color:#26344b}#exeAudit h2{font-size:16px}#reviewPanel{border-top:1px solid #edf0f5;padding-top:12px}#lastResultsNote{font-size:12px;color:#7a8495;margin-top:16px}#journalSection .heading{margin-bottom:12px}.entry{border-top:1px solid #dde3ec;padding:18px 0;overflow-wrap:anywhere}.entry p{margin:5px 0}textarea{display:block;width:100%;padding:12px;border:1px solid #d7dfea;border-radius:8px;font:inherit;resize:vertical;margin-top:6px}.help-trap{position:absolute;left:-10000px}#helpMessages p{white-space:pre-wrap;overflow-wrap:anywhere}#helpStatus,#helpPrivateLink{overflow-wrap:anywhere}.text-button{background:transparent;color:#284eb0;padding:0;font-size:14px;text-decoration:underline}.ozon-note{background:#edf4ff;padding:12px;border-radius:9px;font-size:13px;line-height:1.6}footer{color:#8791a1;font-size:12px;margin-top:24px}[hidden]{display:none!important}body[data-marketplace=ozon] .org-content>.muted,body[data-marketplace=ozon] #loadExePreview,body[data-marketplace=ozon] #exeAudit,body[data-marketplace=ozon] #wbLabel{display:none!important}@media(max-width:650px){main{padding:0 16px;margin:22px auto}.cabinet-top{align-items:flex-start;margin-bottom:26px}.cabinet-brand{font-size:20px}.cabinet-brand small{display:none}.cabinet-tools{gap:7px}.market-switch summary,.help-open{font-size:12px;padding:8px 10px}section{padding:18px}.period-grid,.fields{grid-template-columns:1fr}.period-action button{width:100%}.operations-tabs{gap:20px}.operations-tabs button{font-size:13px}#orgPanel>summary{flex-direction:column;gap:10px}.operation-bottom{flex-direction:column;align-items:flex-start}.operation-bottom button{width:100%}.steps{gap:14px;font-size:12px}.cabinet-tools button{font-size:12px;padding:8px 10px}}
/* Match the agreed sample's typography and organization-card spacing. */
button,.operations-tabs button,.market-switch summary{font-size:15px}.org-subtitle{margin-top:13px;line-height:1.6}.cabinet-brand small{margin-left:14px}#orgPanel>summary{align-items:flex-start}@media(max-width:650px){.operations-tabs button{font-size:13px}.market-switch summary,.cabinet-tools button{font-size:12px}}

.action-message{display:block;flex-basis:100%;grid-column:1/-1;margin:8px 0 16px;padding:10px 12px;border-radius:8px;background:#eef5f0;color:#24563c;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.action-message.error{background:#fff0ed;color:#9b2920}

.action-feedback{min-width:0;max-width:100%}.action-feedback>.action-message{max-width:680px;text-align:left}.operation-bottom:has(.action-feedback){align-items:flex-start;flex-wrap:wrap}.operation-bottom>.action-feedback{flex:1}.period-action>.action-feedback{width:100%}

body[data-marketplace=ozon][data-demo=false] #operationsSection th:nth-child(3),body[data-marketplace=ozon][data-demo=false] #operationsSection td:nth-child(3){display:none}
#ozonExcludedRows{max-height:300px;overflow:auto;overflow-wrap:anywhere;font-size:13px}#ozonExcluded>summary{font-size:13px;color:#68758b}body[data-marketplace=ozon] #rows .code{overflow-wrap:anywhere}
@media(max-width:650px){body[data-marketplace=ozon][data-demo=false] #operationsSection table{table-layout:fixed}body[data-marketplace=ozon][data-demo=false] #operationsSection thead{display:none}body[data-marketplace=ozon][data-demo=false] #operationsSection tr{display:grid;grid-template-columns:24px minmax(0,1fr);padding:12px 0;border-bottom:1px solid #edf0f5}body[data-marketplace=ozon][data-demo=false] #operationsSection td{padding:5px 0;border:0}body[data-marketplace=ozon][data-demo=false] #operationsSection td:nth-child(4),body[data-marketplace=ozon][data-demo=false] #operationsSection td:nth-child(5){grid-column:2}body[data-marketplace=ozon][data-demo=false] #operationsSection td:nth-child(4)::before{content:'Цена: ';color:#68758b}}

body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection th:nth-child(3),body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection td:nth-child(3){display:table-cell}body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection th:nth-child(4),body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection td:nth-child(4){display:none}#ozonReturnFields{margin-top:20px;padding-top:12px;border-top:1px solid #edf0f5}@media(max-width:650px){body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection td:nth-child(3){display:block;grid-column:2}body[data-marketplace=ozon][data-demo=false][data-operation=return] #operationsSection td:nth-child(3)::before{content:'Получен: ';color:#68758b}}

#sourceWorkspace p{line-height:1.6}#sourceWorkspace input,#sourceWorkspace select{min-width:0}#sourceRows td{overflow-wrap:anywhere}#sourceWorkspace .heading{flex-wrap:wrap}#sourceStatus{overflow-wrap:anywhere}@media(max-width:650px){#sourceWorkspace table{table-layout:fixed}#sourceWorkspace thead{display:none}#sourceWorkspace tr{display:grid;grid-template-columns:24px minmax(0,1fr);padding:12px 0;border-bottom:1px solid #edf0f5}#sourceWorkspace td{border:0;padding:5px 0;min-width:0}#sourceWorkspace td:nth-child(3),#sourceWorkspace td:nth-child(4){grid-column:2}#sourceWorkspace .pill{white-space:normal}}

/* Source lists: pagination is reachable above and below long mobile tables. */
.source-pagination{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:16px 0;scroll-margin-top:20px}.source-pagination label{flex:1;min-width:130px}.source-pagination select{width:100%}.source-pagination button{min-width:88px}.source-pagination span{flex:1;text-align:center}#sourceWorkspace .action-feedback{min-width:0}#sourceWorkspace .action-message{overflow-wrap:anywhere}#sourceRows td:nth-child(2){overflow-wrap:anywhere;word-break:break-all}#sourceSummary{font-weight:600;line-height:1.6}

/* AFZ onboarding-20261111 */
.connection-guide,.onboarding-next{padding:18px;margin:16px 0;border:1px solid #c8c3e9;border-radius:12px;background:#f7f5ff;color:#242034;overflow-wrap:anywhere}
.connection-guide summary{font-weight:700;cursor:pointer;min-height:32px;line-height:1.5}
.connection-guide li{margin:12px 0;line-height:1.65}.connection-guide a{color:#43308d;text-decoration:underline}
.onboarding-next h2{font-size:21px;margin:0 0 10px}.onboarding-next p,.onboarding-requirements{line-height:1.6}
.onboarding-next[hidden]{display:none!important}.onboarding-next button{white-space:normal;min-height:44px}
@media(max-width:600px){.connection-guide,.onboarding-next{padding:14px}.onboarding-next button{width:100%}}
