/* ZNY QuickLink customer center — compact, responsive, lightweight */
.dashboard-page.authenticated {
  --uc-bg: #eef4fc;
  --uc-panel: rgba(255,255,255,.9);
  --uc-panel-strong: #fff;
  --uc-soft: #e7f0fc;
  --uc-line: rgba(29,53,89,.12);
  --uc-line-strong: rgba(29,53,89,.2);
  --uc-ink: #14243b;
  --uc-muted: #586b85;
  --uc-subtle: #71829a;
  --uc-blue: #346fd1;
  --uc-blue-deep: #26569e;
  --uc-green: #168160;
  --uc-shadow: 0 14px 34px rgba(39,67,108,.07);
  background: var(--uc-bg);
  color: var(--uc-ink);
}
:root[data-theme="dark"] .dashboard-page.authenticated {
  --uc-bg: #0c1421;
  --uc-panel: #152338;
  --uc-panel-strong: #192b43;
  --uc-soft: #203550;
  --uc-line: rgba(175,201,235,.12);
  --uc-line-strong: rgba(175,201,235,.2);
  --uc-ink: #eaf2ff;
  --uc-muted: #afc1da;
  --uc-subtle: #8fa4c0;
  --uc-blue: #82b4ff;
  --uc-blue-deep: #a5cbff;
  --uc-green: #69d5aa;
  --uc-shadow: 0 16px 38px rgba(0,0,0,.2);
  background: var(--uc-bg);
  color: var(--uc-ink);
}
.dashboard-page.authenticated .bg::before {
  background: radial-gradient(ellipse 72% 42% at 86% 0%, rgba(79,137,218,.09), transparent 62%), linear-gradient(180deg,var(--uc-bg),var(--uc-bg));
}
.dashboard-page.authenticated .bg .orb,
.dashboard-page.authenticated .bg .grid { display:none; }
.dashboard-page.authenticated .main {width:min(100%,1600px);max-width:1600px;padding:20px 26px 38px;}
.dashboard-page.authenticated .layout {grid-template-columns:254px minmax(0,1fr);gap:24px;align-items:start;}
.dashboard-page.authenticated .sidebar {
  position:sticky;top:78px;height:calc(100vh - 98px);min-height:540px;max-height:860px;
  padding:18px 14px 14px;display:flex;flex-direction:column;align-items:stretch;gap:5px;
  overflow:auto;background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:20px;
  box-shadow:var(--uc-shadow);backdrop-filter:none;
}
.center-side-brand {display:flex;align-items:center;gap:11px;padding:6px 8px 20px;margin:0 0 8px;border-bottom:1px solid var(--uc-line);font-size:15px;font-weight:800;letter-spacing:-.015em;color:var(--uc-ink);}
.center-side-brand img {width:34px;height:34px;flex:0 0 34px;object-fit:cover;border:1px solid var(--uc-line);border-radius:11px;background:var(--uc-soft);}
.center-side-caption {padding:13px 10px 5px;color:var(--uc-subtle);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;}
.dashboard-page.authenticated .nav-item {min-height:46px;padding:10px 12px;gap:12px;border-radius:12px;color:var(--uc-muted);font-size:13px;font-weight:650;transition:background .16s,color .16s,border-color .16s;}
.dashboard-page.authenticated .nav-item:hover {background:var(--uc-soft);color:var(--uc-ink);}
.dashboard-page.authenticated .nav-item.active {background:linear-gradient(100deg,rgba(66,125,207,.16),rgba(66,125,207,.07));color:var(--uc-blue-deep);}
.dashboard-page.authenticated .nav-item.active::before {display:none;}
.dashboard-page.authenticated .nav-icon {width:19px;height:19px;flex:0 0 19px;color:currentColor;}
.center-side-bottom {margin-top:auto;padding:14px 4px 2px;border-top:1px solid var(--uc-line);}
.center-side-bottom button {width:100%;min-height:42px;padding:0 12px;border:1px solid var(--uc-line);border-radius:11px;background:transparent;color:var(--uc-muted);text-align:left;font-size:12px;font-weight:650;}
.center-side-bottom button:hover {border-color:var(--uc-line-strong);background:var(--uc-soft);color:var(--uc-ink);}
.dashboard-page.authenticated .center-content {min-width:0;}
.center-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:3px 0 18px;}
.center-heading h1 {margin:0;color:var(--uc-ink);font-size:clamp(23px,2.3vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.035em;}
.center-heading p {margin:7px 0 0;color:var(--uc-muted);font-size:13px;}
.center-date {flex:0 0 auto;padding:7px 10px;border:1px solid var(--uc-line);border-radius:9px;background:var(--uc-panel);color:var(--uc-subtle);font-size:11px;font-variant-numeric:tabular-nums;}
.center-hero {position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:220px;margin-bottom:18px;padding:clamp(24px,4vw,40px);overflow:hidden;border:1px solid rgba(80,133,205,.18);border-radius:21px;background:linear-gradient(112deg,#dceafd 0%,#e9f3ff 58%,#e3f4f1 100%);box-shadow:0 16px 36px rgba(39,77,130,.09);}
.center-hero::after {content:"";position:absolute;right:13%;top:-155px;width:360px;height:360px;border:1px solid rgba(73,126,197,.12);border-radius:50%;box-shadow:0 0 0 32px rgba(255,255,255,.16),0 0 0 64px rgba(255,255,255,.1);pointer-events:none;}
:root[data-theme="dark"] .center-hero {border-color:rgba(129,177,239,.18);background:linear-gradient(112deg,#1e3a5d 0%,#23476a 58%,#1e4947 100%);}
:root[data-theme="dark"] .center-hero::after {border-color:rgba(187,215,250,.12);box-shadow:0 0 0 32px rgba(255,255,255,.035),0 0 0 64px rgba(255,255,255,.025);}
.center-hero>div:first-child {position:relative;z-index:1;max-width:680px;}
.hero-kicker {margin-bottom:12px;color:#396daf;font-size:10px;font-weight:850;letter-spacing:.16em;}
:root[data-theme="dark"] .hero-kicker {color:#b8d6ff;}
.center-hero h2 {margin:0;color:#142843;font-size:clamp(25px,3.4vw,39px);font-weight:850;letter-spacing:-.035em;line-height:1.17;}
.center-hero p {max-width:540px;margin:11px 0 20px;color:#4d627e;font-size:13px;line-height:1.75;}
:root[data-theme="dark"] .center-hero h2 {color:#f1f6ff;}
:root[data-theme="dark"] .center-hero p {color:#c3d4e9;}
.hero-action {min-height:41px;padding:0 16px;border-radius:11px;background:linear-gradient(135deg,#3e7ed3,#3165b4);color:#fff;font-size:12px;font-weight:750;box-shadow:0 7px 17px rgba(40,91,160,.18);}
.hero-action:hover {filter:brightness(1.05);transform:translateY(-1px);}
.hero-action span {margin-left:10px;font-size:17px;line-height:0;vertical-align:-1px;}
.hero-art {position:relative;z-index:1;display:grid;place-items:center;width:136px;height:136px;flex:0 0 136px;border:1px solid rgba(65,115,179,.15);border-radius:38px;background:rgba(255,255,255,.35);color:#437dc4;transform:rotate(4deg);}
.hero-art svg {width:74px;height:74px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
:root[data-theme="dark"] .hero-art {border-color:rgba(194,220,250,.16);background:rgba(255,255,255,.06);color:#a8ceff;}
.dashboard-page.authenticated .stat-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 17px;}
.dashboard-page.authenticated .stat-card {position:relative;min-width:0;min-height:132px;padding:18px 18px 16px;overflow:hidden;border:1px solid var(--uc-line);border-radius:16px;background:var(--uc-panel);box-shadow:var(--uc-shadow);}
.dashboard-page.authenticated .stat-card::after {display:none;}
.dashboard-page.authenticated .stat-label {color:var(--uc-muted);font-size:11px;font-weight:700;}
.dashboard-page.authenticated .stat-value {margin-top:10px;color:var(--uc-ink);font-size:clamp(19px,2vw,25px);font-weight:850;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere;}
.dashboard-page.authenticated .stat-value.blue {color:var(--uc-blue);}
.dashboard-page.authenticated .stat-sub {margin-top:7px;color:var(--uc-subtle);font-size:10px;line-height:1.45;}
.dashboard-page.authenticated .bar {height:6px;margin-top:13px;background:var(--uc-soft);}
.dashboard-page.authenticated .bar-fill {border-radius:inherit;background:linear-gradient(90deg,#4786de,#65b3b0);}
.center-columns {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:16px;align-items:stretch;}
.center-panel,.dashboard-page.authenticated .card {min-width:0;padding:20px;border:1px solid var(--uc-line);border-radius:17px;background:var(--uc-panel);box-shadow:var(--uc-shadow);color:var(--uc-ink);}
.dashboard-page.authenticated .card {margin:0 0 15px;}
.dashboard-page.authenticated .card:hover {border-color:var(--uc-line);}
.dashboard-page.authenticated .card-title {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;color:var(--uc-ink);font-size:14px;font-weight:800;}
.center-plan-status {padding:4px 9px;border-radius:999px;background:rgba(22,129,96,.1);color:var(--uc-green);font-size:10px;font-weight:800;white-space:nowrap;}
.plan-large {margin:10px 0 5px;color:var(--uc-ink);font-size:clamp(19px,2.3vw,27px);font-weight:850;letter-spacing:-.03em;}
.center-plan-detail {margin:0 0 17px;color:var(--uc-muted);font-size:12px;line-height:1.7;}
.center-quicklinks {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px;}
.center-quicklink {display:flex;align-items:center;gap:9px;min-width:0;min-height:58px;padding:9px 10px;border:1px solid var(--uc-line);border-radius:12px;background:var(--uc-panel-strong);color:var(--uc-ink);text-align:left;font-size:11px;font-weight:750;}
.center-quicklink:hover {border-color:rgba(61,125,209,.38);background:var(--uc-soft);}
.quick-icon {display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:var(--uc-soft);color:var(--uc-blue);font-size:15px;font-weight:800;}
.center-quicklink small {display:block;margin-top:2px;color:var(--uc-subtle);font-size:9px;line-height:1.4;font-weight:550;}
.notice-list {display:grid;gap:0;}
.notice-row {display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid var(--uc-line);color:var(--uc-muted);font-size:12px;line-height:1.65;}
.notice-row:last-child {border-bottom:0;}
.notice-dot {width:7px;height:7px;flex:0 0 7px;margin-top:7px;border-radius:50%;background:#4d89da;}
.dashboard-page.authenticated .page-head {display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:2px 0 20px;}
.dashboard-page.authenticated .page-head h1 {margin:0;color:var(--uc-ink);font-size:clamp(23px,2.6vw,32px);font-weight:850;letter-spacing:-.035em;line-height:1.2;}
.dashboard-page.authenticated .page-head p {margin:7px 0 0;color:var(--uc-muted);font-size:13px;}
.dashboard-page.authenticated .node-toolbar {margin:0 0 14px;padding:12px 14px;border-color:var(--uc-line);border-radius:12px;background:var(--uc-panel-strong);}
.dashboard-page.authenticated .node-health-summary {color:var(--uc-muted);font-size:12px;font-weight:700;}
.dashboard-page.authenticated .node-search {border-color:var(--uc-line-strong);background:var(--uc-panel-strong);color:var(--uc-ink);}
.dashboard-page.authenticated .node-refresh,.dashboard-page.authenticated .copy-btn {min-height:39px;padding:0 14px;border:1px solid rgba(52,111,209,.2);border-radius:10px;background:rgba(52,111,209,.1);color:var(--uc-blue-deep);font-size:12px;font-weight:750;}
.dashboard-page.authenticated .node-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.dashboard-page.authenticated .country-node {min-width:0;padding:12px 13px;border-color:var(--uc-line);border-radius:12px;background:var(--uc-panel-strong);}
.dashboard-page.authenticated .node-name {color:var(--uc-ink);font-size:12px;font-weight:700;overflow-wrap:anywhere;}
.dashboard-page.authenticated .node-meta {color:var(--uc-subtle);font-size:10px;}
.dashboard-page.authenticated .node-status {font-size:11px;font-weight:800;white-space:nowrap;}
.dashboard-page.authenticated .node-status.on {color:var(--uc-green);}
.dashboard-page.authenticated .node-status.off {color:#c14456;}
:root[data-theme="dark"] .dashboard-page.authenticated .node-status.off {color:#ff939c;}
.dashboard-page.authenticated .node-status.unverified,.dashboard-page.authenticated .node-status.error {color:#c14456;}
.dashboard-page.authenticated .node-status .dot {width:7px;height:7px;}
.dashboard-page.authenticated .plan-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:15px;}
.dashboard-page.authenticated .plan-card {padding:20px;border-color:var(--uc-line);border-radius:17px;background:var(--uc-panel);box-shadow:var(--uc-shadow);}
.dashboard-page.authenticated .plan-card:hover {border-color:rgba(61,125,209,.38);transform:translateY(-2px);}
.dashboard-page.authenticated .plan-name {color:var(--uc-ink);font-size:16px;font-weight:800;}
.dashboard-page.authenticated .plan-price {color:var(--uc-ink);font-size:29px;font-weight:850;}
.dashboard-page.authenticated .plan-price small,.dashboard-page.authenticated .plan-cycle,.dashboard-page.authenticated .plan-spec {color:var(--uc-muted);}
.dashboard-page.authenticated .plan-period {border-color:var(--uc-line);background:var(--uc-soft);color:var(--uc-ink);}
.dashboard-page.authenticated .plan-period:hover {border-color:var(--uc-blue);color:var(--uc-blue-deep);}
.dashboard-page.authenticated .plan-hint {color:var(--uc-subtle);}
.dashboard-page.authenticated .sub-url {gap:10px;}
.dashboard-page.authenticated .sub-input {min-width:0;border-color:var(--uc-line-strong);border-radius:10px;background:var(--uc-panel-strong);color:var(--uc-ink);}
.dashboard-page.authenticated .toast {border:1px solid var(--uc-line);border-radius:12px;background:var(--uc-panel-strong);color:var(--uc-ink);box-shadow:var(--uc-shadow);}
.dashboard-page.authenticated :focus-visible {outline:3px solid rgba(52,111,209,.34);outline-offset:2px;}
@media (max-width:1120px) {
  .dashboard-page.authenticated .layout {grid-template-columns:218px minmax(0,1fr);gap:17px;}
  .dashboard-page.authenticated .main {padding:18px 18px 30px;}
  .dashboard-page.authenticated .stat-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .center-columns {grid-template-columns:1fr;}
}
@media (max-width:760px) {
  .dashboard-page.authenticated .main {width:100%;padding:12px 12px 24px;}
  .dashboard-page.authenticated .layout {display:block;}
  .dashboard-page.authenticated .sidebar {position:sticky;z-index:60;top:54px;height:auto;min-height:0;max-height:none;margin:0 0 15px;padding:8px;flex-direction:row;gap:4px;overflow-x:auto;overflow-y:hidden;border-radius:13px;scrollbar-width:none;}
  .dashboard-page.authenticated .sidebar::-webkit-scrollbar {display:none;}
  .center-side-brand,.center-side-caption,.center-side-bottom {display:none;}
  .dashboard-page.authenticated .nav-item {flex:0 0 auto;min-height:39px;padding:8px 11px;gap:7px;font-size:11px;}
  .dashboard-page.authenticated .nav-icon {width:16px;height:16px;flex-basis:16px;}
  .center-heading {align-items:flex-start;margin:6px 2px 14px;}
  .center-heading h1 {font-size:22px;}
  .center-heading p {font-size:11px;}
  .center-date {padding:6px 7px;font-size:9px;}
  .center-hero {min-height:0;margin-bottom:12px;padding:22px 19px;border-radius:16px;}
  .center-hero::after {right:-175px;top:-155px;width:310px;height:310px;}
  .center-hero h2 {font-size:25px;}
  .center-hero p {max-width:370px;margin:8px 0 15px;font-size:11px;}
  .hero-art {width:75px;height:75px;flex-basis:75px;border-radius:23px;}
  .hero-art svg {width:42px;height:42px;}
  .dashboard-page.authenticated .stat-grid {gap:9px;margin-bottom:12px;}
  .dashboard-page.authenticated .stat-card {min-height:108px;padding:13px;border-radius:13px;}
  .dashboard-page.authenticated .stat-value {font-size:18px;}
  .center-panel,.dashboard-page.authenticated .card {padding:15px;border-radius:14px;}
  .center-quicklinks {grid-template-columns:1fr;}
  .center-quicklink {min-height:49px;}
  .dashboard-page.authenticated .node-list {grid-template-columns:1fr;}
  .dashboard-page.authenticated .page-head {align-items:flex-start;margin:5px 2px 14px;}
  .dashboard-page.authenticated .page-head h1 {font-size:23px;}
  .dashboard-page.authenticated .page-head p {font-size:11px;}
}
@media (max-width:430px) {
  .dashboard-page.authenticated .topbar {height:52px;padding:0 12px;}
  .dashboard-page.authenticated .topbar-right {gap:8px;}
  .dashboard-page.authenticated .theme-toggle {min-height:34px;padding:0 8px;font-size:10px;}
  .dashboard-page.authenticated .brand {font-size:13px;}
  .dashboard-page.authenticated .brand img {width:25px;height:25px;}
  .center-hero {padding:19px 15px;}
  .hero-art {display:none;}
  .dashboard-page.authenticated .stat-card {min-height:102px;padding:11px;}
  .dashboard-page.authenticated .stat-label {font-size:9px;}
  .dashboard-page.authenticated .stat-value {font-size:16px;}
  .dashboard-page.authenticated .stat-sub {font-size:9px;}
  .center-date {display:none;}
  .dashboard-page.authenticated .page-head {gap:8px;}
  .dashboard-page.authenticated .node-refresh {min-height:34px;padding:0 10px;font-size:10px;}
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-page.authenticated *, .dashboard-page.authenticated *::before, .dashboard-page.authenticated *::after {scroll-behavior:auto!important;animation:none!important;transition:none!important;}
}
.subscription-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.subscription-card {min-width:0;}
.subscription-format {padding:4px 8px;border:1px solid var(--uc-line);border-radius:7px;background:var(--uc-soft);color:var(--uc-blue-deep);font-size:10px;font-weight:800;letter-spacing:.06em;}
.subscription-help {margin:-3px 0 14px;color:var(--uc-muted);font-size:12px;line-height:1.7;}
.subscription-card .sub-url {min-width:0;}
.subscription-card .sub-input {width:100%;}
@media (max-width:760px) {.subscription-grid {grid-template-columns:1fr;gap:10px;}}