:root{--red:#ee3537;--red-dark:#c91f2b;--red-soft:#fff0f1;--ink:#15171b;--muted:#707782;--bg:#f3f4f6;--card:#fff;--line:#e7e9ed;--green:#087f5b;--blue:#2457d6;--amber:#c26a00;--sidebar:#111317;--shadow:0 14px 34px rgba(20,25,34,.07)}*{box-sizing:border-box}html{font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}body{margin:0}.app-shell{min-height:100vh;display:grid;grid-template-columns:276px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:linear-gradient(180deg,#111317,#090a0c);color:#fff;padding:24px 18px 17px;display:flex;flex-direction:column;z-index:40;overflow:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;padding:0 7px 23px;border-bottom:1px solid #26292f}.brand-mark{display:grid;place-items:center;width:51px;height:48px;border-radius:14px;background:linear-gradient(145deg,#ff4b4e,#d91f2b);box-shadow:0 10px 24px rgba(238,53,55,.28);font-size:24px;font-weight:1000;letter-spacing:-2px}.brand-copy b{display:block;font-size:18px;letter-spacing:-.4px}.brand-copy em{font-style:normal;font-size:9px;background:#fff;color:#111;border-radius:999px;padding:3px 5px;margin-left:4px;vertical-align:3px}.brand-copy small{display:block;color:#8e949e;font-size:10px;margin-top:4px}.nav-section{display:grid;gap:5px;margin-top:22px}.nav-label{font-size:9px;letter-spacing:.14em;color:#686f79;font-weight:900;padding:0 12px 7px}.nav-link{display:flex;align-items:center;gap:11px;color:#bfc4cc;text-decoration:none;padding:11px 12px;border-radius:11px;font-size:13px;font-weight:750;transition:.18s}.nav-link:hover{background:#1d2026;color:#fff}.nav-link.active{background:linear-gradient(135deg,var(--red),#d82836);color:#fff;box-shadow:0 8px 20px rgba(238,53,55,.22)}.nav-icon{width:19px;height:19px;display:grid;place-items:center}.nav-icon svg{width:19px;height:19px;fill:currentColor}.sidebar-foot{margin-top:auto;border-top:1px solid #282b31;padding:17px 5px 0;display:grid;grid-template-columns:38px 1fr 32px;align-items:center;gap:9px}.user-avatar{width:38px;height:38px;border-radius:11px;background:#292d34;display:grid;place-items:center;font-weight:950}.user-meta{min-width:0}.user-meta b,.user-meta small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-meta b{font-size:12px}.user-meta small{font-size:9px;color:#8e949e;margin-top:4px}.logout{color:#fff;text-decoration:none;background:#24272d;width:31px;height:31px;border-radius:9px;display:grid;place-items:center}.main-content{min-width:0}.topbar{height:86px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:15px 28px;display:flex;align-items:center;gap:13px;position:sticky;top:0;z-index:25}.topbar-title h1{font-size:21px;letter-spacing:-.45px;margin:0}.topbar-title p{font-size:11px;color:var(--muted);margin:5px 0 0}.topbar-right{margin-left:auto}.branch-pill{display:inline-flex;align-items:center;gap:7px;background:#f5f6f8;border:1px solid var(--line);padding:8px 11px;border-radius:999px;font-size:11px;font-weight:850}.branch-pill i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #dff8ef}.branch-pill.global i{background:var(--red);box-shadow:0 0 0 4px #fee4e6}.icon-btn{border:0;background:#111;color:#fff;border-radius:10px;width:38px;height:38px;cursor:pointer}.mobile-menu{display:none}.content{padding:26px 28px 34px}.app-footer{padding:0 28px 24px;color:#9aa0aa;font-size:10px}.grid{display:grid;gap:17px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px}.card.flush{padding:0;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.card-header h2,.card h2{margin:0;font-size:16px;letter-spacing:-.2px}.card-header p{margin:4px 0 0;color:var(--muted);font-size:11px}.stat{position:relative;overflow:hidden;min-height:132px}.stat:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-35px;top:-35px;background:var(--red-soft)}.stat .stat-label{font-size:10px;color:var(--muted);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.stat strong{display:block;font-size:34px;letter-spacing:-1.4px;margin-top:13px}.stat span{display:block;margin-top:7px;color:var(--muted);font-size:10px}.stat.accent{background:linear-gradient(145deg,#ee3537,#ca1f2b);color:#fff;border:0}.stat.accent:after{background:rgba(255,255,255,.1)}.stat.accent .stat-label,.stat.accent span{color:#ffe4e6}.hero-campaign{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;background:linear-gradient(125deg,#15171b 0%,#252932 70%,#ee3537 160%);color:#fff;border:0;overflow:hidden;position:relative}.hero-campaign:after{content:"PRICEPRINT";position:absolute;right:-25px;bottom:-35px;font-size:150px;font-weight:1000;color:rgba(255,255,255,.035);letter-spacing:-15px}.hero-campaign h2{font-size:26px;margin:8px 0}.hero-campaign p{color:#c7cbd2;font-size:12px;line-height:1.7;max-width:650px}.hero-kicker{display:inline-flex;background:var(--red);padding:6px 9px;border-radius:7px;font-size:9px;font-weight:950;letter-spacing:.12em}.hero-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;align-content:center;z-index:1}.hero-metric{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:16px}.hero-metric b{font-size:23px;display:block}.hero-metric small{font-size:9px;color:#bfc4cc}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:16px}.toolbar-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.btn{appearance:none;border:0;border-radius:10px;padding:10px 14px;text-decoration:none;font-weight:850;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.16s;white-space:nowrap}.btn:hover{transform:translateY(-1px);filter:brightness(.98)}.btn-primary{background:linear-gradient(135deg,var(--red),#d42634);color:#fff;box-shadow:0 7px 16px rgba(238,53,55,.2)}.btn-dark{background:#17191d;color:#fff}.btn-light{background:#f6f7f8;color:#222;border:1px solid var(--line)}.btn-danger{background:#ffe7e8;color:#a71924}.btn-success{background:#dff8ef;color:#087454}.btn-sm{padding:7px 10px;font-size:10px}.btn-lg{padding:13px 17px;font-size:13px}.input,.select,.textarea{width:100%;border:1px solid #d9dce1;background:#fff;border-radius:10px;padding:10px 12px;font:inherit;font-size:12px;color:#17191d;outline:none;transition:.15s}.input:focus,.select:focus,.textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(238,53,55,.11)}.textarea{min-height:100px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-group label{display:block;font-size:10px;font-weight:900;color:#424750;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.form-group small{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.5}.form-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.required:after{content:" *";color:var(--red)}.checkbox{width:17px;height:17px;accent-color:var(--red)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:11px}th{background:#f8f9fa;color:#666d77;text-transform:uppercase;font-size:9px;letter-spacing:.07em;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fffafa}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;white-space:nowrap}.badge-green{background:#dff8ef;color:#087454}.badge-gray{background:#eef0f2;color:#5f6670}.badge-red{background:#ffe4e6;color:#b51d29}.badge-blue{background:#e6edff;color:#244db2}.badge-amber{background:#fff0d8;color:#9b5700}.price-old{text-decoration:line-through;color:#737a84}.price-new{font-size:14px;font-weight:950;color:var(--red)}.alert{margin:17px 28px 0;border-radius:12px;padding:12px 14px;font-size:11px;font-weight:750;display:flex;justify-content:space-between;align-items:center;gap:12px}.alert button{border:0;background:transparent;font-size:18px;cursor:pointer;color:inherit}.alert-success{background:#dcf8ec;color:#086b4e}.alert-error{background:#ffe3e5;color:#991b25}.alert-warning{background:#fff1d8;color:#895000}.alert-info{background:#e6edff;color:#1f429c}.empty{text-align:center;padding:44px 18px;color:var(--muted)}.upload-zone{border:2px dashed #cdd1d7;border-radius:16px;padding:30px;text-align:center;background:linear-gradient(180deg,#fcfcfd,#f7f8f9);display:block;cursor:pointer;transition:.15s}.upload-zone:hover,.upload-zone.drag{border-color:var(--red);background:#fff8f8}.upload-zone .upload-icon{width:54px;height:54px;border-radius:16px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;margin:0 auto 12px;font-size:25px}.upload-zone strong{display:block;font-size:15px}.upload-zone span{display:block;color:var(--muted);font-size:10px;margin-top:6px}.help-list{padding-left:18px;color:#565d67;font-size:11px;line-height:1.8}.campaign-card{border:1px solid var(--line);border-radius:15px;padding:17px;position:relative;background:#fff}.campaign-card.latest{border-color:#f0a3aa;box-shadow:0 10px 24px rgba(238,53,55,.08)}.campaign-card .latest-flag{position:absolute;right:12px;top:12px;background:var(--red);color:#fff;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:950}.campaign-card h3{margin:8px 0 6px;font-size:16px}.campaign-meta{display:flex;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:10px}.campaign-actions{display:flex;gap:7px;margin-top:14px}.progress{height:7px;background:#eee;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--red),#ff7779)}.mini-bars{display:grid;gap:12px}.mini-bar-row{display:grid;grid-template-columns:110px 1fr 38px;gap:9px;align-items:center;font-size:10px}.mini-bar-track{height:8px;background:#eef0f2;border-radius:99px;overflow:hidden}.mini-bar-track i{display:block;height:100%;background:var(--red);border-radius:99px}.detail-list{display:grid;gap:10px}.detail-row{display:flex;justify-content:space-between;gap:15px;padding-bottom:10px;border-bottom:1px dashed var(--line);font-size:11px}.detail-row:last-child{border:0}.detail-row span{color:var(--muted)}.login-page{min-height:100vh;background:radial-gradient(circle at 75% 20%,rgba(238,53,55,.24),transparent 32%),linear-gradient(135deg,#08090b,#1c1f25 65%,#4e171c);display:grid;place-items:center;padding:24px}.login-wrap{width:min(920px,100%);display:grid;grid-template-columns:1.1fr .9fr;border-radius:24px;overflow:hidden;box-shadow:0 38px 90px rgba(0,0,0,.42)}.login-visual{background:linear-gradient(135deg,#ee3537,#b91926);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;min-height:580px}.login-visual .big-logo{font-size:86px;font-weight:1000;letter-spacing:-8px}.login-visual h2{font-size:34px;line-height:1.08;margin:0}.login-visual p{font-size:12px;line-height:1.8;color:#ffe4e6}.login-features{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.login-feature{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);border-radius:13px;padding:14px;font-size:10px;font-weight:800}.login-card{background:#fff;padding:48px;display:flex;flex-direction:column;justify-content:center}.login-card h1{font-size:25px;margin:0}.login-card>p{color:var(--muted);font-size:11px;line-height:1.6;margin:8px 0 24px}.login-card .alert{margin:0 0 15px}.login-note{font-size:9px!important;text-align:center;margin-top:18px!important}.pagination{display:flex;gap:6px;margin-top:16px}.pagination a{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#111;text-decoration:none;font-size:10px}.pagination a.active{background:#111;color:#fff}.code{font-family:Consolas,monospace;background:#15171b;color:#fff;border-radius:5px;padding:2px 6px}.sidebar-overlay{display:none}.danger-zone{border-color:#ffd1d4;background:#fffafa}.print-preview-mini{border:2px solid #111;aspect-ratio:210/297;padding:7%;display:flex;flex-direction:column;text-align:center;background:#fff}.print-preview-mini .band{background:var(--red);color:#fff;font-size:13px;font-weight:1000;padding:6px}.print-preview-mini .prod{font-weight:1000;font-size:14px;padding:15px 3px}.print-preview-mini .prices{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;align-items:end}.print-preview-mini .old{text-decoration:line-through;font-size:16px}.print-preview-mini .new{font-size:34px;font-weight:1000;color:var(--red)}@media(max-width:1050px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-290px;width:276px;transition:.2s}.menu-open .sidebar{left:0}.sidebar-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:35}.menu-open .sidebar-overlay{display:block}.mobile-menu{display:grid;place-items:center}.grid-4{grid-template-columns:repeat(2,1fr)}.hero-campaign{grid-template-columns:1fr}.content{padding:22px}.alert{margin-left:22px;margin-right:22px}}@media(max-width:720px){.grid-2,.grid-3,.grid-4,.form-grid,.form-grid-3{grid-template-columns:1fr}.content{padding:14px}.topbar{padding:13px 15px;height:76px}.topbar-right{display:none}.card{padding:15px}.toolbar{align-items:stretch}.toolbar-group{width:100%}.login-wrap{grid-template-columns:1fr}.login-visual{display:none}.login-card{padding:30px;min-height:520px}.hero-campaign h2{font-size:22px}.alert{margin:12px 14px 0}.mini-bar-row{grid-template-columns:80px 1fr 30px}.app-footer{padding:0 14px 20px}}

/* Live print preview - v2.2.6 */
.live-print-preview{margin-top:18px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(180deg,#f8f9fb,#eef1f4);overflow:hidden}.live-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:#fff;border-bottom:1px solid var(--line)}.live-preview-header b{display:block;font-size:12px}.live-preview-header small{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.4}.live-preview-header>span{flex:none;background:#17191d;color:#fff;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:900;letter-spacing:.03em}.live-preview-canvas{padding:15px;display:grid;place-items:center;min-height:280px;background-image:linear-gradient(45deg,rgba(0,0,0,.025) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.025) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.025) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.025) 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}.live-preview-paper{width:100%;max-width:350px;background:#fff;box-shadow:0 13px 34px rgba(24,28,35,.16);display:grid;overflow:hidden;transition:aspect-ratio .2s ease,grid-template-columns .2s ease,grid-template-rows .2s ease;padding:7px;gap:6px}.live-preview-paper.preview-format-a4{aspect-ratio:210/297;grid-template-columns:1fr;grid-template-rows:1fr;max-width:275px}.live-preview-paper.preview-format-a4_4up{aspect-ratio:210/297;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;max-width:275px;padding:6px;gap:5px}.live-preview-paper.preview-format-a5{aspect-ratio:297/210;grid-template-columns:1fr 1fr;grid-template-rows:1fr;max-width:390px;padding:7px;gap:7px}.live-preview-poster{container-type:size;position:relative;min-width:0;min-height:0;border:.45cqw solid #151515;background:#fff;overflow:hidden;display:flex;flex-direction:column;text-align:center;color:#111}.live-preview-poster[hidden]{display:none!important}.live-preview-poster.is-empty{display:block;border:.35cqw dashed #c9cdd3;background:repeating-linear-gradient(135deg,#fafafa,#fafafa 8px,#f4f5f6 8px,#f4f5f6 16px)}.live-preview-poster.is-empty>*{display:none!important}.live-poster-head{flex:none}.live-logo-zone{padding:2.2cqh 3cqw 1.25cqh}.live-logo-zone.slogan-only{padding:1.4cqh 3cqw}.live-logo{display:grid;place-items:center;min-height:4.8cqh}.live-logo img{display:block;max-width:38cqw;max-height:5.6cqh;object-fit:contain}.live-logo strong{font-size:8.4cqw;line-height:.8;font-weight:1000;letter-spacing:-.09em;color:var(--preview-brand)}.live-logo-zone small{display:block;margin-top:.65cqh;font-size:1.55cqw;font-weight:1000;letter-spacing:.09em;line-height:1}.live-campaign-title{background:var(--preview-brand);color:#fff;padding:1.65cqh 2cqw;font-size:7.3cqw;line-height:.94;font-weight:1000;letter-spacing:.01em;text-transform:uppercase}.live-campaign-subtitle{padding:1.1cqh 2cqw;border-bottom:.35cqw solid #111;font-size:2.15cqw;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.live-product-name{display:grid;place-items:center;min-height:12.5cqh;padding:2.1cqh 3cqw 0;font-size:5.7cqw;line-height:1.02;font-weight:1000;text-transform:uppercase;overflow-wrap:anywhere}.live-product-quantity{min-height:2.4cqh;font-size:1.9cqw;font-weight:900;letter-spacing:.06em}.live-barcode-zone{height:9.5cqh;min-height:0;padding:1cqh 12cqw .5cqh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45cqh}.live-barcode-zone i{display:block;width:100%;height:5.4cqh;background:repeating-linear-gradient(90deg,#111 0,#111 .45cqw,transparent .45cqw,transparent .85cqw,#111 .85cqw,#111 1.15cqw,transparent 1.15cqw,transparent 1.65cqw)}.live-barcode-zone span{font-family:Consolas,monospace;font-size:1.55cqw;letter-spacing:.07em;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.live-metrics{margin-top:auto;min-height:34cqh;border-top:.35cqw solid #111;display:grid;grid-template-columns:1fr 1fr}.live-metrics[hidden]{display:none!important}.live-metric{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;align-content:center;gap:.25cqw;padding:1.1cqh 1cqw;border-right:0;border-bottom:.3cqw solid #111;min-width:0;overflow:hidden}.live-metric.is-left{border-right:.3cqw solid #111}.live-metric.is-right{border-right:0}.live-metric[hidden]{display:none!important}.live-metric.is-wide{grid-column:1/-1;border-right:0}.live-metric small{width:100%;font-size:1.55cqw;font-weight:1000;letter-spacing:.08em;line-height:1.1}.live-metric b{font-family:Georgia,serif;font-size:9.6cqw;line-height:.85;letter-spacing:-.055em}.live-metric em{font-family:Georgia,serif;font-style:normal;font-size:3.4cqw;font-weight:1000}.live-metric.live-old b{font-size:8.5cqw}.live-metric.live-old>i{position:absolute;width:70%;height:.35cqw;background:#111;transform:rotate(-18deg)}.live-metric.live-discount{background:#f4f4f4}.live-metric.live-discount b{color:var(--preview-brand)}.live-metric.live-new b{font-size:14.2cqw;color:var(--preview-brand)}.live-poster-footer{flex:none;min-height:5.1cqh;padding:.85cqh 1.2cqw;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;gap:1.2cqw;flex-wrap:wrap;font-size:1.45cqw;line-height:1.15}.live-poster-footer span{opacity:.72}.preview-template-qta_modern .live-preview-poster{border-color:var(--preview-brand)}.preview-template-qta_modern .live-campaign-title,.preview-template-qta_modern .live-poster-footer{background:var(--preview-brand)}.preview-template-qta_modern .live-metric.live-discount{background:var(--preview-brand);color:#fff}.preview-template-qta_modern .live-metric.live-discount b{color:#fff}.preview-template-mono .live-campaign-title,.preview-template-mono .live-poster-footer{background:#111}.preview-template-mono .live-logo strong,.preview-template-mono .live-metric.live-discount b,.preview-template-mono .live-metric.live-new b{color:#111}.preview-format-a4_4up .live-preview-poster,.preview-format-a5 .live-preview-poster{border-width:.35cqw}.preview-format-a4_4up .live-logo-zone,.preview-format-a5 .live-logo-zone{padding:1.5cqh 2cqw .8cqh}.preview-format-a4_4up .live-product-name,.preview-format-a5 .live-product-name{min-height:11cqh}.preview-format-a4_4up .live-metrics,.preview-format-a5 .live-metrics{min-height:33cqh}.live-preview-note{display:flex;align-items:center;gap:7px;padding:10px 14px;background:#fff;border-top:1px solid var(--line);font-size:9px;color:#626974}.live-preview-note .status-dot{width:7px;height:7px;border-radius:50%;background:#20a878;box-shadow:0 0 0 3px rgba(32,168,120,.12)}
@media(max-width:720px){.live-preview-header{align-items:flex-start}.live-preview-header>span{margin-top:1px}.live-preview-canvas{padding:10px;min-height:240px}.live-preview-paper.preview-format-a5{max-width:100%}}

/* Departments + robust live preview - v2.3.0 */
.department-box,.department-filter{border:1px solid var(--line);border-radius:15px;background:#fafafa;padding:14px}.department-box>b,.department-filter-copy>b{display:block;font-size:12px}.department-box>small,.department-filter-copy>small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:4px}.department-options,.department-filter-options{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.department-options label,.department-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px;font-size:11px;font-weight:850;cursor:pointer;transition:.15s}.department-choice>span{display:flex;flex-direction:column;gap:2px}.department-choice small{font-size:8px;color:var(--muted);font-weight:700}.department-choice:has(input:checked){border-color:#17191d;box-shadow:0 5px 16px rgba(20,24,31,.08)}.department-choice.is-disabled{opacity:.45;cursor:not-allowed}.department-filter{margin-bottom:13px;background:linear-gradient(135deg,#fff,#f7f8fa)}.department-filter-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.department-filter-options .department-choice{min-width:0}.department-badges{display:flex;gap:5px;flex-wrap:wrap}.department-badge.department-market,.department-choice.department-market:has(input:checked){background:#e8f8f1;color:#087f5b;border-color:#bfe9d7}.department-badge.department-textile,.department-choice.department-textile:has(input:checked){background:#edf2ff;color:#2457d6;border-color:#cfdafe}.department-badge.department-technical,.department-choice.department-technical:has(input:checked){background:#fff4df;color:#9a5700;border-color:#f3d49c}.live-print-preview [hidden],.live-print-preview .is-hidden{display:none!important}.live-preview-poster.is-empty{display:block!important}@media(max-width:720px){.department-filter-options{grid-template-columns:1fr}.department-choice{width:100%}}
.live-print-preview .live-preview-poster[hidden]{display:none!important}

/* Real renderer live preview - v2.3.4 */
.live-preview-render-canvas{min-height:360px}.live-preview-frame-shell{width:100%;margin:auto;background:#fff;box-shadow:0 14px 36px rgba(24,28,35,.18);overflow:hidden;transition:max-width .2s ease,aspect-ratio .2s ease}.live-preview-frame-shell.preview-format-a4,.live-preview-frame-shell.preview-format-a4_4up{aspect-ratio:210/297;max-width:300px}.live-preview-frame-shell.preview-format-a5{aspect-ratio:297/210;max-width:520px}.live-preview-frame-shell iframe{display:block;width:100%;height:100%;border:0;background:#eef1f4}.live-print-preview .live-preview-note{min-height:38px}@media(max-width:720px){.live-preview-render-canvas{min-height:285px}.live-preview-frame-shell.preview-format-a4,.live-preview-frame-shell.preview-format-a4_4up{max-width:250px}.live-preview-frame-shell.preview-format-a5{max-width:100%}}

/* Exact single-renderer preview - v2.3.5 */
.live-preview-frame-shell{background:#fff}
.live-preview-frame-shell iframe{background:#fff}

/* v2.3.6 - preview uses the exact A4/A4-landscape viewport of generate.php */
.live-preview-frame-shell{position:relative;overflow:hidden}
.live-preview-frame-shell iframe{position:absolute;inset:0 auto auto 0;display:block;border:0;background:#fff;max-width:none;max-height:none;transform-origin:top left}

/* Compact live preview - v2.5.3. Ndryshon vetem madhesine ne panel, jo printimin. */
.live-preview-render-canvas{min-height:300px;padding:12px}
.live-preview-frame-shell.preview-format-a4,
.live-preview-frame-shell.preview-format-a4_4up{max-width:210px}
.live-preview-frame-shell.preview-format-a5{max-width:360px}
@media(max-width:720px){
  .live-preview-render-canvas{min-height:260px;padding:9px}
  .live-preview-frame-shell.preview-format-a4,
  .live-preview-frame-shell.preview-format-a4_4up{max-width:190px}
  .live-preview-frame-shell.preview-format-a5{max-width:320px;width:100%}
}

/* Campaign flyer actions and product editing - v2.6.0 */
.campaign-actions{min-width:290px;align-items:flex-start}.campaign-actions form{margin:0}tr:target{outline:2px solid rgba(238,53,55,.28);outline-offset:-2px;background:#fff7f7}@media(max-width:900px){.campaign-actions{min-width:240px}}

/* Branding: independent logo per workspace; shared PricePrint favicon. */
.brand-mark-image{flex:0 0 54px;width:54px;height:54px;padding:4px;background:#fff;box-shadow:0 5px 14px rgba(0,0,0,.2);border-radius:13px;letter-spacing:normal}
.brand-mark-image img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.brand-copy{min-width:0;flex:1}
.brand-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-copy small{line-height:1.3}
.login-visual .big-logo-image{display:grid;place-items:center;width:115px;height:115px;padding:9px;margin-bottom:8px;border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.16);letter-spacing:normal}
.login-visual .big-logo-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}

.brand-settings-preview{display:grid;grid-template-columns:minmax(0,360px);gap:12px;margin-top:16px}
.brand-settings-preview>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;background:#f8f9fa;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:127px}
.brand-settings-preview span{font-size:10px;font-weight:800;color:#4a515c}
.brand-settings-preview img{width:100%;height:68px;object-fit:contain}
@media(max-width:560px){.brand-settings-preview{grid-template-columns:1fr}}

.brand-mark-custom{flex:0 0 88px;width:88px;height:54px}
.login-visual .big-logo-image.is-company-logo{width:min(235px,100%);height:118px}
