@charset "UTF-8";
:root,
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0c0f;
  --bg-elev: #12141a;
  --panel: #16181f;
  --panel-2: #1c1f28;
  --panel-hover: #222632;
  --line: #2a2f3a;
  --line-soft: #232732;
  --text: #e8eaed;
  --muted: #8b93a7;
  --muted-2: #6b7389;
  --blue-soft: rgba(59, 130, 246, 0.15);
  --blue-text: #93c5fd;
  --gold-soft: rgba(232, 184, 74, 0.14);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.12);
  --teal-soft: rgba(45, 212, 191, 0.12);
  --danger-soft: rgba(248, 113, 113, 0.12);
  --danger-border: rgba(248, 113, 113, 0.35);
  --ok: #4ade80;
  --ok-soft: rgba(74, 222, 128, 0.12);
  --ok-border: rgba(74, 222, 128, 0.35);
  --warn-soft: rgba(255, 122, 24, 0.16);
  --neutral: rgba(56, 189, 248, 0.16);
  --neutral-text: #7dd3fc;
  --neutral-border: rgba(56, 189, 248, 0.38);
  --btn-ghost-bg: #1c2029;
  --btn-ghost-border: #5c6578;
  --btn-ghost-hover-bg: #262b38;
  --btn-ghost-hover-border: #8b93a7;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.45);
  --btn-shadow-active: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  --btn-primary-border: #93c5fd;
  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 4px rgba(0, 0, 0, 0.4);
  --btn-danger-border: #fecaca;
  --btn-danger-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(0, 0, 0, 0.4);
  --panel-border-width: 2px;
  --panel-shadow: 0 4px 16px rgba(0, 0, 0, 0.42), 0 1px 3px rgba(0, 0, 0, 0.28);
  --brand: #3b82f6;
  --brand-rgb: 59, 130, 246;
  --brand-hover: #2563eb;
  --brand-text-on: #ffffff;
  --radius: 10px;
  --radius-sm: 8px;
  --gold: #e8b84a;
  --gold-rgb: 232, 184, 74;
  --purple: #a78bfa;
  --purple-rgb: 167, 139, 250;
  --teal: #2dd4bf;
  --teal-rgb: 45, 212, 191;
  --danger: #f87171;
  --danger-rgb: 248, 113, 113;
  --danger-hover: #f25c5c;
  --warn: #ff7a18;
  --warn-rgb: 255, 122, 24;
  --warn-light: #ff9141;
  --ok-base: #4ade80;
  --ok-base-rgb: 74, 222, 128;
  --ok-base-light: #6ee79a;
  --cyan-rgb: 56, 189, 248;
  --chrome: #3a4150;
  --font-family: 'Play', system-ui, sans-serif; }

[data-theme='light'] {
  color-scheme: light;
  --bg: #f3f5f8;
  --bg-elev: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef1f6;
  --panel-hover: #e6ebf2;
  --line: #d5dbe6;
  --line-soft: #e4e8ef;
  --text: #1a1d24;
  --muted: #5c6578;
  --muted-2: #7a8499;
  --blue-soft: rgba(37, 99, 235, 0.12);
  --blue-text: #1d4ed8;
  --gold-soft: rgba(180, 130, 20, 0.14);
  --cyan: #0284c7;
  --cyan-soft: rgba(2, 132, 199, 0.1);
  --teal-soft: rgba(13, 148, 136, 0.1);
  --danger-soft: rgba(220, 38, 38, 0.1);
  --danger-border: rgba(220, 38, 38, 0.28);
  --ok: #166534;
  --ok-soft: rgba(22, 101, 52, 0.12);
  --ok-border: rgba(22, 101, 52, 0.45);
  --warn-soft: rgba(234, 88, 12, 0.14);
  --neutral: rgba(2, 132, 199, 0.1);
  --neutral-text: #0369a1;
  --neutral-border: rgba(2, 132, 199, 0.28);
  --btn-ghost-bg: #ffffff;
  --btn-ghost-border: #8b95a8;
  --btn-ghost-hover-bg: #e8edf5;
  --btn-ghost-hover-border: #5c6578;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(26, 29, 36, 0.16);
  --btn-shadow-active: inset 0 2px 4px rgba(26, 29, 36, 0.14);
  --btn-primary-border: #1e40af;
  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 5px rgba(37, 99, 235, 0.38);
  --btn-danger-border: #b91c1c;
  --btn-danger-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 5px rgba(220, 38, 38, 0.28);
  --panel-border-width: 2px;
  --panel-shadow: 0 4px 16px rgba(26, 29, 36, 0.1), 0 1px 4px rgba(26, 29, 36, 0.06);
  --brand: #3b82f6;
  --brand-rgb: 59, 130, 246;
  --brand-hover: #2563eb;
  --brand-text-on: #ffffff;
  --radius: 10px;
  --radius-sm: 8px;
  --gold: #e8b84a;
  --gold-rgb: 232, 184, 74;
  --purple: #a78bfa;
  --purple-rgb: 167, 139, 250;
  --teal: #0d9488;
  --teal-rgb: 13, 148, 136;
  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --danger-hover: #b91c1c;
  --warn: #ea580c;
  --warn-rgb: 234, 88, 12;
  --warn-light: #f97316;
  --ok-base: #166534;
  --ok-base-rgb: 22, 101, 52;
  --ok-base-light: #15803d;
  --cyan-rgb: 2, 132, 199;
  --chrome: #d5dbe6;
  --font-family: 'Play', system-ui, sans-serif; }

[data-theme='stackbridge'] {
  color-scheme: light;
  --bg: #fbfbfd;
  --bg-elev: #ffffff;
  --panel: #ffffff;
  --panel-2: #eaedf5;
  --panel-hover: #d4dcec;
  --line: #d4dcec;
  --line-soft: #eaedf5;
  --text: #252525;
  --muted: #737373;
  --muted-2: #616161;
  --blue-soft: rgba(40, 79, 158, 0.1);
  --blue-text: #284f9e;
  --gold-soft: rgba(40, 79, 158, 0.14);
  --cyan: #284f9e;
  --cyan-soft: rgba(40, 79, 158, 0.08);
  --teal-soft: rgba(40, 79, 158, 0.1);
  --danger-soft: rgba(26, 26, 26, 0.08);
  --danger-border: rgba(26, 26, 26, 0.28);
  --ok: #284f9e;
  --ok-soft: rgba(40, 79, 158, 0.12);
  --ok-border: rgba(40, 79, 158, 0.35);
  --warn-soft: rgba(115, 115, 115, 0.14);
  --neutral: rgba(40, 79, 158, 0.1);
  --neutral-text: #284f9e;
  --neutral-border: rgba(40, 79, 158, 0.28);
  --btn-ghost-bg: #eaedf5;
  --btn-ghost-border: #d4dcec;
  --btn-ghost-hover-bg: #d4dcec;
  --btn-ghost-hover-border: #737373;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(37, 37, 37, 0.08);
  --btn-shadow-active: inset 0 2px 4px rgba(37, 37, 37, 0.12);
  --btn-primary-border: #1e3c78;
  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 5px rgba(40, 79, 158, 0.3);
  --btn-danger-border: #1a1a1a;
  --btn-danger-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 5px rgba(26, 26, 26, 0.28);
  --panel-border-width: 1px;
  --panel-shadow: 0 2px 8px rgba(37, 37, 37, 0.06), 0 1px 3px rgba(37, 37, 37, 0.04);
  --brand: #284f9e;
  --brand-rgb: 40, 79, 158;
  --brand-hover: #1e3c78;
  --brand-text-on: #fbfbfd;
  --radius: 12px;
  --radius-sm: 6px;
  --gold: #284f9e;
  --gold-rgb: 40, 79, 158;
  --purple: #284f9e;
  --purple-rgb: 40, 79, 158;
  --teal: #284f9e;
  --teal-rgb: 40, 79, 158;
  --danger: #1a1a1a;
  --danger-rgb: 26, 26, 26;
  --danger-hover: #252525;
  --warn: #737373;
  --warn-rgb: 115, 115, 115;
  --warn-light: #616161;
  --ok-base: #284f9e;
  --ok-base-rgb: 40, 79, 158;
  --ok-base-light: #1e3c78;
  --cyan-rgb: 40, 79, 158;
  --chrome: #252525;
  --font-family: 'Manrope', system-ui, sans-serif; }

[data-theme='soft'] {
  color-scheme: light;
  --bg: #e8ecf4;
  --bg-elev: #e8ecf4;
  --panel: #e8ecf4;
  --panel-2: #e8ecf4;
  --panel-hover: #e2e7f0;
  --line: #d8dde8;
  --line-soft: #dfe4ee;
  --text: #4a5568;
  --muted: #718096;
  --muted-2: #a0aec0;
  --blue-soft: rgba(142, 196, 232, 0.18);
  --blue-text: #3d7fb0;
  --gold-soft: rgba(142, 196, 232, 0.14);
  --cyan: #3d7fb0;
  --cyan-soft: rgba(142, 196, 232, 0.14);
  --teal-soft: rgba(15, 163, 153, 0.12);
  --danger-soft: rgba(229, 62, 62, 0.1);
  --danger-border: rgba(229, 62, 62, 0.28);
  --ok: #228653;
  --ok-soft: rgba(34, 134, 83, 0.12);
  --ok-border: rgba(34, 134, 83, 0.35);
  --warn-soft: rgba(221, 107, 32, 0.12);
  --neutral: rgba(142, 196, 232, 0.14);
  --neutral-text: #3d7fb0;
  --neutral-border: rgba(142, 196, 232, 0.28);
  --btn-ghost-bg: #e8ecf4;
  --btn-ghost-border: transparent;
  --btn-ghost-hover-bg: #e8ecf4;
  --btn-ghost-hover-border: transparent;
  --btn-shadow: 8px 8px 16px #c5cad4, -8px -8px 16px #ffffff;
  --btn-shadow-active: inset 4px 4px 8px #c5cad4, inset -4px -4px 8px #ffffff;
  --btn-primary-border: transparent;
  --btn-primary-shadow: inset 4px 4px 8px rgba(90, 140, 180, 0.32), -6px -6px 14px #ffffff;
  --btn-danger-border: transparent;
  --btn-danger-shadow: 8px 8px 16px #c5cad4, -8px -8px 16px #ffffff;
  --panel-border-width: 0px;
  --panel-shadow: 8px 8px 16px #c5cad4, -8px -8px 16px #ffffff;
  --brand: #8ec4e8;
  --brand-rgb: 142, 196, 232;
  --brand-hover: #79b4dc;
  --brand-text-on: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;
  --gold: #3d7fb0;
  --gold-rgb: 61, 127, 176;
  --purple: #805ad5;
  --purple-rgb: 128, 90, 213;
  --teal: #0fa399;
  --teal-rgb: 15, 163, 153;
  --danger: #e53e3e;
  --danger-rgb: 229, 62, 62;
  --danger-hover: #c53030;
  --warn: #c26100;
  --warn-rgb: 194, 97, 0;
  --warn-light: #ff8100;
  --ok-base: #228653;
  --ok-base-rgb: 34, 134, 83;
  --ok-base-light: #2f9e63;
  --cyan-rgb: 61, 127, 176;
  --chrome: #d8dde8;
  --font-family: 'Play', system-ui, sans-serif; }

@font-face {
  font-family: 'Play';
  src: url("../fonts/Play-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Play';
  src: url("../fonts/Play-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'Manrope';
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: 'JetBrains Mono';
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

html {
  height: 100%;
  background: var(--bg); }

a {
  text-decoration: none; }

button,
input {
  font: inherit; }

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
  font-size: 15px; }

a {
  color: var(--cyan); }

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit; }

.app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh; }

.block.student-profile-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin-left: 0;
  min-height: 0;
  box-sizing: border-box; }
  .block.student-profile-block .student-profile-block__body {
    display: flex;
    flex-direction: column;
    gap: 12px; }
  .block.student-profile-block .sidebar__user {
    padding: 0;
    border-bottom: none; }
  .block.student-profile-block .sidebar__logout {
    width: 100%;
    justify-content: center; }
  .block.student-profile-block--compact {
    width: 100%;
    max-width: 240px;
    margin: 0;
    background: var(--panel);
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    padding: 10px 12px; }
    .block.student-profile-block--compact .student-profile-block__body {
      gap: 8px; }
    .block.student-profile-block--compact .sidebar__greeting {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 0;
      line-height: 1.3; }
    .block.student-profile-block--compact .sidebar__user {
      display: flex;
      flex-direction: column;
      gap: 8px; }
      .block.student-profile-block--compact .sidebar__user form {
        width: 100%; }
    .block.student-profile-block--compact .sidebar__training-row {
      margin-bottom: 0; }
    .block.student-profile-block--compact .sidebar__logout {
      width: 100%;
      justify-content: center;
      padding: 5px 10px;
      font-size: 12px; }

.sidebar {
  background: var(--bg-elev);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: start;
  width: 260px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  z-index: 20; }
  .sidebar__brand {
    position: relative;
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--line); }
  .sidebar__close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow); }
    .sidebar__close:hover {
      border-color: var(--btn-ghost-hover-border);
      background: var(--btn-ghost-hover-bg);
      color: var(--text); }
  .sidebar__brand-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px; }
  .sidebar__brand-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3; }
  .sidebar__brand-company {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
    line-height: 1.3; }
  .sidebar__user {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line); }
  .sidebar__greeting {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px; }
  .sidebar__training-row {
    display: flex;
    width: 100%;
    margin-bottom: 12px; }
  .sidebar__training-type {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--muted); }
  .sidebar__logout {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow);
    font-size: 13px;
    color: var(--text);
    cursor: pointer; }
    .sidebar__logout:hover {
      border-color: var(--btn-ghost-hover-border);
      background: var(--btn-ghost-hover-bg); }
    .sidebar__logout:active {
      box-shadow: var(--btn-shadow-active); }
  .sidebar__nav {
    padding: 12px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px; }
  .sidebar__nav-group {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
    padding: 10px 10px 6px; }
  .sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.12s, color 0.12s; }
    .sidebar__link:hover {
      background: var(--panel-hover);
      color: var(--text); }
    .sidebar__link--active {
      background: var(--blue-soft);
      color: var(--blue-text); }
      .sidebar__link--active .sidebar__status-dot {
        background: var(--brand); }
    .sidebar__link--done .sidebar__status-dot {
      background: var(--ok); }
    .sidebar__link--current .sidebar__status-dot {
      background: var(--warn);
      box-shadow: 0 0 0 3px rgba(var(--warn-rgb), 0.2); }
  .sidebar__badge {
    margin-left: auto;
    margin-right: 4px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1; }
    .sidebar__badge[hidden] {
      display: none; }
    .sidebar__badge--danger {
      background: var(--danger-soft);
      color: var(--danger);
      border: 1px solid var(--danger-border); }
    .sidebar__badge--warn {
      background: var(--warn-soft);
      color: var(--warn);
      border: 1px solid rgba(var(--warn-rgb), 0.35); }
  .sidebar__nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0; }
  .sidebar__link--active .sidebar__nav-number {
    background: rgba(var(--cyan-rgb), 0.15);
    border-color: rgba(var(--cyan-rgb), 0.35);
    color: var(--blue-text); }
  .sidebar__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--chrome); }
  .sidebar__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted-2);
    line-height: 1.5; }
  .sidebar__link--about {
    flex-shrink: 0;
    margin: 0 10px 12px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    justify-content: center;
    font-weight: 600; }
  .sidebar__telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: var(--panel-border-width) solid rgba(var(--brand-rgb), 0.55);
    border-radius: var(--radius-sm);
    background: var(--blue-soft);
    box-shadow: var(--panel-shadow);
    color: var(--blue-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none; }
    .sidebar__telegram:hover {
      background: var(--panel-hover);
      border-color: var(--cyan);
      color: var(--cyan); }
  .sidebar__footer-note {
    margin: 0; }

.sidebar-menu-btn {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  box-shadow: var(--btn-shadow); }
  .sidebar-menu-btn:hover {
    border-color: var(--btn-ghost-hover-border);
    background: var(--btn-ghost-hover-bg); }
  .sidebar-menu-btn__bars, .sidebar-menu-btn__bars::before, .sidebar-menu-btn__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px; }
  .sidebar-menu-btn__bars {
    position: relative; }
    .sidebar-menu-btn__bars::before, .sidebar-menu-btn__bars::after {
      content: '';
      position: absolute;
      left: 0; }
    .sidebar-menu-btn__bars::before {
      top: -6px; }
    .sidebar-menu-btn__bars::after {
      top: 6px; }

body.sidebar-open {
  overflow: hidden; }

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.45); }
  .sidebar-backdrop[hidden] {
    display: none !important; }

.content {
  min-width: 0;
  background: radial-gradient(ellipse 70% 40% at 50% -5%, rgba(var(--brand-rgb), 0.07), transparent 55%), var(--bg);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh; }
  .content__header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 8px;
    flex-wrap: wrap; }
  .content__header-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 auto;
    align-self: stretch;
    min-width: 0;
    max-width: 100%;
    width: auto;
    height: auto; }
    .content__header-intro .theme-picker {
      flex: 0 0 auto;
      width: auto;
      max-width: 100%;
      margin-top: 0;
      justify-content: flex-start;
      gap: 0; }
  .content__header-copy {
    min-width: 0; }
  .content__about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: flex-start;
    margin-left: auto;
    width: 36px;
    height: 36px;
    padding: 0;
    text-decoration: none;
    color: var(--blue-text);
    border-radius: var(--radius-sm);
    line-height: 0;
    cursor: pointer;
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow);
    transition: border-color 0.12s, background 0.12s, box-shadow 0.12s, transform 0.15s ease, opacity 0.15s ease; }
    .content__about:hover {
      border-color: var(--btn-ghost-hover-border);
      background: var(--btn-ghost-hover-bg);
      text-decoration: none; }
    .content__about:active {
      box-shadow: var(--btn-shadow-active); }
    .content__about:focus-visible {
      outline: 2px solid rgba(var(--brand-rgb), 0.45);
      outline-offset: 2px; }
  .content__about-text {
    display: none; }
  .content__about-img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    pointer-events: none; }
  .content__header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    align-items: stretch; }
    .content__header-actions .guides-progress,
    .content__header-actions .pill,
    .content__header-actions .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .content__header-actions .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
  .content__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25; }
  .content__role {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-text); }
  .content__description {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--muted);
    max-width: 52ch; }
  .content__body {
    padding: 8px 24px 64px;
    flex: 1; }

.theme-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  box-shadow: var(--btn-shadow); }
  .theme-toggle:hover {
    border-color: var(--btn-ghost-hover-border);
    background: var(--btn-ghost-hover-bg); }
  .theme-toggle:active {
    box-shadow: var(--btn-shadow-active); }
  .theme-toggle:focus-visible {
    outline: 2px solid rgba(var(--brand-rgb), 0.45);
    outline-offset: 2px; }

.theme-picker {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  max-width: 100%;
  box-sizing: border-box; }
  .theme-picker__button {
    display: none; }
  .theme-picker__icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none; }
  .theme-picker__menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: auto;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 6px;
    margin: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    border: var(--panel-border-width) solid var(--line);
    box-shadow: var(--panel-shadow);
    flex-shrink: 0; }
  .theme-picker__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.12s, border-color 0.12s; }
    .theme-picker__option:hover {
      background: var(--bg); }
    .theme-picker__option:focus-visible {
      outline: 2px solid rgba(var(--brand-rgb), 0.45);
      outline-offset: 2px; }
    .theme-picker__option--active {
      display: inline-flex !important;
      border-color: rgba(var(--brand-rgb), 0.55);
      background: var(--blue-soft); }

.content__header > .theme-picker {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  order: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-self: stretch;
  box-sizing: border-box;
  margin-top: 4px; }

.content__header > :first-child {
  order: 1;
  flex: 1 1 auto;
  min-width: 0; }

.content__header-rail {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  max-width: min(240px, 100%);
  box-sizing: border-box; }
  .content__header-rail .student-profile-block--compact {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box; }
    .content__header-rail .student-profile-block--compact .student-profile-block__body {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      height: 100%;
      min-height: 100%; }
    .content__header-rail .student-profile-block--compact .sidebar__user {
      flex: 1 1 auto;
      height: 100%;
      justify-content: flex-start; }
      .content__header-rail .student-profile-block--compact .sidebar__user form {
        margin-top: auto; }

.content__header-actions {
  order: 3;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; }
  .content__header-actions .theme-picker {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    order: -1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-bottom: 4px;
    box-sizing: border-box; }

[data-theme='dark'] .theme-toggle__icon--to-light,
:root:not([data-theme]) .theme-toggle__icon--to-light {
  display: block; }

[data-theme='light'] .theme-toggle__icon--to-dark {
  display: block; }

.chat {
  display: flex;
  flex-direction: column;
  height: 60vh;
  min-height: 360px; }
  .chat-page--student .chat {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - 160px);
    background: var(--panel);
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    padding: 14px; }
  .chat__head {
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0; }
  .chat__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px; }
  .chat__title {
    font-size: 14px;
    font-weight: 700; }
  .chat__unread-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
    font-size: 9px;
    font-weight: 600;
    line-height: 1; }
  .chat__tabs {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap; }
  .chat__tab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    cursor: pointer; }
    .chat__tab:hover {
      border-color: var(--btn-ghost-hover-border);
      background: var(--btn-ghost-hover-bg); }
    .chat__tab--active {
      background: var(--blue-soft);
      border-color: rgba(var(--cyan-rgb), 0.35);
      color: var(--blue-text); }
    .chat__tab--locked {
      opacity: 0.55; }
  .chat__tab-badge {
    flex-shrink: 0;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 10px;
    font-weight: 600;
    line-height: 1; }
  .chat__subtitle {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.35; }
    .chat__subtitle--counterpart {
      display: block;
      margin-top: 10px;
      padding: 0;
      border: none;
      border-radius: 0;
      background: none;
      box-shadow: none;
      font-size: 16px;
      font-weight: 400;
      color: var(--muted);
      line-height: 1.35;
      cursor: default;
      pointer-events: none;
      user-select: text; }
  .chat__body {
    flex: 1;
    min-height: 0;
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden; }
  .chat__loading, .chat__lock-text, .chat__placeholder {
    background: var(--panel);
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    padding: 12px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5; }
  .chat__thread {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .chat__messages {
    flex: 1;
    min-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 2px; }
  .chat__message {
    width: fit-content;
    max-width: 80%;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--teal-rgb), 0.22);
    background: var(--teal-soft); }
    .chat__message--own {
      align-self: flex-end;
      background: var(--blue-soft);
      border-color: rgba(var(--brand-rgb), 0.28); }
    .chat__message--unread {
      border-color: rgba(var(--warn-rgb), 0.55);
      background: var(--warn-soft);
      box-shadow: inset 3px 0 0 var(--warn); }
  .chat__message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 10px;
    color: var(--muted-2); }
    .chat__message-meta--time-only {
      justify-content: flex-end; }
  .chat__message-author {
    font-weight: 700;
    color: var(--muted); }
    .chat__message-author--recipient {
      color: var(--blue-text); }
  .chat__message-body {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word; }
  .chat__composer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0; }
  .chat__input {
    width: 100%;
    resize: vertical;
    min-height: 52px;
    max-height: 120px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4; }
    .chat__input:focus {
      outline: none;
      border-color: rgba(var(--brand-rgb), 0.55);
      box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18); }
    .chat__input:disabled {
      opacity: 0.55;
      cursor: not-allowed; }
  .chat__send {
    align-self: flex-end; }
  .chat__error {
    margin: 0;
    font-size: 12px;
    color: var(--danger);
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    gap: 8px; }
    .chat__error::before {
      content: '✕';
      font-weight: 700; }
    .chat__error[hidden], .chat__error:empty {
      display: none !important; }

.chat-page {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 12px;
  min-height: 520px; }
  .chat-page--student {
    display: block;
    grid-template-columns: none; }
  .chat-page__list {
    background: var(--panel);
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    max-height: calc(100vh - 180px);
    overflow: hidden; }
  .chat-page__list-empty {
    margin: 0;
    padding: 12px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45; }
  .chat-page__list-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1; }
  .chat-page__list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'name badge';
    gap: 2px 8px;
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer; }
    .chat-page__list-item:hover {
      background: var(--panel-hover); }
    .chat-page__list-item--active {
      background: var(--blue-soft);
      border-color: rgba(var(--cyan-rgb), 0.25); }
    .chat-page__list-item--attention:not(.chat-page__list-item--active) {
      background: var(--warn-soft);
      border-color: rgba(var(--warn-rgb), 0.28); }
    .chat-page__list-item--attention.chat-page__list-item--active {
      background: var(--warn-soft);
      border-color: rgba(var(--warn-rgb), 0.45);
      box-shadow: inset 3px 0 0 var(--warn); }
  .chat-page__list-name {
    grid-area: name;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .chat-page__list-badge {
    grid-area: badge;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 9px;
    font-weight: 600;
    line-height: 1; }
  .chat-page__list-meta {
    grid-area: meta;
    font-size: 11px;
    color: var(--muted); }
  .chat-page__thread {
    background: var(--panel);
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    min-height: 520px;
    max-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    overflow: hidden; }
  .chat-page__thread-empty {
    margin: auto;
    max-width: 320px;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5; }
  .chat-page__error {
    margin: 0;
    padding: 12px 14px;
    font-size: 12px;
    color: var(--danger);
    line-height: 1.35;
    background: rgba(var(--danger-rgb), 0.18);
    border: 1px solid rgba(var(--danger-rgb), 0.4);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: baseline;
    gap: 8px; }
    .chat-page__error::before {
      content: '✕';
      font-weight: 700; }
    .chat-page__error[hidden], .chat-page__error:empty {
      display: none !important; }
  .chat-page__thread-active {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px; }
  .chat-page__thread-head {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft); }
  .chat-page__back.btn {
    display: none;
    flex-shrink: 0; }
  .chat-page__thread-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 700; }
  .chat-page__messages {
    flex: 1;
    min-height: 200px; }

.simple-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

.simple-header {
  flex-shrink: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between; }
  .simple-header__title {
    font-size: 14px;
    font-weight: 700; }
  .simple-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; }
    .simple-header__actions .theme-picker {
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      order: -1;
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-end;
      margin-bottom: 4px;
      box-sizing: border-box; }

.simple-main {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px; }
  .simple-main--wide {
    max-width: 1100px; }

.block {
  background: var(--panel);
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  margin-bottom: 12px;
  overflow: hidden;
  scroll-margin-top: 88px; }
  .block--fit {
    min-height: 0; }
    .block--fit .block__head {
      padding-bottom: 8px;
      border-bottom: none; }
    .block--fit .block__body {
      padding-top: 8px; }
  .block--my-developers {
    min-height: 0; }
  .block--approved {
    border-color: var(--ok);
    border-width: 2px; }
  .block__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: var(--panel-border-width) solid var(--line);
    background: var(--panel-2);
    flex-shrink: 0; }
  .block__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.01em; }
  .block__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    background: var(--blue-soft);
    color: var(--blue-text);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0; }
  .block__subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px; }
  .block__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%; }
  .block__body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 16px;
    font-size: 14px;
    color: var(--muted); }
    .block__body[hidden] {
      display: none; }
    .block__body:has(> .doc-tab-panel__empty:only-child), .block__body:has(> .block__hint:only-child) {
      justify-content: center;
      align-items: center; }
      .block__body:has(> .doc-tab-panel__empty:only-child) > .doc-tab-panel__empty,
      .block__body:has(> .doc-tab-panel__empty:only-child) > .block__hint, .block__body:has(> .block__hint:only-child) > .doc-tab-panel__empty,
      .block__body:has(> .block__hint:only-child) > .block__hint {
        margin: 0;
        text-align: center;
        max-width: 36em; }
    .block__body:has(> .doc-tab-panel__empty + .block__hint) {
      justify-content: center;
      align-items: center; }
      .block__body:has(> .doc-tab-panel__empty + .block__hint) > .doc-tab-panel__empty,
      .block__body:has(> .doc-tab-panel__empty + .block__hint) > .block__hint {
        margin: 0;
        text-align: center;
        max-width: 36em; }
    .block__body > [data-dashboard-notification-inbox] {
      flex: 1 0 auto;
      width: 100%; }
      .block__body > [data-dashboard-notification-inbox]:has(> .doc-tab-panel__empty) {
        justify-content: center;
        align-items: center; }
    .block__body > .review-queue,
    .block__body > .message-inbox,
    .block__body > .my-developers,
    .block__body > .stack-list,
    .block__body > .review-history {
      width: 100%; }
    .block--handover .block__body {
      padding-top: 4px; }
    .specialties-team--compact .block__body {
      padding-top: 12px; }
  .block__head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch; }
    .block__head-actions .guides-progress,
    .block__head-actions .pill,
    .block__head-actions .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .block__head-actions .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
    .block__head-actions .doc-tabs {
      margin-bottom: 0; }
  .block__hint {
    margin: 0 0 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted); }
    .block__hint--success {
      color: var(--ok); }
    .block__hint--warn {
      color: var(--warn); }

.doc-block-ai {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft); }
  .block__body:has(.doc-tab[data-doc-tab$="-versions"].doc-tab--active) .doc-block-ai, .block__body:has(.doc-tab[data-doc-tab$="-preview"].doc-tab--active) .doc-block-ai {
    display: none !important; }
  .doc-block-ai__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch; }
    @media (max-width: 800px) {
      .doc-block-ai__grid {
        grid-template-columns: 1fr; } }
  .doc-block-ai__col {
    min-width: 0;
    display: flex;
    flex-direction: column; }
  .doc-block-ai__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted); }
  .doc-block-ai__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: var(--text); }
    .doc-block-ai__body > .doc-feedback {
      flex: 1 1 auto; }
  .doc-block-ai__hint {
    margin: 0;
    font-size: 13px;
    color: var(--muted); }

.doc-block-notice {
  text-align: center;
  margin-bottom: 12px; }
  .doc-block-notice__formats {
    text-align: left;
    font-size: 12.5px;
    color: var(--muted); }
  .doc-block-notice__alerts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px; }
  .doc-block-notice__alert {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent; }
    .doc-block-notice__alert--error {
      color: var(--danger);
      background: rgba(var(--danger-rgb), 0.18);
      border-color: rgba(var(--danger-rgb), 0.4); }
      .doc-block-notice__alert--error::before {
        content: '✕';
        margin-right: 8px;
        font-weight: 700; }
    .doc-block-notice__alert--success {
      color: var(--ok);
      background: var(--ok-soft);
      border-color: var(--ok-border); }
      .doc-block-notice__alert--success::before {
        content: '✓';
        margin-right: 8px;
        font-weight: 700; }
  .doc-block-notice--review {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-sm);
    background: var(--danger-soft); }
  .doc-block-notice__review-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--danger);
    margin-bottom: 4px; }
  .doc-block-notice__review-text {
    font-size: 13px;
    color: var(--text);
    white-space: pre-wrap; }

.doc-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--bg-elev);
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  width: fit-content;
  flex-wrap: wrap; }

.doc-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.12s, color 0.12s, box-shadow 0.12s, border-color 0.12s; }
  .doc-tab:hover {
    color: var(--text);
    background: var(--btn-ghost-hover-bg);
    border-color: var(--btn-ghost-hover-border); }
  .doc-tab--active {
    color: var(--text);
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow); }

.doc-tab-panel {
  display: none; }
  .doc-tab-panel--active {
    display: block; }
  .doc-tab-panel[hidden] {
    display: none !important; }
  .doc-tab-panel__empty {
    margin: 0;
    max-width: 36em;
    font-size: 13px;
    color: var(--muted);
    text-align: left; }

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px dashed var(--chrome);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  margin-bottom: 12px; }

.file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-text);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 10px;
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  flex-shrink: 0; }

.file-meta {
  flex: 1;
  min-width: 0; }
  .file-meta strong {
    display: block;
    font-size: 13px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .file-meta span {
    font-size: 11.5px;
    color: var(--muted); }

.doc-attempt-item {
  border-bottom: 1px solid var(--line-soft); }
  .doc-attempt-item:last-child {
    border-bottom: none; }
  .doc-attempt-item--latest {
    margin: 4px 0;
    padding: 0 8px;
    border: 2px solid var(--muted);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
  .doc-attempt-item--latest-ok {
    margin: 4px 0;
    padding: 0 8px;
    border: 2px solid var(--ok);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
  .doc-attempt-item--latest-fail {
    margin: 4px 0;
    padding: 0 8px;
    border: 2px solid var(--danger);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }

.doc-attempt {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, auto);
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 12.5px; }
  .doc-attempt__version {
    font-weight: 600;
    color: var(--text); }
  .doc-attempt__meta {
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
    .doc-attempt__meta a {
      color: var(--blue-text); }
      .doc-attempt__meta a:hover {
        text-decoration: underline; }
  .doc-attempt__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0; }
    .doc-attempt__actions .verdict {
      flex-shrink: 0;
      line-height: 1.25;
      white-space: nowrap;
      text-align: right; }
  .doc-attempt__verdicts {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-end;
    max-width: 180px;
    min-width: 0;
    overflow: hidden; }
  .doc-attempt__feedback-btn {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid var(--btn-ghost-border);
    background: var(--btn-ghost-bg);
    box-shadow: var(--btn-shadow);
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    cursor: pointer; }
    .doc-attempt__feedback-btn:hover {
      border-color: var(--btn-ghost-hover-border);
      background: var(--btn-ghost-hover-bg); }
    .doc-attempt__feedback-btn--open {
      background: var(--blue-soft);
      border-color: rgba(var(--cyan-rgb), 0.35);
      color: var(--blue-text); }
  .doc-attempt__feedback {
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px; }
    .doc-attempt__feedback[hidden] {
      display: none !important; }

.doc-feedback {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--panel); }
  .doc-feedback--latest {
    border-width: 2px;
    border-color: var(--muted); }
  .doc-feedback--latest-ok {
    border-width: 2px;
    border-color: var(--ok); }
  .doc-feedback--latest-fail {
    border-width: 2px;
    border-color: var(--danger); }
  .doc-feedback--ai {
    border-left: 3px solid var(--brand);
    background: linear-gradient(90deg, var(--blue-soft) 0%, var(--panel) 28%); }
  .doc-feedback--manager {
    border-left: 3px solid var(--cyan);
    background: linear-gradient(90deg, var(--cyan-soft) 0%, var(--panel) 28%); }
  .doc-feedback--mentor {
    border-left: 3px solid var(--teal);
    background: linear-gradient(90deg, var(--teal-soft) 0%, var(--panel) 28%); }
  .doc-feedback__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px; }
  .doc-feedback__source {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted); }
  .doc-feedback__date {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted-2); }
  .doc-feedback__body {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    white-space: pre-wrap; }
  .doc-feedback__next-step {
    margin: 8px 0 0;
    font-size: 12px;
    font-style: italic;
    color: var(--muted);
    white-space: normal; }
  .doc-feedback__empty {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-style: italic; }

.doc-versions-scroll {
  display: flex;
  flex-direction: column;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  flex-shrink: 0;
  padding-right: 4px; }
  .doc-versions-scroll .doc-attempt-item:last-child {
    border-bottom: 1px solid var(--line-soft); }

.verdict {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap; }
  .verdict--pass {
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid var(--ok-border); }
    .verdict--pass::before {
      content: '✓';
      margin-right: 4px;
      font-weight: 700; }
  .verdict--fail {
    color: var(--danger);
    background: rgba(var(--danger-rgb), 0.18);
    border: 1px solid rgba(var(--danger-rgb), 0.4); }
    .verdict--fail::before {
      content: '✕';
      margin-right: 4px;
      font-weight: 700; }
  .verdict--disputed {
    background: var(--warn-soft);
    color: var(--warn);
    border: 1px solid rgba(var(--warn-rgb), 0.35); }
  .verdict--pending {
    background: var(--cyan-soft);
    color: var(--cyan);
    border: 1px solid rgba(var(--cyan-rgb), 0.3); }

.card-soft {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev); }
  .card-soft__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px; }
  .card-soft__text {
    font-size: 12.5px;
    color: var(--muted);
    word-break: break-all; }
    .card-soft__text a {
      color: var(--blue-text); }
  .card-soft__hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted-2); }

.doc-preview {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: start; }
  .doc-preview__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 344px;
    max-height: 344px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    flex-shrink: 0;
    padding-right: 2px; }
  .doc-preview__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
    flex: 0 0 auto;
    min-height: 64px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font: inherit; }
    .doc-preview__item:hover {
      border-color: rgba(var(--brand-rgb), 0.35); }
    .doc-preview__item--latest {
      border-width: 2px;
      border-color: var(--muted); }
    .doc-preview__item--latest-ok {
      border-width: 2px;
      border-color: var(--ok); }
    .doc-preview__item--latest-fail {
      border-width: 2px;
      border-color: var(--danger); }
    .doc-preview__item--active {
      border-color: rgba(var(--brand-rgb), 0.55);
      background: var(--blue-soft);
      box-shadow: 0 0 0 1px rgba(var(--brand-rgb), 0.2); }
    .doc-preview__item--latest.doc-preview__item--active, .doc-preview__item--latest-ok.doc-preview__item--active, .doc-preview__item--latest-fail.doc-preview__item--active {
      border-width: 2px; }
  .doc-preview__item-version {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-text); }
  .doc-preview__item-body {
    min-width: 0; }
    .doc-preview__item-body strong {
      display: block;
      font-size: 12px;
      color: var(--text);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
  .doc-preview__item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 6px;
    margin-top: 4px;
    min-width: 0;
    font-size: 11px;
    color: var(--muted); }
    .doc-preview__item-meta .verdict {
      flex-shrink: 0;
      font-size: 10px;
      line-height: 1.25;
      white-space: normal;
      text-align: right;
      max-width: 100%; }
  .doc-preview__feedback {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft); }
  .doc-preview__feedback-panel .doc-attempt__feedback {
    padding-left: 0; }
  .doc-preview__feedback-panel[hidden] {
    display: none !important; }
  .doc-preview__viewer {
    min-width: 0; }
  .doc-preview__alt {
    min-width: 0; }
  .doc-preview__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px; }
  .doc-preview__toolbar-label {
    font-size: 12px;
    color: var(--muted); }
  .doc-preview__panel {
    display: flex;
    flex-direction: column; }
  .doc-preview__frame {
    width: 100%;
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
  .doc-preview__hint {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted); }

.doc-upload-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 100%; }
  .doc-upload-form__fields {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px; }
  .doc-upload-form__sources {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0; }
  .doc-upload-form__legend {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 10px;
    padding: 0; }
  .doc-upload-form__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; }
  .doc-upload-form__panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 42px; }
    .doc-upload-form__panel[hidden] {
      display: none; }
    .doc-upload-form__panel > .doc-file-picker,
    .doc-upload-form__panel > .doc-upload-form__url-input {
      min-height: 42px; }
  .doc-upload-form__url-input {
    width: 100%;
    font-size: 14px;
    line-height: 1.3; }
    .doc-upload-form__url-input:focus {
      outline: none;
      border-color: rgba(var(--brand-rgb), 0.55);
      box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18); }
  .doc-upload-form__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0; }
  .doc-upload-form__error {
    font-size: 13px;
    color: var(--danger);
    display: flex;
    align-items: baseline;
    gap: 8px; }
    .doc-upload-form__error::before {
      content: '✕';
      font-weight: 700; }
    .doc-upload-form__error[hidden], .doc-upload-form__error:empty {
      display: none !important; }

.doc-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  box-shadow: var(--btn-shadow);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s; }
  .doc-radio:hover {
    border-color: var(--btn-ghost-hover-border);
    background: var(--btn-ghost-hover-bg); }
  .doc-radio:has(.doc-radio__input:checked) {
    border-color: rgba(var(--brand-rgb), 0.55);
    background: var(--blue-soft); }
  .doc-radio__input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand);
    cursor: pointer;
    flex-shrink: 0; }
  .doc-radio__text {
    line-height: 1.3; }
  .doc-radio--button {
    position: relative;
    min-width: 120px;
    justify-content: center;
    padding: 10px 16px;
    font-weight: 600; }
    .doc-radio--button .doc-radio__input {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
      margin: 0;
      pointer-events: none; }
  .doc-radio--ok:has(.doc-radio__input:checked) {
    border-color: rgba(var(--ok-base-rgb), 0.55);
    background: rgba(var(--ok-base-rgb), 0.12);
    color: var(--ok-base-light); }
  .doc-radio--gap:has(.doc-radio__input:checked) {
    border-color: rgba(var(--danger-rgb), 0.55);
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger-hover); }

.doc-file-picker {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-height: 42px; }
  .doc-file-picker__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0; }
  .doc-file-picker__btn {
    flex-shrink: 0;
    cursor: pointer; }
    .doc-file-picker__btn[aria-disabled='true'], .doc-file-picker__btn.is-disabled {
      pointer-events: none;
      opacity: 0.6;
      cursor: default; }
  .doc-file-picker__name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
    .doc-file-picker__name--selected {
      color: var(--text); }

.kpi-board {
  display: grid;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 16px; }
  .kpi-board:has(.kpi-row--triple) {
    grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-board:has(> .kpi-row--double):not(:has(.kpi-row--triple)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-board:not(:has(.kpi-row--triple)):not(:has(> .kpi-row--double)) {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.kpi-row {
  display: contents; }
  .kpi-row--triple, .kpi-row--double {
    display: contents; }

.kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  height: 100%;
  min-height: 118px;
  background: var(--panel);
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  padding: 24px;
  box-sizing: border-box;
  text-align: center; }
  .kpi-board--student .kpi {
    justify-content: flex-start;
    gap: 12px;
    padding: 24px;
    min-height: 0; }
  .kpi__label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1.3;
    min-height: calc(1.3em * 1);
    width: 100%;
    min-width: 0;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .kpi__value {
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.3;
    min-height: 3.25rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    overflow: hidden; }
    .kpi-board--student .kpi__value {
      min-height: 0;
      flex: 0 0 auto;
      align-items: center; }
    .kpi__value--medium {
      font-size: 17px;
      align-items: center;
      justify-content: center; }
    .kpi__value--small {
      font-size: 16px;
      align-items: center;
      justify-content: center; }
  .kpi:not(:has(.kpi__detail)) .kpi__value {
    align-items: flex-end; }
    .kpi-board--student .kpi:not(:has(.kpi__detail)) .kpi__value {
      align-items: center; }
    .kpi:not(:has(.kpi__detail)) .kpi__value--medium, .kpi:not(:has(.kpi__detail)) .kpi__value--small {
      align-items: flex-end; }
      .kpi-board--student .kpi:not(:has(.kpi__detail)) .kpi__value--medium, .kpi-board--student .kpi:not(:has(.kpi__detail)) .kpi__value--small {
        align-items: center; }
  .kpi__detail {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    word-break: break-word;
    line-height: 1.3;
    min-height: 2.875rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden; }
    .kpi-board--student .kpi__detail {
      min-height: 0;
      flex: 0 0 auto;
      align-items: center; }
  .kpi-board--student .kpi__line {
    flex: 1 0 auto;
    width: 100%;
    min-height: 1.3em;
    font-size: 11px;
    line-height: 1.3; }
  .kpi--ok {
    border-color: var(--ok-border);
    background: linear-gradient(180deg, rgba(var(--ok-base-rgb), 0.08), var(--panel)); }
    .kpi--ok .kpi__value {
      color: var(--ok); }
  .kpi--work {
    border-color: rgba(var(--cyan-rgb), 0.35);
    background: linear-gradient(180deg, rgba(var(--cyan-rgb), 0.1), var(--panel)); }
    .kpi--work .kpi__value {
      color: var(--cyan); }
  .kpi--warn {
    border-color: rgba(var(--warn-rgb), 0.35);
    background: linear-gradient(180deg, rgba(var(--warn-rgb), 0.08), var(--panel)); }
    .kpi--warn .kpi__value {
      color: var(--warn); }
  .kpi--gap {
    border-color: var(--danger-border);
    background: linear-gradient(180deg, rgba(var(--danger-rgb), 0.1), var(--panel)); }
    .kpi--gap .kpi__value {
      color: var(--danger); }
  .kpi--link {
    color: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease; }
    .kpi--link:hover {
      border-color: rgba(var(--cyan-rgb), 0.45);
      transform: translateY(-1px); }
    .kpi--link:focus-visible {
      outline: 2px solid rgba(var(--cyan-rgb), 0.55);
      outline-offset: 2px; }

.stage-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px; }
  .stage-track__step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted); }
  .stage-track__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    flex: 0 0 8px; }
  .stage-track__step--done {
    color: var(--ok);
    border-color: var(--ok-border);
    background: var(--ok-soft); }
    .stage-track__step--done .stage-track__dot {
      background: var(--ok); }
  .stage-track__step--current {
    color: var(--warn);
    border-color: rgba(var(--warn-rgb), 0.35);
    background: var(--warn-soft); }
    .stage-track__step--current .stage-track__dot {
      background: var(--warn); }
  .stage-track__step--employment.stage-track__step--current {
    color: var(--ok);
    border-color: var(--ok-border);
    background: var(--ok-soft); }
    .stage-track__step--employment.stage-track__step--current .stage-track__dot {
      background: var(--ok); }
  .stage-track__step--upcoming {
    color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap; }
  .pill[hidden] {
    display: none; }
  .pill--done, .pill--ok {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid var(--ok-border); }
  .pill--work {
    background: var(--warn-soft);
    color: var(--warn);
    border: 1px solid rgba(var(--warn-rgb), 0.35); }
  .pill--pending {
    background: var(--cyan-soft);
    color: var(--cyan);
    border: 1px solid rgba(var(--cyan-rgb), 0.3); }
  .pill--neutral {
    background: var(--neutral);
    color: var(--neutral-text);
    border: 1px solid var(--neutral-border); }
  .pill--gap {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border); }
  .pill--compact {
    font-size: 11px;
    padding: 2px 8px; }
  .pill--tiny {
    font-size: 10px;
    padding: 2px 6px; }

@keyframes status-live-dot-blink {
  0%,
  88%,
  100% {
    transform: scale(1);
    opacity: 1; }
  94% {
    transform: scale(2);
    opacity: 0.75; } }

.status-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px; }
  .status-live-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warn);
    flex-shrink: 0;
    transform-origin: center;
    animation: status-live-dot-blink 5s ease-in-out infinite; }
  .status-live-dot--inline {
    vertical-align: baseline; }

.pill.status-live-dot::before {
  background: currentColor; }

.is-latest-result,
.is-current-result {
  border-width: 2px !important;
  border-style: solid !important;
  border-color: var(--muted) !important; }

.is-latest-result[data-result='ok'],
.is-latest-result[data-result='pass'],
.is-current-result[data-result='ok'],
.is-current-result[data-result='pass'] {
  border-color: var(--ok) !important; }

.is-latest-result[data-result='gap'],
.is-latest-result[data-result='fail'],
.is-current-result[data-result='gap'],
.is-current-result[data-result='fail'] {
  border-color: var(--danger) !important; }

.stat-box.status-live-dot::before {
  content: none;
  display: none; }

@media (prefers-reduced-motion: reduce) {
  .status-live-dot::before,
  .stat-box.status-live-dot .stat-box__value::before {
    animation: none; } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; }
  @media (max-width: 800px) {
    .grid-2 {
      grid-template-columns: 1fr; } }
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px; }

.stat-box {
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  border: 1px solid; }
  .stat-box__value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em; }
    .stat-box__value--hero {
      font-size: 26px; }
  .stat-box__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 2px; }
  .stat-box--ok {
    background: var(--ok-soft);
    border-color: var(--ok-border);
    color: var(--ok); }
  .stat-box--gap {
    background: var(--danger-soft);
    border-color: var(--danger-border);
    color: var(--danger); }
  .stat-box--work {
    background: var(--warn-soft);
    border-color: rgba(var(--warn-rgb), 0.35);
    color: var(--warn); }
  .stat-box--neutral {
    background: var(--neutral);
    border-color: var(--neutral-border);
    color: var(--neutral-text); }
  .stat-box.status-live-dot .stat-box__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px; }
    .stat-box.status-live-dot .stat-box__value::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
      transform-origin: center;
      animation: status-live-dot-blink 5s ease-in-out infinite; }

.ai-report {
  margin-top: 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid rgba(var(--gold-rgb), 0.25); }
  .ai-report__title {
    font-size: 12px;
    margin-bottom: 6px;
    color: var(--gold);
    font-weight: 600; }
  .ai-report__list {
    padding-left: 16px;
    font-size: 12.5px;
    color: var(--muted); }
    .ai-report__list li {
      margin-bottom: 3px; }
  .ai-report__comment {
    list-style: none;
    margin-left: -16px;
    white-space: normal; }

.ai-check-block__actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s, opacity 0.12s;
  cursor: pointer;
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  box-shadow: var(--btn-shadow);
  color: var(--text); }
  .btn:hover {
    border-color: var(--btn-ghost-hover-border);
    background: var(--btn-ghost-hover-bg); }
  .btn:active:not(:disabled):not([disabled]) {
    box-shadow: var(--btn-shadow-active); }
  .btn:focus-visible {
    outline: 2px solid rgba(var(--brand-rgb), 0.45);
    outline-offset: 2px; }
  .btn--ghost {
    color: var(--text); }
  .btn--small {
    box-sizing: border-box;
    padding: 6px 11px;
    font-size: 13px;
    line-height: 1.2; }
  .btn--primary {
    background: var(--brand);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.12));
    border-color: var(--btn-primary-border);
    color: #fff;
    box-shadow: var(--btn-primary-shadow); }
    .btn--primary:hover {
      background: var(--brand-hover);
      background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.16));
      border-color: var(--btn-primary-border);
      color: #fff;
      box-shadow: var(--btn-primary-shadow); }
    .btn--primary:active:not(:disabled):not([disabled]) {
      box-shadow: var(--btn-shadow-active); }
  .btn--danger {
    background: var(--danger);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12));
    border-color: var(--btn-danger-border);
    color: #fff;
    box-shadow: var(--btn-danger-shadow); }
    .btn--danger:hover {
      background: var(--danger-hover);
      background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.16));
      color: #fff;
      border-color: var(--btn-danger-border);
      box-shadow: var(--btn-danger-shadow); }
    .btn--danger:active:not(:disabled):not([disabled]) {
      box-shadow: var(--btn-shadow-active); }
  .btn:disabled, .btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none; }
  .btn--primary:disabled, .btn--primary[disabled] {
    background: var(--brand);
    color: #fff; }

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text); }

.input:focus,
.form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']):focus,
.form-group textarea:focus,
.form-group select:focus,
.auth-form input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']):focus,
.auth-form textarea:focus,
.auth-form select:focus,
.doc-upload-form__url-input:focus,
.chat__input:focus,
.non-standard-form textarea:focus,
.non-standard-form__date-input:focus,
.call-calendar__date-input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18); }

.form-group {
  margin-bottom: 16px; }
  .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted); }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px; }

.form-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500; }

.messages {
  margin-bottom: 16px; }

.message {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px; }
  .message--error {
    color: var(--danger);
    background: rgba(var(--danger-rgb), 0.18);
    border: 1px solid rgba(var(--danger-rgb), 0.4); }
    .message--error::before {
      content: '✕';
      margin-right: 8px;
      font-weight: 700; }
    .message--error[hidden], .message--error:empty {
      display: none !important; }
  .message--success {
    color: var(--ok);
    background: var(--ok-soft);
    border: 1px solid var(--ok-border); }
    .message--success::before {
      content: '✓';
      margin-right: 8px;
      font-weight: 700; }
  .message--info {
    background: var(--blue-soft);
    border: 1px solid rgba(var(--brand-rgb), 0.3); }

.auth-form {
  background: var(--panel);
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  padding: 24px;
  margin: 40px auto 0; }
  .auth-form__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em; }
  .auth-form .message {
    text-align: center; }

.page-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column; }
  .page-login__toolbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line); }
  .page-login__app-title {
    font-size: 14px;
    font-weight: 700; }
  .page-login__toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px; }
    .page-login__toolbar-actions .theme-picker {
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-end;
      box-sizing: border-box; }
  .page-login__main {
    flex: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px; }
  .page-login__brand {
    display: none; }
  .page-login__label--stackbridge {
    display: none; }
  .page-login__label--default {
    display: inline; }
  [data-theme='stackbridge'] .page-login {
    background-color: #f0f2f5;
    color: #252525; }
    [data-theme='stackbridge'] .page-login__toolbar {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      z-index: 2;
      background: transparent;
      border-bottom: none;
      justify-content: flex-end; }
    [data-theme='stackbridge'] .page-login__app-title {
      display: none; }
    [data-theme='stackbridge'] .page-login__main {
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: none;
      width: 100%;
      margin: 0;
      padding: 72px 24px 24px; }
    [data-theme='stackbridge'] .page-login__card.auth-form {
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 100%;
      max-width: 400px;
      margin: 0;
      padding: 32px;
      background: #ffffff;
      border: 1px solid rgba(32, 79, 158, 0.22);
      border-radius: 10px;
      box-shadow: 0 1px 3px rgba(32, 79, 158, 0.08); }
    [data-theme='stackbridge'] .page-login__brand {
      display: flex;
      flex-direction: column;
      align-items: center; }
    [data-theme='stackbridge'] .page-login__logo {
      display: block;
      width: auto;
      max-width: 220px;
      height: 48px;
      object-fit: contain; }
    [data-theme='stackbridge'] .page-login__title {
      display: none; }
    [data-theme='stackbridge'] .page-login__label--default {
      display: none; }
    [data-theme='stackbridge'] .page-login__label--stackbridge {
      display: inline; }
    [data-theme='stackbridge'] .page-login__form {
      display: flex;
      flex-direction: column;
      gap: 16px; }
    [data-theme='stackbridge'] .page-login .form-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin: 0; }
      [data-theme='stackbridge'] .page-login .form-group label {
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        color: #4a5565; }
      [data-theme='stackbridge'] .page-login .form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']) {
        width: 100%;
        padding: 8px 12px;
        font-size: 14px;
        color: #252525;
        background-color: #f0f2f5;
        border: 1px solid rgba(32, 79, 158, 0.22);
        border-radius: 6px;
        box-shadow: none; }
        [data-theme='stackbridge'] .page-login .form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']):focus {
          outline: none;
          border-color: #284f9e;
          box-shadow: 0 0 0 3px rgba(40, 79, 158, 0.15); }
    [data-theme='stackbridge'] .page-login__submit.btn {
      width: 100%;
      margin-top: 0;
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      color: #ffffff;
      background-color: #284f9e;
      border-color: #284f9e;
      border-radius: 8px;
      box-shadow: none; }
      [data-theme='stackbridge'] .page-login__submit.btn:hover:not(:disabled):not([disabled]) {
        background-color: #1a4080;
        border-color: #1a4080;
        opacity: 1; }

.review-queue {
  display: flex;
  flex-direction: column;
  gap: 8px; }
  .review-queue[data-dashboard-notification-inbox]:has(> .doc-tab-panel__empty:only-child) {
    flex: 1 0 auto;
    justify-content: center;
    align-items: center; }
  .review-queue__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: var(--panel-border-width) solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    box-shadow: var(--panel-shadow); }
    .review-queue__item--unread {
      border-color: rgba(var(--warn-rgb), 0.35);
      background: var(--warn-soft); }
    .review-queue__item--latest {
      border-width: 2px;
      border-color: var(--muted); }
    .review-queue__item--latest-ok {
      border-width: 2px;
      border-color: var(--ok); }
    .review-queue__item--latest-fail {
      border-width: 2px;
      border-color: var(--danger); }
    .review-queue__item--active {
      border-color: var(--brand);
      background: rgba(var(--brand-rgb), 0.04); }
    .review-queue__item--latest.review-queue__item--active, .review-queue__item--latest-ok.review-queue__item--active, .review-queue__item--latest-fail.review-queue__item--active {
      border-width: 2px; }
  .review-queue__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px; }
  .review-queue__student {
    display: block;
    margin: 0;
    font-size: 14px;
    color: var(--text); }
  .review-queue__meta, .review-queue__file {
    display: block;
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45; }
  .review-queue__file {
    overflow-wrap: anywhere;
    word-break: break-word; }
  .review-queue__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; }

.review-history {
  display: flex;
  flex-direction: column;
  gap: 12px; }

.review-history-group {
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden; }
  .review-history-group__head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    list-style: none; }
    .review-history-group__head::-webkit-details-marker {
      display: none; }
    .review-history-group__head:hover {
      background: var(--panel-hover); }
      .review-history-group__head:hover .review-history-group__toggle {
        border-color: var(--cyan);
        color: var(--cyan); }
  .review-history-group__toggle {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-2);
    color: var(--muted);
    font-size: 11px;
    line-height: 1;
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
    .review-history-group__toggle::before {
      content: '▸'; }
  .review-history-group[open] .review-history-group__toggle {
    transform: rotate(90deg);
    border-color: var(--cyan);
    color: var(--cyan); }
  .review-history-group__student {
    font-size: 15px;
    color: var(--text); }
  .review-history-group__meta {
    font-size: 12px;
    color: var(--muted); }
  .review-history-group__count {
    font-size: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 2px 10px; }
  .review-history-group__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 14px 14px; }

.review-history-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 236px;
  box-sizing: border-box;
  padding: 14px;
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--panel-shadow);
  overflow: hidden; }
  .review-history-card--latest {
    border-width: 2px;
    border-color: var(--muted); }
  .review-history-card--latest-ok {
    border-width: 2px;
    border-color: var(--ok); }
  .review-history-card--latest-fail {
    border-width: 2px;
    border-color: var(--danger); }
  .review-history-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0; }
    .review-history-card__header > .btn {
      flex-shrink: 0; }
  .review-history-card__identity {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px; }
  .review-history-card__student {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text); }
  .review-history-card__meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    color: var(--muted); }
    .review-history-card__meta > span {
      flex-shrink: 0; }
    .review-history-card__meta > span:last-child {
      min-width: 0;
      flex-shrink: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .review-history-card__meta > span + span::before {
      content: '·';
      margin: 0 8px;
      color: var(--muted-2); }
    .review-history-card__meta > .review-history-card__badge + span::before {
      content: '';
      margin: 0 0 0 8px; }
  .review-history-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    font-size: 11px;
    font-weight: 600; }
  .review-history-card__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
    min-height: 0; }
  .review-history-card__panel {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft);
    background: var(--panel);
    overflow: hidden; }
    .review-history-card__panel--ai {
      border-left: 3px solid var(--brand);
      background: linear-gradient(90deg, var(--blue-soft) 0%, var(--panel) 34%); }
    .review-history-card__panel--manager {
      border-left: 3px solid var(--cyan);
      background: linear-gradient(90deg, var(--cyan-soft) 0%, var(--panel) 34%); }
  .review-history-card__panel-head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0; }
  .review-history-card__panel-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted); }
  .review-history-card__comment {
    margin: 0;
    flex: 1;
    min-height: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow-wrap: anywhere; }
    .review-history-card__comment--empty {
      color: var(--muted);
      font-style: italic;
      -webkit-line-clamp: 1; }
  @media (max-width: 720px) {
    .review-history-card {
      height: auto;
      min-height: 320px; }
      .review-history-card__header {
        flex-direction: column;
        align-items: stretch; }
      .review-history-card__body {
        grid-template-columns: 1fr; }
      .review-history-card__panel {
        min-height: 112px; }
      .review-history-card__comment {
        -webkit-line-clamp: 3; } }
.my-developers {
  display: flex;
  flex-direction: column;
  gap: 8px; }
  .my-developers__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
  .my-developers__main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow: hidden; }
  .my-developers__name {
    flex-shrink: 0;
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text); }
  .my-developers__meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--muted); }
  .my-developers__specialty {
    flex-shrink: 0;
    max-width: 28%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 600;
    color: var(--text); }
  .my-developers__stage {
    flex-shrink: 0; }

.my-developers-table-wrap {
  overflow-x: auto;
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow); }

.integration-incidents--full {
  min-width: 0;
  max-width: 100%; }
  .integration-incidents--full .block__body {
    min-width: 0; }
  .integration-incidents--full .my-developers-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  .integration-incidents--full .my-developers-table {
    width: max-content;
    min-width: 100%; }
  .integration-incidents--full .my-developers-table th,
  .integration-incidents--full .my-developers-table td {
    white-space: nowrap; }
  .integration-incidents--full .my-developers-table td:last-child {
    text-align: left;
    max-width: none; }

.my-developers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  background: var(--panel); }
  .my-developers-table th,
  .my-developers-table td {
    text-align: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle; }
  .my-developers-table td:first-child {
    text-align: left; }
  .my-developers-table th {
    background: var(--panel-2);
    color: var(--muted);
    font-weight: 600;
    font-size: 11px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap; }
  .my-developers-table tr:hover td {
    background: rgba(255, 255, 255, 0.02); }
  .my-developers-table__row--unread td {
    background: rgba(var(--brand-rgb), 0.05); }
  .my-developers-table__person {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 8px;
    min-width: 0;
    max-width: 100%; }
  .my-developers-table__name {
    color: var(--text);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .my-developers-table__meta {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .my-developers-table .my-developers__specialty {
    display: inline-flex;
    max-width: 160px; }

.management-section {
  scroll-margin-top: 88px; }

.management-widget-board {
  display: flex;
  flex-direction: column;
  gap: 12px; }

.management-chat-sla .block__body > .my-developers-table-wrap,
.management-chat-sla .block__body > .doc-tab-panel__empty,
.management-stage-velocity .block__body > .my-developers-table-wrap,
.management-stage-velocity .block__body > .doc-tab-panel__empty,
.management-problems .block__body > .my-developers-table-wrap,
.management-problems .block__body > .doc-tab-panel__empty {
  margin-top: 16px; }

.management-stage-bars--spaced {
  margin-top: 16px; }

.management-widget-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  gap: 12px; }
  .management-widget-row > .kpi,
  .management-widget-row > .management-widget {
    min-width: 0;
    max-width: none; }
  .management-widget-row > .kpi {
    align-items: center;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.22); }
    .management-widget-row > .kpi .kpi__label,
    .management-widget-row > .kpi .kpi__value,
    .management-widget-row > .kpi .kpi__detail {
      width: 100%;
      text-align: center; }
    .management-widget-row > .kpi .kpi__value {
      display: flex;
      align-items: center;
      justify-content: center; }
    [data-theme='light'] .management-widget-row > .kpi {
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 8px rgba(15, 23, 42, 0.08); }
  .management-widget-row--double {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .management-widget-row--filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 4px;
    min-width: 0;
    max-width: 100%; }
    .management-widget-row--filters > .management-widget {
      flex: 1 1 200px;
      min-width: 0;
      max-width: 100%; }

.management-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.22); }
  [data-theme='light'] .management-widget {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 8px rgba(15, 23, 42, 0.08); }
  .management-widget__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted); }
  .management-widget__control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--btn-ghost-border);
    border-radius: var(--radius-sm);
    background: var(--btn-ghost-bg);
    color: var(--text);
    font-size: 14px;
    box-shadow: var(--btn-shadow); }
    .management-widget__control:focus {
      outline: 2px solid rgba(var(--brand-rgb), 0.45);
      outline-offset: 2px; }
  .management-widget select.management-widget__control {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .management-widget__control-slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    max-width: 100%; }
  .management-widget__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; }
  .management-widget--actions {
    justify-content: flex-start; }

.management-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%; }
  .management-select__summary {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    list-style: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
    .management-select__summary::-webkit-details-marker {
      display: none; }
    .management-select__summary::marker {
      content: ''; }
  .management-select__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    box-shadow: var(--panel-shadow); }
  .management-select__option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    line-height: 1.35; }
    .management-select__option input {
      flex: 0 0 auto;
      margin-top: 3px; }
    .management-select__option span {
      min-width: 0;
      flex: 1 1 auto;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal; }
    .management-select__option:hover, .management-select__option:has(input:checked) {
      background: var(--panel-2); }

.block__body--management-developers {
  padding-top: 12px; }

.management-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px; }

.management-overview-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow); }
  .management-overview-panel__head {
    display: flex;
    flex-direction: column;
    gap: 4px; }
    .management-overview-panel__head--actions {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px; }
      .management-overview-panel__head--actions > div:first-child {
        flex: 1 1 12rem;
        min-width: 0; }
      .management-overview-panel__head--actions .block__head-actions {
        flex: 0 0 auto; }
  .management-overview-panel__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .management-overview-panel__subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .management-overview-panel--spaced {
    margin-top: 16px; }

.management-stage-bars {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.management-stage-bar {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr auto;
  align-items: center;
  gap: 10px; }
  .management-stage-bar__label {
    font-size: 13px;
    color: var(--text); }
  .management-stage-bar__track {
    height: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px; }
    [data-theme='light'] .management-stage-bar__track {
      background: rgba(15, 23, 42, 0.08); }
  .management-stage-bar__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.85), rgba(var(--brand-rgb), 0.95));
    border-radius: inherit; }
  .management-stage-bar__value {
    min-width: 24px;
    font-size: 13px;
    font-weight: 600;
    text-align: right; }

.management-developers-group {
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 4px rgba(0, 0, 0, 0.16); }
  [data-theme='light'] .management-developers-group {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 4px rgba(15, 23, 42, 0.06); }
  .management-developers-group:last-child {
    margin-bottom: 0; }
  .management-developers-group__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 650;
    color: var(--text); }
  .management-developers-group__title-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0; }
  .management-developers-group__actions {
    margin-top: 10px; }

.management-developers-more__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted); }

.management-developers-filter-note {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius); }
  .management-developers-filter-note a {
    margin-left: 6px;
    white-space: nowrap; }

.message-inbox {
  display: flex;
  flex-direction: column;
  gap: 8px; }
  .message-inbox--preview {
    flex: 1 0 auto; }
  .message-inbox__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    text-decoration: none;
    color: inherit; }
    .message-inbox__item--unread {
      border-color: rgba(var(--danger-rgb), 0.35);
      background: var(--danger-soft); }
  .message-inbox__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px; }
  .message-inbox__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px; }
  .message-inbox__student {
    font-size: 14px;
    color: var(--text); }
  .message-inbox__time {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted); }
  .message-inbox__sender {
    font-size: 13px;
    color: var(--muted); }
  .message-inbox__preview {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .message-inbox__badge {
    flex-shrink: 0;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
    font-size: 9px;
    font-weight: 600;
    line-height: 1; }

.staff-messages-block__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px; }

.staff-messages-block__head-title {
  grid-column: 1;
  justify-self: start;
  min-width: 0; }

.staff-messages-block__chat-btn {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box; }

.staff-messages-block__head-status, .staff-messages-block__head > .pill {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  padding: 6px 11px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  box-sizing: border-box; }

.doc-review__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 16px;
  align-items: start; }
  .doc-review__layout--mentor {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doc-review__layout--mentor .doc-review__panel {
      grid-column: 1 / -1; }

.doc-review__viewer {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  overflow: hidden; }

.doc-review__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line); }

.doc-review__filename {
  font-size: 13px;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.doc-review__frame {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #fff; }

.doc-review__fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  min-height: 520px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted); }
  .doc-review__fallback p {
    margin: 0; }

.doc-review__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel); }

.doc-review__ai-feedback {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line); }

.doc-review__ai-status {
  margin: 0 0 8px; }

.doc-review__result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px; }

.doc-review__result-text {
  font-size: 13px;
  color: var(--text);
  white-space: pre-wrap;
  margin: 0 0 10px; }
  .doc-review__result-text--muted {
    color: var(--muted-2); }

.doc-review__result-meta {
  font-size: 12px;
  color: var(--muted-2);
  margin: 0; }

.doc-review-form {
  display: flex;
  flex-direction: column;
  gap: 12px; }
  .doc-review-form__field {
    font-size: 13px;
    font-weight: 600;
    color: var(--text); }
  .doc-review-form__comment {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    font-size: 13px;
    line-height: 1.45;
    font-family: inherit; }
  .doc-review-form__actions {
    display: flex;
    justify-content: flex-end; }

.block--soft-legend .soft-legend-progress {
  margin-bottom: 20px; }
  .block--soft-legend .soft-legend-progress__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px; }
  .block--soft-legend .soft-legend-progress__metrics {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%; }
  .block--soft-legend .soft-legend-progress__label {
    font-size: 13px;
    color: var(--muted); }
  .block--soft-legend .soft-legend-progress__value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text); }
  .block--soft-legend .soft-legend-progress__unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted); }
  .block--soft-legend .soft-legend-progress__bar {
    height: 8px;
    border-radius: 999px;
    background: var(--panel-2);
    border: 1px solid var(--line-soft);
    overflow: hidden; }
  .block--soft-legend .soft-legend-progress__fill {
    display: block;
    height: 100%;
    width: var(--soft-legend-progress, 0%);
    background: linear-gradient(90deg, var(--brand) 0%, var(--cyan) 100%);
    border-radius: 999px;
    transition: width 0.3s ease; }
    .soft-legend-progress__bar--ok .block--soft-legend .soft-legend-progress__fill {
      background: linear-gradient(90deg, var(--ok) 0%, var(--ok-base-light) 100%); }
    .soft-legend-progress__bar--work .block--soft-legend .soft-legend-progress__fill {
      background: linear-gradient(90deg, var(--warn) 0%, var(--warn-light) 100%); }
    .soft-legend-progress__bar--gap .block--soft-legend .soft-legend-progress__fill {
      background: linear-gradient(90deg, var(--danger) 0%, var(--danger-hover) 100%); }
  .block--soft-legend .soft-legend-progress__meta {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted-2); }

.block--soft-legend .soft-legend-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px; }
  .block--soft-legend .soft-legend-metric__label {
    font-size: 12px;
    color: var(--muted); }
  .block--soft-legend .soft-legend-metric__level {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted); }

.block--soft-legend .soft-legend-feedback {
  margin-bottom: 16px; }
  .block--soft-legend .soft-legend-feedback__score {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted); }

.block--soft-legend .soft-legend-attempts {
  margin-bottom: 16px; }
  .block--soft-legend .soft-legend-attempts__title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text); }
  .block--soft-legend .soft-legend-attempts__list {
    display: grid;
    gap: 8px; }
  .block--soft-legend .soft-legend-attempts__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft);
    background: var(--panel-2);
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease; }
    .block--soft-legend .soft-legend-attempts__item:hover {
      border-color: var(--line);
      background: var(--panel); }
    .block--soft-legend .soft-legend-attempts__item--current {
      border-width: 2px;
      border-color: var(--muted); }
    .block--soft-legend .soft-legend-attempts__item--current-ok {
      border-width: 2px;
      border-color: var(--ok); }
    .block--soft-legend .soft-legend-attempts__item--current-fail {
      border-width: 2px;
      border-color: var(--danger); }
  .block--soft-legend .soft-legend-attempts__number {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand); }
  .block--soft-legend .soft-legend-attempts__meta {
    font-size: 12px;
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .block--soft-legend .soft-legend-attempts__level {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap; }

.block--soft-legend .soft-legend-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; }
  .block--soft-legend .soft-legend-actions__form {
    margin: 0; }

.block--soft-legend .soft-legend-psychologist-contact {
  display: inline-flex;
  align-items: center; }

.soft-legend-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2; }
  .soft-legend-score--tiny {
    min-width: 56px;
    padding: 4px 14px;
    font-size: 22px; }
  .soft-legend-score--hero {
    min-width: 64px;
    padding: 8px 16px;
    font-size: 24px;
    line-height: 1.1; }
  .soft-legend-score--ok {
    background: var(--ok-soft);
    border-color: var(--ok-border);
    color: var(--ok); }
  .soft-legend-score--work {
    background: var(--warn-soft);
    border-color: rgba(var(--warn-rgb), 0.35);
    color: var(--warn); }
  .soft-legend-score--gap {
    background: var(--danger-soft);
    border-color: var(--danger-border);
    color: var(--danger); }
  .soft-legend-score--neutral {
    background: var(--neutral);
    border-color: var(--neutral-border);
    color: var(--neutral-text); }

.specialties-team.specialties-team--compact .block__head {
  align-items: center; }

.specialties-team__stats {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 12px; }
  .specialties-team__stats .kpi {
    max-width: none;
    min-width: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.22); }
    [data-theme='light'] .specialties-team__stats .kpi {
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 8px rgba(15, 23, 42, 0.08); }

.specialties-team__sync-form {
  margin: 0; }

.specialties-team__table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  max-width: 100%;
  min-width: 0; }

.specialties-team__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed; }
  .specialties-team__table th,
  .specialties-team__table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
    vertical-align: middle;
    min-width: 0; }
  .specialties-team__table th {
    color: var(--muted);
    font-weight: 600; }
  .specialties-team__table th:nth-child(1),
  .specialties-team__table td:nth-child(1) {
    width: 34%;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .specialties-team__table th:nth-child(2),
  .specialties-team__table td:nth-child(2) {
    width: 46%; }
  .specialties-team__table th:nth-child(3),
  .specialties-team__table td:nth-child(3) {
    width: 20%;
    position: relative;
    z-index: 50; }

.specialties-team__mentor-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%; }
  .specialties-team__mentor-form select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box; }

.mentor-call-upload {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px; }

.mentor-call-transcript {
  margin-bottom: 16px; }
  .mentor-call-transcript__summary {
    cursor: pointer;
    color: var(--blue-text);
    font-weight: 600;
    margin-bottom: 8px; }
  .mentor-call-transcript__body {
    max-height: 280px;
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    font-size: 13px;
    line-height: 1.5; }

.mentor-call-media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: start; }
  @media (max-width: 900px) {
    .mentor-call-media-row {
      grid-template-columns: 1fr; } }
  .mentor-call-media-row__video .mentor-call-player {
    margin-bottom: 0; }
  .mentor-call-media-row__transcript--full {
    grid-column: 1 / -1; }

.mentor-call-transcript-panel {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--panel-2);
  overflow: hidden; }
  .mentor-call-transcript-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-elev); }
  .mentor-call-transcript-panel__title {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    color: var(--text); }
  .mentor-call-transcript-panel__retry {
    margin: 0;
    flex-shrink: 0; }
  .mentor-call-transcript-panel__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0; }
  .mentor-call-transcript-panel__body {
    flex: 1;
    overflow: auto;
    padding: 12px;
    font-size: 13px;
    line-height: 1.55;
    max-height: 320px; }
  .mentor-call-transcript-panel__hint {
    margin: 0;
    padding: 12px 12px 0; }
  .mentor-call-transcript-panel__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; }
  .mentor-call-transcript-panel__toggle {
    align-self: flex-start;
    margin: 8px 12px 12px; }

.mentor-call-recent__title {
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 650; }

.tech-legend-section + .tech-legend-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft); }

.tech-legend-section__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text); }

.tech-legend-section__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted); }

.tech-legend-section:has(> .block__hint:last-child):not(:has(.mentor-call-history, .tech-legend-doc-feedback-list)) > .block__hint,
.tech-legend-section:has(> .block__hint:last-child):not(:has(.mentor-call-history, .tech-legend-doc-feedback-list)) > .doc-tab-panel__empty, .tech-legend-section:has(> .doc-tab-panel__empty:last-child):not(:has(.mentor-call-history, .tech-legend-doc-feedback-list)) > .block__hint,
.tech-legend-section:has(> .doc-tab-panel__empty:last-child):not(:has(.mentor-call-history, .tech-legend-doc-feedback-list)) > .doc-tab-panel__empty {
  margin-left: auto;
  margin-right: auto;
  max-width: 36em;
  text-align: center; }

.soft-legend-psychologist-call {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft); }

.tech-legend-doc-feedback-list {
  display: grid;
  gap: 10px; }

.tech-legend-doc-feedback {
  margin: 0; }

.mentor-call-history {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; }
  .mentor-call-history--dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none; }
  @media (max-width: 900px) {
    .mentor-call-history--dashboard {
      grid-template-columns: 1fr; } }
  .mentor-call-history::-webkit-scrollbar {
    height: 6px; }
  .mentor-call-history::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px; }
  .mentor-call-history__card {
    flex: 0 0 clamp(200px, calc((100% - 24px) / 3), 280px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
    .mentor-call-history__card--latest {
      border-width: 2px;
      border-color: var(--muted); }
    .mentor-call-history__card--latest-ok {
      border-width: 2px;
      border-color: var(--ok); }
    .mentor-call-history__card--latest-fail {
      border-width: 2px;
      border-color: var(--danger); }
    .mentor-call-history--dashboard .mentor-call-history__card {
      flex: initial;
      min-width: 0; }
  .mentor-call-history__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0; }
  .mentor-call-history__title {
    font-size: 14px;
    font-weight: 650;
    color: var(--text); }
  .mentor-call-history--student .mentor-call-history__title {
    font-size: 16px; }
  .mentor-call-history__meta {
    font-size: 13px;
    color: var(--muted); }
  .mentor-call-history__actions {
    margin-top: auto; }

.mentor-call-history-list {
  margin-bottom: 16px; }

.mentor-call-delete-form {
  display: inline-flex; }
  .mentor-call-delete-form__btn {
    color: var(--danger); }

.tech-legends-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 13px; }
  .tech-legends-breadcrumbs__link {
    color: var(--brand); }
    .tech-legends-breadcrumbs__link:hover {
      text-decoration: underline; }
  .tech-legends-breadcrumbs__sep {
    color: var(--muted); }
  .tech-legends-breadcrumbs__current {
    color: var(--text);
    font-weight: 600; }

.tech-legends-table {
  display: flex;
  flex-direction: column;
  gap: 8px; }
  .tech-legends-table__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev); }
  .tech-legends-table__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px; }
  .tech-legends-table__name {
    font-size: 14px;
    color: var(--text);
    word-break: break-all; }
    .tech-legends-table__name--folder {
      color: var(--brand);
      font-weight: 600; }
      .tech-legends-table__name--folder:hover {
        text-decoration: underline; }
  .tech-legends-table__meta {
    font-size: 12.5px;
    color: var(--muted); }

.tech-legends-delete-form {
  flex-shrink: 0; }
  .tech-legends-delete-form__btn {
    color: var(--danger); }

.confirm-dialog {
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 420px;
  height: fit-content;
  max-height: calc(100% - 32px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
  .confirm-dialog::backdrop {
    background: rgba(11, 12, 15, 0.72); }
  .confirm-dialog__panel {
    padding: 20px; }
  .confirm-dialog__title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 650;
    color: var(--text); }
  .confirm-dialog__message {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted); }
  .confirm-dialog__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px; }

.upload-progress-dialog {
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 420px;
  height: fit-content;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
  .upload-progress-dialog__panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px; }
  .upload-progress-dialog__spinner {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--blue-soft);
    border-top-color: var(--blue-text);
    animation: upload-progress-spin 0.9s linear infinite; }
  .upload-progress-dialog__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 650;
    color: var(--text); }
  .upload-progress-dialog__message {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted); }

@keyframes upload-progress-spin {
  to {
    transform: rotate(360deg); } }

.mentor-call-history-detail {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev); }
  .mentor-call-history-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px; }
  .mentor-call-history-detail__head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    align-items: stretch; }
    .mentor-call-history-detail__head-actions .guides-progress,
    .mentor-call-history-detail__head-actions .pill,
    .mentor-call-history-detail__head-actions .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .mentor-call-history-detail__head-actions .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
  .mentor-call-history-detail__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 650; }
  .mentor-call-history-detail__meta {
    margin: 0;
    font-size: 13px;
    color: var(--muted); }
  .mentor-call-history-detail__hint {
    margin-top: 12px; }

.mentor-call-actions__form {
  margin-bottom: 16px; }

.mentor-call-review-form {
  margin-top: 8px; }

.mentor-call-upload {
  max-width: 520px; }
  .mentor-call-upload__file-picker {
    margin-top: 4px; }
  .mentor-call-upload__status {
    margin: 8px 0 0; }
  .mentor-call-upload--busy .doc-file-picker__btn.is-disabled {
    opacity: 0.6;
    pointer-events: none; }

.review-video-upload-status,
.review-video-delete-status {
  margin: 12px 0 0; }
  .review-video-upload-status[hidden],
  .review-video-delete-status[hidden] {
    display: none; }

.review-video-delete-status {
  margin-bottom: 16px; }

.review-video-upload-form [data-review-video-upload-submit] {
  margin-top: 12px; }

.review-video-upload-form--busy .doc-file-picker label,
.review-video-upload-form--busy .doc-file-picker__name,
.review-video-upload-form--busy .doc-file-picker__btn.is-disabled {
  opacity: 0.6;
  pointer-events: none; }

.review-video-feedback {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line); }
  .review-video-feedback__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text); }
  .review-video-feedback__subtitle {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted); }
  .review-video-feedback__list {
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .review-video-feedback__card {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg); }
  .review-video-feedback__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin-bottom: 8px; }
  .review-video-feedback__author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text); }
  .review-video-feedback__date {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted); }
  .review-video-feedback__body {
    font-size: 14px;
    color: var(--text);
    white-space: pre-wrap; }

.review-video-feedback-form textarea {
  font-size: 15px;
  line-height: 1.45;
  font-family: inherit; }

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%; }
  .stack-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box; }
    .stack-list__item--column {
      flex-direction: column;
      align-items: stretch; }
  .stack-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
    max-width: 100%; }
  .stack-list__main {
    min-width: 0;
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 6px; }
  .stack-list__title {
    font-size: 14px;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word; }
    .stack-list__title a {
      color: inherit;
      text-decoration: none; }
      .stack-list__title a:hover {
        text-decoration: underline; }
  .stack-list__meta {
    font-size: 13px;
    color: var(--muted);
    overflow-wrap: anywhere;
    word-break: break-word; }
  .stack-list__actions {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 1;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    align-items: stretch; }
    .stack-list__actions .guides-progress,
    .stack-list__actions .pill,
    .stack-list__actions .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .stack-list__actions .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
  .stack-list .mentor-call-player {
    margin-top: 8px; }

.handover-block__message {
  margin: 0;
  font-size: 15px;
  line-height: 1.55; }

.mentor-call-feedback-section {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft); }
  .mentor-call-feedback-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px; }
  .mentor-call-feedback-section__head-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; }
  .mentor-call-feedback-section__title {
    margin: 0;
    font-size: 15px;
    font-weight: 650; }
  .mentor-call-feedback-section__hint {
    margin: 0 0 12px; }

.mentor-call-player {
  margin-bottom: 16px; }
  .mentor-call-player__video {
    width: 100%;
    max-height: 420px;
    border-radius: 10px;
    background: #000; }
    .mentor-call-player--compact .mentor-call-player__video {
      max-height: 320px; }

.review-video-external {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev); }
  .review-video-external__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted); }
  .review-video-external__url {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text); }

.soft-legend-admin__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 10px 0 2px 14px;
  border: 0;
  border-left: 3px solid rgba(var(--brand-rgb), 0.45);
  border-radius: 0;
  background: transparent; }

.soft-legend-admin__sync {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0; }

.soft-legend-admin__sync-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2); }

.soft-legend-admin__sync-value {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3; }
  .soft-legend-admin__sync-value--empty {
    font-weight: 500;
    color: var(--muted); }

.soft-legend-admin__note {
  margin: 0;
  max-width: 42em;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted); }

.soft-legend-admin__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px; }

.soft-legend-admin__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px; }

.soft-legend-admin__sync-form {
  margin: 0; }

.soft-legend-admin__list {
  display: grid;
  gap: 12px; }

.soft-legend-admin__item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--panel-2); }

.soft-legend-admin__item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px; }

.soft-legend-admin__order {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand); }

.soft-legend-admin__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text); }

.soft-legend-admin__item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap; }
  .soft-legend-admin__item-actions form {
    margin: 0; }

.soft-legend-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px; }

.soft-legend-question-form {
  display: grid;
  gap: 16px; }
  .soft-legend-question-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; }

.form-field {
  display: grid;
  gap: 6px; }
  .form-field__label {
    font-size: 13px;
    color: var(--muted); }

.guides-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 6px 11px;
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  [data-theme='light'] .guides-progress {
    border-color: rgba(var(--brand-rgb), 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65); }
  .guides-progress--page {
    margin-right: 8px; }

.guides-hub__lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0; }
  .guides-hub__lead:not(:last-child) {
    margin-bottom: 16px; }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; }

.guides-block__lead {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px; }

.guides-block__groups {
  display: grid;
  gap: 16px; }

.guides-block__group-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px; }

.guides-block__grid {
  display: grid;
  gap: 8px; }

.guides-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: var(--panel-border-width) solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  box-shadow: var(--panel-shadow);
  color: inherit;
  transition: border-color 0.12s, background 0.12s, transform 0.12s, box-shadow 0.12s, opacity 0.12s; }
  .guides-card:hover {
    border-color: rgba(var(--brand-rgb), 0.35);
    background: rgba(var(--brand-rgb), 0.03);
    transform: translateY(-1px); }
  .guides-card--compact {
    padding: 8px 16px; }
  .guides-card--viewed {
    opacity: 0.72;
    background: var(--panel-2);
    border-color: var(--line-soft); }
    .guides-card--viewed .guides-card__title,
    .guides-card--viewed .guides-card__subtitle,
    .guides-card--viewed .guides-card__desc {
      color: var(--muted); }
    .guides-card--viewed .guides-card__order {
      background: var(--ok-soft);
      color: var(--ok); }
    .guides-card--viewed:hover {
      opacity: 0.9;
      background: var(--panel-2);
      border-color: rgba(var(--brand-rgb), 0.28); }
  .guides-card__order {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--blue-soft);
    color: var(--blue-text);
    font-size: 13px;
    font-weight: 700; }
  .guides-card__check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    border-radius: var(--radius-sm);
    background: var(--ok-soft);
    color: var(--ok);
    font-size: 13px;
    font-weight: 700;
    line-height: 1; }
  .guides-card__content {
    display: grid;
    gap: 4px;
    min-width: 0; }
  .guides-card__title {
    font-size: 14px;
    font-weight: 650;
    color: var(--text); }
  .guides-card__subtitle {
    font-size: 12.5px;
    color: var(--muted); }
  .guides-card__desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted); }

.guide-content {
  display: grid;
  gap: 8px; }

.guide-question {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden; }
  .guide-question__title {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 16px 16px 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    background: var(--panel-2);
    border-bottom: 1px solid var(--line); }
  .guide-question__num {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1; }
  .guide-question__label {
    min-width: 0;
    padding-top: 3px; }
  .guide-question__body {
    display: grid;
    gap: 8px;
    padding: 8px 16px 16px; }
    .guide-question__body .guide-section--subheading {
      margin: 0;
      padding: 8px;
      border-radius: var(--radius-sm);
      background: var(--panel-2);
      border-left: 3px solid var(--brand); }

.guide-section {
  margin: 0; }
  .guide-section--lead {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    padding-bottom: 4px; }
  .guide-section--text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text); }
  .guide-section--heading {
    font-size: 15px;
    font-weight: 650;
    color: var(--text);
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line-soft); }
  .guide-section--subheading {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin: 2px 0 0;
    padding-left: 4px;
    line-height: 1.45; }
  .guide-section--list {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text); }
    .guide-section--list li + li {
      margin-top: 6px; }
    .guide-section--list-links {
      list-style: none;
      padding-left: 0; }
      .guide-section--list-links li {
        padding: 0; }
        .guide-section--list-links li + li {
          margin-top: 8px; }
      .guide-section--list-links .guide-section__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
        padding: 16px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(var(--brand-rgb), 0.42);
        background: var(--blue-soft);
        color: var(--text);
        font-weight: 600;
        line-height: 1.4;
        transition: background 0.15s ease, border-color 0.15s ease; }
        .guide-section--list-links .guide-section__link::after {
          content: '↗';
          flex-shrink: 0;
          color: var(--blue-text);
          font-weight: 700; }
        .guide-section--list-links .guide-section__link:hover {
          background: var(--panel-hover);
          border-color: var(--brand);
          color: var(--text); }
      [data-theme='light'] .guide-section--list-links .guide-section__link {
        border-color: rgba(var(--brand-rgb), 0.35);
        background: rgba(var(--brand-rgb), 0.1); }
        [data-theme='light'] .guide-section--list-links .guide-section__link::after {
          color: var(--brand-hover); }
        [data-theme='light'] .guide-section--list-links .guide-section__link:hover {
          background: var(--panel-2);
          border-color: var(--brand-hover); }
    .guide-section--list-cross {
      list-style: none;
      padding-left: 0; }
      .guide-section--list-cross li {
        position: relative;
        padding: 8px 8px 8px 28px;
        border-radius: var(--radius-sm);
        background: var(--danger-soft);
        border: 1px solid var(--danger-border);
        color: var(--text); }
        .guide-section--list-cross li::before {
          content: '✕';
          position: absolute;
          left: 10px;
          color: var(--danger);
          font-weight: 700; }
        .guide-section--list-cross li + li {
          margin-top: 8px; }
      [data-theme='light'] .guide-section--list-cross li::before {
        color: var(--danger-hover); }
    .guide-section--list-check {
      list-style: none;
      padding-left: 0; }
      .guide-section--list-check li {
        position: relative;
        padding: 8px 8px 8px 28px;
        border-radius: var(--radius-sm);
        background: var(--ok-soft);
        border: 1px solid var(--ok-border);
        color: var(--text); }
        .guide-section--list-check li::before {
          content: '✓';
          position: absolute;
          left: 10px;
          color: var(--ok);
          font-weight: 700; }
        .guide-section--list-check li + li {
          margin-top: 8px; }
      [data-theme='light'] .guide-section--list-check li::before {
        color: var(--ok); }
  .guide-section--table-wrap {
    overflow: hidden;
    overflow-x: auto;
    border-radius: var(--radius-sm); }

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px; }
  .guide-table th,
  .guide-table td {
    padding: 8px 16px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top; }
  .guide-table th {
    background: var(--panel-2);
    font-weight: 650;
    color: var(--text); }
  .guide-table td {
    color: var(--muted); }
  .guide-table--compare th:first-child,
  .guide-table--compare td:first-child {
    background: var(--danger-soft);
    border-color: var(--danger-border); }
  .guide-table--compare th:last-child,
  .guide-table--compare td:last-child {
    background: var(--ok-soft);
    border-color: var(--ok-border); }
  .guide-table--compare td:first-child,
  .guide-table--compare td:last-child {
    color: var(--text); }
  .guide-table--compare th:first-child {
    color: var(--danger); }
  .guide-table--compare th:last-child {
    color: var(--ok); }
  [data-theme='light'] .guide-table--compare th:first-child {
    color: var(--danger-hover); }
  [data-theme='light'] .guide-table--compare th:last-child {
    color: var(--ok); }

.stage-deadline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-border);
  background: var(--panel);
  margin-bottom: 16px; }
  .stage-deadline__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 0; }
  .stage-deadline__icon-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain; }
  .stage-deadline__body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
    min-width: 0; }
  .stage-deadline__title {
    font-size: 15px;
    letter-spacing: 0.02em; }
  .stage-deadline__meta {
    font-size: 13px;
    opacity: 0.75; }
  .stage-deadline--ok {
    border-color: var(--ok-border);
    background: var(--ok-soft); }
  .stage-deadline--warning {
    border-color: rgba(var(--warn-rgb), 0.45);
    background: var(--warn-soft); }
    .stage-deadline--warning .stage-deadline__title {
      color: var(--warn); }
  .stage-deadline--danger, .stage-deadline--overdue {
    border-color: var(--danger-border);
    background: var(--danger-soft); }
    .stage-deadline--danger .stage-deadline__title, .stage-deadline--overdue .stage-deadline__title {
      color: var(--danger); }
  .stage-deadline--overdue .stage-deadline__icon {
    animation: stage-deadline-pulse 1.6s ease-in-out infinite; }

@keyframes stage-deadline-pulse {
  0%,
  100% {
    transform: scale(1); }
  50% {
    transform: scale(1.25); } }

.my-developers-deadline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-border);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box; }
  .my-developers-deadline__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .my-developers-deadline__label {
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .my-developers-deadline__meta {
    opacity: 0.7;
    font-size: 11px;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .my-developers-deadline__flag {
    font-size: 11px;
    font-weight: 700;
    color: var(--danger); }
  .my-developers-deadline--ok .my-developers-deadline__label {
    color: var(--ok); }
  .my-developers-deadline--warning {
    border-color: rgba(var(--warn-rgb), 0.45);
    background: var(--warn-soft); }
    .my-developers-deadline--warning .my-developers-deadline__label {
      color: var(--warn); }
  .my-developers-deadline--danger, .my-developers-deadline--overdue {
    border-color: var(--danger-border);
    background: var(--danger-soft); }
    .my-developers-deadline--danger .my-developers-deadline__label, .my-developers-deadline--overdue .my-developers-deadline__label {
      color: var(--danger); }

.stage-deadline-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%; }
  .stage-deadline-settings__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 16px;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-sm);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box; }
  .stage-deadline-settings__label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .stage-deadline-settings__field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 0; }
    .stage-deadline-settings__field .input {
      width: 80px;
      max-width: 100%;
      box-sizing: border-box; }

.my-developers-deadline__actions {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px; }

.my-developers-deadline__extend-btn,
.my-developers-deadline__details-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.15s ease, filter 0.15s ease; }
  .my-developers-deadline__extend-btn:hover,
  .my-developers-deadline__details-btn:hover {
    transform: scale(1.06);
    filter: brightness(1.1); }
  .my-developers-deadline__extend-btn:active,
  .my-developers-deadline__details-btn:active {
    transform: scale(0.96); }

.my-developers-deadline__extend-icon,
.my-developers-deadline__details-icon {
  display: block;
  width: 40px;
  height: 40px; }

.deadline-glyph {
  display: none; }

.deadline-glyph__img {
  display: block; }

.deadline-dialog {
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 420px;
  height: fit-content;
  max-height: calc(100% - 32px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
  .deadline-dialog::backdrop {
    background: rgba(11, 12, 15, 0.72); }
  .deadline-dialog__panel {
    padding: 20px; }
  .deadline-dialog__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 650;
    color: var(--text); }
  .deadline-dialog__meta {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted); }
  .deadline-dialog__form {
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .deadline-dialog__field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px; }
    .deadline-dialog__field .input {
      flex: 1;
      min-width: 0; }
    .deadline-dialog__field--wide {
      align-items: flex-start;
      flex-direction: column;
      gap: 4px; }
  .deadline-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px; }

.deadline-details {
  max-width: 520px; }
  .deadline-details__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding-right: 4px; }
  .deadline-details__empty {
    margin: 0;
    font-size: 13px;
    color: var(--muted); }
  .deadline-details__row {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 13px; }
  .deadline-details__row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px; }
  .deadline-details__days {
    font-weight: 700; }
    .deadline-details__days--base {
      color: var(--muted);
      font-weight: 600; }
  .deadline-details__date {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap; }
  .deadline-details__author {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted); }
  .deadline-details__reason {
    margin-top: 2px;
    line-height: 1.45; }

.guide-callout {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left-width: 4px; }
  .guide-callout__title {
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 6px; }
  .guide-callout__text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text); }
  .guide-callout--info {
    background: rgba(var(--brand-rgb), 0.08);
    border-color: rgba(var(--brand-rgb), 0.28);
    border-left-color: var(--brand); }
  .guide-callout--info .guide-callout__title {
    color: var(--blue-text); }
  .guide-callout--warning {
    background: var(--warn-soft);
    border-color: rgba(var(--warn-rgb), 0.4);
    border-left-color: var(--warn); }
  .guide-callout--warning .guide-callout__title {
    color: var(--warn); }
  .guide-callout--good {
    background: var(--ok-soft);
    border-color: var(--ok-border);
    border-left-color: var(--ok); }
  .guide-callout--good .guide-callout__title {
    color: var(--ok); }
  .guide-callout--bad {
    background: var(--danger-soft);
    border-color: var(--danger-border);
    border-left-color: var(--danger); }
  .guide-callout--bad .guide-callout__title {
    color: var(--danger); }

.guide-example {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left-width: 4px; }
  .guide-example__title {
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px; }
  .guide-example__text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    font-style: italic; }
  .guide-example__note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted); }
  .guide-example--good {
    background: var(--ok-soft);
    border-color: var(--ok-border);
    border-left-color: var(--ok); }
  .guide-example--good .guide-example__title {
    color: var(--ok); }
  .guide-example--good .guide-example__text {
    color: var(--text); }
  .guide-example--bad {
    background: var(--danger-soft);
    border-color: var(--danger-border);
    border-left-color: var(--danger); }
  .guide-example--bad .guide-example__title {
    color: var(--danger); }
  .guide-example--bad .guide-example__text {
    color: var(--text); }
  [data-theme='light'] .guide-example--bad {
    border-left-color: var(--danger-hover); }
  [data-theme='light'] .guide-example--bad .guide-example__title {
    color: var(--danger-hover); }

.guide-cv-sample {
  margin: 0; }
  .guide-cv-sample__caption {
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ok);
    margin-bottom: 8px; }
  .guide-cv-sample__card {
    background: #ffffff;
    color: #111111;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-style: normal; }
    [data-theme='light'] .guide-cv-sample__card, [data-theme='soft'] .guide-cv-sample__card {
      border-color: rgba(17, 17, 17, 0.12); }
  .guide-cv-sample__name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f6b45;
    margin: 0 0 10px; }
  .guide-cv-sample__line {
    font-size: 14px;
    line-height: 1.5;
    color: #111111;
    margin: 0; }
  .guide-cv-sample__skills-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111111;
    margin: 0 0 12px; }
  .guide-cv-sample__skill-row {
    font-size: 14px;
    line-height: 1.55;
    color: #111111;
    margin: 0 0 6px; }
    .guide-cv-sample__skill-row:last-child {
      margin-bottom: 0; }
  .guide-cv-sample__skill-label {
    font-weight: 700;
    color: #1f6b45; }
  .guide-cv-sample__note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted); }

.guide-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2); }
  .guide-figure__link {
    display: block; }
  .guide-figure__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #fff; }
  .guide-figure__caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted); }

.guide-nav {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 200px) 1fr;
  align-items: stretch;
  gap: 16px;
  margin-top: 16px; }
  .guide-nav__placeholder {
    min-height: 1px; }
  .guide-nav__progress {
    display: grid;
    align-content: center;
    justify-items: center;
    align-self: stretch;
    gap: 8px;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    text-align: center; }
  .guide-nav__progress-label {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: var(--blue-text);
    white-space: nowrap; }
  .guide-nav__progress-track {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(var(--brand-rgb), 0.12);
    overflow: hidden; }
  .guide-nav__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    transition: width 0.2s ease; }
  .guide-nav__link {
    display: grid;
    align-content: center;
    gap: 4px;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
    text-decoration: none; }
    .guide-nav__link:hover {
      border-color: rgba(var(--brand-rgb), 0.35);
      background: rgba(var(--brand-rgb), 0.03); }
    .guide-nav__link--next {
      text-align: right;
      background: var(--brand);
      background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.12));
      border-color: var(--btn-primary-border);
      color: #fff;
      box-shadow: var(--btn-primary-shadow); }
      .guide-nav__link--next:hover {
        background: var(--brand-hover);
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.16));
        border-color: var(--btn-primary-border);
        color: #fff;
        box-shadow: var(--btn-primary-shadow); }
      .guide-nav__link--next .guide-nav__label,
      .guide-nav__link--next .guide-nav__title {
        color: #fff; }
  .guide-nav__label {
    font-size: 12px;
    color: var(--muted); }
  .guide-nav__title {
    font-size: 14px;
    font-weight: 650;
    color: var(--text); }
  @media (max-width: 720px) {
    .guide-nav {
      grid-template-columns: 1fr;
      grid-template-areas: 'progress' 'prev' 'next'; }
      .guide-nav__progress {
        grid-area: progress; }
      .guide-nav__link--prev,
      .guide-nav > .guide-nav__placeholder:first-child {
        grid-area: prev; }
      .guide-nav__link--next,
      .guide-nav > .guide-nav__placeholder:last-child {
        grid-area: next; } }
.call-schedule-form {
  display: grid;
  gap: 14px; }
  .call-schedule-form__student {
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--muted); }
    .call-schedule-form__student strong {
      font-size: 14px;
      font-weight: 650;
      color: var(--text); }
  .call-schedule-form__current {
    color: var(--muted-2); }
  .call-schedule-form__field {
    display: grid;
    gap: 6px;
    width: 100%;
    max-width: 280px;
    font-size: 13px;
    color: var(--muted); }
    .call-schedule-form__field:has(input[type='url']) {
      max-width: none; }
  .call-schedule-form select,
  .call-schedule-form input[type='url'] {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: var(--panel-border-width) solid var(--btn-ghost-border);
    border-radius: var(--radius-sm);
    background: var(--bg-elev);
    color: var(--text); }

.call-calendar {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 280px; }
  .call-calendar__field {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--muted); }
  .call-calendar__date-input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    box-sizing: border-box;
    cursor: pointer; }

.scheduled-call-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; }

.scheduled-call-list--staff {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.scheduled-call-card {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2); }
  .scheduled-call-card--waiting {
    border-color: rgba(var(--danger-rgb), 0.45);
    background: var(--danger-soft);
    box-shadow: inset 3px 0 0 var(--danger); }
  .scheduled-call-card form {
    width: auto;
    margin: 0; }
  .scheduled-call-card__head {
    display: grid;
    gap: 4px; }
  .scheduled-call-card__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    font-size: 14px;
    font-weight: 650;
    color: var(--text);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .scheduled-call-card__specialty {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    overflow-wrap: anywhere;
    word-break: break-word; }
  .scheduled-call-card__meta {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .scheduled-call-card__link {
    font-size: 13px;
    color: var(--blue-text);
    overflow-wrap: anywhere;
    word-break: break-word; }
  .scheduled-call-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch; }
    .scheduled-call-card__actions .guides-progress,
    .scheduled-call-card__actions .pill,
    .scheduled-call-card__actions .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .scheduled-call-card__actions .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
  .scheduled-call-card--large {
    width: 100%;
    max-width: none;
    padding: 18px 20px;
    gap: 14px;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 10px 24px rgba(3, 7, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
    .scheduled-call-card--large.scheduled-call-card--uploaded {
      border-color: rgba(var(--ok-base-rgb), 0.45); }
    .scheduled-call-card--large.scheduled-call-card--cancelled {
      opacity: 0.6;
      border-style: dashed; }
    .scheduled-call-card--large.scheduled-call-card--closed {
      border-color: rgba(var(--danger-rgb), 0.4); }
  .scheduled-call-card__session {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: var(--panel-2);
    align-items: stretch; }
    .scheduled-call-card__session .guides-progress,
    .scheduled-call-card__session .pill,
    .scheduled-call-card__session .btn {
      align-self: stretch;
      box-sizing: border-box; }
    .scheduled-call-card__session .pill {
      justify-content: center;
      padding: 6px 11px;
      font-size: 13px;
      line-height: 1.2;
      border-radius: var(--radius-sm);
      box-sizing: border-box; }
  .scheduled-call-card__upload {
    display: grid;
    gap: 10px; }
  .scheduled-call-card__locked-hint {
    font-size: 12px;
    color: var(--muted); }
  .scheduled-call-card__file {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: var(--panel-2); }
  .scheduled-call-card__file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--muted); }

.block--non-standard-situation {
  min-height: 0;
  border-color: rgba(var(--warn-rgb), 0.72);
  border-width: 2px;
  background: var(--warn-soft);
  box-shadow: 0 0 0 1px rgba(var(--warn-rgb), 0.28), var(--panel-shadow); }
  .block--non-standard-situation--done {
    border-color: rgba(var(--warn-rgb), 0.5);
    background: rgba(var(--warn-rgb), 0.12); }
  .block--non-standard-situation .block__head {
    background: rgba(var(--warn-rgb), 0.2);
    border-bottom-color: rgba(var(--warn-rgb), 0.28); }
  .block--non-standard-situation .block__title {
    color: var(--text); }
  .block--non-standard-situation .block__body {
    gap: 0; }

.block--upload-blocked {
  opacity: 0.72; }

.content:has(.kpi-board--student) .staff-messages-block,
.content:has(.kpi-board--student) .block#manager {
  min-height: 0; }

.doc-upload-blocked-notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid rgba(var(--warn-rgb), 0.35);
  color: var(--text);
  font-size: 13px; }
  .doc-upload-blocked-notice a {
    color: var(--blue-text);
    font-weight: 600; }

.non-standard-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  width: 100%; }
  .non-standard-form--hidden {
    display: none; }
  .non-standard-form__alert {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 14px;
    line-height: 1.45;
    background: rgba(var(--danger-rgb), 0.18);
    border: 1px solid rgba(var(--danger-rgb), 0.4); }
    .non-standard-form__alert::before {
      content: '✕';
      margin-right: 8px;
      font-weight: 700; }
  .non-standard-form__choice {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0; }
  .non-standard-form__legend {
    font-size: 14px;
    font-weight: 650;
    margin: 0 0 8px;
    padding: 0; }
  .non-standard-form__intro {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45; }
  .non-standard-form__options {
    display: flex;
    flex-direction: column;
    gap: 10px; }
  .non-standard-form__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--panel);
    cursor: pointer; }
    .non-standard-form__option:has(input:checked) {
      border-color: rgba(var(--warn-rgb), 0.45);
      background: var(--warn-soft); }
    .non-standard-form__option input {
      margin-top: 3px;
      flex-shrink: 0; }
  .non-standard-form__option-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; }
  .non-standard-form__option-title {
    font-size: 14px;
    font-weight: 650;
    color: var(--text); }
  .non-standard-form__option-desc {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted); }
  .non-standard-form__actions {
    margin: 0;
    padding-top: 8px; }
  .non-standard-form__radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 4px; }
  .non-standard-form__field-wrap {
    display: none;
    margin: 16px 0 0;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(var(--panel), 0.72);
    border: 1px solid rgba(var(--warn-rgb), 0.18); }
    .non-standard-form__field-wrap--visible {
      display: flex;
      flex-direction: column;
      gap: 16px; }
    .non-standard-form__field-wrap[hidden] {
      display: none !important; }
    .non-standard-form__field-wrap > .non-standard-form__field {
      margin-bottom: 0; }
  .non-standard-form__field {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text); }
  .non-standard-form__field-hint {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted); }
  .non-standard-form__additional-comment {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--warn-rgb), 0.2); }
  .non-standard-form textarea {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.45;
    font-family: inherit; }
  .non-standard-form__month-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0; }
  .non-standard-form__month-field {
    flex: 0 1 220px;
    min-width: 0; }
  .non-standard-form__month-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted); }
  .non-standard-form__date-input {
    width: 100%;
    max-width: 220px;
    min-height: 40px;
    padding: 8px 10px;
    box-sizing: border-box;
    cursor: pointer; }
  .non-standard-form .doc-upload-form__error {
    margin: 8px 0 0; }

.non-standard-stop-questions {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid rgba(var(--warn-rgb), 0.35);
  box-shadow: inset 3px 0 0 var(--warn); }
  .non-standard-stop-questions--visible {
    display: flex; }
  .non-standard-stop-questions[hidden] {
    display: none !important; }
  .non-standard-stop-questions__head {
    margin: 0 0 4px; }
  .non-standard-stop-questions__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--warn);
    letter-spacing: -0.01em; }
  .non-standard-stop-questions__lead {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text); }
  .non-standard-stop-questions__question {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0; }
    .non-standard-stop-questions__question + .non-standard-stop-questions__question {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid rgba(var(--warn-rgb), 0.22); }
    .non-standard-stop-questions__question .non-standard-form__legend {
      margin: 0 0 10px;
      padding: 0; }

.non-standard-form__details {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid rgba(var(--warn-rgb), 0.35);
  box-shadow: inset 3px 0 0 var(--warn); }
  .non-standard-form__details--visible {
    display: flex; }
  .non-standard-form__details[hidden] {
    display: none !important; }
  .non-standard-form__details-lead {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text); }

.non-standard-form__question {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0; }
  .non-standard-form__question + .non-standard-form__question {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--warn-rgb), 0.22); }
  .non-standard-form__question .non-standard-form__legend {
    margin: 0 0 10px;
    padding: 0; }

.non-standard-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px; }
  .non-standard-summary .btn {
    align-self: flex-start; }
  .non-standard-summary__lead {
    margin: 0;
    font-size: 14px;
    color: var(--text); }
  .non-standard-summary__list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--muted); }
    .non-standard-summary__list li + li {
      margin-top: 6px; }
  .non-standard-summary__label {
    color: var(--text);
    font-weight: 600; }

.non-standard-banner {
  margin: 0 16px 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid rgba(var(--warn-rgb), 0.35); }
  .non-standard-banner--discussed {
    opacity: 0.82;
    border-color: rgba(var(--warn-rgb), 0.22); }
  .non-standard-banner__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--warn); }
  .non-standard-banner__hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted); }
  .non-standard-banner__list {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text); }
    .non-standard-banner__list li + li {
      margin-top: 6px; }
  .non-standard-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px; }
  .non-standard-banner__meta {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--muted); }

.chat__context {
  margin: 0;
  flex-shrink: 0;
  min-height: 0;
  max-height: 30vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 12px 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1px solid var(--btn-primary-border);
  box-shadow: inset 3px 0 0 var(--brand);
  font-size: 12.5px;
  color: var(--text); }
  .chat__context--discussed {
    opacity: 0.78;
    box-shadow: inset 3px 0 0 rgba(var(--brand-rgb), 0.5);
    background: rgba(var(--brand-rgb), 0.1);
    border-color: rgba(var(--brand-rgb), 0.28); }
  .chat__context--standard {
    background: var(--ok-soft);
    border-color: rgba(var(--ok-base-rgb), 0.35);
    box-shadow: inset 3px 0 0 var(--ok); }
  .chat__context-title {
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 4px;
    letter-spacing: 0.01em; }
  .chat__context-hint {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45; }
    .chat__context-hint--standard {
      margin-bottom: 0;
      color: var(--text); }
  .chat__context-list {
    margin: 0;
    padding-left: 16px;
    color: var(--text); }
    .chat__context-list li + li {
      margin-top: 4px; }
    .chat__context-list strong {
      color: var(--brand);
      font-weight: 650; }
  .chat__context-meta {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px; }

.review-queue__flag {
  display: inline-block;
  margin-top: 6px; }

.help-doc {
  display: flex;
  flex-direction: column;
  gap: 12px; }
  .help-doc__section {
    min-height: 0; }
  .help-doc__section--role {
    border-width: 2px; }
  .help-doc__subblock {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    margin: 0 0 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08); }
    .help-doc__subblock:last-child {
      margin-bottom: 0; }
  .help-doc__subblock-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    color: var(--text); }
    .help-doc__subblock-title .block__number {
      min-width: 24px;
      height: 24px;
      font-size: 12px; }
  .help-doc__subblock-body {
    padding: 10px 12px 12px; }
    .help-doc__subblock-body > :last-child {
      margin-bottom: 0; }
  .help-doc__body {
    width: 100%;
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text); }
    .help-doc__body > h3 {
      margin: 14px 0 8px;
      font-size: 15px;
      font-weight: 650; }
      .help-doc__body > h3:first-child {
        margin-top: 0; }
    .help-doc__body p {
      margin: 0 0 10px; }
      .help-doc__body p:last-child {
        margin-bottom: 0; }
    .help-doc__body ul {
      margin: 0 0 12px;
      padding-left: 18px; }
      .help-doc__body ul:last-child {
        margin-bottom: 0; }
    .help-doc__body li + li {
      margin-top: 4px; }
    .help-doc__body code {
      font-size: 0.92em; }

[data-theme='stackbridge'] .message--error,
[data-theme='stackbridge'] .non-standard-form__alert,
[data-theme='stackbridge'] .doc-block-notice__alert--error,
[data-theme='stackbridge'] .doc-upload-form__error,
[data-theme='stackbridge'] .chat__error,
[data-theme='stackbridge'] .chat-page__error,
[data-theme='stackbridge'] .verdict--fail {
  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --danger-hover: #b91c1c; }

[data-theme='stackbridge'] .message--success,
[data-theme='stackbridge'] .doc-block-notice__alert--success,
[data-theme='stackbridge'] .verdict--pass {
  --ok: #166534;
  --ok-soft: rgba(22, 101, 52, 0.12);
  --ok-border: rgba(22, 101, 52, 0.45); }

[data-theme='stackbridge'] .my-developers-deadline--ok {
  --ok: #166534;
  --ok-soft: rgba(22, 101, 52, 0.12);
  --ok-border: rgba(22, 101, 52, 0.45);
  background: var(--ok-soft);
  border-color: var(--ok-border); }

[data-theme='stackbridge'] .my-developers-deadline--warning {
  --warn: #ea580c;
  --warn-rgb: 234, 88, 12;
  --warn-soft: rgba(234, 88, 12, 0.12);
  background: var(--warn-soft);
  border-color: rgba(234, 88, 12, 0.45); }
  [data-theme='stackbridge'] .my-developers-deadline--warning .my-developers-deadline__label {
    color: var(--warn); }

[data-theme='stackbridge'] .my-developers-deadline--danger,
[data-theme='stackbridge'] .my-developers-deadline--overdue {
  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --danger-soft: rgba(220, 38, 38, 0.12);
  --danger-border: rgba(220, 38, 38, 0.45);
  background: var(--danger-soft);
  border-color: var(--danger-border); }

[data-theme='stackbridge'] .stage-deadline--ok {
  --ok: #166534;
  --ok-soft: rgba(22, 101, 52, 0.12);
  --ok-border: rgba(22, 101, 52, 0.45);
  --deadline-icon-color: #166534;
  --deadline-icon-soft: rgba(22, 101, 52, 0.12);
  --deadline-icon-border: rgba(22, 101, 52, 0.45);
  --deadline-icon: url('../images/calendar-check.svg');
  background: var(--ok-soft);
  border-color: var(--ok-border); }
  [data-theme='stackbridge'] .stage-deadline--ok .stage-deadline__title {
    color: var(--ok); }

[data-theme='stackbridge'] .stage-deadline--warning {
  --warn: #ea580c;
  --warn-rgb: 234, 88, 12;
  --warn-soft: rgba(234, 88, 12, 0.12);
  --deadline-icon-color: #ea580c;
  --deadline-icon-soft: rgba(234, 88, 12, 0.12);
  --deadline-icon-border: rgba(234, 88, 12, 0.45);
  --deadline-icon: url('../images/calendar-check.svg');
  background: var(--warn-soft);
  border-color: rgba(234, 88, 12, 0.45); }
  [data-theme='stackbridge'] .stage-deadline--warning .stage-deadline__title {
    color: var(--warn); }

[data-theme='stackbridge'] .stage-deadline--danger {
  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --danger-soft: rgba(220, 38, 38, 0.12);
  --danger-border: rgba(220, 38, 38, 0.45);
  --deadline-icon-color: #dc2626;
  --deadline-icon-soft: rgba(220, 38, 38, 0.12);
  --deadline-icon-border: rgba(220, 38, 38, 0.45);
  --deadline-icon: url('../images/hourglass-medium.svg');
  background: var(--danger-soft);
  border-color: var(--danger-border); }
  [data-theme='stackbridge'] .stage-deadline--danger .stage-deadline__title {
    color: var(--danger); }

[data-theme='stackbridge'] .stage-deadline--overdue {
  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --danger-soft: rgba(220, 38, 38, 0.12);
  --danger-border: rgba(220, 38, 38, 0.45);
  --deadline-icon-color: #dc2626;
  --deadline-icon-soft: rgba(220, 38, 38, 0.12);
  --deadline-icon-border: rgba(220, 38, 38, 0.45);
  --deadline-icon: url('../images/timer.svg');
  background: var(--danger-soft);
  border-color: var(--danger-border); }
  [data-theme='stackbridge'] .stage-deadline--overdue .stage-deadline__title {
    color: var(--danger); }

[data-theme='stackbridge'] .stage-deadline__icon {
  border: 1px solid var(--deadline-icon-border, transparent);
  border-radius: var(--radius-sm);
  background: var(--deadline-icon-soft, transparent);
  color: var(--deadline-icon-color, currentColor); }
  [data-theme='stackbridge'] .stage-deadline__icon .stage-deadline__icon-img {
    display: none; }
  [data-theme='stackbridge'] .stage-deadline__icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: var(--deadline-icon) center/contain no-repeat;
    mask: var(--deadline-icon) center/contain no-repeat; }

[data-theme='stackbridge'] h1,
[data-theme='stackbridge'] h2,
[data-theme='stackbridge'] h3,
[data-theme='stackbridge'] h4,
[data-theme='stackbridge'] h5,
[data-theme='stackbridge'] h6,
[data-theme='stackbridge'] .page-title,
[data-theme='stackbridge'] [class$='__title'],
[data-theme='stackbridge'] [class*='__title-main'],
[data-theme='stackbridge'] .guide-section--heading,
[data-theme='stackbridge'] .guide-section--subheading,
[data-theme='stackbridge'] .kpi__value {
  font-family: 'JetBrains Mono', 'Manrope', system-ui, sans-serif; }

[data-theme='stackbridge'] h1,
[data-theme='stackbridge'] .content__title,
[data-theme='stackbridge'] .chat-page__title,
[data-theme='stackbridge'] .auth-card__title,
[data-theme='stackbridge'] .auth-form__title,
[data-theme='stackbridge'] .page-title,
[data-theme='stackbridge'] .simple-header__title {
  font-weight: 500;
  letter-spacing: -0.02em; }

[data-theme='stackbridge'] h2,
[data-theme='stackbridge'] h3,
[data-theme='stackbridge'] h4,
[data-theme='stackbridge'] h5,
[data-theme='stackbridge'] h6,
[data-theme='stackbridge'] .block__title {
  font-weight: 600;
  letter-spacing: -0.01em; }

[data-theme='stackbridge'] .block__title {
  font-size: 18px; }

[data-theme='stackbridge'] .sidebar__link {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px; }

[data-theme='stackbridge'] .sidebar__nav-group {
  font-family: 'Manrope', system-ui, sans-serif; }

[data-theme='stackbridge'] .content__about {
  width: auto;
  height: auto;
  min-height: 32px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--panel-shadow);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease; }
  [data-theme='stackbridge'] .content__about:hover, [data-theme='stackbridge'] .content__about:active {
    background: var(--panel);
    border-color: var(--line);
    box-shadow: var(--panel-shadow);
    opacity: 1;
    transform: none; }

[data-theme='stackbridge'] .content__about-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: calc(var(--radius-sm) - 1px);
  background: var(--brand);
  color: var(--brand-text-on);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, opacity 0.15s ease; }

[data-theme='stackbridge'] .content__about-img {
  display: none; }

[data-theme='stackbridge'] .content__about:hover .content__about-text {
  background: var(--brand-hover);
  opacity: 1; }

[data-theme='stackbridge'] .content__about:active .content__about-text {
  background: var(--brand-hover);
  opacity: 0.75; }

[data-theme='stackbridge'] .help-doc__section {
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow); }

[data-theme='stackbridge'] .help-doc__section--role {
  border-color: var(--brand);
  border-width: 2px; }

[data-theme='stackbridge'] .block--non-standard-situation {
  border-color: var(--line);
  border-width: var(--panel-border-width);
  background: var(--panel);
  box-shadow: var(--panel-shadow); }
  [data-theme='stackbridge'] .block--non-standard-situation--done {
    border-color: var(--line);
    background: var(--panel); }
  [data-theme='stackbridge'] .block--non-standard-situation .block__head {
    background: var(--panel-2);
    border-bottom-color: var(--line); }
  [data-theme='stackbridge'] .block--non-standard-situation .non-standard-stop-questions {
    background: var(--panel-2);
    border-color: var(--line);
    box-shadow: inset 3px 0 0 var(--brand); }
    [data-theme='stackbridge'] .block--non-standard-situation .non-standard-stop-questions__title {
      color: var(--brand); }
    [data-theme='stackbridge'] .block--non-standard-situation .non-standard-stop-questions__lead {
      color: #000; }
    [data-theme='stackbridge'] .block--non-standard-situation .non-standard-stop-questions__question + [data-theme='stackbridge'] .block--non-standard-situation .non-standard-stop-questions__question {
      border-top-color: var(--line); }
  [data-theme='stackbridge'] .block--non-standard-situation .non-standard-form__details {
    background: var(--panel-2);
    border-color: var(--line);
    box-shadow: inset 3px 0 0 var(--brand); }
  [data-theme='stackbridge'] .block--non-standard-situation .non-standard-form__question + [data-theme='stackbridge'] .block--non-standard-situation .non-standard-form__question {
    border-top-color: var(--line); }
  [data-theme='stackbridge'] .block--non-standard-situation .non-standard-form__legend {
    color: #000; }
  [data-theme='stackbridge'] .block--non-standard-situation .non-standard-form__field {
    color: #000; }
  [data-theme='stackbridge'] .block--non-standard-situation .doc-radio {
    color: #000; }

[data-theme='stackbridge'] .help-doc__subblock {
  border-color: var(--line);
  background: var(--panel-2);
  box-shadow: none; }

[data-theme='stackbridge'] .help-doc__subblock-title {
  background: var(--panel);
  border-bottom-color: var(--line);
  font-family: 'JetBrains Mono', 'Manrope', system-ui, sans-serif;
  font-weight: 500; }

[data-theme='stackbridge'] .pill {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border-color: transparent;
  background: var(--panel-2);
  color: var(--blue-text); }

[data-theme='stackbridge'] .pill--ok,
[data-theme='stackbridge'] .pill--work,
[data-theme='stackbridge'] .pill--warn,
[data-theme='stackbridge'] .pill--danger {
  border-color: transparent; }

[data-theme='stackbridge'] .btn,
[data-theme='stackbridge'] .sidebar__logout {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-sm);
  border-color: transparent;
  background: var(--panel-2);
  color: var(--blue-text);
  box-shadow: none;
  padding: 12px 16px;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }

[data-theme='stackbridge'] .theme-picker__button,
[data-theme='stackbridge'] .theme-picker__option {
  font-family: 'Manrope', system-ui, sans-serif;
  border-radius: var(--radius-sm);
  border-color: transparent;
  background: var(--panel-2);
  color: var(--blue-text);
  box-shadow: none;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }

[data-theme='stackbridge'] .theme-picker__button {
  width: 40px;
  height: 40px; }

[data-theme='stackbridge'] .theme-picker__option {
  width: 36px;
  height: 36px; }

[data-theme='stackbridge'] .btn--small {
  font-size: 14px;
  padding: 8px 12px; }

[data-theme='stackbridge'] .guides-progress {
  font-size: 14px;
  padding: 8px 12px; }

[data-theme='stackbridge'] .block__head-actions .pill,
[data-theme='stackbridge'] .content__header-actions .pill,
[data-theme='stackbridge'] .mentor-call-history-detail__head-actions .pill,
[data-theme='stackbridge'] .stack-list__actions .pill,
[data-theme='stackbridge'] .scheduled-call-card__session .pill,
[data-theme='stackbridge'] .scheduled-call-card__actions .pill,
[data-theme='stackbridge'] .staff-messages-block__head-status,
[data-theme='stackbridge'] .staff-messages-block__head > .pill {
  font-size: 14px;
  padding: 8px 12px; }

[data-theme='stackbridge'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='stackbridge'] .theme-picker__button:hover,
[data-theme='stackbridge'] .theme-picker__option:hover,
[data-theme='stackbridge'] .sidebar__logout:hover {
  background: var(--panel-2);
  opacity: 0.8;
  box-shadow: none;
  color: var(--blue-text); }

[data-theme='stackbridge'] .btn:active:not(:disabled):not([disabled]),
[data-theme='stackbridge'] .theme-picker__button:active,
[data-theme='stackbridge'] .theme-picker__option:active {
  transform: none;
  box-shadow: none;
  opacity: 0.75; }

[data-theme='stackbridge'] .btn:disabled,
[data-theme='stackbridge'] .btn[disabled] {
  opacity: 0.4;
  color: var(--muted); }

[data-theme='stackbridge'] .btn--primary {
  background: var(--brand);
  background-image: none;
  border-color: transparent;
  color: var(--brand-text-on);
  box-shadow: none; }

[data-theme='stackbridge'] .btn--primary:hover:not(:disabled):not([disabled]) {
  background: var(--brand-hover);
  background-image: none;
  border-color: transparent;
  color: var(--brand-text-on);
  box-shadow: none;
  opacity: 1; }

[data-theme='stackbridge'] .btn--primary:active:not(:disabled):not([disabled]) {
  background: var(--brand-hover);
  box-shadow: none; }

[data-theme='stackbridge'] .btn--primary:disabled,
[data-theme='stackbridge'] .btn--primary[disabled] {
  background: var(--brand);
  background-image: none;
  color: var(--brand-text-on);
  opacity: 0.4; }

[data-theme='stackbridge'] .btn--ghost {
  background: var(--panel-2);
  color: var(--blue-text);
  border-color: transparent;
  box-shadow: none; }

[data-theme='stackbridge'] .btn--ghost:hover:not(:disabled):not([disabled]) {
  background: var(--panel-2);
  opacity: 0.8;
  color: var(--blue-text); }

[data-theme='stackbridge'] .btn--danger {
  background: var(--danger);
  background-image: none;
  border-color: var(--btn-danger-border);
  color: var(--brand-text-on);
  box-shadow: none; }
  [data-theme='stackbridge'] .btn--danger:hover:not(:disabled):not([disabled]) {
    background: var(--danger-hover);
    background-image: none;
    border-color: var(--danger-hover);
    color: var(--brand-text-on);
    box-shadow: none;
    opacity: 1; }
  [data-theme='stackbridge'] .btn--danger:active:not(:disabled):not([disabled]) {
    background: var(--danger-hover);
    box-shadow: none; }

[data-theme='stackbridge'] .theme-picker__menu {
  border-color: var(--line);
  box-shadow: var(--panel-shadow); }

[data-theme='stackbridge'] .theme-picker__option--active {
  display: inline-flex;
  border-color: rgba(var(--brand-rgb), 0.55);
  background: var(--blue-soft); }

[data-theme='stackbridge'] .input:focus,
[data-theme='stackbridge'] .form-group input:focus,
[data-theme='stackbridge'] .form-group textarea:focus,
[data-theme='stackbridge'] .form-group select:focus,
[data-theme='stackbridge'] .auth-form input:focus,
[data-theme='stackbridge'] .doc-upload-form__url-input:focus,
[data-theme='stackbridge'] .chat__input:focus,
[data-theme='stackbridge'] .non-standard-form textarea:focus,
[data-theme='stackbridge'] .non-standard-form__date-input:focus,
[data-theme='stackbridge'] .call-calendar__date-input:focus,
[data-theme='stackbridge'] select:focus,
[data-theme='stackbridge'] textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18); }

[data-theme='stackbridge'] .deadline-glyph__img {
  display: none; }

[data-theme='stackbridge'] .deadline-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--brand);
  color: var(--brand-text-on);
  font-family: 'JetBrains Mono', 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }

[data-theme='stackbridge'] .my-developers-deadline__details-btn,
[data-theme='stackbridge'] .my-developers-deadline__extend-btn {
  border-radius: var(--radius-sm);
  filter: none;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }
  [data-theme='stackbridge'] .my-developers-deadline__details-btn:hover,
  [data-theme='stackbridge'] .my-developers-deadline__extend-btn:hover {
    transform: none;
    filter: none;
    opacity: 1; }
    [data-theme='stackbridge'] .my-developers-deadline__details-btn:hover .deadline-glyph,
    [data-theme='stackbridge'] .my-developers-deadline__extend-btn:hover .deadline-glyph {
      background: var(--brand-hover);
      border-color: transparent;
      color: var(--brand-text-on);
      opacity: 1; }
  [data-theme='stackbridge'] .my-developers-deadline__details-btn:active,
  [data-theme='stackbridge'] .my-developers-deadline__extend-btn:active {
    transform: none;
    opacity: 1; }
    [data-theme='stackbridge'] .my-developers-deadline__details-btn:active .deadline-glyph,
    [data-theme='stackbridge'] .my-developers-deadline__extend-btn:active .deadline-glyph {
      background: var(--brand-hover);
      opacity: 0.75; }

[data-theme='soft'] .sidebar {
  border-right: none;
  background: var(--bg);
  box-shadow: 6px 0 16px rgba(163, 177, 198, 0.35); }

[data-theme='soft'] .sidebar__brand,
[data-theme='soft'] .sidebar__user {
  border-bottom: none; }

[data-theme='soft'] .sidebar__logout {
  border-color: transparent;
  background: var(--bg);
  box-shadow: var(--btn-shadow);
  transition: box-shadow 0.2s ease, transform 0.15s ease, color 0.15s ease; }
  [data-theme='soft'] .sidebar__logout:hover {
    background: var(--bg);
    box-shadow: var(--btn-shadow-active); }
  [data-theme='soft'] .sidebar__logout:active {
    transform: scale(0.97);
    box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .sidebar__nav {
  gap: 8px; }

[data-theme='soft'] .sidebar__link {
  background: var(--bg);
  color: var(--muted);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--btn-shadow);
  transition: box-shadow 0.2s ease, color 0.15s ease, transform 0.15s ease; }
  [data-theme='soft'] .sidebar__link:hover {
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--btn-shadow-active); }
  [data-theme='soft'] .sidebar__link--active {
    background: var(--bg);
    color: var(--blue-text);
    font-weight: 600;
    box-shadow: var(--btn-shadow-active); }
    [data-theme='soft'] .sidebar__link--active:hover {
      box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .sidebar__close {
  border-color: transparent;
  background: var(--bg);
  box-shadow: var(--btn-shadow); }
  [data-theme='soft'] .sidebar__close:hover {
    background: var(--bg);
    box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .content__about {
  background: var(--bg);
  border: none;
  box-shadow: var(--btn-shadow); }
  [data-theme='soft'] .content__about:hover {
    background: var(--bg);
    box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .help-doc__section {
  border: none;
  box-shadow: var(--panel-shadow); }

[data-theme='soft'] .help-doc__section--role {
  border: none;
  box-shadow: var(--panel-shadow); }

[data-theme='soft'] .help-doc__subblock {
  border: none;
  background: var(--bg);
  box-shadow: var(--btn-shadow); }

[data-theme='soft'] .help-doc__subblock-title {
  border-bottom: none;
  background: var(--bg);
  box-shadow: inset 0 -1px 0 rgba(163, 177, 198, 0.35); }

[data-theme='soft'] .input,
[data-theme='soft'] .form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='soft'] .form-group textarea,
[data-theme='soft'] .form-group select,
[data-theme='soft'] .auth-form input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='soft'] .doc-upload-form__url-input,
[data-theme='soft'] .chat__input,
[data-theme='soft'] select,
[data-theme='soft'] textarea {
  border: none;
  background: var(--bg-elev);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--btn-shadow-active);
  transition: box-shadow 0.2s ease; }

[data-theme='soft'] .input:focus,
[data-theme='soft'] .form-group input:focus,
[data-theme='soft'] .form-group textarea:focus,
[data-theme='soft'] .form-group select:focus,
[data-theme='soft'] .auth-form input:focus,
[data-theme='soft'] .doc-upload-form__url-input:focus,
[data-theme='soft'] .chat__input:focus,
[data-theme='soft'] .non-standard-form textarea:focus,
[data-theme='soft'] .non-standard-form__date-input:focus,
[data-theme='soft'] .call-calendar__date-input:focus,
[data-theme='soft'] select:focus,
[data-theme='soft'] textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.28), var(--btn-shadow); }

[data-theme='soft'] .btn,
[data-theme='soft'] .theme-picker__button,
[data-theme='soft'] .theme-picker__option,
[data-theme='soft'] .content__about {
  border-color: transparent;
  transition: box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease; }

[data-theme='soft'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='soft'] .theme-picker__button:hover,
[data-theme='soft'] .theme-picker__option:hover,
[data-theme='soft'] .content__about:hover {
  box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .btn:active:not(:disabled):not([disabled]),
[data-theme='soft'] .theme-picker__button:active,
[data-theme='soft'] .theme-picker__option:active,
[data-theme='soft'] .content__about:active {
  transform: scale(0.97);
  box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .theme-picker__menu {
  border-width: 0;
  box-shadow: var(--btn-shadow); }

[data-theme='soft'] .btn--primary {
  background-image: none;
  color: var(--brand-text-on); }

[data-theme='soft'] .btn--primary:hover:not(:disabled):not([disabled]) {
  background: var(--brand-hover);
  box-shadow: var(--btn-shadow-active); }

[data-theme='soft'] .btn--danger {
  background-image: none; }

[data-theme='light'] .btn,
[data-theme='light'] .theme-picker__button,
[data-theme='light'] .theme-picker__option,
[data-theme='light'] .content__about,
[data-theme='dark'] .btn,
[data-theme='dark'] .theme-picker__button,
[data-theme='dark'] .theme-picker__option,
[data-theme='dark'] .content__about {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; }

[data-theme='light'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='light'] .theme-picker__button:hover,
[data-theme='light'] .theme-picker__option:hover,
[data-theme='light'] .content__about:hover,
[data-theme='dark'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='dark'] .theme-picker__button:hover,
[data-theme='dark'] .theme-picker__option:hover,
[data-theme='dark'] .content__about:hover {
  transform: translateY(-1px); }

[data-theme='light'] .btn:active:not(:disabled):not([disabled]),
[data-theme='light'] .theme-picker__button:active,
[data-theme='light'] .theme-picker__option:active,
[data-theme='light'] .content__about:active,
[data-theme='dark'] .btn:active:not(:disabled):not([disabled]),
[data-theme='dark'] .theme-picker__button:active,
[data-theme='dark'] .theme-picker__option:active,
[data-theme='dark'] .content__about:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--btn-shadow-active); }

[data-theme='light'] .input,
[data-theme='light'] .form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='light'] .form-group textarea,
[data-theme='light'] .form-group select,
[data-theme='light'] .auth-form input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='light'] .doc-upload-form__url-input,
[data-theme='light'] .chat__input,
[data-theme='light'] select,
[data-theme='light'] textarea,
[data-theme='dark'] .input,
[data-theme='dark'] .form-group input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='dark'] .form-group textarea,
[data-theme='dark'] .form-group select,
[data-theme='dark'] .auth-form input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='hidden']),
[data-theme='dark'] .doc-upload-form__url-input,
[data-theme='dark'] .chat__input,
[data-theme='dark'] select,
[data-theme='dark'] textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }

[data-theme='light'] .input:focus,
[data-theme='light'] .form-group input:focus,
[data-theme='light'] .form-group textarea:focus,
[data-theme='light'] .form-group select:focus,
[data-theme='light'] .auth-form input:focus,
[data-theme='light'] .doc-upload-form__url-input:focus,
[data-theme='light'] .chat__input:focus,
[data-theme='light'] .non-standard-form textarea:focus,
[data-theme='light'] .non-standard-form__date-input:focus,
[data-theme='light'] .call-calendar__date-input:focus,
[data-theme='light'] select:focus,
[data-theme='light'] textarea:focus,
[data-theme='dark'] .input:focus,
[data-theme='dark'] .form-group input:focus,
[data-theme='dark'] .form-group textarea:focus,
[data-theme='dark'] .form-group select:focus,
[data-theme='dark'] .auth-form input:focus,
[data-theme='dark'] .doc-upload-form__url-input:focus,
[data-theme='dark'] .chat__input:focus,
[data-theme='dark'] .non-standard-form textarea:focus,
[data-theme='dark'] .non-standard-form__date-input:focus,
[data-theme='dark'] .call-calendar__date-input:focus,
[data-theme='dark'] select:focus,
[data-theme='dark'] textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.55); }

[data-theme='light'] .input:focus,
[data-theme='light'] .form-group input:focus,
[data-theme='light'] .form-group textarea:focus,
[data-theme='light'] .form-group select:focus,
[data-theme='light'] .auth-form input:focus,
[data-theme='light'] .doc-upload-form__url-input:focus,
[data-theme='light'] .chat__input:focus,
[data-theme='light'] .non-standard-form textarea:focus,
[data-theme='light'] .non-standard-form__date-input:focus,
[data-theme='light'] .call-calendar__date-input:focus,
[data-theme='light'] select:focus,
[data-theme='light'] textarea:focus {
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18), var(--btn-shadow); }

[data-theme='light'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='light'] .theme-picker__button:hover,
[data-theme='light'] .theme-picker__option:hover,
[data-theme='light'] .content__about:hover {
  box-shadow: 0 4px 10px rgba(26, 29, 36, 0.12), var(--btn-shadow); }

[data-theme='dark'] .input:focus,
[data-theme='dark'] .form-group input:focus,
[data-theme='dark'] .form-group textarea:focus,
[data-theme='dark'] .form-group select:focus,
[data-theme='dark'] .auth-form input:focus,
[data-theme='dark'] .doc-upload-form__url-input:focus,
[data-theme='dark'] .chat__input:focus,
[data-theme='dark'] .non-standard-form textarea:focus,
[data-theme='dark'] .non-standard-form__date-input:focus,
[data-theme='dark'] .call-calendar__date-input:focus,
[data-theme='dark'] select:focus,
[data-theme='dark'] textarea:focus {
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04); }

[data-theme='dark'] .btn:hover:not(:disabled):not([disabled]),
[data-theme='dark'] .theme-picker__button:hover,
[data-theme='dark'] .theme-picker__option:hover,
[data-theme='dark'] .content__about:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), var(--btn-shadow); }

html .air-datepicker {
  --adp-font-family: var(--font-family);
  --adp-background-color: var(--panel);
  --adp-background-color-hover: var(--panel-hover);
  --adp-background-color-active: var(--panel-2);
  --adp-color: var(--text);
  --adp-color-secondary: var(--muted);
  --adp-accent-color: var(--brand);
  --adp-color-current-date: var(--brand);
  --adp-border-color: var(--line);
  --adp-border-color-inner: var(--line-soft);
  --adp-border-radius: var(--radius-sm);
  --adp-day-name-color: var(--brand);
  --adp-day-name-color-hover: var(--brand-hover);
  --adp-nav-arrow-color: var(--brand);
  --adp-nav-color-secondary: var(--muted);
  --adp-cell-background-color-selected: var(--brand);
  --adp-cell-background-color-selected-hover: var(--brand-hover);
  --adp-btn-color: var(--brand);
  --adp-btn-color-hover: var(--brand-hover);
  --adp-background-color-in-range: rgba(var(--brand-rgb), 0.12);
  --adp-background-color-in-range-focused: rgba(var(--brand-rgb), 0.2);
  --adp-background-color-selected-other-month: rgba(var(--brand-rgb), 0.55);
  --adp-background-color-selected-other-month-focused: rgba(var(--brand-rgb), 0.7);
  --adp-cell-background-color-in-range: rgba(var(--brand-rgb), 0.12);
  --adp-cell-background-color-in-range-hover: rgba(var(--brand-rgb), 0.2);
  box-shadow: var(--panel-shadow); }

html[data-theme='dark'] .air-datepicker {
  --adp-color-other-month: #3a4150;
  --adp-color-other-month-hover: #5c6578;
  --adp-color-disabled: #5c6578; }

html[data-theme='soft'] .air-datepicker {
  --adp-border-radius: var(--radius-sm);
  box-shadow: var(--btn-shadow); }

html[data-theme='stackbridge'] .air-datepicker {
  --adp-font-family: 'Manrope', system-ui, sans-serif;
  --adp-border-radius: 6px; }

@media (max-width: 1100px) {
  .management-overview-panel__head--actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px; }
    .management-overview-panel__head--actions > div:first-child {
      flex: 0 0 auto;
      width: 100%;
      min-width: 0; }
    .management-overview-panel__head--actions .block__head-actions {
      width: auto;
      max-width: 100%;
      justify-content: flex-start; }
  .management-widget-row--filters {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip; }
    .management-widget-row--filters > .management-widget {
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box; }
  .management-select {
    overflow: visible; }
    .management-select[open] .management-select__panel {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 4px);
      bottom: auto;
      z-index: 40;
      width: auto;
      min-width: 0;
      max-width: none;
      max-height: 220px;
      margin-top: 0;
      box-sizing: border-box;
      overflow-x: hidden; }
  .management-select[open]::before {
    display: none; }
  .specialties-team__table-wrap {
    max-width: 100%;
    min-width: 0; }
  .specialties-team__table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%; }
    .specialties-team__table th,
    .specialties-team__table td {
      padding: 8px 8px;
      min-width: 0; }
    .specialties-team__table th:nth-child(1),
    .specialties-team__table td:nth-child(1) {
      width: 30%; }
    .specialties-team__table th:nth-child(2),
    .specialties-team__table td:nth-child(2) {
      width: 50%; }
    .specialties-team__table th:nth-child(3),
    .specialties-team__table td:nth-child(3) {
      width: 20%;
      white-space: nowrap;
      position: relative;
      z-index: 50; }
  .specialties-team__mentor-form {
    min-width: 0;
    width: 100%;
    max-width: 100%; }
    .specialties-team__mentor-form select {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box; } }

@media (max-width: 960px) {
  .app {
    grid-template-columns: 1fr; }
  .content:has(.chat-page) {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden; }
    .content:has(.chat-page) .content__header {
      flex-shrink: 0; }
    .content:has(.chat-page) .content__body {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding-bottom: 8px; }
  .content:has(.chat-page.chat-page--student) .content__description {
    display: none; }
  .chat-page {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0; }
    .chat-page__list, .chat-page__thread {
      flex: 1 1 auto;
      min-height: 0;
      max-height: none; }
    .chat-page__thread-active {
      min-height: 0;
      height: 100%;
      padding: 10px;
      gap: 8px;
      display: flex;
      flex-direction: column; }
    .chat-page .chat__context, .chat-page__context {
      max-height: 30vh;
      flex-shrink: 1;
      min-height: 0; }
    .chat-page__messages {
      flex: 1 1 auto;
      min-height: 80px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch; }
    .chat-page__back.btn {
      display: inline-flex; }
    .chat-page:not(.chat-page--thread-open) .chat-page__thread {
      display: none; }
    .chat-page.chat-page--thread-open .chat-page__list {
      display: none; }
    .chat-page .chat__composer {
      flex-shrink: 0;
      padding-top: 4px;
      background: inherit; }
    .chat-page .chat__input {
      min-height: 44px;
      max-height: 72px; }
    .chat-page .chat__send {
      align-self: stretch;
      width: 100%;
      justify-content: center; }
    .chat-page--student {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-height: 0;
      overflow: hidden; }
      .chat-page--student .chat {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0 !important;
        height: 100% !important;
        max-height: none !important;
        padding: 10px;
        overflow: hidden; }
      .chat-page--student .chat__head {
        flex-shrink: 0; }
      .chat-page--student .chat__tabs {
        flex-wrap: wrap; }
      .chat-page--student .chat__body {
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 8px;
        overflow: hidden; }
      .chat-page--student .chat__thread {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden; }
      .chat-page--student .chat__messages {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; }
      .chat-page--student .chat__composer {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 8px;
        padding-bottom: env(safe-area-inset-bottom, 0);
        background: inherit; }
      .chat-page--student .chat__input {
        min-height: 44px;
        max-height: 72px;
        resize: none; }
      .chat-page--student .chat__send {
        align-self: stretch;
        width: 100%;
        min-height: 44px;
        justify-content: center; }
  .sidebar-menu-btn {
    display: inline-flex; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 260px;
    max-width: 88vw;
    height: 100vh;
    border-right: 1px solid var(--line);
    border-bottom: none;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: none; }
    .sidebar--open {
      transform: translateX(0);
      box-shadow: 8px 0 24px rgba(0, 0, 0, 0.28); }
  .sidebar__close {
    display: inline-flex; }
  .sidebar-backdrop--visible {
    display: block; }
  .content {
    min-height: auto;
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px; }
  .content__header {
    padding-left: 56px;
    padding-right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px; }
    .content__header > :first-child {
      min-width: 0;
      width: 100%;
      order: 1; }
    .content__header > .theme-picker {
      order: 3;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      align-self: stretch;
      justify-content: flex-end;
      margin-top: 4px;
      margin-bottom: 0;
      gap: 16px;
      overflow: visible; }
    .content__header > .content__header-rail {
      order: 2;
      width: 100%;
      max-width: 100%;
      align-items: stretch;
      margin-left: 0; }
      .content__header > .content__header-rail .student-profile-block--compact {
        max-width: none; }
    .content__header .content__header-intro .theme-picker {
      width: auto;
      max-width: 100%;
      justify-content: flex-start;
      gap: 0; }
    .content__header .theme-picker__button {
      width: 32px;
      height: 32px; }
    .content__header .theme-picker__icon {
      width: 18px;
      height: 18px; }
    .content__header .theme-picker__menu {
      display: flex !important;
      gap: 4px;
      padding: 4px;
      flex-shrink: 1;
      min-width: 0; }
    .content__header .theme-picker__option {
      width: 30px;
      height: 30px; }
  .content__header-actions {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px; }
    .content__header-actions .theme-picker {
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      order: -1;
      justify-content: flex-end;
      overflow: visible; }
  .content:has(.chat-page) .content__header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 4px;
    padding-left: 56px;
    padding-right: 12px; }
    .content:has(.chat-page) .content__header > :first-child {
      width: auto;
      max-width: calc(100% - 130px);
      flex: 0 0 auto;
      align-self: center;
      order: 0; }
  .content:has(.chat-page) .content__header-intro {
    flex: 0 0 auto;
    width: auto;
    max-width: calc(100% - 130px);
    height: fit-content;
    align-self: center;
    order: 0; }
  .content:has(.chat-page) .content__title {
    font-size: 18px;
    line-height: 1.25; }
  .content:has(.chat-page) .content__description {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.3; }
  .content:has(.chat-page) .content__header-actions {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    order: 0;
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    position: relative;
    z-index: 2; }
  .block__head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0; }
    .block__head > div:first-child {
      min-width: 0;
      width: 100%; }
  .block__title {
    flex-wrap: wrap;
    min-width: 0; }
  .block__subtitle {
    margin-top: 6px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word; }
  .block__badges,
  .block__head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0; }
  .block__head > .pill,
  .block__badges .pill,
  .block__head-actions .pill {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    height: auto;
    line-height: 1.35; }
  .stage-deadline-settings {
    min-width: 0;
    width: 100%; }
    .stage-deadline-settings__row {
      flex-direction: column;
      align-items: stretch;
      gap: 10px; }
    .stage-deadline-settings__label {
      flex: 0 0 auto;
      width: 100%; }
    .stage-deadline-settings__field {
      width: 100%;
      justify-content: flex-start; }
      .stage-deadline-settings__field .input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: 120px; }
    .stage-deadline-settings__row .btn {
      width: 100%;
      justify-content: center; }
  .stack-list__item:not(.stack-list__item--column) {
    flex-direction: column;
    align-items: stretch; }
  .stack-list__row {
    flex-direction: column;
    align-items: stretch; }
  .stack-list__main {
    flex: 0 0 auto;
    width: 100%; }
  .stack-list__actions {
    width: 100%;
    flex-shrink: 0; }
    .stack-list__actions .btn,
    .stack-list__actions form {
      flex: 1 1 auto;
      min-width: 0; }
    .stack-list__actions .btn {
      justify-content: center;
      white-space: normal;
      height: auto;
      min-height: 36px; }
    .stack-list__actions form {
      display: flex; }
    .stack-list__actions form .btn {
      width: 100%; }
    .stack-list__actions .pill {
      max-width: 100%;
      white-space: normal;
      height: auto;
      line-height: 1.35; }
  .block--soft-legend .soft-legend-progress__head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px; }
  .block--soft-legend .soft-legend-progress__metrics {
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    gap: 8px; }
  .block--soft-legend .soft-legend-progress__value {
    font-size: 18px; }
  .block--soft-legend .soft-legend-metric {
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0; }
  .soft-legend-score--hero {
    min-width: 0;
    font-size: 20px;
    padding: 6px 12px; }
  .management-widget-row {
    grid-template-columns: 1fr; }
    .management-widget-row--double {
      grid-template-columns: 1fr; }
    .management-widget-row--filters {
      display: flex;
      min-width: 0;
      max-width: 100%; }
      .management-widget-row--filters > .kpi,
      .management-widget-row--filters > .management-widget {
        flex-basis: 100%;
        min-width: 0;
        max-width: 100%; }
      .management-widget-row--filters .management-widget__control {
        max-width: 100%;
        min-width: 0; }
  .management-overview-grid {
    grid-template-columns: 1fr; }
  .management-stage-bar {
    grid-template-columns: 1fr;
    gap: 6px; }
  .doc-review__layout,
  .doc-review__layout--mentor {
    grid-template-columns: 1fr; }
  .doc-review__layout--mentor .doc-review__panel {
    grid-column: auto; }
  .staff-messages-block__head {
    grid-template-columns: 1fr;
    gap: 8px; }
  .staff-messages-block__head-title,
  .staff-messages-block__head-status,
  .staff-messages-block__head > .pill,
  .staff-messages-block__chat-btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    max-width: none; }
  .staff-messages-block__chat-btn {
    width: 100%; }
  .my-developers-table-wrap {
    container-type: inline-size;
    container-name: my-developers-table;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  .my-developers-table {
    width: max-content;
    min-width: 100%;
    table-layout: fixed; }
    .my-developers-table th,
    .my-developers-table td {
      box-sizing: border-box;
      width: 50cqw;
      min-width: 50cqw;
      max-width: 50cqw;
      overflow: hidden;
      vertical-align: middle; }
    .my-developers-table th {
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word; }
    .my-developers-table td {
      white-space: normal; }
    .my-developers-table th:first-child,
    .my-developers-table td:first-child {
      position: sticky;
      left: 0;
      z-index: 2;
      background: var(--panel);
      box-shadow: 4px 0 8px rgba(0, 0, 0, 0.12); }
    .my-developers-table th:first-child {
      background: var(--panel-2);
      z-index: 3; }
    .my-developers-table__person, .my-developers-table__name, .my-developers-table__meta {
      max-width: 100%;
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal; }
    .my-developers-table__person {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      overflow: hidden; }
    .my-developers-table .pill {
      max-width: 100%;
      box-sizing: border-box;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
      height: auto;
      min-height: 0;
      line-height: 1.3; }
    .my-developers-table a {
      display: inline-block;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word; }
    .my-developers-table .my-developers-deadline {
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
      overflow: hidden; }
    .my-developers-table .my-developers-deadline__text,
    .my-developers-table .my-developers-deadline__label,
    .my-developers-table .my-developers-deadline__meta {
      max-width: 100%;
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word; }
    .my-developers-table .my-developers__specialty {
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere; }
  .call-schedule-form__field {
    max-width: none; }
  .scheduled-call-list,
  .scheduled-call-list--staff {
    grid-template-columns: 1fr; }
  .specialties-team__stats .kpi {
    max-width: none;
    min-width: 0;
    flex: 1 1 100%; }
  .specialties-team__table-wrap {
    overflow-x: visible; }
  .specialties-team__table {
    table-layout: auto; }
    .specialties-team__table thead {
      display: none; }
    .specialties-team__table tbody,
    .specialties-team__table tr,
    .specialties-team__table td {
      display: block;
      width: 100%;
      max-width: 100%; }
    .specialties-team__table tr {
      margin-bottom: 12px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
      box-sizing: border-box; }
    .specialties-team__table td {
      padding: 6px 0;
      border-bottom: none;
      width: 100% !important; }
    .specialties-team__table td:first-child {
      font-weight: 600;
      margin-bottom: 4px;
      overflow-wrap: anywhere;
      word-break: break-word; }
    .specialties-team__table td:last-child {
      padding-top: 10px; }
  .specialties-team__mentor-form {
    min-width: 0;
    width: 100%; }
  .specialties-team__table td:last-child .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center; }
  .mentor-call-media-row {
    grid-template-columns: 1fr; }
  .kpi {
    min-width: 0;
    padding: 24px;
    overflow: hidden; }
    .kpi__label {
      font-size: 11px; }
    .kpi__value {
      font-size: 20px;
      min-height: 0;
      padding: 0 2px; }
      .kpi__value--medium {
        font-size: 15px; }
      .kpi__value--small {
        font-size: 14px; }
    .kpi__detail {
      min-height: 0; }
  .scheduled-call-card {
    overflow: hidden; }
    .scheduled-call-card--large {
      padding: 14px 12px; }
    .scheduled-call-card__actions .btn {
      max-width: 100%;
      white-space: normal;
      height: auto;
      min-height: 36px; }
  .my-developers-table__person, .my-developers-table__name, .my-developers-table__meta {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal; }
  .my-developers__specialty {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere; }
  .my-developers-deadline {
    flex-wrap: wrap; }
    .my-developers-deadline__actions {
      flex-shrink: 0; }
  .call-schedule-form {
    min-width: 0;
    max-width: 100%;
    overflow: hidden; }
    .call-schedule-form__field {
      max-width: none;
      min-width: 0; }
    .call-schedule-form__student {
      overflow-wrap: anywhere;
      word-break: break-word; }
  .call-calendar {
    min-width: 0;
    max-width: 100%; }
  .review-queue__item {
    flex-direction: column;
    align-items: stretch;
    min-width: 0; }
  .review-queue__actions {
    width: 100%; }
    .review-queue__actions .btn {
      width: 100%;
      justify-content: center;
      white-space: normal;
      height: auto;
      min-height: 36px; } }

@media (max-width: 800px) {
  .kpi-board,
  .kpi-board:has(.kpi-row--triple),
  .kpi-board:has(> .kpi-row--double):not(:has(.kpi-row--triple)),
  .kpi-board:not(:has(.kpi-row--triple)):not(:has(> .kpi-row--double)) {
    grid-template-columns: 1fr; }
  .kpi-row,
  .kpi-row--double,
  .kpi-row--triple {
    display: contents; } }

@media (max-width: 480px) {
  .kpi__value {
    font-size: 18px; }
    .kpi__value--medium {
      font-size: 14px; }
    .kpi__value--small {
      font-size: 13px; } }

/*# sourceMappingURL=styles.css.map */