/* Gelvars B2B — static markup (WP theme base) */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@400;600&display=swap");

:root {
  --gv-accent: #0485f7;
  --gv-accent-fg: #fcfcfc;
  --gv-text: #131313;
  --gv-muted: #b7c5cb;
  --gv-muted-2: #c3c8d0;
  --gv-muted-3: #bdc3cb;
  --gv-border: #ccd3d5;
  --gv-field: #ebebec;
  --gv-surface: #ffffff;
  --gv-btn-secondary: #fafafb;
  --gv-status-green: #22c55e;
  --gv-status-orange: #f59e0b;
  --gv-status-red: #ef4444;
  --gv-status-gray: #9ca3af;
  --gv-radius-sm: 10px;
  --gv-radius-md: 12px;
  --gv-radius-lg: 15px;
  --gv-radius-xl: 24px;
  --gv-shadow-field: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 0, 0, 0.06);
  --gv-shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 0, 0, 0.06);
  --gv-font-display: "Montserrat", system-ui, sans-serif;
  --gv-font-ui: "Inter", system-ui, sans-serif;
  --gv-max: 1440px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gv-text);
  font-family: var(--gv-font-display);
  background: linear-gradient(
      79deg,
      #e6ebec 10.95%,
      #fcfcfe 47.58%,
      #dfe6e8 94.75%
    ),
    #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* ——— Auth ——— */
.gv-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.gv-auth__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.95), transparent 58%);
}

.gv-auth__card {
  position: relative;
  width: min(385px, 100%);
  min-height: min(520px, calc(100vh - 48px));
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.gv-auth__card--recover {
  padding-top: 56px;
}

.gv-auth__head {
  flex-shrink: 0;
}

.gv-auth__body {
  margin-top: auto;
  width: 100%;
}

.gv-auth__title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.gv-auth__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--gv-muted);
}

.gv-auth__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.gv-auth__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gv-auth .gv-field {
  height: 44px;
  padding: 10px 16px;
  border-radius: var(--gv-radius-xl);
  font-size: 16px;
}

.gv-auth__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.gv-auth__link {
  text-align: right;
  font-size: 12px;
  color: var(--gv-accent);
  text-decoration: underline;
}

.gv-auth__back {
  position: absolute;
  top: 20px;
  left: 20px;
}

.gv-auth__confirm {
  margin-bottom: 20px;
  text-align: left;
}

.gv-auth__confirm-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gv-text);
}

.gv-auth__confirm-text {
  margin: 0;
  font-size: 14px;
  color: var(--gv-muted);
  line-height: 1.4;
}

.gv-auth__confirm-text strong {
  display: block;
  margin-top: 4px;
  color: var(--gv-text);
  font-weight: 600;
}

.gv-auth__code {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gv-auth__code-digit {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-md);
  background: var(--gv-surface);
  text-align: center;
  font-family: var(--gv-font-ui);
  font-size: 20px;
  font-weight: 600;
  color: var(--gv-text);
}

.gv-auth__code-digit:focus {
  outline: 2px solid var(--gv-accent);
  outline-offset: 1px;
  border-color: transparent;
}

.gv-auth__hint {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--gv-muted);
}

.gv-auth__hint-link {
  border: none;
  padding: 0;
  background: none;
  color: var(--gv-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.gv-auth__error {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--gv-status-red);
  text-align: left;
}

.gv-auth__notice {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--gv-status-green);
  text-align: left;
}

/* ——— App shell ——— */
.gv-app {
  min-height: 100vh;
  padding: 0 30px 40px 61px;
  max-width: var(--gv-max);
  margin: 0 auto;
}

.gv-app--catalog {
  padding-left: 30px;
}

.gv-dock {
  position: fixed;
  left: 30px;
  bottom: 40px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gv-app--wide-dock .gv-dock {
  left: 61px;
}

.gv-dock > a > img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.gv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gv-header__left {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.gv-header__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gv-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.gv-header__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--gv-muted);
}

.gv-header__right {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.gv-layout {
  display: grid;
  grid-template-columns: minmax(0, 707px) minmax(280px, 1fr);
  gap: 60px;
  align-items: start;
}

.gv-layout--catalog {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
}

.gv-layout--film {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 20px;
}

.gv-main {
  min-width: 0;
}

.gv-panel {
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-lg);
  padding: 18px 10px 11px;
  min-height: 120px;
  background: rgba(217, 217, 217, 0);
}

.gv-panel--scroll {
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.gv-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.gv-panel__head--stack {
  align-items: flex-start;
}

.gv-panel__head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.gv-search--panel {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: 280px;
}

.gv-film-detail__title {
  margin-top: 16px;
}

.gv-film-detail__links strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.gv-film-detail__links strong:first-child {
  margin-top: 0;
}

.gv-film-detail__confirm {
  margin-top: 20px;
  text-align: center;
}

.gv-panel__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.gv-panel__title--sm {
  font-size: 14px;
}

.gv-panel__subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gv-muted-2);
}

.gv-panel__empty-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.gv-panel__empty-text {
  margin: 0;
  font-size: 12px;
  color: var(--gv-muted);
}

.gv-footer-cta {
  margin-top: 32px;
}

/* ——— Fields ——— */
.gv-field {
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--gv-radius-md);
  background: var(--gv-field);
  font-family: var(--gv-font-ui);
  font-size: 14px;
  color: var(--gv-text);
}

.gv-field::placeholder {
  color: #71717a;
}

.gv-field--surface {
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-field);
}

.gv-search {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.gv-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #71717a;
  pointer-events: none;
}

.gv-search .gv-field {
  padding-left: 36px;
}

/* ——— Buttons ——— */
.gv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--gv-font-ui);
  font-weight: 500;
  line-height: 1.25;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.gv-btn:hover {
  opacity: 0.92;
}

.gv-btn:active {
  transform: scale(0.98);
}

.gv-btn--primary {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  border-radius: var(--gv-radius-xl);
  padding: 8px 16px;
  font-size: 16px;
  min-height: 40px;
}

.gv-btn--primary-sm {
  font-size: 14px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 16px;
}

.gv-btn--block {
  width: 100%;
}

.gv-btn--icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 16px;
  background: var(--gv-btn-secondary);
  color: var(--gv-text);
}

.gv-btn--icon-lg {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--gv-radius-xl);
  background: var(--gv-field);
}

.gv-btn--icon-primary {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
}

.gv-btn--field {
  background: var(--gv-field);
}

.gv-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gv-icon--10 {
  width: 10px;
  height: 10px;
}

/* ——— Sections / carousels ——— */
.gv-section {
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-lg);
  padding: 10px;
  margin-bottom: 36px;
  overflow: visible;
}

.gv-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.gv-section__meta h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.gv-section__meta p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--gv-muted-2);
}

.gv-section__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gv-carousel-wrap {
  position: relative;
  overflow: visible;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.gv-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-top: 5px;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
  align-items: flex-start;
}

.gv-carousel::-webkit-scrollbar {
  display: none;
}

/* ——— Tile card (notifications / documents preview) ——— */
.gv-tile {
  flex: 0 0 131px;
  height: 186px;
  padding: 8px 5px 12px;
  border-radius: 13px;
  background: var(--gv-surface);
  position: relative;
  cursor: pointer;
  border: 0.655px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease, min-height 0.15s ease;
}

.gv-tile--border {
  border-color: var(--gv-border);
}

.gv-tile:hover,
.gv-tile:focus-visible {
  border-color: transparent;
  background: #fff;
  min-height: 196px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  outline: none;
}

.gv-tile__open {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  border: none;
  display: grid;
  place-items: center;
  background: var(--gv-field);
  cursor: pointer;
  box-shadow: none;
  transition: top 0.15s ease, right 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gv-tile:hover .gv-tile__open,
.gv-tile:focus-visible .gv-tile__open {
  top: -2px;
  right: 5px;
  box-shadow: 0 0 0 2px #f5f5f5, 0 0 0 4px var(--gv-accent);
  background: #e1e1e2;
}

.gv-tile:hover .gv-tile__status,
.gv-tile:focus-visible .gv-tile__status {
  color: var(--gv-text);
}

.gv-tile--document:hover .gv-dot,
.gv-tile--document:focus-visible .gv-dot {
  display: none;
}

.gv-tile__thumb {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
}

.gv-tile__name {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gv-tile__status {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
}

.gv-tile__status--muted {
  color: var(--gv-muted-3);
}

.gv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gv-dot--green {
  background: var(--gv-status-green);
}

.gv-dot--orange {
  background: var(--gv-status-orange);
}

.gv-dot--red {
  background: var(--gv-status-red);
}

.gv-dot--gray {
  background: var(--gv-status-gray);
}

/* ——— Feed cards ——— */
.gv-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gv-feed.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.gv-feed-card {
  position: relative;
  padding: 16px;
  border-radius: var(--gv-radius-xl);
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-card);
}

.gv-feed-card__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.gv-feed-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.gv-feed-card__head {
  flex: 1;
  min-width: 0;
}

.gv-feed-card__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.gv-feed-card__label {
  font-family: var(--gv-font-ui);
  font-size: 12px;
  font-weight: 500;
}

.gv-feed-card__cinema {
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 0;
}

.gv-feed-card__meta {
  text-align: right;
  font-size: 12px;
  color: var(--gv-muted);
  white-space: nowrap;
}

.gv-feed-card__body {
  margin: 12px 0 0 60px;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  color: #71717a;
  line-height: 1.4;
}

.gv-feed-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  margin-left: 60px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Notification filters ——— */
.gv-layout--notifications {
  align-items: start;
}

.gv-panel--feed {
  overflow: visible;
  max-height: none;
  background: transparent;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-lg);
  padding: 18px 12px 14px;
}

.gv-panel--feed .gv-panel__head {
  margin-bottom: 14px;
  padding: 0 4px;
}

.gv-notification-filter-toggle__close {
  display: none;
}

.gv-notification-filter-toggle.is-open .gv-notification-filter-toggle__list {
  display: none;
}

.gv-notification-filter-toggle.is-open .gv-notification-filter-toggle__close {
  display: block;
}

.gv-filters {
  margin-bottom: 16px;
}

.gv-filters[hidden] {
  display: none;
}

.gv-filters__card {
  background: var(--gv-surface);
  border: 1px solid var(--gv-border);
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: var(--gv-shadow-card);
}

.gv-filters__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.gv-filters__grid {
  display: grid;
  grid-template-columns: minmax(130px, 42%) minmax(0, 58%);
  gap: 16px;
  align-items: start;
}

.gv-filters__col--selects {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gv-filter-field__label {
  margin: 0 0 8px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--gv-text);
}

.gv-filter-field__label--calendar {
  margin-bottom: 10px;
}

.gv-dropdown {
  position: relative;
}

.gv-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-md);
  background: var(--gv-surface);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--gv-shadow-field);
}

.gv-dropdown.is-open .gv-dropdown__toggle {
  border-color: var(--gv-accent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.gv-dropdown__value {
  flex: 1;
  min-width: 0;
  font-family: var(--gv-font-ui);
  font-size: 13px;
  font-weight: 400;
  color: var(--gv-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gv-dropdown__value.has-value {
  color: var(--gv-text);
  font-weight: 500;
}

.gv-dropdown__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gv-muted);
  transition: transform 0.15s ease;
}

.gv-dropdown.is-open .gv-dropdown__chevron {
  transform: rotate(180deg);
}

.gv-dropdown__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--gv-accent);
  border-top: none;
  border-radius: 0 0 var(--gv-radius-md) var(--gv-radius-md);
  background: var(--gv-surface);
  overflow: hidden;
  box-shadow: var(--gv-shadow-card);
}

.gv-dropdown.is-open .gv-dropdown__menu {
  display: block;
}

.gv-dropdown__menu[hidden] {
  display: none;
}

.gv-dropdown__option {
  width: 100%;
  border: none;
  border-top: 1px solid var(--gv-border);
  background: var(--gv-surface);
  padding: 11px 12px;
  text-align: left;
  font-family: var(--gv-font-ui);
  font-size: 13px;
  cursor: pointer;
  color: var(--gv-text);
}

.gv-dropdown__option:first-child {
  border-top: none;
}

.gv-dropdown__option:hover,
.gv-dropdown__option.is-active {
  background: var(--gv-field);
}

.gv-dropdown__sep {
  padding: 8px 12px 10px;
  text-align: center;
  font-family: var(--gv-font-ui);
  font-size: 13px;
  color: var(--gv-muted);
  border-top: 1px solid var(--gv-border);
  pointer-events: none;
}

.gv-calendar {
  border: 1px solid var(--gv-border);
  border-radius: 16px;
  background: var(--gv-surface);
  padding: 12px 12px 10px;
  box-shadow: var(--gv-shadow-card);
}

.gv-calendar__tabs {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--gv-field);
}

.gv-calendar__tab {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 6px 4px;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  background: transparent;
  color: var(--gv-text);
  cursor: pointer;
}

.gv-calendar__tab.is-active {
  font-weight: 600;
  background: transparent;
  color: var(--gv-text);
}

.gv-calendar__tab-sep {
  width: 1px;
  height: 14px;
  flex-shrink: 0;
  background: var(--gv-border);
}

.gv-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.gv-calendar__month {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.gv-calendar.is-picker-open .gv-calendar__month-chevron {
  transform: rotate(90deg);
}

.gv-calendar__month-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gv-accent);
  transition: transform 0.15s ease;
}

.gv-calendar__nav-arrows {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.gv-calendar__nav-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gv-accent);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gv-calendar__nav-btn .gv-icon {
  width: 16px;
  height: 16px;
}

.gv-calendar__title {
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.gv-calendar__weekdays,
.gv-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.gv-calendar__weekdays {
  margin-bottom: 6px;
}

.gv-calendar__weekdays span {
  text-align: center;
  font-family: var(--gv-font-ui);
  font-size: 11px;
  color: var(--gv-muted);
}

.gv-calendar__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  min-height: 36px;
  padding: 2px 0 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.gv-calendar__cell:hover:not(.is-selected) .gv-calendar__day-num {
  background: var(--gv-field);
}

.gv-calendar__day-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  line-height: 1;
  color: var(--gv-text);
}

.gv-calendar__cell.is-outside .gv-calendar__day-num {
  color: var(--gv-muted);
  opacity: 0.45;
}

.gv-calendar__cell.is-selected .gv-calendar__day-num {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
}

.gv-calendar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b0b0b0;
  flex-shrink: 0;
}

.gv-calendar__cell.is-selected .gv-calendar__dot {
  background: var(--gv-accent);
  opacity: 0.55;
}

.gv-calendar.is-picker-open .gv-calendar__body,
.gv-calendar.is-picker-open .gv-calendar__quick {
  display: none;
}

.gv-calendar__picker {
  padding: 2px 0 4px;
}

.gv-calendar__picker-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gv-calendar__picker-year {
  min-width: 52px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.gv-calendar__picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gv-calendar__picker-month {
  border: none;
  border-radius: 10px;
  padding: 8px 4px;
  font-family: var(--gv-font-ui);
  font-size: 11px;
  line-height: 1.2;
  background: var(--gv-field);
  color: var(--gv-text);
  cursor: pointer;
}

.gv-calendar__picker-month:hover {
  background: #e8edf5;
}

.gv-calendar__picker-month.is-active {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  font-weight: 600;
}

.gv-calendar__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.gv-calendar__quick-btn {
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--gv-font-ui);
  font-size: 11px;
  line-height: 1.2;
  background: var(--gv-field);
  color: var(--gv-text);
  cursor: pointer;
}

.gv-calendar__quick-btn.is-active:not(.gv-calendar__quick-btn--reset) {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
}

.gv-calendar__quick-btn--reset {
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
}

.gv-calendar__hint {
  margin: 10px 0 0;
  font-family: var(--gv-font-ui);
  font-size: 11px;
  line-height: 1.3;
  color: var(--gv-muted);
  text-align: center;
}

/* ——— Document list ——— */
.gv-document-filters__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gv-document-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.gv-doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gv-doc-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.gv-doc-card {
  position: relative;
  padding: 16px;
  border-radius: var(--gv-radius-xl);
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-card);
  min-height: 148px;
}

.gv-doc-card__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  font-weight: 500;
}

.gv-doc-card__date {
  color: var(--gv-muted);
  font-family: var(--gv-font-display);
  font-weight: 400;
}

.gv-doc-card__film {
  margin: 16px 0 0;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 500;
}

.gv-doc-card__file {
  margin: 16px 0 0;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  color: #71717a;
}

.gv-doc-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.gv-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

/* ——— Catalog filters ——— */
.gv-btn--filter {
  position: relative;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--gv-surface);
  color: var(--gv-text);
  box-shadow: var(--gv-shadow-field);
  font-size: 13px;
}

.gv-btn__filter-icon {
  width: 16px;
  height: 16px;
  color: var(--gv-accent);
}

.gv-btn__count {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  font-size: 11px;
}

.gv-catalog-filters[hidden] {
  display: none;
}

.gv-catalog-filters {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 76px 30px 30px;
}

.gv-catalog-filters__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(19, 19, 19, 0.16);
  backdrop-filter: blur(2px);
  cursor: default;
}

.gv-catalog-filters__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 106px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--gv-border);
  border-radius: 20px;
  background: var(--gv-surface);
  box-shadow: 0 18px 48px rgba(35, 48, 52, 0.2);
}

.gv-catalog-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gv-catalog-filters__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.gv-catalog-filters__close {
  font-size: 13px;
}

.gv-catalog-filters__grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(260px, 1.2fr);
  gap: 16px;
  align-items: start;
}

.gv-catalog-filter {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.gv-catalog-filter__label {
  font-family: var(--gv-font-ui);
  font-size: 13px;
  font-weight: 600;
}

.gv-catalog-filter:not(.gv-catalog-filter--calendar) {
  grid-column: 1;
}

.gv-catalog-filter--calendar {
  grid-column: 2;
  grid-row: 1 / span 4;
}

.gv-catalog-calendar {
  position: relative;
  z-index: 2;
  min-width: 0;
  pointer-events: auto;
}

.gv-catalog-calendar button {
  pointer-events: auto;
}

.gv-catalog-filter__control {
  position: relative;
  display: block;
}

.gv-catalog-filter__control select,
.gv-catalog-filter__control input {
  width: 100%;
  min-height: 40px;
  padding: 9px 36px 9px 12px;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-md);
  outline: none;
  background: var(--gv-surface);
  color: var(--gv-text);
  box-shadow: var(--gv-shadow-field);
  font-family: var(--gv-font-ui);
  font-size: 13px;
}

.gv-catalog-filter__control select {
  appearance: none;
  cursor: pointer;
}

.gv-catalog-filter__control input[type="date"] {
  padding-right: 12px;
  cursor: pointer;
}

.gv-catalog-filter__control select:focus,
.gv-catalog-filter__control input:focus {
  border-color: var(--gv-accent);
  box-shadow: 0 0 0 2px rgba(4, 133, 247, 0.12);
}

.gv-catalog-filter__control > svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 14px;
  color: var(--gv-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.gv-catalog-dropdown {
  position: relative;
  min-width: 0;
}

.gv-catalog-dropdown__toggle {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-md);
  background: var(--gv-surface);
  color: var(--gv-text);
  box-shadow: var(--gv-shadow-field);
  cursor: pointer;
  text-align: left;
}

.gv-catalog-dropdown__toggle:focus-visible {
  outline: none;
  border-color: var(--gv-accent);
  box-shadow: 0 0 0 2px rgba(4, 133, 247, 0.12);
}

.gv-catalog-dropdown.is-open .gv-catalog-dropdown__toggle {
  border-color: var(--gv-accent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.gv-catalog-dropdown__value {
  min-width: 0;
  overflow: hidden;
  color: var(--gv-muted);
  font-family: var(--gv-font-ui);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gv-catalog-dropdown__value.has-value {
  color: var(--gv-text);
}

.gv-catalog-dropdown__toggle svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--gv-muted);
  transition: transform 0.15s ease;
}

.gv-catalog-dropdown.is-open .gv-catalog-dropdown__toggle svg {
  transform: rotate(180deg);
}

.gv-catalog-dropdown__menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 6;
  max-height: 220px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--gv-accent);
  border-top: 0;
  border-radius: 0 0 var(--gv-radius-md) var(--gv-radius-md);
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-card);
}

.gv-catalog-dropdown__menu[hidden] {
  display: none;
}

.gv-catalog-dropdown__option {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--gv-border);
  background: var(--gv-surface);
  color: var(--gv-text);
  cursor: pointer;
  font-family: var(--gv-font-ui);
  font-size: 13px;
  text-align: left;
}

.gv-catalog-dropdown__option:first-child {
  border-top: 0;
}

.gv-catalog-dropdown__option:hover,
.gv-catalog-dropdown__option:focus-visible,
.gv-catalog-dropdown__option.is-active {
  outline: none;
  background: var(--gv-field);
  color: var(--gv-text);
}

.gv-catalog-filters__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.gv-btn--secondary {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-xl);
  background: var(--gv-surface);
  color: var(--gv-text);
  font-size: 14px;
}

body.gv-catalog-filters-open {
  overflow: hidden;
}

/* ——— Catalog grid ——— */
.gv-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
  gap: 12px 16px;
}

.gv-film-card {
  position: relative;
  background: var(--gv-surface);
  border-radius: 13px;
  padding: 3px 4px 7px;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.gv-film-card:hover {
  box-shadow: var(--gv-shadow-card);
}

.gv-film-card--active {
  outline: 2px solid var(--gv-accent);
  outline-offset: 2px;
}

.gv-film-card__poster {
  position: relative;
  height: 120px;
  border-radius: var(--gv-radius-sm);
  overflow: hidden;
  background: #ddd;
}

.gv-film-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gv-film-card__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--gv-surface);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gv-film-card__dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gv-status-red);
}

.gv-film-card__title {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.gv-film-card__meta {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

/* ——— Film detail panel ——— */
.gv-film-detail__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin: 8px 0 16px;
}

.gv-film-detail__section {
  margin-bottom: 20px;
}

.gv-film-detail__section h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.gv-film-detail__grid {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.gv-film-detail__label {
  color: var(--gv-muted);
}

.gv-film-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gv-film-detail__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gv-field);
  font-size: 12px;
}

.gv-film-detail__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gv-film-detail__links a {
  color: var(--gv-accent);
  font-size: 12px;
  text-decoration: underline;
}

.gv-history {
  font-size: 12px;
}

.gv-history__date {
  font-weight: 600;
  margin: 12px 0 6px;
}

.gv-history__item {
  color: #71717a;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ——— Carousel (detail) ——— */
.gv-media-carousel {
  margin-bottom: 16px;
}

.gv-media-carousel__stage {
  position: relative;
  height: 320px;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  background: #111;
}

.gv-media-carousel__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gv-media-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gv-media-carousel__nav--prev {
  left: 20px;
}

.gv-media-carousel__nav--next {
  right: 20px;
}

.gv-media-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.gv-media-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  border: none;
  padding: 0;
  background: var(--gv-field);
  cursor: pointer;
}

.gv-media-carousel__dot--active {
  background: var(--gv-accent);
}

.gv-media-carousel__thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

.gv-media-carousel__thumb {
  flex: 0 0 96px;
  height: 96px;
  border-radius: var(--gv-radius-xl);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: none;
}

.gv-media-carousel__thumb--active {
  border-color: var(--gv-accent);
}

.gv-media-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Profile ——— */
.gv-profile {
  max-width: 343px;
  padding-top: 8px;
}

.gv-profile__avatar {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
}

.gv-profile__notice {
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.gv-profile__notice.is-success {
  background: #dcfce7;
  color: #166534;
}

.gv-profile__notice.is-error {
  background: #fee2e2;
  color: #991b1b;
}

.gv-profile__avatar-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.gv-profile__avatar-picker {
  position: relative;
  display: block;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.gv-profile__avatar-picker .gv-profile__avatar {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.gv-profile__avatar-picker:hover .gv-profile__avatar {
  transform: scale(1.04);
}

.gv-profile__avatar-overlay {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  transform: translateX(-50%);
  backdrop-filter: blur(4px);
}

.gv-profile__avatar-overlay svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.gv-profile__file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.gv-profile__filename {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #71717a;
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gv-profile__hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--gv-muted);
}

.gv-profile__password-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gv-border);
}

.gv-profile__telegram-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  padding: 18px;
  border: 1px solid var(--gv-border);
  border-radius: 16px;
  background: var(--gv-surface);
}

.gv-profile__telegram-card .gv-profile__label,
.gv-profile__telegram-status {
  margin: 0;
}

.gv-profile__password-form .gv-field {
  width: 100%;
}

.gv-profile__password-email {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gv-border);
  border-radius: 12px;
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-field);
}

.gv-profile__password-email span,
.gv-profile__password-email strong {
  display: block;
}

.gv-profile__password-email span {
  margin-bottom: 4px;
  color: var(--gv-muted);
  font-size: 11px;
}

.gv-profile__password-email strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gv-profile__block {
  margin-bottom: 24px;
}

.gv-profile__label {
  font-size: 12px;
  margin: 0 0 6px;
}

.gv-profile__value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.gv-profile__contacts > .gv-profile__label {
  margin-bottom: 14px;
}

.gv-profile__contact {
  margin-bottom: 14px;
}

.gv-profile__policy {
  font-size: 12px;
  color: var(--gv-accent);
  text-decoration: underline;
}

/* ——— Nav overlay ——— */
.gv-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gv-nav--open {
  opacity: 1;
  pointer-events: auto;
}

.gv-nav__sheet {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--gv-surface);
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.gv-nav--open .gv-nav__sheet {
  transform: translateX(0);
}

.gv-nav__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gv-nav__list a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.gv-nav__list a:hover,
.gv-nav__list a[aria-current="page"] {
  background: var(--gv-field);
  color: var(--gv-accent);
}

.gv-panel__note {
  font-size: 12px;
  margin: 16px 0 8px;
}

.gv-panel__links-row {
  font-size: 12px;
  color: var(--gv-accent);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gv-panel__links-row a {
  color: var(--gv-accent);
  text-decoration: underline;
}

.gv-panel__mailing-content {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
}

.gv-panel__attachments {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--gv-border);
  border-radius: 12px;
  font-size: 12px;
}

.gv-panel__attachments a {
  color: var(--gv-accent);
  text-decoration: underline;
}

.gv-panel__actions-center {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 1100px) {
  .gv-layout,
  .gv-layout--catalog,
  .gv-layout--film {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gv-panel--scroll {
    max-height: none;
  }

  .gv-layout--film .gv-panel {
    order: 2;
  }

  .gv-layout--film .gv-main {
    order: 1;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .gv-app,
  .gv-app--catalog,
  .gv-app--wide-dock {
    padding: 0 20px calc(96px + env(safe-area-inset-bottom, 0px)) 20px;
  }

  .gv-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .gv-header__left {
    width: 100%;
  }

  .gv-header__right {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .gv-search {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
    order: 1;
  }

  .gv-header__right > .gv-btn--icon,
  .gv-header__right > [data-gv-menu-open] {
    order: 2;
  }

  .gv-header__right > .gv-btn--filter {
    order: 2;
  }

  .gv-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .gv-section__actions {
    justify-content: space-between;
    width: 100%;
  }

  .gv-panel__head-tools {
    max-width: 100%;
  }

  .gv-search--panel {
    max-width: none;
    flex: 1 1 calc(100% - 96px);
  }
}

/* Phone */
@media (max-width: 768px) {
  .gv-app,
  .gv-app--catalog,
  .gv-app--wide-dock {
    padding: 0 16px calc(88px + env(safe-area-inset-bottom, 0px)) 16px;
  }

  .gv-dock {
    left: max(16px, env(safe-area-inset-left, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    gap: 12px;
  }

  .gv-header__title {
    font-size: 18px;
    line-height: 1.25;
    white-space: normal;
  }

  .gv-header__subtitle {
    font-size: 14px;
    white-space: normal;
  }

  .gv-header__left {
    gap: 12px;
    align-items: flex-start;
  }

  .gv-btn--icon,
  .gv-btn--icon-lg {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .gv-btn--primary-sm {
    min-height: 40px;
    padding: 8px 14px;
  }

  .gv-header__right {
    gap: 10px;
  }

  .gv-btn--filter {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 22px;
  }

  .gv-btn--filter > span:not(.gv-btn__count) {
    display: none;
  }

  .gv-btn__count {
    position: absolute;
    top: -3px;
    right: -3px;
  }

  .gv-catalog-filters {
    align-items: flex-start;
    padding: 72px 10px 16px;
  }

  .gv-catalog-filters__panel {
    width: 100%;
    max-height: calc(100vh - 88px);
    padding: 14px;
    border-radius: 18px;
  }

  .gv-catalog-filters__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 14px 10px;
  }

  .gv-catalog-filters__actions .gv-btn {
    flex: 1;
  }

  .gv-section {
    margin-bottom: 24px;
    padding: 8px;
  }

  .gv-section__actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .gv-section__actions .gv-btn--primary-sm {
    flex: 1 1 auto;
    min-width: 0;
  }

  .gv-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .gv-tile {
    scroll-snap-align: start;
    flex: 0 0 min(131px, 42vw);
  }

  .gv-panel {
    padding: 14px 12px 12px;
  }

  .gv-feed-card__top {
    flex-direction: column;
  }

  .gv-feed-card__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gv-feed-card__meta {
    text-align: left;
    white-space: normal;
  }

  .gv-layout--notifications {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gv-layout--notifications .gv-main--notifications {
    display: none;
  }

  .gv-panel--feed {
    border: none;
    padding: 0;
  }

  .gv-panel--feed .gv-panel__head {
    padding: 0;
  }

  .gv-filters__grid {
    grid-template-columns: minmax(118px, 40%) minmax(0, 60%);
    gap: 12px;
  }

  .gv-feed-card__body,
  .gv-feed-card__link {
    margin-left: 0;
  }

  .gv-doc-card {
    min-height: 0;
  }

  .gv-document-filters__grid {
    grid-template-columns: 1fr;
  }

  .gv-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .gv-film-card__poster {
    height: clamp(100px, 32vw, 140px);
  }

  .gv-media-carousel__stage {
    height: clamp(200px, 56vw, 280px);
  }

  .gv-media-carousel__nav--prev {
    left: 8px;
  }

  .gv-media-carousel__nav--next {
    right: 8px;
  }

  .gv-media-carousel__thumb {
    flex: 0 0 72px;
    height: 72px;
  }

  .gv-profile {
    max-width: none;
    padding-bottom: 16px;
  }

  .gv-auth__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .gv-auth__card {
    min-height: min(480px, calc(100vh - 32px));
  }

  .gv-auth__code-digit {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .gv-auth {
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .gv-footer-cta .gv-btn--primary {
    width: 100%;
    justify-content: center;
  }

  .gv-panel__actions-center .gv-btn,
  .gv-film-detail__confirm .gv-btn {
    width: 100%;
    max-width: 100%;
  }

  .gv-nav__sheet {
    width: min(100%, 320px);
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px 24px;
  }

  .gv-nav__list a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .gv-film-detail__grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gv-film-detail__label {
    margin-top: 8px;
  }

  .gv-film-detail__label:first-child {
    margin-top: 0;
  }

  body.gv-nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 380px) {
  .gv-catalog {
    grid-template-columns: 1fr 1fr;
  }

  .gv-tile {
    flex: 0 0 min(128px, 44vw);
  }

  .gv-section__actions .gv-btn--primary-sm {
    flex: 1 1 100%;
  }
}

/* ——— FAQ assistant (partner cabinet) ——— */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gv-faq-bot {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.gv-faq-bot__fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  box-shadow: var(--gv-shadow-card), 0 8px 24px rgba(4, 133, 247, 0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gv-faq-bot__fab-icon {
  font-family: var(--gv-font-ui);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.gv-faq-bot__fab:hover {
  filter: brightness(1.05);
}

.gv-faq-bot--open .gv-faq-bot__fab {
  background: #131313;
}

.gv-faq-bot__panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--gv-surface);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(19, 19, 19, 0.16);
  overflow: hidden;
}

.gv-faq-bot__panel[hidden] {
  display: none;
}

.gv-faq-bot__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--gv-border);
}

.gv-faq-bot__title {
  margin: 0;
  font-family: var(--gv-font-ui);
  font-size: 16px;
  font-weight: 600;
}

.gv-faq-bot__sub {
  margin: 2px 0 0;
  color: #6b7280;
  font-family: var(--gv-font-ui);
  font-size: 12px;
}

.gv-faq-bot__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--gv-field);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--gv-text);
}

.gv-faq-bot__log {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gv-faq-bot__msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.gv-faq-bot__msg--bot {
  align-self: flex-start;
  background: #f3f5f7;
}

.gv-faq-bot__msg--user {
  align-self: flex-end;
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
}

.gv-faq-bot__msg--wait {
  color: #6b7280;
  font-style: italic;
}

.gv-faq-bot__msg--staff {
  align-self: flex-start;
  background: #e8f4ff;
  border: 1px solid #c5e0f7;
}

.gv-faq-bot__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 16px 8px;
}

.gv-faq-bot__escalate {
  border: 1px solid var(--gv-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gv-text);
}

.gv-faq-bot--need-human .gv-faq-bot__escalate,
.gv-faq-bot__escalate:hover {
  border-color: var(--gv-accent);
  color: var(--gv-accent);
}

.gv-faq-bot__wait {
  margin: 0;
  color: #6b7280;
  font-family: var(--gv-font-ui);
  font-size: 12px;
}

.gv-faq-bot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 8px;
}

.gv-faq-bot__log .gv-faq-bot__chips {
  padding: 0;
}

.gv-faq-bot__chip {
  border: 1px solid var(--gv-border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--gv-font-ui);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--gv-text);
}

.gv-faq-bot__chip:hover {
  border-color: var(--gv-accent);
  color: var(--gv-accent);
}

.gv-faq-bot__form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--gv-border);
}

.gv-faq-bot__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: var(--gv-field);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: var(--gv-font-ui);
  font-size: 14px;
}

.gv-faq-bot__send {
  border: 0;
  background: var(--gv-accent);
  color: var(--gv-accent-fg);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: var(--gv-font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .gv-faq-bot {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(72px, calc(16px + env(safe-area-inset-bottom, 0px)));
  }
}
