.app-shell { display: flex; min-height: 100dvh; width: 100%; margin: 0; }.app-shell__content { flex: 1; min-width: 0; }.cabinet-main { display: flex; flex-direction: column; gap: 28px; padding: 28px 48px 40px; }
.sidebar { position: sticky; top: 0; flex: 0 0 var(--sidebar-w); width: var(--sidebar-w); height: 100dvh; padding: 28px 20px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--bg); }.sidebar__logo { padding: 0 8px; display: block; }.sidebar__logo img { width: 188px; height: 48px; object-fit: contain; object-position: left center; }.sidebar nav { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; }.nav-item { display: flex; align-items: center; gap: 12px; padding: 13px 12px; min-height: 48px; border-radius: var(--radius-md); font-size: 14px; color: var(--ink-2); }.nav-item span:not(.count) { flex: 1; }.nav-item:hover, .nav-item.is-active { background: var(--surface); color: var(--ink); }.nav-item.is-active { font-weight: 500; }.nav-item.is-active > .icon { color: var(--accent); }.sidebar__bottom { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding-top: 24px; }.sidebar-promo { padding: 18px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-md); }.sidebar-promo__mark { display: inline-flex; padding: 8px; border-radius: var(--radius-md); background: var(--accent); margin-bottom: 18px; }.sidebar-promo h2 { font-size: 20px; letter-spacing: -.2px; line-height: 1.1; }.sidebar-promo p { color: var(--on-dark-2); font-size: 12px; line-height: 1.5; margin: 12px 0 18px; }.sidebar-promo .btn { width: 100%; justify-content: space-between; }.sidebar-user { display: flex; align-items: center; gap: 10px; }.sidebar-user > span { min-width: 0; }.sidebar-user strong { display: block; font-size: 12px; }.sidebar-user small { display: block; font-size: 10px; color: var(--ink-2); margin-top: 2px; }
.mobile-header, .mobile-tabbar { display: none; }
@media (min-width: 1024px) {
  .cabinet { height: 100dvh; overflow: hidden; overscroll-behavior: none; }
  .app-shell { position: fixed; inset: 0; height: 100dvh; min-height: 0; overflow: hidden; }
  .app-shell > .sidebar { position: relative; top: auto; height: 100%; overflow-y: auto; overscroll-behavior: none; }
  .app-shell__content { height: 100%; overflow-y: auto; overscroll-behavior: none; }
}
@media (min-width: 1280px) {
  .panel-page { height: 100dvh; overflow: hidden; overscroll-behavior: none; }
  .panel-shell { position: fixed; inset: 0; height: 100dvh; min-height: 0; overflow: hidden; }
  .panel-shell > .sidebar { position: relative; top: auto; height: 100%; overflow-y: auto; overscroll-behavior: none; }
  .panel-shell__content { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
  .panel-topbar { flex: 0 0 var(--panel-topbar-h); }
  .panel-main { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: none; }
  .panel-main > * { flex-shrink: 0; }
}
.auth-page { min-width: 0; background: var(--surface); min-height: 100dvh; display: flex; flex-direction: column; }.auth-header { padding-top: 48px; display: flex; align-items: center; flex-direction: column; gap: 16px; }.auth-header img { object-fit: contain; }.auth-header p { font-size: 13px; color: var(--ink-2); }.auth-main { flex: 1; min-width: 0; width: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }.auth-card { min-width: 0; max-width: 100%; width: var(--auth-card-w); padding: 40px; border-radius: var(--radius-lg); background: var(--bg); display: flex; flex-direction: column; gap: 24px; }.auth-card h1 { font-size: 30px; line-height: 1.2; }.auth-card__intro p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }.auth-form { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; }.auth-card__bottom { text-align: center; font-size: 14px; color: var(--ink-2); }.auth-card__bottom a { font-weight: 600; color: var(--ink); }.auth-forgot { display: block; text-align: right; font-size: 13px; font-weight: 500; }.auth-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; color: var(--ink-2); font-size: 12px; padding: 24px 16px 32px; }.auth-state-icon { align-self: center; color: var(--ink); margin: 0 auto 4px; }.auth-card--message { text-align: center; }.auth-card--message p { color: var(--ink-2); line-height: 1.6; }
.panel-shell { min-width: 1280px; display: flex; min-height: 100dvh; width: 100%; margin: 0; }.sidebar--panel { width: var(--panel-sidebar-w); flex-basis: var(--panel-sidebar-w); }.sidebar__caption { color: var(--ink-3); font-size: 12px; padding: 8px 8px 0; }.sidebar--panel nav { margin-top: 28px; }.sidebar__preview-link { margin: auto 8px 4px; font-size: 12px; color: var(--ink-2); }.panel-shell__content { flex: 1; min-width: 0; }.panel-topbar { height: 72px; padding: 0 48px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; font-size: 13px; }.panel-topbar > div:first-child { flex: 1; color: var(--ink-2); }.panel-topbar > a { display: inline-flex; align-items: center; gap: 8px; }.topbar-user { display: flex; align-items: center; gap: 10px; }.topbar-user strong, .topbar-user small { display: block; font-size: 12px; }.topbar-user small { color: var(--ink-2); font-size: 11px; }.panel-main { display: flex; flex-direction: column; gap: 24px; padding: 32px 48px 48px; }.panel-main h1 { font-size: 32px; }.panel-main h2 { font-size: 20px; }.panel-main .page-heading p { font-size: 14px; }.panel-main .field input:not([type=checkbox]):not([type=radio]), .panel-main .field select { min-height: 48px; padding: 11px 16px; }
.focus-page { background: var(--surface); }.test-bar { height: 76px; padding: 0 48px; border-bottom: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; gap: 24px; }.test-bar > div:nth-child(2) { flex: 1; }.test-bar span { display: block; color: var(--ink-2); font-size: 13px; }.test-bar strong { font-weight: 500; }.test-timer { display: flex; align-items: center; gap: 8px; background: var(--surface); padding: 10px 14px; border-radius: var(--radius-md); font-variant-numeric: tabular-nums; }.test-main { max-width: 1640px; margin: 0 auto; padding: 32px 48px 64px; }
@media (min-width: 1024px) and (max-width: 1279px) { .cabinet-main { padding-right: 32px; padding-left: 32px; }.sidebar { width: 240px; flex-basis: 240px; } }
@media (max-width: 1023px) {
  .app-shell > .sidebar { display: none; }.cabinet-main { gap: 24px; padding: 24px 16px calc(104px + env(safe-area-inset-bottom)); }.mobile-header { display: flex; position: sticky; top: 0; z-index: var(--z-sticky); height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: var(--bg); }.mobile-header img { width: 148px; height: 38px; object-fit: contain; }.mobile-header .icon-btn { border: 0; position: relative; }.mobile-header--inner > strong { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mobile-header__spacer { width: 36px; }.notification-dot { width: 6px; height: 6px; position: absolute; top: 5px; right: 7px; background: var(--accent); border-radius: 50%; }
  .mobile-tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-tabbar); padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }.mobile-tabbar__item { flex: 1; text-align: center; color: var(--ink-2); }.mobile-tabbar__item > span { position: relative; display: flex; align-items: center; justify-content: center; height: 30px; }.mobile-tabbar__item .count { position: absolute; top: -4px; left: calc(50% + 6px); min-width: 16px; height: 16px; font-size: 10px; }.mobile-tabbar__item small { display: block; font-size: 10px; margin-top: 5px; }.mobile-tabbar__item.is-active { color: var(--accent); }.mobile-tabbar__item.is-active small { font-weight: 600; }
  .auth-header { padding: 32px 24px 0; text-align: center; gap: 12px; }.auth-header img { width: 188px; height: 50px; }.auth-header p { max-width: 260px; font-size: 12px; }.auth-main { align-items: flex-start; padding: 40px 0; }.auth-card { flex: 0 0 auto; width: calc(100% - 32px); max-width: 480px; margin: 0 16px; padding: 28px 24px; }.auth-main > .document-page { width: calc(100% - 32px); margin: 0 16px; }.auth-footer { font-size: 11px; gap: 12px; padding: 12px 16px 24px; }.auth-footer span { width: 100%; text-align: center; }
  .test-bar { padding: 0 16px; height: 76px; gap: 12px; }.test-bar > a { display: none; }.test-bar > div:nth-child(2) > span { font-size: 10px; }.test-bar > div:nth-child(2) > strong { display: block; font-size: 13px; }.test-timer { padding: 8px; font-size: 13px; }.test-timer span { display: none; }.test-main { padding: 20px 16px 32px; }
}
