/* Cassell editorial refresh v1 — restrained black/silver surfaces shared by
   cafeteria, mail, publishing, profile and the enrollment assessment. */
:root {
  --refresh-black: #030304;
  --refresh-ink: #08090a;
  --refresh-surface: #0d0e10;
  --refresh-surface-raised: #121316;
  --refresh-line: rgba(235, 238, 242, .13);
  --refresh-line-strong: rgba(235, 238, 242, .24);
  --refresh-text: #f3f3f1;
  --refresh-muted: #8d9097;
  --refresh-dim: #5f6268;
  --refresh-silver: #c9cdd2;
  --refresh-accent: #9bb9d3;
  --refresh-success: #a7c9b2;
  color-scheme: dark;
}

/* Cafeteria — eight-column product rhythm without light cards. */
body.cassell-platform-v2[data-board="cafeteria"] {
  background: var(--refresh-black) !important;
  color: var(--refresh-text);
}
body.cassell-platform-v2[data-board="cafeteria"] #bg-overlay {
  background: var(--refresh-black) !important;
}
body.cassell-platform-v2[data-board="cafeteria"] header.nav {
  border-bottom-color: var(--refresh-line) !important;
  background: rgba(3, 3, 4, .91) !important;
  box-shadow: none !important;
}
body.cassell-platform-v2[data-board="cafeteria"] header.nav .brand img {
  width: 48px;
  height: 48px;
  border: 0;
  box-shadow: none;
}
body.cassell-platform-v2[data-board="cafeteria"] header.nav .brand .en,
body.cassell-platform-v2[data-board="cafeteria"] header.nav .brand .cn,
body.cassell-platform-v2[data-board="cafeteria"] header.nav .nav-btn {
  color: var(--refresh-muted) !important;
}
body.cassell-platform-v2[data-board="cafeteria"] header.nav .brand .en,
body.cassell-platform-v2[data-board="cafeteria"] header.nav .nav-btn:hover,
body.cassell-platform-v2[data-board="cafeteria"] header.nav .nav-btn[aria-current="page"] {
  color: var(--refresh-text) !important;
}
body.cassell-platform-v2[data-board="cafeteria"] header.nav .nav-btn[aria-current="page"]::after {
  height: 1px;
  background: var(--refresh-silver);
}
body.cassell-platform-v2[data-board="cafeteria"] .layout {
  width: min(1540px, calc(100% - 52px));
  max-width: 1540px;
  padding-top: 34px;
}
body.cassell-platform-v2[data-board="cafeteria"] .crumb {
  margin-bottom: 32px;
  color: var(--refresh-dim);
  font-size: 10px;
  letter-spacing: .14em;
}
body.cassell-platform-v2[data-board="cafeteria"] .crumb a { color: var(--refresh-muted); }
body.cassell-platform-v2[data-board="cafeteria"] .board-head {
  min-height: 148px;
  margin: 0 0 10px;
  padding: 10px 0 34px;
  border: 0 !important;
  border-bottom: 1px solid var(--refresh-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-heading .name {
  color: var(--refresh-text);
  font: 500 clamp(34px, 4vw, 58px)/1.05 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  letter-spacing: -.04em;
  text-shadow: none;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-heading .desc {
  margin-top: 14px;
  color: var(--refresh-muted);
  font-size: 12px;
  letter-spacing: .11em;
}
body.cassell-platform-v2[data-board="cafeteria"] .service-balance {
  min-height: 70px;
  margin: 0 0 30px;
  padding: 0;
  border: 0 !important;
  border-bottom: 1px solid var(--refresh-line) !important;
  border-radius: 0;
  color: var(--refresh-muted);
  background: transparent !important;
  box-shadow: none;
  font-size: 12px;
}
body.cassell-platform-v2[data-board="cafeteria"] .service-balance strong {
  color: var(--refresh-text);
  font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog {
  gap: clamp(9px, 1vw, 16px);
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-product {
  position: relative;
  aspect-ratio: 1;
  grid-template-rows: minmax(0, 1fr) 16px 21px 35px;
  border: 1px solid var(--refresh-line) !important;
  border-radius: 14px;
  background: var(--refresh-ink) !important;
  box-shadow: none !important;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-product:hover {
  transform: translateY(-3px);
  border-color: var(--refresh-line-strong) !important;
  background: var(--refresh-surface) !important;
  box-shadow: none !important;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .cafeteria-product-image {
  width: calc(100% - 10px);
  height: calc(100% - 4px);
  margin: 5px;
  padding: 2px;
  border: 0;
  border-bottom: 0;
  border-radius: 10px;
  background: var(--refresh-surface-raised) !important;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .42));
  transform: scale(1.05);
  transition: transform .28s ease;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-product:hover .cafeteria-product-image {
  transform: scale(1.1);
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-service-head {
  padding-inline: 12px;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-service-head span {
  color: var(--refresh-dim);
  font-size: 9px;
  letter-spacing: .04em;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-service-head strong {
  color: var(--refresh-silver);
  font-size: 10px;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog h2 {
  margin-inline: 12px;
  color: var(--refresh-text);
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 500;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .nav-btn {
  margin: 4px 10px 7px;
  border-color: var(--refresh-line) !important;
  border-radius: 8px !important;
  color: var(--refresh-silver) !important;
  background: transparent !important;
}
body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .nav-btn:hover {
  border-color: var(--refresh-line-strong) !important;
  color: var(--refresh-text) !important;
  background: var(--refresh-surface-raised) !important;
}

/* Mail — archival list and reading surface rather than blue dashboard panels. */
.mail-editorial-v2 .mail-wrap {
  width: min(1380px, calc(100% - 56px));
  max-width: 1380px;
  padding: 56px 0 96px;
}
.mail-editorial-v2 .mail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin: 0 0 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--refresh-line);
  text-align: left;
}
.mail-editorial-v2 .mail-head .en {
  grid-column: 1;
  margin-bottom: 10px;
  color: var(--refresh-dim);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .22em;
  text-indent: 0;
}
.mail-editorial-v2 .mail-head h1 {
  grid-column: 1;
  margin: 0;
  color: var(--refresh-text);
  font: 500 clamp(30px, 4vw, 54px)/1.05 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  letter-spacing: -.035em;
  text-indent: 0;
}
.mail-editorial-v2 .mail-head .sub {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 300px;
  padding-bottom: 4px;
  color: var(--refresh-muted);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .04em;
}
.mail-editorial-v2 .mailbox {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--refresh-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--refresh-ink) !important;
  box-shadow: none !important;
}
.mail-editorial-v2 .sidebar {
  min-height: 620px;
  padding: 22px 14px;
  border: 0;
  border-right: 1px solid var(--refresh-line);
  border-radius: 0;
  background: #060607 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.mail-editorial-v2 .compose-btn {
  min-height: 46px;
  margin-bottom: 24px;
  border: 1px solid var(--refresh-line-strong) !important;
  border-radius: 8px !important;
  color: var(--refresh-text) !important;
  background: var(--refresh-surface) !important;
  font-size: 12px;
  letter-spacing: .1em;
}
.mail-editorial-v2 .folder {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--refresh-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mail-editorial-v2 .folder + .folder { margin-top: 4px; }
.mail-editorial-v2 .folder:hover,
.mail-editorial-v2 .folder.active {
  color: var(--refresh-text) !important;
  background: var(--refresh-surface) !important;
}
.mail-editorial-v2 .folder.active::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--refresh-accent);
}
.mail-editorial-v2 .panel {
  min-height: 620px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--refresh-ink) !important;
  box-shadow: none !important;
  backdrop-filter: none;
}
.mail-editorial-v2 .panel-head {
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--refresh-line);
  background: transparent !important;
  box-shadow: none !important;
}
.mail-editorial-v2 .panel-head .ptitle {
  color: var(--refresh-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
}
.mail-editorial-v2 .mail-item {
  min-height: 88px;
  padding: 18px 28px;
  border-bottom-color: var(--refresh-line);
  background: transparent !important;
}
.mail-editorial-v2 .mail-item:hover,
.mail-editorial-v2 .mail-item.unread { background: var(--refresh-surface) !important; }
.mail-editorial-v2 .mail-item.unread::before {
  left: 13px;
  width: 4px;
  height: 4px;
  background: var(--refresh-accent);
  box-shadow: none;
}
.mail-editorial-v2 .mail-item :where(.mi-from, .mi-subject) { color: var(--refresh-text); }
.mail-editorial-v2 .mail-item :where(.mi-time, .mi-preview) { color: var(--refresh-muted); }
.mail-editorial-v2 .reader,
.mail-editorial-v2 .compose { padding: 34px 38px; }
.mail-editorial-v2 .reader .r-subject {
  max-width: 760px;
  color: var(--refresh-text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.mail-editorial-v2 .reader .r-content {
  max-width: 760px;
  color: #d1d3d7;
  line-height: 2;
}
.mail-editorial-v2 .compose .field { margin-bottom: 24px; }
.mail-editorial-v2 .compose label {
  margin-bottom: 10px;
  color: var(--refresh-muted);
  font-size: 11px;
  letter-spacing: .08em;
}
.mail-editorial-v2 .compose .input,
.mail-editorial-v2 .compose textarea {
  border-radius: 8px !important;
  background: var(--refresh-surface) !important;
}
.mail-editorial-v2 .compose textarea { min-height: 320px; }
.mail-editorial-v2 .empty {
  min-height: 500px;
  padding: 48px 24px;
}
.mail-editorial-v2 .empty .et { color: var(--refresh-text); }
.mail-editorial-v2 .empty .es { color: var(--refresh-muted); }

/* Publisher — a focused editorial sheet with a readable action hierarchy. */
.cassell-platform-v2 .forum-modal--publisher {
  padding: clamp(16px, 3vw, 46px);
  background: rgba(0, 0, 0, .88);
}
.cassell-platform-v2 .forum-modal--publisher .forum-modal-panel {
  width: min(1180px, 100%);
  max-height: 92dvh;
  border: 1px solid var(--refresh-line) !important;
  border-radius: 16px;
  background: var(--refresh-ink) !important;
}
.cassell-platform-v2 .forum-modal--publisher .forum-modal-close {
  position: absolute !important;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--refresh-line) !important;
  border-radius: 50% !important;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--refresh-silver) !important;
  background: var(--refresh-surface) !important;
}
.cassell-platform-v2 .forum-modal--publisher .forum-modal-close img {
  width: 18px;
  height: 18px;
  opacity: .82;
}
.cassell-platform-v2 .new-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cassell-platform-v2 .new-post img {
  width: 15px;
  height: 15px;
  opacity: .78;
}
.cassell-platform-v2 .publisher-head {
  min-height: 158px;
  padding: 36px 88px 30px 40px;
  border-bottom-color: var(--refresh-line);
}
.cassell-platform-v2 .publisher-kicker {
  color: var(--refresh-accent);
  letter-spacing: .16em;
}
.cassell-platform-v2 .publisher h2 {
  margin: 11px 0 8px;
  color: var(--refresh-text);
  font: 500 clamp(27px, 3vw, 42px)/1.15 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  letter-spacing: -.035em;
}
.cassell-platform-v2 .publisher-cost {
  border: 0;
  border-radius: 0;
  color: var(--refresh-muted);
  background: transparent;
}
.cassell-platform-v2 .publisher-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: 500px;
}
.cassell-platform-v2 .publisher-main { padding: 34px 40px 26px; }
.cassell-platform-v2 .publisher-aside {
  padding: 34px 28px;
  border-left-color: var(--refresh-line);
  background: #070809;
}
.cassell-platform-v2 .publisher-field { margin-bottom: 24px; }
.cassell-platform-v2 .publisher-field > span,
.cassell-platform-v2 .publisher-aside-label { color: var(--refresh-muted); }
.cassell-platform-v2 .publisher-field :where(input, select),
.cassell-platform-v2 .publisher-field textarea {
  border-radius: 8px !important;
  background: var(--refresh-surface) !important;
}
.cassell-platform-v2 .publisher-field textarea { min-height: 286px; }
.cassell-platform-v2 .publisher-upload {
  min-height: 150px;
  border-color: var(--refresh-line-strong);
  border-radius: 10px;
  color: var(--refresh-silver);
  background: var(--refresh-surface);
}
.cassell-platform-v2 .publisher-upload:hover {
  border-color: rgba(155, 185, 211, .5);
  background: var(--refresh-surface-raised);
}
.cassell-platform-v2 .publisher-foot {
  padding: 18px 28px 18px 40px;
  border-top-color: var(--refresh-line);
  background: var(--refresh-ink);
}
.cassell-platform-v2 .publisher-actions #publishBtn {
  border-color: var(--refresh-silver) !important;
  color: #090a0b !important;
  background: var(--refresh-silver) !important;
}

/* Keep the complete publishing action row inside common 768px laptop viewports. */
@media (min-width: 761px) and (max-height: 820px) {
  .cassell-platform-v2 .forum-modal--publisher { padding-block: 14px; }
  .cassell-platform-v2 .forum-modal--publisher .forum-modal-panel { max-height: calc(100dvh - 28px); }
  .cassell-platform-v2 .publisher-head {
    min-height: 122px;
    padding: 26px 82px 22px 36px;
  }
  .cassell-platform-v2 .publisher h2 { margin-block: 8px 5px; }
  .cassell-platform-v2 .publisher-grid { min-height: 398px; }
  .cassell-platform-v2 .publisher-main { padding: 24px 36px 16px; }
  .cassell-platform-v2 .publisher-aside { padding: 24px 24px; }
  .cassell-platform-v2 .publisher-field { margin-bottom: 17px; }
  .cassell-platform-v2 .publisher-field textarea { min-height: 205px; }
  .cassell-platform-v2 .publisher-upload { min-height: 132px; }
  .cassell-platform-v2 .publisher-foot { padding-block: 13px; }
}

/* Profile — S+ is a typographic grade, not another boxed control. */
.profile-minimal-v2 .identity-cell--grade .bloodline-mark,
.profile-minimal-v2 .identity-cell--grade .bloodline-mark--splus {
  display: block;
  width: auto;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent !important;
  box-shadow: none !important;
}
.profile-minimal-v2 .identity-cell--grade .bloodline-mark span {
  display: block;
  color: var(--refresh-text);
  font: 500 40px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
  text-shadow: 0 0 24px rgba(194, 212, 228, .16);
}
.profile-minimal-v2 .pf-basic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-minimal-v2 .gender-select {
  width: 100%;
  min-height: 46px;
}
.profile-minimal-v2 .field .input,
.profile-minimal-v2 .field textarea {
  border-radius: 10px !important;
}

/* Assessment — a calm black dossier for questions, personality and spirit. */
body.assessment-editorial-v2 {
  background: var(--refresh-black);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Microsoft YaHei", "PingFang SC", sans-serif;
}
body.assessment-editorial-v2 #bg-layer { display: none; }
body.assessment-editorial-v2 #bg-overlay { background: var(--refresh-black); }
body.assessment-editorial-v2 .container {
  width: min(920px, calc(100% - 40px));
  max-width: 920px;
  padding: 54px 0 96px;
}
body.assessment-editorial-v2 .crest { padding: 0; text-align: left; }
body.assessment-editorial-v2 .crest .mark {
  color: var(--refresh-dim);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .23em;
  text-indent: 0;
}
body.assessment-editorial-v2 h1 {
  margin: 12px 0 8px;
  color: var(--refresh-text);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-align: left;
  text-shadow: none;
  font: 500 clamp(32px, 5vw, 58px)/1.05 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  letter-spacing: -.045em;
}
body.assessment-editorial-v2 .subtitle {
  margin: 0;
  color: var(--refresh-muted);
  text-align: left;
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-indent: 0;
}
body.assessment-editorial-v2 .divider {
  max-width: none;
  margin: 30px 0 34px;
}
body.assessment-editorial-v2 .divider::before { display: none; }
body.assessment-editorial-v2 .divider::after {
  background: var(--refresh-line);
}
body.assessment-editorial-v2 .divider .diamond { display: none; }
body.assessment-editorial-v2 .card {
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--refresh-line) !important;
  border-radius: 16px;
  background: var(--refresh-ink) !important;
  box-shadow: none !important;
  backdrop-filter: none;
}
body.assessment-editorial-v2 .card::before { display: none; }
body.assessment-editorial-v2 .intro p {
  max-width: 700px;
  color: #c7c9cd;
  font-size: 14px;
  line-height: 1.95;
}
body.assessment-editorial-v2 .intro .sign { color: var(--refresh-muted); }
body.assessment-editorial-v2 .name-input {
  max-width: 460px;
  margin: 28px 0 8px;
  border-radius: 8px !important;
  background: var(--refresh-surface) !important;
  text-align: left;
}
body.assessment-editorial-v2 .hint { max-width: 460px; text-align: left; }
body.assessment-editorial-v2 .btn {
  min-height: 48px;
  border-radius: 8px !important;
  font-size: 13px;
  letter-spacing: .12em;
}
body.assessment-editorial-v2 .progress-wrap { margin-bottom: 30px; }
body.assessment-editorial-v2 .progress-bar,
body.assessment-editorial-v2 .timer-track {
  border-radius: 0;
  background: var(--refresh-line);
}
body.assessment-editorial-v2 .progress-fill,
body.assessment-editorial-v2 .timer-fill {
  border-radius: 0;
  background: var(--refresh-silver);
  box-shadow: none;
}
body.assessment-editorial-v2 .question-text {
  max-width: 760px;
  margin: 34px 0 30px;
  color: var(--refresh-text);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 500;
  line-height: 1.65;
}
body.assessment-editorial-v2 .option {
  min-height: 62px;
  margin-bottom: 10px;
  padding: 16px 18px;
  border-color: var(--refresh-line) !important;
  border-radius: 10px !important;
  color: #cfd1d5;
  background: var(--refresh-surface) !important;
  font-size: 14px;
}
body.assessment-editorial-v2 .option:hover,
body.assessment-editorial-v2 .option.picked {
  transform: translateX(3px);
  border-color: rgba(155, 185, 211, .5) !important;
  color: var(--refresh-text);
  background: var(--refresh-surface-raised) !important;
}
body.assessment-editorial-v2 .option .tag { color: var(--refresh-accent); }
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .container {
  padding-top: 26px;
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] h1 {
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 40px);
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .divider {
  margin: 18px 0 22px;
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .card {
  padding: 26px 34px;
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .progress-wrap {
  margin-bottom: 18px;
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .question-text {
  margin: 22px 0 20px;
}
body.assessment-editorial-v2[data-assessment-screen="screen-quiz"] .option {
  min-height: 52px;
  margin-bottom: 8px;
  padding-block: 12px;
}
body.assessment-editorial-v2 #screen-mbti > .card,
body.assessment-editorial-v2 #screen-result > .card { padding: 0; }
body.assessment-editorial-v2 .dossier {
  border: 0;
  border-radius: 16px;
  background: var(--refresh-ink);
}
body.assessment-editorial-v2 .dossier-header {
  padding: 32px 36px;
  border-bottom-color: var(--refresh-line);
  background: transparent !important;
  text-align: left;
}
body.assessment-editorial-v2 .dossier-header .top {
  margin-bottom: 12px;
  color: var(--refresh-dim);
  letter-spacing: .2em;
  text-indent: 0;
}
body.assessment-editorial-v2 .dossier-header .name {
  color: var(--refresh-text);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: -.02em;
}
body.assessment-editorial-v2 .dossier-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
  gap: 0 40px;
  padding: 36px;
}
body.assessment-editorial-v2 .rating-display,
body.assessment-editorial-v2 .mbti-title {
  grid-column: 1 / -1;
  padding: 0 0 26px;
  text-align: left;
}
body.assessment-editorial-v2 .rating-letter {
  color: var(--refresh-text);
  font-size: clamp(72px, 12vw, 120px);
  text-shadow: 0 0 34px rgba(185, 205, 223, .14);
}
body.assessment-editorial-v2 .rating-label,
body.assessment-editorial-v2 .mbti-title .code {
  margin-top: 12px;
  color: var(--refresh-muted);
  letter-spacing: .18em;
  text-indent: 0;
}
body.assessment-editorial-v2 .mbti-title .cname {
  color: var(--refresh-text);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -.02em;
}
body.assessment-editorial-v2 .axis-bars,
body.assessment-editorial-v2 .interp,
body.assessment-editorial-v2 .field-row { grid-column: 1; }
body.assessment-editorial-v2 .field-row {
  border-bottom-color: var(--refresh-line);
}
body.assessment-editorial-v2 .spirit-card {
  grid-column: 2;
  grid-row: 2 / span 8;
  margin: 0;
  padding: 26px;
  border-color: var(--refresh-line) !important;
  border-radius: 12px;
  background: var(--refresh-surface) !important;
}
body.assessment-editorial-v2 .spirit-name {
  color: var(--refresh-text);
  font-size: 30px;
  text-shadow: none;
}
body.assessment-editorial-v2 .spirit-effect,
body.assessment-editorial-v2 .interp { color: #c7c9cd; }
body.assessment-editorial-v2 .dossier-footer {
  border-top-color: var(--refresh-line);
  color: var(--refresh-dim);
}
body.assessment-editorial-v2 #boot {
  background: var(--refresh-black);
}
body.assessment-editorial-v2 #boot::before { background: transparent; }
body.assessment-editorial-v2 #boot .boot-inner { background: transparent; }

@media (max-width: 900px) {
  body.cassell-platform-v2[data-board="cafeteria"] .layout { width: min(100% - 28px, 760px); }
  .mail-editorial-v2 .mail-wrap { width: min(100% - 28px, 760px); }
  .mail-editorial-v2 .mail-head { grid-template-columns: 1fr; }
  .mail-editorial-v2 .mail-head .sub { grid-column: 1; grid-row: auto; max-width: none; }
  .mail-editorial-v2 .mailbox { grid-template-columns: 1fr; }
  .mail-editorial-v2 .sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    min-height: 0;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--refresh-line);
  }
  .mail-editorial-v2 .compose-btn { margin: 0; }
  .mail-editorial-v2 .folder,
  .mail-editorial-v2 .folder + .folder { margin: 0; }
  .mail-editorial-v2 .panel { min-height: 520px; }
  body.assessment-editorial-v2 .dossier-body { grid-template-columns: 1fr; }
  body.assessment-editorial-v2 .spirit-card {
    grid-column: 1;
    grid-row: auto;
    margin-top: 26px;
  }
}

@media (max-width: 680px) {
  body.cassell-platform-v2[data-board="cafeteria"] .layout { width: calc(100% - 24px); padding-top: 20px; }
  body.cassell-platform-v2[data-board="cafeteria"] .board-head { min-height: 114px; padding-bottom: 24px; }
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-heading .name { font-size: 34px; }
  body.cassell-platform-v2[data-board="cafeteria"] .service-balance {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 84px;
  }
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-account-strip > span:last-child { text-align: left; }
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-product { border-radius: 12px; }
  .mail-editorial-v2 .mail-wrap { width: calc(100% - 24px); padding: 30px 0 calc(78px + env(safe-area-inset-bottom)); }
  .mail-editorial-v2 .mail-head { margin-bottom: 20px; padding-bottom: 22px; }
  .mail-editorial-v2 .mail-head h1 { font-size: 34px; }
  .mail-editorial-v2 .mailbox { border-radius: 12px; }
  .mail-editorial-v2 .sidebar { grid-template-columns: 1fr 1fr; }
  .mail-editorial-v2 .compose-btn { grid-column: 1 / -1; }
  .mail-editorial-v2 .panel-head { padding-inline: 18px; }
  .mail-editorial-v2 .reader,
  .mail-editorial-v2 .compose { padding: 26px 18px; }
  .mail-editorial-v2 .compose textarea { min-height: 240px; }
  .cassell-platform-v2 .forum-modal--publisher { padding: 0; }
  .cassell-platform-v2 .forum-modal--publisher .forum-modal-panel {
    width: 100%;
    max-height: 96dvh;
    border-width: 1px 0 0 !important;
    border-radius: 16px 16px 0 0;
  }
  .cassell-platform-v2 .publisher-head { min-height: 0; padding: 28px 68px 24px 18px; }
  .cassell-platform-v2 .publisher-grid { display: block; min-height: 0; }
  .cassell-platform-v2 .publisher-main { padding: 24px 18px 8px; }
  .cassell-platform-v2 .publisher-aside { padding: 20px 18px; border-top: 1px solid var(--refresh-line); border-left: 0; }
  .cassell-platform-v2 .publisher-field textarea { min-height: 210px; }
  .cassell-platform-v2 .publisher-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
  .profile-minimal-v2 .pf-basic-grid { grid-template-columns: 1fr; }
  .profile-minimal-v2 .identity-cell--grade .bloodline-mark span { font-size: 34px; }
  body.assessment-editorial-v2 .container { width: calc(100% - 24px); padding-top: 30px; }
  body.assessment-editorial-v2 .card { padding: 26px 18px; }
  body.assessment-editorial-v2 .dossier-header,
  body.assessment-editorial-v2 .dossier-body { padding: 24px 18px; }
  body.assessment-editorial-v2 .question-text { font-size: 19px; }
}

/* Keep the community seal secondary to the board title and statistics. */
.forum-editorial-v3:not([data-board="cafeteria"]) .board-head::after {
  right: 148px;
  bottom: 25px;
  width: 72px;
  opacity: .52;
}

@media (max-width: 680px) {
  .forum-editorial-v3:not([data-board="cafeteria"]) .board-head::after {
    right: 68px;
    bottom: 28px;
    width: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .department-product,
  body.cassell-platform-v2[data-board="cafeteria"] .cafeteria-catalog .cafeteria-product-image {
    transition: none;
  }
}
