/* --- Reset --- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  background-color: #f6f7fb;
  color: black;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #999;
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

p {
  font-size: 18px;
}

a:hover,
input,
textarea,
select,
button {
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-appearance: none;
  border-radius: 0px;
  font-family: "Inter", sans-serif;
}

/* --- Variables --- */

:root {
  --primary: #eb510f;
  --primary-hover: #c6410c;
  --primary-text: #fff;
  --primary-gradient-start: #f37945;
  --primary-gradient-end: #eb510f;
  --primary-surface: #fff4ec;
  --primary-surface-border: #ffd6c0;
  --primary-rgb: 235, 81, 15;
}

a {
  color: #0099cc;
}

/* --- Main styles --- */

body {
  display: flex;
}

.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #1c1c1f;
  height: 100vh;
  flex-shrink: 0;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 6px 0 18px rgba(16, 24, 40, 0.05);
}

.mobile-nav-toggle,
.mobile-nav-backdrop {
  display: none;
}

.mobileMenuTitle {
  display: none;
}

.sidebar .top {
  overflow-y: auto;
}

.sidebar .top .logo {
  display: block;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #eceff4;
  text-align: center;
}

.sidebar .top .logo img.companySidebarLogo {
  width: 100%;
  max-width: 240px;
  height: 60px;
  object-fit: contain;
}

.sidebar .top .logo img {
  width: auto;
  max-width: 220px;
  max-height: 42px;
  object-fit: contain;
}

.sidebar nav {
  padding: 12px 14px 24px;
}

.sidebar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar nav ul li a {
  color: #4c4f57;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  border: solid 1px #fff;
}

.sidebar nav ul li a i {
  font-size: 18px;
  color: #6b7280;
  transition: color 0.2s ease;
}

.sidebar nav ul li a span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar nav ul li a:hover {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: #1c1c1f;
  transform: translateX(2px);
}

.sidebar nav ul li a:hover i {
  color: var(--primary);
}

.sidebar nav ul li a.active {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--primary-rgb), 0.05)
  );
  color: #0f172a;
  font-weight: 600;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.sidebar nav ul li a.active i {
  color: var(--primary);
}

/* --- Option 1 --- */
.sidebar .group {
  border: solid 1px #ccc;
  padding: 20px;
  border-radius: 10px;
}

.sidebar .group .groupTitle {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #666;
}

/* --- Option 2 --- */
/*.sidebar .group {
   border: solid 1px #ccc;
   padding: 10px;
}

.sidebar .group .groupTitle {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  background-color: #ccc;
  padding: 5px;
}
 */

.redItem {
  background: #a83232 !important;
  color: white !important;
}

.redItem:hover {
  background: #732222 !important;
  color: white !important;
}

.main-content {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 150px;
}

.inner {
  max-width: 1400px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

header {
  width: 100%;
  background-color: white;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 300;
}

header .inner {
  display: flex;
  justify-content: space-between;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  max-width: 300px;
  max-height: 80px;
  display: inline-block;
}

header nav {
}

header nav ul li {
  display: inline-block;
}

header nav ul li a {
  display: inline-block;
  padding: 24px 30px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 22px;
}

header nav ul li a:hover {
  text-decoration: underline;
}

header nav ul li .active {
  color: var(--main-bg-color);
  font-weight: bold;
}

footer {
  background-color: var(--main-bg-color);
  color: var(--main-bg-text-color);
}

footer .logo {
  font-size: 22px;
  font-weight: bold;
  padding: 30px 0;
}

footer .columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

footer .columns .col {
  flex: 1;
}

footer .columns .col .heading {
  font-weight: bold;
}

footer .columns .col .links a {
  display: block;
  width: 100%;
}

footer .links + .heading {
  margin-top: 10px;
}

footer a {
  color: #ddeeff;
}

footer .socLinks {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

footer .socLinks .soci-link {
  text-decoration: none;
  display: inline-block;
  padding: 10px;
  border-radius: 3px;
  vertical-align: top;
  margin-top: 10px;
  flex-basis: 50px;
}

footer .socLinks .soci-link img {
  width: 50px;
}

footer .bottom {
  margin-top: 30px;
  padding: 20px 0;
  border-top: solid 1px var(--main-bg-color-hov);
}

footer .bottom .copyright {
  display: inline-block;
}

footer .bottom .legal {
  float: right;
  display: inline-block;
}

.main {
  padding: 100px 0;
}

.main h1 {
  font-size: 50px;
  font-weight: bold;
}

.sectionHeading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 600;
  color: #1c1c1f;
  margin-bottom: 12px;
}

.sectionHeading span {
  flex: 1;
}

.anchorButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #7a7f8c;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
  position: relative;
  flex: 0 0 34px;
  min-width: auto;
  padding: 0;
  margin-top: 0;
  text-align: center;
}

.anchorButton i {
  font-size: 18px;
  margin-right: 0;
}

.anchorButton:hover,
.anchorButton:focus-visible {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
  outline: none;
}

.anchorButton.copied {
  color: #18794e;
}

.anchorButton.copied::after {
  content: "Copied!";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -185%);
  background: #18794e;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 600px) {
  .sectionHeading {
    font-size: 24px;
  }

  .anchorButton {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .anchorButton i {
    font-size: 16px;
  }
}

.settingsForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.formRow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formRow.split {
  flex-direction: row;
  gap: 20px;
}

.formRow.split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settingsForm label {
  font-weight: 500;
  color: #222;
  margin-top: 0 !important;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px !important;
  border: 1px solid #d9dce5 !important;
  border-radius: 8px !important;
  background-color: #ffffff;
  font-size: 15px !important;
  color: #1c1c1f;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
  outline: none;
}

/* Inline dropdown indicator */
select {
  background-image:
    linear-gradient(45deg, transparent 50%, #4c4f57 50%),
    linear-gradient(135deg, #4c4f57 50%, transparent 50%),
    linear-gradient(#d9dce5, #d9dce5);
  background-position:
    calc(100% - 18px) center,
    calc(100% - 12px) center,
    calc(100% - 2.5rem) center;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
  padding-right: 2.5rem !important;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.settingsForm .finePrint {
  font-size: 13px;
  color: #6f7380;
}

button {
  align-self: flex-start;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  gap: 8px;
}

button:hover {
  background: var(--primary-hover);
}

button[disabled],
input[type="submit"][disabled],
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.secondaryButton {
  padding: 10px 18px;
  background: #ffffff;
  color: #1c1c1f;
  border: 1px solid #d9dce5;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.secondaryButton:hover {
  background: #f3f4f8;
  border-color: var(--primary);
  color: #1c1c1f;
}

.settingsForm.is-loading,
.settingsForm .is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.formFeedback {
  font-size: 14px;
  margin-top: 6px;
}

.formFeedback.info {
  color: #0057b8;
}

.formFeedback.success {
  color: #18794e;
}

.formFeedback.error {
  color: #c0392b;
}

.dangerSection .sectionHeading span {
  color: #a53c0f;
}

.dangerNotice {
  background: linear-gradient(135deg, #fff8f4 0%, #ffe5d6 100%);
  border: 1px solid #f4c8ac;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  color: #5b2b0b;
}

.dangerNotice-lead {
  font-weight: 600;
  margin-bottom: 8px;
}

.dangerZone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #f0b69b;
  border-radius: 12px;
  padding: 20px;
  background: #fffdf9;
}

.dangerZone.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.dangerZone .formRow-inline {
  display: flex;
  align-items: center;
}

.dangerCheckbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #70320c;
}

.dangerCheckbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.planChooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 16px;
}

.planCard {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: block;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.planCard--disabled {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.planCard--disabled .planCard__price {
  color: #6b7280;
}

.planCard__note {
  font-size: 13px;
  color: #6b7280;
}

.planCard input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.planCard__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.planCard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.planCard__price {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.planCard__desc {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.planCard__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1f2937;
  font-size: 14px;
}

.planCard__features li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

#oracle-toast.oracleToast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 10px) scale(0.98);
  background: #0f172a;
  color: #fff;
  padding: 14px 18px 18px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 9999;
  min-width: 260px;
  text-align: center;
}

#oracle-toast.oracleToast.visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

#oracle-toast.oracleToast .toastProgress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #f97316);
  width: 100%;
  transform-origin: left;
  animation: toastCountdown 4s linear forwards;
}

@keyframes toastCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.planCard:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.planCard:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dangerButton {
  background: #d92d20;
  color: #fff;
  border: none;
}

.dangerButton:hover {
  background: #b42318;
}

.featureList {
  margin: 12px 0 18px;
  padding-left: 1.2rem;
  color: #34373f;
}

.featureList li {
  margin-bottom: 6px;
  line-height: 1.4;
}

input[type="date"] {
  min-height: 46px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(39%) sepia(58%) saturate(563%) hue-rotate(348deg)
    brightness(97%) contrast(90%);
  cursor: pointer;
}

input[type="url"] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .formRow.split {
    flex-direction: column;
  }
}

.btn {
  margin-top: 30px;
  padding: 20px;
  font-size: 20px;
  background-color: var(--main-bg-color);
  color: var(--main-bg-text-color);
  border: none;
  outline: none;
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--main-bg-color-hov);
  color: var(--main-bg-text-color-hov);
}

#map {
  height: 700px;
  margin-top: 50px;
}

.contact {
  padding: 150px 0;
}

.contactForm {
  max-width: 600px;
  width: 100%;
  margin-top: 30px;
}

.contactForm .turnstile {
  height: 72px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* --- Privacy policy --- */

.privacy h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.privacy h2 {
  font-size: 35px;
  margin-top: 30px;
  margin-bottom: 5px;
}

.privacy p {
  font-size: 20px;
}

.privacy p + p {
  margin-top: 20px;
}

.privacy li {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.privacy ul {
  margin-left: 50px;
}

.light {
  background-color: white !important;
  color: black !important;
}

.dark {
  background-color: #ebebee !important;
  color: black !important;
}

section {
  padding: 50px 0;
}

section + section {
  padding-top: 0;
}

.hero {
  background-color: var(--main-bg-color);
  color: var(--main-bg-text-color);
  padding: 130px 0 !important;
}

.hero h1 {
  font-size: 60px;
}

.together .inner {
  display: flex;
  gap: 50px;
  flex-direction: row;
  align-items: center;
}

.together .inner .image img {
  width: 100%;
}

.together .inner .image {
  flex: 1;
}

.together .inner .text {
  flex: 1.5;
}

.touchBottom {
  padding-bottom: 0 !important;
}

.touchBottom .inner .text {
  padding-bottom: 150px !important;
}

/*
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
  border: solid 1px #ccc;
  padding: 20px;
  font-size: 20px;
  width: 100%;
  border-radius: 3px;
}

label {
  display: block;
  margin-top: 20px;
  margin-bottom: 5px;
}

button,
input[type="submit"],
.btn {
  background-color: var(--primary);
  color: var(--primary-text);
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  min-width: 180px;
  padding: 15px 30px;
  font-size: 16px;
  margin-top: 30px;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
  background-color: #ffb595;
}

button[disabled],
input[type="submit"][disabled],
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn i,
button i {
  font-weight: 300 !important;
  display: inline-block;
  margin-right: 10px;
}

textarea {
  min-height: 280px;
}
  */

video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.loginPage {
  background-color: #ebebee;
  display: inline-block;
}

.loginPage nav {
  background-color: white;
  width: 100%;
}

.loginPage nav .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

.loginPage nav .logo {
  padding: 15px 0;
}

.loginPage nav .logo img {
  width: 100%;
  max-width: 250px;
}

.loginPage nav .inner .nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.loginPage nav .inner .nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 17px;
}

.loginPage nav .inner .nav a:hover {
  text-decoration: underline;
}

.loginPage nav .inner .nav a.selected {
  color: #777;
}

.loginPage .extras {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.loginPage .extras a {
  color: var(--primary);
  font-size: 14px;
}

.login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 500px;
}

.login h1 {
  font-size: 40px;
}

.login p {
  margin: 20px 0;
  font-size: 16px;
}

.login .inner {
  position: relative;
  display: inline-block;
  padding: 50px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 8%);
  width: 100% !important;
}

.login .turnstile {
  height: 69px;
  margin-top: 30px;
}

.hero a {
  color: white;
}

.entries .all {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.business {
  border: solid 1px #ccc;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
}

.business h3 {
  margin-bottom: 10px;
}

.business .lastAGSReport {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-top: 20px;
}

.business .last {
  margin-top: 20px;
  font-weight: bold;
  font-size: 16px;
  color: #666;
}

.business .lastAGSReport .data {
  padding: 30px;
  border: solid 1px #ccc;
  border-radius: 10px;
  flex: 1;
  text-align: center;
}

.quickActions {
  background-color: white;
  padding: 10px 0;
}

.quickActions a {
  padding: 10px 20px;
  display: inline-block;
  background-color: #fc4c5c;
  color: white;
  border-radius: 3px;
  text-decoration: none;
}

.quickActions a i {
  margin-right: 5px;
}

.navigator {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: solid 1px #ccc;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.navigator .image img {
  border-radius: 50%;
  height: 100px;
  width: 100px;
  border: solid 4px var(--primary);
}

.navigator .details h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.navigator .details p {
  margin-bottom: 20px;
  font-size: 15px;
}

.navigator .details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coverAll {
  min-height: calc(100vh - 65px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverAll form {
  max-width: 600px;
  border: solid 1px #ccc;
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 8%);
}

.contactSection {
  margin-top: 30px;
}

.contactLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

.contactIntro,
.contactFormWrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contactIntro-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contactEyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.contactHeading {
  font-size: 32px;
  line-height: 1.2;
  color: #1b1d24;
}

.contactIntro-header > p {
  color: #4c4f57;
  font-size: 16px;
  line-height: 1.6;
}

.contactHighlights {
  display: grid;
  gap: 16px;
}

.contactHighlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #d9dce5;
  background: linear-gradient(135deg, #f9fafe 0%, #ffffff 100%);
  box-shadow: 0 6px 12px rgba(16, 24, 40, 0.06);
}

.contactHighlight i {
  font-size: 24px;
  color: var(--primary);
  line-height: 1;
  margin-top: 4px;
}

.contactHighlight h3 {
  font-size: 18px;
  color: #111320;
  margin-bottom: 6px;
}

.contactHighlight p {
  font-size: 15px;
  color: #4c4f57;
  line-height: 1.5;
}

.contactHighlight.is-disabled {
  border-style: dashed;
  background: linear-gradient(135deg, #f5f6fa 0%, #ffffff 100%);
  color: #7a7f8f;
  opacity: 0.85;
}

.contactHighlight.is-disabled i {
  color: #9aa1b9;
}

.contactHighlight.is-disabled h3 {
  color: #303445;
}

.billingAlert {
  margin: 20px 0 30px;
  border: 1px solid var(--primary-surface-border);
  background: linear-gradient(135deg, var(--primary-surface) 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.08);
}

.billingAlert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.billingAlert-copy strong {
  display: block;
  font-size: 18px;
  color: #a53c0f;
  margin-bottom: 6px;
}

.billingAlert-copy p {
  margin: 0;
  font-size: 15px;
  color: #4c4f57;
  line-height: 1.5;
}

.billingAlert .secondaryButton {
  white-space: nowrap;
}

.contactFormCard {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #d9dce5;
  background: #f6f7fb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contactFormCard h3 {
  font-size: 22px;
  color: #1b1d24;
  margin-bottom: 6px;
}

.contactFormCard p {
  color: #4c4f57;
  font-size: 15px;
  line-height: 1.6;
}

.contactForm {
  margin-top: 22px;
}

.contactForm button {
  align-self: flex-start;
  padding: 12px 24px;
}

@media (max-width: 1024px) {
  .contactLayout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contactIntro,
  .contactFormWrapper {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .contactSection .inner {
    padding: 20px;
  }

  .contactFormCard {
    padding: 22px;
  }
}

@media (max-width: 680px) {
  .billingAlert-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .billingAlert .secondaryButton {
    width: 100%;
    justify-content: center;
  }
}

.back {
  position: fixed;
  top: 20px;
  left: 20px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile .image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.profile .details h1 {
  margin-bottom: 10px;
}

.upperContent .inner {
  display: flex;
  gap: 50px;
}

.upperContent .inner > div {
  flex: 1;
}

.status {
  background-color: white;
  margin-top: 20px;
  border: solid 1px #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.status h3 {
  font-size: 12px;
  padding-top: 10px;
  padding-left: 10px;
}

.status .flex {
  display: flex;
  padding: 30px;
}

.prevDat {
  background-color: #ebebee;
  border-top: solid 1px #ccc;
}

.data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.value {
  font-size: 24px;
  /* Adjust this as needed */
  font-weight: bold;
}

.value sup {
  font-size: 10px;
}

.name {
  font-size: 14px;
  /* Adjust this as needed */
  font-weight: bold;
  color: #666;
  margin-top: 10px;
}

.marketing h3 {
  background-color: #ff6f61;
  color: white;
}

.sales h3,
.selling h3 {
  background-color: #00c1d4;
  color: black;
}

.delivery h3,
.operations h3 {
  background-color: #ffd166;
  color: black;
}

.finance h3,
.finances h3 {
  background-color: #06d6a0;
  color: black;
}

.strategy h3 {
  background-color: #073b4c;
  color: white;
}

.element {
  padding: 5px 15px;
  border-radius: 30px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
}

.gap .more {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

.marketing {
  background-color: #ff6f61;
  color: white;
}

.sales,
.selling {
  background-color: #00c1d4;
}

.delivery,
.operations {
  background-color: #ffd166;
}

.finance,
.finances {
  background-color: #06d6a0;
}

.strategy {
  background-color: #073b4c;
  color: white;
}

.col h3 {
  padding: 15px 30px;
}

.fabFive {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 equal-width columns */
  text-align: center;
  gap: 10px;
  margin-top: 20px;
}

.fabFive .col {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}

.col .holder {
  padding: 20px;
  text-align: left;
}

.col .holder ul {
  padding-left: 20px;
}

.dashboardHero {
  background-size: cover;
  background-position: top;
  padding: 0 !important;
  text-align: center;
}

.dashboardHero .cover {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 50px 0;
}

.dashboardHero img {
  max-width: 300px;
  width: 100%;
}

.company {
  margin-top: 20px;
  align-items: center;
  background-color: white;
  border: solid 1px #ccc;
  border-radius: 10px;
  padding: 30px;
}

.company .inc {
  padding: 10px 0;
}

.company .futureVision {
  padding: 10px;
  border-radius: 5px;
  background-color: #ddffea;
  margin-top: 15px;
}

.company .futureVision .header {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 5px;
}

.company .visionRow {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 15px;
}

.company .visionRow .futureVision {
  margin-top: 0;
}

.company .missionStatement {
  padding: 10px;
  border-radius: 5px;
  background-color: #e7f0ff;
}

.company .missionStatement .header {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 5px;
}

.company .orbitScoreTeaser {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #d6d7ff;
  background: linear-gradient(135deg, #f6f7ff 0%, #eefbf8 100%);
  color: #111827;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.company .orbitScoreTeaser:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  border-color: #babdff;
}

.company .orbitScoreTeaserLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f46e5;
}

.company .orbitScoreTeaserValue {
  margin-left: auto;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.company .orbitScoreTeaserMeta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

@media (max-width: 720px) {
  .company .orbitScoreTeaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .company .orbitScoreTeaserValue {
    margin-left: 0;
  }
}

.smaller {
  font-size: 14px;
}

.legalName {
  font-size: 14px;
  margin-left: 3px;
  color: #666;
}

.background .inner {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: white;
}

.background p + p {
  margin-top: 20px;
}

.background h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.background h2 {
  font-size: 26px;
  margin-bottom: 5px;
}

.background .cards {
  display: flex;
  margin-top: 20px;
  gap: 50px;
}

.background .cards a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: var(--primary-text);
  border: solid 1px var(--primary);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 8%);
}

.background .cards a:hover {
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
  background-color: #ffeae0;
}

.background .cards a img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
}

.background .cards a p {
  margin-top: 20px;
}

.background .cards a .info {
  font-size: 12px;
  margin-top: 10px;
}

.warning {
  background-color: #ff4d4d;
  /* A modern red */
  color: white;
  border-left: 5px solid #ffcc00;
  /* A bright warning yellow */
  font-weight: bold;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-top: 20px;
}

.warning::before {
  content: "⚠️";
  font-size: 24px;
  margin-right: 15px;
}

.userStripeNotSetup {
  margin-top: 20px;
  display: inline-block;
}

.container {
  padding: 2rem;
  max-width: 100%;
  overflow-x: auto;
}

h1 {
  margin-bottom: 1rem;
  colour: #333;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

thead {
  background-color: var(--primary);
  color: var(--primary-text);
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

tbody tr:hover {
  background-color: #fdf3ee;
}

a.user-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

a.user-link:hover {
  text-decoration: underline;
}

.pagination {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a {
  padding: 8px 12px;
  text-decoration: none;
  background: #eee;
  color: #000;
  border-radius: 4px;
}

.pagination a.active {
  background: var(--primary);
  color: var(--primary-text);
  font-weight: bold;
}

.user-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

.user-container h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.user-container .user-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.user-container .user-grid section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .user-container .user-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.user-container h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.user-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-container li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.user-container strong {
  display: inline-block;
  width: 160px;
  colour: #333;
}

.user-container span[title] {
  cursor: help;
  border-bottom: 1px dotted #aaa;
}

.user-container .error {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background: #ffe0dc;
  color: #a33;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-weight: bold;
  text-align: centre;
}

.video-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.video-container .video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.video-container .video-header h1 {
  font-size: 2rem;
}

.video-container .btn-add {
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}

.video-container .btn-add:hover {
  background: #cc6237;
}

.video-container .video-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.video-container .video-table th,
.video-container .video-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.video-container .video-table th {
  background: var(--primary);
  color: var(--primary-text);
}

.video-container .video-table tr:hover {
  background: #fdf3ee;
}

.video-container .btn-view {
  background: var(--primary);
  color: var(--primary-text);
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  display: inline-block;
  white-space: nowrap;
  /* prevents text wrapping */
  min-width: 100px;
  /* gives it consistent width */
  text-align: center;
}

.video-container .btn-view:hover {
  background: #cc6237;
}

.video-container .pagination {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.video-container .pagination a {
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  background: #eee;
  color: #000;
}

.video-container .pagination a.active {
  background: var(--primary);
  color: var(--primary-text);
  font-weight: bold;
}

.video-container .video-table td {
  vertical-align: top;
}

/* Clamp long titles */

.video-container .video-table td:nth-child(2) {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Clamp long descriptions with 3 lines */

.video-container .video-table td:nth-child(3) {
  max-width: 400px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.video-container .video-table td:last-child,
.video-container .video-table th:last-child {
  width: 120px;
}

.video-add-container {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.video-add-container h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.video-add-container label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.video-add-container input,
.video-add-container textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.video-add-container textarea {
  min-height: 120px;
  resize: vertical;
}

.video-add-container .btn-submit {
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.75rem 1.25rem;
  border: none;
  margin-top: 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.video-add-container .btn-submit:hover {
  background: #cc6237;
}

.video-add-container .btn-cancel {
  margin-left: 1rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.video-add-container .btn-cancel:hover {
  text-decoration: underline;
}

.video-add-container .form-error {
  background: #ffe0e0;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  color: #a33;
}

.video-add-container .form-error ul {
  margin: 0;
  padding-left: 1.25rem;
}

#rai-input-section {
  border: solid 1px #ccc;
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: white;
  overflow: hidden;
  border-radius: 40px;
  padding: 10px;
}

#rai-input-section textarea {
  height: 45px;
  font-size: 18px;
  min-height: auto;
  flex-grow: 1;
  padding: 10px;
  border: none;
}

#rai-input-section button {
  margin: 0;
  padding: 12px 20px;
  font-size: 18px;
  min-width: auto;
  border-radius: 30px;
}

#rai-interface {
  height: calc(100vh - 145px);
  display: flex;
  flex-direction: column;
}

#rai-interface #rai-output {
  flex-grow: 1;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

#rai-interface .user {
  padding: 20px;
  background-color: lightgrey;
  border-radius: 10px;
  display: inline-block;
}

#rai-interface .rai {
  padding: 20px;
  background-color: lightgoldenrodyellow;
  border-radius: 10px;
  display: inline-block;
}

.navigator a,
.navigator .qxCTlb {
  padding: 10px 20px;
  border-radius: 20px;
  background-color: var(--primary) !important;
  color: var(--primary-text);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  margin-top: 0;
  font-weight: 800;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.navigator a i,
.navigator .qxCTlb i {
  font-weight: 300;
}

.gaps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.gaps .gap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 6px 12px rgba(16, 24, 40, 0.05);
}

.gaps .gap input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  border: solid 1px #cfd4dc;
  border-radius: 4px;
}

.gaps .gap input[type="checkbox"]:checked {
  border-color: var(--primary);
  background-color: var(--primary);
}

.gaps .gap .holder {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gaps .gap .text {
  font-size: 1rem;
  color: #0f172a;
}

.gaps .gap .focusText {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.gaps .gap.focused {
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), #fff);
}

.gaps .gap.completed {
  background-color: #f5f5f5;
  border-style: dashed;
}

.gaps .gap.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.gap-toast-container {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  z-index: 1000;
}

.gap-toast {
  background: #111827;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 8px;
  animation: toast-in 0.25s ease forwards;
}

.gap-toast__text {
  font-size: 14px;
  line-height: 1.4;
}

.gap-toast__actions {
  display: flex;
  justify-content: flex-end;
}

.gap-toast__bar {
  height: 4px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.4));
  width: 100%;
  border-radius: 999px;
  transition: width 0.05s linear;
}

.btn-link {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
}

.gap-toast.is-exiting {
  animation: toast-out 0.22s ease forwards;
}

@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toast-out {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

.gap-page {
  background: #f6f7fb;
  padding-bottom: 2rem;
}

.gap-layout {
  display: grid;
  gap: 20px;
}

.gap-hero {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08),
    rgba(0, 153, 204, 0.08)
  );
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.gap-hero h1 {
  margin: 6px 0;
  font-size: 1.8rem;
}

.gap-hero .muted {
  color: #4b5563;
  max-width: 680px;
}

.gap-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
}

.stat-card {
  min-width: 110px;
  padding: 10px 12px;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-align: left;
}

.stat-card--positive {
  border-color: rgba(var(--primary-rgb), 0.45);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.14),
    rgba(var(--primary-rgb), 0.08)
  );
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.stat-value {
  display: block;
  font-weight: 800;
  font-size: 18px;
  color: #111827;
}

.gap-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
}

.gap-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gap-column--wide {
  min-width: 0;
}

.gap-panel {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 12px 22px rgba(16, 24, 40, 0.06);
}

.gap-panel--secondary {
  background: linear-gradient(
    135deg,
    rgba(0, 153, 204, 0.06),
    rgba(var(--primary-rgb), 0.04)
  );
}

.gap-panel--list {
  padding: 10px 12px 14px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-header h3 {
  margin: 6px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
}

.muted {
  color: #6b7280;
}

.gap-form {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.gap-form__controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.gap-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid #cfd4dc;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
  resize: vertical;
}

.gap-form button[type="submit"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--primary-text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease,
    filter 0.08s ease;
  text-align: center;
  display: block;
  align-self: stretch;
}

.gap-form button[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.3);
}

.gap-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.gap-form #gap-form-feedback {
  margin-top: 0.35rem;
  min-height: 1.1rem;
}

.toggle-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  user-select: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition:
    background-color 0.2s ease,
    border 0.2s ease;
  border: 1px solid transparent;
}

.toggle-label:hover {
  background-color: #f8fafc;
  border-color: #e5e7eb;
}

.toggle-label input[type="checkbox"],
.gap-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  display: inline-grid;
  place-content: center;
}

.toggle-label input[type="checkbox"]::after,
.gap-panel input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: scale(0);
  transition: transform 0.15s ease;
  background: #fff;
}

.toggle-label input[type="checkbox"]:checked,
.gap-panel input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.toggle-label input[type="checkbox"]:checked::after,
.gap-panel input[type="checkbox"]:checked::after {
  transform: scale(1);
}

.focus-summary {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  background: var(--primary-surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gap-panel .empty-state {
  margin: 10px 0;
}

.gap-cards {
  display: grid;
  gap: 12px;
}

.gap-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gap-card.is-focus {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 12px 22px rgba(var(--primary-rgb), 0.18);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.06),
    rgba(255, 255, 255, 0.9)
  );
}

.gap-card.is-complete {
  opacity: 0.85;
}

.gap-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gap-card__task {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #0f172a;
}

.gap-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease,
    background 0.08s ease;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--primary-text);
  box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 10px 18px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

.btn-ghost:hover {
  background: #f8fafc;
  border-color: #cdd3dd;
  transform: translateY(-1px);
}

.btn-ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #111827;
  font-weight: 600;
}

.chip--accent {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.4);
  color: var(--primary);
}

.chip--muted {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #374151;
}

.completed-list .gap-card {
  background: linear-gradient(135deg, #f8fafc, #f3f4f6);
  border-style: dashed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .gap-form__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .gap-form button[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .gap-grid {
    grid-template-columns: 1fr;
  }

  .gap-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .gap-hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    width: 100%;
  }
}

.trend-arrow {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.trend-up {
  color: green;
  animation: bounce-up 1s ease infinite;
}

.trend-down {
  color: red;
  animation: bounce-down 1s ease infinite;
}

.trend-neutral {
  color: orange;
  opacity: 0.7;
}

@keyframes bounce-up {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes bounce-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.status-green {
  animation: heartbeat-shadow-green 1.5s infinite;
}

.status-amber {
  animation: heartbeat-shadow-amber 1.5s infinite;
}

.status-red {
  animation: heartbeat-shadow-red 1.5s infinite;
}

.bevItem.status-green {
  color: rgb(40, 167, 69) !important;
}

.bevItem.status-amber {
  color: rgb(255, 193, 7) !important;
}

.bevItem.status-red {
  color: rgb(220, 53, 69) !important;
}

@keyframes heartbeat-shadow-green {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(40, 167, 69, 0.5);
  }
}

@keyframes heartbeat-shadow-amber {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(255, 193, 7, 0.5);
  }
}

@keyframes heartbeat-shadow-red {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(220, 53, 69, 0.5);
  }
}

.bev {
  margin-top: 20px;
  align-items: center;
  background-color: white;
  border: solid 1px #ccc;
  border-radius: 10px;
  overflow: hidden;
  padding: 30px;
}

.bev .bevBar {
  padding: 2px;
  background-color: #ccc;
  border-radius: 12px;
  margin-top: 20px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.bev .bevBar .bevBarActual {
  height: 20px;
  background-color: rgb(40, 167, 69);
  border-radius: 10px;
  text-align: center;
  color: white;
  padding: 2px;
  font-weight: 800;
  font-size: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.bev p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}

.bevRoller {
  display: inline-block;
  height: 60px;
  overflow: hidden;
  border-radius: 8px;
}

#bevDisplay.bevItem {
  font-size: 2.2em;
  font-weight: bold;
  color: #fc4c5c;
  padding: 0 0;
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  min-width: 250px;
  display: inline-block;
  box-sizing: border-box;
}

@keyframes slideUpOut {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  100% {
    transform: translateY(-110%);
    opacity: 0;
  }
}

@keyframes slideDownInAlive {
  0% {
    transform: translateY(110%);
    opacity: 0;
  }
  60% {
    transform: translateY(-10%);
    opacity: 1;
  }
  80% {
    transform: translateY(5%);
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.fx-slide-up-out {
  animation: slideUpOut 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.fx-slide-down-in {
  animation: slideDownInAlive 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.comingSoon {
  font-size: 12px !important;
}

.horzNav {
  background-color: white;
  padding: 0 22px;
  border-bottom: 1px solid #e0e0e0;
  min-height: 70px;
}

.horzNav.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.horzNav .branding {
  display: inline-flex;
  align-items: center;
  min-height: 70px;
  gap: 10px;
  font-size: 14px;
  font-weight: bold;
  color: rgb(102, 102, 102);
}

.horzNav .branding--helm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.horzNav .branding--helm .brandingLogo {
  display: block;
  align-self: center;
}

.horzNav .branding--helm .brandingDivider {
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1;
}

.horzNav .branding--helm > span:last-child {
  display: inline-flex;
  align-items: center;
  align-self: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #4b5563;
}

.horzNav .brandingLogo,
.horzNav .brandingDivider {
  display: none;
}

.horzNav .branding--helm .brandingLogo,
.horzNav .branding--helm .brandingDivider {
  display: none;
}

.horzNav .brandingLogo {
  max-width: 92px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.horzNav a {
  text-decoration: none;
  color: var(--primary);
}

.horzNav .searchButton {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 781px) {
  .horzNav .searchButton {
    margin-right: 110px;
  }
}

.horzNav .searchButton a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-gradient-end) 0%, var(--primary) 55%, var(--primary-gradient-start) 100%);
  color: var(--primary-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 22px rgba(var(--primary-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  isolation: isolate;
  animation: dashboardNewButtonPulse 2.8s ease-in-out infinite;
}

.horzNav .searchButton a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 32%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg) translateX(0);
  animation: dashboardNewButtonShine 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.horzNav .searchButton a > * {
  position: relative;
  z-index: 1;
}

.horzNav .searchButton a i {
  font-size: 17px;
}

.horzNav .searchButton a:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 14px 28px rgba(var(--primary-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.horzNav .searchButton a:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.28);
  outline-offset: 3px;
}

@keyframes dashboardNewButtonPulse {
  0%,
  100% {
    box-shadow:
      0 10px 22px rgba(var(--primary-rgb), 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  50% {
    box-shadow:
      0 14px 28px rgba(var(--primary-rgb), 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
}

@keyframes dashboardNewButtonShine {
  0%,
  15% {
    transform: skewX(-20deg) translateX(0);
  }

  45%,
  100% {
    transform: skewX(-20deg) translateX(420%);
  }
}

.planChip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #f1f3f8;
  color: #1c1c1f;
  font-size: 13px;
  font-weight: 500;
}

.sidebar .userFooter {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #eceff3;
  border-radius: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  position: relative;
}

.sidebar .userFooter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.sidebar .userFooter .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--primary-rgb), 0.35)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-text);
  font-weight: 600;
}

.sidebar .userFooter .details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sidebar .userFooter .details strong {
  font-size: 14px;
  color: #1c1c1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar .userFooter .details .planChip {
  background-color: #f7f8fc;
  font-size: 12px;
  padding: 4px 10px;
}

.sidebar .userFooter .details .hint {
  font-size: 12px;
  color: #8a94a6;
  padding: 0;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}

.sidebar .userFooter .details .hint i {
  font-size: 13px;
  color: #b0b8c5;
}

.emailChip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #eef2ff;
  color: #1f2a4a;
  font-size: 12px;
  font-weight: 500;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emailChip i {
  font-size: 14px;
  color: #4753b7;
}

.profileToggle-caret {
  margin-left: auto;
  color: #9aa3b2;
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.profileToggle-caret i {
  font-size: 18px;
}

.profileToggle.is-open .profileToggle-caret {
  transform: rotate(180deg);
  box-shadow: none;
  border-color: #e5e7eb;
}

.sidebar .userFooter:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  border-color: #dde3ea;
}

.sidebar .userFooter:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sidebar .userFooter:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px;
}

.profileToggle.is-open {
  border-color: #dde3ea;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.sidebar .bottom {
  position: relative;
}

.userFooter-popover {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 90px;
  background: #ffffff;
  border: 1px solid #eceff3;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 4;
}

.userFooter-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.userFooter-popoverCard {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.userFooter-popover .popoverHeader {
  display: block;
}

.userFooter-popover .identityCard {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none;
  border-bottom: 1px solid #f1f5f9;
}

.userFooter-popover .identityLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aa3b2;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.userFooter-popover .identityLabel i {
  font-size: 13px;
}

.userFooter-popover .identityName strong {
  font-size: 15px;
  color: #1c1c1f;
  line-height: 1.25;
}

.userFooter-popover .identityBusiness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.userFooter-popover .identityBusiness i {
  font-size: 14px;
  color: #b0b8c5;
}

.userFooter-popover .identityMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
}

.userFooter-popover .identityMeta .metaItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  font-size: 12px;
  color: #8a94a6;
}

.userFooter-popover .identityMeta .metaItem i {
  color: #b0b8c5;
}

.userFooter-popover .popoverActions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.userFooter-popover .popoverActions a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  background: #ffffff;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.userFooter-popover .popoverActions a:hover {
  background: #f8fafc;
  border-color: #eef2f7;
  transform: translateY(-1px);
}

.userFooter-popover .popoverActions .logoutAction {
  background: #ffffff;
  border-color: transparent;
  color: #374151;
}

.userFooter-popover .popoverActions .logoutAction:hover {
  background: #f8fafc;
  border-color: #eef2f7;
}

.userFooter-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  z-index: 3;
}

.userFooter-backdrop.is-open {
  pointer-events: auto;
}

.generalContainer {
  padding: 20px;
}

.videoPlayerShell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.videoPlayer-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
  background: linear-gradient(135deg, var(--primary-surface), #ffffff);
  border: 1px solid var(--primary-surface-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.12);
}

@media (max-width: 1024px) {
  .videoPlayer-main {
    grid-template-columns: 1fr;
  }
}

.playerFrame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.playerFrame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.aiExplainer {
  margin: 8px 0 18px;
  max-width: 720px;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.aiExplainerText {
  margin-bottom: 10px;
}

.aiExplainerText h4 {
  margin: 0 0 4px;
}

.aiExplainerText p {
  margin: 0;
  color: #4c4f57;
}

.aiExplainerFrame {
  padding-bottom: 56.25%;
}

.videoMetaCard {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #e8ebf2;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.videoMetaCard .metaTop {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.videoMetaCard h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #752706;
}

.videoDescription {
  margin: 0;
  color: #4c4f57;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-surface);
  color: var(--primary);
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e6e9f0;
  color: #4c4f57;
  font-size: 12px;
  background: #fff;
}

/* GAP element color tags */
.chip--marketing {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.35);
  color: var(--primary);
}

.chip--sales,
.chip--selling {
  background: rgba(0, 153, 204, 0.14);
  border-color: rgba(0, 153, 204, 0.35);
  color: #0f4c81;
}

.chip--delivery,
.chip--operations {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #0f5132;
}

.chip--finance,
.chip--finances {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.35);
  color: #5b21b6;
}

.chip--strategy {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: #1d4ed8;
}

.videoSeries {
  margin-top: 8px;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  padding: 16px;
}

.videoSeries .seriesHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.videoSeries .seriesHeader h3 {
  margin: 0;
}

.videoSeries .seriesSub {
  margin: 4px 0 0;
  color: #4c4f57;
}

.seriesBadge img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e6e9f0;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
}

.seriesHolder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.seriesCard {
  display: flex;
  gap: 10px;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.seriesCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.12);
  border-color: var(--primary-surface-border);
}

.seriesCard.is-current {
  border-color: var(--primary-gradient-start);
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.2);
}

.seriesThumb {
  width: 120px;
  min-width: 120px;
  background-size: cover;
  background-position: center;
  height: 100%;
}

.seriesBody {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.seriesMeta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-current {
  border-color: var(--primary-gradient-start);
  color: var(--primary);
  background: var(--primary-surface);
}

.seriesTitle {
  font-weight: 700;
  color: #1c1c1f;
}

.timeline {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-card {
  display: flex;
  gap: 12px;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  padding: 14px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
}

.timeline-card.is-review {
  border-color: var(--primary-surface-border);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.12);
  background: linear-gradient(180deg, var(--primary-surface) 0%, #ffffff 100%);
}

.timeline-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #e6e9f0;
}

.timeline-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.timeline-name {
  font-weight: 700;
  color: #1c1c1f;
}

.timeline-time {
  font-size: 12px;
  color: #6b7280;
}

.timeline-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.timeline-message {
  font-size: 14px;
  line-height: 1.5;
  color: #4c4f57;
}

.timeline-card.is-review .timeline-message {
  background: var(--primary-surface);
  border: 1px solid var(--primary-surface-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.timeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-btn {
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e6e9f0;
  background: #fff;
  color: #1c1c1f;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.timeline-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.12);
  border-color: var(--primary-surface-border);
}

.timeline-btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-text);
}

.timeline-btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-text);
}

.timeline-btn-secondary {
  background: #fff;
  color: #1c1c1f;
}

.timeline-card.is-actioned {
  opacity: 0.68;
}

.cyberGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.cyberCard {
  display: flex;
  gap: 12px;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  padding: 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.cyberIcon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.cyberBody {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cyberBody h3 {
  margin: 0;
  color: #1c1c1f;
}

.cyberBody p {
  margin: 0;
  color: #4c4f57;
  line-height: 1.5;
}

.cyberMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cyberCallout {
  margin-top: 8px;
  padding: 14px;
  border: 1px dashed #e8ebf2;
  border-radius: 12px;
  background: #fff;
  color: #4c4f57;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}

.aiCrew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aiCrew-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
}

.aiCrew-plus {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.18);
}

.aiCrew-card--feature {
  min-height: 280px;
}

.aiCrew-teamHeader {
  margin: 6px 0 16px;
}

.aiPodsSection {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
}

.aiPodsHeader h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.aiPodsHeader p {
  margin: 0;
  color: #4b5563;
}

.aiPodsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  align-items: start;
}

.aiPodsCard {
  min-height: 0;
  align-self: start;
}

.aiPodsCardTop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aiPodsAvatar {
  flex: 0 0 auto;
}

.aiPodsTitleWrap {
  display: grid;
  gap: 8px;
}

.aiPodsTypeChip {
  background: var(--primary-surface);
  border-color: var(--primary-surface-border);
  color: var(--primary);
}

.aiPodsLink {
  margin-top: 4px;
}

.aiCrew-teamHeader h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.aiCrew-teamHeader p {
  margin: 0;
  color: #4b5563;
}

@media (max-width: 980px) {
  .aiCrew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aiCrew-pair {
    grid-template-columns: 1fr;
  }

  .aiCrew-plus {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .aiCrew-grid {
    grid-template-columns: 1fr;
  }
}

.aiCrew-card {
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.aiCrew-card--disabled {
  opacity: 0.55;
  background: #f5f7fb;
}

.aiCrew-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #ff6a00, #ee0979);
}

.aiCrew-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.aiCrew-card--disabled .aiCrew-avatar {
  background: #9ea3ae;
  box-shadow: none;
}

.aiCrew-card h3 {
  margin: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aiCrew-card p {
  margin: 0;
  color: #4b5563;
}

.aiCrew-infoBox {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e3e8f2;
  background: #f9fbff;
  color: #4b5563;
  line-height: 1.4;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
}

.aiCrew-infoBox p {
  font-size: 0.82rem;
}

.aiCrew-infoBox a {
  color: #2c5bff;
  font-weight: 600;
}

.aiCrew-infoBox p + p {
  margin-top: 6px;
}

.aiCrew-hint {
  font-size: 0.9rem;
  color: #1f2937;
  background: #fff3e6;
  border: 1px solid #f3d3b6;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1.4;
}

.aiCrew-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: #fff;
  border: 1px solid #e6e9f0;
  color: #111827;
  width: fit-content;
}

.aiCrew-chip--success {
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.aiCrew-card--disabled .aiCrew-chip {
  background: rgba(75, 85, 99, 0.1);
  color: #4b5563;
}

.aiCrew-actionBtn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.aiCrew-actionBtn:hover,
.aiCrew-actionBtn:focus {
  background: #ff6a00;
  transform: translateY(-1px);
}

.aiCrew-optin {
  margin-top: 18px;
}

.optInPanel {
  margin-top: 2rem;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  padding: 1.75rem;
  background: var(--primary-surface);
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.08);
  display: none;
}

.optInPanel.is-visible,
.optInPanel:target {
  display: block;
}

.optInPanel h3 {
  margin-top: 0;
}

.optInPanel label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.optInPanel input[type="url"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.optInPanel button {
  border: none;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--primary-text);
  font-weight: 600;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.optInPanel button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.12);
}

.formFeedback {
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}

.formFeedback.error {
  background: rgba(244, 63, 94, 0.12);
  color: #7f1d1d;
}

.formFeedback.success {
  background: rgba(16, 185, 129, 0.2);
  color: #064e3b;
}

.formFeedback ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.hint {
  font-size: 0.9rem;
  color: #6b7280;
}

.academyLayout .inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.academyHero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--primary-surface-border);
  background: linear-gradient(135deg, var(--primary-surface), #ffffff);
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.12);
}

.academyHeroActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.academyHero h2 {
  margin: 0 0 6px;
}

.academyHero .lede {
  margin: 0;
  color: var(--primary);
}

.ghostButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--primary-surface-border);
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ghostButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.12);
}

.academyWrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.academyCourses {
  display: grid;
  gap: 14px;
}

.academyCoursesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  gap: 16px;
}

.academyCourseCard {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  border-radius: 16px;
  clip-path: inset(0 round 16px);
  isolation: isolate;
  border: 1px solid #e8ebf2;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.academyCourseCard:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.14);
}

.academyCourseCard img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 44%;
  background: #f5f7fb;
}

.academyCourseBody {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #eef2f7;
  position: relative;
  z-index: 1;
}

.academyCourseBadge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-surface);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.academyCourseBody h3 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.3;
}

.academyCourseBody p {
  margin: 0;
  color: #4c4f57;
  font-size: 0.92rem;
  line-height: 1.5;
}

.academyCourseAction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 800;
}

.sharedDrivePage {
  padding: 0;
}

.academyDriveShell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e8ebf2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.academyDriveShell--page {
  min-height: calc(100vh - 82px);
  padding: 24px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background: linear-gradient(180deg, #eef3f8 0%, #e6edf5 100%);
  box-shadow: none;
}

.academyDriveHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.academyDriveHeader--page h2 {
  margin: 0 0 6px;
}

.academyDriveHeader--page .lede {
  margin: 0;
  color: #475569;
}

.academyDriveTools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.academyDriveSearch {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
}

.academyDriveSearch i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 1rem;
  line-height: 1;
  color: #64748b;
  pointer-events: none;
}

.academyDriveSearch input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid #d7dfeb;
  background: #fdfefe;
  padding: 0 14px 0 52px;
  font: inherit;
  color: #0f172a;
}

.academyDriveSearch input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.academyDriveWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.academyDriveWorkspace--page {
  min-height: calc(100vh - 82px - 112px);
}

.academyDriveBrowser,
.academyDrivePreview {
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  background: #f8fbfe;
  min-height: 520px;
}

.academyDriveBrowser {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.academyDriveBrowserTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), rgba(255, 255, 255, 0.3));
}

.academyDriveBreadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.academyDriveCrumb {
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.academyDriveCrumb:hover {
  text-decoration: underline;
}

.academyDriveCrumbSep {
  color: #94a3b8;
}

.academyDriveMeta {
  color: #64748b;
  font-size: 0.82rem;
  white-space: nowrap;
}

.academyDriveGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  padding: 18px;
  align-content: start;
}

.academyDriveItem {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #ffffff;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  user-select: none;
}

.academyDriveItem.is-pinned {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.academyDriveItem:hover {
  transform: translateY(-1px);
  border-color: #dbe2ea;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.academyDriveItem:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.academyDriveItem.is-selected {
  border-color: rgba(var(--primary-rgb), 0.34);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.14);
}

.academyDriveItemThumb {
  height: 120px;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.academyDriveItemThumb.has-image {
  background: #f8fafc;
}

.academyDriveItemThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academyDriveItemThumb i {
  font-size: 2rem;
  color: #64748b;
}

.academyDriveItem.is-pinned .academyDriveItemThumb {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.09) 0%, rgba(var(--primary-rgb), 0.04) 100%);
  border-color: rgba(var(--primary-rgb), 0.14);
}

.academyDriveItem.is-folder .academyDriveItemThumb i {
  color: var(--primary);
}

.academyDriveItemBody {
  display: grid;
  gap: 4px;
}

.academyDriveItemBody strong {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.academyDriveItemBody span {
  font-size: 0.78rem;
  color: #64748b;
}

.academyDrivePinnedBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.academyDrivePreview {
  padding: 18px;
  display: flex;
  align-items: stretch;
}

.academyDrivePreviewEmpty,
.academyDrivePreviewCard {
  width: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
}

.academyDrivePreviewEmpty {
  place-content: center;
  text-align: center;
}

.academyDrivePreviewIcon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 2rem;
}

.academyDrivePreviewHeader {
  display: flex;
  gap: 12px;
  align-items: center;
}

.academyDrivePreviewBadge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.academyDrivePreviewBadge.is-folder {
  background: rgba(var(--primary-rgb), 0.12);
}

.academyDrivePreviewBadge.is-pinned {
  background: rgba(var(--primary-rgb), 0.16);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.academyDrivePreviewText h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #0f172a;
  word-break: break-word;
}

.academyDrivePreviewText p,
.academyDrivePreviewEmpty p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.academyDrivePreviewCanvas {
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  background: #f2f6fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.academyDrivePreviewImage,
.academyDrivePreviewFrame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  background: #fff;
}

.academyDrivePreviewFallback {
  text-align: center;
  display: grid;
  gap: 12px;
}

.academyDrivePreviewActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.academyVideoLibrary {
  display: grid;
  gap: 14px;
}

.academyGrid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.academyCategory {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e8ebf2;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.academyCategoryHeader {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.academyCategoryHeader img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e6e9f0;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.categoryTopline {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.categoryTopline .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-surface);
  color: var(--primary);
  font-weight: 700;
}

.categoryTopline .chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e6e9f0;
  color: #4c4f57;
  font-size: 12px;
  background: #fff;
}

.academyCategoryDesc {
  max-width: 720px;
  font-size: 0.92rem;
  color: #4c4f57;
}

.academyVideosGrid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 2px;
}

.academyVideosGrid .video-card {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid rgba(16, 24, 40, 0.06);
}

.academyVideosGrid .video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(16, 24, 40, 0.18);
}

.video-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.video-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: white;
  z-index: 2;
}

.video-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.academyUncategorised h3 {
  margin-top: 10px;
  margin-bottom: 12px;
}

.no-videos {
  font-style: italic;
  color: #555;
}

.emptyState {
  padding: 20px;
  border: 1px dashed #e0e0e0;
  border-radius: 12px;
  color: #555;
  background: #fff;
  text-align: center;
}

@media (max-width: 1080px) {
  .academyDriveWorkspace {
    grid-template-columns: 1fr;
  }

  .academyDrivePreview {
    min-height: 0;
  }
}

@media (max-width: 780px) {
  .academyDriveShell--page {
    padding: 18px 14px;
  }

  .academyDriveHeader,
  .academyDriveBrowserTop {
    flex-direction: column;
    align-items: stretch;
  }

  .academyDriveSearch {
    min-width: 0;
  }

  .academyDriveGrid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

.searchArea {
  padding: 50px;
  text-align: center;
}

.searchArea h2 {
  font-size: 32px;
}

.searchArea .niceSearch {
  display: flex;
  max-width: 800px;
  width: 100%;
  border: solid 1px #ccc;
  border-radius: 10px;
  overflow: hidden;
  flex-direction: row;
  flex-wrap: nowrap;
  background-color: white;
  justify-content: center;
  margin: 30px auto;
  transition: border-color 0.25s ease;
}

.searchArea .niceSearch:focus-within {
  border-color: var(--primary);
}

.searchArea .niceSearch input {
  flex-grow: 1;
  border: none !important;
  background-color: transparent;
  max-width: 100%;
  outline: none;
}

.searchArea .niceSearch button {
  margin-top: 0 !important;
}

.searchArea select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding: 5px 10px;
  padding-right: 40px;
  cursor: pointer;
  font-size: 16px;
  width: auto;
  max-width: none;
  border-radius: 10px;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.video-card {
  position: relative;
  width: 300px;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: scale(1.02);
}

.video-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.video-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: white;
  z-index: 2;
}

.video-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-category {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 3px;
}

.no-videos {
  font-style: italic;
  color: #555;
}

.searchArea-compact {
  padding: 0;
  text-align: left;
}

.filtersInline {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.searchGrid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.beta.lessMargin .inner {
  margin: 0 auto !important;
}

.beta.lessMargin {
  padding: 0 !important;
}

.beta .inner {
  background-color: #fffbea;
  border: 1px solid #ffe58f;
  color: #664d03;
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.beta h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #8c6d1f;
}

.beta p {
  font-size: 1rem;
  line-height: 1.6;
}

.reportBlock {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #f9f9f9;
  margin: 20px 0;
}

.tierList {
  display: flex;
  width: 100%;
  margin-top: 20px;
  flex-direction: column;
  gap: 10px;
}

.tierList .tier {
  padding: 15px;
}

.tierList .tier.first {
  background-color: #fff0dd;
}

.tierList .tier.heading {
  background-color: #ebebee;
}

.tierList .tier.heading .elements div,
.tierList .tier.heading h3 {
  font-size: 14px !important;
  color: black !important;
  font-weight: 500 !important;
}

.tierList .elements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  width: 100%;
  text-align: left;
  align-items: center;
}

.tierList .elements div {
  font-size: 18px;
}

.tierList .elements .tierName {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tierList .elements .successRatio {
  font-weight: bold;
  color: #0f172a;
}

.tierList .years {
  font-size: 13px;
  color: #333;
}

.ai-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(3, 6, 18, 0.18);
  isolation: isolate;
  border-radius: 14px;
}

.ai-content {
  position: relative;
  width: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e9f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 18px;
  padding: 20px;
  color: #1f2933;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
  z-index: 1;
}

.ai-content .dashTodo {
  flex-grow: 1;
  color: #1f2933;
}

.ai-content .ai-image {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.ai-content .ai-image .raiName {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.ai-content .ai-image .raiName span {
  font-weight: 700;
  color: #111827;
}

.ai-content .ai-image img {
  width: 90px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid #e6e9f0;
  box-shadow: none;
  animation: none;
}

@keyframes aiNebula {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1);
  }
  100% {
    transform: translate3d(4%, 3%, 0) scale(1.05);
  }
}

@keyframes gridDrift {
  0% {
    background-position:
      0 0,
      0 0;
  }
  100% {
    background-position:
      200px 0,
      0 200px;
  }
}

@keyframes lightSweep {
  0% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(60%);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.45),
      0 0 25px rgba(235, 81, 15, 0.35);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
      0 22px 35px rgba(0, 0, 0, 0.35),
      0 0 35px rgba(10, 197, 188, 0.45);
  }
}

.dashTodo {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
}

.dashTodo a {
  padding: 10px 20px;
  display: inline-block;
  background-color: var(--primary);
  color: var(--primary-text);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.profileHolder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.profileHolder .profile {
  position: relative;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.profileHolder .profile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), #7dd3fc);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.18;
}

.profileHolder .profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: #dfe3e8;
}

.profileHolder .profile img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.profileHolder .profile h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.profileHolder .profile h5 {
  margin: 0;
  font-weight: 500;
  color: #4b5563;
}

.profileHolder .primaryButton {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.2;
  align-self: flex-start;
  width: 100%;
  margin-top: 10px;
}

@keyframes aiPulse {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

.ai-gradient-text {
  background: linear-gradient(
    45deg,
    var(--primary),
    #ff6b9d,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    var(--primary)
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  animation: aiPulse 8s ease-in-out infinite alternate;
}

.avatarTopList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.avatarTopList .avatarItem {
  border: solid 1px #ccc;
  padding: 30px;
  border-raidus: 10px;
  background-color: white;
  text-align: center;
  border-radius: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.avatarTopList .avatarItem i {
  font-size: 60px;
}

/* Shake with pause */
@keyframes medalShake {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(-10deg);
  }
  10% {
    transform: rotate(10deg);
  }
  15% {
    transform: rotate(-5deg);
  }
  20% {
    transform: rotate(5deg);
  }
  25% {
    transform: rotate(0deg);
  } /* rest */
  100% {
    transform: rotate(0deg);
  }
}

/* Shine sweep with pause */
@keyframes medalShine {
  0%,
  25% {
    transform: translateX(-150%) rotate(25deg);
  }
  25%,
  50% {
    transform: translateX(150%) rotate(25deg);
  } /* sweep over 1s */
  50%,
  100% {
    transform: translateX(150%) rotate(25deg);
  } /* rest */
}

/* Icon wrapper */
.avatarItem .icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gold first place icon */
.avatarItem .icon.first i {
  color: #d4af37;
  font-size: 60px;
  transform-origin: 50% 60%;
  animation: medalShake 5s ease-in-out infinite; /* total cycle = 5s */
}

/* Shine overlay */
.avatarItem .icon.first::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -150%;
  width: 140%;
  height: 140%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  pointer-events: none;
  animation: medalShine 5s ease-in-out infinite;
}

.avatarItem .second {
  color: #c0c0c0; /* True silver */
}

.avatarItem .third {
  color: #cd7f32; /* Deep bronze */
}

.avatarTopList .avatarItem .avatarName {
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .upperContent .inner {
    flex-direction: column;
    gap: 24px;
  }

  .status .flex {
    flex-wrap: wrap;
    gap: 16px;
  }

  .status .flex .data {
    min-width: calc(50% - 8px);
  }

  .navigator {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .avatarTopList {
    grid-template-columns: 1fr;
  }

  .avatarTopList .avatarItem {
    padding: 22px 18px;
  }

  .company {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .status .flex .data {
    min-width: 100%;
  }

  .header .flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header .last {
    width: 100%;
  }

  .header .last a {
    width: 100%;
    justify-content: center;
  }
}

.header .last a {
  background-color: var(--primary);
  border-radius: 20px;
  padding: 5px 15px;
  color: var(--primary-text);
  text-decoration: none;
  display: inline-flex;
  gap: 5px;
  font-weight: 800;
  align-items: center;
  font-size: 12px;
}

.header .last a i {
  font-weight: 300;
}

.standardForm {
}

.standardForm .section {
}

.standardForm .section + .section {
  margin-top: 50px;
}

.standardForm h2 {
  font-size: 22px;
  color: var(--primary);
}

.standardForm label {
  font-weight: bold;
  display: block;
  margin-top: 20px;
}

.standardForm label:first-of-type {
  margin-top: 10px;
}

.standardForm small {
  display: block;
  color: #64748b;
  line-height: 1.45;
  margin-top: 6px;
  margin-bottom: 10px;
  max-width: 720px;
}

.standardForm input {
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 0;
  margin-bottom: 8px;
  display: block;
  width: 100%;
  max-width: 420px;
}

.projectionBox {
  margin-top: 10px;
  padding: 20px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}

.projectionBox h3 {
  margin-bottom: 5px;
  color: var(--primary);
}

.projectionBox p {
  font-size: 16px;
}

.projectionBox .figure {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 0;
}

.projectionBox hr {
  margin: 1rem 0;
  border: none;
  border-top: dashed 2px #ccc;
}

.space {
  margin-top: 50px;
}

.spaceBelow {
  margin-bottom: 50px;
}

/* --- Animation --- */

.animate-in {
  opacity: 0;
  transform: translateY(150px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.animate {
  opacity: 1;
  transform: none;
}

/* Small desktop sizing issues --- */
@media only screen and (max-width: 1690px) {
  .inner {
    width: 95% !important;
    padding: 0;
  }
}

/* --- Mobile styles --- */

@media only screen and (max-width: 800px) {
  .inner {
    max-width: 1400px;
    padding: 20px;
  }
  body {
    padding-top: 0;
  }
  section {
    padding: 50px 0;
  }
  .together .inner {
    flex-direction: column;
  }
  header {
    position: relative;
  }
  header .inner {
    display: block;
    text-align: center;
  }
  header .inner .logo {
    padding: 10px;
    width: 100%;
    display: inline-block;
  }
  header .inner nav {
    width: 100%;
  }
  footer .columns {
    flex-direction: column;
  }
  footer .bottom .legal {
    float: none;
    margin-top: 10px;
  }
  .background .cards {
    flex-direction: column;
  }
}

/* Mobile (up to 768px) */

@media (max-width: 768px) {
  body {
    display: block;
    overflow-x: hidden;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .mobile-nav-toggle {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    cursor: pointer;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:active,
  .mobile-nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  }

  .mobile-nav-toggle i {
    font-size: 1.35rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-nav-toggle.is-open i {
    transform: rotate(90deg);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
    z-index: 1090;
  }

  .sidebar {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(calc(-100% - 20px));
    transition: transform 0.28s ease-in-out;
    z-index: 1100;
    padding-top: max(12px, env(safe-area-inset-top));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar .top {
    overflow-y: visible;
  }

  .mobileMenuTitle {
    display: block;
    padding: 18px 16px 8px 74px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #0f172a;
  }

  .sidebar .top .logo {
    display: none;
  }

  .sidebar nav ul {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }

  .sidebar .bottom {
    padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  }

  .userFooter-popover {
    left: 12px;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .main-content,
  .inner,
  section,
  .background {
    min-width: 0;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    padding-bottom: 0 !important;
  }

  .inner {
    padding: 16px;
  }

  .horzNav {
    padding: 16px 16px 16px 74px;
    min-height: 70px;
  }

  .horzNav.flex {
    min-height: 70px;
    align-items: center;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }

  .horzNav .branding {
    min-height: 38px;
    font-size: 1rem;
    line-height: 1.15;
    flex: 1 1 auto;
    min-width: 0;
  }

  .horzNav .branding--helm > span:last-child {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    min-width: 0;
  }

  .horzNav .branding--helm .brandingLogo,
  .horzNav .branding--helm .brandingDivider {
    display: inline-flex;
  }

  .horzNav .branding--helm .brandingDivider {
    color: #c4cad4;
    font-weight: 600;
  }

  .horzNav .branding--helm .brandingLogo {
    flex: 0 0 auto;
    width: auto;
    max-width: 92px;
    max-height: 28px;
  }

  .horzNav .searchButton {
    width: 0;
    height: 0;
    flex: 0 0 0;
    margin-right: 0;
    justify-content: flex-end;
  }

  .horzNav .searchButton a {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
    min-width: 58px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    text-align: center;
    box-shadow:
      0 12px 24px rgba(var(--primary-rgb), 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1040;
  }

  .horzNav .searchButton a::before {
    display: block;
    top: -18%;
    bottom: -18%;
    left: -65%;
    width: 44%;
    transform: skewX(-16deg) translateX(0);
  }

  .horzNav .searchButton a span {
    display: none;
  }

  .horzNav .searchButton a i {
    margin: 0;
    font-size: 1.25rem;
  }

  .horzNav .searchButton a:hover,
  .horzNav .searchButton a:active {
    transform: none;
  }

  .background {
    overflow-x: clip;
  }

  .academyHero {
    display: none;
  }

  .upperContent:has(> .inner > .academyHero:only-child) {
    display: none;
  }

  .upperContent.academyLayout,
  .academyLayout {
    padding-top: 0;
  }

  .background .cards,
  .flex {
    gap: 12px;
  }

  .standardForm input,
  .standardForm select,
  .standardForm textarea {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .mobile-nav-toggle {
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
  }

  .inner {
    padding: 14px;
  }

  .horzNav {
    padding: 14px 14px 14px 68px;
    min-height: 70px;
  }

  .horzNav .searchButton a {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 13px;
    padding: 0;
  }

  .sidebar nav {
    padding: 12px 10px 20px;
  }

  .mobileMenuTitle {
    padding-left: 68px;
  }
}

/* --- Events --- */
.eventsGridHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.eventsGridHeader h3 {
  margin: 0 0 4px;
}

.eventsGridHeader .hint {
  margin: 0;
}

.eb-events,
.eventsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.eventCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 14px;
  padding: 14px;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #fbfcff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.eventCard__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eef0f5;
}

.eventCard__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.eventCard__title {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

.eventCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #4b5563;
  font-size: 0.9rem;
}

.eventCard__meta i {
  color: var(--primary);
  margin-right: 4px;
}

.eventCard__summary {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.4;
}

.eventCard__cta {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.eventCard .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--primary-text);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 18px rgba(var(--primary-rgb), 0.2);
}

.eventCard .btn.disabled,
.eventCard .btn[aria-disabled="true"] {
  background: #d1d5db;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .eventCard__cta {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .inner h1,
  .inner h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  .inner p {
    font-size: 14px;
    text-align: center;
  }
  .btn,
  button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}

/* --- Star map --- */

.starMap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 160px);
  padding: 0;
}

.starMap-sky {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(86, 203, 255, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(114, 255, 199, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(46, 86, 201, 0.25),
      transparent 50%
    ),
    linear-gradient(180deg, #0b1020 0%, #0e1530 45%, #101a3b 100%);
  box-shadow: 0 24px 60px rgba(8, 12, 28, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.starMap-sky::before,
.starMap-sky::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(#ffffff 0.8px, transparent 0.9px),
    radial-gradient(#7cc9ff 0.6px, transparent 0.8px),
    radial-gradient(#4be1c4 0.7px, transparent 0.9px);
  background-size:
    160px 160px,
    220px 220px,
    280px 280px;
  background-position:
    0 0,
    40px 60px,
    120px 140px;
  opacity: 0.5;
  pointer-events: none;
}

.starMap-sky::after {
  opacity: 0.25;
  transform: scale(1.05);
}

.starMap-stage {
  position: relative;
  width: 100%;
  min-height: 75vh;
}

.starMap-city {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 3;
}

.starMap-cityCore {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #9fe7ff;
  text-shadow:
    0 0 18px rgba(79, 195, 255, 0.55),
    0 0 36px rgba(33, 119, 214, 0.35);
}

.starMap-cityCore::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    rgba(255, 80, 80, 0.36),
    rgba(255, 185, 70, 0.36),
    rgba(255, 235, 120, 0.36),
    rgba(125, 255, 180, 0.36),
    rgba(100, 210, 255, 0.36),
    rgba(185, 145, 255, 0.36),
    rgba(255, 80, 80, 0.36)
  );
  filter: blur(5px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
  animation: starMap-rainbow-shift 6s linear infinite;
}

.starMap-cityCore::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: -2px;
  right: 1px;
  background:
    linear-gradient(
      to bottom,
      transparent 44%,
      rgba(255, 255, 255, 0.96) 50%,
      transparent 56%
    ),
    linear-gradient(
      to right,
      transparent 44%,
      rgba(255, 255, 255, 0.96) 50%,
      transparent 56%
    );
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.9));
  opacity: 0;
  transform: scale(0.55) rotate(10deg);
  z-index: 2;
  pointer-events: none;
  animation: starMap-diamond-sparkle 2.9s ease-in-out infinite;
}

.starMap-diamond {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.95;
  animation: starMap-diamond-glimmer 4.4s ease-in-out infinite;
}

.starMap-cityGlow {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(79, 195, 255, 0.38),
    transparent 65%
  );
  filter: blur(8px);
  z-index: 0;
}

.starMap-cityLabel {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #cfe9ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.starMap-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: orbit-spin var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
}

.starMap-node {
  position: absolute;
  transform: translateX(var(--orbit-radius));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: hsl(var(--node-hue, 200) 85% 80%);
  font-size: 0.85rem;
  text-align: center;
  max-width: 160px;
  animation: starMap-rotate-reverse var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
}

.starMap-nodeIcon {
  width: calc(var(--node-size, 16px) + 8px);
  height: calc(var(--node-size, 16px) + 8px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: hsla(var(--node-hue, 200), 80%, 45%, 0.22);
  color: hsl(var(--node-hue, 200) 85% 78%);
  box-shadow: 0 0 16px hsla(var(--node-hue, 200), 80%, 60%, 0.5);
}

.starMap-nodeIconSpin {
  display: grid;
  place-items: center;
  animation: starMap-orbit-heading var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
}

@keyframes starMap-orbit-heading {
  from {
    transform: rotate(calc(var(--orbit-start) + 180deg));
  }
  to {
    transform: rotate(calc(var(--orbit-start) + 540deg));
  }
}

.starMap-nodeName {
  font-weight: 600;
  color: #f2fbff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.starMap-nodeMeta {
  font-size: 0.72rem;
  color: #b2cbe0;
}

.starMap-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #c6d7eb;
  font-size: 1rem;
  text-align: center;
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(var(--orbit-start));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) + 360deg));
  }
}

@keyframes starMap-rotate-reverse {
  from {
    transform: translateX(var(--orbit-radius))
      rotate(calc(-1 * var(--orbit-start)));
  }
  to {
    transform: translateX(var(--orbit-radius))
      rotate(calc(-1 * var(--orbit-start) - 360deg));
  }
}

@keyframes starMap-rainbow-shift {
  from {
    transform: rotate(0deg);
    filter: blur(5px) saturate(1.25) hue-rotate(0deg);
  }
  to {
    transform: rotate(360deg);
    filter: blur(5px) saturate(1.25) hue-rotate(360deg);
  }
}

@keyframes starMap-diamond-glimmer {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(159, 231, 255, 0.35));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.75));
  }
}

@keyframes starMap-diamond-sparkle {
  0%,
  42%,
  100% {
    opacity: 0;
    transform: scale(0.55) rotate(10deg);
  }
  52% {
    opacity: 1;
    transform: scale(1.12) rotate(10deg);
  }
  64% {
    opacity: 0.7;
    transform: scale(0.85) rotate(10deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .starMap-cityCore::before,
  .starMap-cityCore::after,
  .starMap-diamond {
    animation: none;
  }
}

@media (max-width: 960px) {
  .starMap-sky {
    margin: 0 12px 24px;
  }

  .starMap-city {
    width: 120px;
    height: 120px;
  }

  .starMap-node {
    max-width: 120px;
  }
}

@media (max-width: 640px) {
  .starMap-sky {
    min-height: 60vh;
  }

  .starMap-node {
    font-size: 0.78rem;
  }
}
.profilePictureCard {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.profilePicturePreview {
  flex: 0 0 auto;
}

.profilePicturePreview img {
  width: 150px;
  height: 150px;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid #e6e8ee;
  background: #f7f8fb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.profilePictureControls {
  flex: 1 1 320px;
  min-width: 0;
}

.profilePictureControls p {
  margin-top: 0;
}

.companyLogoCard {
  align-items: stretch;
}

.companyLogoPreview {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.companyLogoPreview img {
  width: 240px;
  height: 80px;
  display: block;
  object-fit: contain;
  border-radius: 22px;
  border: 1px solid #e6e8ee;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.themeModeGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.themeModeOption {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.themeModeOption input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0 !important;
  accent-color: var(--primary);
  border: 0 !important;
  box-shadow: none !important;
}

.themeModeOption span {
  min-width: 0;
  color: #1f2937;
  line-height: 1.45;
}

.themeModeOption.is-selected {
  border-color: rgba(var(--primary-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), #ffffff);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.08);
}

.themePreview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  background: #fff;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.themePreviewSwatch {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.themePreviewMeta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.themePreviewMeta strong {
  font-size: 14px;
}

.themePreviewMeta span {
  color: #6b7280;
  font-size: 13px;
  word-break: break-word;
}

#companyThemeForm {
  width: 100%;
  min-width: 0;
}

#companyThemeForm .formRow {
  min-width: 0;
}

#companyThemeCustomColorRow {
  align-items: flex-start;
}

#companyThemeCustomColorRow input[type="color"] {
  width: 72px;
  min-width: 72px;
  height: 48px;
  padding: 4px !important;
  border-radius: 12px !important;
  overflow: hidden;
  cursor: pointer;
}

#companyThemeCustomColorRow .finePrint {
  max-width: 560px;
}

@media (max-width: 640px) {
  .profilePictureCard {
    gap: 18px;
  }

  .profilePicturePreview img {
    width: 120px;
    height: 120px;
    border-radius: 22px;
  }

  .companyLogoPreview img {
    width: 200px;
    height: 72px;
    padding: 14px 16px;
  }
}
