/* SURA Friends — Espresso Club. All data and actions use the native account. */
.friends-page{--accent:#a63e25;--muted:#716b66;--line:#e7e2dc;--warm:#f3eee7;background:#faf9f6;color:#292420}
.friends-header{max-width:1120px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}
.friends-header>a:last-child{font-size:13px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.friends-header>a:last-child .ui-icon{width:18px;height:18px}
.friends-main{max-width:1060px;margin:0 auto;padding:32px 32px 24px}
.friends-nav{max-width:1060px;margin:0 auto;padding:18px 32px 0;display:flex;gap:28px;flex-wrap:wrap}
.friends-nav a{font-size:13px;color:var(--muted);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;min-height:36px}
.friends-nav a[aria-current=page]{color:var(--accent);border-color:var(--accent)}
.friends-home .friends-nav{display:none}
.friends-welcome{margin-bottom:24px}
.workspace-date{margin:0 0 10px;color:var(--muted);font-size:12px}
.friends-welcome h1{font-size:28px;line-height:1.25;letter-spacing:-.8px;margin-bottom:9px;font-weight:700;overflow-wrap:anywhere}
.friends-welcome p:last-child{font-size:14px;margin-bottom:0}
.friends-dashboard{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px 24px;align-items:start;margin-bottom:24px}
.friends-page .panel{border-color:var(--line);border-radius:9px;padding:26px;background:#fff}
.friends-digital-card{grid-row:1/span 2;background:#2c241f;color:#fff8f1;padding:24px;border-radius:10px;min-width:0;text-align:left}
.digital-card-title{display:flex;align-items:center;gap:9px;margin-bottom:20px}
.digital-card-title .card-brand-mark{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen;width:30px;height:30px;object-fit:contain}
.digital-card-title h2{font-size:17px;font-weight:600;letter-spacing:-.25px;margin:0;color:#fff8f1;flex:1}
.digital-card-title>.ui-icon{width:19px;height:19px;filter:invert(1);opacity:.8}
.card-identity{margin-bottom:16px;line-height:1.5}
.card-identity strong{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.card-identity>span{font-size:12px;color:#e3d7cd;overflow-wrap:anywhere}
.friends-digital-card .qr-code{width:190px;max-width:100%;margin:0 auto 16px;background:#fff}
.friends-digital-card>.button{margin:0 0 10px;background:#b94b2c;border-color:#b94b2c;min-height:44px;font-size:12px}
.friends-digital-card>.button:hover{background:#a13d23}
.friends-digital-card>small{color:#e3d7cd;font-size:11px;text-align:center;line-height:1.5}
.card-number{text-align:center;margin-top:8px}
.card-number summary{font-size:11px;font-weight:400;color:#d9c8bb;padding:3px}
.card-number .card-code{font-size:10px;color:#f6eee7;margin:7px 0 0}
.card-unlinked{text-align:center;padding:23px 6px 16px}
.card-unlinked>.ui-icon{width:55px;height:55px;filter:invert(1);opacity:.55;margin-bottom:16px}
.card-unlinked h3{font-size:16px;margin-bottom:10px}
.card-unlinked p{font-size:13px;color:#e1d4c9;margin:0}
.friends-dashboard .stamp-panel{grid-column:2;margin:0;padding:25px 27px}
.stamp-panel .panel-heading{margin-bottom:16px;gap:12px;align-items:center}
.stamp-panel .eyebrow{font-size:9px;letter-spacing:1.25px;margin-bottom:5px}
.stamp-panel h2{font-size:21px;font-weight:650;letter-spacing:-.4px;margin:0}
.stamp-panel .badge{font-size:11px;white-space:nowrap;flex:none}
.stamp-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:12px 16px;max-width:380px;margin:22px auto}
.stamp-dot{width:54px;max-width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px dashed #ccc7be;border-radius:50%;background:#fcfbf8;color:#79756c;font-size:14px}
.stamp-dot.is-filled{border:1px solid #ad4329;background:#ad4329;color:#fff}
.stamp-dot.is-filled .ui-icon{filter:invert(1);width:23px;height:23px}
.stamp-progress{padding-top:15px;border-top:1px solid var(--line)}
.stamp-progress h3{font-size:18px;line-height:1.35;margin:0 0 6px;font-weight:650;letter-spacing:-.25px}
.stamp-progress p,.stamp-copy{font-size:13px;line-height:1.6;margin-bottom:0;color:#605951}
.friends-page .loyalty-detail{margin:16px 0 0;padding-top:14px;border-color:var(--line)}
.friends-page .loyalty-detail summary{font-size:12px;line-height:1.5;min-height:32px;padding:5px 0}
.friends-page .loyalty-detail p{font-size:13px;line-height:1.7}
.reward-ready{padding:17px 18px;background:#f6efe4;border:1px solid #e8d8c0;border-radius:7px;margin:18px 0 12px}
.reward-ready h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.reward-ready p:last-child{font-size:13px;margin:0}
.friends-account-links{grid-column:2;display:grid;gap:10px}
.account-row{display:flex;align-items:center;gap:13px;padding:15px 18px;text-decoration:none;border:1px solid var(--line);border-radius:8px;background:#fff;min-height:70px}
.account-row:hover{background:#f7f2eb;border-color:#d6c6b7}
.account-row>.ui-icon{width:22px;height:22px;opacity:.7}
.account-row>span{flex:1;min-width:0}
.account-row strong{display:block;font-size:14px;font-weight:600}
.account-row small{font-size:12px;margin-top:2px;line-height:1.5}
.account-row>.ui-icon:last-child{width:15px;height:15px}
.friends-page .friends-history,.friends-page .friends-profile-summary{padding:0}
.friends-history>summary,.friends-profile-summary>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;min-height:78px}
.friends-history>summary::-webkit-details-marker,.friends-profile-summary>summary::-webkit-details-marker{display:none}
.friends-history>summary .eyebrow,.friends-profile-summary>summary .eyebrow{display:block;font-size:9px;margin:0 0 5px;letter-spacing:1.3px}
.friends-history>summary strong,.friends-profile-summary>summary strong{font-size:18px;font-weight:600;letter-spacing:-.3px}
.friends-history[open]>summary>.ui-icon,.friends-profile-summary[open]>summary>.ui-icon{transform:rotate(90deg)}
.disclosure-content{padding:0 26px 26px}
.history-empty{text-align:center;padding:24px 15px 8px}
.history-empty>.ui-icon{width:32px;height:32px;opacity:.4;margin-bottom:15px}
.history-empty h3{font-size:15px;margin-bottom:9px}
.history-empty p{font-size:13px;max-width:450px;margin:0 auto}
.friends-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 24px;margin:23px 0 0}
.friends-details dt{font-size:12px;color:var(--muted);margin-bottom:5px}
.friends-details dd{font-size:14px;margin:0;overflow-wrap:anywhere}
.friends-details dd .badge{font-size:10px}
.profile-preference{font-size:14px;overflow-wrap:anywhere;margin:23px 0 0}
.profile-preference>.muted{font-size:12px}
.friends-profile-summary .loyalty-help{font-size:12px}
.friends-page .history-event{border-color:var(--line)}
.friends-page .history-event p{margin-bottom:0}
.friends-page .history-event small{color:var(--muted)}
.friends-profile-form{max-width:800px;margin:0 auto 24px}
.friends-profile-form h1{font-size:28px;margin-bottom:14px}
.friends-profile-form form{margin-top:26px}
.friends-page input,.friends-page select,.friends-page textarea{border-color:#cec5bd;border-radius:7px;color:#292420;min-height:48px}
.friends-profile-form input:not([type=hidden]),.friends-profile-form select{height:48px}
.friends-profile-form input[readonly]{background:#f5f2ed;color:#736b63}
.friends-page label{font-size:13px}
.friends-page .button,.friends-page .secondary{border-radius:7px}
.friends-page .button:hover{background:#87311e}
.friends-auth{min-height:65vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;padding-top:65px;padding-bottom:65px}
.friends-auth>.notice,.friends-auth>.error{grid-column:1/-1;margin:0}
.friends-intro{max-width:430px}
.friends-intro>.eyebrow{font-size:10px}
.friends-intro h1{font-size:40px;line-height:1.18;letter-spacing:-1.3px;margin-bottom:24px}
.friends-intro>p{font-size:15px}
.friends-intro>.muted{font-size:13px}
.friends-rule{padding:20px 0;margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.friends-rule strong,.friends-rule span{display:block}
.friends-rule span{font-size:13px;margin-top:5px;color:var(--muted)}
.friends-page .friends-login{padding:32px;margin:0}
.friends-login>h2{font-size:23px}
.friends-login form{margin-top:26px}
.friends-login>.subtle{display:inline-block;margin-top:20px}
.friends-login details{font-size:13px}
.friends-activation{grid-column:1/-1;max-width:500px;margin:0 auto;width:100%}
.friends-activation h1{font-size:29px;margin:18px 0}
.friends-activation>p{font-size:14px}
.friends-activation form{margin-top:24px}
.friends-activation>.subtle{display:inline-block;margin-top:15px}
.friends-footer{border-top:1px solid var(--line);text-align:center;color:var(--muted);font-size:12px;padding:22px 20px}
.friends-footer form{margin:0 0 13px}
.friends-footer .text-button{min-height:44px;font-size:12px;text-decoration:none;align-items:center}
.friends-footer .text-button .ui-icon{width:17px;height:17px}
.member-qr-dialog{border:1px solid #e5dfd7;border-radius:12px;padding:32px 26px 26px;color:#292420;background:#fff;width:360px;max-width:calc(100% - 32px);max-height:calc(100svh - 32px);overflow:auto;text-align:center}
.member-qr-dialog::backdrop{background:#211b16bd}
.member-qr-dialog .qr-close{position:absolute;right:12px;top:12px;width:40px;min-height:40px;padding:8px;border:0;background:transparent}
.member-qr-dialog>.eyebrow{font-size:10px;margin:8px 0 12px}
.member-qr-dialog h2{font-size:23px;letter-spacing:-.4px;margin-bottom:24px}
.member-qr-dialog .qr-code{width:270px;max-width:100%;margin:0 auto 20px}
.member-qr-dialog>strong{font-size:16px;overflow-wrap:anywhere}
.member-qr-dialog .card-code{font-size:12px;margin:5px 0 18px}
.member-qr-dialog>.muted{font-size:12px;margin:0}
@media(max-width:760px){
 .friends-header{padding:16px 20px;min-height:76px}.friends-header .brand-lockup>img{width:31px;height:31px}.friends-header .brand-words{font-size:21px;letter-spacing:2.5px}.friends-header .brand-words small{font-size:8px}.friends-header>a:last-child{font-size:12px;gap:6px}
 .friends-main{padding:24px 20px 16px}.friends-nav{padding:13px 20px 0;gap:25px}.friends-nav a{font-size:12px;min-height:40px}
 .friends-welcome{margin-bottom:17px}.workspace-date{font-size:11px;margin-bottom:9px}.friends-welcome h1{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin-bottom:7px}.friends-welcome p:last-child{font-size:13px}
 .friends-dashboard{grid-template-columns:1fr;gap:15px;margin-bottom:16px}.friends-digital-card{grid-row:auto;padding:19px 20px 15px;border-radius:9px}.digital-card-title{margin-bottom:14px}.digital-card-title h2{font-size:16px}.digital-card-title .card-brand-mark{width:27px;height:27px}.card-identity{margin-bottom:14px}.card-identity strong{font-size:14px}.card-identity>span{font-size:11px}.friends-digital-card .qr-code{width:180px;margin-bottom:12px}.friends-digital-card>.button{font-size:12px;min-height:44px;margin-bottom:8px}.friends-digital-card>small{font-size:10px}.card-number{margin-top:4px}.card-number summary{font-size:10px}
 .friends-page .panel{padding:21px 20px;margin-bottom:16px}.friends-dashboard .stamp-panel{grid-column:auto;padding:20px;margin:0}.stamp-panel .panel-heading{margin-bottom:16px}.stamp-panel h2{font-size:19px}.stamp-panel .eyebrow{font-size:8px;letter-spacing:1px}.stamp-panel .badge{font-size:10px;padding:4px 9px}.stamp-track{gap:12px 14px;margin:19px auto;max-width:340px}.stamp-dot{width:46px;font-size:12px}.stamp-progress{padding-top:13px}.stamp-progress h3{font-size:16px;margin-bottom:5px}.stamp-progress p,.stamp-copy{font-size:12px;line-height:1.6}.reward-ready{padding:15px;margin:16px 0 12px}.reward-ready h2{font-size:21px}.reward-ready p:last-child{font-size:12px}.friends-page .loyalty-detail{margin-top:13px;padding-top:10px}.friends-page .loyalty-detail summary{font-size:11px;min-height:34px}.friends-page .loyalty-detail p{font-size:12px}
 .friends-account-links{grid-column:auto;gap:10px}.account-row{padding:14px 16px;min-height:68px;gap:11px}.account-row strong{font-size:13px}.account-row small{font-size:11px}.account-row>.ui-icon{width:21px;height:21px}
 .friends-page .friends-history,.friends-page .friends-profile-summary{padding:0}.friends-history>summary,.friends-profile-summary>summary{padding:20px;min-height:78px}.friends-history>summary strong,.friends-profile-summary>summary strong{font-size:17px}.friends-history>summary .eyebrow,.friends-profile-summary>summary .eyebrow{font-size:8px}.disclosure-content{padding:0 20px 21px}.friends-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}.friends-details dt{font-size:11px}.friends-details dd{font-size:13px}.profile-preference{font-size:13px}.friends-profile-summary .loyalty-help{font-size:11px}.history-empty{padding:18px 0 4px}.history-empty h3{font-size:14px}.history-empty p{font-size:12px}
 .friends-profile-form h1{font-size:25px}.friends-profile-form>.muted{font-size:13px}.friends-profile-form .button{width:100%}.friends-page input,.friends-page select,.friends-page textarea{font-size:16px}.friends-page .friends-login{padding:25px 22px}.friends-auth{grid-template-columns:1fr;gap:28px;min-height:0;padding-top:32px;padding-bottom:40px}.friends-intro{max-width:none}.friends-intro h1{font-size:30px;letter-spacing:-.8px;margin-bottom:18px}.friends-intro>p{font-size:14px}.friends-rule{margin:20px 0;padding:16px 0}.friends-login>h2{font-size:21px}.friends-login>.subtle{font-size:12px}.friends-activation h1{font-size:26px}
}
@media(max-width:350px){.friends-header{padding-left:16px;padding-right:16px;gap:12px}.friends-header .brand-lockup{gap:7px}.friends-header .brand-lockup>img{width:27px;height:27px}.friends-header .brand-words{font-size:19px;letter-spacing:2px}.friends-header>a:last-child{font-size:11px}.friends-header>a:last-child .ui-icon{width:16px;height:16px}.friends-main{padding-left:16px;padding-right:16px}.friends-welcome h1{font-size:23px}.friends-digital-card{padding:18px 18px 14px}.friends-dashboard .stamp-panel{padding:18px}.stamp-dot{width:42px}.stamp-track{gap:11px}.friends-details{grid-template-columns:1fr}.stamp-panel h2{font-size:18px}.stamp-panel .eyebrow{letter-spacing:.7px;font-size:7.5px}.member-qr-dialog{padding:30px 20px 22px}}
@media(forced-colors:active){.stamp-dot{border:1px solid CanvasText}.stamp-dot.is-filled{outline:2px solid Highlight}.friends-digital-card{border:1px solid CanvasText}.digital-card-title .card-brand-mark{filter:none;mix-blend-mode:normal}}
/* Native disclosures remain comfortable touch targets. */
.friends-page .loyalty-detail summary{min-height:44px;display:list-item;padding:10px 0}
@media(max-width:760px){.friends-digital-card .qr-code{width:170px}.friends-digital-card{padding-bottom:16px}.friends-page .loyalty-detail summary{min-height:44px}}
