.studio-web-app {
  background: #050506;
  color-scheme: dark;
}

.studio-web-app body {
  min-height: 100dvh;
  overscroll-behavior: none;
}

.studio-web-app .server-field {
  display: none !important;
}

.studio-web-app .connected-auth .discord-login {
  display: none;
}

/* Le logo et le profil restent visibles, seule la liste centrale défile. */
.studio-web-app .sidebar {
  overflow: hidden;
}

.studio-web-app .sidebar .brand,
.studio-web-app .sidebar .profile {
  flex: 0 0 auto;
}

.studio-web-app .sidebar nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 5px;
  overscroll-behavior: contain;
  scrollbar-color: #343438 transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.studio-web-app .sidebar nav::-webkit-scrollbar {
  width: 6px;
}

.studio-web-app .sidebar nav::-webkit-scrollbar-track {
  background: transparent;
}

.studio-web-app .sidebar nav::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #343438;
}

.studio-web-app .sidebar nav::-webkit-scrollbar-thumb:hover {
  background: #515158;
}

.studio-web-app .web-forgot-password {
  width: auto !important;
  min-height: 0 !important;
  margin: -4px 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #b8c0d9 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  text-align: left !important;
  box-shadow: none !important;
}

.studio-web-app .web-forgot-password:hover {
  color: #fff !important;
}

.web-reset-backdrop {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(16px);
}

.web-reset-card {
  position: relative;
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #0d0e12;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.web-reset-card > small {
  color: #9ea8c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.web-reset-card h2 {
  margin: 10px 0;
  font-size: clamp(24px, 4vw, 34px);
}

.web-reset-card > p,
.web-reset-card label {
  color: #aeb4c5;
  line-height: 1.55;
}

.web-reset-card label {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
}

.web-reset-card input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: #08090c;
  color: #fff;
  font: inherit;
}

.web-reset-card button[type="submit"] {
  width: 100%;
  margin-top: 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: #f4f5f7;
  color: #090a0d;
  font-weight: 800;
  cursor: pointer;
}

.web-reset-card button:disabled {
  cursor: wait;
  opacity: .62;
}

.web-reset-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: #111319;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.web-reset-feedback {
  min-height: 20px;
  margin: 14px 0 0;
  color: #aeb4c5;
  font-size: 12px;
  line-height: 1.45;
}

.web-reset-feedback.success { color: #8fe0ae; }
.web-reset-feedback.error { color: #ff9d9d; }

.web-password-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(113, 103, 239, .13), transparent 36%),
    #050506;
}

.web-password-route-root {
  display: grid !important;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.web-reset-card.standalone {
  width: min(500px, 100%);
  padding: clamp(28px, 5vw, 44px);
  background: rgba(13, 14, 18, .96);
}

.web-reset-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
}

.web-reset-brand b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #050506 url("assets/ts-logo-animated.gif") center / cover no-repeat;
  color: transparent;
}

.web-reset-return {
  display: inline-flex;
  margin-top: 22px;
  color: #aeb4c5;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.web-reset-return:hover { color: #fff; }

.web-reset-invalid {
  margin-top: 16px;
  color: #ff9d9d !important;
  font-size: 12px;
}

.studio-web-app [data-settings-tab="connections"],
.studio-web-app [data-settings-panel="connections"] {
  display: none !important;
}

.studio-web-app .connected-settings article:last-child span::before {
  content: "Web app autonome \00b7 ";
}

.studio-web-app .auth-visual {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 6, .15), rgba(5, 5, 6, .92)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .10), transparent 40%);
}

.studio-web-app .gate-brand b,
.studio-web-app .brand > b {
  background: #050506 url("assets/ts-logo-animated.gif") center / cover no-repeat;
  color: transparent;
}

.studio-web-app .browser-offline::before {
  content: "Connexion internet interrompue \00b7 les derni\00e8res donn\00e9es restent visibles";
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border: 1px solid rgba(255, 191, 71, .45);
  border-radius: 999px;
  background: rgba(29, 22, 9, .96);
  color: #ffd88c;
  font: 700 12px/1.2 system-ui, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

@media (max-width: 900px) {
  .studio-web-app .app-shell {
    min-width: 0;
  }

  .studio-web-app .workspace {
    min-width: 0;
  }
}

/* Studio Web 1.3 · Mentor spécialisé, validations et grades Discord */
.sidebar nav .tools-main-nav {
  border: 1px solid #34333a;
  background: radial-gradient(circle at 90% 0, #29272e, transparent 58%), linear-gradient(110deg, #18181c, #101012);
  color: #d7d7dc;
}
.sidebar nav .tools-main-nav:hover,
.sidebar nav .tools-main-nav.active {
  border-color: #6b6873;
  background: radial-gradient(circle at 90% 0, #3b3841, transparent 62%), linear-gradient(110deg, #232329, #141417);
  box-shadow: inset 2px 0 #f0f0f2, 0 8px 24px #0005;
}
.sidebar nav .tools-main-nav > span { display: grid; gap: 3px; }
.sidebar nav .tools-main-nav > span small { color: #777781; font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.sidebar nav .tools-main-nav > b { min-width: 24px; background: #303037; color: #efeff2; }
.sidebar nav .validation-nav {
  border: 1px solid #28312e;
  background: linear-gradient(110deg, #131a18, #101112);
}
.sidebar nav .validation-nav:hover,
.sidebar nav .validation-nav.active {
  border-color: #456b5d;
  background: linear-gradient(110deg, #1a2823, #111614);
  box-shadow: inset 2px 0 #72e0b6;
}
.sidebar nav .validation-nav > span { display: grid; gap: 3px; }
.sidebar nav .validation-nav > span small { color: #60766e; font-size: 6px; font-weight: 800; letter-spacing: .1em; }
.sidebar nav .validation-nav > b { min-width: 24px; background: #1b2924; color: #8ce7c3; }
.admin-validation-nav { color: #d7c9e6 !important; }

.validation-requests-view { animation: os-in .35s ease both; }
.validation-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.validation-summary article { display: grid; min-height: 130px; padding: 19px; border: 1px solid #27292a; border-radius: 14px; background: linear-gradient(145deg, #111314, #0a0b0b); }
.validation-summary small { color: #67716d; font-size: 7px; font-weight: 850; letter-spacing: .14em; }
.validation-summary strong { margin: 14px 0 4px; font-size: 29px; letter-spacing: -.05em; }
.validation-summary span { align-self: end; color: #686d6b; font-size: 8px; }
.validation-process, .validation-history { margin-bottom: 16px; padding: 23px; border: 1px solid #252728; border-radius: 17px; background: #0c0d0e; }
.validation-process > header, .validation-history > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.validation-process header small, .validation-history header small { color: #68726e; font-size: 7px; font-weight: 850; letter-spacing: .14em; }
.validation-process h2, .validation-history h2 { margin: 6px 0 0; font-size: 21px; }
.validation-process > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.validation-process article { display: grid; min-height: 125px; padding: 17px; border: 1px solid #242728; border-radius: 12px; background: #101213; }
.validation-process article b { color: #72e0b6; font-size: 9px; }
.validation-process article strong { margin: 18px 0 7px; font-size: 11px; }
.validation-process article span { color: #737a77; font-size: 8px; line-height: 1.55; }
.validation-history > header > span { color: #737a77; font-size: 9px; }
.validation-request-row { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 16px; padding: 19px 0; border-top: 1px solid #222526; }
.validation-request-row > i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #d1a75b; box-shadow: 0 0 14px #d1a75b55; }
.validation-request-row.approved > i { background: #72e0b6; box-shadow: 0 0 14px #72e0b655; }
.validation-request-row.rejected > i { background: #d67979; box-shadow: 0 0 14px #d6797955; }
.validation-request-row > div { display: grid; gap: 7px; }
.validation-request-row > div small { color: #686e6b; font-size: 8px; }
.validation-request-row > div strong { font-size: 18px; }
.validation-request-row p { max-width: 780px; margin: 0; color: #8c928f; font-size: 9px; line-height: 1.6; }
.validation-request-row blockquote { display: grid; gap: 5px; margin: 4px 0 0; padding: 11px 13px; border-left: 2px solid #4b5752; background: #111513; color: #8d9792; font-size: 9px; }
.validation-request-row blockquote b { color: #b8c3be; font-size: 8px; }
.validation-request-row > aside { display: flex; min-width: 120px; align-items: flex-end; flex-direction: column; gap: 9px; }
.validation-request-row > aside span { padding: 6px 9px; border: 1px solid #333a37; border-radius: 99px; color: #b0b8b4; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.validation-request-row > aside button { border: 0; background: transparent; color: #8eaaa0; font-size: 8px; cursor: pointer; }
.validation-request-row > aside small { color: #555b58; font-size: 8px; }
.validation-empty { display: grid; justify-items: center; padding: 52px 20px; border-top: 1px solid #222526; text-align: center; }
.validation-empty > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #35413c; border-radius: 50%; color: #72e0b6; }
.validation-empty h3 { margin: 17px 0 6px; }
.validation-empty p { margin: 0 0 18px; color: #6d7471; font-size: 9px; }
.validation-empty button { padding: 10px 13px; border: 1px solid #d9e9e2; border-radius: 8px; background: #d9e9e2; color: #09100d; font-size: 9px; font-weight: 850; cursor: pointer; }

.mentor-specializations { display: grid; grid-template-columns: repeat(8, minmax(110px, 1fr)); gap: 8px; margin-bottom: 16px; }
.mentor-specializations > button { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 13px; border: 1px solid #2c2930; border-radius: 12px; background: #101013; color: #aaa3ae; text-align: left; cursor: pointer; }
.mentor-specializations > button:hover, .mentor-specializations > button.active { border-color: #6b5d78; background: #1b1720; color: #f0e8f5; transform: translateY(-1px); }
.mentor-specializations > button.locked { opacity: .42; cursor: not-allowed; }
.mentor-specializations > button > b { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #25202b; font-size: 9px; }
.mentor-specializations > button > span { display: grid; min-width: 0; gap: 4px; }
.mentor-specializations strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.mentor-specializations small { color: #756a7d; font-size: 6px; font-weight: 800; letter-spacing: .06em; }
.mentor-chat { grid-template-rows: auto minmax(320px, 1fr) auto auto; }
.mentor-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 2px 5px 15px; border-bottom: 1px solid #242229; }
.mentor-chat-head > div { display: grid; gap: 5px; }
.mentor-chat-head small { color: #776b80; font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.mentor-chat-head strong { font-size: 11px; }
.mentor-chat-head > span { display: flex; align-items: center; gap: 7px; color: #736d77; font-size: 8px; }
.mentor-chat-head i { width: 7px; height: 7px; border-radius: 50%; background: #866a3b; }
.mentor-chat-head i.online { background: #72e0b6; box-shadow: 0 0 12px #72e0b666; }
.mentor-threads > button.active { margin: 0 -10px; padding: 13px 10px; border-color: transparent; border-radius: 9px; background: #1a171e; }
.mentor-threads .mentor-archive { display: block; margin-top: 12px; padding: 10px; border: 1px solid #422e34; border-radius: 9px; color: #bd7e8c; text-align: center; }
.mentor-thread-empty { margin: 8px 0 !important; padding: 15px !important; border: 1px dashed #2c2930 !important; border-radius: 10px; }
.mentor-error { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-bottom: 15px; padding: 13px 16px; border: 1px solid #57333a; border-radius: 11px; background: #1c1114; color: #dca1ad; }
.mentor-error strong, .mentor-error span { font-size: 9px; }
.mentor-error button { border: 0; background: transparent; color: #f0bec8; font-size: 8px; cursor: pointer; }
.mentor-loading-line { grid-column: 1 / -1; padding: 25px; border: 1px dashed #2c2930; border-radius: 12px; color: #736d77; text-align: center; font-size: 9px; }
.mentor-messages > article.pending { opacity: .6; }

.mentor-admin-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; padding: 17px; border: 1px solid #29272d; border-radius: 12px; background: #111114; }
.mentor-admin-intro > div { display: grid; gap: 6px; }
.mentor-admin-intro strong { font-size: 11px; }
.mentor-admin-intro p { margin: 0; color: #77727c; font-size: 9px; line-height: 1.5; }
.mentor-admin-intro button, .mentor-role-mapping-grid footer button { padding: 10px 12px; border: 1px solid #ddd2e7; border-radius: 8px; background: #ddd2e7; color: #111; font-size: 8px; font-weight: 850; cursor: pointer; }
.mentor-role-mapping-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.mentor-role-mapping-grid > label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid #252429; border-radius: 11px; background: #0f0f12; }
.mentor-role-mapping-grid label > span { display: grid; gap: 4px; }
.mentor-role-mapping-grid label b { font-size: 9px; }
.mentor-role-mapping-grid label small { color: #706b74; font-size: 7px; }
.mentor-role-mapping-grid select { width: 100%; padding: 9px; border: 1px solid #302e34; border-radius: 8px; outline: 0; background: #09090b; color: #ddd; font: inherit; font-size: 8px; }
.mentor-role-mapping-grid footer { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 4px; }
.mentor-admin-intro.manual { margin-bottom: 10px; }
.mentor-assignment-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .75fr) minmax(230px, 1.25fr) auto; align-items: end; gap: 10px; margin-bottom: 24px; padding: 18px; border: 1px solid #302a37; border-radius: 14px; background: linear-gradient(135deg, #17131b, #0d0c0f); }
.mentor-assignment-form label, .mentor-assignment-list article > label { display: grid; min-width: 0; gap: 7px; color: #77717d; font-size: 8px; font-weight: 750; }
.mentor-assignment-form input, .mentor-assignment-form select, .mentor-assignment-list input, .mentor-assignment-list select { width: 100%; min-height: 40px; padding: 10px 11px; border: 1px solid #343039; border-radius: 9px; outline: 0; background: #09090b; color: #e7e2eb; font: inherit; font-size: 9px; }
.mentor-assignment-form input:focus, .mentor-assignment-form select:focus, .mentor-assignment-list input:focus, .mentor-assignment-list select:focus { border-color: #776682; box-shadow: 0 0 0 3px #7766821f; }
.mentor-assignment-form > button, .mentor-assignment-actions button { min-height: 40px; padding: 10px 13px; border: 1px solid #e1d6ea; border-radius: 9px; background: #e1d6ea; color: #111; font-size: 9px; font-weight: 850; cursor: pointer; }
.mentor-assignment-form button:disabled, .mentor-assignment-actions button:disabled { cursor: wait; opacity: .55; }
.mentor-assignment-list { margin-bottom: 18px; border: 1px solid #29272e; border-radius: 14px; background: #0d0c0f; overflow: hidden; }
.mentor-assignment-list > header { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid #29272e; }
.mentor-assignment-list > header > div { display: grid; gap: 6px; }
.mentor-assignment-list > header small { color: #6f6675; font-size: 7px; font-weight: 850; letter-spacing: .13em; }
.mentor-assignment-list > header h3 { margin: 0; font-size: 15px; }
.mentor-assignment-list > header > span { color: #8f8497; font-size: 10px; }
.mentor-assignment-list > article { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(150px, .75fr) minmax(210px, 1.2fr) auto; align-items: end; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #242229; }
.mentor-assignment-list > article:last-of-type { border-bottom: 0; }
.mentor-assignment-member { display: grid; align-self: center; min-width: 0; gap: 5px; }
.mentor-assignment-member b, .mentor-assignment-member small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mentor-assignment-member b { font-size: 10px; }
.mentor-assignment-member small { color: #68626d; font-size: 8px; }
.mentor-assignment-actions { display: flex; gap: 7px; }
.mentor-assignment-actions button.danger { border-color: #4d2d35; background: transparent; color: #ce8493; }
.mentor-assignment-empty { padding: 32px 18px; color: #6f6973; font-size: 10px; text-align: center; }
.mentor-discord-settings { border: 1px solid #29272e; border-radius: 14px; background: #0c0b0e; }
.mentor-discord-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; color: #aaa1b0; cursor: pointer; list-style: none; }
.mentor-discord-settings > summary::-webkit-details-marker { display: none; }
.mentor-discord-settings > summary > span { display: grid; gap: 5px; }
.mentor-discord-settings > summary b { font-size: 10px; }
.mentor-discord-settings > summary small { color: #69636e; font-size: 8px; }
.mentor-discord-settings[open] > summary { border-bottom: 1px solid #29272e; }
.mentor-discord-settings .mentor-admin-intro, .mentor-discord-settings .mentor-role-mapping-grid { margin: 14px; }

@media (max-width: 1250px) {
  .mentor-specializations { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .validation-summary, .validation-process > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mentor-role-mapping-grid { grid-template-columns: 1fr; }
  .mentor-assignment-form { grid-template-columns: 1fr 1fr; }
  .mentor-assignment-form > button { min-height: 44px; }
  .mentor-assignment-list > article { grid-template-columns: 1fr 1fr; }
  .mentor-assignment-actions { justify-content: flex-end; }
  .mentor-specializations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .validation-request-row { grid-template-columns: 7px minmax(0, 1fr); }
  .validation-request-row > aside { grid-column: 2; align-items: flex-start; }
}
@media (max-width: 840px) {
  .studio-web-app .sidebar { overflow-x: auto; overflow-y: hidden; padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .studio-web-app .sidebar nav { display: flex; flex: 0 0 auto; width: max-content; min-width: 100%; gap: 6px; overflow: visible; padding-right: 0; scrollbar-gutter: auto; }
  .studio-web-app .sidebar nav button { flex: 0 0 118px; min-height: 48px; font-size: 11px; }
  .studio-web-app .sidebar nav button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .studio-web-app .sidebar nav [data-route="admin"]:not([hidden]),
  .studio-web-app .sidebar nav [data-route="settings"] { display: flex !important; }
  .studio-web-app .sidebar nav button[hidden] { display: none !important; }
  .studio-web-app .view,
  .studio-web-app .view:has(>.activities-view),
  .studio-web-app .view:has(>.mentor-view) { padding-bottom: 135px; }
  .mentor-context { display: block; max-height: 250px; overflow: auto; }
  .mentor-conversation-layout { grid-template-columns: 1fr; }
  .validation-requests-view .page-head { align-items: flex-start; }
  .studio-web-app input,
  .studio-web-app textarea,
  .studio-web-app select { font-size: 16px !important; }
  .validation-summary small,
  .validation-process header small,
  .validation-history header small { font-size: 10px; }
  .validation-summary span,
  .validation-history > header > span,
  .validation-request-row > div small,
  .validation-request-row > aside small { font-size: 11px; }
  .validation-process article b,
  .validation-request-row blockquote b { font-size: 11px; }
  .validation-process article strong { font-size: 15px; }
  .validation-process article span,
  .validation-request-row p,
  .validation-request-row blockquote,
  .validation-empty p { font-size: 13px; }
  .validation-request-row > aside span,
  .validation-request-row > aside button,
  .validation-empty button { min-height: 44px; font-size: 11px; }
  .mentor-specializations > button { min-height: 58px; }
  .mentor-specializations strong { font-size: 12px; }
  .mentor-specializations small,
  .mentor-chat-head small { font-size: 9px; }
  .mentor-chat-head strong { font-size: 14px; }
  .mentor-chat-head > span,
  .mentor-error strong,
  .mentor-error span,
  .mentor-error button,
  .mentor-loading-line { font-size: 12px; }
  .mentor-messages article>span,
  .mentor-messages article>time { font-size: 10px; }
  .mentor-messages article>p { font-size: 14px; line-height: 1.65; }
  .mentor-chat form button,
  .mentor-new,
  .mentor-admin-intro button,
  .mentor-role-mapping-grid footer button { min-height: 44px; font-size: 12px; }
  .mentor-admin-intro strong { font-size: 14px; }
  .mentor-admin-intro p { font-size: 12px; }
  .mentor-role-mapping-grid label b { font-size: 12px; }
  .mentor-role-mapping-grid label small { font-size: 10px; }
  .sidebar nav .tools-main-nav > span small { font-size: 9px; }
  .mentor-assignment-form label,
  .mentor-assignment-list article > label { font-size: 11px; }
  .mentor-assignment-member b { font-size: 13px; }
  .mentor-assignment-member small,
  .mentor-discord-settings > summary small { font-size: 11px; }
  .mentor-discord-settings > summary b { font-size: 13px; }
}
@media (max-width: 620px) {
  .validation-summary, .validation-process > div { grid-template-columns: 1fr; }
  .mentor-admin-intro { align-items: stretch; flex-direction: column; }
  .mentor-role-mapping-grid > label { grid-template-columns: 1fr; }
  .mentor-assignment-form, .mentor-assignment-list > article { grid-template-columns: 1fr; }
  .mentor-assignment-actions { justify-content: stretch; }
  .mentor-assignment-actions button { flex: 1; min-height: 44px; font-size: 12px; }
  .mentor-specializations { grid-template-columns: 1fr 1fr; }
  .mentor-specializations > button { padding: 11px; }
  .validation-process, .validation-history { padding: 17px; }
  .validation-request-row > div strong { font-size: 16px; }
}
@media (max-width: 420px) {
  .studio-web-app .sidebar nav button { flex-basis: 108px; }
  .mentor-specializations { grid-template-columns: 1fr; }
  .mentor-chat-head { align-items: flex-start; flex-direction: column; }
  .validation-request-row { gap: 11px; }
  .validation-request-row > aside { min-width: 0; }
}
