/* ISF Pro members area layout (ms-*). Loaded after isf-pro-pages.css. */

body.isf-members { background: #F2F4F7; --ms-side: 264px; --ms-top: 60px; --ms-offset: 0px; }
body.isf-members:has(#wpadminbar) { --ms-offset: 32px; }
@media screen and (max-width: 782px) { body.isf-members:has(#wpadminbar) { --ms-offset: 46px; } }
/* Below 600px the WordPress admin bar scrolls away instead of staying fixed, so there is nothing to offset. */
@media screen and (max-width: 600px) { body.isf-members:has(#wpadminbar) { --ms-offset: 0px; } }

/* Sidebar */
.ms-side {
  position: fixed; z-index: 60; left: 0; top: var(--ms-offset); bottom: 0; width: var(--ms-side);
  background: var(--ink); color: #fff; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}
.ms-side__brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--ms-top); padding: 0 18px 0 20px; border-bottom: 1px solid var(--line-dark); background: rgba(0, 0, 0, .14); flex-shrink: 0; }
.ms-side__brand img { height: 34px; width: auto; max-width: none; display: block; }
.ms-close { display: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; }
.ms-nav { flex: 1; overflow-y: auto; padding: 12px 12px 16px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.ms-cat { margin: 18px 0 6px; padding: 0 12px; font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(226, 236, 248, .4); }
.ms-link {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
  font-family: var(--body); font-size: 14px; font-weight: 500; line-height: 1.25;
  color: rgba(226, 236, 248, .74); text-decoration: none; position: relative;
}
.ms-link .material-symbols-outlined { font-size: 20px; color: rgba(226, 236, 248, .45); flex-shrink: 0; transition: color .15s ease; }
.ms-link__label { flex: 1; min-width: 0; }
.ms-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.ms-link:hover .material-symbols-outlined { color: rgba(226, 236, 248, .8); }
.ms-link.is-active { background: rgba(255, 255, 255, .11); color: #fff; font-weight: 600; }
.ms-link.is-active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--formula); }
.ms-link.is-active .material-symbols-outlined { color: var(--formula); }
.ms-pct { font-size: 11px; font-weight: 700; color: rgba(226, 236, 248, .45); font-variant-numeric: tabular-nums; }
.ms-done.material-symbols-outlined { font-size: 17px; color: #34D399; font-variation-settings: 'FILL' 1; }
.ms-side__foot { flex-shrink: 0; border-top: 1px solid var(--line-dark); padding: 12px; background: rgba(0, 0, 0, .12); }
.ms-user { display: flex; align-items: center; gap: 12px; padding: 6px 12px 10px; }
.ms-user__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ms-user__meta b { font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-user__meta small { font-size: 11.5px; color: rgba(226, 236, 248, .5); }
.ms-link--sm { padding: 7px 12px; font-size: 13px; }
.ms-link--sm .material-symbols-outlined { font-size: 18px; }
.ms-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; background: var(--formula); color: #fff; font-family: var(--display); font-weight: 800; font-size: 12.5px; }

/* Main column */
.ms-wrap { margin-left: var(--ms-side); min-height: calc(100vh - var(--ms-offset)); display: flex; flex-direction: column; }
.ms-top {
  position: sticky; top: var(--ms-offset); z-index: 50; height: var(--ms-top);
  display: flex; align-items: center; gap: 14px; padding: 0 28px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ms-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; flex-shrink: 0; }
.ms-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.ms-crumbs a { color: var(--muted); font-weight: 500; white-space: nowrap; }
.ms-crumbs a:hover { color: var(--ink); }
.ms-crumbs__sep { color: #B5C0CD; }
.ms-crumbs__here { color: var(--ink); font-weight: 700; font-family: var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-top__right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ms-continue { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--formula-soft); color: #9A4409; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ms-continue .material-symbols-outlined { font-size: 17px; }
.ms-continue:hover { background: #FBDCC4; color: #7A3606; }
.ms-avatar--top { background: var(--ink); width: 36px; height: 36px; }

.ms-main { flex: 1; min-width: 0; }
.ms-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 28px 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.ms-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ms-foot a { color: var(--muted); }
.ms-foot a:hover { color: var(--ink); }
.ms-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(4, 16, 30, .5); }
.ms-overlay[hidden] { display: none; }

/* Templates that used the public layout: give their content room inside the app frame */
.isf-members .ms-main > .container,
.isf-members .ms-main > section > .container { max-width: 1180px; }
.isf-members .research-layout { padding-top: 28px; }
.isf-members .aitool-page { padding-top: 28px; }

.ms-link.is-active .ms-done.material-symbols-outlined { color: #34D399; }
.isf-members .aitool-back { display: none; }

/* In-page lesson list: a light card, so it reads as secondary to the app sidebar */
.isf-members .research-sidebar { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.isf-members .research-sidebar__back { display: none; }
.isf-members .research-sidebar__title { color: var(--muted); border-color: var(--line); }
.isf-members .research-sidebar hr, .isf-members .research-sidebar [class*="divider"] { border-color: var(--line); }
.isf-members .research-nav__group > a { color: var(--ink); }
.isf-members .research-nav__group > a:hover { background: var(--paper); }
.isf-members .research-nav__sub { border-left-color: var(--line); }
.isf-members .research-nav__sub li a { color: var(--muted); }
.isf-members .research-nav__sub li a:hover { color: var(--ink); border-left-color: #B5C0CD; }
.isf-members .research-nav__sub li a.is-active { color: var(--ink); background: var(--formula-soft); border-left-color: var(--formula); }
@media (max-width: 991px) {
  .isf-members .research-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 992px) {
  .isf-members .research-sidebar { top: calc(var(--ms-offset) + var(--ms-top) + 24px); max-height: calc(100vh - var(--ms-offset) - var(--ms-top) - 48px); }
}

/* On-screen reading styles for the Cribsheet and Self-Assessment report tabs (print styles untouched) */
@media screen {
  .isf-members .crib-tab-panel { color: var(--text); font-size: 15.5px; line-height: 1.7; }
  .isf-members .crib-tab-panel p { margin: 0 0 .9rem; }
  .isf-members .crib-tab-panel h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--ink); margin: 0 0 .9rem; letter-spacing: -0.015em; }
  .isf-members .crib-tab-panel h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 .5rem; }
  .isf-members .crib-intro, .isf-members .sa-intro, .isf-members .sa-toc, .isf-members .sa-section {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.6rem; margin: 0 0 1.1rem;
  }
  .isf-members .sa-print-page { margin: 0; padding: 0; min-height: 0; }
  .isf-members .sa-page-hdr { display: none; }
  .isf-members .sa-toc ul { margin: 0; padding-left: 1.2rem; list-style: disc; }
  .isf-members .sa-items { display: grid; gap: .6rem; margin-top: .9rem; }
  .isf-members .sa-item { background: var(--paper); border-left: 3px solid var(--formula); border-radius: 8px; padding: .85rem 1rem; }
  .isf-members .q-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 0 0 1rem; }
  .isf-members .q-head strong { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
  .isf-members .q-similar { font-size: .88rem; color: var(--muted); margin: .35rem 0 0; }
  .isf-members .q-tips { background: var(--swoosh-soft); border-radius: 10px; padding: .75rem .95rem; margin: .85rem 0; font-size: .92rem; }
  .isf-members .q-response { line-height: 1.75; }
}

/* Mobile / tablet: sidebar becomes a drawer */
@media (max-width: 1023px) {
  .ms-side { transform: translateX(-100%); box-shadow: none; }
  body.ms-open .ms-side { transform: none; box-shadow: 20px 0 60px rgba(4, 16, 30, .35); }
  body.ms-open { overflow: hidden; }
  .ms-close { display: inline-flex; }
  .ms-wrap { margin-left: 0; }
  .ms-burger { display: inline-flex; }
  .ms-top { padding: 0 16px; }
  .ms-continue { display: none; }
}
@media (max-width: 560px) {
  .ms-crumbs a, .ms-crumbs__sep { display: none; }
  .ms-foot { padding: 18px 16px 22px; }
}

/* Printing (e.g. Download Reports) shows only the document */
@media print {
  .ms-side, .ms-top, .ms-foot, .ms-overlay, #wpadminbar { display: none !important; }
  .ms-wrap { margin: 0 !important; }
}

/* Expandable course stages in the sidebar */
.ms-group { margin: 0; }
.ms-group > summary { list-style: none; cursor: pointer; }
.ms-group > summary::-webkit-details-marker { display: none; }
.ms-group > summary.is-current { color: #fff; font-weight: 600; }
.ms-group > summary.is-current > .material-symbols-outlined:first-child { color: var(--formula); }
.ms-chev.material-symbols-outlined { font-size: 18px; transition: transform .2s ease; }
.ms-group[open] .ms-chev { transform: rotate(180deg); }
.ms-sub { display: grid; gap: 1px; margin: 2px 0 8px 22px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .1); }
.ms-sublink { position: relative; display: block; padding: 6px 10px 6px 18px; border-radius: 6px; font-size: 13px; line-height: 1.35; color: rgba(226, 236, 248, .66); text-decoration: none; }
.ms-sublink::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid rgba(226, 236, 248, .35); }
.ms-sublink.is-seen::before { background: #34D399; border-color: #34D399; }
.ms-sublink:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ms-sublink.is-active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.ms-sublink.is-active::before { border-color: var(--formula); background: var(--formula); }
.ms-sublink:focus-visible, .ms-group > summary:focus-visible { outline: 2px solid var(--swoosh); outline-offset: 1px; }

/* Previous / next lesson */
.ms-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 920px; margin: 48px auto 0; padding: 0 0 8px; }
.ms-pager__link { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ms-pager__link:hover { border-color: var(--ink-3); box-shadow: 0 4px 14px rgba(10, 37, 64, .08); }
.ms-pager__link small { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ms-pager__link small .material-symbols-outlined { font-size: 16px; }
.ms-pager__link b { font: 700 15.5px/1.35 var(--display); color: var(--ink); }
.ms-pager__link--next { text-align: right; justify-items: end; border-color: var(--formula); }
.ms-pager__link--next small { color: var(--formula-hover); }
@media (max-width: 600px) { .ms-pager { grid-template-columns: 1fr; } }
@media print { .ms-pager { display: none; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Members home ---------- */
.dash { max-width: 1080px; margin: 0 auto; padding: 32px 32px 56px; display: grid; gap: 20px; }
.dash-hello h1 { margin: 0; font: 800 26px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.dash-hello p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

.dash-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 10px; background: #EEF5FD; border: 1px solid #CFE0F5; font-size: 14px; color: var(--text); }
.dash-note p { margin: 0; flex: 1; line-height: 1.5; }
.dash-note .material-symbols-outlined { color: var(--ink-3); }
.dash-note a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.dash-note--warn { background: #FFF8E6; border-color: #F4D58A; }
.dash-note--warn .material-symbols-outlined { color: #B7791F; }

.dash-next { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 14px 40px rgba(10, 37, 64, .18); }
.dash-next__icon.material-symbols-outlined { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--formula); font-size: 28px; color: #fff; }
.dash-next__kicker { margin: 0 0 4px; font: 700 11.5px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #FFB27A; }
.dash-next h2 { margin: 0 0 6px; font: 800 22px/1.25 var(--display); letter-spacing: -.015em; color: #fff; }
.dash-next__body p:last-child { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(226, 236, 248, .78); max-width: 60ch; }
.dash-next__actions { display: grid; gap: 10px; justify-items: center; }
.dash-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 8px; background: var(--formula); color: #fff; font: 700 15px/1 var(--display); text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(242, 113, 28, .35); }
.dash-btn:hover { background: var(--formula-hover); color: #fff; }
.dash-btn .material-symbols-outlined { font-size: 19px; }
.dash-link { color: rgba(226, 236, 248, .85); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dash-link:hover { color: #fff; }

.dash-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dash-steps a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; font: 600 14px/1.2 var(--display); color: var(--muted); }
.dash-steps__dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.dash-steps__dot .material-symbols-outlined { font-size: 16px; }
.dash-steps .is-done a { color: var(--ink); }
.dash-steps .is-done .dash-steps__dot { background: #1F9D6B; border-color: #1F9D6B; color: #fff; }
.dash-steps .is-now a { color: var(--ink); border-color: var(--formula); box-shadow: inset 0 0 0 1px var(--formula); }
.dash-steps .is-now .dash-steps__dot { background: var(--formula); border-color: var(--formula); color: #fff; }
.dash-steps a:hover { border-color: var(--ink-3); }

.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dash-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 10px; display: flex; flex-direction: column; }
.dash-tile h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 0 4px; font: 800 16px/1.3 var(--display); color: var(--ink); }
.dash-tile h2 .material-symbols-outlined { font-size: 20px; color: var(--formula); }
.dash-tile h2 small { margin-left: auto; font: 600 12.5px/1 var(--body); color: var(--muted); }
.dash-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); border-radius: 6px; }
.dash-tile h2 + .dash-row, .dash-empty + .dash-row { border-top: 0; }
.dash-row:hover { background: var(--paper); }
.dash-row > .material-symbols-outlined:first-child { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--swoosh-soft); color: var(--ink-3); font-size: 20px; }
.dash-row b { display: block; font: 700 14.5px/1.3 var(--display); color: var(--ink); }
.dash-row small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.dash-row__go.material-symbols-outlined { color: var(--muted); font-size: 20px; }
.dash-row__meta { font: 700 12.5px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-ok.material-symbols-outlined { color: #1F9D6B; font-size: 20px; font-variation-settings: 'FILL' 1; }
.dash-bar { display: block; height: 4px; margin-top: 7px; border-radius: 2px; background: var(--paper); overflow: hidden; max-width: 220px; }
.dash-bar i { display: block; height: 100%; background: var(--formula); border-radius: 2px; }
.dash-empty { margin: 0 4px 8px; font-size: 13.5px; color: var(--muted); }
.dash-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 0 10px; }
.dash-chips a { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font: 600 13.5px/1.25 var(--display); color: var(--ink); }
.dash-chips a:hover { border-color: var(--ink-3); background: var(--paper); }
.dash-chips .material-symbols-outlined { font-size: 19px; color: var(--ink-3); }
.dash a:focus-visible { outline: 2px solid var(--swoosh); outline-offset: 2px; }

@media (max-width: 900px) {
  .dash { padding: 20px 16px 40px; gap: 16px; }
  .dash-next { grid-template-columns: 1fr; padding: 22px 20px; gap: 14px; }
  .dash-next__icon.material-symbols-outlined { width: 44px; height: 44px; font-size: 24px; }
  .dash-next__actions { justify-items: stretch; }
  .dash-btn { justify-content: center; }
  .dash-steps { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone tab bar ---------- */
.ms-tabbar { display: none; }
@media (max-width: 991px) {
  .ms-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(10, 37, 64, .06);
  }
  .ms-tabbar a, .ms-tabbar button {
    display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none; border-radius: 8px; cursor: pointer;
    font: 600 11px/1.1 var(--display); color: var(--muted); text-decoration: none;
  }
  .ms-tabbar .material-symbols-outlined { font-size: 22px; }
  .ms-tabbar .is-active { color: var(--ink); }
  .ms-tabbar .is-active .material-symbols-outlined { color: var(--formula); font-variation-settings: 'FILL' 1; }
  .ms-wrap { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.ms-open .ms-tabbar { display: none; }
}
@media print { .ms-tabbar { display: none !important; } }

/* ---------- Members home: visual layer (animated by assets/isf-dash.js) ---------- */
.dash-hello {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, #fff 0%, #fff 48%, rgba(255, 255, 255, .55) 70%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--line);
}
.dash-hello__photo { position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; }
.dash-hello__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.dash-hello__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .7) 30%, rgba(255, 255, 255, .1) 100%); }
.dash-hello__date { margin: 0 0 6px; font: 700 11.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--formula-hover); }
.dash-hello h1 { font-size: 28px; }
.dash-hello__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dash-hello__chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 13px; color: var(--muted); box-shadow: 0 2px 8px rgba(10, 37, 64, .05); }
.dash-hello__chips b { color: var(--ink); font-family: var(--display); }
.dash-hello__chips .material-symbols-outlined { font-size: 17px; color: #1F9D6B; }
.dash-ring { position: relative; width: 112px; height: 112px; flex: none; background: rgba(255, 255, 255, .9); border-radius: 50%; box-shadow: 0 10px 30px rgba(10, 37, 64, .14); }
.dash-ring svg { transform: rotate(-90deg); display: block; }
.dash-ring__track { fill: none; stroke: var(--paper); stroke-width: 8; }
.dash-ring__fill { fill: none; stroke: var(--formula); stroke-width: 8; stroke-linecap: round; }
.dash-ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 800 24px/1 var(--display); color: var(--ink); }
.dash-ring__num small { display: block; margin-top: 3px; font: 600 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.dash-next { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%); }
.dash-next__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.dash-next__art circle { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1.5; }
.dash-next__art circle:last-child { fill: rgba(242, 113, 28, .12); stroke: none; }
.dash-btn__arrow { transition: transform .2s ease; }
.dash-btn:hover .dash-btn__arrow { transform: translateX(3px); }

.dash-track { position: relative; }
.dash-track__line { position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 3px; margin-top: -1.5px; background: var(--line); border-radius: 2px; z-index: 0; }
.dash-track__line i { display: block; height: 100%; background: linear-gradient(90deg, #1F9D6B, var(--formula)); border-radius: 2px; }
.dash-track .dash-steps { position: relative; z-index: 1; }

.dash-tile { transition: box-shadow .2s ease, transform .2s ease; }
.dash-tile:hover { box-shadow: 0 10px 28px rgba(10, 37, 64, .07); }
.dash-tile--wide { grid-column: 1 / -1; }

.dash-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 4px 14px; }
.dash-doc { display: grid; justify-items: center; gap: 2px; padding: 16px 10px 12px; border-radius: 10px; background: var(--paper); text-decoration: none; text-align: center; transition: background .2s ease; }
.dash-doc:hover { background: #E9EFF6; }
.dash-doc b { margin-top: 16px; font: 700 14px/1.2 var(--display); color: var(--ink); }
.dash-doc small { font-size: 12px; color: var(--muted); }
.dash-doc__page {
  position: relative; display: grid; align-content: start; gap: 5px; width: 74px; height: 94px; padding: 12px 10px; border-radius: 4px;
  background: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .08), 0 8px 18px rgba(10, 37, 64, .12), 5px 5px 0 -1px #fff, 5px 5px 0 0 var(--line);
  transition: transform .25s ease;
}
.dash-doc:hover .dash-doc__page { transform: translateY(-3px) rotate(-2deg); }
.dash-doc__page > i { display: block; height: 4px; border-radius: 2px; background: #E3E9F1; }
.dash-doc__page > i.t { height: 6px; width: 70%; background: var(--ink); }
.dash-doc__page > i.hl { background: var(--formula-soft); box-shadow: inset 2px 0 0 var(--formula); }
.dash-doc__page > i.s { width: 55%; }
.dash-doc__page em { position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--formula); color: #fff; font: 800 11px/1 var(--display); font-style: normal; box-shadow: 0 4px 10px rgba(242, 113, 28, .4); }
.dash-doc__page .bars { display: grid; gap: 4px; margin: 2px 0; }
.dash-doc__page .bars i { display: block; height: 5px; border-radius: 2px; background: var(--ink-3); }
.dash-doc__page .bars i:first-child { background: var(--formula); }
.dash-docs--locked .dash-doc { opacity: .6; }
.dash-doc__lock.material-symbols-outlined { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; color: var(--muted); background: rgba(255, 255, 255, .6); }

.dash-row__ic.material-symbols-outlined { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--swoosh-soft); color: var(--ink-3); font-size: 20px; }
.dash-row__ic--hot.material-symbols-outlined { background: var(--formula-soft); color: var(--formula-hover); }
.dash-row:hover .dash-row__go { transform: translateX(2px); color: var(--ink); }
.dash-row__go { transition: transform .2s ease, color .2s ease; }

.dash-stage__n { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font: 800 12.5px/1 var(--display); color: #fff; background: var(--stage, var(--ink-3)); }
.dash-stage__n .material-symbols-outlined { font-size: 18px; }
.dash-stage--research { --stage: #2F7FE0; }
.dash-stage--build { --stage: #1F9D6B; }
.dash-stage--launch { --stage: #7C5CD6; }
.dash-stage--close { --stage: #F2711C; }
.dash-stage .dash-bar i { background: var(--stage); }

.dash-powered { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: var(--paper); font: 600 12px/1 var(--body) !important; color: var(--muted) !important; }
.dash-coaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 4px 4px 12px; }
.dash-coach {
  position: relative; display: grid; gap: 2px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dash-coach:hover { border-color: var(--c-fg); box-shadow: 0 10px 24px rgba(10, 37, 64, .08); transform: translateY(-2px); }
.dash-coach__ic { width: 42px; height: 42px; margin-bottom: 10px; border-radius: 10px; display: grid; place-items: center; background: var(--c-bg); color: var(--c-fg); }
.dash-coach__ic .material-symbols-outlined { font-size: 22px; }
.dash-coach b { font: 700 14.5px/1.3 var(--display); color: var(--ink); }
.dash-coach small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.dash-coach__go.material-symbols-outlined { position: absolute; top: 14px; right: 14px; font-size: 18px; color: var(--muted); opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s ease, transform .2s ease; }
.dash-coach:hover .dash-coach__go { opacity: 1; transform: none; color: var(--c-fg); }

.dash-extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 12px; }
.dash-extras__links { padding: 6px 4px 0; }
.dash-video { position: relative; display: block; min-height: 170px; border-radius: 10px; overflow: hidden; background: var(--ink); text-decoration: none; }
.dash-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .5s ease, opacity .3s ease; }
.dash-video:hover img { transform: scale(1.04); opacity: .8; }
.dash-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 37, 64, .85)); }
.dash-video__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 54px; height: 54px; margin: -38px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--formula); box-shadow: 0 0 0 8px rgba(255, 255, 255, .2); }
.dash-video__play .material-symbols-outlined { font-size: 30px; font-variation-settings: 'FILL' 1; }
.dash-video__txt { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: grid; color: #fff; }
.dash-video__txt b { font: 700 16px/1.2 var(--display); }
.dash-video__txt small { font-size: 12.5px; color: rgba(226, 236, 248, .8); }

@media (max-width: 900px) {
  .dash-hello { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; background: #fff; }
  .dash-hello__photo { width: 100%; opacity: .14; }
  .dash-ring { width: 92px; height: 92px; position: absolute; top: 18px; right: 18px; }
  .dash-ring svg { width: 92px; height: 92px; }
  .dash-ring__num { font-size: 19px; }
  .dash-hello__text { padding-right: 100px; }
  .dash-hello h1 { font-size: 23px; }
  .dash-track__line { display: none; }
  .dash-coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-extras { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .dash-coaches { grid-template-columns: minmax(0, 1fr); }
  .dash-docs { gap: 8px; }
}
.dash-ring__val { white-space: nowrap; }
