:root { --pix-mint: #43c995; --pix-mint-dark: #25b57f; --pix-ink: #182026; }
body { background: #f5f9f7; color: var(--pix-ink); }
.btn-primary { --tblr-btn-bg: var(--pix-mint-dark); --tblr-btn-border-color: var(--pix-mint-dark); }
.brand-lockup { display: flex; align-items: center; justify-content: center; gap: .55rem; font-size: 1.65rem; }
.brand-lockup small, .navbar-brand small { font-size: .72rem; opacity: .65; margin-left: .25rem; }
.brand-icon { width: 2.4rem; height: 2.4rem; border-radius: .8rem; display: inline-grid; place-items: center; background: var(--pix-mint); color: white; font-size: 1.5rem; }
.brand-icon.small { width: 2rem; height: 2rem; border-radius: .65rem; font-size: 1.1rem; }
.navbar-vertical { background: linear-gradient(180deg, #17392f 0%, #0e211c 100%); }
.nav-link-icon { width: 1.5rem; font-size: 1.2rem; }
.stat-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 1rem; font-size: 1.35rem; background: #e8f9f2; color: var(--pix-mint-dark); }
.asset-card img { height: 170px; object-fit: cover; background: repeating-conic-gradient(#eef2f0 0 25%, #fff 0 50%) 50% / 18px 18px; }
.asset-card .badge { position: absolute; top: .7rem; right: .7rem; }
.canvas-wrap { min-height: 620px; display: grid; place-items: center; background: #edf3f0; overflow: auto; }
#template-canvas { width: 405px; height: 540px; position: relative; overflow: hidden; border-radius: 18px; background: #f2faf5; box-shadow: 0 18px 50px rgba(20, 45, 37, .18); user-select: none; }
.canvas-layer { position: absolute; box-sizing: border-box; transform-origin: center; cursor: grab; touch-action: none; overflow: hidden; }
.canvas-layer.selected { outline: 2px solid var(--pix-mint); outline-offset: 2px; }
.canvas-layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.canvas-layer.text-layer { white-space: pre-line; font-family: ui-serif, STKaiti, serif; font-weight: 600; line-height: 1.35; overflow: visible; }
.canvas-layer.ticket-layer { background: #f2ffe9; border-radius: 10px; box-shadow: 0 7px 18px rgba(32, 65, 54, .2); padding: 10px; font-family: Georgia, serif; }
.ticket-layer strong { display: block; font-size: 17px; }.ticket-layer small { display: block; border-top: 1px dashed #9ccbb8; margin-top: 7px; padding-top: 6px; }
.layer-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.modal.show { display: block; background: rgba(12, 29, 24, .52); }
.template-item.active { border-left: 3px solid var(--pix-mint); background: #eefaf5; }
.banner-nav-icon { height: 1rem; border: 2px solid currentColor; border-radius: .35rem; position: relative; }
.banner-nav-icon::after { content: ''; position: absolute; left: .2rem; right: .2rem; bottom: .18rem; height: .2rem; border-radius: 1rem; background: currentColor; }
.banner-cover { height: 190px; object-fit: cover; background: #edf5f1; }
.banner-built-in { display: grid; place-items: center; color: #567066; background: linear-gradient(135deg, #e7fbf2, #e8f5ff); }
.banner-title-preview { white-space: pre-line; }
@media (max-width: 991px) { #template-canvas { width: 324px; height: 432px; } .canvas-wrap { min-height: 490px; } }
