/* Generated by scripts/zolix_default_theme.py; edit Studio source. */
/* Zolix Studio — calm surfaces, clear hierarchy, no ornamental glow. */
html.theme-key-dark .app-shell { background:var(--bg)!important; }
html.theme-key-dark .card {
  border-radius:20px; padding:24px; background:var(--panel);
  border-color:var(--border); box-shadow:none;
}
html.theme-key-dark .btn {
  min-height:48px; border-radius:12px; font-weight:600; letter-spacing:0;
  box-shadow:none; transition:background .16s,border-color .16s;
}
html.theme-key-dark .btn:hover:not(:disabled) { transform:none; box-shadow:none; }
html.theme-key-dark .btn-primary {
  background:var(--accent); border-color:var(--accent);color:var(--accent-contrast);
}
html.theme-key-dark .btn-secondary { background:var(--panel-3); }
html.theme-key-dark .btn-outline { border-color:var(--border-strong); }
html.theme-key-dark .card-active {border-color:var(--border-strong);box-shadow:none}
html.theme-key-dark input,
html.theme-key-dark select {border-radius:10px;}
html.theme-key-dark .home-layout {height:auto;min-height:0;align-content:start;gap:28px}
html.theme-key-dark .home-layout > .home-brand {
  display:flex;flex-direction:row;align-items:center;justify-content:flex-start;
  text-align:left;gap:18px;padding:14px 0 28px;border-bottom:1px solid var(--border);
}
html.theme-key-dark .home-logo-slot {width:58px;height:58px;flex:0 0 58px}
html.theme-key-dark .app-shell .home-brand .brand-mark,
html.theme-key-dark .app-shell .home-brand .brand-mark.brand-mark-xl {
  width:56px;height:56px;font-size:36px;
}
html.theme-key-dark .home-brand h1 {font-size:34px;line-height:1.12;letter-spacing:-1.2px;margin:0;color:var(--text)}
html.theme-key-dark .home-bottom {width:100%;max-width:none;gap:18px;align-self:start;justify-self:stretch}
html.theme-key-dark .status-card .sub-status-main h2 {color:var(--text);font-size:22px}
html.theme-key-dark .home-balance-card {padding:24px!important;min-height:110px}
html.theme-key-dark .home-balance-summary > span {display:flex;flex-direction:column;align-items:flex-start;gap:4px}
html.theme-key-dark .home-balance-summary strong {font-size:28px;letter-spacing:-1px}
html.theme-key-dark .home-balance-summary small {font-size:13px;font-weight:400}
html.theme-key-dark .home-balance-summary > svg {width:24px;height:24px;color:var(--muted)}
html.theme-key-dark .home-balance-topup {border-color:var(--border-strong)!important;color:var(--text)!important;background:var(--panel-3)!important}
html.theme-key-dark .traffic-card-compact {min-height:108px;display:grid;align-content:center;gap:15px}
html.theme-key-dark .action-stack {gap:12px}
html.theme-key-dark .settings-profile {padding:24px}
html.theme-key-dark .settings-row {min-height:54px}
html.theme-key-dark .auth-screen {background:transparent}
html.theme-key-dark .auth-card {border-radius:24px;padding:30px}
html.theme-key-dark .login-brand-auth {gap:18px}
html.theme-key-dark .login-brand-auth h1 {color:var(--text);font-size:32px;letter-spacing:-1px}
html.theme-key-dark .login-brand-auth .brand-mark {width:76px;height:76px}
@media(min-width:1024px){
 html.theme-key-dark .phone-screen:not(.auth-screen){padding:48px 48px 48px 310px;min-height:100dvh}
 html.theme-key-dark .phone-screen.home-screen{display:block}
 html.theme-key-dark .phone-screen > main,
 html.theme-key-dark .phone-screen > .home-layout{max-width:1140px;margin:0 auto}
 html.theme-key-dark .home-layout{width:100%;grid-template-columns:1fr;grid-template-rows:auto auto}
 html.theme-key-dark .home-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 html.theme-key-dark .home-bottom > .status-card{grid-column:2;grid-row:1;display:grid;align-content:center}
 html.theme-key-dark .home-bottom > .home-balance-card{grid-column:1;grid-row:1}
 html.theme-key-dark .home-bottom > .traffic-card-compact,
 html.theme-key-dark .home-bottom > .trial-offer-card,
 html.theme-key-dark .home-bottom > .action-stack{grid-column:1/-1}
 html.theme-key-dark .action-stack{display:grid;grid-template-columns:1fr 1fr}
 html.theme-key-dark .bottom-nav{
  top:18px!important;left:18px!important;bottom:18px!important;right:auto!important;
  width:238px!important;height:calc(100dvh - 36px)!important;
  padding:22px 12px!important;border:1px solid var(--border)!important;
  border-radius:22px!important;background:var(--rail-bg)!important;
  box-shadow:none!important;backdrop-filter:none!important;gap:5px!important;
 }
 html.theme-key-dark .bottom-nav .rail-brand{padding:4px 12px 26px;margin-bottom:16px;gap:10px}
 html.theme-key-dark .bottom-nav .rail-brand strong{color:var(--text);font-size:18px;letter-spacing:-.5px}
 html.theme-key-dark .bottom-nav button{padding:13px 14px!important;border-radius:12px!important;font-weight:500}
 html.theme-key-dark .bottom-nav button.active{background:var(--accent);color:var(--accent-contrast);border-color:transparent}
 html.theme-key-dark .bottom-nav button.active svg{color:var(--accent-contrast)}
 html.theme-key-dark .rail-settings-subnav{margin:12px 0 12px 12px;padding:12px 0 0;border-left:0;border-top:1px solid var(--border)}
 html.theme-key-dark .bottom-nav .rail-settings-subnav button{padding:10px 12px!important}
 html.theme-key-dark .bottom-nav .rail-admin-entry{margin-top:14px}
 html.theme-key-dark .auth-screen{width:min(100%,560px);padding:48px 30px;margin:auto}
}
@media(max-width:1023px){
 html.theme-key-dark .home-layout > .home-brand{padding:20px 0 24px;gap:15px}
 html.theme-key-dark .home-brand h1{font-size:30px}
 html.theme-key-dark .card{padding:20px;border-radius:18px}
 html.theme-key-dark .home-bottom{gap:14px}
 html.theme-key-dark .bottom-nav{background:var(--nav-bg);backdrop-filter:none;box-shadow:0 8px 30px #0002;border:1px solid var(--border)}
}
@media(prefers-reduced-motion:reduce){html.theme-key-dark *{animation:none!important;transition:none!important}}

/* Allow copying readable content; dragging controls keep their normal behavior. */
html.theme-key-dark .app-shell :where(p,h1,h2,h3,h4,span,strong,small,li,td,th,label){-webkit-user-select:text!important;user-select:text!important}
html.theme-key-dark ::selection{background:#b6c4aa;color:#182016}

/* Neutral surfaces and comfortable reading rhythm. */
html.theme-key-dark .app-shell{line-height:1.65}
html.theme-key-dark .card :where(p,small){line-height:1.7}
html.theme-key-dark .traffic-summary-left,html.theme-key-dark .traffic-summary-right{font-size:12px;line-height:1.6}
html.theme-key-dark .home-balance-summary small{font-size:14px}
html.theme-key-dark .home-brand h1{font-weight:600;letter-spacing:-.8px}
html.theme-key-dark .bottom-nav .bottom-nav-label{font-size:14px!important;font-weight:500}
html.theme-key-dark .card h2{line-height:1.35}
html.theme-key-dark ::selection{background:#c9cdd2;color:#24272b}

/* Balance: compact wallet tile, clear amount and a readable top-up action. */
html.theme-key-dark .home-balance-card{padding:22px 24px!important;min-height:122px;gap:18px!important}
html.theme-key-dark .home-balance-summary{gap:16px;align-items:center}
html.theme-key-dark .home-balance-summary > svg{box-sizing:content-box;flex:0 0 23px;width:23px;height:23px;padding:13px;border-radius:15px;background:#2c3136;border:1px solid #454c53;color:#cbd3dc}
html.theme-key-dark .home-balance-summary > span{gap:6px;line-height:1.2}
html.theme-key-dark .home-balance-summary small{font-size:13px;color:var(--muted);line-height:1.2}
html.theme-key-dark .home-balance-summary strong{font-size:32px;font-weight:600;line-height:1.15;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--text)}
html.theme-key-dark .home-balance-card .home-balance-topup{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;border-radius:14px!important;border:1px solid #687079!important;background:#30363c!important;color:#edf1f4!important;box-shadow:none;transition:background-color .18s,border-color .18s}
html.theme-key-dark .home-balance-card .home-balance-topup svg{width:20px;height:20px;stroke-width:1.8}
html.theme-key-dark .home-balance-card .home-balance-topup:hover{background:#414a53!important;border-color:#99a4ae!important;transform:none}
html.theme-key-dark .home-balance-card .home-balance-topup:active{background:#242b31!important}
html.theme-key-dark .home-balance-card .home-balance-topup:focus-visible{outline:2px solid #abb9c6;outline-offset:3px}
@media(max-width:600px){html.theme-key-dark .home-balance-card{padding:20px!important;min-height:112px}html.theme-key-dark .home-balance-summary{gap:13px}html.theme-key-dark .home-balance-summary strong{font-size:30px}}

/* Quiet star field; text panels remain opaque. */
html.theme-key-dark .app-shell{position:relative;isolation:isolate}
html.theme-key-dark .app-shell:before{position:fixed;inset:-24px;pointer-events:none;content:"";background-repeat:no-repeat;background-size:100% 100%;z-index:-1;background-image:radial-gradient(circle at 82% 15%, rgba(210,220,231,0.13) 0 1px, transparent 1.8px),radial-gradient(circle at 32% 29%, rgba(210,220,231,0.18) 0 1px, transparent 1.5px),radial-gradient(circle at 87% 95%, rgba(210,220,231,0.13) 0 1px, transparent 1.8px),radial-gradient(circle at 5% 4%, rgba(210,220,231,0.13) 0 0.6px, transparent 1.5px),radial-gradient(circle at 65% 78%, rgba(210,220,231,0.13) 0 1px, transparent 1.5px),radial-gradient(circle at 92% 84%, rgba(210,220,231,0.28) 0 0.6px, transparent 1.8px),radial-gradient(circle at 76% 36%, rgba(210,220,231,0.13) 0 0.6px, transparent 2px),radial-gradient(circle at 55% 44%, rgba(210,220,231,0.23) 0 0.6px, transparent 1.5px),radial-gradient(circle at 98% 44%, rgba(210,220,231,0.13) 0 0.6px, transparent 1.8px),radial-gradient(circle at 13% 46%, rgba(210,220,231,0.23) 0 1px, transparent 1.8px),radial-gradient(circle at 6% 94%, rgba(210,220,231,0.28) 0 1px, transparent 1.5px),radial-gradient(circle at 49% 11%, rgba(210,220,231,0.23) 0 1px, transparent 2px),radial-gradient(circle at 47% 74%, rgba(210,220,231,0.18) 0 1px, transparent 1.5px),radial-gradient(circle at 6% 85%, rgba(210,220,231,0.18) 0 0.8px, transparent 1.5px),radial-gradient(circle at 30% 13%, rgba(210,220,231,0.28) 0 0.8px, transparent 1.8px),radial-gradient(circle at 82% 47%, rgba(210,220,231,0.18) 0 0.8px, transparent 1.8px),radial-gradient(circle at 27% 86%, rgba(210,220,231,0.23) 0 1px, transparent 2px),radial-gradient(circle at 83% 10%, rgba(210,220,231,0.18) 0 1px, transparent 2px),radial-gradient(circle at 32% 21%, rgba(210,220,231,0.28) 0 0.8px, transparent 1.8px),radial-gradient(circle at 82% 89%, rgba(210,220,231,0.18) 0 1px, transparent 1.8px),radial-gradient(circle at 8% 30%, rgba(210,220,231,0.13) 0 0.8px, transparent 1.8px),radial-gradient(circle at 35% 9%, rgba(210,220,231,0.18) 0 1px, transparent 2px),radial-gradient(circle at 41% 28%, rgba(210,220,231,0.28) 0 0.8px, transparent 2px),radial-gradient(circle at 59% 19%, rgba(210,220,231,0.23) 0 0.6px, transparent 1.5px),radial-gradient(circle at 96% 72%, rgba(210,220,231,0.23) 0 1px, transparent 2px),radial-gradient(circle at 55% 75%, rgba(210,220,231,0.28) 0 0.8px, transparent 1.5px),radial-gradient(circle at 18% 66%, rgba(210,220,231,0.28) 0 0.6px, transparent 1.5px),radial-gradient(circle at 15% 20%, rgba(210,220,231,0.18) 0 1px, transparent 1.8px);animation:harpy-stars-drift 110s ease-in-out infinite alternate}
html.theme-key-dark .app-shell:after{position:fixed;inset:-24px;pointer-events:none;content:"";background-repeat:no-repeat;background-size:100% 100%;z-index:-1;background-image:radial-gradient(circle at 77% 9%, rgba(210,220,231,0.28) 0 0.8px, transparent 2px),radial-gradient(circle at 60% 68%, rgba(210,220,231,0.23) 0 1px, transparent 1.5px),radial-gradient(circle at 88% 93%, rgba(210,220,231,0.13) 0 1px, transparent 2px),radial-gradient(circle at 97% 35%, rgba(210,220,231,0.23) 0 0.6px, transparent 1.8px),radial-gradient(circle at 56% 21%, rgba(210,220,231,0.28) 0 0.6px, transparent 2px),radial-gradient(circle at 93% 34%, rgba(210,220,231,0.18) 0 1px, transparent 1.5px),radial-gradient(circle at 81% 39%, rgba(210,220,231,0.18) 0 0.6px, transparent 1.8px),radial-gradient(circle at 98% 21%, rgba(210,220,231,0.13) 0 1px, transparent 1.8px),radial-gradient(circle at 63% 3%, rgba(210,220,231,0.13) 0 0.8px, transparent 1.8px),radial-gradient(circle at 31% 8%, rgba(210,220,231,0.18) 0 1px, transparent 1.5px),radial-gradient(circle at 11% 94%, rgba(210,220,231,0.28) 0 0.6px, transparent 2px),radial-gradient(circle at 17% 17%, rgba(210,220,231,0.28) 0 1px, transparent 1.5px),radial-gradient(circle at 34% 68%, rgba(210,220,231,0.28) 0 0.6px, transparent 2px),radial-gradient(circle at 97% 94%, rgba(210,220,231,0.18) 0 1px, transparent 1.8px),radial-gradient(circle at 52% 86%, rgba(210,220,231,0.23) 0 0.8px, transparent 2px),radial-gradient(circle at 58% 16%, rgba(210,220,231,0.18) 0 0.6px, transparent 1.5px),radial-gradient(circle at 44% 3%, rgba(210,220,231,0.18) 0 1px, transparent 1.5px),radial-gradient(circle at 1% 10%, rgba(210,220,231,0.13) 0 0.6px, transparent 1.5px);animation:harpy-stars-drift 150s ease-in-out infinite alternate-reverse,harpy-stars-glimmer 14s ease-in-out infinite}
@keyframes harpy-stars-drift{from{transform:translate3d(-5px,-7px,0)}to{transform:translate3d(9px,12px,0)}}
@keyframes harpy-stars-glimmer{0%,100%{opacity:.4}50%{opacity:.85}}
html.theme-key-dark.theme-variant-light .app-shell:before,html.theme-key-dark.theme-variant-light .app-shell:after{opacity:.12;animation:none}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .app-shell:before,html.theme-key-dark .app-shell:after{animation:none!important}}

/* Optional document links resolve silently instead of flashing a menu-sized loader. */
html.theme-key-dark .settings-documents-loading{display:none!important}

html.theme-key-dark .app-shell:before{inset:-90px;background-image:radial-gradient(circle at 40.2% 20.2%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 3.4% 75.8%,rgba(218,228,239,0.23) 0 1px,transparent 1.8px),radial-gradient(circle at 67.9% 15.0%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 15.5% 18.6%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 66.3% 15.4%,rgba(218,228,239,0.18) 0 1px,transparent 1.8px),radial-gradient(circle at 46.6% 84.7%,rgba(218,228,239,0.18) 0 1px,transparent 1.8px),radial-gradient(circle at 88.6% 25.8%,rgba(218,228,239,0.18) 0 1px,transparent 1.8px),radial-gradient(circle at 19.0% 3.4%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 52.3% 45.5%,rgba(218,228,239,0.18) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 80.3% 69.7%,rgba(218,228,239,0.23) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 47.3% 8.5%,rgba(218,228,239,0.23) 0 1px,transparent 1.8px),radial-gradient(circle at 3.3% 14.1%,rgba(218,228,239,0.28) 0 1.3px,transparent 2.1px),radial-gradient(circle at 83.8% 4.0%,rgba(218,228,239,0.18) 0 1px,transparent 1.8px),radial-gradient(circle at 55.2% 10.2%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 69.9% 95.7%,rgba(218,228,239,0.28) 0 1.3px,transparent 2.1px),radial-gradient(circle at 4.4% 46.6%,rgba(218,228,239,0.28) 0 1.3px,transparent 2.1px),radial-gradient(circle at 33.4% 61.8%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 35.3% 68.0%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 77.0% 41.6%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 30.7% 43.6%,rgba(218,228,239,0.23) 0 1px,transparent 1.8px),radial-gradient(circle at 80.9% 5.3%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 51.4% 68.8%,rgba(218,228,239,0.23) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 9.8% 7.1%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 5.0% 55.7%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 23.2% 3.6%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 63.5% 6.4%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 67.2% 15.0%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 67.1% 61.4%,rgba(218,228,239,0.28) 0 1px,transparent 1.8px),radial-gradient(circle at 29.0% 86.5%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 27.8% 2.2%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 21.2% 39.5%,rgba(218,228,239,0.18) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 47.6% 73.4%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 81.1% 39.0%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 5.4% 90.3%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 97.1% 40.4%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 39.7% 63.1%,rgba(218,228,239,0.23) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 59.5% 17.3%,rgba(218,228,239,0.23) 0 1px,transparent 1.8px),radial-gradient(circle at 83.3% 68.6%,rgba(218,228,239,0.23) 0 1.3px,transparent 2.1px),radial-gradient(circle at 41.1% 51.9%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 86.6% 21.7%,rgba(218,228,239,0.18) 0 1.3px,transparent 2.1px),radial-gradient(circle at 3.6% 96.0%,rgba(218,228,239,0.28) 0 1.6px,transparent 2.4000000000000004px),radial-gradient(circle at 45.2% 67.0%,rgba(218,228,239,0.23) 0 1px,transparent 1.8px);animation:harpy-deep-drift 100s linear infinite alternate}
html.theme-key-dark .app-shell:after{inset:-90px;background-image:radial-gradient(circle at 45.4% 14.7%,rgba(218,228,239,0.3) 0 2.2px,transparent 3.0px),radial-gradient(circle at 21.6% 77.4%,rgba(218,228,239,0.46) 0 1.5px,transparent 2.3px),radial-gradient(circle at 31.1% 72.2%,rgba(218,228,239,0.46) 0 2.2px,transparent 3.0px),radial-gradient(circle at 52.4% 12.9%,rgba(218,228,239,0.3) 0 1.5px,transparent 2.3px),radial-gradient(circle at 89.9% 34.4%,rgba(218,228,239,0.46) 0 2.2px,transparent 3.0px),radial-gradient(circle at 68.7% 26.2%,rgba(218,228,239,0.3) 0 1.8px,transparent 2.6px),radial-gradient(circle at 83.9% 39.1%,rgba(218,228,239,0.3) 0 1.8px,transparent 2.6px),radial-gradient(circle at 31.8% 25.9%,rgba(218,228,239,0.3) 0 1.5px,transparent 2.3px),radial-gradient(circle at 39.9% 65.6%,rgba(218,228,239,0.38) 0 1.5px,transparent 2.3px),radial-gradient(circle at 7.0% 50.0%,rgba(218,228,239,0.38) 0 1.8px,transparent 2.6px),radial-gradient(circle at 45.2% 78.1%,rgba(218,228,239,0.38) 0 2.2px,transparent 3.0px),radial-gradient(circle at 76.6% 13.6%,rgba(218,228,239,0.38) 0 1.5px,transparent 2.3px),radial-gradient(circle at 31.6% 68.9%,rgba(218,228,239,0.3) 0 2.2px,transparent 3.0px),radial-gradient(circle at 96.4% 38.3%,rgba(218,228,239,0.38) 0 2.2px,transparent 3.0px),radial-gradient(circle at 29.1% 33.4%,rgba(218,228,239,0.3) 0 1.5px,transparent 2.3px),radial-gradient(circle at 37.6% 50.2%,rgba(218,228,239,0.3) 0 2.2px,transparent 3.0px),radial-gradient(circle at 59.7% 96.8%,rgba(218,228,239,0.38) 0 1.5px,transparent 2.3px),radial-gradient(circle at 68.4% 53.0%,rgba(218,228,239,0.3) 0 2.2px,transparent 3.0px),radial-gradient(circle at 40.7% 38.8%,rgba(218,228,239,0.3) 0 1.8px,transparent 2.6px),radial-gradient(circle at 91.3% 4.3%,rgba(218,228,239,0.38) 0 2.2px,transparent 3.0px),radial-gradient(circle at 65.9% 82.1%,rgba(218,228,239,0.38) 0 1.8px,transparent 2.6px),radial-gradient(circle at 4.2% 84.3%,rgba(218,228,239,0.38) 0 1.5px,transparent 2.3px),radial-gradient(circle at 3.2% 34.7%,rgba(218,228,239,0.38) 0 2.2px,transparent 3.0px),radial-gradient(circle at 54.5% 32.5%,rgba(218,228,239,0.3) 0 1.8px,transparent 2.6px),radial-gradient(circle at 34.9% 44.2%,rgba(218,228,239,0.46) 0 2.2px,transparent 3.0px),radial-gradient(circle at 89.5% 80.2%,rgba(218,228,239,0.3) 0 2.2px,transparent 3.0px),radial-gradient(circle at 70.0% 65.6%,rgba(218,228,239,0.3) 0 1.8px,transparent 2.6px),radial-gradient(circle at 10.0% 63.2%,rgba(218,228,239,0.38) 0 1.5px,transparent 2.3px);animation:harpy-near-drift 76s linear infinite alternate,harpy-stars-glimmer 16s ease-in-out infinite}
html.theme-key-dark .phone-screen:before{content:"";position:fixed;top:14%;left:15%;width:100px;height:1px;pointer-events:none;z-index:-1;background:linear-gradient(90deg,transparent,#cbd9e4);transform-origin:right center;opacity:0;animation:harpy-meteor 24s linear infinite}

@keyframes harpy-deep-drift{from{transform:translate3d(-35px,-25px,0)}to{transform:translate3d(55px,45px,0)}}
@keyframes harpy-near-drift{from{transform:translate3d(-50px,-40px,0)}to{transform:translate3d(80px,70px,0)}}
@keyframes harpy-meteor{0%,78%{opacity:0;transform:translate3d(0,0,0) rotate(25deg)}80%{opacity:.5}85%{opacity:0;transform:translate3d(480px,225px,0) rotate(25deg)}100%{opacity:0;transform:translate3d(480px,225px,0) rotate(25deg)}}

@media(prefers-reduced-motion:reduce){html.theme-key-dark .phone-screen:before{display:none}html.theme-key-dark .app-shell:before,html.theme-key-dark .app-shell:after{animation:none!important}}

/* Active-subscription confirmation uses the semantic success colour. */
html.theme-key-dark .status-card .sub-status:not(.sub-status-inactive) > .sub-status-icon{color:#79c69a;stroke:#79c69a}

/* Draw attention to linking an identity using the action itself. */
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot){position:relative;isolation:isolate;overflow:hidden;border:1px solid #925c66;background:#292426!important;animation:none}
html.theme-key-dark .security-card .settings-row.attention-wrap .attention-dot{display:none}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):hover{animation:none;border-color:#d18b98;background:#50303966}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):focus-visible{animation:none;outline:2px solid #db9aa6;outline-offset:3px}
html.theme-key-dark .settings-row-linked > svg:last-child{color:#79c69a;stroke:#79c69a}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#bd5369;pointer-events:none;animation:harpy-link-fill 4s cubic-bezier(.45,0,.55,1) infinite}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):hover:before{animation:none;opacity:.24}
@keyframes harpy-link-fill{0%,100%{opacity:.04}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):before{animation:none!important;opacity:.12}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .security-card .settings-row.attention-wrap{animation:none!important}}

/* Security method confirmations are CheckCircle icons, not linked-row classes. */
html.theme-key-dark .security-methods .settings-row > svg.lucide-circle-check,
html.theme-key-dark .security-methods .settings-row > svg.lucide-circle-check-big,
html.theme-key-dark .security-methods .settings-row > svg:last-child:not(.lucide-arrow-right){color:#79c69a!important;stroke:#79c69a!important}
/* Identity actions: consistent icon column and readable labels. */
html.theme-key-dark .security-methods .settings-row{display:grid!important;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center!important;column-gap:16px!important;padding:17px 20px!important;min-height:64px;text-align:left}
html.theme-key-dark .security-methods .settings-row > :first-child{justify-self:center;align-self:center}
html.theme-key-dark .security-methods .settings-row > span:not(.attention-dot){display:flex;flex-direction:column;gap:4px;line-height:1.4;min-width:0}
html.theme-key-dark .security-methods .settings-row strong{font-size:14px;font-weight:600;line-height:1.4}
html.theme-key-dark .security-methods .settings-row small{font-size:12px;line-height:1.5;color:#b9bdc2}
html.theme-key-dark .security-methods .settings-row > svg:last-child{justify-self:end}
/* Distinct on/off tracks; a dark thumb stays legible on the enabled track. */
html.theme-key-dark .notification-preferences__switch{box-sizing:border-box!important;width:46px!important;height:28px!important;padding:3px!important;border:1px solid #687079!important;background:#343a40!important;box-shadow:inset 0 1px 3px #0003!important}
html.theme-key-dark .notification-preferences__switch[data-state="checked"]{background:#89bca0!important;border-color:#a4d1b8!important}
html.theme-key-dark .notification-preferences__thumb{width:20px!important;height:20px!important;background:#d9dfe4!important;box-shadow:0 1px 3px #0005!important}
html.theme-key-dark .notification-preferences__thumb[data-state="checked"]{background:#163b2a!important;transform:translateX(18px)!important}
html.theme-key-dark .notification-preferences__switch:focus-visible{outline:2px solid #a8c9b7!important;outline-offset:4px}
html.theme-key-dark .notification-preferences__switch:disabled{opacity:.55!important}
html.theme-key-dark .security-methods .settings-row [data-provider-logo="telegram"]{width:28px!important;height:28px!important;max-width:none;justify-self:center}
/* A small directional hint follows the email action's breathing rhythm. */
html.theme-key-dark .security-methods .settings-row.attention-wrap:has(.attention-dot) > svg:last-child{animation:none;transform:translateX(0);transition:transform .25s ease}
@keyframes harpy-link-arrow{0%,25%,75%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .security-methods .settings-row.attention-wrap:has(.attention-dot) > svg:last-child{animation:none!important}}

html.theme-key-dark .security-methods .settings-row.attention-wrap:has(.attention-dot):hover > svg:last-child{transform:translateX(4px)}
html.theme-key-dark .rail-brand{text-decoration:none;color:inherit;transition:opacity .2s ease}
html.theme-key-dark .rail-brand:hover{opacity:.8}
html.theme-key-dark .rail-brand:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
/* Settings navigation uses the same quiet hover movement as linking email. */
html.theme-key-dark .settings-row > svg.lucide-arrow-right:last-child{transition:transform .25s ease;transform:translateX(0)}
html.theme-key-dark .settings-row:hover > svg.lucide-arrow-right:last-child,
html.theme-key-dark .settings-row:focus-visible > svg.lucide-arrow-right:last-child{transform:translateX(4px)}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .settings-row > svg.lucide-arrow-right:last-child{transform:none!important;transition:none!important}}
/* Compact ticket heading without reducing the conversation area. */
html.theme-key-dark .support-ticket-screen > .support-ticket-card:not(.support-ticket-state-card){padding:12px 18px!important;border-radius:16px!important;gap:0!important}
html.theme-key-dark .support-ticket-detail-header{align-items:center;gap:8px 14px}
html.theme-key-dark .support-ticket-detail-header .support-back-button{align-self:center;min-height:34px;padding:6px 10px}
html.theme-key-dark .support-ticket-detail-header .ticket-detail-title small{margin:0 0 2px;line-height:1.3;font-size:11px;font-weight:600}
html.theme-key-dark .support-ticket-detail-header .ticket-detail-title h1{font-size:18px;line-height:1.3;font-weight:600}
html.theme-key-dark .support-ticket-detail-header .ticket-badges{align-items:center}
html.theme-key-dark .support-ticket-screen .rt-toolbar .rt-tool{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:9px}
html.theme-key-dark .support-ticket-screen .rt-tool:is([data-rt-format="blockquote"],[data-rt-format="link"]){font-size:20px;line-height:1;background:#2c3035;color:#f1f1ee;border-color:#535a62;padding:0 8px}
html.theme-key-dark .support-ticket-screen .rt-tool:is([data-rt-format="blockquote"],[data-rt-format="link"]):hover{background:#3b4249;border-color:#8c969f}
html.theme-key-dark .support-ticket-screen .rt-tool:focus-visible{outline:2px solid #a9b6c3;outline-offset:3px}
@media(max-width:600px){html.theme-key-dark .support-ticket-screen > .support-ticket-card:not(.support-ticket-state-card){padding:10px 12px!important}html.theme-key-dark .support-ticket-detail-header .ticket-detail-title h1{font-size:16px}}
/* Unread support replies use an amber bell; identity reminders retain red dots. */
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{width:18px!important;height:18px!important;border-radius:0!important;background:#eeb367!important;box-shadow:none!important;animation:none!important;mask:url("/webapp-theme-assets/dark/support-bell.svg") center/contain no-repeat}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot:before,
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot:after{display:none!important}
/* Studio 1.1.2: use the supplied eagle throughout branding and loading. */
html.theme-key-dark .brand-mark img{border-radius:22%;object-fit:contain}
html.theme-key-dark .brand-mark-spinner{background:url("/webapp-theme-assets/dark/brand-1.1.2.png") center/contain no-repeat;border:0!important;border-radius:22%;width:100%;height:100%;animation:harpy-eagle-load 1.8s ease-in-out infinite!important}
html.theme-key-dark .app-boot-fallback__spinner{background:url("/webapp-theme-assets/dark/brand-1.1.2.png") center/contain no-repeat;border:0!important;border-radius:14px;width:58px;height:58px;animation:harpy-eagle-load 1.8s ease-in-out infinite!important}
@keyframes harpy-eagle-load{0%,100%{opacity:.45}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .brand-mark-spinner,html.theme-key-dark .app-boot-fallback__spinner{animation:none!important}}
/* Studio 1.1.3: clear click targets and a quiet unread-support reminder. */
html.theme-key-dark .bottom-nav button:enabled,
html.theme-key-dark button.settings-row:enabled,
html.theme-key-dark .settings-row[role="combobox"]:not([aria-disabled="true"]){cursor:pointer!important;transition:background-color .2s ease,box-shadow .2s ease,border-color .2s ease}
html.theme-key-dark .bottom-nav button:enabled *,
html.theme-key-dark button.settings-row:enabled *{cursor:inherit!important}
html.theme-key-dark .bottom-nav button:enabled:not(.active):hover{background:var(--panel-3)!important;box-shadow:inset 0 0 0 1px var(--border-strong);color:var(--text)}
html.theme-key-dark button.settings-row:enabled:hover{box-shadow:inset 0 0 0 1px var(--border-strong);background-color:var(--panel-3)}
html.theme-key-dark .bottom-nav button:enabled:focus-visible,
html.theme-key-dark button.settings-row:enabled:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){animation:harpy-support-frame 5s ease-in-out infinite}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{transform-origin:50% 18%;animation:harpy-support-bell 5s ease-in-out infinite!important}
@keyframes harpy-support-bell{0%,18%,100%{rotate:0deg}3%{rotate:16deg}6%{rotate:-14deg}9%{rotate:11deg}12%{rotate:-8deg}15%{rotate:4deg}}
@keyframes harpy-support-frame{0%,22%,100%{box-shadow:inset 0 0 0 1px transparent}10%{box-shadow:inset 0 0 0 1px #eeb36799,0 0 10px #eeb3670d}}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot):hover{animation:none;box-shadow:inset 0 0 0 1px #eeb367aa}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot),html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{animation:none!important;rotate:0deg}}
/* Studio 1.1.4: persistent unread outline and mobile Telegram geometry. */
@keyframes harpy-support-frame{0%,22%,100%{box-shadow:inset 0 0 0 1px #eeb36770}10%{box-shadow:inset 0 0 0 1px #eeb367cc,0 0 10px #eeb3670d}}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px #eeb36770}
@media(max-width:1023px){
 html.theme-key-dark{--harpy-safe-top:max(env(safe-area-inset-top,0px),calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px)),var(--telegram-fullscreen-fallback-top,0px));--bottom-nav-height:78px;--bottom-nav-clearance:calc(104px + max(12px,var(--content-safe-area-bottom,0px)))}
 html.theme-key-dark .phone-screen.home-screen{padding-top:calc(16px + var(--harpy-safe-top))!important;padding-inline:16px;padding-bottom:var(--bottom-nav-clearance)}
 html.theme-key-dark .home-layout{gap:18px}
 html.theme-key-dark .home-layout > .home-brand{padding:6px 0 18px;gap:12px}
 html.theme-key-dark .home-logo-slot{width:44px;height:44px;flex-basis:44px}
 html.theme-key-dark .app-shell .home-brand .brand-mark{width:44px!important;height:44px!important}
 html.theme-key-dark .home-brand h1{font-size:26px;line-height:1.2;letter-spacing:-.7px}
 html.theme-key-dark .home-bottom{gap:12px}
 html.theme-key-dark .home-balance-card{min-height:96px!important;padding:17px 18px!important}
 html.theme-key-dark .home-balance-summary{gap:12px}
 html.theme-key-dark .home-balance-summary > svg{width:20px;height:20px;padding:10px;flex-basis:20px;border-radius:12px}
 html.theme-key-dark .home-balance-summary strong{font-size:28px}
 html.theme-key-dark .status-card{padding:18px!important}
 html.theme-key-dark .status-card .sub-status{align-items:flex-start;gap:11px}
 html.theme-key-dark .status-card .sub-status-main{min-width:0;overflow:visible}
 html.theme-key-dark .status-card .sub-status-main h2{font-size:18px;line-height:1.4;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
 html.theme-key-dark .status-card .sub-status-icon{width:23px;height:23px;flex-shrink:0;margin-top:2px}
 html.theme-key-dark .status-card .sub-status-main :is(p,small){white-space:normal!important;line-height:1.5;font-size:12px;overflow-wrap:anywhere}
 html.theme-key-dark .traffic-card-compact{padding:18px!important}
 html.theme-key-dark .traffic-summary-left,html.theme-key-dark .traffic-summary-right{font-size:11px}
 html.theme-key-dark .action-stack{gap:10px}
 html.theme-key-dark .action-stack .btn{min-height:48px;font-size:14px;padding:12px 14px}
 html.theme-key-dark .bottom-nav{left:12px!important;right:12px!important;width:auto!important;max-width:440px;margin-inline:auto;bottom:max(12px,var(--content-safe-area-bottom,0px))!important;height:78px!important;padding:6px 4px!important;border-radius:22px!important;gap:3px!important;align-items:stretch}
 html.theme-key-dark .bottom-nav button[data-nav-level="primary"]{position:relative;display:flex!important;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px 2px 5px!important;border:0!important;border-radius:15px!important;min-height:60px;color:var(--muted)}
 html.theme-key-dark .bottom-nav button[data-nav-level="primary"] > svg{width:22px;height:22px;flex-shrink:0}
 html.theme-key-dark .bottom-nav .bottom-nav-label{display:block!important;font-size:10px!important;line-height:1.2;white-space:nowrap;font-weight:500!important}
 html.theme-key-dark .bottom-nav button.active{background:var(--panel-3)!important;color:var(--text)!important;box-shadow:inset 0 0 0 1px var(--border-strong)}
 html.theme-key-dark .bottom-nav button.active > svg{color:var(--text)!important}
 html.theme-key-dark .bottom-nav .nav-attention-dot{top:5px!important;right:9px!important;width:7px!important;height:7px!important;transform:none!important;box-shadow:0 0 0 3px var(--nav-bg)!important}
 html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{top:3px!important;right:6px!important;width:13px!important;height:13px!important;box-shadow:none!important}
}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px #eeb36770!important}}
/* Larger round support avatars and neutral conversation colours. */
html.theme-key-dark .support-ticket-screen .ticket-message-row{grid-template-columns:44px minmax(0,1fr);gap:11px}
html.theme-key-dark .support-ticket-screen .ticket-message-row--outgoing{grid-template-columns:minmax(0,1fr) 44px}
html.theme-key-dark .support-ticket-screen .ticket-message-avatar{width:44px;height:44px;border-radius:50%;border:1px solid var(--border-strong);background:var(--panel-3);color:var(--text)}
html.theme-key-dark .support-ticket-screen .ticket-message-avatar .brand-mark img{border-radius:50%}
html.theme-key-dark .support-ticket-screen .ticket-message-row--admin{--ticket-bubble-bg:var(--panel-3);--ticket-bubble-border:var(--border-strong);--ticket-bubble-text:var(--text)}
@media(max-width:600px){html.theme-key-dark .support-ticket-screen .ticket-message-row{grid-template-columns:40px minmax(0,1fr);gap:9px}html.theme-key-dark .support-ticket-screen .ticket-message-row--outgoing{grid-template-columns:minmax(0,1fr) 40px}html.theme-key-dark .support-ticket-screen .ticket-message-avatar{width:40px;height:40px}html.theme-key-dark .support-conversation-card{padding:14px!important}}
@media(max-width:1023px){
 html.theme-key-dark .bottom-nav .rail-admin-entry{display:none!important}
 html.theme-key-dark .bottom-nav .bottom-nav-label{max-width:none!important;overflow:visible!important;text-overflow:clip!important}
 html.theme-key-dark .bottom-nav .nav-attention-dot{min-width:7px!important;min-height:7px!important;padding:0!important}
 html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{min-width:13px!important;min-height:13px!important}
}
@media(max-width:1023px){html.theme-key-dark .bottom-nav button.rail-admin-entry[data-nav-level="primary"]{display:none!important}}
html.theme-key-dark .support-ticket-screen .ticket-message-row{grid-template-columns:52px minmax(0,1fr)}
html.theme-key-dark .support-ticket-screen .ticket-message-row--outgoing{grid-template-columns:minmax(0,1fr) 52px}
html.theme-key-dark .support-ticket-screen .ticket-message-avatar{width:52px;height:52px}
@media(max-width:600px){
 html.theme-key-dark .support-ticket-screen .ticket-message-row{grid-template-columns:48px minmax(0,1fr)}
 html.theme-key-dark .support-ticket-screen .ticket-message-row--outgoing{grid-template-columns:minmax(0,1fr) 48px}
 html.theme-key-dark .support-ticket-screen .ticket-message-avatar{width:48px;height:48px}
 html.theme-key-dark .support-ticket-detail-header .support-back-button{position:relative;display:grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:1px solid var(--border-strong);border-radius:12px;background:var(--panel-3);gap:0}
 html.theme-key-dark .support-ticket-detail-header .support-back-button svg{width:20px;height:20px;margin:0}
 html.theme-key-dark .support-ticket-detail-header .support-back-button span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(min-width:601px){html.theme-key-dark .support-ticket-detail-header .support-back-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;gap:9px;border:1px solid var(--border-strong);border-radius:12px;background:var(--panel-3);color:var(--text);font-size:13px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}html.theme-key-dark .support-ticket-detail-header .support-back-button svg{width:18px;height:18px;transition:transform .2s}html.theme-key-dark .support-ticket-detail-header .support-back-button:hover{background:var(--surface-hover);border-color:var(--accent)}html.theme-key-dark .support-ticket-detail-header .support-back-button:hover svg{transform:translateX(-2px)}}
/* Keep the mobile ticket header steady instead of stretching between rows. */
@media(max-width:600px){
 html.theme-key-dark .support-ticket-screen > .support-ticket-card:not(.support-ticket-state-card){height:82px!important;min-height:82px!important;padding:10px 12px!important;box-sizing:border-box}
 html.theme-key-dark .support-ticket-detail-header{height:60px;grid-template-columns:40px minmax(0,1fr);grid-template-rows:36px 20px;gap:4px 12px;align-items:center}
 html.theme-key-dark .support-ticket-detail-header .support-back-button{grid-column:1;grid-row:1 / span 2;align-self:center}
 html.theme-key-dark .support-ticket-detail-header .ticket-detail-title{grid-column:2;grid-row:1;min-width:0;align-self:center}
 html.theme-key-dark .support-ticket-detail-header .ticket-detail-title h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px}
 html.theme-key-dark .support-ticket-detail-header .ticket-badges{grid-column:2;grid-row:2;align-self:center;flex-wrap:nowrap;margin:0;gap:6px}
}
/* Centred red dialog controls and a gentle opening finish. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button{display:grid!important;place-items:center!important;box-sizing:border-box;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0;align-self:start;border:1px solid #8e4d59!important;border-radius:12px!important;background:#4b293244!important;color:#ef8d9d!important;line-height:0;cursor:pointer;transition:background-color .18s,border-color .18s}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button svg{display:block;width:18px;height:18px;margin:0;align-self:center;justify-self:center;stroke-width:2}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button:hover{background:#69364277!important;border-color:#d47b8b!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button:focus-visible{outline:2px solid #ef9dab;outline-offset:3px}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog){animation:harpy-dialog-reveal 220ms cubic-bezier(.16,1,.3,1) both;transform-origin:center}
@keyframes harpy-dialog-reveal{from{scale:.975;filter:blur(.6px)}to{scale:1;filter:blur(0)}}
html.theme-key-dark .support-ticket-screen .ticket-message-row--admin .ticket-message-avatar .brand-mark{width:100%;height:100%;overflow:hidden;border-radius:50%}
html.theme-key-dark .support-ticket-screen .ticket-message-row--admin .ticket-message-avatar .brand-mark img{object-fit:cover;border-radius:0;transform:scale(1.14)}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .dialog-card:not(.trial-captcha-dialog){animation:none!important;scale:1;filter:none}}
/* Email reminder: neutral fill with a softly breathing red outline. */
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot){background:var(--panel-3)!important;border-color:#925c66;animation:harpy-email-outline 4s ease-in-out infinite}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):before{display:none!important;animation:none!important}
html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot):hover{background:var(--panel-3)!important;border-color:#d18b98;animation:none;box-shadow:none}
@keyframes harpy-email-outline{0%,100%{border-color:#86515a}50%{border-color:#c77d8b}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .security-card .settings-row.attention-wrap:has(.attention-dot){animation:none!important}}
/* Widen the desktop rail to the right while keeping its left edge fixed. */
@media(min-width:1024px){html.theme-key-dark .bottom-nav{width:264px!important}html.theme-key-dark .phone-screen:not(.auth-screen){padding-left:336px}}
/* Sidebar controls remain recognisable without bright selected fills. */
@media(min-width:1024px){
 html.theme-key-dark .bottom-nav button{background:var(--panel-2);box-shadow:inset 0 0 0 1px var(--border);color:var(--muted);transition:background-color .2s ease,box-shadow .2s ease,color .2s ease}
 html.theme-key-dark .bottom-nav button.active{background:var(--panel-3)!important;color:var(--text)!important;border-color:transparent!important;box-shadow:inset 0 0 0 1px var(--border-strong)}
 html.theme-key-dark .bottom-nav button.active svg{color:var(--text)!important}
 html.theme-key-dark .bottom-nav button:hover{background:var(--panel-3)!important;color:var(--text)!important;box-shadow:inset 0 0 0 1px var(--border-strong)}
 html.theme-key-dark .bottom-nav button.active:before{display:none}
}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy) > .attention-dot{background:#f5b86d!important;filter:drop-shadow(0 0 2px #f5b86d33)}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px var(--border-strong)}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot):hover{box-shadow:inset 0 0 0 1px var(--border-strong)}
@keyframes harpy-support-frame{0%,22%,100%{box-shadow:inset 0 0 0 1px var(--border)}10%{box-shadow:inset 0 0 0 1px var(--border-strong)}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px var(--border-strong)!important}}
/* Unread support keeps its amber outline on the neutral selected surface. */
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px #dca35f99}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot):hover{box-shadow:inset 0 0 0 1px #edb575}
@keyframes harpy-support-frame{0%,22%,100%{box-shadow:inset 0 0 0 1px #dca35f99}10%{box-shadow:inset 0 0 0 1px #edb575}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(> .attention-dot){box-shadow:inset 0 0 0 1px #dca35f99!important}}

/* Zolix: keep both sidebar groups on the same horizontal axis. */
@media (min-width:1024px){
 html.theme-key-dark .bottom-nav .rail-settings-subnav{
  margin:12px 0!important;
  padding:12px 0 0!important;
  width:100%;
  box-sizing:border-box;
  border-left:0!important;
 }
 html.theme-key-dark .bottom-nav .rail-settings-subnav button{
  width:100%;
  box-sizing:border-box;
  grid-template-columns:22px minmax(0,1fr)!important;
  padding:10px 14px!important;
 }
}

/* Zolix client UI: same graphite, fine lines and restrained mint as landing. */
html.theme-key-dark .app-shell:has(.auth-screen),
html.theme-key-dark .app-shell:has(.bottom-nav){--bg:#0b0b0c!important;--panel:#141416!important;--panel-2:#111214!important;--panel-3:#1b1e22!important;--text:#eaece7!important;--muted:#a2a9a6!important;--dim:#909b96!important;--border:#353a3d!important;--border-strong:#66756e!important;--accent:#cde5d5!important;--accent-contrast:#19281e!important;--rail-bg:#111315!important;--nav-bg:#111315!important;--radius:5px!important}
html.theme-key-dark .app-shell:has(.auth-screen) .auth-screen{width:min(100%,1040px);padding:40px 24px!important;margin:auto;min-height:100svh;display:grid;place-items:center}
html.theme-key-dark .auth-card-wrap{width:100%;max-width:920px;display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border);background:#111214;box-shadow:0 20px 80px #0003}
html.theme-key-dark .auth-card-wrap .login-brand-auth{padding:35px 35px 25px;border-right:1px solid var(--border);align-items:flex-start;text-align:left;gap:15px;background:radial-gradient(ellipse at 50% 70%,#9cc9b00c,transparent 70%)}
html.theme-key-dark .app-shell .login-brand-auth .brand-mark.brand-mark-xl{width:48px;height:48px;border-radius:4px}
html.theme-key-dark .login-brand-auth h1{font-size:32px;font-weight:500;letter-spacing:-1px;margin:0}
html.theme-key-dark .login-brand-auth h1:after{content:attr(data-space-label);display:block;font:11px/1.7 Consolas,monospace;letter-spacing:.5px;color:var(--muted);margin-top:12px}
html.theme-key-dark .login-brand-auth:after{content:'';display:block;width:230px;max-width:100%;height:220px;margin:0 auto;background:url('/webapp-theme-assets/dark/auth-owl.svg') center/contain no-repeat}
html.theme-key-dark .auth-card-wrap .auth-card{height:auto!important;border:0;border-radius:0;padding:35px!important;background:#141416;align-self:center;box-shadow:none;min-width:0}
html.theme-key-dark .auth-card:before{content:attr(data-login-label);display:block;font:11px/1.5 Consolas,monospace;letter-spacing:.7px;color:#a4b9ad;padding-bottom:24px;margin-bottom:25px;border-bottom:1px solid var(--border)}
html.theme-key-dark .auth-card .btn{border-radius:3px;min-height:48px;font-size:13px}
html.theme-key-dark .auth-card .telegram-login-button{background:#cde5d5;color:#19281e;border-color:#dbeedf}
html.theme-key-dark .auth-bottom{grid-column:1/-1;padding:16px 22px;margin:0;border-top:1px solid var(--border);justify-content:center}
html.theme-key-dark .app-shell:has(.bottom-nav) .card{border-radius:5px;box-shadow:none;background:var(--panel)}
html.theme-key-dark .app-shell:has(.bottom-nav) .btn{border-radius:4px;font-size:13px}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{border-radius:5px!important;background:var(--rail-bg)!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{border-radius:3px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .home-brand h1{font-weight:500;letter-spacing:-1.4px}
html.theme-key-dark .app-shell:has(.bottom-nav) .status-card{border-color:#91b49f55}
html.theme-key-dark .app-shell:has(.bottom-nav) input,
html.theme-key-dark .app-shell:has(.auth-screen) input{border-radius:3px;background:#0e1012;border-color:var(--border)}
@media(max-width:700px){
 html.theme-key-dark .app-shell:has(.auth-screen) .auth-screen{padding:24px 20px!important;min-height:100svh}
 html.theme-key-dark .auth-card-wrap{grid-template-columns:1fr;max-width:440px}
 html.theme-key-dark .auth-card-wrap .login-brand-auth{padding:26px 24px 0;border-right:0;gap:10px}
 html.theme-key-dark .login-brand-auth:after{width:170px;height:155px}
 html.theme-key-dark .login-brand-auth h1{font-size:27px}
 html.theme-key-dark .auth-card-wrap .auth-card{padding:22px 24px 28px!important}
 html.theme-key-dark .auth-card:before{padding-bottom:16px;margin-bottom:20px;font-size:10px}
 html.theme-key-dark .app-shell:has(.bottom-nav) .btn{font-size:12px;min-height:44px}
}
@media(min-width:1024px) and (max-width:1199px){
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{gap:4px!important;padding-left:14px!important;padding-right:14px!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{padding:8px!important;gap:6px!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .bottom-nav-label{font-size:11px!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{padding-right:10px}
}
@media(min-width:1024px){
 html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding:174px 38px 48px!important;min-height:100dvh}
 html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen>.home-layout,
 html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen>main{max-width:1280px;margin:0 auto}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{top:16px!important;left:32px!important;right:32px!important;bottom:auto!important;width:calc(100% - 64px)!important;max-width:1360px!important;height:auto!important;min-height:110px!important;margin:0 auto!important;display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:center!important;gap:6px!important;padding:16px 20px 12px!important;overflow:visible!important;border:1px solid var(--border)!important;box-shadow:0 14px 35px #0003!important;backdrop-filter:blur(15px)!important;background:#111315f5!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{order:0;display:flex!important;flex:0 0 auto;width:auto!important;gap:10px;padding:0 22px 0 0;margin:0 auto 0 0;border:0}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav>button{order:1;flex:0 0 auto}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:42px!important;padding:10px 12px!important;gap:8px!important;font-size:12px!important;border:1px solid transparent!important;white-space:nowrap}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button>svg{width:19px!important;height:19px!important;flex:0 0 19px}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active{background:#c6e5d011!important;color:#e4f2e8!important;border-color:#b6d9c33b!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button:hover{background:#ffffff08!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{order:2;display:flex!important;flex:1 0 100%;width:100%;justify-content:flex-end;gap:12px;margin:7px 0 0!important;padding:9px 0 0!important;border-left:0!important;border-top:1px solid var(--border)}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{min-height:32px!important;font-size:11px!important;padding:6px 9px!important;color:var(--muted)}
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry{margin:0!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .home-layout>.home-brand{padding:0 0 24px;margin-bottom:0}
 html.theme-key-dark .app-shell:has(.bottom-nav) .home-bottom{gap:20px}
 html.theme-key-dark .app-shell:has(.bottom-nav) .home-bottom:not(:has(.home-balance-card))>.status-card{grid-column:1/-1;grid-row:auto}
 html.theme-key-dark .app-shell:has(.bottom-nav) .home-balance-card,
 html.theme-key-dark .app-shell:has(.bottom-nav) .status-card{min-height:138px;padding:28px!important}
}

/* Shared client interactions: readable amounts, consistent focus and controls. */
html.theme-key-dark .app-shell:has(.loader){--bg:#0b0b0c!important;--text:#eaece7!important;--muted:#a6b0aa!important}
html.theme-key-dark .loader{gap:22px;color:#b6c5bc;font:12px/1.6 Consolas,monospace;letter-spacing:.7px}
html.theme-key-dark .loader .brand-mark{width:150px!important;height:150px!important;background:url('/webapp-theme-assets/dark/auth-owl.svg') center/contain no-repeat;border:0!important;box-shadow:none;border-radius:0;animation:none!important}
html.theme-key-dark .loader .brand-mark>img,
html.theme-key-dark .loader .brand-mark-spinner{display:none!important}
html.theme-key-dark .loader:after{content:'';width:132px;height:2px;border-radius:2px;background:linear-gradient(90deg,#29352e 0%,#cfe6d7 45%,#29352e 65%);background-size:230% 100%;animation:hn-loader-sweep 1.7s ease-in-out infinite}
@keyframes hn-loader-sweep{from{background-position:100% 0}to{background-position:-100% 0}}
html.theme-key-dark .home-balance-card{background:linear-gradient(125deg,#19231d,#121618)!important;border-color:#c2dfce38!important}
html.theme-key-dark .home-balance-summary{gap:15px}
html.theme-key-dark .home-balance-summary>svg{width:40px!important;height:40px!important;padding:8px;background:#c8e3d010;border:1px solid #c4e4d128;border-radius:10px;color:#c6ddce}
html.theme-key-dark .home-balance-summary strong{font-size:34px!important;font-weight:600;letter-spacing:-1.1px;font-variant-numeric:tabular-nums}
html.theme-key-dark section.home-balance-card .home-balance-topup{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:44px;height:44px!important;min-height:44px!important;padding:10px 14px!important;border-radius:7px!important;background:#d2e8da!important;border-color:#d2e8da!important;color:#17281d!important}
html.theme-key-dark section.home-balance-card .home-balance-topup:after{content:attr(aria-label);position:static;inset:auto;font-size:12px;font-weight:600;pointer-events:none}
html.theme-key-dark section.home-balance-card .home-balance-topup:hover{background:#e3f2e8!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog):is(.payment-dialog-card,.balance-topup-dialog,.link-qr-dialog){--text:#edf0ec;--muted:#aeb8b1;--panel:#161a1c;--panel-2:#111618;--panel-3:#20272a;--border:#3c4841;--border-strong:#839c8d;--accent:#cfe6d7;--accent-contrast:#182b20;background:#131719;border:1px solid #829c8b55;border-radius:13px;box-shadow:0 30px 100px #0008;padding:25px;max-height:calc(100dvh - 48px)}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog):is(.payment-dialog-card,.balance-topup-dialog,.link-qr-dialog) .dialog-head{padding-bottom:21px;margin-bottom:20px;border-bottom:1px solid #c3dacb22;gap:20px;align-items:flex-start}
html.theme-key-dark .dialog-title-copy h2{font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.6px}
html.theme-key-dark .dialog-title-copy p{font-size:13px;line-height:1.75;color:#aeb8b1;max-width:470px;margin-top:8px}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button{width:38px!important;min-width:38px;height:38px!important;min-height:38px;padding:8px!important;border-radius:9px!important;border:1px solid #a8b9af40!important;background:#c8dcd007!important;color:#c2d1c8!important;box-shadow:none}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button:hover{background:#d6e8dc12!important;border-color:#c9e2d16b!important;color:#fff!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .btn{min-height:46px;border-radius:7px;font-size:13px;font-weight:500;gap:9px}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) input{min-height:48px;border-radius:7px;padding:12px 14px;border-color:#879d8e45;background:#0d1113}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) input:focus{border-color:#bedcc9;box-shadow:0 0 0 3px #bedcc91a;outline:0}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button{min-height:50px!important;border-radius:8px;background:#cfe6d7;color:#182b20;border-color:#cfe6d7;font-weight:600;font-size:14px}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button strong{font-size:17px;font-variant-numeric:tabular-nums}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button:disabled{background:#28322e;color:#a4b0a9;border-color:#829f8b33;opacity:1;cursor:not-allowed}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button:disabled,
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button[aria-disabled=true]{background:#28322e!important;color:#c1cdc5!important;border-color:#829f8b44!important;opacity:1!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-submit-button:disabled *{color:inherit!important;opacity:1!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog):is(.payment-dialog-card,.balance-topup-dialog,.link-qr-dialog){font-family:Arial,"Segoe UI",sans-serif}
html.theme-key-dark .payment-checkout-header:not(:has(h2)):before{content:attr(data-zolix-title);display:block;font-size:23px;line-height:1.3;letter-spacing:-.6px;font-weight:600;color:#edf0ec;margin-bottom:9px}
html.theme-key-dark .subscription-purchase-description-header{padding:0!important;border:0!important;background:none!important;color:#aebbb2;font-size:12px;line-height:1.7}
html.theme-key-dark .balance-topup-body{gap:19px}
html.theme-key-dark .balance-topup-current{padding:18px 20px;border:1px solid #bcd7c72b;border-radius:9px;background:linear-gradient(115deg,#c5e2d112,#c5e2d104);gap:14px}
html.theme-key-dark .balance-topup-current strong{font-size:29px;font-weight:600;letter-spacing:-.8px;font-variant-numeric:tabular-nums}
html.theme-key-dark .balance-topup-current>span{border-radius:8px;background:#c4e4d112;color:#c7e0d1}
html.theme-key-dark .balance-topup-dialog .balance-amount-field>div{border-radius:8px;border-color:#b7d4c447;background:#0c1112;min-height:60px}
html.theme-key-dark .balance-topup-dialog .balance-amount-field input{font-size:25px!important;font-weight:500;letter-spacing:-.6px}
html.theme-key-dark .balance-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
html.theme-key-dark .balance-presets button{min-height:44px;border-radius:7px;font-size:12px;background:#192023;border-color:#acc4b538;color:#d3ddd7}
html.theme-key-dark .balance-presets button.active{background:#c7e3d218;border-color:#c6e0d08c;color:#e5f4eb;box-shadow:inset 0 0 0 1px #cee8d71c}
html.theme-key-dark .period-grid{gap:11px}
html.theme-key-dark .period-grid-two-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
html.theme-key-dark .period-card{position:relative;min-height:126px;padding:18px 13px;border-radius:9px;background:#181f22;border:1px solid #a1b5a934;text-align:left;align-items:flex-start;transition:border-color .18s,background-color .18s}
html.theme-key-dark .period-card>strong{font-size:14px;font-weight:500;color:#b8c9bf}
html.theme-key-dark .period-card>span{font-size:24px;font-weight:600;letter-spacing:-.8px;color:#eef4ef}
html.theme-key-dark .period-card .period-unit-price{font-size:11px;font-weight:400;letter-spacing:0;color:#a1b1a7}
html.theme-key-dark .period-card.active{background:linear-gradient(140deg,#c1e3cf18,#c1e3cf06);border-color:#bfdcca;box-shadow:inset 0 0 0 1px #c1e3cf20}
html.theme-key-dark .period-card>svg{color:#c5e4d1;top:11px;right:10px;width:16px;height:16px}
html.theme-key-dark .subscription-purchase-description{padding:14px 16px;border:1px solid #b6ccbe24;border-radius:8px;background:#c7d8ce05;line-height:1.7;color:#bac8bf;font-size:12px}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .tariff-row{border-radius:8px;border-color:#b5cdbd36;padding:16px;background:#192123}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .tariff-row-heading{font-size:15px}
html.theme-key-dark .link-qr-dialog .link-qr{gap:15px}
html.theme-key-dark .link-qr-tile{background:#fff!important;border-radius:12px;padding:20px;max-width:100%;box-shadow:0 10px 30px #0003}
html.theme-key-dark .link-qr-tile svg,html.theme-key-dark .link-qr-tile img,html.theme-key-dark .link-qr-tile canvas{max-width:100%;height:auto}
html.theme-key-dark .link-qr-value{font-family:Consolas,monospace;font-size:11px;padding:10px 12px;background:#080e1055;border:1px solid #b9cfbf22;border-radius:7px}
html.theme-key-dark .qr-image-buttons{gap:10px;justify-content:center;flex-wrap:wrap}
html.theme-key-dark .device-disconnect-button{min-height:46px!important;border-radius:8px!important;border:1px solid #dc85854d!important;background:#dc85850b!important;color:#efb0aa!important;font-weight:500}
html.theme-key-dark .device-disconnect-button:hover{background:#dc858519!important;border-color:#e79a9488!important}
html.theme-key-dark .app-toast{border-radius:10px!important;border-color:#a9c3b352!important;background:#1a2420!important;color:#e0eee5!important;box-shadow:0 12px 35px #0005;min-height:48px;font-size:13px;max-width:min(420px,calc(100vw - 32px))}
html.theme-key-dark [data-select-content]{border-radius:9px!important;background:#182022!important;border:1px solid #8ca49666!important;padding:6px!important;box-shadow:0 16px 35px #0005}
html.theme-key-dark [data-select-item]{min-height:39px;padding:10px 12px!important;border-radius:6px!important;font-size:13px;line-height:1.5}
html.theme-key-dark [data-select-item][data-highlighted]{background:#c8e2d011!important;color:#eef5ef!important}
html.theme-key-dark .rt-toolbar{gap:5px;padding:8px;background:#12191b;border-bottom:1px solid #b1c9ba30;border-radius:9px 9px 0 0;flex-wrap:wrap}
html.theme-key-dark .rt-tool{min-width:35px;min-height:35px;border:1px solid #b4cbbd33;border-radius:6px;background:#c1d6ca06;color:#c9d8cf}
html.theme-key-dark .rt-tool:hover{background:#c7e3d114;border-color:#b6d4c166}
html.theme-key-dark .rt-tool[aria-pressed=true]{background:#c4e1d021;border-color:#c0dfcc88;color:#ecf6ef}
@media(max-width:600px){
 html.theme-key-dark .home-balance-summary strong{font-size:29px!important}
 html.theme-key-dark section.home-balance-card .home-balance-topup{padding:10px!important}
 html.theme-key-dark section.home-balance-card .home-balance-topup:after{font-size:11px}
 html.theme-key-dark .dialog-card:not(.trial-captcha-dialog):is(.payment-dialog-card,.balance-topup-dialog,.link-qr-dialog){padding:20px 17px;border-radius:12px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px)}
 html.theme-key-dark .dialog-title-copy h2{font-size:20px}
 html.theme-key-dark .dialog-title-copy p{font-size:12px}
 html.theme-key-dark .balance-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.theme-key-dark .period-grid-two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.theme-key-dark .period-card{padding:15px 12px;min-height:114px}
 html.theme-key-dark .period-card>span{font-size:22px}
 html.theme-key-dark .qr-image-buttons{width:100%}
 html.theme-key-dark .qr-image-buttons .btn{flex:1;min-width:0;font-size:11px;padding:10px}
}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .loader:after{animation:none;background:#abcbb8}html.theme-key-dark .period-card{transition:none}}
html.theme-key-dark .rt-tool:is([data-rt-format=link],[data-rt-format=blockquote]){font-size:0!important;display:inline-flex;align-items:center;justify-content:center;background:#c1d6ca06!important;border-color:#b4cbbd33!important;color:#c9d8cf}
html.theme-key-dark .rt-tool:is([data-rt-format=link],[data-rt-format=blockquote]):before{content:'';display:block;width:18px;height:18px;background:currentColor;mask-position:center;mask-size:contain;mask-repeat:no-repeat}
html.theme-key-dark .rt-tool[data-rt-format=link]:before{mask-image:url('/webapp-theme-assets/dark/hn-icon-link.svg')}
html.theme-key-dark .rt-tool[data-rt-format=blockquote]:before{mask-image:url('/webapp-theme-assets/dark/hn-icon-quote.svg')}
html.theme-key-dark .home-balance-summary>svg{box-sizing:border-box!important;flex:0 0 44px!important;width:44px!important;height:44px!important;aspect-ratio:1;padding:0!important;overflow:hidden;background:#c8e3d010 url('/webapp-theme-assets/dark/hn-icon-wallet.svg') center/25px 25px no-repeat!important;border-radius:10px!important}
html.theme-key-dark .home-balance-summary>svg>*{visibility:hidden}
/* Reissue confirmation: readable warning and balanced actions. */
html.theme-key-dark .webapp-subscription-reissue-dialog{width:min(540px,calc(100vw - 32px));padding:26px!important;gap:22px;background:#13191a!important;border:1px solid #b7cebf38!important;box-shadow:0 24px 90px #0008}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-head{padding:0 0 22px!important;margin:0!important;border-bottom:1px solid #b6ccbe24;background:none!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-block{padding:0!important;border:0!important;border-radius:0!important;background:none!important;align-items:flex-start;gap:14px}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-icon{flex:0 0 42px;width:42px;height:42px;border:1px solid #ed9f8e44;border-radius:11px;background:#e79a8610;color:#f0b4a5;display:grid;place-items:center}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-copy h2{font-size:22px!important;line-height:1.3;color:#f1eee8!important;letter-spacing:-.5px;margin:0 0 12px}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-copy p{font-size:13px!important;line-height:1.85;color:#b9c5be!important;max-width:none}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body{display:flex;flex-direction:row-reverse;gap:10px;padding:0!important;margin:0!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body>.btn{flex:1;min-height:48px;border-radius:8px!important;margin:0!important;font-size:13px;font-weight:600}
html.theme-key-dark .webapp-subscription-reissue-dialog [data-webapp-action=confirm-subscription-reissue]{background:#b65c55!important;color:#fff4ef!important;border:1px solid #d8887c!important;box-shadow:none!important}
html.theme-key-dark .webapp-subscription-reissue-dialog [data-webapp-action=confirm-subscription-reissue]:hover:not(:disabled){background:#c56b61!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .btn:disabled{opacity:.5;cursor:wait}
@media(max-width:600px){html.theme-key-dark .webapp-subscription-reissue-dialog{padding:22px 18px!important}html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-block{flex-direction:column}html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-copy h2{font-size:21px!important}}
/* Readable tariff overview, retaining all real limits and labels. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-tariff-card{padding:18px!important;border:1px solid #b6cfbe35;border-radius:10px!important;background:#182021;gap:18px}
html.theme-key-dark .checkout-tariff-card-head{margin:0 0 16px;align-items:flex-start}
html.theme-key-dark .checkout-tariff-title-line{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:6px!important}
html.theme-key-dark .checkout-tariff-title-line>strong{font-size:17px!important;font-weight:600!important;line-height:1.4;color:#edf3ee}
html.theme-key-dark .checkout-tariff-description-line{display:block!important;max-width:100%}
html.theme-key-dark .checkout-tariff-title-separator{display:none!important}
html.theme-key-dark .checkout-tariff-description-line small{font-size:13px!important;line-height:1.5!important;color:#aebeb4;white-space:normal!important}
html.theme-key-dark .checkout-tariff-summary-static .tariff-limit-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact{padding:13px 14px!important;gap:7px!important;border:1px solid #b7ccbd20!important;border-radius:7px;background:#c2ddcb05;justify-content:flex-start!important;min-width:0}
html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-value{font-size:23px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.5px!important;color:#e2eee5}
html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-state{font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-label{font-size:13px!important;line-height:1.5!important;font-weight:400!important;color:#b6c6bc}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact:nth-child(3){grid-column:1/-1;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:8px 16px!important;background:#080e1022}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact:nth-child(3) .checkout-addon-value{font-size:13px!important;font-weight:500!important;color:#aab7af;letter-spacing:0!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-limit-icon{width:17px!important;height:17px!important;color:#adc8b7}
@media(max-width:420px){html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-tariff-card{padding:14px!important}html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact{padding:11px!important}html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-value{font-size:20px!important}}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact:not(:nth-child(3)){flex-direction:column!important;align-items:flex-start!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact-label{max-width:100%;min-width:0;flex-shrink:0}
html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-value{width:auto!important;max-width:100%;flex:none!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact{display:flex!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact-label{width:auto!important;flex:0 1 auto!important;order:0!important;white-space:normal}
html.theme-key-dark .checkout-tariff-summary-static .checkout-addon-value{order:0!important;text-align:left!important;margin:0!important}
/* Labels first, limits underneath. */
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact:not(:nth-child(3)) .checkout-tariff-fact-label{order:-1!important}
html.theme-key-dark .checkout-tariff-summary-static .checkout-tariff-fact:not(:nth-child(3)) .checkout-addon-value{order:1!important}
/* Compact checkout: remove hidden-editor gaps and fit payment alongside the plan. */
html.theme-key-dark .webapp-payment-dialog .checkout-tariff-card{gap:0!important;padding:14px!important}
html.theme-key-dark .webapp-payment-dialog .checkout-tariff-card-head{padding:0!important;margin:0 0 12px!important}
html.theme-key-dark .webapp-payment-dialog .checkout-tariff-summary-static{padding:0!important}
html.theme-key-dark .webapp-payment-dialog .checkout-tariff-card:not(.is-editing):not(.is-opening):not(.is-closing) .checkout-tariff-editor-mode{display:none!important}
html.theme-key-dark .webapp-payment-dialog .checkout-tariff-summary-static .checkout-tariff-fact{padding:10px 12px!important;gap:5px!important}
html.theme-key-dark .webapp-payment-dialog .period-card{min-height:94px!important;padding:12px!important;gap:6px!important}
html.theme-key-dark .webapp-payment-dialog .dialog-head{padding-bottom:14px!important;margin-bottom:14px!important}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body{gap:10px!important}
@media(min-width:900px){
 html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog{width:min(1000px,calc(100vw - 48px))!important;max-width:1000px!important;padding:22px!important}
 html.theme-key-dark .webapp-payment-dialog .payment-dialog-body:has(.period-grid){display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-auto-flow:row dense;column-gap:24px!important;align-items:start}
 html.theme-key-dark .webapp-payment-dialog .payment-dialog-body:has(.period-grid)>*{grid-column:2;min-width:0}
 html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.checkout-tariff-card{grid-column:1!important;grid-row:1/span 4}
 html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.period-grid{grid-column:1!important;grid-row:5/span 3}
 html.theme-key-dark .webapp-payment-dialog .payment-divider{display:none!important}
 html.theme-key-dark .webapp-payment-dialog .tariff-step-caption{grid-column:1/-1!important;grid-row:1!important;display:none}
 html.theme-key-dark .webapp-payment-dialog .payment-submit-button{margin:0!important;min-height:48px}
}
@media(max-width:899px){html.theme-key-dark .webapp-payment-dialog .checkout-tariff-summary-static .checkout-tariff-fact{padding:8px 10px!important}html.theme-key-dark .webapp-payment-dialog .checkout-tariff-title-line{gap:3px!important}html.theme-key-dark .webapp-payment-dialog .period-card{min-height:84px!important}}
/* Stable checkout rows and clear payment typography. */
@media(min-width:900px){
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body:has(.period-grid){grid-template-rows:minmax(72px,auto) minmax(48px,auto) minmax(170px,auto) auto;align-content:start}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.checkout-tariff-card{grid-row:1/span 3!important}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.period-grid{grid-row:4!important}
}
html.theme-key-dark .webapp-payment-dialog .balance-discount{border-radius:9px!important;background:#192321!important;border-color:#9db7a655!important}
html.theme-key-dark .webapp-payment-dialog .balance-discount.selected{background:#21312a!important;border-color:#b5d7c1aa!important}
html.theme-key-dark .webapp-payment-dialog .balance-title-row{font-size:15px!important;line-height:1.45}
html.theme-key-dark .webapp-payment-dialog .balance-copy small{font-size:13px!important;color:#c4d1c8!important}
html.theme-key-dark .webapp-payment-dialog .payment-submit-button{font-family:inherit!important;font-size:15px!important;font-weight:600!important;border-radius:8px!important;gap:10px!important;line-height:1.5;color:#16291e!important;background:#d0e8d9!important;opacity:1!important}
html.theme-key-dark .webapp-payment-dialog .payment-submit-button b{font-size:20px!important;font-weight:700!important;color:inherit!important}
html.theme-key-dark .webapp-payment-dialog .payment-submit-button s{font-size:12px!important;font-weight:400!important;color:inherit!important;opacity:.7}
html.theme-key-dark .webapp-payment-dialog .payment-submit-button:disabled{background:#29342f!important;color:#b8c7bf!important;border-color:#8ca39455!important;cursor:not-allowed}
/* Real unread indicator, replacing the previous bell mask. */
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy){position:relative!important}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy)>.attention-dot{position:absolute!important;top:5px!important;right:5px!important;left:auto!important;bottom:auto!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#ef6268!important;mask:none!important;transform:none!important;animation:hn-support-pulse 2.4s ease-out infinite!important;box-shadow:0 0 0 3px #ef62681c!important}
@keyframes hn-support-pulse{0%,100%{box-shadow:0 0 0 3px #ef62681c}60%{box-shadow:0 0 0 7px #ef626800}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy)>.attention-dot{animation:none!important}}
@media(min-width:900px){html.theme-key-dark .webapp-payment-dialog .period-grid{grid-template-columns:repeat(auto-fit,minmax(88px,1fr))!important}html.theme-key-dark .webapp-payment-dialog .period-card{padding:12px 8px!important}html.theme-key-dark .webapp-payment-dialog .period-card>span{font-size:22px}}
html.theme-key-dark .app-shell .bottom-nav button:has(> svg.lucide-life-buoy)>.attention-dot{min-width:8px!important;max-width:8px!important;min-height:8px!important;max-height:8px!important;flex:0 0 8px!important;filter:none!important;padding:0!important}
html.theme-key-dark .bottom-nav button:has(> svg.lucide-life-buoy):has(>.attention-dot){box-shadow:none!important}

/* Zolix workspace: information first, compact controls, quiet surfaces. */
html.theme-key-dark .app-shell:has(.bottom-nav){--bg:#111211!important;--panel:#222322!important;--panel-2:#1a1b1a!important;--panel-3:#2d302b!important;--text:#eeefea!important;--muted:#b6b9b1!important;--dim:#9ba194!important;--border:#3a3e36!important;--border-strong:#80946e!important;--accent:#94bd7e!important;--accent-contrast:#1b2517!important;--nav-bg:#191b18!important;--rail-bg:#191b18!important;--radius:12px!important;background:#111211!important}
html.theme-key-dark .app-shell:has(.bottom-nav):before,html.theme-key-dark .app-shell:has(.bottom-nav):after{display:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen{font-family:Arial,Helvetica,sans-serif;line-height:1.5}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen .card{background:#222322!important;border:1px solid #3a3e3677!important;border-radius:13px!important;box-shadow:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen .btn{min-height:44px;border-radius:8px!important;font-size:14px;font-weight:500}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen main strong{font-family:Arial,Helvetica,sans-serif!important;font-weight:600!important}
html.theme-key-dark .home-layout>.home-brand{border:0!important;padding:0!important;margin:0 0 26px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;text-align:left}
html.theme-key-dark .home-brand .brand-mark{width:48px!important;height:48px!important;border-radius:13px!important}
html.theme-key-dark .home-layout>.home-brand h1{font-size:26px!important;line-height:1.25!important;font-weight:600!important;letter-spacing:-.6px!important;margin:0!important}
html.theme-key-dark .home-layout>.home-brand h1:after{content:attr(data-personal-label);display:block;font-size:13px;line-height:1.5;font-weight:400;letter-spacing:0;color:#b6b9b1;margin-top:4px}
html.theme-key-dark .home-layout .home-bottom{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
html.theme-key-dark .home-layout .home-bottom>.card{grid-row:auto!important;margin:0!important;min-width:0}
html.theme-key-dark .home-layout .home-bottom .status-card{grid-column:span 8!important;order:0;min-height:186px!important;padding:26px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:18px!important;background:linear-gradient(115deg,#293023,#22261f)!important;border-color:#9ab57e33!important}
html.theme-key-dark .home-layout .home-bottom:not(:has(.home-balance-card)) .status-card{grid-column:1/-1!important}
html.theme-key-dark .home-layout .sub-status{display:grid!important;grid-template-columns:25px minmax(0,1fr) auto!important;align-items:center!important;gap:15px!important;min-width:0}
html.theme-key-dark .home-layout .sub-status-main{min-width:0}
html.theme-key-dark .home-layout .sub-status h2{font:600 23px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:-.4px;margin:0!important;color:#eef2e8}
html.theme-key-dark .home-layout .sub-status-details{display:flex!important;flex-wrap:wrap;gap:5px 16px!important;margin-top:9px!important}
html.theme-key-dark .home-layout .sub-status-details p{font-size:14px!important;color:#bac4ae;line-height:1.55!important;margin:0!important}
html.theme-key-dark .home-layout .sub-status-icon{color:#a2c589!important;width:25px!important;height:25px!important}
html.theme-key-dark .home-layout .status-tariff-action{position:static!important;min-width:0!important;white-space:normal;background:#b6cd9d09!important;border-color:#b5c59f33!important;color:#e1e8d7!important;padding:10px 14px!important}
html.theme-key-dark .home-layout .home-bottom .home-balance-card{grid-column:span 4!important;order:1;min-height:186px!important;padding:24px!important;display:flex!important;flex-direction:column;justify-content:space-between!important;align-items:stretch!important;gap:18px!important;background:#222322!important;border-color:#3a3e3677!important}
html.theme-key-dark .home-layout .home-balance-summary{display:flex;align-items:center;gap:13px}
html.theme-key-dark .home-layout .home-balance-summary>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important}
html.theme-key-dark .home-layout .home-balance-summary small{font-size:13px!important;color:#b6b9b1!important}
html.theme-key-dark .home-layout .home-balance-summary strong{font-size:30px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:-.7px!important;color:#eeefea}
html.theme-key-dark .home-layout .home-balance-topup{width:100%!important;min-height:40px!important;height:40px!important;padding:8px 12px!important;border-radius:8px!important;background:#94bd7e10!important;border-color:#94bd7e44!important;color:#d9e6c9!important}
html.theme-key-dark .home-layout .home-balance-topup:after{font-size:13px!important}
html.theme-key-dark .home-layout .action-stack{grid-column:1/-1!important;grid-row:auto!important;order:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin:0!important}
html.theme-key-dark .home-layout .action-stack>.btn{min-height:64px!important;height:auto!important;margin:0!important;padding:16px 20px!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:12px!important;white-space:normal!important;text-align:center;font:600 15px/1.5 Arial,Helvetica,sans-serif!important;background:#292c26!important;border:1px solid #4a514177!important;border-radius:10px!important;color:#e8ece1!important;box-shadow:none!important;transition:background .18s ease,border-color .18s ease}
html.theme-key-dark .home-layout .action-stack>.btn:first-child{background:#94bd7e!important;color:#1a2814!important;border-color:#94bd7e!important}
html.theme-key-dark .home-layout .action-stack>.btn>svg{width:21px!important;height:21px!important;margin:0!important;color:inherit!important;flex-shrink:0}
html.theme-key-dark .home-layout .action-stack>.btn:hover{filter:brightness(1.07)}
html.theme-key-dark .home-layout .action-stack>.btn:focus-visible{outline:2px solid #94bd7e;outline-offset:3px}
html.theme-key-dark .home-layout .home-bottom .traffic-card-compact{grid-column:span 6!important;grid-row:auto!important;order:3!important;padding:22px!important;min-height:110px!important}
html.theme-key-dark .home-layout .traffic-summary-row{font-size:13px!important;line-height:1.6!important}
html.theme-key-dark .home-layout .home-bottom>.trial-card,html.theme-key-dark .home-layout .home-bottom>.server-status-card{grid-column:1/-1!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{box-shadow:none!important;border-color:transparent!important;background:transparent!important;border-radius:8px!important;color:#b6b9b1!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active{background:#94bd7e13!important;color:#edf4f0!important;border-color:#94bd7e26!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button:hover{background:#ffffff08!important;color:#fff!important}
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:208px!important;max-width:208px!important;min-height:0!important;height:100dvh!important;padding:26px 14px!important;margin:0!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;align-content:normal!important;justify-content:flex-start!important;gap:5px!important;border:0!important;border-right:1px solid #3a3e3666!important;border-radius:0!important;background:#191b18!important;box-shadow:none!important;backdrop-filter:none!important;overflow-y:auto!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{display:flex!important;width:100%!important;flex:0 0 auto!important;justify-content:flex-start!important;padding:0 9px 24px!important;margin:0 0 16px!important;gap:10px!important;border-bottom:1px solid #3a3e3655!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{display:flex!important;width:100%!important;flex:0 0 auto!important;justify-content:flex-start!important;gap:12px!important;padding:11px 12px!important;min-height:46px!important;font-size:13px!important;white-space:normal!important;text-align:left!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .bottom-nav-label{font-size:13px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;width:100%!important;margin:20px 0 0!important;padding:18px 0 0!important;border-top:1px solid #3a3e3655!important;gap:5px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{min-height:42px!important;font-size:12px!important;padding:10px 12px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding:42px 40px 54px 248px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen>main{max-width:1200px!important;margin:0 auto!important}
}
@media(min-width:1024px) and (max-width:1199px){html.theme-key-dark .home-layout .sub-status{grid-template-columns:25px minmax(0,1fr)!important}html.theme-key-dark .home-layout .status-tariff-action{grid-column:2!important;justify-self:start}}
@media(max-width:1023px){
html.theme-key-dark .home-layout>.home-brand{margin-bottom:20px!important}
html.theme-key-dark .home-layout>.home-brand h1{font-size:24px!important}
html.theme-key-dark .home-layout .home-bottom{gap:12px!important}
html.theme-key-dark .home-layout .home-bottom .status-card{grid-column:1/-1!important;min-height:160px!important;padding:20px!important}
html.theme-key-dark .home-layout .sub-status{grid-template-columns:23px minmax(0,1fr)!important;gap:11px!important}
html.theme-key-dark .home-layout .sub-status h2{font-size:20px!important}
html.theme-key-dark .home-layout .status-tariff-action{grid-column:2!important;justify-self:start;font-size:12px!important}
html.theme-key-dark .home-layout .home-bottom .home-balance-card{grid-column:1/-1!important;min-height:100px!important;padding:18px!important;flex-direction:row;align-items:center!important;gap:14px!important}
html.theme-key-dark .home-layout .home-balance-summary strong{font-size:26px!important}
html.theme-key-dark .home-layout .home-balance-topup{width:auto!important;flex-shrink:0;min-width:44px!important}
html.theme-key-dark .home-layout .action-stack{gap:10px!important}
html.theme-key-dark .home-layout .action-stack>.btn{min-height:76px!important;padding:12px!important;font-size:13px!important;gap:8px!important}
html.theme-key-dark .home-layout .home-bottom .traffic-card-compact{grid-column:1/-1!important;min-height:96px!important;padding:18px!important}
}
@media(max-width:359px){html.theme-key-dark .home-layout .home-balance-summary>svg{display:none}html.theme-key-dark .home-layout .action-stack{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .home-layout .action-stack>.btn{transition:none}}
/* Distant stars stay behind opaque workspace surfaces. */
html.theme-key-dark .app-shell:has(.bottom-nav):before{display:block!important;opacity:.22!important;animation:harpy-stars-drift 180s ease-in-out infinite alternate!important}
html.theme-key-dark .app-shell:has(.bottom-nav):after{display:block!important;opacity:.17!important;animation:harpy-near-drift 150s ease-in-out infinite alternate!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .app-shell:has(.bottom-nav):before,html.theme-key-dark .app-shell:has(.bottom-nav):after{animation:none!important}}
/* Keep the page surface transparent so the galaxy is visible behind it. */
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen{background:transparent!important}
html.theme-key-dark .app-shell:has(.bottom-nav):before{opacity:.8!important}
html.theme-key-dark .app-shell:has(.bottom-nav):after{opacity:.65!important}

@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{width:226px!important;max-width:226px!important;padding:26px 14px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{font-size:15px!important;font-weight:600!important;min-height:50px!important;gap:13px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .bottom-nav-label{font-size:15px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button>svg{width:20px!important;height:20px!important;flex:0 0 20px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{font-size:14px!important;min-height:46px!important;font-weight:500!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding-left:266px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand strong{font-size:18px!important;color:#f0f1ea!important}
}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active{background:#94bd7e!important;color:#182412!important;border-color:#94bd7e!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active>svg{color:#182412!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active:hover{background:#a3ca8e!important;color:#182412!important}
/* Match the near-black galaxy background. */
html.theme-key-dark .app-shell:has(.bottom-nav){--bg:#090a09!important;background:#090a09!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{--rail-bg:#10110f!important;--nav-bg:#10110f!important;background:#10110f!important}
/* Compact subscription summary. */
html.theme-key-dark .home-layout .home-bottom .status-card{min-height:124px!important;padding:20px 24px!important;gap:12px!important}
html.theme-key-dark .home-layout .sub-status h2{font-size:20px!important}
html.theme-key-dark .home-layout .home-bottom .home-balance-card{min-height:124px!important;padding:18px 20px!important;gap:12px!important}
html.theme-key-dark .home-layout .home-balance-summary strong{font-size:27px!important}
html.theme-key-dark .bottom-nav .hn-rail-account{display:none!important}
@media(min-width:1024px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .hn-rail-account{display:flex!important;order:4!important;margin-top:auto!important;padding:16px 6px 0!important;border-top:1px solid #3a3e3677!important;border-radius:0!important;gap:11px!important;min-height:76px!important;flex-shrink:0!important;text-align:left!important;align-items:center!important;background:transparent!important}html.theme-key-dark .hn-rail-account-copy{display:flex;flex-direction:column;min-width:0;gap:4px}html.theme-key-dark .hn-rail-account-copy strong{font:600 14px/1.4 Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px;color:#edf0e8}html.theme-key-dark .hn-rail-account-copy small{font:11px/1.5 Arial,sans-serif;color:#aeb6a6;overflow-wrap:anywhere}}

/* Account dashboard inspired by the supplied composition; dark graphite/green. */
html.theme-key-dark .hn-home-dashboard{max-width:1440px!important}
.hn-dashboard{display:grid;gap:22px;color:#e9eee5;font-family:Arial,Helvetica,sans-serif;min-width:0}
.hn-dashboard h1,.hn-dashboard h2,.hn-dashboard p{margin:0}
.hn-dashboard button{font:500 13px/1.4 Arial,Helvetica,sans-serif;color:inherit;cursor:pointer}
.hn-dashboard button:disabled{opacity:.45;cursor:wait}
.hn-dashboard button:focus-visible{outline:2px solid #a1ca77;outline-offset:3px}
.hn-overview{padding:26px;border:1px solid #bac9a51b;border-radius:20px;background:#171b16}
.hn-overview-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.hn-eyebrow{display:block;font-size:10px;letter-spacing:1.6px;color:#9bad8c;margin-bottom:10px}
.hn-dashboard h1{font-size:27px;line-height:1.25;font-weight:600;letter-spacing:-.7px}
.hn-dashboard h2{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.3px}
.hn-overview-head p,.hn-chart-head p,.hn-devices-card header p{font-size:13px;line-height:1.6;color:#a2ac9a;margin-top:7px}
.hn-date{border:1px solid #b6cba82b;border-radius:24px;padding:11px 16px;font-size:12px;white-space:nowrap;color:#c3ceba;background:#1d241b}
.hn-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hn-metric{padding:18px 17px;border:1px solid #b0c59b26;background:#1c221b;border-radius:14px;min-width:0}
.hn-metric-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:#b6c1ac}
.hn-metric-label svg{color:#93ab7c;flex-shrink:0}
.hn-metric>strong{display:block;font:600 28px/1.4 Arial,sans-serif!important;letter-spacing:-.7px;margin:10px 0 18px;color:#ecf2e7;white-space:nowrap}
.hn-metric-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid #b0c59b1c;padding-top:12px;font-size:11px;line-height:1.5;color:#9cae8e;flex-wrap:wrap}
.hn-metric-foot button{padding:0;border:0;background:none;color:#b9d29e;font-size:11px;min-height:26px}
.hn-metric-foot button:hover{text-decoration:underline}
.hn-chart-card,.hn-devices-card{padding:25px 27px;border:1px solid #b3c69e25;background:#171d17;border-radius:20px;min-width:0;box-shadow:inset 0 1px #ffffff02}
.hn-chart-head,.hn-devices-card>header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}
.hn-chart-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hn-range{display:flex;padding:4px;background:#10160f;border:1px solid #b0c59b20;border-radius:24px;gap:3px}
.hn-range button{padding:9px 14px;border:0;border-radius:20px;min-height:36px;background:transparent;color:#9aaa8c}
.hn-range button[aria-pressed=true]{background:#a1c184;color:#17220f}
.hn-refresh{width:40px;height:40px;display:grid;place-items:center;border:1px solid #b0c59b33;background:transparent;border-radius:50%}
.hn-chart-plot{width:100%;overflow:visible;min-width:0}
.hn-chart-plot svg{display:block;width:100%;height:auto;min-height:200px;max-height:330px}
.hn-chart-state{height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;color:#a8b99a;padding:24px;font-size:13px;line-height:1.6;border:1px dashed #b0c59b20;border-radius:12px;background:#ffffff01}
.hn-chart-state strong{font-size:17px!important;color:#d6e1cc}
.hn-chart-state button{padding:9px 16px;border-radius:8px;border:1px solid #b0c59b33;background:#b0c59b0a;min-height:40px}
.hn-day-details{display:flex;gap:7px;overflow-x:auto;padding:16px 0 10px;scrollbar-width:thin;scrollbar-color:#556548 transparent}
.hn-day-details button{display:flex;flex-direction:column;gap:5px;min-width:88px;flex:1;min-height:57px;padding:9px 10px;border:1px solid #b0c59b19;border-radius:9px;background:transparent;text-align:left}
.hn-day-details button span{font-size:10px;color:#99a98d;white-space:nowrap}
.hn-day-details button strong{font-size:12px!important;font-weight:500!important;color:#d3e1c8}
.hn-day-details button.chosen{background:#a1ca7714;border-color:#a1ca7766}
.hn-chart-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #b0c59b1c;padding-top:15px;margin-top:10px;font-size:11px;line-height:1.5;color:#8e9e80}
.hn-chart-footer i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9bc276;margin-right:7px}
.hn-devices-card header>button,.hn-device-table button{padding:9px 14px;border-radius:20px;border:1px solid #b0c59b28;background:#11190f;color:#c9dbb9;white-space:nowrap;min-height:38px}
.hn-devices-empty{padding:18px 0;color:#98a78b;font-size:13px;line-height:1.7}
.hn-device-table{overflow-x:auto;border:1px solid #b0c59b1c;border-radius:12px}
.hn-device-table table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}
.hn-device-table th{padding:13px 16px;background:#11190f;color:#98aa88;font-size:11px;font-weight:400;white-space:nowrap}
.hn-device-table td{padding:15px 16px;border-top:1px solid #b0c59b19;color:#becdb1}
.hn-device-name{display:flex;align-items:center;gap:10px;color:#e0e9d8;font-weight:500;white-space:nowrap}
.hn-device-name svg{color:#9db78a;flex-shrink:0}
.hn-dashboard-actions{display:flex;justify-content:flex-end;gap:12px}
.hn-dashboard-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 20px;border-radius:10px;border:1px solid #a7bd8d33;background:#182014;color:#ceddbf}
.hn-dashboard-actions button:first-child{background:#a1c184;border-color:#a1c184;color:#17220f}
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding:160px 40px 50px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen>main{max-width:1440px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{position:fixed!important;top:0!important;bottom:auto!important;left:32px!important;right:32px!important;margin:0 auto!important;width:calc(100% - 64px)!important;max-width:1496px!important;height:auto!important;min-height:120px!important;padding:18px 8px 12px!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-content:center!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;background:#090d09f5!important;border:0!important;border-bottom:1px solid #adc79520!important;border-radius:0!important;overflow:visible!important;backdrop-filter:blur(12px)!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{width:auto!important;flex:0 0 auto!important;padding:0 24px 0 0!important;margin:0 auto 0 0!important;border:0!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{width:auto!important;min-height:42px!important;padding:10px 13px!important;justify-content:center!important;font-size:13px!important;gap:8px!important;border-radius:24px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .bottom-nav-label{font-size:13px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{order:5!important;display:flex!important;flex-direction:row!important;justify-content:flex-end!important;flex:1 0 100%!important;width:100%!important;border:0!important;margin:3px 0 0!important;padding:0!important;gap:8px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{font-size:11px!important;min-height:28px!important;padding:5px 10px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .hn-rail-account{order:3!important;display:flex!important;flex:0 0 auto!important;padding:0 0 0 14px!important;margin:0!important;min-height:44px!important;border:0!important;gap:9px!important;max-width:175px!important}
html.theme-key-dark .hn-rail-account-copy strong{max-width:110px!important}
}
@media(min-width:1024px) and (max-width:1250px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{padding:9px 10px!important}html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand strong{display:none}.hn-rail-account-copy{display:none!important}.hn-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){.hn-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hn-overview{padding:20px}.hn-overview-head{align-items:flex-start;flex-direction:column;gap:16px}.hn-date{padding:7px 12px}.hn-chart-card,.hn-devices-card{padding:20px}.hn-chart-plot svg{min-height:170px}.hn-chart-footer{flex-wrap:wrap}.hn-overview-head p{max-width:360px}.hn-dashboard{gap:16px}}
@media(max-width:560px){.hn-overview{padding:18px 14px}.hn-dashboard h1{font-size:23px}.hn-metrics{gap:10px}.hn-metric{padding:14px 12px}.hn-metric>strong{font-size:23px!important;white-space:normal;margin-bottom:12px}.hn-metric-label{font-size:12px}.hn-metric-foot{font-size:10px}.hn-chart-head,.hn-devices-card>header{align-items:flex-start;flex-direction:column;gap:14px}.hn-chart-card,.hn-devices-card{padding:18px 14px;border-radius:15px}.hn-chart-controls{width:100%;justify-content:space-between}.hn-chart-plot{overflow-x:auto}.hn-chart-plot svg{min-width:570px;min-height:180px}.hn-dashboard-actions{display:grid;grid-template-columns:1fr}.hn-device-table table{min-width:560px}.hn-chart-state{height:230px}.hn-dashboard h2{font-size:18px}.hn-date{font-size:11px}}
/* White pill accents requested for navigation and financial shortcuts. */
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active{background:#f5f5f0!important;border-color:#f5f5f0!important;color:#171914!important;outline-color:#f5f5f0!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active>svg{color:#171914!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active:hover{background:#ffffff!important;color:#171914!important}
.hn-dashboard .hn-metric-foot .hn-metric-action{background:#11130f;color:#fff;border:3px solid #f4f4ef;border-radius:999px;padding:7px 13px;min-height:36px;box-shadow:0 2px 9px #0002;font-size:11px;font-weight:600;text-decoration:none;white-space:nowrap}
.hn-dashboard .hn-metric-foot .hn-metric-action:hover{background:#2b3027;text-decoration:none}
.hn-chart-plot svg{cursor:crosshair;touch-action:pan-x pan-y}
.hn-chart-tooltip{filter:drop-shadow(0 3px 6px #0003)}
/* Neutral graphite surfaces, green only for data and small accents. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-dashboard{color:#eeefea}
html.theme-key-dark:not(:has(.app-shell.theme-light)) :is(.hn-overview,.hn-chart-card,.hn-devices-card){background:#171916;border-color:#bbc9ad24;box-shadow:0 8px 32px #00000012,inset 0 1px #ffffff03}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-metric{background:#1d1f1b;border-color:#bdc9b626}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav) .bottom-nav{background:#090b09f7!important;border-bottom-color:#b9c8ad24!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-date{background:#20231d;color:#d2d9ca;border-color:#c1cdb333}
html.theme-key-dark:not(:has(.app-shell.theme-light)) :is(.hn-overview-head,.hn-chart-head,.hn-devices-card header) p{color:#b7c0af}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-metric-label{color:#c2cabc}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-metric-foot{color:#b7c1ae;border-color:#bdc9b627}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-chart-footer{color:#b7c1af;border-color:#c0cdb32b}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-day-details button{background:#1c1e19;border-color:#c0cdb329}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-day-details button span{color:#b4c0a8}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-day-details button strong{color:#e0e9d7}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-chart-plot svg>text{fill:#b6bfac}
.hn-dashboard .hn-overview-head p,.hn-dashboard .hn-chart-head p,.hn-dashboard .hn-devices-card header p{font-size:14px;line-height:1.65}
.hn-dashboard .hn-metric-label{font-size:14px;line-height:1.5}
.hn-dashboard .hn-metric-foot{font-size:12px;line-height:1.6;gap:10px}
.hn-dashboard .hn-chart-footer{font-size:12px;line-height:1.6;padding-top:18px}
.hn-dashboard .hn-day-details button{padding:11px 12px;min-height:65px}
.hn-dashboard .hn-day-details button span{font-size:11px}
.hn-dashboard .hn-day-details button strong{font-size:13px!important}
.hn-dashboard .hn-metric-foot button,.hn-dashboard .hn-metric-foot .hn-metric-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#f0f1eb;color:#1a2014;border:1px solid #f0f1eb;border-radius:999px;padding:10px 16px;min-height:40px;box-shadow:0 3px 12px #00000012;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background .2s ease,box-shadow .2s ease}
.hn-dashboard .hn-metric-foot button:hover,.hn-dashboard .hn-metric-foot .hn-metric-action:hover{background:#fff;color:#182111;text-decoration:none;box-shadow:0 4px 18px #00000024}
.hn-dashboard .hn-devices-card header>button,.hn-dashboard .hn-device-table button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;border-radius:999px;font-size:12px}
.hn-dashboard button .hn-action-arrow{display:block;flex:0 0 16px;width:16px;height:16px;transition:transform .24s cubic-bezier(.2,.7,.3,1)}
.hn-dashboard button:hover .hn-action-arrow,.hn-dashboard button:focus-visible .hn-action-arrow{transform:translate(3px,-3px)}
.hn-dashboard button:disabled .hn-action-arrow{transform:none}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-metric-foot button{background:#252b20;color:#fff;border-color:#252b20;box-shadow:0 3px 10px #23351412}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-metric-foot button:hover{background:#35442b;color:#fff}
@media(max-width:560px){.hn-dashboard .hn-metric-label{font-size:13px}.hn-dashboard .hn-metric-foot{font-size:11px}.hn-dashboard .hn-metric-foot button,.hn-dashboard .hn-metric-foot .hn-metric-action{padding:8px 12px;min-height:38px;gap:8px;font-size:11px}.hn-dashboard .hn-chart-footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hn-dashboard button .hn-action-arrow,.hn-dashboard .hn-metric-foot button{transition:none}.hn-dashboard button:hover .hn-action-arrow,.hn-dashboard button:focus-visible .hn-action-arrow{transform:none}}

/* Real light variant. Keep layout and behavior; replace all forced dark surfaces. */
html.theme-key-dark:has(.app-shell.theme-light){color-scheme:light;background:#f1f2ed}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell.theme-light{--color-scheme:light!important;--bg:#f1f2ed!important;--panel:#ffffff!important;--panel-2:#f5f6f1!important;--panel-3:#e8ece2!important;--rail-bg:#fafbf7!important;--nav-bg:#fafbf7!important;--text:#20271c!important;--muted:#616d58!important;--dim:#707b68!important;--border:#d5dccf!important;--border-strong:#8c9d7d!important;--accent:#72964e!important;--accent-contrast:#fff!important;--surface-muted:#f2f5ec!important;background:#f1f2ed!important;color:#20271c!important;color-scheme:light}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:before,html.theme-key-dark:has(.app-shell.theme-light) .app-shell:after{opacity:.06!important;filter:brightness(.25)}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav{background:#fafbf7f5!important;border-color:#d9dfd2!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button{color:#536147!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button:hover{background:#e8eddf!important;color:#20271c!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button.active{background:#fff!important;border:1px solid #cad5bc!important;box-shadow:0 2px 8px #23330e0b!important;color:#20271c!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button.active>svg{color:#20271c!important}
html.theme-key-dark:has(.app-shell.theme-light) .rail-brand strong,html.theme-key-dark:has(.app-shell.theme-light) .hn-rail-account-copy strong{color:#20271c!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-rail-account-copy small{color:#647159!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard{color:#20271c;--hn-guide:#6c845a88;--hn-active:#426929;--hn-tooltip-bg:#20271c;--hn-tooltip-border:#20271c;--hn-tooltip-muted:#d1ddc4;--hn-tooltip-text:#fff}
html.theme-key-dark:has(.app-shell.theme-light) .hn-overview{background:#fff;border-color:#dbe1d4;box-shadow:0 5px 25px #273d1005}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric{background:#fff;border-color:#dce3d4}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric>strong{color:#20271c}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric-label{color:#647159}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric-label svg{color:#6e8757}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric-foot{border-color:#e0e6d8;color:#65735a}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric-foot button:not(.hn-metric-action){color:#3e6827}
html.theme-key-dark:has(.app-shell.theme-light) .hn-metric-action{border-color:#fff;box-shadow:0 0 0 1px #d8dfd0,0 3px 9px #1f320e12}
html.theme-key-dark:has(.app-shell.theme-light) .hn-eyebrow{color:#72825f}
html.theme-key-dark:has(.app-shell.theme-light) :is(.hn-overview-head,.hn-chart-head,.hn-devices-card header) p{color:#66735c}
html.theme-key-dark:has(.app-shell.theme-light) .hn-date{background:#f8faf4;color:#4e5e40;border-color:#d9e1cf}
html.theme-key-dark:has(.app-shell.theme-light) :is(.hn-chart-card,.hn-devices-card){background:#fff;border-color:#dbe1d4}
html.theme-key-dark:has(.app-shell.theme-light) .hn-range{background:#edf1e6;border-color:#d7dfcd}
html.theme-key-dark:has(.app-shell.theme-light) .hn-range button{color:#68775b}
html.theme-key-dark:has(.app-shell.theme-light) .hn-range button[aria-pressed=true]{background:#20271c;color:#fff}
html.theme-key-dark:has(.app-shell.theme-light) .hn-refresh{border-color:#d4dfc8;color:#4b6338}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-plot svg>text{fill:#647159}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-plot svg>line{stroke:#dce4d4}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-plot path[stroke]{stroke:#638e41}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-plot svg>circle{fill:#638e41}
html.theme-key-dark:has(.app-shell.theme-light) .hn-day-details button{border-color:#e0e7d8;background:#fafcf7}
html.theme-key-dark:has(.app-shell.theme-light) .hn-day-details button span{color:#6b7a5e}
html.theme-key-dark:has(.app-shell.theme-light) .hn-day-details button strong{color:#314925}
html.theme-key-dark:has(.app-shell.theme-light) .hn-day-details button.chosen{background:#edf4e4;border-color:#9ab77b}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-footer{border-color:#e1e7d9;color:#738566}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-state{border-color:#dbe4d1;color:#687b58;background:#f8faf5}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-state strong{color:#374c2b}
html.theme-key-dark:has(.app-shell.theme-light) .hn-chart-state button{border-color:#cddbbc;background:#f0f5e9;color:#3d5e25}
html.theme-key-dark:has(.app-shell.theme-light) .hn-device-table{border-color:#dbe4d1}
html.theme-key-dark:has(.app-shell.theme-light) .hn-device-table th{background:#f3f6ed;color:#657757}
html.theme-key-dark:has(.app-shell.theme-light) .hn-device-table td{color:#526647;border-color:#e0e7d8}
html.theme-key-dark:has(.app-shell.theme-light) .hn-device-name{color:#24371c}
html.theme-key-dark:has(.app-shell.theme-light) :is(.hn-devices-card header>button,.hn-device-table button){background:#f4f8ee;border-color:#d3dfc6;color:#496b30}
html.theme-key-dark:has(.app-shell.theme-light) .hn-devices-empty{color:#647758}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard-actions button{background:#fff;border-color:#d2dec6;color:#45662f}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard-actions button:first-child{background:#20271c;border-color:#20271c;color:#fff}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.card,.settings-row,.device-card,.support-ticket-card){background:#fff!important;border-color:#d7dfce!important;color:#20271c!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.settings-profile-meta strong,.settings-profile-meta small,.app-header strong,.content h1,.content h2){color:#263321!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(input,textarea,[role=combobox]){background:#fff!important;border-color:#cdd9c1!important;color:#27371e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .btn{color:#2a3c20;border-color:#cdd9c1}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog){--text:#25321d!important;--muted:#627455!important;--panel:#fff!important;--panel-2:#f5f8ef!important;--panel-3:#eaf0e1!important;--border:#d4dfc8!important;--border-strong:#8caa6d!important;--accent:#8dab6e!important;--accent-contrast:#17220f!important;background:#fff!important;color:#25321d!important;border-color:#cbd8bd!important;box-shadow:0 25px 100px #24351026!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) :is(h2,.dialog-title-copy h2){color:#26371c!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) :is(p,.dialog-title-copy p,.subscription-purchase-description){color:#5e7051!important;border-color:#dce4d3!important;background:transparent!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) :is(input,textarea,.period-card,.balance-topup-current,.tariff-row,.checkout-tariff-card,.balance-discount,.checkout-tariff-fact,.link-qr-value){background:#f7faf2!important;border-color:#d2dfc3!important;color:#26371c!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) :is(.period-card.active,.balance-discount.selected){background:#ecf4e2!important;border-color:#8ba96b!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) :is(.period-card>strong,.period-card>span,.checkout-addon-value,.checkout-addon-label,.checkout-tariff-title-line>strong,.balance-title-row,.balance-copy small){color:#314a20!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .payment-submit-button{background:#25371c!important;color:#fff!important;border-color:#25371c!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .payment-submit-button:disabled{background:#e1e8d9!important;color:#617553!important;border-color:#cfdbc3!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-close-button{background:#f1f5ea!important;border-color:#d3dec7!important;color:#5b704c!important}
html.theme-key-dark:has(.app-shell.theme-light) [data-select-content]{background:#fff!important;border:1px solid #cedbc1!important;color:#293d1d!important;box-shadow:0 12px 35px #263a151a!important}
html.theme-key-dark:has(.app-shell.theme-light) [data-select-item]{color:#293d1d!important}
html.theme-key-dark:has(.app-shell.theme-light) [data-select-item][data-highlighted]{background:#edf4e5!important;color:#223518!important}
html.theme-key-dark:has(.app-shell.theme-light) .auth-card-wrap,html.theme-key-dark:has(.app-shell.theme-light) .auth-card-wrap :is(.login-brand-auth,.auth-card){background:#fff!important;color:#25371c!important;border-color:#d4dfc9!important}
html.theme-key-dark:has(.app-shell.theme-light) .auth-card:before,html.theme-key-dark:has(.app-shell.theme-light) .login-brand-auth h1:after{color:#647a54!important;border-color:#d4dfc9!important}
html.theme-key-dark:has(.app-shell.theme-light) .loader{color:#526b3e!important}
html.theme-key-dark [data-select-content]{border-radius:13px!important;padding:7px!important;max-width:calc(100vw - 28px);min-width:180px}
html.theme-key-dark [data-select-item]{min-height:42px!important;border-radius:8px!important;padding:10px 13px!important;font-family:Arial,Helvetica,sans-serif;font-size:13px!important}
html.theme-key-dark .theme-select-content{z-index:10050!important;color:#e5eddf!important;box-shadow:0 14px 45px #0005!important}
html.theme-key-dark .theme-select-content .language-select-item{color:#e5eddf!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content,html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content .language-select-item{color:#2d401f!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav .rail-brand strong{color:#26331e!important}
/* Final neutral tone: no green wash on large surfaces. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) :is(.hn-overview,.hn-chart-card,.hn-devices-card){background:#181818;border-color:#40433c}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-metric{background:#202020;border-color:#3c4037}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav) .bottom-nav{background:#0a0a0af7!important;border-bottom-color:#34372f!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-metric-foot button:not(.hn-metric-action){color:#fff;background:#252b20;border-color:#252b20}

/* Unified cabinet surfaces and readable controls. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav){--border:#393939!important;--panel:#202020!important;--panel-2:#262626!important;--muted:#bdbdb8!important;--text:#f1f1ed!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav) .bottom-nav{background:#181818!important;border-color:#383838!important;box-shadow:0 8px 30px #00000012!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav) .phone-screen .card{background:#202020!important;border-color:#383838!important;border-radius:18px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) :is(.dialog-card,.theme-select-content,.language-select-content){background:#202020!important;border-color:#414141!important;color:#f1f1ed!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) :is(.checkout-tariff-card,.checkout-tariff-fact,.balance-discount,.period-card,.balance-topup-summary){background:#292929!important;border-color:#444!important;color:#efefeb!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) :is(input,textarea){background:#171717!important;border-color:#494949!important;color:#f3f3ef!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) :is(p,small,.dialog-description){color:#bebfba!important;line-height:1.65!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen :is(.settings-row,.referral-stat,.referral-bonus-row,.notification-preferences__grid){background:#252525!important;border-color:#404040!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .settings-row:hover{background:#2e2e2e!important;border-color:#6e8064!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen :is(.settings-row small,.device-meta small,.referral-link-label){color:#bcbeb7!important}
html.theme-key-dark .phone-screen :is(.settings-links-block,.settings-list){gap:14px!important}
html.theme-key-dark .phone-screen .settings-row{padding:20px!important;min-height:88px!important;border-radius:16px!important;gap:16px!important;align-items:center!important}
html.theme-key-dark .phone-screen .settings-row strong{font-size:15px!important;line-height:1.5!important}
html.theme-key-dark .phone-screen .settings-row small{font-size:13px!important;line-height:1.6!important;margin-top:4px!important}
html.theme-key-dark .phone-screen :is(.theme-select-trigger,.language-select-trigger){box-shadow:none!important;outline-offset:4px!important}
html.theme-key-dark .phone-screen .settings-profile{padding:26px!important;margin-bottom:24px!important}
html.theme-key-dark .phone-screen :is(.security-card,.notification-settings-card,.bonus-card){padding:26px!important}
html.theme-key-dark .phone-screen :is(.security-overview-card,.payment-history-heading){padding:24px 26px!important;margin-bottom:20px!important}
html.theme-key-dark .phone-screen :is(.referral-stats,.referral-link-list){gap:16px!important;margin-top:22px!important;margin-bottom:22px!important}
html.theme-key-dark .phone-screen .referral-stat{padding:20px!important;border-radius:14px!important}
html.theme-key-dark .phone-screen .referral-stat dd{font-size:26px!important;line-height:1.4!important;margin-top:8px!important}
html.theme-key-dark .phone-screen .referral-bonus-row{padding:18px!important;border-radius:12px!important}
html.theme-key-dark .phone-screen :is(input,.referral-link-item input){border-radius:11px!important;min-height:46px!important;font-size:14px!important}
html.theme-key-dark .phone-screen .device-card{padding:24px!important;min-width:0!important}
html.theme-key-dark .phone-screen .device-name-row{white-space:normal!important;overflow:visible!important;line-height:1.6!important}
html.theme-key-dark .phone-screen .device-meta{margin:22px 0!important;gap:12px!important}
html.theme-key-dark .phone-screen .device-meta>div{padding:14px!important;border-radius:12px!important}
html.theme-key-dark .phone-screen .device-disconnect-button{margin-top:4px!important;border-radius:12px!important;min-height:44px!important}
html.theme-key-dark .webapp-pagination :is(button,input){border-radius:12px!important;min-height:42px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .webapp-pagination button{background:#292929!important;color:#e6e6e1!important;border:1px solid #484848!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .webapp-pagination button[aria-current="page"]{background:#eeeFE9!important;color:#20231c!important;border-color:#eeeFE9!important}
html.theme-key-dark .webapp-pagination button:disabled{opacity:.38!important;cursor:default!important}
html.theme-key-dark .phone-screen :is(th,td){padding:17px 18px!important;font-size:14px!important;line-height:1.55!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen th{background:#292929!important;color:#bfc2b8!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-device-table button{background:#efefe9!important;color:#22251e!important;border-color:#efefe9!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog){border-radius:22px!important;padding:28px!important;box-shadow:0 28px 100px #0005!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) :is(.btn,.period-card){border-radius:12px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .period-card.selected{border-color:#a4c789!important;box-shadow:inset 0 0 0 1px #a4c789!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button{border-radius:50%!important}
@media(min-width:900px){
html.theme-key-dark .phone-screen main:has(>.settings-profile){max-width:1120px!important}
html.theme-key-dark .phone-screen main:has(>.settings-profile)>.settings-links-block{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html.theme-key-dark .phone-screen main:has(>.settings-profile)>.settings-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.theme-key-dark .phone-screen .devices-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;gap:20px!important}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body:has(.period-grid){grid-template-rows:auto!important;row-gap:18px!important}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.checkout-tariff-card{grid-row:1/span 3!important}
html.theme-key-dark .webapp-payment-dialog .payment-dialog-body>.period-grid{grid-row:4!important}
}
@media(max-width:600px){
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog){padding:20px!important;border-radius:18px!important}
html.theme-key-dark .phone-screen .settings-row{min-height:78px!important;padding:16px!important}
html.theme-key-dark .phone-screen :is(.security-card,.bonus-card,.device-card){padding:20px!important}
html.theme-key-dark .phone-screen .devices-list{grid-template-columns:minmax(0,1fr)!important}
}
@media(min-width:900px){
html.theme-key-dark .phone-screen main:has(.settings-profile){max-width:1120px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-links-block{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-row{width:100%!important;margin:0!important}
}
/* Keep row actions at the trailing table edge. */
html.theme-key-dark .phone-screen .hn-device-table :is(th,td):last-child{width:1%;text-align:right!important;white-space:nowrap;padding-right:20px!important}
/* Neutral checkout palette, with restrained green selection. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog{background:#202020!important;border-color:#464646!important;color:#f2f2ee!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .payment-dialog-body{gap:16px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(.empty-card,.checkout-tariff-card,.balance-discount,.period-card){background:#292929!important;border:1px solid #454545!important;border-radius:16px!important;box-shadow:none!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .empty-card{padding:18px 20px!important;min-height:64px!important;line-height:1.6!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-card{padding:20px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-card-head{margin-bottom:18px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact{background:#222!important;border-color:#3d3d3d!important;border-radius:12px!important;padding:14px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(input,.checkout-promo-input){background:#181818!important;border:1px solid #505050!important;color:#f3f3ef!important;border-radius:12px!important;min-height:48px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-promo-action .btn{background:#363636!important;color:#ededE8!important;border-color:#505050!important;border-radius:12px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active{background:#a5c88b14!important;border-color:#a5c88b!important;box-shadow:inset 0 0 0 1px #a5c88b!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .payment-submit-button:disabled{background:#343434!important;border-color:#494949!important;color:#aaa!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .payment-submit-button:not(:disabled){background:#a5c88b!important;color:#172113!important;border-color:#a5c88b!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .balance-discount.selected{border-color:#a5c88b!important}
/* White selected term, green confirmation mark. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active{background:#f5f5f0!important;border-color:#f5f5f0!important;color:#20251c!important;box-shadow:none!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active :is(strong,span,small,.period-unit-price){color:#242a20!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active>svg{color:#548345!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(.checkout-addon-label,.checkout-tariff-fact-label){color:#f0f0eb!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active,
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active{background:#f5f5f0!important;background-image:none!important;border-color:#f5f5f0!important;color:#242a20!important}
/* Inset desktop header with finished edges. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{top:14px!important;left:32px!important;right:32px!important;width:calc(100% - 64px)!important;min-height:108px!important;padding:16px 22px!important;border:1px solid #ffffff14!important;border-radius:22px!important;box-shadow:0 12px 32px #00000018!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{padding-right:20px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{border-top:1px solid #ffffff0b!important;padding-top:9px!important;margin-top:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav{border-color:#d9ded2!important;box-shadow:0 8px 28px #27351b08!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{border-color:#d9ded2!important}
}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .empty-card{padding:12px 16px!important;min-height:44px!important;border-radius:12px!important;font-size:12px!important;line-height:1.5!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .empty-card p{margin:0!important;font-size:12px!important;line-height:1.5!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .empty-card{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{min-height:0!important;padding:10px 18px!important;gap:3px!important;border-radius:18px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{min-height:36px!important;padding-top:7px!important;padding-bottom:7px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{border:0!important;padding:2px 0 0!important;margin:0!important;gap:4px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{min-height:30px!important;padding:5px 12px!important}
}
/* Compact overview keeps the graph visible on first open. */
html.theme-key-dark .hn-dashboard .hn-overview{padding:20px!important}
html.theme-key-dark .hn-dashboard .hn-overview-head{margin-bottom:18px!important;gap:16px!important}
html.theme-key-dark .hn-dashboard .hn-eyebrow{margin-bottom:6px!important}
html.theme-key-dark .hn-dashboard h1{font-size:24px!important}
html.theme-key-dark .hn-dashboard .hn-metric{padding:14px 16px!important}
html.theme-key-dark .hn-dashboard .hn-metric>strong{font-size:25px!important;line-height:1.25!important;margin:8px 0 12px!important}
html.theme-key-dark .hn-dashboard .hn-metric-foot{padding-top:9px!important;gap:6px!important}
html.theme-key-dark .hn-dashboard .hn-metric-foot button{min-height:32px!important;padding:6px 12px!important}
html.theme-key-dark .hn-dashboard{gap:18px!important}
@media(max-width:560px){html.theme-key-dark .hn-dashboard .hn-overview{padding:16px 14px!important}html.theme-key-dark .hn-dashboard .hn-metric{padding:12px!important}html.theme-key-dark .hn-dashboard .hn-metric>strong{font-size:23px!important}}
/* Utilities above, main navigation beside the brand. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{order:-1!important;flex:1 0 100%!important;justify-content:flex-end!important;padding:0 0 4px!important;margin:0!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{margin:0 12px 0 0!important;padding:0 20px 0 0!important;border-right:1px solid #8885!important;align-self:center!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .hn-rail-account{margin-left:auto!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{padding:8px 20px 12px!important;row-gap:4px!important}
}
@keyframes hn-refresh-spin{to{transform:rotate(360deg)}}
html.theme-key-dark .hn-refresh:disabled svg{animation:hn-refresh-spin .8s linear infinite}
html.theme-key-dark .hn-refresh:disabled{opacity:.8;cursor:progress}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-refresh:disabled svg{animation:none}}
/* One desktop navigation row. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{flex-wrap:nowrap!important;min-height:64px!important;padding:10px 16px!important;gap:3px!important;overflow-x:auto!important;scrollbar-width:thin!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{flex:0 0 auto!important;padding-right:14px!important;margin-right:8px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{order:2!important;flex:0 0 auto!important;width:auto!important;padding:0!important;margin:0 0 0 auto!important;gap:2px!important;flex-wrap:nowrap!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .hn-rail-account{order:3!important;margin-left:10px!important;padding-left:10px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{flex:0 0 auto!important;padding:8px 10px!important;white-space:nowrap!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{padding:8px!important;min-height:36px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav .bottom-nav-label{font-size:11px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding-top:104px!important}
}
/* Stable navigation while routes and scrollbars change. */
html.theme-key-dark{scrollbar-gutter:stable}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav,
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{transform:none!important;animation:none!important;translate:none!important;scale:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button{box-sizing:border-box!important;border-width:1px!important;border-style:solid!important;font-weight:500!important;transition:background-color .15s ease,color .15s ease!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.active{font-weight:500!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button .bottom-nav-label{font-weight:500!important}
/* Device list shortcut: neutral pill with centered content. */
html.theme-key-dark .hn-dashboard .hn-devices-card>header>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:10px!important;padding:10px 18px!important;min-height:40px!important;background:#f5f5f0!important;color:#242820!important;border:1px solid #f5f5f0!important;border-radius:999px!important;font-size:13px!important;line-height:1.4!important;box-shadow:none!important}
html.theme-key-dark .hn-dashboard .hn-devices-card>header>button:hover{background:#fff!important;border-color:#fff!important}
html.theme-key-dark .hn-dashboard .hn-devices-card>header>button svg{color:inherit!important;flex:0 0 auto!important}
/* Desktop first view: overview and complete chart fit common laptop heights. */
@media(min-width:1024px){
html.theme-key-dark .hn-dashboard .hn-overview{padding:16px 20px!important}
html.theme-key-dark .hn-dashboard .hn-overview-head{margin-bottom:12px!important}
html.theme-key-dark .hn-dashboard .hn-eyebrow{margin-bottom:4px!important}
html.theme-key-dark .hn-dashboard h1{font-size:22px!important}
html.theme-key-dark .hn-dashboard .hn-overview-head p{margin-top:4px!important}
html.theme-key-dark .hn-dashboard .hn-metric{padding:12px 14px!important}
html.theme-key-dark .hn-dashboard .hn-metric>strong{margin:6px 0 8px!important;font-size:24px!important}
html.theme-key-dark .hn-dashboard .hn-chart-card{padding:18px 22px!important}
html.theme-key-dark .hn-dashboard .hn-chart-head{margin-bottom:8px!important}
html.theme-key-dark .hn-dashboard .hn-chart-plot svg{height:clamp(190px,calc(100dvh - 490px),280px)!important;min-height:190px!important;max-height:280px!important}
html.theme-key-dark .hn-dashboard .hn-day-details{padding:8px 0!important}
html.theme-key-dark .hn-dashboard .hn-day-details button{min-height:48px!important;padding:7px 10px!important}
html.theme-key-dark .hn-dashboard .hn-chart-footer{margin-top:8px!important;padding-top:10px!important}
html.theme-key-dark .hn-dashboard{gap:14px!important}
}
html.theme-key-dark .hn-dashboard .hn-range{background:#303030!important;border-color:#494949!important;padding:4px!important;gap:3px!important;flex-wrap:wrap}
html.theme-key-dark .hn-dashboard .hn-range button{color:#e2e2dc!important;padding:8px 13px!important}
html.theme-key-dark .hn-dashboard .hn-range button[aria-pressed=true]{background:#f5f5f0!important;color:#22271e!important;box-shadow:0 2px 5px #0002!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range{background:#e6e8e1!important;border-color:#d4d9cc!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range button{color:#444b3c!important}
html.theme-key-dark .hn-dashboard .hn-day-details button{cursor:pointer!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen){background:#f5f5f0!important;border-color:#f5f5f0!important;color:#252b20!important}
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen) :is(span,strong){color:#252b20!important}
/* Focused subscription reissue confirmation. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-subscription-reissue-dialog{width:min(480px,calc(100vw - 32px))!important;padding:28px!important;border-radius:24px!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-block{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:18px!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-icon{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:50%!important;background:#ed9b8520!important;border-color:#ed9b8540!important;color:#efb29f!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-copy h2{font-size:23px!important;letter-spacing:-.5px!important;margin:0 0 12px!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-title-copy p{font-size:14px!important;line-height:1.7!important;max-width:390px!important;margin:0!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .dialog-head{padding-bottom:24px!important;border:0!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body{gap:12px!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body>.btn{border-radius:999px!important;min-height:46px!important;font-size:14px!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body>.btn:not([data-webapp-action]){background:#f5f5f0!important;color:#25291f!important;border-color:#f5f5f0!important}
html.theme-key-dark .webapp-subscription-reissue-dialog [data-webapp-action=confirm-subscription-reissue]{background:#793e37!important;border-color:#b76a5e!important;color:#fff1ec!important}
/* Support composer stays usable for long messages. */
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen){min-width:0!important;gap:16px!important}
html.theme-key-dark .phone-screen .support-conversation-card{min-height:0!important;overflow:hidden!important;padding:18px!important;gap:16px!important}
html.theme-key-dark .phone-screen .ticket-composer{flex:0 0 auto!important;min-height:0!important;border:1px solid #8884!important;border-radius:18px!important;padding:12px!important;box-shadow:none!important;background:transparent!important}
html.theme-key-dark .phone-screen .ticket-composer-editor{min-height:0!important;overflow:hidden!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-editor{min-height:0!important;border:1px solid #8884!important;border-radius:12px!important;overflow:hidden!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-surface{min-height:90px!important;height:clamp(90px,18dvh,170px)!important;max-height:170px!important;overflow-y:auto!important;overflow-x:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important;padding:14px!important;line-height:1.65!important;border:0!important;border-radius:0!important;box-sizing:border-box!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-surface *{overflow-wrap:anywhere!important;max-width:100%!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-toolbar{padding:8px!important;background:transparent!important;border-bottom:1px solid #8883!important;gap:5px!important;flex-wrap:wrap!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-tool{border-radius:9px!important;min-width:32px!important;min-height:32px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen :is(.support-screen,.support-ticket-screen) :is(.rt-editor,.rt-surface){background:#252525!important;color:#eeeeE8!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-tool{background:#343434!important;color:#ddd!important;border-color:#484848!important}
html.theme-key-dark .phone-screen .ticket-composer-row{flex:0 0 auto!important;min-height:44px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;margin-top:10px!important}
html.theme-key-dark .phone-screen :is(.ticket-composer-send,.support-submit-button,.support-new-ticket-button){border-radius:999px!important;padding:10px 20px!important;background:#f5f5f0!important;color:#252b20!important;border-color:#f5f5f0!important}
html.theme-key-dark .phone-screen .support-message-scroll{min-height:80px!important;flex:1 1 0!important;overflow:hidden!important}
html.theme-key-dark .phone-screen .ticket-message-list{overflow-wrap:anywhere!important}
/* Profile hover follows the pill shape rather than a square fill. */
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.hn-rail-account{border-radius:999px!important;overflow:hidden!important;padding:5px 12px 5px 6px!important;isolation:isolate}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.hn-rail-account:hover{background:#ffffff09!important;border-color:transparent!important;box-shadow:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.hn-rail-account .hn-rail-account-copy{background:transparent!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button.hn-rail-account:hover{background:#242a2010!important}
/* Rename device: compact neutral form. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog{width:min(480px,calc(100vw - 32px))!important;padding:26px!important;border-radius:22px!important}
html.theme-key-dark .webapp-device-rename-dialog .dialog-head{padding-bottom:18px!important;margin-bottom:0!important;border:0!important}
html.theme-key-dark .webapp-device-rename-dialog .payment-dialog-body{display:flex!important;flex-direction:column!important;gap:14px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog input{min-height:48px!important;border-radius:12px!important;padding:12px 14px!important;font-size:15px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog .payment-dialog-body>.btn{border-radius:999px!important;min-height:46px!important;background:#f5f5f0!important;color:#252b20!important;border-color:#f5f5f0!important;font-size:14px!important;font-weight:600!important}
/* Destructive device action stays clear on a white surface. */
html.theme-key-dark .phone-screen .device-card .device-disconnect-button{background:#f5f5f0!important;border:1px solid #f5f5f0!important;color:#b13e38!important;border-radius:999px!important;min-height:44px!important;font-weight:500!important;gap:9px!important}
html.theme-key-dark .phone-screen .device-card .device-disconnect-button svg{color:#b13e38!important}
html.theme-key-dark .phone-screen .device-card .device-disconnect-button:hover{background:#fff1ed!important;border-color:#e1a99f!important;color:#942f2a!important}
/* Support overview and conversation share the neutral cabinet design. */
html.theme-key-dark .phone-screen .support-new-ticket-button{border-radius:16px!important;padding:16px 20px!important;gap:14px!important;text-align:left!important}
html.theme-key-dark .phone-screen .support-new-ticket-button strong{color:#20251e!important;font-size:16px!important;font-weight:600!important}
html.theme-key-dark .phone-screen .support-new-ticket-button small{color:#596151!important;font-size:13px!important;line-height:1.5!important;margin-top:4px!important}
html.theme-key-dark .phone-screen .support-new-ticket-icon{background:#e1e6d9!important;color:#425b32!important;border-radius:12px!important}
html.theme-key-dark .phone-screen .support-list-card{min-height:0!important;padding:20px!important}
html.theme-key-dark .phone-screen .support-ticket-list-scroll{min-height:0!important;height:auto!important}
html.theme-key-dark .phone-screen .support-status-tabs-list{background:#303030!important;border-color:#444!important;border-radius:14px!important;padding:4px!important;gap:5px!important;margin-bottom:16px!important}
html.theme-key-dark .phone-screen .support-status-tabs-trigger{border-radius:10px!important;min-height:40px!important;color:#c7c7c0!important;font-size:14px!important;font-weight:500!important}
html.theme-key-dark .phone-screen .support-status-tabs-trigger[data-state=active]{background:#f5f5f0!important;color:#252b20!important;box-shadow:0 2px 5px #0002!important}
html.theme-key-dark .phone-screen .support-status-tabs-trigger b{background:#8882!important;color:inherit!important}
html.theme-key-dark .phone-screen .ticket-card{background:#282828!important;border:1px solid #444!important;border-radius:16px!important;padding:20px!important;box-shadow:none!important;min-height:86px!important}
html.theme-key-dark .phone-screen .ticket-card:before{display:none!important}
html.theme-key-dark .phone-screen .ticket-card:hover{background:#303030!important;border-color:#777!important}
html.theme-key-dark .phone-screen .ticket-card-title{font-size:16px!important;line-height:1.5!important}
html.theme-key-dark .phone-screen .ticket-card-meta{font-size:13px!important;color:#bcbcb6!important;margin-top:5px!important}
html.theme-key-dark .phone-screen :is(.ticket-status-badge,.ticket-priority-badge){border-radius:999px!important;font:500 12px/1.4 Arial,sans-serif!important;padding:4px 10px!important}
html.theme-key-dark .phone-screen .support-back-button{background:#f5f5f0!important;color:#252b20!important;border-color:#f5f5f0!important;border-radius:999px!important;padding:10px 18px!important;gap:8px!important;min-height:40px!important}
html.theme-key-dark .phone-screen .ticket-detail-title h1{font-size:19px!important;line-height:1.4!important}
html.theme-key-dark .phone-screen .ticket-detail-title small{font-size:12px!important;color:#bcbcb6!important}
html.theme-key-dark .phone-screen .ticket-message-bubble{background:#303030!important;border:1px solid #484848!important;border-radius:16px!important;padding:12px 16px!important;color:#eeeEE8!important;line-height:1.6!important}
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble{background:#e9ece3!important;color:#252b20!important;border-color:#e9ece3!important}
html.theme-key-dark .phone-screen .ticket-message-avatar{width:38px!important;height:38px!important;border-color:#555!important;background:#343434!important}
html.theme-key-dark .phone-screen .ticket-composer-row .btn{border-radius:999px!important;min-height:42px!important;padding:9px 18px!important}
html.theme-key-dark .phone-screen .ticket-composer-send:disabled{background:#393939!important;color:#aaa!important;border-color:#494949!important;opacity:1!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface{height:clamp(90px,14dvh,140px)!important;max-height:140px!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.ticket-card,.support-status-tabs-list,.ticket-message-bubble){background:#f1f2ec!important;color:#252b20!important;border-color:#d7dbd0!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .ticket-card-meta{color:#5c6453!important}
/* User message content must inherit the dark text of its light bubble. */
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble,
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble :is(.ticket-message-text,p,span,div,strong,b,em,i,u,s,li,ul,ol,blockquote,code,pre){color:#252b20!important}
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble a{color:#315e81!important;text-decoration:underline!important}
/* Quiet new-ticket surface and a clear compact ticket action. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-new-ticket-button{background:#303030!important;border:1px solid #4a4a4a!important;color:#eee!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-new-ticket-button strong{color:#f0f0eb!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-new-ticket-button small{color:#c0c2b9!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-new-ticket-icon{background:#41483a!important;color:#d1dfbe!important}
html.theme-key-dark .phone-screen .ticket-card{display:flex!important;align-items:center!important;gap:20px!important;cursor:pointer!important}
html.theme-key-dark .phone-screen .ticket-card-main{flex:1!important;min-width:0!important}
html.theme-key-dark .phone-screen .ticket-card:after{content:attr(data-open-label)!important;display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:38px!important;padding:8px 16px!important;box-sizing:border-box!important;background:#eeeee8!important;color:#252b20!important;border-radius:999px!important;font:500 13px/1.4 Arial,sans-serif!important;transform:none!important;width:auto!important;height:auto!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .ticket-card{flex-wrap:wrap!important;gap:12px!important;padding:16px!important}html.theme-key-dark .phone-screen .ticket-card-main{flex-basis:100%!important}html.theme-key-dark .phone-screen .ticket-card:after{margin-left:auto!important}}
/* Shorter reply composer, retaining its internal scroll. */
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface{height:90px!important;min-height:90px!important;max-height:90px!important;padding:10px 12px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer{padding:10px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-toolbar{padding:6px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer-row{margin-top:8px!important;min-height:38px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer-row .btn{min-height:38px!important;padding:8px 16px!important}
/* Counter sits below the editor, separate from its scrollbar. */
html.theme-key-dark .phone-screen .ticket-composer-counter{position:static!important;display:block!important;text-align:right!important;margin:5px 4px 0!important;padding:0!important;line-height:1.4!important;font-size:11px!important;font-weight:500!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface{scrollbar-width:thin!important;scrollbar-color:#737373 transparent!important;scrollbar-gutter:stable!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface::-webkit-scrollbar{width:6px}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface::-webkit-scrollbar-thumb{background:#737373;border-radius:9px}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface::-webkit-scrollbar-button{display:none;height:0}
/* Compact chat-style input: one surface, text first, tools below. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer{background:#303030!important;border:1px solid #494949!important;border-radius:22px!important;padding:10px 12px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-editor{border:0!important;background:transparent!important;border-radius:0!important;gap:3px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface{order:0!important;height:64px!important;min-height:64px!important;max-height:64px!important;background:transparent!important;padding:6px 8px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-surface :is(.tiptap,.ProseMirror,[contenteditable=true]){min-height:0!important;padding:0!important;margin:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-toolbar{order:1!important;padding:3px 4px!important;border:0!important;gap:4px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-tool{min-height:27px!important;min-width:27px!important;padding:4px!important;background:transparent!important;border-color:transparent!important;font-size:12px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .rt-tool:hover{background:#ffffff12!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer-counter{margin:2px 6px 0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer-row{margin-top:4px!important;min-height:34px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer-row .btn{min-height:34px!important;padding:6px 14px!important;font-size:13px!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer{background:#eff0eb!important;border-color:#d5d9cf!important}
/* Unified compact composer, without nested editor surfaces. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important;padding:10px 12px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-editor,
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-editor{display:contents!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{background:transparent!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{grid-column:1/-1!important;grid-row:1!important;height:48px!important;min-height:48px!important;max-height:48px!important;border-radius:0!important;border:0!important;padding:5px 8px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar{grid-column:1!important;grid-row:2!important;align-self:center!important;min-width:0!important;margin:0!important;padding:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row{grid-column:2!important;grid-row:2!important;margin:0!important;gap:8px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{grid-column:1/-1!important;grid-row:3!important;margin:0 4px!important;font-size:10px!important;line-height:1.2!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool{background:transparent!important;border-color:transparent!important;color:#c8c8c2!important;min-width:26px!important;min-height:26px!important;padding:3px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:hover{background:#ffffff15!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar{grid-column:1/-1!important}html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row{grid-column:1/-1!important;grid-row:3!important}html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{grid-row:4!important}}
/* Compact composer dimensions and real formatting buttons. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer{position:relative!important;padding:8px 10px!important;gap:5px 10px!important;border-radius:18px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{height:34px!important;min-height:34px!important;max-height:34px!important;padding:4px 52px 4px 6px!important;line-height:24px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{position:absolute!important;top:12px!important;bottom:auto!important;right:12px!important;margin:0!important;font-size:9px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar{gap:5px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:3px!important;border:1px solid #555!important;border-radius:8px!important;font-size:13px!important;background:#3c3c3c!important;color:#ededE8!important;box-sizing:border-box!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:is([data-rt-format=link],[data-rt-format=blockquote]){font-size:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:is([data-rt-format=link],[data-rt-format=blockquote]):before{width:16px!important;height:16px!important;flex:0 0 16px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row{min-height:30px!important;gap:7px!important;--message-image-compact-height:30px}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row .message-image-dropzone{height:30px!important;min-height:30px!important;width:32px!important;min-width:32px!important;padding:5px!important;border-radius:8px!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row .message-image-dropzone svg{width:17px!important;height:17px!important;flex-shrink:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-send{min-height:30px!important;height:30px!important;padding:5px 12px!important;border-radius:999px!important;font-size:12px!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar{gap:4px!important}html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row{grid-row:3!important}}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool{background:#3c3c3c!important;border:1px solid #575757!important;border-radius:8px!important;color:#ededE8!important;min-width:30px!important;min-height:30px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:is([data-rt-format=link],[data-rt-format=blockquote]){font-size:0!important}
@media(min-width:1024px){
html.theme-key-dark:has(.support-ticket-screen),html.theme-key-dark:has(.support-ticket-screen) body{height:100dvh!important;overflow:hidden!important}
html.theme-key-dark .app-shell:has(.support-ticket-screen){height:100dvh!important;min-height:0!important;overflow:hidden!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:has(.support-ticket-screen){height:100dvh!important;min-height:0!important;box-sizing:border-box!important;padding-top:104px!important;padding-bottom:14px!important;overflow:hidden!important}
html.theme-key-dark .phone-screen main.support-ticket-screen{height:calc(100dvh - 118px)!important;max-height:calc(100dvh - 118px)!important;min-height:0!important;padding:0!important;overflow:hidden!important;grid-template-rows:auto minmax(0,1fr)!important}
html.theme-key-dark .phone-screen .support-ticket-screen .support-conversation-card{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr) auto!important}
}
/* Center the attachment glyph without hidden label spacing. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row .message-image-dropzone{display:grid!important;place-items:center!important;gap:0!important;line-height:0!important;padding:0!important;width:32px!important;height:32px!important;min-height:32px!important;box-sizing:border-box!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row .message-image-dropzone svg{display:block!important;width:18px!important;height:18px!important;margin:0!important;grid-area:1/1!important;transform:none!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-row .message-image-dropzone span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
/* A little more writing room without growing the page. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{height:58px!important;min-height:58px!important;max-height:58px!important;padding-top:6px!important;padding-bottom:6px!important}
/* Keep the character count inside the composer, clear of controls. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer{position:relative!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{position:absolute!important;inset:10px 14px auto auto!important;top:10px!important;right:14px!important;bottom:auto!important;left:auto!important;grid-area:auto!important;align-self:start!important;justify-self:end!important;width:auto!important;height:auto!important;margin:0!important;z-index:2!important;line-height:14px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{height:76px!important;min-height:76px!important;max-height:76px!important;padding-right:64px!important}
/* Darker neutral writing surface with a clear, quiet outline. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer{background:#242424!important;border:1px solid #505050!important;box-shadow:none!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer:focus-within{border-color:#8b9482!important;box-shadow:0 0 0 1px #8b948233!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{color:#eeeEE8!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface .is-editor-empty:first-child:before{color:#a6a8a1!important;opacity:1!important}
/* Leaf-shaped chat bubbles point toward the sender. */
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble{border-radius:20px 20px 4px 20px!important}
html.theme-key-dark .phone-screen .ticket-message-row:not(.ticket-message-row--user) .ticket-message-bubble{border-radius:20px 20px 20px 4px!important}
/* Small message tails, matching each bubble surface. */
html.theme-key-dark .phone-screen .ticket-message-bubble{position:relative!important;overflow:visible!important}
html.theme-key-dark .phone-screen .ticket-message-bubble:after{content:'';position:absolute;bottom:-1px;width:10px;height:13px;background:inherit;pointer-events:none}
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble:after{right:-7px;clip-path:polygon(0 0,35% 55%,100% 100%,0 100%)}
html.theme-key-dark .phone-screen .ticket-message-row:not(.ticket-message-row--user) .ticket-message-bubble:after{left:-7px;clip-path:polygon(100% 0,65% 55%,0 100%,100% 100%)}
/* Visible lower boundary of the writing area. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{border-bottom:1px solid #606060!important;padding-bottom:8px!important;margin-bottom:4px!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{border-bottom-color:#bdc4b5!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{right:8px!important;inset-inline-end:8px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{height:82px!important;min-height:82px!important;max-height:82px!important;margin-bottom:2px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{right:28px!important;inset-inline-end:28px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .composer-expand{position:absolute;top:8px;right:10px;z-index:3;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #606060;border-radius:8px;background:#343434;color:#e7e7e0;cursor:pointer}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{right:48px!important;inset-inline-end:48px!important;top:14px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-surface{padding-right:100px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{position:fixed!important;inset:94px max(18px,calc((100vw - 1200px)/2)) 20px!important;z-index:100!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;box-shadow:0 0 0 100vmax #0009!important;padding:18px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .rt-surface{height:100%!important;min-height:0!important;max-height:none!important;grid-row:1!important;padding-top:28px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-send:disabled{cursor:not-allowed!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer[data-sending=true] .ticket-composer-send:disabled{cursor:wait!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{inset:12px 12px 86px!important;grid-template-rows:minmax(0,1fr) auto auto!important}}
/* Support inbox: compact header, restrained tabs, content-sized list. */
html.theme-key-dark .phone-screen main.support-screen{display:grid!important;grid-template-rows:auto auto!important;align-content:start!important;height:auto!important;min-height:0!important;max-height:none!important;gap:22px!important}
html.theme-key-dark .phone-screen .support-screen .support-overview-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;padding:24px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-screen :is(.support-overview-card,.support-list-card){background:#181818!important;border-color:#383838!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-copy strong{font-size:25px!important;letter-spacing:-.6px!important;color:inherit!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-icon{width:42px!important;height:42px!important;background:#292929!important;border-radius:13px!important;color:#bdc7b4!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-icon svg{width:24px!important;height:24px!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{width:auto!important;min-width:200px!important;min-height:50px!important;padding:12px 18px!important;border-radius:14px!important;gap:10px!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button small{display:none!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-icon{width:30px!important;height:30px!important;border-radius:9px!important}
html.theme-key-dark .phone-screen .support-screen .support-create-panel{grid-column:1/-1!important}
html.theme-key-dark .phone-screen .support-screen .support-list-card{display:grid!important;grid-template-rows:auto auto!important;align-content:start!important;height:auto!important;min-height:0!important;padding:22px!important;gap:18px!important}
html.theme-key-dark .phone-screen .support-screen .support-status-tabs-list{width:fit-content!important;max-width:100%!important;display:inline-flex!important;padding:4px!important;gap:4px!important;margin:0!important;border-radius:12px!important;background:#272727!important;border:1px solid #3e3e3e!important}
html.theme-key-dark .phone-screen .support-screen .support-status-tabs-trigger{flex:0 0 auto!important;min-width:140px!important;min-height:38px!important;padding:8px 18px!important;border-radius:9px!important}
html.theme-key-dark .phone-screen .support-screen .support-ticket-list-scroll{height:auto!important;min-height:0!important;max-height:none!important;flex:none!important}
html.theme-key-dark .phone-screen .support-screen .ticket-card{min-height:88px!important;background:#222!important;border-color:#3b3b3b!important;padding:20px 22px!important;border-radius:14px!important}
html.theme-key-dark .phone-screen .support-screen .ticket-card-title{font-size:17px!important;font-weight:600!important}
html.theme-key-dark .phone-screen .support-screen .ticket-card-meta{font-size:12px!important;font-weight:400!important;letter-spacing:.1px!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-screen .support-overview-card{grid-template-columns:1fr!important;padding:20px!important}html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{justify-self:start!important;min-width:0!important}html.theme-key-dark .phone-screen .support-screen .support-list-card{padding:14px!important}html.theme-key-dark .phone-screen .support-screen .support-status-tabs-trigger{min-width:0!important;padding:8px 14px!important}}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen :is(.support-status-tabs-list,.ticket-card){background:#f3f4ee!important;border-color:#d8ddd0!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .app-shell:has(.bottom-nav) .phone-screen .support-screen :is(.support-overview-card,.support-list-card){background:#181818!important;border-color:#383838!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-copy :is(h1,h2,strong){font:600 25px/1.3 Arial,sans-serif!important;letter-spacing:-.6px!important;color:#eceee7!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-heading-copy :is(h1,h2,strong){color:#252b20!important}
/* Distinct writing surface inside the neutral composer frame. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{background:#1c1e1f!important;border:1px solid #414548!important;border-radius:12px!important;color:#eeeee9!important;padding-left:12px!important;padding-top:9px!important;padding-bottom:9px!important;margin-bottom:6px!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer{background:#252727!important;border-color:#4d5350!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .rt-surface{padding-top:36px!important;padding-left:16px!important;padding-bottom:16px!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{background:#fff!important;border:1px solid #cbd2c2!important;border-radius:12px!important}
/* Clear compact new-ticket action. */
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{min-width:0!important;min-height:44px!important;padding:9px 14px!important;border-radius:12px!important;gap:10px!important;transition:background-color .16s,border-color .16s!important;cursor:pointer!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-screen .support-new-ticket-button{background:#252727!important;border-color:#535953!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-screen .support-new-ticket-button:hover{background:#343834!important;border-color:#9ba58f!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button strong{font-size:14px!important;line-height:1.4!important;font-weight:600!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-icon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:#a2bc8520!important;color:#d0dfbb!important;flex:0 0 28px!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button>svg{width:15px!important;height:15px!important;margin-left:4px!important;opacity:.7!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-new-ticket-icon{color:#4e6837!important}
/* Expanded editor has a separate header for its counter and collapse action. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{grid-template-rows:28px minmax(0,1fr) auto!important;gap:10px 12px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .rt-surface{grid-row:2!important;padding-top:14px!important;padding-right:16px!important;margin:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .composer-expand{top:14px!important;right:18px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .ticket-composer-counter{top:20px!important;right:60px!important;inset-inline-end:60px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .rt-toolbar,
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .ticket-composer-row{grid-row:3!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{grid-template-rows:28px minmax(0,1fr) auto auto!important}html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .ticket-composer-row{grid-row:4!important}}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface :is(.tiptap,.ProseMirror,p,span,strong,b,em,i,u,s,blockquote,code,pre,li){color:#f2f2ed!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface blockquote{border-left-color:#aab49f!important}
/* Tighter expanded header and legible character counter. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .ticket-composer-counter{font-size:12px!important;line-height:16px!important;font-weight:500!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{padding:12px 16px!important;grid-template-rows:24px minmax(0,1fr) auto!important;row-gap:6px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .composer-expand{top:9px!important;right:16px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded .ticket-composer-counter{top:14px!important;right:57px!important;inset-inline-end:57px!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer.composer-expanded{grid-template-rows:24px minmax(0,1fr) auto auto!important}}
/* Active formatting is clearly distinct from available tools. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:is(.is-active,[aria-pressed=true]),
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer .rt-toolbar .rt-tool:is(.is-active,[aria-pressed=true]){background:#f5f5f0!important;color:#20271c!important;border-color:#a8c48f!important;box-shadow:0 0 0 1px #a8c48f!important}
/* Link entry is an intentional floating form, not an implicit grid cell. */
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-row{position:absolute!important;left:12px!important;right:12px!important;bottom:48px!important;z-index:6!important;display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;background:#292c2b!important;border:1px solid #62695d!important;border-radius:14px!important;box-shadow:0 8px 24px #0005!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-input{height:40px!important;min-height:40px!important;flex:1 1 0!important;min-width:0!important;border-radius:9px!important;background:#191b1b!important;border-color:#555c52!important;color:#f1f1eb!important;padding:9px 12px!important;font-size:14px!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-apply{height:40px!important;min-height:40px!important;width:auto!important;min-width:100px!important;padding:8px 14px!important;background:#f5f5f0!important;color:#252b20!important;border:1px solid #f5f5f0!important;border-radius:9px!important;font-size:0!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-apply:after{content:attr(data-apply-label);font:500 13px/1.4 Arial,sans-serif}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer .rt-link-row{background:#f3f4ef!important;border-color:#cbd2c2!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-ticket-screen .ticket-composer .rt-link-input{background:#fff!important;color:#252b20!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-row .rt-link-apply{cursor:pointer!important;transition:background-color .15s,color .15s,border-color .15s!important}
html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-row .rt-link-apply:is(:hover,:focus-visible){background:#fff!important;color:#20251c!important;border-color:#fff!important;box-shadow:0 0 0 2px #ffffff20!important}
/* Keep mobile reply tools above the fixed bottom navigation. */
@media(max-width:1023px){
html.theme-key-dark .app-shell:has(.support-ticket-screen) .phone-screen{height:100dvh!important;min-height:0!important;padding:14px 12px 100px!important;box-sizing:border-box!important;overflow:hidden!important}
html.theme-key-dark .phone-screen main.support-ticket-screen{height:calc(100dvh - 114px)!important;max-height:calc(100dvh - 114px)!important;min-height:0!important;padding:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
html.theme-key-dark .phone-screen .support-ticket-screen .support-conversation-card{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr) auto!important;padding:10px!important;gap:8px!important}
}
@media(max-width:600px){html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-row{bottom:88px!important;left:8px!important;right:8px!important;padding:9px!important;gap:7px!important}html.theme-key-dark .phone-screen .support-ticket-screen .ticket-composer .rt-link-apply{min-width:88px!important;padding:8px 10px!important}}
/* Consistent action arrow and readable neutral support forms. */
html.theme-key-dark .phone-screen .ticket-card:after{display:none!important;content:none!important}
html.theme-key-dark .phone-screen .ticket-card-open{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;min-height:40px;padding:9px 16px;box-sizing:border-box;background:#f5f5f0;color:#252b20;border-radius:999px;font:500 13px/1.4 Arial,sans-serif}
html.theme-key-dark .phone-screen .ticket-card-open svg{color:inherit;transition:transform .2s ease}
html.theme-key-dark .phone-screen .ticket-card:is(:hover,:focus-visible) .ticket-card-open svg{transform:translate(3px,-3px)}
html.theme-key-dark .support-select-content{padding:8px!important;border-radius:14px!important;background:#252525!important;border:1px solid #4a4a4a!important;box-shadow:0 14px 40px #0005!important;color:#eeeeE8!important}
html.theme-key-dark .support-select-item{min-height:42px!important;padding:10px 14px!important;border-radius:9px!important;font:500 14px/1.5 Arial,sans-serif!important;color:#e2e2dc!important}
html.theme-key-dark .support-select-item[data-highlighted]{background:#383838!important}
html.theme-key-dark .support-select-item[data-state=checked]{background:#f5f5f0!important;color:#252b20!important}
html.theme-key-dark .support-select-check{color:#648b47!important}
html.theme-key-dark .phone-screen .support-screen .support-select-trigger{min-height:46px!important;padding:11px 14px!important;border-radius:12px!important;font:500 14px/1.5 Arial,sans-serif!important;background:#242424!important;border:1px solid #4c4c4c!important;color:#eeeeE8!important}
html.theme-key-dark .phone-screen .support-screen .support-field>span{font:500 13px/1.5 Arial,sans-serif!important;color:#c4c4bd!important;margin-bottom:6px!important}
html.theme-key-dark .phone-screen .support-screen input::placeholder{color:#a4a4a0!important;opacity:1!important}
html.theme-key-dark .phone-screen .support-screen .rt-surface .is-editor-empty:first-child:before{color:#a9a9a3!important;opacity:1!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer{background:#242424!important;border-color:#4b4b4b!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer:focus-within{border-color:#8b8b8b!important;box-shadow:0 0 0 1px #8b8b8b22!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .support-ticket-screen .ticket-composer .rt-surface{background:#1b1b1b!important;border-color:#444!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-content{background:#fff!important;border-color:#d2d6cb!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-item{color:#30362a!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-item[data-highlighted]{background:#eceee7!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-select-trigger{background:#fff!important;color:#252b20!important;border-color:#cbd2c2!important}
@media(max-width:600px){html.theme-key-dark .phone-screen .ticket-card-open{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .phone-screen .ticket-card-open svg{transition:none!important;transform:none!important}}
/* Code blocks remain visibly formatted before and after sending. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-surface pre{background:#111!important;border:1px solid #656565!important;border-radius:10px!important;padding:12px 14px!important;margin:10px 0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:#f1f1eb!important;font:13px/1.65 Consolas,monospace!important}
html.theme-key-dark .phone-screen .ticket-message-row--user .ticket-message-bubble pre{background:#dce0d5!important;border:1px solid #b1b9a8!important;border-radius:9px!important;padding:10px 12px!important;margin:6px 0!important;color:#252b20!important;white-space:pre-wrap!important;font:13px/1.65 Consolas,monospace!important}
html.theme-key-dark .phone-screen .ticket-message-row:not(.ticket-message-row--user) .ticket-message-bubble pre{background:#171717!important;border:1px solid #626262!important;border-radius:9px!important;padding:10px 12px!important;color:#ededE7!important;white-space:pre-wrap!important;font:13px/1.65 Consolas,monospace!important}
html.theme-key-dark .phone-screen :is(.rt-surface,.ticket-message-bubble) pre code{background:transparent!important;border:0!important;padding:0!important;color:inherit!important;font:inherit!important}
html.theme-key-dark .support-select-content .support-select-item[data-selected]{background:#f5f5f0!important;color:#252b20!important}
html.theme-key-dark .support-select-content .support-select-item[data-selected] span{color:#252b20!important}
/* Compact settings rows, without excess vertical padding. */
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-profile{padding:16px 20px!important;min-height:76px!important;margin-bottom:12px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) :is(.settings-links-block,.settings-list){gap:8px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-row{min-height:62px!important;padding:11px 16px!important;gap:14px!important;border-radius:12px!important;margin-top:0!important;margin-bottom:0!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-row strong{font-size:14px!important;line-height:1.4!important}
html.theme-key-dark .phone-screen main:has(.settings-profile) .settings-row small{font-size:12px!important;line-height:1.4!important;margin-top:3px!important}
html.theme-key-dark .phone-screen main:has(.settings-profile){gap:10px!important}
/* Larger circular account photos in the header and settings. */
html.theme-key-dark .hn-account-avatar{border-radius:50%!important;box-sizing:border-box!important;border:1px solid #7777!important}
html.theme-key-dark .hn-account-avatar img{border-radius:50%!important;display:block!important}
html.theme-key-dark .bottom-nav .hn-rail-account .hn-account-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important}
html.theme-key-dark .phone-screen .settings-avatar{width:64px!important;height:64px!important;min-width:64px!important;padding:3px!important;display:grid!important;place-items:center!important;border-radius:50%!important;box-sizing:border-box!important;background:#ffffff05!important;border:1px solid #7776!important}
html.theme-key-dark .phone-screen .settings-avatar .hn-account-avatar{width:56px!important;height:56px!important;flex:0 0 56px!important;font-size:18px!important}
@media(max-width:1399px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{display:none!important}}
@media(min-width:1024px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button.hn-rail-account{margin-left:auto!important;margin-right:0!important}}
/* Balance top-up: compact neutral layout and one clean amount control. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog{width:min(500px,calc(100vw - 32px))!important;max-width:500px!important;padding:24px!important;border-radius:22px!important}
html.theme-key-dark .balance-topup-dialog .dialog-head{padding-bottom:18px!important;margin:0!important;border-bottom:1px solid #8883!important}
html.theme-key-dark .balance-topup-dialog .dialog-title-copy h2{font-size:23px!important;line-height:1.3!important}
html.theme-key-dark .balance-topup-dialog .balance-topup-body{gap:16px!important;padding-top:18px!important}
html.theme-key-dark .balance-topup-dialog .balance-topup-current{padding:14px 16px!important;min-height:68px!important;border-radius:14px!important;background:#292929!important;border:1px solid #444!important;gap:12px!important}
html.theme-key-dark .balance-topup-dialog .balance-topup-current>span{background:#3a3a3a!important;color:#d3d8ca!important;border-radius:11px!important;width:38px!important;height:38px!important}
html.theme-key-dark .balance-topup-dialog .balance-topup-current strong{font-size:25px!important;line-height:1.3!important;margin-top:3px!important}
html.theme-key-dark .balance-topup-dialog .balance-amount-field{gap:7px!important}
html.theme-key-dark .balance-topup-dialog .balance-amount-field>span{font-size:14px!important;font-weight:500!important}
html.theme-key-dark .balance-topup-dialog .balance-amount-field>div{border:1px solid #555!important;border-radius:13px!important;background:#181818!important;min-height:56px!important;box-shadow:none!important;overflow:hidden!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog .balance-amount-field input{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;font-size:23px!important;min-height:54px!important;height:54px!important;padding:12px 42px 12px 14px!important;color:#f1f1eb!important}
html.theme-key-dark .balance-topup-dialog .balance-amount-field>div:focus-within{border-color:#a6ae9b!important;box-shadow:0 0 0 2px #a6ae9b15!important}
html.theme-key-dark .balance-topup-dialog .balance-amount-field>small{font-size:12px!important;color:#b9b9b2!important}
html.theme-key-dark .balance-topup-dialog .balance-presets{gap:8px!important}
html.theme-key-dark .balance-topup-dialog .balance-presets button{min-height:38px!important;padding:8px 10px!important;border-radius:10px!important;background:#303030!important;border:1px solid #4b4b4b!important;color:#e3e3dc!important;font-size:12px!important;cursor:pointer!important}
html.theme-key-dark .balance-topup-dialog .balance-presets button.active{background:#f5f5f0!important;border-color:#f5f5f0!important;color:#252b20!important}
html.theme-key-dark .balance-topup-dialog .empty-card{padding:14px 16px!important;min-height:48px!important;border-radius:12px!important;background:#292929!important;border-color:#404040!important;font-size:13px!important;text-align:center!important}
html.theme-key-dark .balance-topup-dialog .payment-submit-button{min-height:46px!important;padding:11px 18px!important;border-radius:999px!important;gap:8px!important;font-size:14px!important;background:#f5f5f0!important;color:#252b20!important;border-color:#f5f5f0!important}
html.theme-key-dark .balance-topup-dialog .payment-submit-button:disabled{background:#343434!important;color:#aaa!important;border-color:#4b4b4b!important;opacity:1!important;cursor:not-allowed!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog :is(.balance-topup-current,.empty-card){background:#f3f4ee!important;border-color:#d9ddD1!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-amount-field>div{background:#fff!important;border-color:#c5cdbb!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog .balance-amount-field input{color:#252b20!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog .balance-amount-field input.amount-input-animating{color:transparent!important;caret-color:transparent!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog .balance-amount-animation{font-size:23px!important;left:14px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).balance-topup-dialog .payment-submit-button{border-radius:999px!important}
/* One close control across all cabinet dialogs. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button,
html.theme-key-dark .dialog-close-button{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;padding:0!important;border-radius:50%!important;border:1px solid #4c514a!important;background:#ffffff03!important;color:#d8ddd3!important;box-shadow:none!important;cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button:hover{background:#ffffff10!important;border-color:#8c9484!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .dialog-close-button svg{display:block!important;width:18px!important;height:18px!important;margin:0!important;stroke-width:1.7!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-close-button{background:#f6f7f2!important;color:#343c2b!important;border-color:#cbd2c1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-close-button:hover{background:#e9ede2!important}
html.theme-key-dark .hn-dashboard .hn-chart-controls{flex-wrap:wrap!important;justify-content:flex-end!important}
html.theme-key-dark .hn-key-select{display:flex;align-items:center;gap:9px;font:500 12px/1.4 Arial,sans-serif;color:#c0c2b9}
html.theme-key-dark .hn-key-select select{max-width:250px;min-height:40px;padding:9px 32px 9px 13px;border-radius:12px;border:1px solid #555;background:#292929;color:#efefe9;font:500 13px/1.4 Arial,sans-serif;cursor:pointer;color-scheme:dark}
html.theme-key-dark .hn-key-select select:disabled{cursor:default;opacity:.85}
html.theme-key-dark:has(.app-shell.theme-light) .hn-key-select{color:#59614f}
html.theme-key-dark:has(.app-shell.theme-light) .hn-key-select select{background:#fff;color:#252b20;border-color:#cbd2c2;color-scheme:light}
@media(max-width:600px){html.theme-key-dark .hn-key-select{width:100%;justify-content:space-between}html.theme-key-dark .hn-key-select select{flex:1;max-width:none;min-width:0}}
html.theme-key-dark .hn-chart-head>div:first-child .hn-key-select{margin-top:10px!important;width:fit-content!important;gap:8px!important;color:#b6c5a7!important}
html.theme-key-dark .hn-chart-head>div:first-child .hn-key-select select{min-height:36px!important;padding:7px 30px 7px 12px!important;max-width:260px!important}
/* Direct key selection, always visible instead of a dropdown. */
html.theme-key-dark .hn-chart-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-width:0}
html.theme-key-dark .hn-chart-workspace.has-keys{grid-template-columns:180px minmax(0,1fr)}
html.theme-key-dark .hn-chart-main{min-width:0}
html.theme-key-dark .hn-key-list{display:flex;flex-direction:column;gap:9px;padding:6px 0;max-height:300px;overflow-y:auto;min-width:0;scrollbar-width:thin}
html.theme-key-dark .hn-dashboard .hn-key-list button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:42px;padding:10px 14px;border:1px solid #4c4c4c;border-radius:999px;background:#292929;color:#d9dcd3;font:500 13px/1.4 Arial,sans-serif;cursor:pointer;box-sizing:border-box;text-align:left}
html.theme-key-dark .hn-key-list button svg{flex:0 0 18px}
html.theme-key-dark .hn-key-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.theme-key-dark .hn-dashboard .hn-key-list button.active{background:#f5f5f0;border-color:#f5f5f0;color:#252b20}
html.theme-key-dark .hn-dashboard .hn-key-list button:hover:not(:disabled):not(.active){background:#383838;border-color:#7b8470}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button{background:#e7eae0;border-color:#cbd2c2;color:#3f4934}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button.active{background:#fff;border-color:#9eae8d;color:#252b20}
@media(max-width:700px){html.theme-key-dark .hn-chart-workspace.has-keys{grid-template-columns:minmax(0,1fr);gap:12px}html.theme-key-dark .hn-key-list{max-height:150px;padding:0}html.theme-key-dark .hn-key-list button{max-width:260px}}

/* Selection must remain obvious in the light theme, including portaled dialogs. */
html.theme-key-dark{--hn-choice-active-bg:#f5f5f0;--hn-choice-active-text:#222;--hn-choice-bg:#292929;--hn-choice-text:#eee}
html.theme-key-dark:has(.app-shell.theme-light){--hn-choice-active-bg:#252b20;--hn-choice-active-text:#fff;--hn-choice-bg:#f4f5ef;--hn-choice-text:#39452e}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button.active,
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button.active,
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range button[aria-pressed=true],
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active{background:#252b20!important;background-image:none!important;color:#fff!important;border-color:#252b20!important;box-shadow:0 2px 6px #17201020!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .bottom-nav button.active :is(svg,span),
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button.active :is(svg,span,small),
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card.active :is(strong,span,small,svg,.period-unit-price){color:#fff!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:not(.active){background:#f6f7f2!important;border-color:#bac5ac!important;color:#303b27!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:not(.active) :is(strong,span,small,.period-unit-price){color:#46523b!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-card{background:#f6f8f1!important;border-color:#bdc9ae!important;color:#283323!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(.checkout-tariff-description-line,.checkout-tariff-description-line small,.checkout-tariff-fact-label,.checkout-addon-label){color:#4e5e42!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .balance-discount.selected{background:#e5efdc!important;border:2px solid #4e7039!important;color:#24331b!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-subscription-manager .subscription-heading>span.active{color:#32602c!important;border-color:#7e9c6b!important;background:#edf5e5!important}

/* Consistent copy controls and pagination in both cabinet themes. */
html.theme-key-dark .copy-link-field[data-variant="webapp"] .btn{background:#f2f3ed!important;color:#252b20!important;border:1px solid #bfc8b5!important;border-radius:12px!important;transition:background .15s,box-shadow .15s!important}
html.theme-key-dark .copy-link-field[data-variant="webapp"] .btn:hover:not(:disabled){background:#dce5d2!important;color:#20281a!important;border-color:#8b9e78!important}
html.theme-key-dark .copy-link-field[data-variant="webapp"] .btn svg{color:inherit!important}
html.theme-key-dark .webapp-pagination{gap:12px!important}
html.theme-key-dark .webapp-pagination.webapp-pagination .btn.btn{min-height:40px!important;border-radius:11px!important;background:#292929!important;color:#eee!important;border:1px solid #555!important;box-shadow:none!important}
html.theme-key-dark .webapp-pagination.webapp-pagination .btn.btn:hover:not(:disabled):not(.is-active){background:#3c3c3c!important;color:#fff!important;border-color:#919987!important}
html.theme-key-dark .webapp-pagination.webapp-pagination .btn.btn.is-active{background:#f3f4ee!important;color:#252b20!important;border-color:#f3f4ee!important;font-weight:700!important}
html.theme-key-dark .webapp-pagination.webapp-pagination .btn.btn:disabled{background:#222!important;color:#989c94!important;border-color:#3e423b!important;opacity:1!important;cursor:default!important}
html.theme-key-dark .webapp-pagination .admin-pagination-jump-input{height:40px!important;border-radius:11px!important;text-align:center!important}
html.theme-key-dark :is(.copy-link-field,.webapp-pagination) .btn:focus-visible{outline:2px solid #83a366!important;outline-offset:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-pagination.webapp-pagination .btn.btn{background:#fff!important;color:#30392a!important;border-color:#bec9b1!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-pagination.webapp-pagination .btn.btn:hover:not(:disabled):not(.is-active){background:#e8eddf!important;color:#252b20!important;border-color:#879b72!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-pagination.webapp-pagination .btn.btn.is-active{background:#252b20!important;color:#fff!important;border-color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-pagination.webapp-pagination .btn.btn:disabled{background:#eef0e9!important;color:#7b8273!important;border-color:#d9dfd1!important}
html.theme-key-dark:has(.app-shell.theme-light) .devices-progress-status[data-state="success"]{color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .devices-progress-status:not([data-state="danger"]):not([data-state="error"]){color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-presets button{background:#f4f5ef!important;color:#39452e!important;border-color:#bcc7b0!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-presets button.active{background:#252b20!important;color:#fff!important;border-color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-amount-animation{color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-amount-field>small{color:#58634c!important}
/* Administration shortcut follows the account at the far right. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry{order:4!important;margin-left:10px!important;padding:10px 14px!important;border-radius:999px!important;border-color:#66745b!important;background:#283022!important;color:#e5eddc!important;gap:8px!important;min-height:42px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry:hover{background:#39452f!important;border-color:#a1b68c!important;color:#fff!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .hn-rail-account{margin-left:10px!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry{background:#e8eedf!important;color:#293721!important;border-color:#a6b795!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry:hover{background:#d8e4cb!important;color:#202c19!important;border-color:#7d9467!important}
}
@media(min-width:1024px) and (max-width:1599px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .rail-settings-subnav{display:none!important}html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .hn-rail-account{margin-left:auto!important}}
html.theme-key-dark .bottom-nav .rail-admin-entry:focus-visible{outline:2px solid #9bb67f!important;outline-offset:3px!important}
@media(min-width:1024px) and (max-width:1199px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) button[data-nav-level="primary"]:not(.rail-admin-entry) .bottom-nav-label{display:none!important}html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) button[data-nav-level="primary"]:not(.rail-admin-entry){min-width:40px!important;justify-content:center!important}}
@media(min-width:1600px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .rail-settings-subnav .bottom-nav-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .rail-settings-subnav button{min-width:38px!important;justify-content:center!important}}
/* Compact account shortcuts for customers as well as administrators. */
@media(min-width:1400px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav .bottom-nav-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav button{min-width:38px!important;justify-content:center!important;border-radius:999px!important}
}
/* Keep customer shortcuts next to the account, without a second auto spacer. */
@media(min-width:1024px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:not(:has(.rail-admin-entry)) .hn-rail-account{margin-left:10px!important}}
/* Portaled administrative menus use the same neutral palette as dialogs. */
html.theme-key-dark .admin-select-content{background:#252525!important;background-image:none!important;border:1px solid #505050!important;box-shadow:0 12px 32px #0005!important;color:#eee!important;padding:6px!important;border-radius:13px!important}
html.theme-key-dark .admin-select-content .admin-select-item{color:#e5e5df!important;min-height:40px!important;border-radius:8px!important}
html.theme-key-dark .admin-select-content .admin-select-item:is(:hover,[data-highlighted]){background:#3b3b3b!important;color:#fff!important}
html.theme-key-dark .admin-select-content .admin-select-item[data-selected]{background:#f2f3ed!important;color:#252b20!important;font-weight:600!important}
html.theme-key-dark .admin-select-content .admin-select-item[data-selected] :is(span,svg){color:#252b20!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .admin-select-trigger{background:#181818!important;color:#eee!important;border:1px solid #555!important;box-shadow:none!important;border-radius:11px!important;min-height:44px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .admin-select-trigger:focus-visible{outline:2px solid #a8b898!important;outline-offset:2px!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-select-content{background:#fff!important;color:#252b20!important;border-color:#bec9b1!important;box-shadow:0 12px 32px #26321c20!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-select-content .admin-select-item{color:#303b27!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-select-content .admin-select-item:is(:hover,[data-highlighted]){background:#e9eedf!important;color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-select-content .admin-select-item[data-selected]{background:#252b20!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-select-content .admin-select-item[data-selected] :is(span,svg){color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .admin-select-trigger{background:#fff!important;color:#252b20!important;border-color:#b8c5aa!important}
/* Preserve the original desktop frame size; only align it to the left. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{left:16px!important;right:auto!important;width:calc(100% - 64px)!important;max-width:1496px!important;margin:0!important}
}
/* Navigation starts with Home; brand is a separate shortcut on the right. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{left:32px!important;right:32px!important;width:calc(100% - 64px)!important;max-width:1496px!important;margin:0 auto!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{order:1!important;margin:0 8px 0 auto!important;padding:0 10px!important;border-right:0!important;flex:0 0 auto!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{margin-left:8px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav:has(.rail-admin-entry) .hn-rail-account{margin-left:10px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type{position:relative!important;min-height:44px!important;padding:10px 18px!important;margin-right:20px!important;font-weight:650!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type .bottom-nav-label{display:inline!important;font-size:15px!important;font-weight:650!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type:after{content:"";position:absolute;right:-13px;top:50%;width:1px;height:26px;transform:translateY(-50%);background:#8886;pointer-events:none}
}
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-brand{order:2!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-settings-subnav{order:3!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .hn-rail-account{order:4!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav .rail-admin-entry{order:5!important}
}
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type{overflow:visible!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type:after{content:""!important;display:block!important;position:absolute!important;inset:auto!important;right:-13px!important;top:50%!important;width:1px!important;height:26px!important;transform:translateY(-50%)!important;background:#8888!important;opacity:1!important;visibility:visible!important;pointer-events:none!important}
}
/* Visible navigation buttons, including inactive customer sections. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry){background:#262626!important;border:1px solid #494949!important;border-radius:999px!important;color:#e2e4dc!important;min-height:38px!important;padding:8px 12px!important;margin:0 2px!important;cursor:pointer!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry):hover{background:#393c34!important;border-color:#879477!important;color:#fff!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry).active{background:#f2f3ed!important;color:#252b20!important;border-color:#f2f3ed!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry){background:#f0f3e9!important;color:#35432a!important;border-color:#bac7ac!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry):hover{background:#e0e9d5!important;color:#24311c!important;border-color:#849c6d!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:not(:first-of-type):not(.rail-admin-entry).active{background:#252b20!important;color:#fff!important;border-color:#252b20!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:focus-visible{outline:2px solid #96af7f!important;outline-offset:3px!important}
}
/* Home remains a visible shortcut even when another section is open. */
@media(min-width:1024px){
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type{background:#293023!important;color:#e6ecdf!important;border:1px solid #67765a!important;border-radius:999px!important;box-shadow:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type:hover{background:#39452e!important;border-color:#9caf88!important;color:#fff!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type.active{background:#f2f3ed!important;color:#252b20!important;border-color:#f2f3ed!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type{background:#e8efdf!important;color:#2e3c23!important;border-color:#a0b38c!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type:hover{background:#d8e5ca!important;color:#24321b!important;border-color:#78935e!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) .bottom-nav button[data-nav-level="primary"]:first-of-type.active{background:#252b20!important;color:#fff!important;border-color:#252b20!important}
}
/* Ownership role markers are independent of expiry and selection state. */
html.theme-key-dark .hn-key-kind{display:inline-block!important;width:9px!important;height:9px!important;min-width:9px!important;flex:0 0 9px!important;border-radius:50%!important;background:#d9a04c!important;box-shadow:0 0 0 2px #d9a04c20!important}
html.theme-key-dark .hn-key-kind[data-kind="primary"]{background:#72b56a!important;box-shadow:0 0 0 2px #72b56a20!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-key-kind{background:#b96b16!important;box-shadow:0 0 0 2px #b96b1618!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-key-kind[data-kind="primary"]{background:#3e8035!important;box-shadow:0 0 0 2px #3e803518!important}
/* Include the real key name without hiding its role or remaining days. */
@media(min-width:701px){html.theme-key-dark .hn-chart-workspace.has-keys{grid-template-columns:260px minmax(0,1fr)!important}}
html.theme-key-dark .hn-dashboard .hn-key-list button>span:not(.hn-key-kind){white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important;flex:1!important}
html.theme-key-dark .hn-dashboard .hn-key-list button>small{white-space:nowrap!important;flex:0 0 auto!important}
@media(max-width:700px){html.theme-key-dark .hn-dashboard .hn-key-list button{max-width:340px!important}}
/* Persistent inset windows for the chart and its key selector. */
html.theme-key-dark .hn-dashboard .hn-chart-main{padding:14px!important;border:1px solid #41463b!important;border-radius:16px!important;background:#1c1e19!important;box-shadow:inset 0 1px 0 #ffffff03!important;min-width:0!important;box-sizing:border-box!important}
html.theme-key-dark .hn-dashboard .hn-key-list{padding:10px!important;border:1px solid #41463b!important;border-radius:16px!important;background:#1c1e19!important;align-self:start!important;box-sizing:border-box!important;max-height:320px!important}
html.theme-key-dark .hn-dashboard .hn-chart-main .hn-chart-state{border:0!important;background:transparent!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard :is(.hn-chart-main,.hn-key-list){background:#f7f9f3!important;border-color:#c9d3be!important;box-shadow:inset 0 1px 0 #fff!important}
@media(min-width:701px){html.theme-key-dark .hn-chart-workspace.has-keys{grid-template-columns:280px minmax(0,1fr)!important}}
@media(max-width:700px){html.theme-key-dark .hn-dashboard .hn-chart-main{padding:8px!important;border-radius:13px!important}html.theme-key-dark .hn-dashboard .hn-key-list{padding:9px!important;border-radius:13px!important;max-height:200px!important}}
/* Neutral dashed frames, matching the original loading outline. */
html.theme-key-dark .hn-dashboard :is(.hn-chart-main,.hn-key-list){background:transparent!important;border:1px dashed #494949!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard :is(.hn-chart-main,.hn-key-list){background:transparent!important;border:1px dashed #bbc3b3!important;box-shadow:none!important}
/* Even inner spacing on both sides; avoid SVG letterboxing inside the frame. */
html.theme-key-dark .hn-dashboard .hn-chart-main{padding:18px 20px!important}
html.theme-key-dark .hn-dashboard .hn-chart-plot svg{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:980 / 290!important}
@media(max-width:700px){html.theme-key-dark .hn-dashboard .hn-chart-main{padding:12px!important}}
/* Neutral daily usage tiles, independent of the chart accent. */
html.theme-key-dark .hn-dashboard .hn-day-details button{background:#242424!important;border-color:#454545!important;color:#eee!important}
html.theme-key-dark .hn-dashboard .hn-day-details button span{color:#bdbdbd!important}
html.theme-key-dark .hn-dashboard .hn-day-details button strong{color:#f0f0ed!important}
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen){background:#efefec!important;border-color:#efefec!important}
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen) :is(span,strong){color:#282828!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button{background:#f3f3f1!important;border-color:#d2d2cd!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button span{color:#656563!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button strong{color:#292929!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen){background:#303030!important;border-color:#303030!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button:is(:hover,:focus-visible,.chosen) :is(span,strong){color:#fff!important}
/* Hover is a preview; only an explicitly selected day uses the filled state. */
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible):not(.chosen){background:#343434!important;border-color:#727272!important}
html.theme-key-dark .hn-dashboard .hn-day-details button:is(:hover,:focus-visible):not(.chosen) :is(span,strong){color:#eee!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button:is(:hover,:focus-visible):not(.chosen){background:#e4e4e0!important;border-color:#999!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-day-details button:is(:hover,:focus-visible):not(.chosen) :is(span,strong){color:#292929!important}
/* Desktop header belongs to the top of the page and scrolls away with it. */
@media(min-width:1024px){html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav{position:absolute!important;top:14px!important}}
/* Match the key window to the chart height; long lists scroll inside it. */
@media(min-width:701px){
html.theme-key-dark .hn-chart-workspace.has-keys{position:relative!important}
html.theme-key-dark .hn-chart-workspace.has-keys>.hn-key-list{position:absolute!important;inset:0 auto 0 0!important;width:280px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;align-self:auto!important}
html.theme-key-dark .hn-chart-workspace.has-keys>.hn-chart-main{grid-column:2!important}
html.theme-key-dark .hn-chart-workspace.has-keys>.hn-key-list button{flex-shrink:0!important}
}
/* Keep the key-list thumb, without native scrollbar arrow buttons. */
html.theme-key-dark .hn-dashboard .hn-key-list{scrollbar-width:thin!important;scrollbar-color:#74786e transparent!important}
html.theme-key-dark .hn-dashboard .hn-key-list::-webkit-scrollbar{width:6px!important;height:6px!important}
html.theme-key-dark .hn-dashboard .hn-key-list::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
html.theme-key-dark .hn-dashboard .hn-key-list::-webkit-scrollbar-track{background:transparent!important;margin:10px 0!important}
html.theme-key-dark .hn-dashboard .hn-key-list::-webkit-scrollbar-thumb{background:#74786e!important;border-radius:999px!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list{scrollbar-color:#a2a69b transparent!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list::-webkit-scrollbar-thumb{background:#a2a69b!important}
@supports selector(::-webkit-scrollbar){
html.theme-key-dark .hn-dashboard .hn-key-list{scrollbar-width:auto!important;scrollbar-color:auto!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list{scrollbar-width:auto!important;scrollbar-color:auto!important}
}
/* The device refresh icon rotates only while its request is busy. */
@keyframes hn-device-refresh-spin{to{transform:rotate(360deg)}}
html.theme-key-dark .devices-summary-head button:disabled svg{animation:hn-device-refresh-spin .8s linear infinite!important;transform-origin:center!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .devices-summary-head button:disabled svg{animation:none!important}}
/* QR image actions use a neutral palette; the code itself stays black on white. */
html.theme-key-dark .link-qr-dialog .qr-image-buttons .btn{background:#303030!important;border:1px solid #565656!important;color:#eee!important;border-radius:12px!important;min-height:44px!important;box-shadow:none!important}
html.theme-key-dark .link-qr-dialog .qr-image-buttons .btn:hover:not(:disabled){background:#414141!important;border-color:#888!important;color:#fff!important}
html.theme-key-dark .link-qr-dialog .qr-image-buttons .btn :is(svg,span){color:inherit!important}
html.theme-key-dark:has(.app-shell.theme-light) .link-qr-dialog .qr-image-buttons .btn{background:#f2f2ef!important;border-color:#ccc!important;color:#303030!important}
html.theme-key-dark:has(.app-shell.theme-light) .link-qr-dialog .qr-image-buttons .btn:hover:not(:disabled){background:#e2e2de!important;border-color:#999!important;color:#222!important}
@media(max-width:480px){html.theme-key-dark .link-qr-dialog .qr-link-copy{grid-template-columns:minmax(0,1fr)!important}html.theme-key-dark .link-qr-dialog .qr-link-copy .btn{width:100%!important}html.theme-key-dark .link-qr-dialog .qr-image-buttons .btn{flex:1 1 auto!important}}
/* Clear theme selection in its own compact menu. */
html.theme-key-dark .theme-select-content{padding:7px!important;border-radius:15px!important;background:#242424!important;border:1px solid #505050!important;box-shadow:0 14px 36px #0005!important}
html.theme-key-dark .theme-select-content .language-select-item{min-height:42px!important;padding:10px 13px!important;margin:2px 0!important;border-radius:10px!important;color:#ddd!important;background:transparent!important;cursor:pointer!important}
html.theme-key-dark .theme-select-content .language-select-item:is(:hover,[data-highlighted]){background:#393939!important;color:#fff!important}
html.theme-key-dark .theme-select-content .language-select-item[data-selected]{background:#f1f2ed!important;color:#252b20!important;font-weight:600!important}
html.theme-key-dark .theme-select-content .language-select-item[data-selected] :is(span,svg){color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content{background:#fff!important;border-color:#cbd0c4!important;box-shadow:0 14px 36px #252b2020!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content .language-select-item{color:#3b4333!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content .language-select-item:is(:hover,[data-highlighted]){background:#eef0e8!important;color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content .language-select-item[data-selected]{background:#252b20!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .theme-select-content .language-select-item[data-selected] :is(span,svg){color:#fff!important}

/* Theme trigger is part of the settings row, not a second input inside it. */
html.theme-key-dark .phone-screen .settings-row-theme .theme-select-trigger{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:0!important}
html.theme-key-dark .phone-screen .settings-row-theme .theme-select-trigger:hover{background:transparent!important}
/* Back actions in notification and security settings are visible buttons. */
html.theme-key-dark .phone-screen .security-screen>.security-back{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:fit-content!important;min-height:42px!important;padding:9px 14px!important;border:1px solid #5c6851!important;border-radius:11px!important;background:#292f24!important;color:#e2e9da!important;cursor:pointer!important;box-shadow:none!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .phone-screen .security-screen>.security-back:hover{background:#39442f!important;border-color:#91a47b!important;color:#fff!important}
html.theme-key-dark .phone-screen .security-screen>.security-back:focus-visible{outline:2px solid #98b17f!important;outline-offset:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-screen>.security-back{background:#f3f6ed!important;color:#35472a!important;border-color:#c4d2b4!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-screen>.security-back:hover{background:#e5eddc!important;color:#25351b!important;border-color:#91a57a!important}
/* Key hover must stay readable in the light theme. */
html.theme-key-dark .hn-dashboard .hn-key-list button:hover:not(:disabled):not(.active){background:#383838!important;border-color:#849374!important;color:#fff!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:hover:not(:disabled):not(.active) :is(span:not(.hn-key-kind),small,svg){color:#fff!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:hover:not(:disabled):not(.active){background:#e1e7d8!important;border-color:#899e73!important;color:#25331b!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:hover:not(:disabled):not(.active) :is(span:not(.hn-key-kind),small,svg){color:#25331b!important;opacity:1!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:focus-visible{outline:2px solid #91a977!important;outline-offset:2px!important}
/* Period controls show an obvious hover distinct from the active period. */
html.theme-key-dark .hn-dashboard .hn-range button{cursor:pointer!important;border:1px solid transparent!important;transition:background-color .15s,border-color .15s,color .15s!important}
html.theme-key-dark .hn-dashboard .hn-range button:hover:not([aria-pressed="true"]){background:#4a4a4a!important;border-color:#858c7e!important;color:#fff!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range button:hover:not([aria-pressed="true"]){background:#d5dfc9!important;border-color:#8da273!important;color:#24321a!important;box-shadow:none!important}
html.theme-key-dark .hn-dashboard .hn-range button:focus-visible{outline:2px solid #93ac7a!important;outline-offset:2px!important}
/* All subscription actions visibly respond to the mouse. */
html.theme-key-dark .hn-subscription-manager button:not(:disabled){cursor:pointer!important}
html.theme-key-dark .hn-subscription-manager button:disabled{cursor:default!important}
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn{transition:background-color .15s,border-color .15s,box-shadow .15s!important}
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn:hover:not(:disabled){background:#3b4432!important;border-color:#9cb584!important;color:#fff!important;box-shadow:0 2px 8px #0002!important}
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn:hover:not(:disabled) :is(svg,span){color:inherit!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-subscription-manager .subscription-actions .btn:hover:not(:disabled){background:#e0eace!important;border-color:#819b66!important;color:#25341b!important;box-shadow:0 2px 8px #31452315!important}
html.theme-key-dark .hn-subscription-manager .subscription-keys button:hover:not(:disabled){--hn-choice-bg:#3b4432;--hn-choice-text:#fff;box-shadow:0 0 0 2px #93aa7c!important;border-color:#a0b889!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-subscription-manager .subscription-keys button:hover:not(:disabled){--hn-choice-bg:#e1e8d6;--hn-choice-text:#25341b;box-shadow:0 0 0 2px #91a976!important;border-color:#91a976!important}
html.theme-key-dark .hn-subscription-manager button:focus-visible{outline:2px solid #91a976!important;outline-offset:3px!important}
/* Consistent dashboard action hover in both themes. */
html.theme-key-dark .hn-dashboard :is(.hn-metric-foot button,.hn-devices-card>header>button,.hn-device-table button,.hn-dashboard-actions button):not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s,color .15s!important}
html.theme-key-dark .hn-dashboard :is(.hn-metric-foot button,.hn-devices-card>header>button,.hn-device-table button,.hn-dashboard-actions button):hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important;box-shadow:0 2px 8px #0002!important}
html.theme-key-dark .hn-dashboard :is(.hn-metric-foot button,.hn-devices-card>header>button,.hn-device-table button,.hn-dashboard-actions button):hover:not(:disabled) :is(svg,span){color:inherit!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard :is(.hn-metric-foot button,.hn-devices-card>header>button,.hn-device-table button,.hn-dashboard-actions button):hover:not(:disabled){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important;box-shadow:0 2px 8px #30431c18!important}
html.theme-key-dark .hn-dashboard :is(.hn-metric-foot button,.hn-devices-card>header>button,.hn-device-table button,.hn-dashboard-actions button):focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
/* Readable device table labels and values. */
html.theme-key-dark .hn-dashboard .hn-device-table :is(th,td){font-size:14px!important;line-height:1.5!important}
html.theme-key-dark .hn-dashboard .hn-device-table th{font-weight:600!important;color:#d7dbd1!important;background:#292b26!important}
html.theme-key-dark .hn-dashboard .hn-device-table td{color:#e5e7e1!important}
html.theme-key-dark .hn-dashboard .hn-device-table .hn-device-name{font-weight:600!important;color:#f1f2ed!important}
html.theme-key-dark .hn-dashboard .hn-device-table .hn-device-name svg{color:#b3c49e!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-device-table th{background:#e9edE3!important;color:#38462e!important;border-bottom:1px solid #c5cebb!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-device-table td{color:#303a29!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-device-table .hn-device-name{color:#222b1c!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-device-table .hn-device-name svg{color:#56783c!important}
/* Readable tariff facts and promo entry. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-card{background:#292929!important;border-color:#555!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-title-line{color:#f3f3ee!important;font-size:18px!important;font-weight:650!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-description-line{color:#c7c7c0!important;opacity:1!important;font-size:14px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]){background:#222!important;border:1px solid #505050!important;border-radius:12px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]) :is(.checkout-tariff-fact-label,.checkout-addon-label,svg){color:#d7d9d1!important;opacity:1!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]) .checkout-addon-value{color:#fff!important;font-weight:650!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-card{background:#fafbf8!important;border-color:#bdc5b6!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-title-line{color:#25311e!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-description-line{color:#50594a!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]){background:#fff!important;border-color:#c5cdbe!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]) :is(.checkout-tariff-fact-label,.checkout-addon-label,svg){color:#47553b!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]) .checkout-addon-value{color:#25311e!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-promo-input{border-radius:12px!important;min-height:48px!important;background:#191919!important;color:#eee!important;border:1px solid #62665d!important;font-size:14px!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-promo-input::placeholder{color:#bdbfb6!important;opacity:1!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn{border-radius:12px!important;min-height:48px!important;cursor:pointer!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn:disabled{background:#343434!important;color:#b7b9b1!important;border:1px solid #555!important;opacity:1!important;cursor:default!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-input{background:#fff!important;color:#293322!important;border-color:#aebca0!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-input::placeholder{color:#606b56!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn:disabled{background:#edeee8!important;color:#6b7263!important;border-color:#ced4c6!important}
/* Shared visible feedback for gifts, promo activation and back actions. */
html.theme-key-dark :is(.gift-intro .btn,.promo-apply-row .btn,.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button):not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s,color .15s!important}
html.theme-key-dark :is(.gift-intro .btn,.promo-apply-row .btn,.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button):hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) :is(.gift-intro .btn,.promo-apply-row .btn,.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button):hover:not(:disabled){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark :is(.gift-intro .btn,.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button) svg{transition:transform .18s ease!important;color:inherit!important}
html.theme-key-dark .gift-intro .btn:hover:not(:disabled) svg{transform:translateX(3px)!important}
html.theme-key-dark :is(.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button):hover:not(:disabled) svg{transform:translateX(-3px)!important}
html.theme-key-dark .payment-history-screen>button:first-child{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:9px 14px!important;border:1px solid #5c6851!important;border-radius:11px!important;background:#292f24!important;color:#e2e9da!important;width:fit-content!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-history-screen>button:first-child{background:#f3f6ed!important;color:#35472a!important;border-color:#c4d2b4!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-history-screen>button:first-child:hover{background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark :is(.gift-intro .btn,.security-back,.payment-history-screen>button:first-child,.install-back-btn,.support-back-button) svg{transition:none!important;transform:none!important}}
html.theme-key-dark .payment-history-heading button:not(:disabled){cursor:pointer!important;transition:background-color .15s,color .15s!important}
html.theme-key-dark .payment-history-heading button:hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-history-heading button:hover:not(:disabled){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark .payment-history-heading button:disabled svg{animation:hn-device-refresh-spin .8s linear infinite!important;transform-origin:center!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .payment-history-heading button:disabled svg{animation:none!important}}
/* Checkout choices and enabled promo action visibly respond to hover. */
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(.period-card,.checkout-access-keys button,.checkout-promo-row .btn):not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s,box-shadow .15s!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active){background:#38432f!important;border-color:#a0b789!important;color:#fff!important;box-shadow:0 0 0 1px #a0b789!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active) :is(strong,span,small,.period-unit-price){color:#fff!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active){background:#e0eace!important;border-color:#819b66!important;color:#25341b!important;box-shadow:0 0 0 1px #819b66!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active) :is(strong,span,small,.period-unit-price){color:#25341b!important;opacity:1!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-access-keys button:hover:not(:disabled){--hn-choice-bg:#38432f;--hn-choice-text:#fff;border-color:#9db586!important;box-shadow:0 0 0 2px #9db586!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-access-keys button:hover:not(:disabled){--hn-choice-bg:#e0eace;--hn-choice-text:#25341b;border-color:#819b66!important;box-shadow:0 0 0 2px #819b66!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn:hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn:hover:not(:disabled){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog :is(.period-card,.checkout-access-keys button,.checkout-promo-row .btn):focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
html.theme-key-dark .hn-dashboard .hn-refresh:not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .hn-dashboard .hn-refresh:hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-refresh:hover:not(:disabled){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark .hn-dashboard .hn-refresh:disabled svg{animation:hn-device-refresh-spin .8s linear infinite!important;transform-origin:center!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-dashboard .hn-refresh:disabled svg{animation:none!important}}
/* Top-up preset amounts are visibly interactive without losing selection. */
html.theme-key-dark .balance-topup-dialog .balance-presets button:not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .balance-topup-dialog .balance-presets button:hover:not(:disabled):not(.active){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .balance-topup-dialog .balance-presets button:hover:not(:disabled):not(.active){background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark .balance-topup-dialog .balance-presets button.active:hover:not(:disabled){box-shadow:0 0 0 2px #91ab76!important}
html.theme-key-dark .balance-topup-dialog .balance-presets button:focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
/* Light support form: readable labels, editor tools and tabs. */
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen){--muted:#56614d!important;--text:#25301e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-create-panel{background:#f6f7f2!important;border-color:#bfc9b4!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-field{color:#37452b!important;opacity:1!important;font-weight:500!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-field>span{color:#37452b!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .input{background:#fff!important;color:#25301e!important;border-color:#aebda0!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .input::placeholder{color:#69715f!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) :is(.rt-editor,.rt-surface){background:#fff!important;color:#25301e!important;border-color:#b9c4af!important;caret-color:#25301e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-toolbar{background:#edf0e7!important;border-color:#c4ceba!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-tool{background:#fff!important;color:#35472a!important;border:1px solid #bac8ae!important;opacity:1!important;cursor:pointer!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-tool:hover{background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-tool[aria-pressed="true"]{background:#303d26!important;color:#fff!important;border-color:#303d26!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-surface [data-placeholder]:before{color:#69715f!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-status-tabs-trigger{color:#4b5841!important;opacity:1!important;cursor:pointer!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-status-tabs-trigger[data-state="active"]{background:#293622!important;color:#fff!important;border-color:#293622!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-status-tabs-trigger[data-state="active"] *{color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-submit-button,.ticket-composer-send):disabled{background:#e4e7de!important;color:#68715d!important;border:1px solid #bdc7b1!important;opacity:1!important;cursor:default!important}
/* Support selectors and tabs clearly read as interactive controls. */
html.theme-key-dark :is(.support-select-trigger,.support-select-item,.support-status-tabs-trigger,.support-new-ticket-button){cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .support-select-content .support-select-item{border:1px solid #555!important;border-radius:10px!important;margin:3px 0!important;background:#2b2b2b!important;color:#eee!important}
html.theme-key-dark .support-select-content .support-select-item:hover{background:#425235!important;color:#fff!important;border-color:#a3bc89!important}
html.theme-key-dark .support-screen .support-status-tabs-trigger{border:1px solid #555!important;border-radius:10px!important;background:#292929!important;color:#ddd!important}
html.theme-key-dark .support-screen :is(.support-new-ticket-button,.support-select-trigger,.support-status-tabs-trigger):hover{background:#425235!important;color:#fff!important;border-color:#a3bc89!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-content .support-select-item{background:#f5f7f1!important;color:#34422a!important;border-color:#c5d0b9!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-content .support-select-item:hover{background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-content .support-select-item[data-selected]{background:#293622!important;color:#fff!important;border-color:#293622!important}
html.theme-key-dark:has(.app-shell.theme-light) .support-select-content .support-select-item[data-selected] :is(span,svg){color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-status-tabs-trigger{background:#f5f7f1!important;color:#34422a!important;border-color:#c5d0b9!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-status-tabs-trigger[data-state="active"]{background:#293622!important;color:#fff!important;border-color:#293622!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen :is(.support-new-ticket-button,.support-select-trigger,.support-status-tabs-trigger):hover{background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{border:1px solid #87967a!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button:hover :is(strong,small,svg){color:inherit!important}
html.theme-key-dark :is(.support-select-trigger,.support-select-item,.support-status-tabs-trigger,.support-new-ticket-button):focus-visible{outline:2px solid #91ab76!important;outline-offset:2px!important}
/* Language and theme options visibly read as buttons. */
html.theme-key-dark :is(.language-select-content,.theme-select-content) .language-select-item{border:1px solid #555!important;border-radius:10px!important;margin:3px 0!important;background:#2c2c2c!important;color:#e6e6df!important;cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark :is(.language-select-content,.theme-select-content) .language-select-item:is(:hover,[data-highlighted]):not([data-selected]){background:#425235!important;color:#fff!important;border-color:#a3bc89!important}
html.theme-key-dark :is(.language-select-content,.theme-select-content) .language-select-item[data-selected]{background:#f1f2ed!important;color:#252b20!important;border-color:#f1f2ed!important}
html.theme-key-dark :is(.language-select-content,.theme-select-content) .language-select-item[data-selected] :is(span,svg){color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) :is(.language-select-content,.theme-select-content) .language-select-item{background:#f5f7f1!important;color:#34422a!important;border-color:#c5d0b9!important}
html.theme-key-dark:has(.app-shell.theme-light) :is(.language-select-content,.theme-select-content) .language-select-item:is(:hover,[data-highlighted]):not([data-selected]){background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark:has(.app-shell.theme-light) :is(.language-select-content,.theme-select-content) .language-select-item[data-selected]{background:#252b20!important;color:#fff!important;border-color:#252b20!important}
html.theme-key-dark:has(.app-shell.theme-light) :is(.language-select-content,.theme-select-content) .language-select-item[data-selected] :is(span,svg){color:#fff!important}
html.theme-key-dark :is(.language-select-trigger,.theme-select-trigger){cursor:pointer!important}
/* A valid support form has a clear submit action, not plain floating text. */
html.theme-key-dark .phone-screen .support-screen .support-submit-button:not(:disabled){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;background:#e9efdf!important;color:#25321d!important;border:1px solid #afc294!important;border-radius:12px!important;font-weight:600!important;cursor:pointer!important;opacity:1!important}
html.theme-key-dark .phone-screen .support-screen .support-submit-button:hover:not(:disabled){background:#cfdfba!important;border-color:#92af70!important;color:#203016!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-submit-button:not(:disabled){background:#2e4023!important;color:#fff!important;border-color:#2e4023!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-submit-button:hover:not(:disabled){background:#456035!important;color:#fff!important;border-color:#456035!important}
html.theme-key-dark .phone-screen .support-screen .support-submit-button:not(:disabled) :is(svg,span){color:inherit!important}
/* Page number remains legible inside its own clear input. */
html.theme-key-dark .webapp-pagination .admin-pagination-jump-input{background:#191919!important;color:#f1f1ed!important;border:1px solid #777!important;font-size:14px!important;font-weight:600!important;opacity:1!important;min-width:64px!important;min-height:40px!important;box-shadow:inset 0 1px 2px #0002!important;color-scheme:dark!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-pagination .admin-pagination-jump-input{background:#fff!important;color:#222b1b!important;border:1px solid #8f9e80!important;box-shadow:inset 0 1px 2px #29351b0c!important;color-scheme:light!important}
html.theme-key-dark .webapp-pagination .admin-pagination-jump-input:focus{outline:2px solid #91ab76!important;outline-offset:2px!important}
html.theme-key-dark .webapp-pagination .admin-pagination-jump-input:disabled{opacity:1!important;color:#74796e!important}
/* Login method status stays readable on white surfaces. */
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-methods .settings-row{background:#fff!important;border-color:#bac6ad!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-methods .settings-row strong{color:#25301e!important;opacity:1!important;font-weight:600!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-methods .settings-row small{color:#4c5d3e!important;opacity:1!important;font-size:13px!important;font-weight:500!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .security-methods .settings-row>svg:last-child{color:#3d7c32!important;opacity:1!important;stroke-width:2!important}
/* Clear light-theme reissue warning and cancel action. */
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-subscription-reissue-dialog{--text:#25301e!important;--muted:#48553d!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-subscription-reissue-dialog :is(.dialog-description,.dialog-title-copy p){color:#48553d!important;font-size:15px!important;line-height:1.65!important;opacity:1!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .payment-dialog-body .btn{min-height:46px!important;font-weight:600!important;cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-subscription-reissue-dialog .payment-dialog-body .btn:not(.device-danger-button){background:#f1f4eb!important;color:#2e3c23!important;border:1px solid #b2c29f!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-subscription-reissue-dialog .payment-dialog-body .btn:not(.device-danger-button):hover{background:#dce8cd!important;border-color:#819b66!important;color:#24331a!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-subscription-reissue-dialog .device-danger-button{background:#963f35!important;color:#fff!important;border-color:#963f35!important}
html.theme-key-dark:has(.app-shell.theme-light) .webapp-subscription-reissue-dialog .device-danger-button:hover{background:#7c3028!important;border-color:#7c3028!important}
html.theme-key-dark .webapp-subscription-reissue-dialog .btn:focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
/* Device cards: neutral connected surfaces and clear icon actions. */
html.theme-key-dark .phone-screen .device-card{background:#262626!important;border:1px solid #505050!important;border-radius:16px!important}
html.theme-key-dark .phone-screen .device-meta>div{background:#303030!important;border-color:#555!important;color:#eee!important}
html.theme-key-dark .phone-screen :is(.devices-summary-head button,.device-name-row button){width:40px!important;height:40px!important;min-width:40px!important;border-radius:11px!important;background:#333!important;border:1px solid #666!important;color:#eee!important;cursor:pointer!important}
html.theme-key-dark .phone-screen :is(.devices-summary-head button,.device-name-row button):hover:not(:disabled){background:#425235!important;border-color:#a3bc89!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-card{background:#f0f1ed!important;border-color:#bac3b1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-meta>div{background:#fff!important;border:1px solid #bac3b1!important;color:#293323!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-meta :is(span,small){color:#536048!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-meta :is(strong,b){color:#25301e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.devices-summary-head button,.device-name-row button){background:#e5e9de!important;border-color:#a9b89a!important;color:#334529!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.devices-summary-head button,.device-name-row button):hover:not(:disabled){background:#ccddba!important;border-color:#7d9963!important;color:#24331a!important}
html.theme-key-dark .phone-screen .device-disconnect-button{border:1px solid #915d57!important;border-radius:11px!important;background:#3c2b29!important;color:#ffb9af!important;cursor:pointer!important;min-height:44px!important}
html.theme-key-dark .phone-screen .device-disconnect-button:hover:not(:disabled){background:#653c36!important;color:#fff!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-disconnect-button{background:#fff7f5!important;border-color:#c88d83!important;color:#a12f24!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-disconnect-button:hover:not(:disabled){background:#f7dcd6!important;color:#832318!important;border-color:#ad6256!important}
/* Support reply actions and ticket opening remain visible in both themes. */
html.theme-key-dark .phone-screen .ticket-composer-send:not(:disabled){background:#b4ce94!important;color:#1e2c14!important;border:1px solid #b4ce94!important;cursor:pointer!important;opacity:1!important;font-weight:600!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .ticket-composer-send:not(:disabled){background:#345126!important;color:#fff!important;border-color:#345126!important}
html.theme-key-dark .phone-screen .ticket-composer-send:hover:not(:disabled){background:#8cac69!important;color:#17230e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .ticket-composer-send:hover:not(:disabled){background:#486b36!important;color:#fff!important}
html.theme-key-dark .phone-screen :is(.composer-expand,.ticket-composer .message-image-dropzone,.ticket-card-open){background:#333!important;color:#eee!important;border:1px solid #666!important;border-radius:10px!important;cursor:pointer!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.composer-expand,.ticket-composer .message-image-dropzone,.ticket-card-open){background:#e8eddf!important;color:#304424!important;border-color:#a6b994!important}
html.theme-key-dark .phone-screen :is(.composer-expand,.ticket-composer .message-image-dropzone,.ticket-card-open):hover{background:#425235!important;color:#fff!important;border-color:#a3bc89!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.composer-expand,.ticket-composer .message-image-dropzone,.ticket-card-open):hover{background:#d0dfbe!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark .phone-screen .ticket-card-open{padding:9px 14px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;gap:8px!important}
html.theme-key-dark .phone-screen .ticket-card-open svg{transition:transform .18s!important;color:inherit!important}
html.theme-key-dark .phone-screen .ticket-card-open:hover svg{transform:translate(2px,-2px)!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-status-tabs-trigger:hover{background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .support-screen .support-status-tabs-trigger:hover *{color:#24331a!important;opacity:1!important}
html.theme-key-dark .phone-screen .ticket-composer-send:not(:disabled) :is(svg,span){color:inherit!important}
/* Unread dot sits immediately before the ticket status, never below it. */
html.theme-key-dark .phone-screen .ticket-card-side{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important}
html.theme-key-dark .phone-screen .ticket-card-side .ticket-card-badges{display:contents!important}
html.theme-key-dark .phone-screen .ticket-card-side .ticket-card-unread-dot{order:-1!important;position:static!important;transform:none!important;margin:0!important;flex:0 0 10px!important;width:10px!important;height:10px!important}
/* Link entry is a distinct inset panel; its tool stays active while open. */
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-row{margin:8px!important;padding:10px!important;background:#30352b!important;border:1px solid #657455!important;border-radius:12px!important;gap:8px!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-input{background:#191d16!important;color:#eee!important;border:1px solid #768866!important;border-radius:9px!important;min-height:42px!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-editor:has(.rt-link-row) [data-rt-format="link"],html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-apply{background:#476332!important;color:#fff!important;border:1px solid #74945c!important;cursor:pointer!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-row{background:#edf2e5!important;border-color:#afc299!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-input{background:#fff!important;color:#27341e!important;border-color:#9db387!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-editor:has(.rt-link-row) [data-rt-format="link"],html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-apply{background:#345126!important;color:#fff!important;border-color:#345126!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .rt-link-apply:hover{background:#567641!important;color:#fff!important}
html.theme-key-dark .phone-screen .ticket-detail-title small{color:#bdc6b4!important;opacity:1!important;font-size:13px!important;font-weight:500!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .ticket-detail-title small{color:#536345!important;opacity:1!important}
/* Reserve the same ticket-list space while tabs pass through pending/loading. */
html.theme-key-dark .phone-screen .support-screen .support-list-card{display:grid!important;grid-template-rows:auto minmax(260px,auto)!important;align-content:start!important;overflow-anchor:none!important}
html.theme-key-dark .phone-screen .support-screen .support-list-card>:not(.support-status-tabs){min-height:260px!important;box-sizing:border-box!important}
html.theme-key-dark .phone-screen .support-screen .support-list-probe{height:260px!important}
html.theme-key-dark .phone-screen .support-screen .support-list-card{height:350px!important;grid-template-rows:auto minmax(0,1fr)!important;box-sizing:border-box!important}
html.theme-key-dark .phone-screen .support-screen .support-list-card>:not(.support-status-tabs){min-height:0!important;height:100%!important;overflow-y:auto!important}
/* Equal sides for device icon buttons; override inherited minimum heights. */
html.theme-key-dark .phone-screen :is(.devices-summary-head button,.device-name-row button){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;padding:0!important;box-sizing:border-box!important;border-radius:10px!important;line-height:1!important}
html.theme-key-dark .phone-screen :is(.devices-summary-head button,.device-name-row button) svg{display:block!important;flex-shrink:0!important;margin:0!important}
/* Device key selection uses the same clear hover as the other key pickers. */
html.theme-key-dark .phone-screen .device-key-picker button:not(:disabled){cursor:pointer!important;transition:border-color .15s,box-shadow .15s!important}
html.theme-key-dark .phone-screen .device-key-picker button:hover:not(:disabled){--hn-choice-bg:#425235;--hn-choice-text:#fff;border-color:#a3bc89!important;box-shadow:0 0 0 2px #91ab76!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-key-picker button:hover:not(:disabled){--hn-choice-bg:#dce8cd;--hn-choice-text:#24331a;border-color:#819b66!important;box-shadow:0 0 0 2px #91ab76!important}
html.theme-key-dark .phone-screen .device-key-picker button:focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
/* The full support attachment drop zone is an obvious upload action. */
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .message-image-dropzone:not(:disabled){cursor:pointer!important;transition:background-color .15s,border-color .15s!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .message-image-dropzone:hover:not(:disabled){background:#39482f!important;color:#f1f4eb!important;border-color:#a0b986!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .message-image-dropzone:hover:not(:disabled) :is(span,strong,small,svg){color:inherit!important;opacity:1!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen :is(.support-screen,.support-ticket-screen) .message-image-dropzone:hover:not(:disabled){background:#dfe9d3!important;color:#293b1d!important;border-color:#819b66!important}
html.theme-key-dark .phone-screen :is(.support-screen,.support-ticket-screen) .message-image-dropzone:focus-visible{outline:2px solid #91ab76!important;outline-offset:3px!important}
/* Bright, high-contrast hover for dark checkout controls. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active){background:#dce8cc!important;border-color:#b8d29b!important;color:#24321a!important;box-shadow:0 0 0 1px #b8d29b!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .period-card:hover:not(:disabled):not(.active) :is(strong,span,small,.period-unit-price){color:#24321a!important;opacity:1!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-access-keys button:hover:not(:disabled){--hn-choice-bg:#dce8cc;--hn-choice-text:#24321a;border-color:#b8d29b!important;box-shadow:0 0 0 2px #a4bd87!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row .btn:hover:not(:disabled){background:#dce8cc!important;border-color:#b8d29b!important;color:#24321a!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]){background:#242424!important;border-color:#60635b!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog).webapp-payment-dialog .checkout-tariff-fact:not([data-limit-kind="premium"]) :is(.checkout-tariff-fact-label,.checkout-addon-label,svg){color:#dce2d4!important}
/* Entered promo text makes the enabled apply action ready, not validated. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row:has(input:not(:placeholder-shown)) .btn:not(:disabled){background:#aeca8d!important;color:#233117!important;border:1px solid #bddaa0!important;font-weight:600!important;cursor:pointer!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row:has(input:not(:placeholder-shown)) input{border-color:#94b775!important;box-shadow:0 0 0 1px #94b77535!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .dialog-card:not(.trial-captcha-dialog) .checkout-promo-row:has(input:not(:placeholder-shown)) .btn:hover:not(:disabled){background:#c4dca8!important;color:#233117!important}
/* Device destructive action and rename save must not inherit white fills. */
html.theme-key-dark .phone-screen .device-card .device-disconnect-button{background:#963d34!important;color:#fff!important;border:1px solid #b65a4f!important;cursor:pointer!important}
html.theme-key-dark .phone-screen .device-card .device-disconnect-button:hover:not(:disabled){background:#b95345!important;color:#fff!important;border-color:#dd8b7d!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-card .device-disconnect-button{background:#a63b30!important;color:#fff!important;border-color:#a63b30!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-card .device-disconnect-button:hover:not(:disabled){background:#c45040!important;color:#fff!important;border-color:#c45040!important}
html.theme-key-dark .device-card .device-disconnect-button :is(svg,span){color:inherit!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog .payment-dialog-body .btn{background:#7c9e5d!important;color:#17240e!important;border:1px solid #a3c384!important;font-weight:600!important;cursor:pointer!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog .payment-dialog-body .btn:hover:not(:disabled){background:#a9ca88!important;color:#17240e!important;border-color:#c4dea9!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog .payment-dialog-body .btn{background:#3e602c!important;color:#fff!important;border-color:#3e602c!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog).webapp-device-rename-dialog .payment-dialog-body .btn:hover:not(:disabled){background:#547b3e!important;color:#fff!important;border-color:#547b3e!important}
/* Destructive device button glyph keeps contrast on its red fill. */
html.theme-key-dark .phone-screen .device-card .device-disconnect-button svg{color:#fff!important;stroke:#fff!important;opacity:1!important}
html.theme-key-dark .phone-screen .device-card .device-disconnect-button svg *{stroke:#fff!important;opacity:1!important}
/* Device availability uses neutral readable text in dark mode. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .phone-screen .devices-progress-status:not([data-state="error"]):not([data-state="danger"]){color:#f1f1ed!important}
/* Subscription action arrows move subtly on hover in either theme. */
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn svg:last-child{transition:transform .18s ease!important}
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn:hover:not(:disabled) svg:last-child,html.theme-key-dark .hn-subscription-manager .subscription-actions .btn:focus-visible svg:last-child{transform:translate(3px,-3px)!important}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-subscription-manager .subscription-actions .btn svg:last-child{transition:none!important;transform:none!important}}
/* Match subscription action arrows to the dashboard action arrows. */
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;line-height:1.4!important}
html.theme-key-dark .hn-subscription-manager .subscription-actions .btn svg:last-child{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;stroke-width:1.8!important;vertical-align:middle!important;margin:0!important;display:block!important}
/* One clean auth surface instead of overlapping near-black panels. */
html.theme-key-dark .auth-card-wrap{background:#141516!important;background-image:none!important;border-color:#3d4140!important}
html.theme-key-dark .auth-card-wrap :is(.login-brand-auth,.auth-card,.auth-bottom){background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth{background:transparent!important}
/* Neutral, readable payment method menus, including locked providers. */
html.theme-key-dark .payment-method-select-content{background:#262626!important;background-image:none!important;border:1px solid #585858!important;border-radius:14px!important;padding:7px!important;box-shadow:0 12px 32px #0005!important}
html.theme-key-dark .payment-method-select-content .payment-method-select-item{background:#303030!important;color:#eee!important;border:1px solid #505050!important;border-radius:10px!important;min-height:44px!important;opacity:1!important;margin:3px 0!important;cursor:pointer!important}
html.theme-key-dark .payment-method-select-content .payment-method-select-item[data-disabled]{background:#292929!important;color:#aeb0a8!important;border-color:#454545!important;opacity:1!important;cursor:default!important}
html.theme-key-dark .payment-method-select-content .payment-method-select-item[data-disabled] :is(span,svg){color:#aeb0a8!important;opacity:1!important}
html.theme-key-dark .payment-method-select-content .payment-method-select-item:not([data-disabled]):hover{background:#dce8cc!important;color:#24321a!important;border-color:#a4bd87!important}
html.theme-key-dark .dialog-card:not(.trial-captcha-dialog) .payment-method-select-trigger{background:#292929!important;color:#eee!important;border:1px solid #686e60!important;border-radius:12px!important;cursor:pointer!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-method-select-content{background:#fff!important;border-color:#b8c4ac!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-method-select-content .payment-method-select-item{background:#f4f6ef!important;color:#2d3b23!important;border-color:#c2ceb6!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-method-select-content .payment-method-select-item[data-disabled]{background:#eceee8!important;color:#656d5d!important;border-color:#cdd2c6!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-method-select-content .payment-method-select-item[data-disabled] :is(span,svg){color:#656d5d!important}
html.theme-key-dark:has(.app-shell.theme-light) .payment-method-select-content .payment-method-select-item:not([data-disabled]):hover{background:#dce8cd!important;color:#24331a!important;border-color:#819b66!important}
html.theme-key-dark:has(.app-shell.theme-light) .dialog-card:not(.trial-captcha-dialog) .payment-method-select-trigger{background:#fff!important;color:#293820!important;border-color:#adbd9d!important}

/* Mobile dashboard: compact account actions, desktop remains unchanged. */
@media (max-width:767px) {
 html.theme-key-dark .hn-dashboard {gap:16px!important}
 html.theme-key-dark .hn-dashboard .hn-overview {padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
 html.theme-key-dark .hn-dashboard .hn-overview-head {display:none!important}
 html.theme-key-dark .hn-dashboard .hn-metrics {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html.theme-key-dark .hn-dashboard .hn-metric {padding:16px!important;border-radius:18px!important;min-height:0!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(n+3) {display:none!important}
 html.theme-key-dark .hn-dashboard .hn-metric-label {font-size:13px!important}
 html.theme-key-dark .hn-dashboard .hn-metric>strong {display:block!important;font-size:25px!important;margin:7px 0 12px!important}
 html.theme-key-dark .hn-dashboard .hn-metric-foot {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;font-size:12px!important;min-height:44px!important;padding-top:10px!important}
 html.theme-key-dark .hn-dashboard .hn-metric-foot button {min-height:44px!important;min-width:112px!important;font-size:13px!important;padding:10px 16px!important;white-space:nowrap!important;flex-shrink:0!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label {grid-column:1!important;grid-row:1!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2)>strong {grid-column:1!important;grid-row:2!important;font-size:22px!important;margin:5px 0 0!important;overflow-wrap:anywhere!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-foot {grid-column:2!important;grid-row:1 / 3!important;border:0!important;padding:0!important;font-size:0!important;display:flex!important}
 html.theme-key-dark .hn-dashboard .hn-chart-card,
 html.theme-key-dark .hn-dashboard .hn-devices-card {padding:16px!important;border-radius:18px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-head {gap:12px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-head h2,
 html.theme-key-dark .hn-dashboard .hn-devices-card h2 {font-size:18px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-controls {width:100%!important;min-width:0!important;gap:8px!important}
 html.theme-key-dark .hn-dashboard .hn-range {display:flex!important;flex:1!important;min-width:0!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
 html.theme-key-dark .hn-dashboard .hn-range button {min-height:44px!important;flex:1 0 auto!important;font-size:12px!important;padding:9px 10px!important;white-space:nowrap!important}
 html.theme-key-dark .hn-dashboard .hn-refresh {min-width:44px!important;min-height:44px!important}
 html.theme-key-dark .hn-dashboard .hn-dashboard-actions {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html.theme-key-dark .hn-dashboard .hn-dashboard-actions>button {width:100%!important;min-height:48px!important}
 html.theme-key-dark .hn-dashboard .hn-dashboard-actions>button:nth-child(2) {display:none!important}
}

html.theme-key-dark .hn-dashboard .hn-metric-label svg[aria-label="Подписка не активна"]{color:#dc6b6b!important}

/* Neutral notifications follow the actual light/dark application mode. */
html.theme-key-dark .app-toast{background:#262626!important;color:#eef0e9!important;border:1px solid #45483f!important;box-shadow:0 10px 30px #0004!important;font-weight:500!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-toast{background:#fff!important;color:#24291f!important;border-color:#d3d9ca!important;box-shadow:0 10px 30px #29331c1a!important}
html.theme-key-dark .app-toast [data-description]{color:inherit!important;opacity:.8}
html.theme-key-dark .app-toast [data-title]{color:inherit!important;font-weight:500!important}

/* Mobile dock: circular selection and safe-area-aware bottom placement. */
@media(max-width:1023px), (min-width:768px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{position:fixed!important;top:auto!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;left:8px!important;right:8px!important;width:auto!important;max-width:480px!important;margin:0 auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:0!important;padding:6px 5px!important;border-radius:28px!important;min-height:74px!important;background:#20211f!important;border:1px solid #41443c!important;box-shadow:0 8px 28px #0005!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;z-index:60!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{position:relative!important;display:flex!important;flex:1 0 48px!important;flex-direction:column!important;justify-content:flex-end!important;align-items:center!important;gap:0!important;min-width:48px!important;min-height:60px!important;height:60px!important;margin:0!important;padding:0 1px 2px!important;background:transparent!important;border:0!important;border-radius:20px!important;color:#b9bdb1!important;box-shadow:none!important;animation:none!important;isolation:isolate!important;overflow:visible!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]::before{content:""!important;position:absolute!important;top:2px!important;left:50%!important;transform:translateX(-50%)!important;width:40px!important;height:40px!important;border-radius:50%!important;border:1px solid transparent!important;background:transparent!important;z-index:-1!important;transition:background .16s,border-color .16s,box-shadow .16s!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]::after{display:none!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]>svg{position:absolute!important;top:11px!important;left:50%!important;transform:translateX(-50%)!important;width:22px!important;height:22px!important;color:inherit!important;transition:scale .15s!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"] .bottom-nav-label{display:block!important;max-width:100%!important;margin:0!important;font-size:10px!important;line-height:13px!important;font-weight:500!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:inherit!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active{color:#edf0e5!important;background:transparent!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active::before{background:#f0f2ea!important;border-color:#f0f2ea!important;box-shadow:0 0 0 3px #20211f,0 0 0 4px #a6b098!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active>svg{color:#252c1e!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:active>svg{scale:.91!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:focus-visible{outline:2px solid #a7b793!important;outline-offset:1px!important}
 html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{background:#f9faf5!important;border-color:#d6dccd!important;box-shadow:0 8px 26px #26351b20!important}
 html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{color:#606852!important}
 html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active{color:#344126!important}
 html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active::before{background:#e5eddc!important;border-color:#81976c!important;box-shadow:0 0 0 3px #f9faf5,0 0 0 4px #a7b895!important}
 html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active>svg{color:#344126!important}
 html.theme-key-dark .phone-screen{padding-bottom:calc(102px + env(safe-area-inset-bottom,0px))!important}
 html.theme-key-dark .app-toast{bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
}

@media(max-width:767px){
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(1){order:1!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2){order:2!important}
}

/* Account priority shared by desktop and mobile. */
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(1){order:1!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2){order:2!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(3){order:3!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(4){order:4!important}

/* Tablet layout and chart-header breakpoint repair. */
@media(max-width:1023px), (min-width:768px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-head>div:first-child{width:100%!important;min-width:0!important}
 html.theme-key-dark .hn-dashboard .hn-chart-controls{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:8px!important}
 html.theme-key-dark .hn-dashboard .hn-range{display:flex!important;flex:1 1 0!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
 html.theme-key-dark .hn-dashboard .hn-range button{flex:1 0 auto!important;min-height:44px!important;white-space:nowrap!important}
 html.theme-key-dark .hn-dashboard .hn-refresh{flex:0 0 44px!important;min-width:44px!important;min-height:44px!important}
}
@media(min-width:768px) and (max-width:1023px), (min-width:768px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .phone-screen:not(.auth-screen){width:100%!important;max-width:960px!important;padding:24px 28px calc(112px + env(safe-area-inset-bottom,0px))!important;margin:0 auto!important}
 html.theme-key-dark .hn-home-dashboard{max-width:none!important;width:100%!important}
 html.theme-key-dark .hn-dashboard{gap:20px!important}
 html.theme-key-dark .hn-dashboard .hn-overview{padding:22px!important}
 html.theme-key-dark .hn-dashboard .hn-overview-head{display:block!important;margin-bottom:18px!important}
 html.theme-key-dark .hn-dashboard .hn-overview-head :is(.hn-eyebrow,.hn-date){display:none!important}
 html.theme-key-dark .hn-dashboard .hn-overview-head h1{font-size:26px!important}
 html.theme-key-dark .hn-dashboard .hn-overview-head p{max-width:none!important}
 html.theme-key-dark .hn-dashboard .hn-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 html.theme-key-dark .hn-dashboard .hn-metric{padding:18px!important;min-width:0!important}
 html.theme-key-dark .hn-dashboard .hn-metric>strong{font-size:26px!important}
 html.theme-key-dark .hn-dashboard .hn-metric-foot button{min-height:44px!important;padding:10px 16px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-card,
 html.theme-key-dark .hn-dashboard .hn-devices-card{padding:22px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-controls{max-width:520px!important}
 html.theme-key-dark .hn-dashboard .hn-chart-plot svg{width:100%!important;min-width:0!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{left:24px!important;right:24px!important;max-width:720px!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"] .bottom-nav-label{font-size:11px!important}
}

@media(min-width:768px) and (max-width:1023px), (min-width:768px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys{grid-template-columns:minmax(0,1fr)!important}
 html.theme-key-dark .hn-dashboard .hn-key-list{display:flex!important;flex-direction:row!important;gap:10px!important;overflow-x:auto!important;min-width:0!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button{flex:1 0 180px!important;min-width:0!important}
}

/* Support adapts to its actual container, including tablet landscape. */
html.theme-key-dark .phone-screen main.support-screen{container-type:inline-size!important;container-name:hn-support!important;width:100%!important;min-width:0!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-row{min-width:0!important;gap:12px!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-copy{min-width:0!important}
html.theme-key-dark .phone-screen .support-screen .support-heading-copy p{font-size:14px!important;line-height:1.5!important;overflow-wrap:normal!important;word-break:normal!important}
html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{flex-shrink:0!important;white-space:nowrap!important}
@container hn-support (max-width:620px){
 html.theme-key-dark .phone-screen .support-screen .support-overview-card{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:20px!important}
 html.theme-key-dark .phone-screen .support-screen .support-heading-copy :is(h1,h2,strong){font-size:23px!important;line-height:1.3!important}
 html.theme-key-dark .phone-screen .support-screen .support-new-ticket-button{width:100%!important;min-height:48px!important;justify-content:center!important;justify-self:stretch!important;white-space:normal!important}
 html.theme-key-dark .phone-screen .support-screen .support-create-panel{grid-column:1!important;min-width:0!important}
 html.theme-key-dark .phone-screen .support-screen .support-create-grid{grid-template-columns:minmax(0,1fr)!important}
 html.theme-key-dark .phone-screen .support-screen .support-list-card{padding:16px!important;height:auto!important;min-height:320px!important;grid-template-rows:auto minmax(230px,auto)!important}
 html.theme-key-dark .phone-screen .support-screen .support-status-tabs-list{display:flex!important;width:100%!important;min-width:0!important}
 html.theme-key-dark .phone-screen .support-screen .support-status-tabs-trigger{flex:1 1 0!important;min-width:0!important;min-height:44px!important;padding:8px 10px!important}
}
@media(min-width:768px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{height:auto!important;flex-direction:row!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav :is(.rail-brand,.rail-settings-subnav,.hn-rail-account){display:none!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{order:0!important;max-width:none!important}
 html.theme-key-dark .phone-screen .support-screen{max-width:100%!important}
}

/* Tablets use the whole viewport, not a centered phone canvas. */
@media(min-width:768px) and (max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .app-shell{width:100%!important;max-width:none!important;margin:0!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){width:100%!important;max-width:none!important;margin:0!important;padding-top:24px!important;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;padding-left:max(20px,env(safe-area-inset-left,0px))!important;padding-right:max(20px,env(safe-area-inset-right,0px))!important}
 html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen)>:is(main,.home-layout,.content,.hn-home-dashboard){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
 html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{left:16px!important;right:16px!important;max-width:none!important}
}

/* Wallet icon has a stable anchor independent of the top-up action. */
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2){position:relative!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label{padding-right:30px!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label>svg{position:absolute!important;top:14px!important;right:14px!important;left:auto!important;margin:0!important;transform:none!important;width:19px!important;height:19px!important;flex:none!important}
@media(max-width:767px){
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2){padding-top:16px!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label{grid-column:1 / -1!important;grid-row:1!important;padding-right:30px!important}
 html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-foot{grid-row:2!important}
}

/* Wallet icon sits immediately before the balance heading. */
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label{justify-content:flex-start!important;padding-left:0!important;padding-right:0!important;gap:8px!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(2) .hn-metric-label>svg{position:static!important;inset:auto!important;order:1!important;margin:0!important;transform:none!important;flex:0 0 19px!important}

/* Subscription status follows the same leading-icon alignment as balance. */
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(1) .hn-metric-label{justify-content:flex-start!important;gap:8px!important}
html.theme-key-dark .hn-dashboard .hn-metric:nth-child(1) .hn-metric-label>svg{position:static!important;inset:auto!important;order:1!important;margin:0!important;transform:none!important;flex:0 0 19px!important}

/* Phone key selector: readable rows for three or more subscriptions. */
@media(max-width:767px){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 html.theme-key-dark .hn-dashboard .hn-key-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;padding:0!important;overflow:visible!important;align-content:start!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button{display:grid!important;grid-template-columns:8px 18px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:52px!important;padding:12px!important;border-radius:16px!important;text-align:left!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>span:not(.hn-key-kind){min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.45!important;font-size:13px!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>.hn-key-kind{width:8px!important;height:8px!important;min-width:8px!important;margin:0!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>svg{width:18px!important;height:18px!important;margin:0!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>small{margin:0!important;white-space:nowrap!important;font-size:11px!important;line-height:1.4!important}
}

@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;scrollbar-gutter:auto!important}
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-chart-main{grid-column:1!important;min-width:0!important}
}

/* Compact circular phone key picker with one shared selected-key caption. */
html.theme-key-dark .hn-key-list :is(.hn-key-number,.hn-key-selection){display:none}
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(52px,56px))!important;justify-content:start!important;align-items:start!important;gap:12px!important;position:static!important;overflow:visible!important;padding:2px!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button{display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:56px!important;width:56px!important;max-width:56px!important;height:56px!important;min-height:56px!important;padding:0!important;border-radius:50%!important;border-width:1px!important;aspect-ratio:1!important;box-sizing:border-box!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button.active{box-shadow:0 0 0 3px #1b1e18,0 0 0 4px #94a47d!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button.active{box-shadow:0 0 0 3px #f8faf3,0 0 0 4px #839b6b!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>span:not(.hn-key-kind):not(.hn-key-number),html.theme-key-dark .hn-dashboard .hn-key-list button>small{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>.hn-key-kind{position:absolute!important;top:3px!important;right:2px!important;width:8px!important;height:8px!important;box-shadow:0 0 0 2px var(--panel,#222)!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>.hn-key-number{display:inline!important;width:auto!important;position:static!important;clip-path:none!important;overflow:visible!important;font-size:12px!important;font-weight:600!important;line-height:1!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>svg{width:21px!important;height:21px!important}
 html.theme-key-dark .hn-dashboard .hn-key-list>.hn-key-selection{display:flex!important;grid-column:1 / -1!important;flex-direction:column!important;gap:3px!important;padding-top:4px!important;min-width:0!important;max-width:100%!important}
 html.theme-key-dark .hn-dashboard .hn-key-selection strong{font-size:13px!important;font-weight:500!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 html.theme-key-dark .hn-dashboard .hn-key-selection small{font-size:11px!important;color:var(--muted,#b9bdb1)!important}
}

/* Colored key circles; a single subscription keeps the normal labelled row. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-key-list button>.hn-key-number,
 html.theme-key-dark .hn-dashboard .hn-key-list button>.hn-key-kind{display:none!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button>svg{width:25px!important;height:25px!important;margin:0!important;flex:none!important;color:inherit!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:has(>.hn-key-kind[data-kind="primary"]){background:#4b7e42!important;border-color:#73a365!important;color:#f6fff1!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:has(>.hn-key-kind[data-kind="extra"]){background:#aa6324!important;border-color:#d48a41!important;color:#fff8ed!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:has(>.hn-key-kind[data-kind="primary"]){background:#dcecd4!important;border-color:#83a774!important;color:#31542a!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:has(>.hn-key-kind[data-kind="extra"]){background:#f8e3ca!important;border-color:#cc9a62!important;color:#7e461b!important}
 html.theme-key-dark .hn-dashboard .hn-key-list:has(>button:only-of-type){display:block!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:only-of-type{display:flex!important;gap:9px!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:46px!important;padding:11px 14px!important;border-radius:14px!important;aspect-ratio:auto!important;justify-content:flex-start!important;background:var(--panel-3,#292929)!important;border-color:var(--border,#555)!important;color:var(--text,#eee)!important;box-shadow:none!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:only-of-type>span:not(.hn-key-kind):not(.hn-key-number){position:static!important;width:auto!important;height:auto!important;min-width:0!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere!important;flex:1!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:only-of-type>small{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:nowrap!important;flex-shrink:0!important}
 html.theme-key-dark .hn-dashboard .hn-key-list:has(>button:only-of-type)>.hn-key-selection{display:none!important}
}

@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-key-list button:only-of-type:has(>.hn-key-kind),
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:only-of-type:has(>.hn-key-kind){background:var(--panel-3,#292929)!important;border-color:var(--border,#555)!important;color:var(--text,#eee)!important}
 html.theme-key-dark .hn-dashboard .hn-key-list button:only-of-type>svg{width:20px!important;height:20px!important}
}

@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list:has(>button:only-of-type){display:block!important;grid-template-columns:minmax(0,1fr)!important}
}

/* Breathing room and calmer typography around the touch key selector. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{box-sizing:border-box!important;padding:16px!important;gap:16px!important;border:0!important;border-radius:18px!important;background:#22231f!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{background:#eef2e7!important}
 html.theme-key-dark .hn-dashboard .hn-key-list>.hn-key-selection{padding-top:4px!important;gap:7px!important}
 html.theme-key-dark .hn-dashboard .hn-key-selection strong{font-size:14px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:0!important;color:var(--text,#edf0e7)!important}
 html.theme-key-dark .hn-dashboard .hn-key-selection small{font-size:12px!important;line-height:1.5!important;color:#b6beac!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-selection small{color:#626d55!important}
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list:has(>button:only-of-type){padding:0!important;background:transparent!important;border:0!important}
}

/* Restore the preferred dashed frame without losing the new spacing. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{border:1px dashed #52594b!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{border-color:#a7b398!important}
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list:has(>button:only-of-type){border:0!important}
}

/* Restore the favorite dashed key frame while retaining comfortable spacing. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{border:1px dashed #50534a!important}
 html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{border-color:#a2ab96!important}
 html.theme-key-dark .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list:has(>button:only-of-type){border:0!important}
}

/* Clear individual dock buttons, roomy labels, no double selection ring. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{padding:10px 5px 9px!important;min-height:86px!important;gap:2px!important;border-radius:24px!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{height:68px!important;min-height:68px!important;flex:1 0 68px!important;min-width:68px!important;padding:0 0 1px!important;justify-content:flex-end!important;overflow:visible!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]::before{top:0!important;width:44px!important;height:44px!important;background:#30322d!important;border:1px solid #50554a!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]>svg{top:11px!important;width:23px!important;height:23px!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"] .bottom-nav-label{font-size:11px!important;line-height:16px!important;font-weight:500!important;overflow:visible!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active::before{background:#f0f2ea!important;border-color:#f0f2ea!important;box-shadow:none!important;outline:0!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]>.attention-dot{top:0!important;right:auto!important;left:calc(50% + 14px)!important;width:8px!important;height:8px!important;box-shadow:0 0 0 2px #20211f!important;animation:none!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:hover::before{border-color:#a7b793!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]::before{background:#edf0e7!important;border-color:#c8d1bd!important;box-shadow:none!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"].active::before{background:#dce8d0!important;border-color:#81976c!important;box-shadow:none!important}
html.theme-key-dark .phone-screen{padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))!important}
html.theme-key-dark .app-toast{bottom:calc(108px + env(safe-area-inset-bottom,0px))!important}
}

/* Tablet left navigation rail; phones keep the bottom dock. */
@media(min-width:590px) and (max-width:1023px) and (min-height:500px), (min-width:590px) and (max-width:1366px) and (min-height:500px) and (pointer:coarse){
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{position:fixed!important;top:16px!important;bottom:16px!important;left:max(12px,env(safe-area-inset-left,0px))!important;right:auto!important;width:88px!important;max-width:88px!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:12px!important;padding:16px 6px!important;border-radius:24px!important;overflow-x:hidden!important;overflow-y:auto!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{flex:0 0 68px!important;width:100%!important;min-width:0!important;max-width:none!important;height:68px!important;min-height:68px!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav :is(.rail-brand,.rail-settings-subnav,.hn-rail-account){display:none!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding-left:calc(120px + env(safe-area-inset-left,0px))!important;padding-right:max(20px,env(safe-area-inset-right,0px))!important;padding-bottom:24px!important}
html.theme-key-dark .app-toast{bottom:24px!important;max-width:calc(100vw - 152px)!important}
}

/* Compact tablet and unfolded book layout from 590 CSS pixels. */
@media(min-width:590px) and (max-width:767px) and (min-height:500px){
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav{width:76px!important;max-width:76px!important;left:8px!important;padding:14px 3px!important}
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen:not(.auth-screen){padding-left:100px!important;padding-right:16px!important}
html.theme-key-dark .hn-dashboard .hn-metrics{grid-template-columns:minmax(0,1fr)!important}
}

/* Tablet devices live in navigation rather than a duplicate dashboard card. */
@media(min-width:590px) and (max-width:1023px) and (min-height:500px), (min-width:590px) and (max-width:1366px) and (min-height:500px) and (pointer:coarse){
html.theme-key-dark .hn-dashboard>.hn-devices-card{display:none!important}
}

/* Dedicated subscriptions page and explicit tablet navigation order. */
html.theme-key-dark .hn-subscription-page{width:100%;min-width:0}
@media(min-width:590px) and (max-width:1023px) and (min-height:500px), (min-width:590px) and (max-width:1366px) and (min-height:500px) and (pointer:coarse){
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]{order:6!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:has(>svg.lucide-house){order:0!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"][aria-label="Подписки"]{order:1!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:has(>svg.lucide-smartphone){order:2!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:has(>svg.lucide-gift){order:3!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:has(>svg.lucide-life-buoy){order:4!important}
html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav button[data-nav-level="primary"]:has(>svg.lucide-settings){order:5!important}
}

/* Outlined key selection; retain the original shared period capsule. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind){background:#292c26!important;border:2px solid #739b59!important;color:#a8ce8c!important;box-shadow:none!important;outline:0!important;cursor:pointer!important;transition:border-width .12s,transform .12s,background .12s!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind):has(>.hn-key-kind[data-kind="extra"]){background:#292c26!important;border-color:#b98648!important;color:#dfac6c!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind).active{border-width:4px!important;background:#323a2b!important;box-shadow:none!important;outline:0!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind):hover{background:#363d2f!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind):active{transform:scale(.94)!important}
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind):focus-visible{outline:2px solid #c6d7b3!important;outline-offset:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind){background:#f1f4ec!important;border-color:#6d9452!important;color:#42632e!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind[data-kind="extra"]){background:#f1f4ec!important;border-color:#bd8645!important;color:#8b591e!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind).active{background:#e4ebdc!important;border-width:4px!important}
}

/* White pressed key circles, shared by traffic and subscription page. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind[data-kind]).active,
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-key-list button:not(:only-of-type):has(>.hn-key-kind[data-kind]).active{background:#f1f3eb!important;color:#293120!important;border-width:4px!important}
}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2)){display:flex!important;flex-wrap:wrap!important;gap:14px!important;padding:4px!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button{position:relative!important;box-sizing:border-box!important;width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;padding:0!important;flex:0 0 56px!important;border-radius:50%!important;border:2px solid #739b59!important;background:#292c26!important;color:#a8ce8c!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;box-shadow:none!important;outline:0!important;cursor:pointer!important;transition:background .15s,transform .15s!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button[data-kind="extra"]{border-color:#b98648!important;color:#dfac6c!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button>svg{width:25px!important;height:25px!important;flex:none!important;color:inherit!important;margin:0!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button>:is(span,small){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button[aria-pressed="true"]{background:#f1f3eb!important;color:#293120!important;border-width:4px!important;box-shadow:none!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys>button:active{transform:scale(.94)!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .subscription-keys>button:focus-visible{outline:2px solid #a9bd91!important;outline-offset:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button:not([aria-pressed="true"]){background:#f1f4ec!important;color:#42632e!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .phone-screen .hn-subscription-manager .subscription-keys:has(>button:nth-of-type(2))>button[data-kind="extra"]:not([aria-pressed="true"]){color:#8b591e!important}

html.theme-key-dark .app-shell .phone-screen .subscription-page-card{background:#20211f!important;color:#edf0e7!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .phone-screen .subscription-page-card{background:#fafbf7!important;color:#273020!important;border-color:#c5ceba!important}

/* Hide the retired year option in previously opened client bundles too. */

/* Visible clickable period segments within the existing shared capsule. */
html.theme-key-dark .hn-dashboard .hn-range button:not([aria-pressed="true"]){border:1px solid #62655e!important;border-radius:999px!important;background:#383a35!important;cursor:pointer!important;box-shadow:inset 0 1px 0 #ffffff08!important}
html.theme-key-dark .hn-dashboard .hn-range button:not([aria-pressed="true"]):hover{background:#484d40!important;border-color:#a0af8c!important;color:#fff!important}
html.theme-key-dark .hn-dashboard .hn-range button:active{transform:scale(.96)!important}
html.theme-key-dark .hn-dashboard .hn-range button:focus-visible{outline:2px solid #a9bd91!important;outline-offset:1px!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range button:not([aria-pressed="true"]){background:#e0e4d9!important;border-color:#aab59c!important;color:#3f4935!important;box-shadow:inset 0 1px 0 #ffffff70!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dashboard .hn-range button:not([aria-pressed="true"]):hover{background:#d3dfc6!important;border-color:#82976c!important}

/* Visible horizontal menu scrolling hint, with working directional arrows. */
html.theme-key-dark .hn-dock-scroll-hint{position:fixed!important;z-index:61!important;display:flex!important;align-items:center!important;justify-content:space-between!important;height:28px!important;pointer-events:none!important;gap:8px!important}
html.theme-key-dark .hn-dock-scroll-hint>span{background:#20211f!important;color:#dce3d1!important;border:1px solid #4e5745!important;border-radius:999px!important;padding:4px 12px!important;font-size:11px!important;line-height:18px!important;box-shadow:0 2px 8px #0003!important;white-space:nowrap!important}
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{pointer-events:auto!important;display:grid!important;place-items:center!important;width:36px!important;min-width:36px!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border-radius:999px!important;border:1px solid #82956d!important;background:#eef2e7!important;color:#293420!important;font-size:26px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 2px 8px #0003!important;transform:none!important}
html.theme-key-dark .hn-dock-scroll-hint>button.unavailable{visibility:hidden!important;pointer-events:none!important}
html.theme-key-dark .hn-dock-scroll-hint>button:focus-visible{outline:2px solid #b9cda0!important;outline-offset:2px!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dock-scroll-hint>span{background:#f7f9f2!important;color:#3d4b31!important;border-color:#b4c2a6!important}
html.theme-key-dark .phone-screen:has(nav.bottom-nav + .hn-dock-scroll-hint){padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))!important}

/* Animated left chevron gently indicates the available backward direction. */
html.theme-key-dark .hn-dock-scroll-hint>button[data-direction="left"]{font-size:0!important}
html.theme-key-dark .hn-dock-scroll-hint>button[data-direction="left"]::before{content:"‹"!important;font-size:28px!important;line-height:1!important;display:block!important;animation:hn-left-chevron 1.8s ease-in-out infinite!important}
@keyframes hn-left-chevron{0%,100%{transform:translateX(2px);opacity:1}50%{transform:translateX(-3px);opacity:.65}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-dock-scroll-hint>button[data-direction="left"]::before{animation:none!important;transform:none!important}}

/* Edge chevrons replace the text hint and point toward available menu items. */
html.theme-key-dark .hn-dock-scroll-hint{transform:translateY(55px)!important;height:44px!important;padding:0 2px!important;box-sizing:border-box!important}
html.theme-key-dark .hn-dock-scroll-hint>span{display:none!important}
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{width:24px!important;min-width:24px!important;height:44px!important;min-height:44px!important;border:0!important;border-radius:12px!important;background:#20211fe8!important;color:#e3ead8!important;box-shadow:none!important;font-size:0!important}
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow::before{font-size:36px!important;font-weight:400!important;line-height:1!important;display:block!important}
html.theme-key-dark .hn-dock-scroll-hint>button[data-direction="right"]::before{content:"›"!important;animation:hn-right-chevron 1.8s ease-in-out infinite!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{background:#f9faf5ed!important;color:#445637!important}
@keyframes hn-right-chevron{0%,100%{transform:translateX(-2px);opacity:1}50%{transform:translateX(3px);opacity:.65}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow::before{animation:none!important;transform:none!important}}

/* Three running curved waves replace the chevron glyphs. */
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{width:28px!important;min-width:28px!important}
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow::before{display:none!important;content:none!important;animation:none!important}
html.theme-key-dark .hn-dock-scroll-arrow>.hn-dock-waves{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:24px!important;height:28px!important;pointer-events:none!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i{display:block!important;box-sizing:border-box!important;width:6px!important;height:20px!important;border:0!important;border-right:2px solid currentColor!important;border-radius:50%!important;opacity:.25;animation:hn-running-wave 1.65s ease-in-out infinite!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(2){animation-delay:.18s!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(3){animation-delay:.36s!important}
html.theme-key-dark .hn-dock-scroll-arrow[data-direction="left"] .hn-dock-waves{transform:scaleX(-1)!important}
@keyframes hn-running-wave{0%,65%,100%{opacity:.2;transform:translateX(-1px)}25%,40%{opacity:1;transform:translateX(1px)}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i{animation:none!important;opacity:.85!important;transform:none!important}}

/* Full-height curved edge waves, without separate button backgrounds. */
html.theme-key-dark .hn-dock-scroll-hint{transform:translateY(32px)!important;height:86px!important;padding:0!important;align-items:center!important}
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow,
html.theme-key-dark:has(.app-shell.theme-light) .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{width:24px!important;min-width:24px!important;height:86px!important;min-height:86px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:28px!important;color:#bdcfa8!important}
html.theme-key-dark .hn-dock-scroll-arrow>.hn-dock-waves{height:82px!important;width:22px!important;gap:1px!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i{height:54px!important;width:6px!important;border-right-width:2px!important;border-radius:50%!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(2){height:68px!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(3){height:80px!important}
html.theme-key-dark:has(.app-shell.theme-light) .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{color:#6c8554!important}

/* Brief wave, fade completely, then rest for three seconds. */
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i{opacity:0;animation:hn-wave-with-rest 4.5s linear infinite!important;animation-delay:0s!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(2){animation-name:hn-wave-with-rest-two!important;animation-delay:0s!important}
html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i:nth-child(3){animation-name:hn-wave-with-rest-three!important;animation-delay:0s!important}
@keyframes hn-wave-with-rest{0%{opacity:0;transform:translateX(-1px)}5.8333%,11.6667%{opacity:1;transform:translateX(1px)}23.3333%,100%{opacity:0;transform:translateX(1px)}}
@keyframes hn-wave-with-rest-two{0%,3.5%{opacity:0;transform:translateX(-1px)}9.3333%,15.1667%{opacity:1;transform:translateX(1px)}28%,100%{opacity:0;transform:translateX(1px)}}
@keyframes hn-wave-with-rest-three{0%,7%{opacity:0;transform:translateX(-1px)}12.8333%,18.6667%{opacity:1;transform:translateX(1px)}33.3333%,100%{opacity:0;transform:translateX(1px)}}
@media(prefers-reduced-motion:reduce){html.theme-key-dark .hn-dock-scroll-arrow .hn-dock-waves>i{animation:none!important;opacity:.8!important;transform:none!important}}

/* Remove duplicated bottom spacing; devices remain available through navigation. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark .app-shell .phone-screen.home-screen>.home-layout.hn-home-dashboard{padding-bottom:0!important;margin-bottom:0!important}
html.theme-key-dark .hn-dashboard>.hn-devices-card{display:none!important}
}
@media(max-width:589px), (min-width:590px) and (max-width:1023px) and (max-height:499px), (min-width:590px) and (max-width:1366px) and (max-height:499px) and (pointer:coarse){
html.theme-key-dark .app-shell:has(.bottom-nav) .phone-screen.home-screen:not(.auth-screen),
html.theme-key-dark .app-shell .phone-screen.home-screen:has(nav.bottom-nav + .hn-dock-scroll-hint){padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
}

/* Decorative waves only: no click, focus or scroll action. */
html.theme-key-dark .hn-dock-scroll-hint,
html.theme-key-dark .hn-dock-scroll-hint>button.hn-dock-scroll-arrow{pointer-events:none!important;cursor:default!important}

/* Compact copy action on phones and tablets; accessible text remains available. */
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .copy-link-field[data-variant="webapp"]>button:first-of-type{font-size:0!important;gap:0!important;padding:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html.theme-key-dark .app-shell .phone-screen .hn-subscription-manager .copy-link-field[data-variant="webapp"]>button:first-of-type svg{width:18px!important;height:18px!important;flex:none!important;margin:0!important}
}

/* Device key picker mirrors subscription circles, with selected key in the title. */
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2)){display:flex!important;flex-wrap:wrap!important;gap:14px!important;padding:4px!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button{position:relative!important;box-sizing:border-box!important;width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;padding:0!important;flex:0 0 56px!important;border-radius:50%!important;border:2px solid #739b59!important;background:#292c26!important;color:#a8ce8c!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;box-shadow:none!important;outline:0!important;cursor:pointer!important;transition:background .15s,transform .15s!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button[data-kind="extra"]{border-color:#b98648!important;color:#dfac6c!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button>svg{width:25px!important;height:25px!important;flex:none!important;color:inherit!important;margin:0!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button>:is(span,small){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button[aria-pressed="true"]{background:#f1f3eb!important;color:#293120!important;border-width:4px!important;box-shadow:none!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker>button:active{transform:scale(.94)!important}
html.theme-key-dark .app-shell .phone-screen .content .device-key-picker>button:focus-visible{outline:2px solid #a9bd91!important;outline-offset:3px!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button:not([aria-pressed="true"]){background:#f1f4ec!important;color:#42632e!important}
html.theme-key-dark:has(.app-shell.theme-light) .app-shell .phone-screen .content .device-key-picker:has(>button:nth-of-type(2))>button[data-kind="extra"]:not([aria-pressed="true"]){color:#8b591e!important}
html.theme-key-dark .device-selected-title{display:flex!important;flex-wrap:wrap!important;gap:7px 12px!important;align-items:center!important;line-height:1.5!important}
html.theme-key-dark .device-selected-key{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;font-weight:500!important;overflow-wrap:anywhere!important;min-width:0!important;color:inherit!important}
html.theme-key-dark .device-selected-key>i{display:block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;border-radius:50%!important;background:#78b463!important}
html.theme-key-dark .device-selected-key>i[data-kind="extra"]{background:#d49a45!important}

/* Readable, stable device card heading with a compact platform subtitle. */
html.theme-key-dark .phone-screen .device-card .device-card-head{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:start!important;gap:12px!important}
html.theme-key-dark .phone-screen .device-card .device-card-head>.device-icon{width:40px!important;height:40px!important;min-width:40px!important;align-self:start!important;margin:2px 0 0!important;display:grid!important;place-items:center!important}
html.theme-key-dark .phone-screen .device-card .device-card-head>span{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;min-width:0!important;padding:0 48px 0 0!important}
html.theme-key-dark .phone-screen .device-card .device-name-row{display:block!important;min-height:0!important;line-height:1.45!important;margin:0!important;padding:0!important}
html.theme-key-dark .phone-screen .device-card .device-name-row>strong{display:block!important;font-size:16px!important;font-weight:600!important;line-height:1.45!important;overflow-wrap:anywhere!important;color:#f0f2ea!important}
html.theme-key-dark .phone-screen .device-card .device-client-label{font-size:14px!important;font-weight:400!important;line-height:1.45!important;color:#c4cbbd!important}
html.theme-key-dark .phone-screen .device-card .device-name-row>button{position:absolute!important;right:0!important;top:0!important;margin:0!important;align-self:start!important}
html.theme-key-dark .phone-screen .device-card .device-card-head>span>small{display:block!important;font-size:14px!important;line-height:1.5!important;color:#c4cbbd!important;margin:0!important;padding:0!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-card .device-name-row>strong{color:#25301e!important}
html.theme-key-dark:has(.app-shell.theme-light) .phone-screen .device-card :is(.device-client-label,.device-card-head>span>small){color:#536148!important}

/* Neutral charcoal key picker surface, without a green tint. */
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list{background:#222222!important}
html.theme-key-dark:not(:has(.app-shell.theme-light)) .hn-dashboard .hn-chart-workspace.has-keys>.hn-key-list:has(>button:only-of-type){background:transparent!important}

/* Readable responsive traffic plot and no duplicate installation action on home. */
html.theme-key-dark .hn-dashboard-actions>button:has(svg.lucide-download){display:none!important}
html.theme-key-dark .hn-dashboard-actions:not(:has(>button:not([style*="display:none"]))) {min-height:0}
@media(max-width:1023px), (min-width:600px) and (max-width:1366px) and (pointer:coarse){
html.theme-key-dark .hn-dashboard .hn-chart-plot{overflow:visible!important;min-width:0!important}
html.theme-key-dark .hn-dashboard .hn-chart-plot svg{width:100%!important;min-width:0!important;height:auto!important;min-height:250px!important;max-height:320px!important}
html.theme-key-dark .hn-dashboard .hn-chart-plot svg>text{font-size:14px!important}
html.theme-key-dark .hn-dashboard .hn-day-details{gap:9px!important;padding-top:16px!important}
html.theme-key-dark .hn-dashboard .hn-day-details button{min-width:105px!important;min-height:76px!important;padding:12px!important;gap:7px!important;border-radius:12px!important}
html.theme-key-dark .hn-dashboard .hn-day-details button span{font-size:13px!important;line-height:1.4!important}
html.theme-key-dark .hn-dashboard .hn-day-details button strong{font-size:16px!important;line-height:1.4!important;font-weight:600!important}
html.theme-key-dark .hn-dashboard .hn-dashboard-actions{display:none!important}
}

/* Subscription actions are available in the summary and dedicated subscription page. */
html.theme-key-dark .hn-dashboard>.hn-dashboard-actions{display:none!important}

/* Admin balance fields must not inherit the client top-up amount styling. */
html.theme-key-dark .admin-field-label.balance-amount-field>.balance-amount-input-wrap{position:relative!important;height:36px!important;min-height:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important}
html.theme-key-dark .admin-field-label.balance-amount-field .balance-amount-input{box-sizing:border-box!important;display:block!important;width:100%!important;height:36px!important;min-height:36px!important;padding:7px 60px 7px 12px!important;border-radius:8px!important;font-size:16px!important;font-weight:500!important;line-height:20px!important;letter-spacing:0!important}
html.theme-key-dark .admin-field-label.balance-amount-field .balance-amount-max{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;height:26px!important;min-height:26px!important;min-width:44px!important;padding:0 8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:1!important;border-radius:6px!important;background:#353b30!important;color:#d8e3cb!important;border:1px solid #59654d!important}
html.theme-key-dark:has(.app-shell.theme-light) .admin-field-label.balance-amount-field .balance-amount-max{background:#e6eddf!important;color:#3a4b2d!important;border-color:#adbd9e!important}
html.theme-key-dark .admin-field-label.balance-amount-field .balance-amount-max:disabled{opacity:.45!important;cursor:default!important}

/* Unified Studio administration controls, surfaces and rich text editing. */
html.theme-key-dark{--hn-admin-bg:#171818;--hn-admin-panel:#202222;--hn-admin-raised:#292c2a;--hn-admin-input:#191b1a;--hn-admin-border:#484e48;--hn-admin-text:#edf0e8;--hn-admin-muted:#b5bdb0;--hn-admin-hover:#353c31;--hn-admin-accent:#dce8ce;--hn-admin-accent-text:#293322}
html.theme-key-dark:is(.theme-variant-light,:has(.app-shell.theme-light)){--hn-admin-bg:#f1f3ed;--hn-admin-panel:#fff;--hn-admin-raised:#edf1e7;--hn-admin-input:#fafbf7;--hn-admin-border:#c5cfbc;--hn-admin-text:#283321;--hn-admin-muted:#63705a;--hn-admin-hover:#e1e9d8;--hn-admin-accent:#dbe8ce;--hn-admin-accent-text:#2e4122}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)){--admin-bg:var(--hn-admin-bg)!important;--admin-surface:var(--hn-admin-panel)!important;--admin-surface-2:var(--hn-admin-raised)!important;--admin-border:var(--hn-admin-border)!important;--admin-text:var(--hn-admin-text)!important;--admin-muted:var(--hn-admin-muted)!important;--admin-card-bg:var(--hn-admin-panel)!important;--admin-card-shadow:none!important;--admin-ring:#92aa76!important;color:var(--hn-admin-text)!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.admin-card,.admin-table-wrap,.admin-stat-card){background:var(--hn-admin-panel)!important;background-image:none!important;border:1px solid var(--hn-admin-border)!important;border-radius:16px!important;box-shadow:none!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.admin-sidebar,.admin-header){background:var(--hn-admin-bg)!important;background-image:none!important;border-color:var(--hn-admin-border)!important;box-shadow:none!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(input.input,textarea.input,select.input,.admin-select-trigger,.admin-combobox-trigger){box-sizing:border-box!important;background:var(--hn-admin-input)!important;background-image:none!important;color:var(--hn-admin-text)!important;border:1px solid var(--hn-admin-border)!important;border-radius:10px!important;box-shadow:none!important;font-size:14px!important;line-height:1.5!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(input.input,select.input,.admin-select-trigger,.admin-combobox-trigger){min-height:38px!important;padding:8px 12px!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) textarea.input{padding:12px!important;min-height:96px!important;resize:vertical!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(input,textarea)::placeholder{color:var(--hn-admin-muted)!important;opacity:.8!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(input.input,textarea.input,select.input,.admin-select-trigger):focus-visible{outline:2px solid #94ab7b!important;outline-offset:2px!important;border-color:#94ab7b!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.admin-field-label,.admin-field-label>span){font-size:13px!important;line-height:1.5!important;color:var(--hn-admin-text)!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:38px!important;padding:8px 14px!important;border:1px solid var(--hn-admin-border)!important;border-radius:10px!important;background:var(--hn-admin-raised)!important;color:var(--hn-admin-text)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;box-shadow:none!important;cursor:pointer!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn.admin-btn-primary{background:var(--hn-admin-accent)!important;color:var(--hn-admin-accent-text)!important;border-color:#a3b88d!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn.admin-btn-danger{background:#a44239!important;color:#fff!important;border-color:#c26b61!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn.admin-btn-danger-soft{background:#a442391a!important;color:#d9867d!important;border-color:#a75b52!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn.admin-btn-ghost{background:transparent!important;border-color:transparent!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn.admin-btn-icon{width:38px!important;min-width:38px!important;padding:8px!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn:hover:not(:disabled){filter:brightness(1.08)!important;border-color:#92a47e!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-btn:focus-visible{outline:2px solid #94ab7b!important;outline-offset:2px!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.admin-btn,.rt-tool):disabled{opacity:.48!important;cursor:default!important;filter:none!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-table :is(th,td){border-color:var(--hn-admin-border)!important;font-size:13px!important;line-height:1.5!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-table th{background:var(--hn-admin-raised)!important;color:var(--hn-admin-muted)!important;font-weight:500!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-table tbody tr:hover{background:var(--hn-admin-hover)!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) [role="tab"]{border-radius:10px!important;color:var(--hn-admin-muted)!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) [role="tab"][aria-selected="true"]{background:var(--hn-admin-accent)!important;color:var(--hn-admin-accent-text)!important;box-shadow:none!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-editor{background:var(--hn-admin-input)!important;border:1px solid var(--hn-admin-border)!important;border-radius:12px!important;box-shadow:none!important;overflow:visible!important;gap:0!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-toolbar{background:var(--hn-admin-raised)!important;border:0!important;border-bottom:1px solid var(--hn-admin-border)!important;border-radius:11px 11px 0 0!important;padding:8px!important;gap:6px!important;display:flex!important;flex-wrap:wrap!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-toolbar .rt-tool{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:34px!important;min-height:34px!important;height:34px!important;padding:6px 10px!important;border:1px solid var(--hn-admin-border)!important;border-radius:8px!important;background:var(--hn-admin-panel)!important;color:var(--hn-admin-text)!important;font-size:12px!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-toolbar .rt-tool:hover:not(:disabled){background:var(--hn-admin-hover)!important;border-color:#93a87d!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-toolbar .rt-tool:is(.is-active,[aria-pressed="true"]){background:var(--hn-admin-accent)!important;color:var(--hn-admin-accent-text)!important;border-color:#a3b88d!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.rt-surface,.rt-source){background:var(--hn-admin-input)!important;color:var(--hn-admin-text)!important;border:0!important;border-radius:0 0 11px 11px!important;padding:14px!important;font-size:14px!important;line-height:1.65!important;box-shadow:none!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) :is(.rt-menu-list,.rt-menu-item){background:var(--hn-admin-panel)!important;color:var(--hn-admin-text)!important;border-color:var(--hn-admin-border)!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .rt-menu-item:hover{background:var(--hn-admin-hover)!important}
/* Keep the compact amount field aligned with the common form controls. */
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-field-label.balance-amount-field>.balance-amount-input-wrap{height:38px!important}
html.theme-key-dark :is(.admin-screen-wrap,.dialog-card:has(.admin-field-label),.dialog-card:has(.admin-btn)) .admin-field-label.balance-amount-field .balance-amount-input{height:38px!important;min-height:38px!important;padding-right:60px!important}

/* Compact phone traffic chart without shrinking its labels or changing tablets. */
@media(max-width:589px){
html.theme-key-dark .hn-dashboard .hn-chart-plot svg{min-height:0!important;height:auto!important;max-height:210px!important}
html.theme-key-dark .hn-dashboard .hn-day-details{padding:10px 0 6px!important;gap:8px!important}
html.theme-key-dark .hn-dashboard .hn-day-details button{min-width:88px!important;min-height:60px!important;padding:9px 10px!important;gap:4px!important;border-radius:10px!important}
html.theme-key-dark .hn-dashboard .hn-day-details button span{font-size:12px!important}
html.theme-key-dark .hn-dashboard .hn-day-details button strong{font-size:14px!important}
}

/* SVG geometry owns its aspect ratio; avoid the retired fixed 980/290 ratio. */
html.theme-key-dark .hn-dashboard .hn-chart-plot svg{aspect-ratio:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important}

/* Devices are managed in their dedicated section on every screen size. */
html.theme-key-dark .hn-dashboard>.hn-devices-card{display:none!important}

/* Readable device summary title, selected key and status dot. */
html.theme-key-dark .phone-screen .devices-summary-head .device-selected-title{font-size:19px!important;line-height:1.45!important;gap:8px 14px!important}
html.theme-key-dark .phone-screen .devices-summary-head .device-selected-key{font-size:16px!important;line-height:1.5!important;gap:9px!important}
html.theme-key-dark .phone-screen .devices-summary-head .device-selected-key>i{width:11px!important;height:11px!important;flex:0 0 11px!important}
html.theme-key-dark .phone-screen .devices-summary-head>span>small{font-size:14px!important;line-height:1.5!important;margin-top:4px!important}

/* Centered login branding and heading across phone, tablet and desktop. */
html.theme-key-dark .auth-card-wrap{border-radius:22px!important;overflow:hidden!important;max-width:860px!important;background:#191b1a!important;box-shadow:0 16px 48px #0002!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:transparent!important;padding:30px 28px 24px!important;gap:14px!important;min-width:0!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth :is(h1,.brand-mark){align-self:center!important;margin-left:auto!important;margin-right:auto!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth h1{width:100%!important;text-align:center!important;font-size:30px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.5px!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth h1:after{font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:.04em!important;margin-top:10px!important;text-align:center!important}
html.theme-key-dark .auth-card-wrap .auth-card{background:transparent!important;padding:30px 28px!important}
html.theme-key-dark .auth-card-wrap .auth-card:before{text-align:center!important;font-size:12px!important;letter-spacing:.06em!important;padding-bottom:16px!important;margin-bottom:20px!important;color:#bdc9b5!important}
html.theme-key-dark .auth-card-wrap .auth-card .btn{border-radius:12px!important;min-height:46px!important}
html.theme-key-dark .auth-card-wrap .auth-card input{border-radius:10px!important}
html.theme-key-dark:has(.app-shell.theme-light) .auth-card-wrap .auth-card:before{color:#5d7050!important}
@media(max-width:700px){
html.theme-key-dark .auth-card-wrap{max-width:420px!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth{padding:26px 24px 8px!important;gap:12px!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth h1{font-size:28px!important}
html.theme-key-dark .auth-card-wrap .auth-card{padding:22px 24px 26px!important}
html.theme-key-dark .auth-card-wrap .login-brand-auth:after{width:150px!important;height:140px!important}
}

/* Native Zolix home has real components; no DOM injection or implicit grid cells. */
html.theme-key-dark .home-layout .home-bottom > * { grid-row:auto !important; min-width:0; }
html.theme-key-dark .home-layout .home-bottom > :is(.hn-dashboard,.home-compact-summary,.trial-offer-card,.action-stack,.server-status-card) { grid-column:1 / -1 !important; }
html.theme-key-dark .home-layout .home-bottom > .hn-dashboard { order:3; }
html.theme-key-dark .home-layout .home-bottom > .action-stack { order:4; }
html.theme-key-dark .home-layout .home-bottom > .trial-offer-card { order:2; }
html.theme-key-dark .home-layout .home-bottom > .home-compact-summary { order:0; }
html.theme-key-dark .home-layout .home-bottom > .home-balance-card { justify-content:flex-start !important; gap:14px !important; }
html.theme-key-dark .hn-dashboard { display:grid; gap:18px; }
html.theme-key-dark .login-brand-auth:after { background-image:url('/webapp-theme-assets/dark/brand-1.1.2.png'); }
html.theme-key-dark .loader .brand-mark { background-image:url('/webapp-theme-assets/dark/brand-1.1.2.png'); }
html.theme-key-dark .bottom-nav .rail-brand strong { text-decoration:none; }
@media(min-width:1024px) {
 html.theme-key-dark .bottom-nav button[data-nav-level="primary"] { flex-shrink:0 !important; }
 html.theme-key-dark .bottom-nav button[data-nav-level="primary"] .bottom-nav-label { max-width:none !important; overflow:visible !important; text-overflow:clip !important; }
 html.theme-key-dark .app-shell:has(.bottom-nav) .bottom-nav { flex-wrap:wrap !important; height:auto !important; overflow:visible !important; }
}
@media(max-width:1023px) {
 html.theme-key-dark .home-layout .home-bottom { grid-template-columns:minmax(0,1fr) !important; }
 html.theme-key-dark .home-layout .home-bottom > * { grid-column:1 !important; }
}

/* Compact primary actions: avoid the former 64/76px action tiles. */
html.theme-key-dark .home-layout .action-stack > .btn {
 min-height:44px !important; padding:9px 16px !important;
 font:500 14px/1.35 "Segoe UI",system-ui,sans-serif !important;
}
@media(max-width:589px) {
 html.theme-key-dark .home-layout .action-stack > .btn {
  min-height:48px !important; padding:10px 12px !important; font-size:13px !important;
 }
}

/* The native overview replaces the legacy home blocks. */
html.theme-key-dark .studio-home .hn-metric { padding:18px !important; }
html.theme-key-dark .studio-home .hn-metric .btn { min-height:32px !important; padding:6px 12px !important; font-size:12px !important; }
html.theme-key-dark .studio-home .hn-overview { margin-top:0 !important; }
html.theme-key-dark .studio-home .hn-metric-foot { white-space:normal; }
html.theme-key-dark .studio-home-actions .btn { min-height:44px !important; padding:9px 16px !important; }

html.theme-key-dark .studio-home .hn-refresh { border-radius:50% !important; width:40px !important; height:40px !important; min-width:40px !important; padding:0 !important; }
html.theme-key-dark .studio-home .hn-range .btn { border-radius:999px !important; }
html.theme-key-dark .studio-home .hn-metric { border-radius:14px !important; }

/* Native shared controls retain their explicit sizing within the preserved Studio design. */
html.theme-key-dark .support-admin-composer-actions .message-image-dropzone {
  box-sizing: border-box !important;
  height: var(--message-image-compact-height) !important;
  min-height: var(--message-image-compact-height) !important;
  padding-block: 0 !important;
}
html.theme-key-dark :is(.admin-screen-wrap, .dialog-card:has(.admin-btn))
  :is(input, button).ui-control[data-control-size],
html.theme-key-dark .webapp-pagination.webapp-pagination
  :is(input, button).ui-control[data-control-size],
html.theme-key-dark .copy-link-field.copy-link-field
  :is(input, button).ui-control[data-control-size] {
  box-sizing: border-box !important;
  height: var(--ui-control-height) !important;
  min-height: var(--ui-control-height) !important;
  padding-block: 0 !important;
}
html.theme-key-dark .admin-pagination .admin-pagination-page[aria-current="page"] {
  background: var(--hn-admin-accent) !important;
  color: var(--hn-admin-accent-text) !important;
}
html.theme-key-dark .ticket-message-bubble.ticket-message-bubble {
  padding-block: 6px !important;
}
html.theme-key-dark:has(.app-shell) .app-shell .ticket-message-bubble.ticket-message-bubble .ticket-message-text.ticket-message-text,
html.theme-key-dark:has(.app-shell) .app-shell .ticket-message-bubble.ticket-message-bubble .ticket-message-text.ticket-message-text p {
  color: inherit !important;
}
html.theme-key-dark .account-merge-dialog .account-merge-body .btn {
  white-space: normal !important;
  overflow-wrap: anywhere;
  min-width: 0 !important;
  max-width: 100%;
}
html.theme-key-dark :is(
  .partner-network-select-trigger, .partner-network-select-content, .partner-network-select-item
) {
  font-family: var(--font-ui, var(--font-sans, system-ui)) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}
html.theme-key-dark .partners-admin-page .partners-kpi-card {
  min-height: 96px;
}
@media (min-width: 601px) {
  html.theme-key-dark:has(.app-shell) .app-shell:has(.bottom-nav) .phone-screen {
    padding-top: max(104px, var(--content-safe-area-top), var(--studio-nav-content-offset, 0px)) !important;
  }
}
@media (max-width: 1023px) {
  html.theme-key-dark .app-shell:has(.bottom-nav)
    .phone-screen:has(.support-ticket-screen) > nav.bottom-nav.bottom-nav {
    display: none !important;
  }
}
html.theme-key-dark .phone-screen .ticket-composer-row.ticket-composer-row
  :is(.message-image-icon-trigger, .ticket-composer-send).ui-control {
  box-sizing: border-box !important;
  height: var(--ui-control-height) !important;
  min-height: var(--ui-control-height) !important;
  padding-block: 0 !important;
}
html.theme-key-dark:is(
  [data-telegram-fullscreen-requested="true"], [data-telegram-fullscreen="true"]
) .dialog {
  padding-top: max(12px, var(--content-safe-area-top)) !important;
  padding-bottom: max(12px, var(--content-safe-area-bottom)) !important;
}
html.theme-key-dark:is(
  [data-telegram-fullscreen-requested="true"], [data-telegram-fullscreen="true"]
) .dialog-card {
  max-height: calc(100dvh - var(--content-safe-area-top) - var(--content-safe-area-bottom) - 24px) !important;
}
@media (max-width: 600px) {
  html.theme-key-dark .support-admin-composer-actions {
    --message-image-compact-height: 44px;
  }
  html.theme-key-dark .phone-screen .support-screen--create .ProseMirror {
    min-height: max(240px, calc(100dvh - 360px)) !important;
  }
  html.theme-key-dark[data-telegram-fullscreen-requested="true"]
    .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav,
  html.theme-key-dark[data-telegram-fullscreen="true"]
    .app-shell:has(.bottom-nav) nav.bottom-nav.bottom-nav {
    bottom: max(6px, var(--content-safe-area-bottom)) !important;
  }
}
