/* NorthSea membership dashboard. Scoped to this component; no remote assets. */
.nst-membership-account {
  --nst-m-ink: #f5f8ff;
  --nst-m-muted: #b1bdce;
  --nst-m-line: #354052;
  --nst-m-blue: #86bcff;
  color-scheme: dark;
  color: var(--nst-m-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  max-width: 1080px;
  width: 100%;
  margin: 8px auto 40px;
  text-align: left;
}
.nst-membership-account *,
.nst-membership-account *::before,
.nst-membership-account *::after { box-sizing: border-box; }
.nst-membership-account h2,
.nst-membership-account h3,
.nst-membership-account p,
.nst-membership-account dl,
.nst-membership-account dt,
.nst-membership-account dd { margin: 0; padding: 0; color: inherit; }
.nst-membership-account h2,
.nst-membership-account h3 { font-family: inherit; text-transform: none; font-weight: 700; }
.nst-membership-account .nst-m-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  color: inherit;
}
.nst-membership-account .nst-m-heading { margin-bottom: 28px; }
.nst-membership-account .nst-m-eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nst-m-blue);
  margin-bottom: 10px;
}
.nst-membership-account .nst-m-heading h2 {
  font-size: clamp(25px, 3.5vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.nst-membership-account .nst-m-heading > p:last-child { color: var(--nst-m-muted); }
.nst-membership-account .nst-m-plan {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 24px;
  padding: 30px;
  border: 1px solid #365b85;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0, #164568 0, transparent 68%), #17273d;
  box-shadow: 0 12px 36px #0000001f;
}
.nst-membership-account .nst-m-plan-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nst-membership-account .nst-m-plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 62px;
  height: 68px;
  color: #a5d6ff;
  border: 1px solid #5785b1;
  border-radius: 14px;
  background: linear-gradient(145deg, #3f70984d, #2255871a);
  transform: rotate(-5deg);
}
.nst-membership-account .nst-m-plan-icon .nst-m-icon { width: 32px; height: 32px; transform: rotate(5deg); }
.nst-membership-account .nst-m-label { color: #b9cfe6; font-size: 13px; margin-bottom: 4px; }
.nst-membership-account .nst-m-plan h3 { font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.nst-membership-account .nst-m-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #49687c;
  border-radius: 999px;
  background: #14283dc4;
  font-size: 12px;
  line-height: 1.4;
  color: #c1d1e3;
}
.nst-membership-account .nst-m-dot { width: 7px; height: 7px; border-radius: 50%; background: #b7c7da; flex-shrink: 0; }
.nst-membership-account [data-nst-status="active"] .nst-m-status { color: #aff3d0; border-color: #3d7267; }
.nst-membership-account [data-nst-status="active"] .nst-m-dot { background: #7ce6b4; }
.nst-membership-account [data-nst-status="expired"] .nst-m-status { color: #ffdbb0; border-color: #88684e; }
.nst-membership-account [data-nst-status="expired"] .nst-m-dot { background: #ffc887; }
.nst-membership-account .nst-m-plan-description { grid-column: 1 / -1; color: #c2d2e6; max-width: 780px; font-size: 14px; }
.nst-membership-account .nst-m-dates {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 42px;
  padding-top: 19px;
  border-top: 1px solid #42617b;
}
.nst-membership-account .nst-m-dates dt { font-size: 12px; color: #b9cfe6; margin-bottom: 4px; }
.nst-membership-account .nst-m-dates dd { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nst-membership-account .nst-m-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 30px 0 14px; }
.nst-membership-account .nst-m-section-heading h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.01em; }
.nst-membership-account .nst-m-section-heading p { font-size: 12px; color: var(--nst-m-muted); }
.nst-membership-account .nst-m-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nst-membership-account .nst-m-stat {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--nst-m-line);
  border-radius: 16px;
  background: #202630;
}
.nst-membership-account .nst-m-stat dt { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c6d0df; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.nst-membership-account .nst-m-stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: #293d55; color: #a6cfff; }
.nst-membership-account .nst-m-stat-icon .nst-m-icon { width: 19px; height: 19px; }
.nst-membership-account .nst-m-stat--membership { border-color: #4a5c7b; background: #252c3a; }
.nst-membership-account .nst-m-stat--membership .nst-m-stat-icon { background: #3a3b59; color: #c9c3ff; }
.nst-membership-account .nst-m-stat--orders .nst-m-stat-icon { background: #263f40; color: #9ae0cf; }
.nst-membership-account .nst-m-stat dd { margin-top: 18px; }
.nst-membership-account .nst-m-stat-value { display: block; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.nst-membership-account .nst-m-stat-value--word { font-size: clamp(22px, 2.6vw, 32px); white-space: nowrap; overflow-wrap: normal; }
.nst-membership-account .nst-m-stat-note { display: block; margin-top: 8px; color: var(--nst-m-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.nst-membership-account .nst-m-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--nst-m-muted); }
.nst-membership-account .nst-m-notice .nst-m-icon { width: 16px; height: 16px; margin-top: 2px; }
.nst-membership-account .nst-m-manage { margin-top: 28px; border: 1px solid var(--nst-m-line); border-radius: 18px; background: #20232b; }
.nst-membership-account .nst-m-manage-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr); gap: 28px; padding: 26px 28px; align-items: center; }
.nst-membership-account .nst-m-provider { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #c5cedd; font-size: 12px; font-weight: 500; }
.nst-membership-account .nst-m-provider .nst-m-icon { width: 18px; height: 18px; color: #add4ff; }
.nst-membership-account .nst-m-manage h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.35; margin-bottom: 8px; }
.nst-membership-account .nst-m-manage-copy > p { font-size: 13px; color: var(--nst-m-muted); max-width: 460px; }
.nst-membership-account .nst-m-manage-action { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.nst-membership-account .nst-m-manage-action > span { color: var(--nst-m-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.nst-membership-account a.nst-m-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid #7cb6ff;
  border-radius: 10px;
  background: #87bcff;
  color: #101e33;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  transition: background .15s, border-color .15s;
}
.nst-membership-account a.nst-m-button .nst-m-icon { width: 18px; height: 18px; }
.nst-membership-account a.nst-m-button:hover { background: #a3cdff; border-color: #c4e0ff; color: #101e33; }
.nst-membership-account .nst-m-cancel { border-top: 1px solid var(--nst-m-line); }
.nst-membership-account .nst-m-cancel > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 28px; border-radius: 0 0 17px 17px; cursor: pointer; font-size: 13px; font-weight: 600; color: #d0daea; list-style: none; }
.nst-membership-account .nst-m-cancel > summary::-webkit-details-marker { display: none; }
.nst-membership-account .nst-m-cancel > summary .nst-m-icon { width: 18px; height: 18px; }
.nst-membership-account .nst-m-cancel[open] > summary .nst-m-icon { transform: rotate(180deg); }
.nst-membership-account .nst-m-cancel > summary:hover { color: #fff; background: #2a303a; }
.nst-membership-account .nst-m-cancel-content { padding: 0 28px 24px; font-size: 13px; color: var(--nst-m-muted); }
.nst-membership-account .nst-m-cancel-content ol { margin: 0 0 14px; padding-left: 20px; color: inherit; list-style: decimal; }
.nst-membership-account .nst-m-cancel-content li { padding-left: 3px; margin-bottom: 8px; }
.nst-membership-account .nst-m-cancel-content a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #a9d1ff; text-decoration: underline; text-underline-offset: 3px; }
.nst-membership-account .nst-m-cancel-content a .nst-m-icon { width: 16px; height: 16px; }
.nst-membership-account a:focus-visible,
.nst-membership-account summary:focus-visible { outline: 3px solid #acd5ff; outline-offset: 4px; }
.nst-membership-account .nst-m-guest { padding: 42px 28px; text-align: center; border: 1px solid #365b85; border-radius: 20px; background: radial-gradient(ellipse at 50% 0, #1c3e5b 0, transparent 80%), #17273d; }
.nst-membership-account .nst-m-guest h3 { font-size: 24px; margin: 22px 0 8px; line-height: 1.3; }
.nst-membership-account .nst-m-guest p { color: var(--nst-m-muted); margin-bottom: 22px; }
@media (max-width: 760px) {
  .nst-membership-account .nst-m-plan { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 18px; }
  .nst-membership-account .nst-m-status { justify-self: start; }
  .nst-membership-account .nst-m-manage-main { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .nst-membership-account .nst-m-manage-action { align-items: flex-start; }
  .nst-membership-account .nst-m-manage-action > span { text-align: left; }
  .nst-membership-account .nst-m-stat { padding: 18px 16px; }
  .nst-membership-account .nst-m-stat dt { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nst-membership-account .nst-m-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .nst-membership-account .nst-m-cancel > summary { padding: 17px 24px; }
  .nst-membership-account .nst-m-cancel-content { padding: 0 24px 24px; }
}
@media (max-width: 540px) {
  .nst-membership-account { margin-top: 0; font-size: 14px; }
  .nst-membership-account .nst-m-heading { margin-bottom: 22px; }
  .nst-membership-account .nst-m-plan { padding: 22px 20px; border-radius: 16px; }
  .nst-membership-account .nst-m-plan-main { gap: 14px; }
  .nst-membership-account .nst-m-plan-icon { width: 48px; height: 56px; border-radius: 11px; }
  .nst-membership-account .nst-m-plan-icon .nst-m-icon { width: 28px; height: 28px; }
  .nst-membership-account .nst-m-plan-description { font-size: 13px; }
  .nst-membership-account .nst-m-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nst-membership-account .nst-m-stat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 12px; padding: 18px; align-items: center; border-radius: 13px; }
  .nst-membership-account .nst-m-stat dt { flex-direction: row; align-items: center; gap: 10px; }
  .nst-membership-account .nst-m-stat dd { margin: 0; text-align: right; }
  .nst-membership-account .nst-m-stat-value { font-size: 26px; }
  .nst-membership-account .nst-m-stat-value--word { font-size: clamp(16px, 4.8vw, 22px); }
  .nst-membership-account .nst-m-stat-note { margin-top: 4px; font-size: 11px; }
  .nst-membership-account .nst-m-stat-icon { width: 30px; height: 30px; }
  .nst-membership-account .nst-m-manage { margin-top: 24px; border-radius: 16px; }
  .nst-membership-account .nst-m-manage-main { padding: 22px 20px; }
  .nst-membership-account .nst-m-manage-action { align-items: stretch; }
  .nst-membership-account .nst-m-manage-action > span { text-align: center; }
  .nst-membership-account .nst-m-cancel > summary { padding: 17px 20px; }
  .nst-membership-account .nst-m-cancel-content { padding: 0 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nst-membership-account a.nst-m-button { transition: none; }
}
