
:root{
  --esviv-primary:#111827;
  --esviv-accent:#8b1e3f;
  --esviv-soft:#f5f3f4;
  --esviv-border:#ddd6d8;
  --esviv-text:#1f2937;
  --esviv-muted:#6b7280;
}
.esviv-shell,.esviv-home{max-width:1160px;margin:0 auto;padding:24px 16px;color:var(--esviv-text);}
.esviv-hero{background:linear-gradient(135deg,#111827,#2b3446);color:#fff;border-radius:20px;padding:40px 28px;box-shadow:0 18px 40px rgba(0,0,0,.12);margin-bottom:24px}
.esviv-hero h1{font-size:2.2rem;line-height:1.1;margin:0 0 12px}
.esviv-hero p{max-width:760px}
.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:#f0d6dd;font-size:.8rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.esviv-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.esviv-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.esviv-columns{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.esviv-card{background:#fff;border:1px solid var(--esviv-border);border-radius:18px;padding:20px;box-shadow:0 8px 22px rgba(17,24,39,.05)}
.esviv-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.esviv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.esviv-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.esviv-grid .full{grid-column:1/-1}
.esviv-grid label{display:flex;flex-direction:column;gap:8px;font-size:.96rem}
.esviv-grid input,.esviv-grid textarea,.esviv-grid select{width:100%;padding:12px 13px;border:1px solid var(--esviv-border);border-radius:12px;background:#fff}
.esviv-grid textarea{min-height:110px}
.esviv-editor{min-height:580px !important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.esviv-btn,.wp-block-button__link{
  display:inline-block;background:var(--esviv-accent);color:#fff !important;text-decoration:none;border:none;
  border-radius:12px;padding:12px 16px;cursor:pointer;font-weight:600
}
.esviv-btn.secondary{background:#fff;color:var(--esviv-primary)!important;border:1px solid var(--esviv-border)}
.esviv-badge{display:inline-flex;align-items:center;background:#f6e8ec;color:#7a1737;border:1px solid #e8c5d0;padding:6px 10px;border-radius:999px;font-size:.84rem}
.esviv-notice{border-radius:14px;padding:14px 16px;margin-bottom:16px;background:#f3f4f6;border:1px solid #e5e7eb}
.esviv-notice.ok{background:#ecfdf5;border-color:#bbf7d0}
.esviv-notice.error{background:#fef2f2;border-color:#fecaca}
.esviv-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.esviv-preview{white-space:pre-wrap;background:#0f172a;color:#e5e7eb;padding:18px;border-radius:16px;overflow:auto;font-size:.92rem}
.esviv-actions{display:flex;gap:12px;flex-wrap:wrap}
.esviv-detail{border:1px solid var(--esviv-border);border-radius:14px;padding:0;margin:0 0 12px;background:#fff}
.esviv-detail summary{padding:14px 16px;cursor:pointer;font-weight:600}
.esviv-detail pre{margin:0;border-top:1px solid var(--esviv-border);border-radius:0 0 14px 14px}
.esviv-machotes{display:grid;gap:12px}
.esviv-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media (max-width: 900px){
  .esviv-columns,.esviv-grid.compact,.esviv-grid{grid-template-columns:1fr}
  .esviv-hero h1{font-size:1.8rem}
}
