/* Heva anti-slop system — shared visual layer, behavior-neutral. */
:root{
  --hv-bg:#08090b;--hv-top:#0b0c0f;--hv-panel:#121317;--hv-panel-2:#17191e;
  --hv-inset:#0d0f13;--hv-line:#292c33;--hv-line-soft:#202229;
  --hv-text:#f4f4f5;--hv-muted:#a1a1aa;--hv-dim:#8b8b94;
  --hv-accent:#f97316;--hv-success:#22c55e;--hv-warning:#f59e0b;--hv-danger:#ef4444;
  --hv-control:8px;--hv-panel-radius:12px;--hv-overlay:16px;--hv-fast:150ms ease;
}
html{color-scheme:dark;background:var(--hv-bg)}
body{
  min-height:100vh;background-color:var(--hv-bg)!important;background-image:none!important;
  color:var(--hv-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;
  font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;
}
*,*::before,*::after{box-sizing:border-box}
button,a[href],select,summary,label[for],input[type="checkbox"],input[type="radio"]{cursor:pointer}
button:disabled,input:disabled,select:disabled{cursor:not-allowed}
:focus-visible{outline:2px solid var(--hv-accent)!important;outline-offset:2px}

/* Shared navigation: stable matte command strip. */
.henz-header,.topbar,.page-topbar,header.top{
  background:var(--hv-top)!important;background-image:none!important;border:1px solid var(--hv-line-soft)!important;
  border-radius:12px!important;box-shadow:none!important;backdrop-filter:none!important;
}
.henz-header{top:0!important;margin-top:12px!important}
.henz-header .inner{padding:11px 14px!important;gap:12px!important}
.henz-header .brand,.brand{letter-spacing:-.025em!important}
.henz-header .brand em{
  color:var(--hv-text)!important;background:none!important;-webkit-background-clip:initial!important;
  -webkit-text-fill-color:currentColor!important;
}
.henz-header nav{gap:3px!important}
.henz-header nav a,.topbar a,.page-topbar a{
  min-height:38px;display:inline-flex!important;align-items:center!important;padding:8px 11px!important;
  color:var(--hv-muted)!important;background:transparent!important;background-image:none!important;
  border:1px solid transparent!important;border-radius:8px!important;box-shadow:none!important;
  font-size:13px!important;font-weight:650!important;text-decoration:none!important;
  transition:background var(--hv-fast),border-color var(--hv-fast),color var(--hv-fast)!important;
}
.henz-header nav a:hover,.topbar a:hover,.page-topbar a:hover{
  transform:none!important;color:var(--hv-text)!important;background:var(--hv-panel)!important;
  border-color:var(--hv-line-soft)!important;text-decoration:none!important;
}
.henz-header nav a.on,.topbar a.on,.page-topbar a.current{
  color:var(--hv-text)!important;background:rgba(249,115,22,.12)!important;
  border-color:rgba(249,115,22,.34)!important;box-shadow:inset 3px 0 0 var(--hv-accent)!important;
}
.henz-header .ths,.theme-pills{gap:7px!important;background:transparent!important;border:0!important;padding:0!important}
.henz-header .th,.theme-pill{width:18px!important;height:18px!important;box-shadow:none!important;transform:none!important}

/* Content hierarchy: flat routine surfaces, elevation only for overlays. */
.panel,.review,.group,.card,.profile-card,.tweet,.acct-bar,.account-card,.result-card,
.info-panel,.accounts-panel,.bacon-panel,.bacon-history,.login-box{
  background:var(--hv-panel)!important;background-image:none!important;border-color:var(--hv-line-soft)!important;
  border-radius:var(--hv-panel-radius)!important;box-shadow:none!important;backdrop-filter:none!important;
}
.panel::before,.tweet::before,.card::before{background:var(--hv-accent)!important;box-shadow:none!important}
.panel:hover,.review:hover,.group:hover,.card:hover,.profile-card:hover,.tweet:hover,.acct-bar:hover,.result-card:hover{
  transform:none!important;box-shadow:none!important;border-color:var(--hv-line)!important;
}
.page-head h1,.page-title,.head{letter-spacing:-.04em!important;color:var(--hv-text)!important}
.page-head p,.page-subtitle,.sub,.muted{color:var(--hv-muted)!important}
.section-header,.section-h{background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important}

/* Controls: one orange primary, quiet supporting actions. */
input,textarea,select{
  min-height:40px;background:var(--hv-inset)!important;background-image:none!important;color:var(--hv-text)!important;
  border:1px solid var(--hv-line)!important;border-radius:var(--hv-control)!important;box-shadow:none!important;
}
input::placeholder,textarea::placeholder{color:var(--hv-dim)!important;opacity:1}
input:focus,textarea:focus,select:focus{border-color:rgba(249,115,22,.72)!important;outline:none}
.btn,.mini-btn,.refresh-btn,.filter-pill,.filter,.bulkbar button,.email-copy-btn{
  border-radius:var(--hv-control)!important;box-shadow:none!important;transform:none!important;
  transition:background var(--hv-fast),border-color var(--hv-fast),color var(--hv-fast),opacity var(--hv-fast)!important;
}
.btn.primary,.btn.amber,.filter-pill.active,.filter.on,.standby-start{
  background:var(--hv-accent)!important;background-image:none!important;border-color:var(--hv-accent)!important;
  color:#09090b!important;box-shadow:none!important;
}
.btn.green{background:var(--hv-success)!important;background-image:none!important;color:#06130d!important}
.btn.red,.btn-red,.danger{background:var(--hv-danger)!important;background-image:none!important;color:#fff!important}
.btn:hover,.mini-btn:hover,.refresh-btn:hover,.filter-pill:hover,.filter:hover,.bulkbar button:hover{transform:none!important;filter:brightness(1.07)}

/* Compact operational labels; no ornamental capsule overload. */
.chip,.pill,.count-pill,.status-pill,.type-badge,.section-count,.tag,.acct-badge,.status-badge,
.following-status,.meta code,.ga-action-chip{
  border-radius:7px!important;box-shadow:none!important;background-image:none!important;
}
.progress,.acct-totp-bar{box-shadow:none!important}
.progress i,.acct-totp-fill{background:var(--hv-accent)!important;background-image:none!important}

/* Media/profile surfaces keep content, remove ornamental framing. */
.banner-wrap{background:var(--hv-inset)!important;background-image:none!important}
.avatar-ring{border-color:var(--hv-panel)!important}
.handle-link{border-radius:8px!important;background:transparent!important;color:var(--hv-accent)!important;box-shadow:none!important}
.card-m,.following-card,.bacon-row,.history-card{box-shadow:none!important}

/* Login surfaces. */
.login-box{width:min(390px,calc(100vw - 24px))!important;padding:28px!important;border:1px solid var(--hv-line)!important}
.login-box h1{letter-spacing:-.025em}
.pin-input{font-size:22px!important}
.login-box .btn{min-height:46px;background:var(--hv-accent)!important;color:#09090b!important;border-radius:8px!important}

/* Overlays alone may float. */
.modal,.lightbox{backdrop-filter:blur(4px)}
.modal-box,[role="dialog"]{border-radius:var(--hv-overlay)!important;background:var(--hv-panel)!important;box-shadow:0 24px 70px rgba(0,0,0,.5)!important}
.toast{border-radius:8px!important;background:var(--hv-panel)!important;box-shadow:0 18px 45px rgba(0,0,0,.46)!important}

/* Motion communicates state only. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
@media(max-width:700px){
  body{padding-left:11px!important;padding-right:11px!important}
  .henz-header{border-radius:10px!important}
  .henz-header .inner{padding:8px 10px!important;gap:8px!important}
  .henz-header nav{width:100%;overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:2px}
  .henz-header nav a{min-height:42px;white-space:nowrap}
  input,textarea,select{font-size:16px!important}
  .btn,.mini-btn,.refresh-btn,.filter-pill,.filter,.bulkbar button{min-height:44px}
  .panel,.review,.group,.card,.profile-card,.tweet,.acct-bar,.result-card,.login-box{border-radius:10px!important}
}
