/* PROJECT 150X — закрытый исследовательский раздел. */
.p150x-rr-page .container { max-width: 1200px; }

.p150x-rr-gate {
	max-width: 680px;
	margin: 40px auto;
	padding: 40px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
	text-align: center;
	background: #fff;
}
.p150x-rr-gate h2 { margin-top: 0; }
.p150x-rr-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.p150x-rr-dashboard h2 { margin-bottom: .2em; }
.p150x-rr-sub { color: #555; margin-top: 0; }

/* ===== Дашборд ===== */
.p150x-rr-dash { max-width: 1100px; }

.p150x-rr-hero {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	background: linear-gradient(135deg, #f7f9fb 0%, #eef4f8 100%);
	border: 1px solid rgba(0,0,0,.07); border-radius: 14px;
	padding: 28px 32px; margin-bottom: 28px;
}
.p150x-rr-hero__text h2 { margin: 0 0 6px; font-size: 1.7rem; }
.p150x-rr-hero__text p { margin: 0; color: #55606b; max-width: 640px; }
.p150x-rr-hero__status { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.p150x-rr-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 24px; font-weight: 600; font-size: .88rem; }
.p150x-rr-status--investor { background: #e5f4ec; color: #14764a; }
.p150x-rr-status--user { background: #eef1f4; color: #5a6672; }
.p150x-rr-status__until { color: #6b7682; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }

.p150x-rr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0 0 24px; }
.p150x-rr-card {
	display: flex; flex-direction: column; gap: 12px;
	padding: 26px; border: 1px solid rgba(0,0,0,.09); border-radius: 14px;
	text-decoration: none; color: inherit; background: #fff;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
	position: relative; overflow: hidden;
}
.p150x-rr-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.10); transform: translateY(-3px); }
.p150x-rr-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 6px;
}
.p150x-rr-card--longevity .p150x-rr-card__icon { background: #eef2fb; color: #3b5bdb; }
.p150x-rr-card--oncology  { border-top: 3px solid #b02a5b; }
.p150x-rr-card--longevity { border-top: 3px solid #3b5bdb; }
.p150x-rr-card--hiv       { border-top: 3px solid #b02a37; }
.p150x-rr-card--oncology .p150x-rr-card__icon { background: #fbeaf1; color: #b02a5b; }
.p150x-rr-card--hiv .p150x-rr-card__icon { background: #eaf3fb; color: #0a7ea4; }
.p150x-rr-card__dir { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.p150x-rr-card__meta { display: flex; gap: 16px; color: #6b7683; font-size: .85rem; }
.p150x-rr-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.p150x-rr-card__go { margin-top: 10px; color: #0a7ea4; font-size: .9rem; font-weight: 600; }

.p150x-rr-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px;
	margin: 0 0 30px;
}
.p150x-rr-stat {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; padding: 18px 20px;
}
.p150x-rr-stat i { font-size: 1.3rem; color: #0a7ea4; }
.p150x-rr-stat strong { display: block; font-size: 1.35rem; line-height: 1; }
.p150x-rr-stat span { color: #6b7686; font-size: .82rem; }
.p150x-rr-stat--primary { grid-column: span 2; }
.p150x-rr-stat__num { font-size: 2rem; font-weight: 700; color: #1b2733; line-height: 1; }
.p150x-rr-stat__label { color: #6b7686; font-size: .88rem; }

.p150x-rr-top { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; }
.p150x-rr-top h3 { margin: 0 0 12px; font-size: 1.05rem; }
.p150x-rr-top__list { margin: 0; padding-left: 22px; }
.p150x-rr-top__list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p150x-rr-top__dir { color: #0a7ea4; font-size: .8rem; }
.p150x-rr-top__votes { margin-left: auto; background: #0a7ea4; color: #fff; border-radius: 20px; padding: 2px 12px; font-weight: 700; font-size: .85rem; }

.p150x-rr-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }
.p150x-rr-navlink {
	display: flex; align-items: center; gap: 14px;
	padding: 18px 20px; border: 1px solid rgba(0,0,0,.09); border-radius: 12px;
	text-decoration: none; color: inherit; background: #fff;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.p150x-rr-navlink:hover { box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.p150x-rr-nav__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 10px; background: #f2f6f9; color: #0a7ea4; font-size: 1.1rem; flex: 0 0 auto;
}
.p150x-rr-nav__body { display: flex; flex-direction: column; gap: 3px; }
.p150x-rr-nav__body strong { font-size: .95rem; }
.p150x-rr-nav__hint { color: #7a8592; font-size: .8rem; }
.p150x-rr-nav__badge {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: .75rem; font-weight: 600; color: #8a939e;
	background: #f1f3f5; border: 1px dashed #c9ced4; border-radius: 20px; padding: 3px 10px; width: fit-content;
}
.p150x-rr-navlink.p150x-rr-nav__item--locked { color: #8a939e; }
.p150x-rr-navlink.p150x-rr-nav__item--locked .p150x-rr-nav__icon { background: #f1f2f4; color: #98a1ab; }
.p150x-rr-nav__go { color: #0a7ea4; font-size: .9rem; margin-left: auto; }

.p150x-rr-upsell {
	display: flex; gap: 10px; align-items: flex-start;
	background: #f4f7fa; border: 1px dashed #c6d0da; border-radius: 10px;
	padding: 14px 18px; color: #55616d; font-size: .9rem; margin-top: 18px;
}
.p150x-rr-upsell i { margin-top: 2px; }

.p150x-rr-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 22px; font-size: .85rem; font-weight: 600; }
.p150x-rr-status--investor { background: #e5f4ec; color: #1c7f4d; }
.p150x-rr-status--user { background: #eef1f4; color: #5a6570; }
.p150x-rr-status__until { color: #6b7686; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }

.p150x-rr-hero__status { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.p150x-rr-hero { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.p150x-rr-status__until i, .p150x-rr-status-badge i { margin-right: 4px; }

.p150x-rr-stat__label { color: #6b7686; font-size: .88rem; }

/* Кнопки для инвесторов в таблицах */
.p150x-rr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.p150x-rr-btn {
	display: inline-block; padding: 8px 14px; border-radius: 8px;
	font-size: .85rem; line-height: 1.2; border: 1px solid #0a7ea4;
	background: #fff; color: #0a7ea4; cursor: pointer; text-decoration: none;
}
.p150x-rr-btn--vote { background: #0a7ea4; color: #fff; }
.p150x-rr-btn--invest { background: #1c7f4d; border-color: #1c7f4d; color: #fff; }
.p150x-rr-btn--small { padding: 5px 10px; font-size: .8rem; }
.p150x-rr-btn--propose { margin-bottom: 16px; }

.p150x-rr-page-title { margin-bottom: .4em; }

/* Таблица общего голосования и предложений */
.p150x-rr-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.p150x-rr-table th, .p150x-rr-table td { border: 1px solid rgba(0,0,0,.08); padding: 10px 12px; text-align: left; vertical-align: top; }
.p150x-rr-table thead th { background: #f5f5f5; font-weight: 600; }
.p150x-rr-votes { text-align: center; font-weight: 700; }
.p150x-rr-desc { color: #444; max-width: 360px; }
.p150x-rr-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 20px; background: #eee; font-size: .72rem; }
.p150x-rr-badge--approved { background: #d9f0e0; color: #1c7f4d; }
.p150x-rr-badge--pending { background: #fff3cd; color: #856404; }
.p150x-rr-badge--rejected { background: #f8d7da; color: #842029; }

.p150x-rr-proposal { border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 16px; margin-bottom: 14px; background: #fff; }
.p150x-rr-proposal__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.p150x-rr-proposal__dir { color: #0a7ea4; font-size: .85rem; }
.p150x-rr-proposal__rat { color: #444; }

.p150x-rr-account__info { list-style: none; padding: 0; }
.p150x-rr-account__info li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.06); }

/* Форма (модал) голосования/предложения */
.p150x-rr-modal { position: fixed; inset: 0; z-index: 99990; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.5); padding: 20px; }
.p150x-rr-modal.is-open { display: flex; }
.p150x-rr-modal__box { background: #fff; border-radius: 12px; max-width: 560px; width: 100%; padding: 28px; max-height: 90vh; overflow: auto; }
.p150x-rr-modal__close { float: right; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: #888; }
.p150x-rr-modal .form-group { margin-bottom: 14px; }
.p150x-rr-modal .form-label { display: block; font-weight: 600; margin-bottom: 4px; }
.p150x-rr-modal .form-input, .p150x-rr-modal .form-textarea, .p150x-rr-modal .form-select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
.p150x-rr-modal .form-message { margin-top: 12px; font-weight: 500; }

@media (max-width: 767px) {
	.p150x-rr-table { font-size: .8rem; }
	.p150x-rr-table th, .p150x-rr-table td { padding: 8px; }
}
