:root {
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	color: #142d34;
	background: #f2f6f4;
	font-synthesis: none;
	line-height: 1.45;
	--ink: #142d34;
	--muted: #506668;
	--border: #dbe5e0;
	--teal: #08735e;
	--teal-dark: #075542;
	--navy: #102a35;
	--white: #fff;
	--shadow: 0 8px 25px #102a350a;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body,
#app {
	width: 100%;
	min-width: 0;
	min-height: 100vh;
	min-height: 100dvh;
}
body {
	margin: 0;
}
button,
input,
select,
textarea {
	font: inherit;
}
button,
a,
input,
select,
textarea {
	outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #16876b;
}
a {
	color: var(--teal-dark);
	text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1 {
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	letter-spacing: -0.045em;
	line-height: 1.13;
	font-weight: 750;
}
h2 {
	font-size: 1.16rem;
	letter-spacing: -0.022em;
	line-height: 1.24;
}
h3 {
	font-size: 0.97rem;
	line-height: 1.2;
}
[hidden] {
	display: none;
}
.skip {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 10;
	padding: 10px;
	background: white;
	clip-path: inset(50%);
	pointer-events: none;
}
.skip:focus {
	clip-path: none;
	pointer-events: auto;
}
.mark {
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	border-radius: 12px;
	background: #18a080;
	box-shadow: 0 5px 14px #0c79532d;
	flex: none;
	position: relative;
}
.mark::after {
	content: "";
	width: 18px;
	height: 11px;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	transform: translateY(-2px) rotate(-45deg);
	border-radius: 1px;
}
.startup {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 14px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 1.38rem;
	letter-spacing: -0.045em;
	font-weight: 780;
}
.brand small {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #9dbab8;
	font-weight: 650;
	margin-top: 1px;
}
.auth,
.layout {
	width: 100%;
	min-width: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
}
.auth {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-banner,
.auth-main {
	min-width: 0;
}
.auth-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 5vh, 64px);
	min-height: 100%;
	color: #f1fcfa;
	padding: clamp(30px, 6vw, 75px);
	background:
		radial-gradient(ellipse at 100% 110%, #1b826c88 4%, transparent 54%),
		linear-gradient(142deg, #102b37, #0b202a 58%, #0e403b);
	overflow: hidden;
}
.auth-banner::after {
	content: "";
	position: absolute;
	width: 460px;
	height: 460px;
	border: 1px solid #46bf9b30;
	right: -160px;
	bottom: -175px;
	border-radius: 50%;
	box-shadow:
		0 0 0 34px #46bf9b12,
		0 0 0 70px #46bf9b0b,
		0 0 0 110px #46bf9b08;
	pointer-events: none;
}
.auth-story {
	position: relative;
	z-index: 1;
	max-width: 54rem;
	margin-block: auto;
}
.auth-story > h2 {
	font-size: clamp(2.25rem, 3.6vw, 4.3rem);
	line-height: 1.04;
	letter-spacing: -0.055em;
	max-width: 23ch;
	margin: 0 0 0.8rem;
}
.auth-story > p {
	color: #b9d5d0;
	font-size: 1.05rem;
	max-width: 54ch;
	margin: 0;
}
.auth-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1.1rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	font-size: 0.88rem;
	font-weight: 650;
}
.auth-benefits li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.auth-benefits .line-icon {
	flex: none;
	width: 1rem;
	height: 1rem;
	color: #98e5cf;
}
.auth-guarantees {
	margin-top: clamp(1.25rem, 3.6vh, 2.35rem);
}
.auth-guarantees h2 {
	margin: 0 0 0.65rem;
	font-size: 1.12rem;
}
.auth-guarantees ul {
	list-style: none;
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
}
.auth-guarantees li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.85rem;
	border: 1px solid #9cd9ca3f;
	border-radius: 0.75rem;
	background: #e9fffa0b;
}
.auth-guarantees .line-icon {
	flex: none;
	width: 1.2rem;
	height: 1.2rem;
	color: #98e5cf;
}
.auth-guarantees strong {
	display: block;
	font-size: 0.9rem;
	line-height: 1.28;
}
.auth-guarantees p {
	margin: 0.3rem 0 0;
	color: #d4e5e1;
	font-size: 0.82rem;
	line-height: 1.45;
}
@media (min-width: 1440px) {
	.auth-guarantees ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.auth-main {
	display: grid;
	place-items: center;
	padding: 36px 25px;
	background: #f5f8f6;
}
.auth-card {
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: clamp(24px, 4.2vw, 44px);
	width: min(100%, 34rem);
	background: #fff;
}
.auth-card .brand {
	display: none;
	margin-bottom: 22px;
}
.auth-card .muted {
	margin-top: 8px;
}
.auth-card form {
	display: grid;
	gap: 15px;
	margin-top: 24px;
}
.auth-field-help {
	margin: 0;
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.4;
}
#registration-password-help {
	margin-top: -0.45rem;
}
.auth-widget {
	margin-top: 0.45rem;
	max-width: 100%;
}
.auth-actions {
	margin-top: 21px;
	padding-top: 17px;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.auth-actions button {
	text-align: left;
}
.landing-below {
	width: 100%;
	background: #f2f7f4;
	border-top: 1px solid #d7e3dd;
	padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}
.landing-flow,
.landing-demo {
	max-width: 72rem;
	margin-inline: auto;
}
.landing-heading {
	max-width: 49rem;
	margin: 0 auto clamp(1.5rem, 3vw, 2.4rem);
	text-align: center;
}
.landing-heading h2 {
	font-size: clamp(1.9rem, 4vw, 3.45rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
	text-wrap: balance;
}
.landing-heading p {
	max-width: 55ch;
	margin: 0.8rem auto 0;
	color: var(--muted);
	font-size: clamp(0.93rem, 1.5vw, 1.1rem);
}
.breb-figure {
	margin: 0;
}
.breb-map {
	isolation: isolate;
	position: relative;
	border: 1px solid #cadbd3;
	border-radius: 1.2rem;
	padding: clamp(1rem, 4vw, 2.6rem);
	background: radial-gradient(ellipse at top, #e4f3ec, transparent 55%), #f9fcfa;
}
.breb-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	fill: none;
	stroke: #85b1a6;
	stroke-width: 1.3;
	stroke-linejoin: round;
	stroke-linecap: round;
}
.breb-trunk {
	stroke: #157f69;
	stroke-width: 1.9;
}
.breb-node {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(0.6rem, 2vw, 1rem);
	width: min(100%, 36rem);
	margin-inline: auto;
	padding: clamp(0.85rem, 2.6vw, 1.25rem);
	border-radius: 0.85rem;
	border: 1px solid #c6dad1;
	background: #fff;
	box-shadow: 0 8px 24px #102a350d;
}
.breb-node > .line-icon {
	flex: none;
	width: clamp(1.15rem, 3vw, 1.75rem);
	height: clamp(1.15rem, 3vw, 1.75rem);
	color: var(--teal);
}
.breb-node strong {
	display: block;
	font-size: clamp(0.95rem, 2.2vw, 1.2rem);
	line-height: 1.3;
}
.breb-node p {
	margin-top: 0.22rem;
	font-size: 0.88rem;
	color: var(--muted);
}
.breb-result {
	width: min(100%, 29rem);
	border-color: #175b51;
	background: #0e392f;
	color: white;
}
.breb-result > .line-icon,
.breb-result p {
	color: #b9e1d3;
}
.breb-target {
	margin-top: 3rem;
}
.breb-banks {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 3.65rem 0 0;
	padding: 0;
}
.breb-banks li {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.42rem;
	margin-left: 9px;
	padding: 0.62rem;
	background: #fff;
	border: 1px solid #d9e5de;
	border-radius: 0.6rem;
	color: #234640;
	font-size: 0.83rem;
	font-weight: 650;
	line-height: 1.25;
}
.breb-banks .line-icon {
	flex: none;
	width: 0.95rem;
	height: 0.95rem;
}
.breb-banks span {
	overflow-wrap: anywhere;
}
.breb-figure figcaption {
	margin: 0.8rem auto 0;
	max-width: 78ch;
	color: var(--muted);
	text-align: center;
	font-size: 0.78rem;
}
.landing-demo {
	margin-top: clamp(3rem, 7vw, 6rem);
	padding-top: clamp(2.4rem, 6vw, 5rem);
	border-top: 1px solid #cfdfd7;
}
.landing-demo video {
	display: block;
	width: min(100%, 62rem);
	aspect-ratio: 16 / 9;
	margin-inline: auto;
	border-radius: 0.95rem;
	background: var(--navy);
}
.landing-demo [hidden] {
	display: none;
}
.demo-unavailable {
	color: var(--muted);
	text-align: center;
}
.legal-footer {
	padding: 1.4rem clamp(1rem, 5vw, 4rem);
	border-top: 1px solid var(--border);
	background: #f6faf7;
}
.legal-footer nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem 1.35rem;
	font-size: 0.87rem;
}
.legal-page {
	min-height: 100dvh;
}
.legal-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	padding: 1rem clamp(1rem, 5vw, 4rem);
	background: #fff;
	border-bottom: 1px solid var(--border);
}
.legal-brand {
	color: var(--ink);
	text-decoration: none;
}
.legal-page article {
	width: min(100%, 51rem);
	margin-inline: auto;
	padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
	overflow-wrap: anywhere;
}
.legal-page article section {
	margin-top: 1.5rem;
}
.legal-page article h2 {
	font-size: 1.18rem;
	margin-bottom: 0.4rem;
}
.legal-page article p {
	color: var(--muted);
}
@media (max-width: 960px) {
	.breb-banks {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 620px) {
	.landing-heading,
	.breb-figure figcaption {
		text-align: left;
	}
	.breb-banks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.muted {
	color: var(--muted);
	font-size: 0.88rem;
}
.micro {
	font-size: 0.77rem;
	color: var(--muted);
}
.layout {
	grid-template-columns: 226px minmax(0, 1fr);
}
.rail {
	position: sticky;
	top: 0;
	min-height: 100vh;
	min-height: 100dvh;
	align-self: start;
	padding: 25px 18px 18px;
	background: var(--navy);
	color: #eef9f7;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.rail .brand {
	padding: 0 7px;
}
.nav {
	display: grid;
	gap: 6px;
}
.nav button {
	display: flex;
	align-items: center;
	gap: 11px;
	text-align: left;
	width: 100%;
	border: 1px solid transparent;
	background: transparent;
	color: #bcd2d1;
	padding: 10px 11px;
	border-radius: 9px;
	cursor: pointer;
	font-weight: 620;
}
.nav button:hover,
.nav button[aria-current="page"] {
	background: #1d4250;
	color: white;
	border-color: #2c505d;
}
.nav button[aria-current="page"] {
	box-shadow: inset 3px 0 #50d2a8;
}
.nav-symbol {
	width: 21px;
	text-align: center;
	font-size: 1.15rem;
	line-height: 1;
}
.rail-foot {
	margin-top: auto;
	display: grid;
	gap: 11px;
}
.rail-foot .muted {
	color: #c1d6d2;
}
.rail-foot .button.secondary {
	color: #e7f5f2;
	border-color: #6a8993;
	width: 100%;
}
.rail-foot .button.secondary:hover {
	background: #254653;
}
.workspace {
	min-width: 0;
}
.top {
	min-height: 64px;
	background: #fff;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px clamp(16px, 3vw, 38px);
}
.top strong {
	font-size: 0.91rem;
	overflow-wrap: anywhere;
}
.top-side {
	display: flex;
	align-items: center;
	gap: 13px;
	flex-wrap: wrap;
}
.top-side label {
	min-width: 135px;
}
.top select {
	min-height: 36px;
	padding: 6px 32px 6px 11px;
}
.content {
	width: 100%;
	min-width: 0;
	margin: auto;
	padding: clamp(18px, 3vw, 38px);
	display: grid;
	gap: 21px;
}

.with-hint {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}
.with-hint h1,
.with-hint h2 {
	min-width: 0;
}
.heading > div:first-child > p {
	margin-top: 0.4rem;
}
.line-icon {
	width: 1.15rem;
	height: 1.15rem;
	display: inline-block;
	flex: none;
	vertical-align: middle;
}
.mark .line-icon {
	width: 1.55rem;
	height: 1.55rem;
	color: white;
}
.mark:has(svg)::after {
	display: none;
}
.hint {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: none;
}
.hint-button {
	display: grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	padding: 0;
	background: none;
	color: #4f6b68;
	border: 0;
	border-radius: 50%;
	cursor: help;
}
.hint-button:hover,
.hint-button:focus-visible {
	color: var(--teal-dark);
	background: #e4f2eb;
}
.hint-button .line-icon {
	width: 1rem;
	height: 1rem;
}
.hint-popover {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 8;
	width: min(17rem, calc(100vw - 2rem));
	padding: 0.6rem 0.75rem;
	border: 1px solid #2b4d52;
	border-radius: 0.55rem;
	color: #fff;
	background: #15353e;
	box-shadow: var(--shadow);
	font-size: 0.79rem;
	text-align: left;
	font-weight: 500;
	white-space: normal;
	overflow-wrap: anywhere;
	pointer-events: none;
}
.hint.open > .hint-popover {
	display: block;
}
.inline > .field {
	flex: 1 1 140px;
}
.field label em {
	font-style: normal;
	font-weight: 500;
	color: var(--muted);
}
.cash-primary {
	min-height: min(55vh, 38rem);
}
.cash-primary .table td:first-child {
	min-width: 10rem;
}
.cash-filters {
	align-items: center;
}
.cash-filters .search {
	width: min(19rem, 100%);
}
.panel > summary {
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.panel > summary::-webkit-details-marker {
	display: none;
}
.panel > summary > .line-icon {
	width: 1rem;
	height: 1rem;
}
.panel[open] > summary > .line-icon {
	rotate: 90deg;
}
.panel[open] > summary {
	margin-bottom: 0.75rem;
}
.permission-fields {
	margin: 0;
	border: 1px solid var(--border);
	padding: 0.7rem 0.85rem;
	border-radius: 0.65rem;
	display: flex;
	gap: 0.65rem 1.2rem;
	flex-wrap: wrap;
}
.permission-fields legend {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0 0.35rem;
}
.permission-fields .checkbox {
	align-items: center;
}
#tour {
	margin: auto;
	position: fixed;
	inset: auto 1.1rem 1.1rem auto;
	max-width: min(29rem, calc(100vw - 2.2rem));
	padding: 1.4rem;
}
#tour::backdrop {
	background: #0f2a354e;
}
#tour h2,
#tour p {
	margin-block: 0.55rem;
}
.tour-icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.7rem;
	background: #dff3e9;
	color: var(--teal-dark);
}
.tour-actions {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 1.3rem;
	flex-wrap: wrap;
}
.nav {
	overflow: visible;
}
.table-scroll {
	overflow: visible;
}
.table {
	table-layout: auto;
}
.table th,
.table td {
	overflow-wrap: anywhere;
}
@media (max-width: 810px) {
	.auth {
		grid-template-columns: minmax(0, 1fr);
	}
	.auth-card {
		width: min(100%, 32rem);
	}
	.nav {
		flex-wrap: wrap;
		overflow: visible;
	}
	.cash-primary {
		min-height: 0;
	}
	.cash-primary .table td:first-child {
		min-width: 0;
	}
}
@media (max-width: 550px) {
	.cash-filters,
	.cash-filters .search {
		width: 100%;
	}
	.table:not(.responsive) th {
		white-space: normal;
	}
	.table:not(.responsive) td,
	.table:not(.responsive) th {
		padding-inline: 3px;
	}
	.table .status-actions .button {
		white-space: normal;
	}
}
.heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 15px;
	flex-wrap: wrap;
}
.heading p {
	margin-top: 7px;
}
.live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #235c49;
	font-size: 0.8rem;
	font-weight: 650;
	white-space: nowrap;
}
.live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16946c;
	box-shadow: 0 0 0 3px #cceee3;
}
.live.stale {
	color: #884820;
}
.live.stale::before {
	background: #c4772c;
	box-shadow: 0 0 0 3px #f8e4c9;
}
.panel {
	min-width: 0;
	background: white;
	border: 1px solid var(--border);
	border-radius: 15px;
	box-shadow: var(--shadow);
	padding: 20px;
	display: grid;
	gap: 15px;
	align-content: start;
}
.panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.cash-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(235px, 320px);
	gap: 19px;
	align-items: start;
}
.cash-main,
.cash-side,
.stack {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.order-entry {
	background: linear-gradient(115deg, #fff, #f0faf5);
	border-color: #c9e6d9;
}
.inline {
	display: flex;
	align-items: end;
	gap: 12px;
	flex-wrap: wrap;
}
.inline > label {
	flex: 1 1 140px;
}
.inline > .amount-field {
	flex: 0 1 164px;
}
.field {
	display: grid;
	gap: 6px;
	font-size: 0.82rem;
	color: #29434b;
	font-weight: 650;
}
.field span em {
	font-style: normal;
	font-weight: 500;
	color: var(--muted);
}
input,
select,
textarea {
	width: 100%;
	min-height: 43px;
	border: 1px solid #bdcdc7;
	border-radius: 8px;
	padding: 8px 11px;
	background: #fff;
	color: var(--ink);
	min-width: 0;
	font-size: 0.92rem;
}
input::placeholder,
textarea::placeholder {
	color: #637b78;
}
textarea {
	min-height: 72px;
	resize: vertical;
}
input[type="checkbox"] {
	width: 18px;
	min-height: 18px;
	accent-color: var(--teal);
}
.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-height: 41px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: var(--teal);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 690;
	padding: 8px 13px;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
}
.button:hover {
	background: var(--teal-dark);
}
.button.secondary {
	background: transparent;
	color: var(--teal-dark);
	border-color: #c4d7d0;
}
.button.secondary:hover {
	background: #e9f6ee;
}
.button.small {
	min-height: 34px;
	padding: 5px 9px;
	font-size: 0.77rem;
}
.button.link {
	padding: 0;
	min-height: 32px;
	background: transparent;
	color: var(--teal-dark);
	border: none;
	text-decoration: underline;
	text-underline-offset: 3px;
}
button:disabled {
	opacity: 0.53;
	cursor: not-allowed;
}
.search {
	min-width: min(100%, 217px);
}
.search input {
	min-height: 36px;
	font-size: 0.83rem;
}
.table-scroll {
	overflow: visible;
}
.table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.87rem;
}
.table th {
	color: #4f696b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.69rem;
	font-weight: 760;
	white-space: nowrap;
}
.table td,
.table th {
	padding: 11px 9px;
	border-bottom: 1px solid #e8eeea;
	vertical-align: middle;
}
.table tr:last-child td {
	border-bottom: 0;
}
.table td:last-child {
	text-align: right;
}
.table td:first-child,
.table th:first-child {
	padding-left: 0;
}
.table td:last-child,
.table th:last-child {
	padding-right: 0;
}
.table td .secondary-line {
	display: block;
	color: var(--muted);
	font-size: 0.76rem;
	overflow-wrap: anywhere;
	max-width: 27ch;
}
.ref {
	font-family: ui-monospace, monospace;
	font-weight: 690;
	white-space: nowrap;
}
.money {
	font-variant-numeric: tabular-nums;
	font-weight: 750;
	white-space: nowrap;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 24px;
	padding: 3px 8px;
	border-radius: 40px;
	font-size: 0.73rem;
	font-weight: 740;
	line-height: 1.18;
	background: #e9eeec;
	color: #3f5352;
	white-space: nowrap;
}
.badge::before {
	content: "";
	width: 6px;
	height: 6px;
	background: currentColor;
	border-radius: 50%;
	flex: none;
}
.badge.notice_received {
	background: #def1fa;
	color: #175875;
}
.badge.delivered_with_verified_notice,
.badge.active {
	background: #dff4eb;
	color: #0a644b;
}
.badge.confirmed {
	background: #caede0;
	color: #064e3c;
}
.badge.manual_review,
.badge.warning {
	background: #fff0d6;
	color: #804a0c;
}
.badge.error {
	background: #fae3e1;
	color: #9a342c;
}
.feed {
	display: grid;
	gap: 0;
}
.feed-row {
	padding: 12px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 9px;
	border-bottom: 1px solid #e8eeea;
}
.feed-row:first-child {
	padding-top: 0;
}
.feed-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.feed-row strong {
	display: block;
	font-size: 0.88rem;
}
.empty {
	min-height: 113px;
	display: grid;
	place-content: center;
	justify-items: center;
	text-align: center;
	padding: 15px;
	color: #496361;
	border: 1px dashed #d4e1db;
	border-radius: 10px;
	font-size: 0.85rem;
}
.empty strong {
	color: var(--ink);
	font-size: 0.95rem;
	margin-bottom: 5px;
}
.empty.compact {
	min-height: 79px;
}
.stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.stat {
	padding: 16px;
	gap: 6px;
	border-top: 3px solid #c8d9d3;
}
.stat.positive {
	border-top-color: #51ac8c;
}
.stat.review {
	border-top-color: #c98b43;
}
.stat strong {
	font-size: 1.65rem;
	letter-spacing: -0.06em;
}
.stat p {
	font-size: 0.79rem;
	color: var(--muted);
	font-weight: 630;
}
.report-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 17px;
}
.setup-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
	gap: 16px;
	align-items: start;
}
.list {
	margin: 0;
	padding-left: 23px;
	display: grid;
	gap: 11px;
	font-size: 0.92rem;
}
.list li::marker {
	font-weight: 750;
	color: var(--teal);
}
.steps .segmented {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--border);
	padding-bottom: 10px;
}
.segmented button[aria-pressed="true"] {
	background: #daf1e8;
	border-color: #b4d8c9;
}
.alias {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	background: #eff7f3;
	border: 1px solid #d7e8de;
	border-radius: 9px;
	padding: 10px 12px;
}
.alias code {
	flex: 1;
	color: #15523f;
	min-width: 120px;
	overflow-wrap: anywhere;
}
.notice-box {
	padding: 12px 13px;
	border-radius: 8px;
	background: #edf6f2;
	border-left: 3px solid #69ac93;
	color: #2a4f44;
	font-size: 0.87rem;
}
.notice-box.danger {
	background: #fbebe7;
	border-color: #b65749;
	color: #752f29;
}
.health-line {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 8px;
}
.status-actions {
	display: flex;
	gap: 7px;
	justify-content: flex-end;
	flex-wrap: wrap;
}
.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #29434b;
	font-size: 0.87rem;
}
.toast {
	position: fixed;
	right: 18px;
	bottom: 18px;
	max-width: min(88vw, 380px);
	padding: 11px 16px;
	background: #163b3a;
	color: #fff;
	z-index: 6;
	border-radius: 9px;
	box-shadow: 0 5px 24px #102a3548;
	font-size: 0.9rem;
}
.toast.error {
	background: #86362f;
}
dialog {
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 22px;
	width: min(calc(100vw - 25px), 550px);
	max-height: 91dvh;
	color: var(--ink);
	box-shadow: 0 14px 60px #061f2540;
	overflow: auto;
}
dialog::backdrop {
	background: #091e29a0;
}
dialog form {
	display: grid;
	gap: 13px;
	margin-top: 15px;
}
@media (max-width: 1050px) {
	.layout {
		grid-template-columns: 185px minmax(0, 1fr);
	}
	.rail {
		padding-inline: 13px;
	}
	.cash-grid {
		grid-template-columns: minmax(0, 1fr) minmax(200px, 245px);
	}
	.report-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 810px) {
	.layout {
		display: flex;
		flex-direction: column;
	}
	.rail {
		position: static;
		min-height: 0;
		align-self: stretch;
		gap: 12px;
		padding: 12px 14px;
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
	}
	.rail .brand {
		padding: 0;
	}
	.rail .brand small,
	.rail-foot .muted {
		display: none;
	}
	.rail-foot {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}
	.nav {
		grid-column: 1 / -1;
		grid-row: 2;
		display: flex;
		gap: 6px;
		flex-wrap: wrap;
		overflow: visible;
	}
	.nav button {
		width: auto;
		white-space: nowrap;
		min-height: 41px;
		padding: 7px 9px;
		font-size: 0.84rem;
	}
	.nav-symbol {
		width: 14px;
	}
	.top {
		min-height: 53px;
		padding: 8px 14px;
	}
	.cash-grid,
	.setup-grid {
		grid-template-columns: 1fr;
	}
	.cash-side .panel {
		padding-block: 14px;
	}
	.stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.auth {
		grid-template-columns: 1fr;
	}
	.auth-banner {
		order: 2;
		min-height: 0;
		padding: clamp(1rem, 4vw, 2rem);
	}
	.auth-banner .brand {
		display: none;
	}
	.auth-story {
		width: min(100%, 32rem);
		margin-inline: auto;
	}
	.auth-story > h2 {
		font-size: clamp(1.6rem, 5vw, 2.25rem);
	}
	.auth-story > p {
		font-size: 0.92rem;
	}
	.auth-main {
		padding: clamp(1rem, 4vw, 2rem);
	}
	.auth-card .brand {
		display: flex;
	}
}
@media (max-width: 550px) {
	.content {
		padding: 15px;
		gap: 15px;
	}
	.panel {
		padding: 15px;
	}
	.duo,
	.report-grid {
		grid-template-columns: 1fr;
	}
	.table.responsive thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.table.responsive tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 4px 8px;
		border-bottom: 1px solid var(--border);
		padding: 8px 0;
	}
	.table.responsive tr:last-child {
		border: 0;
	}
	.table.responsive td,
	.table.responsive td:last-child {
		padding: 1px 0;
		border: none;
		text-align: left;
	}
	.table.responsive td:nth-child(even) {
		text-align: right;
	}
	.table.responsive td:last-child {
		grid-column: 1 / -1;
	}
	.status-actions {
		justify-content: flex-start;
	}
	.heading {
		align-items: start;
	}
	.top-side {
		justify-content: flex-end;
	}
	.top-side label {
		min-width: 105px;
	}
}
