﻿      :root {
        color-scheme: light;
        --bg: #f4f7ff;
        --card: #ffffff;
        --text: #0f172a;
        --muted: #475569;
        --border: #dbe7ff;
        --primary: #1d4ed8;
        --primary-2: #0f766e;
        --danger: #b91c1c;
        --danger-bg: #fee2e2;
        --ok-bg: #dcfce7;
        --ok-text: #166534;
        --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
        --shell-inline-padding: 40px;
        --shell-topbar-height: 75px;
        --shell-brand-logo-size: 40px;
        --shell-brand-font-size: 24px;
        --shell-content-max-width: 1280px;
        --shell-stage-width: min(
          var(--shell-content-max-width),
          calc(100vw - (var(--shell-inline-padding) + var(--shell-inline-padding)))
        );
        --shell-compact-width: min(
          1100px,
          calc(100vw - (var(--shell-inline-padding) + var(--shell-inline-padding)))
        );
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        color: var(--text);
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        background: var(--bg);
      }

      .wrap {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 0 0 48px;
      }

      body.landing-mode {
        background: #f4f1ec;
      }

      .wrap.wrap-landing {
        max-width: 1151px;
        padding: 0;
      }

      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
        min-height: var(--shell-topbar-height);
        padding: 0 var(--shell-inline-padding);
      }

      .brand {
        margin: 0;
        font-size: var(--shell-brand-font-size);
        font-weight: 800;
      }

      .brand-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .brand-logo {
        width: var(--shell-brand-logo-size);
        height: var(--shell-brand-logo-size);
        border-radius: 10px;
      }

      .topbar-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
        min-width: clamp(176px, 18vw, 280px);
      }

      .topbar-auth-placeholder {
        width: clamp(176px, 18vw, 280px);
        height: 56px;
        border-radius: 12px;
        background: linear-gradient(90deg, rgba(226, 232, 240, 0.95) 20%, rgba(248, 250, 252, 0.9) 50%, rgba(226, 232, 240, 0.95) 80%);
        background-size: 220% 100%;
        animation: skeleton-wave 1.2s ease-in-out infinite;
      }

      .button {
        border: 0;
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: opacity 0.15s ease;
      }

      .button:hover:not(:disabled) {
        opacity: 0.92;
      }

      .button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .button-primary {
        background: var(--primary);
        color: #ffffff;
      }

      .button-secondary {
        background: #e2e8f0;
        color: #0f172a;
      }

      .button-success {
        background: var(--primary-2);
        color: #ffffff;
      }

      .button-danger {
        background: #fef2f2;
        color: var(--danger);
        border: 1px solid #fecaca;
      }

      .button-link {
        background: transparent;
        color: var(--primary);
        border: 1px solid #bfdbfe;
      }

      .card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 14px;
      }

      .wrap.wrap-viewer {
        max-width: none;
        padding: 0 0 56px;
      }

      body.viewer-route {
        background: #ffffff;
      }

      .viewer-shell {
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        background: transparent;
      }

      .viewer-promo-band {
        width: 100%;
        background: #fafafa;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
      }

      .viewer-promo-inner,
      .viewer-stage-inner {
        width: var(--shell-stage-width);
        margin: 0 auto;
      }

      .viewer-promo-inner {
        min-height: 108px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 20px;
      }

      .viewer-promo-mark {
        width: 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
      }

      .viewer-promo-mark-image {
        width: 58px;
        height: 58px;
        display: block;
      }

      .viewer-promo-copy {
        display: grid;
        gap: 8px;
      }

      .viewer-promo-title {
        margin: 0;
        color: #111827;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -0.6px;
      }

      .viewer-promo-subtitle {
        margin: 0;
        color: #4b5563;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.35;
      }

      .viewer-install-btn {
        min-height: 43px;
        border: 0;
        border-radius: 999px;
        background: #111111;
        color: #ffffff;
        padding: 0 22px;
        display: inline-flex;
        align-items: center;
        gap: 0;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.16px;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }

      .viewer-install-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(17, 17, 17, 0.12);
      }

      .viewer-stage {
        padding-top: 16px;
      }

      .viewer-shell-guest .viewer-stage {
        padding-top: 24px;
      }

      .viewer-breadcrumb {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 16px;
      }

      .viewer-back-link {
        border: 0;
        padding: 0;
        background: transparent;
        color: #737373;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        cursor: pointer;
      }

      .viewer-breadcrumb-separator {
        color: #a3a3a3;
        font-size: 14px;
        line-height: 20px;
      }

      .viewer-breadcrumb-current {
        color: #0a0a0a;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        display: inline-block;
        max-width: 20ch;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
      }

      .viewer-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 384px;
        gap: 19px;
        align-items: start;
      }

      .viewer-main {
        min-width: 0;
      }

      .viewer-media-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 757 / 445;
        border-radius: 16px;
        overflow: hidden;
        background: #d9d9d9;
      }

      .viewer-media-wrap.is-loading::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(226, 232, 240, 0.94) 20%, rgba(248, 250, 252, 0.92) 50%, rgba(226, 232, 240, 0.94) 80%);
        background-size: 220% 100%;
        animation: skeleton-wave 1.2s ease-in-out infinite;
      }

      .video-frame {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        background: #d9d9d9;
      }

      .viewer-media-wrap .video-js {
        width: 100%;
        height: 100%;
        border-radius: 16px;
        background: #0f172a;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
      }

      .viewer-media-wrap .video-js .vjs-tech {
        object-fit: contain;
      }

      .viewer-media-wrap .video-js .vjs-control-bar {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.74) 100%);
      }

      .viewer-media-wrap .video-js .vjs-big-play-button {
        border: 0;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.72);
      }

      .viewer-media-wrap .video-js:hover .vjs-big-play-button,
      .viewer-media-wrap .video-js .vjs-big-play-button:focus {
        background: rgba(15, 23, 42, 0.88);
      }

      .viewer-playback-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: end;
        justify-content: center;
        padding: 18px;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.22) 72%, rgba(15, 23, 42, 0.44) 100%);
        pointer-events: none;
      }

      .viewer-playback-overlay-text {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.78);
        color: #ffffff;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        backdrop-filter: blur(8px);
      }

      .viewer-video-title {
        margin: 16px 0 0;
        color: #111827;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.6px;
      }

      .viewer-title-row {
        display: flex;
        align-items: flex-start;
        gap: 10px;
      }

      .viewer-video-title.is-editable {
        cursor: pointer;
      }

      .viewer-video-title.is-editable:hover,
      .viewer-video-title.is-editable:focus-visible {
        color: #1d4ed8;
        outline: none;
      }

      .viewer-title-edit-btn {
        margin-top: 18px;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 10px;
        background: rgba(148, 163, 184, 0.12);
        color: rgba(71, 85, 105, 0.72);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0.72;
        transition:
          opacity 0.2s ease,
          background-color 0.2s ease,
          color 0.2s ease,
          transform 0.2s ease;
      }

      .viewer-title-edit-btn:hover,
      .viewer-title-edit-btn:focus-visible,
      .viewer-title-row:hover .viewer-title-edit-btn {
        opacity: 1;
        background: rgba(59, 91, 255, 0.12);
        color: #3b5bff;
        transform: translateY(-1px);
        outline: none;
      }

      .viewer-title-edit-btn svg {
        width: 16px;
        height: 16px;
      }

      .viewer-meta {
        display: none;
      }

      .viewer-countdown {
        margin: 0;
        color: #0a0a0a;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
      }

      .viewer-countdown.is-expired {
        color: #b42318;
      }

      .viewer-side {
        min-width: 0;
        width: 100%;
        max-width: 384px;
        justify-self: end;
      }

      .viewer-panel {
        display: grid;
        gap: 12px;
      }

      .viewer-panel-loading {
        gap: 14px;
      }

      .viewer-side-skeleton-card,
      .viewer-side-skeleton-actions {
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        background: #ffffff;
      }

      .viewer-side-skeleton-card {
        padding: 16px;
        display: grid;
        gap: 10px;
      }

      .viewer-side-skeleton-actions {
        padding: 14px;
        display: grid;
        gap: 10px;
      }

      .viewer-side-skeleton-line {
        display: block;
        height: 14px;
        border-radius: 999px;
      }

      .viewer-side-skeleton-line.w-42 {
        width: 42%;
      }

      .viewer-side-skeleton-line.w-68 {
        width: 68%;
      }

      .viewer-side-skeleton-btn {
        display: block;
        width: 100%;
        height: 40px;
        border-radius: 10px;
      }

      .viewer-storage-card {
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        background: #ffffff;
        padding: 12px 16px;
        display: grid;
        gap: 2px;
      }

      .viewer-storage-head {
        display: flex;
        align-items: flex-start;
        gap: 8px;
      }

      .viewer-storage-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
        color: #0a0a0a;
      }

      .viewer-storage-copy {
        margin: 0;
        padding-left: 28px;
        color: #0a0a0a;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 300;
        line-height: 18px;
      }

      .viewer-action-stack {
        display: grid;
        gap: 10px;
      }

      .viewer-action-btn,
      .viewer-delete-btn {
        width: 100%;
        min-height: 36px;
        border-radius: 8px;
        padding: 8px 16px;
        text-align: left;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        cursor: pointer;
        transition:
          background-color 0.2s ease,
          border-color 0.2s ease,
          transform 0.2s ease,
          box-shadow 0.2s ease;
      }

      .viewer-action-btn {
        border: 0;
        background: #f5f5f5;
        color: #0a0a0a;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      }

      .viewer-action-btn:hover:not(:disabled) {
        background: #ededed;
        transform: translateY(-1px);
      }

      .viewer-delete-btn {
        border: 1px solid #f5f5f5;
        background: #ffffff;
        color: #0a0a0a;
      }

      .viewer-delete-btn:hover:not(:disabled) {
        background: #fafafa;
        border-color: #e8e8e8;
        transform: translateY(-1px);
      }

      .viewer-action-btn:disabled,
      .viewer-delete-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
      }

      .viewer-auth-box {
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        background: #ffffff;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .viewer-login-head {
        display: grid;
        gap: 8px;
        text-align: center;
      }

      .viewer-auth-title {
        margin: 0;
        color: #0a0a0a;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 20px;
        font-weight: 600;
        line-height: 28px;
      }

      .viewer-auth-copy {
        margin: 0;
        color: #737373;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
      }

      .viewer-google-btn {
        margin-top: 24px;
        width: 100%;
        min-height: 36px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        background: #ffffff;
        color: #0a0a0a;
        padding: 8px 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;
      }

      .viewer-google-btn:hover:not(:disabled) {
        background: #fafafa;
        transform: translateY(-1px);
      }

      .viewer-google-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .viewer-google-icon {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
      }

      .viewer-legal-copy {
        width: min(295px, 100%);
        margin: 0 auto;
        color: #737373;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        text-align: center;
      }

      .viewer-legal-link {
        text-decoration: underline;
        text-underline-offset: 2px;
      }

      .viewer-alert {
        margin-top: 12px;
      }

      .viewer-main-skeleton {
        display: grid;
        gap: 12px;
        margin-top: 16px;
      }

      .viewer-skeleton-title {
        display: block;
        width: min(74%, 480px);
        height: 28px;
        border-radius: 12px;
      }

      .viewer-skeleton-meta {
        display: block;
        width: min(48%, 260px);
        height: 18px;
        border-radius: 999px;
      }

      .viewer-skeleton-share {
        display: block;
        width: 100%;
        max-width: 420px;
        height: 44px;
        border-radius: 12px;
      }

      .share-url {
        display: none;
      }

      .alert {
        margin-top: 10px;
        border-radius: 10px;
        padding: 10px 12px;
        font-size: 14px;
        border: 1px solid #fecaca;
        background: var(--danger-bg);
        color: var(--danger);
      }

      .alert-ok {
        border-color: #86efac;
        background: var(--ok-bg);
        color: var(--ok-text);
      }

      .auth-box {
        margin-top: 10px;
        border: 1px solid #bfdbfe;
        background: #eff6ff;
        color: #1e3a8a;
        border-radius: 12px;
        padding: 12px;
      }

      .auth-box p {
        margin: 0 0 8px;
        font-size: 14px;
      }

      .hidden {
        display: none !important;
      }

      .wrap.wrap-cabinet {
        max-width: 1450px;
        padding: 0;
      }

      body.cabinet-route {
        background: #ffffff;
      }

      body.cabinet-route .topbar {
        width: var(--shell-stage-width);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        background: #ffffff;
        padding: 0;
      }

      body.viewer-route .topbar {
        width: var(--shell-stage-width);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        background: #ffffff;
        padding: 0;
      }

      .topbar-brand-link {
        text-decoration: none;
        color: inherit;
      }

      body.cabinet-route .brand-wrap,
      body.viewer-route .brand-wrap {
        gap: 10px;
      }

      body.cabinet-route .brand-logo,
      body.viewer-route .brand-logo {
        width: var(--shell-brand-logo-size);
        height: var(--shell-brand-logo-size);
        border-radius: 10px;
      }

      body.cabinet-route .brand {
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: var(--shell-brand-font-size);
        font-weight: 800;
        letter-spacing: -0.025em;
        margin: 0;
      }

      body.viewer-route .brand {
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: var(--shell-brand-font-size);
        font-weight: 800;
        letter-spacing: -0.025em;
        margin: 0;
      }

      body.cabinet-route .topbar-actions,
      body.viewer-route .topbar-actions {
        gap: 14px;
        flex-wrap: nowrap;
      }

      .topbar-account {
        position: relative;
      }

      .topbar-account-btn {
        min-height: 56px;
        border: 0;
        border-radius: 12px;
        background: #fafafa;
        padding: 12px;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: #101828;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      }

      .topbar-account-avatar {
        width: 32px;
        height: 32px;
        border-radius: 999px;
        object-fit: cover;
        background: #e5e7eb;
        flex: 0 0 auto;
      }

      .topbar-account-copy {
        width: 159px;
        display: grid;
        gap: 2px;
        text-align: left;
      }

      .topbar-account-name {
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        color: #101828;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .topbar-account-email {
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        color: #4a5565;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .topbar-account-chevron {
        width: 20px;
        height: 20px;
        color: #6b7280;
        flex: 0 0 auto;
        transition: transform 0.2s ease;
      }

      .topbar-account-btn[aria-expanded="true"] .topbar-account-chevron {
        transform: rotate(180deg);
      }

      .topbar-account-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 180px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #ffffff;
        padding: 6px;
        display: grid;
        gap: 4px;
        box-shadow: 0 18px 35px rgba(17, 24, 39, 0.14);
        z-index: 12;
      }

      .topbar-account-menu-item {
        width: 100%;
        min-height: 36px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        padding: 8px 10px;
        color: #111827;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        text-align: left;
        cursor: pointer;
      }

      .topbar-account-menu-item:hover:not(:disabled) {
        background: #f3f4f6;
      }

      .topbar-auth-btn {
        border: 0;
        background: transparent;
        color: #1b1b1b;
        font-size: 16px;
        font-weight: 400;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.2s ease;
      }

      .topbar-auth-btn:hover {
        background: rgba(17, 24, 39, 0.06);
      }

      .topbar-share-btn {
        border-radius: 999px;
        min-height: 43px;
        padding: 0 22px;
        font-size: 15px;
        font-weight: 700;
      }

      .cabinet-shell {
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        background: transparent;
      }

      .cabinet-stage {
        width: var(--shell-compact-width);
        max-width: none;
        margin: 0 auto;
        min-height: calc(100dvh - var(--shell-topbar-height));
        border: 0;
        border-radius: 0;
        background: #ffffff;
        padding: 52px 0 28px;
        display: flex;
        flex-direction: column;
      }

      .cabinet-stage.cabinet-stage-list {
        width: var(--shell-stage-width);
        max-width: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 32px 0 48px;
      }

      .cabinet-content {
        flex: 1 1 auto;
        display: grid;
        align-content: start;
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-content {
        align-content: center;
      }

      .cabinet-stage.cabinet-stage-compact {
        padding: 44px 0 24px;
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-head {
        display: grid;
        justify-items: center;
        gap: 24px;
        text-align: center;
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-title {
        max-width: 1072px;
        margin: 0 auto;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.6px;
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-record-btn {
        margin-top: 0;
        min-height: 53px;
        padding: 0 30px;
        font-size: 17px;
        font-weight: 700;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-state-visual {
        display: none;
      }

      .cabinet-stage.cabinet-stage-compact .cabinet-alert-wrap {
        width: min(100%, 720px);
        margin-top: 18px;
      }

      .cabinet-head {
        text-align: center;
      }

      .cabinet-stage.cabinet-stage-list .cabinet-head {
        display: grid;
        justify-items: center;
        gap: 18px;
      }

      .cabinet-title {
        margin: 0;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 36px;
        font-weight: 700;
        line-height: 1.12;
        letter-spacing: -1.1px;
        color: #111827;
      }

      .cabinet-stage.cabinet-stage-list .cabinet-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.6px;
      }

      .cabinet-record-btn {
        margin-top: 20px;
        border: 1px solid #111111;
        border-radius: 999px;
        min-height: 53px;
        padding: 0 30px;
        background: #111111;
        color: #ffffff;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        font-size: 17px;
        font-weight: 700;
        box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
      }

      .cabinet-stage.cabinet-stage-list .cabinet-record-btn {
        margin-top: 0;
        min-height: 53px;
        padding: 0 32px;
        font-size: 16px;
        font-weight: 600;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
      }

      .cabinet-record-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
      }

      .cabinet-alert-wrap {
        margin: 18px auto 0;
        width: min(100%, 760px);
      }

      .cabinet-stage.cabinet-stage-list .cabinet-alert-wrap {
        width: min(100%, 996px);
        margin-top: 24px;
      }

      .cabinet-state-visual {
        width: min(100%, 430px);
        margin: 42px auto 0;
      }

      .cabinet-state-art {
        display: block;
        width: 100%;
        height: auto;
      }

      .cabinet-recordings {
        margin-top: 34px;
      }

      .cabinet-stage.cabinet-stage-list .cabinet-recordings {
        margin-top: 40px;
      }

      .cabinet-recordings-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 18px;
      }

      .cabinet-recordings-title {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #111827;
      }

      .cabinet-recordings-meta {
        margin: 6px 0 0;
        font-size: 14px;
        line-height: 1.5;
        color: #64748b;
      }

      .cabinet-billing-details {
        display: grid;
        gap: 12px;
      }

      .cabinet-billing-details .video-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
      }

      .videos-list {
        display: grid;
        grid-template-columns: repeat(3, 300px);
        justify-content: center;
        gap: 44px 48px;
      }

      .cabinet-pagination {
        margin-top: 28px;
        display: grid;
        justify-items: center;
        gap: 12px;
      }

      .video-item {
        width: 300px;
        display: grid;
        gap: 8px;
      }

      .video-thumb-wrap {
        width: 100%;
        aspect-ratio: 300 / 180;
        border-radius: 14px;
        overflow: hidden;
        background: #d9d9d9;
        position: relative;
      }

      .video-thumb-link {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        color: inherit;
        text-decoration: none;
      }

      .video-thumb-link::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0);
        transition: background-color 0.2s ease;
      }

      .video-thumb-wrap.is-link:hover .video-thumb-link::after,
      .video-thumb-wrap.is-link:focus-within .video-thumb-link::after {
        background: rgba(15, 23, 42, 0.22);
      }

      .video-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .video-thumb-placeholder {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        color: #4b5563;
        font-size: 13px;
        background: #e5e7eb;
      }

      .video-menu-btn {
        position: absolute;
        right: 12px;
        top: 12px;
        z-index: 2;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 8px;
        background: #ffffff;
        color: #2a2a2a;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      }

      .video-menu-btn svg {
        width: 16px;
        height: 16px;
        display: block;
      }

      .video-menu-btn[aria-expanded="true"] {
        background: #f3f4f6;
      }

      .video-menu {
        position: absolute;
        top: 48px;
        right: 10px;
        min-width: 172px;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #ffffff;
        padding: 6px;
        display: grid;
        gap: 4px;
        box-shadow: 0 18px 35px rgba(17, 24, 39, 0.15);
        z-index: 6;
      }

      .video-menu-item {
        width: 100%;
        border: 0;
        border-radius: 8px;
        min-height: 34px;
        padding: 8px 10px;
        background: transparent;
        color: #111827;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
      }

      .video-menu-item:hover:not(:disabled) {
        background: #f3f4f6;
      }

      .video-menu-item-danger {
        color: #b42318;
      }

      .video-menu-item:disabled {
        cursor: not-allowed;
        opacity: 0.55;
      }

      .title-dialog-backdrop {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        background: rgba(15, 23, 42, 0.52);
        backdrop-filter: blur(4px);
      }

      .title-dialog {
        width: min(100%, 480px);
        border-radius: 24px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
        padding: 24px;
        display: grid;
        gap: 20px;
      }

      .title-dialog-header,
      .title-dialog-form,
      .title-dialog-field {
        display: grid;
      }

      .title-dialog-header {
        gap: 10px;
      }

      .title-dialog-form {
        gap: 18px;
      }

      .title-dialog-field {
        gap: 10px;
      }

      .title-dialog-title {
        margin: 0;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        color: #0f172a;
      }

      .title-dialog-copy {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: #475569;
      }

      .title-dialog-input {
        width: 100%;
        min-height: 48px;
        border-radius: 12px;
        border: 1px solid #cbd5e1;
        padding: 0 16px;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 15px;
        line-height: 1.4;
        color: #0f172a;
        background: #ffffff;
      }

      .title-dialog-input:focus-visible {
        outline: 2px solid #3b5bff;
        outline-offset: 2px;
        border-color: #3b5bff;
      }

      .title-dialog-error {
        margin: 0;
        font-size: 13px;
        line-height: 1.4;
        color: #dc2626;
        min-height: 18px;
      }

      .title-dialog-footer {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        align-items: center;
      }

      .title-dialog-btn {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        padding: 0 18px;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        cursor: pointer;
        transition:
          background-color 0.2s ease,
          border-color 0.2s ease,
          color 0.2s ease,
          transform 0.2s ease,
          box-shadow 0.2s ease;
      }

      .title-dialog-btn-primary {
        border: 0;
        background: #3b5bff;
        color: #ffffff;
        box-shadow: 0 10px 24px rgba(59, 91, 255, 0.2);
      }

      .title-dialog-btn-primary:hover:not(:disabled) {
        background: #2848eb;
        transform: translateY(-1px);
      }

      .title-dialog-btn-secondary {
        border: 1px solid #dbe2ea;
        background: #ffffff;
        color: #0f172a;
      }

      .title-dialog-btn-secondary:hover:not(:disabled) {
        background: #f8fafc;
        border-color: #cbd5e1;
        transform: translateY(-1px);
      }

      .title-dialog-btn:focus-visible {
        outline: 2px solid #3b5bff;
        outline-offset: 2px;
      }

      .title-dialog-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
      }

      .video-duration-badge {
        position: absolute;
        right: 10px;
        bottom: 9px;
        z-index: 2;
        height: 28px;
        min-width: 54px;
        border-radius: 8px;
        background: #000000;
        color: #ffffff;
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        line-height: 20px;
      }

      .video-content {
        display: grid;
        gap: 8px;
      }

      .video-title {
        margin: 0;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        color: #0a0a0a;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
      }

      .video-title-link {
        display: block;
        color: inherit;
        text-decoration: none;
      }

      .video-title-link:hover .video-title,
      .video-title-link:focus-visible .video-title {
        color: #1d4ed8;
      }

      .video-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
      }

      .cabinet-action-btn {
        min-height: 36px;
        border-radius: 8px;
        border: 0;
        background: #f5f5f5;
        padding: 8px 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: Inter, "Segoe UI", Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        color: #0a0a0a;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        transition:
          background-color 0.2s ease,
          color 0.2s ease,
          transform 0.2s ease,
          box-shadow 0.2s ease;
      }

      .cabinet-action-btn:hover:not(:disabled),
      .cabinet-action-btn-primary:hover:not(:disabled) {
        background: #ececec;
        color: #0a0a0a;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
      }

      .cabinet-action-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
      }

      .cabinet-action-btn-primary {
        background: #f5f5f5;
        color: #0a0a0a;
      }

      .cabinet-action-btn:focus-visible,
      .video-menu-btn:focus-visible,
      .video-menu-item:focus-visible,
      .cabinet-record-btn:focus-visible,
      .topbar-auth-btn:focus-visible,
      .topbar-share-btn:focus-visible,
      .topbar-account-btn:focus-visible,
      .topbar-account-menu-item:focus-visible,
      .viewer-back-link:focus-visible,
      .viewer-install-btn:focus-visible,
      .viewer-google-btn:focus-visible,
      .viewer-action-btn:focus-visible,
      .viewer-delete-btn:focus-visible {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
      }

      .skeleton {
        display: block;
        border-radius: 10px;
        background: linear-gradient(90deg, #ececec 0%, #f7f7f7 50%, #ececec 100%);
        background-size: 180% 100%;
        animation: skeleton-wave 1.2s ease-in-out infinite;
      }

      .skeleton-line {
        height: 18px;
      }

      .skeleton-line.w-55 {
        width: 55%;
      }

      .skeleton-line.w-70 {
        width: 70%;
      }

      .skeleton-thumb {
        width: 100%;
        aspect-ratio: 329.333 / 198;
      }

      .skeleton-btn {
        width: 84px;
        height: 32px;
        border-radius: 6px;
      }

      @keyframes skeleton-wave {
        0% {
          background-position: 180% 0;
        }
        100% {
          background-position: -180% 0;
        }
      }

      @media (max-width: 1320px) {
        :root {
          --shell-inline-padding: 32px;
        }
      }

      @media (max-width: 1100px) {
        :root {
          --shell-inline-padding: 24px;
        }

        .cabinet-stage {
          padding: 40px 0 24px;
        }

        .cabinet-stage.cabinet-stage-compact {
          padding: 38px 0 24px;
        }

        .cabinet-title {
          font-size: 32px;
        }

        .videos-list {
          grid-template-columns: repeat(2, minmax(0, 300px));
          gap: 36px 24px;
        }

        .cabinet-stage.cabinet-stage-list {
          padding: 28px 0 36px;
        }

        .cabinet-stage.cabinet-stage-list .cabinet-recordings {
          margin-top: 36px;
        }

        .viewer-promo-inner {
          grid-template-columns: auto minmax(0, 1fr);
          padding: 18px 0;
        }

        .viewer-install-btn {
          grid-column: 1 / -1;
          justify-self: start;
        }

        .viewer-layout {
          grid-template-columns: 1fr;
          gap: 24px;
        }

        .viewer-side {
          max-width: 384px;
        }
      }

      @media (max-width: 780px) {
        :root {
          --shell-inline-padding: 14px;
          --shell-topbar-height: 74px;
          --shell-brand-logo-size: 34px;
          --shell-brand-font-size: 20px;
        }

        body.cabinet-route .topbar,
        body.viewer-route .topbar {
          min-height: var(--shell-topbar-height);
        }

        .topbar-actions {
          min-width: 0;
        }

        .topbar-auth-btn {
          min-height: 38px;
          padding: 0 8px;
          font-size: 14px;
        }

        .topbar-auth-placeholder {
          width: 152px;
          height: 48px;
        }

        .topbar-account-btn {
          min-height: 48px;
          padding: 8px 10px;
          gap: 8px;
        }

        .topbar-account-copy {
          width: auto;
          max-width: 132px;
        }

        .topbar-account-email {
          display: none;
        }

        .topbar-share-btn {
          min-height: 40px;
          padding: 0 14px;
          font-size: 13px;
        }

        .cabinet-stage {
          padding: 30px 0 20px;
        }

        .cabinet-stage.cabinet-stage-compact {
          padding: 28px 0 20px;
        }

        .cabinet-stage.cabinet-stage-list {
          padding: 24px 0 24px;
        }

        .cabinet-title {
          font-size: 30px;
          line-height: 1.15;
        }

        .cabinet-stage.cabinet-stage-compact .cabinet-title {
          font-size: 24px;
          line-height: 1.2;
          letter-spacing: -0.6px;
        }

        .cabinet-record-btn {
          margin-top: 18px;
          min-height: 50px;
          padding: 0 22px;
          font-size: 16px;
        }

        .cabinet-state-visual {
          margin-top: 34px;
          width: min(100%, 340px);
        }

        .videos-list {
          grid-template-columns: 1fr;
          gap: 28px;
        }

        .video-item {
          width: 100%;
          max-width: 300px;
          justify-self: center;
        }

        .cabinet-action-btn {
          padding: 8px 12px;
        }

        .viewer-promo-inner,
        .viewer-stage-inner {
          width: min(100%, calc(100vw - 28px));
        }

        .viewer-promo-inner {
          grid-template-columns: 1fr;
          gap: 14px;
          justify-items: start;
          padding: 14px 0;
        }

        .viewer-promo-mark {
          width: 58px;
          height: 58px;
        }

        .viewer-promo-mark-image {
          width: 58px;
          height: 58px;
        }

        .viewer-promo-title {
          font-size: 20px;
          line-height: 1.25;
        }

        .viewer-promo-subtitle {
          font-size: 14px;
          line-height: 1.4;
        }

        .viewer-layout {
          gap: 16px;
        }

        .viewer-video-title {
          margin-top: 12px;
          font-size: 22px;
          line-height: 1.3;
          letter-spacing: -0.4px;
        }

        .viewer-auth-box {
          padding: 20px;
        }

        .viewer-side {
          max-width: none;
        }

        .viewer-action-btn,
        .viewer-delete-btn {
          width: 100%;
        }

        .title-dialog {
          padding: 20px;
          border-radius: 20px;
        }

        .title-dialog-footer {
          flex-direction: column-reverse;
        }

        .title-dialog-btn {
          width: 100%;
        }
      }
      .landing {
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        background: #f4f1ec;
        color: #111827;
        font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
        --landing-motion-fast: 200ms;
        --landing-motion-base: 320ms;
        --landing-motion-slow: 460ms;
        --landing-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
        --landing-text-muted: #45505f;
        --landing-card-border: #e3e9f0;
        --landing-card-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
      }

      .landing-reveal {
        opacity: 0;
        transform: translateY(10px);
        transition:
          opacity var(--landing-motion-slow) var(--landing-motion-ease),
          transform var(--landing-motion-slow) var(--landing-motion-ease);
      }

      .landing-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      .landing-reveal-delay-1 {
        transition-delay: 60ms;
      }

      .landing-reveal-delay-2 {
        transition-delay: 110ms;
      }

      .landing-reveal-delay-3 {
        transition-delay: 160ms;
      }

      .landing-reveal-delay-4 {
        transition-delay: 210ms;
      }

      .landing-shell {
        width: 100%;
        max-width: 1120px;
        margin: 0 auto;
        padding-left: var(--shell-inline-padding);
        padding-right: var(--shell-inline-padding);
      }

      .landing-header {
        position: sticky;
        top: 0;
        z-index: 40;
        background: rgba(244, 241, 236, 0.88);
        border-bottom: 1px solid #e5ddd2;
      }

      .landing-header-inner {
        min-height: var(--shell-topbar-height);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }

      .landing-logo {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #111827;
      }

      .landing-logo img {
        width: var(--shell-brand-logo-size);
        height: var(--shell-brand-logo-size);
        border-radius: 10px;
      }

      .landing-logo span {
        font-size: var(--shell-brand-font-size);
        font-weight: 800;
        letter-spacing: -0.025em;
      }

      .landing-nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
      }

      .landing-nav-links a {
        text-decoration: none;
        color: #2a2a2a;
        font-size: 17px;
        font-weight: 500;
        position: relative;
        transition:
          color var(--landing-motion-fast) var(--landing-motion-ease),
          opacity var(--landing-motion-fast) var(--landing-motion-ease);
      }

      .landing-nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 100%;
        height: 1px;
        background: #111827;
        opacity: 0;
        transform: scaleX(0.4);
        transform-origin: center;
        transition:
          opacity var(--landing-motion-base) var(--landing-motion-ease),
          transform var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-nav-links a:hover {
        color: #111827;
      }

      .landing-nav-links a:hover::after {
        opacity: 0.72;
        transform: scaleX(1);
      }

      .landing-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
      }

      .landing-auth-btn {
        border: 0;
        background: transparent;
        color: #1b1b1b;
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 10px;
        transition:
          color var(--landing-motion-fast) var(--landing-motion-ease),
          background-color var(--landing-motion-fast) var(--landing-motion-ease);
      }

      .landing-auth-btn:hover {
        color: #111827;
        background: rgba(17, 24, 39, 0.05);
      }

      .landing-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid #111111;
        border-radius: 999px;
        background: #111111;
        color: #ffffff;
        text-decoration: none;
        cursor: pointer;
        font-weight: 700;
        transition:
          transform var(--landing-motion-fast) var(--landing-motion-ease),
          box-shadow var(--landing-motion-base) var(--landing-motion-ease),
          opacity var(--landing-motion-fast) var(--landing-motion-ease),
          border-color var(--landing-motion-fast) var(--landing-motion-ease);
      }

      .landing-cta-btn:hover {
        transform: translateY(-1px);
        opacity: 0.98;
        box-shadow: 0 10px 22px rgba(17, 24, 39, 0.16);
      }

      .landing-cta-btn-small {
        min-height: 50px;
        padding: 0 22px;
        font-size: 15px;
      }

      .landing-cta-btn-large {
        min-height: 68px;
        padding: 0 30px;
        font-size: 17px;
        box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
      }

      .landing-cta-icon {
        width: 32px;
        height: 32px;
        border-radius: 16px;
        background: #1d1d1d;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .landing-hero {
        text-align: center;
        padding-top: 104px;
      }

      .landing-pill {
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid #e2d8cb;
        border-radius: 999px;
        background: #efe8dd;
        padding: 10px 16px;
        color: #111827;
        font-size: 13px;
        font-weight: 600;
      }

      .landing-pill-dot {
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: #1d9b5e;
      }

      .landing-title {
        margin: 28px auto 0;
        max-width: 760px;
        font-size: clamp(42px, 6vw, 64px);
        line-height: 1.02;
        letter-spacing: -0.04em;
        font-weight: 800;
      }

      .landing-title-accent {
        font-family: "Playfair Display", Georgia, serif;
        font-style: italic;
        font-weight: 600;
        color: #6c6c6c;
      }

      .landing-lead {
        margin: 30px auto 0;
        max-width: 680px;
        font-size: 20px;
        line-height: 1.5;
        color: var(--landing-text-muted);
      }

      .landing-hero-action {
        margin-top: 30px;
      }

      .landing-note {
        margin: 14px 0 0;
        font-size: 14px;
        color: var(--landing-text-muted);
        letter-spacing: 0.01em;
        font-weight: 600;
      }

      .landing-demo-note {
        margin: 10px auto 0;
        max-width: 420px;
        font-size: 13px;
        line-height: 1.5;
        color: #667287;
      }

      .landing-demo-cursor {
        position: fixed;
        left: 0;
        top: 0;
        width: 28px;
        height: 28px;
        border: 3px solid #ff4d4f;
        border-radius: 999px;
        background: rgba(255, 77, 79, 0.14);
        box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.2);
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 35;
        opacity: 0;
        transition: opacity var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-demo-cursor.is-active {
        opacity: 1;
      }

      .landing-demo-cursor-core {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #ff4d4f;
        transform: translate(-50%, -50%);
      }

      .landing-demo-cursor-pulse {
        position: fixed;
        left: 0;
        top: 0;
        width: 12px;
        height: 12px;
        border-radius: 999px;
        border: 2px solid rgba(255, 77, 79, 0.95);
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
        pointer-events: none;
        z-index: 34;
        animation: landingDemoCursorPulse 380ms ease-out forwards;
      }

      @keyframes landingDemoCursorPulse {
        0% {
          transform: translate(-50%, -50%) scale(1);
          opacity: 0.95;
        }
        100% {
          transform: translate(-50%, -50%) scale(3.6);
          opacity: 0;
        }
      }

      .landing-section {
        padding-top: 84px;
      }

      .landing-center-head {
        text-align: center;
      }

      .landing-chip {
        margin: 0 0 16px;
        display: inline-block;
        border: 1px solid #e2d8cb;
        border-radius: 999px;
        background: #efe8dd;
        color: #111827;
        font-size: 19px;
        font-weight: 600;
        line-height: 1.6;
        padding: 4px 16px;
      }

      .landing-section-title {
        margin: 0;
        font-size: clamp(32px, 4.2vw, 42px);
        line-height: 1.08;
        letter-spacing: -0.03em;
        font-weight: 700;
      }

      .landing-section-subtitle {
        margin: 14px 0 0;
        color: var(--landing-text-muted);
        font-size: 18px;
        line-height: 1.7;
      }

      .landing-steps {
        margin-top: 56px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .landing-how-grid {
        margin-top: 56px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .landing-how-card {
        border: 1px solid var(--landing-card-border);
        border-radius: 20px;
        background: #ffffff;
        min-height: 188px;
        padding: 24px;
        box-shadow: var(--landing-card-shadow);
        transition:
          transform var(--landing-motion-base) var(--landing-motion-ease),
          border-color var(--landing-motion-base) var(--landing-motion-ease),
          box-shadow var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-how-card:hover {
        transform: translateY(-2px);
        border-color: #d8e0ea;
        box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
      }

      .landing-how-card h3 {
        margin: 22px 0 10px;
        font-size: 21px;
        line-height: 1.22;
        letter-spacing: -0.02em;
      }

      .landing-how-card p {
        margin: 0;
        color: var(--landing-text-muted);
        font-size: 16px;
        line-height: 1.6;
      }

      .landing-step-card {
        border: 1px solid var(--landing-card-border);
        border-radius: 20px;
        background: #ffffff;
        min-height: 210px;
        padding: 24px;
        box-shadow: var(--landing-card-shadow);
        transition:
          transform var(--landing-motion-base) var(--landing-motion-ease),
          border-color var(--landing-motion-base) var(--landing-motion-ease),
          box-shadow var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-step-card:hover {
        transform: translateY(-2px);
        border-color: #d8e0ea;
        box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
      }

      .landing-step-index {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: #edf3ff;
        color: #111827;
        font-size: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .landing-step-card h3 {
        margin: 24px 0 12px;
        font-size: 22px;
        line-height: 1.2;
        letter-spacing: -0.02em;
      }

      .landing-step-card p {
        margin: 0;
        color: var(--landing-text-muted);
        font-size: 16px;
        line-height: 1.6;
      }

      .landing-panels {
        padding-top: 40px;
        display: grid;
        gap: 28px;
      }

      .landing-panel {
        border: 1px solid var(--landing-card-border);
        border-radius: 24px;
        background: #ffffff;
        padding: 32px;
        box-shadow: var(--landing-card-shadow);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: center;
        transition:
          transform var(--landing-motion-base) var(--landing-motion-ease),
          border-color var(--landing-motion-base) var(--landing-motion-ease),
          box-shadow var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-panel:hover {
        transform: translateY(-2px);
        border-color: #d8e0ea;
        box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
      }

      .landing-panel.reverse .landing-panel-visual {
        order: -1;
      }

      .landing-panel-copy h3 {
        margin: 0;
        font-size: 30px;
        line-height: 1.1;
        letter-spacing: -0.03em;
      }

      .landing-panel-copy p {
        margin: 16px 0 0;
        color: var(--landing-text-muted);
        font-size: 18px;
        line-height: 1.6;
        max-width: 472px;
      }

      .landing-panel-visual {
        border: 1px solid #dfe7f2;
        border-radius: 20px;
        padding: 17px;
        min-height: 280px;
        background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
      }

      .landing-window {
        height: 100%;
        border: 1px solid #d4deea;
        border-radius: 14px;
        background: #ffffff;
        overflow: hidden;
      }

      .landing-window-top {
        height: 38px;
        border-bottom: 1px solid #e8edf3;
        background: #f8fbff;
        padding-left: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
      }

      .landing-window-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #ccd8ea;
      }

      .landing-window-body {
        padding: 16px;
        display: grid;
        gap: 12px;
      }

      .landing-line {
        height: 12px;
        border-radius: 7px;
        background: #edf3ff;
      }

      .landing-line.medium {
        width: 78%;
      }

      .landing-line.short {
        width: 56%;
      }

      .landing-line.dark {
        background: #d3def0;
      }

      .landing-install {
        margin-top: 72px;
        border: 1px solid #e2d8cb;
        border-radius: 24px;
        background: #efe8dd;
        min-height: 132px;
        padding: 28px 29px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }

      .landing-install-left {
        display: flex;
        align-items: center;
        gap: 24px;
      }

      .landing-install-left img {
        width: 80px;
        height: 80px;
        border-radius: 16px;
      }

      .landing-install-left h2 {
        margin: 0;
        font-size: 28px;
        line-height: 1.12;
        letter-spacing: -0.03em;
      }

      .landing-install-left p {
        margin: 8px 0 0;
        font-size: 15px;
        line-height: 1.5;
        color: var(--landing-text-muted);
      }

      .landing-pricing {
        padding-top: 104px;
      }

      .landing-pricing-wrap {
        max-width: 980px;
        margin: 0 auto;
        text-align: center;
      }

      .landing-pricing-title {
        margin: 0;
        font-size: clamp(40px, 5.8vw, 62px);
        line-height: 1.03;
        letter-spacing: -0.04em;
        font-weight: 800;
      }

      .landing-pricing-badge {
        margin: 26px 0 0;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        border: 1px solid #bcc8ff;
        border-radius: 999px;
        padding: 10px 18px;
        color: #3f4f8a;
        background: #f4f1ec;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.3;
      }

      .landing-pricing-badge svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
      }

      .landing-pricing-copy {
        margin: 34px auto 0;
        max-width: 960px;
        color: var(--landing-text-muted);
        font-size: 20px;
        line-height: 1.38;
      }

      .landing-pricing-action {
        margin-top: 42px;
      }

      .landing-faq {
        padding-top: 80px;
      }

      .landing-faq-list {
        width: 100%;
        max-width: 860px;
        margin: 48px auto 0;
        display: grid;
        gap: 12px;
      }

      .landing-faq-item {
        border: 1px solid var(--landing-card-border);
        border-radius: 14px;
        background: #ffffff;
        padding: 0 25px;
        transition:
          border-color var(--landing-motion-base) var(--landing-motion-ease),
          box-shadow var(--landing-motion-base) var(--landing-motion-ease),
          transform var(--landing-motion-base) var(--landing-motion-ease);
      }

      .landing-faq-item:hover {
        border-color: #d8e0ea;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
        transform: translateY(-1px);
      }

      .landing-faq-item summary {
        list-style: none;
        cursor: pointer;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.45;
        padding: 16px 0;
      }

      .landing-faq-item summary::-webkit-details-marker {
        display: none;
      }

      .landing-faq-item p {
        margin: 0;
        padding: 0 0 16px;
        color: var(--landing-text-muted);
        font-size: 16px;
        line-height: 1.6;
      }

      .landing-footer {
        margin-top: 0;
        border-top: 1px solid #e8edf3;
      }

      .landing-footer-inner {
        min-height: 159px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }

      .landing-footer-links {
        display: flex;
        align-items: center;
        gap: 16px;
      }

      .landing-footer-links a {
        text-decoration: none;
        color: var(--landing-text-muted);
        font-size: 14px;
        transition: color var(--landing-motion-fast) var(--landing-motion-ease);
      }

      .landing-footer-links a:hover {
        color: #111827;
      }

      .landing-footer-copy {
        color: var(--landing-text-muted);
        font-size: 14px;
      }

      .landing a:focus-visible,
      .landing button:focus-visible,
      .landing summary:focus-visible {
        outline: 2px solid #3b5bff;
        outline-offset: 2px;
      }

      .landing-footer-brand img {
        width: 34px;
        height: 34px;
      }

      .landing-footer-brand span {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.03em;
      }

      @media (prefers-reduced-motion: reduce) {
        .landing-reveal {
          opacity: 1;
          transform: none;
          transition: none;
        }

        .landing-nav-links a,
        .landing-nav-links a::after,
        .landing-auth-btn,
        .landing-cta-btn,
        .landing-how-card,
        .landing-step-card,
        .landing-panel,
        .landing-faq-item,
        .landing-footer-links a {
          transition: none;
        }

        .landing-cta-btn:hover,
        .landing-how-card:hover,
        .landing-step-card:hover,
        .landing-panel:hover,
        .landing-faq-item:hover {
          transform: none;
        }

        .landing-demo-cursor,
        .landing-demo-cursor-pulse {
          display: none !important;
        }
      }

      @media (max-width: 1100px) {
        .landing-nav-links {
          display: none;
        }

        .landing-title {
          font-size: clamp(40px, 7.2vw, 58px);
        }

        .landing-hero {
          padding-top: 88px;
        }

        .landing-section {
          padding-top: 72px;
        }

        .landing-steps {
          margin-top: 48px;
          gap: 16px;
          grid-template-columns: 1fr;
        }

        .landing-how-grid {
          margin-top: 48px;
          gap: 16px;
          grid-template-columns: 1fr;
        }

        .landing-panels {
          padding-top: 34px;
          gap: 22px;
        }

        .landing-panel {
          grid-template-columns: 1fr;
        }

        .landing-panel.reverse .landing-panel-visual {
          order: 0;
        }

        .landing-install {
          margin-top: 60px;
          padding: 24px 25px;
          flex-direction: column;
          align-items: flex-start;
        }

        .landing-pricing {
          padding-top: 90px;
        }

        .landing-faq {
          padding-top: 68px;
        }

        .landing-faq-list {
          margin-top: 40px;
        }

        .landing-footer-inner {
          flex-wrap: wrap;
          padding-top: 24px;
          padding-bottom: 24px;
        }
      }

      @media (max-width: 700px) {
        .landing-cta-btn-small {
          min-height: 42px;
          padding: 0 16px;
          font-size: 14px;
        }

        .landing-title {
          margin-top: 24px;
          font-size: clamp(32px, 9vw, 46px);
        }

        .landing-hero {
          padding-top: 74px;
        }

        .landing-lead {
          font-size: 17px;
          line-height: 1.55;
        }

        .landing-section {
          padding-top: 56px;
        }

        .landing-steps {
          margin-top: 40px;
          gap: 14px;
        }

        .landing-how-grid {
          margin-top: 40px;
          gap: 14px;
        }

        .landing-panels {
          padding-top: 26px;
          gap: 18px;
        }

        .landing-section-title {
          font-size: 32px;
        }

        .landing-pricing-title {
          font-size: clamp(36px, 9vw, 48px);
        }

        .landing-pricing-copy {
          font-size: 18px;
        }

        .landing-step-card h3 {
          font-size: 20px;
        }

        .landing-panel-copy h3 {
          font-size: 30px;
        }

        .landing-panel-copy p {
          font-size: 16px;
        }

        .landing-install-left {
          flex-direction: column;
          align-items: flex-start;
          gap: 16px;
        }

        .landing-install {
          margin-top: 48px;
          padding: 20px;
        }

        .landing-install-left img {
          width: 56px;
          height: 56px;
          border-radius: 12px;
        }

        .landing-install-left h2 {
          font-size: 24px;
        }

        .landing-pricing {
          padding-top: 72px;
        }

        .landing-faq {
          padding-top: 56px;
        }

        .landing-faq-list {
          margin-top: 32px;
        }

        .landing-auth-btn {
          min-height: 38px;
          padding: 0 8px;
          font-size: 14px;
        }
      }

      @media (max-width: 899px), (pointer: coarse) {
        .landing-demo-cursor,
        .landing-demo-cursor-pulse {
          display: none !important;
        }
      }

      .topbar-upgrade-btn,
      .topbar-create-btn {
        min-height: 44px;
        border-radius: 14px;
        border: 1px solid transparent;
        font-family: Inter, Segoe UI, Tahoma, sans-serif;
        font-size: 14px;
        font-weight: 700;
        transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
      }

      .topbar-upgrade-btn {
        padding: 0 16px;
        background: #3b5bff;
        color: #fff;
        box-shadow: 0 16px 32px rgba(59, 91, 255, 0.18);
      }

      .topbar-upgrade-btn:hover:not(:disabled),
      .topbar-create-btn:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
      }

      .topbar-upgrade-btn:disabled {
        opacity: 0.52;
        cursor: default;
        box-shadow: none;
      }

      .topbar-create-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 0 18px;
        background: #111827;
        color: #fff;
      }

      .topbar-create-plus {
        font-size: 20px;
        line-height: 1;
      }

      .cabinet-shell {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
      }

      .cabinet-shell-grid {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 32px;
        width: min(1440px, 100%);
        margin: 0 auto;
        padding: 32px 24px 48px;
        align-items: start;
      }

      .cabinet-sidebar {
        position: sticky;
        top: calc(var(--shell-topbar-height) + 24px);
        display: flex;
        flex-direction: column;
        gap: 14px;
      }

      .cabinet-back-home {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 4px;
        color: #334155;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
      }

      .cabinet-nav-item {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 52px;
        padding: 0 16px;
        border: 1px solid transparent;
        border-radius: 18px;
        background: transparent;
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
      }

      .cabinet-nav-item.is-active {
        background: rgba(59, 91, 255, 0.08);
        border-color: rgba(59, 91, 255, 0.14);
        color: #1d4ed8;
      }

      .cabinet-nav-icon {
        display: inline-flex;
        width: 20px;
        justify-content: center;
        color: inherit;
      }

      .cabinet-sidebar-spacer {
        flex: 1 1 auto;
        min-height: 48px;
      }

      .cabinet-storage-card {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        border-radius: 24px;
        border: 1px solid #e2e8f0;
        background: #fff;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
      }

      .cabinet-storage-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }

      .cabinet-storage-label {
        margin: 0;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #64748b;
      }

      .cabinet-storage-plan,
      .cabinet-storage-usage,
      .cabinet-storage-hint {
        margin: 0;
      }

      .cabinet-storage-plan {
        margin-top: 4px;
        font-size: 14px;
        font-weight: 600;
        color: #0f172a;
      }

      .cabinet-storage-upgrade,
      .cabinet-folder-btn,
      .cabinet-secondary-btn,
      .cabinet-selection-clear,
      .cabinet-view-btn,
      .video-quick-action,
      .pricing-card-action {
        min-height: 40px;
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        background: #fff;
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
      }

      .cabinet-storage-upgrade,
      .cabinet-selection-clear,
      .cabinet-view-btn.is-active,
      .pricing-card-action:not(:disabled):not(.is-current) {
        background: #3b5bff;
        border-color: #3b5bff;
        color: #fff;
      }

      .cabinet-folder-btn:disabled,
      .video-quick-action:disabled,
      .pricing-card-action:disabled,
      .cabinet-view-btn:disabled {
        opacity: 0.5;
        cursor: default;
      }

      .cabinet-storage-usage {
        font-size: 20px;
        font-weight: 800;
        color: #0f172a;
      }

      .cabinet-storage-meter {
        overflow: hidden;
        height: 10px;
        border-radius: 999px;
        background: #e7edf6;
      }

      .cabinet-storage-meter-fill {
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #3b5bff 0%, #0f766e 100%);
        transition: width 0.22s ease;
      }

      .cabinet-storage-hint {
        font-size: 13px;
        color: #64748b;
      }

      .cabinet-main {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .cabinet-page {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .cabinet-page-head,
      .cabinet-selection-bar,
      .cabinet-controls-bar,
      .cabinet-pricing-head,
      .video-footer-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
      }

      .cabinet-page-copy {
        min-width: 0;
      }

      .cabinet-title {
        margin: 0;
        font-family: Inter, Segoe UI, Tahoma, sans-serif;
        font-size: clamp(38px, 5vw, 56px);
        line-height: 0.98;
        letter-spacing: -0.04em;
        color: #07111f;
      }

      .cabinet-selection-bar,
      .cabinet-controls-bar,
      .cabinet-current-plan,
      .pricing-card,
      .video-item {
        background: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
      }

      .cabinet-selection-bar,
      .cabinet-controls-bar,
      .cabinet-current-plan {
        padding: 14px 18px;
        border-radius: 20px;
      }

      .cabinet-selection-copy {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
      }

      .cabinet-controls-group {
        display: inline-flex;
        align-items: center;
        gap: 10px;
      }

      .cabinet-controls-label {
        font-size: 13px;
        font-weight: 700;
        color: #64748b;
      }

      .cabinet-master-check {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
      }

      .cabinet-master-check input,
      .video-select-box input {
        accent-color: #3b5bff;
      }

      .cabinet-select {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        background: #f8fbff;
        color: #0f172a;
        font-size: 14px;
        font-weight: 600;
      }

      .cabinet-chip {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 14px;
        background: #f8fbff;
        border: 1px solid #dbe4f0;
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
      }

      .cabinet-view-switch {
        display: inline-flex;
        gap: 8px;
      }

      .cabinet-view-btn,
      .cabinet-folder-btn,
      .cabinet-secondary-btn,
      .cabinet-selection-clear,
      .video-quick-action,
      .pricing-card-action {
        padding: 0 16px;
      }

      .cabinet-empty-state {
        border: 1.5px solid rgba(59, 91, 255, 0.16);
        border-radius: 32px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
        min-height: 360px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 36px;
      }

      .cabinet-empty-state-inner {
        max-width: 560px;
        text-align: center;
      }

      .cabinet-empty-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        margin: 0 auto 18px;
        border-radius: 22px;
        background: rgba(59, 91, 255, 0.08);
        color: #3b5bff;
        font-size: 32px;
        font-weight: 800;
      }

      .cabinet-empty-title {
        margin: 0;
        font-size: 34px;
        font-weight: 800;
        color: #07111f;
      }

      .cabinet-empty-copy {
        margin: 14px auto 0;
        max-width: 460px;
        font-size: 16px;
        line-height: 1.6;
        color: #475569;
      }

      .cabinet-empty-actions {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 24px;
      }

      .cabinet-record-btn {
        min-height: 48px;
        padding: 0 18px;
        border-radius: 16px;
        border: 1px solid #111827;
        background: #111827;
        color: #fff;
        font-size: 15px;
        font-weight: 800;
      }

      .cabinet-recordings {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .videos-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
      }

      .videos-list.is-list-view {
        grid-template-columns: 1fr;
      }

      .video-item {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
        border-radius: 28px;
      }

      .video-item.is-selected {
        border-color: rgba(59, 91, 255, 0.44);
        box-shadow: 0 20px 40px rgba(59, 91, 255, 0.14);
      }

      .video-item.is-list-mode {
        display: grid;
        grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
        gap: 18px;
        align-items: start;
      }

      .video-select-box {
        position: absolute;
        top: 18px;
        left: 18px;
        z-index: 4;
        display: inline-flex;
        width: 22px;
        height: 22px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
      }

      .video-thumb-wrap {
        position: relative;
        overflow: hidden;
        min-height: 220px;
        border-radius: 24px;
        background: linear-gradient(180deg, #eff4ff 0%, #f8fbff 100%);
      }

      .video-item.is-list-mode .video-thumb-wrap {
        min-height: 196px;
      }

      .video-thumb-link {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: inherit;
        aspect-ratio: 16 / 9;
        overflow: hidden;
      }

      .video-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .video-thumb-placeholder {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        color: #334155;
      }

      .video-duration-badge {
        position: absolute;
        right: 14px;
        bottom: 14px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.88);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
      }

      .video-content {
        position: relative;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .video-content-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }

      .video-title-link {
        min-width: 0;
        color: #07111f;
        text-decoration: none;
      }

      .video-title {
        margin: 0;
        font-size: 18px;
        line-height: 1.35;
        font-weight: 800;
        color: inherit;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .video-meta-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }

      .video-meta-line {
        margin: 0;
        font-size: 14px;
        color: #475569;
      }

      .video-meta-line.is-status {
        color: #0f766e;
        font-weight: 700;
      }

      .video-privacy-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid #dbe4f0;
        background: #f8fbff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 700;
      }

      .video-privacy-chip svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
      }

      .video-quick-actions {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .video-quick-action:not(:disabled):hover,
      .cabinet-folder-btn:not(:disabled):hover,
      .cabinet-secondary-btn:not(:disabled):hover,
      .cabinet-selection-clear:not(:disabled):hover,
      .cabinet-view-btn:not(:disabled):hover,
      .pricing-card-action:not(:disabled):hover,
      .cabinet-storage-upgrade:not(:disabled):hover {
        transform: translateY(-1px);
      }

      .cabinet-filter-empty {
        padding: 32px;
        border: 1px dashed #cbd5e1;
        border-radius: 24px;
        background: #fff;
        color: #475569;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
      }

      .skeleton-check {
        width: 24px;
        height: 24px;
        border-radius: 999px;
      }

      .cabinet-pricing-eyebrow,
      .pricing-page-eyebrow,
      .pricing-card-eyebrow {
        margin: 0 0 8px;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
      }

      .pricing-page {
        padding: 32px 24px 56px;
      }

      .pricing-page-shell {
        width: min(1200px, 100%);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .pricing-page-title {
        margin: 0;
        font-size: clamp(38px, 5vw, 58px);
        line-height: 1;
        letter-spacing: -0.04em;
        color: #07111f;
      }

      .pricing-page-copy,
      .current-plan-copy,
      .current-plan-meta,
      .pricing-card-feature {
        margin: 0;
        color: #475569;
        font-size: 15px;
        line-height: 1.6;
      }

      .pricing-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .pricing-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        border-radius: 28px;
      }

      .pricing-card.is-current {
        border-color: rgba(59, 91, 255, 0.42);
        box-shadow: 0 20px 40px rgba(59, 91, 255, 0.14);
      }

      .pricing-card-title {
        margin: 0;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 800;
        color: #07111f;
      }

      .pricing-card-price {
        margin: 0;
        font-size: 20px;
        font-weight: 800;
        color: #0f172a;
      }

      .pricing-card-features,
      .current-plan-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .pricing-card-action.is-current {
        background: #e8eefc;
        border-color: #dbe4f0;
        color: #64748b;
      }

      .current-plan-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .current-plan-title {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
        color: #07111f;
      }

      .current-plan-meta.is-warning {
        color: #dc2626;
      }

      @media (max-width: 1439px) {
        .videos-list {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
      }

      @media (max-width: 1199px) {
        .cabinet-shell-grid {
          grid-template-columns: 256px minmax(0, 1fr);
          gap: 24px;
        }

        .pricing-cards,
        .videos-list {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 1023px) {
        .cabinet-shell-grid {
          grid-template-columns: 1fr;
          padding: 24px 16px 36px;
        }

        .cabinet-sidebar {
          position: static;
        }

        .pricing-page {
          padding: 24px 16px 40px;
        }
      }

      @media (max-width: 767px) {
        .topbar-upgrade-btn {
          display: none;
        }

        .topbar-create-btn {
          min-width: 44px;
          padding: 0 14px;
        }

        .cabinet-title,
        .pricing-page-title {
          font-size: 34px;
        }

        .cabinet-empty-state {
          min-height: 300px;
          padding: 24px 16px;
        }

        .cabinet-empty-title {
          font-size: 28px;
        }

        .videos-list,
        .pricing-cards {
          grid-template-columns: 1fr;
        }

        .video-item.is-list-mode {
          grid-template-columns: 1fr;
        }

        .cabinet-page-head,
        .cabinet-selection-bar,
        .cabinet-controls-bar,
        .cabinet-pricing-head,
        .video-footer-row {
          align-items: stretch;
        }

        .cabinet-controls-group,
        .cabinet-view-switch,
        .video-quick-actions {
          width: 100%;
        }
      }
