.cp{--cp-ink:#0a1e4b;--cp-muted:#61749c;--cp-line:#dee6f3;--cp-blue:#075bfa;background:#f4f7fc;color:var(--cp-ink);font:12px/1.35 Arial,system-ui,sans-serif;padding:12px 14px 65px;min-height:calc(100vh - 64px)}.cp *{box-sizing:border-box}.cp a{text-decoration:none}.cp-crumb{display:flex;align-items:center;gap:14px;color:#6075a1;height:23px}.cp-crumb a{color:#5876b2}.cp-crumb a:first-child{font-size:20px}.cp-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 19px}.cp-heading h1{font-size:29px;letter-spacing:-.8px;line-height:1.1;margin:0 0 6px}.cp-heading p{margin:0;color:#50658f;font-size:13px}.cp-heading-actions{display:flex;gap:8px;align-items:center}.cp-status-stack{min-width:185px}.cp-status-stack small{display:block;margin-top:5px;color:#7b8cab;white-space:nowrap}.cp-badge{display:inline-flex;padding:3px 9px;border-radius:5px;font-size:11px;font-weight:600;background:#eef2f8;color:#60718d}.cp-badge.green{color:#008759;background:#def9eb;border:1px solid #baefd3}.cp-btn{border:1px solid #dce5f4;color:#0a285c;background:#fff;border-radius:5px;min-height:32px;padding:7px 12px;font:600 12px Arial,system-ui,sans-serif;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;white-space:nowrap}.cp-btn:hover{border-color:#8ab2fb;background:#f6faff}.cp-btn.cp-primary{background:#075bfa;border-color:#075bfa;color:#fff}.cp-btn.cp-primary:hover{background:#004ddd}.cp-profile-bar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6ecf6;border-radius:6px;padding:9px 12px;margin-bottom:13px;min-height:53px}.cp-profile-title{display:grid;gap:2px;min-width:116px}.cp-profile-title strong{font-size:12px}.cp-profile-title span{font-size:10px;color:#8291ab}.cp-profile-list{display:flex;gap:6px;overflow:auto;flex:1}.cp-profile-chip{border:1px solid #dce5f4;background:#fff;border-radius:5px;min-height:33px;padding:5px 9px;display:flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer;color:#344e7d;font-size:11px}.cp-profile-chip.active{border-color:#1672ff;color:#075bfa;background:#eff5ff}.cp-profile-chip em{font-style:normal;color:#8190aa}.cp-create{display:flex;gap:5px}.cp-create .cp-btn{font-size:11px;padding:6px 8px}.cp-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr);gap:14px}.cp-main,.cp-aside{min-width:0}.cp-card{background:#fff;border:1px solid #e4eaf4;border-radius:6px;box-shadow:0 3px 13px #1c3b7209}.cp-main .cp-card{margin-bottom:12px}.cp-card-head{display:flex;align-items:center;gap:10px;padding:12px 14px 4px}.cp-card-head h2{font-size:15px;margin:0}.cp-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:6px;background:#eaf0ff;color:#075bfa;font-size:19px;font-weight:700}.cp-fields{padding:8px 14px 14px;display:grid;gap:9px 13px}.cp-fields.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-fields.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cp-field{display:grid;gap:4px;min-width:0}.cp-field.wide{grid-column:span 2}.cp-field label{font-size:11px;color:#5b709a}.cp-field label b{color:#e4424d}.cp-field input,.cp-field select{height:30px;min-width:0;width:100%;border:1px solid #dce5f1;border-radius:4px;color:#102550;background:#fff;padding:5px 8px;font:12px Arial,system-ui,sans-serif;outline:none}.cp-field input:disabled,.cp-field select:disabled{background:#f8faff;color:#1f3768;opacity:1}.cp-field input:focus,.cp-field select:focus{border-color:#2a75ff;box-shadow:0 0 0 2px #2a75ff18}.cp-field input[type=date]{font:11px Arial,system-ui,sans-serif}.cp-summary{padding:14px;margin-bottom:12px}.cp-summary-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.cp-summary-head .cp-icon{width:46px;height:46px;font-size:24px}.cp-summary-head h2{font-size:17px;margin:0 0 3px;overflow-wrap:anywhere}.cp-summary-head span:last-child{color:#64779d}.cp-summary dl{display:grid;grid-template-columns:1fr 1.1fr;gap:9px 8px;margin:0}.cp-summary dt{color:#687b9e}.cp-summary dd{margin:0;overflow-wrap:anywhere}.cp-warning{display:flex;gap:10px;background:#fffdf6;border:1px solid #f8e2aa;border-radius:6px;padding:15px;margin-bottom:12px}.cp-warning>span{display:grid;place-items:center;width:26px;height:26px;flex:none;background:#f5a52a;color:white;border-radius:50%;font-size:18px;font-weight:bold}.cp-warning strong{color:#d77600}.cp-warning p{color:#455b84;margin:3px 0 0;line-height:1.35}.cp-history{padding:14px}.cp-history-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.cp-history-head h2{font-size:15px;margin:0}.cp-history-head a{font-size:11px;color:#075bfa}.cp-history-item{border-left:2px solid #b7c6e3;margin-left:6px;padding:8px 0 11px 16px;position:relative;border-bottom:1px solid #eef1f6}.cp-history-item:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;left:-5px;top:13px;background:#7087b9}.cp-history-item:first-child:before{background:#126cff}.cp-history-item strong{display:block;font-size:11px}.cp-history-item span{display:block;color:#64779c;margin-top:3px}.cp-empty{color:#798baa;padding:18px 2px}.cp-egrul-body{padding:8px 14px 14px}.cp-egrul-record{padding:7px 0;border-bottom:1px solid #edf0f6;display:flex;align-items:center;justify-content:space-between;gap:8px}.cp-egrul-record small{color:#7185a8}.cp-upload{display:inline-flex;align-items:center;margin:10px 8px 0 0;color:#59709a}.cp-upload input{font-size:11px;margin-left:8px;max-width:200px}.cp-egrul-body .cp-btn{margin-top:10px}.cp-egrul-body>span{color:#6079a4;margin-left:9px}.cp-savebar{position:fixed;bottom:0;left:var(--shell-sidebar,240px);right:0;padding:7px 14px;background:#fff;border-top:1px solid #dce5f2;display:flex;align-items:center;gap:9px;z-index:30;box-shadow:0 -2px 12px #19386514}.cp-savebar[hidden],.cp-modal-backdrop[hidden]{display:none}.cp-savebar #cp-save-status{flex:1;text-align:right;color:#7f90ae}.cp-cancel{border-color:#f5b7c0;color:#e21b32;background:#fff5f6}.cp-modal-backdrop{position:fixed;inset:0;background:#0d1d3b77;z-index:90;display:grid;place-items:center;padding:20px}.cp-modal{width:min(650px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;box-shadow:0 20px 60px #0b1b4060}.cp-modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e5ebf5}.cp-modal-head h2{font-size:18px;margin:0}.cp-modal-head button{border:0;background:none;font-size:22px;cursor:pointer}.cp-modal #cp-modal-fields{padding:15px 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.cp-modal .cp-field.wide{grid-column:span 2}.cp-modal-actions{padding:12px 18px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e5ebf5}.cp-modal #cp-modal-error{color:#dd1b31;padding:0 18px}.cp-toast{background:#e9f9f0;color:#00794d;padding:8px 12px;border-radius:5px;margin-bottom:10px}.cp-error{background:#fff1f3;color:#ca0d24;padding:8px 12px;border-radius:5px;margin-bottom:10px}@media(max-width:1200px){.cp-layout{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr)}.cp-heading{align-items:flex-start}.cp-heading-actions{flex-wrap:wrap;justify-content:flex-end}.cp-profile-bar{flex-wrap:wrap}.cp-profile-list{width:100%;order:3}}@media(max-width:850px){.cp-layout{grid-template-columns:1fr}.cp-heading{flex-direction:column}.cp-heading-actions{justify-content:flex-start}.cp-fields.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-savebar{left:0}.cp-profile-list{order:0}.cp-create{flex-wrap:wrap}}@media(max-width:540px){.cp-fields.cols-3,.cp-fields.cols-4,.cp-modal #cp-modal-fields{grid-template-columns:1fr}.cp-field.wide,.cp-modal .cp-field.wide{grid-column:auto}.cp-savebar{flex-wrap:wrap}.cp-savebar #cp-save-status{order:-1;flex-basis:100%;text-align:left}}
.cp-egrul-details{font-size:11px;color:#52688f;padding:7px 2px;border-bottom:1px solid #edf0f6}.cp-egrul-details summary{cursor:pointer;color:#075bfa}.cp-egrul-details p{margin:7px 0}.cp-egrul-details dl{display:grid;grid-template-columns:1fr 2fr;gap:5px;margin:7px 0}.cp-egrul-details dt{color:#6e80a1}.cp-egrul-details dd{margin:0}

/* Keep profile switching and creation actions usable on medium-width work areas. */
.cp-profile-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;overflow:hidden}
.cp-profile-bar[hidden]{display:none}
.cp-profile-list{min-width:0;overflow-x:auto;overflow-y:hidden;padding:1px 0 2px}
.cp-profile-chip{flex:0 0 auto}
.cp-create{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1400px){.cp-profile-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title create" "list list";row-gap:8px}.cp-profile-title{grid-area:title}.cp-profile-list{grid-area:list;width:100%}.cp-create{grid-area:create}}
.cp-ai{padding-bottom:14px}.cp-ai .cp-card-head p{margin:4px 0;color:#62769b}.cp-ai-body{padding:10px 14px 14px}.cp-ai-body h3{font-size:14px;margin:18px 0 8px}.cp-mcp-field,.cp-mcp-secret label{display:grid;gap:5px;color:#5b709a;margin:8px 0;font-size:11px}.cp-mcp-field input,.cp-mcp-secret input{border:1px solid #dce5f1;border-radius:4px;min-height:34px;padding:7px 9px;color:#102550}.cp-ai fieldset{border:1px solid #e2e9f4;border-radius:5px;margin:10px 0;padding:9px 11px}.cp-ai legend{padding:0 4px;font-weight:600}.cp-mcp-check{display:flex;align-items:center;gap:7px;padding:4px 3px;color:#314a77}.cp-mcp-check input{margin:0}.cp-mcp-check small{color:#8291ab}.cp-mcp-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;overflow:auto}.cp-mcp-presets{display:flex;gap:6px;margin:4px 0 7px}.cp-mcp-note{color:#7a6a32;background:#fffaf0;border:1px solid #f2e3b8;padding:9px;border-radius:4px}.cp-mcp-secret{padding:12px;background:#f0f7ff;border:1px solid #cfe1ff;border-radius:5px;margin-bottom:12px}.cp-mcp-secret strong{display:block;margin-bottom:8px}.cp-mcp-key{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf0f6;padding:9px 0}.cp-mcp-key strong,.cp-mcp-key small{display:block}.cp-mcp-key small{color:#6f809f;margin-top:4px;overflow-wrap:anywhere}.cp-mcp-key p{margin:5px 0;color:#354d78}@media(max-width:540px){.cp-mcp-scopes{grid-template-columns:1fr}.cp-mcp-key{align-items:flex-start;flex-direction:column}}
.cp-storefront-body{padding:10px 14px 16px}.cp-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cp-store-grid label{display:grid;gap:5px;color:#5b709a;font-size:11px}.cp-store-grid input,.cp-store-grid select,.cp-store-grid textarea{width:100%;border:1px solid #dce5f1;border-radius:4px;min-height:34px;padding:7px 9px;color:#102550;background:white}.cp-store-grid .wide{grid-column:1/-1}.cp-storefront-body form>.cp-btn{margin:12px 6px 0 0}.cp-store-status{margin:0 0 12px;color:#52688f}.cp-producer-docs{border-top:1px solid #edf0f6;margin-top:16px;padding-top:10px}.cp-producer-docs h3{margin:0 0 5px}.cp-producer-docs p{color:#7185a8}.cp-producer-docs>div{max-height:220px;overflow:auto}.cp-moderation-actions{display:flex;gap:6px;flex-wrap:wrap}.cp-moderation-actions .cp-btn{white-space:nowrap}@media(max-width:600px){.cp-store-grid{grid-template-columns:1fr}.cp-store-grid .wide{grid-column:auto}.cp-mcp-key{align-items:flex-start;flex-direction:column}}
.cp-payments-body{padding:10px 14px 16px}.cp-payment-note{margin:10px 0;color:#6b7894;background:#f6f8fc;border:1px solid #e1e7f1;border-radius:5px;padding:10px}.cp-payments-body h3{font-size:14px;margin:18px 0 8px}

.cp-offers-body{padding:10px 14px 16px}.cp-offers-body h3{font-size:14px;margin:18px 0 8px}.cp-offer-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
