body.noir-shell-mode,
body.noir-home-mode,
#page-wrapper,
#noir-workarea {
	background: #f6f3ee;
}

#page-wrapper {
	min-height: 100vh;
}

#noir-workarea {
	display: block;
}

.noir-shell {
	--bg: #f6f3ee;
	--soft: #fbf8f3;
	--line: rgba(21, 21, 21, 0.12);
	--line-strong: rgba(21, 21, 21, 0.2);
	--muted: #7a756f;
	--text: #151515;
	--container: min(1240px, calc(100vw - 48px));
	font-family: "Manrope", system-ui, sans-serif;
	color: var(--text);
	background: var(--bg);
	padding: 34px 0 60px;
}

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

.noir-shell a {
	color: inherit;
	text-decoration: none;
}

.noir-shell .container {
	width: var(--container);
	margin: 0 auto;
}

.noir-shell .page-hero,
.noir-shell .panel,
.noir-shell .card,
.noir-shell .step,
.noir-shell .faq-item,
.noir-shell .cta-band {
	background: var(--soft);
	border: 1px solid var(--line);
}

.noir-shell .page-hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 24px;
	padding: 36px;
	margin-bottom: 24px;
}

.noir-shell .eyebrow,
.noir-shell .meta-label {
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.noir-shell .page-title,
.noir-shell .section-title,
.noir-shell .card h3,
.noir-shell .faq-item h3,
.noir-shell .cta-band h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 0.92;
	margin: 0;
}

.noir-shell .page-title {
	font-size: clamp(52px, 7vw, 98px);
	margin: 14px 0 18px;
	max-width: 760px;
}

.noir-shell .lead,
.noir-shell .hero-copy p,
.noir-shell .panel p,
.noir-shell .card p,
.noir-shell .faq-answer,
.noir-shell li,
.noir-shell .stat-note {
	font-size: 15px;
	line-height: 1.78;
	color: #5f5a55;
}

.noir-shell .hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.noir-shell .hero-side {
	display: grid;
	gap: 18px;
	align-content: start;
}

.noir-shell .hero-media {
	min-height: 460px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(21, 21, 21, 0.1));
}

.noir-shell .hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.noir-shell .stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 12px;
}

.noir-shell .stat {
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.noir-shell .stat strong {
	display: block;
	font-size: 26px;
	line-height: 1;
	margin-bottom: 6px;
}

.noir-shell .section {
	margin-top: 24px;
}

.noir-shell .section-head {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	align-items: end;
	margin-bottom: 18px;
}

.noir-shell .section-title {
	font-size: clamp(40px, 5vw, 70px);
}

.noir-shell .section-note {
	max-width: 420px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
	text-align: right;
}

.noir-shell .grid-two,
.noir-shell .grid-three,
.noir-shell .steps,
.noir-shell .faq-list {
	display: grid;
	gap: 20px;
}

.noir-shell .grid-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.noir-shell .grid-three,
.noir-shell .steps,
.noir-shell .faq-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.noir-shell .panel,
.noir-shell .card,
.noir-shell .step,
.noir-shell .faq-item,
.noir-shell .cta-band {
	padding: 28px 26px;
}

.noir-shell .card h3,
.noir-shell .step h3,
.noir-shell .faq-item h3,
.noir-shell .cta-band h3 {
	font-size: 34px;
	margin-bottom: 10px;
}

.noir-shell .step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}

.noir-shell .list,
.noir-shell .inline-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.noir-shell .list li + li,
.noir-shell .inline-list li + li {
	margin-top: 10px;
}

.noir-shell .inline-list li {
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.noir-shell .timeline {
	display: grid;
	gap: 14px;
}

.noir-shell .timeline-item {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.noir-shell .timeline-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.noir-shell .timeline-label {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.noir-shell .cta-band {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 22px;
	align-items: center;
	margin-top: 24px;
}

.noir-shell .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.noir-shell .button,
.noir-shell .button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--text);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.noir-shell .button {
	background: var(--text);
	color: #fbf8f3;
}

.noir-shell .button:hover {
	background: #2b2927;
	border-color: #2b2927;
}

.noir-shell .button-secondary {
	background: transparent;
	color: var(--text);
	border-color: var(--line-strong);
}

.noir-shell .button-secondary:hover {
	border-color: var(--text);
}

.noir-shell .badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.noir-shell .badge {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--line);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #49443f;
}

.noir-shell .form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.noir-shell .field {
	display: grid;
	gap: 8px;
}

.noir-shell .field label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--muted);
}

.noir-shell input,
.noir-shell select,
.noir-shell textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	background: #fffdfa;
	font: inherit;
	color: var(--text);
	resize: vertical;
}

.noir-shell textarea {
	min-height: 150px;
}

.noir-shell .form-grid .field-wide {
	grid-column: 1 / -1;
}

.noir-shell .microcopy {
	font-size: 13px;
	line-height: 1.65;
	color: var(--muted);
}

.noir-shell .dashboard-cards,
.noir-shell .stack-list,
.noir-shell .data-list,
.noir-shell .summary-list {
	display: grid;
	gap: 16px;
}

.noir-shell .dashboard-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.noir-shell .dash-card,
.noir-shell .stack-item {
	background: var(--soft);
	border: 1px solid var(--line);
	padding: 22px 20px;
}

.noir-shell .metric-value {
	display: block;
	margin-top: 10px;
	font-size: 34px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.noir-shell .metric-copy {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.65;
	color: #5f5a55;
}

.noir-shell .summary-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.noir-shell .summary-item {
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.noir-shell .summary-item strong {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.noir-shell .summary-item span {
	font-size: 16px;
	line-height: 1.5;
	color: #2c2a28;
}

.noir-shell .stack-item {
	display: grid;
	gap: 10px;
}

.noir-shell .stack-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.noir-shell .stack-item h3,
.noir-shell .stack-item h4 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

.noir-shell .stack-item p,
.noir-shell .stack-item li {
	font-size: 14px;
	line-height: 1.7;
	color: #5f5a55;
}

.noir-shell .stack-item h3 a,
.noir-shell .stack-item h4 a {
	color: inherit;
}

.noir-shell .stack-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.noir-shell .stack-actions .button,
.noir-shell .stack-actions .button-secondary {
	min-height: 40px;
	padding: 0 16px;
}

.noir-shell .offer-grid {
	display: grid;
	gap: 18px;
}

.noir-shell .offer-card {
	display: grid;
	gap: 16px;
	padding: 22px 20px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid var(--line);
}

.noir-shell .offer-card.is-selected {
	border-color: var(--text);
	background: rgba(21, 21, 21, 0.04);
}

.noir-shell .offer-price {
	font-size: 34px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #2c2a28;
}

.noir-shell .offer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.noir-shell .offer-actions form {
	margin: 0;
}

.noir-shell .status-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #403b37;
}

.noir-shell .status-pill.is-dark {
	background: var(--text);
	border-color: var(--text);
	color: #fbf8f3;
}

.noir-shell .data-list {
	margin-top: 18px;
}

.noir-shell .data-row {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.noir-shell .data-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.noir-shell .data-label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.noir-shell .data-value {
	font-size: 15px;
	line-height: 1.7;
	color: #2c2a28;
}

.noir-shell .split-layout,
.noir-shell .info-grid,
.noir-shell .progress-steps,
.noir-shell .document-list {
	display: grid;
	gap: 18px;
}

.noir-shell .split-layout {
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.noir-shell .info-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.noir-shell .progress-steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}

.noir-shell .progress-step {
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid var(--line);
}

.noir-shell .progress-step strong {
	display: block;
	margin: 10px 0 6px;
	font-size: 16px;
	line-height: 1.4;
	color: #2c2a28;
}

.noir-shell .progress-step span {
	display: block;
	font-size: 13px;
	line-height: 1.65;
	color: #5f5a55;
}

.noir-shell .progress-step.is-active {
	background: var(--text);
	border-color: var(--text);
}

.noir-shell .progress-step.is-active strong,
.noir-shell .progress-step.is-active span,
.noir-shell .progress-step.is-active .meta-label {
	color: #fbf8f3;
}

.noir-shell .mini-card {
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid var(--line);
}

.noir-shell .mini-card h3,
.noir-shell .mini-card h4 {
	margin: 8px 0 10px;
	font-size: 22px;
	line-height: 1.15;
}

.noir-shell .mini-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #5f5a55;
}

.noir-shell .document-list {
	margin-top: 18px;
}

.noir-shell .document-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}

.noir-shell .document-item:first-child {
	padding-top: 0;
	border-top: 0;
}

.noir-shell .document-item strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	line-height: 1.5;
	color: #2c2a28;
}

.noir-shell .document-item span {
	font-size: 13px;
	line-height: 1.6;
	color: #5f5a55;
}

.noir-shell .document-action {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.noir-shell .section-nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.noir-shell .section-nav-link {
	display: grid;
	gap: 8px;
	padding: 18px 16px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid var(--line);
	color: inherit;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.noir-shell .section-nav-link:hover {
	transform: translateY(-2px);
	border-color: var(--line-strong);
}

.noir-shell .section-nav-link strong {
	font-size: 18px;
	line-height: 1.2;
	color: #2c2a28;
}

.noir-shell .section-nav-link span {
	font-size: 13px;
	line-height: 1.6;
	color: #5f5a55;
}

.noir-shell .section-nav-link.is-active {
	background: var(--text);
	border-color: var(--text);
}

.noir-shell .section-nav-link.is-active strong,
.noir-shell .section-nav-link.is-active span,
.noir-shell .section-nav-link.is-active .meta-label {
	color: #fbf8f3;
}

.noir-shell .empty-state {
	display: grid;
	gap: 12px;
	padding: 28px 24px;
	background: rgba(255, 255, 255, 0.35);
	border: 1px dashed var(--line-strong);
}

.noir-shell .empty-state h3 {
	margin: 0;
	font-size: 28px;
	line-height: 1.1;
}

.noir-shell .empty-state p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: #5f5a55;
}

.noir-shell .form-notice,
.noir-shell .form-errors {
	margin-bottom: 18px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.55);
}

.noir-shell .form-notice {
	border-color: rgba(33, 84, 53, 0.2);
	background: rgba(243, 248, 244, 0.9);
}

.noir-shell .form-errors {
	border-color: rgba(128, 51, 51, 0.2);
	background: rgba(252, 244, 243, 0.95);
}

.noir-shell .form-errors ul {
	margin: 0;
	padding-left: 18px;
}

.noir-shell .form-errors li {
	margin: 0;
}

.noir-shell .field-hint {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: #6d645d;
}

.noir-shell .uploaded-files {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.noir-shell .uploaded-file {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.4;
	color: #3e352f;
}

.noir-shell .checkbox-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: #5f5a55;
}

.noir-shell .checkbox-row input {
	width: 18px;
	height: 18px;
	margin: 4px 0 0;
	padding: 0;
}

.noir-shell .workflow-actions,
.noir-shell .workflow-form {
	margin-top: 18px;
}

.noir-shell .workflow-actions {
	display: grid;
	gap: 14px;
}

.noir-shell .workflow-inline-form {
	margin: 0;
}

.noir-shell .workflow-form .actions,
.noir-shell .workflow-inline-form .actions {
	margin-top: 16px;
}

@media (max-width: 980px) {
	.noir-shell .page-hero,
	.noir-shell .grid-two,
	.noir-shell .grid-three,
	.noir-shell .steps,
	.noir-shell .faq-list,
	.noir-shell .cta-band,
	.noir-shell .form-grid,
	.noir-shell .stats,
	.noir-shell .dashboard-cards,
	.noir-shell .summary-list,
	.noir-shell .split-layout,
	.noir-shell .info-grid,
	.noir-shell .progress-steps,
	.noir-shell .section-nav,
	.noir-shell .section-head {
		grid-template-columns: 1fr;
	}

	.noir-shell .data-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.noir-shell .section-note {
		text-align: left;
		max-width: none;
	}
}

@media (max-width: 780px) {
	.noir-shell {
		--container: min(1240px, calc(100vw - 24px));
		padding: 20px 0 40px;
	}

	.noir-shell .page-hero,
	.noir-shell .panel,
	.noir-shell .card,
	.noir-shell .step,
	.noir-shell .faq-item,
	.noir-shell .cta-band {
		padding: 22px 18px;
	}

	.noir-shell .page-title {
		font-size: 52px;
	}

	.noir-shell .timeline-item {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}
