/* Exact reference layout mapping: hero at left, two stacked dashboard zones at right. */
@keyframes accessory-reminder-pulse{0%,100%{background-color:#fff0b7;border-color:#e2bf45;box-shadow:0 0 0 0 rgba(224,181,43,0)}50%{background-color:#ffd75e;border-color:#b68a00;box-shadow:0 0 0 5px rgba(224,181,43,.25)}}
.accessory-reminder{animation:accessory-reminder-pulse 2.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.accessory-reminder{animation:none}}
.recommend-card .offer-metrics,.recommendation-grid>.recommend-card:not(:first-child) .offer-metrics{display:grid!important;grid-template-rows:repeat(3,48px)!important;height:144px!important;min-height:144px!important;margin-top:auto!important}.recommend-card .offer-metrics>div,.recommendation-grid>.recommend-card:not(:first-child) .offer-metrics>div{height:48px!important;min-height:48px!important}.recommend-card .accessory-reminder{flex:0 0 auto;min-height:68px;margin-top:12px}.recommend-card .recommend-actions,.recommendation-grid>.recommend-card:not(:first-child) .recommend-actions{margin-top:0!important}
.manager-topbar .product-combobox{background:#fff8dd!important;border:1px solid #dfc45d!important;box-shadow:0 3px 12px rgba(180,145,40,.09)}.manager-topbar .product-combobox:focus-within{border-color:#c39b16!important;box-shadow:0 0 0 3px rgba(255,215,94,.25)}#product-search::placeholder{color:#514624!important;opacity:1;font-weight:600}
.selling-points ul{margin:8px 0 0;padding-left:17px}.selling-points li{margin:0 0 6px;line-height:1.45}.accessory-reminder{display:block;margin:12px 10px 0;padding:13px 14px;border:1px solid #e2bf45;border-radius:14px;background:#fff0b7;color:#342b10;overflow-wrap:anywhere}.accessory-reminder b{display:block;font-size:13px;line-height:1.4}.accessory-reminder small{display:block;margin-top:5px;font-size:11px;line-height:1.4}
*,*::before,*::after{font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important}
#manager-view.active{display:grid;grid-template-columns:minmax(350px,.68fr) minmax(0,1.32fr);grid-template-areas:"top top" "head head" "source needs" "source offers" "compare compare" "more more";column-gap:12px;row-gap:12px;align-items:stretch}
#manager-view>.manager-topbar{grid-area:top}#manager-view>.page-head{grid-area:head;margin-bottom:23px}.manager-workspace{display:contents}.manager-workspace>.source-panel{grid-area:source}.manager-workspace>.needs-panel{grid-area:needs}.recommendations{grid-area:offers;margin-top:0}.visual-compare{grid-area:compare}.more-results{grid-area:more}
.manager-workspace .source-panel{min-height:690px}.source-card{height:100%;min-height:0;grid-template-rows:minmax(260px,1fr) auto auto auto auto auto;align-content:stretch}.source-card img{width:320px;height:250px;align-self:center;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:multiply;transform:none;-webkit-mask-image:none;mask-image:none;object-fit:contain;image-rendering:auto;filter:contrast(1.12) brightness(1.08) drop-shadow(0 14px 12px rgba(34,45,49,.12))}.source-card>div:nth-child(2){margin-top:0}.source-card .source-stat,.source-card .source-stat:nth-of-type(n+3){min-height:58px}
.manager-workspace .needs-panel{min-height:178px}.manager-workspace .needs-panel .needs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recommendations>.section-title{min-height:42px}.recommendation-grid{grid-template-columns:repeat(3,minmax(0,1fr));height:calc(100% - 56px)}
.recommendation-grid>.recommend-card,.recommendation-grid>.recommend-card:first-child,.recommendation-grid>.recommend-card:not(:first-child){min-width:0;height:100%}.recommend-product,.recommendation-grid>.recommend-card:first-child .recommend-product{grid-template-columns:82px minmax(0,1fr);padding:10px 13px 13px}.recommend-product img,.recommendation-grid>.recommend-card:first-child .recommend-product img{width:82px;height:82px}.recommend-product h3,.recommendation-grid>.recommend-card:first-child .recommend-product h3{font-size:18px}.recommend-product p{font-size:12px}.quick-diffs{padding:0 12px 9px}.diff{font-size:11px}.argument{margin:0 12px 12px;padding:11px 12px;font-size:12px}.offer-metrics,.recommendation-grid>.recommend-card:not(:first-child) .offer-metrics{margin:0 10px}.offer-metrics div,.recommendation-grid>.recommend-card:not(:first-child) .offer-metrics div{min-height:38px;padding:7px 10px}.offer-metrics small{font-size:11px}.recommend-actions,.recommendation-grid>.recommend-card:not(:first-child) .recommend-actions{grid-template-columns:1fr 41px;gap:6px;padding:10px}.recommend-actions .offer-link{grid-column:1/-1}.recommend-actions button[data-focus]{grid-column:1}.recommend-actions .offer-link,.recommend-actions button{min-height:39px;font-size:12px}.recommend-actions .edit-characteristics{width:41px;min-height:39px}
.recommend-head span{font-weight:800!important;letter-spacing:.025em}.visual-compare .legend{display:none!important}
.stock-badge.available{background:#fff0b7!important;color:#5b4710!important}.stock-positive{color:#8a6600!important}.quick-diffs .diff.good{background:#e5efff!important;color:#38577f!important}.offer-metrics .earning-value{color:#38577f!important}.visual-compare .compare-cell.good{background:#e5efff!important;color:#38577f!important}
.visual-compare .compare-cell,.visual-compare .compare-cell.good,.visual-compare .compare-cell.bad,.visual-compare .compare-cell.different,.visual-compare .compare-cell.same{background:transparent!important;color:inherit!important;border:1px solid #cfcfca!important;border-radius:8px!important;font-weight:800!important;padding:5px 8px!important}
.visual-compare .compare-cell.good,.visual-compare .compare-cell.bad,.visual-compare .compare-cell.different{background:#fff0b7!important;border-color:#dfc45d!important;color:#171715!important}
.manager-topbar .product-combobox{overflow:visible}.model-suggestions{left:0;right:auto;top:calc(100% + 12px);width:min(680px,calc(100vw - 160px));max-height:520px;padding:10px;border:0;border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(20,20,18,.18),0 0 0 1px rgba(20,20,18,.05);backdrop-filter:blur(18px);overflow:auto}.model-suggestions::before{content:"Результаты поиска";display:block;padding:8px 11px 10px;color:#777772;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.model-suggestions button{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;margin:0 0 4px;padding:10px;border:0;border-radius:17px;background:#fff;color:#171715;text-align:left;cursor:pointer;transition:background .16s ease,transform .16s ease}.model-suggestions button:last-of-type{margin-bottom:0}.model-suggestions button:hover,.model-suggestions button:focus{background:#f0f0ed;outline:none;transform:translateX(2px)}.model-suggestions button>img{width:58px;height:58px;border:0;border-radius:14px;background:#f6f6f3;object-fit:contain}.model-suggestions .suggestion-copy,.model-suggestions .suggestion-copy strong,.model-suggestions .suggestion-copy small,.model-suggestions .suggestion-meta,.model-suggestions .suggestion-meta b,.model-suggestions .suggestion-meta em{display:block}.model-suggestions .suggestion-copy strong{font-size:15px;font-weight:700;line-height:1.25}.model-suggestions .suggestion-copy small{margin-top:5px;color:#777772;font-size:12px;font-weight:500}.model-suggestions .suggestion-meta{text-align:right}.model-suggestions .suggestion-meta b{font-size:15px;font-weight:700;color:#171715}.model-suggestions .suggestion-meta em{margin-top:7px;padding:5px 8px;border-radius:999px;background:#fff0b7;color:#5b4710;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap}.model-suggestions .suggestion-meta em.unavailable{background:#eeeeeb;color:#777772}.model-suggestions mark{padding:1px 2px;border-radius:4px;background:#ffe38b;color:#171715;font-weight:800}.model-suggestions>p{margin:0;padding:24px;text-align:center;color:#777772;font-size:14px}.model-suggestions::-webkit-scrollbar{width:8px}.model-suggestions::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:999px;background:#cfcfca}
.page-actions{gap:8px}.page-actions .primary,.page-actions .secondary{min-height:44px;padding:0 16px}.header-shortcut svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.discount-breakdown{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;line-height:1!important}.discount-breakdown i{display:flex!important;align-items:center;justify-content:center;gap:4px;min-width:0;margin:0!important;padding:6px 5px;border:1px solid #e0c969;border-radius:8px;background:#fff4c9;color:#4d3d0c;font-size:10px!important;font-style:normal!important;font-weight:600!important;white-space:nowrap}.discount-breakdown i span,.discount-breakdown i b{display:inline!important}.discount-breakdown i b{font-size:11px;font-weight:800}.offer-metrics>div:nth-child(2){padding-left:7px!important;padding-right:7px!important}.compact-row{grid-template-columns:52px minmax(220px,1.1fr) repeat(3,minmax(110px,.5fr)) minmax(210px,auto)}
.quick-diffs .diff{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:6px 9px}.quick-diffs .diff svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.quick-diffs .diff span{min-width:0}.more-results,.compact-list,.compact-row{min-width:0;max-width:100%}.compact-actions{min-width:0}
.manager-workspace .needs-panel .needs-grid label{color:#171715!important;font-weight:650!important}.manager-workspace .needs-panel .needs-grid input,.manager-workspace .needs-panel .needs-grid select{color:#171715!important;font-weight:650!important}.manager-workspace .needs-panel .needs-grid input::placeholder{color:#171715!important;opacity:1!important}.recommend-head{justify-content:center!important;text-align:center!important}.recommend-head span{width:100%;font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.015em!important;text-align:center!important}
.sidebar .nav{position:relative!important;display:block!important;padding:0!important}.sidebar .nav i{position:absolute!important;left:50%!important;top:50%!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;margin:0!important;line-height:0!important;transform:translate(-50%,-50%)!important}.sidebar .nav i svg{display:block!important;width:22px!important;height:22px!important;margin:0!important}
.source-card{background:linear-gradient(180deg,#fff 0%,#fff 52%,#fff5cf 67%,#ffe9a0 100%)!important}.source-card img{background:#fff!important;mix-blend-mode:normal!important;filter:none!important;box-shadow:none!important}
.visual-compare{height:auto!important;min-height:0;overflow:visible}.visual-compare .comparison-wrap{width:100%;max-height:none;overflow:hidden}.visual-compare .comparison-wrap table{width:100%;min-width:0;table-layout:fixed}.visual-compare .comparison-wrap th,.visual-compare .comparison-wrap td{padding:10px 9px;white-space:normal;overflow-wrap:anywhere}.visual-compare .comparison-wrap th:first-child,.visual-compare .comparison-wrap td:first-child{position:static;min-width:0;width:15%}.visual-compare .compare-product{grid-template-columns:36px minmax(0,1fr);min-width:0}.visual-compare .compare-product img{width:36px;height:36px}
html,body{max-width:100%;overflow-x:hidden}.app,main,#manager-view,.manager-workspace,.recommendations,.recommendation-grid,.recommend-card{min-width:0;max-width:100%}.recommend-actions .offer-link{min-width:0;white-space:normal}
.recommend-actions,.recommendation-grid>.recommend-card:not(:first-child) .recommend-actions{grid-template-rows:44px 39px;align-self:end;width:100%}.recommend-actions .offer-link{height:44px;min-height:44px!important;line-height:1.15}.recommend-actions button[data-focus],.recommend-actions .edit-characteristics{height:39px;min-height:39px!important}.recommend-actions .offer-link.offer-kingdom:not(.unavailable-offer){border-color:#e74386!important;background:#e74386!important;color:#fff!important;box-shadow:0 7px 18px rgba(231,67,134,.22)}.recommend-actions .offer-link.offer-kingdom:not(.unavailable-offer):hover{background:#d93678!important}.recommend-actions .offer-link.offer-moscow:not(.unavailable-offer){border-color:#6459e8!important;background:#6459e8!important;color:#fff!important;box-shadow:0 7px 18px rgba(100,89,232,.22)}.recommend-actions .offer-link.offer-moscow:not(.unavailable-offer):hover{background:#5549dc!important}.recommend-actions .offer-link.unavailable-offer{border-color:#929292!important;background:#929292!important;color:#fff!important;box-shadow:none!important}
@media(max-width:1450px){.header-shortcut{display:none!important}.manager-workspace .source-panel{min-height:650px}}
.recommend-actions,.recommendation-grid>.recommend-card:not(:first-child) .recommend-actions{margin-top:auto}
.promotion-notice{display:block!important;color:#171715!important;font-size:12px!important;font-weight:750!important;line-height:1.25!important;text-align:left}.offer-metrics .promotion-notice{padding:2px 0}.compact-discounts{line-height:1.25}
.catalog-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}.catalog-conditions-button{min-height:34px;padding:0 13px;border:1px solid #dfc45d;border-radius:11px;background:#fff0b7;color:#342b10;font-size:12px;font-weight:800;cursor:pointer;transition:transform .15s ease,background .15s ease}.catalog-conditions-button:hover{background:#ffe38b;transform:translateY(-1px)}.catalog-conditions-card{width:min(700px,calc(100vw - 32px))}.catalog-conditions-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:22px}.catalog-conditions-form label{display:grid;gap:7px;color:#55554f;font-size:13px;font-weight:750}.catalog-conditions-form label.wide{grid-column:1/-1}.catalog-conditions-form input,.catalog-conditions-form select{width:100%;height:48px;padding:0 14px;border:1px solid #d7d7d2;border-radius:14px;background:#f4f4f1;color:#171715;font-size:15px;font-weight:700;outline:none}.catalog-conditions-form input:focus,.catalog-conditions-form select:focus{border-color:#d1ab19;box-shadow:0 0 0 3px rgba(255,215,94,.25)}.catalog-conditions-form .earning-preview input{background:#e5efff;color:#38577f}.catalog-conditions-summary{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding:13px 15px;border-radius:14px;background:#fff0b7;color:#342b10}.catalog-conditions-summary span{font-size:13px;font-weight:700}.catalog-conditions-summary strong{font-size:18px}.catalog-conditions-card .characteristics-dialog-actions{margin-top:18px}
@media(max-width:1320px){.recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}.recommendation-grid>.recommend-card:first-child{grid-column:1/-1}}
@media(max-width:1180px){#manager-view.active{display:block}.manager-workspace{display:grid;grid-template-columns:1fr}.manager-workspace .source-panel{min-height:0}.recommendations{margin-top:28px}.recommendation-grid{height:auto}}
@media(max-width:820px){.recommendation-grid{grid-template-columns:1fr}.recommendation-grid>.recommend-card:first-child{grid-column:auto}.visual-compare .comparison-wrap{overflow-x:auto}.visual-compare .comparison-wrap table{min-width:760px}}
@media(max-width:620px){.catalog-conditions-form{grid-template-columns:1fr}.catalog-conditions-form label.wide{grid-column:auto}.catalog-row-actions{align-items:stretch;flex-direction:column}}
.integrations-intro{margin-bottom:16px}.integration-grid{display:grid;grid-template-columns:minmax(0,900px);gap:16px}.integration-card{min-width:0}.integration-card>header{align-items:flex-start}.integration-card>header h2{margin-top:10px}.integration-card>label{display:grid;gap:8px;margin-top:18px;color:#55554f;font-size:13px;font-weight:750}.integration-card>label input{width:100%;height:50px;padding:0 15px;border:1px solid #d7d7d2;border-radius:14px;background:#f4f4f1;color:#171715;font-size:15px;font-weight:650;outline:none}.integration-card>label input:focus{border-color:#d1ab19;box-shadow:0 0 0 3px rgba(255,215,94,.25)}.integration-switch{display:flex!important;align-items:center;gap:9px!important;margin:0!important;padding:8px 11px;border-radius:999px;background:#f0f0ed;color:#171715!important;white-space:nowrap}.integration-switch input{width:18px!important;height:18px!important;margin:0;padding:0}.integration-switch span{font-size:13px;font-weight:800}.token-hint{margin:7px 0 0;color:#777772;font-size:12px;line-height:1.45}.integration-actions{display:flex;align-items:center;gap:10px;margin-top:15px}.integration-actions button{min-height:44px}.warehouse-picker{margin-top:18px;padding:15px;border:1px solid #e2e2de;border-radius:16px;background:#fafaf8}.warehouse-picker>b{display:block;margin-bottom:11px;font-size:13px}.integration-warehouses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.integration-warehouses label{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;border-radius:11px;background:#f0f0ed;color:#171715;font-size:13px;font-weight:650;cursor:pointer}.integration-warehouses label span{min-width:0;overflow-wrap:anywhere}.integration-warehouses input{width:17px;height:17px;flex:0 0 17px}.integration-warehouses .muted{grid-column:1/-1;margin:0;color:#777772;font-size:12px}.integration-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding-top:13px;border-top:1px solid #e2e2de}.integration-status{margin:0;color:#55554f;font-size:12px;font-weight:650;line-height:1.4}.integration-footer .text-button{flex:0 0 auto}.store-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800}.store-badge.kingdom{background:#ffe0ed;color:#9f2457}.store-badge.moscow{background:#e6e3ff;color:#4e43bd}@media(max-width:1120px){.integration-grid{grid-template-columns:1fr}}@media(max-width:680px){.integration-actions,.integration-footer{align-items:stretch;flex-direction:column}.integration-warehouses{grid-template-columns:1fr}}
.catalog-delete-button{min-height:34px;padding:0 12px;border:1px solid #efb9b9;border-radius:10px;background:#fff5f5;color:#a72f2f;font:750 12px/1 var(--font-ui);cursor:pointer}.catalog-delete-button:hover{background:#ffe8e8;border-color:#df8f8f}.catalog-delete-button:disabled{opacity:.55;cursor:wait}
.admin-permissions{margin:2px 0 0;padding:15px;border:1px solid #deded9;border-radius:16px;background:#fafaf8}.admin-permissions legend{padding:0 7px;color:#171715;font-size:13px;font-weight:800}.admin-permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-permissions-grid label{display:flex!important;align-items:center;gap:9px!important;min-height:42px;padding:9px 11px;border:1px solid #e5e5e0;border-radius:11px;background:#fff;color:#33332f!important;cursor:pointer}.admin-permissions-grid input{flex:0 0 18px;width:18px!important;height:18px!important;margin:0}.admin-permissions>small{display:block;margin-top:10px;color:#777772;font-size:12px}.account-role-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.account-role-badge.manager{background:#eeeeeb;color:#55554f}.account-role-badge.limited-admin{background:#fff0b7;color:#5b4710}.permission-summary{display:block;max-width:220px;margin-top:6px;color:#777772;font-size:10px;line-height:1.35}.manager-table td{vertical-align:middle}@media(max-width:680px){.admin-permissions-grid{grid-template-columns:1fr}}
.account-create-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.account-create-actions button{min-height:40px;white-space:nowrap}@media(max-width:760px){.account-create-actions{width:100%;justify-content:stretch}.account-create-actions button{flex:1 1 210px}}
/* Password recovery must stay above the full-screen login layer. */
#password-reset-dialog{z-index:3000}

/* Подтверждение рабочих компьютеров */
.trusted-devices-card{margin-top:16px}.trusted-devices-card>header{align-items:center}.device-security-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.device-security-actions .secondary{min-height:40px}.trusted-devices-card .security-note{margin:4px 0 16px}.device-table td{vertical-align:middle}.device-table td:first-child strong,.device-table td:nth-child(2) strong{display:block;color:#171715}.device-login,.device-date{display:block;margin-top:4px;color:#777772;font-size:11px;line-height:1.35}.device-status{display:inline-flex;align-items:center;min-height:29px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.device-status.pending{background:#fff0b7;color:#6b5000}.device-status.approved{background:#e3f3e8;color:#21663a}.device-status.revoked{background:#ffe7e7;color:#9c3030}.device-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}.device-approve,.device-revoke,.device-delete{min-height:36px;padding:0 13px;border-radius:11px;font-size:12px;font-weight:800;cursor:pointer}.device-approve{border:1px solid #171715;background:#171715;color:#fff}.device-revoke{border:1px solid #e1b1b1;background:#fff5f5;color:#9c3030}.device-delete{border:1px solid #d7d7d2;background:#fff;color:#55554f}.device-delete:hover{border-color:#efb9b9;background:#fff5f5;color:#9c3030}.device-approve:disabled,.device-revoke:disabled,.device-delete:disabled{opacity:.55;cursor:wait}.device-security-status{min-height:20px;margin:13px 0 0;color:#55554f;font-size:12px;font-weight:650}.trusted-devices-card code{display:inline-block;padding:5px 7px;border-radius:7px;background:#f0f0ed;color:#33332f;font-size:11px}.ip-security-card{height:100%}
@media(max-width:760px){.trusted-devices-card>header,.device-security-actions{align-items:stretch;flex-direction:column}.device-security-actions{width:100%}.device-security-actions .integration-switch,.device-security-actions .secondary{justify-content:center;width:100%}}

/* Журнал действий дополнительных администраторов */
.audit-card>header{align-items:center}.audit-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.audit-actions select{min-width:230px;height:42px;padding:0 38px 0 13px;border:1px solid #d7d7d2;border-radius:13px;background:#f4f4f1;color:#171715;font-size:13px;font-weight:700}.audit-card .security-note{margin:4px 0 14px}.audit-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;color:#777772}.audit-summary span{color:#171715;font-size:13px;font-weight:800}.audit-summary small{font-size:11px}.audit-table td{vertical-align:middle}.audit-admin{display:flex;align-items:center;gap:9px}.audit-admin>b{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#fff0b7;color:#342b10;font-size:11px}.audit-admin span strong,.audit-admin span small{display:block}.audit-admin span small{margin-top:2px;color:#777772;font-size:10px}.audit-action{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;background:#ececf8;color:#45408b;font-size:10px;font-weight:800}.audit-action.login,.audit-action.logout{background:#eeeeeb;color:#55554f}.audit-action.product-delete,.audit-action.account-delete{background:#ffe7e7;color:#9c3030}.audit-description{display:block;max-width:430px;margin-top:5px;color:#55554f;font-size:11px;line-height:1.35}
@media(max-width:760px){.audit-card>header,.audit-actions,.audit-summary{align-items:stretch;flex-direction:column}.audit-actions{width:100%}.audit-actions select,.audit-actions button{width:100%}}

/* Статус ночной проверки цен — только для главного администратора */
.price-sync-card{max-width:1040px}.price-sync-card>header{align-items:center}.price-sync-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:6px;padding:22px 24px;border-radius:20px;background:#f5f5f2}.price-sync-state{display:flex;align-items:center;gap:13px;min-width:0}.price-sync-state>i{display:block;flex:0 0 14px;width:14px;height:14px;border-radius:50%;background:#aaa}.price-sync-state.ok>i{background:#32945a;box-shadow:0 0 0 7px rgba(50,148,90,.12)}.price-sync-state.partial>i{background:#d4a51c;box-shadow:0 0 0 7px rgba(212,165,28,.14)}.price-sync-state.failed>i{background:#c84d4d;box-shadow:0 0 0 7px rgba(200,77,77,.12)}.price-sync-state.waiting>i{background:#777}.price-sync-state span,.price-sync-state b,.price-sync-state small{display:block;min-width:0}.price-sync-state b{color:#171715;font-size:18px;font-weight:800}.price-sync-state small{margin-top:4px;color:#686863;font-size:12px;line-height:1.4}.price-sync-percent{flex:0 0 auto;color:#171715;font-size:34px;font-weight:800;letter-spacing:-.04em}.price-sync-progress{height:12px;margin:13px 3px 0;overflow:hidden;border-radius:999px;background:#e7e7e2}.price-sync-progress i{display:block;width:0;height:100%;border-radius:inherit;background:#d4a51c;transition:width .35s ease}.price-sync-progress i[data-state="ok"]{background:#32945a}.price-sync-progress i[data-state="failed"]{background:#c84d4d}.price-sync-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.price-sync-stats>div{padding:15px 16px;border:1px solid #e4e4df;border-radius:15px;background:#fff}.price-sync-stats small,.price-sync-stats strong{display:block}.price-sync-stats small{color:#777772;font-size:11px;font-weight:650}.price-sync-stats strong{margin-top:7px;color:#171715;font-size:17px;font-weight:800}.price-sync-note{margin-top:18px}.price-sync-card>.device-security-status{margin-bottom:0}@media(max-width:760px){.price-sync-card>header,.price-sync-overview{align-items:stretch;flex-direction:column}.price-sync-percent{font-size:28px}.price-sync-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.price-sync-stats{grid-template-columns:1fr}}

.source-card .source-stat:nth-child(4){min-width:0}.source-card .source-stat:nth-child(4) strong{width:100%;min-width:0}.source-card .discount-breakdown{width:min(100%,176px);max-width:176px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.source-card .discount-breakdown i{width:100%;max-width:84px;min-height:22px;padding:4px 3px;gap:2px;font-size:9px!important}.source-card .discount-breakdown i b{font-size:10px}
