:root {
  color-scheme: light;
  --nen-bg: #f4f7fb;
  --nen-surface: #ffffff;
  --nen-surface-soft: #f8fafc;
  --nen-surface-hover: #f1f5f9;
  --nen-text: #0f172a;
  --nen-text-soft: #334155;
  --nen-muted: #64748b;
  --nen-line: #e2e8f0;
  --nen-line-strong: #cbd5e1;
  --nen-primary: #2563eb;
  --nen-primary-hover: #1d4ed8;
  --nen-primary-soft: #eff6ff;
  --nen-success: #059669;
  --nen-success-soft: #ecfdf5;
  --nen-warning: #c2410c;
  --nen-warning-soft: #fff7ed;
  --nen-danger: #dc2626;
  --nen-nav: #ffffff;
  --nen-nav-soft: #f8fafc;
  --nen-sidebar-text: #475569;
  --nen-sidebar-title: #0f172a;
  --nen-sidebar-group: #94a3b8;
  --nen-sidebar-border: #e2e8f0;
  --nen-sidebar-icon: #f1f5f9;
  --nen-sidebar-hover: #f8fafc;
  --nen-sidebar-hover-border: #e2e8f0;
  --nen-sidebar-hover-text: #0f172a;
  --nen-sidebar-active: #eff6ff;
  --nen-sidebar-active-soft: #f8fbff;
  --nen-sidebar-active-border: #bfdbfe;
  --nen-sidebar-active-text: #1d4ed8;
  --nen-sidebar-active-icon: #dbeafe;
  --nen-sidebar-purchase: #2563eb;
  --nen-sidebar-shadow: 10px 0 30px rgba(15, 23, 42, .035);
  --nen-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  --nen-shadow-soft: 0 4px 16px rgba(15, 23, 42, .05);
}

html.dark {
  color-scheme: dark;
  --nen-bg: #080d17;
  --nen-surface: #101827;
  --nen-surface-soft: #151f31;
  --nen-surface-hover: #1b283d;
  --nen-text: #f8fafc;
  --nen-text-soft: #d6deea;
  --nen-muted: #94a3b8;
  --nen-line: #243249;
  --nen-line-strong: #34445e;
  --nen-primary: #60a5fa;
  --nen-primary-hover: #93c5fd;
  --nen-primary-soft: #13294a;
  --nen-success: #34d399;
  --nen-success-soft: #0c2d26;
  --nen-warning: #fb923c;
  --nen-warning-soft: #382013;
  --nen-danger: #f87171;
  --nen-nav: #111827;
  --nen-nav-soft: #0f172a;
  --nen-sidebar-text: #cbd5e1;
  --nen-sidebar-title: #f8fafc;
  --nen-sidebar-group: #7f8ea6;
  --nen-sidebar-border: #263247;
  --nen-sidebar-icon: rgba(148, 163, 184, .08);
  --nen-sidebar-hover: rgba(148, 163, 184, .09);
  --nen-sidebar-hover-border: rgba(148, 163, 184, .15);
  --nen-sidebar-hover-text: #f8fafc;
  --nen-sidebar-active: rgba(37, 99, 235, .28);
  --nen-sidebar-active-soft: rgba(37, 99, 235, .12);
  --nen-sidebar-active-border: rgba(96, 165, 250, .24);
  --nen-sidebar-active-text: #ffffff;
  --nen-sidebar-active-icon: rgba(59, 130, 246, .28);
  --nen-sidebar-purchase: #93c5fd;
  --nen-sidebar-shadow: 10px 0 32px rgba(0, 0, 0, .18);
  --nen-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --nen-shadow-soft: 0 6px 18px rgba(0, 0, 0, .2);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  background: var(--nen-bg) !important;
  color: var(--nen-text);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nen-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% -10%, rgba(37, 99, 235, .09), transparent 31rem),
    radial-gradient(circle at 15% 100%, rgba(14, 165, 233, .05), transparent 28rem);
}

html.dark .nen-ambient {
  background:
    radial-gradient(circle at 78% -8%, rgba(37, 99, 235, .16), transparent 32rem),
    radial-gradient(circle at 15% 100%, rgba(14, 165, 233, .08), transparent 30rem);
}

/* XBoard / Naive UI shell */
.n-layout,
.n-layout-content,
.n-layout-scroll-container,
.cus-scroll-y {
  background: transparent !important;
}

.n-layout-sider,
.n-layout-sider.nen-sidebar {
  background:
    radial-gradient(circle at 20% 0, color-mix(in srgb, var(--nen-primary) 6%, transparent), transparent 190px),
    linear-gradient(180deg, var(--nen-nav) 0%, var(--nen-nav-soft) 100%) !important;
  border-right: 1px solid var(--nen-sidebar-border) !important;
  box-shadow: var(--nen-sidebar-shadow);
}

.nen-sidebar .n-layout-sider-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--nen-sidebar-text) 22%, transparent) transparent;
}

.nen-sidebar .nen-sidebar-brand,
.nen-sidebar .h-15:has(.title-text) {
  position: relative;
  min-height: 68px !important;
  margin: 0 10px 8px;
  border-bottom: 1px solid var(--nen-sidebar-border);
}

.nen-sidebar .title-text {
  color: var(--nen-sidebar-title) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: -.01em;
}

.nen-sidebar .title-text::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--nen-primary) 10%, transparent);
  vertical-align: 1px;
}

.nen-sidebar .side-menu {
  padding: 2px 9px 24px !important;
}

.nen-sidebar .n-menu-item {
  margin: 3px 0 !important;
}

.nen-sidebar .n-menu-item-content {
  position: relative;
  min-height: 44px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  border-radius: 11px !important;
  color: var(--nen-sidebar-text) !important;
  opacity: 1 !important;
}

.nen-sidebar .side-menu:not(.n-menu--collapsed) .n-menu-item-content::before,
.nen-sidebar .n-menu-item-content::before {
  content: "";
  position: absolute;
  inset: 0 !important;
  z-index: 0;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.nen-sidebar .n-menu-item-content-header,
.nen-sidebar .n-menu-item-content__icon,
.nen-sidebar .n-menu-item-content__arrow {
  position: relative;
  z-index: 1;
  color: var(--nen-sidebar-text) !important;
  opacity: 1 !important;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nen-sidebar .n-menu-item-content-header {
  font-size: 13px !important;
  font-weight: 560 !important;
  letter-spacing: .005em;
}

.nen-sidebar .n-menu-item-content__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  margin-right: 7px !important;
  border-radius: 9px;
  background: var(--nen-sidebar-icon);
}

.nen-sidebar .n-menu-item-content__icon svg {
  width: 17px !important;
  height: 17px !important;
}

.nen-sidebar .n-menu-item-group-title {
  height: auto !important;
  min-height: 0 !important;
  margin: 17px 0 6px !important;
  padding: 0 12px !important;
  color: var(--nen-sidebar-group) !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: .12em;
  line-height: 1.4 !important;
  opacity: 1 !important;
}

.n-layout-sider.nen-sidebar .side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover::before,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content:hover::before {
  border-color: var(--nen-sidebar-hover-border) !important;
  background-color: var(--nen-sidebar-hover) !important;
  background-image: none !important;
}

.nen-sidebar .n-menu-item-content:hover .n-menu-item-content-header,
.nen-sidebar .n-menu-item-content:hover .n-menu-item-content__icon,
.nen-sidebar .n-menu-item-content:hover .n-menu-item-content__arrow {
  color: var(--nen-sidebar-hover-text) !important;
}

.nen-sidebar .n-menu-item-content:hover .n-menu-item-content__icon {
  background: var(--nen-sidebar-hover);
  transform: translateX(1px);
}

.n-layout-sider.nen-sidebar .side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected::before,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content.n-menu-item-content--selected::before {
  border: 1px solid var(--nen-sidebar-active-border) !important;
  background-color: var(--nen-sidebar-active) !important;
  background-image: linear-gradient(90deg, var(--nen-sidebar-active), var(--nen-sidebar-active-soft)) !important;
  box-shadow: inset 3px 0 0 var(--nen-primary) !important;
}

.nen-sidebar .n-menu-item-content--selected .n-menu-item-content-header,
.nen-sidebar .n-menu-item-content--selected .n-menu-item-content__icon,
.nen-sidebar .n-menu-item-content--selected .n-menu-item-content__arrow {
  color: var(--nen-sidebar-active-text) !important;
  opacity: 1 !important;
}

.nen-sidebar .n-menu-item-content--selected .n-menu-item-content__icon {
  background: var(--nen-sidebar-active-icon);
}

.nen-sidebar .nen-menu-purchase:not(.n-menu-item-content--selected) .n-menu-item-content-header,
.nen-sidebar .nen-menu-purchase:not(.n-menu-item-content--selected) .n-menu-item-content__icon {
  color: var(--nen-sidebar-purchase) !important;
}

.nen-sidebar .nen-menu-purchase:not(.n-menu-item-content--selected)::after {
  content: "";
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 6px;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nen-sidebar-purchase);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--nen-sidebar-purchase) 12%, transparent);
}

/* Keep Naive UI's late-injected menu theme from washing out sidebar text. */
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content .n-menu-item-content-header,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content .n-menu-item-content__icon,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content .n-menu-item-content__arrow {
  color: var(--nen-sidebar-text) !important;
  opacity: 1 !important;
}

.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content:hover .n-menu-item-content-header,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content:hover .n-menu-item-content__icon,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content:hover .n-menu-item-content__arrow {
  color: var(--nen-sidebar-hover-text) !important;
}

.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content.n-menu-item-content--selected .n-menu-item-content-header,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content.n-menu-item-content--selected .n-menu-item-content__icon,
.n-layout-sider.nen-sidebar .side-menu .n-menu-item-content.n-menu-item-content--selected .n-menu-item-content__arrow {
  color: var(--nen-sidebar-active-text) !important;
}

.n-layout-sider.nen-sidebar .side-menu .nen-menu-purchase:not(.n-menu-item-content--selected) .n-menu-item-content-header,
.n-layout-sider.nen-sidebar .side-menu .nen-menu-purchase:not(.n-menu-item-content--selected) .n-menu-item-content__icon {
  color: var(--nen-sidebar-purchase) !important;
}

.nen-sidebar .n-menu--collapsed .n-menu-item-content {
  justify-content: center;
  padding: 0 !important;
}

.nen-sidebar .n-menu--collapsed .n-menu-item-content__icon {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
}

.nen-sidebar .n-menu--collapsed .nen-menu-purchase::after,
.nen-sidebar .n-menu--collapsed .title-text::before {
  display: none;
}

.nen-sidebar:has(.n-menu--collapsed) .title-text {
  display: none !important;
}

.nen-sidebar:has(.n-menu--collapsed) .nen-sidebar-brand,
.nen-sidebar:has(.n-menu--collapsed) .h-15:has(.title-text) {
  min-height: 58px !important;
  margin-inline: 8px;
}

.n-layout-header {
  background: color-mix(in srgb, var(--nen-surface) 94%, transparent) !important;
  border-bottom: 1px solid var(--nen-line) !important;
  color: var(--nen-text) !important;
  backdrop-filter: blur(14px);
}

.n-card,
.n-modal,
.n-dialog,
.n-drawer,
.n-drawer-content,
.n-popover,
.n-dropdown-menu {
  background: var(--nen-surface) !important;
  border-color: var(--nen-line) !important;
  color: var(--nen-text) !important;
}

.n-card {
  border-radius: 18px !important;
  box-shadow: var(--nen-shadow-soft) !important;
}

.n-card-header,
.n-card__content,
.n-card__footer,
.n-list,
.n-list-item,
.n-thing,
.n-thing-main__content,
.n-text,
.n-form-item-label,
.n-data-table,
.n-data-table-th,
.n-data-table-td {
  color: var(--nen-text) !important;
}

.n-input,
.n-input-wrapper,
.n-base-selection,
.n-base-selection-label {
  background: var(--nen-surface-soft) !important;
  color: var(--nen-text) !important;
  border-color: var(--nen-line) !important;
}

.n-button {
  border-radius: 10px !important;
}

.cus-scroll-y.nen-dashboard-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 18px !important;
}

.nen-dashboard-layout > #nen-import-center {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 0 16px !important;
}

.nen-dashboard-layout > :not(#nen-import-center) {
  flex: 0 0 auto;
  width: 100% !important;
  max-width: none !important;
}

.nen-dashboard-announcement,
.nen-dashboard-announcement .n-card,
.nen-dashboard-announcement .n-card__content,
.nen-dashboard-announcement .n-carousel,
.nen-dashboard-announcement .n-carousel__slides {
  min-height: 0 !important;
  height: auto !important;
}

.nen-dashboard-announcement .n-card__content {
  padding: 18px 20px !important;
}

.nen-dashboard-announcement .carousel-img {
  height: 160px !important;
  min-height: 160px !important;
}

/* First-screen subscription center */
.nen-import-center {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(510px, 1.18fr);
  overflow: hidden;
  min-height: 290px;
  background: var(--nen-surface);
  border: 1px solid var(--nen-line);
  border-radius: 22px;
  box-shadow: var(--nen-shadow);
  color: var(--nen-text);
  isolation: isolate;
}

.nen-import-center::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .1);
  filter: blur(2px);
  z-index: -1;
}

.nen-import-intro {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background:
    linear-gradient(145deg, var(--nen-primary-soft), transparent 68%);
  border-right: 1px solid var(--nen-line);
}

.nen-import-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--nen-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.nen-import-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nen-primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--nen-primary) 13%, transparent);
}

.nen-import-title {
  margin: 0;
  color: var(--nen-text);
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.nen-import-copy {
  max-width: 390px;
  margin: 11px 0 21px;
  color: var(--nen-muted);
  font-size: 14px;
  line-height: 1.7;
}

.nen-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 13px 14px;
  background: color-mix(in srgb, var(--nen-surface) 72%, transparent);
  border: 1px solid var(--nen-line);
  border-radius: 13px;
}

.nen-plan-summary > div {
  min-width: 0;
}

.nen-plan-name,
.nen-plan-meta {
  display: block;
}

.nen-plan-name {
  overflow: hidden;
  color: var(--nen-text);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-plan-meta {
  margin-top: 3px;
  color: var(--nen-muted);
  font-size: 11px;
}

.nen-plan-chip {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--nen-surface-soft);
  color: var(--nen-muted);
  font-size: 11px;
  font-weight: 700;
}

.nen-plan-chip[data-tone="success"] {
  background: var(--nen-success-soft);
  color: var(--nen-success);
}

.nen-plan-chip[data-tone="warning"] {
  background: var(--nen-warning-soft);
  color: var(--nen-warning);
}

.nen-import-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.nen-copy-primary,
.nen-plan-link,
.nen-client-button,
.nen-plan-cancel,
.nen-buy-plan {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nen-copy-primary {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--nen-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--nen-primary) 25%, transparent);
  transition: transform .18s ease, background .18s ease;
}

html.dark .nen-copy-primary {
  color: #08111f;
}

.nen-copy-primary:hover {
  background: var(--nen-primary-hover);
  transform: translateY(-1px);
}

.nen-copy-primary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nen-plan-link {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid var(--nen-line);
  border-radius: 11px;
  background: var(--nen-surface);
  color: var(--nen-text-soft);
  font-size: 13px;
  font-weight: 650;
}

.nen-plan-link:hover {
  border-color: var(--nen-line-strong);
  background: var(--nen-surface-hover);
}

.nen-import-status {
  min-height: 16px;
  margin: 9px 0 -3px;
  color: var(--nen-muted);
  font-size: 11px;
}

.nen-import-status[data-tone="success"] {
  color: var(--nen-success);
}

.nen-import-status[data-tone="error"] {
  color: var(--nen-danger);
}

.nen-client-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px;
}

.nen-client-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.nen-client-heading span {
  display: block;
  margin-bottom: 3px;
  color: var(--nen-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.nen-client-heading h2 {
  margin: 0;
  color: var(--nen-text);
  font-size: 18px;
  letter-spacing: -.015em;
}

.nen-client-heading .nen-safe-label {
  margin: 0 0 2px;
  color: var(--nen-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.nen-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.nen-client-button {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  min-height: 67px;
  padding: 10px 11px;
  text-align: left;
  border: 1px solid var(--nen-line);
  border-radius: 13px;
  background: var(--nen-surface-soft);
  color: var(--nen-text);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nen-client-button:hover {
  border-color: color-mix(in srgb, var(--nen-primary) 45%, var(--nen-line));
  background: var(--nen-surface);
  box-shadow: var(--nen-shadow-soft);
  transform: translateY(-1px);
}

.nen-client-button[aria-busy="true"],
.nen-copy-primary[aria-busy="true"] {
  cursor: wait;
  opacity: .68;
}

.nen-client-logo {
  width: 39px;
  height: 39px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}

.nen-client-copy,
.nen-client-label,
.nen-client-platform {
  display: block;
  min-width: 0;
}

.nen-client-label {
  overflow: hidden;
  color: var(--nen-text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-client-platform {
  margin-top: 3px;
  color: var(--nen-muted);
  font-size: 10px;
}

.nen-client-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--nen-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

/* Purchase guard dialog */
.nen-plan-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, .64);
  backdrop-filter: blur(8px);
  animation: nen-fade .18s ease-out;
}

.nen-plan-dialog {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--nen-line);
  border-radius: 22px;
  background: var(--nen-surface);
  color: var(--nen-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  animation: nen-rise .22s ease-out;
}

.nen-plan-dialog-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
}

.nen-plan-dialog-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.nen-dialog-kicker {
  color: var(--nen-warning);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
}

.nen-plan-dialog h2 {
  margin: 7px 0 9px;
  color: var(--nen-text);
  font-size: 23px;
  letter-spacing: -.025em;
}

.nen-plan-dialog p {
  margin: 0;
  color: var(--nen-muted);
  font-size: 14px;
  line-height: 1.75;
}

.nen-plan-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.nen-plan-cancel,
.nen-buy-plan {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.nen-plan-cancel {
  border: 1px solid var(--nen-line);
  background: var(--nen-surface-soft);
  color: var(--nen-text-soft);
}

.nen-buy-plan {
  background: var(--nen-primary);
  color: #fff;
}

html.dark .nen-buy-plan {
  color: #08111f;
}

@keyframes nen-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nen-rise {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
  .nen-import-center {
    grid-template-columns: minmax(280px, .72fr) minmax(420px, 1fr);
  }

  .nen-import-intro {
    padding: 25px;
  }

  .nen-client-panel {
    padding: 24px;
  }

  .nen-client-button {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
  }

  .nen-client-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 860px) {
  .cus-scroll-y.nen-dashboard-layout {
    padding: 14px !important;
  }

  .nen-import-center {
    grid-template-columns: 1fr;
  }

  .nen-import-intro {
    border-right: 0;
    border-bottom: 1px solid var(--nen-line);
  }
}

@media (max-width: 560px) {
  .cus-scroll-y.nen-dashboard-layout {
    gap: 12px !important;
    padding: 10px !important;
  }

  .nen-import-center {
    min-height: 0;
    border-radius: 17px;
  }

  .nen-import-intro,
  .nen-client-panel {
    padding: 19px 16px;
  }

  .nen-import-title {
    font-size: 27px;
  }

  .nen-import-copy {
    margin-bottom: 17px;
    font-size: 13px;
  }

  .nen-import-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nen-plan-link {
    min-height: 40px;
  }

  .nen-client-heading {
    align-items: flex-start;
  }

  .nen-safe-label {
    display: none !important;
  }

  .nen-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nen-client-button {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 62px;
    gap: 9px;
    padding: 9px;
  }

  .nen-client-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .nen-client-arrow {
    display: none;
  }

  .nen-client-label {
    font-size: 11px;
  }

  .nen-client-platform {
    font-size: 9px;
  }

  .nen-plan-dialog {
    padding: 23px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Nen 1.6 account-first dashboard */
.nen-dashboard-subscription,
.nen-dashboard-shortcuts {
  display: none !important;
}

.nen-home-center {
  overflow: hidden;
  background: var(--nen-surface);
  border: 1px solid var(--nen-line);
  border-radius: 22px;
  box-shadow: var(--nen-shadow);
  color: var(--nen-text);
}

.nen-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 18px;
}

.nen-section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--nen-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.nen-section-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nen-primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--nen-primary) 13%, transparent);
}

.nen-account-head h1 {
  margin: 0;
  color: var(--nen-text);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.nen-account-head p {
  margin: 7px 0 0;
  color: var(--nen-muted);
  font-size: 14px;
  line-height: 1.6;
}

.nen-announcement-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 15px;
  width: calc(100% - 52px);
  min-height: 78px;
  margin: 0 26px 22px;
  padding: 14px 17px;
  border: 1px solid color-mix(in srgb, var(--nen-primary) 18%, var(--nen-line));
  border-radius: 14px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--nen-primary) 7%, var(--nen-surface)), var(--nen-surface));
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nen-announcement-panel:hover {
  border-color: color-mix(in srgb, var(--nen-primary) 38%, var(--nen-line));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--nen-primary) 9%, transparent);
  transform: translateY(-1px);
}

.nen-announcement-panel:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--nen-primary) 24%, transparent);
  outline-offset: 2px;
}

.nen-announcement-panel[hidden] {
  display: none;
}

.nen-announcement-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nen-primary);
  font-size: 12px;
  font-weight: 800;
}

.nen-announcement-mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nen-primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--nen-primary) 12%, transparent);
}

.nen-announcement-copy {
  min-width: 0;
}

.nen-announcement-copy strong,
.nen-announcement-copy p {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-announcement-copy strong {
  color: var(--nen-text);
  font-size: 15px;
}

.nen-announcement-copy p {
  margin-top: 4px;
  color: var(--nen-muted);
  font-size: 12px;
}

.nen-announcement-count {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
  font-size: 11px;
  font-weight: 700;
}

.nen-announcement-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--nen-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .18s ease;
}

.nen-announcement-panel:hover .nen-announcement-arrow {
  color: var(--nen-primary);
  transform: translateX(2px);
}

body.nen-dialog-open {
  overflow: hidden;
}

.nen-notice-mask {
  position: fixed;
  z-index: 10030;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 15, 28, .55);
  backdrop-filter: blur(8px);
}

.nen-notice-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, calc(100vw - 48px));
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--nen-line);
  border-radius: 20px;
  background: var(--nen-surface);
  box-shadow: 0 28px 80px rgba(7, 15, 28, .28);
}

.nen-notice-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--nen-line);
}

.nen-notice-dialog-head h2 {
  margin: 4px 0 0;
  color: var(--nen-text);
  font-size: 22px;
  line-height: 1.25;
}

.nen-notice-close {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--nen-line);
  border-radius: 12px;
  background: var(--nen-surface-soft);
  color: var(--nen-muted);
  cursor: pointer;
}

.nen-notice-close:hover {
  border-color: color-mix(in srgb, var(--nen-primary) 36%, var(--nen-line));
  color: var(--nen-primary);
}

.nen-notice-close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--nen-primary) 24%, transparent);
  outline-offset: 2px;
}

.nen-notice-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.nen-notice-dialog-body {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 0;
}

.nen-notice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  border-right: 1px solid var(--nen-line);
  background: var(--nen-surface-soft);
}

.nen-notice-list-button {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--nen-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.nen-notice-list-button:hover {
  background: var(--nen-surface);
}

.nen-notice-list-button[data-active="true"] {
  border-color: color-mix(in srgb, var(--nen-primary) 24%, var(--nen-line));
  background: var(--nen-surface);
  box-shadow: 0 7px 20px color-mix(in srgb, var(--nen-primary) 7%, transparent);
}

.nen-notice-list-button strong,
.nen-notice-list-button span {
  display: block;
}

.nen-notice-list-button strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-notice-list-button span {
  margin-top: 4px;
  color: var(--nen-muted);
  font-size: 11px;
}

.nen-notice-detail {
  min-width: 0;
  overflow: auto;
  padding: 28px 30px 34px;
}

.nen-notice-detail-meta {
  color: var(--nen-primary);
  font-size: 12px;
  font-weight: 700;
}

.nen-notice-detail-title {
  margin: 8px 0 20px;
  color: var(--nen-text);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.35;
}

.nen-notice-detail-content {
  color: var(--nen-text-soft);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.nen-notice-detail-content > :first-child {
  margin-top: 0;
}

.nen-notice-detail-content > :last-child {
  margin-bottom: 0;
}

.nen-notice-detail-content a {
  color: var(--nen-primary);
  text-underline-offset: 3px;
}

.nen-notice-detail-content blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--nen-primary);
  border-radius: 0 10px 10px 0;
  background: var(--nen-primary-soft);
}

.nen-home-center > .nen-dashboard-announcement {
  width: auto !important;
  margin: 0 26px 22px !important;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--nen-primary) 16%, var(--nen-line)) !important;
  border-radius: 14px !important;
  background: var(--nen-surface-soft) !important;
  box-shadow: none !important;
}

.nen-home-center > .nen-dashboard-announcement .n-card,
.nen-home-center > .nen-dashboard-announcement.n-card {
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nen-home-center > .nen-dashboard-announcement .n-card__content,
.nen-home-center > .nen-dashboard-announcement.n-card > .n-card__content {
  padding: 14px 17px !important;
}

.nen-home-center > .nen-dashboard-announcement .carousel-img {
  height: 86px !important;
  min-height: 86px !important;
}

.nen-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  gap: 13px;
  padding: 0 26px 22px;
}

.nen-plan-card,
.nen-invite-card {
  border: 1px solid var(--nen-line);
  border-radius: 17px;
  background: var(--nen-surface-soft);
}

.nen-plan-card {
  padding: 19px;
}

.nen-plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nen-card-label {
  display: block;
  color: var(--nen-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.nen-plan-name,
.nen-plan-expiry {
  display: block;
}

.nen-plan-name {
  margin-top: 6px;
  color: var(--nen-text);
  font-size: 17px;
  line-height: 1.35;
}

.nen-plan-expiry {
  margin-top: 3px;
  color: var(--nen-muted);
  font-size: 12px;
}

.nen-duration {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 7px;
  padding-left: 20px;
  border-left: 1px solid var(--nen-line);
}

.nen-duration strong {
  color: var(--nen-primary);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.055em;
}

.nen-duration span {
  color: var(--nen-muted);
  font-size: 11px;
  font-weight: 650;
}

.nen-metrics {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(220px, 1.3fr);
  gap: 10px;
  margin-top: 16px;
}

.nen-metrics > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--nen-line);
  border-radius: 12px;
  background: var(--nen-surface);
}

.nen-metrics span,
.nen-metrics strong,
.nen-metrics small {
  display: block;
}

.nen-metrics span {
  color: var(--nen-muted);
  font-size: 11px;
}

.nen-metrics strong {
  margin-top: 5px;
  color: var(--nen-text);
  font-size: 15px;
}

.nen-metrics strong b {
  font-size: 20px;
}

.nen-metrics small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--nen-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-metrics i {
  display: block;
  overflow: hidden;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--nen-line);
}

.nen-metrics i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nen-primary), #38bdf8);
  transition: width .35s ease;
}

.nen-plan-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.nen-plan-link,
.nen-copy-subscription,
.nen-invite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.nen-plan-link {
  flex: 1;
  background: var(--nen-primary);
  color: #fff;
  box-shadow: 0 7px 16px color-mix(in srgb, var(--nen-primary) 20%, transparent);
}

html.dark .nen-plan-link {
  color: #08111f;
}

.nen-plan-link:hover {
  background: var(--nen-primary-hover);
  transform: translateY(-1px);
}

.nen-copy-subscription {
  border: 1px solid var(--nen-line);
  background: var(--nen-surface);
  color: var(--nen-text-soft);
}

.nen-copy-subscription:hover {
  border-color: var(--nen-line-strong);
  background: var(--nen-surface-hover);
}

.nen-plan-link svg,
.nen-copy-subscription svg,
.nen-invite-button svg,
.nen-invite-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nen-invite-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--nen-primary) 13%, transparent), transparent 150px),
    var(--nen-surface-soft);
}

.nen-invite-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  border-radius: 11px;
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
}

.nen-invite-icon svg {
  width: 20px;
  height: 20px;
}

.nen-invite-card h2 {
  margin: 5px 0 5px;
  color: var(--nen-text);
  font-size: 16px;
  letter-spacing: -.015em;
}

.nen-invite-card p {
  margin: 0 0 15px;
  color: var(--nen-muted);
  font-size: 12px;
  line-height: 1.55;
}

.nen-invite-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--nen-primary) 28%, var(--nen-line));
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
}

.nen-invite-button:hover {
  background: color-mix(in srgb, var(--nen-primary) 14%, var(--nen-surface));
}

.nen-import-section {
  padding: 20px 26px 21px;
  border-top: 1px solid var(--nen-line);
  background: color-mix(in srgb, var(--nen-surface-soft) 58%, var(--nen-surface));
}

.nen-import-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 13px;
}

.nen-import-heading h2 {
  margin: 5px 0 0;
  color: var(--nen-text);
  font-size: 18px;
  letter-spacing: -.015em;
}

.nen-import-heading p {
  margin: 4px 0 0;
  color: var(--nen-muted);
  font-size: 12px;
}

.nen-import-heading .nen-safe-label {
  color: var(--nen-muted);
  font-size: 11px;
}

.nen-home-center .nen-client-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nen-home-center .nen-client-button {
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  min-height: 74px;
  gap: 11px;
  padding: 12px 13px;
  background: var(--nen-surface);
}

.nen-home-center .nen-client-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nen-home-center .nen-client-label {
  font-size: 13px;
}

.nen-home-center .nen-client-platform {
  font-size: 11px;
}

.nen-home-center .nen-import-status {
  min-height: 14px;
  margin: 9px 0 0;
}

.nen-home-center button[aria-busy="true"] {
  cursor: wait;
  opacity: .65;
}

.nen-guide-section {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(520px, 1.7fr) auto;
  align-items: center;
  gap: 28px;
  padding: 25px 26px 27px;
  border-top: 1px solid var(--nen-line);
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--nen-primary) 8%, transparent), transparent 260px),
    var(--nen-surface);
}

.nen-guide-copy h2 {
  margin: 5px 0 0;
  color: var(--nen-text);
  font-size: 18px;
  letter-spacing: -.015em;
}

.nen-guide-copy p {
  max-width: 360px;
  margin: 6px 0 0;
  color: var(--nen-muted);
  font-size: 12px;
  line-height: 1.65;
}

.nen-guide-steps {
  display: grid;
  grid-template-columns: minmax(125px, 1fr) 28px minmax(125px, 1fr) 28px minmax(145px, 1fr);
  align-items: center;
  gap: 9px;
}

.nen-guide-steps > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  min-width: 0;
}

.nen-guide-steps > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
  font-size: 12px;
  font-weight: 800;
}

.nen-guide-steps strong,
.nen-guide-steps small {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nen-guide-steps strong {
  color: var(--nen-text);
  font-size: 12px;
}

.nen-guide-steps small {
  margin-top: 2px;
  color: var(--nen-muted);
  font-size: 10px;
}

.nen-guide-steps > i {
  height: 1px;
  background: linear-gradient(90deg, var(--nen-line-strong), transparent);
}

.nen-guide-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--nen-primary) 30%, var(--nen-line));
  border-radius: 11px;
  background: var(--nen-primary-soft);
  color: var(--nen-primary);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nen-guide-primary:hover {
  border-color: color-mix(in srgb, var(--nen-primary) 48%, var(--nen-line));
  background: color-mix(in srgb, var(--nen-primary) 14%, var(--nen-surface));
  transform: translateY(-1px);
}

.nen-guide-primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (min-width: 1600px) {
  .nen-sidebar .n-menu-item-content-header {
    font-size: 14px !important;
  }

  .nen-sidebar .n-menu-item-group-title {
    font-size: 11px !important;
  }

  .nen-account-head {
    padding: 28px 30px 21px;
  }

  .nen-account-head h1 {
    font-size: 34px;
  }

  .nen-account-head p {
    font-size: 15px;
  }

  .nen-overview-grid {
    gap: 16px;
    padding: 0 30px 24px;
  }

  .nen-plan-card {
    padding: 22px;
  }

  .nen-card-label {
    font-size: 12px;
  }

  .nen-plan-name {
    font-size: 20px;
  }

  .nen-plan-expiry,
  .nen-metrics small,
  .nen-invite-card p,
  .nen-import-heading p,
  .nen-guide-copy p {
    font-size: 13px;
  }

  .nen-metrics span {
    font-size: 12px;
  }

  .nen-metrics strong {
    font-size: 17px;
  }

  .nen-metrics strong b {
    font-size: 22px;
  }

  .nen-invite-card h2,
  .nen-import-heading h2,
  .nen-guide-copy h2 {
    font-size: 20px;
  }

  .nen-plan-link,
  .nen-copy-subscription,
  .nen-invite-button {
    min-height: 44px;
    font-size: 14px;
  }

  .nen-announcement-panel {
    width: calc(100% - 60px);
    min-height: 88px;
    margin: 0 30px 24px;
    padding: 16px 20px;
  }

  .nen-announcement-mark,
  .nen-announcement-copy p {
    font-size: 13px;
  }

  .nen-announcement-copy strong {
    font-size: 17px;
  }

  .nen-import-section {
    padding: 24px 30px;
  }

  .nen-home-center .nen-client-button {
    min-height: 82px;
    padding: 14px 15px;
  }

  .nen-home-center .nen-client-logo {
    width: 44px;
    height: 44px;
  }

  .nen-home-center .nen-client-label {
    font-size: 14px;
  }

  .nen-home-center .nen-client-platform {
    font-size: 12px;
  }

  .nen-guide-section {
    padding: 28px 30px 31px;
  }

  .nen-guide-steps strong {
    font-size: 13px;
  }

  .nen-guide-steps small,
  .nen-guide-primary {
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .nen-home-center .nen-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nen-guide-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nen-guide-primary {
    width: max-content;
  }
}

@media (max-width: 860px) {
  .nen-overview-grid {
    grid-template-columns: 1fr;
  }

  .nen-invite-card {
    min-height: 180px;
  }

  .nen-home-center .nen-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nen-guide-steps {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .nen-guide-steps > i {
    display: none;
  }
}

@media (max-width: 700px) {
  .nen-notice-mask {
    padding: 0;
  }

  .nen-notice-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .nen-notice-dialog-head {
    padding: 17px 18px;
  }

  .nen-notice-dialog-head h2 {
    font-size: 20px;
  }

  .nen-notice-dialog-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .nen-notice-list {
    flex-direction: row;
    gap: 8px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--nen-line);
    scrollbar-width: none;
  }

  .nen-notice-list::-webkit-scrollbar {
    display: none;
  }

  .nen-notice-list-button {
    flex: 0 0 min(240px, 72vw);
    padding: 10px 12px;
  }

  .nen-notice-detail {
    padding: 22px 20px 34px;
  }

  .nen-notice-detail-title {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .nen-notice-detail-content {
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (max-width: 560px) {
  .nen-home-center {
    border-radius: 17px;
  }

  .nen-account-head {
    padding: 19px 16px 15px;
  }

  .nen-account-head p {
    max-width: 270px;
    line-height: 1.55;
  }

  .nen-overview-grid {
    gap: 10px;
    padding: 0 16px 16px;
  }

  .nen-home-center > .nen-dashboard-announcement {
    margin: 0 16px 16px !important;
  }

  .nen-announcement-panel {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    gap: 8px 12px;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 13px 14px;
  }

  .nen-announcement-mark {
    grid-column: 1 / 2;
    font-size: 11px;
  }

  .nen-announcement-copy {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .nen-announcement-copy strong {
    font-size: 14px;
  }

  .nen-announcement-copy p {
    font-size: 11px;
  }

  .nen-announcement-count {
    grid-column: 2;
    grid-row: 1;
  }

  .nen-announcement-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .nen-plan-card {
    padding: 15px;
  }

  .nen-plan-card-top {
    align-items: flex-start;
  }

  .nen-duration {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .nen-duration strong {
    font-size: 30px;
  }

  .nen-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .nen-plan-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nen-import-section {
    padding: 17px 16px;
  }

  .nen-import-heading {
    align-items: flex-start;
  }

  .nen-guide-section {
    gap: 16px;
    padding: 19px 16px 21px;
  }

  .nen-home-center .nen-client-grid {
    grid-template-columns: 1fr;
  }

  .nen-home-center .nen-client-button {
    min-height: 68px;
  }

  .nen-home-center .nen-client-label {
    font-size: 13px;
  }

  .nen-home-center .nen-client-platform {
    font-size: 11px;
  }
}
