/* ========== TOKENS / VARIABLES ========== */
:root{--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --color-bg: #f6f7f9;
  --color-bg-elevated: #eff2f6;
  --color-bg-soft: #fafbfc;
  --color-surface: #ffffff;
  --color-surface-muted: #f8fafc;
  --color-surface-strong: #eef2f7;

  --color-text: #1f2937;
  --color-text-soft: #334155;
  --color-text-muted: #64748b;
  --color-text-faint: #94a3b8;

  --color-border: #dbe3ee;
  --color-border-soft: #e8edf4;
  --color-border-strong: #cbd5e1;

  --color-primary: #4f6fdc;
  --color-primary-hover: #3f5fcf;
  --color-primary-soft: #eef2ff;
  --color-primary-soft-strong: #e0e7ff;

  --color-success: #22a06b;
  --color-success-soft: #edf9f3;
  --color-warning: #c9891a;
  --color-warning-soft: #fff7e8;
  --color-danger: #d14343;
  --color-danger-soft: #fff1f1;

  --color-overlay: rgba(15, 23, 42, 0.38);
  --color-shadow-xs: rgba(15, 23, 42, 0.02);
  --color-shadow-sm: rgba(15, 23, 42, 0.05);
  --color-shadow-md: rgba(15, 23, 42, 0.08);
  --color-shadow-lg: rgba(15, 23, 42, 0.12);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px var(--color-shadow-xs);
  --shadow-sm: 0 4px 12px var(--color-shadow-sm);
  --shadow-md: 0 12px 28px var(--color-shadow-md);
  --shadow-lg: 0 22px 56px var(--color-shadow-lg);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 42px;

  --line-xs: 1.3;
  --line-sm: 1.4;
  --line-md: 1.5;
  --line-lg: 1.6;
  --line-xl: 1.16;

  --control-xs: 34px;
  --control-sm: 40px;
  --control-md: 48px;
  --control-lg: 54px;
  --control-xl: 60px;

  --calendar-slot-height: 42px;
  --calendar-header-height: 62px;
  --calendar-header-height-mobile: 54px;
  --calendar-sticky-z: 20;
  --calendar-sticky-z-time: 21;
  --calendar-header-bg: rgba(248, 245, 240, 0.98);
  --calendar-header-bg-time: rgba(248, 245, 240, 0.99);
  --calendar-header-bg-today: rgba(238, 245, 252, 0.99);
  --calendar-header-shadow: 0 1px 0 var(--cal-grid-line), 0 8px 18px rgba(57, 45, 32, 0.04);

  --container: 1240px;
  --content: 980px;

  --focus-ring: 0 0 0 4px rgba(79, 111, 220, 0.14);

  --cal-shell-border: #dbe3ee;
  --cal-grid-bg: #ffffff;
  --cal-grid-soft: #f8fafc;
  --cal-grid-cell: #ffffff;
  --cal-grid-line: #e3e0d9;
  --cal-grid-line-soft: #edf2f7;
  --cal-chip-bg: #f8fafc;
  --cal-chip-bg-hover: #eef2f7;
  --cal-muted: #64748b;
  --cal-success: #dff3e8;
  --cal-success-soft: #edf9f3;
  --cal-danger-soft: #fff1f1;
  --cal-busy-a: #cfd8e3;
  --cal-busy-b: #f8fafc;
  --cal-booked: #8fb4ff;
  --cal-selected: #e8efff;
  --cal-event-primary: #4f6fdc;
  --cal-event-secondary: #596579;
  --cal-busy-block-bg: rgba(226, 232, 240, 0.7);
  --cal-busy-block-border: rgba(148, 163, 184, 0.3);
  --cal-busy-block-text: #475569;
  --cal-busy-block-time: #64748b;
  --cal-busy-block-stripe: rgba(255, 255, 255, 0.35);

  --calendar-cursor-clickable: pointer;
  --calendar-cursor-disabled: not-allowed;
  --calendar-cursor-static: default;

  --calendar-action-ring: inset 0 0 0 1px #94d9ae;
  --calendar-action-ring-strong: inset 0 0 0 1px rgba(70, 111, 27, 0.18), 0 0 0 1px rgba(149, 205, 86, 0.12);
  --calendar-action-ring-event: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(57, 45, 32, 0.12);}*, *::before, *::after{box-sizing: border-box;}html{font-size: 16px;
  -webkit-text-size-adjust: 100%;}body{margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--line-lg);
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;}.app-shell--hidden{opacity: 0;
  visibility: hidden;}.app-shell--visible{opacity: 1;
  visibility: visible;
  transition: opacity .16s ease;}.app-loader{position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  opacity: 1;
  visibility: visible;
  transition: opacity .16s ease, visibility .16s ease;}.app-loader.is-hidden{opacity: 0;
  visibility: hidden;
  pointer-events: none;}.app-loader__brand{font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  opacity: .6;}button, input, select, textarea{font: inherit;
  color: inherit;}textarea#tc-group-description {height: 105px;}button{padding: 0;
  border: 0;
  background: none;
  cursor: pointer;}a{color: inherit;
  text-decoration: none;}img, svg{display: block;
  max-width: 100%;}ul, ol{margin: 0;
  padding: 0;
  list-style: none;}h1, h2, h3, h4, h5, h6, p{margin: 0;}table{border-collapse: collapse;
  border-spacing: 0;}input::placeholder, textarea::placeholder{color: var(--color-text-faint);}:focus-visible{outline: none;}.is-hidden{display: none !important;}.ui-container{width: 100%;
  max-width: calc(var(--container) + var(--space-6) * 2);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);}.ui-page{padding-top: var(--space-8);
  padding-bottom: var(--space-10);}.ui-page__head{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);}.ui-page__head-meta{display: grid;
  gap: var(--space-2);}.ui-section{margin-bottom: var(--space-8);}.ui-stack{display: grid;
  gap: var(--space-4);}.ui-stack--xs{gap: var(--space-2);}.ui-stack--sm{gap: var(--space-3);}.ui-stack--lg{gap: var(--space-6);}.ui-grid{display: grid;
  gap: var(--space-4);}.ui-grid--2{grid-template-columns: repeat(2, minmax(0, 1fr));}.ui-grid--3{grid-template-columns: repeat(3, minmax(0, 1fr));}.ui-row{display: flex;
  align-items: center;
  gap: var(--space-3);}.ui-row--between{justify-content: space-between;}.ui-actions{display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);}.ui-h1{font-size: var(--text-3xl);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);}.ui-h2{font-size: var(--text-xl);
  line-height: var(--line-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);}.ui-h3{font-size: var(--text-lg);
  line-height: 1.28;
  font-weight: 700;
  color: var(--color-text);}.ui-text{font-size: var(--text-md);
  line-height: var(--line-lg);
  color: var(--color-text-soft);}.ui-text-sm{font-size: var(--text-sm);
  line-height: var(--line-md);
  color: var(--color-text-soft);}.ui-text-xs{font-size: var(--text-xs);
  line-height: var(--line-sm);
  color: var(--color-text-muted);}.ui-text-muted{font-size: var(--text-sm);
  line-height: var(--line-md);
  color: var(--color-text-muted);}.ui-label{display: inline-block;
  font-size: var(--text-sm);
  line-height: var(--line-sm);
  font-weight: 700;
  color: var(--color-text-soft);}.ui-help{font-size: var(--text-xs);
  line-height: var(--line-sm);
  color: var(--color-text-muted);}.ui-link{color: var(--color-primary);
  font-weight: 700;
  transition: color .18s ease;}.ui-link:hover{color: var(--color-primary-hover);}.ui-card{background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);}.ui-card__body{padding: var(--space-6);}.ui-card__head{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border-soft);}.ui-card__title{font-size: var(--text-lg);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);}.ui-card__text{margin-top: var(--space-1);
  font-size: var(--text-sm);
  line-height: var(--line-md);
  color: var(--color-text-muted);}.ui-btn{display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 0;
  height: var(--control-md);
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: var(--text-sm);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    opacity .18s ease;}.ui-btn:hover{transform: translateY(-1px);}.ui-btn:active{transform: translateY(0);}.ui-btn:focus-visible{box-shadow: var(--focus-ring);}.ui-btn:disabled, .ui-btn.is-disabled{opacity: .58;
  cursor: default;
  pointer-events: none;
  transform: none;}.ui-btn--primary{color: #fff;
  background: var(--color-primary);
  box-shadow: 0 10px 24px rgba(108, 157, 207, 0.2);}.ui-btn--primary:hover{background: var(--color-primary-hover);}.ui-btn--secondary{color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: none;}.ui-btn--secondary:hover{background: var(--color-surface-muted);
  border-color: var(--color-border-strong);}.ui-btn--ghost{color: var(--color-text-muted);
  background: transparent;}.ui-btn--ghost:hover{background: var(--color-surface-muted);
  color: var(--color-text);}.ui-btn--danger{color: #fff;
  background: var(--color-danger);
  box-shadow: 0 10px 24px rgba(215, 101, 88, 0.18);}.ui-btn--danger:hover{background: #c95548;}.ui-btn--sm{height: var(--control-sm);
  padding: 0 14px;}.ui-btn--lg{height: var(--control-lg);
  padding: 0 22px;}.ui-field{display: grid;
  gap: var(--space-2);}.ui-input, .ui-select, .ui-textarea{width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;}.ui-input, .ui-select{height: var(--control-md);
  padding: 0 16px;}.ui-textarea{min-height: 132px;
  padding: 14px 16px;
  resize: vertical;}.ui-input:hover, .ui-select:hover, .ui-textarea:hover{border-color: var(--color-border-strong);}.ui-input:focus, .ui-select:focus, .ui-textarea:focus{outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);}.ui-badge{display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: var(--text-xs);
  line-height: 1;
  font-weight: 700;}.ui-badge--neutral{background: var(--color-bg-soft);
  color: var(--color-text-soft);}.ui-badge--success{background: var(--color-success-soft);
  color: #60913a;}.ui-badge--warning{background: var(--color-warning-soft);
  color: #ba8427;}.ui-table-wrap{overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  box-shadow: none;}.ui-table{width: 100%;
  min-width: 720px;}.ui-table th, .ui-table td{padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: var(--text-sm);}.ui-table th{font-weight: 700;
  color: var(--color-text-muted);
  background: #fcfaf7;}.ui-table td{color: var(--color-text-soft);}.ui-table tbody tr:last-child td{border-bottom: 0;}.ui-table tbody tr:hover td{background: #fdfbf8;}.ui-empty{display: grid;
  gap: var(--space-2);
  padding: var(--space-8);
  text-align: center;
  background: #fcfaf7;
  border: 1px dashed var(--color-border-strong);
  border-radius: 16px;}.ui-empty__title{font-size: var(--text-lg);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);}.ui-empty__text{font-size: var(--text-sm);
  line-height: var(--line-md);
  color: var(--color-text-muted);}.ui-modal-backdrop{position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-overlay);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);}.ui-modal{width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);}.ui-modal__head{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-6);}.ui-modal__body{padding: 0 var(--space-6) var(--space-6);}.ui-modal__foot{display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: 0 var(--space-6) var(--space-6);}.platform-header{position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border-soft);}.platform-header__inner{min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;}.platform-header__brand{display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  transition: opacity .18s ease, transform .18s ease;}.platform-header__brand:hover{opacity: 0.86;}.platform-header__right{display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;}.platform-header__locale-wrap{position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;}.platform-header__locale{min-width: 72px;
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;}.platform-header__locale-wrap::after{content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-52%);
  pointer-events: none;
  font-size: 10px;
  color: var(--color-text-muted);}.platform-header__locale:hover, .platform-header__locale:focus{border-color: var(--color-border-strong);
  background: var(--color-surface-muted);
  outline: none;}.platform-header__domain, .platform-header__login, .platform-header__account-btn{height: 40px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;}.platform-header__domain:hover, .platform-header__login:hover, .platform-header__account-btn:hover{border-color: var(--color-border-strong);
  background: var(--color-surface-muted);}.platform-header__domain:focus, .platform-header__login:focus, .platform-header__account-btn:focus{outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108, 157, 207, 0.14);}.platform-header__domain{display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 0 14px;}.platform-header__domain-text{overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);}.platform-header__domain-icon{flex: 0 0 auto;
  font-size: 13px;
  color: var(--color-text-muted);}.platform-header__login{display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;}.platform-header__account{position: relative;}.platform-header__account-btn{display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 16px;
  cursor: pointer;
  font: inherit;}.platform-header__account-name{max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;}.platform-header__account-arrow{font-size: 12px;
  color: var(--color-text-muted);
  transition: transform .18s ease;}.platform-header__account.is-open .platform-header__account-arrow{transform: rotate(180deg);}.platform-header__menu{position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);}.platform-header__menu-link{width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;}.platform-header__menu-link:hover{background: var(--color-surface-strong);}.platform-header__menu-link--danger{color: #b42318;}.platform-header__menu-link--danger:hover{background: #fef3f2;}.tp-auth-screen, .student-auth-screen{padding: 56px 0 72px;}.tp-auth-wrap, .student-auth-wrap{width: 100%;
  max-width: 560px;
  margin: 0 auto;}.tp-auth-header, .student-auth-header{width: 100%;}.tp-auth-submit, .student-auth-submit{width: 100%;}.tp-auth-footer{display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;}.tp-auth-footer--inline{display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;}.tp-auth-steps{display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;}.tp-auth-steps__item.is-active{background: var(--color-text);}.tp-auth-alert{padding: 14px 15px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  font-size: var(--text-sm);
  line-height: var(--line-md);}.tp-auth-alert--error{background: var(--color-danger-soft);
  border-color: #f1cbc7;
  color: #b54b40;}.tp-auth-alert--success{background: var(--color-success-soft);
  border-color: #d9edc9;
  color: #64963d;}.tp-auth-domain{padding: 18px;
  border: 1px solid var(--color-border-soft);
  border-radius: 22px;
  background: #fcfaf7;}.tp-auth-domain__value{font-size: var(--text-lg);
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;}.dashboard-shell__head{margin-bottom: var(--space-6);}.dashboard-shell__layout{display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;}.dashboard-shell__sidebar{position: sticky;
  top: var(--space-6);}.dashboard-shell__nav{display: grid;
  gap: 10px;}.dashboard-shell__nav-btn{width: 100%;
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  border: 1px solid var(--color-border-soft);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;}.dashboard-shell__nav-btn:hover{background: var(--color-surface-muted);
  border-color: var(--color-border);
  transform: translateY(-1px);}.dashboard-shell__nav-btn:focus-visible{box-shadow: var(--focus-ring);}.dashboard-shell__nav-btn.is-active{background: var(--color-primary-soft);
  border-color: #cfe0f2;
  color: var(--color-primary-hover);
  box-shadow: inset 0 0 0 1px rgba(108, 157, 207, 0.05);}.dashboard-shell__content{min-width: 0;}.dashboard-calendar{width: 100%;}.dashboard-calendar--teacher{display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;}.dashboard-calendar--teacher > .dashboard-calendar__modal{display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  flex: 1 1 auto;}.dashboard-calendar__modal, .dashboard-calendar-modal{background: #fff;}.dashboard-calendar__modal{border: 1px solid var(--cal-shell-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;}.dashboard-calendar__modal-head{display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 72px;
  padding: 0 20px;
  border-bottom: 1px solid var(--color-border-soft);}.dashboard-calendar__modal-head--calendar{display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex: 0 0 auto;}.dashboard-calendar__modal-side{min-width: 48px;
  min-height: 1px;}.dashboard-calendar__modal-side--left{justify-self: start;}.dashboard-calendar__modal-side--right{justify-self: end;}.dashboard-calendar__modal-title-wrap{display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;}.dashboard-calendar__modal-title{margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-text);}.dashboard-calendar__toolbar{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;}.dashboard-calendar__toolbar-left{display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
  flex: 1 1 auto;
  order: 2;}.dashboard-calendar__legend, .dashboard-calendar__range-nav, .dashboard-calendar-modal__foot-actions{display: flex;
  align-items: center;}.dashboard-calendar__legend{gap: 18px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin-left: 0;
  margin-right: auto;
  align-self: flex-start;
  order: 1;}.dashboard-calendar__legend-item{display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cal-muted);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;}.dashboard-calendar__legend-dot{width: 12px;
  height: 12px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid var(--color-border-strong);}.dashboard-calendar__legend-dot.is-available{background: var(--cal-success);
  border-color: var(--cal-success);}.dashboard-calendar__legend-dot.is-unavailable{background: #efebe5;
  border-color: #e2dcd2;}.dashboard-calendar__legend-dot.is-busy{background: repeating-linear-gradient(45deg, var(--cal-busy-a) 0, var(--cal-busy-a) 2px, #f4f1eb 2px, #f4f1eb 6px);
  border-color: var(--cal-busy-a);}.dashboard-calendar__legend-dot.is-booked{background: repeating-linear-gradient(45deg, var(--cal-booked) 0, var(--cal-booked) 2px, #eff8e8 2px, #eff8e8 6px);
  border-color: var(--cal-booked);}.dashboard-calendar__today-chip, .dashboard-calendar__range-arrow{background: var(--cal-chip-bg);
  color: var(--color-text-soft);}.dashboard-calendar__today-chip{height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;}.dashboard-calendar__today-chip:hover, .dashboard-calendar__range-arrow:hover:not(:disabled){background: var(--cal-chip-bg-hover);}.dashboard-calendar__today-chip-icon{width: 16px;
  height: 16px;}.dashboard-calendar__range-nav{display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: auto;
  max-width: 100%;
  flex-wrap: nowrap;}.dashboard-calendar__range-shell{display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;}.dashboard-calendar__range-center{display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;}.dashboard-calendar__range-arrow{width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
  justify-content: center;}.dashboard-calendar__range-arrow:disabled{opacity: .45;
  cursor: default;}.dashboard-calendar__range-label{border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;}.dashboard-calendar__timezone{color: var(--cal-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;}.dashboard-calendar__timezone-trigger{border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  transition: color .18s ease;
  cursor: pointer;}.dashboard-calendar__timezone-trigger:hover:not(:disabled), .dashboard-calendar__timezone-trigger:focus-visible{color: var(--color-primary);}.dashboard-calendar__timezone-trigger:disabled{cursor: default;
  opacity: .6;}.dashboard-calendar__date-native{position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;}.dashboard-calendar__board{padding: 8px 22px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;}.dashboard-calendar__viewport{position: relative;
  isolation: isolate;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cal-grid-line);
  border-radius: 12px;
  background: var(--cal-grid-bg);
  padding-bottom: 0 !important;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;}.dashboard-calendar__viewport.is-scroll-hidden{scrollbar-width: none;
  -ms-overflow-style: none;}.dashboard-calendar__viewport.is-scroll-hidden::-webkit-scrollbar{width: 0;
  height: 0;
  display: none;}#tc-container{display: block;
  margin: 0;
  padding: 0;
  min-height: 100%;}.dashboard-calendar__events-layer{position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;}.dashboard-calendar__events-sub-layer{position: absolute;
  inset: 0;
  pointer-events: none;}.dashboard-calendar__events-sub-layer--busy{z-index: 1;}.dashboard-calendar__events-sub-layer--lessons{z-index: 2;}.dashboard-calendar__header-cell{position: sticky;
  top: 0;
  z-index: var(--calendar-sticky-z);
  min-height: var(--calendar-header-height);
  padding: 10px 8px 8px;
  border-right: 1px solid var(--cal-grid-line);
  border-bottom: 1px solid var(--cal-grid-line);
  background: var(--cal-grid-soft);
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--cal-muted);
  text-align: center;}.dashboard-calendar__header-cell.is-time{z-index: var(--calendar-sticky-z-time);
  align-items: flex-start;
  padding-left: 16px;
  color: #9a938a;
  font-size: 14px;
  font-weight: 700;}.dashboard-calendar__header-cell.is-today{background: var(--color-primary-soft);}.dashboard-calendar__header-weekday{display: block;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;}.dashboard-calendar__header-date{display: block;
  margin-top: 4px;
  color: var(--color-text-soft);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;}.dashboard-calendar__time-cell{position: relative;
  min-height: var(--calendar-slot-height);
  border-right: 1px solid var(--cal-grid-line);
  border-bottom: 1px solid var(--cal-grid-line);
  background: var(--cal-grid-soft);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 12px;}.dashboard-calendar__time-label{display: inline-block;
  transform: translateY(-8px);
  color: #5b554e;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;}.dashboard-calendar__grid{display: grid;
  min-width: 980px;
  background: var(--cal-grid-bg);
  position: relative;
  grid-auto-rows: var(--calendar-slot-height);
  margin: 0;
  overflow: visible;
  align-content: start;
  isolation: isolate;}.dashboard-calendar__cell{position: relative;
  height: 42px;
  border: 0;
  border-right: 1px solid var(--cal-grid-line);
  border-bottom: 1px solid var(--cal-grid-line);
  background: var(--cal-grid-cell);
  padding: 0;
  transition: background-color .15s ease, box-shadow .15s ease, opacity .15s ease;}.dashboard-calendar__cell.is-clickable{cursor: pointer !important;}.dashboard-calendar__cell.is-blocked-unavailable, .dashboard-calendar__cell.is-blocked-past{cursor: not-allowed !important;}.dashboard-calendar__cell.is-blocked-busy{cursor: default !important;}.dashboard-calendar__cell.is-available, .dashboard-calendar__cell.is-available-start{background: var(--cal-success);}.dashboard-calendar__cell.is-available-start{box-shadow: inset 0 0 0 1px rgba(122, 172, 64, 0.14);}.dashboard-calendar__cell.is-available-start:hover:not(.is-past){box-shadow: inset 0 0 0 1px rgba(70, 111, 27, 0.18), 0 0 0 1px rgba(149, 205, 86, 0.12);}.dashboard-calendar__cell.is-past{opacity: 1 !important;
  background: var(--color-surface-strong) !important;
  cursor: not-allowed !important;}.dashboard-calendar__cell.is-past.is-occupied{background: repeating-linear-gradient(45deg, #ddd6cc 0, #ddd6cc 2px, #f1ece6 2px, #f1ece6 7px) !important;}.dashboard-calendar__cell.is-past.is-available{background: #dfe9d1 !important;}.dashboard-calendar__cell.is-selected-slot{outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 9999px rgba(108, 157, 207, 0.14);
  z-index: 2;}.dashboard-calendar__cell:hover:not(.is-past){box-shadow: inset 0 0 0 1px rgba(108, 157, 207, 0.18);}.dashboard-calendar__cell-badge{position: absolute;
  top: 4px;
  right: 6px;
  font-size: 11px;
  line-height: 1;
  color: var(--color-text-faint);
  pointer-events: none;
  opacity: .9;}.dashboard-calendar__cell.is-last-row, .dashboard-calendar__time-cell.is-last-row{border-bottom: 0 !important;}.dashboard-calendar__grid > .dashboard-calendar__cell.is-last-row, .dashboard-calendar__grid > .dashboard-calendar__time-cell.is-last-row{box-shadow: none !important;}.dashboard-calendar__event--busy{background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 8px,
      var(--cal-busy-block-stripe) 8px,
      var(--cal-busy-block-stripe) 11px
    ),
    var(--cal-busy-block-bg);
  border: 1px solid var(--cal-busy-block-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--cal-busy-block-text);
  pointer-events: none;}.dashboard-calendar__event--busy.is-past{opacity: .7;}.dashboard-calendar__event-inner{display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 100%;
  padding: 7px 8px;}.dashboard-calendar__event-inner--busy{display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 7px 9px;}.dashboard-calendar__event-time{margin-top: 4px;
  font-size: 11px;
  line-height: 1.1;
  opacity: .96;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}.dashboard-calendar__event-title--busy{color: var(--cal-busy-block-text);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}.dashboard-calendar__event-time--busy{margin-top: 0;
  color: var(--cal-busy-block-time);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}.dashboard-calendar__mobile-day-btn.is-active{background: var(--color-primary-soft);
  border-color: #cfe0f2;
  color: var(--color-primary-hover);}.dashboard-calendar-modal__head{border-bottom: 1px solid var(--color-border-soft);}body.dashboard-calendar-is-selecting, body.dashboard-calendar-is-selecting *{user-select: none;}.dashboard-calendar-modal-backdrop, 
/* ========== TEACHER CALENDAR LAYER ========== */
.teacher-calendar-layer{z-index: 1200;}.dashboard-calendar-modal{width: min(560px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid var(--cal-shell-border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);}.dashboard-calendar-modal--compact{max-width: 400px;
  width: 100%;
  max-height: min(86vh, 620px);
  display: flex;
  flex-direction: column;
  overflow: hidden;}.dashboard-calendar-modal__head{padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;}.dashboard-calendar-modal__head-main{min-width: 0;}.dashboard-calendar-modal__body{padding: 18px 22px;
  overflow-y: auto;}.dashboard-calendar-modal__body--slot{padding-top: 14px;}.dashboard-calendar-modal__action-list{display: grid;
  gap: 10px;


  grid-template-columns: repeat(2, minmax(0, 1fr));}.dashboard-calendar-modal__choice{position: relative;
  display: block;
  cursor: pointer;
  margin: 0;}.dashboard-calendar-modal__choice input{position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;}.dashboard-calendar-modal__choice span{display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  user-select: none;
  box-shadow: none;
  background-image: none;}.dashboard-calendar-modal__choice input:checked + span{background: rgba(108, 157, 207, 0.12);
  border-color: rgba(108, 157, 207, 0.45);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px rgba(108, 157, 207, 0.16);}.dashboard-calendar-modal__choice input:focus-visible + span{outline: 0;
  box-shadow: 0 0 0 3px rgba(108, 157, 207, 0.18);}.dashboard-calendar-modal__choice input:disabled + span{opacity: .6;
  cursor: default;}.dashboard-calendar-modal__repeat-wrap{margin-top: 18px;}.dashboard-calendar-modal__repeat-panel[hidden]{display: none !important;}.dashboard-calendar-modal__repeat-panel{margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--color-border-soft);
  border-radius: 16px;
  background: var(--color-surface-muted);}.dashboard-calendar-modal__weekday{display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #e2dbd2;
  border-radius: 12px;
  background: #fff;
  color: var(--color-text-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  position: relative;
  overflow: hidden;}.dashboard-calendar-modal__weekday input{position: absolute;
  inset: 0;
  opacity: 0;}.dashboard-calendar-modal__weekday:has(input:checked){border-color: #cfe0f2;
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);}.dashboard-calendar-modal__dates{display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;}.dashboard-calendar-modal__date-field{display: flex;
  flex-direction: column;
  gap: 6px;}.dashboard-calendar-modal__foot{padding: 0 22px 22px;}.dashboard-calendar-modal__foot-actions{justify-content: flex-end;
  gap: 10px;}.dashboard-calendar__booking-modal.is-open{display: block;}.dashboard-calendar__timezone-picker-modal{width: min(420px, calc(100vw - 24px));
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;}.dashboard-calendar__timezone-picker-body{padding-top: 0;}.dashboard-calendar__timezone-picker-copy{margin-bottom: 14px;}.dashboard-calendar__timezone-picker-note{margin: 0 0 10px;
  color: var(--color-text);
  line-height: 1.5;}.dashboard-calendar__timezone-picker-note:last-child{margin-bottom: 0;}.dashboard-calendar__timezone-picker-select{width: 100%;}.dashboard-calendar__timezone-picker-status{margin-top: 12px;}.dashboard-calendar-modal__tab.is-active{background: var(--color-primary-soft);
  border-color: #cfe0f2;
  color: var(--color-primary-hover);
  box-shadow: inset 0 0 0 1px rgba(108, 157, 207, 0.06);}.dashboard-calendar-modal__panel.is-active{display: block;}.dashboard-calendar-modal__mini-tab.is-active{background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-xs);}.dashboard-calendar-modal__status.is-hidden{display: none;}.tp-student-profile__info{display: grid;
  gap: 0;}.tp-student-profile__info-row{display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-soft);}.tp-student-profile__info-row:last-child{border-bottom: 0;}.tp-student-profile__info-label{color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--line-md);}.tp-student-profile__info-value{min-width: 0;
  word-break: break-word;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--line-md);
  font-weight: 700;}.tp-packages-overview{display: grid;
  gap: var(--space-3);}.tp-packages-overview__item{padding: 18px 20px;
  border: 1px solid var(--color-border-soft);
  border-radius: 22px;
  background: #fcfaf7;}.tp-packages-overview__value{margin-top: 8px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-text);}.tp-package-grid{display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);}.tp-package-card{min-width: 0;}.tp-package-card__head{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);}.tp-package-card__head-main{display: grid;
  gap: 4px;
  min-width: 0;}.tp-package-card__summary{min-width: 0;
  word-break: break-word;
  color: var(--color-text-muted);}.tp-package-card__tokens{margin-top: 14px;}.tp-package-token-grid{display: flex;
  flex-wrap: wrap;
  gap: 10px;}.tp-package-token{position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid #e2dbd2;
  background: #fff;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-xs);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;}.tp-package-token--add{background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(108, 157, 207, 0.18);}.tp-package-token--add:hover{background: var(--color-primary-hover);}.tp-package-token__text, .tp-package-token__minus{display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .16s ease, transform .16s ease;}.tp-package-token__minus{position: absolute;
  inset: 0;
  opacity: 0;
  font-size: 18px;
  font-weight: 800;}.tp-package-token--removable:hover .tp-package-token__text{opacity: 0;
  transform: scale(.9);}.tp-package-token--removable:hover .tp-package-token__minus{opacity: 1;
  transform: scale(1);}.tp-package-editor{margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--color-border-soft);
  border-radius: 20px;
  background: #fcfaf7;}.tp-package-editor__form{display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;}.tp-package-editor.is-hidden, .tp-package-editor__step.is-hidden{display: none;}.teacher-calendar-overlay.is-closing{opacity: 0;}.teacher-calendar-overlay__dialog.is-closing{transform: translateY(56px);
  opacity: .82;}.teacher-calendar-overlay__body > #teacher-calendar-root{min-height: 100%;}.teacher-calendar-layer{position: fixed;
  inset: 0;
  pointer-events: none;}.teacher-calendar-layer__backdrop{position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.08);
  opacity: 1;
  transition: opacity .22s ease;
  pointer-events: auto;}.teacher-calendar-layer__sheet{position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  top: var(--teacher-calendar-top, 104px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  overflow: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;}.teacher-calendar-layer__content{width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;}.teacher-calendar-layer__content > #teacher-calendar-root, .teacher-calendar-layer__content > *{min-height: 100%;}.teacher-calendar-layer__nav-btn{position: absolute;
  top: 12px;
  z-index: 10;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--color-text);
  font-size: 32px;
  line-height: 1;}.teacher-calendar-layer__nav-btn:hover{background: transparent;
  color: var(--color-primary-hover);
  transform: none;}.teacher-calendar-layer__nav-btn:focus-visible{box-shadow: none;}.teacher-calendar-layer__nav-btn--back{left: 16px;}.teacher-calendar-layer__nav-btn--close{right: 16px;}.teacher-calendar-layer.is-closing .teacher-calendar-layer__backdrop{opacity: 0;}.teacher-calendar-layer.is-closing .teacher-calendar-layer__sheet{opacity: 0;
  transform: translateY(18px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);}.teacher-home-page__layout{align-items: start;}.teacher-home-page__sidebar .ui-card__body{padding: var(--space-4);}.teacher-home-page__nav{gap: 8px;}.teacher-overview{min-width: 0;}.teacher-overview-header{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;}.teacher-overview-summary{display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;}.teacher-overview-summary__item{border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;}.teacher-overview-summary__label{font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-bottom: 4px;}.teacher-overview-summary__value{font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;}.teacher-overview-notice{border: 1px solid var(--color-border);
  background: var(--color-warning-soft);
  border-radius: 14px;
  padding: 14px 16px;}.teacher-overview-notice__title{font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;}.teacher-overview-notice__text{font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);}.teacher-overview-main-grid{display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 16px;
  align-items: start;}.teacher-overview-main-grid__left, .teacher-overview-main-grid__right{min-width: 0;}.teacher-overview-section-kicker{font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;}.teacher-overview-next{border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 16px;
  padding: 18px;}.teacher-overview-next__head{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;}.teacher-overview-next__title-wrap{min-width: 0;
  flex: 1 1 auto;}.teacher-overview-next__title{margin: 6px 0 4px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;}.teacher-overview-next__sub{font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);}.teacher-overview-next__badges{display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;}.teacher-overview-next__meta{display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;}.teacher-overview-inline-meta{border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 0;}.teacher-overview-inline-meta__label{display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-bottom: 4px;}.teacher-overview-inline-meta__value{display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text);
  font-weight: 600;
  word-break: break-word;}.teacher-overview-panel{border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 16px;
  padding: 16px;}.teacher-overview-panel__head{margin-bottom: 12px;}.teacher-overview-panel__head--between{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;}.teacher-overview-task-list{display: flex;
  flex-direction: column;
  gap: 10px;}.teacher-overview-task{display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  background: var(--color-bg-soft);}.teacher-overview-task__body{min-width: 0;
  flex: 1 1 auto;}.teacher-overview-task__title{font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
  word-break: break-word;}.teacher-overview-task__text{font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
  word-break: break-word;}.teacher-overview-task__actions{flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;}.teacher-overview-empty-inline{font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  padding: 8px 0 2px;}.teacher-overview-list{display: flex;
  flex-direction: column;
  gap: 10px;}.teacher-overview-row{display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 170px auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  background: var(--color-bg-soft);}.teacher-overview-row__cell{min-width: 0;}.teacher-overview-row__main{font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;}.teacher-overview-row__sub{font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-top: 2px;
  word-break: break-word;}.teacher-overview-row__actions{display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;}.dashboard-calendar-modal-backdrop{padding: 24px;
  backdrop-filter: blur(3px);
  background: rgba(34, 41, 57, 0.18);}.dashboard-calendar-modal.dashboard-calendar-modal--selection{width: min(100%, 400px);
  border: 1px solid #e8e1d8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(35, 41, 52, 0.18);
  overflow: hidden;}.dashboard-calendar-modal__head.dashboard-calendar-modal__head--selection{padding: 20px 22px 14px;
  border-bottom: 1px solid #ece5dc;
  background: #fff;}.dashboard-calendar-modal__title{margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #2f2d2a;}.dashboard-calendar-modal__summary{margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #8c857d;}.dashboard-calendar-modal__body.dashboard-calendar-modal__body--selection{padding: 18px 22px 18px;
  background: #fff;}.dashboard-calendar-modal__action-tab.is-active{background: #fff;
  color: #2f2d2a;
  box-shadow: 0 1px 2px rgba(41, 47, 56, 0.06);}.dashboard-calendar-modal__repeat-wrap{display: flex;
  flex-direction: column;
  gap: 14px;}.dashboard-calendar-modal__repeat-line{display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: #3d3935;
  cursor: pointer;}.dashboard-calendar-modal__repeat-line input{width: 16px;
  height: 16px;
  margin: 0;}.dashboard-calendar-modal__repeat-panel{padding: 14px;
  border: 1px solid #ece5dc;
  border-radius: 16px;
  background: #faf7f3;}.dashboard-calendar-modal__weekday-grid{display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;}.dashboard-calendar-modal__weekday{display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #e6ddd3;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #5a534c;
  cursor: pointer;}.dashboard-calendar-modal__weekday input{margin: 0;}.dashboard-calendar-modal__date-field{margin: 0;}.dashboard-calendar-modal__date-field .ui-label{margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #8c857d;}.dashboard-calendar-modal__date-input{min-height: 42px;
  border-radius: 12px;}.dashboard-calendar-modal__error{margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #f0c8c8;
  border-radius: 14px;
  background: #fff4f4;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #b34848;}.dashboard-calendar-modal__foot.dashboard-calendar-modal__foot--selection{padding: 0 22px 22px;
  border-top: 0;
  background: #fff;}.dashboard-calendar-modal__foot-actions .ui-btn{min-width: 112px;
  min-height: 50px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;}.dashboard-calendar-modal__foot-actions .ui-btn--secondary{border: 1px solid #e5ddd3;
  background: #fff;
  color: #615b54;
  box-shadow: none;}.dashboard-calendar-modal__foot-actions .ui-btn--primary{border: 1px solid #79a9df;
  background: #79a9df;
  color: #fff;
  box-shadow: none;}.dashboard-calendar-modal__foot-actions .ui-btn--primary:hover{border-color: #6799d1;
  background: #6799d1;}.dashboard-calendar-modal__foot-actions .ui-btn--secondary:hover{background: #faf7f3;}button#tc-open-group-mode{width: 105px;}.dashboard-calendar__cell, .dashboard-calendar__event, .dashboard-calendar__range-arrow, .dashboard-calendar__today-chip, .teacher-calendar-layer__nav-btn{cursor: var(--calendar-cursor-static);}.dashboard-calendar__cell.is-clickable, .dashboard-calendar__cell.is-available, .dashboard-calendar__cell.is-available-start, .dashboard-calendar__event--lesson, .dashboard-calendar__event--group, .dashboard-calendar__range-arrow:not(:disabled), .dashboard-calendar__today-chip, .teacher-calendar-layer__nav-btn, .dashboard-calendar__timezone-trigger:not(:disabled), .dashboard-shell__nav-btn, .ui-btn, button, [role="button"]{cursor: var(--calendar-cursor-clickable);}.dashboard-calendar__cell.is-blocked-unavailable, .dashboard-calendar__cell.is-blocked-past, .dashboard-calendar__cell.is-past, .dashboard-calendar__range-arrow:disabled, .dashboard-calendar__timezone-trigger:disabled, .dashboard-calendar-modal__choice input:disabled + span, .ui-btn:disabled, .ui-btn.is-disabled, button:disabled, [aria-disabled="true"]{cursor: var(--calendar-cursor-disabled) !important;}.dashboard-calendar__cell.is-blocked-busy, .dashboard-calendar__event--busy, .dashboard-calendar__event--busy *, .dashboard-calendar__cell.is-occupied:not(.is-clickable):not(.is-available):not(.is-available-start){cursor: var(--calendar-cursor-static) !important;}.dashboard-calendar__cell.is-available, .dashboard-calendar__cell.is-available-start{cursor: var(--calendar-cursor-clickable) !important;}.dashboard-calendar__cell.is-available:hover:not(.is-past):not(.is-blocked-unavailable):not(.is-blocked-past), .dashboard-calendar__cell.is-clickable:hover:not(.is-past):not(.is-blocked-unavailable):not(.is-blocked-past){box-shadow: var(--calendar-action-ring);}.dashboard-calendar__cell.is-available-start:hover:not(.is-past):not(.is-blocked-unavailable):not(.is-blocked-past){box-shadow: var(--calendar-action-ring-strong);}.dashboard-calendar__event--lesson, .dashboard-calendar__event--group{pointer-events: auto;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    opacity .16s ease,
    filter .16s ease;}.dashboard-calendar__event--lesson:hover, .dashboard-calendar__event--group:hover{transform: translateY(-1px);
  box-shadow: var(--calendar-action-ring-event);
  filter: brightness(1.02);}.dashboard-calendar__event--busy:hover{transform: none;
  filter: none;}.dashboard-calendar__cell.is-past, .dashboard-calendar__cell.is-blocked-past, .dashboard-calendar__cell.is-blocked-unavailable{opacity: 1 !important;}.dashboard-calendar__cell.is-past::after, .dashboard-calendar__cell.is-blocked-past::after, .dashboard-calendar__cell.is-blocked-unavailable::after{content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;}.dashboard-calendar__range-arrow, .dashboard-calendar__today-chip, .teacher-calendar-layer__nav-btn, .dashboard-shell__nav-btn, .ui-btn{user-select: none;}.dashboard-calendar__cell.is-blocked-unavailable:hover, .dashboard-calendar__cell.is-blocked-past:hover, .dashboard-calendar__cell.is-past:hover, .dashboard-calendar__range-arrow:disabled:hover, .ui-btn:disabled:hover, .ui-btn.is-disabled:hover{transform: none;
  box-shadow: none;
  filter: none;}.dashboard-calendar__event--busy, .dashboard-calendar__cell.is-blocked-busy{pointer-events: none;}.dashboard-calendar__event--lesson *, .dashboard-calendar__event--group *{cursor: var(--calendar-cursor-clickable);}.dashboard-calendar__event--busy *, .dashboard-calendar__cell.is-blocked-busy *{cursor: var(--calendar-cursor-static) !important;}@media (max-width: 1100px) {
  .ui-grid--3{grid-template-columns: repeat(2, minmax(0, 1fr));}.tp-package-grid{grid-template-columns: 1fr;}.teacher-overview-main-grid{grid-template-columns: 1fr;}.teacher-overview-row{grid-template-columns: 120px minmax(0, 1fr);}.teacher-overview-row__cell--status, .teacher-overview-row__cell--actions{grid-column: span 2;}.teacher-overview-row__actions{justify-content: flex-start;}}

@media (max-width: 980px) {
  .dashboard-calendar__toolbar{flex-direction: column;
    align-items: stretch;}.dashboard-calendar__range-nav{width: 100%;
    justify-content: space-between;}.dashboard-calendar__range-center{flex: 1 1 auto;}}

@media (max-width: 960px) {
  .teacher-calendar-layer__sheet{left: 16px;
    right: 16px;
    bottom: 16px;
    top: var(--teacher-calendar-top, 88px);
    border-radius: 22px;}.teacher-calendar-layer__nav-btn{font-size: 30px;}.teacher-calendar-layer__nav-btn--back{left: 14px;}.teacher-calendar-layer__nav-btn--close{right: 14px;}}

@media (max-width: 900px) {
  .ui-grid--2, .ui-grid--3{grid-template-columns: 1fr;}.ui-page__head{flex-direction: column;}.dashboard-shell__layout{grid-template-columns: 1fr;}.dashboard-shell__sidebar, .teacher-home-page__sidebar{position: static;}.dashboard-shell__nav{grid-template-columns: repeat(2, minmax(0, 1fr));}.teacher-home-page__sidebar .ui-card__body{padding: 0;}.teacher-home-page__nav{display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;}.teacher-home-page__nav::-webkit-scrollbar{display: none;}.teacher-home-page__nav .dashboard-shell__nav-btn {width: auto;
        min-width: 0;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        flex: 0 0 auto;
        font-size: 13px;
        border: none;
        box-shadow: none;}.teacher-overview-summary{grid-template-columns: 1fr;}.teacher-overview-next__head{flex-direction: column;}.teacher-overview-next__badges{justify-content: flex-start;}.teacher-overview-next__meta{grid-template-columns: 1fr;}.teacher-overview-panel__head--between{flex-direction: column;}.teacher-overview-task{flex-direction: column;
    align-items: flex-start;}.teacher-overview-task__actions{width: 100%;}}

@media (max-width: 760px) {
  .dashboard-calendar{padding: 5px;}.dashboard-calendar--teacher{min-height: 100dvh;
    height: 100dvh;}.dashboard-calendar--teacher > .dashboard-calendar__modal{min-height: 100dvh;
    height: 100dvh;}.dashboard-calendar__modal-head{min-height: 64px;
    padding: 0 14px;}.dashboard-calendar__modal-title{font-size: 24px;}.dashboard-calendar__toolbar{display: block;
    padding: 14px 14px 10px;}.dashboard-calendar__toolbar-left{width: 100%;
    justify-content: center;}.dashboard-calendar__legend{display: none !important;}.dashboard-calendar__range-shell{display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;}.dashboard-calendar__range-center{min-width: 0;
    max-width: calc(100vw - 170px);}.dashboard-calendar__range-label, .dashboard-calendar__timezone{white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;}.dashboard-calendar__board{padding: 8px 14px 0;
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0 !important;}.dashboard-calendar__grid{min-width: 100%;}.dashboard-calendar__grid.is-mobile-three-days{min-width: 100%;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__header-cell{min-width: 0;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__header-date{font-size: 18px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__time-cell{padding-right: 8px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__time-label{font-size: 12px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event{border-radius: 8px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-inner{padding: 6px;
    gap: 6px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-inner--busy{padding: 6px 7px;
    gap: 2px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-avatar{width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 10px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-title{font-size: 11px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-time{font-size: 10px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-title--busy{font-size: 11px;}.dashboard-calendar__grid.is-mobile-three-days .dashboard-calendar__event-time--busy{font-size: 10px;}.dashboard-calendar__legend-item{font-size: 13px;}.dashboard-calendar-modal-backdrop{padding: 10px;
    align-items: flex-end;}.dashboard-calendar-modal__dates{grid-template-columns: 1fr;}.dashboard-calendar-modal__foot-actions{justify-content: stretch;}.dashboard-calendar-modal__foot-actions .ui-btn{flex: 1 1 0;
    min-height: 44px;}.teacher-overview-row{grid-template-columns: 1fr;}.teacher-overview-row__cell--status, .teacher-overview-row__cell--actions{grid-column: auto;}.teacher-overview-row__actions{justify-content: flex-start;}}

@media (max-width: 767px) {
  .platform-header__inner{min-height: 64px;
    gap: 14px;}.platform-header__brand{font-size: 20px;}.platform-header__right{gap: 8px;}.platform-header__locale, .platform-header__login, .platform-header__account-btn, .platform-header__domain{height: 38px;}.platform-header__domain{max-width: 180px;
    padding: 0 12px;}.platform-header__domain-text, .platform-header__account-name, .platform-header__login, .platform-header__locale{font-size: 13px;}.platform-header__menu{width: 180px;
    right: 0;}.teacher-calendar-layer__backdrop{background: rgba(15, 23, 42, 0.14);}.teacher-calendar-layer__sheet{left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0;}.teacher-calendar-layer__nav-btn{top: max(8px, env(safe-area-inset-top));
    font-size: 28px;}.teacher-calendar-layer__nav-btn--back{left: 10px;}}

@media (max-width: 640px) {
  .ui-container{padding-left: var(--space-4);
    padding-right: var(--space-4);}.ui-page{padding-top: var(--space-6);
    padding-bottom: var(--space-8);}.platform-header__inner{align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;}.platform-header__right{width: 100%;
    justify-content: flex-start;}.platform-header__domain{max-width: 100%;}.platform-header__account-name{max-width: 140px;}.tp-auth-screen, .student-auth-screen{padding: 26px 0 44px;}.dashboard-shell__nav{grid-template-columns: 1fr;}.tp-student-profile__info-row{grid-template-columns: 1fr;
    gap: 4px;}.tp-package-editor__form{grid-template-columns: 1fr;}.tp-package-token{min-width: 38px;
    height: 38px;
    font-size: 11px;}.tp-package-token--add{font-size: 16px;}.teacher-home-page__head-actions .ui-btn{width: 100%;}.dashboard-calendar-modal-backdrop{padding: 12px;
    align-items: flex-end;}.dashboard-calendar-modal.dashboard-calendar-modal--selection{width: 100%;
    border-radius: 22px 22px 0 0;}.dashboard-calendar-modal__head.dashboard-calendar-modal__head--selection{padding: 18px 16px 14px;}.dashboard-calendar-modal__body.dashboard-calendar-modal__body--selection{padding: 16px;}.dashboard-calendar-modal__foot.dashboard-calendar-modal__foot--selection{padding: 0 16px 16px;}.dashboard-calendar-modal__dates{grid-template-columns: 1fr;}.dashboard-calendar-modal__weekday-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.dashboard-calendar-modal__foot-actions{flex-direction: column;}.dashboard-calendar-modal__foot-actions .ui-btn{width: 100%;}}

@media (hover: hover) {
  .dashboard-calendar__cell.is-available:hover:not(.is-past):not(.is-blocked-unavailable):not(.is-blocked-past), .dashboard-calendar__cell.is-clickable:hover:not(.is-past):not(.is-blocked-unavailable):not(.is-blocked-past){box-shadow: var(--calendar-action-ring);}.dashboard-calendar__event--lesson:hover, .dashboard-calendar__event--group:hover{transform: translateY(-1px);}}

@media (hover: none) {
  .dashboard-calendar__event--lesson:hover, .dashboard-calendar__event--group:hover, .dashboard-calendar__cell.is-available:hover, .dashboard-calendar__cell.is-clickable:hover{transform: none;
    filter: none;}}
.dashboard-calendar__pending-layer{position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;}.dashboard-calendar__cell.is-lesson-clickable{cursor: pointer !important;}.dashboard-calendar__cell.is-selected-range{background: var(--color-warning-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(215, 161, 70, 0.28) !important;}.dashboard-calendar__cell.is-selection-anchor{box-shadow:
    inset 0 0 0 1px rgba(215, 161, 70, 0.36),
    0 0 0 1px rgba(215, 161, 70, 0.14) !important;}.dashboard-calendar__event{position: relative;
  z-index: 2;
  margin: 0;
  border: 0;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  box-sizing: border-box;
  pointer-events: auto;
  text-align: left;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    opacity .16s ease,
    filter .16s ease;}.dashboard-calendar__event:hover{transform: translateY(-1px);}.dashboard-calendar__event:focus-visible{box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(108, 157, 207, 0.22);}.dashboard-calendar__event--lesson{background: linear-gradient(180deg, #74a4d5 0%, #5f92c5 100%);
  box-shadow: 0 2px 8px rgba(79, 111, 220, 0.16);}.dashboard-calendar__event--group{background: linear-gradient(180deg, #958170 0%, #7f6e60 100%);
  box-shadow: 0 2px 8px rgba(89, 101, 121, 0.14);}.dashboard-calendar__event.is-past{opacity: .84;}.dashboard-calendar__event.is-pending-move{box-shadow:
    inset 0 0 0 1px rgba(255, 244, 214, 0.34),
    0 10px 24px rgba(57, 45, 32, 0.16);}.dashboard-calendar__event.is-pending-cancel{box-shadow:
    inset 0 0 0 1px rgba(255, 226, 221, 0.34),
    0 10px 24px rgba(57, 45, 32, 0.16);}.dashboard-calendar__event-inner{display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 100%;
  padding: 8px 9px;}.dashboard-calendar__event-inner--group{gap: 8px;}.dashboard-calendar__event--compact .dashboard-calendar__event-inner{gap: 4px;
  padding: 6px 7px;}.dashboard-calendar__event--normal .dashboard-calendar__event-inner{gap: 6px;
  padding: 7px 8px;}.dashboard-calendar__event--extended .dashboard-calendar__event-inner{gap: 8px;
  padding: 8px 9px;}.dashboard-calendar__event-head{display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;}.dashboard-calendar__event-main{min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;}.dashboard-calendar__event-avatar{flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);}.dashboard-calendar__event--group .dashboard-calendar__event-avatar{background: rgba(255, 255, 255, .18);}.dashboard-calendar__event--compact .dashboard-calendar__event-avatar{flex-basis: 22px;
  width: 22px;
  height: 22px;
  font-size: 9px;}.dashboard-calendar__event-title{font-size: 12px;
  line-height: 1.2;
  font-weight: 700;

  white-space: normal;
  overflow: visible;
  text-overflow: unset;

  word-break: break-word;
  overflow-wrap: anywhere;}.dashboard-calendar__event-time{font-size: 11px;
  line-height: 1.1;
  opacity: .95;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.94);}.dashboard-calendar__event--compact .dashboard-calendar__event-title{font-size: 11px;
  line-height: 1.1;}.dashboard-calendar__event--compact .dashboard-calendar__event-time{font-size: 10px;
  line-height: 1.05;}.dashboard-calendar__event--normal .dashboard-calendar__event-title{font-size: 15px;}.dashboard-calendar__event--normal .dashboard-calendar__event-time{font-size: 10px;}.dashboard-calendar__event--extended .dashboard-calendar__event-title{font-size: 15px;}.dashboard-calendar__event--extended .dashboard-calendar__event-time{font-size: 11px;}.dashboard-calendar__event-badges{display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  margin-top: auto;}.dashboard-calendar__event-badge{display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);}.dashboard-calendar__event--compact .dashboard-calendar__event-badges{gap: 4px;}.dashboard-calendar__event--compact .dashboard-calendar__event-badge{min-height: 16px;
  padding: 0 6px;
  font-size: 9px;}.dashboard-calendar__pending-target{border: 1px dashed rgba(215, 161, 70, 0.55);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.94), rgba(255, 244, 224, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(215, 161, 70, 0.14);
  color: #8e6220;
  pointer-events: auto;
  text-align: left;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;}.dashboard-calendar__pending-target:hover{transform: translateY(-1px);}.dashboard-calendar__pending-target:focus-visible{box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(215, 161, 70, 0.22);}.dashboard-calendar__pending-target-inner{display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-height: 100%;
  padding: 8px 9px;}.dashboard-calendar__pending-target--compact .dashboard-calendar__pending-target-inner{gap: 4px;
  padding: 6px 7px;}.dashboard-calendar__pending-target-badge{display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 18px;
  max-width: 100%;
  padding: 0 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: #9c670f;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(215, 161, 70, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;}.dashboard-calendar__pending-target-time{font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
  color: #8e6220;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}.dashboard-calendar__pending-target-status{font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(142, 98, 32, 0.82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}.dashboard-calendar__pending-target--compact .dashboard-calendar__pending-target-badge{min-height: 16px;
  padding: 0 6px;
  font-size: 9px;}.dashboard-calendar__pending-target--compact .dashboard-calendar__pending-target-time{font-size: 10px;}.dashboard-calendar__pending-target--compact .dashboard-calendar__pending-target-status, .dashboard-calendar__pending-target--normal .dashboard-calendar__pending-target-status{display: none;}@media (max-width: 980px) {
  .dashboard-calendar__event-badges{gap: 4px;}.dashboard-calendar__event-badge{padding: 0 6px;}}

@media (max-width: 760px) {
  .dashboard-calendar__event{border-radius: 8px;}.dashboard-calendar__event-inner, .dashboard-calendar__event--extended .dashboard-calendar__event-inner, .dashboard-calendar__event--normal .dashboard-calendar__event-inner{padding: 6px 7px;
    gap: 5px;}.dashboard-calendar__event-avatar{flex-basis: 22px;
    width: 22px;
    height: 22px;
    font-size: 9px;}.dashboard-calendar__event-title{font-size: 11px;}.dashboard-calendar__event-time{font-size: 10px;}.dashboard-calendar__event-badge{min-height: 16px;
    padding: 0 6px;
    font-size: 9px;}.dashboard-calendar__pending-target{border-radius: 8px;}.dashboard-calendar__pending-target-inner{padding: 6px 7px;}.dashboard-calendar__pending-target-badge{min-height: 16px;
    padding: 0 6px;
    font-size: 9px;}}


.dashboard-calendar__event.is-pending-move .dashboard-calendar__event-status{color: #92400e;}.dashboard-calendar__event.is-pending-cancel .dashboard-calendar__event-status{color: #b91c1c;}.dashboard-calendar-modal--lesson-sheet{width: min(520px, calc(100vw - 20px));
  max-width: 520px;
  max-height: min(100dvh - 20px, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;}.dashboard-calendar-modal__sr-title{position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;}.dashboard-calendar-modal__sheet-body{flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 12px;
  overscroll-behavior: contain;}.dashboard-calendar-modal__sheet-foot{flex: 0 0 auto;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);}.dashboard-calendar-modal__content-stack{display: grid;
  gap: 12px;}.dashboard-calendar-modal__status-chip{display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;}.dashboard-calendar-modal__status-chip-icon{font-size: 13px;
  line-height: 1;}.dashboard-calendar-modal__focus-card{padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--color-border-soft);
  display: grid;
  gap: 12px;}.dashboard-calendar-modal__focus-card--warning{background: var(--color-warning-soft);
  border-color: rgba(215, 161, 70, 0.22);}.dashboard-calendar-modal__focus-card--danger{background: var(--color-danger-soft);
  border-color: rgba(215, 101, 88, 0.2);}.dashboard-calendar-modal__focus-card-head{display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;}.dashboard-calendar-modal__focus-card-icon{width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1;}.dashboard-calendar-modal__focus-card-copy{min-width: 0;
  display: grid;
  gap: 3px;}.dashboard-calendar-modal__focus-card-title{font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text);}.dashboard-calendar-modal__focus-card-text{font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text-soft);
  word-break: break-word;}.dashboard-calendar-modal__focus-actions{display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;}.dashboard-calendar-modal__info-strip{display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;}.dashboard-calendar-modal__info-strip--soft{background: var(--color-primary-soft);
  color: var(--color-primary-hover);}.dashboard-calendar-modal__info-strip-icon{flex: 0 0 auto;
  font-size: 14px;}.dashboard-calendar-modal__info-strip-text{min-width: 0;
  word-break: break-word;}.dashboard-calendar-modal__icon-action{min-height: 84px;
  padding: 12px 10px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  transition:
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;}.dashboard-calendar-modal__icon-action:hover{transform: translateY(-1px);
  border-color: var(--color-border-strong);
  background: var(--color-surface-muted);}.dashboard-calendar-modal__icon-action:focus-visible{box-shadow: var(--focus-ring);}.dashboard-calendar-modal__icon-action-icon{font-size: 20px;
  line-height: 1;
  color: var(--color-text);}.dashboard-calendar-modal__icon-action-label{font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text);}.dashboard-calendar-modal__icon-action--danger .dashboard-calendar-modal__icon-action-icon, .dashboard-calendar-modal__icon-action--danger .dashboard-calendar-modal__icon-action-label{color: var(--color-danger);}.dashboard-calendar-modal__member-meta-row{display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;}.dashboard-calendar-modal__mini-badge{display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-text-soft);}.dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__foot-actions{display: flex;
  justify-content: flex-end;
  gap: 10px;}@media (max-width: 760px) {
  .ui-modal-backdrop.dashboard-calendar-modal-backdrop{align-items: flex-end;
    padding: 8px;}.dashboard-calendar-modal--lesson-sheet{width: 100%;
    max-width: none;
    max-height: calc(100dvh - 8px);
    border-radius: 20px 20px 0 0;}.dashboard-calendar-modal__sheet-body{padding: 12px 14px 10px;}.dashboard-calendar-modal__sheet-foot{padding: 10px 14px 14px;}.dashboard-calendar-modal__icon-action{min-height: 74px;
    padding: 10px 8px;
    border-radius: 16px;}.dashboard-calendar-modal__icon-action-icon{font-size: 18px;}.dashboard-calendar-modal__icon-action-label{font-size: 11px;}.dashboard-calendar-modal__focus-actions{gap: 8px;}.dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__foot-actions{display: grid;
    grid-template-columns: 1fr;}.dashboard-calendar-modal__sheet-foot .ui-btn{width: 100%;}}

@media (max-width: 420px) {
  

  .dashboard-calendar-modal__status-chip{width: 100%;
    justify-content: center;}.dashboard-calendar-modal__focus-actions{grid-template-columns: 1fr;}}

.dashboard-calendar-modal--lesson-sheet{width: min(100%, 520px);}.dashboard-calendar-modal__sheet-body--compact{padding: 16px 16px 12px;}.dashboard-calendar-modal__content-stack--compact{display: flex;
  flex-direction: column;
  gap: 10px;}.dashboard-calendar-modal__compact-hero{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ui-border, #e5e7eb);}.dashboard-calendar-modal__compact-hero-main{min-width: 0;
  flex: 1 1 auto;}.dashboard-calendar-modal__compact-hero-title{font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ui-text, #111827);
  word-break: break-word;}.dashboard-calendar-modal__compact-hero-meta{margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ui-text-soft, #6b7280);}.dashboard-calendar-modal__compact-hero-side{display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;}.dashboard-calendar-modal__compact-text{font-size: 13px;
  line-height: 1.45;
  color: var(--ui-text, #111827);
  background: var(--ui-bg-soft, #f8fafc);
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;}.dashboard-calendar-modal__compact-section{display: flex;
  flex-direction: column;
  gap: 8px;}.dashboard-calendar-modal__compact-section-title{font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ui-text-soft, #6b7280);}.dashboard-calendar-modal__person-list{display: flex;
  flex-direction: column;
  gap: 6px;}.dashboard-calendar-modal__person-row{display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 8px;
  background: var(--ui-bg, #fff);}.dashboard-calendar-modal__person-row-main{min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;}.dashboard-calendar-modal__person-row-name{font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ui-text, #111827);
  word-break: break-word;}.dashboard-calendar-modal__person-row-actions{flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;}.dashboard-calendar-modal__icon-btn{width: 30px;
  height: 30px;
  min-width: 30px;
  border: 1px solid var(--ui-border, #d1d5db);
  border-radius: 8px;
  background: var(--ui-bg, #fff);
  color: var(--ui-text, #111827);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;}.dashboard-calendar-modal__icon-btn:hover{background: var(--ui-bg-soft, #f8fafc);}.dashboard-calendar-modal__icon-btn:disabled{opacity: .6;
  cursor: default;}.dashboard-calendar-modal__icon-btn--approve{color: #0f766e;
  border-color: rgba(15, 118, 110, .24);
  background: rgba(15, 118, 110, .06);}.dashboard-calendar-modal__icon-btn--approve:hover{background: rgba(15, 118, 110, .1);}.dashboard-calendar-modal__icon-btn--deny{color: #b45309;
  border-color: rgba(180, 83, 9, .24);
  background: rgba(180, 83, 9, .06);}.dashboard-calendar-modal__icon-btn--deny:hover{background: rgba(180, 83, 9, .1);}.dashboard-calendar-modal__text-btn-danger{border: none;
  background: transparent;
  padding: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: #b91c1c;
  cursor: pointer;}.dashboard-calendar-modal__text-btn-danger:hover{text-decoration: underline;}.dashboard-calendar-modal__compact-empty{padding: 10px 12px;
  border: 1px dashed var(--ui-border, #d1d5db);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ui-text-soft, #6b7280);
  background: var(--ui-bg-soft, #f8fafc);}.dashboard-calendar-modal__compact-row{display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 8px;
  background: var(--ui-bg, #fff);}.dashboard-calendar-modal__compact-row--video-edit{align-items: center;}.dashboard-calendar-modal__compact-row-label{flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ui-text-soft, #6b7280);}.dashboard-calendar-modal__compact-row-value{min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ui-text, #111827);}.dashboard-calendar-modal__compact-video-link{min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.35;}.dashboard-calendar-modal__compact-video-input{min-width: 0;
  flex: 1 1 auto;}.dashboard-calendar-modal__compact-footer-actions{width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;}.dashboard-calendar-modal__compact-footer-actions .ui-btn{min-width: 0;}.dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__compact-footer-actions .ui-btn:first-child{flex: 1 1 auto;}.dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__compact-footer-actions .ui-btn:last-child{flex: 0 0 auto;}.dashboard-calendar-modal__mini-badge{display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;}.dashboard-calendar-modal__mini-badge--default{color: var(--ui-text-soft, #4b5563);
  background: #f3f4f6;
  border-color: #e5e7eb;}.dashboard-calendar-modal__mini-badge--warning{color: #b45309;
  background: rgba(180, 83, 9, .08);
  border-color: rgba(180, 83, 9, .18);}.dashboard-calendar-modal__error{margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #b91c1c;}@media (max-width: 640px) {
  .dashboard-calendar-modal--lesson-sheet{width: min(100%, 100vw - 20px);}.dashboard-calendar-modal__sheet-body--compact{padding: 14px 14px 10px;}.dashboard-calendar-modal__compact-hero{gap: 8px;}.dashboard-calendar-modal__compact-hero-title{font-size: 15px;}.dashboard-calendar-modal__person-row{align-items: flex-start;}.dashboard-calendar-modal__person-row, .dashboard-calendar-modal__compact-row--video-edit{flex-direction: column;}.dashboard-calendar-modal__person-row-actions, .dashboard-calendar-modal__compact-video-input{width: 100%;}.dashboard-calendar-modal__compact-row{flex-wrap: wrap;}.dashboard-calendar-modal__compact-footer-actions{flex-direction: column-reverse;
    align-items: stretch;}.dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__compact-footer-actions .ui-btn:first-child, .dashboard-calendar-modal__sheet-foot .dashboard-calendar-modal__compact-footer-actions .ui-btn:last-child{flex: 1 1 auto;}}
.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell{position: relative;}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-reschedule-available{background: #fff1df !important;
  box-shadow: inset 0 0 0 1px rgba(215, 161, 70, 0.16);}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-reschedule-available:hover:not(.is-past):not(.is-occupied){background: #ffe8c7 !important;
  box-shadow:
    inset 0 0 0 1px rgba(215, 161, 70, 0.28),
    0 0 0 1px rgba(215, 161, 70, 0.12);}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-reschedule-preview,
.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-reschedule-preview-invalid,
.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-reschedule-anchor{z-index: 5;}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__events-layer{z-index: 2;}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__pending-layer{z-index: 3;}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__event.is-reschedule-source{opacity: .42;
  filter: saturate(.82);
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 214, 0.28),
    0 10px 24px rgba(57, 45, 32, 0.12);}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-occupied:not(.is-lesson-clickable),
.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell[data-available="0"]{cursor: not-allowed !important;}.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__cell.is-past{opacity: 1;
  cursor: not-allowed !important;}.ui-input-wrap{position: relative;
  display: flex;
  align-items: center;}.ui-input--with-action{padding-right: 52px;}.ui-input-wrap .ui-input{padding-right: 52px;}.ui-input-wrap__toggle{position: absolute;
  right: 6px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--color-text-muted);
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;}.ui-input-wrap__toggle:hover{background: var(--color-surface-muted);
  color: var(--color-text-soft);}.ui-input-wrap__toggle:focus-visible{box-shadow: var(--focus-ring);}.ui-input-wrap__toggle-icon{width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;}.ui-input-wrap__toggle-icon svg{width: 20px;
  height: 20px;}.ui-field.has-error .ui-label{color: #c84f44;}.ui-input.is-invalid,
.ui-select.is-invalid,
.ui-textarea.is-invalid,
.ui-input-wrap.is-invalid .ui-input{border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);}.ui-input.is-invalid:hover,
.ui-select.is-invalid:hover,
.ui-textarea.is-invalid:hover,
.ui-input-wrap.is-invalid .ui-input:hover{border-color: #ef4444;}.ui-input.is-invalid:focus,
.ui-select.is-invalid:focus,
.ui-textarea.is-invalid:focus,
.ui-input-wrap.is-invalid .ui-input:focus{border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);}.tp-field-error{color: #d14343;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;}.tp-auth-alert{display: flex;
  align-items: flex-start;
  gap: 12px;}.tp-auth-alert__icon{flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: currentColor;}.tp-auth-alert__icon svg{width: 20px;
  height: 20px;}.tp-auth-alert__content{min-width: 0;
  flex: 1 1 auto;}.tp-auth-caps{color: #b26b1d;}@media (max-width: 640px) {
  .platform-header__inner{min-height: 64px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;}.platform-header__brand{flex: 0 1 auto;
    min-width: 0;
    font-size: 20px;
    line-height: 1;}.platform-header__right{width: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;}.platform-header__locale-wrap{flex: 0 0 auto;}.platform-header__locale{min-width: 58px;
    width: 58px;
    height: 36px;
    padding: 0 24px 0 10px;
    font-size: 12px;}.platform-header__locale-wrap::after{right: 10px;
    font-size: 10px;}.platform-header__domain{width: 36px;
    min-width: 36px;
    max-width: none;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;}.platform-header__domain-text{display: none;}.platform-header__domain-icon{font-size: 14px;
    color: var(--color-text);}.platform-header__account-btn{width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 12px;}.platform-header__account-name,
  .platform-header__account-arrow{display: none;}.platform-header__account-avatar{width: 26px;
    height: 26px;
    font-size: 17px;}.platform-header__login{width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0;
    border-radius: 12px;
    position: relative;}.platform-header__login-text{display: none;}.platform-header__login-icon{display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;}.platform-header__menu{top: calc(100% + 8px);
    right: 0;
    width: 172px;}}
/* РњРѕРґР°Р»РєР° РІС‹Р±РѕСЂР° СЂР°Р±РѕС‡РµРіРѕ РІСЂРµРјРµРЅРё вЂ” СЃРµРіРјРµРЅС‚ "Р”РѕР±Р°РІРёС‚СЊ / РЈР±СЂР°С‚СЊ" */
.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__action-list{display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid #e8e1d8;
  border-radius: 18px;
  background: #f7f4ef;}.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__choice{margin: 0;}.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__choice span{min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #8c857d;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;}.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__choice input:checked + span{background: #fff;
  color: #2f2d2a;
  box-shadow: 0 1px 2px rgba(41, 47, 56, 0.06);
  border: 0;}.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__choice input:focus-visible + span{box-shadow:
    0 0 0 3px rgba(108, 157, 207, 0.14),
    0 1px 2px rgba(41, 47, 56, 0.06);}.dashboard-calendar-modal.dashboard-calendar-modal--selection .dashboard-calendar-modal__choice:not(:has(input:checked)) span:hover{color: #4f4943;
  background: rgba(255, 255, 255, 0.45);}.ui-card{border-radius: var(--radius-lg);}.ui-table-wrap{border-radius: var(--radius-lg);}.ui-empty{border-radius: var(--radius-lg);}.ui-modal{border-radius: var(--radius-xl);}.ui-input,
.ui-select,
.ui-textarea{border-radius: var(--radius-md);}.dashboard-shell__nav-btn{border-radius: var(--radius-md);}.dashboard-calendar__modal{border-radius: var(--radius-lg);}.dashboard-calendar__viewport{border-radius: var(--radius-sm);}.dashboard-calendar__grid{grid-auto-rows: var(--calendar-slot-height);}.dashboard-calendar__time-cell{min-height: var(--calendar-slot-height);}.dashboard-calendar__cell{height: var(--calendar-slot-height);}.dashboard-calendar__event,
.dashboard-calendar__pending-target{border-radius: 8px;}.dashboard-calendar-modal,
.dashboard-calendar__timezone-picker-modal{border-radius: var(--radius-xl);}.dashboard-calendar-modal__choice span,
.dashboard-calendar-modal__weekday,
.dashboard-calendar-modal__date-input{border-radius: var(--radius-md);}.tp-auth-domain,
.tp-packages-overview__item,
.tp-package-editor{border-radius: var(--radius-lg);}.teacher-calendar-layer__sheet{border-radius: 18px;}@media (max-width: 760px) {
  .dashboard-calendar__grid{grid-auto-rows: var(--calendar-slot-height);}.dashboard-calendar__cell{height: var(--calendar-slot-height);}}

@media (max-width: 767px) {
  .teacher-calendar-layer__sheet{border-radius: 0;}}

/* ========== FIX: CALENDAR STICKY HEADER INSIDE MODAL ========== */
.dashboard-calendar--teacher,
.dashboard-calendar--student{min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;}.dashboard-calendar--teacher > .dashboard-calendar__modal,
.dashboard-calendar--student > .dashboard-calendar__modal{min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;}.dashboard-calendar--student .dashboard-calendar__modal-head,
.dashboard-calendar--student .dashboard-calendar__toolbar{position: relative;
  z-index: 6;
  flex: 0 0 auto;}.dashboard-calendar--teacher .dashboard-calendar__board,
.dashboard-calendar--student .dashboard-calendar__board{min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;}.dashboard-calendar--teacher .dashboard-calendar__viewport,
.dashboard-calendar--student .dashboard-calendar__viewport{position: relative;
  isolation: isolate;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;}.dashboard-calendar--teacher .dashboard-calendar__grid,
.dashboard-calendar--student .dashboard-calendar__grid{position: relative;
  overflow: visible;
  align-content: start;}.dashboard-calendar--teacher .dashboard-calendar__events-layer,
.dashboard-calendar--teacher .dashboard-calendar__pending-layer,
.dashboard-calendar--student .dashboard-calendar__events-layer,
.dashboard-calendar--student .dashboard-calendar__pending-layer{position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--calendar-header-height);
  overflow: hidden;
  pointer-events: none;}.dashboard-calendar--teacher .dashboard-calendar__events-layer,
.dashboard-calendar--student .dashboard-calendar__events-layer{z-index: 2;}.dashboard-calendar--teacher .dashboard-calendar__pending-layer,
.dashboard-calendar--student .dashboard-calendar__pending-layer{z-index: 3;}.dashboard-calendar--teacher .dashboard-calendar__header-cell,
.dashboard-calendar--student .dashboard-calendar__header-cell{position: sticky;
  top: 0;
  z-index: var(--calendar-sticky-z);
  background: var(--calendar-header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--calendar-header-shadow);}.dashboard-calendar--teacher .dashboard-calendar__header-cell.is-time,
.dashboard-calendar--student .dashboard-calendar__header-cell.is-time{z-index: var(--calendar-sticky-z-time);
  background: var(--calendar-header-bg-time);}.dashboard-calendar--teacher .dashboard-calendar__header-cell.is-today,
.dashboard-calendar--student .dashboard-calendar__header-cell.is-today{background: var(--calendar-header-bg-today);}.dashboard-calendar--teacher .dashboard-calendar__event,
.dashboard-calendar--teacher .dashboard-calendar__pending-target,
.dashboard-calendar--student .dashboard-calendar__event,
.dashboard-calendar--student .dashboard-calendar__pending-target{z-index: 1;}@media (max-width: 760px){
  .dashboard-calendar--teacher .dashboard-calendar__events-layer,
  .dashboard-calendar--teacher .dashboard-calendar__pending-layer,
  .dashboard-calendar--student .dashboard-calendar__events-layer,
  .dashboard-calendar--student .dashboard-calendar__pending-layer{top: var(--calendar-header-height-mobile);}}

/* Модалка записи ученика — список тарифов */
.student-booking-mini-cards{display:grid;
  grid-template-columns:1fr;
  gap:10px;}.student-booking-mini-card{width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  padding:14px;
  border:1px solid var(--color-border);
  border-radius:12px;
  background:var(--color-surface);
  text-align:left;
  transition:all .18s ease;}.student-booking-mini-card.is-available{cursor:pointer;}.student-booking-mini-card.is-available:hover{border-color:var(--color-primary);
  background:var(--color-primary-soft);
  transform:translateY(-1px);}.student-booking-mini-card.is-disabled{opacity:.7;
  background:var(--color-surface-muted);
  border-color:var(--color-border-soft);
  cursor:default;}.student-booking-mini-card__top{width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;}.student-booking-mini-card__title{font-size:14px;
  font-weight:600;
  color:var(--color-text);}.student-booking-mini-card__duration{font-size:12px;
  color:var(--color-text-muted);}.student-booking-mini-card__desc{font-size:12px;
  color:var(--color-text-soft);}.student-booking-mini-card__meta{font-size:12px;
  color:var(--color-text-muted);}.dashboard-calendar__event--pending-target{background: var(--color-warning-soft);
  border: 1px solid rgba(215, 161, 70, 0.4);
  box-shadow: 0 4px 12px rgba(215, 161, 70, 0.15);


  color: var(--color-text);}.dashboard-calendar__event--pending-target .dashboard-calendar__event-title{color: var(--color-text);}.dashboard-calendar__event--pending-target .dashboard-calendar__event-time{color: var(--color-text-muted);}.dashboard-calendar__event--pending-target .dashboard-calendar__event-badge{background: rgba(215, 161, 70, 0.14);
  color: #a06e1f;
  border-color: rgba(215, 161, 70, 0.22);}.dashboard-calendar-modal__description-section {gap: 10px;}.dashboard-calendar-modal__description-box {display: flex;
  flex-direction: column;
  gap: 8px;}.dashboard-calendar-modal__compact-text--clamp-5 {display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;}.dashboard-calendar-modal__description-toggle {padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  font-size: 12px;
  text-align: center;
  text-decoration: underline;}
  
  
  
  
  .dashboard-calendar__reschedule-preview-layer{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.dashboard-calendar__pending-layer{
  z-index: 5;
}

.dashboard-calendar__reschedule-preview-block{
  border-radius: 12px;
  background: rgba(255, 189, 89, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(215, 161, 70, 0.42),
    0 0 0 1px rgba(215, 161, 70, 0.10);
}

.dashboard-calendar__reschedule-preview-block.is-invalid{
  background: rgba(255, 120, 120, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(215, 101, 88, 0.42),
    0 0 0 1px rgba(215, 101, 88, 0.10);
}

.dashboard-calendar__reschedule-preview-anchor{
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(215, 161, 70, 0.55),
    0 0 0 1px rgba(215, 161, 70, 0.18);
}

.dashboard-calendar__grid.is-reschedule-mode .dashboard-calendar__event.is-reschedule-source{
  opacity: .42;
  pointer-events: none;
}

.dashboard-calendar__event-time.dashboard-calendar__event-time--busy {
    color: #475569;
}




/* Блок: секция "Запросы от учеников" */
.teacher-overview-panel--priority {
  border: 1px solid var(--ui-border, #d9e1ec);
  border-radius: 20px;
  background: var(--ui-surface, #ffffff);
  padding: 18px;
}

/* Блок: шапка секции запросов */
.teacher-overview-panel__head--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.teacher-overview-section-kicker {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ui-text-muted, #6f7f95);
}

.teacher-overview-panel__counter {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ui-surface-muted, #f3f6fb);
  border: 1px solid var(--ui-border, #d9e1ec);
  font-size: 13px;
  font-weight: 700;
  color: var(--ui-text, #243042);
}

/* Блок: список запросов */
.teacher-overview-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Блок: карточка одного запроса */
.teacher-overview-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--ui-border, #d9e1ec);
  border-radius: 18px;
  background: var(--ui-surface-subtle, #f8fafc);
}

/* Блок: левая часть карточки */
.teacher-overview-task__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Блок: заголовок карточки */
.teacher-overview-task__title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ui-text, #1f2a3d);
}

/* Блок: текстовые строки карточки */
.teacher-overview-task__text {
  font-size: 16px;
  line-height: 1.35;
  color: var(--ui-text-muted, #607089);
}

.teacher-overview-task__text strong {
  font-weight: 700;
  color: var(--ui-text, #243042);
}

/* Блок: строка с ключевым изменением времени */
.teacher-overview-task__text:last-of-type {
  font-weight: 600;
  color: var(--ui-text, #334155);
}

/* Блок: правая часть с действиями */
.teacher-overview-task__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Блок: кнопки в карточке запроса */
.teacher-overview-task__actions .ui-btn {
  min-width: 140px;
  height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

/* Блок: пустое состояние секции */
.teacher-overview-empty-inline {
  padding: 18px;
  border: 1px dashed var(--ui-border, #d9e1ec);
  border-radius: 16px;
  background: var(--ui-surface-subtle, #f8fafc);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ui-text-muted, #6b7b8f);
}

/* Блок: сообщения ошибок/успеха внутри карточки */
.teacher-overview-task .tp-auth-alert {
  margin-top: 6px;
}

/* Блок: адаптив для планшета */
@media (max-width: 980px) {
  .teacher-overview-task {
    align-items: flex-start;
    flex-direction: column;
  }

  .teacher-overview-task__actions {
    width: 100%;
  }

  .teacher-overview-task__actions .ui-btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Блок: адаптив для мобильного */
@media (max-width: 640px) {
  .teacher-overview-panel--priority {
    padding: 14px;
    border-radius: 16px;
  }

  .teacher-overview-task {
    padding: 14px;
    border-radius: 16px;
    gap: 14px;
  }

  .teacher-overview-task__title {
    font-size: 18px;
  }

  .teacher-overview-task__text {
    font-size: 14px;
  }

  .teacher-overview-task__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .teacher-overview-task__actions .ui-btn {
    width: 100%;
    min-width: 0;
  }
}

.tp-students-list {
  display: flex;
  flex-direction: column;
}

.tp-students-row {
  position: relative;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border-soft);
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.tp-students-row:last-child {
  border-bottom: 0;
}

.tp-students-row:hover {
  background: var(--color-surface-muted);
}

.tp-students-row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary-soft-strong);
}

.tp-students-row__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
}

.tp-students-row__identity {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tp-students-row__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

.tp-students-row__meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tp-students-row__name {
  font-size: var(--text-md);
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;
}

.tp-students-row__subline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--line-md);
}

.tp-students-row__email {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tp-students-row__dot {
  color: var(--color-text-faint);
  flex: 0 0 auto;
}

.tp-students-row__timezone {
  color: var(--color-text-soft);
}

.tp-students-row__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 auto;
}

.tp-students-row__menu {
  position: relative;
  flex: 0 0 auto;
}

.tp-students-row__menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  z-index: 30;
}

.tp-students-row__menu-body {
  padding: 8px;
}

.tp-students-row__menu-action {
  width: 100%;
  justify-content: flex-start;
}

.tp-students-row__menu-action--danger {
  color: var(--color-danger);
}

.tp-students-packages {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tp-students-packages__total {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-soft);
  flex: 0 0 auto;
}

.tp-students-packages__total-label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.tp-students-packages__total-value {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.tp-students-packages__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tp-students-packages__item {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tp-students-packages__item-label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

.tp-students-packages__item-value {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.tp-students-add {
  display: flex;
  justify-content: flex-start;
}

.tp-students-modal--create {
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.tp-students-modal--delete {
  max-width: 520px;
}

.tp-students-modal__grid {
  align-items: start;
}

@media (max-width: 1100px) {
  .tp-students-row__main {
    align-items: flex-start;
    flex-direction: column;
  }

  .tp-students-row__side {
    width: 100%;
    justify-content: space-between;
  }

  .tp-students-packages {
    justify-content: flex-start;
  }

  .tp-students-packages__list {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .tp-students-row {
    padding: 16px;
  }

  .tp-students-row__identity {
    align-items: flex-start;
  }

  .tp-students-row__subline {
    gap: 6px;
  }

  .tp-students-row__email {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
  }

  .tp-students-row__side {
    flex-direction: column;
    align-items: flex-start;
  }

  .tp-students-packages__total {
    order: -1;
  }

  .tp-students-modal__grid {
    grid-template-columns: 1fr;
  }
}


.tenant-public-home {
  padding: 40px 0 56px;
}

.tenant-public-home__layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.tenant-public-home__sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.tenant-public-home__content {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.tenant-public-home__video {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.tenant-public-home__video iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.tenant-public-home__promo-title {
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.tenant-public-home__promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.tenant-public-home__promo-duration {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.tenant-public-home__promo-price {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.tenant-public-home__promo-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.tenant-public-home__promo-btn {
  width: 100%;
}

.tenant-public-home__promo-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-faint);
}

.tenant-public-home__teacher-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tenant-public-home__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border-soft);
}

.tenant-public-home__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tenant-public-home__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-text);
}

.tenant-public-home__teacher-name {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.tenant-public-home__teacher-subtitle {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.tenant-public-home__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.tenant-public-home__meta-item {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.tenant-public-home__description {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-soft);
}

.tenant-public-home__section {
  display: grid;
  gap: 14px;
}

.tenant-public-home__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tenant-public-home__section-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.tenant-public-home__pricing-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tenant-public-home__pricing-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

.tenant-public-home__pricing-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.tenant-public-home__pricing-price {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.tenant-public-home__status {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border-soft);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.tenant-public-home__status--disabled {
  background: var(--color-surface);
  color: var(--color-text-soft);
}

.tenant-public-home__status--warning {
  background: var(--color-warning-soft);
  border-color: rgba(201, 137, 26, 0.18);
  color: #9a6e1c;
}

.tenant-public-home__status--error {
  background: var(--color-danger-soft);
  border-color: rgba(209, 67, 67, 0.14);
  color: #b44a4a;
}

.tenant-public-home .dashboard-calendar--public {
  min-width: 0;
  width: 100%;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__modal {
  overflow: hidden;
  width: 100%;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__modal-title {
  font-size: 24px;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__board {
  padding: 8px 16px 0;
}

.tenant-public-home .dashboard-calendar__viewport--public {
  width: 100%;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.tenant-public-home .dashboard-calendar__grid--public {
  min-width: 0 !important;
  width: 100% !important;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-cell,
.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__time-cell,
.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__cell {
  min-width: 0;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-cell {
  position: sticky;
  top: 0;
  z-index: 6;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-cell.is-time {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 8;
  background: var(--cal-grid-soft);
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__time-cell {
  position: sticky;
  left: 0;
  z-index: 5;
  background: var(--cal-grid-soft);
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-date {
  font-size: 18px;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-weekday {
  font-size: 12px;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__time-label {
  font-size: 12px;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__event-title--busy {
  font-size: 11px;
}

.tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__event-time--busy {
  font-size: 10px;
}

.tenant-public-home .dashboard-calendar--public.is-expanded {
  position: fixed;
  inset: 16px;
  z-index: 1200;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__modal {
  width: 100%;
  height: calc(100dvh - 32px);
  box-shadow: var(--shadow-lg);
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__board {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 12px 0;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__viewport--public {
  height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__modal-head {
  min-height: 64px;
  padding: 0 14px;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__toolbar {
  padding: 14px 14px 10px;
  gap: 14px;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__modal-title {
  font-size: 22px;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__legend {
  gap: 12px;
}

.tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__legend-item {
  font-size: 13px;
}

@media (max-width: 980px) {
  .tenant-public-home__layout {
    grid-template-columns: 1fr;
  }

  .tenant-public-home__sidebar {
    position: static;
    order: 2;
  }

  .tenant-public-home__content {
    order: 1;
  }
}

@media (max-width: 760px) {
  .tenant-public-home {
    padding: 24px 0 40px;
  }

  .tenant-public-home__teacher-head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .tenant-public-home__avatar {
    width: 56px;
    height: 56px;
  }

  .tenant-public-home__teacher-name {
    font-size: 22px;
  }

  .tenant-public-home__pricing-list {
    grid-template-columns: 1fr;
  }

  .tenant-public-home__video iframe {
    height: 180px;
  }

  .tenant-public-home .dashboard-calendar--public .dashboard-calendar__board {
    padding: 8px 8px 0;
  }

  .tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-date {
    font-size: 16px;
  }

  .tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__header-weekday {
    font-size: 11px;
  }

  .tenant-public-home .dashboard-calendar__grid--public .dashboard-calendar__time-label {
    font-size: 11px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded {
    inset: 8px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__modal {
    height: calc(100dvh - 16px);
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__modal-title {
    font-size: 18px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__toolbar {
    padding: 12px 10px 8px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__range-nav {
    gap: 8px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__range-label {
    font-size: 15px;
  }

  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__today-chip,
  .tenant-public-home .dashboard-calendar--public.is-expanded .dashboard-calendar__range-arrow {
    height: 36px;
  }
}
/* ========== PUBLIC CALENDAR / SINGLE CALENDAR FULLSCREEN MODE ========== */

.tenant-public-home .teacher-calendar-layer--public {
  position: relative;
  inset: auto;
  pointer-events: none;
}

.tenant-public-home .teacher-calendar-layer--public .teacher-calendar-layer__backdrop {
  opacity: 0;
  pointer-events: none;
}

.tenant-public-home .teacher-calendar-layer--public .teacher-calendar-layer__sheet {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: auto;
}

.tenant-public-home .teacher-calendar-layer--public .teacher-calendar-layer__content {
  min-height: 0;
}

.tenant-public-home .teacher-calendar-layer--public .teacher-calendar__nav-btn,
.tenant-public-home .teacher-calendar-layer--public .teacher-calendar-layer__nav-btn {
  display: none;
}

.tenant-public-home .dashboard-calendar--public.is-inline {
  min-width: 0;
  width: 100%;
}

.tenant-public-home .dashboard-calendar--public.is-inline .dashboard-calendar__modal {
  width: 100%;
}

.tenant-public-home .dashboard-calendar--public.is-inline .dashboard-calendar__viewport--public {
  overflow-y: auto;
  overflow-x: hidden;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__header-cell {
  position: sticky;
  top: 0;
  z-index: 8;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__header-cell.is-time {
  z-index: 9;
}

.tenant-public-home .teacher-calendar-layer--public.is-open {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: auto;
}

.tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__backdrop {
  opacity: 1;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.08);
}

.tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__sheet {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  top: var(--teacher-calendar-top, 104px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  pointer-events: auto;
}

.tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__nav-btn {
  display: block;
}

.tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__content {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.tenant-public-home .dashboard-calendar--public.is-fullscreen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.tenant-public-home .dashboard-calendar--public.is-fullscreen .dashboard-calendar__modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

.tenant-public-home .dashboard-calendar--public.is-fullscreen .dashboard-calendar__board {
  flex: 1 1 auto;
  min-height: 0;
}

.tenant-public-home .dashboard-calendar--public.is-fullscreen .dashboard-calendar__viewport--public {
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__grid--public {
  min-width: 0;
}

@media (max-width: 900px) {
  .tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__sheet {
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: 84px;
  }
}

@media (max-width: 760px) {
  .tenant-public-home .teacher-calendar-layer--public.is-open .teacher-calendar-layer__sheet {
    left: 0;
    right: 0;
    bottom: 0;
    top: 68px;
    border-radius: 16px 16px 0 0;
  }

  .tenant-public-home .dashboard-calendar--public .dashboard-calendar__modal-title {
    font-size: 22px;
  }
}
/* ========== PUBLIC CALENDAR STICKY FIX ========== */

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__viewport--public {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__grid {
  position: relative;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__header-cell {
  position: sticky;
  top: 0;
  z-index: 20;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__header-cell.is-time {
  z-index: 21;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__events-layer {
  z-index: 3;
}

.tenant-public-home .dashboard-calendar--public .dashboard-calendar__events-sub-layer--busy {
  z-index: 1;
}