@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:wght@500;600;700&display=swap');

/* =========================================================
   FASTE FOLK — MOODBOARD DESIGN SYSTEM v15
   One shared visual language across customer, kiosk, staff
   and admin surfaces. The existing feature logic is untouched.
   ========================================================= */
:root{
  --forest:#1F3B2E;
  --forest-deep:#142A21;
  --forest-soft:#315445;
  --wood:#5A3E2B;
  --sand:#EADC8E;
  --cream:#F8F5EC;
  --cream-deep:#EFE7D8;
  --gold:#C9A968;
  --paper:#FFFCF5;
  --ink:#213129;
  --muted:#6F786F;
  --line:#DDD3C4;
  --danger:#9A4F45;
  --shadow-sm:0 7px 18px rgba(52,43,34,.06);
  --shadow-md:0 18px 44px rgba(52,43,34,.10);
  --shadow-green:0 18px 42px rgba(24,50,39,.17);
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:26px;
  --font-serif:"Lora",Georgia,"Times New Roman",serif;
  --font-ui:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  /* bridge legacy tokens */
  --green:var(--forest);
  --green-2:var(--forest-deep);
  --cream-2:var(--paper);
  --card:var(--paper);
}

html{scroll-behavior:smooth}
html,body{font-family:var(--font-ui);background:var(--cream);color:var(--ink)}
body{background:
  radial-gradient(circle at 12% 0%,rgba(201,169,104,.10),transparent 32rem),
  var(--cream)}

h1,h2,h3,.panel-heading h2,.dashboard-header h1,.staff-search-panel h1,.member-login-card h1,.login-card h1{
  font-family:var(--font-serif)!important;
  color:var(--forest);
  letter-spacing:-.035em!important;
}
a{color:var(--forest)}
.muted,.lead{color:var(--muted)}
.step-kicker,.eyebrow{color:#806B49;letter-spacing:.14em;font-weight:800}

/* ---------- Controls ---------- */
.primary-btn{
  background:var(--forest)!important;color:#fff!important;border:1px solid var(--forest)!important;
  border-radius:11px!important;box-shadow:none!important;font-weight:750!important;
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.primary-btn:hover{background:var(--forest-deep)!important;transform:translateY(-1px);box-shadow:0 8px 18px rgba(31,59,46,.12)!important}
.primary-btn:focus-visible,.ghost-btn:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(201,169,104,.44)!important;outline-offset:2px}
.ghost-btn{
  background:transparent!important;color:var(--forest)!important;border:1px solid #CFC3B1!important;border-radius:11px!important;font-weight:700!important;
}
.ghost-btn:hover{background:#F1EADC!important;border-color:#BFAF98!important}
.ghost-btn.danger{color:var(--danger)!important;border-color:#D8BEB7!important;background:#FFF9F6!important}
.text-link-btn,.text-back{color:#6E755F!important;text-decoration:none!important;font-weight:650}
.text-link-btn:hover,.text-back:hover{text-decoration:underline!important;text-underline-offset:3px}
input,textarea,select{
  background:#FFFDF8!important;border:1px solid #D9CFC0!important;color:var(--ink)!important;border-radius:11px!important;
}

/* =========================================================
   PUBLIC / KIOSK / RECRUITMENT
   ========================================================= */
.kiosk-body{background:#DCD2C3!important}
.kiosk-frame{padding:16px!important}
.kiosk-app{
  width:min(100%,980px)!important;background:var(--cream)!important;border:1px solid #D4C7B5!important;
  border-radius:24px!important;box-shadow:0 24px 70px rgba(55,42,30,.15)!important;
}
.telemark-brand-hero{
  display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr)!important;
  height:auto!important;min-height:190px!important;max-height:none!important;overflow:hidden;
}
.telemark-logo-panel{
  min-height:190px;position:relative;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:30px 34px!important;
  background:
    linear-gradient(90deg,rgba(35,21,14,.25),rgba(49,30,20,.06)),
    url('/assets/brand/wood-dark.webp') center/cover no-repeat!important;
}
.telemark-logo-panel:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.18));pointer-events:none}
.telemark-logo-photo,.svingen-wordmark{
  position:relative;z-index:2;width:min(100%,520px)!important;height:auto!important;max-height:150px!important;
  padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;object-fit:contain!important;
}
.telemark-brand-subline{display:none!important}
.club-brand-panel{
  align-items:flex-start!important;justify-content:center!important;padding:28px 34px!important;text-align:left!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.48),transparent 70%),
    var(--cream)!important;
}
.faste-folk-logo{display:block;width:min(100%,245px);height:auto;margin-bottom:2px}
.club-brand-copy{font-size:.81rem!important;color:#4E5E55!important;font-weight:650!important}
.club-brand-panel em{font-family:var(--font-serif)!important;color:#7D6748!important;font-size:.92rem!important;margin-top:13px!important;font-style:normal!important}

.survey-shell{padding:30px clamp(22px,4vw,46px) 28px!important}
.rating-step h1{font-family:var(--font-serif)!important;color:var(--forest)!important;font-size:clamp(2.2rem,5vw,4rem)!important;line-height:1.03!important;letter-spacing:-.045em!important;max-width:760px!important}
.tap-hint{color:#788078!important;font-size:.94rem!important}.tap-icon{display:none!important}
.rating-grid{gap:16px!important;width:min(100%,760px)!important}
.rating-card{
  min-height:220px!important;border:1px solid #DED5C7!important;border-radius:20px!important;background:#FFFCF6!important;
  padding:24px 18px!important;box-shadow:var(--shadow-sm)!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.rating-option:hover .rating-card{transform:translateY(-2px)!important;box-shadow:var(--shadow-md)!important;border-color:#CDBFA9!important}
.rating-face{width:104px;height:104px;display:grid;place-items:center;border-radius:50%;background:#F3ECDC;border:1px solid #E5DAC7}
.rating-face-icon{display:block;width:72px;height:72px;background:var(--forest);-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.face-great{-webkit-mask-image:url('/assets/brand/icons/face-great.svg');mask-image:url('/assets/brand/icons/face-great.svg')}
.face-good{-webkit-mask-image:url('/assets/brand/icons/face-good.svg');mask-image:url('/assets/brand/icons/face-good.svg')}
.face-disappointed{-webkit-mask-image:url('/assets/brand/icons/face-disappointed.svg');mask-image:url('/assets/brand/icons/face-disappointed.svg')}
.face-bad{-webkit-mask-image:url('/assets/brand/icons/face-bad.svg');mask-image:url('/assets/brand/icons/face-bad.svg')}
.rating-great .rating-face{background:#E9F0EA}.rating-good .rating-face{background:#F3EBD8}.rating-disappointed .rating-face{background:#F3E6D8}.rating-bad .rating-face{background:#EFE2DE}
.rating-great .rating-face-icon{background:#315E47}.rating-good .rating-face-icon{background:#8D7543}.rating-disappointed .rating-face-icon{background:#976B45}.rating-bad .rating-face-icon{background:#8A5048}
.rating-option strong{font-family:var(--font-serif)!important;font-size:1.55rem!important;color:var(--forest)!important}
.rating-helper{display:block;color:#7B837B;font-size:.78rem;margin-top:5px}
.giveaway-footer{font-family:var(--font-serif)!important;color:var(--forest)!important;border-top:1px solid #D8CCBA!important;padding-top:16px!important}
.giveaway-footer b{color:#8A6D35!important}
.category-chip{background:#FFFDF8!important;border-color:#DDD2C2!important;color:#526057!important;box-shadow:none!important}
.category-chip.selected{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}
.comment-field,.raffle-form input,.club-form input{background:#FFFDF8!important;border-color:#DDD2C2!important}
.checkmark{background:#E7EFE8!important;color:var(--forest)!important}
.discount-orb{background:var(--gold)!important;color:#fff!important;border:5px solid rgba(255,255,255,.68);box-shadow:0 14px 28px rgba(105,79,42,.12)!important}
.club-landing-step h1,.club-form-step h2,.club-offer-step h2{font-family:var(--font-serif)!important;color:var(--forest)!important}
.coupon-card{background:linear-gradient(145deg,var(--forest),#142C22)!important;border-radius:20px!important;box-shadow:var(--shadow-green)!important}

/* =========================================================
   LOGIN / ACCOUNT SCREENS
   ========================================================= */
.member-page-body,.redeem-body,.admin-body,.legal-body{background:var(--cream)!important}
.member-login-card,.staff-login-card,.login-card,.legal-card{
  background:#FFFDF8!important;border:1px solid #DDD2C2!important;border-radius:22px!important;box-shadow:var(--shadow-md)!important;
}
.member-login-card,.staff-login-card{padding:30px!important}
.member-page-logo:not(.compact),.redeem-logo,.admin-logo{
  width:min(100%,360px)!important;max-height:142px!important;margin:0 auto 24px!important;padding:23px 25px!important;
  border-radius:16px!important;background:
    linear-gradient(rgba(35,21,14,.08),rgba(35,21,14,.18)),
    url('/assets/brand/wood-dark.webp') center/cover no-repeat!important;
  object-fit:contain!important;mix-blend-mode:normal!important;
}
.member-login-card h1,.staff-login-card h1,.login-card h1{font-size:2.25rem!important;margin:4px 0 9px!important}
.redeem-form{gap:12px!important}.redeem-form label,.login-card label{color:#526057!important}


/* Existing-account membership activation */
.member-membership-activate{max-width:620px!important}
.existing-account-card{display:grid;gap:4px;margin:16px 0 18px;padding:15px 16px;border-radius:14px;background:#F1E9DC;border:1px solid #DDD0BE;color:#536058}
.existing-account-card span{font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#8A7654}
.existing-account-card strong{font-size:1rem;color:var(--forest);overflow-wrap:anywhere}
.existing-account-card small{justify-self:start;margin-top:4px;padding:5px 9px;border-radius:999px;background:var(--forest);color:var(--sand);font-weight:800;letter-spacing:.07em;font-size:.63rem}
.member-activate-form{display:grid;gap:12px;margin-top:4px}
.member-activate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.member-activate-form label:not(.member-consent-row){display:grid;gap:6px;color:#44534A;font-size:.78rem;font-weight:750}
.member-activate-form input[type="text"],.member-activate-form input:not([type]){width:100%;min-height:48px;border:1px solid #D8CBB9;border-radius:12px;background:#FFFDF8;padding:11px 13px;color:#17392D;font:600 .92rem/1.2 var(--font-ui);box-sizing:border-box}
.member-consent-row{display:grid!important;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:13px 14px;border:1px solid #E0D6C8;border-radius:14px;background:#FFFDF8;color:#59655E!important;font-size:.78rem!important;line-height:1.45;font-weight:500!important}
.member-consent-row.optional{background:#FAF6ED}
.member-consent-row input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--forest)}
.member-consent-row a{color:var(--forest);font-weight:750}
.member-existing-system-access{margin-top:18px;padding-top:16px;border-top:1px solid #E0D6C8}
.member-account-destinations{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.member-account-destinations .ghost-btn{flex:1;min-width:150px;text-align:center}

/* Staff-member experience: Faste Folk Crew */
.member-crew-panel{margin:14px 22px 0;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#112D23 0%,#1F3B2E 62%,#294B3B 100%);border:1px solid rgba(201,169,104,.4);box-shadow:0 12px 28px rgba(23,57,44,.14);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;overflow:hidden}
.member-crew-panel:after{content:"";position:absolute;width:180px;height:180px;right:-68px;top:-88px;border:1px solid rgba(201,169,104,.22);border-radius:50%}
.member-crew-copy{position:relative;z-index:1}.member-crew-copy .eyebrow{color:var(--gold)!important;margin:0 0 5px}.member-crew-copy h2{font-family:var(--font-serif);font-size:1.55rem;color:#fff;margin:0 0 5px}.member-crew-copy p:last-child{margin:0;color:rgba(255,255,255,.74);font-size:.79rem;line-height:1.45;max-width:600px}
.member-crew-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:180px}
.member-crew-role{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:999px;background:rgba(201,169,104,.15);border:1px solid rgba(201,169,104,.55);color:#E9D49C;font-size:.67rem;font-weight:850;letter-spacing:.08em}
.crew-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.07);color:#fff;text-decoration:none;font-size:.72rem;font-weight:750}.crew-action:hover{background:rgba(255,255,255,.13)}
.member-card-crew-badge{position:absolute;top:18px;right:18px;z-index:2;padding:6px 10px;border-radius:999px;background:var(--gold);color:#17392D;font-size:.64rem;font-weight:900;letter-spacing:.12em;box-shadow:0 7px 16px rgba(0,0,0,.12)}
.member-hero-card.is-crew{outline:1px solid rgba(201,169,104,.65);outline-offset:-1px}
.permission-card input:disabled,.toggle-row input:disabled{opacity:.58;cursor:not-allowed}

/* =========================================================
   MEMBER APP / DIGITAL MEMBERSHIP CARD
   ========================================================= */
.member-page-shell{width:min(1060px,100%)!important;padding:24px!important}
.member-page-app{background:#F3EEE4!important;border:1px solid #D8CDBC!important;border-radius:24px!important;box-shadow:var(--shadow-md)!important;overflow:hidden!important;padding-bottom:28px!important}
.member-page-header{
  background:var(--forest)!important;border:0!important;padding:12px 20px!important;box-shadow:none!important;
}
.member-header-brand{gap:12px!important}.member-header-brand>div{display:none!important}
.member-page-logo.compact{
  width:190px!important;height:60px!important;max-height:60px!important;margin:0!important;padding:0!important;background:transparent!important;object-fit:contain!important;
}
.member-page-header .ghost-btn{color:#F8F5EC!important;border-color:rgba(255,255,255,.28)!important;background:rgba(255,255,255,.04)!important}
.member-page-header .ghost-btn:hover{background:rgba(255,255,255,.11)!important}
.member-welcome-hero{
  min-height:230px;margin:18px 22px 0;border-radius:20px;overflow:hidden;display:flex;align-items:flex-end;
  background:
    linear-gradient(90deg,rgba(19,39,30,.80) 0%,rgba(19,39,30,.48) 50%,rgba(19,39,30,.16) 100%),
    url('/assets/svingen-building.png') center 42%/cover no-repeat;
  box-shadow:var(--shadow-sm);
}
.member-welcome-copy{padding:24px 26px;color:#fff;max-width:590px}
.member-welcome-copy .eyebrow{color:var(--sand)!important}.member-welcome-copy h1{margin:5px 0 9px;font-size:clamp(2rem,4vw,3.05rem);line-height:1.02;color:#fff!important}.member-welcome-copy p{margin:0;color:rgba(255,255,255,.83);line-height:1.5}
.member-hero-card{
  isolation:isolate;position:relative;min-height:245px;margin:16px 22px!important;padding:26px!important;border-radius:20px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:24px!important;
  overflow:hidden;background:linear-gradient(135deg,#153327,var(--forest))!important;box-shadow:var(--shadow-green)!important;
}
.member-hero-card:after{display:none!important}
.member-card-landscape{position:absolute;inset:0;z-index:-2;background:url('/assets/brand/member-landscape.webp') 62% 55%/cover no-repeat;opacity:.31;filter:saturate(.65) contrast(1.05)}
.member-hero-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(13,42,31,.96) 0%,rgba(20,52,40,.78) 54%,rgba(23,60,45,.35) 100%)}
.member-card-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}.member-card-club-logo{width:min(100%,235px);height:auto;margin-bottom:auto;filter:none}.member-card-name{font-family:var(--font-serif);font-size:1.42rem;margin:24px 0 4px;color:#fff}.member-number{color:rgba(255,255,255,.77)!important;font-size:.86rem!important;letter-spacing:.06em!important}
.member-qr-card{width:176px!important;min-width:176px!important;min-height:176px!important;border-radius:16px!important;background:#FFFCF7!important;border:4px solid rgba(255,255,255,.52)!important;padding:10px!important;box-shadow:0 10px 26px rgba(0,0,0,.12)!important}
.member-status-strip{margin:0 22px 10px!important}.member-badge{background:var(--forest)!important;color:#fff!important;border-radius:999px!important}
.member-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 22px 14px}
.member-action-card{min-width:0;text-decoration:none;background:#FFFDF8;border:1px solid #DDD2C2;border-radius:16px;padding:16px 14px;display:grid;gap:5px;box-shadow:var(--shadow-sm);transition:transform .15s ease,border-color .15s ease}
.member-action-card:hover{transform:translateY(-2px);border-color:#CDBD9E}.member-action-card strong{font-family:var(--font-serif);font-size:1rem;color:var(--forest)}.member-action-card small{color:#7B827A;font-size:.7rem}.action-icon{display:block;width:24px;height:24px;margin-bottom:7px;background:var(--forest);-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}.action-offers .action-icon{-webkit-mask-image:url('/assets/brand/icons/tag.svg');mask-image:url('/assets/brand/icons/tag.svg')}.action-favorite .action-icon{-webkit-mask-image:url('/assets/brand/icons/favorite.svg');mask-image:url('/assets/brand/icons/favorite.svg')}.action-history .action-icon{-webkit-mask-image:url('/assets/brand/icons/menu.svg');mask-image:url('/assets/brand/icons/menu.svg')}.action-profile .action-icon{-webkit-mask-image:url('/assets/brand/icons/profile.svg');mask-image:url('/assets/brand/icons/profile.svg')}
.loyalty-card,.member-section{
  margin:14px 22px!important;background:#FFFDF8!important;border:1px solid #DDD2C2!important;border-radius:18px!important;padding:20px!important;box-shadow:var(--shadow-sm)!important;
}
.loyalty-head{align-items:center!important}.loyalty-title{display:flex;align-items:center;gap:9px;font-family:var(--font-serif);font-weight:700;color:var(--forest)}.loyalty-title:before{content:"";width:22px;height:22px;background:var(--forest);-webkit-mask:url('/assets/brand/icons/menu.svg') center/contain no-repeat;mask:url('/assets/brand/icons/menu.svg') center/contain no-repeat}.loyalty-head strong{font-family:var(--font-serif);color:var(--forest)!important}.loyalty-track{height:11px!important;background:#EEE4D4!important}.loyalty-track i{background:linear-gradient(90deg,var(--gold),var(--forest))!important}.free-meal-notice{background:#EFE4C9!important;color:#65512C!important;border:1px solid #DFCCA6!important}
.member-section .panel-heading h2{font-size:1.38rem!important}.member-section .eyebrow{color:#85704F!important}
.benefit-card{background:#FCF7ED!important;border:1px solid #E0D5C5!important;border-radius:14px!important}
.member-bottom-nav{display:none}

/* =========================================================
   ADMIN / DRIFTSPANEL
   ========================================================= */
.dashboard{grid-template-columns:258px minmax(0,1fr)!important;background:var(--cream)!important}
.dash-sidebar{
  background:linear-gradient(180deg,var(--forest) 0%,var(--forest-deep) 100%)!important;border:0!important;color:#fff!important;
  padding:24px 17px 18px!important;box-shadow:8px 0 34px rgba(26,43,34,.09)!important;
}
.telemark-admin-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:0 8px!important}
.telemark-admin-logo{width:100%!important;height:auto!important;max-height:82px!important;background:transparent!important;padding:0!important;object-fit:contain!important;border-radius:0!important}
.faste-folk-admin-logo{width:142px!important;height:auto!important;max-height:none!important;background:transparent!important;padding:0!important;object-fit:contain!important;opacity:.98}
.dash-sidebar nav{margin-top:28px!important;gap:3px!important}
.nav-btn,.sidebar-bottom button,.sidebar-bottom a{
  position:relative;color:rgba(255,255,255,.72)!important;border-radius:9px!important;text-decoration:none!important;font-size:.78rem!important;font-weight:600!important;
}
.nav-btn{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 11px!important}
.nav-btn:before{content:"";width:17px;height:17px;flex:0 0 17px;background:currentColor;-webkit-mask:var(--nav-icon) center/contain no-repeat;mask:var(--nav-icon) center/contain no-repeat}
.nav-btn:nth-child(1){--nav-icon:url('/assets/brand/icons/home.svg')}.nav-btn:nth-child(2){--nav-icon:url('/assets/brand/icons/profile.svg')}.nav-btn:nth-child(3){--nav-icon:url('/assets/brand/icons/campaigns.svg')}.nav-btn:nth-child(4){--nav-icon:url('/assets/brand/icons/favorite.svg')}.nav-btn:nth-child(5){--nav-icon:url('/assets/brand/icons/tag.svg')}.nav-btn:nth-child(6){--nav-icon:url('/assets/brand/icons/settings.svg')}.nav-btn:nth-child(7){--nav-icon:url('/assets/brand/icons/menu.svg')}.nav-btn:nth-child(8){--nav-icon:url('/assets/brand/icons/face-good.svg')}.nav-btn:nth-child(9){--nav-icon:url('/assets/brand/icons/campaigns.svg')}
.nav-btn:hover,.sidebar-bottom button:hover,.sidebar-bottom a:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}.nav-btn.active{background:rgba(255,255,255,.12)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--gold)!important}
.sidebar-bottom{border-top:1px solid rgba(255,255,255,.10)!important;padding-top:12px!important}
.dash-content{padding:30px clamp(24px,3.4vw,44px)!important;background:var(--cream)!important}
.dashboard-header{margin-bottom:18px!important}.dashboard-header h1{font-size:2.55rem!important;color:var(--forest)!important}.header-actions{gap:8px!important}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.kpi-card{
  min-height:126px!important;padding:18px!important;border:1px solid #DDD2C2!important;border-radius:16px!important;background:#FFFDF8!important;box-shadow:var(--shadow-sm)!important;
}
.kpi-card strong{font-family:var(--font-serif)!important;font-size:2.3rem!important;color:var(--forest)!important}.kpi-label{color:#66736B!important}.kpi-help{color:#8A8D86!important}
.hero-kpi{background:var(--forest)!important;border-color:var(--forest)!important}.hero-kpi strong{color:#fff!important}.hero-kpi .kpi-label,.hero-kpi .kpi-help{color:rgba(255,255,255,.73)!important}
.panel,.subpanel,.staff-admin-card,.group-rule-card,.campaign-preview-card,.public-link-card,.staff-action-panel,.member-profile-card{
  border-color:#DDD2C2!important;background:#FFFDF8!important;border-radius:16px!important;box-shadow:var(--shadow-sm)!important;
}
.panel{padding:20px!important}.panel-heading h2,.panel h3{color:var(--forest)!important}.inline-admin-form{background:#F9F4EA!important;border-color:#E2D7C7!important;border-radius:15px!important}.permission-card{background:#FFFDF8!important;border-color:#DDD2C2!important;border-radius:13px!important}.people-quick-filters button,.people-group-filters button{background:#F5EEE3!important;border-color:#D9CDBD!important}.people-quick-filters button.active,.people-group-filters button.active{background:var(--forest)!important;border-color:var(--forest)!important;color:#fff!important}.campaign-preview-card{position:sticky!important;top:18px!important}.preview-offer{background:#EEE2C9!important}.role-superadmin{background:var(--forest)!important}.role-admin{background:#E4EEE7!important;color:var(--forest)!important}.role-leader{background:#EFE4C8!important;color:#6C572A!important}
.chart-wrap canvas{font-family:var(--font-ui)!important}

/* =========================================================
   STAFF / CASHIER
   ========================================================= */
.staff-shell{width:min(1120px,100%)!important;padding:24px!important}.staff-app{background:#F3EEE4!important;border:1px solid #D8CDBC!important;border-radius:24px!important;box-shadow:var(--shadow-md)!important}.staff-topbar{background:var(--forest)!important;border:0!important;padding:13px 18px!important}.telemark-staff-brand img{width:185px!important;height:60px!important;max-height:60px!important;padding:0!important;background:transparent!important;object-fit:contain!important;border-radius:0!important}.telemark-staff-brand>div{display:none!important}.staff-topbar .ghost-btn{color:#fff!important;border-color:rgba(255,255,255,.26)!important;background:rgba(255,255,255,.04)!important}.staff-search-panel,.member-workspace{padding:24px!important}.staff-search-panel h1{color:var(--forest)!important}.staff-kpi-row article{background:#FFFDF8!important;border:1px solid #DDD2C2!important;border-radius:15px!important;box-shadow:var(--shadow-sm)!important}.staff-kpi-row strong{font-family:var(--font-serif)!important;color:var(--forest)!important}.free-meal-action{background:#EFE4C9!important;border:1px solid #DFCCA6!important;color:#65512C!important;border-radius:14px!important}

/* =========================================================
   LEGAL / SUPPORT PAGES
   ========================================================= */
.legal-card{max-width:850px!important}.legal-card h1,.legal-card h2{font-family:var(--font-serif)!important;color:var(--forest)!important}.legal-card .member-page-logo{display:block}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:980px){
  .dashboard{grid-template-columns:1fr!important}.dash-sidebar{position:relative!important;height:auto!important}.telemark-admin-brand{flex-direction:row!important;align-items:center!important}.telemark-admin-logo{width:170px!important}.faste-folk-admin-logo{width:110px!important;margin-left:auto}.dash-sidebar nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:18px!important}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.member-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .kiosk-frame{padding:0!important}.kiosk-app{min-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important}.telemark-brand-hero{grid-template-columns:1fr!important}.telemark-logo-panel{min-height:120px!important;padding:16px 20px!important}.telemark-logo-photo,.svingen-wordmark{width:min(100%,340px)!important;max-height:92px!important}.club-brand-panel{padding:13px 18px 16px!important;align-items:center!important;text-align:center!important}.faste-folk-logo{width:180px}.club-brand-panel em{display:none!important}.survey-shell{padding:22px 14px 28px!important}.rating-step h1{font-size:clamp(2rem,10vw,2.9rem)!important}.rating-card{min-height:176px!important;padding:16px 10px!important}.rating-face{width:78px;height:78px}.rating-face-icon{width:54px;height:54px}.rating-option strong{font-size:1.2rem!important}.giveaway-footer{font-size:1.05rem!important}

  .member-page-shell,.staff-shell{padding:0!important}.member-page-app,.staff-app{min-height:100dvh!important;border-radius:0!important;border:0!important;box-shadow:none!important}.member-page-header{padding:9px 13px!important}.member-page-logo.compact{width:152px!important;height:50px!important}.member-welcome-hero{margin:12px 12px 0;min-height:205px;border-radius:17px}.member-welcome-copy{padding:19px}.member-welcome-copy h1{font-size:2.15rem!important}.member-hero-card{margin:12px!important;padding:20px!important;grid-template-columns:1fr auto!important;min-height:210px}.member-card-club-logo{width:175px}.member-qr-card{width:128px!important;min-width:128px!important;min-height:128px!important}.member-card-name{font-size:1.2rem}.member-status-strip{margin:0 12px 10px!important}.member-quick-actions{margin:0 12px 12px;gap:8px}.loyalty-card,.member-section{margin:10px 12px!important;padding:17px!important}.member-page-app{padding-bottom:84px!important}.member-bottom-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,252,247,.96);backdrop-filter:blur(14px);border-top:1px solid #D9CFC0;box-shadow:0 -8px 25px rgba(50,42,34,.08)}.member-bottom-nav a{display:grid;justify-items:center;gap:3px;text-decoration:none;color:#70776F;font-size:.61rem;font-weight:650}.member-bottom-nav span{width:21px;height:21px;background:currentColor;-webkit-mask:var(--bottom-icon) center/contain no-repeat;mask:var(--bottom-icon) center/contain no-repeat}.bottom-home{--bottom-icon:url('/assets/brand/icons/home.svg')}.bottom-offers{--bottom-icon:url('/assets/brand/icons/tag.svg')}.bottom-favorite{--bottom-icon:url('/assets/brand/icons/favorite.svg')}.bottom-history{--bottom-icon:url('/assets/brand/icons/menu.svg')}.bottom-profile{--bottom-icon:url('/assets/brand/icons/profile.svg')}.member-bottom-nav a:first-child{color:var(--forest)}

  .dash-content{padding:18px 13px!important}.dash-sidebar{padding:15px 12px!important}.dash-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-header{align-items:flex-start!important}.dashboard-header h1{font-size:2.15rem!important}.kpi-grid{grid-template-columns:1fr 1fr!important}.kpi-card{min-height:112px!important}.campaign-composer{grid-template-columns:1fr!important}.campaign-preview-card{position:relative!important;top:auto!important}
  .staff-search-panel,.member-workspace{padding:16px!important}.telemark-staff-brand img{width:145px!important}.staff-top-actions{gap:5px!important}.staff-top-actions .ghost-btn{padding:8px!important;font-size:.68rem!important}
}
@media(max-width:460px){
  .rating-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}.rating-card{min-height:158px!important}.rating-face{width:68px;height:68px}.rating-face-icon{width:46px;height:46px}.rating-option strong{font-size:1.04rem!important}.rating-helper{font-size:.65rem}.member-hero-card{grid-template-columns:1fr!important;align-items:start!important}.member-qr-card{position:absolute;right:16px;bottom:16px;width:104px!important;min-width:104px!important;min-height:104px!important}.member-card-copy{padding-right:98px;min-height:165px}.member-card-club-logo{width:155px}.member-quick-actions{grid-template-columns:1fr 1fr}.kpi-grid{grid-template-columns:1fr!important}.dash-sidebar nav{grid-template-columns:1fr 1fr!important}.telemark-admin-logo{width:145px!important}.faste-folk-admin-logo{width:92px!important}
}

/* =========================================================
   MEMBER EXPERIENCE v16 — app navigation + self service
   ========================================================= */
.member-header-actions{display:flex;align-items:center;gap:8px}
.member-desktop-nav{display:flex;gap:5px;padding:10px 22px;background:#F8F3E9;border-bottom:1px solid #DDD2C2;overflow:auto}
.member-desktop-nav button{appearance:none;border:0;background:transparent;color:#66736B;border-radius:999px;padding:8px 13px;font:650 .76rem/1 var(--font-ui);cursor:pointer;white-space:nowrap}
.member-desktop-nav button:hover{background:#ECE4D7;color:var(--forest)}
.member-desktop-nav button.active{background:var(--forest);color:#fff}
.member-refresh-line{min-height:0;text-align:center;color:#65746A;font-size:.72rem;font-weight:650;padding:0 16px;transition:min-height .15s ease,padding .15s ease}
.member-refresh-line:not(:empty){min-height:28px;padding:8px 16px 0}.member-refresh-line.error{color:var(--danger)}
.member-view{animation:memberViewIn .2s ease both}.member-view.hidden{display:none!important}
@keyframes memberViewIn{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
.member-view-heading{margin:28px 22px 12px;padding:0 2px;max-width:760px}
.member-view-heading h1{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);line-height:1.04;color:var(--forest);margin:4px 0 8px;letter-spacing:-.04em}
.member-view-heading>p:last-child{color:var(--muted);margin:0;line-height:1.55}
.member-qr-wrap{display:grid;gap:7px;justify-items:center;align-self:end}.member-qr-wrap small{color:rgba(255,255,255,.72);font-size:.67rem;font-weight:650}
.member-action-card{appearance:none;text-align:left;cursor:pointer;color:inherit;font:inherit}
.member-action-card.active{border-color:#CDBD9E}
.member-status-badge{display:inline-flex;align-items:center;gap:8px;margin:0 7px 7px 0;padding:8px 11px;border-radius:999px;background:#FFFDF8;border:1px solid #D9CEBE;color:var(--forest)}
.member-status-badge strong{font-size:.75rem}.member-status-badge small{font-size:.65rem;color:#7A8179}
.loyalty-stamps{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;margin:16px 0 10px}
.loyalty-stamps span{aspect-ratio:1;display:grid;place-items:center;border:1px solid #D9CDBB;border-radius:50%;background:#F4ECDD;color:#9A917F;font-size:.66rem;font-weight:800;min-width:0}
.loyalty-stamps span.filled{background:var(--forest);border-color:var(--forest);color:#fff;box-shadow:inset 0 0 0 3px rgba(255,255,255,.12)}
.member-empty-state{min-height:240px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px 20px;color:var(--muted)}
.member-empty-state h3{font-family:var(--font-serif);color:var(--forest);font-size:1.35rem;margin:10px 0 4px}.member-empty-state p{margin:0;max-width:460px;line-height:1.55}
.empty-state-icon{display:block;width:42px;height:42px;background:var(--gold);-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}.empty-state-icon.offers{-webkit-mask-image:url('/assets/brand/icons/tag.svg');mask-image:url('/assets/brand/icons/tag.svg')}.empty-state-icon.friends{-webkit-mask-image:url('/assets/brand/icons/favorite.svg');mask-image:url('/assets/brand/icons/favorite.svg')}.empty-state-icon.history{-webkit-mask-image:url('/assets/brand/icons/menu.svg');mask-image:url('/assets/brand/icons/menu.svg')}
.benefit-card-main{display:grid;gap:5px}.benefit-value{font-family:var(--font-serif);color:var(--forest);font-size:1.15rem}.customer-benefit{position:relative;overflow:hidden}.customer-benefit:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gold)}
.member-profile-settings{display:grid;gap:20px}.member-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.member-profile-summary>div{display:grid;gap:5px;padding:14px;border-radius:13px;background:#F5EEE3;border:1px solid #E2D7C7;min-width:0}.member-profile-summary span{font-size:.67rem;color:#7A8179;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.member-profile-summary strong{color:var(--forest);font-size:.88rem;overflow-wrap:anywhere}
.member-profile-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.member-profile-form label{display:grid;gap:6px;font-size:.76rem;font-weight:800;color:#526057}.member-profile-form input{min-height:48px;padding:11px 13px}.member-profile-form-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px}
.member-account-security{display:grid;gap:12px;align-items:start}.member-account-security .ghost-btn{width:max-content}
.history-row small{margin-top:4px;color:#858B84;font-size:.7rem}.history-row>div:last-child{text-align:right;color:#66736B;font-size:.78rem;font-weight:700}
.member-bottom-nav button{appearance:none;border:0;background:transparent;color:#70776F;font-family:var(--font-ui);cursor:pointer}
.member-bottom-nav button.active{color:var(--forest)}

@media(max-width:720px){
  .member-desktop-nav{display:none}.member-refresh-btn{display:none!important}.member-view-heading{margin:22px 14px 8px}.member-view-heading h1{font-size:2.05rem}.member-profile-summary{grid-template-columns:1fr}.member-profile-form{grid-template-columns:1fr}.member-profile-form-actions{grid-column:auto}.loyalty-stamps{gap:5px}.loyalty-stamps span{font-size:.58rem}.member-bottom-nav button{display:grid;justify-items:center;gap:3px;font-size:.61rem;font-weight:650}.member-bottom-nav button span{width:21px;height:21px;background:currentColor;-webkit-mask:var(--bottom-icon) center/contain no-repeat;mask:var(--bottom-icon) center/contain no-repeat}
}
@media(max-width:460px){
  .member-header-actions{gap:5px}.member-header-actions .ghost-btn{padding:7px 9px!important;font-size:.67rem!important}.loyalty-stamps{grid-template-columns:repeat(9,1fr);gap:3px}.loyalty-stamps span{font-size:.52rem}.member-qr-wrap small{display:none}
}

/* v16 staff login / identity */
.login-recovery{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:4px;padding:12px;border:1px solid #DDD2C2;border-radius:13px;background:#F7F1E7}
.login-recovery.hidden{display:none!important}.login-recovery label{min-width:0}.login-recovery .ghost-btn{min-height:44px}
.staff-user-chip{display:grid;gap:1px;min-width:105px;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;line-height:1.1}
.staff-user-chip small{font-size:.57rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.62)}.staff-user-chip strong{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
.staff-admin-head small strong{color:var(--forest)}
@media(max-width:720px){.staff-user-chip{min-width:0;padding:5px 7px}.staff-user-chip small{display:none}.staff-user-chip strong{font-size:.68rem;max-width:88px}.login-recovery{grid-template-columns:1fr}}

/* =========================================================
   MINE SIDER v17 — ekte tilbud, fordeler og aktivitet
   ========================================================= */
.member-offer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 22px 14px}
.member-offer-summary article{display:grid;gap:3px;padding:17px 18px;background:#FFFDF8;border:1px solid #DDD2C2;border-radius:16px;box-shadow:var(--shadow-sm)}
.member-offer-summary span{font-size:.66rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#7C806F}
.member-offer-summary strong{font-family:var(--font-serif);font-size:1.75rem;line-height:1;color:var(--forest)}
.member-offer-summary small{color:#7A8179;font-size:.7rem}
.member-benefit-section{display:grid;gap:16px}
.member-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.member-section-head .eyebrow{margin:0 0 3px}.member-section-head h2{font-family:var(--font-serif);font-size:1.55rem;color:var(--forest);margin:0}
.live-data-pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#E9F0EA;color:#315E47;font-size:.65rem;font-weight:800}
.live-data-pill:before{content:"";width:7px;height:7px;border-radius:50%;background:#315E47;box-shadow:0 0 0 3px rgba(49,94,71,.10)}
.benefit-card-topline{display:flex;justify-content:space-between;align-items:center;gap:10px}
.benefit-ready-dot{display:inline-flex;align-items:center;gap:5px;color:#315E47;font-size:.64rem;font-weight:800}.benefit-ready-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:#4E7D61}
.customer-benefit{padding:18px 18px 18px 21px!important}.customer-benefit.expiring-soon{border-color:#D9B978!important;background:#FFF9EC!important}.customer-benefit.expiring-soon:before{background:#B78C3F!important}
.benefit-code-wrap{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:5px}.benefit-code-wrap small{margin:0!important;font-size:.6rem!important;font-weight:900;letter-spacing:.09em;color:#8A7653!important}.benefit-code-wrap code{margin:0!important}
.benefit-expiry{font-size:.69rem!important}.standing-benefit-grid{display:grid;gap:10px}
.standing-benefit-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 16px;border:1px solid #E2D7C7;border-radius:15px;background:#FBF7EF}
.standing-benefit-card>div{display:grid;gap:3px}.standing-benefit-card small{font-size:.61rem;font-weight:900;letter-spacing:.09em;color:#8A7653}.standing-benefit-card h3{font-family:var(--font-serif);font-size:1.05rem;color:var(--forest);margin:0}.standing-benefit-card p{margin:0;color:#727A72;font-size:.78rem;line-height:1.45}.standing-benefit-card>strong{font-family:var(--font-serif);font-size:1.08rem;color:var(--forest);white-space:nowrap}
.standing-benefit-icon{width:34px;height:34px;border-radius:50%;background:#E8EEDF;position:relative}.standing-benefit-icon:after{content:"";position:absolute;inset:8px;background:var(--forest);-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}.standing-loyalty .standing-benefit-icon:after{-webkit-mask-image:url('/assets/brand/icons/menu.svg');mask-image:url('/assets/brand/icons/menu.svg')}.standing-group .standing-benefit-icon:after{-webkit-mask-image:url('/assets/brand/icons/favorite.svg');mask-image:url('/assets/brand/icons/favorite.svg')}
.history-section{display:grid;gap:16px}.activity-timeline{display:grid}.activity-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:start;padding:15px 0;border-bottom:1px solid #EAE0D2}.activity-row:last-child{border-bottom:0}.activity-icon{width:38px;height:38px;border-radius:50%;background:#EFE8DB;position:relative}.activity-icon:after{content:"";position:absolute;inset:9px;background:var(--forest);-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}.activity-icon-meal:after{-webkit-mask-image:url('/assets/brand/icons/menu.svg');mask-image:url('/assets/brand/icons/menu.svg')}.activity-icon-gift:after,.activity-icon-tag:after{-webkit-mask-image:url('/assets/brand/icons/tag.svg');mask-image:url('/assets/brand/icons/tag.svg')}.activity-icon-profile:after{-webkit-mask-image:url('/assets/brand/icons/profile.svg');mask-image:url('/assets/brand/icons/profile.svg')}.activity-icon-history:after{-webkit-mask-image:url('/assets/brand/icons/campaigns.svg');mask-image:url('/assets/brand/icons/campaigns.svg')}
.activity-gold .activity-icon{background:#F2E6C9}.activity-positive .activity-icon{background:#E4EEE6}.activity-muted .activity-icon{background:#EFECE7}.activity-muted .activity-icon:after{background:#81877F}
.activity-copy{display:grid;gap:3px;min-width:0}.activity-kicker{display:flex;gap:6px;flex-wrap:wrap}.activity-kicker span{font-size:.58rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#8A7653}.activity-kicker span+span:before{content:"·";margin-right:6px;color:#B4A995}.activity-copy h3{font-family:var(--font-serif);font-size:1rem;color:var(--forest);margin:0}.activity-copy p{margin:0;color:#747B74;font-size:.76rem;line-height:1.42}.activity-copy time{font-size:.66rem;color:#92958F;margin-top:2px}.activity-value{align-self:center;text-align:right;color:var(--forest);font-size:.77rem;max-width:150px}

@media(max-width:720px){
  .member-offer-summary{margin:0 12px 10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.member-offer-summary article{padding:12px 10px}.member-offer-summary strong{font-size:1.38rem}.member-offer-summary span{font-size:.56rem}.member-offer-summary small{font-size:.6rem}.member-section-head{align-items:flex-start}.live-data-pill{display:none}.standing-benefit-card{grid-template-columns:auto minmax(0,1fr)}.standing-benefit-card>strong{grid-column:2;justify-self:start}.activity-row{grid-template-columns:auto minmax(0,1fr)}.activity-value{grid-column:2;text-align:left;max-width:none;margin-top:3px}
}
@media(max-width:430px){
  .member-offer-summary{grid-template-columns:1fr 1fr}.member-offer-summary article:first-child{grid-column:1/-1}.benefit-card-topline{align-items:flex-start;flex-direction:column;gap:5px}.standing-benefit-icon{width:31px;height:31px}.activity-icon{width:34px;height:34px}.activity-copy h3{font-size:.96rem}
}

/* =========================================================
   MEMBER EXPERIENCE v18 — menu, campaigns, favorites, location
   ========================================================= */
.action-find .action-icon{-webkit-mask-image:url('/assets/brand/icons/location.svg');mask-image:url('/assets/brand/icons/location.svg')}
.action-friends .action-icon{-webkit-mask-image:url('/assets/brand/icons/favorite.svg');mask-image:url('/assets/brand/icons/favorite.svg')}
.menu-section-tabs{display:flex;gap:7px;margin:0 22px 12px;padding:2px;overflow:auto}
.menu-section-tabs button{appearance:none;border:1px solid #DCCFBE;background:#FBF7EF;color:#66736B;border-radius:999px;padding:9px 14px;font:750 .73rem/1 var(--font-ui);white-space:nowrap;cursor:pointer}
.menu-section-tabs button.active{background:var(--forest);border-color:var(--forest);color:#fff}
.member-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.member-menu-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:148px;border:1px solid #E0D5C5;border-radius:16px;background:#FFFDF8;overflow:hidden;box-shadow:var(--shadow-sm)}
.menu-item-image{min-height:100%;background:#E8E0D4 center/cover no-repeat;overflow:hidden}.menu-item-image img{width:100%;height:100%;object-fit:cover;display:block}.menu-item-image-placeholder{background:linear-gradient(145deg,#17392D,#315843);position:relative}.menu-item-image-placeholder:after{content:"";position:absolute;inset:23%;background:#C9A968;-webkit-mask:url('/assets/brand/icons/menu.svg') center/contain no-repeat;mask:url('/assets/brand/icons/menu.svg') center/contain no-repeat;opacity:.9}
.member-menu-card-copy{display:grid;align-content:start;gap:5px;padding:14px 15px}.member-menu-card-copy h3{font-family:var(--font-serif);font-size:1.12rem;line-height:1.1;color:var(--forest);margin:0}.member-menu-card-copy p{font-size:.74rem;line-height:1.42;color:#747B74;margin:0}.menu-item-price{font-family:var(--font-serif);color:var(--forest);font-size:1.05rem;margin-top:3px}.menu-card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.favorite-toggle{appearance:none;width:34px;height:34px;display:grid;place-items:center;border:1px solid #DCCFBE;border-radius:50%;background:#FFF9EF;color:var(--forest);font-size:1.45rem;line-height:1;cursor:pointer}.favorite-toggle.active{background:#EEE2C9;border-color:#C9A968;color:#745D31}.favorite-toggle.active span{font-size:0}.favorite-toggle.active span:after{content:"♥";font-size:1.12rem}.favorite-toggle:disabled{opacity:.55;cursor:wait}
.member-empty-state.menu-empty{min-height:210px;align-content:center}.empty-state-icon.menu{-webkit-mask-image:url('/assets/brand/icons/menu.svg');mask-image:url('/assets/brand/icons/menu.svg')}.empty-state-icon.favorite{-webkit-mask-image:url('/assets/brand/icons/favorite.svg');mask-image:url('/assets/brand/icons/favorite.svg')}.empty-state-icon.campaigns{-webkit-mask-image:url('/assets/brand/icons/campaigns.svg');mask-image:url('/assets/brand/icons/campaigns.svg')}
.member-campaign-grid{display:grid;gap:12px}.member-campaign-card{display:grid;grid-template-columns:160px minmax(0,1fr);overflow:hidden;border:1px solid #E0D5C5;border-radius:17px;background:#FFFDF8;box-shadow:var(--shadow-sm)}.campaign-card-visual{min-height:180px;background:linear-gradient(150deg,rgba(25,56,44,.98),rgba(69,91,70,.9)),url('/assets/brand/member-landscape.webp') center/cover no-repeat;position:relative}.campaign-card-visual:after{content:"Faste Folk";position:absolute;left:16px;bottom:14px;font:700 1.16rem/1.1 var(--font-serif);color:#C9A968}.campaign-card-copy{display:grid;align-content:center;gap:7px;padding:19px}.campaign-card-copy h3{font-family:var(--font-serif);font-size:1.3rem;line-height:1.08;color:var(--forest);margin:0}.campaign-card-copy p{margin:0;color:#747B74;font-size:.78rem;line-height:1.5}.campaign-card-value{font-family:var(--font-serif);font-size:1.15rem;color:#8B6A2D}.campaign-card-copy>small{color:#858A83;font-size:.68rem}
.location-card{display:grid!important;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:0!important;padding:0!important;overflow:hidden}.location-illustration{min-height:310px;background:linear-gradient(90deg,rgba(22,51,40,.15),rgba(22,51,40,.05)),url('/assets/svingen-building.png') center/cover no-repeat}.location-copy{display:grid;align-content:center;gap:13px;padding:28px}.location-copy h2{font-family:var(--font-serif);font-size:1.7rem;line-height:1.08;color:var(--forest);margin:0}.location-hours{display:grid;gap:7px}.location-hours div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #E8DED0}.location-hours span{color:#6F7870;font-size:.78rem}.location-hours strong{font-family:var(--font-serif);color:var(--forest)}.location-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.bottom-menu{--bottom-icon:url('/assets/brand/icons/menu.svg')}.bottom-campaigns{--bottom-icon:url('/assets/brand/icons/campaigns.svg')}

/* Admin menu editor */
.menu-admin-layout{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:14px}.menu-admin-list{display:grid;gap:9px}.menu-admin-section{border:1px solid #E0D5C5;border-radius:14px;background:#FFFDF8;padding:13px}.menu-admin-section-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.menu-admin-section h3{margin:0;color:var(--forest);font-family:var(--font-serif)}.menu-admin-section p{margin:3px 0 0;color:#7B817A;font-size:.72rem}.menu-admin-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #EEE5D9}.menu-admin-item:first-of-type{margin-top:9px}.menu-admin-item strong{color:var(--forest)}.menu-admin-item small{display:block;color:#81867F;margin-top:2px}.menu-admin-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.menu-editor-status{min-height:20px}

/* Raffle audit controls */
.winner-card{display:grid;gap:6px}.winner-card .winner-meta{font-size:.7rem;color:#7A8179}.winner-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

@media(max-width:720px){
  .menu-section-tabs{margin:0 12px 8px}.member-menu-grid{grid-template-columns:1fr}.member-menu-card{grid-template-columns:105px minmax(0,1fr)}.member-campaign-card{grid-template-columns:100px minmax(0,1fr)}.campaign-card-visual{min-height:170px}.campaign-card-visual:after{font-size:.9rem;left:10px;bottom:10px}.location-card{grid-template-columns:1fr!important}.location-illustration{min-height:220px}.location-copy{padding:20px}.menu-admin-layout{grid-template-columns:1fr}
}
@media(max-width:430px){
  .member-menu-card{grid-template-columns:88px minmax(0,1fr)}.member-menu-card-copy{padding:12px}.member-menu-card-copy h3{font-size:1rem}.member-campaign-card{grid-template-columns:1fr}.campaign-card-visual{min-height:125px}.location-illustration{min-height:180px}
}

/* v18: production failure state. Never fall back to local demo data. */
.service-unavailable-screen{
  position:absolute;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:clamp(20px,5vw,64px);
  background:rgba(31,59,46,.98);
}
.service-unavailable-card{
  width:min(640px,92vw);
  padding:clamp(28px,6vw,56px);
  border:1px solid rgba(201,169,104,.52);
  border-radius:28px;
  text-align:center;
  background:#1f3b2e;
  box-shadow:0 26px 70px rgba(0,0,0,.25);
  color:#f8f5ec;
}
.service-unavailable-card img{
  width:min(420px,86%);
  max-height:120px;
  object-fit:contain;
  margin:0 auto 28px;
}
.service-unavailable-card p{
  margin:0 0 10px;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:700;
  color:#c9a968;
}
.service-unavailable-card h1{
  margin:0 0 14px;
  font-family:"Lora","Georgia",serif;
  font-size:clamp(1.9rem,4vw,3rem);
  line-height:1.05;
  color:#f8f5ec;
}
.service-unavailable-card span{
  display:block;
  color:rgba(248,245,236,.8);
  font-size:1.05rem;
}

/* v18 final: cashier free-meal value controls */
.free-meal-action{flex-wrap:wrap;align-items:end!important}
.free-meal-action-copy{display:grid;gap:2px;min-width:150px}.free-meal-action-copy small{font-size:.72rem;opacity:.78}
.free-meal-price-label,.benefit-redeem-actions label{display:grid;gap:4px;font-size:.7rem;font-weight:800;color:#5b5f58}
.free-meal-price-label input,.benefit-redeem-actions input{width:130px;border:1px solid #D8CDBC;border-radius:10px;padding:9px 10px;background:#FFFDF8;font:inherit;color:#26342d}
.benefit-redeem-actions{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.benefit-redeem-actions label{min-width:130px}
@media(max-width:640px){.free-meal-action{align-items:stretch!important}.free-meal-price-label,.free-meal-price-label input,.benefit-redeem-actions,.benefit-redeem-actions label,.benefit-redeem-actions input{width:100%}.benefit-redeem-actions .primary-btn{width:100%}}


/* =========================================================
   MOBILE SIGN-UP FLOW v18.1.2
   Long forms must behave like normal mobile pages, not kiosk slides.
   ========================================================= */
@media(max-width:720px){
  body.kiosk-body.long-form-active{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    background:var(--cream)!important;
  }
  body.long-form-active .kiosk-frame{
    display:block!important;
    min-height:100dvh!important;
    height:auto!important;
    padding:0!important;
    transform:none!important;
  }
  body.long-form-active .kiosk-app{
    width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.long-form-active .telemark-brand-hero{
    display:block!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
  }
  body.long-form-active .telemark-logo-panel{
    min-height:104px!important;
    padding:12px 18px!important;
  }
  body.long-form-active .telemark-logo-photo,
  body.long-form-active .svingen-wordmark{
    width:min(100%,300px)!important;
    max-height:80px!important;
  }
  body.long-form-active .club-brand-panel{
    display:none!important;
  }
  body.long-form-active .survey-shell{
    display:block!important;
    flex:none!important;
    min-height:0!important;
    padding:24px 18px calc(36px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }
  body.long-form-active .survey-step.active{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.long-form-active .club-form-step,
  body.long-form-active .club-success-step{
    justify-content:flex-start!important;
    max-width:620px!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:left!important;
  }
  body.long-form-active .club-form-step>.text-back{
    display:inline-flex!important;
    margin:0 0 14px!important;
    padding:5px 0!important;
  }
  body.long-form-active .club-form-step>.step-kicker,
  body.long-form-active .club-form-step>h2,
  body.long-form-active .club-form-step>.lead,
  body.long-form-active .club-success-step>.step-kicker,
  body.long-form-active .club-success-step>h2,
  body.long-form-active .club-success-step>.coupon-help,
  body.long-form-active .club-success-step>.status-message{
    text-align:center!important;
  }
  body.long-form-active .club-form-step h2,
  body.long-form-active .club-success-step h2{
    font-size:clamp(1.95rem,8.5vw,2.6rem)!important;
    line-height:1.02!important;
    margin:2px auto 8px!important;
    max-width:520px!important;
  }
  body.long-form-active .club-form-step>.lead{
    font-size:.98rem!important;
    line-height:1.48!important;
    margin:0 auto!important;
    max-width:520px!important;
  }
  body.long-form-active .club-form{
    width:100%!important;
    margin:20px auto 0!important;
  }
  body.long-form-active .club-field-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.long-form-active .club-field-grid label{
    font-size:.92rem!important;
  }
  body.long-form-active .club-field-grid input{
    min-height:58px!important;
    margin-top:7px!important;
    padding:15px 16px!important;
    border-radius:15px!important;
    font-size:16px!important;
  }
  body.long-form-active .consent-boxes{
    gap:12px!important;
    margin:18px 0 14px!important;
  }
  body.long-form-active .consent-row{
    grid-template-columns:26px minmax(0,1fr)!important;
    gap:11px!important;
    padding:14px!important;
    border-radius:16px!important;
    font-size:.9rem!important;
    line-height:1.45!important;
  }
  body.long-form-active .consent-row input{
    width:22px!important;
    height:22px!important;
  }
  body.long-form-active .club-legal-note{
    font-size:.78rem!important;
    line-height:1.48!important;
    margin:12px 2px!important;
  }
  body.long-form-active .club-submit{
    min-height:58px!important;
    margin-top:8px!important;
    width:100%!important;
    font-size:1rem!important;
  }
  body.long-form-active .kiosk-status{display:none!important}
}


/* =========================================================
   MEMBER CARD PORTABILITY v18.1.2
   ========================================================= */
.member-card-actions{
  margin:0 22px 12px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
  border:1px solid #DED4C5;
  border-radius:15px;
  background:rgba(255,253,248,.78);
  box-shadow:var(--shadow-sm);
}
.member-card-actions .primary-btn,.member-card-actions .ghost-btn{min-height:42px}
.member-card-action-status{width:100%;margin:0;text-align:center;color:#66746B;font-size:.72rem;line-height:1.4}
.member-card-action-status.error{color:#9B433B}
.coupon-wallet-note{max-width:580px;margin:-5px auto 16px;color:#68756C;font-size:.78rem;line-height:1.45;text-align:center}
@media(max-width:720px){
  .member-card-actions{margin:0 12px 10px;padding:11px;display:grid;grid-template-columns:1fr 1fr}
  .member-card-actions .primary-btn,.member-card-actions .ghost-btn{width:100%;padding-inline:10px}
  .member-card-action-status{grid-column:1/-1}
}
@media(max-width:390px){
  .member-card-actions{grid-template-columns:1fr}
  .member-card-action-status{grid-column:auto}
}


@media(max-width:720px){
  .member-membership-activate{max-width:none!important;min-height:100dvh;border-radius:0!important;border:0!important;padding:20px 16px 28px!important;box-shadow:none!important}
  .member-activate-grid{grid-template-columns:1fr}
  .member-crew-panel{margin:10px 12px 0;padding:16px;border-radius:16px;display:grid;gap:13px}
  .member-crew-actions{justify-content:flex-start;min-width:0}
  .member-card-crew-badge{top:13px;right:13px;font-size:.58rem;padding:5px 8px}
}

/* v18.1.5 member status badges */
.member-status-badge.badge-style-crew{background:#17392d!important;border-color:#8f7c4f!important;color:#ead59d!important;box-shadow:0 7px 16px rgba(23,57,45,.10)}
.member-status-badge.badge-style-crew small{color:rgba(248,245,236,.72)!important}
.member-status-badge.badge-style-family{background:#f7f0df!important;border-color:#c8b998!important;color:#1f3b2e!important}
.member-status-badge.badge-style-family small{color:#6e746e!important}
.member-status-badge.badge-style-circle{background:#fffaf0!important;border-color:#c9a968!important;color:#58482a!important}
.member-status-badge.badge-style-circle small{color:#756746!important}
.member-status-badge.badge-style-standard{background:#fffdf8!important;border-color:#d9cebe!important;color:#1f3b2e!important}
.member-status-badge{align-items:flex-start!important;flex-direction:column!important;gap:1px!important;line-height:1.2}
.member-status-badge strong{letter-spacing:.055em}
.standing-benefit-card.standing-crew{background:linear-gradient(135deg,#f9f5e9,#f4ead2);border-color:#d5c08e}
.standing-benefit-card.standing-family{background:#fbf8ef;border-color:#d9ceb9}
.standing-benefit-card.standing-circle{background:#fffaf1;border-color:#d7c49b}
.standing-benefit-card.standing-work{background:linear-gradient(135deg,#17392d,#214638);border-color:#8c784b;color:#fff}
.standing-benefit-card.standing-work small{color:#d9c58b}.standing-benefit-card.standing-work h3{color:#fff}.standing-benefit-card.standing-work p{color:rgba(255,255,255,.78)}.standing-benefit-card.standing-work>strong{color:#ead59d}

/* v18.1.6 · Dagens, arrangementer og kasseankomster */
.living-admin-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.living-list,.event-booking-list,.living-cards,.cashier-arrivals-list{display:grid;gap:10px}
.living-admin-row,.event-booking-admin-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:16px;border:1px solid #E2D7C7;border-radius:15px;background:#FFFDF8}
.living-admin-row.is-inactive{opacity:.62}.living-admin-row h3,.event-booking-admin-row h3{margin:5px 0}.living-admin-row p,.event-booking-admin-row p{margin:5px 0}.booking-comment{padding:8px 10px;border-radius:10px;background:#F5EEE3}
.event-booking-admin-panel{margin-top:18px}.event-booking-admin-row label{min-width:145px}.event-booking-admin-row select{width:100%}
.loyalty-master-toggle{grid-column:1/-1;padding:14px;border:1px solid #D9CDBD;border-radius:14px;background:#FFFDF8}.loyalty-master-toggle span{display:grid;gap:2px}.loyalty-master-toggle small{font-weight:400;color:#6C746E}
.living-card{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:17px;border:1px solid #E2D7C7;border-radius:16px;background:#FFFDF8}.living-card h3{margin:5px 0;font-family:var(--font-serif);color:var(--forest)}.living-card p{margin:5px 0;line-height:1.5}.living-card>strong{white-space:nowrap;color:var(--forest);font-family:var(--font-serif);font-size:1.2rem}
.event-card{display:grid;grid-template-columns:minmax(0,1fr) auto}.event-book-form{grid-column:1/-1;padding-top:14px;border-top:1px solid #E6DCCD}.event-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.event-book-grid .full-field{grid-column:1/-1}.event-book-status{margin-left:10px}.booking-card{background:#F6F0E4}
.loyalty-paused-notice{margin-top:12px;background:#F5EEE3!important;color:#5D5548!important;border-color:#D9CDBD!important}
.cashier-arrivals-panel{margin:14px 18px 0;padding:16px 18px;border:1px solid #D9CDBD;border-radius:17px;background:#FFFDF8}.cashier-arrivals-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.cashier-arrivals-head h2{margin:3px 0;color:var(--forest)}.cashier-arrivals-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.cashier-arrival-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-radius:14px;background:#F5EEE3;border:1px solid #E2D7C7}.cashier-arrival-card>div{display:grid;gap:2px}.arrival-countdown{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#8A6C2D}.cashier-arrival-card strong{color:var(--forest);font-size:1.04rem}.cashier-arrival-card small{color:#6C746E}
@media(max-width:850px){.living-admin-layout{grid-template-columns:1fr}.event-book-grid{grid-template-columns:1fr}.event-book-grid .full-field{grid-column:auto}.living-card{display:grid}.event-card{grid-template-columns:1fr}.cashier-arrivals-list{grid-template-columns:1fr}}
\n\n/* v18.1.7 · planlagt Dagens, Crew-fordeler og reservasjonsavbestilling */\n.living-admin-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:14px 0 8px;padding:0 2px}.living-admin-section-title strong{font-family:var(--font-serif);font-size:1.05rem;color:var(--forest)}.living-admin-section-title small{color:#74786f}.living-archive{margin-top:14px;border-top:1px solid #e2d7c7;padding-top:12px}.living-archive summary{cursor:pointer;font-weight:800;color:var(--forest);margin-bottom:10px}\n.group-rule-options .toggle-row span{display:grid;gap:2px}.group-rule-options .toggle-row small{font-weight:400;color:#74786f}.group-rule-options input:disabled+span{opacity:.55}\n.crew-home-benefits{margin:14px 22px 0;padding:20px;border-radius:20px;background:#fffdf8;border:1px solid #d9c9ad;box-shadow:0 14px 34px rgba(44,37,28,.07)}.crew-home-benefits-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.crew-home-benefits-head h2{font-family:var(--font-serif);color:var(--forest);font-size:1.65rem;margin:2px 0 4px}.crew-home-benefits-head p:last-child{margin:0;color:#6e746d}.crew-home-badge{padding:8px 12px;border-radius:999px;background:var(--forest);color:#ead59d;font-size:.68rem;font-weight:900;letter-spacing:.08em}.crew-home-benefit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crew-home-benefit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e1d7c8;border-radius:13px;background:#f9f4ea}.crew-home-benefit-row span{font-weight:700;color:#34463e}.crew-home-benefit-row strong{font-family:var(--font-serif);font-size:1.12rem;color:var(--forest);white-space:nowrap}.crew-home-benefit-row.crew-home-note{grid-column:1/-1;background:#f1eadc}.crew-home-benefit-row.crew-home-note strong{font-family:inherit;font-size:.78rem}.crew-home-work{margin-top:14px;padding:16px 18px;border-radius:15px;background:linear-gradient(135deg,#17392d,#234a3a);color:#fff}.crew-home-work-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.crew-home-work-head span{font-size:.66rem;font-weight:900;letter-spacing:.11em;color:#ead59d}.crew-home-work-head strong{font-family:var(--font-serif);font-size:1.18rem}.crew-home-work ul{margin:0;padding-left:18px;display:grid;gap:6px}.crew-home-work li{line-height:1.45;color:rgba(255,255,255,.88)}\n.booking-card{align-items:center}.booking-cancel-help{margin:9px 0 0!important;padding:8px 10px;border-radius:10px;background:#f5eee3;color:#665b4b;font-size:.76rem}.booking-cancel-help a{color:var(--forest);font-weight:800}.booking-card .danger{align-self:center}\n@media(max-width:850px){.crew-home-benefits{margin:10px 12px 0;padding:17px}.crew-home-benefits-head{display:grid;gap:10px}.crew-home-benefit-list{grid-template-columns:1fr}.crew-home-benefit-row.crew-home-note{grid-column:auto}.living-admin-section-title{align-items:flex-start;display:grid;gap:2px}}\n
/* v18.1.6.3 · Crew-forside og tydelig middagskortstyring */
.crew-home-benefit-sections{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:12px}.crew-home-card{border:1px solid #ded1bd;border-radius:16px;background:#fbf7ef;padding:16px}.crew-home-shopping{grid-row:span 2}.crew-home-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.crew-home-card-head span{font-size:.64rem;font-weight:900;letter-spacing:.11em;color:#987b3b}.crew-home-card-head strong{font-family:var(--font-serif);font-size:1.12rem;color:var(--forest);text-align:right}.crew-home-shopping .crew-home-benefit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.crew-home-work-card{padding:0;border:0;background:transparent}.crew-home-work-card .crew-home-work{margin:0;height:100%;box-sizing:border-box}.crew-home-terms{background:linear-gradient(145deg,#fffdf8,#f4ecdc)}.crew-home-terms-copy{display:grid;gap:9px}.crew-home-terms-copy p{margin:0;color:#59655e;font-size:.79rem;line-height:1.5}.crew-home-terms-copy strong{color:var(--forest)}
.group-loyalty-master{padding:12px 13px;border:1px solid #d8c8aa;border-radius:12px;background:#faf5e9}.group-rule-options .group-loyalty-card+span strong{color:var(--forest)}
@media(max-width:850px){.crew-home-benefit-sections{grid-template-columns:1fr}.crew-home-shopping{grid-row:auto}.crew-home-shopping .crew-home-benefit-list{grid-template-columns:1fr}.crew-home-card-head{display:grid;gap:3px}.crew-home-card-head strong{text-align:left}}

/* =========================================================
   v18.1.7.1 · Crew home redesign + mobile scaling
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
.member-page-app *{box-sizing:border-box}

/* Crew has its own information hierarchy: status -> benefits -> card -> shortcuts. */
.member-page-app.crew-member-mode [data-member-view="home"]{display:flex;flex-direction:column}
.crew-member-mode .member-welcome-hero{display:none!important}
.crew-member-mode #memberCrewPanel{order:1}
.crew-member-mode #crewHomeBenefits{order:2}
.crew-member-mode #memberHeroCard{order:3}
.crew-member-mode .member-card-actions{order:4}
.crew-member-mode #myMemberGroups{order:5}
.crew-member-mode .member-quick-actions{order:6}
.crew-member-mode #homeLoyaltyCard{order:7}
.crew-member-mode .member-card-crew-badge{display:none!important}

.member-crew-panel{
  margin:18px 22px 0!important;
  padding:28px 30px!important;
  min-height:178px;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 88% 10%,rgba(213,181,105,.18),transparent 27%),
    linear-gradient(135deg,#102d23 0%,#173b2d 58%,#214b39 100%)!important;
  border:1px solid rgba(209,177,104,.45)!important;
  box-shadow:0 18px 42px rgba(18,46,35,.18)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end!important;
  gap:24px!important;
}
.member-crew-panel.hidden{display:none!important}
.member-crew-copy{display:grid;align-content:end;gap:6px;min-width:0}
.member-crew-copy .eyebrow{margin:3px 0 0!important;color:rgba(255,255,255,.62)!important;font-size:.65rem!important;letter-spacing:.12em!important}
.member-crew-copy h1{margin:4px 0 0;color:#fff;font-family:var(--font-serif);font-size:clamp(2.15rem,4vw,3.15rem);line-height:1;letter-spacing:-.035em}
.member-crew-copy p:last-child{margin:4px 0 0!important;max-width:620px;color:rgba(255,255,255,.78)!important;font-size:.9rem!important;line-height:1.5!important}
.member-crew-role{justify-self:start;min-height:29px!important;padding:0 10px!important;background:#d5b569!important;border:1px solid rgba(255,255,255,.18)!important;color:#173428!important;font-size:.62rem!important;letter-spacing:.12em!important;box-shadow:none!important}
.member-crew-actions{align-self:end;display:flex!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
.member-crew-actions .crew-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:12px;border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-weight:800;font-size:.76rem;white-space:nowrap}
.member-crew-actions .crew-action:hover{background:rgba(255,255,255,.15)}
.member-crew-actions .crew-action.hidden{display:none!important}

.crew-home-benefits{
  margin:14px 22px 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.crew-home-benefits-head{margin:0 2px 12px!important;align-items:end!important}
.crew-home-benefits-head .eyebrow{margin:0 0 4px;color:#9b7c3d!important;font-size:.64rem;letter-spacing:.12em}
.crew-home-benefits-head h2{font-size:1.72rem!important;letter-spacing:-.02em;margin:0 0 3px!important}
.crew-home-benefits-head p:last-child{font-size:.8rem;line-height:1.45}
.crew-home-badge{display:none!important}
.crew-home-benefit-sections{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.crew-home-card{padding:18px!important;border-radius:18px!important;border:1px solid #ded2c1!important;background:#fffdf8!important;box-shadow:0 8px 24px rgba(48,39,28,.05)}
.crew-home-card-head{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important}
.crew-home-card-head span{font-size:.62rem!important;letter-spacing:.13em!important;color:#9a7938!important}
.crew-home-card-head strong{font-size:1.18rem!important;text-align:right!important}

.crew-home-work-card{padding:18px!important;border:1px solid rgba(209,177,104,.42)!important;background:linear-gradient(145deg,#17392d,#214a39)!important;color:#fff}
.crew-home-work-card .crew-home-card-head span{color:#e4c982!important}
.crew-home-work-card .crew-home-card-head strong{color:#fff!important}
.crew-home-work{margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important}
.crew-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.crew-work-rule{min-width:0;padding:13px 14px;border-radius:13px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);display:grid;align-content:start;gap:6px}
.crew-work-rule strong{font-family:var(--font-serif);font-size:.96rem;color:#f5e4b5;line-height:1.15}
.crew-work-rule span{color:rgba(255,255,255,.84);font-size:.72rem;line-height:1.42;overflow-wrap:anywhere}

.crew-home-shopping .crew-home-benefit-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.crew-home-benefit-row{min-width:0;min-height:82px;padding:13px 14px!important;border-radius:13px!important;border:1px solid #e3d8c8!important;background:#f8f3e9!important;display:grid!important;align-content:space-between!important;justify-content:stretch!important;gap:8px!important}
.crew-home-benefit-row span{font-size:.72rem!important;color:#59675f!important;font-weight:750!important;line-height:1.25;overflow-wrap:anywhere}
.crew-home-benefit-row strong{font-size:1.5rem!important;line-height:1!important;text-align:right;color:#17392d!important}

.crew-home-terms{background:linear-gradient(145deg,#fffdf8,#f5eee1)!important}
.crew-home-terms-copy{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
.crew-term-item{min-width:0;padding:12px 13px;border-radius:12px;background:rgba(255,255,255,.65);border:1px solid #e5dac8;display:grid;gap:4px}
.crew-term-item strong{font-family:var(--font-serif);font-size:.92rem;color:#17392d!important}
.crew-term-item span{font-size:.72rem;line-height:1.45;color:#68736d;overflow-wrap:anywhere}

/* The digital membership card remains available, but it is secondary for crew. */
.crew-member-mode .member-hero-card{min-height:190px!important;margin-top:14px!important;padding:22px!important;box-shadow:0 12px 28px rgba(20,52,40,.14)!important}
.crew-member-mode .member-card-club-logo{width:min(100%,190px)!important}
.crew-member-mode .member-card-name{margin-top:18px!important;font-size:1.2rem!important}
.crew-member-mode .member-qr-card{width:142px!important;min-width:142px!important;min-height:142px!important;padding:8px!important}
.crew-member-mode .member-card-actions{padding:9px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important;margin-top:-5px!important}
.crew-member-mode .member-card-actions .primary-btn,
.crew-member-mode .member-card-actions .ghost-btn{min-height:39px!important;font-size:.72rem!important}

/* Mobile: use the full viewport and remove the desktop-card feel. */
@media(max-width:720px){
  .member-page-shell{width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
  .member-page-app{width:100%!important;max-width:100%!important;min-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .member-page-header{min-height:58px;padding:7px 11px!important;gap:8px}
  .member-page-logo.compact{width:126px!important;height:42px!important;max-height:42px!important}
  .member-header-actions{gap:5px!important}
  .member-header-actions .ghost-btn{min-height:36px!important;padding:7px 9px!important;font-size:.65rem!important}

  .member-welcome-hero{margin:10px 10px 0!important;min-height:176px!important;border-radius:16px!important}
  .member-welcome-copy{padding:17px!important;max-width:88%!important}
  .member-welcome-copy h1{font-size:clamp(1.9rem,9vw,2.35rem)!important}

  .member-crew-panel{margin:10px 10px 0!important;padding:18px!important;min-height:0!important;border-radius:17px!important;grid-template-columns:1fr!important;gap:14px!important}
  .member-crew-copy h1{font-size:2.15rem!important}
  .member-crew-copy p:last-child{font-size:.8rem!important}
  .member-crew-actions{justify-content:flex-start!important;width:100%}
  .member-crew-actions .crew-action{flex:1 1 auto;min-width:120px;min-height:42px}

  .crew-home-benefits{margin:12px 10px 0!important}
  .crew-home-benefits-head{margin:0 2px 10px!important;display:block!important}
  .crew-home-benefits-head h2{font-size:1.52rem!important}
  .crew-home-benefits-head p:last-child{font-size:.75rem!important}
  .crew-home-card{padding:14px!important;border-radius:16px!important}
  .crew-home-card-head{margin-bottom:11px!important}
  .crew-home-card-head strong{font-size:1.02rem!important}
  .crew-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .crew-work-rule{padding:11px!important;min-height:92px}
  .crew-home-shopping .crew-home-benefit-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .crew-home-benefit-row{min-height:76px!important;padding:11px!important}
  .crew-home-benefit-row strong{font-size:1.35rem!important}
  .crew-home-terms-copy{grid-template-columns:1fr!important}

  .member-hero-card,
  .crew-member-mode .member-hero-card{margin:10px!important;padding:16px!important;min-height:164px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important;border-radius:16px!important}
  .member-card-copy{padding-right:0!important;min-height:132px!important}
  .member-card-club-logo,
  .crew-member-mode .member-card-club-logo{width:138px!important;max-width:100%!important}
  .member-card-name,
  .crew-member-mode .member-card-name{font-size:1.03rem!important;margin:14px 0 2px!important}
  .member-number{font-size:.72rem!important}
  .member-qr-wrap{position:static!important;align-self:end!important;min-width:0!important}
  .member-qr-card,
  .crew-member-mode .member-qr-card{position:static!important;right:auto!important;bottom:auto!important;width:92px!important;min-width:92px!important;min-height:92px!important;padding:6px!important;border-radius:12px!important;border-width:3px!important}
  .member-qr-wrap small{display:none!important}

  .member-card-actions,
  .crew-member-mode .member-card-actions{margin:0 10px 10px!important;padding:8px 0!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .member-card-actions .primary-btn,.member-card-actions .ghost-btn{min-width:0!important;width:100%!important;font-size:.68rem!important;padding-inline:8px!important}
  .member-status-strip{margin:0 10px 8px!important}
  .member-quick-actions{margin:0 10px 10px!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .member-action-card{padding:13px 12px!important;border-radius:14px!important;min-height:104px}
  .member-action-card strong{font-size:.92rem!important}
  .member-action-card small{font-size:.64rem!important;line-height:1.3}
  .loyalty-card,.member-section{margin:10px!important;padding:15px!important;border-radius:16px!important}
  .living-card{padding:14px!important;gap:10px!important}
  .event-book-grid{gap:8px!important}
  .member-view-heading{margin:19px 12px 8px!important}
}

@media(max-width:420px){
  .member-page-logo.compact{width:112px!important;height:38px!important}
  .member-header-actions .ghost-btn{padding:6px 8px!important}
  .crew-home-shopping .crew-home-benefit-list{grid-template-columns:1fr!important}
  .crew-home-benefit-row{min-height:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  .crew-home-benefit-row strong{font-size:1.25rem!important}
  .crew-work-grid{grid-template-columns:1fr!important}
  .crew-work-rule{min-height:0!important}
  .member-hero-card,.crew-member-mode .member-hero-card{grid-template-columns:minmax(0,1fr) 82px!important;gap:9px!important}
  .member-qr-card,.crew-member-mode .member-qr-card{width:82px!important;min-width:82px!important;min-height:82px!important}
  .member-card-club-logo,.crew-member-mode .member-card-club-logo{width:120px!important}
  .member-card-copy{min-height:120px!important}
  .member-card-actions,.crew-member-mode .member-card-actions{grid-template-columns:1fr!important}
  .member-bottom-nav{padding-left:4px!important;padding-right:4px!important}
  .member-bottom-nav button{font-size:.56rem!important;min-width:0!important}
}

/* v18.1.8 · dynamiske fordelskort for Ansatt/Eier */
.crew-home-benefit-sections{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.crew-benefit-section-card{border:1px solid #ded2c1;border-radius:18px;background:#fffdf8;box-shadow:0 8px 24px rgba(48,39,28,.05);overflow:hidden}.crew-benefit-section-card.section-work{background:linear-gradient(145deg,#17392d,#214a39);border-color:rgba(209,177,104,.42);color:#fff}.crew-benefit-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:16px 18px 10px}.crew-benefit-section-head>span{font-size:.61rem;letter-spacing:.13em;font-weight:900;color:#9a7938}.crew-benefit-section-head>strong{font-family:var(--font-serif);font-size:1.18rem;color:#17392d;text-align:right}.section-work .crew-benefit-section-head>span{color:#e4c982}.section-work .crew-benefit-section-head>strong{color:#fff}.crew-benefit-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 18px 18px}.section-work .crew-benefit-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.crew-benefit-tile{min-width:0;border-radius:14px;border:1px solid #e4dacb;background:#f8f3e9;padding:13px 14px;display:grid;align-content:start;gap:8px;min-height:92px}.section-work .crew-benefit-tile{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.13)}.crew-benefit-tile-top{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center}.crew-benefit-tile-top>span:not(.crew-benefit-icon){font-weight:800;font-size:.75rem;color:#4c6157;line-height:1.22}.crew-benefit-tile-top>strong{grid-column:2;font-family:var(--font-serif);font-size:1.35rem;line-height:1;color:#17392d;margin-top:2px}.crew-benefit-tile p{margin:0;color:#6a746e;font-size:.69rem;line-height:1.45}.section-work .crew-benefit-tile-top>span:not(.crew-benefit-icon){color:#f2e8ce}.section-work .crew-benefit-tile-top>strong{color:#f5e4b5}.section-work .crew-benefit-tile p{color:rgba(255,255,255,.78)}.crew-benefit-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#efe4d0;border:1px solid #dfcfb4;color:#1c4938;font-weight:900}.section-work .crew-benefit-icon{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.15);color:#f5e4b5}.crew-benefit-icon:before{font-size:.78rem}.crew-benefit-icon.icon-percent:before{content:'%'}.crew-benefit-icon.icon-coffee:before{content:'☕'}.crew-benefit-icon.icon-meal:before{content:'◉'}.crew-benefit-icon.icon-family:before{content:'◇'}.crew-benefit-icon.icon-venue:before{content:'⌂'}.crew-benefit-icon.icon-check:before{content:'✓'}.crew-benefit-icon.icon-gift:before{content:'+'}.crew-benefit-icon.icon-star:before{content:'★'}.crew-benefit-empty{border:1px dashed #d6c8b3;border-radius:16px;padding:22px;display:grid;gap:5px;color:#6c746f}.crew-benefit-empty strong{font-family:var(--font-serif);color:#17392d;font-size:1.05rem}.crew-benefit-empty span{font-size:.75rem}.section-shopping .crew-benefit-tile.is-price{min-height:82px}.section-shopping .crew-benefit-tile.is-price .crew-benefit-tile-top>strong{font-size:1.52rem}
@media(max-width:850px){.crew-benefit-tiles,.section-work .crew-benefit-tiles{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 14px}.crew-benefit-section-head{padding:14px 14px 10px}.crew-benefit-tile{min-height:86px;padding:12px}.crew-benefit-section-head>strong{font-size:1.05rem}}
@media(max-width:480px){.crew-benefit-section-head{display:grid;gap:3px}.crew-benefit-section-head>strong{text-align:left}.crew-benefit-tiles,.section-work .crew-benefit-tiles{grid-template-columns:1fr}.crew-benefit-tile{min-height:0}.crew-benefit-tile-top{grid-template-columns:28px minmax(0,1fr) auto}.crew-benefit-tile-top>strong{grid-column:auto;font-size:1.22rem;text-align:right;margin:0}.crew-benefit-tile p{padding-left:36px}.section-shopping .crew-benefit-tile.is-price .crew-benefit-tile-top>strong{font-size:1.35rem}}
