:root {
  --purple: #641d79;
  --purple-deep: #491458;
  --ink: #25232d;
  --muted: #81808d;
  --line: #eeedf1;
  --bg: #f7f8fa;
  --lilac: #f4edf7;
  --green: #358774;
  --orange: #bf8551;
  --blue: #5775ba;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.8px;
  line-height: 1.35;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 18px;
}
small {
  font-size: 12px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b795c4;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--purple);
  color: #fff;
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  margin-bottom: 42px;
}
.brand-mark {
  width: 41px;
  height: 45px;
  position: relative;
  background: var(--purple);
  color: white;
  border-radius: 12px 12px 12px 3px;
  font-size: 32px;
  font-weight: 750;
  line-height: 45px;
  text-align: center;
}
.brand-mark > span {
  position: absolute;
  right: 2px;
  top: -7px;
  font-size: 10px;
  line-height: 22px;
}
.brand b {
  display: block;
  font-size: 18px;
  letter-spacing: 0.3px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-top: 4px;
}
.workspace-label,
.nav-group-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #9995a3;
  padding: 0 15px;
  margin-bottom: 12px;
}
.nav-group-label {
  margin: 28px 0 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 7px;
  color: #75717e;
  margin: 4px 0;
  min-height: 48px;
}
.nav-item:hover {
  background: #faf7fc;
}
.nav-item.active {
  color: var(--purple);
  background: var(--lilac);
  font-weight: 650;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.active-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  margin-left: auto;
}
.nav-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 14px 15px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.class-note {
  padding: 20px 14px;
  margin: 0 6px 22px;
  background: #faf8fb;
  border-radius: 8px;
}
.small-spark {
  font-size: 24px;
  color: #a48ab0;
  display: block;
  margin-bottom: 8px;
}
.class-note b {
  font-size: 12px;
  font-weight: 550;
}
.class-note p {
  color: #9993a1;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 8px;
}
.settings {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #92909a;
  padding: 10px 16px;
  min-height: 44px;
}
.settings .icon {
  width: 16px;
  height: 16px;
}
.shell {
  margin-left: 232px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: #8d8796;
}
.breadcrumb span {
  margin: 0 15px;
  color: #d1cbd6;
}
.breadcrumb b {
  font-weight: 500;
  color: #4c4357;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.demo-badge {
  color: #8b7a93;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a88bb6;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #efe8f3;
  color: var(--purple);
  font-weight: 600;
}
main {
  padding: 30px 40px;
  max-width: 1550px;
  margin: auto;
  min-height: calc(100vh - 140px);
}
footer {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 0 40px 26px;
  max-width: 1550px;
  margin: auto;
  font-size: 11px;
  color: #a29ba8;
}
.footer-note {
  margin-left: auto;
  font-size: 10px;
}
.hero {
  min-height: 303px;
  border-radius: 12px;
  background: #f0eaf4;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 32px 38px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #93749e;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-eyebrow > span {
  width: 17px;
  height: 1px;
  background: #9778a3;
}
.hero h1 {
  font-size: 37px;
  font-weight: 680;
  color: #492456;
  line-height: 1.45;
  letter-spacing: 1px;
}
.hero h1 > span {
  color: #a486af;
}
.hero p {
  font-size: 12px;
  color: #927b9a;
  line-height: 1.9;
  margin: 12px 0 20px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #e3d8e8;
  border-radius: 6px;
  background: white;
  color: var(--purple);
  font-weight: 500;
  font-size: 12px;
}
.button:hover {
  background: #f8f3fb;
  border-color: #c9afd5;
}
.button.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.button.primary:hover {
  background: var(--purple-deep);
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button.full {
  width: 100%;
}
.button.small {
  min-height: 32px;
  padding: 5px 10px;
}
.button.danger {
  color: #b74343;
  border-color: #e5bcbc;
}
.hero-art {
  width: 41%;
  position: relative;
  min-height: 250px;
  flex-shrink: 0;
}
.big-a {
  font-family: Georgia, serif;
  position: absolute;
  top: 5px;
  left: 26%;
  font-size: 232px;
  line-height: 1.1;
  color: #724087;
  font-weight: bold;
  transform: rotate(-9deg);
  text-shadow: 8px 8px 0 #e0cee9;
}
.big-a span {
  font-family: Arial, sans-serif;
  position: absolute;
  font-size: 58px;
  letter-spacing: -5px;
  top: 30px;
  right: -26px;
  color: #ac8bbd;
  transform: rotate(9deg);
}
.orbit {
  position: absolute;
  border: 1px solid #d7c6e1;
  border-radius: 50%;
  width: 260px;
  height: 260px;
  top: 12px;
  left: 12%;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 330px;
  height: 180px;
  top: 63px;
  left: 2%;
  transform: rotate(-35deg);
}
.art-label {
  position: absolute;
  top: 1px;
  right: 3px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #987ba5;
}
.art-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 10px;
  color: #997da4;
  text-align: right;
  letter-spacing: 2px;
  line-height: 1.8;
}
.art-spark {
  position: absolute;
  left: 9%;
  bottom: 28px;
  font-size: 40px;
  color: #ac90ba;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}
.quick-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.quick-card:hover {
  border-color: #d4bbdf;
  transform: translateY(-2px);
}
.quick-card b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.quick-card small {
  display: block;
  color: #9c96a4;
  font-size: 10px;
  margin-top: 4px;
}
.quick-card > .icon {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #b5acbb;
}
.icon-tile {
  height: 42px;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.purple {
  color: var(--purple);
  background: #f1eaf6;
}
.blue {
  color: var(--blue);
  background: #edf2fb;
}
.green {
  color: var(--green);
  background: #eaf5f1;
}
.orange {
  color: var(--orange);
  background: #fcf1e6;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 11px;
  min-height: 28px;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.panel-sub {
  font-size: 11px;
  color: #a39aa9;
  margin-top: -9px;
  margin-bottom: 18px;
}
.event-row {
  display: flex;
  width: 100%;
  gap: 13px;
  text-align: left;
  padding: 15px 0;
  align-items: center;
  border-bottom: 1px solid #f2f0f4;
}
.event-row:last-child {
  border-bottom: none;
}
.event-row:hover .event-copy > span {
  color: var(--purple);
}
.date-block {
  width: 42px;
  min-width: 42px;
  border-radius: 6px;
  text-align: center;
  background: #f6f5f8;
  padding: 4px;
}
.date-block b {
  display: block;
  font-size: 19px;
  font-weight: 550;
  line-height: 1.3;
}
.date-block small {
  font-size: 9px;
  color: #a099a7;
}
.event-copy {
  min-width: 0;
  flex: 1;
}
.event-copy > span {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.event-copy small {
  display: block;
  color: #9e96a6;
  font-size: 10px;
  margin-top: 5px;
}
.event-row > .icon {
  width: 13px;
  height: 13px;
  color: #b6aebb;
}
.tag {
  display: inline-block;
  border-radius: 4px;
  font-size: 10px;
  padding: 3px 8px;
  white-space: nowrap;
}
.voice-panel {
  margin-top: 20px;
}
.voice-preview {
  display: flex;
  gap: 13px;
  margin: 6px 0;
}
.quote {
  font-family: Georgia, serif;
  line-height: 1;
  font-size: 50px;
  color: #d7c2e2;
}
.voice-preview p {
  font-size: 12px;
  color: #6f6479;
  line-height: 1.9;
}
.voice-preview small {
  display: block;
  font-size: 10px;
  color: #aaa1b0;
  margin-top: 10px;
}
.decision-panel h3 {
  font-size: 16px;
  margin: 17px 0 8px;
}
.decision-panel p {
  font-size: 12px;
  color: #9a8da3;
  line-height: 1.9;
  margin-bottom: 21px;
}
.logo-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 23px 0 25px;
}
.logo-options > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 70px;
  background: #f1e8f6;
  color: #75438a;
  border: 1px solid #e5d7ec;
  font-size: 45px;
  font-family: Georgia, serif;
  border-radius: 8px;
  transform: rotate(-7deg);
  position: relative;
}
.logo-options > span:nth-child(2) {
  color: #609480;
  background: #e7f2eb;
  border-color: #d8e8df;
  transform: rotate(4deg);
}
.logo-options > span:nth-child(3) {
  color: #bd9564;
  background: #fcf2e2;
  border-color: #efdfc5;
  transform: rotate(11deg);
}
.logo-options small {
  font: 9px Arial;
  position: absolute;
  right: 10px;
  top: 12px;
}
.study-strip {
  margin-top: 20px;
  background: #eee8f3;
  border: 1px solid #e7deed;
  border-radius: 10px;
  padding: 19px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.study-strip b {
  font-size: 12px;
  display: block;
  font-weight: 550;
  color: #694978;
}
.study-strip small {
  font-size: 10px;
  display: block;
  color: #a28bad;
  margin-top: 4px;
}
.study-strip > .icon {
  margin-left: auto;
  color: #9f80b0;
  width: 16px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.2px;
  color: #9c84a9;
  margin-bottom: 10px;
}
.page-heading p {
  color: #99909f;
  font-size: 12px;
  margin-top: 12px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px;
  transition: transform 0.15s;
}
.service-card:hover {
  border-color: #d3badf;
  transform: translateY(-3px);
}
.service-card h2 {
  margin: 21px 0 8px;
}
.service-card p {
  font-size: 12px;
  color: #a094a8;
}
.service-card .text-link {
  margin-top: 23px;
}
.service-note {
  color: #a799ae;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
  font-size: 12px;
}
.learning-banner {
  background: #ede8f3;
  border: 1px solid #e4daec;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 25px;
}
.learning-banner p {
  font-size: 12px;
  color: #9a86a5;
  margin-top: 7px;
}
.banner-type {
  margin-left: auto;
  color: #b9a9c4;
  font-size: 10px;
  letter-spacing: 2px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chips button {
  font-size: 12px;
  padding: 6px 14px;
  min-height: 36px;
  border-radius: 5px;
  color: #9a8e9f;
}
.chips button[aria-pressed="true"] {
  background: #efe7f4;
  color: var(--purple);
  font-weight: 550;
}
.chips button:hover {
  background: #f5eff8;
}
.resource-chips {
  margin-bottom: 20px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.resource-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.resource-card h2,
.poll-card h2 {
  font-size: 17px;
  margin-bottom: 10px;
}
.resource-card p,
.poll-card p {
  font-size: 12px;
  color: #9b8fa4;
  line-height: 1.9;
}
.resource-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}
.resource-items span {
  background: #f7f6f9;
  color: #a297ab;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
}
.poll-card {
  padding: 28px;
}
.poll-meta {
  font-size: 11px;
  color: #b0a2b9;
  padding: 23px 0;
}
.lower {
  margin-top: 20px;
}
.action-card {
  display: flex;
  gap: 17px;
  align-items: center;
}
.action-card h2 {
  font-size: 14px;
}
.action-card p {
  font-size: 11px;
  color: #a194aa;
  margin-top: 6px;
}
.action-card > .icon {
  margin-left: auto;
  color: #ad96bb;
  width: 16px;
}
.local-caption {
  font-size: 11px;
  color: #a497ad;
  margin-top: 22px;
  line-height: 1.9;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
}
.calendar-panel {
  padding: 0;
  overflow: hidden;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 21px 20px;
}
.calendar-toolbar h2 {
  font-size: 20px;
  white-space: nowrap;
}
.month-buttons {
  display: flex;
  gap: 5px;
}
.icon-button {
  border: 1px solid #e9e1ed;
  border-radius: 5px;
  min-width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  color: #9c83a9;
}
.icon-button:hover {
  background: #f6eef9;
}
.segmented {
  display: flex;
  padding: 3px;
  border-radius: 5px;
  background: #f5f2f7;
  margin-left: auto;
}
.segmented button {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  color: #a08ea8;
}
.segmented button[aria-pressed="true"] {
  background: white;
  color: var(--purple);
  box-shadow: 0 1px 4px #49375410;
}
.calendar-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 180px;
  border: 1px solid #ebe4f0;
  border-radius: 5px;
  padding: 0 8px;
}
.search .icon {
  width: 14px;
  height: 14px;
  color: #b0a2b9;
}
.search input {
  border: 0;
  width: 100%;
  padding: 8px 0;
  font-size: 11px;
  min-width: 0;
  background: none;
}
.weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekdays {
  background: #faf8fc;
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 9px 0;
  font-size: 11px;
  color: #a293aa;
}
.day {
  min-height: 103px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 5px;
  text-align: left;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.day:nth-child(7n) {
  border-right: 0;
}
.day:hover {
  background: #faf5fd;
}
.day.outside {
  background: #fcfbfd;
  color: #c9c1cf;
}
.day.selected {
  box-shadow: inset 0 0 0 2px #b898c7;
  background: #fbf7fe;
}
.day-number {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 11px;
  margin-bottom: 2px;
}
.day.today .day-number {
  background: var(--purple);
  color: white;
  border-radius: 50%;
}
.calendar-event {
  font-size: 9px;
  display: block;
  border-radius: 3px;
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  border-left: 2px solid;
}
.calendar-event.course {
  background: #eef2fa;
  color: #6b80b5;
  border-color: #9aabd0;
}
.calendar-event.activity {
  background: #f2eaf7;
  color: #9671a7;
  border-color: #b696c7;
}
.calendar-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 17px;
  color: #a99bb2;
  font-size: 10px;
}
.legend {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 4px 1px 10px;
  background: currentColor;
}
.day-agenda {
  padding: 20px;
}
.stacked-events .event-row {
  flex-wrap: wrap;
  gap: 8px;
  padding: 17px 0;
}
.stacked-events .date-block {
  width: 34px;
  min-width: 34px;
}
.stacked-events .event-copy > span {
  font-size: 12px;
}
.stacked-events .tag,
.stacked-events .event-row > .icon {
  display: none;
}
.soft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #a28fae;
  font-size: 11px;
  background: #f1edf5;
  padding: 18px;
  border-radius: 8px;
  margin-top: 18px;
  line-height: 1.9;
}
.soft-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.calendar-list {
  padding: 0 20px;
}
.empty {
  text-align: center;
  padding: 42px 12px;
  color: #ad9db7;
  font-size: 12px;
}
.empty .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
}
.fund-stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}
.fund-stats > article {
  padding: 27px 29px;
}
.balance {
  background: var(--purple);
  color: #fff;
  border-radius: 10px;
}
.fund-stats span {
  font-size: 12px;
  opacity: 0.7;
}
.fund-stats strong {
  display: block;
  font-size: 30px;
  margin: 17px 0;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.fund-stats strong small {
  font-size: 19px;
  margin-right: 6px;
}
.fund-stats p {
  font-size: 11px;
  opacity: 0.6;
}
.fund-stats .panel p {
  color: #908198;
}
.ledger-panel .chips {
  margin: 0 0 20px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  color: #9b8ca5;
  background: #faf8fc;
  font-weight: 450;
  padding: 12px 15px;
}
td {
  padding: 20px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #9f90a9;
}
td b {
  font-weight: 500;
  color: #5d4f68;
}
.amount {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.amount.income {
  color: var(--green);
}
.amount.expense {
  color: #b48152;
}
.wall-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ede6f3;
  padding: 22px;
  border-radius: 9px;
  color: #9e83ad;
  font-size: 12px;
  margin-bottom: 25px;
}
.wall-banner b {
  font-weight: 550;
  color: #80608e;
  margin-left: 8px;
}
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.idea-card {
  padding: 24px;
  border: 1px solid #e8dfee;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.idea-card.lilac {
  background: #f7f1fb;
}
.idea-card.cream {
  background: #fff8ed;
  border-color: #eee5d5;
}
.idea-card.mint {
  background: #eef7f2;
  border-color: #dfece5;
}
.idea-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.idea-top small {
  font-size: 9px;
  color: #b0a4b8;
}
.idea-card > p {
  font-size: 14px;
  line-height: 2;
  color: #74617f;
  min-height: 130px;
  padding: 24px 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.idea-author {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.mini-avatar {
  background: #ffffffb3;
  color: #ac95b8;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.idea-author > span:nth-child(2) {
  font-size: 10px;
  color: #a08aaf;
}
.idea-author small {
  display: block;
  font-size: 9px;
  color: #b2a1bc;
}
.like-button {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b49bc1;
  min-height: 40px;
  font-size: 11px;
}
.like-button .icon {
  width: 16px;
  height: 16px;
}
.like-button[aria-pressed="true"] {
  color: var(--purple);
}
.like-button[aria-pressed="true"] .icon {
  fill: #decae8;
}
.form-panel {
  max-width: 720px;
  padding: 32px;
}
.form-panel > h2 {
  margin: 20px 0 7px;
}
.muted {
  color: #a18faa;
  font-size: 12px;
  line-height: 1.9;
}
form {
  margin-top: 22px;
}
form > label {
  display: block;
  font-size: 12px;
  color: #806c8c;
  margin-bottom: 20px;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
  color: #554360;
  max-width: 100%;
  border: 1px solid #e5dceb;
  background: #fff;
  border-radius: 5px;
  padding: 10px 12px;
}
form > label > input,
form > label > textarea,
form > label > select {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
legend {
  font-size: 12px;
  color: #806c8c;
  margin-bottom: 10px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  font-size: 13px;
  color: #8b7896;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
}
.saved-response {
  padding: 13px 15px;
  color: var(--green);
  background: #edf7f1;
  border-radius: 6px;
  font-size: 12px;
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
dialog {
  border: 1px solid #e6dbe9;
  border-radius: 14px;
  width: min(530px, calc(100vw - 32px));
  max-height: 85vh;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 24px 100px #33213d33;
}
dialog::backdrop {
  background: #29213266;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 20px;
}
.dialog-head .icon-button {
  flex-shrink: 0;
}
.detail-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #93809f;
  font-size: 13px;
}
.detail-note {
  background: #f6f0f9;
  padding: 18px;
  color: #9d86aa;
  border-radius: 6px;
  margin: 25px 0;
  font-size: 13px;
  line-height: 1.9;
}
.poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e9e0ee;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 10px;
}
.poll-option:has(input:checked) {
  border-color: #a77ab9;
  background: #f7effa;
}
.result {
  margin: 22px 0;
}
.result > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #927a9f;
}
.result b {
  font-weight: 500;
}
.result span {
  font-size: 11px;
}
.progress {
  height: 7px;
  background: #f2ebf6;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}
.progress > span {
  display: block;
  height: 100%;
  background: #a17cb4;
  border-radius: 5px;
}
.resource-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  font-size: 13px;
}
.resource-entry b {
  font-weight: 500;
}
.resource-entry small {
  display: block;
  color: #ad9ab6;
  margin-top: 5px;
  font-size: 10px;
}
.link-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.link-form input {
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #3d2948;
  color: #fff;
  padding: 13px 22px;
  border-radius: 7px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.15s;
  font-size: 12px;
  max-width: 90vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  .hero {
    min-height: 330px;
  }
  .hero-art {
    margin-right: 70px;
  }
  .quick-card {
    padding: 21px;
  }
  .home-columns {
    grid-template-columns: 1.9fr 1fr;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding-inline: 12px;
  }
  .shell {
    margin-left: 205px;
  }
  .brand {
    padding: 0 4px;
  }
  .brand b {
    font-size: 16px;
  }
  .brand small {
    font-size: 7px;
  }
  main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  footer {
    padding-inline: 25px;
  }
  .quick-grid {
    gap: 10px;
  }
  .quick-card {
    padding: 14px 10px;
    gap: 9px;
  }
  .quick-card > .icon {
    display: none;
  }
  .quick-card .icon-tile {
    width: 34px;
    height: 36px;
  }
  .quick-card small {
    font-size: 9px;
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .calendar-layout .soft-note {
    margin-top: 0;
    height: fit-content;
  }
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-art {
    width: 43%;
  }
  .hero {
    padding: 30px;
  }
  .ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fund-stats strong {
    font-size: 25px;
  }
  .fund-stats > article {
    padding: 22px;
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 180px;
  }
  .shell {
    margin-left: 180px;
  }
  .brand {
    gap: 8px;
  }
  .brand b {
    font-size: 14px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand-mark {
    width: 34px;
    height: 38px;
    line-height: 38px;
    font-size: 28px;
  }
  .nav-item {
    gap: 9px;
    padding-inline: 12px;
    font-size: 12px;
  }
  .hero-art {
    opacity: 0.85;
    width: 38%;
    transform: scale(0.85);
    transform-origin: center;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero {
    padding: 25px;
    min-height: 290px;
  }
  .hero-copy {
    min-width: 54%;
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-card {
    padding: 17px;
  }
  .home-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-columns > div:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .study-strip {
    margin-top: 0;
    align-self: start;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fund-stats {
    gap: 10px;
  }
  .fund-stats strong {
    font-size: 20px;
  }
  .fund-stats > article {
    padding: 20px 15px;
  }
  .banner-type {
    display: none;
  }
  .resource-grid.two {
    gap: 15px;
  }
  .action-card {
    padding: 18px;
    gap: 10px;
  }
  .action-card > .icon {
    display: none;
  }
}
@media (max-width: 640px) {
  .sidebar {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid #e9e1ee;
    background: #fff;
    z-index: 20;
  }
  .brand {
    padding: 13px 18px;
    margin: 0;
  }
  .brand b {
    font-size: 16px;
  }
  .brand small {
    font-size: 7px;
  }
  .brand-mark {
    width: 32px;
    height: 34px;
    line-height: 34px;
    font-size: 26px;
  }
  .workspace-label,
  .sidebar-bottom,
  .nav-group-label,
  .nav-divider {
    display: none;
  }
  #navigation {
    display: flex;
    overflow-x: auto;
    padding: 0 10px 8px;
    scrollbar-width: none;
    gap: 3px;
  }
  .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 39px;
    padding: 8px 11px;
    font-size: 12px;
    margin: 0;
    gap: 7px;
  }
  .nav-item .icon {
    width: 15px;
    height: 15px;
  }
  .active-dot {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 44px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  .avatar {
    display: none;
  }
  .demo-badge {
    font-size: 10px;
  }
  main {
    padding: 18px;
    min-height: 65vh;
  }
  .hero {
    padding: 25px 22px;
    min-height: 280px;
    border-radius: 9px;
  }
  .hero h1 {
    font-size: 29px;
    line-height: 1.5;
    letter-spacing: 0.2px;
  }
  .hero-eyebrow {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .hero p {
    font-size: 11px;
    margin: 12px 0 20px;
  }
  .hero-art {
    position: absolute;
    width: 150px;
    right: -23px;
    bottom: 10px;
    height: 220px;
    transform: scale(0.72);
    transform-origin: right bottom;
    opacity: 0.55;
  }
  .hero-copy {
    min-width: 0;
  }
  .hero-art .big-a {
    left: 0;
  }
  .orbit {
    left: -70%;
    width: 240px;
  }
  .orbit-two {
    left: -100%;
    width: 290px;
  }
  .art-label,
  .art-caption {
    display: none;
  }
  .art-spark {
    left: -55%;
    bottom: 20px;
  }
  .quick-grid {
    gap: 10px;
    margin: 16px 0 20px;
  }
  .quick-card {
    padding: 15px 10px;
    gap: 9px;
  }
  .quick-card b {
    font-size: 12px;
  }
  .quick-card small {
    font-size: 9px;
  }
  .quick-card .icon-tile {
    width: 32px;
    height: 34px;
    border-radius: 7px;
  }
  .quick-card .icon-tile .icon {
    width: 17px;
    height: 17px;
  }
  .home-columns {
    gap: 18px;
  }
  .home-columns > div:nth-child(2) {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 19px;
  }
  .section-head h2 {
    font-size: 15px;
  }
  .event-row {
    gap: 9px;
  }
  .event-copy small {
    font-size: 10px;
  }
  .event-row > .icon {
    display: none;
  }
  .voice-panel {
    margin-top: 18px;
  }
  .decision-panel {
    padding: 23px;
  }
  .study-strip {
    padding: 20px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 7px 0 24px;
    gap: 15px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 9px;
  }
  .page-heading .button {
    min-height: 38px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .service-grid,
  .resource-grid,
  .resource-grid.two,
  .ideas-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    padding: 23px;
  }
  .service-card h2 {
    margin-top: 16px;
  }
  .service-card .text-link {
    margin-top: 14px;
  }
  .learning-banner {
    padding: 20px;
    gap: 12px;
  }
  .learning-banner h2 {
    font-size: 15px;
  }
  .learning-banner p {
    font-size: 11px;
  }
  .calendar-panel {
    padding: 0;
  }
  .calendar-toolbar {
    padding: 16px 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .calendar-toolbar h2 {
    font-size: 16px;
  }
  .month-buttons {
    gap: 3px;
  }
  .icon-button {
    min-width: 30px;
    height: 32px;
  }
  .segmented button {
    padding: 5px 9px;
    font-size: 10px;
  }
  .calendar-filters {
    flex-wrap: wrap;
    padding: 0 10px 14px;
    gap: 10px;
  }
  .calendar-filters .chips {
    gap: 3px;
  }
  .chips button {
    font-size: 11px;
    padding: 5px 12px;
  }
  .search {
    width: 100%;
    padding: 0 10px;
  }
  .search input:not([type="radio"]) {
    border: 0;
    font-size: 11px;
    padding: 7px 0;
  }
  .weekdays {
    font-size: 9px;
    padding: 8px 0;
  }
  .day {
    min-height: 83px;
    padding: 6px 2px;
    gap: 3px;
  }
  .day-number {
    font-size: 10px;
    width: 19px;
    height: 19px;
  }
  .calendar-event {
    font-size: 8px;
    padding: 2px;
    line-height: 1.5;
  }
  .calendar-event > span {
    display: none;
  }
  .calendar-foot {
    font-size: 8px;
    padding: 12px 8px;
  }
  .legend {
    margin-left: 5px;
  }
  .calendar-layout {
    gap: 15px;
  }
  .calendar-layout > aside {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .fund-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .fund-stats .balance {
    grid-column: 1/-1;
    padding: 25px;
  }
  .fund-stats .balance strong {
    font-size: 35px;
    margin: 12px 0;
  }
  .fund-stats strong {
    font-size: 22px;
  }
  .fund-stats .panel {
    padding: 19px;
  }
  .fund-stats span {
    font-size: 11px;
  }
  .fund-stats p {
    font-size: 10px;
  }
  .ledger-panel {
    padding: 16px;
  }
  .table-scroll {
    margin-inline: -4px;
  }
  th,
  td {
    padding: 14px 10px;
  }
  .wall-banner {
    padding: 18px;
    align-items: flex-start;
    line-height: 1.9;
  }
  .wall-banner .icon {
    margin-top: 3px;
  }
  .idea-card > p {
    min-height: 115px;
    padding: 20px 0;
  }
  .form-panel {
    padding: 23px;
  }
  .form-panel > h2 {
    font-size: 17px;
  }
  .action-card > .icon {
    display: block;
  }
  .action-card {
    padding: 23px;
  }
  .local-caption {
    font-size: 10px;
  }
  footer {
    padding: 14px 18px 25px;
    font-size: 9px;
    gap: 6px;
  }
  dialog {
    padding: 22px;
    max-height: 85dvh;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  .result > div:first-child {
    font-size: 11px;
  }
  .result span {
    font-size: 10px;
  }
  .settings {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Live class data and management */
.sync-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #eef6f2;
  color: #456b59;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 11px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sync-notice.warning {
  background: #fff5e6;
  color: #8e642d;
}
.admin-actions,
.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.manage-row small {
  display: block;
  color: #817387;
  margin-top: 7px;
}
.manage-row .row-actions {
  margin: 0;
}
.form-error {
  color: #a52c3b;
  margin-top: 12px;
  font-size: 13px;
  white-space: pre-wrap;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-columns > label {
  font-size: 12px;
  color: #806c8c;
}
.form-columns input,
.form-columns select,
.question-editor input:not([type="checkbox"]):not([type="radio"]),
.question-editor select,
.question-editor textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.question-editor {
  border: 1px solid #e5dceb;
  padding: 17px;
  border-radius: 7px;
  margin-top: 22px;
}
.question-editor label {
  display: block;
  margin: 12px 0;
  color: #806c8c;
  font-size: 12px;
}
.question-editor label.choice {
  display: flex;
  font-size: 14px;
}
.question-editor legend {
  padding: 0 5px;
}
.result-title {
  margin-top: 24px;
  font-size: 15px;
}
.entries-scroll {
  max-height: 55vh;
  overflow: auto;
}
.entry-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.entry-item small {
  display: block;
  color: var(--muted);
}
.entry-item pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.registration-qr {
  max-width: 260px;
  width: 100%;
  display: block;
  margin: 15px auto;
}
.poll-card h2,
.resource-card h2 {
  margin-top: 14px;
}
.event-copy small {
  font-size: 12px;
  color: #7a6f83;
}
.manage-row b {
  overflow-wrap: anywhere;
}
.detail-note {
  white-space: pre-wrap;
}
.sidebar-bottom {
  padding-top: 18px;
}
.class-note {
  padding: 12px;
  margin-bottom: 12px;
}
.class-note .small-spark {
  display: none;
}
.nav-item {
  padding-block: 10px;
  min-height: 43px;
}
.form-panel input {
  max-width: 100%;
}
@media (max-width: 640px) {
  .manage-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-columns {
    grid-template-columns: 1fr;
  }
  .sync-notice {
    font-size: 10px;
  }
  .calendar-filters .chips {
    gap: 1px;
  }
  .chips button {
    padding-inline: 9px;
  }
  .event-copy small {
    font-size: 11px;
  }
  .sidebar .nav-item {
    min-height: 39px;
    padding-block: 8px;
  }
}

/* Native 26A knowledge workspace. */
#knowledge-root {
  min-width: 0;
}
#knowledge-root [hidden] {
  display: none !important;
}
.kb-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0 14px;
}
.kb-search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  background: white;
  border: 1px solid #ded9e3;
  border-radius: 9px;
  padding: 10px 16px;
  min-width: 0;
}
.kb-search span {
  font-size: 25px;
  color: var(--purple);
  line-height: 1;
}
.kb-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
}
.kb-search:focus-within {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.kb-status {
  font-size: 12px;
  color: #726779;
  margin-bottom: 24px;
}
.kb-layout {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.kb-nav-label {
  color: #85798b;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 2px 12px 16px;
}
.kb-nav-link {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.5;
}
.kb-nav-link small {
  color: #85798b;
  font-variant-numeric: tabular-nums;
}
.kb-nav-link.selected {
  color: var(--purple);
  background: #eee3f3;
  font-weight: 650;
}
.kb-nav-link:hover {
  background: var(--lilac);
}
.kb-nav-group {
  margin-top: 16px;
}
.kb-group {
  font-weight: 650;
}
.kb-results-head,
.kb-reading-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kb-results-head span,
.kb-reading-head span {
  font-size: 12px;
  color: #796c80;
}
.kb-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.kb-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.kb-card:hover {
  border-color: #cdb2d8;
  box-shadow: 0 5px 20px #641d7909;
}
.kb-card-course {
  color: var(--purple);
  font-size: 11px;
  letter-spacing: 0.4px;
  margin-bottom: 13px;
}
.kb-card h3 {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.kb-card p {
  color: #817785;
  font-size: 13px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kb-card-action {
  display: flex;
  justify-content: space-between;
  color: var(--purple);
  font-size: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.kb-empty {
  grid-column: 1/-1;
  padding: 36px;
  color: #74677b;
}
.kb-empty p {
  margin: 12px 0 20px;
}
.kb-article {
  padding: 34px 40px;
  line-height: 1.95;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.kb-article h1 {
  font-size: 26px;
  margin: 12px 0 25px;
  letter-spacing: 0;
}
.kb-article h2 {
  font-size: 20px;
  margin: 30px 0 14px;
  scroll-margin-top: 24px;
}
.kb-article h3 {
  font-size: 17px;
  margin: 24px 0 12px;
  scroll-margin-top: 24px;
}
.kb-article p,
.kb-article ul,
.kb-article ol {
  margin: 14px 0;
}
.kb-article ul,
.kb-article ol {
  padding-left: 24px;
}
.kb-article a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kb-article img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.kb-article pre {
  overflow: auto;
  padding: 16px;
  background: var(--bg);
  font-size: 13px;
  white-space: pre-wrap;
}
.kb-article table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.kb-article th,
.kb-article td {
  border: 1px solid var(--line);
  padding: 8px;
}
.kb-evidence-text {
  white-space: pre-wrap;
}
.kb-evidence-meta {
  color: #77677d;
  font-size: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.kb-toc {
  padding: 12px 16px;
  background: #f8f4fa;
  border-radius: 7px;
  margin-bottom: 24px;
  font-size: 13px;
}
.kb-toc summary {
  cursor: pointer;
  color: var(--purple);
}
.kb-toc button {
  display: block;
  text-align: left;
  padding: 5px 0;
}
.kb-chat {
  margin: 18px 0;
  padding: 24px;
}
.kb-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.kb-chat-head p {
  font-size: 12px;
  color: #786a80;
  margin-top: 5px;
}
#kb-messages {
  max-height: 440px;
  overflow: auto;
}
.kb-question {
  background: var(--lilac);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 18px 0 12px;
  white-space: pre-wrap;
}
.kb-answer {
  padding: 4px 4px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.kb-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.kb-sources a {
  font-size: 12px;
  color: var(--purple);
  background: #f8f4fa;
  border: 1px solid #e6dceb;
  border-radius: 6px;
  padding: 6px 10px;
}
#kb-chat-form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
#kb-chat-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #ded9e3;
  border-radius: 7px;
  padding: 12px;
}
#kb-chat-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
#kb-chat-form small {
  color: #83758a;
  font-size: 11px;
}
@media (max-width: 1100px) {
  .kb-layout {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
  }
  .kb-cards {
    grid-template-columns: 1fr;
  }
  .kb-article {
    padding: 25px;
  }
}
@media (max-width: 700px) {
  .kb-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  .kb-search {
    flex-basis: 100%;
  }
  .kb-toolbar .button {
    flex: 1;
  }
  .kb-layout {
    display: block;
  }
  .kb-status {
    margin-bottom: 16px;
  }
  #kb-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .kb-nav-label {
    display: none;
  }
  .kb-nav-group {
    display: contents;
  }
  .kb-group {
    display: none;
  }
  .kb-nav-link {
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 7px 10px;
    background: white;
  }
  .kb-cards {
    grid-template-columns: 1fr;
  }
  .kb-card {
    padding: 20px;
  }
  .kb-article {
    padding: 22px 18px;
    font-size: 14px;
  }
  .kb-article h1 {
    font-size: 23px;
  }
  .kb-chat {
    padding: 18px;
  }
  .kb-reading-head {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .kb-reading #kb-navigation,
  .kb-reading .kb-search,
  .kb-reading .kb-status {
    display: none;
  }
  .kb-reading .kb-toolbar {
    margin: 0 0 20px;
  }
}

/* Shared member controls and collection workspace. */
.member-dialog {
  width: min(470px, calc(100vw - 28px));
  padding: 26px;
  max-height: 90vh;
  overflow: auto;
}
.member-dialog-head,
.member-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.member-dialog h2 {
  font-size: 20px;
}
.member-dialog form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.member-dialog label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.member-dialog input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dcd5e2;
  border-radius: 7px;
}
.member-explainer,
.member-panel p {
  margin: 18px 0;
  color: #786b80;
}
.member-confirmed {
  margin: 20px 0 8px;
  font-weight: 650;
  color: var(--purple);
}
.member-dialog .muted {
  font-size: 12px;
  line-height: 1.8;
}
.member-dialog details {
  padding: 12px 0;
}
.member-dialog summary {
  cursor: pointer;
  color: var(--purple);
}
.member-security {
  margin: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.member-actions {
  margin-top: 20px;
}
.collect-content {
  min-width: 0;
}
.collect-content .feedback-hero h1 {
  font-size: 30px;
}
.collect-content .feedback-card {
  padding: 24px;
}
.collect-content .collect-templates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.collect-verified,
.collect-anonymous {
  background: #f5eff8;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
}
.collect-anonymous {
  background: #edf6f3;
  color: #356354;
}
.collect-content .collect-topbar {
  padding: 0 0 20px;
}
.member-admin {
  margin-top: 24px;
}
.member-admin form {
  margin-top: 16px;
}
@media (max-width: 700px) {
  .member-dialog {
    padding: 20px;
  }
  .collect-content .feedback-card {
    padding: 18px;
  }
  .collect-content .collect-templates {
    grid-template-columns: 1fr;
  }
  .collect-content .collect-topbar {
    flex-wrap: wrap;
  }
  .collect-content .feedback-hero h1 {
    font-size: 25px;
  }
  .top-right {
    gap: 6px;
  }
}
.collect-optional {
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.collect-optional summary {
  cursor: pointer;
  color: var(--purple);
  margin-bottom: 16px;
}
.member-admin details {
  margin: 18px 0;
}
.member-admin summary {
  cursor: pointer;
  color: var(--purple);
}
.member-admin .form-panel {
  padding: 0;
}
.member-admin textarea {
  width: 100%;
}
.collect-content #editor {
  margin-top: 0;
  gap: 16px;
}
.collect-content #editor > label {
  margin: 0;
  font-size: 14px;
}
.collect-content #editor > .collect-verified,
.collect-content #editor > .collect-anonymous {
  margin: 0;
}
.collect-content #editor > .collect-optional {
  margin: 0;
  padding: 12px 0;
}
.collect-content #editor > .collect-optional:not([open]) summary {
  margin-bottom: 0;
}
.collect-content .collect-option-row > input[type="text"] {
  flex: 1 1 180px;
}
.collect-content #admin-bar {
  justify-content: space-between;
  margin-bottom: 14px;
}
@media (max-width: 700px) {
  .collect-content .collect-save-row,
  .collect-content .collect-submit-bar {
    bottom: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
}
