/* ============================================================================
   Enterprise layer — loaded LAST on every shell (site, admin, portal, bare).

   app.css and appui.css are fleet files and stay byte-identical, so this file
   re-skins by override only. Every rule is scoped under `body.ent` — the class
   each layout adds to <body> — which gives it the same specificity as the
   `body.admin …` rules in appui.css; loading later then settles every tie.

   Design language: neutral slate surfaces, 1px hairlines, near-flat shadows,
   one brand accent (the client-editable palette's --blue) used sparingly, no
   decorative gradients, compact 36px controls, tabular figures. The palette
   tokens (--sky/--blue/--blue-dark/--sky-soft) are NOT redefined here, so the
   Settings → Brand colour picker keeps working.
   ========================================================================== */

:root, body.ent {
  --ink:#101828; --ink-2:#344054; --ink-3:#667085;
  --muted:#667085; --muted-2:#98a2b3;
  --line:#eaecf0; --line-2:#e4e7ec; --line-3:#d0d5dd;
  --bg:#f9fafb; --bg-2:#f2f4f7; --app-canvas:#f7f8fa;

  --radius-sm:6px; --radius:8px; --radius-lg:10px;
  --r-sm:6px; --r:8px; --r-lg:10px; --r-xl:12px;

  --el-1:0 1px 2px rgba(16,24,40,.05);
  --el-2:0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
  --el-3:0 16px 32px -12px rgba(16,24,40,.18), 0 4px 8px -4px rgba(16,24,40,.06);
  --shadow-sm:var(--el-1); --shadow:var(--el-2); --shadow-lg:var(--el-3);
  --sh-1:var(--el-1); --sh-2:var(--el-2); --sh-3:var(--el-3);

  --ring:0 0 0 3px color-mix(in srgb, var(--blue) 16%, transparent);
  --ctl:36px;
}

/* ---------------------------------------------------------------------------
   0 · Base
   ------------------------------------------------------------------------- */
body.ent{
  font-size:14px; line-height:1.5; color:var(--ink);
  font-feature-settings:"cv11" 1, "ss03" 1;
  text-rendering:optimizeLegibility;
}
body.ent.site{font-size:15px;background:#fff}
body.ent :is(h1,h2,h3,h4,h5){font-weight:650;letter-spacing:-.018em;color:var(--ink)}
body.ent a{color:var(--blue)}
body.ent a:hover{color:var(--blue-dark)}
body.ent ::selection{background:color-mix(in srgb, var(--blue) 18%, transparent)}
body.ent :focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body.ent .muted{color:var(--ink-3)}
body.ent table, body.ent .stat .value, body.ent .stat-box .n, body.ent .price-row .val,
body.ent .trust-strip b, body.ent .num{font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------------------
   1 · Buttons — solid brand primary, hairline secondary, 36px tall
   ------------------------------------------------------------------------- */
body.ent .btn{
  min-height:var(--ctl); padding:0 14px; gap:7px;
  border-radius:var(--r-sm); font-size:13.5px; font-weight:600; line-height:1;
  border:1px solid transparent; box-shadow:none; letter-spacing:0;
  transition:background-color .12s, border-color .12s, color .12s, box-shadow .12s;
}
body.ent .btn i{font-size:16px}
body.ent .btn:active{transform:none}
body.ent .btn-primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:var(--el-1)}
body.ent .btn-primary:hover{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff;filter:none}
body.ent :is(.btn-secondary,.btn-light){background:#fff;border-color:var(--line-3);color:var(--ink-2);box-shadow:var(--el-1)}
body.ent :is(.btn-secondary,.btn-light):hover{background:var(--bg);color:var(--ink);border-color:var(--line-3)}
body.ent .btn-ghost{background:transparent;color:var(--ink-2)}
body.ent .btn-ghost:hover{background:var(--bg-2);color:var(--ink)}
body.ent .btn-success{background:#079455;border-color:#079455;color:#fff}
body.ent .btn-danger{background:#d92d20;border-color:#d92d20;color:#fff}
body.ent .btn-warn{background:#dc6803;border-color:#dc6803;color:#fff}
body.ent :is(.btn-success,.btn-danger,.btn-warn):hover{filter:brightness(.94);color:#fff}
/* `.btn-sm` is used on 160+ controls but was never defined anywhere, so every
   one of them rendered at full size. */
body.ent :is(.btn.sm,.btn.btn-sm){min-height:32px;padding:0 11px;font-size:13px;gap:6px}
body.ent :is(.btn.sm,.btn.btn-sm) i{font-size:15px}
body.ent .btn.lg{min-height:44px;padding:0 20px;font-size:15px}
body.ent .icon-btn{
  width:36px;height:36px;border-radius:var(--r-sm);border:1px solid var(--line-3);
  background:#fff;color:var(--ink-2);font-size:18px;box-shadow:var(--el-1)
}
body.ent .icon-btn:hover{background:var(--bg);color:var(--ink)}
body.ent .icon-btn:active{transform:none}

/* ---------------------------------------------------------------------------
   2 · Forms
   ------------------------------------------------------------------------- */
body.ent :is(input,select,textarea){
  min-height:var(--ctl); padding:7px 11px; font-size:14px; color:var(--ink);
  border:1px solid var(--line-3); border-radius:var(--r-sm); background-color:#fff;
  box-shadow:var(--el-1);
}
body.ent textarea{min-height:88px;line-height:1.5}
body.ent :is(input,select,textarea)::placeholder{color:var(--muted-2)}
body.ent :is(input,select,textarea):focus{border-color:var(--blue);box-shadow:var(--ring);outline:none}
body.ent :is(input[type=checkbox],input[type=radio]){min-height:0;box-shadow:none;accent-color:var(--blue)}
body.ent input[type=file]{padding:5px;min-height:0}
body.ent :is(.form-group,.field) label{font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:5px}
body.ent .form-group{margin-bottom:14px}
body.ent .hint{font-size:12px;color:var(--ink-3)}
/* Toggle switch: red when off, green when on — the state reads at a glance. */
/* The general input rule above gives every <input> a 1px border, 6px corners and
   padding — on a switch that drew a boxed rectangle around the pill. Undo it here. */
body.ent .tgl{-webkit-appearance:none;appearance:none;border:0;border-radius:999px;padding:0;box-shadow:none;
  min-height:0;height:22px;width:38px;flex:none;cursor:pointer;background:#f04438;transition:background-color .15s}
body.ent .tgl::after{width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.25);transition:transform .18s cubic-bezier(.2,.8,.2,1)}
body.ent .tgl:hover{background:#d92d20}
body.ent .tgl:checked{background:#12b76a}
body.ent .tgl:checked:hover{background:#079455}
body.ent .tgl:checked::after{transform:translateX(16px)}
body.ent .tgl:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(16,24,40,.18)}
body.ent .tgl:disabled{opacity:.55;cursor:not-allowed}
/* 16px on phones — anything smaller makes iOS Safari zoom the page on focus. */
@media (max-width:720px){
  body.ent :is(input,select,textarea){font-size:16px;min-height:42px}
  body.ent :is(input[type=checkbox],input[type=radio]):not(.tgl){min-height:0}
  body.ent .btn{min-height:40px}
  body.ent :is(.btn.sm,.btn.btn-sm){min-height:36px}
  body.ent .icon-btn{width:40px;height:40px;min-width:40px;min-height:40px}
}

/* ---------------------------------------------------------------------------
   3 · Surfaces
   ------------------------------------------------------------------------- */
body.ent .card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--el-1);padding:16px
}
@media (min-width:1024px){ body.ent .card{padding:18px 20px} }
body.ent .card.lg{padding:22px;border-radius:var(--r-xl)}
body.ent :is(.card-title,.card h2){font-size:14.5px;font-weight:650;letter-spacing:-.01em}
body.ent .card h3{font-size:14px;font-weight:600}
body.ent .card .sub{font-size:13px;color:var(--ink-3);margin-bottom:12px}
body.ent a.card:hover{border-color:var(--line-3);box-shadow:var(--el-2)}
body.ent a.card:active{transform:none}
body.ent .section-title{font-size:11.5px;font-weight:600;letter-spacing:.06em;color:var(--ink-3);margin:22px 0 8px}
body.ent .divider{background:var(--line)}
body.ent .kv{border-color:var(--line);box-shadow:none;border-radius:var(--r-lg)}
body.ent .kv .v{font-weight:600}
body.ent .empty{padding:36px 16px;color:var(--ink-3);font-size:13.5px}
body.ent .empty i{font-size:28px;color:var(--muted-2);opacity:1;margin-bottom:8px}
body.ent .avatar{background:var(--bg-2);color:var(--ink-2);font-weight:600;box-shadow:none;border:1px solid var(--line)}

/* ---------------------------------------------------------------------------
   4 · Badges, pills, alerts
   ------------------------------------------------------------------------- */
body.ent .badge{
  border-radius:6px;padding:2px 8px;font-size:11.5px;font-weight:600;line-height:1.55;
  box-shadow:inset 0 0 0 1px rgba(16,24,40,.06)
}
body.ent .badge.gray{background:var(--bg-2);color:var(--ink-2)}
body.ent :is(.badge.blue,.badge.sky){background:var(--sky-soft);color:var(--blue)}
body.ent .badge.green{background:#ecfdf3;color:#067647}
body.ent .badge.amber{background:#fffaeb;color:#b54708}
body.ent .badge.red{background:#fef3f2;color:#b42318}
body.ent .due-pill{border-radius:6px;font-weight:600;padding:2px 8px}
body.ent .chip{border-radius:6px;box-shadow:none}
body.ent .msg{
  border-radius:var(--r);box-shadow:none;border:1px solid transparent;
  font-size:13.5px;padding:10px 12px;font-weight:500
}
body.ent .msg.err{background:#fef3f2;border-color:#fecdca;color:#b42318}
body.ent .msg.ok{background:#ecfdf3;border-color:#abefc6;color:#067647}
body.ent .msg.info{background:var(--sky-soft);border-color:color-mix(in srgb,var(--blue) 18%,transparent);color:var(--blue-dark)}
body.ent .msg.warn{background:#fffaeb;border-color:#fedf89;color:#b54708}
body.ent .note{border-radius:var(--r);border:1px solid color-mix(in srgb,var(--blue) 14%,transparent);font-size:13.5px}
body.ent .note.warn{border-color:#fedf89}
body.ent .note.danger{border-color:#fecdca}

/* Environment banners: a slim status strip, not a shouting colour block. */
body.ent :is(.demo-banner,.readonly-banner){
  font-size:12px;font-weight:500;padding:5px 12px;letter-spacing:.01em;border-radius:0
}
body.ent .demo-banner{background:#fffaeb;color:#93370d;border-bottom:1px solid #fedf89}
body.ent .readonly-banner{background:#fef3f2;color:#b42318;border-bottom:1px solid #fecdca}

/* ---------------------------------------------------------------------------
   5 · Metrics
   ------------------------------------------------------------------------- */
body.ent :is(.stat,.stat-box){
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--el-1);padding:14px 16px;color:var(--ink)
}
body.ent .stat .label, body.ent .stat-box .l{font-size:12px;font-weight:500;color:var(--ink-3);margin-top:0}
body.ent .stat .value{font-size:clamp(18px,11cqi,24px);font-weight:650;letter-spacing:-.02em}
body.ent .stat-box{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:6px}
body.ent .stat-box .n{font-size:22px;font-weight:650;letter-spacing:-.02em;line-height:1.15}
body.ent .stat-box.warn .n{color:#b54708}
body.ent .stat-box.danger .n{color:#b42318}
body.ent .stat-box.good .n{color:#067647}
body.ent :is(.stat.accent,.stat-box.accent){background:#fff;border:1px solid var(--line);box-shadow:var(--el-1);color:var(--ink);position:relative;overflow:hidden}
body.ent :is(.stat.accent,.stat-box.accent)::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}
body.ent .stat.accent .value, body.ent .stat-box.accent .n{color:var(--ink)}
body.ent .stat.accent :is(.label,.label i,.meta), body.ent .stat-box.accent .l{color:var(--ink-3)}
body.ent .stat-row{gap:10px}
body.ent a:is(.stat,.stat-box):hover{border-color:var(--line-3);box-shadow:var(--el-2)}
@media (max-width:560px){
  body.ent .stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ent .stat-box{padding:12px 13px}
  body.ent .stat-box .n{font-size:19px}
}

/* ---------------------------------------------------------------------------
   6 · Tables
   ------------------------------------------------------------------------- */
body.ent :is(.table-scroll,.table-wrap){border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;box-shadow:var(--el-1)}
body.ent .card :is(.table-scroll,.table-wrap){box-shadow:none}
body.ent :is(.table,.dtable){font-size:13.5px}
body.ent :is(.table,.dtable) th{
  background:var(--bg);color:var(--ink-3);font-size:11.5px;font-weight:600;
  text-transform:uppercase;letter-spacing:.04em;padding:9px 12px;border-bottom:1px solid var(--line);
  white-space:nowrap
}
body.ent :is(.table,.dtable) td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
body.ent :is(.table,.dtable) tbody tr:hover td{background:var(--bg)}
body.ent :is(.table,.dtable) tr:last-child td{border-bottom:0}
body.ent .card > :is(.table,.dtable) th:first-child, body.ent .card > .table-scroll :is(.table,.dtable) th:first-child{border-top-left-radius:0}

/* ---------------------------------------------------------------------------
   7 · Navigation primitives: tabs, chips, pagination, progress
   ------------------------------------------------------------------------- */
body.ent :is(.tabs,.subtabs){gap:2px;border-bottom:1px solid var(--line)}
body.ent :is(.tabs,.subtabs) a{font-size:13.5px;font-weight:500;color:var(--ink-3);border-radius:0;
  padding:9px 12px;border-bottom:2px solid transparent;margin-bottom:-1px;background:none}
body.ent :is(.tabs,.subtabs) a:hover{color:var(--ink)}
body.ent :is(.tabs,.subtabs) a.active{color:var(--ink);border-bottom-color:var(--blue);font-weight:600;background:none}
body.ent .filter-tabs a, body.ent :is(.lv-chip,.gs-chip,.jump-chip){
  border-radius:6px;border:1px solid var(--line-3);background:#fff;font-size:13px;font-weight:500;
  color:var(--ink-2);min-height:32px;padding:0 11px;display:inline-flex;align-items:center;gap:6px
}
body.ent .filter-tabs a.active, body.ent :is(.lv-chip,.gs-chip).on, body.ent .jump-chip.active{
  background:var(--ink);border-color:var(--ink);color:#fff
}
body.ent :is(.pagination a,.pagination span){border-radius:6px;box-shadow:none}
body.ent .progressbar{height:6px;background:var(--bg-2)}
body.ent .progressbar > span{background:var(--blue)}
body.ent .vtrack .now .dot{background:var(--blue)}
body.ent .vtrack .done .dot{background:#079455}
body.ent .gs-open{height:36px;border-color:var(--line-3);border-radius:var(--r-sm);box-shadow:var(--el-1);color:var(--ink-3)}
body.ent .gs-panel{border-radius:12px}
body.ent .list li .ic{border-radius:8px;width:32px;height:32px;font-size:16px;background:var(--bg-2);color:var(--ink-2)}

/* ============================================================================
   8 · ADMIN SHELL
   ========================================================================== */
body.ent.admin{background:var(--app-canvas)}
body.ent .admin-sidebar{width:248px;padding:12px 10px;background:#fff;border-right:1px solid var(--line);box-shadow:none}
body.ent .admin-brand{gap:10px;padding:4px 6px 12px;margin-bottom:6px;border-bottom:1px solid var(--line)}
body.ent .admin-brand .logo{width:32px;height:32px;border-radius:8px;background:var(--blue);font-size:17px;box-shadow:none}
body.ent .admin-brand h1{font-size:14px;font-weight:650;letter-spacing:-.01em;-webkit-line-clamp:1}
body.ent .admin-brand p{font-size:11.5px;color:var(--ink-3);-webkit-line-clamp:1;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ent .admin-nav{gap:1px;padding-right:2px;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
body.ent .admin-nav .nav-section{font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--muted-2);padding:14px 10px 4px}
body.ent .admin-nav a{
  min-height:34px;padding:6px 10px;gap:10px;border-radius:6px;
  font-size:13.5px;font-weight:500;color:var(--ink-2)
}
body.ent .admin-nav a .icon{font-size:17px;color:var(--ink-3)}
body.ent .admin-nav a:hover{background:var(--bg-2);color:var(--ink)}
body.ent .admin-nav a.active{background:var(--sky-soft);color:var(--blue);font-weight:600}
body.ent .admin-nav a.active .icon{color:var(--blue)}
body.ent .admin-nav a.active:before{left:-10px;width:3px;height:18px;border-radius:0 3px 3px 0}
body.ent .admin-nav a:active{transform:none}
body.ent .admin-nav a .count{background:#fef3f2;color:#b42318;font-weight:600}
body.ent .admin-user-card{border-top:1px solid var(--line);padding-top:10px;margin-top:6px}
body.ent .admin-user-card .avatar{width:30px;height:30px;font-size:12.5px}
body.ent .admin-user-card .name{font-size:13px;font-weight:600}
body.ent .admin-user-card .role{font-size:11.5px}
body.ent .admin-user-card .icon-btn{width:32px;height:32px;min-width:32px;min-height:32px;box-shadow:none;border-color:transparent}
body.ent .admin-user-card .icon-btn:hover{border-color:var(--line-3)}

/* Mobile app bar */
body.ent .admin-mobile-bar{
  height:54px;padding:0 12px;gap:10px;background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);box-shadow:none
}
body.ent .admin-mobile-bar .icon-btn{border-color:transparent;box-shadow:none;margin-left:-4px}
body.ent .mb-brand{display:flex;align-items:center;gap:9px;min-width:0;font-size:14.5px;font-weight:650;color:var(--ink)}
body.ent .mb-brand .logo{width:28px;height:28px;border-radius:7px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:15px;flex:none}
body.ent .mb-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Page header: title left, actions right; a quiet white band on desktop. */
body.ent .admin-header{padding:16px 16px 4px}
body.ent .admin-header h1{font-size:18px;font-weight:650;letter-spacing:-.02em;line-height:1.3}
body.ent .admin-header p{font-size:13px;color:var(--ink-3);margin-top:2px}
body.ent .admin-header .row.between{align-items:center;gap:12px}
body.ent .page-actions{gap:8px}
body.ent .admin-content{padding:12px 16px 40px}
@media (max-width:720px){
  body.ent .admin-header{padding:14px 14px 2px}
  body.ent .admin-header h1{font-size:17px}
  body.ent .admin-content{padding:10px 12px calc(28px + env(safe-area-inset-bottom))}
}
@media (min-width:1024px){
  body.ent .admin-main{margin-left:248px}
  body.ent .admin-header{
    position:sticky;top:0;z-index:30;padding:12px 28px;min-height:60px;
    display:flex;align-items:center;
    background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);
    border-bottom:1px solid var(--line)
  }
  body.ent .admin-header > .row{width:100%}
  body.ent .admin-content{padding:22px 28px 56px}
  body.ent .admin-header + .admin-content[style]{padding-top:18px}
}
@media (min-width:1600px){
  body.ent .admin-content{padding-left:36px;padding-right:36px}
  body.ent .admin-header{padding-left:36px;padding-right:36px}
}

/* ============================================================================
   9 · CUSTOMER PORTAL SHELL
   ========================================================================== */
body.ent.portal{background:var(--app-canvas)}
body.ent .p-header{border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}
body.ent .p-header-inner{height:56px;max-width:1360px;gap:10px}
body.ent .p-user .avatar{width:30px;height:30px;font-size:12.5px;background:var(--bg-2);color:var(--ink-2);border:1px solid var(--line)}
body.ent .p-user{font-size:13px;font-weight:500}
body.ent .p-header .icon-btn{box-shadow:none;border-color:transparent}
body.ent .p-header .icon-btn:hover{border-color:var(--line-3)}
body.ent .p-layout{max-width:1360px;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:24px 24px 40px}
body.ent .p-rail{top:80px}
body.ent .p-rail nav{background:none;border:0;padding:0;gap:1px}
body.ent .p-rail nav a{min-height:34px;padding:6px 10px;border-radius:6px;font-size:13.5px;font-weight:500;color:var(--ink-2)}
body.ent .p-rail nav a i{font-size:17px;opacity:1;color:var(--ink-3)}
body.ent .p-rail nav a:hover{background:var(--bg-2);color:var(--ink)}
body.ent .p-rail nav a.active{background:#fff;color:var(--ink);font-weight:600;box-shadow:inset 0 0 0 1px var(--line),var(--el-1)}
body.ent .p-rail nav a.active i{color:var(--blue)}
body.ent .p-rail .btn{margin-top:16px!important}
body.ent .p-head{margin-bottom:16px;align-items:center}
body.ent .p-head h1{font-size:20px;font-weight:650;letter-spacing:-.02em}
body.ent .p-head p{font-size:13.5px;margin-top:3px}
body.ent .order-row{border-color:var(--line);border-radius:var(--r-lg);box-shadow:var(--el-1)}
body.ent .order-row:hover{border-color:var(--line-3);box-shadow:var(--el-2)}
body.ent .order-row h3{font-size:14.5px;font-weight:600}
body.ent .action-card{border-left-width:3px}
@media (max-width:900px){
  body.ent .p-layout{grid-template-columns:minmax(0,1fr);padding:14px 12px calc(80px + env(safe-area-inset-bottom));gap:0}
  body.ent .filter-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-12px;margin-right:-12px;padding:0 12px 2px}
  body.ent .filter-tabs::-webkit-scrollbar{display:none}
  body.ent .filter-tabs a{flex:none}
  body.ent .p-header-inner{padding:0 12px;height:54px}
  body.ent .p-head h1{font-size:18px}
}
body.ent .tabbar{
  background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:none;
  -webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);
  padding-bottom:env(safe-area-inset-bottom)
}
body.ent .tabbar a{font-size:11px;font-weight:500;color:var(--ink-3);gap:2px;min-height:54px}
body.ent .tabbar a i{font-size:20px}
body.ent .tabbar a.active{color:var(--blue);font-weight:600}

/* Brand mark shared by the public header, drawer, footer and portal header. */
body.ent .site-brand{gap:9px;font-weight:650;color:var(--ink)}
body.ent .site-brand{display:inline-flex;align-items:center;white-space:nowrap;min-width:0}
body.ent .site-brand .logo{width:32px;height:32px;border-radius:8px;background:var(--blue);font-size:17px;box-shadow:none;color:#fff;display:grid;place-items:center;flex:none}
body.ent .site-brand .name{overflow:hidden;text-overflow:ellipsis}
body.ent .site-brand .name{font-size:15px;letter-spacing:-.015em}

/* ============================================================================
   10 · PUBLIC WEBSITE
   ========================================================================== */
body.ent.site .wrap{padding:0 20px}
@media (max-width:560px){ body.ent.site .wrap{padding:0 16px} }
body.ent .eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--blue)}

/* Header */
body.ent .site-header{border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}
body.ent .site-header.shrink{box-shadow:var(--el-1)}
body.ent .site-header .wrap, body.ent .site-header.shrink .wrap{height:64px;gap:14px}
body.ent .nav-link{font-size:14px;font-weight:500;color:var(--ink-2);padding:8px 11px;border-radius:6px}
body.ent .nav-link:hover{background:var(--bg-2);color:var(--ink)}
body.ent .nav-link i{font-size:15px;opacity:.5}
body.ent .site-actions{gap:6px}
body.ent .site-actions .txt-link{font-size:14px;font-weight:500;color:var(--ink-2);padding:8px 10px;border-radius:6px;white-space:nowrap}
body.ent .site-actions .txt-link:hover{background:var(--bg-2);color:var(--ink)}
body.ent .burger{font-size:22px;color:var(--ink-2);width:40px;height:40px;display:none;place-items:center;border-radius:6px;margin-left:-8px;padding:0}
@media (max-width:1200px){ body.ent .burger{display:grid} }
@media (max-width:1320px){ body.ent .site-actions .txt-link.hide-lg{display:none} }
@media (max-width:560px){
  body.ent .site-header .wrap, body.ent .site-header.shrink .wrap{height:56px;gap:8px}
  body.ent .site-brand .name{max-width:150px}
  body.ent .site-actions .btn{min-height:36px;padding:0 12px}
}

/* Mega menu */
body.ent .mega{border:1px solid var(--line);border-radius:12px;box-shadow:var(--el-3);padding:14px}
body.ent .mega-group h5{font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--muted-2)}
body.ent .mega-links a{padding:8px 11px;border-radius:6px;font-size:13.5px}
body.ent .mega-links a:hover{background:var(--bg);color:var(--ink)}
body.ent .mega-links a span{font-weight:500}
body.ent .mega-links a small{font-size:12px;color:var(--muted-2)}
body.ent .mega-all{color:var(--blue)!important;font-weight:600!important;border-top-color:var(--line)}
body.ent .mega-promo{background:var(--bg);border:1px solid var(--line);border-radius:10px}
body.ent .mega-promo h4{font-size:14.5px}
body.ent .mega-promo .price strong{font-size:17px;color:var(--ink)}

/* Drawer */
body.ent .drawer{width:min(360px,90vw);box-shadow:var(--el-3)}
body.ent .drawer-head{height:56px;padding:0 12px 0 16px;border-bottom:1px solid var(--line)}
body.ent .drawer-head .icon-btn{box-shadow:none;border-color:transparent}
body.ent .drawer-nav{padding:6px 8px}
body.ent .drawer-nav details{border-bottom:1px solid var(--line)}
body.ent .drawer-nav summary{font-size:14.5px;font-weight:600;padding:12px 8px;min-height:48px}
body.ent .drawer-nav details a{font-size:14px;color:var(--ink-2);padding:10px 8px 10px 16px;min-height:42px;display:flex;align-items:center}
body.ent .drawer-nav a.flat{font-size:14.5px;font-weight:500;color:var(--ink);border-bottom:1px solid var(--line);min-height:48px;display:flex;align-items:center}
body.ent .drawer-foot{border-top:1px solid var(--line);display:grid;gap:8px}
body.ent .drawer-foot .row{margin-top:0!important}
body.ent .drawer-backdrop{background:rgba(16,24,40,.4)}

/* Hero — white with a faint engineering grid that fades out. */
body.ent :is(.hero,.svc-hero){position:relative;isolation:isolate;background:#fff;border-bottom:1px solid var(--line)}
body.ent :is(.hero,.svc-hero)::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:40px 40px;opacity:.55;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 30% 0%,#000 20%,transparent 75%);
          mask-image:radial-gradient(ellipse 80% 70% at 30% 0%,#000 20%,transparent 75%)
}
body.ent .hero{padding:64px 0 56px}
body.ent .hero-grid{gap:56px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
body.ent .hero h1{font-size:clamp(30px,4.2vw,50px);font-weight:650;line-height:1.08;letter-spacing:-.035em;margin-bottom:14px}
body.ent .hero h1 .accent{background:none;-webkit-text-fill-color:currentColor;color:var(--blue)}
body.ent .hero .sub{font-size:17px;color:var(--ink-3);line-height:1.55;max-width:48ch;margin-bottom:24px}
body.ent .hero-cta{gap:10px;margin-bottom:32px}
body.ent .hero-cta .btn{min-height:44px;padding:0 18px;font-size:14.5px}
body.ent .trust-strip{gap:0;font-size:13px;color:var(--ink-3);border-top:1px solid var(--line);padding-top:18px}
body.ent .trust-strip > *{padding:0 22px;border-left:1px solid var(--line)}
body.ent .trust-strip > :first-child{padding-left:0;border-left:0}
body.ent .trust-strip b{font-size:20px;font-weight:650;letter-spacing:-.02em;color:var(--ink)}
body.ent .pill{background:#fff;border:1px solid var(--line-3);color:var(--ink-2);font-weight:500;font-size:12.5px;padding:5px 11px;box-shadow:var(--el-1)}
body.ent .pill i{color:var(--blue)}
@media (max-width:900px){
  body.ent .hero-grid{grid-template-columns:1fr;gap:28px}
  body.ent .hero{padding:36px 0 32px}
}
@media (max-width:720px){
  body.ent .hero h1{font-size:30px;letter-spacing:-.03em}
  body.ent .hero .sub{font-size:15.5px;margin-bottom:18px}
  body.ent .hero-cta{margin-bottom:22px}
  body.ent .trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:14px}
  body.ent .trust-strip > *{padding:0 10px}
  body.ent .trust-strip b{font-size:18px}
}

/* Lead form card */
body.ent .lead-card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--el-3);padding:22px}
body.ent .lead-card h3{font-size:17px;font-weight:650}
body.ent .lead-card p.muted{font-size:13.5px;margin-bottom:14px}
body.ent .lead-card label{font-size:12.5px;font-weight:600}
body.ent .lead-card :is(input,select,textarea){font-size:14px;padding:8px 11px;min-height:40px;border-color:var(--line-3)}
body.ent .lead-note{font-size:12px;color:var(--muted-2)}
@media (max-width:720px){
  body.ent .lead-card{padding:18px;border-radius:12px}
  body.ent .lead-card :is(input,select,textarea){font-size:16px;min-height:44px}
}

/* Sections */
body.ent .section{padding:72px 0}
body.ent .section.tint{background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.ent .section-head{max-width:640px;margin-bottom:32px}
body.ent .section-head h2{font-size:clamp(22px,2.6vw,32px);font-weight:650;letter-spacing:-.03em;line-height:1.2;margin:8px 0 8px}
body.ent .section-head p{font-size:15.5px;color:var(--ink-3);line-height:1.55}
@media (max-width:720px){
  body.ent .section{padding:40px 0}
  body.ent .section-head{margin-bottom:20px}
  body.ent .section-head h2{font-size:23px}
  body.ent .section-head p{font-size:14.5px}
}

/* Cards on the public site: flat, hairline, a quiet lift on hover. */
body.ent :is(.svc-card,.cat-card,.step,.quote,.pkg-card){
  border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--el-1);background:#fff
}
body.ent :is(.svc-card,.cat-card):hover{border-color:var(--line-3);box-shadow:var(--el-2);transform:none}
body.ent .svc-card{padding:18px}
body.ent :is(.svc-card,.cat-card) .ic{width:36px;height:36px;border-radius:8px;font-size:18px;margin-bottom:12px}
body.ent .cat-card > i{font-size:22px;margin-bottom:10px}
body.ent .svc-card h3{font-size:15px;font-weight:600;letter-spacing:-.01em}
body.ent .svc-card p{font-size:13.5px;color:var(--ink-3);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ent .svc-card .meta{border-top:1px solid var(--line);padding-top:12px}
body.ent .svc-card .from b{font-size:16px;font-weight:650;color:var(--ink)}
body.ent .cat-card{padding:18px}
body.ent .cat-card h3{font-size:15px;font-weight:600}
body.ent .cat-card p{font-size:13px;color:var(--ink-3);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ent .step{padding:22px 18px 18px}
body.ent .step:before{background:var(--blue);width:26px;height:26px;font-size:12.5px;font-weight:600;top:-13px;border-radius:7px;box-shadow:0 0 0 4px #fff}
body.ent .section.tint .step:before{box-shadow:0 0 0 4px var(--bg)}
body.ent .step h4{font-size:15px;font-weight:600}
body.ent .step p{font-size:13.5px;color:var(--ink-3)}
body.ent .quote p{font-size:14px;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
body.ent .quote .who .av{background:var(--bg-2);color:var(--ink-2);font-weight:600;border:1px solid var(--line)}
body.ent .quote .stars{color:#f79009}
body.ent .grid{gap:14px}

/* CTA band — solid, no gradient, no glow. */
body.ent .cta-band{background:var(--blue-dark);border-radius:14px;box-shadow:none;padding:40px 28px;position:relative;overflow:hidden;isolation:isolate}
body.ent .cta-band::before{content:"";position:absolute;inset:0;z-index:-1;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:32px 32px}
body.ent .cta-band h2{font-size:clamp(21px,2.4vw,28px);font-weight:650}
body.ent .cta-band p{font-size:15px;color:rgba(255,255,255,.75)}
body.ent .cta-band .btn-light{background:#fff;color:var(--ink);border-color:#fff}
body.ent .cta-band .btn:not(.btn-light){background:transparent;border-color:rgba(255,255,255,.35);color:#fff;box-shadow:none}
@media (max-width:720px){ body.ent .cta-band{padding:28px 18px;border-radius:12px} }

/* Service page */
body.ent .svc-hero{background:#fff}
body.ent .crumbs{font-size:13px;color:var(--ink-3)}
body.ent .rail-card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--el-2)}
body.ent .pkg-tabs{background:var(--bg);border-bottom:1px solid var(--line)}
body.ent .pkg-tab{font-weight:600;color:var(--ink-3)}
body.ent .price-row{border-bottom-color:var(--line)}
body.ent .price-row.total{border-top:1px solid var(--line-3);font-weight:650}
body.ent .price-row.total .val{color:var(--ink);font-weight:650}
body.ent .faq{border-color:var(--line);border-radius:var(--r-lg)}
body.ent .docitem{border-color:var(--line);border-radius:var(--r)}
body.ent .jump-nav{top:64px;border-bottom-color:var(--line);padding:10px 0}
@media (max-width:560px){ body.ent .jump-nav{top:56px} }
body.ent .pkg-card.featured{border-color:var(--blue);box-shadow:var(--el-2)}
body.ent .pkg-price{font-weight:650;color:var(--ink)}
body.ent .pkg-flag{border-radius:6px;font-weight:600}

/* Footer — light, compact, typographic. */
body.ent .site-footer{background:var(--bg);color:var(--ink-3);border-top:1px solid var(--line);padding:48px 0 24px;margin-top:0}
body.ent .site-footer h4{color:var(--ink);font-size:13px;font-weight:600;letter-spacing:0;margin-bottom:12px}
body.ent .site-footer a{color:var(--ink-3);font-size:13.5px}
body.ent .site-footer a:hover{color:var(--ink)}
body.ent .foot-cols{grid-template-columns:1.6fr repeat(4,1fr) 1.3fr;gap:28px}
body.ent .foot-col li{margin-bottom:7px}
body.ent .foot-col.brandcol .site-brand{color:var(--ink)}
body.ent .foot-col.brandcol .muted{color:var(--ink-3);font-size:13.5px;max-width:34ch}
body.ent .socials a{background:#fff;border:1px solid var(--line);border-radius:7px;width:32px;height:32px;color:var(--ink-3)}
body.ent .socials a:hover{background:#fff;border-color:var(--line-3);color:var(--ink)}
body.ent .site-footer address{color:var(--ink-3);font-size:13.5px}
body.ent .contact li{font-size:13.5px}
body.ent .foot-band{border-top:1px solid var(--line);margin-top:32px;padding-top:22px}
body.ent .newsletter h4{margin-bottom:2px}
body.ent .newsletter p{color:var(--ink-3)}
body.ent .nl-form input[type=email]{background:#fff;color:var(--ink);border:1px solid var(--line-3);min-height:40px}
body.ent .nl-form input::placeholder{color:var(--muted-2)}
body.ent .nl-form .btn{min-height:40px}
body.ent .nl-form .consent{color:var(--ink-3);font-size:12px}
body.ent .disclaimer{color:var(--muted-2);border-left-color:var(--line-3);font-size:12px}
body.ent .legal-bar{border-top:1px solid var(--line);font-size:12.5px}
body.ent .legal-bar p{color:var(--muted-2)}
body.ent .legal-bar a{font-size:12.5px}
@media (max-width:1100px){ body.ent .foot-cols{grid-template-columns:repeat(3,1fr)} }
@media (max-width:720px){
  body.ent .site-footer{padding:32px 0 calc(20px + env(safe-area-inset-bottom))}
  body.ent .foot-cols{grid-template-columns:1fr;gap:0}
  body.ent .foot-acc > summary{border-bottom:1px solid var(--line)}
  body.ent .foot-band{margin-top:22px;padding-top:18px}
  body.ent .site .nl-form .consent, body.ent.site .nl-form .consent{font-size:13px}
}

/* Sticky mobile action bar + cookie bar */
body.ent .mobile-bar{border-top:1px solid var(--line);box-shadow:0 -4px 16px -8px rgba(16,24,40,.18)}
body.ent .mobile-bar a{font-size:11.5px;font-weight:600;min-height:54px}
body.ent .mobile-bar a.primary{background:var(--blue);color:#fff}
body.ent .cookie-banner{border:1px solid var(--line);border-radius:12px;box-shadow:var(--el-3);padding:12px 14px;gap:14px;max-width:640px}
body.ent .cookie-banner p{font-size:13px;color:var(--ink-3);margin:0}
body.ent .cookie-banner strong{display:none}
@media (max-width:720px){
  body.ent .cookie-banner{border-radius:12px 12px 0 0;padding:14px 16px calc(14px + env(safe-area-inset-bottom))}
}

/* Feature list (home "why us"): icon + title + one line, no card chrome. */
body.ent .feat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px}
body.ent .feat{display:flex;gap:14px;align-items:flex-start}
body.ent .feat .ic{width:36px;height:36px;border-radius:8px;flex:none;display:grid;place-items:center;
  background:#fff;border:1px solid var(--line);color:var(--blue);font-size:18px;box-shadow:var(--el-1)}
body.ent .feat h3{font-size:15px;font-weight:600;margin:0 0 3px}
body.ent .feat p{font-size:14px;color:var(--ink-3);line-height:1.5;margin:0}
@media (max-width:900px){ body.ent .feat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px} }
@media (max-width:560px){ body.ent .feat-grid{grid-template-columns:1fr;gap:18px} }

/* Content is visible immediately — no scroll-reveal fade on a business site. */
.js-reveal body.ent :is(.cat-card,.svc-card,.step,.quote,.ld-feature,.pkg-card){opacity:1;transform:none;transition:border-color .12s,box-shadow .12s}
body.ent :is(.hero-grid > *, .hero > .wrap > *){animation:none}

/* ============================================================================
   11 · AUTH SCREENS (bare layout)
   ========================================================================== */
body.ent.bare{background:var(--app-canvas)}

/* ============================================================================
   12 · PRINT
   ========================================================================== */
@media print{
  body.ent :is(.card,.stat,.stat-box,.table-scroll,.table-wrap){box-shadow:none!important}
  body.ent .admin-header{position:static;background:none;border:0}
}

/* ============================================================================
   13 · PHONE DENSITY — public listings
   Category tiles go two-up with the icon inline; a one-column stack of eight
   tiles was a full screen and a half of scrolling before the first service.
   ========================================================================== */
@media (max-width:640px){
  body.ent .grid:has(> .cat-card){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.ent .cat-card{padding:14px}
  body.ent .cat-card > i{font-size:20px;margin-bottom:8px}
  body.ent .cat-card h3{font-size:14px;line-height:1.3}
  body.ent .cat-card p{font-size:12.5px;margin-top:2px}
  body.ent .svc-card{padding:16px}
  body.ent .svc-card .ic{margin-bottom:10px}
  body.ent .step{padding:18px 16px 14px}
  body.ent .steps{gap:18px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ent .step h4{font-size:14px}
  body.ent .step p{font-size:13px}
}

/* ============================================================================
   14 · SIGN-IN
   ========================================================================== */
body.ent .auth-wrap{max-width:400px;margin:0 auto;min-height:100dvh;padding:48px 16px 32px;
  display:flex;flex-direction:column;justify-content:center;gap:14px}
body.ent .auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;
  font-size:15px;color:var(--ink);margin-bottom:10px}
body.ent .auth-brand .logo{width:34px;height:34px;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:18px}
body.ent .auth-card{padding:28px 26px}
body.ent .auth-title{font-size:20px;font-weight:650;letter-spacing:-.02em;margin:0}
body.ent .auth-sub{font-size:13.5px;color:var(--ink-3);margin:4px 0 20px}
body.ent .auth-card .btn-full{margin-top:6px}
body.ent .auth-demo{padding:0;overflow:hidden}
body.ent .auth-demo-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;
  border-bottom:1px solid var(--line);background:var(--bg);font-size:12px;font-weight:600;color:var(--ink-2);
  text-transform:uppercase;letter-spacing:.05em}
body.ent .auth-demo-head small{text-transform:none;letter-spacing:0;font-weight:500;color:var(--ink-3);font-size:12px}
body.ent .auth-demo-list{display:flex;flex-direction:column;max-height:300px;overflow-y:auto}
body.ent .auth-demo-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;
  padding:9px 14px;background:#fff;border:0;border-bottom:1px solid var(--line);cursor:pointer;
  font:inherit;text-align:left;color:var(--ink)}
body.ent .auth-demo-item:last-child{border-bottom:0}
body.ent .auth-demo-item:hover{background:var(--bg)}
body.ent .auth-demo-item span{display:flex;flex-direction:column;min-width:0}
body.ent .auth-demo-item b{font-size:13.5px;font-weight:600}
body.ent .auth-demo-item small{font-size:12px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ent .auth-demo-item i{color:var(--muted-2);font-size:16px}
body.ent .auth-foot{text-align:center;font-size:13px;margin-top:4px}
body.ent .auth-foot a{color:var(--ink-3)}
body.ent .auth-foot a:hover{color:var(--ink)}
@media (max-width:480px){ body.ent .auth-card{padding:22px 18px} body.ent .auth-wrap{padding-top:32px;justify-content:flex-start} }

/* ============================================================================
   15 · PANELS — flush cards with a header row, metric lists, dashboards
   ========================================================================== */
body.ent .card.flush{padding:0;overflow:hidden}
body.ent .card + .card.flush, body.ent .card.flush + .card{margin-top:14px}
body.ent .grid > .card + .card{margin-top:0}
body.ent .card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:48px;padding:10px 16px;border-bottom:1px solid var(--line)}
body.ent .card-head h2{margin:0;font-size:14px;font-weight:650}
body.ent .card-link{display:inline-flex;align-items:center;gap:2px;font-size:13px;font-weight:500;color:var(--ink-3);white-space:nowrap}
body.ent .card-link:hover{color:var(--blue)}
body.ent .card-link i{font-size:16px}
body.ent .card.flush .table-scroll{border:0;border-radius:0;box-shadow:none}
body.ent .card.flush .table-scroll table{min-width:0}
body.ent .card.flush :is(.table,.dtable) :is(th,td):first-child{padding-left:16px}
body.ent .card.flush :is(.table,.dtable) :is(th,td):last-child{padding-right:16px}
body.ent .mlist{list-style:none;margin:0;padding:2px 16px}
body.ent .mlist li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:10px 0;border-bottom:1px solid var(--line);font-size:13.5px;color:var(--ink-2)}
body.ent .mlist li:last-child{border-bottom:0}
body.ent .mlist b{font-size:15px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
body.ent .mlist .warn b{color:#b54708}
body.ent .mlist .danger b{color:#b42318}
body.ent .dash-panels{margin-top:14px;gap:14px;align-items:start}
/* Stat tiles nested inside a card read as a box inside a box — flatten them. */
body.ent .card .stat-box{background:var(--bg);box-shadow:none;border-color:transparent}
@media (min-width:1280px){ body.ent .stat-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))} }

/* Sidebar brand text must truncate inside the 248px rail. */
body.ent .admin-brand > div:last-child{min-width:0;flex:1}
body.ent .admin-brand h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

/* Filter bars (`<form class="row">` above a list): inputs share one line on
   desktop instead of each select claiming 100% and wrapping underneath. */
body.ent form.row > :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select){width:auto;flex:1 1 200px;min-width:0}
body.ent form.row > select{flex:0 1 240px}
body.ent form.row > .btn{flex:none}
@media (max-width:640px){
  body.ent form.row > select{flex:1 1 100%}
}

/* ============================================================================
   16 · PHONE — admin header + card-mode tables
   ========================================================================== */
@media (max-width:720px){
  /* Title and the icon actions share one row; page buttons wrap under it. */
  body.ent .admin-header .row.between > :first-child{flex:1 1 auto}
  body.ent .admin-header .page-actions{width:auto;flex:0 1 auto;margin-left:auto;justify-content:flex-end}
  body.ent .admin-header .page-actions > .btn{flex:1 1 auto}
}
@media (max-width:680px){
  body.ent .table-as-cards tr{border-radius:var(--r-lg);border-color:var(--line);box-shadow:var(--el-1);padding:12px 14px;row-gap:6px}
  body.ent .table-as-cards td{font-weight:500;font-size:13.5px}
  body.ent .table-as-cards td:before{font-size:11px;font-weight:500;letter-spacing:.03em}
  body.ent .table-as-cards td:first-child{font-size:14.5px;font-weight:600}
  /* Inside a card the rows are list items, not cards within a card. */
  body.ent .card .table-as-cards tr{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;margin:0;padding:12px 0}
  body.ent .card.flush .table-as-cards tr{padding:12px 16px}
  body.ent .card .table-as-cards tr:last-child{border-bottom:0}
  body.ent .card.flush :is(.table,.dtable).table-as-cards :is(th,td):first-child{padding-left:0}
  body.ent .card.flush :is(.table,.dtable).table-as-cards :is(th,td):last-child{padding-right:0}
}
@media (max-width:680px){ body.ent .table-as-cards td > br{display:none} }

/* Short page heroes (listing pages) and a two-line clamp for long intros. */
body.ent .hero.page-hero{padding:44px 0 36px}
body.ent .hero.page-hero h1{font-size:clamp(26px,3.4vw,38px);margin-bottom:8px}
body.ent .hero.page-hero .sub{margin-bottom:0}
body.ent .clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ent .svc-hero{padding:32px 0 28px}
body.ent .svc-hero .sub{font-size:16px;color:var(--ink-3);line-height:1.55}
@media (max-width:720px){
  body.ent .hero.page-hero{padding:28px 0 22px}
  body.ent .svc-hero{padding:20px 0 20px}
  body.ent .jump-chip{min-height:36px}
}

/* Checkboxes/radios: app.css gives every <input> width:100%, which floats a
   checkbox in the middle of its row. Size them as the controls they are. */
body.ent :is(input[type=checkbox],input[type=radio]):not(.tgl){width:16px;height:16px;flex:none;padding:0;vertical-align:middle;cursor:pointer}
body.ent .addon :is(input[type=checkbox]):not(.tgl){width:22px;height:22px}
body.ent .addon input[type=checkbox]:checked{background:var(--blue)}
body.ent .weekday :is(input[type=checkbox],input[type=radio]):not(.tgl){width:100%;height:100%}
body.ent .consent :is(input[type=checkbox]):not(.tgl){width:18px;height:18px}
@media (max-width:720px){
  body.ent :is(input[type=checkbox],input[type=radio]):not(.tgl){width:20px;height:20px}
  body.ent .weekday :is(input[type=checkbox],input[type=radio]):not(.tgl){width:100%;height:100%}
  body.ent .addon :is(input[type=checkbox]):not(.tgl){width:22px;height:22px}
}

/* ============================================================================
   17 · ROLES & PERMISSIONS (permission matrix)
   ========================================================================== */
body.ent .perm-roles{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding-bottom:2px}
body.ent .perm-roles::-webkit-scrollbar{display:none}
body.ent .perm-role{flex:none;display:flex;flex-direction:column;gap:2px;min-width:132px;padding:9px 12px;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);color:var(--ink-2);box-shadow:var(--el-1)}
body.ent .perm-role:hover{border-color:var(--line-3);color:var(--ink)}
body.ent .perm-role.on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset,var(--el-1);color:var(--ink)}
body.ent .perm-role-name{font-size:13.5px;font-weight:600;white-space:nowrap}
body.ent .perm-role-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-3);white-space:nowrap}
body.ent .perm-badge{font-style:normal;font-size:11px;font-weight:600;color:#b54708;background:#fffaeb;border-radius:5px;padding:0 6px}
body.ent .perm-note{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-3);margin:0 0 12px}

body.ent .perm-table{width:100%;border-collapse:collapse;font-size:13.5px}
body.ent .perm-table thead th{position:sticky;top:0;z-index:2;background:var(--bg);text-align:center;font-size:11.5px;
  font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-3);padding:10px 8px;border-bottom:1px solid var(--line)}
body.ent .perm-table thead th.perm-mod{text-align:left;padding-left:16px}
body.ent .perm-group th{background:var(--bg);text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.06em;color:var(--muted-2);padding:14px 16px 6px;border-bottom:1px solid var(--line)}
body.ent .perm-row th.perm-mod{text-align:left;font-weight:500;color:var(--ink);padding:10px 16px;white-space:nowrap}
body.ent .perm-row td{text-align:center;padding:8px;width:96px;border-left:1px solid transparent}
body.ent .perm-row :is(th,td){border-bottom:1px solid var(--line)}
body.ent .perm-row:hover :is(th,td){background:var(--bg)}
body.ent .perm-row td.chg{background:color-mix(in srgb,#f79009 9%,transparent)}
body.ent .perm-cell{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:32px;cursor:pointer}
body.ent .perm-na{color:var(--muted-2)}
body.ent .perm-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#f79009;margin-left:8px;vertical-align:middle}

body.ent .perm-bar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;gap:10px;margin-top:14px;
  padding:10px 12px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--el-3);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
body.ent .perm-status{margin-right:auto;font-size:13px;color:var(--ink-3)}
body.ent .perm-status.dirty{color:#b54708;font-weight:600}
body.ent .perm-bar .btn-primary[disabled]{opacity:.45;cursor:default}

@media (max-width:720px){
  body.ent .perm-table thead{display:none}
  body.ent .perm-table,body.ent .perm-table tbody{display:block}
  body.ent .perm-group{display:block}
  body.ent .perm-group th{display:block}
  body.ent .perm-row{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line)}
  body.ent .perm-row :is(th,td){border-bottom:0}
  body.ent .perm-row th.perm-mod{grid-column:1/-1;padding:12px 16px 2px;white-space:normal}
  body.ent .perm-row td{width:auto;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 10px}
  body.ent .perm-row td::before{content:attr(data-label);font-size:11px;color:var(--ink-3)}
  body.ent .perm-bar{margin-left:-12px;margin-right:-12px;border-radius:0;border-left:0;border-right:0;
    bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  body.ent .perm-status{display:none}
  body.ent .perm-bar .btn{flex:1 1 auto}
}

/* ============================================================================
   18 · PACKAGES & PRICING
   ========================================================================== */
body.ent .pk-group{margin-bottom:14px}
body.ent .pk-row{display:flex;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink)}
body.ent .pk-row:last-child{border-bottom:0}
body.ent .pk-row:hover{background:var(--bg);color:var(--ink)}
body.ent .pk-row-name{display:flex;flex-direction:column;min-width:0;flex:1 1 240px}
body.ent .pk-row-name b{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ent .pk-row-name small{font-size:12.5px;color:var(--ink-3)}
body.ent .pk-row-tiers{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body.ent .pk-chip{display:inline-flex;flex-direction:column;align-items:flex-start;min-width:96px;padding:5px 10px;
  border:1px solid var(--line);border-radius:var(--r);background:#fff;line-height:1.3}
body.ent .pk-chip em{font-style:normal;font-size:11.5px;color:var(--ink-3)}
body.ent .pk-chip b{font-size:13.5px;font-weight:600;font-variant-numeric:tabular-nums}
body.ent .pk-chip.rec{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
body.ent .pk-chip.rec em::after{content:" \00b7  Recommended";color:var(--blue)}
body.ent .pk-chip.off{opacity:.5;border-style:dashed}
@media (max-width:720px){
  body.ent .pk-row{flex-wrap:wrap;gap:8px}
  body.ent .pk-row-tiers{justify-content:flex-start;flex:1 1 100%;order:3}
  body.ent .pk-chip{min-width:0;flex:1 1 0}
  body.ent .pk-row .row-actions{margin-left:auto}
}

/* Editor */
body.ent .pk-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
body.ent .pk-back{display:inline-flex;align-items:center;gap:2px;font-size:13px;color:var(--ink-3)}
body.ent .pk-links{display:flex;gap:14px;flex-wrap:wrap}
body.ent .pk-links a{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--ink-2)}
body.ent .pk-links a:hover{color:var(--blue)}
body.ent .pk-tiers{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;padding:16px}
body.ent .pk-tier{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-lg);padding:14px;background:#fff;
  transition:border-color .12s,box-shadow .12s}
body.ent .pk-tier:has(.pk-rec input:checked){border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
body.ent .pk-tier:has(.pk-act input:not(:checked)){background:var(--bg)}
body.ent .pk-tier .field{margin-bottom:10px}
body.ent .pk-tier-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}
body.ent .pk-step{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;font-size:12px;font-weight:600;
  background:var(--bg-2);color:var(--ink-2);flex:none}
/* The recommended tier: a pill that reads as a choice, not a bare radio dot. */
body.ent .pk-rec{position:relative;display:inline-flex;cursor:pointer;margin:0}
body.ent .pk-rec input{position:absolute;opacity:0;inset:0;width:100%!important;height:100%!important;margin:0;cursor:pointer}
body.ent .pk-rec span{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;border:1px solid var(--line-3);
  font-size:12px;font-weight:500;color:var(--ink-3);background:#fff;transition:all .12s}
body.ent .pk-rec span i{font-size:12px;color:var(--muted-2)}
body.ent .pk-rec:hover span{border-color:var(--ink-3);color:var(--ink-2)}
body.ent .pk-rec input:checked + span{background:var(--blue);border-color:var(--blue);color:#fff}
body.ent .pk-rec input:checked + span i{color:#f5c451}
body.ent .pk-rec input:focus-visible + span{outline:2px solid var(--blue);outline-offset:2px}
body.ent .pk-act{margin:0 0 0 auto;display:inline-flex}
body.ent .pk-money{display:flex;align-items:stretch}
body.ent .pk-money span{display:grid;place-items:center;padding:0 10px;border:1px solid var(--line-3);border-right:0;
  border-radius:var(--r-sm) 0 0 var(--r-sm);background:var(--bg);color:var(--ink-3);font-size:13.5px}
body.ent .pk-money input{border-radius:0 var(--r-sm) var(--r-sm) 0;font-variant-numeric:tabular-nums}
body.ent .pk-tier-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;
  border-top:1px solid var(--line);font-size:12.5px}
body.ent .pk-count{font-weight:600;color:var(--ink-2)}
body.ent .pk-tier-add{align-items:center;justify-content:center;gap:6px;min-height:220px;border:1.5px dashed var(--line-3);
  background:var(--bg);color:var(--ink-3);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer}
body.ent .pk-tier-add:hover{border-color:var(--blue);color:var(--blue);background:#fff}
body.ent .pk-tier-add i{font-size:22px}

body.ent .pk-items{display:flex;flex-direction:column}
body.ent .pk-item{display:flex;align-items:center;gap:12px;padding:8px 16px;border-bottom:1px solid var(--line)}
body.ent .pk-item:hover{background:var(--bg)}
body.ent .pk-label{flex:1 1 auto;min-width:0;border-color:transparent;box-shadow:none;background:transparent}
body.ent .pk-label:hover{border-color:var(--line-3);background:#fff}
body.ent .pk-label:focus{background:#fff}
/* "Available from": a segmented control built from radios. */
body.ent .pk-seg{display:inline-flex;flex:none;padding:2px;border:1px solid var(--line-3);border-radius:8px;background:var(--bg);gap:2px}
body.ent .pk-seg label{position:relative;margin:0;cursor:pointer}
body.ent .pk-seg input{position:absolute;opacity:0;inset:0;width:100%!important;height:100%!important;margin:0;cursor:pointer}
body.ent .pk-seg span{display:block;padding:5px 11px;border-radius:6px;font-size:12.5px;font-weight:500;color:var(--ink-3);white-space:nowrap;transition:all .12s}
body.ent .pk-seg label:hover span{color:var(--ink)}
body.ent .pk-seg input:checked + span{background:#fff;color:var(--ink);font-weight:600;box-shadow:var(--el-2),inset 0 0 0 1px var(--line)}
body.ent .pk-seg input:focus-visible + span{outline:2px solid var(--blue);outline-offset:1px}
body.ent .pk-seg input:disabled + span{cursor:default}
body.ent .pk-del{width:32px;height:32px;min-width:32px;min-height:32px;border-color:transparent;box-shadow:none;color:var(--muted-2)}
body.ent .pk-del:hover{color:#b42318;border-color:#fecdca;background:#fef3f2}
body.ent .pk-items-empty{display:flex;align-items:center;gap:8px;justify-content:center;padding:28px 16px;color:var(--ink-3);font-size:13.5px}
body.ent .pk-items-foot{padding:12px 16px}
@media (max-width:720px){
  body.ent .pk-tiers{grid-template-columns:1fr;padding:12px}
  body.ent .pk-tier-add{min-height:64px}
  body.ent .pk-item{flex-wrap:wrap;gap:6px;padding:10px 12px}
  body.ent .pk-label{flex:1 1 calc(100% - 44px);border-color:var(--line-3);background:#fff}
  body.ent .pk-seg{order:3;flex:1 1 100%;overflow-x:auto}
  body.ent .pk-seg label{flex:1 1 0}
  body.ent .pk-seg span{text-align:center}
}

/* ============================================================================
   19 · GIFT CARDS
   ========================================================================== */
body.ent .gc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ent .gc-code{font:600 12.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;background:var(--bg-2);
  padding:2px 7px;border-radius:5px;color:var(--ink)}
body.ent .gc-wrap{display:grid;grid-template-columns:minmax(0,560px) minmax(0,360px);gap:24px;align-items:start}
body.ent .gc-form{padding:22px}
body.ent .gc-amounts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
body.ent .gc-amt{border:1px solid var(--line-3);background:#fff;border-radius:999px;padding:4px 12px;font:inherit;font-size:12.5px;
  font-weight:500;color:var(--ink-2);cursor:pointer}
body.ent .gc-amt:hover{border-color:var(--ink-3);color:var(--ink)}
body.ent .gc-amt.on{background:var(--blue);border-color:var(--blue);color:#fff}
body.ent .gc-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px;padding-top:14px;border-top:1px solid var(--line)}
body.ent .gc-preview{position:sticky;top:84px}
body.ent .gc-card{position:relative;overflow:hidden;aspect-ratio:1.586;border-radius:14px;padding:20px;color:#fff;
  display:flex;flex-direction:column;background:var(--blue-dark);box-shadow:var(--el-3);isolation:isolate}
body.ent .gc-card::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--sky) 55%,transparent) 0%,transparent 60%),
             radial-gradient(90% 80% at 0% 100%,color-mix(in srgb,var(--blue) 70%,transparent) 0%,transparent 70%)}
body.ent .gc-card-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;opacity:.9}
body.ent .gc-card-top i{font-size:22px}
body.ent .gc-card-amt{font-size:34px;font-weight:650;letter-spacing:-.02em;margin-top:auto;font-variant-numeric:tabular-nums}
body.ent .gc-card-to{font-size:14px;opacity:.85;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ent .gc-card-foot{display:flex;justify-content:space-between;margin-top:14px;font:500 11.5px/1 ui-monospace,Menlo,monospace;
  letter-spacing:.06em;opacity:.75}
body.ent .gc-preview-note{margin-top:12px;font-size:13px;color:var(--ink-3);font-style:italic;white-space:pre-line;min-height:1em}
@media (max-width:980px){
  body.ent .gc-wrap{grid-template-columns:1fr}
  body.ent .gc-preview{position:static;order:-1;max-width:360px}
}
@media (max-width:560px){
  body.ent .gc-stats{grid-template-columns:1fr 1fr}
  body.ent .gc-stats > :first-child{grid-column:1/-1}
  body.ent .gc-form{padding:16px}
  body.ent .gc-actions .btn{flex:1 1 0}
}

body.ent .gc-redeem{display:flex;gap:8px;margin-bottom:14px}
body.ent .gc-redeem-field{position:relative;flex:1;min-width:0;margin:0}
body.ent .gc-redeem-field i{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted-2);font-size:16px;pointer-events:none}
body.ent .gc-redeem-field input{padding-left:34px;text-transform:uppercase;letter-spacing:.04em;font-family:ui-monospace,Menlo,monospace}
body.ent .gc-redeem-field input::placeholder{text-transform:none;letter-spacing:0;font-family:Inter,system-ui,sans-serif}
body.ent .gc-redeem .btn{flex:none}

/* ============================================================================
   20 · ROW ACTIONS — one look for every list's action cell
   Icon buttons side by side, right-aligned, never wrapping onto a second line
   (a narrow column used to stack them vertically, as on Services and Fees).
   ========================================================================== */
body.ent td.actions{width:1%;white-space:nowrap;text-align:right}
body.ent .row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;vertical-align:middle}
body.ent .row-actions form{display:inline-flex;margin:0}
body.ent .row-actions .icon-btn{display:inline-grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;
  font-size:16px;border-radius:7px}
body.ent .row-actions .icon-btn.danger:hover{color:#b42318;border-color:#fecdca;background:#fef3f2}
body.ent .row-actions .row-select{width:auto;min-width:0;max-width:170px;min-height:32px;padding:4px 28px 4px 9px;font-size:13px}
/* Any other action cell built from bare icon buttons gets the same line. */
body.ent td:has(> .icon-btn){white-space:nowrap;width:1%}
body.ent td > .icon-btn{display:inline-grid;vertical-align:middle;width:32px;height:32px;min-width:32px;min-height:32px;font-size:16px}
body.ent td > .icon-btn + .icon-btn{margin-left:6px}
@media (max-width:680px){
  body.ent .table-as-cards td.actions{width:auto}
  body.ent .row-actions .icon-btn{width:36px;height:36px;min-width:36px;min-height:36px}
}

/* ============================================================================
   21 · PROMO (home page) MOTION
   Scoped to body.promo so every other page keeps the calm enterprise feel.
   Everything here is off for prefers-reduced-motion, and scroll reveals only
   start hidden once the page script adds .promo-motion to <html>.
   ========================================================================== */
body.ent.promo .hero{overflow:hidden}
body.ent.promo .hero-aurora{position:absolute;inset:-20% -10% auto -10%;height:120%;z-index:-2;pointer-events:none;filter:blur(56px);opacity:.8}
body.ent.promo .hero-aurora span{position:absolute;border-radius:50%}
body.ent.promo .hero-aurora span:nth-child(1){width:44vw;height:44vw;left:52%;top:-6%;
  background:radial-gradient(circle,color-mix(in srgb,var(--sky) 42%,transparent) 0%,transparent 68%)}
body.ent.promo .hero-aurora span:nth-child(2){width:38vw;height:38vw;left:70%;top:30%;
  background:radial-gradient(circle,color-mix(in srgb,var(--blue) 38%,transparent) 0%,transparent 68%)}
body.ent.promo .hero-aurora span:nth-child(3){width:30vw;height:30vw;left:-4%;top:42%;
  background:radial-gradient(circle,color-mix(in srgb,var(--sky) 22%,transparent) 0%,transparent 70%)}

/* Popular-services ticker */
body.ent .promo-ticker{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:#fff;padding:12px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
body.ent .promo-track{display:flex;gap:10px;width:max-content}
body.ent .promo-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border:1px solid var(--line);border-radius:999px;
  font-size:13px;font-weight:500;color:var(--ink-2);background:var(--bg);white-space:nowrap}
body.ent .promo-chip i{color:var(--blue);font-size:15px}

/* Hover life on the promo page's cards */
body.ent.promo :is(.svc-card,.cat-card){transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s}
body.ent.promo :is(.svc-card,.cat-card):hover{transform:translateY(-3px);box-shadow:0 14px 28px -14px rgba(16,24,40,.25)}
body.ent.promo :is(.svc-card .ic,.cat-card > i,.feat .ic){transition:transform .3s cubic-bezier(.2,.8,.2,1)}
body.ent.promo :is(.svc-card,.cat-card):hover :is(.ic,> i){transform:scale(1.12) rotate(-4deg)}
body.ent.promo .feat:hover .ic{transform:translateY(-2px)}
body.ent.promo .hero-cta .btn-primary{position:relative;overflow:hidden}
body.ent.promo .hero-cta .btn-primary::after{content:"";position:absolute;inset:0;transform:translateX(-120%);
  background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%)}

@media (prefers-reduced-motion:no-preference){
  /* Hero entrance — plain keyframes, so it plays without JavaScript too. */
  body.ent.promo .hero-grid > div > *{animation:promoUp .7s cubic-bezier(.16,1,.3,1) both}
  body.ent.promo .hero-grid > div > :nth-child(1){animation-delay:.05s}
  body.ent.promo .hero-grid > div > :nth-child(2){animation-delay:.12s}
  body.ent.promo .hero-grid > div > :nth-child(3){animation-delay:.2s}
  body.ent.promo .hero-grid > div > :nth-child(4){animation-delay:.28s}
  body.ent.promo .hero-grid > div > :nth-child(5){animation-delay:.36s}
  body.ent.promo .hero-grid > .lead-card{animation:promoIn .8s cubic-bezier(.16,1,.3,1) .25s both}
  body.ent.promo .hero-aurora span{animation:promoDrift 18s ease-in-out infinite alternate}
  body.ent.promo .hero-aurora span:nth-child(2){animation-duration:22s;animation-delay:-6s}
  body.ent.promo .hero-aurora span:nth-child(3){animation-duration:26s;animation-delay:-12s}
  body.ent.promo .hero-cta .btn-primary::after{animation:promoShine 3.6s ease-in-out 1.2s infinite}
  body.ent.promo .pill i{animation:promoPulse 2.4s ease-in-out infinite}
  body.ent .promo-track{animation:promoTicker 48s linear infinite}
  body.ent .promo-ticker:hover .promo-track{animation-play-state:paused}
  body.ent.promo .cta-band::before{animation:promoGrid 14s linear infinite}

  /* Scroll reveals (only once the script has confirmed it can reveal). */
  .promo-motion body.ent.promo [data-reveal]{opacity:0;transform:translateY(18px);
    transition:opacity .6s ease,transform .7s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--i,0) * 70ms)}
  .promo-motion body.ent.promo [data-reveal].is-in{opacity:1;transform:none}
  .promo-motion body.ent.promo .step[data-reveal]:before{transform:scale(.4);transition:transform .5s cubic-bezier(.34,1.56,.64,1);
    transition-delay:calc(var(--i,0) * 70ms + .2s)}
  .promo-motion body.ent.promo .step[data-reveal].is-in:before{transform:none}
}
@keyframes promoUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes promoIn{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:none}}
@keyframes promoDrift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-6%,5%) scale(1.08)}100%{transform:translate(5%,-4%) scale(.95)}}
@keyframes promoShine{0%,55%{transform:translateX(-120%)}80%,100%{transform:translateX(120%)}}
@keyframes promoPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes promoTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes promoGrid{from{background-position:0 0,0 0}to{background-position:32px 32px,32px 32px}}
@media (max-width:720px){
  body.ent .promo-ticker{padding:10px 0}
  body.ent .promo-chip{font-size:12.5px;padding:5px 11px}
  body.ent.promo .hero-aurora{opacity:.45}
  body.ent.promo .hero-aurora span:nth-child(1){width:90vw;height:90vw;left:30%}
}

@media (max-width:720px){
  body.ent .card-head{flex-wrap:wrap;row-gap:2px}
  body.ent .card-head > span.card-link{white-space:normal;font-size:12px;flex:1 1 100%}
}
