* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

:root {
	/* Custom root variables */
	--bg: #f5f3ef;
	--surface: #fff;
	--surface2: #f9f8f5;
	--border: #e8e4de;
	--border2: #ece9e4;
	--ink: #1a1816;
	--ink2: #4a4844;
	--ink3: #8a8480;
	--ink4: #b0ada8;
	--accent: #ff8a34;
	--accent2: #e67a28;
	--nav: #18160f;
	--nav2: #221f18;
	--nav3: #2c2920;
	--critical: #c0392b;
	--high: #e67e22;
	--medium: #d4ac0d;
	--low: #27ae60;
	--highlight-yellow: #fef08a;

	/* scaled */
	--radius: 10px;
	--radius2: 14px;

	/* Bootstrap overrides */
	--bs-orange: var(--accent);
	--bs-orange-600: var(--accent2);
	--bs-green: #1e8449;
	--bs-green-100: #edfaf3;
	--bs-success: #1e8449;
	--bs-primary: var(--accent);
	--bs-primary-rgb: 255, 138, 52;
	--bs-primary-text-emphasis: #e67e22;
	--bs-danger-rgb: 192, 57, 43;

	--bs-font-serif: "Playfair Display", serif;
	--bs-font-sans-serif: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
		"Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

	/* scaled */
	--bs-body-font-size: 17px;
}

.btn {
	--bs-btn-padding-x: 17px;
	--bs-btn-padding-y: 0px;
	--bs-btn-font-size: 17px;

	/* scaled line-height */
	--bs-btn-line-height: 36px;
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #ff8a34;
	--bs-btn-border-color: #ff8a34;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #e67e22;
	--bs-btn-hover-border-color: #e67e22;
	--bs-btn-focus-shadow-rgb: 49, 132, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #e67e22;
	--bs-btn-active-border-color: #e67e22;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #44240d;
	--bs-btn-disabled-border-color: #44240d;
}

.btn-outline-primary {
	--bs-btn-color: #ff8a34;
	--bs-btn-border-color: #ff8a34;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #ff8a34;
	--bs-btn-hover-border-color: #ff8a34;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #ff8a34;
	--bs-btn-active-border-color: #ff8a34;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.tooltip.bs-tooltip-auto {
	--bs-tooltip-font-size: 17px;
	--bs-tooltip-color: #c8c4be;
	--bs-tooltip-bg: var(--nav);
}

body {
	font-family: var(--bs-font-sans-serif);
	background: #f5f3ef;
	color: #1a1816;

	/* scaled */
	font-size: 17px;
	line-height: 1.8;
}

.btn {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.bg-gray {
	background-color: var(--surface2);
}

.font-serif {
	font-family: var(--bs-font-serif);
}

.small-10 {
	font-size: 14px;
}

small,
.small-11 {
	font-size: 16px;
}

.small-12 {
	font-size: 17px;
}

.fs-1 {
	font-size: 38px !important;
	line-height: 1.2;
	margin-bottom: 2px;
}

.fs-2 {
	font-size: 31px !important;
	line-height: 1.2;
	margin-bottom: 2px;
}

.text-dark {
	color: #1a1816;
}

.text-light {
	color: var(--ink3) !important;
}

.text-light-2 {
	color: var(--ink4) !important;
}

.text-highlight-yellow {
	background-color: var(--highlight-yellow);
}

p {
	margin-bottom: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h5 {
	font-family: var(--bs-font-serif);
	font-weight: 400;
	margin-bottom: 2px;
}

h1,
.h1 {
	font-size: 30px;
}

h2,
.h2 {
	font-size: 26px;
}

h3,
.h3 {
	font-size: 24px;
}

h4,
.h4 {
	font-size: 19px;
}

h5,
.h5 {
	font-size: 18px;
}

h6,
.h6 {
	font-size: 17px;
}

.pointer {
	cursor: pointer;
}

.main-container {
	display: flex;
	height: 100vh;
	overflow: hidden;
}

.sidebar {
	width: 67px;
	flex-shrink: 0;
	background: var(--nav);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 19px 0 24px;
	gap: 2px;
	z-index: 100;
}

.main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.content {
	flex: 1;
	overflow-y: auto;
	padding: 34px;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 408px;
	gap: 19px;
	align-items: start;
}

@media screen and (max-width: 576px) {
	.two-col {
		display: flex;
		flex-direction: column;
	}
}

/* Sidebar */
.nav-logo {
	width: 38px;
	height: 38px;
	background: var(--accent);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 29px;
	flex-shrink: 0;
	cursor: pointer;
	border: 0;
	outline: 0;
}

.nav-logo svg {
	width: 19px;
	height: 19px;
	color: #fff;
}

.nav-icon {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	border: none;
	background: transparent;
}

.nav-icon svg {
	width: 19px;
	height: 19px;
	color: #c8c4be;
}

.nav-sep {
	width: 26px;
	height: 1px;
	background: var(--nav2);
	margin: 10px 0;
}

.nav-icon.active {
	background: #221f18;
}

.nav-icon .active svg {
	color: #fff;
}

.avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--nav2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	color: #6a6760;
	cursor: pointer;
	border: 2px solid var(--nav3);
}

.nav-foot {
	margin-top: auto;
}

#mobile-menu-button {
	display: none;
}

.topbar {
	height: 62px;
	flex-shrink: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	padding: 0 34px;
	gap: 19px;
}

.topbar-title {
	font-family: var(--bs-font-serif);
	font-size: 20px;
	color: var(--ink);
	letter-spacing: -0.4px;
	margin-right: auto;
}

.topbar-btn-group {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

.topbar-btn-group .topbar-btn {
	border-radius: 0px;
}

.topbar-btn-group *:first-child {
	border-radius: 6px 0 0 6px !important;
}

.topbar-btn-group *:last-child {
	border-radius: 0 6px 6px 0;
}

.topbar-btn {
	height: 36px;
	padding: 0 17px;
	border-radius: 7px;
	background: var(--accent);
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	font-family: "DM Sans", sans-serif;
	transition: background 0.15s;
}

.topbar-btn:hover {
	background: var(--accent2);
}

.topbar-btn.ghost {
	background: transparent;
	color: var(--ink3);
	border: 1px solid var(--border);
}

.topbar-btn.ghost:hover {
	background: var(--surface2);
	color: var(--ink2);
}

@media screen and (max-width: 576px) {
	.sidebar,
	.topbar-title,
	.topbar .pill {
		display: none;
	}

	#mobile-menu-button {
		display: block;
	}
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	color: var(--ink3);
	margin-bottom: 19px;
}

.breadcrumbs a,
.breadcrumbs span {
	color: var(--ink3);
	text-decoration: none;
	cursor: pointer;
}

.breadcrumbs a:hover {
	color: var(--ink2);
}

.breadcrumbs-sep {
	color: var(--ink4);
}

.breadcrumbs .current {
	color: var(--ink2);
	font-weight: 500;
}

.progress-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.progress-bar-outer {
	flex: 1;
	height: 7px;
	background: var(--border);
	border-radius: 4px;
	overflow: hidden;
}

.progress-bar-inner {
	height: 100%;
	border-radius: 4px;
}

.progress-bar-inner.green {
	background: var(--low);
}

.progress-bar-inner.orange {
	background: var(--high);
}

.progress-bar-inner.red {
	background: var(--critical);
}

.field-label {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink2);
	margin-bottom: 6px;
}

.field:has(input:required) label::after {
	content: "*";
	display: inline-block;
	color: var(--critical);
	margin-left: 5px;
}

.input {
	width: 100%;
	height: 41px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0 14px;
	font-size: 17px;
	color: var(--ink);
	background: var(--surface);
	font-family: "DM Sans", sans-serif;
	outline: none;
}

.input:focus {
	border-color: var(--accent);
}

.select {
	--form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	width: 100%;
	height: 41px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0 14px;
	font-size: 17px;
	color: var(--ink);
	background: var(--surface);
	font-family: "DM Sans", sans-serif;
	outline: none;
	appearance: none;
	cursor: pointer;
	background-image: var(--form-select-bg-img);
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 19px 14px;
}

.field {
	margin-bottom: 17px;
}

.custom-radio {
	display: flex;
	gap: 18px;
	align-items: center;
	cursor: pointer;
	margin-bottom: 8px;
}

.custom-radio input {
	display: none;
}

.custom-radio .checkmark {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid var(--border);
	display: grid;
	place-content: center;
}

.custom-radio:has(input:checked) .checkmark {
	background-color: var(--accent);
	border: 1px solid var(--accent2);
}

.custom-radio:has(input:checked) .checkmark::before {
	content: "";
	background-color: white;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	place-items: center;
	display: grid;
}

.icon {
	width: 38px;
	height: 38px;
	background: var(--accent);
	color: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: pointer;
	border: 0;
	outline: 0;
}

.pill {
	height: 31px;
	padding: 0 12px;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: var(--surface2);
	font-size: 16px;
	color: var(--ink3);
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius2);
	padding: 24px 29px;
}

.badge {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 8px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.badge.critical {
	background: #fdf2f1;
	color: var(--critical);
	border: 1px solid #f5c6c3;
}

.badge.high {
	background: #fdf6ef;
	color: var(--high);
	border: 1px solid #f5dfc2;
}

.badge.medium {
	background: #fdf9e8;
	color: #b8860b;
	border: 1px solid #f0de9a;
}

.badge.low {
	background: #edfaf3;
	color: #1e8449;
	border: 1px solid #a9dfbf;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 26px;
	padding: 0 10px;
	border-radius: 13px;
	font-size: 16px;
	font-weight: 500;
}

.chip::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

.chip.unreviewed {
	background: #f0f4f8;
	color: #5d7a8c;
}

.chip.accepted {
	background: #edfaf3;
	color: #1e8449;
}

.chip.dismissed {
	background: #f5f5f5;
	color: #8a8480;
}

.chip.disputed {
	background: #fdf9e8;
	color: #b8860b;
}

.tag {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
	background: var(--surface2);
	color: var(--ink2);
	border: 1px solid var(--border);
}

.tag.blue {
	background: #f0f4ff;
	color: #3355aa;
	border-color: #c5d0f0;
}

.tag.orange {
	background: #fff4ec;
	color: #c05a15;
	border-color: #f5d0b0;
}

.group-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius2);
	margin-bottom: 14px;
	overflow: hidden;
}

.group-head {
	padding: 17px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	border-bottom: 1px solid transparent;
}

.group-head.open {
	border-bottom-color: var(--border);
}

.group-head:hover {
	background: var(--surface2);
}

.group-name {
	font-size: 17px;
	font-weight: 500;
	color: var(--ink);
	flex: 1;
}

.group-counts {
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: var(--ink3);
}

.group-body {
	padding: 0 24px 5px;
}

.group-letters {
	padding: 14px 24px;
	background: var(--surface2);
	border-top: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 14px;
}

.group-letters-label {
	font-size: 13px;
	color: var(--ink3);
	margin-right: auto;
}

.mrow {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border2);
	cursor: pointer;
	flex-wrap: wrap;
}

.mrow-body {
	flex: 1;
	min-width: 0;
}

.mrow-acc {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.mrow-acc.critical {
	background: var(--critical);
}

.mrow-acc.high {
	background: var(--high);
}

.mrow-acc.medium {
	background: var(--medium);
}

.mrow-acc.low {
	background: var(--low);
}

.mrow-text {
	font-size: 17px;
	color: var(--ink);
	margin-bottom: 2px;
}

.mrow-meta {
	font-size: 16px;
	color: var(--ink3);
}

.mrow-age {
	font-size: 14px;
	color: var(--ink4);
	font-family: "DM Mono", monospace;
}

.mrow:hover {
	background: var(--surface2);
	margin: 0 -29px;
	padding: 14px 29px;
	border-radius: 5px;
}

.mrow-right {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}

@media screen and (max-width: 576px) {
	.mrow-body {
		max-width: calc(100vw - 120px);
	}
	.mrow-right {
		width: 100%;
	}
}

.sect-heading {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink3);
	margin-bottom: 12px;
	font-family: var(--bs-font-sans-serif);
}

.pillar-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius2);
	padding: 24px;
	cursor: pointer;
	transition: all 0.15s;
	position: relative;
	overflow: hidden;
	flex-grow: 1;
}

.pillar-card:hover {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 5px 14px rgba(0, 0, 0, 0.06);
}

.pillar-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}

.pillar-card.warning::before {
	background: linear-gradient(90deg, #ff8a34, #e67a28);
}

.pillar-card.danger::before {
	background: linear-gradient(90deg, #c0392b, #e67e22);
}

.pillar-card.success::before {
	background: linear-gradient(90deg, #27ae60, #1e8449);
}

.pillar-q {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink4);
	margin-bottom: 14px;
}

.pillar-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 4px;
}

.pillar-n {
	font-family: "Playfair Display", serif;
	font-size: 38px;
	color: var(--ink);
	letter-spacing: -0.6px;
	line-height: 1.2;
	margin: 14px 0 5px;
}

.pillar-label {
	font-size: 16px;
	color: var(--ink3);
}

.feed-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border2);
	font-size: 16px;
}

.feed-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
	margin-top: 5px;
}

.feed-body {
	flex: 1;
	color: var(--ink2);
}

.feed-time {
	font-family: "DM Mono", monospace;
	color: var(--ink4);
	font-size: 14px;
	flex-shrink: 0;
}

.crawl-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius2);
	padding: 19px 24px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 19px;
}

.crawl-info {
	flex: 1;
	min-width: 0;
}

.crawl-name {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
}

.crawl-meta {
	font-size: 16px;
	color: var(--ink3);
	margin-top: 2px;
}

.crawl-status {
	font-size: 16px;
	font-weight: 500;
	padding: 4px 11px;
	border-radius: 5px;
}

.crawl-status.running {
	background: #edfaf3;
	color: #1e8449;
}

.crawl-actions {
	display: flex;
	gap: 7px;
}

.crawl-act {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.crawl-act:hover {
	background: var(--surface2);
}

.crawl-act svg {
	width: 14px;
	height: 14px;
	color: var(--ink3);
}

.spark {
	width: 96px;
	height: 34px;
	display: flex;
	align-items: flex-end;
	gap: 2px;
}

.spark-bar {
	flex: 1;
	border-radius: 2px 2px 0 0;
	background: var(--border);
}

.spark-bar.accent {
	background: var(--accent);
}

.spark-bar.hi {
	background: var(--high);
}

.decision-strip {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 17px 24px;
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 17px;
}

.decision-strip p {
	font-size: 16px;
	color: var(--ink3);
	margin-right: auto;
}

.dec-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	height: 36px;
	padding: 0 17px;
	border-radius: 7px;
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink2);
	font-family: "DM Sans", sans-serif;
	transition: all 0.15s;
}

.dec-btn:hover {
	border-color: var(--ink3);
}

.dec-btn.accept {
	background: var(--low);
	border-color: var(--low);
	color: #fff;
}

.dec-btn.reject {
	background: #fff0f0;
	border-color: #f5c6c3;
	color: var(--critical);
}

.dec-btn.accent {
	background-color: rgba(255, 137, 52, 0.1);
	border-color: var(--accent);
	color: var(--accent);
}

.tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--border);
	margin-bottom: 24px;
}

a.tab {
	text-decoration: none;
}

.tab.visited {
	color: var(--accent2);
}

.tab {
	padding: 12px 19px;
	font-size: 17px;
	font-weight: 500;
	color: var(--ink3);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s;
}

.tab:hover {
	color: var(--ink2);
}

.tab.active {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

.tabpanel {
	display: none;
}

.tabpanel.active {
	display: block;
}

.ev-box {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 17px 19px;
	font-size: 16px;
	color: var(--ink2);
	margin-bottom: 12px;
}

.ev-label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ink3);
	margin-bottom: 7px;
}

.ev-claim {
	font-size: 16px;
	color: var(--ink);
	font-style: italic;
	border-left: 4px solid var(--accent);
	padding-left: 14px;
	margin: 12px 0;
	line-height: 1.9;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ev-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	color: var(--ink3);
	font-family: "DM Mono", monospace;
	margin-top: 10px;
}

.ev-hash {
	font-family: "DM Mono", monospace;
	font-size: 14px;
	color: var(--ink4);
	background: var(--surface2);
	border: 1px solid var(--border);
	padding: 2px 7px;
	border-radius: 4px;
}

.leg-row {
	padding: 12px 0;
	border-bottom: 1px solid var(--border2);
}

.leg-row:last-child {
	border-bottom: none;
}

.leg-section {
	font-family: "DM Mono", monospace;
	font-size: 16px;
	color: var(--accent);
	font-weight: 500;
	margin-bottom: 2px;
}

.leg-title {
	font-size: 17px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 4px;
}

.leg-reason {
	font-size: 16px;
	color: var(--ink2);
	line-height: 1.8;
}

.audit-entry {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border2);
	font-size: 16px;
}

.audit-entry:last-child {
	border-bottom: none;
}

.audit-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border);
	flex-shrink: 0;
	margin-top: 5px;
}

.audit-dot.green {
	background: var(--low);
}

.audit-dot.orange {
	background: var(--high);
}

.audit-dot.blue {
	background: #3355aa;
}

.audit-body {
	flex: 1;
}

.audit-action {
	color: var(--ink);
	font-weight: 500;
}

.audit-who {
	color: var(--ink3);
}

.audit-time {
	font-family: "DM Mono", monospace;
	color: var(--ink4);
	font-size: 14px;
	margin-top: 2px;
}

.rbar {
	height: 5px;
	border-radius: 2px;
	background: var(--border);
	overflow: hidden;
	margin-top: 7px;
}

.rbar-fill {
	height: 100%;
	border-radius: 2px;
}

.rbar-fill.critical {
	background: var(--critical);
}

.rbar-fill.high {
	background: var(--high);
}

.rbar-fill.medium {
	background: var(--medium);
}

.text-editor-toolbar {
	display: flex;
	background-color: var(--border2);
	padding: 7px 14px;
	gap: 19px;
	border-radius: 14px 14px 0px 0px;
}

.text-editor-toolbar button,
.text-editor-toolbar .divider {
	background-color: transparent;
	border: none;
	outline: none;
	color: var(--ink2);
}

.text-editor-toolbar button.active {
	color: black;
}

.text-editor-toolbar svg {
	width: 19px;
}

.text-editor {
	border: 1px solid var(--border);
	padding: 12px;
	min-height: 180px;
	border-radius: 0 0 10px 10px;
	display: flex;
	flex-direction: column;
}

.text-editor .tiptap {
	flex: 1;
}

.text-editor .tiptap:focus {
	outline: none;
}

.text-editor .tiptap ol,
.text-editor .tiptap ul {
	padding-left: 24px;
}

.lt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	padding: 4px 10px;
	border-radius: 5px;
	font-weight: 500;
}

.lt-chip.sent {
	background: #f0f4ff;
	color: #3355aa;
}

.lt-chip.responded {
	background: #edfaf3;
	color: #1e8449;
}

/* CLAIMS */

.crow {
	padding: 14px 29px;
	border-bottom: 1px solid var(--border2);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 24px;
}

.crow:hover,
.crow.active {
	background: var(--surface2);
	border-radius: 5px;
}

.crow.active {
	/* margin: 0 -29px; */
}

.crow-sum-body {
	display: flex;
	justify-content: space-between;
	gap: 19px;
	flex-wrap: wrap;
}

.crow-sum {
	flex-grow: 1;
}

.crow-sum,
.crow-desc,
.crow-body {
	max-width: 1140px;
}

.crow-desc-body {
	display: flex;
	justify-content: space-between;
	gap: 2px;
	align-items: start;
	margin-top: 10px;
}

.crow-desc {
	color: var(--ink3);
	font-size: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-width: 0;
	line-height: 23px;
	max-height: calc(23px * 5);
}

.crow .hide-on-close,
.crow .close-btn,
.crow .crow-body,
.crow-desc-active,
.crow.active .crow-desc {
	display: none;
}

.crow.active .crow-desc {
	display: none;
}

/* OPEN STATE */

.crow.active .crow-desc-active,
.crow.active .crow-body {
	display: block;
}

.crow.active .hide-on-close,
.crow.active .close-btn {
	display: flex;
}

.crow.active .open-btn {
	display: none;
}

.crow-actions {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 19px;
}

.crow.active .crow-actions {
	margin-top: 19px;
	margin-bottom: 29px;
}

.printable-crow {
	display: contents;
}

/* .crow-desc-active {
    position: relative;
    line-height: 1.7;
}


.crow-desc-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: -4px;
    right: -4px;
    height: calc(1.7em * 4);
    background: rgba(255, 230, 120, 0.35);
    border-radius: 8px;
    z-index: 0;
}


.crow-desc-active {
    z-index: 1;
}


.representation-label,
.representation-content {
    position: relative;
    z-index: 2;
    background: #fff;
} */

@media print {
	.crawl-actions {
		display: none !important;
		visibility: hidden;
	}
}
