:root{color:#172033;background:#eef4fb;font-family:Inter,Manrope,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}#root{min-height:100vh}.glass-panel{border:1px solid rgba(255,255,255,.62);background:linear-gradient(145deg,#ffffffc7,#ffffff80);box-shadow:0 14px 44px #2d365f1f;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.icon{width:20px;height:20px;flex:0 0 auto}.login-page,.workspace,.loading-screen{min-height:100vh;background:radial-gradient(circle at 10% 20%,rgba(23,184,190,.34),transparent 30%),radial-gradient(circle at 72% 12%,rgba(124,92,255,.38),transparent 28%),radial-gradient(circle at 88% 78%,rgba(255,93,150,.26),transparent 26%),linear-gradient(135deg,#edf6fb,#eef1ff 46%,#f8eef7)}.login-page{display:grid;place-items:center;padding:32px}.login-panel{width:min(430px,100%);padding:34px;border-radius:28px;animation:rise-in .52s ease both}.brand-mark{display:grid;width:58px;height:58px;margin-bottom:24px;place-items:center;border-radius:20px;color:#fff;background:linear-gradient(135deg,#2c6bed,#9d5cff 55%,#ff5d96);box-shadow:0 18px 42px #4a53dc57}.eyebrow{margin:0 0 6px;color:#60718f;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}h1,h2,h3{margin:0;letter-spacing:0}h1{font-size:clamp(32px,7vw,44px);line-height:1}h2{font-size:22px}h3{font-size:18px}.login-form,.order-form{display:grid;gap:14px;margin-top:28px}.auth-actions{display:flex;gap:10px;margin-top:16px}label{display:grid;gap:8px;color:#4a5870;font-size:12px;font-weight:800;text-transform:uppercase}input,select,textarea{width:100%;min-height:40px;border:1px solid rgba(90,106,142,.18);border-radius:12px;padding:0 14px;color:#172033;background:#ffffffc7;outline:none}input:focus,select:focus,textarea:focus{border-color:#4065efb8;box-shadow:0 0 0 4px #4065ef1f}textarea{min-height:88px;padding:11px 14px;resize:vertical}.primary-button,.secondary-button,.danger-button,.icon-button,.tiny-button,.nav-button,.scope-tab,.canvas-row{border:0;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border-radius:12px;padding:0 16px;font-weight:850}.primary-button{color:#fff;background:linear-gradient(135deg,#1d63e9,#6f5cff 56%,#e64888);box-shadow:0 16px 36px #4c56e447}.secondary-button{color:#21304d;background:#ffffffb8}.danger-button{color:#fff;background:linear-gradient(135deg,#b4234d,#e0475f);box-shadow:0 14px 34px #b5234d3d}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.danger-button:hover:not(:disabled),.canvas-row:hover,.nav-button:hover{transform:translateY(-1px)}.form-error{border:1px solid rgba(230,68,99,.28);border-radius:14px;padding:10px 12px;color:#ae1f45;background:#ffeef4d1;font-size:13px;font-weight:700}.inline-form-error{margin-top:8px}.print-state{display:flex;align-items:center;gap:8px;min-height:38px;border-top:1px solid rgba(80,98,137,.14);border-bottom:1px solid rgba(80,98,137,.14);padding:9px 0;color:#64738c;font-size:12px;font-weight:850}.print-state.pending{color:#775200}.print-state.ready{color:#1f6f4b}.print-state.failed{color:#a5163d}.mini-spinner{width:16px;height:16px;border:2px solid rgba(119,82,0,.2);border-top-color:#775200;border-radius:50%;animation:spin .8s linear infinite}.workspace{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;min-height:100vh;padding:14px}.side-nav{position:sticky;top:14px;display:flex;width:202px;height:calc(100vh - 28px);flex-direction:column;gap:6px;align-items:stretch;border-radius:20px;padding:12px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;transition:width .22s cubic-bezier(.4,0,.2,1);will-change:width}.side-brand,.icon-button{display:grid;place-items:center}.side-brand{display:flex;width:100%;min-height:52px;flex:0 0 auto;justify-content:flex-start;gap:12px;margin-bottom:10px;border-radius:14px;padding:0 14px;border:1px solid rgba(63,83,126,.12);color:#263b68;background:#ffffffb8;box-shadow:0 8px 22px #22345d0e;font-weight:900}.side-brand>img{width:34px;height:34px;flex:0 0 auto;object-fit:contain}.side-brand span{max-width:80px;overflow:hidden;opacity:1;font-size:12px;letter-spacing:.12em;white-space:nowrap;transition:max-width .18s ease,opacity .12s ease}.side-nav-toggle{display:flex;width:100%;min-height:42px;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:12px;margin-top:auto;border:1px solid rgba(90,106,142,.12);border-radius:13px;padding:0 14px;color:#5e6d86;background:#ffffff7a;font-weight:800;text-align:left;transition:color .16s ease,background .16s ease,transform .16s ease}.side-nav-toggle .icon{width:18px;height:18px}.side-nav-toggle span{min-width:0;max-width:120px;overflow:hidden;opacity:1;font-size:12px;text-overflow:ellipsis;white-space:nowrap;transition:max-width .18s ease,opacity .12s ease}.side-nav-toggle:hover{color:#294baf;background:#ffffffd1;transform:translateY(-1px)}.side-nav-toggle:focus-visible{outline:3px solid rgba(49,95,233,.24);outline-offset:2px}.nav-button{display:flex;width:100%;min-height:44px;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:12px;border-radius:13px;padding:0 14px;color:#64738f;background:transparent;text-align:left}.nav-button span{min-width:0;max-width:130px;overflow:hidden;opacity:1;font-size:12px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;transition:max-width .18s ease,opacity .12s ease}.nav-button:hover:not(.active){color:#31415f;background:#ffffff94}.nav-button:focus-visible{outline:3px solid rgba(49,95,233,.24);outline-offset:2px}.nav-button.active{color:#fff;background:linear-gradient(135deg,#315fe9,#7c5cff);box-shadow:0 16px 38px #3d5ada4d}.side-nav-collapsed .side-nav{width:78px;padding-inline:12px}.side-nav-collapsed .side-brand{justify-content:center;padding:0}.side-nav-collapsed .side-brand>span,.side-nav-collapsed .nav-button span,.side-nav-collapsed .side-nav-toggle span{max-width:0;opacity:0;visibility:hidden;transition:max-width .18s ease,opacity .12s ease,visibility 0s linear .18s}.side-nav-collapsed .side-nav-toggle,.side-nav-collapsed .nav-button{justify-content:center;gap:0;padding-inline:0}.side-nav-collapsed .side-brand{gap:0}.side-nav-tooltip{position:fixed;z-index:5000;transform:translateY(-50%);padding:8px 11px;border:1px solid rgba(255,255,255,.12);border-radius:9px;color:#fff;background:#172033f5;box-shadow:0 10px 28px #17203333;font-size:12px;font-weight:800;line-height:1;pointer-events:none;white-space:nowrap;animation:side-nav-tooltip-in .14s ease-out both}.side-nav-tooltip:before{position:absolute;top:50%;left:-4px;width:8px;height:8px;content:"";background:#172033f5;transform:translateY(-50%) rotate(45deg)}.main-column{display:grid;min-width:0;gap:14px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:68px;border-radius:20px;padding:14px 18px}.user-pill{display:flex;align-items:center;gap:12px;min-width:0;font-weight:800}.icon-button{width:42px;height:42px;border-radius:15px;color:#263757;background:#ffffffb8}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px}.analytics-table{grid-column:1 / -1;padding:18px;border-radius:16px}.analytics-row{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(5,minmax(90px,1fr));gap:10px;align-items:center;min-height:42px;border-top:1px solid rgba(80,98,137,.14);color:#526078;font-size:13px;font-weight:800}.analytics-row strong{color:#172033}.analytics-page{display:grid;gap:14px}.analytics-filters{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(140px,.8fr) minmax(220px,1.4fr) auto auto;gap:10px;align-items:end;border-radius:20px;padding:14px}.analytics-period-note,.analytics-shift-example{display:grid;gap:4px;border:1px solid rgba(49,95,233,.12);border-radius:16px;padding:12px 14px;color:#556681;background:#315fe912;font-size:13px}.analytics-period-note strong,.analytics-shift-example strong{color:#172033}.analytics-metrics{grid-template-columns:repeat(6,minmax(140px,1fr))}.analytics-section{display:grid;gap:14px;border-radius:20px;padding:14px}.analytics-detail-table{display:grid;gap:8px}.analytics-detail-row{display:grid;gap:12px;align-items:center;min-height:50px;border-radius:14px;padding:10px 12px;color:#526078;background:#ffffff94;font-size:13px;font-weight:800}.analytics-detail-row.head{min-height:34px;color:#6c7891;background:transparent;font-size:11px;font-weight:900;text-transform:uppercase}.analytics-detail-row strong,.analytics-detail-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-detail-row strong{color:#172033}.analytics-detail-row small{margin-top:3px;color:#6c7891;font-size:11px;font-weight:800}.manager-table .analytics-detail-row{grid-template-columns:minmax(180px,1.7fr) repeat(5,minmax(90px,.7fr))}.daily-table .analytics-detail-row{grid-template-columns:minmax(100px,.7fr) minmax(180px,1.5fr) repeat(5,minmax(90px,.7fr))}.completed-table .analytics-detail-row,.linked-table .analytics-detail-row{grid-template-columns:minmax(100px,.8fr) minmax(170px,1.3fr) minmax(150px,1.1fr) minmax(130px,.9fr) minmax(130px,.9fr) minmax(80px,.5fr)}.metric-card{display:grid;gap:8px;min-height:118px;border-radius:18px;padding:18px;animation:rise-in .42s ease both}.metric-card .icon{color:#2668e9}.metric-card span{color:#66768f;font-weight:800}.metric-card strong{font-size:34px;line-height:1}.metric-card.danger .icon{color:#d82e63}.canvas-layout{display:grid;grid-template-columns:minmax(520px,1fr) minmax(380px,520px);gap:14px;align-items:stretch;min-height:0}.canvas-list,.detail-panel,.placeholder{border-radius:20px;padding:14px}.canvas-list,.detail-panel{max-height:calc(100vh - 110px);min-height:0;overflow-y:auto;overscroll-behavior:contain}.list-toolbar{display:grid;grid-template-columns:minmax(160px,auto) minmax(240px,420px);gap:12px;align-items:center;margin-bottom:10px}.scope-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.queue-filters{display:grid;grid-template-columns:repeat(2,minmax(112px,1fr));gap:8px;margin:0 0 10px}.queue-filter{display:grid;gap:4px;min-width:0;color:#52627e;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.03em}.queue-filter.sort{grid-column:span 2}.queue-filter select,.queue-filter input{min-width:0;min-height:34px;border:1px solid rgba(80,100,142,.14);border-radius:11px;padding:0 10px;color:#253655;background:#ffffffbd;font-size:12px;font-weight:850;text-transform:none;letter-spacing:0}.queue-filter-button{min-height:34px;align-self:end;border-radius:11px;padding:0 10px;color:#1d63e9;background:#e7f0ffc7;font-size:12px;font-weight:850;cursor:pointer}.queue-filter-button:hover{background:#dae9fff2}.scope-tab{min-height:32px;border-radius:999px;padding:0 11px;color:#52627e;background:#ffffff94;font-size:12px;font-weight:850;cursor:pointer}.scope-tab.active{color:#fff;background:#1d63e9;box-shadow:0 10px 22px #1d63e938}.bulk-toolbar,.inline-message{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0;border-radius:14px;padding:8px;background:#ffffff94}.bulk-toolbar span,.inline-message{color:#52627e;font-size:12px;font-weight:850}.bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.bulk-toolbar .primary-button,.bulk-toolbar .secondary-button,.bulk-toolbar .danger-button{min-height:34px;padding:0 12px}.bulk-select-all{display:flex;align-items:center;gap:8px;min-height:32px;margin:8px 0;padding:0 8px;color:#52627e;font-size:12px;font-weight:850}.bulk-select-all input{width:18px;height:18px;accent-color:#1d63e9}.inline-message.muted{color:#6b7890;background:#ffffff61}.inline-message a{color:#1d63e9;text-decoration:none}.inline-message a:hover{text-decoration:underline}.bulk-process{display:grid;gap:6px;margin:8px 0;border-radius:14px;padding:10px 12px;color:#52627e;background:#ffffff9e;font-size:12px;font-weight:850}.bulk-process-head{display:flex;align-items:center;gap:8px;color:#253655}.bulk-process ul{display:grid;gap:3px;margin:0;padding-left:18px}.bulk-process.requesting,.bulk-process.preparing{color:#264b8f;background:#e5f0ffb8}.bulk-process.blocked{color:#765000;background:#fff5e1c7}.bulk-process.failed{color:#a5163d;background:#ffeef4d1}.bulk-process.downloaded{color:#1f6f4b;background:#ebfcf2d1}.search-field{display:flex;align-items:center;gap:10px;min-height:42px;border:1px solid rgba(80,100,142,.14);border-radius:14px;padding:0 14px;background:#ffffffb3}.search-field input{min-height:38px;border:0;padding:0;background:transparent;box-shadow:none}.canvas-row{display:grid;grid-template-columns:22px 58px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:74px;margin-top:8px;border-radius:14px;padding:8px 10px;cursor:pointer;text-align:left;background:#ffffff85}.canvas-row>input[type=checkbox]{width:18px;min-height:18px;accent-color:#315fe9}.canvas-row.active{outline:2px solid rgba(50,95,233,.3);background:#ffffffe0}.thumb,.preview-box{display:grid;place-items:center;overflow:hidden;color:#71809a;background:linear-gradient(135deg,#325fe91f,#00a9a61f)}.thumb{width:58px;aspect-ratio:1;border-radius:14px}.thumb img,.preview-box img{width:100%;height:100%;object-fit:cover}.thumb span{padding:0 5px;color:#31506f;font-size:12px;font-weight:950;text-align:center}.row-main{display:grid;min-width:0;gap:3px}.row-main strong,.row-main span,.row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-main strong{color:#18223a;font-size:15px}.row-main span{color:#64738c;font-size:13px;font-weight:700}.row-main .marketplace-line{display:flex;align-items:center;gap:7px}.marketplace-badge{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:46px;min-height:22px;border-radius:999px;padding:0 9px;color:#fff;font-size:11px;font-style:normal;font-weight:950;line-height:1}.marketplace-badge-wb{background:linear-gradient(135deg,#8b35d6,#a855f7);box-shadow:0 10px 24px #8b35d638}.marketplace-badge-ozon{background:#005bff;box-shadow:0 10px 24px #005bff33}.marketplace-badge-neutral{color:#26324a;background:#64748b29}.row-main small{color:#8794aa;font-size:12px;font-weight:700}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:28px;border-radius:999px;padding:0 10px;color:#1f5f42;background:#66e0a63d;font-size:11px;font-weight:900;text-transform:uppercase}.status-failed{color:#9f1942;background:#ff669138}.status-printing,.status-previewing{color:#775200;background:#ffc65c40}.detail-panel{position:sticky;top:96px;align-self:start}.preview-box{width:100%;height:min(42vh,360px);min-height:240px;border-radius:16px;margin:14px 0;border:1px solid rgba(75,91,130,.12);background:linear-gradient(45deg,rgba(255,255,255,.8) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.8) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.8) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.8) 75%),#dce6f3;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.preview-box img{object-fit:contain}.review-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;margin:14px 0 10px;padding:4px;border-radius:8px;background:#ffffff9e;border:1px solid rgba(75,91,130,.12)}.review-tabs button{min-height:34px;border-radius:6px;color:#52627e;background:transparent;font-size:12px;font-weight:900;cursor:pointer}.review-tabs button.active{color:#fff;background:#1d63e9;box-shadow:0 8px 18px #1d63e92e}.review-loading{display:grid;place-items:center;width:min(100%,340px);min-height:260px;margin:0 auto 14px;border-radius:8px;color:#71809a;background:#ffffffa8;border:1px solid rgba(80,98,137,.16)}.review-inspector{margin:0 auto 14px}.review-tools{display:flex;justify-content:flex-end;width:min(100%,340px);margin:0 auto 6px}.review-quality-toggle.active{color:#fff;background:#1d63e9}.review-map{position:relative;width:min(100%,340px);margin:0 auto 8px;border-radius:8px;background:#ffffffa8;border:1px solid rgba(80,98,137,.16);overflow:hidden}.review-map.quality-active{width:100%;cursor:grab;touch-action:none}.review-map.quality-active:active{cursor:grabbing}.review-zoom-layer{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;will-change:transform}.review-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;user-select:none}.review-layout-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-webkit-user-select:none;user-select:none;z-index:1}.review-sheet{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(80,98,137,.08) 1px,transparent 1px),linear-gradient(0deg,rgba(80,98,137,.08) 1px,transparent 1px),#f8fbff;background-size:24px 24px}.review-mark{position:absolute;background:#111827;pointer-events:none;z-index:4}.review-rect{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid rgba(23,32,51,.82);pointer-events:none;z-index:5}.review-rect.wrap{border-color:#e14b4bc7;background:transparent}.review-rect.visible{border-color:#ffffff94;background:transparent}.review-rect.visible.metal-trim{border-color:#111827bd;border-style:dashed;background:transparent}.review-rect.foreground{border-color:#ffffff75;background:transparent}.review-map-loader{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#ffffff6b;z-index:6}.review-quality-controls{position:absolute;right:8px;bottom:8px;z-index:8;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:6px;border:1px solid rgba(80,98,137,.16);border-radius:8px;background:#ffffffe6;box-shadow:0 10px 24px #28365629}.review-quality-scale{min-width:42px;text-align:center;color:#35415c;font-size:12px;font-weight:900}.detail-head,.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.meta-grid{display:grid;grid-template-columns:1fr;gap:0;margin:10px 0 14px}.meta-grid div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:baseline;min-width:0;border-top:1px solid rgba(80,98,137,.14);border-radius:0;padding:9px 0;background:transparent}.meta-grid dt{color:#6c7891;font-size:11px;font-weight:900;text-transform:uppercase}.meta-grid dd{overflow-wrap:anywhere;margin:0;color:#172033;font-size:13px;font-weight:800}.copy-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.tiny-button{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border-radius:10px;color:#263757;background:#ffffffb8}.tiny-button:disabled{opacity:.55}.tiny-button .icon{width:16px;height:16px}.order-form{margin-top:12px;gap:10px}.action-row{margin-top:12px}.action-row .secondary-button,.action-row .danger-button{flex:1}.action-row .tiny-button{width:42px;height:40px}.lock-floating{position:fixed;z-index:12;right:26px;bottom:26px;max-width:360px}.modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:18px;background:#111a2b61}.modal-panel{display:grid;gap:14px;width:min(520px,100%);max-height:calc(100vh - 36px);overflow-y:auto;border-radius:20px;padding:18px}.modal-head,.modal-actions,.audit-head,.audit-title,.audit-meta{display:flex;align-items:center;gap:12px}.modal-head,.audit-head,.audit-title{justify-content:space-between}.modal-copy{margin:0;color:#52627e;font-size:13px;font-weight:750;line-height:1.5}.modal-list{display:grid;gap:6px;margin:0;padding-left:18px;color:#52627e;font-size:13px;font-weight:800}.modal-actions{justify-content:flex-end}.modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audit-panel,.access-panel{display:grid;gap:14px;border-radius:20px;padding:14px}.access-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto auto;gap:10px;align-items:center}.access-toolbar .search-field{margin:0}.access-toggle{display:flex;align-items:center;gap:8px;min-height:40px;color:#52627e;font-size:12px;font-weight:850;text-transform:none}.access-toggle input{width:16px;min-height:16px;accent-color:#315fe9}.access-table{display:grid;gap:8px}.access-row{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(110px,.8fr) minmax(90px,.7fr) minmax(110px,.8fr) auto;gap:12px;align-items:center;min-height:58px;border-radius:14px;padding:10px 12px;background:#ffffff94}.access-row.head{min-height:38px;color:#6c7891;background:transparent;font-size:11px;font-weight:900;text-transform:uppercase}.access-row.deleted{opacity:.62}.settings-panel{display:grid;gap:14px;border-radius:20px;padding:14px}.settings-form{display:grid;gap:14px}.settings-section{display:grid;gap:12px;border-radius:16px;padding:14px;background:#ffffff94}.settings-section h4{margin:0;color:#182235;font-size:17px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:10px}.settings-tokens{display:grid;grid-template-columns:repeat(auto-fit,minmax(154px,1fr));gap:8px}.settings-help-block{display:grid;gap:8px}.settings-help-title{color:#52627e;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.settings-token,.settings-pattern-example{display:grid;gap:4px;border:1px solid rgba(49,95,233,.1);border-radius:14px;padding:9px 10px;text-align:left;background:#315fe917;cursor:pointer}.settings-token:hover,.settings-pattern-example:hover{border-color:#315fe947;background:#315fe924}.settings-token code,.settings-pattern-example code{color:#315fe9;font-size:12px;font-weight:950}.settings-token span,.settings-pattern-example span{overflow-wrap:anywhere;color:#182235;font-size:12px;font-weight:900}.settings-token small{color:#63738d;font-size:11px;font-weight:800}.settings-pattern-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.settings-pattern-example{background:#ffffff94}.settings-pattern-example strong{color:#182235;font-size:12px;font-weight:950}.access-row strong,.access-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.access-row strong{color:#172033;font-size:14px}.access-row small,.access-row span{color:#63738d;font-size:12px;font-weight:800}.access-actions{display:flex;justify-content:flex-end;gap:6px}.danger-icon{color:#a5163d}.audit-filters{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(180px,1fr) minmax(220px,2fr) minmax(130px,.8fr) minmax(130px,.8fr);gap:10px;align-items:end}.audit-list{display:grid;gap:8px}.audit-event{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;border-radius:14px;padding:12px;background:#ffffff94}.audit-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;color:#245ee8;background:#e5f0ffdb}.audit-main{display:grid;min-width:0;gap:6px}.audit-title strong{color:#172033;font-size:14px}.audit-title span,.audit-meta,.audit-main p{color:#63738d;font-size:12px;font-weight:800}.audit-meta{flex-wrap:wrap}.audit-meta span{border-radius:999px;padding:4px 8px;background:#ffffffb8}.audit-main p{margin:0;overflow-wrap:anywhere}.placeholder{min-height:320px;display:grid;align-content:center;justify-items:center;text-align:center}.placeholder .icon{width:44px;height:44px;color:#315fe9}.placeholder p{max-width:460px;margin:10px 0 0;color:#63738d;font-weight:700;line-height:1.55}.loading-screen{display:grid;place-items:center;gap:14px;color:#52627e;font-weight:900}.spinner{width:44px;height:44px;border:3px solid rgba(49,95,233,.18);border-top-color:#315fe9;border-radius:50%;animation:spin .8s linear infinite}.skeleton-stack{display:grid;gap:12px}.skeleton-stack div{min-height:74px;border-radius:20px;background:linear-gradient(90deg,#ffffff59,#fffc,#ffffff59);background-size:220% 100%;animation:shimmer 1.2s infinite}@keyframes rise-in{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes shimmer{to{background-position-x:-220%}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes side-nav-tooltip-in{0%{opacity:0;transform:translate(-6px,-50%)}to{opacity:1;transform:translateY(-50%)}}@media(max-width:1100px){.dashboard-grid,.canvas-layout,.audit-filters,.analytics-filters,.analytics-metrics,.manager-table .analytics-detail-row,.daily-table .analytics-detail-row,.linked-table .analytics-detail-row,.completed-table .analytics-detail-row,.access-toolbar,.access-row{grid-template-columns:1fr}.detail-panel{position:static;max-height:none;overflow:visible}.canvas-list{max-height:none;overflow:visible}}@media(max-width:760px){.workspace,.workspace.side-nav-collapsed{grid-template-columns:1fr;padding:12px}.side-nav{position:sticky;z-index:50;top:8px;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;border-radius:16px;padding:8px;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:auto;transition:none}.side-nav-collapsed .side-nav{width:100%}.side-brand,.side-nav-toggle{display:none}.nav-button{display:grid;width:auto;min-width:76px;height:52px;min-height:52px;place-items:center;gap:2px;border-radius:12px;padding:0 10px;text-align:center}.nav-button span{display:block;max-width:none;overflow:visible;opacity:1;visibility:visible;font-size:10px;text-overflow:clip}.side-nav-collapsed .nav-button{justify-content:center;gap:2px;padding-inline:10px}.topbar{align-items:flex-start;flex-direction:column}.canvas-row{grid-template-columns:22px 58px minmax(0,1fr)}.canvas-row .status-badge{grid-column:3;justify-self:start}.thumb{width:58px}.meta-grid,.modal-grid{grid-template-columns:1fr}}.collage-admin-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:14px;align-items:start}.collage-template-list{display:grid;gap:8px}.collage-template-list-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:4px;align-items:center;border:1px solid rgba(67,85,118,.12);border-radius:14px;padding:9px;text-align:left;background:#ffffffad;cursor:pointer}.collage-template-list-item.active{border-color:#315fe97a;background:#315fe91f}.collage-template-list-thumb{display:grid;place-items:center;overflow:hidden;width:58px;aspect-ratio:7 / 9;border-radius:10px;color:#6d7d98;background:linear-gradient(135deg,#315fe91f,#00a9a61f)}.collage-template-list-thumb img{width:100%;height:100%;object-fit:cover}.collage-template-list-body{display:grid;min-width:0;gap:3px}.collage-template-list-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:14px}.collage-template-list-item span,.collage-template-list-item small{color:#60708c;font-size:12px}.collage-template-list-item em{width:fit-content;border-radius:999px;padding:3px 8px;color:#315fe9;background:#315fe91a;font-size:11px;font-style:normal;font-weight:900}.collage-template-form{min-width:0}.collage-import-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.collage-import-row input[type=file]{min-height:auto;padding:9px 12px}.collage-preview-manager{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:14px;align-items:stretch}.collage-preview-frame{display:grid;place-items:center;overflow:hidden;min-height:190px;border:1px solid rgba(67,85,118,.14);border-radius:14px;color:#6b7890;background:linear-gradient(135deg,#fff,#eef4fb);font-size:12px;font-weight:900}.collage-preview-frame.checkerboard{background:linear-gradient(45deg,rgba(96,112,140,.16) 25%,transparent 25%),linear-gradient(-45deg,rgba(96,112,140,.16) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(96,112,140,.16) 75%),linear-gradient(-45deg,transparent 75%,rgba(96,112,140,.16) 75%),#fff;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.collage-preview-frame img{width:100%;height:100%;object-fit:contain}.collage-preview-controls{display:grid;gap:10px;align-content:start}.collage-preview-controls input[type=file]{min-height:auto;padding:9px 12px}.png-fill-editor{display:grid;gap:14px;border:1px solid rgba(67,85,118,.12);border-radius:14px;background:#ffffffb8;padding:14px}.png-fill-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.png-fill-editor-head h4{margin:0}.png-fill-editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.png-fill-editor-actions .secondary-button,.png-fill-editor-actions .danger-button{min-height:34px;padding:0 11px;font-size:12px}.png-fill-editor-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(210px,260px);gap:14px;align-items:start}.png-fill-editor-surface{position:relative;overflow:hidden;width:min(100%,calc(min(68vh,720px) * var(--png-fill-aspect, .778)));max-width:100%;justify-self:center;border:1px solid rgba(49,95,233,.22);border-radius:8px;background:linear-gradient(rgba(49,95,233,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(49,95,233,.08) 1px,transparent 1px),linear-gradient(45deg,rgba(96,112,140,.14) 25%,transparent 25%),linear-gradient(-45deg,rgba(96,112,140,.14) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(96,112,140,.14) 75%),linear-gradient(-45deg,transparent 75%,rgba(96,112,140,.14) 75%),#fff;background-position:0 0,0 0,0 0,0 8px,8px -8px,-8px 0;background-size:10% 10%,10% 10%,16px 16px,16px 16px,16px 16px,16px 16px;touch-action:none}.png-fill-editor-surface.empty{display:grid;min-height:260px;place-items:center;color:#687894;font-size:12px;font-weight:900}.png-fill-editor-surface img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none}.png-fill-editor-slot-outline{position:absolute;z-index:2;min-width:0;min-height:0;border:1px dashed rgba(21,30,51,.38);border-radius:4px;background:#ffffff14;padding:0}.png-fill-editor-slot-outline.active{border-color:transparent;background:transparent}.png-fill-editor-selection{position:absolute;z-index:4;border:2px solid #315fe9;border-radius:5px;background:#315fe914;box-shadow:0 0 0 9999px #0b122014;cursor:move;touch-action:none}.png-fill-editor-selection-label{position:absolute;left:6px;top:6px;border-radius:999px;background:#172033c7;color:#fff;font-size:11px;font-weight:900;line-height:1;padding:5px 7px;pointer-events:none}.png-fill-editor-handle{position:absolute;width:14px;height:14px;border:2px solid #ffffff;border-radius:50%;background:#315fe9;box-shadow:0 2px 8px #151e3338}.png-fill-editor-handle.handle-nw{left:-8px;top:-8px;cursor:nwse-resize}.png-fill-editor-handle.handle-n{left:50%;top:-8px;transform:translate(-50%);cursor:ns-resize}.png-fill-editor-handle.handle-ne{right:-8px;top:-8px;cursor:nesw-resize}.png-fill-editor-handle.handle-e{right:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}.png-fill-editor-handle.handle-se{right:-8px;bottom:-8px;cursor:nwse-resize}.png-fill-editor-handle.handle-s{left:50%;bottom:-8px;transform:translate(-50%);cursor:ns-resize}.png-fill-editor-handle.handle-sw{left:-8px;bottom:-8px;cursor:nesw-resize}.png-fill-editor-handle.handle-w{left:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}.png-fill-editor-side{display:grid;gap:10px}.png-fill-editor-metrics{display:flex;flex-wrap:wrap;gap:6px}.png-fill-editor-metrics span,.png-fill-editor-scale{border-radius:999px;background:#315fe914;color:#315fe9;font-size:11px;font-weight:900;padding:5px 8px}.png-fill-editor-scale{width:fit-content;color:#687894;background:#60708c1a}.collage-text-summary{display:flex;flex-wrap:wrap;gap:8px;color:#60708c;font-size:12px;font-weight:800}.collage-text-summary span{border-radius:999px;background:#315fe914;padding:5px 10px}.collage-text-fields{display:grid;gap:10px}.collage-font-upload-grid{align-items:end}.collage-font-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.collage-font-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(67,85,118,.12);border-radius:12px;background:#ffffffb8;padding:12px}.collage-font-card.archived{opacity:.64}.collage-font-card strong,.collage-font-card small{display:block}.collage-font-card small{margin-top:4px;color:#687791;font-size:11px;font-weight:750}.collage-font-card small.warning-text{color:#936716}.collage-text-field-card{display:grid;gap:10px;border:1px solid rgba(67,85,118,.12);border-radius:12px;background:#ffffffb8;padding:12px}.collage-text-field-card.invalid{border-color:#ee5c5c61;background:#fff6f6db}.collage-text-field-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.collage-text-field-head strong{color:#172033;font-size:13px}.compact-head{margin:0}.action-row.compact{gap:8px}.inline-toggle{align-self:end;min-height:40px}.collage-slots-table{display:grid;gap:8px;overflow-x:auto}.collage-slots-head,.collage-slot-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(120px,1.1fr) repeat(4,minmax(72px,.65fr)) minmax(82px,.7fr) 42px;gap:6px;align-items:center;min-width:820px}.collage-slots-head{color:#687894;font-size:11px;font-weight:950;text-transform:uppercase}.collage-slot-row input,.collage-slot-row select{min-height:36px;padding:0 10px;font-size:13px}.collage-slot-row.active input,.collage-slot-row.active select{border-color:#315fe96b;box-shadow:0 0 0 3px #315fe914}@media(max-width:980px){.collage-admin-layout,.collage-preview-manager,.png-fill-editor-head,.png-fill-editor-grid{grid-template-columns:1fr}.png-fill-editor-head{display:grid}.png-fill-editor-actions{justify-content:flex-start}}.instructions-shell{min-height:calc(100vh - 124px);overflow:hidden}.instructions-tabs{display:flex;gap:6px;padding:8px;border-bottom:1px solid rgba(67,85,118,.12);background:#f4f7fcc2}.instructions-tabs button{display:grid;min-width:210px;gap:2px;padding:11px 16px;border:1px solid transparent;border-radius:12px;color:#5f6e87;background:transparent;text-align:left;cursor:pointer}.instructions-tabs button:hover{background:#ffffffb3}.instructions-tabs button.active{border-color:#315fe92e;color:#2448b7;background:#fff;box-shadow:0 6px 18px #20386c14}.instructions-tabs span{font-size:13px;font-weight:900}.instructions-tabs small{color:#8793a8;font-size:10px;font-weight:700}.instructions-page{padding:22px;min-height:calc(100vh - 190px)}.instruction-page-head,.instruction-actions,.instruction-status-row,.instruction-list-heading,.collage-instruction-assignment,.instruction-preview-modal header{display:flex;align-items:center;justify-content:space-between;gap:14px}.instruction-page-head h3,.instruction-preview-modal h3{margin:2px 0 4px}.instruction-page-head p:last-child{margin:0;color:#687894}.instruction-filters{display:grid;grid-template-columns:minmax(240px,1fr) 180px 160px;gap:10px;margin:20px 0 14px}.instructions-layout{display:grid;grid-template-columns:minmax(240px,310px) minmax(0,1fr);gap:14px;min-height:620px}.instructions-layout>aside,.instruction-workbench{border:1px solid rgba(67,85,118,.12);border-radius:16px;background:#ffffffb3;overflow:hidden}.instruction-list{display:grid;max-height:720px;overflow-y:auto}.instruction-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;border-top:1px solid rgba(67,85,118,.1);color:#687894;font-size:12px}.instruction-pagination button{width:30px;height:30px;border:1px solid rgba(67,85,118,.14);border-radius:8px;background:#fff}.deleted-canvases-page{min-height:calc(100vh - 110px);border-radius:20px;padding:18px;overflow:auto}.deleted-canvases-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.deleted-canvases-head h3{margin:2px 0 6px;font-size:24px}.deleted-canvases-head>div>p:last-child{max-width:680px;margin:0;color:#687894;font-size:13px;font-weight:700}.deleted-total{display:grid;min-width:104px;border:1px solid rgba(80,100,142,.12);border-radius:16px;padding:10px 14px;text-align:right;background:#ffffff9e}.deleted-total strong{color:#18223a;font-size:26px;line-height:1}.deleted-total span{margin-top:4px;color:#78869e;font-size:11px;font-weight:850;text-transform:uppercase}.deleted-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(5,minmax(130px,1fr)) auto;gap:8px;align-items:end;margin-bottom:14px;border:1px solid rgba(80,100,142,.1);border-radius:16px;padding:12px;background:#ffffff75}.deleted-filters label{display:grid;gap:5px;min-width:0}.deleted-filters label>span{color:#66768f;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.deleted-filters input,.deleted-filters select{min-width:0;min-height:38px;border:1px solid rgba(80,100,142,.14);border-radius:11px;padding:0 10px;color:#253655;background:#ffffffd1;font-size:12px;font-weight:800}.deleted-empty{display:grid;place-items:center;gap:10px;min-height:280px;border:1px dashed rgba(80,100,142,.2);border-radius:18px;color:#78869e;text-align:center;background:#ffffff4d}.deleted-empty strong{color:#253655;font-size:18px}.deleted-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.deleted-card{display:grid;grid-template-columns:150px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid rgba(80,100,142,.12);border-radius:18px;background:#ffffff9e;box-shadow:0 12px 30px #32466e0f}.deleted-preview{position:relative;display:grid;place-items:center;min-height:250px;overflow:hidden;color:#426184;background:linear-gradient(145deg,#315fe921,#00a9a61a)}.deleted-preview img{width:100%;height:100%;object-fit:cover}.deleted-preview>span{font-size:20px;font-weight:950}.deleted-storage-badge{position:absolute;right:8px;bottom:8px;max-width:calc(100% - 16px);border-radius:999px;padding:5px 8px;color:#176245;background:#e2fbeef0;font-size:9px;font-style:normal;font-weight:950;text-align:center;text-transform:uppercase}.deleted-storage-badge.purge_due{color:#805800;background:#fff4d5f2}.deleted-storage-badge.purged{color:#9f1942;background:#ffe7eff2}.deleted-card-body{display:grid;gap:12px;min-width:0;padding:14px}.deleted-card-title,.deleted-card-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.deleted-card-title>div{display:grid;min-width:0;gap:3px}.deleted-card-title strong,.deleted-card-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deleted-card-title strong{color:#18223a;font-size:16px}.deleted-card-title>div>span{color:#78869e;font-size:11px;font-weight:750}.deleted-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:0}.deleted-meta div{display:grid;min-width:0;gap:2px}.deleted-meta dt,.deleted-reason>span{color:#8995aa;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.deleted-meta dd{overflow:hidden;margin:0;color:#34425d;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.deleted-reason{border-radius:12px;padding:9px 10px;background:#f3f6fccc}.deleted-reason p{margin:4px 0 0;color:#34425d;font-size:12px;font-weight:750;line-height:1.35}.deleted-card-footer{align-items:center;margin-top:auto}.restore-state{display:grid;gap:2px}.restore-state strong{color:#1d704e;font-size:12px}.restore-state.unavailable strong{color:#a02a4d}.restore-state span{color:#8290a7;font-size:10px;font-weight:700}.deleted-card-footer .primary-button{min-height:36px;padding:0 12px}.deleted-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;color:#687894;font-size:12px;font-weight:850}.deleted-pagination button{width:36px;min-height:36px;border:1px solid rgba(80,100,142,.14);border-radius:11px;color:#315fe9;background:#ffffffc2;cursor:pointer}.deleted-notice{color:#1d704e;background:#e6faefcc}.restore-summary{display:grid;gap:6px;border-radius:12px;padding:10px;color:#52627e;background:#f3f6fccc;font-size:12px;font-weight:750}@media(max-width:1500px){.deleted-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}.deleted-search{grid-column:span 2}.deleted-grid{grid-template-columns:1fr}}@media(max-width:820px){.deleted-canvases-page{min-height:auto;padding:12px}.deleted-canvases-head,.deleted-card-footer{align-items:stretch;flex-direction:column}.deleted-total{text-align:left}.deleted-filters{grid-template-columns:1fr}.deleted-search{grid-column:auto}.deleted-card{grid-template-columns:100px minmax(0,1fr)}.deleted-preview{min-height:280px}.deleted-meta{grid-template-columns:1fr}}.instruction-list-item{display:grid;gap:8px;padding:15px;border:0;border-bottom:1px solid rgba(67,85,118,.1);background:transparent;color:#172033;text-align:left}.instruction-list-item:hover{background:#315fe90d}.instruction-list-item.active{background:#315fe91a;box-shadow:inset 3px 0 #315fe9}.instruction-list-item small{color:#687894}.instruction-list-heading i{border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal;text-transform:uppercase}.instruction-list-heading i.active{color:#13895b;background:#1fb97a1f}.instruction-list-heading i.draft{color:#946c14;background:#e2a82724}.instruction-tag-row{display:flex;flex-wrap:wrap;gap:5px}.instruction-tag-row em{color:#315fe9;font-size:11px;font-style:normal}.instruction-workbench{padding:18px;overflow:visible}.instruction-workbench form{display:grid;gap:16px}.instruction-metadata{display:grid;gap:12px}.instruction-visibility{color:#687894;font-size:12px}.instruction-tags-editor>span{display:block;color:#687894;font-size:12px;font-weight:800;margin-bottom:6px}.instruction-tag-options{display:flex;flex-wrap:wrap;gap:6px}.instruction-tag-options label,.instruction-tag-options button{border:1px solid rgba(67,85,118,.15);border-radius:999px;background:#fff;padding:6px 10px;color:#52627e;font-size:12px;cursor:pointer}.instruction-tag-options label.selected{border-color:#315fe9;color:#315fe9;background:#315fe914}.instruction-tag-options input{display:none}.instruction-assignment-note{padding:10px 12px;border-radius:10px;background:#315fe914;color:#35435c}.instruction-assignment-note small{margin-left:8px;color:#71809a}.instruction-editor-shell{border:1px solid rgba(67,85,118,.16);border-radius:14px;overflow:hidden;background:#fff}.instruction-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px;border-bottom:1px solid rgba(67,85,118,.12);background:#f7f9fd}.instruction-toolbar button{min-height:32px;padding:0 10px;border:1px solid transparent;border-radius:7px;background:#fff;color:#35435c}.instruction-toolbar button.active{border-color:#315fe9;color:#315fe9;background:#315fe914}.instruction-editor-content .ProseMirror{min-height:280px;padding:22px;outline:none;line-height:1.65;color:#202a3c}.instruction-editor-content .ProseMirror:focus{box-shadow:inset 0 0 0 2px #315fe929}.instruction-editor-content .instruction-variable-chip{display:inline-block;margin:0 2px;padding:1px 6px;border:1px solid rgba(49,95,233,.25);border-radius:999px;background:#315fe914;color:#315fe9;font:600 .84em/1.5 ui-monospace,monospace;white-space:nowrap}.instruction-editor-content img{max-width:min(100%,560px);height:auto;border-radius:10px}.instruction-upload-state{display:flex;align-items:center;gap:8px;padding:9px 14px;border-top:1px solid rgba(67,85,118,.12);color:#52627e;font-size:12px}.instruction-upload-state.error{color:#b43e3e;background:#d23e3e0f}.instruction-upload-state button{margin-left:auto;border:0;background:transparent;color:inherit;font-weight:800}.instruction-editor-content a,.instruction-rendered-preview a{color:#315fe9;text-decoration:underline}.instruction-variable-panel{display:grid;gap:10px;padding:14px;border-top:1px solid rgba(67,85,118,.12);background:#f7f9fd}.instruction-variable-panel>div:first-child{display:flex;align-items:baseline;gap:10px}.instruction-variable-panel small{color:#71809a}.instruction-variable-groups{display:grid;gap:9px}.instruction-variable-groups section>span{display:block;margin-bottom:5px;color:#687894;font-size:11px;font-weight:900;text-transform:uppercase}.instruction-variable-groups section>div{display:flex;flex-wrap:wrap;gap:6px}.instruction-variable-groups button{display:grid;gap:2px;padding:7px 9px;border:1px solid rgba(49,95,233,.2);border-radius:9px;background:#fff;color:#25324a;text-align:left}.instruction-variable-groups code{color:#315fe9;font-size:10px}.instruction-variable-groups i{color:#a16e09;font-size:9px;font-style:normal}.instruction-image-library{display:grid;gap:8px;padding:14px;border-top:1px solid rgba(67,85,118,.12)}.instruction-image-library>div{display:flex;flex-wrap:wrap;gap:10px}.instruction-image-library figure{width:128px;margin:0;border:1px solid rgba(67,85,118,.12);border-radius:9px;overflow:hidden}.instruction-image-library img{width:100%;height:82px;object-fit:cover}.instruction-image-library figcaption{display:flex}.instruction-image-library button{flex:1;border:0;padding:6px;background:#f7f9fd;font-size:10px}.instruction-image-library button.danger{color:#c84646}.instruction-actions{justify-content:flex-end;flex-wrap:wrap;padding-top:4px}.instruction-actions>span{margin-right:auto;color:#71809a;font-size:12px}.instruction-empty{padding:26px 18px;color:#71809a;text-align:center}.instruction-empty.large{display:grid;min-height:500px;place-items:center}.app-toast{position:fixed;z-index:4000;right:24px;bottom:24px;display:flex;align-items:center;gap:12px;max-width:420px;padding:12px 16px;border-radius:11px;color:#fff;box-shadow:0 14px 40px #1f2a443d;animation:toast-in .18s ease-out}.app-toast.ok{background:#17845b}.app-toast.error{background:#bf4141}.app-toast.info{background:#315fe9}.app-toast button{border:0;background:transparent;color:inherit;font-size:20px;line-height:1}.app-toast.exiting{opacity:0;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.instruction-preview-modal{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;padding:22px;border-radius:18px;background:#fff;box-shadow:0 28px 90px #131b2c52}.instruction-preview-modal header button{width:36px;height:36px;border:0;border-radius:50%;background:#f0f3f9;font-size:24px}.instruction-rendered-preview{margin:18px 0;padding:22px;border:1px solid rgba(67,85,118,.12);border-radius:12px;line-height:1.65}.instruction-rendered-preview img{max-width:100%;height:auto}.instruction-preview-modal pre{white-space:pre-wrap;word-break:break-word}.collage-instruction-assignment{align-items:center;padding:12px;border:1px solid rgba(49,95,233,.18);border-radius:12px;background:#315fe90a}.collage-instruction-assignment>div{display:grid;flex:1;gap:4px}.collage-instruction-assignment span{color:#687894;font-size:12px;line-height:1.4}.collage-instruction-assignment button{flex:0 0 auto}.instruction-copy-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0;padding:14px;border:1px solid rgba(49,95,233,.18);border-radius:13px;background:linear-gradient(135deg,#315fe914,#4dbd9812)}.instruction-copy-card>div{display:grid;gap:4px}.instruction-copy-card span{color:#687894;font-size:12px}.instruction-constants-page{background:linear-gradient(180deg,#f8fafef2,#f2f6fcb8)}.instruction-constants-layout{display:grid;gap:16px;margin-top:20px}.instruction-constants-layout.with-form{grid-template-columns:minmax(0,1fr) minmax(330px,420px);align-items:start}.instruction-constant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.instruction-constant-card{display:grid;min-width:0;gap:11px;padding:16px;border:1px solid rgba(67,85,118,.12);border-radius:16px;background:#ffffffe0;box-shadow:0 8px 26px #20386c0e}.instruction-constant-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.instruction-constant-card header>div{display:grid;min-width:0;gap:5px}.instruction-constant-card header strong{color:#26334a;font-size:14px}.instruction-constant-card code,.instruction-constant-preview code{width:fit-content;max-width:100%;overflow:hidden;padding:4px 7px;border-radius:7px;color:#315fe9;background:#315fe914;font-size:11px;text-overflow:ellipsis}.instruction-constant-card header>span{flex:0 0 auto;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.instruction-constant-card header>span.used{color:#315fe9;background:#315fe91a}.instruction-constant-card header>span.free{color:#71809a;background:#71809a1a}.instruction-constant-card p{margin:0;color:#71809a;font-size:11px;line-height:1.45}.instruction-constant-card pre{min-height:56px;max-height:150px;margin:0;overflow:auto;padding:11px;border-radius:10px;color:#35435c;background:#f5f7fb;font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;white-space:pre-wrap;word-break:break-word}.instruction-constant-card footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.instruction-constant-card footer button{min-height:34px;padding:0 10px;font-size:10px}.instruction-constant-zero{grid-column:1 / -1;display:grid;min-height:390px;place-items:center;align-content:center;gap:8px;border:1px dashed rgba(67,85,118,.18);border-radius:18px;color:#71809a;background:#ffffff9e;text-align:center}.instruction-constant-zero>div{display:grid;width:58px;height:58px;place-items:center;border-radius:17px;color:#315fe9;background:#315fe91a;font:900 20px ui-monospace,monospace}.instruction-constant-zero strong{color:#29364d;font-size:16px}.instruction-constant-zero span{max-width:390px;font-size:12px}.instruction-constant-zero button{margin-top:6px}.instruction-constant-form{position:sticky;top:16px;display:grid;gap:13px;padding:18px;border:1px solid rgba(49,95,233,.17);border-radius:18px;background:#fff;box-shadow:0 18px 45px #20386c1c}.instruction-constant-form header,.instruction-constant-form footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.instruction-constant-form h4{margin:2px 0 0;font-size:18px}.instruction-constant-form header>button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;color:#52627e;background:#f0f3f9;font-size:22px;cursor:pointer}.instruction-constant-form label{display:grid;gap:6px}.instruction-constant-form label>span{color:#5f6e87;font-size:11px;font-weight:850}.instruction-constant-form label i{color:#9aa4b5;font-size:9px;font-style:normal}.instruction-constant-form textarea{resize:vertical;line-height:1.5}.constant-key-field{display:flex;align-items:center;overflow:hidden;border:1px solid rgba(67,85,118,.18);border-radius:10px;background:#fff}.constant-key-field:focus-within{border-color:#315fe9;box-shadow:0 0 0 3px #315fe91a}.constant-key-field>span{padding-left:11px;color:#8793a8;font:700 12px ui-monospace,monospace}.constant-key-field input{border:0;box-shadow:none;padding-left:2px;font-family:ui-monospace,monospace}.constant-key-field input:focus{box-shadow:none}.constant-key-field input[readonly]{color:#71809a;background:#f7f9fc}.constant-form-hint{margin-top:-7px;color:#8793a8;font-size:10px;line-height:1.4}.constant-form-hint code{color:#315fe9}.instruction-constant-preview{display:grid;gap:6px;padding:11px;border-radius:11px;background:#315fe90e}.instruction-constant-preview>span{color:#5f6e87;font-size:10px;font-weight:850}.instruction-constant-preview small{color:#8793a8;font-size:9px}.instruction-constant-form footer{justify-content:flex-end;padding-top:3px}@media(max-width:1100px){.instructions-layout{grid-template-columns:1fr}.instruction-list{max-height:280px}.instruction-constants-layout.with-form{grid-template-columns:1fr}.instruction-constant-form{position:static;grid-row:1}}@media(max-width:700px){.instructions-page{padding:14px}.instruction-page-head,.instruction-status-row,.collage-instruction-assignment,.instruction-copy-card{align-items:stretch;flex-direction:column}.instruction-filters{grid-template-columns:1fr}.instruction-actions>button{flex:1 1 44%}.instruction-constant-list{grid-template-columns:1fr}.instruction-constant-card footer button{flex:1 1 42%}}@media(prefers-reduced-motion:reduce){.side-nav,.side-brand span,.nav-button span,.side-nav-toggle span{transition:none}.side-nav-tooltip,.app-toast{animation:none}.app-toast.exiting{transform:none;transition:opacity .01ms linear}}.product-assignments-page{display:grid;gap:16px;padding:22px;background:linear-gradient(180deg,#f8fafef5,#f0f5fcb3)}.product-assignments-head,.assignment-toolbar,.assignment-save-bar,.assignment-focus-note{display:flex;align-items:center;justify-content:space-between;gap:16px}.product-assignments-head h4{margin:2px 0 5px;color:#172033;font-size:21px}.product-assignments-head p:last-child{max-width:720px;margin:0;color:#687894;line-height:1.45}.product-completeness{display:grid;min-width:170px;gap:2px;padding:12px 14px;border-radius:14px;text-align:right}.product-completeness strong{font-size:18px}.product-completeness span{font-size:10px;font-weight:800}.product-completeness.ready{color:#14704d;background:#25b5771c}.product-completeness.warning{color:#936716;background:#e7ae2d24}.assignment-marketplaces,.assignment-product-types{display:flex;gap:9px}.assignment-marketplaces button,.assignment-product-types button{border:1px solid rgba(67,85,118,.13);border-radius:13px;color:#52627e;background:#ffffffb3;cursor:pointer}.assignment-marketplaces button{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 13px 6px 8px;font-weight:850}.assignment-marketplaces button.active,.assignment-product-types button.active{border-color:#315fe96b;color:#2448b7;background:#fff;box-shadow:0 8px 22px #20386c1a}.marketplace-logo{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;color:#fff;font-size:10px;font-weight:950}.marketplace-logo.wb{background:linear-gradient(135deg,#9b2dc1,#ed2d89)}.marketplace-logo.ozon{background:#1267ed}.assignment-product-types button{display:grid;flex:1;gap:3px;padding:12px 15px;text-align:left}.assignment-product-types strong{font-size:13px}.assignment-product-types span{color:#8793a8;font-size:10px;font-weight:700}.assignment-default-card{display:grid;grid-template-columns:auto minmax(240px,1fr) minmax(260px,360px);align-items:center;gap:14px;padding:16px;border:1px solid rgba(49,95,233,.2);border-radius:16px;background:linear-gradient(135deg,#315fe917,#62c5a814)}.assignment-default-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;color:#fff;background:#315fe9;font-weight:900}.assignment-default-card>div:nth-child(2){display:grid;gap:3px}.assignment-default-card>div span{color:#687894;font-size:11px}.assignment-default-card label,.assignment-variant-card label{display:grid;gap:5px}.assignment-default-card select,.assignment-variant-card input,.assignment-variant-card select{min-width:0;width:100%}.assignment-toolbar{margin-top:4px}.assignment-toolbar>div{display:grid;gap:2px}.assignment-toolbar span{color:#8793a8;font-size:11px;font-weight:750}.assignment-incomplete-filter{display:flex;align-items:center;gap:7px;color:#52627e;font-size:11px;font-weight:800}.assignment-incomplete-filter input{width:16px;height:16px}.assignment-focus-note{padding:10px 12px;border-radius:11px;color:#35435c;background:#315fe917;font-size:11px;font-weight:750}.assignment-focus-note button{border:0;color:#315fe9;background:transparent;font-weight:900;cursor:pointer}.assignment-variant-list{display:grid;gap:9px}.assignment-variant-card{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(220px,.9fr) minmax(260px,1fr) minmax(140px,.4fr);align-items:start;gap:12px;padding:13px;border:1px solid rgba(67,85,118,.12);border-radius:15px;background:#ffffffe0;box-shadow:0 6px 20px #20386c0b}.assignment-variant-card.incomplete{border-color:#da9b2540}.assignment-variant-card label>span{color:#7b889f;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.assignment-variant-card input,.assignment-variant-card select{min-height:38px;padding:0 10px;font-size:11px}.assignment-variant-identity{display:flex;align-items:center;gap:10px;min-width:0;padding-top:2px}.assignment-variant-identity>div{display:grid;min-width:0;gap:3px}.assignment-variant-identity strong{overflow:hidden;color:#27344b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.assignment-variant-identity span:last-child{overflow:hidden;color:#8793a8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.assignment-product-mark{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border-radius:11px;color:#315fe9;background:#315fe91a;font-size:12px;font-weight:950}.assignment-source{font-size:9px;font-weight:850}.assignment-source.own{color:#315fe9}.assignment-source.inherited{color:#728097}.assignment-field-error{color:#ba3b3b;font-size:9px;font-weight:800}.assignment-status{display:flex;align-items:center;gap:6px;align-self:center;padding:8px 9px;border-radius:10px;font-size:9px;font-weight:900}.assignment-status i{display:grid;width:19px;height:19px;place-items:center;border-radius:50%;font-style:normal}.assignment-status.ready{color:#14704d;background:#25b5771a}.assignment-status.ready i{color:#fff;background:#23a971}.assignment-status.warning{color:#936716;background:#e7ae2d21}.assignment-status.warning i{color:#fff;background:#d79d25}.assignment-load-error{display:grid;justify-items:start;gap:7px;padding:24px;border:1px solid rgba(191,65,65,.18);border-radius:14px;color:#993a3a;background:#bf41410f}.assignment-load-error span{font-size:11px}.assignment-save-bar{position:sticky;z-index:10;bottom:0;margin:4px -22px -22px;padding:14px 22px;border-top:1px solid rgba(67,85,118,.13);background:#fffffff0;box-shadow:0 -10px 30px #20386c12;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.assignment-save-bar>div{display:grid;gap:2px}.assignment-save-bar span{color:#8793a8;font-size:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@media(max-width:1380px){.assignment-variant-card{grid-template-columns:minmax(200px,1fr) minmax(190px,.9fr) minmax(220px,1fr) minmax(130px,.5fr)}.assignment-status{justify-self:stretch}}@media(max-width:820px){.instructions-tabs button{min-width:0;flex:1;padding:10px}.instructions-tabs small{display:none}.product-assignments-page{padding:14px}.product-assignments-head,.assignment-toolbar,.assignment-save-bar{align-items:stretch;flex-direction:column}.product-completeness{min-width:0;text-align:left}.assignment-product-types{display:grid;grid-template-columns:repeat(3,1fr)}.assignment-product-types span{display:none}.assignment-default-card{grid-template-columns:auto 1fr}.assignment-default-card label{grid-column:1 / -1}.assignment-variant-card{grid-template-columns:1fr}.assignment-save-bar{margin:4px -14px -14px;padding:12px 14px}}
