@import url("/static/core/type.b2102b95f94f.css");
:root {
  --ink: #29153f;
  --deep: #211035;
  --muted: #807d84;
  --line: #e5e3e8;
  --page: #f6f5f7;
  --mint: #e0d6ec;
  --lime: #cca3fa;
  --peach: #f0c4af;
  --radius: 17px;
  --purple: #e4e1f3;
  --shadow: 0 3px 20px #2c164603;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    "Academy",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.4px;
  font-weight: 600;
  margin-bottom: 11px;
}
h2 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin-bottom: 5px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  color: var(--muted);
  margin-bottom: 0;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #857598;
  outline-offset: 4px;
}
input,
select,
textarea {
  accent-color: #472470;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border: 1px solid #dcd9e0;
  background: #fff;
  border-radius: 9px;
  padding: 11px 13px;
  color: var(--ink);
  min-width: 0;
}
select {
  padding-right: 30px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}
textarea {
  width: 100%;
  resize: vertical;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
[hidden] {
  display: none !important;
}
.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;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 12px;
  background: var(--deep);
  color: #fff;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 247px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 29px 19px 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  width: max-content;
  margin: 0 15px 28px;
}
.brand-mark {
  font-size: 43px;
  font-weight: 850;
  letter-spacing: -4px;
  line-height: 1;
  position: relative;
}
.brand-dot {
  font-size: 31px;
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0 6px;
  color: #7e3dc8;
  letter-spacing: 0;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 4.8px;
  font-weight: 600;
  margin: 5px 0 0 2px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 10px;
  margin: 0 0 31px;
}
.workspace-icon {
  background: #edeaf0;
  width: 32px;
  height: 34px;
  border-radius: 8px;
  text-align: center;
  line-height: 34px;
  font-weight: 700;
  flex-shrink: 0;
}
.workspace div {
  flex: 1;
}
.workspace strong {
  font-size: 11px;
  display: block;
}
.workspace small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.nav-label {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #97949a;
  font-weight: 600;
  padding: 0 14px;
  margin-bottom: 10px;
}
.nav-spaced {
  margin-top: 31px;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 13px;
  border-radius: 9px;
  color: #7b787e;
  font-size: 12px;
  margin-bottom: 4px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #f5f2f9;
  color: var(--deep);
}
.nav-item.active {
  background: #ece5f5;
  color: var(--deep);
  font-weight: 600;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #884cce;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.sidebar-note {
  background: #f3edf9;
  border: 1px solid #ece5f3;
  border-radius: 12px;
  padding: 16px;
}
.sidebar-note svg {
  display: block;
  color: #7e728c;
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}
.sidebar-note strong {
  font-size: 13px;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 5px;
}
.employee-entry {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 19px 4px 15px;
  color: #737077;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.user-row div {
  min-width: 0;
  flex: 1;
}
.user-row strong {
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-row small {
  font-size: 11px;
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}
.avatar.dark {
  background: var(--deep);
  color: #e3d6f1;
}
.avatar.tone-green {
  background: #e4daf0;
  color: #554c60;
}
.avatar.tone-peach {
  background: #f6e5dc;
  color: #9d6f52;
}
.avatar.large {
  width: 74px;
  height: 74px;
  font-size: 24px;
}
.icon-button {
  background: none;
  border: 0;
  color: #817e85;
  display: inline-flex;
  padding: 5px;
  align-items: center;
  justify-content: center;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.main-shell {
  margin-left: 247px;
  width: calc(100% - 247px);
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.breadcrumb {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 11px;
  color: #928f95;
}
.breadcrumb strong {
  color: #514d55;
  font-size: 11px;
  font-weight: 500;
}
.crumb-slash {
  color: #b8b4bb;
}
.topbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #726e77;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #7e2ddc;
  border-radius: 50%;
  flex-shrink: 0;
}
.small-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1e9dc;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  font-weight: 600;
  color: #7c6851;
  margin-left: 20px;
}
.main-content {
  padding: 32px 38px 0;
  max-width: 1640px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}
.page-heading p {
  font-size: 12px;
}
.eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.9px;
  color: #7f7886;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 13px;
}
.sun {
  color: #7a38c6;
  font-size: 37px;
  display: inline-block;
  margin-left: 13px;
  vertical-align: middle;
  font-weight: 400;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.heading-actions form {
  display: flex;
  gap: 8px;
}
.heading-actions select {
  font-size: 11px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.4;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button svg {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--deep);
  color: #fff;
}
.primary:hover {
  background: #371a59;
}
.secondary {
  background: #fff;
  border-color: #dedbe2;
  color: #4c4752;
}
.light {
  background: #dfcaf6;
  color: #2f1949;
}
.danger {
  background: #8a3c30;
  color: #fff;
}
.small-button {
  padding: 9px 13px;
  font-size: 11px;
}
.hero {
  border-radius: var(--radius);
  background: #2a1443;
  color: #fff;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  min-height: 269px;
  margin-bottom: 24px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff12 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 31px 33px;
}
.hero-kicker {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #bca5d7;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero h2 {
  font-size: 33px;
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 0 0 11px;
  color: #efe6fa;
}
.hero p {
  color: #b9b4bf;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.hero .button {
  font-size: 11px;
  padding: 10px 13px;
}
.hero-art {
  position: relative;
  width: 41%;
  min-width: 250px;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #803ecb30;
}
.orb-one {
  width: 370px;
  height: 370px;
  right: -60px;
  top: -50px;
}
.orb-two {
  width: 290px;
  height: 290px;
  right: -20px;
  top: -10px;
}
.art-star {
  position: absolute;
  right: 20px;
  top: 30px;
  color: #c194f5;
  font-size: 170px;
  line-height: 1;
  transform: rotate(15deg);
  opacity: 0.95;
}
.art-window {
  position: absolute;
  width: 174px;
  height: 166px;
  background: #f2edd8;
  transform: rotate(-9deg);
  top: 52px;
  left: 14px;
  border-radius: 12px;
  box-shadow: 8px 10px 0 #1c0d2d55;
  padding: 11px;
  color: var(--ink);
}
.art-dots {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #d0cad7;
  padding-bottom: 8px;
}
.art-dots i {
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: #b4abc0;
}
.art-steps {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 65px;
  padding: 12px 18px 0;
}
.art-steps div {
  background: #c9aee7;
  width: 29px;
  border-radius: 4px 4px 0 0;
  height: 20px;
}
.art-steps div:nth-child(2) {
  height: 34px;
  background: #8d4fd4;
}
.art-steps div:nth-child(3) {
  height: 49px;
  background: #6e607f;
}
.art-check {
  width: 31px;
  height: 31px;
  background: #e6ba9b;
  position: absolute;
  right: 12px;
  top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  font-size: 19px;
  color: #5c5742;
}
.art-window > span {
  display: block;
  font-size: 11px;
  margin: 10px 13px;
  line-height: 1.6;
}
.floating-pill {
  position: absolute;
  right: 22px;
  bottom: 32px;
  border: 1px solid #726482;
  background: #40245f;
  color: #cdb3ea;
  border-radius: 30px;
  padding: 9px 14px;
  font-size: 10.5px;
  transform: rotate(6deg);
}
.art-spark {
  position: absolute;
  top: 17px;
  left: 5px;
  font-size: 37px;
  color: #e5bca4;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 19px 15px;
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #78727e;
  font-size: 11px;
}
.stat-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg {
  width: 15px;
  height: 15px;
}
.mint {
  background: #ece5f5;
  color: #736682;
}
.purple {
  background: #f0eef8;
  color: #8f81b0;
}
.lime {
  background: #e6d7f8;
  color: #6517bd;
}
.peach {
  background: #fcf0e8;
  color: #c38b66;
}
.stat-number {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 14px 0 16px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-unit {
  font-size: 11px;
  color: #a09da4;
  font-weight: 400;
  letter-spacing: 0;
}
.percent {
  font-size: 24px;
  letter-spacing: -1px;
}
.stat-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #8c8692;
}
.stat-bottom.warn {
  color: #b88553;
  justify-content: space-between;
}
.tiny-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8f7da4;
  border-radius: 50%;
  flex-shrink: 0;
}
.purple-dot {
  background: #b3a5d4;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 24px 17px;
}
.panel-heading h2 {
  font-size: 16px;
}
.panel-heading p {
  font-size: 11px;
  margin-top: 5px;
}
.text-link {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #645675;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--deep);
  text-decoration: underline;
}
.park-overview {
  display: flex;
  align-items: center;
  padding: 8px 24px 23px;
  gap: 24px;
}
.donut {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}
.donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  stroke-width: 12;
}
.donut-bg {
  stroke: #ede6f4;
}
.donut-value {
  stroke: #8c49d8;
  stroke-linecap: round;
}
.donut > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut strong {
  font-size: 32px;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.donut strong small {
  font-size: 19px;
  margin-left: 3px;
}
.donut > div > span {
  font-size: 10.5px;
  color: #98929f;
}
.park-progress-list {
  flex: 1;
  min-width: 0;
}
.park-progress {
  margin-bottom: 16px;
}
.park-progress:last-child {
  margin-bottom: 0;
}
.park-progress > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 7px;
}
.park-progress > div strong {
  font-size: 11px;
  color: #635870;
}
.park-progress small {
  font-size: 10px;
  color: #97929d;
  display: block;
  margin-top: 4px;
}
.park-progress small span {
  margin: 0 4px;
}
progress {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  width: 100%;
  height: 5px;
  border-radius: 6px;
  background: #ece9f0;
  display: block;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #ece9f0;
  border-radius: 6px;
}
progress::-webkit-progress-value {
  background: #8f50d6;
  border-radius: 6px;
}
progress::-moz-progress-bar {
  background: #8f50d6;
  border-radius: 6px;
}
.panel-foot {
  border-top: 1px solid #eeecf0;
  padding: 11px 24px;
  font-size: 10.5px;
  color: #97919d;
  display: flex;
  align-items: center;
  gap: 7px;
}
.heading-icon {
  width: 17px;
  height: 17px;
  color: #9891a1;
}
.agenda-panel .panel-heading {
  padding-bottom: 7px;
}
.agenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 22px;
  padding: 15px 0;
  border-bottom: 1px solid #eeecf0;
}
.agenda-item > div {
  flex: 1;
  min-width: 0;
}
.agenda-item > span:last-child {
  font-size: 13px;
  color: #898192;
}
.date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 49px;
  background: #eee7f5;
  border-radius: 10px;
  flex-shrink: 0;
}
.date-tile strong {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}
.date-tile small {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1px;
  color: #7e728c;
}
.agenda-item > div > strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.agenda-item > div > small {
  display: block;
  font-size: 10.5px;
  color: #938e99;
  margin: 4px 0;
}
.agenda-item .badge {
  font-size: 10px;
  padding: 1px 6px;
}
.agenda-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #756983;
  padding: 15px 23px;
}
.expiry-note {
  font-size: 11px;
  background: #fff6e8;
  padding: 8px 20px;
  color: #976839;
}
.recent-panel .panel-heading {
  padding-top: 22px;
  padding-bottom: 22px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  color: #98929e;
  background: #f9f6fc;
  font-weight: 500;
  padding: 12px 22px;
  border-top: 1px solid #edeaf0;
  border-bottom: 1px solid #edeaf0;
  white-space: nowrap;
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #eeebf1;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.person strong {
  font-size: 11px;
}
.person small {
  display: block;
  color: #97929d;
  font-size: 10.5px;
  margin-top: 3px;
}
.park-code {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid #e4e1e8;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 500;
  color: #82788d;
  white-space: nowrap;
}
.inline-progress {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 105px;
}
.inline-progress progress {
  width: 73px;
  height: 4px;
}
.inline-progress span {
  color: #857e8e;
  font-size: 10.5px;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  white-space: nowrap;
}
.success {
  background: #ede4f7;
  color: #44107e;
}
.warning {
  background: #fcf0e2;
  color: #94612c;
}
.subtle {
  background: #f0eff2;
  color: #6c6672;
}
.row-arrow {
  font-size: 15px;
  color: #8a8293;
  display: inline-flex;
  padding: 5px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9e98a4;
  font-size: 10.5px;
  padding: 26px 0 22px;
  margin-top: 8px;
}
.footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer svg {
  height: 12px;
  width: 12px;
}
.footer-dot {
  padding: 0 7px;
}
.muted {
  color: var(--muted);
}
.block {
  display: block;
}
.full-width {
  width: 100%;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  color: #87808f;
}
.empty strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 9px;
}
.empty p {
  font-size: 12px;
  margin-bottom: 20px;
}
.empty a:not(.button) {
  text-decoration: underline;
}
.empty.small {
  padding: 25px 20px;
  font-size: 11px;
}
.empty.small strong {
  font-size: 15px;
}
.empty.small p {
  font-size: 11px;
  margin-bottom: 0;
}
.empty-icon {
  display: block;
  font-size: 30px;
  margin-bottom: 12px;
}
.messages {
  margin-bottom: 20px;
}
.message {
  border: 1px solid #dccfeb;
  border-radius: 10px;
  background: #eee7f7;
  padding: 13px 17px;
  font-size: 12px;
  margin-bottom: 10px;
  color: #53495e;
}
.message.error {
  background: #fff0ea;
  border-color: #f0d7ca;
  color: #9a4e3a;
}
.message.info {
  background: #f2f1f3;
  color: #5e5767;
}
.demo-strip {
  font-size: 10px;
  letter-spacing: 1px;
  background: #e9e2f1;
  padding: 7px 11px;
  border-radius: 6px;
  color: #6d617a;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
}
.demo-strip span {
  font-size: 10px;
  letter-spacing: 0;
  color: #878090;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-field input {
  width: 100%;
  padding-left: 40px !important;
  font-size: 12px;
}
.search-field svg {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 17px;
  height: 17px;
  color: #98919f;
}
.filter-bar select {
  font-size: 12px;
}
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f6fd;
  padding: 14px 20px;
  flex-wrap: wrap;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.bulk-bar > span {
  margin-right: auto;
  color: #878090;
}
.bulk-bar select,
.bulk-bar input:not([type="checkbox"]) {
  font-size: 11px;
  padding: 8px 10px;
}
.bulk-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bulk-bar select {
  max-width: 220px;
}
.bulk-bar strong {
  color: var(--ink);
}
.check-cell {
  width: 45px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8b8494;
  padding-top: 20px;
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.course-bulk {
  background: transparent;
  border: 0;
  padding: 0 0 20px;
}
.course-bulk > span {
  margin-right: 0;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #3318510a;
}
.course-cover {
  height: 160px;
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  background: #d7c6eb;
}
.course-cover:after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid #ffffff75;
  pointer-events: none;
}
.category-safety {
  background: #d6c5ea;
  color: #554b61;
}
.category-guest {
  background: #f3d4c2;
  color: #af795d;
}
.category-management {
  background: #e5dff0;
  color: #9785ae;
}
.category-operations {
  background: #e0dce4;
  color: #7f7190;
}
.cover-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.cover-art {
  position: absolute;
  right: 25px;
  bottom: 12px;
  font-size: 116px;
  line-height: 1;
  transform: rotate(-12deg);
}
.cover-art svg {
  width: 100px;
  height: 100px;
  stroke-width: 1.1;
}
.cover-version {
  position: absolute;
  left: 20px;
  bottom: 15px;
  font-size: 45px;
  font-weight: 400;
  opacity: 0.45;
  line-height: 1;
  letter-spacing: -3px;
}
.course-select {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 2;
}
.course-select input {
  background: #fff;
}
.course-body {
  padding: 20px 20px 0;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.category-label {
  font-size: 10.5px;
  color: #888190;
}
.course-body h2 {
  font-size: 18px;
  min-height: 49px;
  letter-spacing: -0.5px;
  margin-bottom: 9px;
}
.course-body p {
  font-size: 11px;
  min-height: 52px;
  line-height: 1.8;
}
.course-foot {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  margin-top: 17px;
  font-size: 10.5px;
  color: #8b8494;
}
.course-foot > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.course-foot svg {
  width: 13px;
  height: 13px;
}
.course-foot > a {
  font-size: 20px;
  line-height: 1;
}
.course-grid > .full-width {
  grid-column: 1/-1;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  color: #7f748c;
  margin-bottom: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0 17px;
}
.section-heading h2 {
  margin: 0;
}
.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #dcd0ea;
  background: #eee7f7;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 22px;
}
.info-box svg {
  color: #8c7d9d;
  width: 20px;
  margin-top: 1px;
}
.info-box p {
  color: #81788c;
  font-size: 11px;
  margin-top: 5px;
}
.info-box.small {
  padding: 10px 15px;
}
.course-description {
  font-size: 13px;
  max-width: 750px;
  line-height: 1.9;
}
.module-panel {
  margin-bottom: 20px;
}
.module-heading {
  display: flex;
  gap: 15px;
  align-items: center;
}
.module-number {
  font-size: 23px;
  font-weight: 400;
  color: #9b8ea9;
  background: #eee7f6;
  width: 49px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.module-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 3px;
}
.module-heading h2 {
  margin: 0;
}
.lesson-detail {
  border-top: 1px solid var(--line);
}
.lesson-detail summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.lesson-detail summary::-webkit-details-marker {
  display: none;
}
.lesson-detail summary > .muted {
  font-size: 11px;
  margin-left: auto;
}
.lesson-symbol {
  font-size: 20px;
  color: #9488a2;
}
.lesson-preview {
  padding: 0 30px 25px 65px;
}
.lesson-preview > p {
  font-size: 13px;
  line-height: 1.9;
  color: #6e6776;
  margin-bottom: 18px;
}
.inline-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 11px;
  color: #71657e;
}
.inline-actions form {
  display: flex;
  gap: 12px;
}
.question-preview {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
  font-size: 12px;
}
.question-preview li {
  padding: 5px;
}
.question-preview li::marker {
  color: #a099a9;
}
.lesson-image {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin: 20px 0;
}
.lesson-video {
  width: 100%;
  max-height: 450px;
  border-radius: 12px;
  background: #1b0d2b;
  margin: 20px 0;
}
.editor-form {
  padding: 30px;
  max-width: 820px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 23px;
}
.form-field label {
  font-size: 12px;
  font-weight: 500;
}
.form-field small {
  color: #8a8293;
  font-size: 11px;
}
.form-field .field-error {
  color: #b05a42;
}
.form-field input:not([type="checkbox"]),
.form-field select {
  width: 100%;
}
.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.checkbox-field label {
  order: 1;
}
.errorlist {
  color: #a9503c;
  font-size: 11px;
  list-style: none;
  padding-left: 0;
  margin: 5px 0;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}
.profile-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #8f8798;
  flex-wrap: wrap;
}
.profile-meta .badge {
  font-size: 11px;
}
.link-button {
  background: none;
  border: 0;
  color: #6b5d7c;
  padding: 0;
  font-size: 11px;
  text-align: left;
}
.danger-text {
  color: #b27560;
}
.data-controls {
  margin-top: 30px;
  padding: 20px 24px;
  color: #82788d;
  font-size: 12px;
}
.data-controls summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}
.data-controls > div {
  padding-top: 20px;
}
.data-controls p {
  margin-bottom: 16px;
}
.data-controls label {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.data-controls input {
  width: 180px;
}
.data-controls .inline-actions {
  align-items: flex-end;
}
.park-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.park-card {
  padding: 25px;
  position: relative;
}
.park-card-icon {
  background: #eee7f6;
  color: #8f819e;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.park-card > .park-code {
  position: absolute;
  right: 25px;
  top: 29px;
}
.park-card h2 {
  font-size: 21px;
}
.park-card > p {
  font-size: 12px;
}
.park-card-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 26px;
  font-size: 11px;
  color: #887e94;
}
.access-code {
  font-family: monospace;
  font-size: 16px;
  color: #5c4e6c;
  letter-spacing: 1px;
  display: inline-block;
  background: #eee7f7;
  padding: 7px 10px;
  border-radius: 6px;
  margin-right: 10px;
}
.help-note {
  font-size: 11px;
  margin-top: 18px;
}
.help-note a {
  text-decoration: underline;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 25px;
}
.security-grid .panel {
  padding: 23px;
}
.security-grid p {
  font-size: 12px;
  line-height: 1.9;
}
.security-number {
  font-size: 24px;
  color: #a49ab0;
  display: block;
  margin-bottom: 25px;
}
.security-grid h2 {
  margin-bottom: 10px;
}
.mobile-menu {
  display: none;
}
.public-body {
  background: #f3eff7;
  min-height: 100vh;
}
.public-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 50px;
}
.brand.horizontal {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin: 0;
}
.horizontal .brand-mark {
  font-size: 36px;
}
.horizontal .brand-dot {
  font-size: 26px;
}
.horizontal .brand-sub {
  font-size: 11px;
  padding-left: 25px;
  border-left: 1px solid #d7d1dd;
  letter-spacing: 4px;
  margin: 0;
}
.public-footer {
  display: flex;
  justify-content: space-between;
  margin: 50px auto 0;
  padding: 23px 50px;
  font-size: 11px;
  color: #938b9c;
  max-width: 1500px;
  border-top: 1px solid #e3dee8;
}
.login-layout {
  max-width: 1090px;
  margin: 40px auto 70px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 0 40px;
}
.login-story .eyebrow {
  font-size: 11px;
}
.login-story h1 {
  font-size: 54px;
  letter-spacing: -2.7px;
  line-height: 1.1;
  margin-top: 20px;
  font-weight: 500;
}
.login-story h1 span {
  color: #8c7c9e;
}
.login-story p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 20px;
}
.login-art {
  position: relative;
  height: 200px;
  margin-top: 12px;
  width: 300px;
}
.login-star {
  position: absolute;
  font-size: 170px;
  color: #c3abde;
  left: 20px;
  top: -5px;
  line-height: 1;
}
.login-stairs {
  position: absolute;
  bottom: 5px;
  left: 85px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  transform: rotate(-9deg);
}
.login-stairs i {
  display: block;
  width: 55px;
  height: 55px;
  background: #e0b99c;
  border-radius: 7px 7px 0 0;
}
.login-stairs i:nth-child(2) {
  height: 90px;
  background: #8f51d7;
}
.login-stairs i:nth-child(3) {
  height: 125px;
  background: #544a5f;
}
.login-spark {
  position: absolute;
  right: 12px;
  top: 5px;
  font-size: 40px;
  color: #c39579;
}
.story-caption {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #978fa1;
}
.login-card {
  background: #fff;
  border: 1px solid #e4e0e8;
  border-radius: 23px;
  padding: 30px;
  box-shadow: 0 20px 65px #3a1b5e05;
}
.login-tabs {
  display: flex;
  padding: 4px;
  background: #f3eff7;
  border-radius: 9px;
  margin-bottom: 34px;
}
.login-tabs a {
  flex: 1;
  text-align: center;
  padding: 9px 7px;
  font-size: 11px;
  color: #8a8393;
  border-radius: 6px;
}
.login-tabs a.selected {
  background: #fff;
  color: #3e235d;
  box-shadow: 0 2px 6px #2f164b10;
}
.login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eee5f8;
  color: #7c38ca;
  width: 46px;
  height: 46px;
  margin-bottom: 23px;
}
.login-icon svg {
  width: 22px;
  height: 22px;
}
.login-card h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 500;
}
.login-card > p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.login-card form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
}
.login-card form input {
  width: 100%;
  margin-bottom: 18px;
  font-size: 12px;
  padding: 13px !important;
}
.login-card form .code-input {
  font-family: monospace;
  font-size: 19px;
  letter-spacing: 2px;
}
.login-card form .otp {
  letter-spacing: 9px;
  font-size: 27px;
  text-align: center;
}
.login-card .button {
  padding: 13px 15px;
  justify-content: space-between;
  font-size: 12px;
}
.login-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10.5px;
  color: #988ea3;
  margin-top: 23px;
}
.login-note svg {
  width: 13px;
  height: 13px;
}
.demo-form {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.demo-form .button {
  justify-content: center;
  font-size: 11px;
}
.demo-form small {
  font-size: 10.5px;
  color: #9d96a6;
  display: block;
  text-align: center;
  margin-top: 8px;
}
.public-messages {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 30px;
}
.resend-link {
  margin-top: 24px;
}
.legal-document {
  max-width: 780px;
  margin: 45px auto;
  padding: 40px;
}
.legal-document h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
.legal-document .lead {
  font-size: 16px;
  line-height: 1.8;
  color: #70667b;
  margin-bottom: 30px;
}
.legal-document h2 {
  margin: 28px 0 10px;
  font-size: 19px;
}
.legal-document p {
  font-size: 13px;
  line-height: 1.9;
}
.legal-document .button {
  margin-top: 30px;
}
.learner-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 30px;
  gap: 25px;
}
.learner-heading h1 {
  font-size: 32px;
}
.learner-heading p {
  font-size: 12px;
}
.learn-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1250px;
  margin: 30px auto 60px;
  padding: 0 30px;
}
.learn-sidebar {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.learning-progress {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.learning-progress strong {
  font-size: 12px;
}
.learning-progress progress {
  margin: 12px 0;
}
.learning-progress small {
  font-size: 11px;
  color: #978ea1;
}
.outline-module {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
}
.outline-module .eyebrow {
  font-size: 10px;
  margin-left: 7px;
  margin-bottom: 4px;
}
.outline-module h3 {
  font-size: 14px;
  margin-left: 7px;
  margin-bottom: 16px;
}
.outline-lesson {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 10px 9px;
  margin-top: 3px;
  border-radius: 7px;
  color: #7e7489;
}
.outline-lesson.selected {
  background: #ece2f7;
  color: #451d72;
}
.outline-lesson > span {
  font-size: 15px;
}
.outline-lesson.locked {
  opacity: 0.6;
  font-size: 11px;
}
.outline-lesson svg {
  width: 14px;
  height: 14px;
}
.lesson-content {
  padding: 35px;
  align-self: start;
}
.lesson-content > h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.lesson-text {
  font-size: 15px;
  line-height: 1.9;
  white-space: normal;
}
.lesson-text p {
  margin: 20px 0;
  color: #665e6f;
}
.quiz-form {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.quiz-heading h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin-bottom: 7px;
}
.quiz-heading .eyebrow {
  margin-bottom: 7px;
}
.quiz-heading p {
  font-size: 12px;
  line-height: 1.8;
}
.quiz-question {
  border: 0;
  padding: 0;
  margin: 30px 0;
}
.quiz-question legend {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 15px;
}
.quiz-choice {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e2dde7;
  border-radius: 10px;
  margin: 9px 0;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}
.quiz-choice:has(input:checked) {
  background: #eee4f9;
  border-color: #8f52d6;
}
.quiz-choice:hover {
  background: #f6f2fb;
}
.quiz-submit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-direction: column;
  margin-top: 25px;
}
.quiz-submit small {
  color: #9990a3;
  font-size: 11px;
}
.read-confirm {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.completion-banner {
  background: #eadcf9;
  padding: 18px;
  color: #562095;
  font-size: 13px;
  border-radius: 10px;
  margin-bottom: 25px;
}
.stat-link:hover {
  border-color: #c4bdcd;
}
@media (min-width: 1600px) {
  .main-content {
    padding-top: 40px;
  }
  .hero {
    min-height: 300px;
  }
  .hero-copy {
    padding: 35px 40px;
  }
  .hero h2 {
    font-size: 40px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-art {
    width: 40%;
  }
  .art-star {
    right: 85px;
    font-size: 205px;
  }
  .art-window {
    width: 190px;
    height: 181px;
    left: 30px;
    top: 60px;
  }
  .floating-pill {
    right: 50px;
    bottom: 40px;
  }
  .stats-grid {
    gap: 22px;
  }
  .stat-card {
    padding: 23px;
  }
  .stat-top {
    font-size: 13px;
  }
  .stat-bottom {
    font-size: 11px;
  }
  .park-overview {
    padding: 20px 30px 30px;
    gap: 40px;
  }
  .donut {
    width: 190px;
    height: 190px;
  }
  .park-progress > div {
    font-size: 12px;
  }
  .park-progress small {
    font-size: 11px;
  }
  .agenda-item {
    padding: 18px 0;
  }
  .agenda-item > div > strong {
    font-size: 12px;
  }
  .agenda-item > div > small {
    font-size: 11px;
  }
  td {
    font-size: 12px;
    padding-top: 19px;
    padding-bottom: 19px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-shell {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
  .main-content {
    padding: 28px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-art {
    width: 36%;
    min-width: 205px;
  }
  .art-star {
    right: -20px;
  }
  .art-window {
    left: -5px;
    width: 153px;
  }
  .floating-pill {
    font-size: 10px;
    right: 7px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 15px 13px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-bottom {
    font-size: 10px;
  }
  .stat-number {
    font-size: 31px;
  }
  .stat-unit {
    font-size: 10px;
  }
  .dashboard-grid {
    gap: 16px;
    grid-template-columns: 1.5fr 1fr;
  }
  .panel-heading {
    padding-left: 20px;
    padding-right: 20px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .park-overview {
    gap: 15px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .donut {
    width: 136px;
    height: 136px;
  }
  .park-progress > div {
    font-size: 10.5px;
  }
  .course-grid {
    gap: 17px;
  }
  .course-body {
    padding: 17px 16px 0;
  }
  .course-cover {
    height: 145px;
  }
  .course-body h2 {
    font-size: 16px;
  }
  .heading-actions {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .park-grid {
    gap: 15px;
  }
  .park-card {
    padding: 20px;
  }
  .park-card-footer {
    font-size: 10.5px;
    gap: 10px;
  }
  .login-layout {
    gap: 60px;
  }
}
@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-bottom {
    font-size: 11px;
  }
  .stat-top {
    font-size: 12px;
  }
  .stat-unit {
    font-size: 11px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .park-overview {
    padding: 10px 30px 24px;
    gap: 35px;
  }
  .donut {
    width: 170px;
    height: 170px;
  }
  .park-progress > div {
    font-size: 12px;
  }
  .park-progress small {
    font-size: 11px;
  }
  .agenda-panel .agenda-item {
    padding: 16px 0;
  }
  .hero-art {
    min-width: 160px;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero-art .art-window {
    width: 135px;
    left: -3px;
    height: 155px;
  }
  .art-star {
    font-size: 140px;
    right: -45px;
  }
  .floating-pill {
    display: none;
  }
  .hero {
    min-height: 260px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .park-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .security-grid .panel {
    padding: 20px;
  }
  .security-number {
    margin-bottom: 12px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .heading-actions {
    width: auto;
  }
  .login-layout {
    gap: 40px;
  }
  .login-story h1 {
    font-size: 43px;
  }
  .login-layout {
    padding: 0 30px;
  }
  .login-card {
    padding: 25px;
  }
  .learn-layout {
    grid-template-columns: 240px 1fr;
    gap: 20px;
  }
  .lesson-content {
    padding: 25px;
  }
  .learner-heading h1 {
    font-size: 26px;
  }
  .lesson-content > h2 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 247px;
    box-shadow: 10px 0 40px #1d0e2f22;
    top: 65px;
    bottom: 0;
    overflow: auto;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar .brand,
  .sidebar .workspace {
    display: none;
  }
  .sidebar .nav-label {
    margin-top: 20px;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .breadcrumb {
    gap: 11px;
  }
  .main-content {
    padding: 25px 20px 0;
  }
  .page-heading {
    gap: 20px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
  }
  .hero {
    min-height: 259px;
  }
  .hero-copy {
    padding: 26px 23px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero-art {
    width: 35%;
    min-width: 150px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 0.8px;
    max-width: 270px;
  }
  .art-window {
    top: 58px !important;
  }
  .hero p {
    font-size: 11px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-number {
    font-size: 33px;
    margin-top: 14px;
  }
  .stat-bottom {
    font-size: 10.5px;
  }
  .dashboard-grid {
    gap: 20px;
  }
  .park-progress small {
    font-size: 10.5px;
  }
  .park-progress > div {
    font-size: 11px;
  }
  .footer {
    font-size: 10px;
    gap: 15px;
    align-items: flex-start;
  }
  .footer > span {
    max-width: 190px;
  }
  .footer a {
    white-space: nowrap;
  }
  .topbar-right .quiet {
    display: none;
  }
  .small-avatar {
    margin-left: 8px;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-bar .search-field {
    flex-basis: 100%;
  }
  .filter-bar .text-link {
    margin-left: 5px;
  }
  .filter-bar select {
    font-size: 11px;
  }
  .bulk-bar {
    padding: 13px;
    gap: 8px;
  }
  .bulk-bar > span {
    font-size: 11px;
  }
  .bulk-bar select {
    font-size: 11px;
  }
  .bulk-bar input[type="date"] {
    max-width: 140px;
  }
  .course-grid {
    gap: 15px;
  }
  .course-cover {
    height: 145px;
  }
  .course-body h2 {
    min-height: 45px;
  }
  .course-meta {
    gap: 4px;
  }
  .category-label {
    font-size: 10px;
  }
  .course-body p {
    font-size: 11px;
  }
  .course-foot {
    font-size: 10px;
  }
  .module-panel .panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .module-panel .heading-actions {
    margin-left: 63px;
  }
  .lesson-detail summary {
    padding: 17px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .lesson-detail summary > .muted {
    font-size: 10.5px;
    margin-left: 29px;
  }
  .lesson-detail summary > strong {
    flex: 1;
    font-size: 11px;
  }
  .lesson-preview {
    padding: 0 20px 20px;
  }
  .profile-heading {
    gap: 14px;
  }
  .avatar.large {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }
  .profile-heading h1 {
    font-size: 25px;
  }
  .profile-meta {
    font-size: 11px;
    gap: 10px;
  }
  .editor-form {
    padding: 23px;
  }
  .demo-strip {
    display: block;
    font-size: 9px;
  }
  .demo-strip span {
    display: block;
    margin-top: 2px;
    font-size: 10px;
  }
  .public-header {
    padding: 24px;
  }
  .horizontal .brand-mark {
    font-size: 30px;
  }
  .horizontal .brand-dot {
    font-size: 20px;
  }
  .horizontal .brand-sub {
    font-size: 10px;
    letter-spacing: 3px;
    padding-left: 15px;
  }
  .brand.horizontal {
    gap: 15px;
  }
  .public-header > .text-link {
    font-size: 10.5px;
  }
  .login-layout {
    display: flex;
    flex-direction: column;
    margin: 20px auto 30px;
    gap: 30px;
    padding: 0 24px;
    max-width: 500px;
  }
  .login-story {
    width: 100%;
  }
  .login-story h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .login-story h1 br:first-of-type {
    display: none;
  }
  .login-story p {
    font-size: 12px;
    margin-top: 10px;
  }
  .login-story .eyebrow {
    font-size: 10px;
  }
  .login-art,
  .story-caption {
    display: none;
  }
  .login-card {
    width: 100%;
    padding: 25px;
    border-radius: 18px;
  }
  .login-card h2 {
    font-size: 27px;
  }
  .login-tabs {
    margin-bottom: 25px;
  }
  .public-footer {
    margin-top: 30px;
    padding: 20px 24px;
    gap: 14px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .public-messages {
    padding: 0 24px;
  }
  .legal-document {
    margin: 25px 20px;
    padding: 28px;
  }
  .legal-document h1 {
    font-size: 29px;
  }
  .legal-document .lead {
    font-size: 14px;
  }
  .learn-layout {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin-top: 20px;
  }
  .learn-sidebar {
    width: 100%;
  }
  .outline-module {
    padding: 17px;
  }
  .learning-progress {
    padding: 20px;
  }
  .learner-heading {
    margin: 20px auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .learner-heading h1 {
    font-size: 28px;
  }
  .lesson-content {
    padding: 24px;
    width: 100%;
  }
  .lesson-content > h2 {
    font-size: 25px;
  }
  .lesson-text {
    font-size: 14px;
  }
  .public-footer span {
    display: none;
  }
  .learn-sidebar .outline-module {
    display: none;
  }
  .learn-sidebar:focus-within .outline-module,
  .learn-sidebar:hover .outline-module {
    display: block;
  }
  .learn-sidebar {
    cursor: pointer;
  }
  .learn-sidebar:before {
    content: "Plan du parcours · toucher pour afficher";
    display: block;
    padding: 10px 20px;
    background: #f6f2fb;
    font-size: 11px;
    color: #776b85;
  }
  .learning-progress {
    padding: 14px 20px;
  }
}
@media (max-width: 450px) {
  .hero-art {
    display: none;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero {
    min-height: auto;
  }
  .hero-copy {
    padding: 27px 24px;
  }
  .hero-kicker {
    font-size: 9px;
    max-width: none;
  }
  .hero p {
    font-size: 11px;
  }
  .hero .button {
    margin-top: 5px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-cover {
    height: 180px;
  }
  .course-body {
    padding: 20px 22px 0;
  }
  .course-body h2 {
    min-height: auto;
    font-size: 20px;
  }
  .course-body p {
    min-height: auto;
    font-size: 12px;
  }
  .course-foot {
    font-size: 11px;
  }
  .category-label {
    font-size: 11px;
  }
  .park-grid {
    grid-template-columns: 1fr;
  }
  .park-overview {
    padding: 10px 20px 24px;
    gap: 18px;
  }
  .donut {
    width: 130px;
    height: 130px;
  }
  .donut strong {
    font-size: 27px;
  }
  .park-progress > div {
    font-size: 11px;
  }
  .park-progress small {
    font-size: 10px;
  }
  .stat-unit {
    font-size: 10px;
  }
  .stat-bottom {
    font-size: 10px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
  }
  .stat-number {
    font-size: 31px;
  }
  .main-content {
    padding: 23px 16px 0;
  }
  .topbar {
    padding: 0 16px;
  }
  .panel-heading {
    padding: 20px 18px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .text-link {
    font-size: 11px;
  }
  .panel-heading p {
    font-size: 10.5px;
  }
  .pagination {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .profile-heading h1 {
    font-size: 23px;
  }
  .footer > span {
    max-width: 150px;
  }
  .public-header {
    padding: 20px;
  }
  .public-header > .text-link {
    max-width: 100px;
    font-size: 10px;
    white-space: normal;
    text-align: right;
  }
  .login-layout {
    padding: 0 20px;
  }
  .login-card {
    padding: 23px;
  }
  .login-tabs a {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.outline-toggle {
  display: none;
}
@media (max-width: 760px) {
  .learn-sidebar:before {
    display: none;
  }
  .outline-toggle {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #f6f2fb;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #625571;
  }
  .learn-sidebar:hover .outline-module,
  .learn-sidebar:focus-within .outline-module {
    display: none;
  }
  .learn-sidebar.outline-open .outline-module {
    display: block;
  }
}
.table-scroll {
  position: relative;
  max-width: 100%;
}
.main-shell {
  min-width: 0;
}
.course-bulk label[data-for-action] {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.course-bulk input[type="number"] {
  width: 70px;
  padding: 7px;
}


/* ==========================================================================
   Direction artistique LBAE : violet de marque, barre latérale sombre,
   cartes sobres. Les statuts gardent leurs couleurs (vert, ambre, rouge).
   ========================================================================== */
:root {
  --brand: #8129e5;
  --brand-strong: #6a1cc4;
  --brand-soft: #f3ecfd;
  --brand-line: #e3d4fa;
  --sidebar: #2a1150;
  --page: #faf9f7;
  --ink: #1f1430;
  --line: #ebe8ee;
  --ok: #1f7a3d;
  --ok-soft: #e8f5ec;
  --ok-line: #9fd0ae;
  --soon: #8a5a00;
  --soon-soft: #fdf1dc;
  --soon-bar: #a8741b;
  --late: #b42318;
  --late-soft: #fdecea;
  --late-line: #f2b8b2;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", Georgia, "Times New Roman", serif;
}
body {
  background: var(--page);
}
h1,
.da-card-head h2,
.panel-heading h2 {
  font-family: var(--serif);
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Boutons et statuts */
.primary {
  background: var(--brand);
  color: #fff;
}
.primary:hover {
  background: var(--brand-strong);
}
.success {
  background: var(--ok-soft);
  color: var(--ok);
}
.warning {
  background: var(--soon-soft);
  color: var(--soon);
}
.badge.danger {
  background: var(--late-soft);
  color: var(--late);
}
.button.danger {
  background: var(--late);
}
progress::-webkit-progress-value {
  background: var(--brand);
}
progress::-moz-progress-bar {
  background: var(--brand);
}

/* Barre latérale sombre */
.sidebar {
  background: var(--sidebar);
  border-right: 0;
  color: #fff;
  overflow-y: auto;
}
.brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0 8px 22px;
}
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
}
.brand-sub {
  color: #fff;
  margin: 0;
  font-size: 11px;
  letter-spacing: 4px;
}
.public-header .brand-sub {
  color: var(--ink);
}
.public-header .brand-logo {
  height: 46px;
}
.sidebar-cta {
  width: 100%;
  margin-bottom: 22px;
}
.sidebar .workspace {
  border-color: #ffffff1f;
  background: #ffffff0d;
  margin-bottom: 24px;
}
.sidebar .workspace-icon {
  background: #ffffff1f;
  color: #fff;
}
.sidebar .workspace small,
.sidebar .muted {
  color: #c9b9e6;
}
.sidebar .nav-label {
  color: #a995cc;
}
.sidebar .nav-item {
  color: #ddd2f0;
}
.sidebar .nav-item:hover {
  background: #ffffff12;
  color: #fff;
}
.sidebar .nav-item.active {
  background: #ffffff1f;
  color: #fff;
  box-shadow: inset 3px 0 0 #b98cf5;
}
.sidebar .nav-dot {
  background: #b98cf5;
}
.sidebar .sidebar-note {
  background: #ffffff0d;
  border-color: #ffffff1a;
  padding: 14px;
}
.sidebar .sidebar-note svg {
  color: #b98cf5;
  margin-bottom: 8px;
}
.sidebar .sidebar-note p {
  color: #c9b9e6;
  margin-bottom: 0;
}
.sidebar .employee-entry {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #b98cf566;
  border-radius: 8px;
  color: #e9defa;
}
.sidebar .employee-entry:hover {
  background: #ffffff12;
}
.sidebar .user-row {
  border-top-color: #ffffff1f;
  margin-top: 14px;
}
.sidebar .user-row small {
  color: #c9b9e6;
}
.sidebar .avatar.dark {
  background: #ffffff1f;
  color: #fff;
}
.sidebar .icon-button {
  color: #c9b9e6;
}
.small-avatar {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

/* Tableau de bord */
.da-heading h1 {
  font-size: 32px;
  margin-bottom: 4px;
}
.da-heading p {
  color: var(--muted);
  margin: 0;
}
.da-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.da-main,
.da-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.da-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.da-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.da-card-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  margin: 0;
}
.da-card-head h2 svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.da-card-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.da-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
  list-style: none;
}
.small-button {
  padding: 7px 11px;
  font-size: 11px;
}

/* Bandeau d'état */
.da-status {
  border: 1.5px solid var(--ok-line);
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
}
.da-status.is-late {
  border-color: var(--late-line);
}
.da-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.da-status-row > div {
  flex: 1;
  min-width: 0;
}
.da-status-row strong {
  display: block;
  font-size: 14px;
}
.da-status-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.da-status-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--ok-soft);
  color: var(--ok);
}
.is-late .da-status-icon {
  background: var(--late-soft);
  color: var(--late);
}
.da-status-icon svg {
  width: 16px;
  height: 16px;
}
.da-status-foot {
  font-size: 11px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #4e4659;
}

/* Indicateurs */
.da-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.da-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.da-kpi span {
  font-size: 11px;
  color: var(--muted);
}
.da-kpi strong {
  font-size: 26px;
  font-weight: 650;
  line-height: 1.1;
}
.da-kpi progress {
  margin-top: 6px;
}
a.da-kpi:hover {
  border-color: var(--brand-line);
}
.da-kpi.is-late strong {
  color: var(--late);
}

/* Prochaines échéances */
.da-deadlines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.da-deadlines li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  --bar: var(--brand);
}
.da-deadlines li:last-child {
  border-bottom: 0;
}
.da-deadlines li.is-soon {
  --bar: var(--soon-bar);
}
.da-deadlines li.is-late {
  --bar: var(--late);
}
.da-deadline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.da-deadline-top strong {
  font-size: 13px;
}
.da-deadline-top small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.da-pill {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f1eff4;
  color: #4e4659;
  white-space: nowrap;
}
.is-soon .da-pill {
  background: var(--soon-soft);
  color: var(--soon);
}
.is-late .da-pill {
  background: var(--late-soft);
  color: var(--late);
}
.da-deadline-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 10px;
}
.da-deadline-progress progress {
  flex: 1;
  height: 5px;
}
.da-deadline-progress progress::-webkit-progress-value {
  background: var(--bar);
}
.da-deadline-progress progress::-moz-progress-bar {
  background: var(--bar);
}
.da-deadline-progress span {
  font-size: 11px;
  color: var(--muted);
  width: 38px;
  text-align: right;
}
.da-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid var(--brand-line);
  border-radius: 7px;
  color: var(--brand-strong);
}
.da-chip:hover {
  background: var(--brand-soft);
}
.da-chip svg {
  width: 13px;
  height: 13px;
}
.da-card table th:first-child,
.da-card table td:first-child {
  padding-left: 0;
}

/* Colonne latérale */
.da-parks {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}
.da-park > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}
.da-park small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.da-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
}
.da-agenda a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.da-agenda li:last-child a {
  border-bottom: 0;
}
.da-agenda strong {
  display: block;
  font-size: 12px;
}
.da-agenda small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.da-agenda .date-tile {
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.da-callout {
  background: var(--soon-soft);
  border: 1px solid #f3dcb2;
  border-radius: 12px;
  padding: 14px 18px;
}
.da-callout summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.da-callout summary::-webkit-details-marker {
  display: none;
}
.da-callout summary > svg {
  width: 18px;
  height: 18px;
  color: var(--soon);
  flex-shrink: 0;
}
.da-callout summary > div {
  flex: 1;
}
.da-callout summary strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
}
.da-callout summary small {
  font-size: 11px;
  color: #6b5a3c;
}
.da-callout[open] summary > span {
  transform: rotate(180deg);
}
.da-callout ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #f0d9ae;
}
.da-callout li {
  padding: 5px 0;
  font-size: 12px;
}
.da-callout li a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.da-callout li small {
  display: block;
  color: #6b5a3c;
  font-size: 11px;
}
.da-callout p {
  font-size: 11px;
  color: #6b5a3c;
  margin: 10px 0 0;
}

@media (max-width: 1180px) {
  .da-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .da-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .da-status-row {
    flex-wrap: wrap;
  }
  .da-status-row .button {
    width: 100%;
  }
  .da-card {
    padding: 16px;
  }
  .da-deadline-top {
    flex-direction: column;
    gap: 6px;
  }
}
.login-story h1 {
  letter-spacing: -0.02em;
}
.login-story h1 span {
  color: var(--brand);
}
.da-card table {
  min-width: 640px;
}

/* ==========================================================================
   Studio e-learning : page parcours et éditeur de leçon
   ========================================================================== */
textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.6;
}
input,
select,
textarea {
  accent-color: var(--brand);
}
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--late);
}
.form-field .field-error,
.field-error {
  color: var(--late);
  font-size: 11px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.course-meta .badge {
  font-size: 11px;
}
.badge svg {
  width: 12px;
  height: 12px;
}
.da-status.is-locked {
  border-color: #f0d9ae;
  margin-bottom: 20px;
}
.is-locked .da-status-icon {
  background: var(--soon-soft);
  color: var(--soon);
}

/* Liste de contrôle avant publication */
.publish-card {
  margin-bottom: 20px;
}
.publish-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.publish-head h2 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 2px;
}
.publish-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 8px;
  font-size: 12px;
}
.checklist li > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.checklist .is-ok > span {
  background: var(--ok-soft);
  color: var(--ok);
}
.checklist .is-todo > span {
  background: var(--soon-soft);
  color: var(--soon);
}
.checklist small {
  grid-column: 2;
  color: var(--soon);
  font-size: 11px;
}
.course-rules {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 26px;
  font-size: 12px;
  color: #4e4659;
}
.course-rules strong {
  margin-right: 6px;
}
.course-rules p {
  margin: 0;
  color: var(--muted);
}

/* Plan du parcours */
.module-card {
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
}
.module-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.module-card-head .module-number {
  width: 40px;
  height: 40px;
  font-size: 17px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  flex-shrink: 0;
}
.module-card-head > div {
  flex: 1;
  min-width: 0;
}
.module-card-head .eyebrow {
  margin: 0;
}
.module-card-head h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0;
}
.module-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lesson-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lesson-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.lesson-rows li:hover {
  background: #fcfbfe;
}
.lesson-index {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1eff4;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b6475;
  flex-shrink: 0;
}
.lesson-row-main {
  flex: 1;
  min-width: 0;
}
.lesson-row-main strong {
  display: block;
  font-size: 13px;
}
.lesson-row-main small {
  font-size: 11px;
  color: var(--muted);
}
.lesson-rows .icon-button {
  font-size: 12px;
}
.lesson-rows-empty {
  color: var(--muted);
  font-size: 12px;
}
.da-chip.ghost {
  border-color: var(--line);
  color: #4e4659;
}
.add-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-strong);
}
.add-row:hover {
  background: var(--brand-soft);
}
.add-row svg {
  width: 15px;
  height: 15px;
}
.add-module {
  border: 1.5px dashed var(--brand-line);
  border-radius: 12px;
  justify-content: center;
  padding: 16px;
  margin-bottom: 10px;
}
.empty-plan {
  margin-bottom: 14px;
}
.empty-plan p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Éditeur de leçon */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.studio-main,
.studio-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.studio-side {
  position: sticky;
  top: 20px;
}
.studio-section .form-field {
  margin-bottom: 18px;
}
.studio-section .form-field:last-child {
  margin-bottom: 0;
}
.studio-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.studio-step > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.studio-step h2 {
  font-family: var(--serif);
  font-size: 17px;
  margin: 1px 0 2px;
}
.studio-step p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.studio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.input-suffix {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-suffix input {
  width: 110px !important;
}
.input-suffix span {
  font-size: 12px;
  color: var(--muted);
}
.studio-check {
  align-items: flex-start;
}
.studio-check input {
  margin-top: 2px;
}
.studio-check label {
  order: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.studio-tip {
  background: var(--brand-soft);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 11px;
  color: #4e4659;
}
.studio-tip p {
  margin: 4px 0 0;
  line-height: 1.6;
}
.studio-bar {
  grid-column: 1 / -1;
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0;
  background: linear-gradient(to top, var(--page) 70%, transparent);
}

/* Cartes de question */
.q-list {
  display: grid;
  gap: 14px;
}
.q-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fdfcfe;
}
.q-card.is-removed {
  opacity: 0.45;
}
.q-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}
.q-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--late);
}
.q-error {
  margin: -4px 0 10px;
}
.q-answers {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.q-answers legend {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  padding: 0;
}
.q-answers legend small {
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}
.q-answer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.q-answer input[type="text"] {
  flex: 1;
}
.q-correct {
  display: inline-flex;
  padding: 4px;
  cursor: pointer;
}
.q-correct input {
  width: 18px;
  height: 18px;
}
.q-letter {
  width: 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.q-answer:has(input[type="radio"]:checked) input[type="text"] {
  border-color: var(--ok-line);
  background: var(--ok-soft);
}
.q-answer:has(input[type="radio"]:checked) .q-letter {
  color: var(--ok);
}
.q-empty {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
.q-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1.5px dashed var(--brand-line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-strong);
}
.q-add:hover {
  background: var(--brand-soft);
}
.q-add svg {
  width: 15px;
  height: 15px;
}

/* Aperçu et récapitulatif apprenant */
.preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 12px;
}
.preview-banner strong {
  margin-right: 8px;
  color: var(--brand-strong);
}
.preview-lesson {
  max-width: 860px;
}
.preview-after {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.lesson-recap {
  background: var(--ok-soft);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 22px 0;
}
.lesson-recap h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.lesson-recap ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.lesson-recap li {
  font-size: 13px;
}
.lesson-recap strong {
  display: block;
}
.recap-answer {
  color: var(--ok);
  font-weight: 600;
}
.lesson-recap p {
  margin: 2px 0 0;
  color: #4e4659;
}

@media (max-width: 1100px) {
  .studio {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-side {
    position: static;
  }
}
@media (max-width: 760px) {
  .studio-row,
  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }
  .publish-head {
    flex-direction: column;
  }
  .lesson-rows li {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .lesson-row-main {
    flex-basis: calc(100% - 40px);
  }
  .module-card-head {
    flex-wrap: wrap;
  }
  .studio-bar {
    gap: 8px;
    padding: 10px 0;
  }
  .studio-bar a.button {
    display: none;
  }
  .studio-bar .button {
    flex: 1;
    padding: 10px 8px;
    white-space: normal;
    text-align: center;
  }
}
.course-meta .badge {
  margin: 0;
  display: inline-flex;
}
.q-card,
.q-answers {
  min-width: 0;
}
.q-answer input[type="text"] {
  min-width: 0;
  width: 100%;
}

/* Studio : aperçu en direct */
.studio {
  grid-template-columns: minmax(0, 1fr) 440px;
}
.studio-preview {
  position: sticky;
  top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.preview-toolbar strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.device-switch {
  display: inline-flex;
  background: #f1eff4;
  border-radius: 8px;
  padding: 3px;
}
.device-switch button {
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  color: #4e4659;
  cursor: pointer;
}
.device-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand-strong);
  box-shadow: 0 1px 3px #1f143022;
}
.device-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4f2f7;
  border-radius: 10px;
}
.device-frame {
  box-sizing: content-box;
  transform-origin: top left;
  background: #fff;
  overflow: hidden;
  border: 10px solid #1f1430;
  border-radius: 44px;
}
.device-frame[data-device="tablet"] {
  border-width: 18px;
  border-radius: 36px;
}
.device-frame[data-device="desktop"] {
  border-width: 26px 10px 10px;
  border-radius: 12px;
}
.device-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.preview-note a {
  color: var(--brand-strong);
  font-weight: 500;
}
.studio-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.studio-rules .studio-check {
  grid-column: 1 / -1;
}
.studio-section .studio-rules .form-field {
  margin-bottom: 18px;
}
.video-options {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #faf8fd;
  border: 1px solid var(--line);
}
.video-options .form-field {
  margin-bottom: 12px;
}
.video-options .form-field:last-child {
  margin-bottom: 0;
}
.studio-tip {
  margin: 0;
}
.video-rule {
  font-size: 12px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 18px 0 10px;
}
.is-preview .public-header a {
  pointer-events: none;
}
@media (max-width: 1240px) {
  .studio {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-preview {
    position: static;
  }
}
@media (max-width: 760px) {
  .studio-rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview-toolbar {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Ergonomie générale : fil d’Ariane, formulaires, actions groupées
   ========================================================================== */
.breadcrumb a {
  color: inherit;
}
.breadcrumb a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}
.topbar-right .quiet {
  font-size: 12px;
  color: #4e4659;
}
.editor-form {
  max-width: 900px;
  padding: 24px 26px;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.editor-grid .form-field {
  margin-bottom: 18px;
}
.form-field.wide {
  grid-column: 1 / -1;
}
.form-field .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-left: 4px;
}
.field-label {
  font-size: 12px;
  font-weight: 500;
}
.form-field ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-field ul label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 400;
  cursor: pointer;
  background: #fff;
}
.form-field ul label:has(input:checked) {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.editor-form .studio-tip {
  margin-top: 4px;
}
.help-note {
  font-size: 11px;
  color: var(--muted);
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card .panel-heading {
  padding: 18px 22px;
}
td .inline-actions {
  margin: 0;
}
.bulk-hint {
  display: none;
  color: var(--muted);
  font-size: 12px;
}
.bulk-bar.is-empty .bulk-hint {
  display: inline;
}
.bulk-bar.is-empty select,
.bulk-bar.is-empty input:not([data-select-all]),
.bulk-bar.is-empty button,
.bulk-bar.is-empty label[data-for-action] {
  display: none;
}
@media (max-width: 760px) {
  .editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar-right .quiet {
    display: none;
  }
}
.form-field div[id] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-field div[id] > div > label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 400;
  cursor: pointer;
  background: #fff;
}
.form-field div[id] > div > label:has(input:checked) {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.da-card.table-card table th:first-child,
.da-card.table-card table td:first-child {
  padding-left: 22px;
}
.bulk-bar.is-empty .bulk-hint {
  margin-right: auto;
}
.bulk-bar.is-empty > span:first-child {
  margin-right: 12px;
}

/* Mise en forme des leçons */
.format-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid #dcd9e0;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: #faf8fd;
}
.format-bar + textarea {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.format-bar button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  color: #3f3749;
  cursor: pointer;
  min-width: 30px;
}
.format-bar button:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.format-bar > span {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}
.lesson-text h3 {
  font-size: 17px;
  margin: 22px 0 6px;
  color: var(--ink);
}
.lesson-text ul,
.lesson-text ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.lesson-text li::marker {
  color: var(--brand);
  font-weight: 600;
}
.lesson-text strong {
  color: var(--ink);
}

/* Réorganisation du plan */
.move-buttons {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.move-button {
  width: 24px;
  height: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1;
  color: #4e4659;
  cursor: pointer;
  padding: 0;
}
.move-button:hover:not(:disabled) {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.move-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.module-card {
  scroll-margin-top: 16px;
}
