.employee-top-label { padding: 10px 15px; border-radius: 99px; background: var(--blue-pale); color: var(--blue-deep); font-size: 13px; font-weight: 700; }

.employee-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1240px, calc(100% - 64px));
  min-height: 465px;
  margin: 8px auto 0;
  padding: clamp(40px, 6vw, 74px) clamp(40px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  border-radius: 60px;
  background: var(--blue);
  color: #fff;
}

.employee-hero__copy { position: relative; z-index: 1; max-width: 620px; }
.employee-hero h1 { margin: 0; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.1; letter-spacing: -.035em; }
.employee-hero__copy > p:not(.eyebrow) { max-width: 490px; margin: 20px 0 27px; color: rgba(255,255,255,.93); font-size: 16px; line-height: 1.65; }
.employee-hero__proof { margin-top: 24px; color: rgba(255,255,255,.92); font-size: 14px; }
.employee-hero__proof span { margin-right: 7px; color: var(--ink); font-size: 18px; font-weight: 800; }
.employee-hero__art { position: relative; min-height: 310px; display: grid; place-items: center; }
.employee-hero__circle { width: min(260px, 70%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.96); transform: rotate(-8deg); box-shadow: 0 18px 55px rgba(10,81,106,.12); }
.employee-hero__circle img { width: 76%; height: auto; }
.employee-hero__spark { position: absolute; color: rgba(255,255,255,.48); font-size: 94px; line-height: 1; }
.employee-hero__spark--one { top: 0; right: 3%; }
.employee-hero__spark--two { bottom: 0; left: 0; font-size: 70px; transform: rotate(22deg); }
.employee-hero__bubble { position: absolute; display: block; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; }
.employee-hero__bubble--one { width: 19px; height: 19px; top: 28px; left: 16%; }
.employee-hero__bubble--two { width: 12px; height: 12px; right: 5%; bottom: 25px; }
.employee-hero__ticket { position: absolute; right: -12px; bottom: 24px; padding: 16px 21px; display: grid; gap: 4px; border-radius: 17px; background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px rgba(10,81,106,.15); transform: rotate(4deg); }
.employee-hero__ticket b { font-size: 19px; }
.employee-hero__ticket span { font-size: 12px; font-weight: 600; }

.employee-rewards { width: min(1080px, calc(100% - 64px)); margin: 82px auto 90px; }
.employee-section-heading { margin-bottom: 25px; }
.employee-section-heading h2, .dashboard-heading h2 { margin: 0; font-size: clamp(32px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.16; }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reward-card { position: relative; min-height: 242px; padding: 25px 25px 23px; overflow: hidden; border-radius: 24px; }
.reward-card--blue { background: var(--blue-pale); }
.reward-card--yellow { background: #fff3c8; }
.reward-card--mint { background: var(--mint); }
.reward-card__number { position: absolute; top: 20px; right: 21px; color: var(--muted); font-size: 12px; font-weight: 700; }
.reward-card > strong { display: block; margin: 23px 0 11px; font-size: 28px; letter-spacing: -.04em; }
.reward-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.reward-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.employee-eligibility { max-width: 80ch; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.employee-page.auth-dialog-open { overflow: hidden; }
.employee-page .login-trigger { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-color: #c9e3ec; border-radius: 12px; color: var(--ink); font-weight: 700; }
.employee-page .login-trigger:hover { background: var(--blue-pale); border-color: var(--blue-deep); }
.employee-page .login-trigger:active { background: #d7edf5; }
.join-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow: auto; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(18,60,75,.24); }
.join-dialog::backdrop { background: rgba(18,60,75,.56); }
.join-dialog__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.join-dialog h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.join-dialog > p { margin: 16px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.join-dialog .dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 12px; color: var(--muted); }
.join-dialog .dialog-close:hover { background: var(--blue-pale); color: var(--ink); }
.join-dialog .dialog-close:active { background: #d7edf5; }
.join-dialog #join-status { margin: 0; font-size: 14px; line-height: 1.5; }
.join-dialog #recovery-help { margin-top: 8px; }
.join-dialog summary { cursor: pointer; }
.join-dialog summary:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.join-form { display: grid; align-content: center; gap: 16px; }
.employee-field { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.employee-field input { width: 100%; min-height: 51px; padding: 0 14px; border: 1px solid #d9e7eb; border-radius: 13px; background: #fbfdfe; color: var(--ink); font: 500 16px var(--font); }
.employee-field input::placeholder { color: var(--muted); font-weight: 400; }
.employee-field input:focus-visible, .copy-field input:focus-visible, .post-card textarea:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.employee-submit { width: 100%; margin-top: 2px; }

.employee-dashboard { width: min(1080px, calc(100% - 64px)); margin: 0 auto 80px; scroll-margin-top: 28px; }
.employee-dashboard[hidden] { display: none; }
.dashboard-heading { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dashboard-heading .eyebrow { margin-bottom: 9px; }
.referral-share { margin-bottom: 34px; padding: 21px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-radius: 20px; background: var(--blue-pale); }
.referral-share__url { width: min(600px, 100%); display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { width: 100%; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #c9e3ec; border-radius: 11px; background: white; color: var(--blue-deep); font: 500 14px var(--font); }
.copy-button { min-height: 46px; padding: 0 17px; border: 0; border-radius: 11px; background: var(--blue-deep); color: #fff; font: 700 13px var(--font); cursor: pointer; transition: background .16s ease, transform .16s ease; }
.copy-button:hover { background: #0d7194; transform: translateY(-1px); }
.copy-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.referral-share__status { display: flex; align-items: center; gap: 7px; padding: 0 0 7px; color: #34654c; font-size: 12px; font-weight: 600; white-space: nowrap; }
.referral-share__status span { width: 7px; height: 7px; border-radius: 50%; background: #6fc69a; }
.activity-heading { margin-bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.activity-heading .eyebrow { margin-bottom: 7px; }
.activity-heading h3, .post-card h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.activity-stats { margin-bottom: 17px; display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 10px; }
.activity-stats article { min-height: 95px; padding: 15px; display: grid; align-content: space-between; gap: 7px; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(33,98,120,.05); }
.activity-stats article span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.activity-stats article strong { font-size: 21px; letter-spacing: -.04em; }
.activity-stats__earned { background: var(--yellow) !important; }
.activity-stats__earned strong { font-size: 18px !important; }
.activity-list { overflow: hidden; margin-bottom: 25px; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(33,98,120,.05); }
.activity-list__header { min-height: 48px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #edf3f5; }
.activity-list__header strong { font-size: 14px; }
.activity-list__header span { color: var(--muted); font-size: 12px; }
.activity-row { min-height: 64px; padding: 10px 18px; display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #f0f4f5; }
.activity-row:last-child { border-bottom: 0; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; }
.activity-dot--blue { background: var(--blue); }
.activity-dot--yellow { background: #efbd21; }
.activity-dot--mint { background: #69bd8f; }
.activity-row div { min-width: 0; display: grid; gap: 4px; }
.activity-row strong { font-size: 14px; }
.activity-row small { color: var(--muted); font-size: 12px; }
.activity-state, .activity-reward { color: var(--blue-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.activity-state--yellow { color: #8f6900; }
.activity-reward { color: #378059; }

.post-card { padding: 23px; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(33,98,120,.05); }
.post-card__heading { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.post-card__heading .eyebrow { margin-bottom: 7px; }
.post-card textarea { width: 100%; min-height: 180px; padding: 13px 14px; resize: vertical; border: 1px solid #d9e7eb; border-radius: 12px; background: #fbfdfe; color: var(--ink); font: 14px/1.6 var(--font); }
.copy-status { margin: 9px 0 0; color: #357b55; font-size: 13px; }
.employee-preview-link { color: var(--blue-deep); font-size: 13px; font-weight: 600; text-decoration-color: #b4d9e5; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .employee-hero { min-height: 400px; grid-template-columns: 1fr .72fr; gap: 18px; padding-inline: 42px; border-radius: 48px; }
  .employee-hero h1 { font-size: clamp(34px, 5.4vw, 46px); }
  .employee-hero__art { min-height: 265px; }
  .employee-hero__ticket { right: -22px; }
  .reward-grid { gap: 10px; }
  .reward-card { padding: 21px; }
  .employee-dashboard { width: min(1080px, calc(100% - 42px)); }
}

@media (max-width: 650px) {
  .employee-top-label { padding: 8px 10px; font-size: 11px; }
  .employee-hero { width: calc(100% - 24px); min-height: 0; padding: 31px 24px 25px; grid-template-columns: 1fr; gap: 7px; border-radius: 34px; }
  .employee-hero h1 { font-size: clamp(34px, 9vw, 43px); }
  .employee-hero__copy > p:not(.eyebrow) { margin: 14px 0 19px; font-size: 15px; }
  .employee-hero__proof { margin-top: 15px; font-size: 12px; }
  .employee-hero__art { min-height: 225px; margin: 5px auto 0; width: 90%; }
  .employee-hero__circle { width: 190px; }
  .employee-hero__spark--one { top: -9px; right: -7px; font-size: 70px; }
  .employee-hero__ticket { right: -16px; bottom: 4px; padding: 12px 16px; }
  .employee-hero__ticket b { font-size: 16px; }
  .employee-rewards { width: calc(100% - 42px); margin: 62px auto 64px; }
  .employee-section-heading h2, .dashboard-heading h2 { font-size: 30px; }
  .reward-grid { grid-template-columns: 1fr; gap: 9px; }
  .reward-card { min-height: 0; padding: 19px 18px 19px 77px; }
  .reward-card__number { top: 16px; left: 19px; right: auto; }
  .reward-card > strong { margin: 0 0 5px; font-size: 22px; }
  .reward-card h3 { margin-bottom: 5px; font-size: 15px; }
  .reward-card p { font-size: 13px; }
  .employee-eligibility { font-size: 13px; }
  .join-dialog { padding: 24px; }
  .employee-page .account-actions { max-width: 55%; flex-wrap: nowrap; }
  .employee-page .login-trigger { width: 44px; padding: 8px; flex-shrink: 0; justify-content: center; }
  .employee-page .login-trigger span { display: none; }
  .employee-dashboard { width: calc(100% - 24px); margin-bottom: 58px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .referral-share { align-items: flex-start; flex-direction: column; padding: 17px; gap: 12px; }
  .referral-share__url { width: 100%; }
  .copy-field { gap: 6px; }
  .copy-field input { font-size: 12px; }
  .copy-button { padding: 0 11px; font-size: 12px; }
  .referral-share__status { padding: 0; }
  .activity-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .activity-heading h3, .post-card h3 { font-size: 21px; }
  .activity-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .activity-stats article { min-height: 78px; padding: 12px; }
  .activity-stats article strong { font-size: 19px; }
  .activity-stats__earned { grid-column: 1 / -1; min-height: 65px !important; }
  .activity-list__header { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 14px; gap: 4px; }
  .activity-row { padding: 10px 12px; grid-template-columns: 8px 1fr auto; gap: 8px; }
  .activity-row strong { font-size: 13px; }
  .activity-row small { font-size: 12px; }
  .activity-state, .activity-reward { font-size: 12px; }
  .post-card { padding: 17px; }
  .post-card__heading { align-items: flex-start; flex-direction: column; }
  .post-card textarea { min-height: 230px; font-size: 13px; }
  .footer { gap: 10px; }
  .employee-preview-link { max-width: 145px; text-align: right; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .employee-page *, .employee-page *::before, .employee-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
