/* // smdoda-styling: CWS Weight Competition frontend design system. */
:root {
  --cws-wlc-primary: #28aae1;
  --cws-wlc-dark: #020c32;
  --cws-wlc-text: #1e293b;
  --cws-wlc-muted: #64748b;
  --cws-wlc-line: #e6edf5;
  --cws-wlc-soft: #f5f9fc;
  --cws-wlc-success: #14875d;
  --cws-wlc-danger: #c2414b;
  --cws-wlc-radius: 22px;
  --cws-wlc-shadow: 0 18px 55px rgba(2, 12, 50, .09);
}

.cws-wlc-shell,
.cws-wlc-shell * { box-sizing: border-box; }

.cws-wlc-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  color: var(--cws-wlc-text);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.cws-wlc-shell h2,
.cws-wlc-shell h3,
.cws-wlc-shell p { margin-top: 0; }
.cws-wlc-shell h2,
.cws-wlc-shell h3 { color: var(--cws-wlc-dark); line-height: 1.18; letter-spacing: -.025em; }
.cws-wlc-shell a { color: var(--cws-wlc-primary); }

.cws-wlc-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.cws-wlc-reveal.is-visible { opacity: 1; transform: none; }

.cws-wlc-hero,
.cws-wlc-dashboard-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  margin-bottom: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(40, 170, 225, .34), transparent 30%),
    linear-gradient(135deg, var(--cws-wlc-dark), #0b2359 72%, #124778);
  box-shadow: var(--cws-wlc-shadow);
  color: #fff;
}

.cws-wlc-hero::after,
.cws-wlc-dashboard-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
}

.cws-wlc-hero h2,
.cws-wlc-dashboard-hero h2 { max-width: 850px; margin-bottom: 16px; color: #fff; font-size: clamp(32px, 5vw, 58px); }
.cws-wlc-hero p,
.cws-wlc-dashboard-hero p { position: relative; z-index: 1; max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.cws-wlc-hero__eyebrow,
.cws-wlc-kicker { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cws-wlc-hero__eyebrow { color: #9ee1ff; }
.cws-wlc-kicker { color: var(--cws-wlc-primary); }
.cws-wlc-hero--compact { padding: clamp(28px, 5vw, 52px); }
.cws-wlc-hero--compact h2 { font-size: clamp(30px, 4vw, 48px); }

.cws-wlc-hero__steps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; z-index: 2; }
.cws-wlc-hero__steps span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 700; }
.cws-wlc-hero__steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cws-wlc-primary); }

.cws-wlc-card {
  padding: clamp(22px, 4vw, 38px);
  margin-bottom: 24px;
  border: 1px solid var(--cws-wlc-line);
  border-radius: var(--cws-wlc-radius);
  background: #fff;
  box-shadow: var(--cws-wlc-shadow);
}
.cws-wlc-card--form { max-width: 930px; margin-left: auto; margin-right: auto; }
.cws-wlc-card--accent { color: #fff; background: linear-gradient(145deg, var(--cws-wlc-primary), #127bb3); border-color: transparent; }
.cws-wlc-card--accent h3,
.cws-wlc-card--accent .cws-wlc-kicker { color: #fff; }
.cws-wlc-card--accent p { color: rgba(255,255,255,.85); }
.cws-wlc-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.cws-wlc-card__heading h3 { margin: 0; font-size: clamp(22px, 3vw, 30px); }

.cws-wlc-grid { display: grid; gap: 18px; }
.cws-wlc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cws-wlc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cws-wlc-shell label > span { display: block; margin-bottom: 8px; color: var(--cws-wlc-dark); font-size: 13px; font-weight: 700; }
.cws-wlc-shell input,
.cws-wlc-shell select,
.cws-wlc-shell textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8e2ec;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--cws-wlc-text);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cws-wlc-shell input:focus,
.cws-wlc-shell select:focus,
.cws-wlc-shell textarea:focus { border-color: var(--cws-wlc-primary); box-shadow: 0 0 0 4px rgba(40,170,225,.13); }

.cws-wlc-consent { display: flex; gap: 11px; align-items: flex-start; margin: 22px 0; padding: 15px; border-radius: 13px; background: var(--cws-wlc-soft); }
.cws-wlc-consent input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--cws-wlc-primary); }
.cws-wlc-consent span { margin: 0 !important; color: var(--cws-wlc-muted) !important; font-weight: 500 !important; }

.cws-wlc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  text-decoration: none !important;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.cws-wlc-btn:hover { transform: translateY(-2px); }
.cws-wlc-btn:disabled { cursor: wait; opacity: .68; transform: none; }
.cws-wlc-btn--primary { background: var(--cws-wlc-primary); color: #fff !important; box-shadow: 0 12px 25px rgba(40,170,225,.25); }
.cws-wlc-btn--ghost { border: 1px solid #dbe5ee; background: #fff; color: var(--cws-wlc-dark) !important; }
.cws-wlc-btn--light { background: #fff; color: var(--cws-wlc-dark) !important; }
.cws-wlc-btn--success { background: var(--cws-wlc-success); color: #fff !important; }
.cws-wlc-spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: cwsWlcSpin .7s linear infinite; }
@keyframes cwsWlcSpin { to { transform: rotate(360deg); } }

.cws-wlc-form-message { min-height: 20px; margin-top: 13px; font-size: 13px; font-weight: 700; }
.cws-wlc-form-message.is-error { color: var(--cws-wlc-danger); }
.cws-wlc-form-message.is-success { color: var(--cws-wlc-success); }
.cws-wlc-card--accent .cws-wlc-form-message { color: #fff; }
.cws-wlc-login-note { margin: 18px 0 0; color: var(--cws-wlc-muted); font-size: 13px; }

.cws-wlc-dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 52px); }
.cws-wlc-dashboard-hero h2 { font-size: clamp(30px, 4vw, 48px); }
.cws-wlc-status-pill,
.cws-wlc-live-badge { position: relative; z-index: 2; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.cws-wlc-status-pill { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.17); color: #fff; }
.cws-wlc-status-pill--disqualified { background: rgba(194,65,75,.25); }
.cws-wlc-live-badge { background: #fff; color: var(--cws-wlc-dark); }
.cws-wlc-live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #1fb478; box-shadow: 0 0 0 6px rgba(31,180,120,.13); animation: cwsWlcPulse 1.8s infinite; }
@keyframes cwsWlcPulse { 50% { box-shadow: 0 0 0 10px rgba(31,180,120,0); } }

.cws-wlc-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.cws-wlc-stat-card { min-width: 0; padding: 22px; border: 1px solid var(--cws-wlc-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(2,12,50,.055); }
.cws-wlc-stat-card > span { display: block; margin-bottom: 7px; color: var(--cws-wlc-muted); font-size: 12px; font-weight: 700; }
.cws-wlc-stat-card strong { display: block; overflow: hidden; color: var(--cws-wlc-dark); font-size: clamp(23px, 3vw, 33px); line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.cws-wlc-stat-card__date { font-size: clamp(18px, 2.4vw, 25px) !important; }
.cws-wlc-stat-card small { display: block; margin-top: 8px; color: var(--cws-wlc-muted); }

.cws-wlc-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); gap: 24px; }
.cws-wlc-chart-wrap { width: 100%; min-height: 250px; overflow: hidden; }
.cws-wlc-progress-chart { display: block; width: 100%; }
.cws-wlc-countdown { margin-top: 25px; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.1); }
.cws-wlc-countdown span { display: block; font-size: 27px; font-weight: 800; }
.cws-wlc-countdown small { color: rgba(255,255,255,.75); }



.cws-wlc-bmi-preview { display: flex; align-items: center; gap: 25px; margin: 22px 0 12px; padding: 20px; border: 1px solid #dbeaf4; border-radius: 16px; background: linear-gradient(135deg, #f4fbff, #f8fbfd); }
.cws-wlc-bmi-preview__value span { display: block; color: var(--cws-wlc-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cws-wlc-bmi-preview__value strong { color: var(--cws-wlc-primary); font-size: 35px; line-height: 1; }
.cws-wlc-bmi-preview__category { color: var(--cws-wlc-dark); font-size: 14px; font-weight: 700; }
.cws-wlc-disclaimer { color: var(--cws-wlc-muted); font-size: 12px; }

.cws-wlc-challenge { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; padding: clamp(22px, 4vw, 36px); margin-bottom: 24px; border-radius: var(--cws-wlc-radius); background: linear-gradient(135deg, #effaff, #fff); border: 1px solid #cfeefa; box-shadow: var(--cws-wlc-shadow); }
.cws-wlc-challenge__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--cws-wlc-primary); color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 12px 24px rgba(40,170,225,.23); }
.cws-wlc-challenge h3 { margin-bottom: 7px; font-size: 22px; }
.cws-wlc-challenge p { margin-bottom: 0; color: var(--cws-wlc-muted); }
.cws-wlc-challenge--mini { grid-template-columns: auto minmax(0,1fr); }

.cws-wlc-history table { width: 100%; border-collapse: collapse; }
.cws-wlc-history th,
.cws-wlc-history td { padding: 14px 12px; border-bottom: 1px solid var(--cws-wlc-line); text-align: left; font-size: 13px; }
.cws-wlc-history th { color: var(--cws-wlc-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.cws-wlc-table-scroll { overflow-x: auto; }
.cws-wlc-empty { padding: 30px !important; color: var(--cws-wlc-muted); text-align: center !important; }

.cws-wlc-leaderboard__head,
.cws-wlc-leaderboard__row { display: grid; grid-template-columns: 80px minmax(180px, 1fr) 120px 120px; align-items: center; gap: 12px; padding: 13px 14px; }
.cws-wlc-leaderboard__head { color: var(--cws-wlc-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cws-wlc-leaderboard__row { margin-bottom: 8px; border: 1px solid var(--cws-wlc-line); border-radius: 14px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cws-wlc-leaderboard__row:hover { transform: translateY(-2px); border-color: #bee8f9; box-shadow: 0 9px 22px rgba(2,12,50,.06); }
.cws-wlc-leaderboard__row.is-current { border-color: var(--cws-wlc-primary); background: #f2fbff; }
.cws-wlc-leaderboard__row > span:nth-child(2) { display: flex; align-items: center; gap: 9px; }
.cws-wlc-leaderboard__row small { padding: 3px 8px; border-radius: 999px; background: var(--cws-wlc-primary); color: #fff; font-size: 9px; text-transform: uppercase; }
.cws-wlc-rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--cws-wlc-soft); color: var(--cws-wlc-dark); font-weight: 800; }
.cws-wlc-rank.is-podium { background: var(--cws-wlc-dark); color: #fff; }
.cws-wlc-percent { color: var(--cws-wlc-primary); font-size: 17px; font-weight: 900; }

.cws-wlc-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cws-wlc-report-grid > div { padding: 17px; border-radius: 14px; background: var(--cws-wlc-soft); }
.cws-wlc-report-grid span { display: block; margin-bottom: 5px; color: var(--cws-wlc-muted); font-size: 11px; font-weight: 700; }
.cws-wlc-report-grid strong { color: var(--cws-wlc-dark); }

.cws-wlc-notice { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; margin-bottom: 22px; border-radius: 14px; font-size: 13px; }
.cws-wlc-notice--success { border: 1px solid #b9ead7; background: #edfbf6; color: #0f6f4c; }
.cws-wlc-notice--info { border: 1px solid #b9dff2; background: #edf8fd; color: #075a82; }
.cws-wlc-notice--danger { border: 1px solid #f2c7cb; background: #fff1f2; color: #9d2f39; }
.cws-wlc-empty-card { max-width: 680px; margin: 60px auto; text-align: center; }

@media (max-width: 900px) {
  .cws-wlc-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cws-wlc-dashboard-grid { grid-template-columns: 1fr; }
  .cws-wlc-grid--3 { grid-template-columns: 1fr; }
  .cws-wlc-report-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .cws-wlc-shell { width: min(100% - 20px, 1180px); margin: 18px auto; }
  .cws-wlc-grid--2,
  .cws-wlc-stat-grid,
  .cws-wlc-report-grid { grid-template-columns: 1fr; }
  .cws-wlc-dashboard-hero { align-items: flex-start; flex-direction: column; }
  .cws-wlc-card__heading { flex-direction: column; }
  .cws-wlc-challenge { grid-template-columns: auto 1fr; }
  .cws-wlc-challenge .cws-wlc-btn { grid-column: 1 / -1; width: 100%; }
  .cws-wlc-leaderboard { overflow-x: auto; }
  .cws-wlc-leaderboard__head,
  .cws-wlc-leaderboard__row { min-width: 620px; }
  .cws-wlc-bmi-preview { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cws-wlc-reveal { opacity: 1; transform: none; transition: none; }
  .cws-wlc-live-badge i,
  .cws-wlc-spinner { animation: none; }
  .cws-wlc-btn,
  .cws-wlc-leaderboard__row { transition: none; }
}

@media print {
  body * { visibility: hidden !important; }
  .cws-wlc-shell,
  .cws-wlc-shell * { visibility: visible !important; }
  .cws-wlc-shell { position: absolute; inset: 0; width: 100%; margin: 0; }
  .cws-wlc-btn,
  .cws-wlc-dashboard-hero,
  .cws-wlc-challenge,
  .cws-wlc-countdown { display: none !important; }
  .cws-wlc-card { box-shadow: none; break-inside: avoid; }
}

.cws-wlc-bmi-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border: 1px solid #d8ebf5;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2fbff, #ffffff);
}
.cws-wlc-bmi-status > div { min-width: 100px; }
.cws-wlc-bmi-status > div span { display: block; color: var(--cws-wlc-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cws-wlc-bmi-status > div strong { color: var(--cws-wlc-primary); font-size: 34px; line-height: 1.1; }
.cws-wlc-bmi-status p { margin: 0; color: var(--cws-wlc-muted); font-size: 13px; }
.cws-wlc-bmi-status p b { color: var(--cws-wlc-dark); }
.cws-wlc-bmi-status small { max-width: 230px; color: var(--cws-wlc-muted); font-size: 10px; }
@media (max-width: 680px) {
  .cws-wlc-bmi-status { grid-template-columns: 1fr; }
  .cws-wlc-bmi-status small { max-width: none; }
}


/* // smdoda-styling: dedicated competition authentication experience. */
.cws-wlc-auth-shell { position: relative; left: 50%; width: min(1120px, calc(100vw - 32px)); max-width: none; margin-left: 0; transform: translateX(-50%); margin-top: clamp(24px, 5vw, 70px); margin-bottom: clamp(24px, 5vw, 70px); }
.cws-wlc-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--cws-wlc-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(2, 12, 50, .13);
}
.cws-wlc-auth-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  background:
    radial-gradient(circle at 82% 18%, rgba(40,170,225,.38), transparent 28%),
    linear-gradient(145deg, var(--cws-wlc-dark), #0b2359 68%, #145d91);
  color: #fff;
}
.cws-wlc-auth-intro::before,
.cws-wlc-auth-intro::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.cws-wlc-auth-intro::before { width: 330px; height: 330px; right: -180px; bottom: -130px; box-shadow: 0 0 0 46px rgba(255,255,255,.03), 0 0 0 92px rgba(255,255,255,.02); }
.cws-wlc-auth-intro::after { width: 130px; height: 130px; left: -76px; top: 54px; }
.cws-wlc-auth-intro h2 { position: relative; z-index: 1; max-width: 620px; margin-bottom: 18px; color: #fff; font-size: clamp(34px, 5vw, 58px); }
.cws-wlc-auth-intro > p { position: relative; z-index: 1; max-width: 620px; color: rgba(255,255,255,.76); font-size: 16px; }
.cws-wlc-auth-points { position: relative; z-index: 1; display: grid; gap: 13px; margin-top: 30px; }
.cws-wlc-auth-points span { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 650; }
.cws-wlc-auth-points i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: rgba(40,170,225,.22); color: #a8e5ff; font-style: normal; font-weight: 900; }
.cws-wlc-auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 58px); background: linear-gradient(180deg, #fff, #fbfdff); }
.cws-wlc-auth-card h3 { margin-bottom: 10px; font-size: clamp(25px, 3vw, 34px); }
.cws-wlc-auth-card > p { margin-bottom: 26px; color: var(--cws-wlc-muted); font-size: 14px; }
.cws-wlc-auth-form { display: grid; gap: 18px; }
.cws-wlc-auth-form .cws-wlc-btn { width: 100%; margin-top: 2px; }
.cws-wlc-password-field { position: relative; display: block; }
.cws-wlc-password-field input { padding-right: 74px; }
.cws-wlc-password-toggle { position: absolute; top: 50%; right: 10px; min-width: 48px; padding: 7px 8px; transform: translateY(-50%); border: 0; border-radius: 9px; background: var(--cws-wlc-soft); color: var(--cws-wlc-dark); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.cws-wlc-password-toggle:hover { background: #eaf4fa; color: var(--cws-wlc-primary); }
.cws-wlc-password-strength { grid-column: 1 / -1; display: grid; gap: 7px; margin-top: -5px; }
.cws-wlc-password-strength__bar { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #e7edf4; }
.cws-wlc-password-strength__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #94a3b8; transition: width .25s ease, background-color .25s ease; }
.cws-wlc-password-strength__text { color: var(--cws-wlc-muted); font-size: 11px; font-weight: 600; }
.cws-wlc-password-strength[data-score="1"] .cws-wlc-password-strength__bar i { width: 25%; background: #dc2626; }
.cws-wlc-password-strength[data-score="2"] .cws-wlc-password-strength__bar i { width: 50%; background: #f59e0b; }
.cws-wlc-password-strength[data-score="3"] .cws-wlc-password-strength__bar i { width: 75%; background: #0ea5e9; }
.cws-wlc-password-strength[data-score="4"] .cws-wlc-password-strength__bar i { width: 100%; background: #16a34a; }
.cws-wlc-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: -4px; font-size: 12px; }
.cws-wlc-auth-options > a { font-weight: 750; text-decoration: none; }
.cws-wlc-remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.cws-wlc-remember input { width: 17px; min-height: 17px; margin: 0; accent-color: var(--cws-wlc-primary); }
.cws-wlc-remember span { margin: 0 !important; color: var(--cws-wlc-muted) !important; font-size: 12px !important; font-weight: 600 !important; }
.cws-wlc-auth-register { margin: 23px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--cws-wlc-line); color: var(--cws-wlc-muted); text-align: center; font-size: 12px !important; }
.cws-wlc-auth-register a,
.cws-wlc-auth-back { font-weight: 750; text-decoration: none; }
.cws-wlc-auth-back { display: inline-flex; margin-top: 24px; }
.cws-wlc-auth-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cws-wlc-dashboard-account { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cws-wlc-dashboard-logout { color: rgba(255,255,255,.78) !important; font-size: 11px; font-weight: 750; text-decoration: none; }
.cws-wlc-dashboard-logout:hover { color: #fff !important; text-decoration: underline; }

@media (max-width: 860px) {
  .cws-wlc-auth-layout { grid-template-columns: 1fr; min-height: 0; }
  .cws-wlc-auth-intro { min-height: 360px; }
  .cws-wlc-auth-card { min-height: 480px; }
}

@media (max-width: 680px) {
  .cws-wlc-auth-shell { width: min(100% - 20px, 1120px); margin-top: 18px; }
  .cws-wlc-auth-layout { border-radius: 22px; }
  .cws-wlc-auth-intro { min-height: 310px; padding: 34px 25px; }
  .cws-wlc-auth-card { min-height: 0; padding: 32px 24px; }
  .cws-wlc-auth-options { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cws-wlc-auth-actions .cws-wlc-btn { width: 100%; }
  .cws-wlc-dashboard-account { align-items: flex-start; }
}

body.cws-wlc-login-page { background: #f4f8fb; }
body.cws-wlc-login-page .cws-wlc-auth-shell { isolation: isolate; }
body.cws-wlc-login-page .entry-title,
body.cws-wlc-login-page .page-header > .page-title { display: none; }
body.cws-wlc-login-page .entry-content { margin-top: 0; }

/* // smdoda-styling: stronger theme isolation, lively form controls and proof verification. */
.cws-wlc-shell button.cws-wlc-btn,
.cws-wlc-shell a.cws-wlc-btn,
.cws-wlc-shell span.cws-wlc-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 1px solid transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}
.cws-wlc-shell .cws-wlc-btn > span,
.cws-wlc-shell .cws-wlc-btn > i { color: inherit !important; }
.cws-wlc-shell .cws-wlc-btn--primary {
  border-color: transparent !important;
  background-color: var(--cws-wlc-primary) !important;
  background-image: linear-gradient(135deg, var(--cws-wlc-primary), #1686bd) !important;
  color: #fff !important;
  box-shadow: 0 13px 28px rgba(40,170,225,.28) !important;
}
.cws-wlc-shell .cws-wlc-btn--primary:hover,
.cws-wlc-shell .cws-wlc-btn--primary:focus-visible {
  border-color: transparent !important;
  background-color: #1686bd !important;
  background-image: linear-gradient(135deg, #168fc8, #0e6f9f) !important;
  color: #fff !important;
  box-shadow: 0 17px 34px rgba(40,170,225,.34) !important;
}
.cws-wlc-shell .cws-wlc-btn--success {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--cws-wlc-success), #0d6d4a) !important;
  color: #fff !important;
}
.cws-wlc-shell .cws-wlc-btn--ghost {
  border-color: #d6e2ec !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
}
.cws-wlc-shell .cws-wlc-btn--light {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
}
.cws-wlc-btn--static { cursor: default !important; pointer-events: none; }

.cws-wlc-shell label { position: relative; }
.cws-wlc-shell label > span:first-child {
  transition: color .2s ease, transform .2s ease;
}
.cws-wlc-shell label:focus-within > span:first-child { color: var(--cws-wlc-primary); }
.cws-wlc-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.cws-wlc-shell select,
.cws-wlc-shell textarea {
  min-height: 58px;
  padding: 15px 16px;
  border: 1.5px solid #cad8e5 !important;
  border-radius: 14px !important;
  background-color: #fff !important;
  background-image: linear-gradient(180deg, #fff, #fbfdff) !important;
  color: var(--cws-wlc-dark) !important;
  box-shadow: inset 0 1px 2px rgba(2,12,50,.035), 0 4px 12px rgba(2,12,50,.025) !important;
  caret-color: var(--cws-wlc-primary);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease !important;
}
.cws-wlc-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
.cws-wlc-shell select:hover,
.cws-wlc-shell textarea:hover {
  border-color: #9fbfd0 !important;
  box-shadow: inset 0 1px 2px rgba(2,12,50,.025), 0 8px 20px rgba(2,12,50,.055) !important;
  transform: translateY(-1px);
}
.cws-wlc-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.cws-wlc-shell select:focus,
.cws-wlc-shell textarea:focus {
  border-color: var(--cws-wlc-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(40,170,225,.14), 0 13px 28px rgba(2,12,50,.08) !important;
  transform: translateY(-1px);
}
.cws-wlc-shell input.has-value,
.cws-wlc-shell textarea.has-value,
.cws-wlc-shell select.has-value { border-color: #aac9d9 !important; }
.cws-wlc-shell input::placeholder,
.cws-wlc-shell textarea::placeholder { color: #8a98aa; opacity: 1; }
.cws-wlc-password-field input { padding-right: 88px !important; }
.cws-wlc-shell button.cws-wlc-password-toggle {
  min-height: 38px !important;
  border: 1px solid #d9e5ee !important;
  background: #f4f9fc !important;
  color: var(--cws-wlc-primary) !important;
  box-shadow: none !important;
}
.cws-wlc-shell button.cws-wlc-password-toggle:hover,
.cws-wlc-shell button.cws-wlc-password-toggle:focus-visible {
  border-color: var(--cws-wlc-primary) !important;
  background: #eaf8fe !important;
  color: #0b7fae !important;
}
.cws-wlc-consent,
.cws-wlc-remember { cursor: pointer; }
.cws-wlc-consent input,
.cws-wlc-remember input {
  appearance: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cws-wlc-proof-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f4f8fb;
  font-size: 12px;
}
.cws-wlc-proof-status strong { color: var(--cws-wlc-dark); }
.cws-wlc-proof-status span { flex-basis: 100%; color: var(--cws-wlc-muted); }
.cws-wlc-proof-status a { font-weight: 800; text-decoration: none; }
.cws-wlc-proof-status--verified { border: 1px solid #b9ead7; background: #edfbf6; }
.cws-wlc-proof-status--verified strong { color: #0f6f4c; }
.cws-wlc-proof-status--pending { border: 1px solid #f0d89b; background: #fff9e8; }
.cws-wlc-proof-status--pending strong { color: #815f08; }
.cws-wlc-proof-status--rejected { border: 1px solid #f1c3c8; background: #fff1f2; }
.cws-wlc-proof-status--rejected strong { color: #9d2f39; }

html.cws-wlc-modal-open { overflow: hidden; }
.cws-wlc-modal[hidden] { display: none !important; }
.cws-wlc-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .18s ease;
}
.cws-wlc-modal.is-open { opacity: 1; }
.cws-wlc-modal__backdrop { position: absolute; inset: 0; background: rgba(2,12,50,.7); backdrop-filter: blur(7px); }
.cws-wlc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(25px, 5vw, 40px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(2,12,50,.32);
  transform: translateY(16px) scale(.985);
  transition: transform .2s ease;
}
.cws-wlc-modal.is-open .cws-wlc-modal__dialog { transform: none; }
.cws-wlc-modal__dialog h3 { margin-bottom: 10px; font-size: clamp(24px, 4vw, 34px); }
.cws-wlc-modal__dialog > p { margin-bottom: 22px; color: var(--cws-wlc-muted); font-size: 13px; }
.cws-wlc-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #dbe6ee !important;
  border-radius: 12px;
  background: #f7fafc !important;
  color: var(--cws-wlc-dark) !important;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.cws-wlc-proof-form { display: grid; gap: 17px; }
.cws-wlc-proof-dropzone {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 2px dashed #b7cfdd;
  border-radius: 20px;
  background: linear-gradient(145deg, #f6fbfe, #fff);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cws-wlc-proof-dropzone:hover,
.cws-wlc-proof-dropzone.is-dragging,
.cws-wlc-proof-dropzone.has-file {
  border-color: var(--cws-wlc-primary);
  background: #eefaff;
  box-shadow: 0 14px 32px rgba(40,170,225,.12);
  transform: translateY(-2px);
}
.cws-wlc-proof-dropzone input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
.cws-wlc-proof-dropzone__icon {
  display: grid !important;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 0 12px !important;
  border-radius: 17px;
  background: var(--cws-wlc-primary);
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1;
}
.cws-wlc-proof-dropzone strong { color: var(--cws-wlc-dark); font-size: 15px; }
.cws-wlc-proof-dropzone small { margin-top: 5px; color: var(--cws-wlc-muted); }
.cws-wlc-proof-preview {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 11px;
  border: 1px solid #dce8f0;
  border-radius: 14px;
  background: #f8fbfd;
}
.cws-wlc-proof-preview[hidden] { display: none !important; }
.cws-wlc-proof-preview img { width: 76px; height: 62px; border-radius: 10px; object-fit: cover; }
.cws-wlc-proof-preview strong,
.cws-wlc-proof-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cws-wlc-proof-preview strong { color: var(--cws-wlc-dark); font-size: 12px; }
.cws-wlc-proof-preview small { color: var(--cws-wlc-muted); font-size: 11px; }

@media (max-width: 680px) {
  .cws-wlc-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .cws-wlc-shell select,
  .cws-wlc-shell textarea { min-height: 54px; }
  .cws-wlc-modal { padding: 10px; }
  .cws-wlc-modal__dialog { max-height: calc(100vh - 20px); padding: 28px 20px 22px; border-radius: 20px; }
  .cws-wlc-proof-dropzone { min-height: 190px; padding: 22px 16px; }
}

/* // smdoda-styling: polished, aligned weigh-in control inside the accent dashboard card. */
.cws-wlc-weigh-form {
  display: block !important;
  width: 100%;
  margin: 24px 0 0 !important;
}
.cws-wlc-weigh-form__panel {
  display: grid;
  width: 100%;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 19px;
  background: rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 15px 35px rgba(1,46,76,.13);
  backdrop-filter: blur(5px);
}
.cws-wlc-weigh-form__label {
  display: block !important;
  width: 100%;
  margin: 0 !important;
}
.cws-wlc-card--accent .cws-wlc-weigh-form__label > span:first-child {
  margin: 0 0 9px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}
.cws-wlc-weight-control {
  position: relative;
  display: block !important;
  width: 100%;
  margin: 0 !important;
}
.cws-wlc-shell .cws-wlc-card--accent .cws-wlc-weigh-form .cws-wlc-weight-control input[type="number"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 15px 73px 15px 18px !important;
  border: 2px solid rgba(255,255,255,.84) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
  box-shadow: 0 12px 26px rgba(2,12,50,.13) !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  transform: none;
}
.cws-wlc-shell .cws-wlc-card--accent .cws-wlc-weigh-form .cws-wlc-weight-control input[type="number"]:hover {
  border-color: #d9f3ff !important;
  box-shadow: 0 15px 30px rgba(2,12,50,.17) !important;
  transform: none;
}
.cws-wlc-shell .cws-wlc-card--accent .cws-wlc-weigh-form .cws-wlc-weight-control input[type="number"]:focus {
  border-color: #fff !important;
  box-shadow: 0 0 0 5px rgba(255,255,255,.22), 0 17px 34px rgba(2,12,50,.2) !important;
  transform: none;
}
.cws-wlc-weight-control__unit {
  position: absolute;
  top: 50%;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 47px;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border-radius: 11px;
  background: #eaf8fe;
  color: #087eae;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
}
.cws-wlc-weigh-form__help {
  display: block;
  margin: -2px 1px 1px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  line-height: 1.5;
}
.cws-wlc-shell .cws-wlc-weigh-form__submit {
  width: 100% !important;
  min-height: 58px !important;
  margin: 2px 0 0 !important;
  padding: 13px 14px 13px 18px !important;
  justify-content: space-between !important;
  border: 1px solid #fff !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
  box-shadow: 0 13px 27px rgba(2,12,50,.16) !important;
  font-size: 14px !important;
}
.cws-wlc-shell .cws-wlc-weigh-form__submit i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cws-wlc-primary);
  color: #fff !important;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.cws-wlc-shell .cws-wlc-weigh-form__submit:hover,
.cws-wlc-shell .cws-wlc-weigh-form__submit:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
  box-shadow: 0 17px 34px rgba(2,12,50,.21) !important;
}
.cws-wlc-shell .cws-wlc-weigh-form__submit:hover i,
.cws-wlc-shell .cws-wlc-weigh-form__submit:focus-visible i {
  background: #117fae;
  transform: translateX(2px);
}
.cws-wlc-weigh-form > .cws-wlc-form-message {
  width: 100%;
  min-height: 0;
  margin: 11px 2px 0;
}

@media (max-width: 680px) {
  .cws-wlc-weigh-form__panel { padding: 15px; border-radius: 17px; }
  .cws-wlc-shell .cws-wlc-card--accent .cws-wlc-weigh-form .cws-wlc-weight-control input[type="number"] { min-height: 60px !important; font-size: 18px !important; }
  .cws-wlc-shell .cws-wlc-weigh-form__submit { min-height: 56px !important; }
}

/* // smdoda-styling: authorised HR competition dashboard. */
.cws-wlc-hr-dashboard { max-width: 1240px; }
.cws-wlc-hr-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 14%, rgba(40,170,225,.42), transparent 28%),
    linear-gradient(135deg, var(--cws-wlc-dark), #0a285e 72%, #0d78a8);
  box-shadow: var(--cws-wlc-shadow);
}
.cws-wlc-hr-hero::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -145px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.022);
}
.cws-wlc-hr-hero > * { position: relative; z-index: 1; }
.cws-wlc-hr-hero h2 { max-width: 800px; margin: 0 0 14px; color: #fff; font-size: clamp(30px, 5vw, 52px); }
.cws-wlc-hr-hero p { max-width: 780px; margin: 0; color: rgba(255,255,255,.8); }
.cws-wlc-hr-hero .cws-wlc-kicker { color: #9ee1ff; }
.cws-wlc-hr-hero__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: max-content; }
.cws-wlc-hr-hero__meta small { color: rgba(255,255,255,.72); font-size: 11px; }
.cws-wlc-hr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.cws-wlc-hr-actions .cws-wlc-btn { min-height: 44px; }
.cws-wlc-hr-signout { margin-left: auto; }

.cws-wlc-hr-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.cws-wlc-hr-stat {
  position: relative;
  min-height: 154px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--cws-wlc-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(2,12,50,.065);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cws-wlc-hr-stat:hover { transform: translateY(-4px); border-color: rgba(40,170,225,.36); box-shadow: 0 20px 40px rgba(2,12,50,.1); }
.cws-wlc-hr-stat::after { content: ""; position: absolute; right: -24px; bottom: -42px; width: 110px; height: 110px; border-radius: 50%; background: rgba(40,170,225,.08); }
.cws-wlc-hr-stat > span { display: block; margin-bottom: 10px; color: var(--cws-wlc-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cws-wlc-hr-stat > strong { display: block; margin-bottom: 6px; color: var(--cws-wlc-dark); font-size: clamp(28px,4vw,40px); line-height: 1; }
.cws-wlc-hr-stat > small { color: var(--cws-wlc-muted); font-size: 11px; }
.cws-wlc-hr-stat--active { border-top: 4px solid #20a875; }
.cws-wlc-hr-stat--pending { border-top: 4px solid #e2a43a; }
.cws-wlc-hr-stat--disqualified { border-top: 4px solid #d4545f; }
.cws-wlc-hr-stat--compliance,
.cws-wlc-hr-stat--progress,
.cws-wlc-hr-stat--users { border-top: 4px solid var(--cws-wlc-primary); }

.cws-wlc-hr-grid { display: grid; gap: 20px; }
.cws-wlc-hr-grid--wide { grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); }
.cws-wlc-hr-grid--equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cws-wlc-hr-panel { min-width: 0; }
.cws-wlc-hr-big-rate { color: var(--cws-wlc-primary); font-size: clamp(25px,3vw,34px); line-height: 1; }
.cws-wlc-hr-week-list { display: grid; gap: 14px; }
.cws-wlc-hr-week { display: grid; grid-template-columns: minmax(150px,.75fr) minmax(160px,1.35fr) 54px; align-items: center; gap: 14px; }
.cws-wlc-hr-week__label { display: flex; flex-direction: column; }
.cws-wlc-hr-week__label strong { color: var(--cws-wlc-dark); font-size: 13px; }
.cws-wlc-hr-week__label span { color: var(--cws-wlc-muted); font-size: 10px; }
.cws-wlc-hr-progress { height: 12px; overflow: hidden; border-radius: 999px; background: #eaf0f5; }
.cws-wlc-hr-progress i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg,var(--cws-wlc-primary),#72d4f8); transition: width .6s ease; }
.cws-wlc-hr-week__rate { color: var(--cws-wlc-dark); text-align: right; font-size: 13px; }

.cws-wlc-hr-mini-stats,
.cws-wlc-hr-outcomes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cws-wlc-hr-mini-stats > div,
.cws-wlc-hr-outcomes > div { padding: 16px; border: 1px solid var(--cws-wlc-line); border-radius: 15px; background: var(--cws-wlc-soft); }
.cws-wlc-hr-mini-stats span,
.cws-wlc-hr-outcomes span { display: block; color: var(--cws-wlc-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cws-wlc-hr-mini-stats strong,
.cws-wlc-hr-outcomes strong { display: block; margin-top: 5px; color: var(--cws-wlc-dark); font-size: 22px; }
.cws-wlc-hr-context { margin: 18px 0 0; color: var(--cws-wlc-muted); font-size: 11px; }
.cws-wlc-hr-distribution { display: grid; gap: 9px; }
.cws-wlc-hr-distribution > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 14px; border-radius: 13px; background: var(--cws-wlc-soft); }
.cws-wlc-hr-distribution span { display: flex; flex-direction: column; }
.cws-wlc-hr-distribution strong { color: var(--cws-wlc-dark); font-size: 12px; }
.cws-wlc-hr-distribution small { color: var(--cws-wlc-muted); font-size: 10px; }
.cws-wlc-hr-distribution em { color: var(--cws-wlc-primary); font-size: 16px; font-style: normal; font-weight: 800; }

.cws-wlc-hr-table { min-width: 720px; }
.cws-wlc-hr-table th { color: var(--cws-wlc-muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.cws-wlc-hr-table td { vertical-align: middle; }
.cws-wlc-hr-privacy { padding: 18px 20px; margin-top: 4px; border: 1px solid #dcebf3; border-left: 4px solid var(--cws-wlc-primary); border-radius: 15px; background: #f4fbfe; }
.cws-wlc-hr-privacy strong { color: var(--cws-wlc-dark); }
.cws-wlc-hr-privacy p { margin: 4px 0 0; color: var(--cws-wlc-muted); font-size: 11px; }

@media (max-width: 980px) {
  .cws-wlc-hr-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cws-wlc-hr-grid--wide,
  .cws-wlc-hr-grid--equal { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cws-wlc-hr-hero { align-items: flex-start; flex-direction: column; }
  .cws-wlc-hr-hero__meta { align-items: flex-start; }
  .cws-wlc-hr-actions { display: grid; grid-template-columns: 1fr; }
  .cws-wlc-hr-actions .cws-wlc-btn { width: 100%; }
  .cws-wlc-hr-signout { margin-left: 0; }
  .cws-wlc-hr-stat-grid { grid-template-columns: 1fr; }
  .cws-wlc-hr-stat { min-height: 132px; }
  .cws-wlc-hr-week { grid-template-columns: 1fr 48px; }
  .cws-wlc-hr-week__label { grid-column: 1/-1; }
  .cws-wlc-hr-mini-stats,
  .cws-wlc-hr-outcomes { grid-template-columns: 1fr; }
}

@media print {
  .cws-wlc-hr-actions,
  .cws-wlc-hr-signout { display: none !important; }
  .cws-wlc-hr-dashboard { width: 100%; margin: 0; }
  .cws-wlc-hr-hero,
  .cws-wlc-card,
  .cws-wlc-hr-stat { box-shadow: none !important; break-inside: avoid; }
  .cws-wlc-reveal { opacity: 1 !important; transform: none !important; }
}

/* smdoda-styling: scalable leaderboard controls */
.cws-wlc-btn--small {
  min-height: 40px !important;
  padding: 10px 16px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}
.cws-wlc-ranking-toolbar,
.cws-wlc-ranking-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cws-wlc-ranking-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cws-wlc-ranking-toolbar strong { color: var(--cws-wlc-dark); font-size: 15px; }
.cws-wlc-ranking-toolbar span,
.cws-wlc-ranking-summary span { color: var(--cws-wlc-muted); font-size: 11px; }
.cws-wlc-ranking-toolbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cws-wlc-my-rank {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ecf9ff;
  color: var(--cws-wlc-dark) !important;
  font-weight: 800;
}
.cws-wlc-card__heading--ranking { align-items: flex-end; }
.cws-wlc-card__heading--ranking p { margin: 5px 0 0; color: var(--cws-wlc-muted); font-size: 11px; }
.cws-wlc-ranking-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  margin: 0 0 14px;
  border: 1px solid var(--cws-wlc-line);
  border-radius: 15px;
  background: var(--cws-wlc-soft);
}
.cws-wlc-ranking-search label { margin: 0 !important; }
.cws-wlc-ranking-search input[type="search"] {
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border: 1px solid #cbd9e5 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--cws-wlc-dark) !important;
  box-shadow: none !important;
}
.cws-wlc-ranking-search input[type="search"]:focus {
  border-color: var(--cws-wlc-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(40,170,225,.14) !important;
}
.cws-wlc-ranking-summary {
  padding: 0 2px;
  margin-bottom: 10px;
}
.cws-wlc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--cws-wlc-line);
}
.cws-wlc-pagination__status { color: var(--cws-wlc-muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.cws-wlc-pagination__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.cws-wlc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d8e4ed;
  border-radius: 11px;
  background: #fff;
  color: var(--cws-wlc-dark) !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.cws-wlc-pagination a.page-numbers:hover,
.cws-wlc-pagination a.page-numbers:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cws-wlc-primary);
  outline: none;
  box-shadow: 0 8px 18px rgba(40,170,225,.14);
}
.cws-wlc-pagination .page-numbers.current {
  border-color: var(--cws-wlc-primary);
  background: var(--cws-wlc-primary);
  color: #fff !important;
}
.cws-wlc-pagination .page-numbers.dots { min-width: 28px; padding-inline: 4px; border-color: transparent; background: transparent; }

@media (max-width: 680px) {
  .cws-wlc-ranking-toolbar,
  .cws-wlc-ranking-summary,
  .cws-wlc-pagination { align-items: flex-start; flex-direction: column; }
  .cws-wlc-ranking-toolbar__actions { width: 100%; align-items: stretch; flex-direction: column; }
  .cws-wlc-ranking-toolbar__actions .cws-wlc-btn { width: 100%; }
  .cws-wlc-ranking-search { grid-template-columns: 1fr; }
  .cws-wlc-ranking-search .cws-wlc-btn { width: 100%; }
  .cws-wlc-pagination__links { width: 100%; justify-content: flex-start; }
}

@media print {
  .cws-wlc-ranking-search,
  .cws-wlc-pagination,
  .cws-wlc-ranking-toolbar__actions { display: none !important; }
}
