/
pvldchkv
/
unity
Обзор
Документация
Войти
/
pvldchkv
/
unity
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/App.css
6 494 строки
122 KB
Dyachkov Pavel
Метрики: автособираемое дерево кликстрима на /docs/metrics
29 май 2026, 15:51
29 май 2026, 15:51
75ea4c4
Код
Авторство
О чём код?
/* ── Button & IconButton (DS) ── Два размера: normal (40, Subtitle2) и large (52, Subtitle1). Иконки внутри — только UnityIcon: 16px для normal, 24px для large. Веса — semibold (600), шрифт — SB Sans Text. Лочим всё через CSS, минуя Radix-сайзы. */ /* Сброс шрифтового веса под Subtitle1/2 (Semibold 600) — поверх Radix */ .ds-button, .ds-icon-button { font-family: var(--default-font-family); font-weight: 600; cursor: pointer; box-sizing: border-box; } /* Normal — 40×, Subtitle2 (14/20) */ .ds-button.ds-button-normal { height: 40px; padding: 0 16px; font-size: 14px; line-height: 20px; border-radius: var(--radius-3); gap: 8px; } .ds-icon-button.ds-icon-button-normal { width: 40px; height: 40px; min-width: 40px; min-height: 40px; max-width: 40px; max-height: 40px; border-radius: var(--radius-3); } /* Large — 52×, Subtitle1 (16/24) */ .ds-button.ds-button-large { height: 52px; padding: 0 20px; font-size: 16px; line-height: 24px; border-radius: var(--radius-4); gap: 10px; } .ds-icon-button.ds-icon-button-large { width: 52px; height: 52px; min-width: 52px; min-height: 52px; max-width: 52px; max-height: 52px; border-radius: var(--radius-4); } /* Disabled state for primary solid button — flat neutral fill */ .ds-button-primary:disabled, .ds-icon-button-primary:disabled { background-color: var(--gray-a3); color: var(--gray-a8); opacity: 1; } /* ── Checkbox (DS) ── Два размера: normal (24×24, лейбл Body1, radius 5) и small (20×20, лейбл Body2, radius 4). cursor: pointer. Hover (unchecked): тёмная обводка + превью чёрной галочки. Checked: gray-12 фон + белая галочка (рендерит Radix). См. /docs/checkboxes. */ .ds-checkbox { cursor: pointer; } .ds-checkbox.ds-checkbox-normal, .ds-checkbox.ds-checkbox-normal::before { width: 24px; height: 24px; } .ds-checkbox.ds-checkbox-normal::before { border-radius: 5px; } .ds-checkbox.ds-checkbox-small, .ds-checkbox.ds-checkbox-small::before { width: 20px; height: 20px; } .ds-checkbox.ds-checkbox-small::before { border-radius: 4px; } /* Hover (unchecked, not disabled): darker border */ .ds-checkbox[data-state="unchecked"]:not(:disabled):hover::before { box-shadow: inset 0 0 0 1px var(--gray-12); } /* Label wrapping a checkbox gets the same pointer cursor */ label:has(.ds-checkbox) { cursor: pointer; } /* ── Skeleton Loader ── */ @keyframes skeleton-shimmer { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } } .skeleton-pulse { background: var(--gray-4); animation: skeleton-shimmer 1.2s ease-in-out infinite; } .skeleton-card { pointer-events: none; } /* ── Reset ── */ html, body, #root { margin: 0; padding: 0; height: 100%; } /* ── Layout ── */ .layout { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; height: 100vh; background: var(--gray-3); } /* ── Sidebar ── */ .sidebar { grid-row: 1 / -1; background: #fff; box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; width: 264px; transition: width 0.2s ease; overflow: hidden; z-index: 2; } .sidebar.collapsed { width: 64px; } /* Auto-collapse sidebar when detail is open AND viewport is too narrow (sidebar 264 + compact list 300 + detail panel 640 = 1204px) */ @media (max-width: 1203px) { .layout:has(.detail-open) .sidebar, .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar { width: 64px; } .layout:has(.detail-open) .sidebar .sidebar-logo-img, .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar .sidebar-logo-img { clip-path: inset(0 calc(100% - 26px) 0 0); } .layout:has(.detail-open) .sidebar .nav-item span:not(.nav-item-icon), .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar .nav-item span:not(.nav-item-icon) { display: none; } .layout:has(.detail-open) .sidebar .nav-badge, .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar .nav-badge { display: none; } .layout:has(.detail-open) .sidebar .sidebar-collapse-btn svg, .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar .sidebar-collapse-btn svg { transform: rotate(180deg); } .layout:has(.detail-open) .sidebar .sidebar-footer span, .layout:has(.lists-tri-panel[data-state="startup"]) .sidebar .sidebar-footer span { display: none; } } .sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 56px; min-height: 56px; } .sidebar-logo { display: flex; align-items: center; overflow: hidden; } .sidebar-logo-img { flex-shrink: 0; } .sidebar.collapsed .sidebar-logo-img { /* In collapsed state, clip to show only the Sber icon (first 32px of the SVG) */ clip-path: inset(0 calc(100% - 26px) 0 0); } .sidebar-collapse-btn { flex-shrink: 0; } .sidebar.collapsed .sidebar-collapse-btn svg { transform: rotate(180deg); } .sidebar-nav { flex: 1; padding: 0; display: flex; flex-direction: column; gap: 0; } .nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 13px; border-radius: 0; cursor: pointer; font-size: 14px; color: var(--gray-11); text-decoration: none; white-space: nowrap; overflow: hidden; position: relative; transition: background 0.15s; border-left: 3px solid transparent; } .nav-item:hover { background: var(--accent-a3); } .sidebar-footer .nav-item:hover { background: var(--gray-a3); } .nav-item.active { background: rgba(171, 66, 120, 0.04); color: var(--gray-12); font-weight: 500; border-left-color: var(--accent-9); } .nav-item-icon { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; } .nav-badge { width: 8px; height: 8px; background: #21a038; border-radius: 50%; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); } .sidebar.collapsed .nav-badge { right: 6px; top: 8px; transform: none; } .sidebar.collapsed .nav-item span:not(.nav-item-icon) { display: none; } .sidebar.collapsed .nav-badge { display: none; } .sidebar-footer { padding: 0; border-top: 1px solid var(--gray-4); } .sidebar.collapsed .sidebar-footer span { display: none; } /* ── Mobile burger button ── */ .mobile-burger { display: none; } /* ── Mobile overlay ── */ .mobile-overlay { display: none; } /* ── Mobile topbar logo (hidden on desktop) ── */ .mobile-topbar-logo { display: none; } /* ── Mobile nav tabs (hidden on desktop) ── */ .mobile-nav-tabs { display: none; } /* ── Mobile-only elements (hidden on desktop) ── */ .mobile-only { display: none !important; } .detail-back-btn { align-items: center; gap: 4px; background: none; border: none; padding: 6px 10px; border-radius: var(--radius-2); cursor: pointer; color: var(--gray-11); font-size: 14px; transition: background 0.1s, color 0.1s; } .detail-back-btn:hover { background: var(--gray-a3); color: var(--gray-12); } /* ── Mobile burger menu panel (hidden on desktop) ── */ .mobile-burger-menu { display: none; } @media (max-width: 1023px) { .sidebar { display: none !important; width: 0 !important; } .sidebar.mobile-open { display: none !important; } .mobile-burger { display: flex; } .mobile-overlay { display: block; position: fixed; inset: 0; top: 56px; background: rgba(0, 0, 0, 0.3); z-index: 99; } .topbar { grid-column: 1 / -1 !important; justify-content: flex-start; } /* Hide desktop / show mobile elements */ .desktop-only { display: none !important; } .mobile-only { display: flex !important; } /* Show mobile logo in topbar */ .mobile-topbar-logo { display: flex; align-items: center; cursor: pointer; margin-right: auto; } /* ── Mobile nav tabs ── */ .mobile-nav-tabs { display: flex; grid-column: 1 / -1; grid-row: 2; overflow-x: auto; width: 100%; background: #fff; border-bottom: 1px solid var(--gray-4); padding: 0 16px; gap: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .mobile-nav-tabs::-webkit-scrollbar { display: none; } .mobile-nav-tab { flex-shrink: 0; padding: 12px 16px; font-size: 13px; color: var(--gray-11); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; } .mobile-nav-tab:hover { color: var(--gray-12); } .mobile-nav-tab.active { color: var(--accent-9); font-weight: 500; border-bottom-color: var(--accent-9); } /* ── Mobile burger menu ── */ .mobile-burger-menu { display: flex; flex-direction: column; position: fixed; top: 56px; right: 0; left: 0; background: #fff; z-index: 101; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 8px 0; } .mobile-burger-menu-item { padding: 12px 20px; font-size: 15px; color: var(--gray-12); text-decoration: none; transition: background 0.15s; } .mobile-burger-menu-item:hover { background: var(--gray-a3); } .mobile-burger-menu-logout { color: var(--red-9); } .mobile-burger-menu-separator { height: 1px; background: var(--gray-4); margin: 4px 0; } .main-content { grid-column: 1 / -1 !important; grid-row: 3; } .layout { grid-template-columns: 1fr !important; grid-template-rows: auto auto 1fr !important; } .topbar { grid-row: 1; } /* ── Hide view toggle (list/grid) on mobile ── */ .view-toggle { display: none !important; } /* ── StartupsPage: fullscreen detail on mobile ── */ .master-detail.detail-open .master-panel { display: none; } .master-detail.detail-open .detail-panel { min-width: 0; padding: 16px; } /* ── ListsPage: fullscreen panels on mobile ── */ /* When a list is selected: hide overview, show content fullscreen */ .lists-tri-panel[data-state="list"] .ltp-lists { display: none !important; } .lists-tri-panel[data-state="list"] .ltp-content { flex: 1 !important; opacity: 1 !important; pointer-events: auto !important; min-width: 0 !important; border: none !important; } /* When a startup is selected: hide overview + content, show detail fullscreen */ .lists-tri-panel[data-state="startup"] .ltp-lists { display: none !important; } .lists-tri-panel[data-state="startup"] .ltp-content { display: none !important; } .lists-tri-panel[data-state="startup"] .ltp-detail { flex: 1 !important; opacity: 1 !important; pointer-events: auto !important; padding: 16px !important; } /* ── Mobile detail content sizing ── */ .detail-wrapper { max-width: 100%; width: 100%; } .detail-panel > .detail-layout { max-width: 100%; } .detail-main .rt-Card { padding: 16px; } .company-header { padding: 16px 0; } } /* ── Top Bar ── */ .topbar { grid-column: 2; background: #fff; border-bottom: 1px solid var(--gray-4); display: flex; align-items: center; justify-content: flex-end; padding: 0 24px; gap: 16px; min-height: 56px; } .topbar-banner-slot { display: flex; align-items: center; margin-right: auto; } .topbar-user { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 500; } .topbar-lang { font-size: 14px; color: var(--gray-11); cursor: pointer; padding: 4px 8px; } /* ── Main Content ── */ .main-content { grid-column: 2; overflow: auto; padding: 0; } .content-header { margin-bottom: 24px; } .content-body { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; } /* ── Search ── */ .search-row { margin-top: 20px; margin-bottom: 16px; } .search-row .rt-TextFieldRoot { font-size: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); height: 52px; background: #fff; } /* ── View Toggle ── */ .view-toggle { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 16px; } .view-toggle-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: none; background: none; border-radius: var(--radius-2); cursor: pointer; color: var(--gray-9); transition: all 0.15s; } .view-toggle-btn.active { background: var(--gray-12); color: #fff; } .view-toggle-btn:hover:not(.active) { background: var(--gray-a3); } /* ── Infinite-list sentinel + spinner ── */ .list-load-more { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 16px 0; } .ds-spinner { width: 24px; height: 24px; border: 2px solid var(--gray-a4); border-top-color: var(--gray-12); border-radius: 50%; animation: scouting-spin 0.8s linear infinite; } /* ── Startup Card ── */ .startup-card { background: #fff; border: none; border-radius: var(--radius-3); padding: 24px; display: flex; gap: 20px; cursor: pointer; transition: box-shadow 0.15s; } .startup-card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } .startup-card:hover .startup-name { color: rgb(171, 66, 120); } .startup-logo { width: 64px; height: 64px; border-radius: var(--radius-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; border: 1px solid var(--gray-4); background: var(--gray-1); } .startup-info { flex: 1; min-width: 0; } .startup-name { font-size: 18px; font-weight: 600; color: var(--gray-12); margin-bottom: 6px; } .startup-desc { font-size: 14px; color: var(--gray-10); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; } .startup-tags { display: flex; gap: 6px; flex-wrap: wrap; } /* ── Startup Grid View ── */ .startup-list { display: flex; flex-direction: column; gap: 2px; } .startup-list.grid-view { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; } .grid-view .startup-card { flex-direction: column; position: relative; } .grid-view .startup-card-bookmark { position: absolute; top: 24px; right: 24px; } .grid-view .startup-logo { width: 48px; height: 48px; } /* ── Filter Panel ── Sticky к верху master-panel. Если содержимое выше окна (раскрыто много секций), скроллится внутри сам — иначе «Применить фильтры» уходит за край. */ .filter-panel { background: #fff; border: 1px solid var(--gray-4); border-radius: var(--radius-3); padding: 8px 0 0; position: sticky; top: 0; box-sizing: border-box; max-height: calc(100vh - 260px); /* запас на content-header сверху, чтобы вся панель + кнопка попадали в окно даже без скролла */ overflow: hidden auto; } .filter-section { border-bottom: 1px solid var(--gray-3); } .filter-section:last-of-type { border-bottom: none; } .filter-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--gray-12); transition: background 0.1s; } .filter-header:hover { background: var(--gray-a3); } .filter-header > div > svg:last-child { transition: transform 0.2s; color: var(--gray-9); } .filter-header.open > div > svg:last-child { transform: rotate(180deg); } /* ── Applied filter badges ── */ .applied-filters-row { margin-top: 12px; } .applied-filter-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--gray-a5); background: var(--gray-a3); cursor: pointer; font-size: 13px; color: var(--gray-11); line-height: 1; transition: background 0.15s, border-color 0.15s; white-space: nowrap; } .applied-filter-badge:hover { background: var(--gray-a4); border-color: var(--gray-a6); } .applied-filter-label { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .applied-filter-extra { color: var(--gray-9); font-size: 12px; font-weight: 500; } .applied-filter-badge svg { color: var(--gray-9); flex-shrink: 0; } .applied-filter-badge:hover svg { color: var(--gray-12); } .filter-category-reset { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 2px; cursor: pointer; color: var(--gray-9); border-radius: 4px; transition: color 0.15s, background 0.15s; } .filter-category-reset:hover { color: var(--gray-12); background: var(--gray-a4); } .filter-options { padding: 0 20px 14px; display: flex; flex-direction: column; gap: 8px; } .filter-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: sticky; bottom: 0; z-index: 1; background: #fff; border-top: 1px solid var(--gray-3); } .filter-reset { font-size: 13px; color: var(--gray-10); cursor: pointer; background: none; border: none; padding: 4px; } .filter-reset:hover { color: var(--gray-12); } /* ── Scrollbar ── */ .main-content::-webkit-scrollbar { width: 6px; } .main-content::-webkit-scrollbar-track { background: transparent; } .main-content::-webkit-scrollbar-thumb { background: var(--gray-5); border-radius: 3px; } /* ── Detail Page ── */ .detail-layout { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start; max-width: 1080px; } /* Hide detail right sidebar in master-detail mode (not standalone) */ .detail-panel:not(.standalone) .detail-layout { grid-template-columns: 1fr; } .detail-panel:not(.standalone) .detail-sidebar { display: none; } .detail-main { min-width: 0; } .detail-wrapper { max-width: 1080px; } .company-header { background: #fff; border-radius: var(--radius-5); padding: 28px 32px; margin-bottom: 16px; margin-top: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; } .company-header-actions { flex-shrink: 0; } .company-header-divider { height: 1px; background: var(--gray-a4); margin: 0 -32px; } .detail-main .rt-Card { border: none; box-shadow: none; padding: 28px 32px; border-radius: var(--radius-5); max-width: 1080px; } /* Full-page detail view: enforce min-width */ .detail-layout:not(.detail-panel .detail-layout) .detail-main .rt-Card { min-width: 640px; } .detail-main .rt-Card::after { box-shadow: none !important; } .detail-sidebar { position: sticky; top: 16px; align-self: start; background: #fff; border-radius: var(--radius-3); overflow: hidden; } .detail-nav { display: flex; flex-direction: column; padding: 8px 0; } .detail-nav-item { padding: 10px 20px; font-size: 14px; color: var(--gray-11); text-decoration: none; transition: background 0.1s, color 0.1s; border-left: 2px solid transparent; } .detail-nav-item:hover { background: var(--gray-a3); color: var(--gray-12); } .detail-nav-item.active { background: rgba(171, 66, 120, 0.04); color: var(--accent-9); font-weight: 600; border-left-color: var(--accent-9); } /* ── Empty State ── */ .empty-state { background: var(--gray-2); border-radius: var(--radius-2); padding: 24px; text-align: center; } .detail-footer { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 24px; margin-top: 32px; border-top: 1px solid var(--gray-4); } .scroll-to-top { position: fixed; bottom: 32px; right: 32px; z-index: 10; border-radius: 50% !important; width: 44px !important; height: 44px !important; background: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important; cursor: pointer; } /* ── Master-Detail Layout ── */ .master-detail { display: flex; height: 100%; overflow: hidden; } .master-panel { flex: 1; overflow-y: auto; padding: 32px; transition: flex 0.25s ease, max-width 0.25s ease; } .master-detail:not(.detail-open) .master-panel .content-header, .master-detail:not(.detail-open) .master-panel .view-toggle, .master-detail:not(.detail-open) .master-panel .content-body { max-width: 1080px; margin-left: auto; margin-right: auto; } .master-detail.detail-open .master-panel { flex: 0 0 30%; min-width: 300px; max-width: 400px; padding: 20px 0; border-right: 1px solid var(--gray-4); background: #fff; } .detail-panel { flex: 1; min-width: 640px; overflow-y: auto; padding: 24px 32px; display: flex; flex-direction: column; align-items: center; } .detail-panel .detail-layout { width: 100%; max-width: 1080px; } /* Compact-master mode: master-list занимает левую колонку, info-content справа становится уже — 808px, чтобы не растягиваться при большом окне. */ .detail-panel:not(.standalone) .detail-layout { max-width: 808px; } /* Standalone detail page (opened via /startup/:id) */ .detail-panel.standalone { height: 100%; overflow-y: auto; padding: 32px; } .detail-panel.standalone .detail-layout { margin: 0 auto; } /* Show section sidebar only when there's enough room */ @media (max-width: 1100px) { .detail-panel.standalone .detail-layout { grid-template-columns: 1fr; } .detail-panel.standalone .detail-sidebar { display: none; } } /* ── Compact mode overrides (master-detail header/search) ── */ .master-detail.detail-open .content-header { margin-bottom: 12px; padding: 0 16px; } .master-detail.detail-open .search-row { margin-top: 12px; margin-bottom: 8px; padding: 0 16px; } /* ── Compact list — unified design system component ── */ .compact-list { gap: 0 !important; } .compact-list .startup-card { padding: 12px 12px 12px 16px; gap: 12px; border-radius: 0; border-bottom: 1px solid var(--gray-4); box-shadow: none; } .compact-list .startup-card:first-child { border-top: 1px solid var(--gray-4); } .compact-list .startup-logo { width: 40px; height: 40px; font-size: 12px; } .compact-list .startup-desc { display: none; } .compact-list .startup-name { font-size: 14px; margin-bottom: 4px; } .compact-list .startup-tags .rt-Badge { font-size: 11px; } .compact-list .startup-card:hover { box-shadow: none; background: var(--gray-a3); } .compact-list .startup-card.selected { box-shadow: none; background: transparent; border-left: 3px solid var(--accent-9); padding-left: 13px; } .startup-card.selected { box-shadow: 0 0 0 2px var(--accent-7); background: var(--accent-2); } /* ── Scrollbars for panels ── */ .master-panel::-webkit-scrollbar, .detail-panel::-webkit-scrollbar { width: 6px; } .master-panel::-webkit-scrollbar-track, .detail-panel::-webkit-scrollbar-track { background: transparent; } .master-panel::-webkit-scrollbar-thumb, .detail-panel::-webkit-scrollbar-thumb { background: var(--gray-5); border-radius: 3px; } /* ── Detail close button ── */ .detail-close-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px 8px; border-radius: var(--radius-2); color: var(--gray-10); font-size: 13px; transition: background 0.1s, color 0.1s; } .detail-close-btn:hover { background: var(--gray-a3); color: var(--gray-12); } /* ── Bookmark on Startup Cards ── */ .startup-card-bookmark { margin-left: auto; flex-shrink: 0; align-self: flex-start; } .startup-card-bookmark .rt-IconButton { width: 28px; height: 28px; } .startup-card-bookmark .rt-IconButton svg { width: 20px; height: 20px; } .startup-card-bookmark .rt-IconButton:hover { background: var(--gray-a3); } /* ── Bookmark trigger accent hover ── */ .add-to-list-trigger:hover { background: var(--accent-a3) !important; } /* ── Add to List Popover ── */ .add-to-list-content { padding: 12px !important; } .add-to-list-items { display: flex; flex-direction: column; gap: 2px; max-height: 200px; overflow-y: auto; } .add-to-list-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-2); border: none; background: none; cursor: pointer; font-family: var(--default-font-family); font-size: 13px; color: var(--gray-12); text-align: left; width: 100%; transition: background 0.1s; } .add-to-list-item:hover { background: var(--gray-a3); } .add-to-list-item.checked { background: none; } .add-to-list-item.checked .add-to-list-item-name { flex: 0 1 auto; font-weight: 600; } .add-to-list-color-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; } .add-to-list-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .add-to-list-check { color: var(--accent-9); flex-shrink: 0; } .add-to-list-item.disabled { opacity: 0.5; cursor: not-allowed; } .add-to-list-item.disabled:hover { background: none; } .add-to-list-lock { color: var(--gray-8); flex-shrink: 0; } .add-to-list-create { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: none; background: none; cursor: pointer; font-size: 13px; color: var(--accent-9); width: 100%; border-radius: var(--radius-2); transition: background 0.1s; } .add-to-list-create:hover { background: var(--gray-a3); } /* ── Create List Dialog ── */ .color-picker-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; transition: transform 0.1s, border-color 0.1s; padding: 0; } .color-picker-dot:hover { transform: scale(1.15); } .color-picker-dot.selected { border-color: var(--gray-12); transform: scale(1.15); } /* ── Lists Tri-Panel Animated Layout ── */ .lists-tri-panel { display: flex; height: 100%; overflow: hidden; } .ltp-panel { overflow-y: auto; overflow-x: hidden; transition: flex 0.3s ease, min-width 0.3s ease, max-width 0.3s ease, padding 0.3s ease, opacity 0.25s ease, border-color 0.3s ease; } /* ── Panel A: Lists ── */ .ltp-lists { padding: 32px; } /* idle: Panel A = full */ .lists-tri-panel[data-state="idle"] .ltp-lists { flex: 1; opacity: 1; } .lists-tri-panel[data-state="idle"] .ltp-lists .content-header, .lists-tri-panel[data-state="idle"] .ltp-lists .lists-grid { max-width: 1080px; margin-left: auto; margin-right: auto; } /* list: Panel A = narrow sidebar */ .lists-tri-panel[data-state="list"] .ltp-lists { flex: 0 0 30%; min-width: 300px; max-width: 400px; padding: 20px 0; border-right: 1px solid var(--gray-4); background: #fff; opacity: 1; } /* startup: Panel A = hidden */ .lists-tri-panel[data-state="startup"] .ltp-lists { flex: 0 0 0%; min-width: 0; max-width: 0; padding: 0; opacity: 0; pointer-events: none; } /* ── Panel B: List Content ── */ .ltp-content { padding: 24px 32px; } /* idle: Panel B = hidden */ .lists-tri-panel[data-state="idle"] .ltp-content { flex: 0 0 0%; min-width: 0; max-width: 0; padding: 0; opacity: 0; pointer-events: none; } /* list: Panel B = full right */ .lists-tri-panel[data-state="list"] .ltp-content { flex: 1; opacity: 1; } /* startup: Panel B = narrow sidebar */ .lists-tri-panel[data-state="startup"] .ltp-content { flex: 0 0 30%; min-width: 300px; max-width: 400px; padding: 20px 0; border-right: 1px solid var(--gray-4); background: #fff; opacity: 1; } /* ── Panel C: Startup Detail ── */ .ltp-detail { padding: 24px 32px; display: flex; flex-direction: column; align-items: center; } /* idle & list: Panel C = hidden */ .lists-tri-panel[data-state="idle"] .ltp-detail, .lists-tri-panel[data-state="list"] .ltp-detail { flex: 0 0 0%; min-width: 0; max-width: 0; padding: 0; opacity: 0; pointer-events: none; } /* startup: Panel C = full right */ .lists-tri-panel[data-state="startup"] .ltp-detail { flex: 1; opacity: 1; } /* ── Compact mode overrides for tri-panel ── */ /* Compact panel headers need horizontal padding */ .lists-tri-panel[data-state="list"] .ltp-lists .content-header, .lists-tri-panel[data-state="startup"] .ltp-content .content-header { padding: 0 16px; margin-bottom: 12px; } .lists-tri-panel[data-state="list"] .ltp-lists .search-row, .lists-tri-panel[data-state="startup"] .ltp-content .search-row { padding: 0 16px; } /* Content panel header padding in compact mode */ .lists-tri-panel[data-state="startup"] .ltp-content > div > .rt-Flex, .lists-tri-panel[data-state="startup"] .ltp-content > div > .rt-Heading, .lists-tri-panel[data-state="startup"] .ltp-content > div > .rt-Text { padding-left: 16px; padding-right: 16px; } /* Hide bookmark in compact list — user manages lists from detail view */ .compact-list .startup-card-bookmark { display: none; } /* Hide detail sidebar navigation inside tri-panel */ .ltp-detail .detail-layout { grid-template-columns: 1fr; width: 100%; max-width: 808px; } .ltp-detail .detail-sidebar { display: none; } /* ── Scrollbars for tri-panels ── */ .ltp-panel::-webkit-scrollbar { width: 6px; } .ltp-panel::-webkit-scrollbar-track { background: transparent; } .ltp-panel::-webkit-scrollbar-thumb { background: var(--gray-5); border-radius: 3px; } /* ── Lists Page (legacy wrapper for idle state) ── */ .lists-overview { height: 100%; } .lists-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; padding: 40px 24px; text-align: center; } .lists-empty-illustration { margin-bottom: 8px; opacity: 0.85; } .lists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 16px; } .list-card { position: relative; border: 1px solid var(--gray-4); border-radius: var(--radius-3); background: #fff; cursor: pointer; overflow: hidden; min-width: 0; transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s, transform 0.15s; } .list-card:hover { border-color: var(--gray-6); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } .list-card.selected { border-color: var(--accent-7); background: var(--accent-2); } .list-card.dragging { opacity: 0.4; transform: scale(0.97); } .list-card.drag-over { border-color: var(--accent-7); box-shadow: 0 0 0 2px var(--accent-4); } .list-card-drag-handle { position: absolute; top: 8px; right: 8px; color: var(--gray-7); cursor: grab; padding: 4px; border-radius: var(--radius-2); transition: color 0.15s, background 0.15s; z-index: 1; } .list-card-drag-handle:hover { color: var(--gray-10); background: var(--gray-a3); } .list-card-drag-handle:active { cursor: grabbing; } .lists-grid.compact { grid-template-columns: 1fr; gap: 0; } .lists-grid.compact .list-card { border: none; border-radius: 0; border-bottom: 1px solid var(--gray-4); box-shadow: none; } .lists-grid.compact .list-card:first-child { border-top: 1px solid var(--gray-4); } .lists-grid.compact .list-card:hover { border-color: var(--gray-4); box-shadow: none; background: var(--gray-a3); } .lists-grid.compact .list-card.selected { background: transparent; border-color: var(--gray-4); border-left: 3px solid var(--accent-9); box-shadow: none; } .lists-grid.compact .list-card-body { padding: 12px 16px; } .list-card-body { padding: 20px; display: flex; flex-direction: column; gap: 4px; } .list-card-footer { display: flex; align-items: center; gap: 6px; margin-top: 12px; min-width: 0; } .list-card-lock { color: var(--gray-8); display: inline-flex; align-items: center; cursor: help; } /* Bulk add disabled items */ .bulk-add-list-item.disabled { opacity: 0.5; cursor: not-allowed; } .list-card-logos { display: flex; gap: 6px; min-width: 0; flex-shrink: 1; overflow: hidden; } .list-card-logo { width: 32px; height: 32px; border-radius: var(--radius-2); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; border: 1px solid var(--gray-4); flex-shrink: 0; } .list-card-count { flex-shrink: 0; white-space: nowrap; } /* (ListDetail styles removed — replaced by ListViewPage) */ /* ── Scouting Page ── */ .scouting-page { height: 100%; display: flex; align-items: flex-start; justify-content: center; padding: 80px 32px 32px; overflow-y: auto; } .scouting-hero { max-width: 720px; width: 100%; display: flex; flex-direction: column; align-items: center; } .scouting-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .scouting-title { color: var(--gray-12); } .scouting-beta { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-9); background: var(--accent-3); padding: 2px 8px; border-radius: 999px; line-height: 1.4; } .scouting-subtitle { font-size: 15px; color: var(--gray-10); text-align: center; line-height: 1.5; margin-bottom: 32px; max-width: 540px; } /* Input */ .scouting-input-wrapper { position: relative; width: 100%; margin-bottom: 24px; } .scouting-input-icon { position: absolute; top: 14px; left: 14px; color: var(--gray-8); pointer-events: none; } .scouting-input { width: 100%; min-height: 80px; padding: 12px 16px 12px 42px; border: 1px solid var(--gray-5); border-radius: var(--radius-3); background: #fff; font-size: 15px; line-height: 1.5; color: var(--gray-12); resize: vertical; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; } .scouting-input:focus { outline: none; border-color: var(--accent-7); box-shadow: 0 0 0 2px var(--accent-3); } .scouting-input::placeholder { color: var(--gray-8); } /* Examples */ .scouting-examples { width: 100%; transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease; max-height: 600px; opacity: 1; overflow: visible; } .scouting-examples.hidden { max-height: 0; opacity: 0; margin: 0; pointer-events: none; overflow: hidden; } .scouting-examples-label { font-size: 13px; color: var(--gray-9); margin-bottom: 10px; display: block; } .scouting-examples-list { display: flex; flex-direction: column; gap: 8px; } .scouting-example-chip { background: #fff; border: 1px solid var(--gray-4); border-radius: var(--radius-2); padding: 10px 14px; font-size: 13px; line-height: 1.45; color: var(--gray-11); cursor: pointer; text-align: left; transition: border-color 0.15s, background 0.15s, color 0.15s; } .scouting-example-chip:hover { border-color: var(--gray-6); background: var(--gray-a3); color: var(--gray-12); } /* History chips */ .scouting-history-chip { background: #fff; border: 1px solid var(--gray-4); border-radius: var(--radius-2); padding: 12px 14px; cursor: pointer; text-align: left; transition: border-color 0.15s, background 0.15s; display: flex; flex-direction: column; gap: 8px; } .scouting-history-chip:hover { border-color: var(--gray-6); background: var(--gray-a3); } .scouting-history-chip-query { font-size: 13px; line-height: 1.45; color: var(--gray-12); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .scouting-history-chip-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--gray-9); } .scouting-history-chip-count { font-weight: 500; color: var(--gray-11); } .scouting-history-chip-date { color: var(--gray-8); } /* Controls */ .scouting-controls { width: 100%; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; } .scouting-controls.visible { max-height: 200px; opacity: 1; } .scouting-controls-inner { background: #fff; border: 1px solid var(--gray-4); border-radius: var(--radius-3); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } /* Mode tabs */ .scouting-mode-tabs { display: flex; background: var(--gray-3); border-radius: var(--radius-2); padding: 2px; flex-shrink: 0; } .scouting-mode-tab { padding: 6px 14px; font-size: 13px; font-weight: 500; border: none; background: none; border-radius: var(--radius-2); cursor: pointer; color: var(--gray-10); transition: background 0.15s, color 0.15s; } .scouting-mode-tab.active { background: #fff; color: var(--gray-12); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); } /* Depth options */ .scouting-depth-options { display: flex; align-items: center; gap: 6px; } .scouting-depth-btn { width: 40px; height: 32px; border: 1px solid var(--gray-5); border-radius: var(--radius-2); background: #fff; font-size: 13px; font-weight: 500; color: var(--gray-11); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; } .scouting-depth-btn.active { background: var(--gray-12); border-color: var(--gray-12); color: #fff; } .scouting-depth-btn:not(.active):hover { border-color: var(--gray-8); } .scouting-depth-hint { font-size: 12px; color: var(--gray-9); margin-left: 4px; } /* Precision options */ .scouting-precision-options { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; } .scouting-precision-label { font-size: 12px; color: var(--gray-9); } .scouting-precision-row { display: flex; align-items: center; gap: 10px; } .scouting-precision-slider { flex: 1; accent-color: var(--accent-9); height: 4px; } .scouting-precision-value { font-size: 15px; font-weight: 600; color: var(--gray-12); min-width: 36px; text-align: right; } /* Submit button */ .scouting-submit-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; margin-top: 12px; background: var(--accent-9); color: #fff; border: none; border-radius: var(--radius-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.15s; white-space: nowrap; } .scouting-submit-btn:hover { background: var(--accent-10); } .scouting-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* ── Scouting Loading State ── */ .scouting-loading { max-width: 600px; width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 120px; } .scouting-loading-query { font-size: 18px; font-weight: 600; color: var(--gray-12); text-align: center; line-height: 1.5; margin-bottom: 48px; max-width: 540px; } .scouting-loader { margin-bottom: 24px; } .scouting-loader-spinner { width: 48px; height: 48px; border: 3px solid var(--gray-4); border-top-color: var(--accent-9); border-radius: 50%; animation: scouting-spin 0.8s linear infinite; } @keyframes scouting-spin { to { transform: rotate(360deg); } } .scouting-loading-msg { font-size: 15px; color: var(--gray-10); text-align: center; animation: scouting-fade-in 0.4s ease; } @keyframes scouting-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ── Scouting Results State ── */ .scouting-results-page { align-items: stretch; padding: 0; } .scouting-results { width: 100%; padding: 32px; overflow-y: auto; } .scouting-back-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font-size: 13px; color: var(--gray-9); cursor: pointer; margin-bottom: 12px; transition: color 0.15s; } .scouting-back-btn:hover { color: var(--gray-12); } .scouting-results-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .scouting-results-top-row .scouting-back-btn { margin-bottom: 0; } .scouting-examples-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .scouting-examples-header .scouting-examples-label { margin-bottom: 0; } .scouting-clear-history-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font-size: 13px; color: var(--gray-9); cursor: pointer; transition: color 0.15s; white-space: nowrap; } .scouting-clear-history-btn:hover { color: var(--gray-12); } .scouting-results-header { max-width: 800px; margin: 0 auto 24px; } .scouting-results-query { font-size: 20px; font-weight: 600; color: var(--gray-12); line-height: 1.5; margin-bottom: 12px; } .scouting-results-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-9); margin-bottom: 16px; } .scouting-results-date { font-size: 13px; color: var(--gray-8); } .scouting-results-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; } .scouting-action-btn, .scouting-bulk-add-btn { background: var(--gray-a3); border: none; } .scouting-new-search { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--gray-5); border-radius: var(--radius-2); background: #fff; font-size: 13px; color: var(--gray-11); cursor: pointer; transition: border-color 0.15s, background 0.15s; } .scouting-new-search:hover { border-color: var(--gray-8); background: var(--gray-a3); } .scouting-results-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; } /* Relevance badge on card */ .scouting-result-card { position: relative; } .scouting-result-card .startup-desc { -webkit-line-clamp: 2; } .scouting-result-card .startup-tags { flex-wrap: nowrap; overflow: hidden; } .scouting-result-card .startup-logo { width: 48px; height: 48px; font-size: 13px; } .scouting-result-card .startup-name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .scouting-result-card .startup-desc { font-size: 13px; margin-bottom: 8px; } .scouting-relevance-badge { margin-left: auto; flex-shrink: 0; align-self: flex-start; font-weight: 600; } .scouting-result-card .startup-card-bookmark { flex-shrink: 0; align-self: flex-start; } /* ── Bulk Add to List ── */ .scouting-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-2); font-size: 13px; font-weight: 500; color: var(--gray-11); cursor: pointer; transition: background 0.15s; font-family: var(--default-font-family); } .scouting-bulk-add-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-2); font-size: 13px; font-weight: 500; color: var(--gray-11); cursor: pointer; transition: background 0.15s; } .scouting-action-btn:hover, .scouting-bulk-add-btn:hover { background: var(--gray-a4); color: var(--gray-12); } /* ── Bulk Add Modal ── */ .bulk-add-list-items { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; } .bulk-add-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-2); cursor: pointer; transition: background 0.1s; } .bulk-add-list-item:hover { background: var(--gray-a3); } .bulk-add-create-btn { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: none; background: none; border-radius: var(--radius-2); font-size: 13px; color: var(--accent-9); cursor: pointer; width: 100%; transition: background 0.1s; } .bulk-add-create-btn:hover { background: var(--gray-a3); } /* Spinner */ .bulk-add-spinner { width: 40px; height: 40px; border: 3px solid var(--gray-4); border-top-color: var(--accent-9); border-radius: 50%; animation: bulk-add-spin 0.8s linear infinite; } @keyframes bulk-add-spin { to { transform: rotate(360deg); } } /* Success checkmark */ .bulk-add-success-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green-3); color: var(--green-11); display: flex; align-items: center; justify-content: center; animation: bulk-add-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); } @keyframes bulk-add-pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } /* ── Scouting Master-Detail ── */ .scouting-master-detail { height: 100%; } .scouting-master-detail .master-panel { padding: 32px; } .scouting-master-detail .scouting-results-header { max-width: 1080px; margin-left: auto; margin-right: auto; } .scouting-master-detail .scouting-results-list { max-width: 1080px; margin-left: auto; margin-right: auto; } .scouting-master-detail.detail-open .master-panel { padding: 20px 0; } .scouting-master-detail.detail-open .scouting-result-card { padding: 12px 16px; gap: 12px; border-radius: 0; } .scouting-master-detail.detail-open .scouting-results-header { max-width: none; padding: 0 16px; } .scouting-master-detail.detail-open .scouting-results-list { max-width: none; } .scouting-master-detail.detail-open .scouting-results-query { font-size: 15px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .scouting-master-detail.detail-open .scouting-results-meta { margin-bottom: 12px; } .scouting-master-detail.detail-open .scouting-results-actions { display: none; } .scouting-master-detail.detail-open .scouting-result-card .startup-logo { width: 40px; height: 40px; font-size: 12px; } .scouting-master-detail.detail-open .scouting-result-card .startup-name { font-size: 14px; margin-bottom: 4px; } .scouting-master-detail.detail-open .startup-tags .rt-Badge { font-size: 11px; } .scouting-master-detail.detail-open .startup-card-bookmark { flex-shrink: 0; } /* ── Register Startup Page ── */ .register-page { max-width: 640px; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-direction: column; gap: 24px; } /* Allow main-content to scroll when register page is active */ .main-content:has(.register-page), .main-content:has(.register-preview-page) { overflow-y: auto; } /* Preview page — matches StartupDetail layout */ .register-preview-page { height: 100%; } .register-preview-scroll { max-width: 720px; margin: 0 auto; padding: 24px 24px 0; } .register-section { background: var(--color-panel-solid); border: 1px solid var(--gray-4); border-radius: var(--radius-3); padding: 20px; margin-bottom: 16px; } .register-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gray-4); border-radius: var(--radius-2); overflow: hidden; } .register-table th, .register-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--gray-4); } .register-table thead { background: var(--gray-2); } .register-pilot-card { background: var(--gray-2); border: 1px solid var(--gray-4); border-radius: var(--radius-2); padding: 12px 16px; } /* Confirm delete modal */ .confirm-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; z-index: 1000; } .confirm-dialog { background: var(--color-background); border-radius: var(--radius-3); padding: 24px; max-width: 420px; width: 90%; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15); } .register-back-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; color: var(--gray-11); font-size: 14px; padding: 0; align-self: flex-start; } .register-back-btn:hover { color: var(--gray-12); } .register-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; } .register-upload-zone { border: 2px dashed var(--gray-6); border-radius: var(--radius-3); padding: 48px 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; max-width: 560px; width: 100%; margin: 0 auto; } .register-upload-zone:hover { border-color: var(--gray-8); background: var(--gray-a3); } .register-editable-field { position: relative; padding: 6px 8px; border-radius: var(--radius-2); transition: background 0.15s; } .register-editable-field:hover { background: var(--gray-a3); } .register-editable-field.flagged { background: var(--red-2); border-left: 3px solid var(--red-8); } .register-edit-btn, .register-flag-btn { background: none; border: none; cursor: pointer; color: var(--gray-8); padding: 2px; border-radius: var(--radius-1); opacity: 0; transition: opacity 0.15s, color 0.15s; font-size: 12px; line-height: 1; } .register-editable-field:hover .register-edit-btn, .register-editable-field:hover .register-flag-btn { opacity: 1; } .register-edit-btn:hover { color: var(--gray-12); } .register-flag-btn:hover { color: var(--red-9); } .register-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #21a038; color: white; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 8px; } /* Moderation steps */ .register-moderation-steps { max-width: 520px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .register-mod-step { display: flex; align-items: center; gap: 14px; opacity: 0.45; } .register-mod-step.active { opacity: 1; } .register-mod-step-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; } .register-mod-step-icon.done { background: #21a038; color: white; } .register-mod-step-icon.pending { background: var(--amber-3); color: var(--amber-11); border: 2px solid var(--amber-6); animation: modPulse 2s ease infinite; } @keyframes modPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.3); } 50% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0); } } .register-mod-step-icon.future { background: var(--gray-3); color: var(--gray-8); border: 2px solid var(--gray-5); } .register-mod-step-text { display: flex; flex-direction: column; gap: 1px; } .register-mod-step-line { width: 2px; height: 24px; background: var(--gray-5); margin-left: 15px; } /* Quiz-style clarification */ .quiz-progress { max-width: 560px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; } .quiz-progress-bar { width: 100%; height: 4px; background: var(--gray-4); border-radius: 2px; overflow: hidden; } .quiz-progress-fill { height: 100%; background: #21a038; border-radius: 2px; transition: width 0.4s ease; } .quiz-container { max-width: 560px; margin: 0 auto; width: 100%; animation: quizSlideIn 0.35s ease; } @keyframes quizSlideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } } .quiz-question { margin-bottom: 24px; } .quiz-options { display: flex; flex-direction: column; gap: 10px; } .quiz-option { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid var(--gray-5); border-radius: var(--radius-3); background: var(--color-panel-solid); cursor: pointer; text-align: left; transition: all 0.15s ease; width: 100%; } .quiz-option:hover { border-color: var(--gray-8); background: var(--gray-a3); } .quiz-option.selected { border-color: #21a038; background: var(--green-2); } .quiz-option-radio { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; border: 2px solid var(--gray-7); display: flex; align-items: center; justify-content: center; transition: border-color 0.15s ease; } .quiz-option.selected .quiz-option-radio { border-color: #21a038; } .quiz-option-radio-dot { width: 10px; height: 10px; border-radius: 50%; background: #21a038; animation: quizDotPop 0.2s ease; } @keyframes quizDotPop { from { transform: scale(0); } to { transform: scale(1); } } .quiz-option-text { display: flex; flex-direction: column; gap: 2px; } /* ── Navigation Hub ── */ .nav-hub { min-height: 100vh; background: var(--gray-2); padding: 32px 40px 80px; display: flex; flex-direction: column; align-items: stretch; gap: 20px; max-width: 1040px; margin: 0 auto; } .nav-hub-header { display: flex; align-items: center; } .nav-hub-title { letter-spacing: -0.01em; } /* ── Sitemap ── */ .nav-hub-sitemap { width: 100%; } .sitemap-list { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; } .sitemap-root { gap: 24px; } .sitemap-nested { margin-top: 8px; padding-left: 20px; } .sitemap-nested > .sitemap-item { list-style: circle; } .sitemap-section-title { display: inline-flex; align-items: center; gap: 8px; } .sitemap-link { background: none; border: none; padding: 0; font: inherit; font-size: 14px; color: var(--accent-9); cursor: pointer; text-align: left; text-decoration: none; } .sitemap-link:hover { text-decoration: underline; } .sitemap-item .rt-Badge { margin-left: 8px; vertical-align: middle; } /* ── Role chips row (rendered inside the "Авторизованная зона" heading) ── */ .nav-hub-role-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .nav-hub-role-chip { display: inline-flex; align-items: center; padding: 6px 14px; background: #fff; border: 1px solid var(--gray-a4); border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; color: var(--gray-12); transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; line-height: 1.4; } .nav-hub-role-chip:hover { background: var(--gray-a2); border-color: var(--gray-a6); } .nav-hub-role-chip.active { background: var(--accent-3); border-color: var(--accent-8); box-shadow: 0 0 0 1px var(--accent-8) inset; } /* ── Filter row (chips + search) ── */ .nav-hub-filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .nav-hub-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; } .nav-hub-filter-chip { appearance: none; border: 1px solid var(--gray-a4); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--gray-12); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; } .nav-hub-filter-chip:hover { background: var(--gray-a2); border-color: var(--gray-a6); } .nav-hub-filter-chip.active { background: var(--gray-12); border-color: var(--gray-12); color: var(--gray-1); } .nav-hub-search { width: 240px; flex: 0 0 auto; } @media (max-width: 720px) { .nav-hub-search { width: 100%; } } /* ── Docs Page ── */ .docs-page { min-height: 100vh; background: var(--gray-2); padding: 40px; max-width: 960px; margin: 0 auto; } .docs-page-header { margin-bottom: 32px; } .docs-back-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 13px; color: var(--gray-11); background: none; border: none; cursor: pointer; padding: 4px 0; margin-bottom: 12px; } .docs-back-btn:hover { color: var(--gray-12); } .docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; } .docs-widget-card { background: #fff; border: 1px solid var(--gray-a4); border-radius: 10px; overflow: hidden; } .docs-widget-card-clickable { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; } .docs-widget-card-clickable:hover { border-color: var(--accent-7); box-shadow: 0 0 0 1px var(--accent-7); } .docs-widget-preview { height: 120px; background: var(--gray-a3); border-bottom: 1px solid var(--gray-a4); } .docs-widget-info { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; } .docs-widget-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .docs-code-block { background: var(--gray-a3); border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 1.5; overflow-x: auto; white-space: pre; font-family: "SF Mono", "Fira Code", monospace; color: var(--gray-12); } /* ── GuidelinesPage ── */ .guidelines-page { min-height: 100vh; background: var(--gray-2); padding: 40px; max-width: 960px; margin: 0 auto; } .guidelines-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; } .guidelines-toc-item { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gray-a4); background: #fff; cursor: pointer; color: var(--gray-12); transition: background 0.15s; } .guidelines-toc-item:hover { background: var(--gray-a3); } .guidelines-section { margin-bottom: 48px; } .guidelines-card { background: #fff; border: 1px solid var(--gray-a4); border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; } .guidelines-rules { background: var(--gray-a2); border: 1px solid var(--gray-a4); border-radius: 10px; padding: 16px 24px; margin-top: 12px; } .guidelines-rules ul { margin: 4px 0 0; padding-left: 18px; } .guidelines-rules li { margin-bottom: 4px; } .guidelines-type-samples { display: flex; flex-direction: column; gap: 16px; } .guidelines-type-sample { display: flex; flex-direction: column; gap: 2px; } .guidelines-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; } .guidelines-icon-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 8px; border: 1px solid var(--gray-a3); background: var(--gray-a2); text-align: center; word-break: break-all; } .guidelines-code-block { background: var(--gray-a2); border-radius: 8px; padding: 16px; overflow-x: auto; white-space: pre; line-height: 1.6; } .guidelines-color-row { display: flex; align-items: center; gap: 16px; padding: 8px 0; } .guidelines-color-row + .guidelines-color-row { border-top: 1px solid var(--gray-a3); } .guidelines-color-swatch { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; } .guidelines-hover-demo { display: flex; gap: 12px; margin-top: 8px; } .guidelines-hover-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border-radius: 10px; border: 1px solid var(--gray-a3); } .guidelines-demo-box { background: var(--gray-a2); border-radius: 8px; padding: 20px 24px; } .guidelines-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } .guidelines-layout-diagram { display: flex; gap: 8px; margin-top: 8px; } .guidelines-layout-block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px 16px; border-radius: 8px; border: 2px dashed var(--gray-a5); background: var(--gray-a2); text-align: center; } /* ── IconsPage ── */ .icons-page { min-height: 100vh; background: var(--gray-2); padding: 40px; max-width: 1080px; margin: 0 auto; } .icons-search-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; } .icons-search-input { flex: 1; max-width: 400px; } .icons-search-clear { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--gray-9); padding: 2px; } .icons-search-clear:hover { color: var(--gray-12); } .icons-usage-hint { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: var(--gray-a2); border: 1px solid var(--gray-a4); border-radius: 10px; margin-bottom: 32px; } .icons-category { margin-bottom: 32px; } .icons-category-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .icons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; } .icons-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 10px; border-radius: 10px; border: 1px solid var(--gray-a3); background: #fff; cursor: pointer; transition: all 0.15s; font: inherit; color: var(--gray-12); } .icons-cell:hover { background: var(--gray-a3); border-color: var(--gray-a5); } .icons-cell.copied { border-color: var(--green-8); background: var(--green-2); } .icons-cell-name { word-break: break-all; text-align: center; line-height: 1.2; } .icons-copied-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--green-3); color: var(--green-11); } .icons-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 80px 20px; opacity: 0.6; } /* ── Sandbox Layout (docs/company-detail) ── */ .sandbox-layout { display: flex; height: 100vh; background: var(--gray-3); } .sandbox-sidebar { width: 260px; min-width: 260px; background: #fff; border-right: 1px solid var(--gray-4); padding: 20px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; } .sandbox-section { display: flex; flex-direction: column; gap: 12px; } .sandbox-radio-group { display: flex; flex-direction: column; gap: 2px; } .sandbox-radio-label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-2); cursor: pointer; font-size: 14px; color: var(--gray-12); transition: background 0.15s; } .sandbox-radio-label:hover { background: var(--gray-3); } .sandbox-radio-label input[type="radio"] { accent-color: var(--accent-9); } .sandbox-content { flex: 1; min-width: 0; display: flex; /* НЕ ставим здесь overflow:auto — иначе ломается sticky-контекст внутри .detail-panel: вложенный детальный лейаут сам отвечает за свой скролл. */ } .sandbox-content .detail-panel.standalone { flex: 1; height: 100%; min-height: 100%; } .sandbox-content .master-detail { flex: 1; height: 100%; } .sandbox-master-placeholder { padding: 24px; text-align: center; margin-top: 40vh; } /* ── Buttons Page ── */ .btn-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--gray-a4); background: #fff; border-radius: 10px 10px 0 0; border: 1px solid var(--gray-a4); border-bottom: none; overflow: hidden; } .btn-tab { padding: 10px 20px; font: inherit; font-size: 13px; font-weight: 500; color: var(--gray-11); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; } .btn-tab:hover { color: var(--gray-12); background: var(--gray-a2); } .btn-tab.active { color: var(--gray-12); border-bottom-color: var(--gray-12); } .buttons-states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--gray-a2); border: 1px solid var(--gray-a4); border-radius: 10px; padding: 24px 16px; } .btn-accordion-group { display: flex; flex-direction: column; border: 1px solid var(--gray-a4); border-radius: 10px; overflow: hidden; background: #fff; } .btn-accordion + .btn-accordion { border-top: 1px solid var(--gray-a4); } .btn-accordion-trigger { width: 100%; padding: 14px 20px; background: none; border: none; cursor: pointer; text-align: left; font: inherit; transition: background 0.15s; } .btn-accordion-trigger:hover { background: var(--gray-a2); } .btn-accordion-chevron { transition: transform 0.2s; flex-shrink: 0; color: var(--gray-9); } .btn-accordion-chevron.open { transform: rotate(180deg); } .btn-accordion-content { padding: 0 20px 20px; } /* ── Auth Pages ── */ .auth-split { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: stretch; } .auth-card { width: 440px; min-width: 440px; margin: 28px 0 28px 28px; background: var(--gray-2); border-radius: 24px; display: flex; flex-direction: column; position: relative; z-index: 1; } .auth-card-inner { padding: 36px 40px; flex: 1; display: flex; flex-direction: column; } .auth-hero { position: fixed; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; } .auth-logo { height: 24px; } .auth-logo-clickable { cursor: pointer; transition: opacity 0.15s; } .auth-logo-clickable:hover { opacity: 0.7; } .auth-lang-pill { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: var(--gray-11); border: 1px solid var(--gray-a5); border-radius: 999px; padding: 4px 14px; background: white; cursor: default; user-select: none; } .auth-field { display: flex; flex-direction: column; gap: 4px; } /* ── Form size contract ── Match Radix Themes scaling="110%" rendered heights: size-1 = 28px · size-2 = 36px (default) · size-3 = 44px Pair with Button size="1|2|3" and Radix TextField/Select size="1|2|3" to get a form where every row has the same height. See /docs/textfields. */ .auth-input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--gray-a5); border-radius: var(--radius-3); background: white; font-size: 14px; font-family: var(--default-font-family); color: var(--gray-12); outline: none; transition: border-color 0.15s; box-sizing: border-box; } .auth-input-size-1 { height: 28px; padding: 0 8px; border-radius: var(--radius-2); font-size: 12px; } .auth-input-size-3 { height: 44px; padding: 0 16px; border-radius: var(--radius-4); font-size: 16px; } .auth-input::placeholder { color: var(--gray-a8); } .auth-input:focus { border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .auth-input-error { border-color: var(--red-9); } .auth-input-error:focus { border-color: var(--red-9); box-shadow: inset 0 0 0 1px var(--red-9); } .auth-input-wrapper { position: relative; display: flex; align-items: center; } .auth-input-with-icon { padding-right: 36px; } .auth-input-size-1.auth-input-with-icon { padding-right: 28px; } .auth-input-size-3.auth-input-with-icon { padding-right: 44px; } .auth-eye-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-9); display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 4px; } .auth-eye-btn:hover { color: var(--gray-11); } .auth-bottom-link { margin-top: auto; padding-top: 40px; } .auth-footer-link { margin-top: auto; padding-top: 32px; align-self: flex-start; } /* Role select cards */ .auth-role-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--gray-a4); border-radius: 12px; background: white; cursor: pointer; transition: background 0.15s, border-color 0.15s; text-align: left; font-family: inherit; } .auth-role-card:hover { background: var(--gray-a2); border-color: var(--gray-a6); } .auth-role-card:active { background: var(--gray-a3); } /* Grouped role cards — visually merged into a single block */ .auth-role-card-group { display: flex; flex-direction: column; } .auth-role-card-group .auth-role-card { border-radius: 0; } .auth-role-card-group .auth-role-card:not(:first-child) { border-top: none; } .auth-role-card-group .auth-role-card:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; } .auth-role-card-group .auth-role-card:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .auth-role-card-group .auth-role-card:hover { position: relative; z-index: 1; } /* "или" separator between the primary auth form and Sber ID button */ .auth-separator { display: flex; align-items: center; gap: 12px; margin: 4px 0; color: var(--gray-9); font-size: 12px; text-transform: lowercase; } .auth-separator::before, .auth-separator::after { content: ""; flex: 1; height: 1px; background: var(--gray-5); } /* Toast notification */ .auth-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--gray-12); color: white; padding: 12px 24px; border-radius: 10px; font-size: 14px; font-family: var(--default-font-family); opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 9999; pointer-events: none; } .auth-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); } /* Password tooltip */ .auth-password-tooltip { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--gray-12); color: white; padding: 14px 18px; border-radius: 10px; font-size: 13px; line-height: 1.6; white-space: nowrap; z-index: 10; min-width: 280px; } .auth-password-tooltip::before { content: ""; position: absolute; left: -6px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 6px solid var(--gray-12); } .auth-password-rule { color: var(--gray-6); } .auth-password-rule-pass { color: var(--green-11); } /* Auth responsive */ @media (max-width: 900px) { .auth-card { width: 100%; min-width: unset; margin: 0; border-radius: 0; min-height: 100vh; } .auth-hero { display: none; } .auth-password-tooltip { left: 0; top: calc(100% + 8px); transform: none; } .auth-password-tooltip::before { display: none; } } /* ── Startup Primary Form ── */ .startup-form-page { min-height: 100vh; background: var(--gray-2); display: flex; flex-direction: column; align-items: center; padding: 0 20px 40px; } .startup-form-topbar { width: 100%; display: flex; justify-content: center; padding: 28px 0 8px; } .startup-form-logo { height: 24px; cursor: pointer; transition: opacity 0.15s; } .startup-form-logo:hover { opacity: 0.7; } .startup-form-container { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 24px; } .startup-form-header { text-align: center; padding: 16px 0 8px; } .startup-form-required { color: var(--red-9); margin-left: 2px; } .startup-form-card { background: white; border-radius: 20px; padding: 32px 36px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; gap: 32px; } .startup-form-section { display: flex; flex-direction: column; } .startup-form-section + .startup-form-section { padding-top: 8px; border-top: 1px solid var(--gray-a3); margin-top: 0; padding-top: 28px; } .startup-form-field { display: flex; flex-direction: column; gap: 6px; } /* ── Summit Pre-registration Prototype ── */ /* Skeletons (shared) */ .skeleton-line { display: block; background: var(--gray-a3); border-radius: 6px; position: relative; overflow: hidden; } .skeleton-line::after, .skeleton-avatar::after, .skeleton-partner::after { content: ""; position: absolute; inset: 0; background: linear-gradient( 90deg, transparent, var(--gray-a2) 50%, transparent ); animation: skeleton-pulse 1.6s ease-in-out infinite; } @keyframes skeleton-pulse { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .skeleton-avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--gray-a3); margin: 0 auto; position: relative; overflow: hidden; } .skeleton-partner { width: 100px; height: 36px; background: var(--gray-a3); border-radius: 8px; position: relative; overflow: hidden; } /* Prototype ribbon at top of every summit screen */ .summit-proto-ribbon { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--orange-2); border-bottom: 1px solid var(--orange-a4); font-family: var(--default-font-family); } .summit-proto-ribbon > :last-child { margin-left: auto; } /* ── [0] Prototype home — scenario picker ── */ .summit-proto-home { min-height: 100vh; background: var(--gray-2); display: flex; align-items: center; justify-content: center; padding: 40px 20px; } .summit-proto-card { width: 100%; max-width: 520px; background: white; border-radius: 20px; padding: 40px 36px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); } .summit-proto-scenario-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; background: var(--gray-2); border: 1px solid var(--gray-a4); border-radius: 14px; text-align: left; cursor: pointer; font-family: var(--default-font-family); color: var(--gray-12); transition: background 0.15s, border-color 0.15s, transform 0.15s; } .summit-proto-scenario-card:hover { background: white; border-color: var(--gray-a7); } .summit-proto-scenario-card:active { transform: scale(0.995); } /* ── [1] Landing ── */ .summit-landing { min-height: 100vh; background: white; font-family: var(--default-font-family); } .summit-landing-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 48px; border-bottom: 1px solid var(--gray-a3); } .summit-landing-hero { padding: 72px 24px 56px; max-width: 960px; margin: 0 auto; text-align: center; } .summit-landing-hero-title { font-family: var(--heading-font-family); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -0.02em; color: var(--gray-5); margin: 0; } .summit-landing-section { padding: 48px 24px; max-width: 1080px; margin: 0 auto; } .summit-landing-program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .summit-landing-program-card { padding: 24px; background: var(--gray-2); border-radius: 16px; min-height: 160px; } .summit-landing-speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .summit-landing-speaker-card { padding: 24px 16px; background: var(--gray-2); border-radius: 16px; text-align: center; } .summit-landing-partners-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; } .summit-landing-footer { padding: 48px 24px; border-top: 1px solid var(--gray-a3); text-align: center; } /* Pre-registration spotlight block */ .summit-prereg-wrap { padding: 40px 24px 72px; max-width: 1080px; margin: 0 auto; } .summit-prereg-card { background: linear-gradient( 135deg, var(--accent-a2) 0%, var(--accent-a3) 100% ); border: 1px solid var(--accent-a5); border-radius: 24px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; } .summit-prereg-card::before { content: ""; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; background: radial-gradient( circle, var(--accent-a3) 0%, transparent 70% ); pointer-events: none; } .summit-prereg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; max-width: 780px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; } .summit-prereg-feature { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: white; border-radius: 14px; text-align: left; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); } .summit-prereg-feature-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-a3); color: var(--accent-11); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } /* ── [3A, 4, 5] Form pages shared wrapper ── */ .summit-form-page { min-height: 100vh; background: var(--gray-2); font-family: var(--default-font-family); } .summit-form-container { max-width: 600px; margin: 0 auto; padding: 40px 20px 60px; } .summit-form-header { text-align: center; margin-bottom: 32px; } .summit-form-card { background: white; border-radius: 20px; padding: 36px 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); } /* Stepper */ .summit-stepper { display: flex; align-items: center; justify-content: center; gap: 12px; } .summit-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--gray-a3); } .summit-step.active { background: var(--accent-a3); color: var(--accent-11); } .summit-step.done { background: var(--gray-a3); } .summit-step-index { width: 20px; height: 20px; border-radius: 50%; background: white; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--gray-12); } .summit-step.active .summit-step-index { background: var(--accent-9); color: white; } .summit-step-divider { width: 24px; height: 1px; background: var(--gray-a5); } /* Form primitives */ .summit-field { display: flex; flex-direction: column; gap: 6px; } .startup-form-label { display: inline-flex; align-items: center; gap: 4px; color: var(--gray-12); } .startup-form-hint { display: inline-flex; align-items: center; color: var(--gray-9); cursor: help; } .startup-form-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--gray-a5); border-radius: 10px; background: white; font-size: 15px; font-family: var(--default-font-family); color: var(--gray-12); outline: none; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; } .startup-form-input::placeholder { color: var(--gray-a8); } .startup-form-input:focus { border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .summit-required { color: var(--red-9); } .summit-input, .summit-native-select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--gray-a5); border-radius: 10px; background: white; font-size: 15px; font-family: var(--default-font-family); color: var(--gray-12); outline: none; box-sizing: border-box; transition: border-color 0.15s, box-shadow 0.15s; } .summit-input::placeholder { color: var(--gray-a8); } .summit-input:focus, .summit-native-select:focus { border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .startup-form-input-error { border-color: var(--red-9) !important; } .startup-form-input-error:focus { box-shadow: inset 0 0 0 1px var(--red-9); } .startup-form-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-a5); border-radius: 10px; background: white; font-size: 15px; font-family: var(--default-font-family); color: var(--gray-12); outline: none; transition: border-color 0.15s, box-shadow 0.15s; resize: vertical; box-sizing: border-box; min-height: 92px; } .startup-form-textarea::placeholder { color: var(--gray-a8); } .startup-form-textarea:focus { border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .summit-input-error { border-color: var(--red-9) !important; } .summit-native-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z' fill='%23687076'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } .summit-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-a5); border-radius: 10px; background: white; font-size: 15px; font-family: var(--default-font-family); color: var(--gray-12); outline: none; resize: vertical; box-sizing: border-box; min-height: 96px; transition: border-color 0.15s, box-shadow 0.15s; } .summit-textarea::placeholder { color: var(--gray-a8); } .summit-textarea:focus { border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .startup-form-radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; } .startup-form-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--gray-12); user-select: none; } .startup-form-radio input { display: none; } .startup-form-radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gray-a7); background: white; flex-shrink: 0; position: relative; transition: border-color 0.15s; } .startup-form-radio input:checked + .startup-form-radio-dot { border-color: var(--accent-9); } .startup-form-radio input:checked + .startup-form-radio-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent-9); } .startup-form-native-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z' fill='%23687076'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } /* MultiSelect / CountrySelect */ .startup-form-multiselect { position: relative; } .startup-form-select-trigger { width: 100%; min-height: 44px; padding: 6px 40px 6px 14px; border: 1px solid var(--gray-a5); border-radius: 10px; background: white; font-size: 15px; font-family: var(--default-font-family); color: var(--gray-12); cursor: pointer; text-align: left; position: relative; display: flex; align-items: center; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; } .startup-form-select-trigger:hover { border-color: var(--gray-a7); } .startup-form-select-trigger:focus { outline: none; border-color: var(--accent-8); box-shadow: inset 0 0 0 1px var(--accent-8); } .startup-form-select-placeholder { color: var(--gray-a8); } .startup-form-select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-9); pointer-events: none; } .startup-form-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; } .startup-form-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--accent-a3); color: var(--accent-11); border-radius: 999px; font-size: 13px; cursor: pointer; transition: background 0.15s; } .startup-form-chip:hover { background: var(--accent-a4); } .startup-form-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: white; border: 1px solid var(--gray-a5); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); z-index: 100; max-height: 320px; display: flex; flex-direction: column; overflow: hidden; } .startup-form-dropdown-hint { padding: 10px 14px; font-size: 12px; color: var(--gray-11); border-bottom: 1px solid var(--gray-a3); } .startup-form-dropdown-search { width: 100%; padding: 10px 14px; border: none; border-bottom: 1px solid var(--gray-a3); outline: none; font-size: 14px; font-family: var(--default-font-family); box-sizing: border-box; } .startup-form-dropdown-list { flex: 1; overflow-y: auto; padding: 4px; } .startup-form-dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: none; background: none; font-size: 14px; font-family: var(--default-font-family); color: var(--gray-12); text-align: left; cursor: pointer; border-radius: 6px; transition: background 0.15s; } .startup-form-dropdown-item:hover:not(.disabled) { background: var(--gray-a3); } .startup-form-dropdown-item.selected { background: var(--accent-a2); color: var(--accent-11); } .startup-form-dropdown-item.disabled { opacity: 0.4; cursor: not-allowed; } .startup-form-dropdown-check { width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--gray-a6); border-radius: 4px; flex-shrink: 0; background: white; } .startup-form-dropdown-item.selected .startup-form-dropdown-check { background: var(--accent-9); border-color: var(--accent-9); color: white; } /* Chips (role selector) */ .summit-chip-group { display: flex; flex-wrap: wrap; gap: 8px; } .summit-chip { padding: 8px 16px; border: 1px solid var(--gray-a5); border-radius: 999px; background: white; font-size: 14px; font-family: var(--default-font-family); color: var(--gray-12); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; } .summit-chip:hover { background: var(--gray-a2); } .summit-chip.selected { background: var(--accent-9); border-color: var(--accent-9); color: white; } .startup-form-dropdown-empty { padding: 20px; text-align: center; color: var(--gray-10); font-size: 14px; } /* File upload */ .startup-form-file { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px; border: 1.5px dashed var(--accent-a7); border-radius: 12px; background: var(--accent-a2); cursor: pointer; transition: background 0.15s, border-color 0.15s; box-sizing: border-box; } .startup-form-file:hover { background: var(--accent-a3); border-color: var(--accent-9); } .startup-form-file-label { color: var(--accent-11); font-size: 14px; font-weight: 500; text-align: center; } /* Toggle */ .startup-form-toggle-row { display: inline-flex; align-items: center; gap: 12px; background: none; border: none; padding: 6px 0; cursor: pointer; font-family: var(--default-font-family); } .startup-form-toggle-row--disabled { cursor: default; opacity: 0.6; } .startup-form-toggle { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--gray-a5); flex-shrink: 0; transition: background 0.2s; display: inline-block; } .startup-form-toggle.on { background: var(--accent-9); } .startup-form-toggle-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: white; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); } .startup-form-toggle.on .startup-form-toggle-knob { transform: translateX(16px); } .startup-form-toggle-label { font-size: 14px; color: var(--gray-12); } /* Revenue row */ .startup-form-revenue-row { display: grid; grid-template-columns: 110px 90px 1fr auto; gap: 12px; align-items: end; } .startup-form-revenue-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .startup-form-revenue-field .startup-form-input { padding: 0 10px; } .startup-form-revenue-amount { min-width: 0; } .startup-form-revenue-delete { width: 44px; height: 44px; border: none; background: none; color: var(--gray-10); cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; } .startup-form-revenue-delete:hover { background: var(--red-a3); color: var(--red-11); } .startup-form-irbis-revenue-row { display: flex; gap: 16px; font-size: 14px; color: var(--gray-12); padding: 4px 0; } /* Actions */ .startup-form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; } .startup-form-footer { text-align: center; padding: 24px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; } .startup-form-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: var(--gray-12); color: white; padding: 12px 24px; border-radius: 10px; font-size: 14px; z-index: 9999; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); } @media (max-width: 640px) { .startup-form-card { padding: 24px 20px; border-radius: 16px; } .startup-form-radio-grid { grid-template-columns: 1fr; } .startup-form-revenue-row { grid-template-columns: 1fr 1fr; gap: 10px; } .startup-form-revenue-amount { grid-column: 1 / -1; } .startup-form-revenue-delete { grid-column: 1 / -1; width: auto; justify-self: end; } } /* ── Irbis EGRUL auto-fill ── */ .startup-form-inn-wrapper { position: relative; display: flex; align-items: center; } .startup-form-inn-wrapper .startup-form-input { flex: 1; } .startup-form-inn-spinner { position: absolute; right: 12px; width: 18px; height: 18px; border: 2px solid var(--gray-4); border-top-color: var(--blue-9); border-radius: 50%; animation: scouting-spin 0.8s linear infinite; } .startup-form-irbis-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-top: 4px; } /* Подсказка/лоадер поиска ЕГРЮЛ под полем ИНН */ .startup-form-irbis-hint { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 14px; border: 1px solid rgba(230, 237, 243, 0.8); border-radius: 10px; background: rgba(230, 237, 243, 0.6); font-size: 13px; line-height: 1.4; color: #788996; } .startup-form-irbis-hint > svg { flex-shrink: 0; } .startup-form-hint-spinner { flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--gray-4); border-top-color: var(--blue-9); border-radius: 50%; animation: scouting-spin 0.8s linear infinite; } .startup-form-irbis-neutral { color: var(--gray-9); } /* ── EGRUL data block ── */ .egrul-block { border: 1px solid rgba(230, 237, 243, 0.8); border-radius: 10px; padding: 16px; background: rgba(230, 237, 243, 0.6); } .egrul-block-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; color: #788996; margin-bottom: 12px; } .egrul-block-header-main { display: inline-flex; align-items: center; gap: 6px; } .egrul-block-header-date { color: #9aa7b1; font-weight: 400; } .egrul-refresh-spinner { flex-shrink: 0; width: 14px; height: 14px; border: 2px solid var(--gray-4); border-top-color: var(--blue-9); border-radius: 50%; animation: scouting-spin 0.8s linear infinite; } .egrul-visibility-toggle { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(120, 137, 150, 0.2); width: 100%; } .egrul-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .egrul-cell { display: flex; flex-direction: column; gap: 2px; } .egrul-cell-wide { grid-column: 1 / -1; } .egrul-cell-label { font-size: 12px; color: #788996; font-weight: 500; } .egrul-cell-value { font-size: 14px; color: var(--gray-12); line-height: 1.4; } .egrul-cell-empty { color: var(--gray-9); font-style: italic; } .egrul-block-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.3; color: var(--gray-9); } .egrul-license-meta { color: var(--gray-9); font-size: 12px; } @media (max-width: 540px) { .egrul-block-grid { grid-template-columns: 1fr; } } /* ── DS Callout ── */ .ds-callout .ds-callout-title { display: block; font-weight: 600; line-height: 1.4; } .ds-callout .ds-callout-body { display: block; font-weight: 400; line-height: 1.5; margin-top: 2px; } /* ── DS: ЕГРЮЛ компоненты (EgrulBlock, EgrulBadge) ── */ .ds-egrul-block { border: 1px solid rgba(230, 237, 243, 0.8); border-radius: 10px; padding: 16px; background: rgba(230, 237, 243, 0.6); } .ds-egrul-block-header { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #788996; margin-bottom: 12px; } .ds-egrul-block--not-found { background: rgba(251, 238, 213, 0.5); border-color: rgba(237, 204, 139, 0.6); } .ds-egrul-block--not-found .ds-egrul-block-header { color: #9A6700; } .ds-egrul-block--not-found p { font-size: 13px; line-height: 1.5; color: var(--gray-11); margin: 0; } .ds-egrul-block--error { background: rgba(252, 226, 226, 0.5); border-color: rgba(236, 159, 159, 0.6); } .ds-egrul-block--error .ds-egrul-block-header { color: #B42318; } .ds-egrul-block--error p { font-size: 13px; line-height: 1.5; color: var(--gray-11); margin: 0; } .ds-empty-state { background: var(--gray-3); border-radius: var(--radius-4); padding: 24px; } .ds-empty-state--center { text-align: center; } .ds-empty-state--left { text-align: left; } /* ── DS Badge ── */ /* Размеры: normal → Body 2 (14 / 20), small → Caption (12 / 16). */ /* Скругление — radius="full" (pill) для всех бейджей; задаётся Radix. */ /* Все бейджи имеют прозрачный 1px бордер по умолчанию — это даёт единую */ /* высоту (22px для small, 30px для normal) и для бейджей с цветным бордером */ /* (`egrul`), и для всех остальных. */ .ds-badge { border: 1px solid transparent; box-sizing: border-box; } .ds-badge-normal { font-size: 14px !important; line-height: 20px !important; font-weight: 400 !important; padding: 4px 12px; } .ds-badge-small { font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; padding: 2px 8px; } /* Иконка внутри бейджа — 16×16, цвет наследует от текста (currentColor). */ /* margin-right у иконки = 0; визуальный отступ от текста создаётся за счёт */ /* асимметричного padding бейджа (padding-left вдвое меньше padding-right). */ .ds-badge .ds-badge-icon { vertical-align: middle; } .ds-badge-with-icon.ds-badge-normal { padding-left: 6px; } .ds-badge-with-icon.ds-badge-small { padding-left: 4px; } /* Icon-only: padding одинаковый слева и справа (равен padding-left обычного). */ .ds-badge-icon-only.ds-badge-normal { padding-left: 6px; padding-right: 6px; } .ds-badge-icon-only.ds-badge-small { padding-left: 4px; padding-right: 4px; } /* Специальный пресет для данных из ЕГРЮЛ/ФНС: приглушённый серо-голубой. */ /* Цвет фона/бордера/текста зафиксирован, форма — стандартная (pill). */ .ds-badge-egrul { color: #788996 !important; background: rgba(230, 237, 243, 0.6) !important; border: 1px solid rgba(230, 237, 243, 0.8) !important; } /* ── Presentation file card ── */ .presentation-file-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--gray-3); border-radius: var(--radius-3); } /* ── Detail page: 2-column cell row (50/50 split inside a section card) ── */ .detail-cell-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } @media (max-width: 720px) { .detail-cell-row { grid-template-columns: 1fr; gap: 12px; } } /* ── Detail page: revenue grid (year + amount, label header + value rows) ── */ .revenue-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: center; } /* ── Masked values for unverified users ── */ .masked-value { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-9); background: var(--gray-a3); padding: 4px 10px; border-radius: 6px; user-select: none; vertical-align: middle; } .masked-value-dots { letter-spacing: 1.5px; font-size: 13px; line-height: 1; } .masked-hint { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 12px; background: var(--gray-a2); border-radius: 8px; color: var(--gray-11); } .unverified-banner { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--gray-a3); border-radius: 999px; color: var(--gray-11); font-size: 13px; } .summit-chip.disabled, .summit-chip:disabled { opacity: 0.4; cursor: not-allowed; } .summit-chip.disabled:hover, .summit-chip:disabled:hover { background: white; border-color: var(--gray-a5); } /* Form sections (used inside summit-form-card) */ .summit-form-section-title { display: flex; align-items: center; gap: 12px; } .summit-form-section-line { flex: 1; height: 1px; background: var(--gray-a4); } /* Info block */ .summit-info-block { background: var(--gray-a2); border-radius: 12px; padding: 16px 18px; } /* Hint above existing auth forms when entering from summit flow */ .summit-auth-hint { display: inline-block; padding: 6px 12px; margin-bottom: 16px; background: var(--accent-a3); color: var(--accent-11); border-radius: 999px; font-size: 12px; } /* Welcome toast */ .summit-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: var(--gray-12); color: white; padding: 12px 22px; border-radius: 10px; font-size: 14px; font-family: var(--default-font-family); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); z-index: 9999; animation: summit-toast-in 0.25s ease-out; } @keyframes summit-toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } } /* ── [5] Confirmation ── */ .summit-confirm-card { background: white; border-radius: 20px; padding: 48px 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; align-items: center; } .summit-confirm-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-a3); color: var(--green-11); display: flex; align-items: center; justify-content: center; } .summit-confirm-explore { width: 100%; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--gray-a3); text-align: center; } .summit-confirm-explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .summit-explore-card { padding: 18px; background: var(--gray-2); border-radius: 14px; text-align: left; display: flex; flex-direction: column; gap: 4px; } .summit-explore-icon { width: 36px; height: 36px; border-radius: 10px; background: white; color: var(--accent-11); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; } /* ── [6] Email preview ── */ /* Page wrapper used by email-preview routes (Summit, invites, etc.) */ .email-preview-page { min-height: 100vh; background: var(--gray-3); font-family: var(--default-font-family); } .email-preview-wrap { max-width: 680px; margin: 0 auto; padding: 40px 20px 60px; } /* EmailPreview component (design-system) */ .email-preview-client { background: white; border-radius: 12px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); overflow: hidden; } .email-preview-headers { padding: 20px 28px; border-bottom: 1px solid var(--gray-a3); background: var(--gray-2); } .email-preview-header-row { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; } .email-preview-header-label { color: var(--gray-11); min-width: 56px; flex-shrink: 0; } .email-preview-header-value { color: var(--gray-12); } .email-preview-subject { font-weight: 600; } .email-preview-body { padding: 32px 28px; color: var(--gray-12); font-size: 15px; line-height: 1.6; } .email-preview-body p { margin: 0 0 16px; } .email-preview-body p:last-child { margin-bottom: 0; } .email-preview-body a { color: #1a73e8; text-decoration: underline; } .email-preview-body a:hover { color: #1558b0; } .email-preview-body strong { font-weight: 600; } .email-preview-cta { margin-top: 24px; } .email-preview-cta-btn { padding: 10px 18px; background: var(--accent-9); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; font-family: var(--default-font-family); cursor: pointer; } .email-preview-cta-btn:hover { background: var(--accent-10); } /* Summit responsive */ @media (max-width: 900px) { .summit-landing-program-grid { grid-template-columns: 1fr; } .summit-landing-speakers-grid { grid-template-columns: repeat(2, 1fr); } .summit-prereg-features { grid-template-columns: 1fr; } .summit-prereg-card { padding: 40px 24px; } .summit-confirm-explore-grid { grid-template-columns: 1fr; } .summit-form-card, .summit-confirm-card { padding: 28px 22px; } .summit-proto-card { padding: 32px 24px; } } /* ── Detail cells docs page ── */ .detail-cells-demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } .detail-cells-demo-card { border: 1px solid var(--gray-a4); border-radius: 12px; background: #ffffff; padding: 20px 22px; } /* ── Detail cells (TextCell, BadgesCell, LinkCell, DocumentCell) ── */ .ds-detail-cell { min-width: 0; } .ds-detail-cell--mb-1 { margin-bottom: var(--space-1); } .ds-detail-cell--mb-2 { margin-bottom: var(--space-2); } .ds-detail-cell--mb-3 { margin-bottom: var(--space-3); } .ds-detail-cell--mb-4 { margin-bottom: var(--space-4); } .ds-detail-cell--mb-5 { margin-bottom: var(--space-5); } .ds-detail-cell--mb-6 { margin-bottom: var(--space-6); } .ds-detail-cell-value { margin-top: 4px; } .ds-detail-cell-link { color: var(--accent-9); text-decoration: none; font-weight: 600; } .ds-detail-cell-link:hover { text-decoration: underline; } .ds-detail-cell-doc { background: var(--gray-2); border-radius: 10px; padding: 12px 14px; margin-top: 4px; } .ds-detail-cell-doc-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--accent-a3); flex-shrink: 0; } /* ── Typography docs page ── */ .typography-page { padding-bottom: 80px; } .typography-section { margin-top: 48px; } .typography-family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; } .typography-family-card { border: 1px solid var(--gray-a4); border-radius: 12px; background: #ffffff; padding: 20px 22px; } .typography-family-sample { font-size: 48px; line-height: 1.1; font-weight: 500; color: var(--gray-12); letter-spacing: -0.01em; } .typography-rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; } .typography-rules li { font-size: 14px; line-height: 1.55; color: var(--gray-12); } /* ── Users settings card (Настройки → Пользователи) ── */ .users-settings-card { border: 1px solid #e0e2e7; border-radius: 14px; background: #ffffff; padding: 24px 28px; max-width: 720px; } .users-settings-divider { height: 1px; background: var(--gray-a3); margin: 0 0 8px; } .users-settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-a3); } .users-settings-row:last-of-type { border-bottom: none; } .users-settings-row-main { display: flex; flex-direction: column; min-width: 0; } .users-settings-row-email { display: inline-flex; align-items: center; gap: 8px; } .users-settings-row-actions { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; } .users-row-trash { background: transparent; border: none; cursor: pointer; padding: 4px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; } .users-row-trash:hover { background: var(--gray-a3); } /* ── Mailbox: floating chip + modal ── */ .mailbox-chip { position: fixed; left: 56px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: none; border-radius: 999px; background: #1c2024; color: #ffffff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); } .mailbox-chip:hover { background: #2a2f36; } .mailbox-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 14px; border-bottom: 1px solid var(--gray-a3); } .mailbox-modal-close { border: none; background: transparent; cursor: pointer; color: var(--gray-11); padding: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; flex-shrink: 0; } .mailbox-modal-close:hover { background: var(--gray-a3); } .mailbox-modal-body { padding: 20px 24px 0; max-height: 60vh; overflow-y: auto; } .mailbox-modal-footer { padding: 16px 24px 20px; border-top: 1px solid var(--gray-a3); background: var(--gray-2); border-radius: 0 0 14px 14px; margin-top: 20px; } /* ── Invite preview modal ── */ .invite-preview-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 14px; border-bottom: 1px solid var(--gray-a3); } .invite-preview-modal-close { border: none; background: transparent; cursor: pointer; color: var(--gray-11); padding: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; flex-shrink: 0; } .invite-preview-modal-close:hover { background: var(--gray-a3); } .invite-preview-modal-body { padding: 20px 24px 0; max-height: 60vh; overflow-y: auto; } .invite-preview-modal-footer { padding: 16px 24px 20px; border-top: 1px solid var(--gray-a3); background: var(--gray-2); border-radius: 0 0 14px 14px; margin-top: 20px; } /* ── Invite acceptance / preview pages ── */ .invite-page { min-height: 100vh; background: var(--gray-2); display: flex; align-items: center; justify-content: center; padding: 40px 20px; } .invite-card { background: #ffffff; border-radius: 14px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); padding: 36px 40px; max-width: 520px; width: 100%; text-align: center; } /* ── Dev-tool floating button ── */ .dev-tool-button { position: fixed; left: 16px; bottom: 16px; z-index: 9000; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-a4); background: var(--color-panel-translucent, rgba(255, 255, 255, 0.6)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--gray-11); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: 0.55; transition: opacity 0.15s, background 0.15s, border-color 0.15s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); } .dev-tool-button:hover, .dev-tool-button:focus-visible { opacity: 1; background: var(--color-panel-solid, #fff); border-color: var(--gray-a6); outline: none; } .dev-tool-button[data-state="open"] { opacity: 1; background: var(--color-panel-solid, #fff); border-color: var(--gray-a6); } .dev-tool-popover { padding: 4px; min-width: 180px; } .dev-tool-menu { display: flex; flex-direction: column; } .dev-tool-menu-item { appearance: none; border: none; background: transparent; text-align: left; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--gray-12); border-radius: var(--radius-2); cursor: pointer; } .dev-tool-menu-item:hover, .dev-tool-menu-item:focus-visible { background: var(--gray-a3); outline: none; } .dev-tool-menu-separator { height: 1px; background: var(--gray-a4); margin: 4px 0; } .dev-tool-menu-section-title { padding: 6px 10px 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-11); } .dev-tool-menu-item-compact { padding: 6px 10px; line-height: 1.3; } .dev-tool-role-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 6px; } .dev-tool-role-chip { appearance: none; border: 1px solid var(--gray-a5); background: transparent; font: inherit; font-size: 12px; font-weight: 500; color: var(--gray-12); border-radius: 999px; padding: 4px 12px; cursor: pointer; line-height: 18px; } .dev-tool-role-chip:hover { background: var(--gray-a3); } .dev-tool-role-chip.active { background: var(--accent-9); border-color: var(--accent-9); color: #ffffff; } .dev-tool-menu-toggle { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: var(--radius-2); cursor: pointer; } .dev-tool-menu-toggle:hover { background: var(--gray-a3); } .dev-tool-menu-toggle-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; } .dev-tool-menu-toggle-title { font-size: 14px; color: var(--gray-12); } .dev-tool-menu-toggle-hint { font-size: 12px; color: var(--gray-10); } /* On desktop, clear the sidebar so the gear sits in the main area */ @media (min-width: 1024px) { .layout .dev-tool-button { left: calc(240px + 16px); } .layout:has(.sidebar.collapsed) .dev-tool-button { left: calc(64px + 16px); } } /* ── Metrics page ── */ .metrics-page { max-width: 960px; margin: 0 auto; padding: 32px 24px 80px; } .metrics-content { display: flex; flex-direction: column; gap: 40px; margin-top: 24px; } .metrics-section { display: flex; flex-direction: column; } .metrics-codeblock { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; line-height: 1.55; background: var(--gray-2); border: 1px solid var(--gray-a4); border-radius: 10px; padding: 14px 16px; margin: 0; overflow-x: auto; white-space: pre-wrap; word-break: break-word; color: var(--gray-12); } .metrics-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; } .metrics-field { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: start; } @media (max-width: 640px) { .metrics-field { grid-template-columns: 1fr; gap: 4px; } } .metrics-note { margin-top: 16px; padding: 12px 14px; background: var(--accent-a3); border-left: 3px solid var(--accent-9); border-radius: 6px; } .metrics-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--gray-12); font-size: 14px; line-height: 1.55; } .metrics-list li { color: var(--gray-11); } /* ── Metrics tree (auto-collected clickstream labels) ── */ .metrics-tree-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; } .metrics-tree { border: 1px solid var(--gray-5); border-radius: 12px; padding: 8px 12px; background: var(--gray-1); font-size: 13px; line-height: 1.5; } .metrics-tree-node { border-left: 1px solid var(--gray-4); } .metrics-tree > .metrics-tree-node { border-left: none; } .metrics-tree-summary { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; list-style: none; user-select: none; } .metrics-tree-summary::-webkit-details-marker { display: none; } .metrics-tree-summary::before { content: "▸"; color: var(--gray-9); font-size: 11px; transition: transform 0.12s ease; flex: 0 0 auto; } .metrics-tree-node[open] > .metrics-tree-summary::before { transform: rotate(90deg); } .metrics-tree-summary:hover { background: var(--gray-3); border-radius: 6px; } .metrics-tree-name { font-weight: 600; color: var(--gray-12); } .metrics-tree-name.is-placeholder { font-weight: 400; font-style: italic; color: var(--gray-9); font-family: var(--code-font-family, monospace); } .metrics-tree-count { font-size: 11px; color: var(--gray-10); background: var(--gray-3); border-radius: 999px; padding: 0 7px; min-width: 20px; text-align: center; } .metrics-tree-children { padding-left: 8px; } .metrics-tree-leaf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 3px 0 3px 19px; /* выровнено с текстом после ▸ */ } .metrics-tree-leaf .metrics-tree-name { font-weight: 400; color: var(--gray-11); } .metrics-tree-leaf-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; } .metrics-tree-event { display: inline-flex; align-items: center; gap: 6px; } /* ── Clickstream events toast (dev-only surface) ── */ .clickstream-toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 9500; display: flex; flex-direction: column-reverse; /* самый свежий — ближе к курсору */ gap: 8px; pointer-events: none; /* фон стека не перехватывает клики */ max-width: min(440px, calc(100vw - 32px)); } .clickstream-toast { pointer-events: auto; background: var(--gray-12); color: var(--gray-1); border-radius: 10px; padding: 10px 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24); font-size: 12px; line-height: 1.45; display: flex; flex-direction: column; gap: 6px; animation: clickstream-toast-in 160ms ease-out; } @keyframes clickstream-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .clickstream-toast-head { display: flex; align-items: center; gap: 8px; } .clickstream-toast-kind { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px; background: var(--gray-a4); color: var(--gray-1); flex-shrink: 0; } .clickstream-toast-kind-stage { background: rgba(86, 156, 214, 0.32); /* холодный — для жизненного цикла */ } .clickstream-toast-kind-event { background: rgba(214, 157, 86, 0.32); /* тёплый — для действий */ } .clickstream-toast-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gray-3); } .clickstream-toast-action { appearance: none; background: var(--gray-a3); border: none; color: var(--gray-3); font: inherit; font-size: 11px; font-weight: 500; line-height: 1; padding: 4px 8px; border-radius: 4px; cursor: pointer; flex-shrink: 0; transition: background 0.12s, color 0.12s; } .clickstream-toast-action:hover { background: var(--gray-a4); color: var(--gray-1); } .clickstream-toast-action.is-copied { background: rgba(86, 188, 124, 0.28); color: rgb(196, 240, 214); } .clickstream-toast-close { appearance: none; background: transparent; border: none; color: var(--gray-6); font-size: 16px; line-height: 1; padding: 2px 6px; margin: -2px -6px; cursor: pointer; border-radius: 4px; flex-shrink: 0; } .clickstream-toast-close:hover { color: var(--gray-1); background: var(--gray-a3); } .clickstream-toast-body { margin: 0; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow: auto; color: var(--gray-2); } /* ──────────────────────────────────────────────────────────────── Admin layout (модератор/админ) — параллель основному Layout. Использует .layout/.sidebar, добавляет специфичные элементы секций бокового меню и админских страниц. ──────────────────────────────────────────────────────────────── */ .admin-sidebar-section { font-size: 12px; color: var(--gray-9); text-transform: none; letter-spacing: 0.02em; padding: 14px 16px 6px 16px; font-weight: 500; } .sidebar.collapsed .admin-sidebar-section { display: none; } .admin-topbar-role { font-size: 13px; color: var(--gray-11); margin-right: 4px; } /* ── Админская страница: общий контейнер ── */ .admin-page { padding: 32px 32px 64px; max-width: 1200px; margin: 0 auto; width: 100%; } .admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; } .admin-stub { border: 1px dashed var(--gray-6); border-radius: 12px; padding: 64px 32px; text-align: center; color: var(--gray-10); background: var(--gray-2); } /* ── Сегменты-табы (источник/статус) ── */ .admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; } .admin-tab { padding: 8px 14px; border-radius: 999px; background: transparent; border: 1px solid transparent; color: var(--gray-11); font-size: 14px; cursor: pointer; white-space: nowrap; transition: background 0.12s, color 0.12s; } .admin-tab:hover { background: var(--gray-a3); } .admin-tab.active { background: var(--accent-9); color: white; } /* Нейтральный вариант — для статусных табов (без акцента). */ .admin-tabs--neutral .admin-tab.active { background: var(--gray-12); color: var(--gray-1); } .admin-tabs--neutral .admin-tab.active:hover { background: var(--gray-12); } /* Вариант табов «таб-стрип» (под сортировку — подчёркивание у активного) */ .admin-strip-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--gray-5); margin-bottom: 12px; } .admin-strip-tab { padding: 10px 0; background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--gray-11); cursor: pointer; font-size: 14px; } .admin-strip-tab.active { color: var(--gray-12); border-bottom-color: var(--accent-9); } /* ── Таблица анкет ── */ .admin-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--gray-4); border-radius: 12px; overflow: hidden; } .admin-table thead { background: var(--gray-2); } .admin-table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--gray-10); padding: 12px 16px; border-bottom: 1px solid var(--gray-4); } .admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-3); font-size: 14px; color: var(--gray-12); vertical-align: middle; } .admin-table tbody tr { cursor: pointer; transition: background 0.1s; } .admin-table tbody tr:hover { background: var(--accent-a2); } .admin-table tbody tr:last-child td { border-bottom: none; } .admin-table-name-cell { display: flex; align-items: center; gap: 12px; min-width: 0; } .admin-table-name-cell .startup-logo { width: 32px; height: 32px; font-size: 12px; flex-shrink: 0; } /* ── Пагинация ── */ .admin-pagination { display: flex; align-items: center; gap: 4px; } .admin-pagination button { min-width: 32px; height: 32px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--gray-11); cursor: pointer; font-size: 14px; padding: 0 8px; } .admin-pagination button:hover { background: var(--gray-a3); } .admin-pagination button.active { border-color: var(--accent-9); color: var(--accent-11); background: var(--accent-a2); } .admin-pagination .ellipsis { color: var(--gray-9); padding: 0 4px; } /* ── Шапка деталки в режиме модератора ── */ .admin-detail-statusbar { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gray-11); flex-wrap: wrap; margin-bottom: 8px; } .admin-detail-statusbar a { color: var(--accent-11); cursor: pointer; text-decoration: none; } .admin-detail-statusbar a:hover { text-decoration: underline; } .admin-detail-version-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--gray-5); } .admin-detail-version-tab { padding: 8px 14px; background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--gray-11); cursor: pointer; font-size: 14px; } .admin-detail-version-tab.active { color: var(--gray-12); border-bottom-color: var(--accent-9); } .admin-detail-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .admin-detail-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .admin-detail-extras { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--gray-2); border-radius: 12px; margin-top: 16px; } .admin-detail-extras-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-12); line-height: 1.4; } /* ── Модалка истории статусов ── */ .admin-status-history { display: flex; flex-direction: column; gap: 14px; } .admin-status-history-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-4); } .admin-status-history-row:last-child { border-bottom: none; padding-bottom: 0; } .admin-status-history-row .date { color: var(--gray-10); font-size: 13px; } .admin-status-history-row .actor { color: var(--gray-11); font-size: 13px; margin-top: 2px; } .admin-status-history-row .change { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; } .admin-status-history-row .comment { font-size: 13px; color: var(--gray-11); margin-top: 4px; }