/* PLEVIX Faktúry v23 – VIXI dizajnér a úplný ekosystém */
.ecosystem-tools{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.ecosystem-tool b{font-size:10px!important}.ecosystem-tool i{font-size:14px!important}
.vixi-template-designer{margin:12px 0 4px;padding:16px;border:1px solid #dcdff5;border-radius:18px;background:linear-gradient(145deg,#fff,#f5f3ff);box-shadow:0 14px 38px #312e8110}
.vixi-template-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.vixi-template-head span{display:block;color:#6558d9;font-size:10px;font-weight:950;letter-spacing:.12em}.vixi-template-head h4{margin:4px 0 3px;font-size:16px}.vixi-template-head p{margin:0;color:#667085;font-size:10px;line-height:1.55}.vixi-template-badge{padding:7px 9px;border-radius:999px;background:#ede9fe;color:#5b21b6;font-size:10px;font-weight:900;white-space:nowrap}
.vixi-template-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:13px}.vixi-template-form textarea{min-height:74px;resize:vertical;margin:0}.vixi-template-form button{align-self:stretch;min-width:150px}.vixi-template-status{min-height:18px;margin:8px 2px 0;color:#635b8d;font-size:10px}.vixi-template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
.custom-template-card{position:relative;display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0e3ee;border-radius:14px;background:#fff;cursor:pointer}.custom-template-card:hover{border-color:#a5b4fc;box-shadow:0 10px 24px #4338ca12}.custom-template-card.selected{border-color:#665cf0;box-shadow:0 0 0 2px #665cf01f}.custom-template-card input{position:absolute;opacity:0}.custom-template-preview{height:58px;border-radius:8px;background:#fff;border:1px solid #e5e7eb;overflow:hidden;position:relative}.custom-template-preview:before{content:'';display:block;height:10px;background:linear-gradient(90deg,var(--ct-accent),var(--ct-secondary))}.custom-template-preview:after{content:'';position:absolute;left:7px;right:7px;top:20px;height:26px;background:repeating-linear-gradient(to bottom,#d9deea 0 2px,transparent 2px 8px)}.custom-template-copy b{display:block;font-size:10px}.custom-template-copy small{display:block;margin-top:3px;color:#788196;font-size:10px;line-height:1.35}.custom-template-remove{width:28px;height:28px;padding:0;border-radius:9px;color:#a33;background:#fff1f2;border:1px solid #fecdd3}.custom-template-empty{grid-column:1/-1;padding:14px;border:1px dashed #ccd1e0;border-radius:12px;color:#7b8498;font-size:10px;text-align:center}
.paper.template-custom{--custom-accent:var(--invoice-accent);--custom-secondary:#182033}.paper.template-custom.custom-header-band{border-top:7mm solid var(--custom-accent)}.paper.template-custom .inv-title{color:var(--custom-accent)}.paper.template-custom .paper-total{background:var(--custom-accent);color:#fff}.paper.template-custom .paybox{border-color:color-mix(in srgb,var(--custom-accent) 38%,#d9dee8);background:color-mix(in srgb,var(--custom-accent) 6%,#fff)}.paper.template-custom.custom-heading-uppercase h3{text-transform:uppercase;letter-spacing:.09em;color:var(--custom-accent)}.paper.template-custom.custom-heading-serif .inv-title,.paper.template-custom.custom-heading-serif h3{font-family:Georgia,'Times New Roman',serif}.paper.template-custom.custom-heading-bold .inv-title{font-size:31px;font-weight:950}.paper.template-custom.custom-table-solid .paper-items th{background:var(--custom-accent);color:#fff;border:0}.paper.template-custom.custom-table-soft .paper-items th{background:color-mix(in srgb,var(--custom-accent) 10%,#fff);color:var(--custom-secondary);border-bottom:2px solid var(--custom-accent)}.paper.template-custom.custom-table-minimal .paper-items th{background:transparent;color:var(--custom-secondary);border-bottom:1px solid #d7dce6}.paper.template-custom.custom-density-compact{padding:9mm 11mm}.paper.template-custom.custom-density-compact .inv-title{margin-bottom:10mm}.paper.template-custom.custom-density-compact .paper-items{margin-top:6mm}.paper.template-custom.custom-density-compact .paper-items td{padding:3px 4px;font-size:10px}.paper.template-custom.custom-density-airy{padding:15mm 16mm}.paper.template-custom.custom-density-airy .topcols{gap:22mm}.paper.template-custom.custom-density-airy .paper-items td{padding:9px 6px}
@media(max-width:760px){.vixi-template-head,.vixi-template-form{display:flex;flex-direction:column}.vixi-template-form button{width:100%;min-height:44px}.vixi-template-list{grid-template-columns:1fr}.ecosystem-tools{grid-template-columns:repeat(5,1fr)!important}}
