@charset "UTF-8";
@import url("vendor/fontawesome/css/portal.css?v=2");
@font-face {
  font-family: Nunito;
  src: url(fonts/nunito-latin-700-normal.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(fonts/nunito-latin-800-normal.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(fonts/nunito-latin-900-normal.woff2) format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url(fonts/nunito-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url(fonts/nunito-sans-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url(fonts/nunito-sans-latin-700-normal.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --orange: #ff5500;
  --orange-dark: #c53f00;
  --orange-soft: #fff0e8;
  --ink: #1a1a1c;
  --muted: #6c7078;
  --paper: #fff;
  --line: #e6e7e9;
  --dark: #20242d;
  --green: #23654a;
  --green-soft: #eaf4ef;
  --danger: #ac2934;
  --radius: 6px;
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--orange-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid #dbdde1;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.45;
  text-decoration: none;
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s;
}
button:hover,
.button:hover {
  background: #f5f5f6;
  border-color: #b8bbc1;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button.primary,
.button.primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
button.primary:hover,
.button.primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.button.subtle {
  background: #f7f7f8;
}
.button-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.full {
  width: 100%;
}
.danger-outline {
  color: var(--danger);
  border-color: #e6b7bd;
}
.text-button {
  min-height: 34px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font-size: 12px;
}
.icon-button {
  min-width: 42px;
  padding: 10px;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.square-icon {
  height: 46px;
  width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--orange-soft);
  color: var(--orange);
  flex-shrink: 0;
}
.square-icon .icon {
  font-size: 23px;
}
h1,
h2,
h3,
h4 {
  font-family: Nunito, "Segoe UI", sans-serif;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
h1 {
  font-size: 34px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 19px;
}
p {
  margin: 0 0 16px;
}
small {
  font-size: 12px;
  color: var(--muted);
}
b,
strong {
  font-weight: 700;
}
em {
  font-style: normal;
  color: var(--orange);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 19px;
  color: #363b43;
}
label small {
  display: block;
  font-weight: 400;
  margin-top: 5px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-top: 7px;
  border: 1px solid #d9dce0;
  border-radius: 4px;
  padding: 11px 13px;
  background: white;
  color: var(--ink);
  font-size: 14px;
}
input[type="hidden"] {
  display: none !important;
}
input::placeholder,
textarea::placeholder {
  color: #8d929b;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffc7aa;
  outline-offset: 2px;
}
.check-label,
.inline-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 400;
}
.check-label input {
  margin-top: 4px;
}
.inline-check {
  display: inline-flex;
  margin: 0 12px 0 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: var(--orange-dark);
  font-weight: 700;
  margin: 0 0 10px;
}
.muted,
.help {
  color: var(--muted);
}
.help {
  font-size: 12px;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
}
.notice {
  padding: 15px 19px;
  border: 1px solid #f0ddc5;
  border-left: 3px solid #dd9137;
  border-radius: 3px;
  background: #fffaf1;
  font-size: 13px;
  color: #70531d;
  margin-bottom: 24px;
}
.notice.success {
  color: var(--green);
  background: var(--green-soft);
  border-color: #d2e7db;
  border-left-color: var(--green);
}
.notice.warn {
  background: #fffaf1;
  color: #70531d;
}
.notice.danger {
  color: var(--danger);
  background: #fff3f3;
  border-color: #ecc7cd;
  border-left-color: var(--danger);
}
.notice p {
  margin: 5px 0;
}
.notice small {
  color: inherit;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  padding: 4px 8px;
  background: #f0f1f3;
  color: #60656f;
  line-height: 1.5;
}
.badge.success {
  color: var(--green);
  background: var(--green-soft);
}
.badge.warn {
  background: #fff4da;
  color: #91620e;
}
.badge.orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}
.error-text:empty {
  display: none;
}
.required {
  color: var(--orange-dark);
}
/* Portal: masthead, grouped navigation and readable content area. */
.utility-bar {
  height: 34px;
  background: var(--dark);
  color: #eee;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.utility-bar > div {
  max-width: 1600px;
  height: 100%;
  margin: auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-bar a {
  color: #eee;
}
.utility-bar .icon {
  font-size: 11px;
  width: 13px;
  height: 13px;
}
.academy-header,
.native-header,
.login-header {
  height: 86px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.wordmark {
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: 27px;
  letter-spacing: -1.4px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark span {
  font-weight: 700;
  color: var(--orange);
  margin-left: 5px;
}
.wordmark > .fa-solid {
  font-size: 29px;
  color: var(--orange);
  margin-right: 10px;
  letter-spacing: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
  margin-right: auto;
}
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #343840;
}
.main-nav a:hover {
  color: var(--orange-dark);
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f0e8e3;
  color: #8e3b1c;
  font-weight: 800;
  font-size: 13px;
}
.avatar.large {
  width: 85px;
  height: 85px;
  font-size: 25px;
}
.avatar.xlarge {
  width: 110px;
  height: 110px;
  font-size: 32px;
}
.top-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.top-profile b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}
.top-profile small {
  font-size: 10px;
}
.top-profile:hover {
  text-decoration: none;
}
.portal-layout {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  max-width: 1740px;
  margin: auto;
  min-height: calc(100vh - 120px);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 15px 15px 22px;
  display: flex;
  flex-direction: column;
  background: #fcfcfd;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #858a93;
  margin: 23px 13px 10px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin: 2px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #60656e;
  border-radius: 4px;
}
.sidebar nav > a:hover {
  background: #f2f3f5;
  color: var(--ink);
  text-decoration: none;
}
.sidebar nav > a.active {
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-weight: 700;
}
.sidebar nav > a .icon {
  font-size: 15px;
  width: 19px;
}
.sidebar nav > a b:empty {
  display: none;
}
.sidebar nav > a b {
  margin-left: auto;
  border-radius: 20px;
  padding: 1px 5px;
  background: var(--orange);
  color: white;
  font-size: 9px;
}
.side-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.side-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3efeb;
  padding: 13px;
  color: var(--ink);
}
.side-mini .icon {
  color: var(--orange);
}
.side-mini b,
.side-mini small {
  display: block;
  line-height: 1.6;
  font-size: 10px;
}
.side-logout {
  border: 0;
  background: none;
  width: 100%;
  justify-content: flex-start;
  color: #777d85;
  font-size: 11px;
  margin-top: 15px;
}
.workspace {
  min-width: 0;
  padding: 0 35px;
}
.workspace-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  color: #8a8f97;
  font-size: 10px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #797e86;
}
.breadcrumb b {
  font-weight: 600;
  color: #484d56;
}
.breadcrumb span {
  color: #b5b7be;
}
#main-content {
  min-height: 66vh;
  outline: none;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 17px 0 29px;
}
.page-head > div {
  min-width: 0;
}
.page-head h1 {
  max-width: 850px;
}
.page-head p:not(.eyebrow) {
  max-width: 790px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.page-head .button {
  flex-shrink: 0;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}
.app-footer span {
  font-weight: 400;
  color: #898e97;
}
.app-footer a {
  color: #646a72;
  font-weight: 400;
}
.mobile-only {
  display: none;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.section-title h2 {
  margin: 0;
}
.section-title .eyebrow {
  margin-bottom: 8px;
}
.section-title > a {
  font-size: 12px;
  font-weight: 700;
}
.section-title > a .icon {
  font-size: 12px;
}
.back-link {
  display: inline-flex;
  font-size: 12px;
  margin: 6px 0 10px;
  color: #727883;
}
/* Education home and photographic course catalogue. */
.academy-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 25px;
  background: #f7f5f3;
  padding: 34px 35px;
  overflow: hidden;
}
.hero-copy {
  align-self: center;
}
.hero-copy .greeting {
  color: #696b70;
  font-size: 13px;
  margin: 16px 0 10px;
}
.hero-copy h1 {
  font-size: clamp(32px, 2.9vw, 47px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-copy > p:not(.eyebrow):not(.greeting) {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.8;
  color: #6c6d73;
  margin-bottom: 23px;
}
.hero-visual {
  min-width: 0;
  position: relative;
  align-self: stretch;
  margin: 5px 0 5px 5px;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  max-height: 430px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 2px;
}
.hero-caption {
  position: absolute;
  bottom: 18px;
  left: -18px;
  right: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #292b3412;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
}
.hero-caption .icon {
  color: var(--orange);
  font-size: 23px;
}
.hero-caption b {
  display: block;
  font-family: Nunito;
  font-size: 15px;
}
.hero-caption small {
  display: block;
  font-size: 10px;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 38px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.metric-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.metric-strip > div:first-child {
  justify-content: flex-start;
}
.metric-strip > div:last-child {
  border: 0;
}
.metric-strip .icon {
  color: var(--orange);
  font-size: 25px;
  width: 31px;
  height: 31px;
}
.metric-strip span {
  font-size: 10px;
  color: #727882;
  line-height: 1.6;
}
.metric-strip strong {
  font-family: Nunito;
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}
.metric-strip strong small {
  font-size: 14px;
  font-weight: 600;
}
.dashboard-learning {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.83fr);
  gap: 29px;
  margin-bottom: 35px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin-bottom: 30px;
}
.dashboard-courses {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.module-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  min-width: 0;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.module-card:hover {
  box-shadow: 0 10px 26px #20242d0d;
  border-color: #d7d9dd;
}
.module-cover {
  height: 170px;
  position: relative;
  overflow: hidden;
}
.module-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.module-card:hover .module-cover > img {
  transform: scale(1.035);
}
.module-number {
  position: absolute;
  left: 13px;
  bottom: 13px;
  display: inline-flex;
  color: var(--ink);
  background: white;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
}
.module-cover-status {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-cover-status .icon {
  font-size: 11px;
}
.module-info {
  padding: 17px 19px 15px;
  flex: 1;
}
.module-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 11px;
  color: #888d96;
  font-size: 10px;
}
.module-meta .icon {
  font-size: 10px;
  width: 12px;
  height: 12px;
}
.module-info h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.module-info > p {
  font-size: 11px;
  color: #787d86;
  line-height: 1.7;
  margin: 0;
}
.module-footer {
  padding: 13px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eeeef0;
}
.module-footer small {
  font-size: 9px;
}
.module-footer a {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.module-footer .icon {
  font-size: 10px;
  width: 13px;
}
.locked-label {
  font-size: 9px;
  color: #858a92;
}
.module-card.blocked .module-cover > img {
  filter: saturate(0.6);
}
.study-summary {
  background: #fbfaf8;
  border: 1px solid #ece8e2;
  padding: 26px;
  align-self: stretch;
}
.study-summary h3 {
  font-size: 23px;
}
.study-summary > p:not(.eyebrow) {
  font-size: 11px;
  color: #90939a;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 20px 0 9px;
}
progress {
  display: block;
  width: 100%;
  height: 7px;
  appearance: none;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eee9e5;
  color: var(--orange);
}
progress::-webkit-progress-bar {
  background: #eee9e5;
}
progress::-webkit-progress-value {
  background: var(--orange);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--orange);
}
.summary-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 11px;
  color: #777d85;
  margin: 20px 0;
}
.summary-item .icon {
  font-size: 14px;
  color: var(--orange);
}
.summary-link {
  display: block;
  text-align: center;
  font-size: 11px;
  margin-top: 16px;
}
.summary-link .icon {
  font-size: 12px;
}
.club-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 30px 34px;
  background: #f7eee7;
  border-left: 4px solid var(--orange);
  margin-bottom: 36px;
}
.club-banner h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.club-banner p:not(.eyebrow) {
  font-size: 12px;
  color: #847464;
  margin: 0;
}
.club-banner .button {
  flex-shrink: 0;
}
.community-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.community-links > a {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 2px;
  color: var(--ink);
}
.community-links > a > .icon:first-child {
  color: var(--orange);
  font-size: 24px;
  width: 30px;
}
.community-links > a > .icon:last-child {
  margin-left: auto;
  color: #91959c;
  font-size: 12px;
}
.community-links b {
  display: block;
  font-family: Nunito;
  font-size: 15px;
}
.community-links small {
  font-size: 10px;
}
.course-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: #f7f5f3;
  padding: 27px 30px;
  margin-bottom: 27px;
}
.course-summary h2 {
  font-size: 26px;
}
.course-summary p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.course-progress {
  min-width: 125px;
}
.course-progress strong {
  display: block;
  text-align: right;
  font-family: Nunito;
  font-size: 31px;
  margin-bottom: 10px;
}
.course-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}
.course-tabs {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.course-tabs button {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  min-height: 35px;
  color: #868a92;
}
.course-tabs button.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
  background: none;
}
.course-search {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 240px;
  margin: 0;
  border: 1px solid var(--line);
  padding-left: 10px;
}
.course-search .icon {
  font-size: 12px;
  color: #aaa;
}
.course-search input[type="search"] {
  border: 0;
  margin: 0;
  padding: 9px;
  font-size: 11px;
  min-height: 38px;
}
.campaign-note {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 25px;
}
.campaign-note > div {
  display: flex;
  gap: 15px;
}
.campaign-note .icon {
  color: var(--orange);
  margin-top: 3px;
}
.campaign-note b {
  font-size: 14px;
}
.campaign-note p {
  font-size: 12px;
  color: #757a83;
}
.campaign-note details {
  background: #f8f8f9;
  padding: 16px 20px;
}
.campaign-note h3 {
  margin-top: 22px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stats-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 22px;
}
.stat strong {
  display: block;
  font-family: Nunito;
  font-size: 30px;
  color: var(--ink);
}
.stat span,
.stat small {
  display: block;
  font-size: 12px;
}
.stat span {
  color: #737882;
}
.stat .icon {
  color: var(--orange);
}
/* Lessons, assessments and certification. */
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 26px;
  align-items: start;
}
.lesson-content {
  font-size: 14px;
  line-height: 1.9;
}
.lesson-content h2 {
  margin: 18px 0;
  font-size: 26px;
}
.lesson-block {
  padding-bottom: 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.lesson-block p {
  color: #656b75;
}
.lesson-block .eyebrow {
  font-size: 10px;
}
.sticky {
  position: sticky;
  top: 20px;
}
.mini-step {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  margin: 18px 0;
  color: #666d76;
}
.mini-step .icon {
  color: var(--orange);
}
.lesson-layout aside p,
.lesson-layout aside small {
  font-size: 12px;
}
.lesson-layout aside .button {
  margin-bottom: 13px;
}
fieldset {
  min-width: 0;
}
.question {
  padding: 24px;
  margin: 22px 0;
}
.question legend {
  font-family: Nunito;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  padding: 0 8px;
  max-width: 100%;
}
.question legend > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 4px;
  margin-right: 12px;
}
.answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 15px;
  margin: 12px 0;
  border-radius: 4px;
  font-weight: 400;
}
.answer:has(input:checked) {
  border-color: var(--orange);
  background: #fff7f2;
}
.answer input {
  margin-top: 4px;
}
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.submit-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.result-card {
  display: flex;
  align-items: center;
  gap: 35px;
}
.score {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 52px Nunito;
  flex-shrink: 0;
}
.score small {
  font-size: 21px;
  color: inherit;
}
.score.fail {
  background: #fff0e8;
  color: #a45124;
}
.feedback-list article {
  display: flex;
  gap: 18px;
}
.feedback-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feedback-mark.good {
  color: var(--green);
}
.feedback-mark.bad {
  color: var(--danger);
}
.feedback-list h3 {
  font-size: 17px;
}
.feedback-list p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.cert-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cert-steps .card > .icon {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 28px;
  width: 32px;
  height: 32px;
}
.cert-steps p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.certificate-ready {
  display: flex;
  align-items: center;
  gap: 27px;
  background: #fffcf4;
  border-color: #eddfbf;
}
.certificate-ready > span > .icon {
  font-size: 55px;
  width: 75px;
  height: 75px;
  color: #c68716;
}
.rubric-display {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.rubric-display > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #f7f7f8;
  padding: 14px;
  font-size: 12px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.review-grid h3 {
  font-size: 17px;
}
.review-grid p {
  font-size: 12px;
}
.next-card,
.focus-card {
  display: flex;
  gap: 20px;
  align-items: center;
}
.next-card > div,
.focus-card > div:last-child {
  flex: 1;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}
.badge-item,
.achievement {
  text-align: center;
  border: 1px solid var(--line);
  padding: 18px 12px;
  border-radius: 5px;
  color: #959aa2;
}
.badge-item.earned,
.achievement.earned {
  background: #fff9ed;
  color: #ad6719;
  border-color: #eddbb7;
}
.badge-item .icon {
  font-size: 29px;
  height: 36px;
  width: 36px;
  margin-bottom: 12px;
}
.badge-item h3 {
  font-size: 14px;
}
.badge-item p {
  font-size: 11px;
  margin: 0;
}
.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rank-list li,
.ranking-person {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.rank-list li > strong:last-child {
  margin-left: auto;
}
.rank-list .rank-number {
  color: var(--orange);
  font: 800 24px Nunito;
}
.rank-list small {
  display: block;
}
.rank-list li > div {
  flex: 1;
}
/* Community, people and hierarchy. */
.club-pillars,
.partner-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}
.club-pillars .square-icon {
  margin-bottom: 18px;
}
.club-pillars p {
  font-size: 12px;
  color: var(--muted);
}
.partner-card .badge {
  margin-right: 6px;
}
.partner-card h3 {
  margin: 17px 0 10px;
  font-size: 22px;
}
.partner-card p {
  font-size: 13px;
  color: #5f6570;
}
.partner-card small {
  display: block;
  font-size: 10px;
  margin-bottom: 17px;
}
.partner-card > a {
  font-size: 12px;
  font-weight: 700;
}
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  background: #fafafa;
  padding: 20px;
}
.filter-bar label {
  flex: 1;
  margin: 0;
}
.filter-bar input,
.filter-bar select {
  background: #fff;
}
.wall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 25px;
  align-items: start;
}
.wall-layout aside {
  background: #fbfaf8;
}
.wall-layout aside p {
  color: var(--muted);
  font-size: 13px;
}
.post-composer textarea {
  min-height: 104px;
}
.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.person-inline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  min-width: 0;
}
.person-inline b,
.person-inline small {
  display: block;
}
.person-inline b {
  font-size: 13px;
}
.person-inline small {
  font-size: 10px;
}
.post > p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.person-card {
  text-align: center;
  padding: 27px 20px;
}
.person-card > .avatar {
  margin-bottom: 14px;
}
.person-card h3 {
  font-size: 20px;
}
.person-card h3 a {
  color: var(--ink);
}
.person-card p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.person-card > div:last-child {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 21px;
}
.tree {
  overflow-x: auto;
}
.tree ul {
  list-style: none;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid #e3e5e8;
}
.tree > ul {
  border: 0;
  padding: 0;
}
.tree li {
  padding: 8px 0;
}
.tree-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 260px;
  max-width: 560px;
  margin-bottom: 8px;
}
.tree-person a {
  color: var(--ink);
}
.tree-person b,
.tree-person small {
  display: block;
}
.tree-person b {
  font-size: 13px;
}
.tree-person small {
  font-size: 10px;
}
.tree-person .badge {
  margin-left: auto;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: #f8f5f2;
}
.profile-hero h1 {
  margin-bottom: 8px;
}
.profile-hero p {
  font-size: 13px;
  color: var(--muted);
}
.profile-hero .button-row {
  margin-left: auto;
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 25px;
}
.profile-about p {
  color: #6c727b;
  font-size: 13px;
}
.profile-about dl {
  font-size: 12px;
}
.profile-about dt {
  color: #969aa2;
}
.profile-about dd {
  margin: 0 0 15px;
}
.profile-edit-preview {
  margin-bottom: 25px;
}
.profile-tabs {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}
.profile-tabs a {
  font-weight: 700;
  font-size: 12px;
}
blockquote {
  margin: 20px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  background: #fff7f1;
  color: #716659;
}
/* Reporting and administration. */
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card .section-title {
  padding: 24px 24px 0;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
  font-size: 12px;
}
th {
  background: #f7f7f8;
  color: #777e87;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 18px;
  border-bottom: 1px solid #eeeef0;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfcfd;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
td progress {
  height: 4px;
  min-width: 70px;
  max-width: 110px;
  margin-top: 6px;
}
td .text-button {
  font-size: 11px;
  padding: 5px;
}
.audit-detail {
  max-width: 400px;
  overflow-wrap: anywhere;
}
.group-report article {
  display: grid;
  grid-template-columns: 1fr 1.3fr 50px;
  align-items: center;
  gap: 25px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.group-report article span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.detail-modules article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.detail-modules article > div {
  flex: 1;
  min-width: 0;
}
.detail-modules p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}
.action-page-card {
  max-width: 1000px;
  padding: 30px;
}
.narrow-action {
  max-width: 790px;
}
.action-context {
  padding: 16px 20px;
  background: #f7f7f8;
  margin-bottom: 26px;
}
.action-context span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.action-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 23px 0;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.action-summary span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.action-summary strong {
  display: block;
  font: 800 23px Nunito;
  margin-top: 7px;
}
.action-footer {
  padding-top: 24px;
}
.submitted-pitch {
  background: #f8f8f9;
  padding: 22px;
  font-size: 13px;
  margin-bottom: 25px;
}
.page-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.publish-hero {
  padding: 25px;
  background: #faf8f5;
  margin-bottom: 22px;
}
.publish-hero p {
  margin: 5px 0 0;
  color: var(--muted);
}
.member-picker {
  border: 1px solid var(--line);
  padding: 22px;
  max-height: 450px;
  overflow: auto;
  margin: 15px 0 25px;
}
.member-picker legend {
  font: 800 17px Nunito;
  padding: 0 7px;
}
.page-members > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.page-members > div > span {
  flex: 1;
}
.page-members b,
.page-members small {
  display: block;
}
.editor-block {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  margin: 14px 0;
  background: #fcfcfd;
}
.editor-block[open] > summary {
  margin-bottom: 20px;
}
.editor-block summary {
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.editor-block label {
  margin-bottom: 15px;
}
.editor-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.code-input {
  font-family: monospace;
  font-size: 12px !important;
}
.question-editor {
  margin-bottom: 18px;
  border-left: 3px solid #ddd;
  padding-left: 20px;
}
.question-editor h4 {
  margin-top: 18px;
}
.option-editor {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.option-editor input {
  margin-top: 0 !important;
}
.draft-status {
  padding: 13px 18px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  margin-bottom: 20px;
}
.editor-save-status {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}
.question-editor .check-label {
  margin-top: 18px;
}
/* Floating and full conversation surfaces, without modal overlays. */
.chat-launcher {
  position: fixed;
  right: 25px;
  bottom: 20px;
  border: 0;
  background: var(--orange);
  color: white;
  padding: 13px 19px;
  border-radius: 5px;
  box-shadow: 0 5px 18px #20242d24;
  z-index: 50;
}
.chat-launcher:hover {
  background: var(--orange-dark);
}
.chat-launcher b {
  background: white;
  color: var(--orange-dark);
  border-radius: 50%;
  padding: 1px 5px;
  font-size: 10px;
}
.chat-panel {
  border: 1px solid #dddfe4;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 7px;
}
.chat-panel.floating {
  position: fixed;
  right: 24px;
  bottom: 20px;
  width: 380px;
  max-height: calc(100vh - 155px);
  height: 510px;
  box-shadow: 0 12px 45px #20242d24;
  z-index: 60;
}
.chat-panel.full-chat {
  height: 650px;
  max-height: 75vh;
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--dark);
  color: #fff;
  padding: 14px 16px;
}
.chat-header > div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.chat-header b {
  font-size: 14px;
}
.chat-header .icon-button {
  color: #fff;
  border: 0;
  background: transparent;
  min-height: 30px;
  min-width: 30px;
  padding: 5px;
}
.chat-header .icon-button:hover {
  background: #ffffff15;
}
.chat-status {
  font-size: 10px;
  padding: 10px 16px;
  color: #888e97;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}
.chat-thread {
  padding: 18px;
  flex: 1;
  overflow: auto;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.message {
  background: #fff;
  align-self: flex-start;
  border: 1px solid #eceef1;
  border-radius: 6px;
  padding: 11px 13px;
  max-width: 88%;
  min-width: 120px;
}
.message.own {
  align-self: flex-end;
  background: #fff1e8;
  border-color: #f4dfd1;
}
.message > b {
  font-size: 10px;
  color: #9a562e;
}
.message p {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 5px 0 8px;
}
.message footer {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 8px;
  color: #969ba4;
}
.message footer button {
  font-size: 8px;
  min-height: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9b8b82;
}
.chat-room-list {
  overflow: auto;
  flex: 1;
}
.room-item {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 17px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  gap: 12px;
}
.room-item > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.room-item b,
.room-item small {
  display: block;
}
.room-item b {
  font-size: 12px;
}
.room-item small {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 235px;
}
.room-item em {
  background: var(--orange-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.chat-foot {
  padding: 13px;
  text-align: center;
  font-size: 10px;
  color: #949aa4;
  border-top: 1px solid var(--line);
}
#chat-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  margin: 0;
  background: white;
  align-items: flex-end;
  border-top: 1px solid var(--line);
}
#chat-form textarea {
  margin: 0;
  max-height: 100px;
  font-size: 12px;
  flex: 1;
}
#chat-form button {
  min-height: 45px;
}
/* Native account pages: ordinary PHP POST remains functional without JavaScript. */
.native-page {
  background: #fafafa;
}
.native-header {
  padding-left: max(30px, calc((100vw - 1200px) / 2));
  padding-right: max(30px, calc((100vw - 1200px) / 2));
}
.native-main {
  max-width: 1200px;
  padding: 30px 30px 0;
  margin: auto;
}
.native-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 30px;
  align-items: start;
}
.native-form-card {
  padding: 32px;
}
.form-section-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 23px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.form-section-head > span {
  font: 800 19px Nunito;
  color: var(--orange);
  background: #fff1e8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.form-section-head h2 {
  font-size: 21px;
  margin-bottom: 4px;
}
.form-section-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 23px;
}
.password-field {
  display: flex;
  align-items: center;
  position: relative;
}
.password-field input {
  padding-right: 48px !important;
}
.password-field button {
  position: absolute;
  right: 4px;
  top: 11px;
  border: 0;
  min-height: 38px;
  padding: 8px;
  color: #8b9098;
}
.password-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: -10px 0 25px;
}
.password-tools small {
  font-size: 11px;
}
.access-switch {
  background: #f8f8f9;
  padding: 17px;
  margin: 25px 0;
}
.access-switch b {
  font-size: 13px;
}
.access-switch small {
  font-size: 11px;
  margin: 2px 0 0;
}
.native-help {
  padding: 27px 4px;
}
.native-help > .fa-solid {
  font-size: 37px;
  color: var(--orange);
  margin-bottom: 24px;
}
.native-help h2 {
  font-size: 26px;
  line-height: 1.3;
}
.native-help h3 {
  font-size: 17px;
}
.native-help p,
.native-help li {
  font-size: 12px;
  line-height: 1.85;
  color: #7c828c;
}
.native-help ul {
  padding-left: 16px;
}
.native-help li {
  margin-bottom: 9px;
}
.native-help a {
  font-size: 12px;
  font-weight: 700;
}
.native-help .fa-arrow-right {
  font-size: 10px;
}
.help-divider {
  height: 1px;
  background: var(--line);
  margin: 27px 0;
}
.native-page > .app-footer {
  max-width: 1140px;
  margin: 35px auto 0;
}
.login-header {
  padding: 0 max(30px, calc((100vw - 1200px) / 2));
}
.login-header > span {
  font-size: 10px;
  color: #9297a0;
  letter-spacing: 1px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: calc(100vh - 120px);
  max-width: 1500px;
  margin: auto;
}
.login-story {
  background: #f8f5f2;
  padding: 45px 12%;
  display: flex;
  align-items: center;
}
.login-story h1 {
  font-size: clamp(37px, 4.1vw, 60px);
  line-height: 1.08;
  margin: 20px 0 20px;
  letter-spacing: -1.5px;
}
.login-story > div > p:not(.eyebrow) {
  font-size: 13px;
  color: #7c7671;
  max-width: 380px;
  line-height: 1.8;
}
.login-photo {
  position: relative;
  max-width: 410px;
  margin-top: 27px;
}
.login-photo img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
}
.login-photo span {
  position: absolute;
  bottom: -12px;
  left: 18px;
  background: white;
  padding: 11px 17px;
  font: 800 13px Nunito;
  box-shadow: 0 5px 20px #0000000b;
}
.login-photo .icon {
  color: var(--orange);
  margin-right: 6px;
}
.login-form {
  padding: 55px 13%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-box {
  max-width: 390px;
  width: 100%;
}
.login-box h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 20px 0 17px;
}
.login-box > p {
  font-size: 13px;
  color: #848891;
  margin-bottom: 25px;
}
.login-box form {
  margin-top: 30px;
}
.login-box label {
  font-size: 12px;
}
.login-box .full {
  margin-top: 5px;
  min-height: 49px;
}
.login-box .help {
  font-size: 11px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
  line-height: 1.9;
}
.login-footer {
  font-size: 10px;
  color: #9297a0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}
.login-footer .icon {
  font-size: 12px;
}
.setup-body {
  min-height: 100vh;
  padding: 45px 20px;
  background: #f8f7f5;
}
.setup {
  max-width: 640px;
  margin: 0 auto;
  padding: 35px;
}
.setup > .wordmark {
  margin-bottom: 30px;
}
.setup h1 {
  font-size: 32px;
}
.setup h2 {
  font-size: 23px;
  margin-top: 30px;
}
.setup > p {
  color: var(--muted);
  font-size: 13px;
}
/* Feedback, accessibility and resilient mobile composition. */
summary {
  cursor: pointer;
  color: #454c56;
  font-size: 13px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  max-width: min(650px, 90vw);
  background: #245c45;
  color: white;
  padding: 15px 22px;
  border-radius: 5px;
  box-shadow: 0 8px 25px #20242d25;
  z-index: 1000;
  font-size: 13px;
  transition: 0.18s;
}
#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
#toast.bad {
  background: #a3333d;
}
.empty {
  padding: 45px 25px;
  text-align: center;
  color: #9a9fa7;
}
.empty > .icon {
  color: #babec6;
  font-size: 32px;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 21px;
  color: #5f6671;
}
.empty p {
  font-size: 13px;
  max-width: 450px;
  margin: 0 auto 18px;
}
.loading,
.boot {
  text-align: center;
  padding: 90px 20px;
  color: #8a919b;
}
.boot b {
  font-family: Nunito;
  font-size: 33px;
  color: var(--ink);
}
.boot b span {
  color: var(--orange);
}
.boot p {
  margin-top: 14px;
  font-size: 13px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip {
  position: fixed;
  left: -9999px;
  top: 7px;
  z-index: 2000;
  background: white;
  padding: 12px;
}
.skip:focus {
  left: 8px;
}
.certificate-page {
  padding: 45px;
  background: #f5f2eb;
}
.certificate-sheet {
  max-width: 1100px;
  margin: auto;
  padding: 65px;
  border: 8px double #cb9a53;
  text-align: center;
  background: #fff;
}
.certificate-sheet h1 {
  font-size: 40px;
}
.certificate-sheet h2 {
  font-size: 34px;
}
.certificate-sheet p {
  font-size: 15px;
}
.certificate-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px;
}
.certificate-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.certificate-meta > div {
  flex: 1;
}
.certificate-code {
  word-break: break-all;
  font-size: 10px;
}
.cert-name {
  font-size: 36px;
}
.user-diagnostic {
  display: none;
}
@media (min-width: 1600px) {
  .workspace {
    padding: 0 45px;
  }
  .academy-hero {
    padding: 45px;
  }
  .hero-copy h1 {
    font-size: 50px;
  }
  .module-cover {
    height: 210px;
  }
}
@media (max-width: 1200px) {
  .portal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 10px;
  }
  .workspace {
    padding: 0 25px;
  }
  .academy-header {
    padding: 0 25px;
    gap: 20px;
  }
  .main-nav {
    gap: 18px;
  }
  .academy-hero {
    padding: 27px;
    gap: 22px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-visual > img {
    min-height: 290px;
  }
  .hero-caption {
    left: -8px;
    right: 8px;
    padding: 13px;
  }
  .hero-caption b {
    font-size: 12px;
  }
  .hero-caption small {
    font-size: 9px;
  }
  .dashboard-learning {
    grid-template-columns: minmax(0, 1fr);
  }
  .study-summary {
    display: none;
  }
  .module-grid {
    gap: 18px;
  }
  .module-cover {
    height: 145px;
  }
  .module-info {
    padding: 15px;
  }
  .module-info h3 {
    font-size: 17px;
  }
  .module-footer {
    padding: 12px 15px;
    flex-wrap: wrap;
  }
  .metric-strip > div {
    gap: 10px;
    padding: 0 10px;
  }
  .metric-strip .icon {
    font-size: 20px;
    width: 23px;
  }
  .metric-strip strong {
    font-size: 24px;
  }
  .metric-strip span {
    font-size: 9px;
  }
  .community-links {
    gap: 15px;
  }
  .community-links b {
    font-size: 13px;
  }
  .community-links small {
    font-size: 9px;
  }
  .community-links > a > .icon:first-child {
    font-size: 19px;
    width: 23px;
  }
  .lesson-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .native-main {
    max-width: 1140px;
  }
  .native-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .login-story {
    padding: 45px 9%;
  }
  .login-form {
    padding: 50px 11%;
  }
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .academy-header {
    height: 76px;
  }
  .portal-layout {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar nav > a {
    font-size: 11px;
    padding: 10px 8px;
    gap: 8px;
  }
  .nav-label {
    font-size: 8px;
    margin-left: 8px;
  }
  .workspace {
    padding: 0 22px;
  }
  .academy-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .hero-visual {
    display: none;
  }
  .hero-copy > p:not(.eyebrow):not(.greeting) {
    max-width: 490px;
  }
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .metric-strip > div {
    justify-content: flex-start;
  }
  .metric-strip > div:nth-child(2) {
    border: 0;
  }
  .metric-strip span {
    font-size: 10px;
  }
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .module-cover {
    height: 155px;
  }
  .club-banner h2 {
    font-size: 25px;
  }
  .club-banner {
    padding: 25px;
    flex-wrap: wrap;
  }
  .community-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .community-links > a {
    padding: 16px 5px;
    border-top: 0;
  }
  .community-links b {
    font-size: 15px;
  }
  .community-links small {
    font-size: 11px;
  }
  .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .lesson-layout,
  .wall-layout,
  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .lesson-layout aside .sticky {
    position: static;
  }
  .wall-layout aside {
    display: none;
  }
  .people-grid,
  .partner-grid,
  .club-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .badge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .course-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .course-search {
    width: 100%;
  }
  .course-tabs {
    justify-content: space-between;
  }
  .course-summary {
    padding: 23px;
    gap: 20px;
  }
  .course-summary h2 {
    font-size: 23px;
  }
  .course-progress {
    min-width: 95px;
  }
  .profile-hero {
    flex-wrap: wrap;
  }
  .profile-hero .button-row {
    margin-left: 0;
  }
  .native-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .native-help {
    display: none;
  }
  .native-main {
    max-width: 820px;
  }
  .native-header {
    padding: 0 25px;
  }
  .native-page > .app-footer {
    margin: 30px;
  }
  .login-layout {
    grid-template-columns: 1fr 1fr;
  }
  .login-story h1 {
    font-size: 40px;
  }
  .login-box h2 {
    font-size: 27px;
  }
  .login-form {
    padding: 45px 10%;
  }
  .login-photo img {
    height: 170px;
  }
  .login-photo span {
    font-size: 10px;
    padding: 9px;
    left: 10px;
  }
  .utility-bar > div {
    padding: 0 25px;
  }
  .app-footer span {
    display: none;
  }
}
@media (max-width: 740px) {
  body {
    font-size: 14px;
  }
  .utility-bar {
    height: 29px;
  }
  .utility-bar > div {
    padding: 0 19px;
    font-size: 8px;
  }
  .utility-bar > div > :last-child {
    display: none;
  }
  .academy-header {
    height: 70px;
    padding: 0 18px;
    gap: 12px;
    position: relative;
    z-index: 80;
  }
  .academy-header .wordmark {
    font-size: 24px;
    margin-right: auto;
  }
  .wordmark > .fa-solid {
    font-size: 25px;
    margin-right: 8px;
  }
  .top-profile .avatar {
    width: 34px;
    height: 34px;
  }
  .top-profile > div {
    display: none;
  }
  .mobile-only {
    display: inline-flex;
    border: 0;
    background: none;
    padding: 7px;
    min-width: 32px;
    min-height: 36px;
  }
  .portal-layout {
    display: block;
    min-height: calc(100vh - 99px);
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 99px;
    z-index: 70;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 18px #20242d12;
    padding: 8px 20px 22px;
  }
  .sidebar nav > a {
    font-size: 13px;
    padding: 10px;
  }
  .sidebar .nav-label {
    font-size: 9px;
    margin: 18px 10px 8px;
  }
  .sidebar .side-bottom {
    margin: 0;
    padding-top: 10px;
  }
  .sidebar .side-mini {
    display: none;
  }
  .sidebar .side-logout {
    font-size: 12px;
  }
  .workspace {
    padding: 0 18px;
  }
  .workspace-top {
    padding: 17px 0;
  }
  .workspace-top > span {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .academy-hero {
    padding: 28px 23px;
    gap: 0;
  }
  .hero-copy h1 {
    font-size: 35px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .hero-copy .greeting {
    font-size: 12px;
  }
  .hero-copy > p:not(.eyebrow):not(.greeting) {
    font-size: 12px;
  }
  .hero-copy .button {
    font-size: 12px;
  }
  .metric-strip {
    margin-bottom: 29px;
    padding: 23px 0;
    gap: 23px;
  }
  .metric-strip .icon {
    font-size: 22px;
    width: 25px;
  }
  .metric-strip strong {
    font-size: 27px;
  }
  .metric-strip span {
    font-size: 9px;
  }
  .section-title {
    align-items: flex-start;
    gap: 16px;
  }
  .section-title h2 {
    font-size: 23px;
  }
  .section-title > a {
    font-size: 10px;
    max-width: 90px;
    text-align: right;
  }
  .section-title .eyebrow {
    font-size: 9px;
  }
  .module-grid,
  .dashboard-courses {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .module-cover {
    height: 205px;
  }
  .module-info {
    padding: 20px;
  }
  .module-info h3 {
    font-size: 22px;
  }
  .module-info p {
    font-size: 12px;
  }
  .module-meta {
    font-size: 11px;
  }
  .module-footer {
    padding: 15px 20px;
  }
  .module-footer small {
    font-size: 10px;
  }
  .module-footer a,
  .locked-label {
    font-size: 11px;
  }
  .club-banner {
    padding: 26px 22px;
    gap: 20px;
  }
  .club-banner h2 {
    font-size: 27px;
  }
  .club-banner p:not(.eyebrow) {
    font-size: 12px;
  }
  .community-links {
    margin-bottom: 10px;
  }
  .page-head {
    margin: 9px 0 25px;
  }
  .page-head h1 {
    font-size: 29px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .page-head p:not(.eyebrow) {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .card {
    padding: 22px;
    margin-bottom: 20px;
  }
  .table-card {
    padding: 0;
  }
  .course-summary {
    display: block;
    padding: 23px;
  }
  .course-summary h2 {
    font-size: 25px;
  }
  .course-progress {
    margin-top: 20px;
  }
  .course-progress strong {
    text-align: left;
    font-size: 27px;
  }
  .course-tabs {
    gap: 12px;
  }
  .course-tabs button {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .filter-bar label {
    width: 100%;
  }
  .submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .submit-row > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .submit-row button {
    align-self: flex-start;
  }
  .club-pillars,
  .partner-grid,
  .people-grid,
  .cert-steps,
  .review-grid,
  .rubric-display {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .partner-card {
    margin-bottom: 20px;
  }
  .stats-grid,
  .stats-grid.four {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .stat {
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .stat strong {
    font-size: 31px;
  }
  .stat small {
    margin-left: auto;
  }
  .badge-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }
  .badge-item .icon {
    margin: 0;
  }
  .result-card {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  .score {
    width: 110px;
    height: 110px;
    font-size: 43px;
  }
  .next-card,
  .focus-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .next-card .button {
    width: 100%;
  }
  .certificate-ready {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .certificate-ready h2 {
    font-size: 25px;
  }
  .action-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .action-summary strong {
    font-size: 24px;
  }
  .detail-modules article {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .page-list article {
    align-items: flex-start;
    flex-direction: column;
  }
  .group-report article {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 12px;
  }
  .group-report article > div {
    grid-column: 1/-1;
  }
  .profile-hero {
    padding: 25px;
    gap: 20px;
  }
  .profile-hero h1 {
    font-size: 29px;
  }
  .profile-hero .button-row {
    width: 100%;
  }
  .action-page-card {
    padding: 23px;
  }
  .post-head {
    align-items: flex-start;
  }
  .post-head > div {
    flex-shrink: 0;
  }
  .post-head .text-button {
    font-size: 10px;
  }
  .person-inline b {
    font-size: 12px;
  }
  .tree {
    padding: 15px;
  }
  .tree ul {
    padding-left: 14px;
  }
  .tree-person {
    min-width: 245px;
  }
  .app-footer {
    margin-top: 28px;
    font-size: 10px;
    padding: 22px 0 90px;
  }
  .chat-launcher {
    right: 18px;
    bottom: 17px;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 12px;
  }
  .chat-panel.floating {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 125px);
    height: 500px;
  }
  .chat-panel.full-chat {
    height: 65vh;
    max-height: none;
  }
  .native-header {
    height: 76px;
    padding: 0 19px;
  }
  .native-header .wordmark {
    font-size: 23px;
  }
  .native-header > .button {
    font-size: 10px;
    padding: 8px 10px;
    gap: 6px;
    min-height: 36px;
  }
  .native-main {
    padding: 24px 18px 0;
  }
  .native-form-card {
    padding: 22px;
  }
  .form-section-head {
    gap: 13px;
  }
  .form-section-head h2 {
    font-size: 20px;
  }
  .form-section-head p {
    font-size: 10px;
  }
  .password-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions > * {
    width: 100%;
  }
  .native-page > .app-footer {
    margin: 20px 18px 0;
    padding-bottom: 25px;
  }
  .login-header {
    height: 75px;
    padding: 0 22px;
  }
  .login-header > span {
    display: none;
  }
  .login-layout {
    display: flex;
    flex-direction: column;
  }
  .login-story {
    padding: 27px 24px;
  }
  .login-story h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 15px 0;
  }
  .login-story h1 br:last-of-type {
    display: none;
  }
  .login-story .eyebrow {
    font-size: 9px;
  }
  .login-story > div > p:not(.eyebrow) {
    font-size: 12px;
    margin-bottom: 0;
  }
  .login-photo {
    display: none;
  }
  .login-form {
    padding: 35px 24px 40px;
  }
  .login-box {
    max-width: none;
  }
  .login-box h2 {
    font-size: 29px;
    margin: 15px 0;
  }
  .login-box form {
    margin-top: 25px;
  }
  .login-box .eyebrow {
    font-size: 9px;
  }
  .setup-body {
    padding: 22px 16px;
  }
  .setup {
    padding: 25px;
  }
  .setup h1 {
    font-size: 28px;
  }
  .certificate-sheet {
    padding: 30px 20px;
  }
  .certificate-sheet h1 {
    font-size: 30px;
  }
  .certificate-sheet h2,
  .cert-name {
    font-size: 27px;
  }
  .certificate-meta {
    flex-direction: column;
    gap: 18px;
  }
  .certificate-page {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .utility-bar,
  .academy-header,
  .sidebar,
  .workspace-top,
  #chat-root,
  #toast,
  .app-footer,
  .certificate-actions,
  .no-print {
    display: none !important;
  }
  .portal-layout {
    display: block;
  }
  .workspace {
    padding: 0;
  }
  .card,
  .module-card {
    break-inside: avoid;
  }
  .certificate-page {
    padding: 0;
    background: white;
  }
  .certificate-sheet {
    max-width: none;
  }
  .module-cover img {
    print-color-adjust: exact;
  }
  body {
    font-size: 11px;
  }
}

.editor-question-heading {
  margin-top: 30px;
}
/* Standalone review and printable certificates share the portal identity. */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 32px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.certificate-body {
  background: #f6f3ee;
  padding: 30px;
}
.print-toolbar {
  max-width: 1050px;
  margin: 0 auto 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.certificate {
  background: white;
  max-width: 1050px;
  margin: 0 auto;
  padding: 55px 65px;
  border: 6px double #d8b47a;
  text-align: center;
}
.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  margin-bottom: 42px;
  border-bottom: 1px solid #ece0cb;
  text-align: left;
}
.cert-top strong {
  font: 900 29px Nunito;
}
.cert-top strong span {
  color: var(--orange);
  margin-left: 5px;
}
.cert-top > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: #94918c;
}
.certificate h1 {
  font-size: 42px;
  margin: 20px 0 30px;
}
.certificate h2 {
  font-size: 39px;
  color: var(--orange-dark);
  margin: 18px 0 28px;
}
.certificate > p {
  font-size: 15px;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 22px;
}
.certificate > p.muted {
  font-size: 12px;
}
.cert-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 30px;
  margin-top: 36px;
  border-top: 1px solid #ece0cb;
  text-align: left;
  font-size: 12px;
}
.cert-bottom small {
  font-size: 9px;
  overflow-wrap: anywhere;
}
.badges-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.earned-badge {
  padding: 8px 12px;
  background: #fff6e5;
  color: #a3721c;
  border: 1px solid #ecdbb9;
  font-size: 11px;
}
.empty-badge {
  font-size: 11px;
  color: #a1a6ae;
}
.profile-main {
  min-width: 0;
}
.profile-side .card {
  padding: 23px;
}
.rank-card {
  max-width: 850px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rank-row > strong {
  margin-left: auto;
  color: var(--orange-dark);
}
.rank-row > div {
  flex: 1;
}
.rank-row small {
  display: block;
}
.rank-row > .place {
  font: 800 25px Nunito;
  color: #bc9979;
  min-width: 25px;
}
.report-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.report-filters label {
  flex: 1;
  min-width: 150px;
}
.profile-bio {
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
}
.question-editor > summary {
  overflow-wrap: anywhere;
}
@media (max-width: 740px) {
  .certificate-body {
    padding: 15px;
  }
  .print-toolbar {
    gap: 15px;
    font-size: 11px;
  }
  .print-toolbar button {
    font-size: 11px;
  }
  .certificate {
    padding: 27px 20px;
  }
  .cert-top {
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 26px;
  }
  .certificate h1 {
    font-size: 29px;
  }
  .certificate h2 {
    font-size: 29px;
  }
  .certificate > p {
    font-size: 12px;
  }
  .cert-bottom {
    flex-direction: column;
  }
  .report-filters {
    flex-direction: column;
  }
  .report-filters label {
    width: 100%;
  }
  .topbar {
    padding: 18px;
    gap: 15px;
  }
  .topbar .wordmark {
    font-size: 24px;
  }
}
@media print {
  .print-toolbar {
    display: none !important;
  }
  .certificate-body {
    padding: 0;
    background: white;
  }
  .certificate {
    max-width: none;
    padding: 35px 45px;
  }
  .certificate h1 {
    font-size: 36px;
  }
  .certificate h2 {
    font-size: 33px;
  }
  .certificate > p {
    font-size: 13px;
  }
  .cert-top {
    margin-bottom: 28px;
  }
}
.profile-cover {
  padding: 0;
  overflow: hidden;
}
.profile-stripe {
  height: 95px;
  position: relative;
  background: #f1e8df;
  border-top: 3px solid var(--orange);
}
.profile-main {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 0 30px;
  margin-top: -26px;
  position: relative;
}
.profile-main > .avatar {
  border: 5px solid white;
}
.avatar.xl {
  width: 110px;
  height: 110px;
  font-size: 30px;
}
.profile-main > div {
  padding-top: 28px;
}
.profile-main h2 {
  font-size: 28px;
  margin-bottom: 7px;
}
.profile-main p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 9px;
}
.profile-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-bio {
  padding: 28px 30px 0;
}
.profile-bio p {
  font-size: 13px;
}
.profile-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 30px 26px;
}
.profile-badges .icon {
  font-size: 10px;
  width: 13px;
  height: 13px;
  margin-right: 5px;
}
.locked-badge {
  color: #989da6;
  background: #f3f4f5;
}
.hierarchy {
  overflow: auto;
}
.hierarchy ul {
  list-style: none;
  margin: 0;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.hierarchy > ul {
  border: 0;
  padding: 0;
}
.hierarchy li {
  padding: 8px 0;
}
.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 25px;
}
.ranking-layout p.muted {
  font-size: 12px;
  margin-top: 22px;
}
.big-points {
  font: 800 52px Nunito;
  color: var(--orange);
  margin: 20px 0;
}
.big-points small {
  font: 400 13px "Nunito Sans";
  color: #8a8f98;
  margin-left: 8px;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.plain-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #777e87;
}
.achievement > span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  width: 45px;
  height: 45px;
  background: #f5f5f6;
  border-radius: 50%;
}
.achievement.earned > span {
  background: #fff0d6;
  color: #b87912;
}
.achievement h3 {
  font-size: 16px;
}
.achievement p {
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 980px) {
  .profile-main {
    flex-wrap: wrap;
  }
  .profile-actions {
    width: 100%;
    margin: 0;
    padding-top: 0 !important;
  }
  .ranking-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 740px) {
  .profile-main {
    padding: 0 22px;
    gap: 15px;
  }
  .profile-main > div {
    padding-top: 12px;
  }
  .profile-main h2 {
    font-size: 23px;
  }
  .avatar.xl {
    width: 85px;
    height: 85px;
    font-size: 26px;
  }
  .profile-main > div:not(.profile-actions) {
    flex: 1;
  }
  .profile-bio {
    padding: 23px 22px 0;
  }
  .profile-badges {
    padding: 0 22px 23px;
  }
  .hierarchy ul {
    padding-left: 15px;
  }
  .ranking-layout {
    gap: 0;
  }
  .big-points {
    font-size: 45px;
  }
}
/* Profile covers and social interactions — additions to the existing layout. */
.profile-stripe.has-banner {
  height: 190px;
}
.profile-stripe > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-stripe .banner-change {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #fff;
  color: var(--ink);
  min-height: 35px;
  padding: 8px 12px;
  font-size: 11px;
  box-shadow: 0 2px 10px #00000012;
}
.banner-edit-preview {
  aspect-ratio: 4 / 1;
  background: #f1e8df;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 18px 0;
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
}
.banner-edit-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#banner-form > button {
  margin-top: 18px;
}
.composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}
.photo-upload {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
}
.photo-upload input {
  max-width: 240px;
  font-size: 11px;
  padding: 6px;
  margin: 0;
}
.upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.upload-preview:empty {
  display: none;
}
.upload-preview img {
  width: 120px;
  max-height: 95px;
  object-fit: contain;
  border-radius: 4px;
}
.upload-preview span {
  max-width: 230px;
  overflow-wrap: anywhere;
}
.emoji-picker {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
}
.emoji-picker > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 7px 0;
  color: var(--muted);
  list-style: none;
}
.emoji-picker > summary::-webkit-details-marker {
  display: none;
}
.emoji-picker > summary::after {
  display: none;
}
.emoji-picker > summary .icon {
  font-size: 19px;
}
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 36px);
  gap: 3px;
  padding: 8px;
  background: #faf8f6;
  border: 1px solid var(--line);
  border-radius: 5px;
  max-width: 100%;
}
.emoji-picker:not([open]) .emoji-grid {
  display: none;
}
.emoji-grid button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 23px;
  width: 36px;
  min-height: 35px;
}
.emoji-grid button:hover {
  background: #ffe6d5;
}
.social-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.post > .social-actions {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 13px;
}
.social-actions button,
.social-actions a {
  font-size: 12px;
}
.reaction-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
}
.reaction-button:hover,
.reaction-button.is-liked {
  color: #d64a23;
  background: transparent;
}
.reaction-button span {
  background: #f1f2f4;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.reaction-button.is-liked span {
  background: #ffeadf;
}
.comment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.post-photo-link {
  display: block;
  margin: 15px 0 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}
.post-photo-link img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}
.post-photo-full {
  display: block;
  background: #f7f7f7;
  margin-top: 14px;
}
.post-photo-full img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}
.post-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.post-detail-layout > * {
  min-width: 0;
}
.post-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.post-comment > a {
  flex: 0 0 auto;
}
.comment-content {
  min-width: 0;
  flex: 1;
}
.comment-content header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.comment-content header a {
  font-size: 12px;
  color: var(--ink);
}
.comment-content time {
  font-size: 10px;
  color: var(--muted);
}
.comment-content p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.comment-content .social-actions {
  gap: 12px;
}
.comment-content .social-actions button {
  font-size: 11px;
}
#post-comments {
  max-height: 650px;
  overflow-y: auto;
  padding-right: 5px;
}
#comment-form {
  margin-top: 20px;
}
.reply-quote,
.composer-reply {
  border: 0;
  border-left: 3px solid var(--orange);
  background: #f7f2ed;
  border-radius: 3px;
  padding: 8px 10px;
  margin: 9px 0;
  min-width: 0;
}
.reply-quote b,
.reply-quote span,
.composer-reply b,
.composer-reply span {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.reply-quote span,
.composer-reply span {
  color: var(--muted);
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.composer-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.composer-reply[hidden] {
  display: none;
}
.composer-reply > div {
  min-width: 0;
}
.composer-reply button {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
}
.message-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}
.message-row.own {
  flex-direction: row-reverse;
}
.message-avatar {
  flex: 0 0 30px;
}
.message-avatar .avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.message-row .message {
  max-width: calc(100% - 40px);
  min-width: 0;
}
.message-author {
  color: #9a562e;
  font-size: 10px;
}
.message .social-actions {
  gap: 12px;
  margin-top: 6px;
}
.message .social-actions button {
  font-size: 10px;
  min-height: 26px;
}
.message .social-actions .icon {
  font-size: 11px;
  width: 13px;
}
.message .reply-quote {
  margin-top: 8px;
  background: #00000005;
}
.chat-header .avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: 10px;
}
.chat-header > div:first-child {
  min-width: 0;
  flex: 1;
}
.chat-header b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-avatar {
  background: #f1e8df;
  color: #a55929;
}
#chat-form {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
}
#chat-form .chat-entry {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}
#chat-form .chat-entry textarea {
  width: 100%;
  min-width: 0;
}
#chat-form .chat-entry > button {
  flex-shrink: 0;
}
.chat-compose-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.chat-compose-tools > small {
  font-size: 9px;
  color: var(--muted);
}
#chat-form .emoji-grid button {
  min-height: 35px;
}
#chat-form .composer-reply {
  margin: 0;
}
#chat-form .composer-reply button {
  min-height: 30px;
}
.chat-compose-tools .emoji-picker[open] {
  flex-basis: 100%;
}
.tree-branch {
  padding: 0;
  border: 0;
  margin: 0;
}
.tree-branch > summary {
  list-style: none;
  cursor: pointer;
}
.tree-branch > summary::-webkit-details-marker {
  display: none;
}
.tree-branch > summary::after {
  display: none;
}
.tree-branch > .tree-person {
  margin: 0;
}
.tree-chevron {
  width: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.tree-chevron .icon {
  font-size: 11px;
  transition: transform 0.15s ease;
}
.tree-branch[open] > summary .tree-chevron .icon {
  transform: rotate(90deg);
}
.tree-branch > ul {
  margin-top: 5px;
  margin-left: 18px;
}
.tree-person > a {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tree-leaf {
  padding-left: 42px;
}
.module-admin-action {
  border-top: 1px solid var(--line);
  padding: 10px 20px;
  background: #fffaf6;
}
.module-admin-action a {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.active-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin-top: 18px;
}
.active-module-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
}
.active-module-list a > span {
  color: var(--orange);
  flex-shrink: 0;
}
.active-module-list a > b {
  flex: 1;
}
@media (max-width: 900px) {
  .post-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .profile-stripe.has-banner {
    height: 135px;
  }
  .profile-stripe .banner-change {
    right: 10px;
    top: 10px;
    font-size: 10px;
    padding: 5px 8px;
  }
  .active-module-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .tree-person {
    gap: 8px;
  }
  .tree-branch > ul {
    margin-left: 7px;
    padding-left: 10px;
  }
  .tree-person .badge {
    font-size: 9px;
  }
  .tree-leaf {
    padding-left: 24px;
  }
  .photo-upload input {
    max-width: 100%;
  }
  .social-actions {
    gap: 10px;
  }
  .post-comment {
    gap: 8px;
  }
  .post-comment .avatar {
    width: 30px;
    height: 30px;
  }
}
