
:root{
  --ecx-bg:#f6f3ee;
  --ecx-surface:#fffdf9;
  --ecx-surface-2:#ffffff;
  --ecx-border:rgba(42,33,24,.10);
  --ecx-border-strong:rgba(42,33,24,.16);
  --ecx-text:#2b2118;
  --ecx-muted:#75695e;
  --ecx-primary:#8b5e34;
  --ecx-accent:#d97706;
  --ecx-success:#1f7a52;
  --ecx-info:#2563eb;
  --ecx-radius:18px;
  --ecx-radius-lg:28px;
  --ecx-shadow:0 16px 48px rgba(42,33,24,.08);
  --ecx-shadow-soft:0 10px 28px rgba(42,33,24,.06);
}
html.ec-light, html.theme-light{
  color-scheme:light;
}
body.ec-vnext-ready{
  background-image:
    radial-gradient(700px 340px at 0% 0%, rgba(217,119,6,.09), transparent 54%),
    radial-gradient(800px 420px at 100% 0%, rgba(31,122,82,.07), transparent 58%);
}
.ecx-glass,
.ecx-panel,
.ec-vnext-page .card,
.ec-vnext-page .panel,
.ec-vnext-page .hero,
.ec-vnext-page .kpi,
.ec-vnext-page .widget,
.ec-vnext-page .box{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--ecx-shadow-soft);
}
.ecx-top-strip{
  position:sticky; top:0; z-index:998;
  margin:0 auto;
  width:min(1320px, calc(100% - 24px));
  transform: translateY(10px);
}
.ecx-top-strip__inner{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding:12px 16px; border-radius:999px; background:rgba(255,253,249,.88);
  border:1px solid var(--ecx-border); box-shadow: var(--ecx-shadow-soft);
}
.ecx-top-strip__meta{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.ecx-chip{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; border:1px solid var(--ecx-border); background:#fff; color:var(--ecx-text); font-size:12px; font-weight:800}
.ecx-chip strong{font-weight:900}
.ecx-chip--accent{background:linear-gradient(135deg, rgba(139,94,52,.10), rgba(217,119,6,.10)); border-color:rgba(139,94,52,.18)}
.ecx-actions{display:flex; gap:10px; flex-wrap:wrap}
.ecx-btn{display:inline-flex; align-items:center; gap:9px; padding:10px 14px; border-radius:14px; border:1px solid var(--ecx-border); background:#fff; color:var(--ecx-text); text-decoration:none; font-weight:800; cursor:pointer}
.ecx-btn:hover{transform:translateY(-1px); box-shadow:var(--ecx-shadow-soft)}
.ecx-btn--primary{background:linear-gradient(135deg, #3c2a1e, #6f4a2d); color:#fff; border-color:transparent}
.ecx-fab{position:fixed; right:18px; bottom:18px; z-index:1200; width:58px; height:58px; border-radius:50%; border:none; background:linear-gradient(135deg, #3c2a1e, #8b5e34); color:#fff; box-shadow:0 18px 40px rgba(42,33,24,.24); cursor:pointer}
.ecx-drawer-backdrop{position:fixed; inset:0; background:rgba(17,12,9,.34); z-index:1298; opacity:0; pointer-events:none; transition:.2s ease}
.ecx-drawer{position:fixed; top:0; right:0; height:100vh; width:min(410px, 94vw); background:linear-gradient(180deg, #fffdf9, #f6efe6); border-left:1px solid var(--ecx-border); box-shadow:-10px 0 40px rgba(42,33,24,.14); z-index:1299; transform:translateX(105%); transition:.24s ease; display:flex; flex-direction:column}
.ecx-drawer.open{transform:translateX(0)}
.ecx-drawer-backdrop.open{opacity:1; pointer-events:auto}
.ecx-drawer__head{padding:20px 18px 14px; border-bottom:1px solid var(--ecx-border)}
.ecx-drawer__head h3{margin:0; font-size:22px; color:var(--ecx-text)}
.ecx-drawer__head p{margin:8px 0 0; color:var(--ecx-muted); line-height:1.45}
.ecx-drawer__body{padding:16px 18px 22px; overflow:auto; display:grid; gap:18px}
.ecx-action-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.ecx-action-card{padding:14px; border-radius:18px; border:1px solid var(--ecx-border); background:#fff; text-decoration:none; color:var(--ecx-text); box-shadow:var(--ecx-shadow-soft)}
.ecx-action-card:hover{transform:translateY(-2px)}
.ecx-action-card b{display:block; font-size:14px; margin-top:8px}
.ecx-action-card span{display:block; font-size:12px; color:var(--ecx-muted); margin-top:5px; line-height:1.45}
.ecx-list{display:grid; gap:10px}
.ecx-list a{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid var(--ecx-border); border-radius:14px; background:#fff; color:var(--ecx-text); text-decoration:none; font-weight:700}
.ecx-list a small{color:var(--ecx-muted); font-weight:600}
.ecx-kicker{display:inline-flex; align-items:center; gap:8px; padding:7px 11px; border-radius:999px; border:1px solid rgba(139,94,52,.18); background:rgba(139,94,52,.07); color:#6f4a2d; font-size:12px; font-weight:900; letter-spacing:.02em}
.ecx-section-title{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px}
.ecx-section-title h2, .ecx-section-title h3{margin:0}
.ecx-highlight-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px}
.ecx-highlight{padding:16px; border-radius:18px; background:#fff; border:1px solid var(--ecx-border); box-shadow:var(--ecx-shadow-soft)}
.ecx-highlight .label{color:var(--ecx-muted); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em}
.ecx-highlight .value{font-size:26px; font-weight:900; color:var(--ecx-text); margin-top:6px}
.ecx-highlight .meta{font-size:12px; color:var(--ecx-muted); margin-top:6px}
.ec-vnext-page .btn, .ec-vnext-page button.btn, .ec-vnext-page a.btn{
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ec-vnext-page .btn:hover, .ec-vnext-page button.btn:hover, .ec-vnext-page a.btn:hover{
  transform: translateY(-1px); box-shadow: var(--ecx-shadow-soft);
}
.ec-vnext-page .hero, .ec-vnext-page header, .ec-vnext-page .header:first-of-type{
  box-shadow: var(--ecx-shadow);
}
.ec-vnext-page table thead th{position:sticky; top:0; background:rgba(255,255,255,.96)}
.ecx-command{width:100%; padding:12px 14px; border-radius:14px; border:1px solid var(--ecx-border-strong); background:#fff; font:inherit}
.ecx-command:focus{outline:none; box-shadow:0 0 0 4px rgba(217,119,6,.12); border-color:rgba(139,94,52,.35)}
.ecx-note{padding:12px 14px; border-radius:16px; border:1px solid rgba(37,99,235,.16); background:rgba(37,99,235,.06); color:#1e3a8a; font-size:13px; line-height:1.5}
@media (max-width: 980px){
  .ecx-highlight-grid{grid-template-columns:1fr 1fr}
  .ecx-top-strip{width:calc(100% - 16px); transform:translateY(8px)}
}
@media (max-width: 720px){
  .ecx-highlight-grid,.ecx-action-grid{grid-template-columns:1fr}
  .ecx-top-strip__inner{border-radius:20px; padding:12px}
  .ecx-chip{font-size:11px}
}
