/**
 * Photo RAW Project
 *
 * Every WP Idea Stream screen, all routed through ideastream.php: the gate,
 * the board (index, status and topic archives, search), the single idea, and
 * the add / edit form. Rebuilt on base.css tokens for 2027 - it replaces
 * legacy/raw-project.css and the plugin's own style.css, which
 * on1_raw_project_scripts() dequeues.
 *
 * Section tones follow the 70/20/10 rule. The page is the dark base, the idea
 * cards and side panels are the slightly-lifted --bg-800, and the light band is
 * the guarantee strip partials/footer.php appends - plus, on the form, the form
 * card itself, which is pinned light.
 *
 * The single idea is on prose.css too, for the idea body and the comment
 * thread. Only the overrides that thread needs on a lifted card are here.
 *
 * @copyright   2026, ON1
 */

/* !- Shared
 *
 * Breadcrumbs, the search field, status pills, topic chips, star ratings, and
 * the side panels - each used by more than one screen.
 */
#raw-project-board,
#raw-project-form,
#raw-project-idea {
	padding: 2.5rem 0 5rem;
}

#raw-project-board {
	padding-top: 0.5rem;
}

#raw-project-form .breadcrumb,
#raw-project-idea .breadcrumb,
#raw-project-search-hero .breadcrumb {
	color: var(--text-400);
	font-size: var(--text-mini);
	margin-bottom: 1rem;
}

#raw-project-form .breadcrumb .separator,
#raw-project-idea .breadcrumb .separator,
#raw-project-search-hero .breadcrumb .separator {
	margin: 0 0.375rem;
}

#raw-project-form .breadcrumb a,
#raw-project-idea .breadcrumb a,
#raw-project-search-hero .breadcrumb a {
	color: var(--text-400);
	text-decoration: none;
}

#raw-project-form .breadcrumb a:hover,
#raw-project-idea .breadcrumb a:hover,
#raw-project-search-hero .breadcrumb a:hover {
	color: var(--text-50);
	text-decoration: underline;
}

#raw-project-form .breadcrumb .here,
#raw-project-search-hero .breadcrumb .here {
	color: var(--text-50);
}

/* Search field - icon inside, optional joined button on the board */
.raw-project-search {
	display: flex;
	position: relative;
}

.raw-project-search .raw-project-search-icon {
	color: var(--text-400);
	font-size: var(--text-sm);
	left: 0.9375rem;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
}

.raw-project-search .form-control {
	font-size: var(--text-sm);
	height: 2.75rem;
	padding-left: 2.5rem;
}

.raw-project-search.has-button .form-control {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	height: 3rem;
}

.raw-project-search.has-button .btn {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	font-size: var(--text-sm);
	padding: 0 1.375rem;
}

/* Status pills on the cards and the single idea */
.idea-status {
	align-items: center;
	border-radius: 1.25rem;
	display: inline-flex;
	font-size: var(--text-tiny);
	font-weight: 700;
	gap: 0.375rem;
	letter-spacing: 0.1em;
	padding: 0.3125rem 0.625rem;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.idea-status::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	height: 0.375rem;
	width: 0.375rem;
}

.idea-status.status-submitted {
	background: color-mix(in srgb, var(--text-300) 12%, transparent);
	color: var(--text-300);
}

.idea-status.status-under-review {
	background: var(--gold-transparent);
	color: var(--gold-500);
}

.idea-status.status-working-on-it {
	background: var(--blue-transparent);
	color: var(--blue-300);
}

.idea-status.status-launched {
	background: var(--green-transparent);
	color: var(--green-500);
}

.idea-status.status-declined {
	background: color-mix(in srgb, var(--red-500) 12%, transparent);
	color: var(--red-300);
}

/*
 * The dark theme's status hues all fail on the light page, so each takes a
 * darker step there. Green has no flipping text token - see the note on
 * --orange-text in base.css.
 */
[data-theme="light"] .idea-status.status-submitted {
	color: var(--text-400);
}

[data-theme="light"] .idea-status.status-under-review {
	color: var(--gold-900);
}

[data-theme="light"] .idea-status.status-working-on-it {
	color: var(--blue-800);
}

[data-theme="light"] .idea-status.status-launched {
	color: var(--green-800);
}

[data-theme="light"] .idea-status.status-declined {
	color: var(--red-800);
}

/* Topic chips */
.idea-topic {
	background: var(--bg-700);
	border-radius: var(--border-radius);
	color: var(--text-300);
	font-size: var(--text-mini);
	padding: 0.25rem 0.5625rem;
	text-decoration: none;
}

a.idea-topic:hover {
	color: var(--text-50);
}

/* Star ratings
 *
 * On the cards, at the top of the single idea, and in its "Would you use
 * this?" box. Each star is a button that raw-project.js posts to the rate
 * route. One <i class="fa-solid fa-star"> per button; the state classes swap
 * Font Awesome's --fa-style (regular / solid) and --fa (star / half star)
 * rather than the markup, so the script only toggles classes.
 */
.idea-rating {
	align-items: center;
	color: var(--text-400);
	display: inline-flex;
	font-size: var(--text-mini);
	gap: 0.5rem;
}

.idea-rating strong {
	color: var(--text-50);
	font-weight: 600;
}

.idea-rating-mine {
	color: var(--text-300);
}

.idea-rating strong + .idea-rating-mine::before {
	content: "\00b7";
	margin: 0 0.375rem 0 0.125rem;
}

.idea-stars {
	display: inline-flex;
	font-size: var(--text-sm);
	gap: 0.125rem;
}

.idea-star {
	background: none;
	border: 0;
	color: var(--text-500);
	cursor: pointer;
	font-size: inherit;
	line-height: 1;
	padding: 0;
}

.idea-star:disabled {
	cursor: default;
}

.idea-star i {
	--fa-style: 400;
}

.idea-star.is-full,
.idea-star.is-half,
.idea-rating.is-hovering .idea-star.is-hover {
	color: var(--gold-500);
}

.idea-star.is-full i,
.idea-star.is-half i,
.idea-rating.is-hovering .idea-star.is-hover i {
	--fa-style: 900;
}

.idea-star.is-half i {
	--fa: "\f5c0";
}

/* While hovering, the stars preview the rating rather than the average */
.idea-rating.is-hovering .idea-star:not(.is-hover) {
	color: var(--text-500);
}

.idea-rating.is-hovering .idea-star:not(.is-hover) i {
	--fa-style: 400;
}

.idea-rating.is-hovering .idea-star i {
	--fa: "\f005";
}

[data-theme="light"] .idea-star.is-full,
[data-theme="light"] .idea-star.is-half,
[data-theme="light"] .idea-rating.is-hovering .idea-star.is-hover {
	color: var(--gold-800);
}

/* The title's stretched link covers the card; the stars sit above it */
#raw-project-board .idea-rating {
	position: relative;
	z-index: 2;
}

/* "Would you use this?" - bigger stars, the person's own rating under them */
.idea-rating.is-large {
	align-items: flex-start;
	flex-direction: column;
	gap: 0.375rem;
}

.idea-rating.is-large .idea-stars {
	font-size: 1.75rem;
	gap: 0.375rem;
}

@media (min-width: 768px) {
	.idea-rating.is-large {
		align-items: flex-end;
	}
}

/* Side panels - the single idea's sidebar and the form's tips */
#raw-project-sidebar,
#raw-project-form .side-panels {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.side-panel {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	padding: 1.625rem;
}

.side-panel p {
	color: var(--text-300);
	font-size: var(--text-sm);
	line-height: 1.6;
}

/*
 * Lifted surfaces go white on the light theme, per the mockup and the way the
 * store's cards do - --bg-800 flips to a step darker than the page there.
 * background-color, so the gradient panels keep their gradient.
 */
[data-theme="light"] #raw-project-board .idea-card,
[data-theme="light"] #raw-project-board .no-match,
[data-theme="light"] #raw-project-hero .step,
[data-theme="light"] #raw-project-idea .idea-article,
[data-theme="light"] #raw-project-idea .idea-comments,
[data-theme="light"] #raw-project-idea .idea-timeline .dot,
[data-theme="light"] .side-panel {
	background-color: var(--white);
}

/* Plugin feedback - the moderation notice after posting, save errors */
.raw-project-feedback .message {
	color: var(--text-100);
	font-size: var(--text-sm);
	margin-bottom: 1.5rem;
}

.raw-project-feedback .message.error {
	color: var(--red-300);
}

[data-theme="light"] .raw-project-feedback .message.error {
	color: var(--red-800);
}

.raw-project-feedback .message p {
	margin-bottom: 0.25rem;
}

/* !- Gate
 *
 * Signed out, or signed in without a Photo RAW license.
 */
#raw-project-gate {
	padding: 6rem 0;
}

#raw-project-gate .gate-icon {
	margin-bottom: 1.75rem;
}

#raw-project-gate h1 {
	font-size: var(--text-4xl);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1.25rem;
}

#raw-project-gate .gate-copy {
	color: var(--text-300);
	font-size: var(--text-lg);
	line-height: 1.6;
	margin-bottom: 2rem;
}

#raw-project-gate .gate-actions {
	margin-bottom: 1.125rem;
}

#raw-project-gate .btn {
	font-size: var(--text-base);
	padding: 0.9375rem 1.875rem;
}

#raw-project-gate .gate-signin {
	color: var(--text-300);
	font-size: var(--text-sm);
	margin-bottom: 0;
}

@media (max-width: 767.98px) {
	#raw-project-gate {
		padding: 4rem 0;
	}

	#raw-project-gate h1 {
		font-size: var(--text-3xl);
	}
}

/* !- Board hero
 *
 * The About copy and the three steps, on every board view but search.
 */
#raw-project-hero {
	padding: 4.375rem 0 3.75rem;
}

#raw-project-hero .hero-icon {
	margin-bottom: 1.25rem;
}

#raw-project-hero h1 {
	font-size: 2.5rem;
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 1.2;
	margin-bottom: 1.125rem;
}

#raw-project-hero h1 .gradient {
	-webkit-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(-40deg, var(--blue-500), var(--purple-500));
	color: transparent;
}

#raw-project-hero .hero-copy {
	color: var(--text-300);
	font-size: var(--text-lg);
	line-height: 1.6;
	margin-bottom: 2rem;
}

#raw-project-hero .btn {
	font-size: var(--text-base);
	padding: 0.9375rem 1.875rem;
}

#raw-project-hero .btn i {
	margin-left: 0.375rem;
}

#raw-project-hero .steps {
	margin-top: 3rem;
}

#raw-project-hero .step {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	display: flex;
	gap: 1.125rem;
	height: 100%;
	padding: 1.875rem 1.75rem;
}

#raw-project-hero .step-icon {
	align-items: center;
	background: var(--blue-transparent);
	border-radius: 50%;
	color: var(--link-alt);
	display: flex;
	flex: 0 0 auto;
	font-size: var(--text-lg);
	height: 2.75rem;
	justify-content: center;
	width: 2.75rem;
}

#raw-project-hero .step-number {
	color: var(--text-400);
	font-size: var(--text-micro);
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 0.375rem;
	text-transform: uppercase;
}

#raw-project-hero .step h3 {
	font-size: var(--text-base);
	font-weight: 700;
	margin-bottom: 0.375rem;
}

#raw-project-hero .step p:last-child {
	color: var(--text-300);
	font-size: var(--text-sm);
	line-height: 1.55;
	margin-bottom: 0;
}

@media (max-width: 767.98px) {
	#raw-project-hero {
		padding: 3rem 0 2.5rem;
	}

	#raw-project-hero h1 {
		font-size: var(--text-3xl);
	}
}

/* !- Search hero
 *
 * Replaces the About hero when there's a query.
 */
#raw-project-search-hero {
	padding: 3.125rem 0 2.125rem;
}

#raw-project-search-hero h1 {
	font-size: var(--text-3xl);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 0.625rem;
}

#raw-project-search-hero h1 q {
	color: var(--link-alt);
}

#raw-project-search-hero .search-sub {
	align-items: center;
	color: var(--text-300);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--text-sm);
	gap: 0.5rem 1.125rem;
	margin-bottom: 0;
}

#raw-project-search-hero .clear-search {
	color: var(--link-alt);
	text-decoration: none;
}

#raw-project-search-hero .clear-search:hover {
	text-decoration: underline;
}

/* !- Board
 *
 * Heading and search, the filter row, the idea cards, and pagination.
 */
#raw-project-board .board-head {
	border-bottom: 1px solid var(--bg-700);
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
}

#raw-project-board .board-head h2 {
	font-size: 1.625rem;
	font-weight: 400;
	margin-bottom: 0.375rem;
}

#raw-project-board .board-head h2 strong {
	font-weight: 900;
}

#raw-project-board .board-count {
	color: var(--text-400);
	font-size: var(--text-xs);
	margin-bottom: 0;
}

#raw-project-board .board-filters {
	margin-bottom: 1.75rem;
}

#raw-project-board .status-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

#raw-project-board .status-pills li {
	margin-bottom: 0;
}

#raw-project-board .status-pill {
	border: 1px solid var(--bg-600);
	border-radius: 1.25rem;
	color: var(--text-300);
	display: inline-block;
	font-size: var(--text-xs);
	font-weight: 500;
	padding: 0.5rem 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
}

#raw-project-board .status-pill:hover {
	border-color: var(--text-400);
	color: var(--text-50);
}

#raw-project-board .status-pill.is-active {
	background: var(--blue-600);
	border-color: var(--blue-600);
	color: var(--white);
	font-weight: 600;
}

#raw-project-board .board-filters .form-select {
	font-size: var(--text-xs);
	height: 2.625rem;
}

@media (min-width: 1200px) {
	#raw-project-board .board-filters .form-select {
		min-width: 11rem;
	}
}

/* Idea cards */
#raw-project-board .idea-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#raw-project-board .idea-card {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	padding: 1.625rem 1.875rem 1.375rem;
	position: relative;
}

#raw-project-board .idea-card-top {
	margin-bottom: 0.875rem;
}

#raw-project-board .idea-card h3 {
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 0.625rem;
}

/* base.css sets every link to 500 */
#raw-project-board .idea-card h3 a {
	color: var(--text-50);
	font-weight: inherit;
	text-decoration: none;
}

#raw-project-board .idea-excerpt {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--text-300);
	display: -webkit-box;
	font-size: var(--text-sm);
	line-height: 1.65;
	margin-bottom: 1.125rem;
	overflow: hidden;
}

#raw-project-board .idea-meta {
	border-top: 1px solid var(--bg-700);
	color: var(--text-400);
	font-size: var(--text-mini);
	margin-top: 0;
	padding-top: 0.25rem;
}

#raw-project-board .idea-meta i {
	margin-right: 0.25rem;
}

#raw-project-board .idea-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
}

#raw-project-board .idea-topics li {
	margin-bottom: 0;
}

#raw-project-board mark {
	background: var(--blue-transparent);
	border-radius: 0.1875rem;
	color: var(--text-50);
	padding: 0 0.125rem;
}

@media (max-width: 575.98px) {
	#raw-project-board .idea-card {
		padding: 1.25rem;
	}
}

/* Pagination - paginate_links() plain output */
#raw-project-board .raw-project-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	justify-content: center;
	margin-top: 2.75rem;
}

#raw-project-board .raw-project-pagination .page-numbers {
	align-items: center;
	border-radius: var(--border-radius);
	color: var(--text-300);
	display: flex;
	font-size: var(--text-sm);
	height: 2.625rem;
	justify-content: center;
	min-width: 2.625rem;
	padding: 0 0.75rem;
	text-decoration: none;
}

#raw-project-board .raw-project-pagination a.page-numbers:hover {
	background: var(--bg-700);
	color: var(--text-50);
}

#raw-project-board .raw-project-pagination .current {
	background: var(--blue-600);
	color: var(--white);
	font-weight: 600;
}

#raw-project-board .raw-project-pagination .dots {
	color: var(--text-400);
}

/* "Don't see your idea?" under search results */
#raw-project-board .no-match {
	background: linear-gradient(-40deg, var(--blue-transparent), color-mix(in srgb, var(--purple-500) 14%, transparent)), var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	margin-top: 1.75rem;
	padding: 2.125rem 2.25rem;
}

#raw-project-board .no-match h3 {
	font-size: var(--text-xl);
	font-weight: 700;
	margin-bottom: 0.375rem;
}

#raw-project-board .no-match p {
	color: var(--text-300);
	font-size: var(--text-sm);
	line-height: 1.6;
	margin-bottom: 0;
}

#raw-project-board .no-match .btn,
#raw-project-board .board-head .btn {
	font-size: var(--text-sm);
}

#raw-project-board .no-match .btn {
	padding: 0.75rem 1.25rem;
	white-space: nowrap;
}

#raw-project-board .no-match .btn i {
	margin-left: 0.375rem;
}

/* !- Single idea */
#raw-project-idea .top-row {
	margin-bottom: 1.75rem;
}

#raw-project-idea .idea-article,
#raw-project-idea .idea-comments {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	padding: 2.75rem 3rem;
}

#raw-project-idea .idea-comments {
	margin-top: 1.75rem;
	padding-top: 2.5rem;
}

#raw-project-idea .idea-article-top {
	margin-bottom: 1.125rem;
}

#raw-project-idea .idea-article h1 {
	font-size: 2.125rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin-bottom: 1.125rem;
}

#raw-project-idea .idea-byline {
	align-items: center;
	border-bottom: 1px solid var(--bg-700);
	color: var(--text-400);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--text-xs);
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.75rem;
}

#raw-project-idea .idea-byline img {
	border-radius: 50%;
}

/* Keeps the avatar beside the text when the line wraps on a phone */
#raw-project-idea .idea-byline > span {
	flex: 1;
	min-width: 0;
}

#raw-project-idea .idea-byline strong {
	color: var(--text-50);
	font-weight: 600;
}

#raw-project-idea .idea-edit-link {
	color: var(--link-alt);
	margin-left: auto;
	text-decoration: none;
}

#raw-project-idea .idea-edit-link:hover {
	text-decoration: underline;
}

#raw-project-idea .idea-body {
	color: var(--text-300);
}

/* Rate this idea */
#raw-project-idea .idea-rate {
	background: var(--bg-700);
	border-radius: var(--border-radius);
	margin-top: 2.125rem;
	padding: 1.375rem 1.5rem;
}

#raw-project-idea .idea-rate h3 {
	font-size: var(--text-base);
	font-weight: 700;
	margin-bottom: 0.25rem;
}

#raw-project-idea .idea-rate p {
	color: var(--text-300);
	font-size: var(--text-xs);
	margin-bottom: 0;
}

/* Comments - prose.css's thread, on the lifted card */
#raw-project-idea .comments-title {
	font-size: var(--text-xl);
	font-weight: 800;
}

#raw-project-idea .post-comments .comment-form textarea {
	background: var(--bg-900);
}

#raw-project-idea .post-comments .comment-form .form-submit {
	text-align: right;
}

#raw-project-idea .comment-team {
	background: linear-gradient(-40deg, var(--blue-500), var(--purple-500));
	border-radius: 0.25rem;
	color: var(--white);
	font-size: var(--text-tiny);
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-left: 0.5rem;
	padding: 0.1875rem 0.4375rem;
	text-transform: uppercase;
}

#raw-project-idea .comment-item.is-staff > .comment-body {
	background: color-mix(in srgb, var(--blue-500) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--blue-500) 25%, transparent);
	border-radius: var(--border-radius);
	padding: 1.25rem;
}

/* Sidebar */
@media (min-width: 992px) {
	#raw-project-sidebar {
		position: sticky;
		top: calc(var(--raw-project-offset, 5rem) + 1.5rem);
	}
}

#raw-project-idea .side-panel-label {
	color: var(--text-400);
	font-size: var(--text-mini);
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-bottom: 1.125rem;
	text-transform: uppercase;
}

/* Status timeline */
#raw-project-idea .idea-timeline {
	margin: 0;
}

#raw-project-idea .idea-timeline li {
	align-items: flex-start;
	display: flex;
	gap: 0.875rem;
	margin-bottom: 0;
	padding-bottom: 1.25rem;
	position: relative;
}

#raw-project-idea .idea-timeline li:last-child {
	padding-bottom: 0;
}

#raw-project-idea .idea-timeline li::before {
	background: var(--bg-600);
	bottom: 0;
	content: "";
	left: 0.5625rem;
	position: absolute;
	top: 1.375rem;
	width: 2px;
}

#raw-project-idea .idea-timeline li:last-child::before {
	display: none;
}

#raw-project-idea .idea-timeline li.is-done::before {
	background: var(--blue-600);
}

#raw-project-idea .idea-timeline .dot {
	background: var(--bg-800);
	border: 2px solid var(--bg-500);
	border-radius: 50%;
	flex: 0 0 auto;
	height: 1.25rem;
	position: relative;
	width: 1.25rem;
	z-index: 1;
}

#raw-project-idea .idea-timeline .is-done .dot {
	background: var(--blue-600);
	border-color: var(--blue-600);
}

#raw-project-idea .idea-timeline .is-now .dot {
	background: var(--gold-500);
	border-color: var(--gold-500);
	box-shadow: 0 0 0 4px var(--gold-transparent);
}

#raw-project-idea .idea-timeline .is-declined .dot {
	background: var(--red-500);
	border-color: var(--red-500);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-500) 16%, transparent);
}

#raw-project-idea .idea-timeline strong {
	color: var(--text-50);
	display: block;
	font-size: var(--text-sm);
	font-weight: 600;
}

#raw-project-idea .idea-timeline .is-todo strong {
	color: var(--text-400);
	font-weight: 500;
}

#raw-project-idea .idea-timeline small {
	color: var(--text-400);
	display: block;
	font-size: var(--text-mini);
}

/* Details */
#raw-project-idea .idea-facts,
#raw-project-idea .idea-related {
	margin: 0;
}

#raw-project-idea .idea-facts li {
	border-top: 1px solid var(--bg-700);
	display: flex;
	font-size: var(--text-xs);
	gap: 0.75rem;
	justify-content: space-between;
	margin-bottom: 0;
	padding: 0.625rem 0;
}

#raw-project-idea .idea-facts li:first-child {
	border-top: none;
	padding-top: 0;
}

#raw-project-idea .idea-facts li:last-child {
	padding-bottom: 0;
}

#raw-project-idea .idea-facts span {
	color: var(--text-400);
}

#raw-project-idea .idea-facts strong {
	color: var(--text-50);
	font-weight: 600;
	text-align: right;
}

#raw-project-idea .idea-facts a {
	color: var(--link-alt);
	font-weight: 600;
	text-decoration: none;
}

/* Post-your-idea panel */
#raw-project-idea .side-panel-cta {
	background: linear-gradient(-40deg, color-mix(in srgb, var(--blue-500) 18%, transparent), color-mix(in srgb, var(--purple-500) 18%, transparent)), var(--bg-800);
}

#raw-project-idea .side-panel-cta h4 {
	font-size: var(--text-lg);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

#raw-project-idea .side-panel-cta p {
	margin-bottom: 1.125rem;
}

#raw-project-idea .side-panel-cta .btn {
	font-size: var(--text-sm);
	padding: 0.75rem 1.25rem;
	width: 100%;
}

#raw-project-idea .side-panel-cta .btn i {
	margin-left: 0.375rem;
}

/* Also under review */
#raw-project-idea .idea-related li {
	border-top: 1px solid var(--bg-700);
	margin-bottom: 0;
	padding: 0.75rem 0;
}

#raw-project-idea .idea-related li:first-child {
	border-top: none;
	padding-top: 0;
}

#raw-project-idea .idea-related li:last-child {
	padding-bottom: 0;
}

#raw-project-idea .idea-related a {
	color: var(--text-50);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

#raw-project-idea .idea-related a:hover {
	color: var(--link-alt);
}

@media (max-width: 991.98px) {
	#raw-project-idea .idea-article,
	#raw-project-idea .idea-comments {
		padding: 1.875rem 1.5rem;
	}

	#raw-project-idea .idea-article h1 {
		font-size: var(--text-3xl);
	}
}

/* !- Add / edit form */
#raw-project-form .page-head {
	margin-bottom: 2.125rem;
}

#raw-project-form .page-head h1 {
	font-size: 2.125rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin-bottom: 0;
}

#raw-project-form .page-head h1 strong {
	font-weight: 900;
}

#raw-project-form .back-link {
	color: var(--link-alt);
	font-size: var(--text-sm);
	text-decoration: none;
}

#raw-project-form .back-link:hover {
	text-decoration: underline;
}

#raw-project-form .back-link i {
	margin-right: 0.375rem;
}

/*
 * The form card is white in both themes, per the mockup's light fields. It's
 * pinned with data-theme="light" in the markup so the tokens inside resolve
 * light either way, and the background is a literal for the same reason.
 * color is set here too - body's text colour is inherited, not re-resolved
 * by the pin.
 */
#raw-project-form .form-card {
	background: #fff;
	border-radius: var(--border-radius);
	color: var(--text-300);
	padding: 2.75rem 3rem;
}

#raw-project-form .form-card h2 {
	color: var(--text-50);
	font-size: var(--text-2xl);
	font-weight: 800;
	margin-bottom: 0.625rem;
}

#raw-project-form .form-card .lede {
	color: var(--text-300);
	font-size: var(--text-base);
	line-height: 1.65;
	margin-bottom: 2.125rem;
}

#raw-project-form .form-group {
	margin-bottom: 1.625rem;
}

#raw-project-form .form-group > label {
	color: var(--text-50);
	display: flex;
	font-size: var(--text-xs);
	font-weight: 600;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

#raw-project-form .required {
	color: var(--red-600);
	margin-left: 0.1875rem;
}

#raw-project-form .optional {
	color: var(--text-400);
	font-weight: 400;
}

#raw-project-form .hint {
	color: var(--text-400);
	font-size: var(--text-mini);
	margin: 0.5rem 0 0;
}

#raw-project-form .form-card .form-control,
#raw-project-form .form-card .form-select {
	font-size: var(--text-sm);
	height: 3rem;
}

#raw-project-form .form-card textarea.form-control {
	height: auto;
	line-height: 1.6;
	min-height: 15rem;
	padding: 1rem;
	resize: vertical;
}

#raw-project-form .form-actions {
	align-items: center;
	border-top: 1px solid var(--bg-700);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.125rem;
	padding-top: 1.75rem;
}

/*
 * The buttons come from wp_idea_stream_ideas_the_form_submit(), Reset first.
 * The mockup leads with Submit, so the order is flipped here rather than
 * re-implementing the plugin's nonce and auto draft handling in the template.
 */
#raw-project-form .form-actions input[type="submit"] {
	font-size: var(--text-sm);
	order: -1;
	padding: 0.75rem 1.25rem;
}

#raw-project-form .form-actions input[type="reset"] {
	background: none;
	border: none;
	color: var(--text-300);
	font-size: var(--text-sm);
	margin: 0;
	padding: 0.75rem;
}

#raw-project-form .form-actions input[type="reset"]:hover {
	color: var(--text-50);
}

#raw-project-form .required-note {
	color: var(--text-400);
	font-size: var(--text-mini);
	margin-left: auto;
}

/* Tips sidebar */
#raw-project-form .side-panel h3 {
	align-items: center;
	display: flex;
	font-size: var(--text-base);
	font-weight: 700;
	gap: 0.625rem;
	margin-bottom: 1.125rem;
}

#raw-project-form .side-panel h3 i {
	color: var(--link-alt);
}

#raw-project-form .tips {
	margin: 0;
}

#raw-project-form .tips li {
	color: var(--text-300);
	display: flex;
	font-size: var(--text-sm);
	gap: 0.75rem;
	line-height: 1.55;
	margin-bottom: 1rem;
}

#raw-project-form .tips li:last-child {
	margin-bottom: 0;
}

#raw-project-form .tips strong {
	color: var(--text-50);
	display: block;
	margin-bottom: 0.125rem;
}

#raw-project-form .tip-number {
	align-items: center;
	background: var(--blue-transparent);
	border-radius: 50%;
	color: var(--link-alt);
	display: flex;
	flex: 0 0 1.5rem;
	font-size: var(--text-mini);
	font-weight: 700;
	height: 1.5rem;
	justify-content: center;
	margin-top: 0.0625rem;
}

@media (max-width: 991.98px) {
	#raw-project-form .form-card {
		padding: 2rem 1.5rem;
	}
}
