/* LAV Digital · actualización visual premium del panel, editor e inventario */
:root{--lav-ink:#202329;--lav-muted:#777b82;--lav-paper:#f4f2ed;--lav-panel:#fff;--lav-line:#e5e1d8;--lav-bronze:#a77b45}
body:not(.public-card-mode){background:var(--lav-paper)!important;color:var(--lav-ink)}
body:not(.public-card-mode) .topbar{background:rgba(255,255,255,.94);border-bottom:1px solid var(--lav-line);box-shadow:0 5px 24px #25201808;backdrop-filter:blur(16px)}
body:not(.public-card-mode) .brand-mark{background:linear-gradient(145deg,#25282d,#55514a);box-shadow:0 8px 20px #0002}
body:not(.public-card-mode) .brand b{letter-spacing:.16em}
body:not(.public-card-mode) .hero{border:1px solid #d9d2c5;border-radius:26px;background:linear-gradient(125deg,#25282d 0%,#34383d 62%,#544737 100%);box-shadow:0 24px 60px #29251d18;overflow:hidden}
body:not(.public-card-mode) .hero h1{letter-spacing:-.045em;line-height:1.02}
body:not(.public-card-mode) .hero h1 em{color:#d8bd91}
body:not(.public-card-mode) .eyebrow{letter-spacing:.19em}
body:not(.public-card-mode) .stats-grid{gap:14px}
body:not(.public-card-mode) .stat-card,body:not(.public-card-mode) .inventory-card,body:not(.public-card-mode) .editor-panel,body:not(.public-card-mode) .preview-workspace{border:1px solid var(--lav-line);border-radius:18px;background:#fff;box-shadow:0 8px 28px #28231b08}
body:not(.public-card-mode) .stat-card{padding:22px}
body:not(.public-card-mode) .stat-card strong{color:#292b30;font-size:2rem;letter-spacing:-.04em}
body:not(.public-card-mode) .inventory-card{overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
body:not(.public-card-mode) .inventory-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #28231b16}
body:not(.public-card-mode) .inventory-cover{min-height:210px}
body:not(.public-card-mode) .inventory-card-body{padding:20px}
body:not(.public-card-mode) .inventory-title{font-size:1.08rem;letter-spacing:-.02em}
body:not(.public-card-mode) .editor-toolbar{background:#fff;border:1px solid var(--lav-line);border-radius:16px;box-shadow:0 8px 24px #28231b08}
body:not(.public-card-mode) .editor-panel{padding:22px}
body:not(.public-card-mode) .step-tabs{background:#f1efe9;border-radius:13px;padding:5px}
body:not(.public-card-mode) .step-tab{border-radius:9px}
body:not(.public-card-mode) .step-tab.active{background:#292c31;color:#fff;box-shadow:0 4px 12px #0002}
body:not(.public-card-mode) .form-section{border-color:var(--lav-line)}
body:not(.public-card-mode) .field input,body:not(.public-card-mode) .field select,body:not(.public-card-mode) .field textarea,body:not(.public-card-mode) .template-tools input,body:not(.public-card-mode) .template-tools select,.publish-name-dialog input{border:1px solid #dcd8cf;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
body:not(.public-card-mode) .field input:focus,body:not(.public-card-mode) .field select:focus,body:not(.public-card-mode) .field textarea:focus,body:not(.public-card-mode) .template-tools input:focus,body:not(.public-card-mode) .template-tools select:focus,.publish-name-dialog input:focus{outline:none;border-color:#a77b45;box-shadow:0 0 0 3px #a77b451c}
body:not(.public-card-mode) .button-primary{background:linear-gradient(135deg,#282c31,#4a4d50);border-color:#282c31;box-shadow:0 7px 18px #24262a20}
body:not(.public-card-mode) .button-primary:hover{filter:brightness(1.12);transform:translateY(-1px)}
body:not(.public-card-mode) .button-outline,body:not(.public-card-mode) .button-ghost{border-radius:10px}
body:not(.public-card-mode) .file-drop{border:1px dashed #bcb3a4;border-radius:14px;background:#faf9f6}
body:not(.public-card-mode) .template-item{border:1px solid #e4e0d7;border-radius:14px;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
body:not(.public-card-mode) .template-item:hover{transform:translateY(-3px);box-shadow:0 12px 24px #29251d12}
body:not(.public-card-mode) .template-item.selected{border-color:#a77b45;box-shadow:0 0 0 2px #a77b4522}
body:not(.public-card-mode) .template-meta{background:#fff}
body:not(.public-card-mode) .preview-stage{background:radial-gradient(ellipse at center,#e8e4dc 0%,#d9d5cc 65%,#c9c4b9 100%);border-radius:18px}
body:not(.public-card-mode) .preview-heading h2,body:not(.public-card-mode) .section-heading h2{letter-spacing:-.035em}
.publish-name-dialog{width:min(92vw,460px);border:1px solid #e4dfd5;border-radius:20px;padding:0;box-shadow:0 24px 80px #0004}
.publish-name-dialog::backdrop{background:#111820a8;backdrop-filter:blur(4px)}
.publish-name-dialog form{display:grid;gap:12px;padding:28px;background:#fff;border-radius:20px;color:#25282d}
.publish-name-dialog h3{margin:0;font-size:1.55rem;letter-spacing:-.035em}
.publish-name-dialog p,.publish-name-dialog small{color:#74777d;line-height:1.55}
.publish-name-dialog label{font-size:.84rem;font-weight:700}
.publish-name-dialog input{width:100%;padding:13px 14px;font:inherit}
.publish-name-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}
@media(max-width:760px){body:not(.public-card-mode) .hero{border-radius:18px}body:not(.public-card-mode) .editor-panel{padding:14px}body:not(.public-card-mode) .stats-grid{gap:9px}body:not(.public-card-mode) .stat-card{padding:14px}}

/* Biblioteca destacada: las diez plantillas LAV se muestran por separado y siempre visibles. */
.featured-templates-panel{margin:22px 0 28px;padding:22px;border:1px solid #d9d2c5;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f7f4ee 100%);box-shadow:0 12px 34px #29251d0b}
.featured-templates-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.featured-templates-heading h3{margin:5px 0 7px;font-size:clamp(1.35rem,3vw,1.85rem);letter-spacing:-.04em;color:#24272c}
.featured-templates-heading p{margin:0;max-width:620px;color:#70737a;line-height:1.55;font-size:.92rem}
.featured-templates-count{flex:none;padding:8px 11px;border:1px solid #d8c5a8;border-radius:999px;color:#86643b;font-size:.7rem;font-weight:800;letter-spacing:.1em}
.featured-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.featured-template-card{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;text-align:left;border:1px solid #e4dfd5;border-radius:14px;background:#fff;color:#25282d;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.featured-template-card:hover{transform:translateY(-3px);border-color:#b18a58;box-shadow:0 12px 28px #29251d16}
.featured-template-card.selected{border:2px solid #a77b45;box-shadow:0 0 0 3px #a77b4520}
.featured-template-preview{display:block;height:210px;overflow:hidden;background:#e9e6df;pointer-events:none}
.featured-template-preview .digital-card{width:100%;max-width:none;min-height:360px;transform:scale(.72);transform-origin:top center;pointer-events:none}
.featured-template-preview .dc-cover{height:250px!important;min-height:250px!important}
.featured-template-preview .dc-content{padding:14px!important}
.featured-template-preview .dc-section-label,.featured-template-preview .dc-contact{display:none!important}
.featured-template-copy{display:grid;gap:6px;padding:14px 15px 15px}
.featured-template-copy strong{font-size:.92rem;line-height:1.3}
.featured-template-copy small{font-size:.68rem;letter-spacing:.09em;color:#858078;font-weight:750}
.featured-template-choose{margin-top:4px;color:#9a713f;font-size:.78rem;font-weight:800}
@media(min-width:900px){.featured-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1250px){.featured-template-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.featured-template-preview{height:190px}.featured-template-preview .digital-card{transform:scale(.65)}}
@media(max-width:560px){.featured-templates-panel{padding:14px;margin:16px 0;border-radius:15px}.featured-templates-heading{gap:8px}.featured-templates-heading p{font-size:.82rem}.featured-templates-count{font-size:.6rem;padding:7px 8px}.featured-template-grid{gap:9px}.featured-template-preview{height:145px}.featured-template-preview .digital-card{transform:scale(.52)}.featured-template-preview .dc-cover{height:220px!important;min-height:220px!important}.featured-template-copy{padding:10px}.featured-template-copy strong{font-size:.79rem}.featured-template-copy small{font-size:.58rem}.featured-template-choose{font-size:.7rem}}
