@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap') ;
:root {
  font-family: 'DM Sans',sans-serif;
  color: #191227;
  background: #eae6f3;
  font-synthesis: none;
  font-size: 14px;
  --plum: #191227;
  --violet: #6c4cf1;
  --coral: #ff6b5e;
  --lavender: #b7a7ff;
  --ivory: #f8f7fb;
  --line: #e9e4f2;
  --muted: #797285;
  --green: var(--violet);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,input,select {
  font: inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color: transparent;
}
button,a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .55;
  cursor: wait;
}
a {
  color: #5940c4;
  text-decoration: none;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}
h1,h2,h3 {
  font-family: 'Manrope',sans-serif;
  color: var(--plum);
  margin: 0 0 12px;
  letter-spacing: -.045em;
}
h1 {
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
}
h2 {
  font-size: 20px;
  letter-spacing: -.03em;
}
h3 {
  font-size: 18px;
}
p {
  line-height: 1.7;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
  margin: 0;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #8b7aa9;
  margin-bottom: 14px;
}
.primary,.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 25px;
  padding: 12px 21px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .18s,box-shadow .18s,transform .18s;
}
.primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 5px 15px #6c4cf11f;
}
.primary:hover {
  background: #5738d5;
  box-shadow: 0 7px 19px #6c4cf130;
  transform: translateY(-1px);
}
.secondary {
  background: var(--ivory);
  border-color: #e7e0f5;
  color: #584396;
}
.secondary:hover {
  background: #ede7fc;
}
.wide {
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum);
  width: 221px;
  height: 57px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 224px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}
.layout {
  min-height: calc(100vh - 28px);
  margin: 14px;
  background: linear-gradient(125deg,#f2eefb 0,#f8f7fb 42%,#fcfaf9 100%);
  border: 1px solid #fff9;
  border-radius: 30px;
  box-shadow: 0 10px 60px #3020520c;
  overflow: clip;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 30px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #ffffffb8;
  border: 1px solid #fff;
  border-radius: 30px;
}
.header-nav a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 19px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  color: #746583;
  min-height: 44px;
}
.header-nav .nav-active {
  background: var(--violet);
  color: white;
  box-shadow: 0 3px 8px #6c4cf12b;
}
.header-nav a:not(.nav-active):hover {
  background: #f0ebfb;
}
.account-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #eee7fc;
  color: var(--violet);
  font-weight: 700;
  border: 1px solid #e4dcf6;
  border-radius: 50%;
}
.account-name {
  font-size: 12px;
  max-width: 140px;
  overflow-wrap: anywhere;
}
.account-name small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #fff;
  background: #ffffffa8;
  border-radius: 23px;
  min-height: 44px;
  padding: 12px;
  color: #65567a;
  font-size: 11px;
}
.logout:hover {
  background: #ede7fa;
}
.main-area {
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 38px;
  font-size: 11px;
  color: #8c8099;
}
.topbar strong {
  font-weight: 500;
  color: #5f526f;
}
.divider {
  padding: 0 12px;
  color: #c1b4d2;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #82748f;
  font-size: 10px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
.content {
  max-width: 1550px;
  padding: 26px 38px 20px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 39px;
  margin-bottom: 9px;
}
.page-heading .muted {
  font-size: 13px;
}
.card {
  background: #ffffffc9;
  border: 1px solid #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px #37205d03;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 17px;
  margin: 25px 0 27px;
}
.metric {
  padding: 23px 25px;
  position: relative;
  overflow: hidden;
}
.metric>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #736282;
  font-size: 12px;
}
.metric svg {
  box-sizing: content-box;
  padding: 8px;
  color: var(--violet);
  background: #eee8ff;
  border-radius: 12px;
}
.metric>strong {
  display: block;
  font: 600 40px 'Manrope',sans-serif;
  letter-spacing: -2px;
  margin: 8px 0;
}
.metric small {
  font-size: 11px;
}
.metric:first-child {
  background: #e6def8;
}
.metric:first-child svg {
  background: #f4f0ff;
}
.metric:nth-child(3) svg {
  color: #b85149;
  background: #ffebe8;
}
.metric:last-child {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}
.metric:last-child>div,.metric:last-child small {
  color: #c7badc;
}
.metric:last-child svg {
  background: #332449;
  color: #b7a7ff;
}
.directory {
  overflow: hidden;
  scroll-margin-top: 20px;
}
.section-heading {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-heading h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.section-heading p {
  font-size: 12px;
}
.count {
  font-size: 11px;
  color: #7958c7;
  padding: 8px 12px;
  background: #f0eafa;
  border-radius: 20px;
  white-space: nowrap;
}
.toolbar {
  display: flex;
  gap: 12px;
  padding: 0 28px 23px;
}
.search {
  position: relative;
  flex: 1;
  max-width: 440px;
}
.search svg {
  position: absolute;
  left: 15px;
  top: 14px;
  color: #a090b4;
}
.search input {
  padding-left: 43px;
}
input,select {
  border: 1px solid #e6dff0;
  border-radius: 14px;
  padding: 12px 15px;
  min-height: 46px;
  background: #fbfaff;
  color: #3c2b53;
  min-width: 0;
}
input {
  width: 100%;
}
input:hover,select:hover {
  border-color: #c6b5e8;
}
input::placeholder {
  color: #a69ab1;
  font-size: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
}
form {
  display: grid;
  gap: 20px;
}
label small {
  font-weight: 400;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  background: #f6f3fb;
  font-weight: 500;
  color: #8d7b9e;
  font-size: 10px;
  letter-spacing: .05em;
}
th,td {
  padding: 18px 26px;
  border-top: 1px solid #eee9f5;
}
td small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
tbody tr:hover {
  background: #faf7ff;
}
.table-wrap {
  overflow-x: auto;
}
.academy-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}
.academy-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 41px;
  height: 41px;
  border-radius: 14px;
  background: #eee6fd;
  color: #7650c4;
  font-size: 11px;
  font-weight: 700;
}
.academy-cell strong {
  font-size: 13px;
}
.badge {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 20px;
  font-size: 10px;
  white-space: nowrap;
  background: #eeebf3;
  color: #776883;
}
.badge.active,.badge.trial {
  background: #ede6fc;
  color: #6745bb;
}
.badge.expired {
  background: #fff0eb;
  color: #ab513d;
}
.badge.suspended {
  background: #ebe6f0;
  color: #69517e;
}
.row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 210px;
}
.row-actions button,.row-actions>a {
  background: #f1ebfc;
  border: 0;
  border-radius: 20px;
  color: #6c50a2;
  padding: 9px 11px;
  font-size: 11px;
}
.row-actions button:hover,.row-actions>a:hover {
  background: #e5d9fb;
}
.text-button {
  background: none;
  border: 0;
  color: #6c50a2;
  padding: 8px 3px;
  text-decoration: underline;
  font-size: 11px;
}
.row-actions select {
  font-size: 10px;
  min-height: 36px;
  padding: 8px;
  border-radius: 20px;
  max-width: 150px;
}
.empty {
  text-align: center;
  padding: 54px 24px;
}
.empty p {
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 22px;
  font-size: 13px;
}
.empty-icon {
  height: 71px;
  width: 71px;
  border: 1px solid #e5d8fb;
  background: #efe8fc;
  color: #9471dd;
  display: grid;
  place-items: center;
  border-radius: 24px;
  margin: 0 auto 22px;
  transform: rotate(-5deg);
}
.empty-icon svg {
  transform: rotate(5deg);
}
.empty h3 {
  font-size: 22px;
}
.foundation-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 8px;
  color: #a28abe;
  padding: 0 8px;
}
.foundation-note strong {
  font-size: 12px;
  color: #746383;
  font-weight: 500;
}
.foundation-note p {
  font-size: 11px;
  margin: 5px 0;
}
.notice {
  border: 1px solid #e5d9f8;
  background: #f2ecfc;
  color: #74569c;
  padding: 15px 18px;
  border-radius: 16px;
  margin: 15px 0;
  line-height: 1.6;
  font-size: 12px;
}
.notice.danger {
  border-color: #f7d8d0;
  background: #fff0ed;
  color: #a4473d;
}
.form-card {
  padding: 28px;
  margin: 22px 0;
}
.form-card .section-heading {
  padding: 0 0 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.details dt {
  font-size: 12px;
  color: var(--muted);
}
.details dd {
  margin: 8px 0;
}
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 25px;
  background: var(--ivory);
}
.auth-card {
  padding: 34px;
  width: min(100%,450px);
}
.auth-card a {
  display: block;
  margin-top: 20px;
}
.auth-card h1 {
  font-size: 25px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 2px solid #e2d8fb;
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
footer {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 24px;
  color: #a092ac;
  font-size: 10px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 32px);
  margin: 16px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--ivory);
  box-shadow: 0 15px 65px #27104712;
}
.login-story {
  padding: 40px 55px;
  background: radial-gradient(ellipse at 0% 100%,#6c4cf151,transparent 70%),var(--plum);
  color: #d4c6e7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  position: relative;
}
.login-story .brand {
  border: 1px solid #ffffff15;
}
.login-story .eyebrow {
  color: var(--lavender);
}
.login-story h1 {
  font-size: clamp(40px,4.3vw,68px);
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: -.055em;
}
.login-story em {
  font-style: normal;
  color: var(--lavender);
}
.login-story p {
  font-size: 14px;
  line-height: 1.9;
  color: #b4a3c8;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #bcadd0;
}
.secure-note svg {
  color: var(--coral);
}
.login-form {
  display: grid;
  place-items: center;
  padding: 50px;
  background: linear-gradient(150deg,#f0eafa,var(--ivory) 50%,#fff8f7);
}
.login-form>div {
  width: min(100%,365px);
}
.login-form h2 {
  font-size: 30px;
}
.login-form form {
  margin-top: 32px;
}
.text-link {
  display: inline-block;
  margin-top: 23px;
  font-size: 12px;
  text-decoration: underline;
}
.login-caption {
  font-size: 11px;
  color: #9c8baa;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
}
.setup {
  min-height: 100vh;
  background: linear-gradient(135deg,#ede6fa,var(--ivory));
  padding: 30px max(26px,7vw);
}
.setup>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.setup-hero {
  max-width: 1200px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 70px;
}
.setup-hero h1 {
  font-size: clamp(36px,4.6vw,65px);
  line-height: 1.12;
  letter-spacing: -.06em;
}
.lead {
  font-size: 18px;
  color: #8b769e;
  line-height: 1.8;
  margin: 26px 0;
}
.setup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.setup-pills span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8763be;
}
.setup-card {
  padding: 35px;
}
.step-label {
  display: block;
  color: #9b82b7;
  font-size: 9px;
  letter-spacing: .13em;
  margin-bottom: 22px;
}
.setup-card h2 {
  font-size: 25px;
}
.setup-card ol {
  padding-left: 22px;
  display: grid;
  gap: 24px;
  margin: 30px 0;
}
.setup-card li {
  padding-left: 7px;
  color: #8763be;
  font-size: 12px;
}
.setup-card li strong {
  display: block;
  color: #574366;
  margin-bottom: 6px;
}
.setup-card li span {
  line-height: 1.7;
  color: #9c8baa;
}
.academy-link {
  padding: 24px;
}
.academy-link span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.academy-link h2 {
  overflow-wrap: anywhere;
}
@media(min-width:1500px) {
  .content {
    padding-top: 35px;
  }
  .metric {
    padding: 28px;
  }
  .setup-hero {
    margin-top: 120px;
  }
}
@media(max-width:1100px) {
  .app-header {
    padding: 20px;
    gap: 15px;
  }
  .account-name {
    display: none;
  }
  .content {
    padding: 26px;
  }
  .topbar {
    padding: 10px 26px;
  }
  .header-nav a {
    padding: 12px 14px;
  }
  .setup-hero {
    gap: 35px;
  }
  .login-story {
    padding: 35px;
  }
}
@media(max-width:800px) {
  .brand {
    width: 190px;
    height: 53px;
  }
  .brand img {
    width: 198px;
  }
  .account-avatar {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .header-nav a {
    font-size: 11px;
    padding: 11px;
  }
  .header-nav svg {
    display: none;
  }
}
@media(max-width:600px) {
  h1 {
    font-size: 28px;
  }
  .layout {
    margin: 7px;
    border-radius: 23px;
    min-height: calc(100vh - 14px);
  }
  .app-header {
    padding: 16px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .app-header .brand {
    width: 189px;
    height: 51px;
  }
  .account-controls {
    margin-left: auto;
  }
  .logout {
    padding: 11px;
    min-width: 44px;
  }
  .logout span {
    display: none;
  }
  .header-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-radius: 28px;
  }
  .header-nav a {
    flex: 1;
    justify-content: center;
    font-size: 12px;
  }
  .header-nav svg {
    display: block;
  }
  .topbar {
    padding: 8px 19px;
    font-size: 10px;
  }
  .topbar .environment {
    display: none;
  }
  .content {
    padding: 23px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading .primary {
    width: 100%;
  }
  .eyebrow {
    font-size: 9px;
  }
  .metrics {
    gap: 11px;
    margin: 20px 0;
  }
  .metric {
    padding: 17px 15px;
    border-radius: 21px;
  }
  .metric>div {
    font-size: 10px;
    align-items: flex-start;
  }
  .metric svg {
    width: 15px;
    height: 15px;
    padding: 6px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .metric>strong {
    font-size: 33px;
    margin: 11px 0 6px;
  }
  .metric small {
    font-size: 9px;
  }
  .section-heading {
    padding: 23px 18px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .count {
    display: none;
  }
  .toolbar {
    padding: 0 18px 20px;
    flex-direction: column;
  }
  .search {
    max-width: none;
  }
  .empty {
    padding: 34px 21px;
  }
  .empty h3 {
    font-size: 19px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 21px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .login-layout {
    grid-template-columns: 1fr;
    margin: 8px;
    border-radius: 25px;
  }
  .login-story {
    padding: 24px 26px;
    gap: 32px;
  }
  .login-story h1 {
    font-size: 37px;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story h1 em {
    display: block;
  }
  .login-story p,.secure-note,.login-story .eyebrow {
    display: none;
  }
  .login-form {
    padding: 35px 26px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-caption {
    margin-top: 25px;
  }
  .setup {
    padding: 25px 20px;
  }
  .setup .environment {
    font-size: 9px;
  }
  .setup-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 48px auto;
  }
  .setup-hero h1 {
    font-size: 40px;
  }
  .setup-card {
    padding: 25px;
  }
  .lead {
    font-size: 15px;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .setup-pills {
    gap: 10px;
  }
  .setup-pills span {
    font-size: 10px;
  }
  footer {
    padding: 20px 12px;
    font-size: 9px;
    flex-wrap: wrap;
  }
}
@media(prefers-reduced-motion:reduce) {
  .spinner {
    animation: none;
  }
  * {
    transition: none!important;
  }
}
/* Platform identity: transparent PNG on a light surface. */
.brand {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  width: 220px;
  height: 62px;
  padding: 0;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  flex-shrink: 1;
}
.brand-name {
  font: 800 26px 'Manrope',sans-serif;
  color: var(--plum);
  overflow-wrap: anywhere;
}
.login-story .brand {
  background: var(--ivory);
  border: 0;
  border-radius: 17px;
  padding: 8px 13px;
  width: 245px;
  height: 72px;
}
.identity-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 24px;
  align-items: start;
}
.identity-grid .form-card {
  margin: 0;
}
.identity-grid form {
  margin-top: 26px;
}
.identity-preview {
  padding: 30px;
  position: sticky;
  top: 25px;
}
.identity-preview>strong {
  display: block;
  margin: 24px 0 10px;
  font-size: 20px;
}
.identity-preview p {
  font-size: 12px;
}
.logo-preview-surface {
  padding: 28px 20px;
  border-radius: 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  margin-top: 25px;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-preview-surface img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
.logo-upload {
  border: 1px dashed #cdb9ee;
  border-radius: 18px;
  padding: 20px;
  background: #faf7ff;
}
.logo-upload>span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-upload input {
  width: 100%;
  font-size: 11px;
  background: white;
  padding: 10px;
}
@media(max-width:1000px) {
  .app-header {
    flex-wrap: wrap;
  }
  .header-nav {
    order: 3;
    justify-content: center;
    width: 100%;
  }
  .identity-grid {
    grid-template-columns: 1fr;
  }
  .identity-preview {
    position: static;
  }
}
@media(max-width:600px) {
  .app-header .brand {
    width: 190px;
    height: 55px;
  }
  .brand img {
    width: 100%;
    height: 100%;
  }
  .header-nav a {
    font-size: 10px;
    padding: 11px 9px;
    gap: 5px;
  }
  .header-nav svg {
    width: 14px;
  }
  .identity-preview {
    padding: 23px;
  }
  .logo-upload {
    padding: 15px;
  }
}
.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 28px;
  padding: 9px;
  background: #ffffff9e;
  border-radius: 19px;
  border: 1px solid white;
}
.module-tabs a,.module-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #79678c;
  border-radius: 20px;
  padding: 10px 13px;
  font-size: 12px;
  min-height: 40px;
}
.module-tabs .selected {
  background: #6c4cf1;
  color: white;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.module-add {
  margin: 22px 0;
}
.module-search {
  padding-top: 23px;
  align-items: center;
  justify-content: space-between;
}
.action-form {
  border-color: #d1bdf6;
  box-shadow: 0 10px 40px #6c4cf114;
  scroll-margin-top: 15px;
}
.action-form .primary {
  justify-self: end;
  min-width: 160px;
}
textarea {
  font: inherit;
  resize: vertical;
  border: 1px solid #e6dff0;
  border-radius: 14px;
  padding: 12px 15px;
  background: #fbfaff;
  color: #3c2b53;
  max-width: 100%;
}
input[type=checkbox] {
  width: 23px;
  height: 23px;
  min-height: 0;
  accent-color: var(--violet);
}
input[type=color] {
  padding: 5px;
  height: 48px;
  width: 100%;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.chart-card {
  padding: 25px;
}
.bar-chart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  min-height: 210px;
}
.bar-column {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.bar-column>span {
  font-size: 10px;
  color: #9176af;
  white-space: nowrap;
}
.bar-column small {
  font-size: 9px;
  overflow-wrap: anywhere;
  text-align: center;
}
.bar-track {
  height: 140px;
  width: 60%;
  max-width: 34px;
  display: flex;
  align-items: flex-end;
}
.bar-track i {
  display: block;
  background: linear-gradient(#b7a7ff,#6c4cf1);
  width: 100%;
  border-radius: 7px 7px 3px 3px;
}
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 15px;
  margin: 20px 0;
}
.session-card {
  padding: 23px;
  background: #fff;
  border: 1px solid #e9e1f2;
  border-radius: 21px;
}
.session-card h3 {
  font-size: 19px;
}
.session-card .primary {
  display: flex;
  width: 100%;
  margin-top: 20px;
}
.session-card p {
  margin: 9px 0;
}
.report-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.report-filters label {
  flex: 1;
  min-width: 150px;
}
.portal-preview {
  padding: 28px;
  border: 1px solid;
  border-radius: 20px;
}
.tenant-logo {
  object-fit: contain;
  max-width: 220px;
  max-height: 90px;
  width: auto;
  height: auto;
}
.institutional-banner {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 22px;
  margin: 18px 0 25px;
}
.student-portal {
  max-width: 1050px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 30px;
  background: linear-gradient(150deg,var(--tenant-secondary),#f8f7fb 450px);
}
body:has(.student-portal) {
  background: #f8f7fb;
}
.portal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 35px;
}
.portal-header>div {
  flex: 1;
}
.portal-header h1 {
  font-size: 26px;
  color: var(--tenant-primary);
}
.student-portal .primary {
  background: var(--tenant-button);
  box-shadow: none;
}
.portal-login {
  max-width: 430px;
  margin: 50px auto;
  padding: 35px;
}
.portal-login h2 {
  font-size: 30px;
}
.portal-login form {
  margin-top: 28px;
}
.portal-cycles {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
  margin: 25px 0;
}
.date-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 15px;
}
.date-strip button {
  min-width: 130px;
  min-height: 60px;
  border: 1px solid #e1d6ed;
  background: #fff;
  border-radius: 16px;
  color: #786486;
  font: inherit;
}
.date-strip .selected {
  background: var(--tenant-button);
  color: white;
}
.confirmation-box {
  padding: 23px;
  background: #f4eefd;
  border-radius: 20px;
  border: 1px solid #d9c5f3;
  margin-top: 20px;
}
.booking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #ede6f4;
}
.booking-card p {
  font-size: 12px;
  color: #8b7a99;
  margin: 5px 0;
}
.sponsored {
  border: 1px solid #e8dff2;
  border-radius: 19px;
  padding: 23px;
  margin: 24px 0;
  background: #faf7ff;
}
.sponsored img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  margin: 12px 0;
}
.sponsored p {
  font-size: 13px;
}
.header-nav {
  flex-wrap: wrap;
  justify-content: center;
}
.header-nav a {
  padding: 11px 13px;
}
.file-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
}
.profile-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 24px;
}
.tenant-header-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tenant-header-mark img {
  max-height: 32px;
  max-width: 85px;
  object-fit: contain;
}
.summary-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.summary-strip .card {
  padding: 17px 21px;
  flex: 1;
  min-width: 160px;
}
.summary-strip strong {
  display: block;
  font-size: 22px;
  margin: 9px 0 0;
}
.booking-card .secondary {
  flex-shrink: 0;
}
@media(max-width:700px) {
  .module-tabs {
    gap: 3px;
    padding: 6px;
    margin-bottom: 22px;
  }
  .module-tabs a,.module-tabs button {
    font-size: 11px;
    padding: 9px 11px;
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .chart-card {
    padding: 20px;
  }
  .bar-chart {
    gap: 8px;
  }
  .session-grid {
    grid-template-columns: 1fr;
  }
  .student-portal {
    padding: 19px;
  }
  .portal-header {
    flex-wrap: wrap;
    gap: 14px;
  }
  .portal-header h1 {
    font-size: 23px;
  }
  .portal-header .tenant-logo {
    max-width: 150px;
    max-height: 60px;
  }
  .portal-login {
    margin: 30px auto;
    padding: 26px;
  }
  .student-portal .form-card {
    padding: 21px;
  }
  .date-strip button {
    min-width: 110px;
  }
  .portal-cycles {
    grid-template-columns: 1fr;
  }
  .booking-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .header-nav a {
    flex: 0 1 auto;
  }
  .action-form .primary {
    justify-self: stretch;
  }
  .report-filters label {
    min-width: 130px;
  }
  .institutional-banner {
    max-height: 180px;
  }
}
/* Edukapp: banners, student records and registration */
.media-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 180px;
  aspect-ratio: 4/1;
  overflow: hidden;
  border-radius: 26px;
  margin: 20px 0;
  background: #e8e0ff;
  color: #23143f;
}
.media-banner.compact {
  aspect-ratio: 6.67/1;
  min-height: 120px;
  max-height: 190px;
}
.media-banner.has-media img,.media-banner video {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.media-banner video {
  background: #191227;
}
.sample-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  background: linear-gradient(110deg,#e5ddff,#c3afff 65%,#ffb3ab);
}
.sample-banner h2 {
  font-size: clamp(23px,3vw,42px);
  margin: 9px 0;
  max-width: 780px;
}
.sample-banner p {
  margin: 0;
}
.sample-banner small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.banner-lines {
  font-size: 100px;
  color: #6c4cf1;
  opacity: .55;
}
.banner-orb {
  position: absolute;
  z-index: -1;
  right: 5%;
  top: -100px;
  width: 400px;
  height: 400px;
  border: 40px solid #ffffff40;
  border-radius: 50%;
}
.compact.sample-banner h2 {
  font-size: 28px;
}
.compact.sample-banner p {
  display: none;
}
.media-toggle {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  border: 0;
  border-radius: 16px;
  padding: 6px 10px;
  background: #ffffffdb;
  font-size: 11px;
  color: #191227;
}
.student-photo-control {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.student-photo {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ded5f5;
  background: #f1ebff;
  display: grid;
  place-items: center;
  padding: 0;
}
.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.student-photo-control>label {
  flex: 1;
  min-width: 240px;
}
.photo-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: #140d25dd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}
.photo-modal img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 20px;
}
.full-student-details {
  margin: 20px 0;
  padding: 24px;
  background: #f7f4ff;
  border-radius: 22px;
}
.whatsapp {
  color: #146746!important;
}
.weekday-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1/-1;
}
.weekday-options>span,.check-option {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f3edff;
}
.weekday-options input,.check-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #6c4cf1;
}
.portal-platform-brand {
  padding: 20px 0;
}
.student-portal {
  width: min(1100px,100%);
  margin: auto;
  padding: 20px 30px!important;
}
.student-portal .portal-login {
  margin: 30px auto;
  max-width: 480px;
}
.sponsored {
  margin-top: 30px!important;
}
.sponsored>.media-banner {
  margin: 12px 0;
}
.login-custom {
  position: relative;
  isolation: isolate;
  background: #ede7ff!important;
  color: #211438!important;
  overflow: hidden;
}
.login-custom .login-story-background {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.login-story-background .media-banner {
  height: 100%;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.login-custom:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,#f5efffe0,#f2ecffb3);
}
.login-custom .brand {
  background: none!important;
  padding: 0!important;
  border: 0!important;
  box-shadow: none!important;
}
.login-custom .login-logo img {
  width: 230px;
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}
.login-custom h1 {
  color: #23143f;
  max-width: 600px;
}
.login-custom p {
  color: #4a3c63;
}
.login-logo {
  background: none!important;
}
.google-login {
  margin: 18px 0 12px;
}
.login-form .text-button {
  display: block;
  margin: 12px 0;
}
.login-form form label {
  margin-bottom: 12px;
}
.login-story-copy {
  position: relative;
}
.header-nav {
  flex-wrap: wrap;
}
.student-portal .brand img {
  max-width: 180px;
}
@media(max-width:640px) {
  .sample-banner {
    padding: 22px;
  }
  .media-banner {
    aspect-ratio: 2.5/1;
    min-height: 160px;
  }
  .media-banner.compact {
    min-height: 110px;
  }
  .banner-lines {
    display: none;
  }
  .student-portal {
    padding: 12px!important;
  }
  .student-photo {
    width: 150px;
    height: 150px;
    flex-basis: 150px;
  }
  .student-photo-control>label {
    min-width: 100%;
  }
  .sample-banner h2 {
    font-size: 25px;
  }
  .login-custom {
    min-height: 350px;
  }
  .login-custom h1 {
    font-size: 34px;
  }
}
