/* Approved Smile Card design. All rules are scoped to the member H5. */
body.member-view{background:#f8f6f0}
.member-shell{--brand-900:#073f3a;--brand-700:#0e574e;--brand-600:#17685d;--text-strong:#073f3a;--text:#42615f;--muted:#57706c;--divider:#d9ddd6;--border:#bfcac5;--accent-700:#9b7138;max-width:430px;min-height:100svh;padding:36px 22px max(32px,env(safe-area-inset-bottom));background:#faf8f3;color:var(--text);font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.member-shell h1,.member-shell h2,.member-shell h3{color:var(--text-strong);letter-spacing:.01em}
.member-shell h1{font-size:30px;line-height:1.3;font-weight:700}
.member-shell .icon{stroke-width:1.65}
.member-shell a{text-underline-offset:4px}
.member-shell :focus-visible{outline:2px solid var(--brand-700);outline-offset:4px;box-shadow:none}
.member-shell .btn{min-height:48px;height:auto;padding:12px 18px;line-height:1.5;border-radius:10px;font-size:16px}
.member-shell .btn-primary{background:var(--brand-700)}
.member-shell .btn-secondary{background:transparent}
.member-shell .btn-block{min-height:56px}
.member-shell .member-header{display:flex;align-items:center;justify-content:space-between;gap:16px;height:auto;min-height:52px;margin:0}
.member-shell .wordmark{font-size:21px;font-weight:700;line-height:1.3;letter-spacing:.08em}
.member-shell .wordmark small{margin-top:3px;font-size:12px;font-weight:400;letter-spacing:.14em;color:var(--text)}
.member-shell .settings-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:44px;min-height:52px;text-decoration:none;color:var(--brand-900);font-size:13px}
.member-shell .settings-entry .icon{width:26px;height:26px}
.member-shell .member-footer{margin-top:38px;padding:0;border:0;font-size:12px;color:var(--muted);letter-spacing:.06em;line-height:1.7;text-align:center}
.member-shell .back-link{font-size:15px;min-height:44px;line-height:1.4;font-weight:500}
.member-shell .compact-header{gap:12px;min-height:44px}
.member-shell .compact-header .wordmark{font-size:16px;letter-spacing:.05em;flex:none}
.member-shell .compact-header .back-link{font-size:14px}
.member-shell .eyebrow{font-size:11px;font-weight:500;letter-spacing:.26em;color:var(--accent-700);line-height:1.7}
.member-shell .eyebrow:after{content:"";display:block;width:28px;margin-top:10px;border-bottom:2px solid #b48b53}

/* Membership home */
.member-shell.card-home-shell{padding-top:44px;padding-bottom:max(36px,env(safe-area-inset-bottom))}
.member-shell .welcome-title{margin:30px 0 20px;font-size:28px;line-height:1.3}
.member-shell .smile-card{position:relative;max-width:none;margin:0 -4px;padding:22px 26px;min-height:216px;border:0;border-radius:15px;background:#0e574e url('/member-card-surface.png') center/cover no-repeat;color:#fff;box-shadow:0 5px 10px rgba(22,58,46,.09)}
.member-shell .smile-card-top{display:block;min-height:0}
.member-shell .smile-card-top h2{margin:0;color:#efcf95;font-size:20px;line-height:1.3;letter-spacing:.08em}
.member-shell .smile-card-top>span{display:block;margin-top:4px;color:#efcf95;font-size:10px;letter-spacing:.27em}
.member-shell .member-identity{margin-top:22px}
.member-shell .member-identity>h3{margin:0;color:#fff;font-size:30px;font-weight:650;line-height:1.3}
.member-shell .member-department{display:block;margin:7px 0 0;padding:0;background:none;color:#f5f8f1;font-size:14px;font-weight:400;line-height:1.6}
.member-shell .binding-status{display:flex;align-items:center;gap:10px;margin:16px 0 0;padding:0;background:none;color:#fff;font-size:14px}
.member-shell .binding-status>.icon{width:23px;height:23px;padding:4px;border:0;border-radius:50%;color:var(--brand-900);background:#edcc96}
.member-shell .card-use-note{margin:18px 2px 0;font-size:14px;line-height:1.7}
.member-shell .member-services{margin-top:28px}
.member-shell .services-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-bottom:5px}
.member-shell .services-heading h2{margin:0;font-size:19px;line-height:1.4}
.member-shell .services-heading>a{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--text);text-decoration:none;font-size:14px}
.member-shell .service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;border-radius:0;background:none;box-shadow:none}
.member-shell .service-links>a{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:151px;padding:14px 16px 12px;border:0;border-radius:13px;background:#f5f0e6;color:var(--brand-900)}
.member-shell .service-links>a+a{background:#edf1e8;border:0}
.member-shell .service-icon{width:43px;height:43px;background:#ede6d8;color:var(--brand-900)}
.member-shell .service-links>a+a .service-icon{background:#e2e9dc}
.member-shell .service-icon .icon{width:29px;height:29px}
.member-shell .service-links strong{margin-top:10px;color:var(--brand-900);font-size:18px;line-height:1.4;white-space:normal}
.member-shell .service-links small{margin-top:5px;color:var(--text);font-size:13px;line-height:1.5}
.member-shell .service-links>a>.icon{align-self:flex-end;width:18px;height:18px;margin-top:4px;color:var(--brand-900)}
.member-shell .card-skeleton{margin-top:20px;min-height:216px;padding:24px;border-radius:15px;background:#e9efe7}

/* Enrollment */
.member-shell.enrollment-shell{padding-top:32px}
.member-shell .login-intro{margin:26px 2px 16px}
.member-shell .login-intro .eyebrow{margin-bottom:12px}
.member-shell .login-intro h1{margin-bottom:10px;font-size:32px}
.member-shell .login-intro>p:last-child{font-size:16px;line-height:1.7}
.member-shell .enrollment-card{height:80px;margin:0 -4px;padding:24px 24px 12px;border-radius:14px 14px 0 0;background:#0e574e url('/member-card-surface.png') center 46%/cover no-repeat;color:#efcf95}
.member-shell .enrollment-card span{display:block;font-size:10px;letter-spacing:.26em}
.member-shell .enrollment-card strong{display:block;font-size:15px;font-weight:400;letter-spacing:.08em}
.member-shell .login-panel{margin:30px 4px 0;padding:0;border:0;background:none;box-shadow:none}
.member-shell .field{gap:8px;margin-bottom:20px;font-size:16px}
.member-shell .field input{min-height:50px;padding:12px 14px;border-radius:8px;background:rgba(255,255,255,.35);font-size:16px}
.member-shell .field input[aria-invalid=true]{border-color:var(--error)}
.member-shell .field-hint{font-size:13px;line-height:1.6}
.member-shell .privacy-note{margin-top:17px;font-size:13px;line-height:1.8}
.member-shell .login-panel .btn{margin-top:8px;font-size:18px}
.member-shell.enrollment-shell .member-footer{margin-top:60px}

/* Benefits directory */
.member-shell.directory-shell{padding-top:36px}
.member-shell .directory-heading{margin:18px 0 14px}
.member-shell .directory-heading h1{margin:0 0 5px;font-size:34px}
.member-shell .directory-heading p{margin:0;font-size:16px}
.member-shell .search-box{min-height:48px;border-radius:9px;background:rgba(255,255,255,.45)}
.member-shell .search-box input{font-size:16px}
.member-shell .filter-chips{gap:20px;margin:10px 0 0;padding:0;border-bottom:1px solid var(--divider);overflow-x:auto;scrollbar-width:thin}
.member-shell .chip{display:block;flex:0 0 auto;min-height:48px;margin:0;padding:8px 8px 9px;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;font-size:16px;line-height:1.5}
.member-shell .chip.active{color:var(--brand-900);border-bottom-color:#b48b53;background:none;font-weight:650}
.member-shell .merchant-list{border-top:0}
.member-shell .merchant-item{display:block;padding:20px 0 14px;border-bottom:1px solid var(--divider)}
.member-shell .merchant-title{display:flex;flex-wrap:wrap;gap:8px}
.member-shell .merchant-title h2{margin:0;font-size:19px;white-space:normal;line-height:1.45;overflow-wrap:anywhere}
.member-shell .tag{font-size:12px;color:var(--brand-700);background:#e6ede5;border-radius:4px}
.member-shell .merchant-summary{display:block;margin:6px 0 10px;font-size:16px;line-height:1.6;overflow:visible}
.member-shell .merchant-summary>span{padding:2px 5px;background:#e5eee5;border-radius:4px;color:var(--brand-900);box-decoration-break:clone;-webkit-box-decoration-break:clone}
.member-shell .merchant-meta{display:grid;gap:4px;color:var(--text);font-size:14px}
.member-shell .merchant-meta span{display:flex;align-items:flex-start;gap:8px;white-space:normal;overflow:visible;line-height:1.55}
.member-shell .merchant-meta .icon{width:18px;height:18px;margin-top:3px}
.member-shell .merchant-action{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-height:32px;margin-top:4px;color:var(--brand-900);font-size:16px}
.member-shell .merchant-thumbnail{float:right;width:64px;height:64px;margin:0 0 10px 14px;object-fit:cover;border-radius:7px}
.member-shell .merchant-item:after{display:block;clear:both;content:""}
.member-shell .empty-state{padding:38px 8px}
.member-shell .empty-state p{font-size:15px}
.member-shell .list-pagination{display:grid;justify-items:center;gap:8px;padding:24px 0 8px;color:var(--muted);font-size:13px}
.member-shell .list-pagination .btn{min-width:136px}

/* Merchant detail */
.member-shell.detail-shell{padding-top:30px;padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.member-shell.detail-shell .member-main>.back-link{margin-top:0}
.member-shell .merchant-detail{margin-top:0}
.member-shell .merchant-detail>header{padding:0 0 10px}
.member-shell .merchant-detail>header .tag{padding:2px 6px;font-size:11px;line-height:1.5}
.member-shell .merchant-detail>header .eyebrow{margin:4px 0 8px;font-size:10px}
.member-shell .merchant-detail>header h1{margin:0 0 9px;font-size:28px;line-height:1.4}
.member-shell .merchant-detail>header>p:last-child{margin:0;font-size:16px;line-height:1.7}
.member-shell .detail-image{margin:0 0 18px}
.member-shell .primary-benefit{min-height:142px;padding:22px 24px 32px;border:0;border-radius:13px;background:#0e574e url('/member-card-surface.png') center top/cover no-repeat;box-shadow:0 3px 8px rgba(22,58,46,.08)}
.member-shell .primary-benefit>p{margin:0 0 13px;color:#efcf95;font-size:14px;letter-spacing:.18em}
.member-shell .primary-benefit h2{color:#fff;font-size:20px;line-height:1.6;font-weight:600;white-space:pre-line}
.member-shell .detail-sections>section{padding:14px 0 12px}
.member-shell .detail-sections h2{margin:0 0 8px;font-size:19px;line-height:1.4}
.member-shell .detail-sections h2:after{content:"";display:block;width:26px;margin-top:6px;border-bottom:2px solid #b48b53}
.member-shell .detail-sections p{font-size:15px;white-space:pre-line;line-height:1.7}
.member-shell .usage-steps{margin:0;padding-left:24px;font-size:15px;line-height:1.7}
.member-shell .usage-steps li{padding:2px 0 2px 5px;white-space:pre-line}
.member-shell .usage-steps li::marker{color:var(--brand-700);font-variant-numeric:tabular-nums}
.member-shell .contact-list>div,.member-shell .contact-list>a{gap:12px;min-height:32px;padding:4px 0;border:0;font-size:15px;line-height:1.6}
.member-shell .contact-list>a{min-height:44px}
.member-shell .contact-list small{display:inline;margin-right:8px;font-size:12px}
.member-shell .appointment-button{position:fixed;z-index:3;left:50%;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 44px);max-width:386px;margin:0;transform:translateX(-50%);box-shadow:0 4px 14px rgba(22,58,46,.16)}
.member-shell .contact-unavailable{margin:20px 0 0;color:var(--muted);font-size:14px}

/* Account and help */
.member-shell .account-heading{margin:28px 0 26px}
.member-shell .account-heading h1{margin:0 0 8px;font-size:29px}
.member-shell .account-heading p{margin:0;color:var(--text);font-size:15px}
.member-shell .account-identity{display:flex;flex-direction:column;gap:4px;padding:20px 22px;margin-bottom:20px;border-radius:12px;background:#eaf0e5}
.member-shell .account-identity strong{color:var(--brand-900);font-size:24px;line-height:1.4}
.member-shell .account-identity span{font-size:14px}
.member-shell .account-links{display:grid;border-top:1px solid var(--divider)}
.member-shell .account-links>a{display:flex;align-items:center;gap:14px;min-height:88px;padding:18px 0;border-bottom:1px solid var(--divider);color:var(--brand-900);text-decoration:none}
.member-shell .account-links>a>.icon:first-child{width:23px;height:23px}
.member-shell .account-links>a>.icon:last-child{margin-left:auto;width:18px;height:18px}
.member-shell .account-links strong,.member-shell .account-links small{display:block}
.member-shell .account-links strong{font-size:17px;font-weight:600}
.member-shell .account-links small{margin-top:4px;color:var(--muted);font-size:14px}
.member-shell .account-logout{margin-top:32px}
.member-shell .account-note{margin:22px 0 0;font-size:14px;line-height:1.8;color:var(--muted)}
.member-shell .logout-note{margin-top:12px;text-align:center;font-size:13px}
.member-shell .account-text-link{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-top:18px;padding:8px 0;font-size:15px;color:var(--brand-900);text-decoration:none}
.member-shell .profile-summary{display:flex;align-items:center;gap:18px;margin-bottom:8px;padding:20px;border:1px solid var(--divider);border-radius:12px;background:#edf1e8}
.member-shell .profile-summary-photo{width:78px;height:104px;flex:none;border:1px solid var(--border);border-radius:8px;background:#e3ebe7;object-fit:cover}
.member-shell .profile-summary-photo-empty{display:grid;place-items:center;padding:8px;color:var(--muted);font-size:12px;text-align:center}
.member-shell .profile-summary-identity{min-width:0;flex:1}
.member-shell .profile-summary-identity h2{margin:0;font-size:24px;line-height:1.4;overflow-wrap:anywhere}
.member-shell .profile-summary-identity p{margin:4px 0 12px;color:var(--muted);font-size:14px}
.member-shell .profile-summary-identity span{display:flex;align-items:center;gap:6px;color:var(--brand-900);font-size:14px;font-weight:650}
.member-shell .profile-summary-identity .icon{width:18px;height:18px}
.member-shell .profile-photo-label{margin:8px 0 20px;color:var(--muted);font-size:12px;text-align:center}
.member-shell .profile-details{margin:0;border-top:1px solid var(--divider)}
.member-shell .profile-details>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:18px;align-items:start;padding:22px 0;border-bottom:1px solid var(--divider)}
.member-shell .profile-details dt{color:var(--muted);font-size:15px}
.member-shell .profile-details dd{margin:0;color:var(--brand-900);font-size:16px;text-align:right}
.member-shell .profile-status{display:flex;justify-content:flex-end;gap:6px}
.member-shell .profile-status .icon{width:18px;height:18px;margin-top:4px}
.member-shell .help-topics{border-top:1px solid var(--divider)}
.member-shell .help-topics details{padding:4px 0;border-bottom:1px solid var(--divider)}
.member-shell .help-topics summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 0;list-style:none;font-size:16px;font-weight:600;color:var(--brand-900);cursor:pointer}
.member-shell .help-topics summary::-webkit-details-marker{display:none}
.member-shell .help-topics summary>.icon{width:18px;height:18px}
.member-shell .help-topics details[open] summary>.icon{transform:rotate(90deg)}
.member-shell .help-topics p{margin:0 0 18px;font-size:15px;line-height:1.85}
.member-shell .help-topics details>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:10px;font-size:15px}
.member-shell .support-panel{padding:26px 22px;border-radius:13px;background:#edf1e8;text-align:center}
.member-shell .support-panel>.icon{width:32px;height:32px;color:var(--brand-700)}
.member-shell .support-panel h2{margin:14px 0 12px;font-size:20px}
.member-shell .support-panel p{margin:0;font-size:15px;line-height:1.8;text-align:left}
.member-shell .support-number{display:block;min-height:44px;margin:12px 0;color:var(--brand-900);font-size:25px;text-decoration:none}
.member-shell .support-panel .support-hours{text-align:center;font-size:14px}
.member-shell .support-panel .btn{margin-top:20px}
.member-shell #logout-message:not(:empty){margin-top:20px}

@media(max-width:359px){.member-shell{padding-left:18px;padding-right:18px}.member-shell.card-home-shell{padding-left:18px;padding-right:18px}.member-shell .wordmark{font-size:20px}.member-shell .smile-card{padding:22px 20px}.member-shell .service-links{gap:8px}.member-shell .service-links>a{padding:14px 12px}.member-shell .service-links strong{font-size:17px}.member-shell .service-links small{font-size:13px}.member-shell .login-intro h1{font-size:29px}.member-shell .filter-chips{gap:10px}.member-shell .compact-header .wordmark{font-size:14px}.member-shell .compact-header .back-link{font-size:13px}}
@media(min-width:600px){body.member-view{background:#eeeee7}.member-shell{box-shadow:0 0 44px rgba(29,62,49,.04)}}
