/* Account overview */
.nr-account-page { max-width: 1120px; margin: 0 auto; padding-bottom: 4rem; }
.nr-account-hero { margin-bottom: 1.5rem !important; }
.nr-account-hero h1 { margin-bottom: .5rem; }
.nr-account-page .nr-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.nr-account-panel {
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  min-width: 0;
  background: #fff;
  border: 1px solid #a6c4b4;
  border-radius: 25px 10px 25px 10px;
  box-shadow: inset 0 0 0 3px #e1eee680, 0 6px 0 -3px #9dc2af99, 0 13px 22px #14402e14;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.nr-account-page .nr-allowance-panel { background: linear-gradient(145deg, #fff 46%, #edf6ee); }
.nr-account-page .nr-profile-panel { background: #f8fbf8; }
.nr-account-panel h2 { font-size: 1.35rem; color: #153f34; margin: 0 0 .6rem; letter-spacing: -.025em; }
.nr-account-panel p { line-height: 1.5; color: #52695d; }
.nr-account-page .nr-account-stat { margin: 0 0 .35rem; font-size: 1.08rem; font-weight: 750; color: #164d3c; }
.nr-account-page .nr-account-detail { margin: 0; }
.nr-account-page .nr-account-benefit { margin: .4rem 0 0; font-size: .88rem; }
.nr-account-actions, .nr-workspace-links, .nr-profile-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .9rem;
}
.nr-account-actions .button { display: inline-flex; justify-content: center; text-decoration: none; }
.nr-account-actions [hidden], .nr-account-benefit[hidden], .nr-account-actions:has(> [hidden]:first-child):not(:has(> :not([hidden]))) { display: none !important; }
.nr-workspace-link, .nr-profile-bottom a, .nr-profile-bottom .account-logout {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cddfd3;
  border-radius: 9px;
  background: #f5faf6;
  color: #154b38;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.nr-workspace-link:hover, .nr-profile-bottom a:hover { background: #e8f4eb; border-color: #83af96; transform: translateY(-2px); }
.nr-workspace-link:focus-visible, .nr-profile-bottom :focus-visible { outline: 2px solid #27785a; outline-offset: 3px; }
.nr-profile-email { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; }
.nr-profile-email span { font-size: .82rem; color: #52695d; }
.nr-profile-email strong { overflow-wrap: anywhere; color: #153f34; font-size: .92rem; }
.nr-account-page .nr-profile-bottom .account-logout {
  margin: 0 !important;
  padding: .55rem .75rem !important;
  min-height: 42px;
  border: 1px solid #cddfd3 !important;
  border-radius: 9px !important;
  background: #f5faf6;
  color: #154b38;
  font-family: inherit;
  font-size: .86rem !important;
  font-weight: 700 !important;
  line-height: inherit;
  cursor: pointer;
}
@media(max-width: 760px) {
  .nr-account-page { padding-inline: 1rem; }
  .nr-account-page .nr-account-grid { grid-template-columns: minmax(0, 1fr); }
}
@media(prefers-reduced-motion: reduce) {
  .nr-workspace-link, .nr-profile-bottom a { transition: none; }
  .nr-workspace-link:hover, .nr-profile-bottom a:hover { transform: none; }
}

.nr-account-page .nr-support-panel {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(145deg, #fff, #f0f7f2);
}
.nr-account-page .nr-profile-panel { grid-column: 2; grid-row: 2; }
.nr-account-panel:focus-within {
  border-color: #8fb9a4;
  box-shadow: 0 9px 24px #14402e1a;
}
@media (hover: hover) {
  .nr-account-panel:hover { border-color: #a4c5b1; box-shadow: 0 9px 24px #14402e1a; }
}
@media (max-width: 760px) {
  .nr-account-page :is(.nr-support-panel, .nr-profile-panel) { grid-area: auto; }
}
@media (prefers-reduced-motion: reduce) { .nr-account-panel { transition: none; } }

.nr-workspace-link, .nr-profile-bottom a, .nr-account-page .nr-profile-bottom .account-logout { height: 42px; }
.nr-account-page .nr-profile-bottom .account-logout:hover { background: #e8f4eb; border-color: #83af96 !important; }
.nr-account-panel:focus-within {
  box-shadow: inset 0 0 0 3px #d9eee1, 0 5px 0 -2px #9bc6ae, 0 13px 22px #14402e1f;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nr-account-panel:hover {
    transform: translateY(-4px);
    border-color: #72a88e;
    box-shadow: inset 0 0 0 3px #e4f3e9, 0 9px 0 -4px #9dc8b2, 0 19px 26px #14402e25;
  }
}

.nr-account-page .nr-allowance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.nr-plan-copy { min-width: 0; }
.nr-plan-pass[hidden] { display: none; }
.nr-plan-pass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: .45rem;
  width: clamp(115px, 13vw, 158px);
  box-sizing: border-box;
  padding: .85rem;
  border: 1px solid #6fb497;
  border-radius: 15px 7px 15px 7px;
  color: #eef9ef;
  background: radial-gradient(ellipse at 94% 10%, #ffffff33, transparent 58%),
    linear-gradient(145deg, #124236, #236b52);
  box-shadow: inset 0 0 0 2px #ffffff20, 0 7px 16px #184f3733;
  transform: rotate(-4deg);
  transition: transform .24s ease, box-shadow .24s ease;
}
.nr-plan-pass::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(circle at 105% 0%, transparent 0 12px, #dafceb30 13px, transparent 14px 19px);
}
.nr-plan-pass-icon { font-size: 1.7rem; line-height: 1; }
.nr-plan-pass-name { font-size: .75rem; line-height: 1.25; font-weight: 750; }
.nr-plan-pass[data-plan="free"] { color: #16493a; background: linear-gradient(145deg, #f6fff8, #cfe9db); }
.nr-plan-pass[data-plan="pass15"], .nr-plan-pass[data-plan="pro"] { border-color: #a09cce; background: linear-gradient(145deg, #25364f, #53538d); }
.nr-plan-pass[data-plan="owner"] { border-color: #c9bd82; color: #fcf2c9; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nr-allowance-panel:hover .nr-plan-pass { transform: translateY(-4px) rotate(2deg); box-shadow: 0 13px 20px #184f3740; }
}
@media (max-width: 390px) {
  
.nr-account-page .nr-account-panel {
  background-image: radial-gradient(ellipse at 100% 0, #a9ddc337, transparent 65%);
}
.nr-account-page .nr-account-panel:focus-within { border-color: #6aa58a; }
.nr-account-page :is(.nr-workspace-link,.nr-profile-bottom a,.account-logout) span[aria-hidden] {
  display: inline-block;
  transition: transform .2s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nr-account-page .nr-account-panel:hover { transform: translateY(-5px); }
  .nr-account-page :is(.nr-workspace-link,.nr-profile-bottom a,.account-logout):hover span[aria-hidden] { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .nr-account-page :is(.nr-workspace-link,.nr-profile-bottom a,.account-logout) span[aria-hidden] { transition: none; }
}
