/* Shared site primitives. Page-specific styles load after this file. */
*{box-sizing:border-box}
html{min-height:100%}
body{min-height:100%;margin:0}
body.has-coachprep-topbar{padding-top:var(--coachprep-topbar-space,56px)}
img,svg,video,canvas{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
[hidden]{display:none!important}
.page-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.nav-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.pill{display:inline-flex;align-items:center;gap:6px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.coachprep-topbar{
  --raw:#f3eee2;
  --ink:#1f2330;
  --accent:#0f6b62;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1200;
  min-height:56px;
  display:grid;
  grid-template-columns:minmax(230px,auto) minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:8px 24px;
  border-bottom:3px solid var(--accent);
  background:var(--ink);
  color:var(--raw);
  font-family:"Space Mono","Avenir Next","Segoe UI",system-ui,sans-serif;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  box-shadow:0 10px 26px rgba(31,35,48,.18);
}

.quiz-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 18, 22, 0.58);
}

.quiz-confirm-modal {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(31, 35, 48, 0.14);
  border-radius: 12px;
  background: #fffdf8;
  color: #1f2330;
}

.quiz-confirm-modal .modal-close-x {
  position: absolute;
  display: grid;
  place-items: center;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #5a5f6e;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}

.quiz-confirm-modal .modal-header {
  margin-right: 32px;
  font-size: 1.35rem;
  font-weight: 850;
}

.quiz-confirm-body {
  margin-top: 12px;
  color: #5a5f6e;
  line-height: 1.5;
}

.quiz-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.quiz-confirm-actions button {
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.quiz-confirm-modal button:focus-visible {
  outline: 3px solid #0f6b62;
  outline-offset: 3px;
}

.quiz-confirm-actions .ghost {
  border: 1px solid rgba(31, 35, 48, 0.16);
  background: transparent;
  color: #1f2330;
}

.quiz-confirm-actions .danger-button {
  border: 1px solid transparent;
  background: #b34236;
  color: #fff;
}
.coachprep-brand,
.coachprep-nav a{
  color:inherit;
  text-decoration:none;
}
.coachprep-brand{
  font-weight:800;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.coachprep-brand-mark{
  width:34px;
  height:34px;
  padding:3px;
  border-radius:4px;
  background:var(--raw);
  flex:0 0 auto;
}
.coachprep-brand-text{
  display:inline-flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
  line-height:1;
}
.coachprep-brand-name{
  font-family:"Bebas Neue","Avenir Next","Segoe UI",system-ui,sans-serif;
  font-size:22px;
  letter-spacing:0;
}
.coachprep-brand-accent{
  color:var(--accent);
}
.coachprep-brand-tagline{
  color:rgba(243,238,226,.68);
  font-size:8px;
  letter-spacing:0;
}
.coachprep-brand:hover,
.coachprep-nav a:hover{text-decoration:underline}
.coachprep-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  min-width:0;
}
.coachprep-nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  white-space:nowrap;
  font-weight:800;
}
.coachprep-auth-slot{
  display:flex;
  justify-content:flex-end;
  min-width:0;
}
.coachprep-menu-toggle{
  display:none;
  width:40px;
  height:40px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  border:1px solid rgba(15,107,98,.2);
  border-radius:10px;
  background:rgba(255,255,255,.92);
  color:#0a4d48;
  cursor:pointer;
}
.coachprep-menu-toggle span{
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.auth-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:5px;
  border:1px solid rgba(15,107,98,.28);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#1f2330;
  box-shadow:0 12px 32px rgba(31,35,48,.14);
  font:600 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.auth-avatar{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:#0f6b62;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
.auth-label{
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.auth-status button,[data-auth-signin]{
  border:0;
  background:#1f2330;
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:750;
}
.auth-profile-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:transparent!important;
  color:inherit!important;
  padding:0 4px 0 0!important;
}
.auth-profile-button:hover .auth-label{text-decoration:underline}
.auth-status button:hover,[data-auth-signin]:hover{background:#0f6b62}
.coachprep-topbar .auth-status,
.top-bar .auth-status{
  min-height:34px;
  margin-left:4px;
  padding:3px;
  border-color:rgba(243,238,226,.22);
  background:rgba(243,238,226,.08);
  color:inherit;
  box-shadow:none;
  font-size:11px;
  letter-spacing:0;
  text-transform:none;
}
.coachprep-topbar .auth-avatar,.top-bar .auth-avatar{width:24px;height:24px;font-size:10px;background:var(--accent,#0f6b62)}
.coachprep-topbar .auth-status button,.top-bar .auth-status button{padding:6px 10px;background:var(--raw,#f3eee2);color:var(--ink,#1f2330)}
.coachprep-topbar .auth-profile-button,.top-bar .auth-profile-button{background:transparent!important;color:inherit!important;padding:0 2px 0 0!important}
.coachprep-topbar .auth-status button:hover,.top-bar .auth-status button:hover{background:var(--accent,#0f6b62);color:#fff}

.sidebar-collapse-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:36px;
  margin:0 0 12px;
  padding:8px 12px;
  border:0;
  border-radius:9px;
  background:rgba(255,255,255,.07);
  color:#cfe8e1;
  cursor:pointer;
  font:700 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  text-align:left;
}
.sidebar-collapse-toggle:hover{background:rgba(255,255,255,.12);color:#eef7f4}
.sidebar-collapse-toggle .icon{width:18px;height:18px;flex:0 0 auto}
body.has-coachprep-sidebar:not(.v2study){
  --sidebar-bg:#06332d;
  --sidebar-ink:#cfe8e1;
  --mint:#e2f1ec;
  --accent:#0f6b62;
  --accent-strong:#0a4d48;
  padding-left:232px;
  padding-top:0;
}
body.has-coachprep-sidebar:not(.v2study) .sidebar{
  position:fixed;
  inset:0 auto 0 0;
  z-index:1200;
  width:232px;
  min-height:100vh;
  height:100vh;
  display:flex;
  flex-direction:column;
  padding:22px 14px;
  background:var(--sidebar-bg);
  color:var(--sidebar-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body.has-coachprep-sidebar:not(.v2study) .nav-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 8px;
  margin-bottom:26px;
  color:#eef7f4;
  text-decoration:none;
  line-height:24px;
}
body.has-coachprep-sidebar:not(.v2study) .nav-brand-mark.logo-image{
  width:40px;
  height:40px;
  padding:5px;
  border-radius:10px;
  background:var(--mint);
  flex:0 0 auto;
}
body.has-coachprep-sidebar:not(.v2study) .nav-brand-mark.logo-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.has-coachprep-sidebar:not(.v2study) .nav-brand-name{
  font-size:16px;
  line-height:24px;
  font-weight:700;
  letter-spacing:.02em;
}
body.has-coachprep-sidebar:not(.v2study) .nav-brand-name .accent{color:#7fd8c0}
body.has-coachprep-sidebar:not(.v2study) .nav-brand-tagline{
  display:block;
  margin-top:2px;
  color:#a8cfc3;
  font-family:'Space Mono',monospace;
  font-size:8px;
  line-height:12px;
  letter-spacing:1px;
  text-transform:uppercase;
}
body.has-coachprep-sidebar:not(.v2study) .side-nav{display:flex;flex-direction:column;gap:3px}
body.has-coachprep-sidebar:not(.v2study) .side-nav a{
  display:flex;
  align-items:center;
  gap:11px;
  padding:9px 12px;
  border-radius:9px;
  color:#9fc9bc;
  text-decoration:none;
  font-size:14px;
  font-weight:400;
  line-height:21px;
  transition:background .12s,color .12s;
}
body.has-coachprep-sidebar:not(.v2study) .side-nav a:hover{background:rgba(255,255,255,.07);color:#eef7f4}
body.has-coachprep-sidebar:not(.v2study) .side-nav a.active{background:var(--accent);color:#eef7f4}
body.has-coachprep-sidebar:not(.v2study) .icon{
  width:18px;
  height:18px;
  flex:0 0 auto;
  vertical-align:-3px;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.has-coachprep-sidebar:not(.v2study) .side-foot{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}
body.has-coachprep-sidebar:not(.v2study) .mentor-card{
  display:block;
  padding:13px 14px;
  border-radius:11px;
  background:rgba(255,255,255,.07);
  color:inherit;
  text-decoration:none;
}
body.has-coachprep-sidebar:not(.v2study) .mentor-card .mono-label{
  display:block;
  margin-bottom:4px;
  color:#7fb3a5;
  letter-spacing:2px;
}
body.has-coachprep-sidebar:not(.v2study) .mentor-card strong{color:#eef7f4;font-size:13px;font-weight:600}
body.has-coachprep-sidebar:not(.v2study) .auth-slot{padding:0 4px}
body.has-coachprep-sidebar:not(.v2study) .auth-row{display:flex;align-items:center;gap:10px}
body.has-coachprep-sidebar:not(.v2study) .auth-mail{
  flex:1;
  min-width:0;
  font-size:12px;
  color:#9fc9bc;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.has-coachprep-sidebar:not(.v2study) .auth-slot button{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:12px;
  font-weight:600;
  color:#eef7f4;
  background:rgba(255,255,255,.1);
  border:0;
  border-radius:8px;
  padding:7px 12px;
  cursor:pointer;
}
body.has-coachprep-sidebar:not(.v2study) .auth-slot button:hover{background:rgba(255,255,255,.18)}
body.has-coachprep-sidebar:not(.v2study) .auth-signin-btn{width:100%;padding:9px 12px;font-size:13px}

@media (min-width:901px){
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study){padding-left:76px}
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .sidebar{
    width:76px;
    align-items:center;
    padding:18px 10px;
  }
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .nav-brand{
    justify-content:center;
    width:100%;
    padding:0;
  }
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .nav-brand > span:not(.nav-brand-mark),
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .mentor-card,
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .auth-mail,
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .auth-slot button,
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .sidebar-collapse-label{display:none}
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .side-nav{width:100%;align-items:center}
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .side-nav a{
    justify-content:center;
    width:44px;
    min-height:44px;
    padding:0;
    font-size:0;
  }
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .side-nav a span{display:none}
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .sidebar-collapse-toggle{
    justify-content:center;
    width:44px;
    padding:0;
  }
  body.has-coachprep-sidebar.is-sidebar-collapsed:not(.v2study) .side-foot{width:100%;align-items:center}
}

.auth-page{
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(15,107,98,.22), transparent 28%),
    linear-gradient(180deg, #e5efe9 0%, #d7ddd7 100%);
  color:#1f2330;
  font-family:"Space Mono","Avenir Next","Segoe UI",system-ui,sans-serif;
}
.auth-page::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(31,35,48,.06) 0, rgba(31,35,48,.06) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(31,35,48,.06) 0, rgba(31,35,48,.06) 1px, transparent 1px, transparent 80px);
  pointer-events:none;
}
.auth-error{
  position:relative;
  max-width:680px;
  margin:12vh auto;
  padding:42px;
  border:3px solid #1f2330;
  background:rgba(255,250,242,.94);
  box-shadow:18px 18px 0 rgba(15,107,98,.18);
  line-height:1.5;
}
.auth-kicker{
  display:inline-flex;
  margin:0 0 18px;
  padding:5px 12px;
  border:2px solid #1f2330;
  color:#0a4d48;
  font-size:11px;
  font-weight:800;
  letter-spacing:3px;
  text-transform:uppercase;
}
.auth-error h1{
  margin:0 0 12px;
  color:#0f6b62;
  font-family:"Bebas Neue","Avenir Next","Segoe UI",system-ui,sans-serif;
  font-size:clamp(44px,8vw,76px);
  line-height:.9;
  letter-spacing:1px;
  text-transform:uppercase;
}
.auth-error p{max-width:56ch;margin:0 0 22px;color:#636670}
.auth-error button{
  border:2px solid #1f2330;
  border-radius:0;
  background:#1f2330;
  color:#f3eee2;
  padding:12px 18px;
  cursor:pointer;
  font-weight:800;
}
.auth-error button:hover{background:#0f6b62;color:#fff}
.auth-error.plan-paywall-card{
  max-width:760px;
  border:1px solid rgba(244,250,248,.16);
  border-radius:16px;
  background:#20231f;
  box-shadow:0 24px 80px rgba(0,0,0,.22);
  color:#f4faf8;
  text-align:center;
}
.auth-error.plan-paywall-card .auth-kicker{
  display:block;
  width:max-content;
  margin:0 auto 16px;
  border:0;
  color:#9fd9c8;
}
.auth-error.plan-paywall-card h1{
  max-width:620px;
  margin:0 auto 22px;
  color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:clamp(32px,5.4vw,54px);
  line-height:1.06;
  letter-spacing:-.02em;
  text-transform:none;
}
.auth-error.plan-paywall-card .plan-paywall-copy{
  max-width:660px;
  margin:0 auto 24px;
  color:#c7cbc4;
  font-size:1.05rem;
  font-weight:700;
}
.auth-error.plan-paywall-card .plan-paywall-features{
  display:grid;
  gap:14px;
  max-width:540px;
  margin:0 auto 28px;
  padding:0;
  color:#f4faf8;
  font-size:1.05rem;
  font-weight:800;
  list-style:none;
  text-align:left;
}
.auth-error.plan-paywall-card .plan-paywall-features li{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:12px;
  align-items:start;
}
.auth-error.plan-paywall-card .plan-paywall-features li::before{
  content:"";
  width:12px;
  height:12px;
  margin-top:5px;
  border:2px solid #7fc760;
  border-radius:2px;
}
.auth-error.plan-paywall-card .plan-paywall-actions{
  display:grid;
  gap:16px;
  max-width:600px;
  margin:0 auto;
}
.auth-error.plan-paywall-card .plan-paywall-actions button{
  width:100%;
  min-height:58px;
  border:0;
  border-radius:12px;
  background:#0f6b62;
  color:#f4faf8;
  font-size:1.05rem;
}
.auth-error.plan-paywall-card .plan-paywall-actions a{
  color:#9fd9c8;
  font-weight:800;
  text-decoration:none;
}
.auth-error.plan-paywall-card .plan-paywall-actions a:hover{text-decoration:underline}
.auth-error.plan-paywall-card .plan-paywall-trust{
  max-width:620px;
  margin:28px auto 0;
  padding-top:22px;
  border-top:1px solid rgba(244,250,248,.14);
  color:#a9ada5;
  font-size:.95rem;
  font-weight:700;
}
.auth-error.plan-paywall-card .plan-paywall-trust a{color:inherit}
@media (max-width:1320px){
  body.has-coachprep-topbar{padding-top:var(--coachprep-topbar-space-mobile,64px)}
  .coachprep-topbar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:10px 14px;
    letter-spacing:1.4px;
  }
  .coachprep-topbar .coachprep-brand{white-space:normal;margin-right:auto}
  .coachprep-topbar .coachprep-brand-mark{width:30px;height:30px}
  .coachprep-topbar .coachprep-brand-name{font-size:20px;letter-spacing:0}
  .coachprep-topbar .coachprep-brand-tagline{display:none}
  .coachprep-topbar .coachprep-menu-toggle{display:inline-flex!important;order:3}
  .coachprep-topbar .coachprep-nav{
    order:4;
    flex:1 0 100%;
    display:none!important;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px 0 2px;
    overflow:visible;
  }
  .coachprep-topbar.is-mobile-menu-open .coachprep-nav{display:flex!important}
  .coachprep-topbar .coachprep-nav a{
    min-height:40px;
    padding:8px 10px;
    border-radius:9px;
    background:rgba(15,107,98,.08);
  }
  .coachprep-topbar .coachprep-nav a.active{background:var(--accent,#0f6b62);color:#fff!important}
  .coachprep-topbar .coachprep-auth-slot{order:2;justify-content:flex-end}
  .coachprep-topbar .auth-status{min-height:38px;font-size:13px}
  .coachprep-topbar .auth-label{display:none}
  .coachprep-topbar .auth-status button,
  .coachprep-topbar [data-auth-signin]{padding:7px 10px}
}
@media (max-width:900px){
  body.has-coachprep-sidebar:not(.v2study){
    padding-left:0;
    padding-top:72px;
  }
  body.has-coachprep-sidebar:not(.v2study) .sidebar{
    right:0;
    bottom:auto;
    width:auto;
    min-height:0;
    height:auto;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:12px 14px;
    overflow:visible;
    padding:12px 16px;
  }
  body.has-coachprep-sidebar:not(.v2study) .nav-brand{
    flex:1 1 auto;
    min-width:0;
    margin:0 auto 0 0;
  }
  body.has-coachprep-sidebar:not(.v2study) .nav-brand-tagline{display:none}
  body.has-coachprep-sidebar:not(.v2study) .sidebar-collapse-toggle{display:none}
  body.has-coachprep-sidebar:not(.v2study) .coachprep-menu-toggle{
    display:inline-flex!important;
    order:3;
    background:rgba(255,255,255,.1);
    border-color:rgba(255,255,255,.14);
    color:#eef7f4;
  }
  body.has-coachprep-sidebar:not(.v2study) .side-foot{
    order:2;
    flex-direction:row;
    align-items:center;
    margin:0;
  }
  body.has-coachprep-sidebar:not(.v2study) .mentor-card{display:none}
  body.has-coachprep-sidebar:not(.v2study) .auth-mail,
  body.has-coachprep-sidebar:not(.v2study) .auth-label,
  body.has-coachprep-sidebar:not(.v2study) .auth-slot .auth-avatar{display:none}
  body.has-coachprep-sidebar:not(.v2study) .auth-signin-btn{width:auto}
  body.has-coachprep-sidebar:not(.v2study) .side-nav{
    order:4;
    flex:1 0 100%;
    display:none;
    flex-direction:column;
    gap:6px;
    min-width:0;
    padding-top:4px;
  }
  body.has-coachprep-sidebar:not(.v2study) .sidebar.is-mobile-menu-open .side-nav{display:flex}
  body.has-coachprep-sidebar:not(.v2study) .side-nav a{
    padding:9px 11px;
    white-space:nowrap;
  }
}
