/* The customer portal has its own visual language; staff workspaces keep theirs. */
body.client-experience {
  --cp-ink: #244b40;
  --cp-muted: #4e6659;
  --cp-border: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(ellipse at 84% 4%, #e8e4f2aa 0, transparent 34%),
    radial-gradient(ellipse at 18% 26%, #dcece1a6 0, transparent 39%),
    linear-gradient(135deg, #f6f8f1, #f3f6f1 48%, #f9f6ef);
  color: var(--cp-ink);
}
.client-experience .sidebar {
  width: 238px;
  padding: 30px 22px 20px;
  background: linear-gradient(165deg, #ffffffd9, #f1f6eec9);
  border-right: 1px solid #ffffffd9;
  backdrop-filter: blur(24px);
}
.client-experience .main-shell {
  margin-left: 238px;
}
.client-experience main {
  position: relative;
  max-width: 1400px;
  padding: 36px 42px 24px;
}
.client-experience .topbar {
  height: 78px;
  background: #ffffff70;
  border-bottom: 1px solid #ffffffcf;
  backdrop-filter: blur(18px);
}
.client-experience .top-actions {
  gap: 18px;
}
.client-experience .demo-badge {
  color: #52645b;
  font-size: 12px;
}
.client-experience .topbar .secondary {
  background: #ffffff9c;
  border: 1px solid #ffffff;
  border-radius: 24px;
  box-shadow: 0 3px 14px #234e4105;
}
.client-experience .workspace-switch {
  background: #ffffffa1;
  border-color: #fff;
  box-shadow: 0 6px 22px #254d3d06;
  border-radius: 14px;
  margin-top: 29px;
}
.client-experience .nav-label {
  color: #56645c;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 5px;
}
.client-experience .nav-item {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  text-align: left;
  background: transparent;
  color: #53655c;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
}
.client-experience .nav-item.active {
  background: linear-gradient(110deg, #fff, #e8f2e9);
  border-color: #fff;
  box-shadow: 0 5px 16px #275c4210;
  color: #285540;
}
.client-experience .nav-item:hover {
  background-color: #ffffffa6;
}
.client-experience .nav-icon {
  display: flex;
  align-items: center;
  width: 19px;
}
.client-experience .nav-icon svg {
  width: 19px;
  height: 19px;
}
.client-experience .sidebar-bottom {
  padding-top: 24px;
}
.client-experience .profile {
  border-color: #dfe8dd;
}
.client-experience .avatar {
  background: linear-gradient(140deg, #e1ecdc, #f5eedc);
  border: 1px solid #fff;
}
.client-experience .page-heading,
.client-experience .filterbar {
  display: none;
}
.client-experience #section-help {
  position: absolute;
  z-index: 3;
  right: 42px;
  top: 27px;
}
.client-experience .section-help {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #ffffffcf;
  background: #ffffff6e;
  border-radius: 20px;
  font-size: 12px;
}
.client-experience .section-help[open] {
  width: min(440px, 80vw);
  border-radius: 16px;
  box-shadow: 0 16px 50px #254a3b15;
  background: #fcfdf9;
}
.client-experience footer {
  border-color: #dce6db;
  color: #55645a;
  font-size: 11px;
}
.cp-portal {
  position: relative;
}
.cp-portal section {
  scroll-margin-top: 30px;
}
.cp-portal button,
.cp-portal a {
  -webkit-tap-highlight-color: transparent;
}
.cp-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.cp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding: 27px 0 28px;
}
.cp-hero-copy {
  padding: 15px 0 12px;
}
.cp-welcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #53645a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.cp-welcome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73957c;
  box-shadow: 0 0 0 5px #e1ebdf;
}
.cp-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin: 20px 0 20px;
  color: #244c40;
}
.cp-hero h1 em {
  font-weight: 400;
  color: #4e6752;
}
.cp-hero-copy > p {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cp-muted);
  margin: 0 0 23px;
}
.cp-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cp-primary,
.cp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 30px;
  padding: 13px 19px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cp-primary {
  border: 1px solid #37614d;
  background: linear-gradient(135deg, #3a6752, #234b3e);
  box-shadow:
    0 7px 20px #2d59452b,
    inset 0 1px 0 #ffffff39;
  color: #fff;
}
.cp-secondary {
  color: #3a5d49;
  border: 1px solid #ffffff;
  background: #ffffff8c;
  box-shadow: 0 5px 18px #2b4b3b05;
}
.cp-primary .cp-icon,
.cp-secondary .cp-icon {
  width: 16px;
  height: 16px;
}
.cp-primary:hover {
  background: #315e46;
  transform: translateY(-1px);
}
.cp-secondary:hover {
  background: #fff;
}
.cp-company-note {
  display: block;
  font-size: 11px;
  color: #576459;
  margin-top: 20px;
}
.cp-company-note strong {
  font-weight: 500;
}
.cp-wallet-scene {
  position: relative;
  isolation: isolate;
  padding: 29px 18px 12px;
  width: 100%;
  max-width: 470px;
  justify-self: center;
}
.cp-orbit {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.cp-orbit-one {
  inset: 3% 0 0;
  background: radial-gradient(
    ellipse,
    #d7e5d39c,
    #d6e2d03d 65%,
    transparent 70%
  );
  transform: none;
}
.cp-orbit-two {
  inset: 10px 10px 20px;
  border: 1px solid #ffffffab;
  transform: none;
}
.cp-spark {
  position: absolute;
  color: #6b5f3f;
}
.cp-spark-one {
  right: 1px;
  top: 4px;
  transform: rotate(12deg);
}
.cp-spark .cp-icon {
  width: 25px;
  height: 25px;
}
.cp-membership {
  position: relative;
  overflow: hidden;
  min-height: 266px;
  border-radius: 23px;
  padding: 25px 27px 19px;
  color: #fffdf2;
  background:
    radial-gradient(ellipse at 94% 0%, #8eab796b, transparent 60%),
    linear-gradient(125deg, #3b6653, #214d3e 55%, #174b3b);
  box-shadow:
    0 24px 42px #254e3c29,
    0 3px 9px #325e351a,
    inset 0 1px 0 #ffffff80;
  transform: rotate(-3deg);
  border: 1px solid #e7f1d984;
  animation: cp-float 9s ease-in-out infinite;
}
.cp-membership::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 35%,
    #ffffff16 36%,
    #ffffff03 57%,
    transparent 58%
  );
}
.cp-membership::after {
  content: "❋";
  position: absolute;
  right: -30px;
  top: 2px;
  font-family: Georgia, serif;
  font-size: 250px;
  line-height: 1;
  color: #d9e5c90b;
  pointer-events: none;
}
.cp-member-top,
.cp-member-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cp-member-top > span {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.cp-member-top > small {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #e1e7cf;
}
.cp-member-middle {
  position: relative;
  z-index: 1;
  padding: 27px 0 19px;
}
.cp-member-label {
  display: block;
  color: #dbe5cc;
  font-size: 12px;
  margin-bottom: 3px;
}
.cp-member-middle > strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.cp-member-middle > small {
  display: block;
  font-size: 9px;
  color: #d2dfc7;
  margin-top: 4px;
}
.cp-member-bottom small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #d0ddbf;
}
.cp-member-bottom div > span {
  display: block;
  font-size: 13px;
  margin-top: 4px;
}
.cp-member-seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e0d3a97a;
  border-radius: 50%;
  color: #e3d4aa;
  background: #ffffff09;
}
.cp-member-reference {
  position: relative;
  z-index: 1;
  color: #d0dfc1;
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.cp-wallet-caption {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: #596455;
  font-size: 10px;
  margin-top: 24px;
}
.cp-wallet-caption .cp-icon {
  width: 13px;
  height: 13px;
}
.cp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin: 14px 0 25px;
}
.cp-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 25px 23px;
  overflow: hidden;
  border: 1px solid var(--cp-border);
  border-radius: 20px;
  box-shadow:
    0 7px 28px #314a2e04,
    inset 0 1px 0 #ffffff;
}
.cp-stat-sage {
  background: linear-gradient(125deg, #fafff8c9, #e8f0e5c7);
}
.cp-stat-peach {
  background: linear-gradient(125deg, #fffaf4d9, #f5eae0ba);
}
.cp-stat-lilac {
  background: linear-gradient(125deg, #fdfbffdb, #eae5f3ad);
}
.cp-stat-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 15px;
  background: #ffffffa6;
  border: 1px solid #fff;
  color: #4f6653;
  box-shadow: 0 4px 13px #41593f08;
}
.cp-stat-peach .cp-stat-icon {
  color: #745d40;
}
.cp-stat-lilac .cp-stat-icon {
  color: #665b76;
}
.cp-stat-label {
  display: block;
  font-size: 12px;
  color: #55645b;
}
.cp-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  margin: 2px 0;
}
.cp-stat small {
  display: block;
  font-size: 10px;
  color: #57645b;
}
.cp-stat-glint {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid #ffffff8a;
  border-radius: 50%;
  right: -65px;
  top: -50px;
}
.cp-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.cp-glass {
  border: 1px solid var(--cp-border);
  border-radius: 22px;
  background: linear-gradient(130deg, #ffffffd9, #ffffffe8 55%, #f8fcf5b3);
  box-shadow:
    0 9px 35px #24472c05,
    inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
  overflow: hidden;
  min-width: 0;
}
.cp-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  padding: 26px 27px 13px;
}
.cp-kicker {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #596355;
}
.cp-panel-heading h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 8px 0 4px;
}
.cp-panel-heading p {
  font-size: 12px;
  color: #57645a;
  line-height: 1.6;
  margin: 0;
}
.cp-period {
  padding: 6px 10px;
  border: 1px solid #e5ebdf;
  border-radius: 20px;
  background: #f8faf4;
  font-size: 10px;
  white-space: nowrap;
  color: #546450;
}
.cp-history-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 27px 0;
}
.cp-history-total strong {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.cp-history-total > span {
  font-size: 10px;
  color: #556458;
}
.cp-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin: 26px 27px 16px;
  padding-top: 24px;
  background: repeating-linear-gradient(
    to top,
    transparent 0 35px,
    #e5ebe266 35px 36px
  );
}
.cp-chart-column {
  min-width: 0;
  text-align: center;
}
.cp-chart-track {
  height: 112px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cp-chart-bar {
  position: relative;
  width: 55%;
  max-width: 38px;
  height: var(--bar-height);
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(135deg, #cbdbbd, #9ebc9e);
  box-shadow: inset 1px 0 0 #ffffff70;
  min-height: 1px;
}
.cp-chart-bar span {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #536550;
  white-space: nowrap;
}
.cp-chart-column.is-current .cp-chart-bar {
  background: linear-gradient(140deg, #779c77, #345e47);
  box-shadow: inset 1px 0 0 #a9c799;
}
.cp-chart-column time {
  display: block;
  font-size: 11px;
  color: #5a6258;
  padding-top: 10px;
  background: #ffffffc9;
}
.cp-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 27px;
  padding: 16px 0;
  border-top: 1px solid #e6ece2;
  font-size: 10px;
  color: #556455;
}
.cp-chart-foot > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cp-chart-foot i {
  width: 6px;
  height: 6px;
  background: #8eae84;
  border-radius: 50%;
}
.cp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #45674b;
  font-size: 11px;
  font-weight: 600;
}
.cp-link .cp-icon {
  width: 14px;
  height: 14px;
}
.cp-link:hover {
  color: #173c29;
}
.cp-support {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 29px 27px 20px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 95% 0%, #eff0de, transparent 60%),
    linear-gradient(130deg, #e5eddf, #eef2e4);
  border: 1px solid #ffffffd9;
  box-shadow:
    inset 0 1px 0 #fff,
    0 9px 30px #3d592f05;
}
.cp-support-art {
  position: absolute;
  right: 22px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 14px;
  background: #ffffff78;
  border: 1px solid #fff;
  color: #5a6452;
  transform: rotate(8deg);
}
.cp-support > .cp-kicker {
  padding-right: 45px;
  font-size: 8px;
}
.cp-support h2 {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 22px 0 14px;
}
.cp-support h2 em {
  color: #576451;
  font-weight: 400;
}
.cp-support > p {
  color: #54654f;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 15px;
}
.cp-contact-actions {
  display: grid;
  gap: 8px;
}
.cp-contact-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #ffffff7a;
  border: 1px solid #ffffff91;
  color: #3e6043;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}
.cp-contact-actions a .cp-icon {
  width: 16px;
  height: 16px;
}
.cp-contact-actions a .cp-icon:last-child {
  margin-left: auto;
}
.cp-contact-actions a:hover {
  background: #fff;
}
.cp-contact-note {
  font-size: 12px;
  color: #516647;
  line-height: 1.8;
}
.cp-support-note {
  border-top: 1px solid #d8e1cf;
  padding-top: 14px;
  margin-top: 18px;
  font-size: 10px;
  color: #59644e;
  line-height: 1.7;
}
.cp-section-heading {
  margin: 0 0 20px;
}
.cp-section-heading h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 9px 0 7px;
}
.cp-section-heading p {
  font-size: 13px;
  color: var(--cp-muted);
  margin: 0;
}
.cp-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 22px;
}
.cp-policy {
  padding: 25px 27px 0;
}
.cp-policy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cp-plan {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4f674d;
}
.cp-plan .cp-icon {
  width: 18px;
  height: 18px;
}
.cp-policy h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 22px 0 4px;
  overflow-wrap: anywhere;
}
.cp-policy-number {
  font-size: 11px;
  color: #596456;
  margin: 0;
  overflow-wrap: anywhere;
}
.cp-policy-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 23px 0;
}
.cp-policy-facts small {
  display: block;
  font-size: 11px;
  color: #566453;
  margin-bottom: 7px;
}
.cp-policy-facts strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cp-eligibility {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.7;
}
.cp-eligibility .cp-icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.cp-eligibility.is-ready {
  color: #486647;
  background: #edf4e7;
}
.cp-eligibility.needs-review {
  color: #735e30;
  background: #faf4e7;
}
.cp-family {
  margin-top: 17px;
  border-top: 1px solid #e3ebde;
}
.cp-family summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}
.cp-family summary::-webkit-details-marker {
  display: none;
}
.cp-family summary > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-family summary .cp-icon {
  width: 17px;
  height: 17px;
  color: #556551;
}
.cp-family summary small {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  background: #eaf0e4;
  border-radius: 50%;
  font-size: 10px;
}
.cp-expand {
  font-size: 17px;
  font-weight: 400;
  color: #55654e;
}
.cp-family[open] .cp-expand {
  transform: rotate(45deg);
}
.cp-family-person {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #edf1e8;
}
.cp-person-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(120deg, #e1ebdb, #f2ecdf);
  font-size: 12px;
}
.cp-family-person > div {
  flex: 1;
}
.cp-family-person strong,
.cp-family-person small {
  display: block;
  font-size: 12px;
}
.cp-family-person small {
  font-size: 10px;
  color: #566451;
}
.cp-soft-empty {
  font-size: 12px;
  color: var(--cp-muted);
  padding-bottom: 12px;
}
.cp-policy-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 0 18px;
  border-top: 1px solid #e3ebde;
  font-size: 10px;
  color: #596452;
}
.cp-cover-section {
  margin-bottom: 32px;
}
.cp-records-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}
.cp-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #edf3e8;
  color: #50674a;
}
.cp-lilac-icon {
  background: #f0eaf5;
  color: #685b75;
}
.cp-payment-panel table th {
  font-size: 10px;
  background: #f5f8f0;
  color: #576352;
  padding: 12px 15px;
}
.cp-payment-panel table td {
  font-size: 12px;
  padding: 16px 15px;
  border-color: #edf1e8;
}
.cp-payment-panel table td > strong {
  font-size: 12px;
  font-weight: 500;
}
.cp-table-detail {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #596453;
}
.cp-money {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cp-payment-panel .text-button {
  color: #486945;
  font-size: 11px;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 18px;
  background: #edf3e6;
}
.cp-claim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 25px;
  padding: 18px 0;
  border-top: 1px solid #e4ebdd;
}
.cp-claim h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}
.cp-claim small {
  font-size: 11px;
  color: #576451;
}
.cp-empty-state {
  text-align: center;
  padding: 32px 27px 36px;
}
.cp-empty-state > span {
  display: inline-grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff0e4, #f6f0f8);
  color: #5d6254;
}
.cp-empty-state h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 15px 0 8px;
}
.cp-empty-state p {
  font-size: 12px;
  color: #586454;
  line-height: 1.8;
  max-width: 270px;
  margin: 0 auto;
}
.cp-empty-policy {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
}
.cp-empty-policy > .cp-icon {
  color: #53664a;
  width: 36px;
  height: 36px;
}
.cp-empty-policy h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}
.cp-empty-policy p {
  color: var(--cp-muted);
  font-size: 14px;
}
.cp-announcement {
  padding: 24px 27px;
  margin-top: 18px;
}
.cp-announcement h3 {
  font-size: 18px;
  font-weight: 500;
}
.cp-announcement p {
  font-size: 14px;
  color: var(--cp-muted);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cp-closing {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  color: #5b6352;
  padding: 13px 0 7px;
  font-size: 23px;
}
.cp-closing span {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
}
.cp-portal .status {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 20px;
  color: #44663b;
  background: #eaf2e3;
}
.cp-portal .status.warn {
  color: #765c2a;
  background: #f8f0de;
}
.cp-portal .status.muted {
  color: #5a6453;
  background: #edf0e7;
}
.client-experience dialog {
  background: linear-gradient(130deg, #fff, #f8fbf3);
  box-shadow: 0 30px 100px #254d3c30;
  border-color: #fff;
}
@keyframes cp-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}
@media (max-width: 1200px) {
  .client-experience main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .client-experience #section-help {
    right: 28px;
  }
  .cp-hero {
    gap: 14px;
  }
  .cp-hero h1 {
    font-size: 52px;
  }
  .cp-stat {
    gap: 12px;
    padding: 21px 17px;
  }
  .cp-stat-icon {
    width: 39px;
    height: 39px;
  }
  .cp-stat small {
    font-size: 10px;
  }
  .cp-member-top > span {
    font-size: 17px;
  }
  .cp-member-top > small {
    font-size: 7px;
  }
}
@media (max-width: 1050px) {
  .client-experience .sidebar {
    width: 210px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .client-experience .main-shell {
    margin-left: 210px;
  }
  .client-experience .brand {
    font-size: 25px;
  }
  .cp-hero h1 {
    font-size: 46px;
  }
  .cp-hero-copy > p {
    font-size: 14px;
  }
  .cp-membership {
    padding: 21px;
  }
  .cp-member-top > small {
    display: none;
  }
  .cp-hero-actions {
    gap: 8px;
  }
  .cp-primary,
  .cp-secondary {
    padding: 11px 14px;
    font-size: 12px;
  }
  .cp-stats {
    gap: 10px;
  }
  .cp-stat {
    display: block;
  }
  .cp-stat-icon {
    margin-bottom: 12px;
  }
  .cp-insights,
  .cp-records-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-support {
    padding: 25px 27px;
  }
  .cp-support h2 {
    font-size: 30px;
  }
  .cp-support-art {
    top: 25px;
    right: 28px;
  }
  .cp-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .cp-contact-actions a {
    flex: 1;
  }
}
@media (max-width: 720px) {
  .client-experience .sidebar {
    width: 250px;
    background: #f7fbf4f5;
  }
  .client-experience .main-shell {
    margin-left: 0;
  }
  .client-experience main {
    padding: 20px 20px 18px;
  }
  .client-experience .topbar {
    height: 65px;
    padding: 0 16px;
  }
  .client-experience .demo-badge {
    display: none;
  }
  .client-experience .top-actions {
    gap: 5px;
  }
  .client-experience .topbar .secondary {
    font-size: 11px;
    padding: 8px 11px;
  }
  .client-experience #section-help {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
  }
  .client-experience .section-help {
    font-size: 11px;
  }
  .client-experience .section-help[open] {
    width: 100%;
  }
  .cp-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px 0 14px;
  }
  .cp-hero-copy {
    text-align: center;
    padding-top: 17px;
  }
  .cp-welcome {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .cp-hero h1 {
    font-size: 53px;
    letter-spacing: -2px;
    margin: 21px 0 17px;
  }
  .cp-hero-copy > p {
    font-size: 14px;
    max-width: 320px;
    margin: 0 auto 22px;
  }
  .cp-hero-actions {
    justify-content: center;
  }
  .cp-company-note {
    margin-top: 18px;
  }
  .cp-wallet-scene {
    max-width: 420px;
    padding: 24px 13px 7px;
  }
  .cp-membership {
    padding: 23px;
    min-height: 260px;
  }
  .cp-member-top > small {
    display: block;
    font-size: 7px;
  }
  .cp-member-top > span {
    font-size: 19px;
  }
  .cp-member-middle > strong {
    font-size: 37px;
  }
  .cp-wallet-caption {
    margin-top: 21px;
    font-size: 10px;
  }
  .cp-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }
  .cp-stat {
    padding: 16px 11px;
    border-radius: 15px;
    text-align: center;
  }
  .cp-stat-icon {
    margin: 0 auto 10px;
    width: 33px;
    height: 33px;
    border-radius: 11px;
  }
  .cp-stat-icon .cp-icon {
    width: 18px;
    height: 18px;
  }
  .cp-stat-label {
    font-size: 10px;
    line-height: 1.5;
    min-height: 30px;
  }
  .cp-stat strong {
    font-size: 27px;
    margin: 2px 0 5px;
  }
  .cp-stat small {
    font-size: 9px;
    line-height: 1.6;
  }
  .cp-insights,
  .cp-records-grid {
    gap: 18px;
    margin-bottom: 26px;
  }
  .cp-glass,
  .cp-support {
    border-radius: 18px;
  }
  .cp-panel-heading {
    padding: 23px 20px 13px;
  }
  .cp-panel-heading h2 {
    font-size: 18px;
  }
  .cp-kicker {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .cp-period {
    font-size: 9px;
    padding: 5px 8px;
  }
  .cp-history-total {
    padding-left: 20px;
    padding-right: 20px;
    gap: 7px;
  }
  .cp-history-total strong {
    font-size: 28px;
  }
  .cp-history-total > span {
    font-size: 9px;
  }
  .cp-chart {
    gap: 10px;
    margin: 27px 18px 14px;
  }
  .cp-chart-bar {
    width: 65%;
  }
  .cp-chart-bar span {
    font-size: 9px;
  }
  .cp-chart-column time {
    font-size: 10px;
  }
  .cp-chart-foot {
    margin: 0 20px;
  }
  .cp-chart-foot .cp-link {
    font-size: 10px;
  }
  .cp-section-heading h2 {
    font-size: 30px;
  }
  .cp-section-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  .cp-policy {
    padding: 22px 20px 0;
  }
  .cp-policy-facts strong {
    font-size: 25px;
  }
  .cp-policy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-policy-top {
    gap: 8px;
  }
  .cp-policy h3 {
    font-size: 21px;
  }
  .cp-payment-panel .table-scroll {
    overflow-x: auto;
  }
  .cp-payment-panel table {
    min-width: 370px;
  }
  .cp-closing span {
    font-size: 13px;
  }
  .client-experience footer {
    font-size: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cp-membership {
    animation: none;
  }
  .cp-primary:hover {
    transform: none;
  }
}
@media print {
  body.client-experience {
    background: #fff;
  }
  .client-experience dialog {
    background: #fff;
    box-shadow: none;
  }
}

/* Keep the glossy treatment readable, including the policy's actual status. */
.cp-member-top > small {
  font-size: 10px;
  letter-spacing: 0.4px;
  padding: 5px 9px;
  border: 1px solid #ffffff40;
  border-radius: 20px;
  background: #ffffff10;
  text-align: center;
}
.cp-member-middle > small,
.cp-wallet-caption,
.cp-company-note,
.cp-stat small {
  font-size: 11px;
}
.cp-member-reference {
  font-size: 10px;
}
.cp-stat-label {
  font-size: 13px;
}
.cp-kicker {
  font-size: 10px;
}
.cp-support > p {
  font-size: 13px;
}
.cp-policy-number,
.cp-eligibility,
.cp-policy-footer {
  font-size: 12px;
}
.cp-payment-panel table td {
  font-size: 13px;
}
.cp-portal .status {
  font-size: 11px;
}
.cp-welcome,
.cp-member-label,
.cp-company-note {
  overflow-wrap: anywhere;
  max-width: 100%;
}
@media (max-width: 1050px) {
  .cp-member-top > small {
    display: block;
    font-size: 9px;
  }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .cp-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-hero-copy {
    max-width: 600px;
  }
  .cp-wallet-scene {
    max-width: 450px;
  }
}
@media (max-width: 720px) {
  .cp-stat-label {
    font-size: 11px;
  }
  .cp-stat small {
    font-size: 10px;
  }
  .cp-member-top > small {
    font-size: 9px;
  }
}

.cp-service-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.cp-service-list li + li { margin-top: 4px; }
.cp-card-services {
  margin-top: 9px;
  color: #e1e7d8;
  font-size: 12px;
  line-height: 1.5;
}
.cp-service-benefit { grid-column: 1 / -1; }
