:root {
	color-scheme: light;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	--white: #ffffff;
	--on-accent: #ffffff;
	--grey-1: #f9faff;
	--grey-2: #f2f4fb;
	--grey-3: #e9edf7;
	--grey-4: #dce2f0;
	--grey-5: #c3cbe0;
	--grey-6: #7a85a3;
	--grey-7: #566180;
	--grey-8: #39435f;
	--grey-9: #121830;
	--night-1: #f9faff;
	--night-2: #d8dff1;
	--night-3: #adb9d5;
	--night-4: #7a89b3;
	--night-5: #4a557f;
	--night-6: #3a4468;
	--night-7: #313a5e;
	--night-8: #2a3250;
	--night-9: #242b47;
	--night-10: #1c2340;
	--ground: light-dark(var(--grey-2), var(--night-10));
	--surface: light-dark(var(--white), var(--night-8));
	--raised: light-dark(var(--white), var(--night-7));
	--subtle: light-dark(var(--grey-1), var(--night-9));
	--hover: light-dark(var(--grey-3), var(--night-7));
	--press: light-dark(var(--grey-4), var(--night-6));
	--line: light-dark(var(--grey-4), var(--night-6));
	--line-2: light-dark(var(--grey-5), var(--night-5));
	--edge: light-dark(var(--grey-6), var(--night-4));
	--ink: light-dark(var(--grey-9), var(--night-1));
	--ink-2: light-dark(var(--grey-8), var(--night-2));
	--ink-3: light-dark(var(--grey-7), var(--night-3));
	--accent: light-dark(#3d5afe, #4259f5);
	--accent-hover: light-dark(#2f49e6, #3a50e0);
	--accent-ink: light-dark(#2a3fc7, #aab8ff);
	--accent-soft: light-dark(#eaeeff, #2a3470);
	--accent-line: light-dark(#c6cefe, #3d4a8f);
	--accent-2: light-dark(#a5b3ff, #8a9bff);
	--focus: light-dark(#3d5afe, #8ea0ff);
	--good: light-dark(#0f6b3b, #62d69f);
	--good-soft: light-dark(#e3f5ea, #143626);
	--warn: light-dark(#8a5200, #f2b955);
	--warn-soft: light-dark(#fdf0d8, #3b2c12);
	--bad: light-dark(#b92f27, #ff8f88);
	--bad-soft: light-dark(#fdeceb, #46201f);
	--bad-fill: light-dark(#b92f27, #cf3f37);
	--scrim: light-dark(rgb(18 24 48 / 0.35), rgb(6 9 22 / 0.6));
	--scrim-soft: light-dark(rgb(18 24 48 / 0.12), rgb(6 9 22 / 0.3));
	--shade: light-dark(rgb(18 24 48 / 0.1), rgb(4 6 16 / 0.5));
	--scroll-shade: light-dark(rgb(18 24 48 / 0.3), rgb(4 6 16 / 0.7));
	--lift-1: 0 0 0 1px var(--line), 0 1px 2px light-dark(rgb(18 24 48 / 0.06), rgb(4 6 16 / 0.35)), 0 1px 3px light-dark(rgb(18 24 48 / 0.05), rgb(4 6 16 / 0.2));
	--lift-2: 0 0 0 1px var(--line), 0 2px 4px light-dark(rgb(18 24 48 / 0.06), rgb(4 6 16 / 0.35)), 0 8px 20px -4px light-dark(rgb(18 24 48 / 0.12), rgb(4 6 16 / 0.45));
	--lift-3: 0 0 0 1px var(--line), 0 8px 16px -4px light-dark(rgb(18 24 48 / 0.1), rgb(4 6 16 / 0.4)), 0 24px 56px -12px light-dark(rgb(18 24 48 / 0.22), rgb(4 6 16 / 0.6));
	--r1: 6px;
	--r2: 10px;
	--r3: 14px;
	--h: 32px;
	--ease: cubic-bezier(0.2, 0, 0, 1);
	--t1: 120ms;
	--t2: 200ms;
	--t3: 320ms;
}

:root[data-theme="dark"] {
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root[data-theme="system"] {
		color-scheme: dark;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 14px/1.45 var(--font);
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

small {
	font-size: 12px;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.01em;
}

h1 {
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

h2 {
	font-size: 15px;
}

h3 {
	font-size: 13px;
}

p {
	margin: 0;
}

[hidden] {
	display: none !important;
}

a {
	color: var(--accent-ink);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

::selection {
	background: var(--accent-line);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.i {
	width: 16px;
	height: 16px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.muted {
	color: var(--ink-2);
}

.faint {
	color: var(--ink-3);
}

.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.end {
	margin-left: auto;
}

.app {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	height: 100dvh;
}

.side {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 0;
	padding: 8px 8px 8px;
	overflow-y: auto;
	scrollbar-width: none;
}

.side-top {
	display: flex;
	align-items: center;
	gap: 2px;
}

.ws {
	--bg: transparent;
	--bd: transparent;
	flex: 1;
	min-width: 0;
	justify-content: flex-start;
	height: 36px;
	padding: 0 8px;
	font-size: 14px;
	font-weight: 600;
}

.ws span:not(.mark) {
	overflow: hidden;
	text-overflow: ellipsis;
}

.ws .i {
	color: var(--ink-3);
}

.mark {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--accent);
	color: var(--on-accent);
	font-size: 12px;
	font-weight: 700;
	flex: none;
}

.side-row {
	display: flex;
	gap: 4px;
	margin: 4px 0 8px;
}

.find {
	position: relative;
	flex: 1;
	min-width: 0;
}

.find .i {
	position: absolute;
	left: 9px;
	top: 50%;
	translate: 0 -50%;
	color: var(--ink-3);
	pointer-events: none;
}

.find input {
	padding-left: 32px;
	padding-right: 32px;
}

.find kbd {
	position: absolute;
	right: 8px;
	top: 50%;
	translate: 0 -50%;
}

.nav {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav a {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 8px;
	border-radius: var(--r1);
	color: var(--ink-2);
	font-weight: 500;
	text-decoration: none;
}

.nav a:hover {
	background: var(--hover);
	color: var(--ink);
}

.nav a[aria-current] {
	background: none;
	color: var(--ink);
}

.nav a[aria-current]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--surface);
	box-shadow: var(--lift-1);
}

.nav .i {
	color: var(--ink-3);
}

.nav a[aria-current] .i {
	color: var(--accent-ink);
}

.count {
	margin-left: auto;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.count.new {
	min-width: 20px;
	height: 18px;
	padding: 0 4px;
	border-radius: 99px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.nav-label {
	margin: 16px 8px 4px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 500;
}

.side-foot {
	display: grid;
	gap: 4px;
	margin-top: auto;
	padding-top: 12px;
}

.sending {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 12px;
	border-radius: var(--r2);
	background: var(--surface);
	box-shadow: var(--lift-1);
}

.sending b {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

.sending small {
	display: block;
	overflow: hidden;
	color: var(--ink-3);
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--good);
	box-shadow: 0 0 0 3px var(--good-soft);
}

.pulse.off {
	background: var(--warn);
	box-shadow: 0 0 0 3px var(--warn-soft);
}

.me {
	--bg: transparent;
	--bd: transparent;
	--fg: var(--ink-2);
	justify-content: flex-start;
	width: 100%;
	height: 36px;
	padding: 0 8px;
}

.me span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.sheet {
	min-width: 0;
	margin: 8px 8px 8px 0;
	overflow: auto;
	border-radius: 12px;
	background: var(--surface);
	scrollbar-gutter: stable;
	box-shadow: var(--lift-1);
}

.page {
	padding: 24px 32px 48px;
}

.page > * + * {
	margin-top: 16px;
}

.page > :is(.head, .tabs) + *,
.page > :is(dialog, script, [data-flash]) {
	margin-top: 0;
}

.head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	min-height: var(--h);
	padding-bottom: 16px;
}

.head h1 {
	flex: none;
	max-width: 100%;
	line-height: var(--h);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.head h1 > * {
	vertical-align: 3px;
}

.head h1 > a {
	color: var(--ink-3);
	font-weight: 500;
	text-decoration: none;
	vertical-align: baseline;
}

.head h1 > a:hover {
	color: var(--ink);
}

.head h1 > a::after {
	content: "/";
	margin: 0 8px;
	color: var(--line-2);
}

.head h1 > .av {
	margin-right: 8px;
	vertical-align: 2px;
}

.head .sub {
	flex: 1 1 0;
	min-width: 120px;
	margin: 0;
	overflow: hidden;
	color: var(--ink-2);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.head > :not(h1, .sub) {
	flex: none;
	margin-left: auto;
}

.head :is(form, .acts) > input:not([type="hidden"]) {
	flex: none;
	width: 220px;
}

.sub {
	color: var(--ink-2);
}

.acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.tabs {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	gap: 4px;
	align-items: center;
	height: 43px;
	margin: 0 -32px 24px;
	padding: 0 32px;
	overflow-x: auto;
	border-bottom: 1px solid var(--line);
	background: var(--surface);
	scrollbar-width: none;
}

.tabs a {
	--h: 32px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: var(--h);
	padding: 0 12px;
	border: 1px solid var(--edge);
	border-radius: var(--r1);
	background: var(--surface);
	color: var(--ink-2);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.tabs a:hover {
	background: var(--hover);
	color: var(--ink);
}

.tabs a[aria-current] {
	border-color: var(--focus);
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 2px var(--focus);
	color: var(--accent-ink);
	font-weight: 600;
}

button,
.btn,
::file-selector-button {
	--bg: var(--surface);
	--fg: var(--ink);
	--bd: var(--line-2);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: var(--h);
	padding: 0 12px;
	border: 1px solid var(--bd);
	border-radius: var(--r1);
	background: var(--bg);
	color: var(--fg);
	font: 500 13px/20px var(--font);
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	transition: background-color var(--t1) var(--ease), border-color var(--t1) var(--ease);
}

button:hover,
.btn:hover,
::file-selector-button:hover {
	--bg: var(--hover);
	text-decoration: none;
}

button:active,
.btn:active {
	background-color: color-mix(in srgb, var(--bg), var(--ink) 8%);
}

.btn .i,
button .i {
	width: 15px;
	height: 15px;
}

.primary {
	--bg: var(--accent);
	--fg: var(--on-accent);
	--bd: transparent;
}

.primary:hover {
	--bg: var(--accent-hover);
}

.ghost {
	--bg: transparent;
	--bd: transparent;
	--fg: var(--ink-2);
}

.ghost:hover {
	--bg: var(--hover);
	--fg: var(--ink);
}

.danger {
	--fg: var(--bad);
}

.danger:hover {
	--bg: var(--bad-soft);
	--bd: transparent;
}

.destroy {
	--bg: var(--bad-fill);
	--fg: var(--on-accent);
	--bd: transparent;
}

.destroy:hover {
	--bg: color-mix(in srgb, var(--bad-fill), var(--grey-9) 14%);
}

.sm {
	--h: 28px;
	padding: 0 8px;
	font-size: 13px;
}

.icon {
	width: var(--h);
	padding: 0;
}

button:disabled,
.btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

[aria-busy="true"] {
	pointer-events: none;
	animation: busy 1ms both;
}

[aria-busy="true"]::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid var(--fg);
	border-right-color: transparent;
	border-radius: 50%;
	opacity: 0;
	animation: spin 0.6s linear infinite, show 1ms forwards;
}

.group {
	display: inline-flex;
}

.group > * {
	border-radius: 0;
}

.group > :first-child {
	border-radius: var(--r1) 0 0 var(--r1);
}

.group > :last-child {
	border-radius: 0 var(--r1) var(--r1) 0;
}

.group > * + * {
	margin-left: -1px;
}

kbd {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 1px solid var(--line-2);
	border-bottom-width: 2px;
	border-radius: 4px;
	background: var(--surface);
	color: var(--ink-3);
	font: 500 12px var(--mono);
}

input:where(:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"])),
select,
textarea {
	width: 100%;
	height: var(--h);
	padding: 0 8px;
	border: 1px solid var(--edge);
	border-radius: var(--r1);
	outline: none;
	background: var(--surface);
	color: var(--ink);
	font: 400 13.5px var(--font);
}

:is(input, select, textarea):hover {
	border-color: var(--ink-3);
}

:is(input, select, textarea):focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

:is(input, select, textarea):user-invalid {
	border-color: var(--bad);
	box-shadow: 0 0 0 3px var(--bad-soft);
}

::placeholder {
	color: var(--ink-3);
}

textarea {
	height: auto;
	min-height: 88px;
	max-height: 60vh;
	padding: 8px 8px;
	line-height: 1.55;
	resize: vertical;
	field-sizing: content;
}

select {
	appearance: none;
	padding-right: 32px;
	background: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%) calc(100% - 15px) 50% / 5px 5px no-repeat, linear-gradient(135deg, var(--ink-3) 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat, var(--surface);
}

input[type="checkbox"],
input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--accent);
	cursor: pointer;
}

input[type="checkbox"]:not(.switch),
input[type="radio"] {
	appearance: none;
	position: relative;
	flex: none;
	border: 1px solid var(--edge);
	border-radius: 4px;
	background: var(--surface);
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:not(.switch)::before,
input[type="radio"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--on-accent);
	transform: scale(0);
	transition: transform var(--t1) var(--ease);
}

input[type="checkbox"]:not(.switch)::before {
	clip-path: polygon(19% 54%, 26% 47%, 41% 61%, 74% 25%, 81% 32%, 41% 76%);
}

input[type="radio"]::before {
	inset: 3px;
	border-radius: 50%;
}

input[type="checkbox"]:not(.switch):checked,
input[type="radio"]:checked {
	/* ui-lint: allow colored-border */
	border-color: var(--accent);
	background: var(--accent);
}

input[type="checkbox"]:not(.switch):checked::before,
input[type="radio"]:checked::before {
	transform: scale(1);
}

input[type="color"] {
	width: 40px;
	height: var(--h);
	padding: 4px;
	border: 1px solid var(--edge);
	border-radius: var(--r1);
	background: var(--surface);
	cursor: pointer;
}

:is(td, th) > input[type="checkbox"] {
	display: block;
}

input[type="file"] {
	color: var(--ink-2);
	font: 13px var(--font);
}

::file-selector-button {
	margin-right: 8px;
}

input[type="checkbox"].switch {
	appearance: none;
	position: relative;
	flex: none;
	width: 32px;
	height: 18px;
	border-radius: 99px;
	background: var(--hover);
	box-shadow: inset 0 0 0 1px var(--edge);
}

input[type="checkbox"].switch::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--edge);
	transition: transform var(--t1) var(--ease);
}

input[type="checkbox"].switch:checked {
	background: var(--accent);
	box-shadow: none;
}

input[type="checkbox"].switch:checked::before {
	background: var(--white);
	box-shadow: 0 1px 2px var(--shade);
	transform: translateX(14px);
}

label {
	display: grid;
	align-content: start;
	gap: 4px;
	color: var(--ink-2);
	font-size: 12.5px;
	font-weight: 500;
}

:where(label):has(> input:is([type="checkbox"], [type="radio"])) {
	display: flex;
	align-content: center;
	align-items: center;
	gap: 2px 8px;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 400;
	cursor: pointer;
}

:where(label):has(> input:is([type="checkbox"], [type="radio"])) > input {
	flex: none;
}

:where(label):has(> input:is([type="checkbox"], [type="radio"])):has(> small) {
	flex-wrap: wrap;
}

:where(label):has(> input:is([type="checkbox"], [type="radio"])) > small {
	flex-basis: 100%;
	padding-left: 24px;
}

:where(label):has(> .switch) > small {
	padding-left: 32px;
}

h2 + .hint {
	margin-top: 4px;
}

label small,
.hint {
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 400;
}

.form {
	display: grid;
	gap: 16px;
}

.fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

:is(.acts, .toolbar) > :is(input:not([type="checkbox"], [type="radio"]), select),
:is(.acts, .toolbar) > label:not(.find) > :is(input:not([type="checkbox"], [type="radio"]), select) {
	width: auto;
}

:is(.acts, .toolbar) > input:not([type="number"], [type="hidden"], [type="checkbox"], [type="radio"]) {
	flex: 1 1 200px;
	min-width: 0;
}

:is(.acts, .toolbar, .wait) input[type="number"] {
	width: 72px;
}

:is(.acts, .toolbar) > label:not(.find) {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.range {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-3);
	font-weight: 400;
}

.range input {
	flex: 1;
	min-width: 0;
}

.range input:is([type="time"], [type="number"]) {
	flex: 0 1 140px;
}

.when {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--ink-3);
	font-weight: 400;
}

.when input {
	width: auto;
	height: 28px;
	font-size: 12.5px;
}

fieldset {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.chips label {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--edge);
	border-radius: 99px;
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.chips input:is([type="checkbox"], [type="radio"]) {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.chips label:has(input:checked) {
	border-color: var(--focus);
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 2px var(--focus);
	color: var(--accent-ink);
}

.chips label:has(input:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.card {
	overflow: clip;
	border-radius: var(--r2);
	background: var(--surface);
	box-shadow: var(--lift-1);
}

.card > header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	min-height: 52px;
	padding: 8px 12px 8px 16px;
	border-bottom: 1px solid var(--line);
}

:is(.card, .step) > header h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.card > header h2 .count {
	margin-left: 0;
}

.card > header > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.card > header small {
	color: var(--ink-3);
	font-size: 12px;
}

.card.stack {
	gap: 16px;
	padding: 16px;
}

.card.stack > header {
	margin: -16px -16px 0;
}

.card > footer,
.card > form:not(.composer) > footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--line);
	background: var(--subtle);
}

.card.stack > footer {
	margin: 0 -16px -16px;
}

.card > footer > .primary,
.card > form:not(.composer) > footer > .primary {
	order: 1;
}

.card footer > input {
	flex: 1;
	width: auto;
	min-width: 0;
}

.card > .toolbar {
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
}

.card > .toolbar:last-child {
	border-top: 1px solid var(--line);
	border-bottom: 0;
}

.card > .timeline {
	padding: 8px 16px;
}

.card > .composer {
	margin: 4px 16px 16px;
}

.card:not(.stack) .list {
	border: 0;
	border-radius: 0;
}

.savebar {
	position: sticky;
	bottom: 0;
	z-index: 4;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	background: var(--surface);
}

.pad {
	padding: 16px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 16px;
}

.stack {
	display: grid;
	align-content: start;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: start;
	gap: 24px;
}

.split.index {
	grid-template-columns: 300px minmax(0, 1fr);
}

.split.single {
	grid-template-columns: minmax(0, 640px);
}

@media (min-width: 1101px) {
	.page:has(> .replies) {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-height: 0;
		padding-bottom: 24px;
	}

	.split.replies {
		flex: 1;
		min-height: 0;
		grid-template-columns: minmax(300px, 384px) minmax(0, 1fr);
		align-items: stretch;
	}

	.replies > .card {
		overflow-y: auto;
	}

	.replies > .card:has(> .empty) {
		display: grid;
		place-content: center;
	}
}

.aside {
	position: sticky;
	top: 16px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--r2);
	background: var(--line);
	box-shadow: var(--lift-1);
}

.stat {
	flex: 1 1 150px;
	padding: 12px 16px;
	background: var(--surface);
}

.stat dt {
	color: var(--ink-2);
	font-size: 12.5px;
	font-weight: 500;
}

.stat dd {
	margin: 4px 0 0;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.stat small {
	display: block;
	margin-top: 2px;
	color: var(--ink-3);
	font-size: 12px;
}

.props {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	margin: 0;
	padding: 8px 16px;
	font-size: 13.5px;
	line-height: 20px;
}

:is(.pad, .stack) > .props {
	padding: 0;
}

.props :is(dt, dd) {
	min-width: 0;
	margin: 0;
	padding: 8px 0;
	overflow-wrap: anywhere;
}

.props dt {
	color: var(--ink-3);
}

.props dd,
.props .inline {
	font-weight: 500;
}

.props dd:has(> .inline) {
	padding: 2px 0;
}

.props .inline {
	width: calc(100% + 8px);
	margin-left: -8px;
	border-color: var(--edge);
	background-color: var(--surface);
}

.props .inline:hover {
	border-color: var(--ink-3);
	background-color: var(--surface);
}

.inline {
	height: 30px;
	padding: 0 8px;
	border-color: transparent;
	background-color: transparent;
}

.inline:hover {
	border-color: transparent;
	background-color: var(--hover);
}

.inline:focus {
	background-color: var(--surface);
}

.toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.toolbar .find {
	flex: 0 1 300px;
}

.list {
	overflow: clip;
	border-radius: var(--r2);
	box-shadow: var(--lift-1);
}

table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13.5px;
}

th {
	height: 36px;
	padding: 0 12px;
	border-bottom: 1px solid var(--line);
	background: var(--subtle);
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
}

.list th {
	position: sticky;
	top: var(--stick, 0);
	z-index: 2;
}

.tabs ~ * {
	--stick: 43px;
}

td {
	height: 46px;
	padding: 4px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

tbody tr {
	position: relative;
}

tbody tr:hover td {
	background: var(--subtle);
}

tbody tr:last-child td {
	border-bottom: 0;
}

th:first-child:has(input),
td:first-child:has(input) {
	width: 40px;
	padding-right: 0;
}

:is(td, .docs li) :is(input, button, .btn) {
	position: relative;
	z-index: 1;
}

td > small {
	display: block;
	margin-top: 2px;
	color: var(--ink-3);
	font-size: 12px;
}

td.num > small {
	display: inline;
	margin-left: 4px;
}

a.go,
span.go {
	color: var(--ink);
	font-weight: 600;
}

a.go::after {
	content: "";
	position: absolute;
	inset: 0;
}

a.go:hover {
	text-decoration: none;
}

.who {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.who > span {
	display: grid;
	min-width: 0;
}

.who small {
	overflow: hidden;
	color: var(--ink-3);
	font-size: 12.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.seg {
	display: inline-flex;
	flex-wrap: wrap;
	max-width: 100%;
	gap: 4px;
}

.seg :is(a, button) {
	--bg: var(--surface);
	--bd: var(--edge);
	--fg: var(--ink-2);
	--h: 32px;
	flex: none;
	padding: 0 12px;
	font-size: 13px;
	text-decoration: none;
}

.seg a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: var(--h);
	border: 1px solid var(--bd);
	border-radius: var(--r1);
	background: var(--bg);
	color: var(--fg);
	font-weight: 500;
	white-space: nowrap;
}

.seg :is(a, button):hover {
	--bg: var(--hover);
	--fg: var(--ink);
}

.seg :is(a, button)[aria-current] {
	--bg: var(--accent-soft);
	--bd: var(--focus);
	--fg: var(--accent-ink);
	font-weight: 600;
	box-shadow: inset 0 0 0 2px var(--focus);
}

.seg.levels a {
	text-transform: capitalize;
}

.seg small {
	color: var(--ink-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.seg form {
	display: contents;
}

.seg.stages {
	display: flex;
}

.seg.stages button {
	flex: 1 1 0;
	min-width: max-content;
	white-space: nowrap;
}

.pager .group:empty {
	display: none;
}

.pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 12px;
	border-top: 1px solid var(--line);
	color: var(--ink-3);
	font-size: 12.5px;
}

form:has(.pick) {
	counter-reset: picked;
}

.pick:checked {
	counter-increment: picked;
}

.bulk {
	position: sticky;
	bottom: 16px;
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	max-width: 100%;
	align-items: center;
	gap: 4px;
	width: fit-content;
	margin: 12px auto 0;
	padding: 4px 4px 4px 12px;
	border-radius: 12px;
	background: var(--ink);
	color: var(--surface);
	font-size: 13px;
	font-weight: 500;
	box-shadow: var(--lift-2);
	transition: opacity var(--t2) var(--ease), translate var(--t2) var(--ease);
}

form:not(:has(.pick:checked)) .bulk {
	display: none;
}

.bulk .n::before {
	content: counter(picked) " selected";
}

.bulk input {
	width: 96px;
	background-color: transparent;
}

.bulk :is(button, .btn, select, input) {
	--bg: transparent;
	--fg: var(--surface);
	--bd: color-mix(in srgb, var(--surface) 22%, transparent);
	width: auto;
	height: 28px;
	color: var(--surface);
}

.bulk :is(button, .btn):hover {
	--bg: color-mix(in srgb, var(--surface) 12%, transparent);
}

.bulk select {
	background-color: transparent;
}

@starting-style {
	.bulk {
		opacity: 0;
		translate: 0 8px;
	}
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 22px;
	padding: 0 8px;
	border-radius: 99px;
	background: var(--hover);
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0;
	white-space: nowrap;
}

.pill.dot::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

span.dot:not(.pill) {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.good {
	--tone: var(--good);
	--tone-soft: var(--good-soft);
}

.warn {
	--tone: var(--warn);
	--tone-soft: var(--warn-soft);
}

.bad {
	--tone: var(--bad);
	--tone-soft: var(--bad-soft);
}

.accent {
	--tone: var(--accent-ink);
	--tone-soft: var(--accent-soft);
}

.pill:is(.good, .warn, .bad, .accent) {
	background: var(--tone-soft);
	color: var(--tone);
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--line-2);
	border-radius: var(--r1);
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

.tag.more {
	border-style: dashed;
	color: var(--ink-3);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.seqchips [data-variable] {
	--bd: var(--line);
	--bg: var(--subtle);
	font: 12px var(--mono);
}

.badge {
	position: absolute;
	top: 3px;
	right: 3px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid var(--ground);
	border-radius: 99px;
	background: var(--bad-soft);
	color: var(--bad);
	font: 600 12px/14px var(--font);
	text-align: center;
	box-sizing: border-box;
}

.av {
	--hue: 250;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: none;
	padding: 0;
	border-radius: 50%;
	background: light-dark(oklch(0.93 0.035 var(--hue)), oklch(0.33 0.05 var(--hue)));
	color: light-dark(oklch(0.42 0.09 var(--hue)), oklch(0.87 0.06 var(--hue)));
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	/* ui-lint: allow uppercase */
	text-transform: uppercase;
}

.av.sm {
	width: 24px;
	height: 24px;
	font-size: 12px;
}

.meter {
	display: flex;
	gap: 2px;
	max-width: 240px;
	height: 6px;
	overflow: hidden;
	border-radius: 99px;
	background: var(--line-2);
}

.meter i {
	flex: none;
	border-radius: inherit;
	background: var(--accent);
}

.meter i + i {
	background: var(--accent-2);
}

.empty {
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 48px 24px;
	color: var(--ink-2);
	text-align: center;
}

.empty > .i {
	width: 20px;
	height: 20px;
	box-sizing: content-box;
	margin-bottom: 8px;
	padding: 8px;
	border-radius: 12px;
	background: var(--hover);
	color: var(--ink-3);
}

.empty b {
	color: var(--ink);
	font-weight: 600;
}

.empty p {
	max-width: 360px;
}

.empty > :is(.btn, .acts) {
	margin-top: 12px;
}

.empty > .acts {
	width: min(100%, 400px);
	justify-content: center;
}

[popover] {
	margin: auto;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	overflow: visible;
}

.menu {
	min-width: 220px;
	padding: 4px;
	border-radius: var(--r2);
	background: var(--raised);
	box-shadow: var(--lift-2);
	opacity: 1;
	transform: none;
	transform-origin: top left;
	transition: opacity var(--t1) var(--ease), transform var(--t1) var(--ease), display var(--t1) allow-discrete, overlay var(--t1) allow-discrete;
}

@supports (position-area: bottom) {
	.menu {
		margin: 4px 0;
		position-area: bottom span-right;
		position-try-fallbacks: flip-block, flip-inline;
	}

	.menu.up {
		position-area: top span-right;
		transform-origin: bottom left;
	}
}

.menu:not(:popover-open) {
	opacity: 0;
	transform: scale(0.98);
}

@starting-style {
	.menu:popover-open {
		opacity: 0;
		transform: scale(0.98);
	}
}

.menu :is(a, button) {
	--bg: transparent;
	--bd: transparent;
	display: flex;
	justify-content: flex-start;
	width: 100%;
	height: 32px;
	padding: 0 8px;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 400;
	text-decoration: none;
	transform: none;
}

.menu :is(a, button):hover {
	--bg: var(--hover);
}

.menu .i {
	color: var(--ink-3);
}

.menu kbd {
	margin-left: auto;
}

.menu hr {
	margin: 4px -4px;
	border: 0;
	border-top: 1px solid var(--line);
}

.menu .label {
	padding: 8px 8px 4px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 500;
}

.menu form {
	display: contents;
}

.panel {
	width: 300px;
	padding: 12px;
}

dialog {
	width: min(460px, calc(100vw - 32px));
	padding: 0;
	border-radius: var(--r3);
	background: var(--raised);
	color: var(--ink);
	box-shadow: var(--lift-3);
	opacity: 1;
	transform: none;
	transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), display var(--t2) allow-discrete, overlay var(--t2) allow-discrete;
}

dialog:not([open]) {
	opacity: 0;
	transform: scale(0.98);
}

@starting-style {
	dialog[open] {
		opacity: 0;
		transform: scale(0.98);
	}
}

dialog::backdrop {
	background: var(--scrim);
	opacity: 1;
	transition: opacity var(--t2) var(--ease), display var(--t2) allow-discrete, overlay var(--t2) allow-discrete;
}

dialog:not([open])::backdrop {
	opacity: 0;
}

@starting-style {
	dialog[open]::backdrop {
		opacity: 0;
	}
}

dialog header {
	padding: 16px 16px 0;
}

dialog h2 {
	font-size: 16px;
}

dialog .body {
	padding: 8px 16px 16px;
	color: var(--ink-2);
}

dialog footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--line);
	border-radius: 0 0 var(--r3) var(--r3);
	background: var(--subtle);
}

.feed:popover-open {
	position: fixed;
	inset: 8px 8px 8px auto;
	display: flex;
	flex-direction: column;
	width: min(440px, calc(100vw - 16px));
	height: auto;
	margin: 0;
	overflow: hidden;
	border-radius: var(--r3);
	background: var(--raised);
	box-shadow: var(--lift-3);
	transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), display var(--t2) allow-discrete, overlay var(--t2) allow-discrete;
}

@starting-style {
	.feed:popover-open {
		opacity: 0;
		transform: translateX(16px);
	}
}

.feed::backdrop {
	background: var(--scrim-soft);
}

.feed > header {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 12px 12px 12px 16px;
	border-bottom: 1px solid var(--line);
}

.feed h2 {
	margin-right: auto;
	font-size: 16px;
}

.feed .filters {
	display: grid;
	gap: 8px;
	padding: 12px 16px 12px;
	border-bottom: 1px solid var(--line);
	background: var(--subtle);
}

.feed .chips label {
	height: 28px;
	padding: 0 8px;
	background: var(--surface);
	font-size: 12.5px;
}

.feed .docs {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.feedbody {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.feedtabs {
	margin: 12px 16px 8px;
	align-self: start;
}

.alertgroup h3,
.card.alertgroup > header h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
}

.alertgroup > h3 {
	padding: 16px 16px 8px;
	color: var(--ink-2);
}

.alertgroup[data-tier="needs"] > h3 {
	color: var(--ink);
}

.alertlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.alertlist li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 4px 12px;
	padding: 12px 16px;
	border-top: 1px solid var(--line);
}

.alertlist li.empty {
	display: block;
	color: var(--ink-3);
	font-size: 13px;
}

.alertlist .what {
	display: grid;
	gap: 2px;
	min-width: 0;
	overflow: visible;
	overflow-wrap: anywhere;
	white-space: normal;
	text-overflow: clip;
}

.alertlist .what b {
	font-weight: 600;
}

.alertlist small {
	color: var(--ink-3);
	font-size: 12px;
}

.alertlist .acts {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	padding-top: 4px;
}

.alertlist .acts form {
	margin: 0;
}

.feed .docs li {
	align-items: start;
	padding-left: 16px;
}

.feed .docs li > span:not(.pill) {
	gap: 2px;
}

.feed .docs :is(a.go, b) {
	font-weight: 500;
	white-space: normal;
}

.clip {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100vw - 32px);
	padding: 8px 8px 8px 12px;
	border-radius: var(--r2);
	background: var(--ink);
	color: var(--surface);
	font-weight: 500;
	box-shadow: var(--lift-2);
	translate: -50% 0;
	animation: toast-in var(--t2) var(--ease) both, toast-out var(--t2) var(--ease) 4.5s forwards;
}

.toast > .i {
	color: var(--good-soft);
}

.toast.bad > .i {
	color: inherit;
}

.toast.bad {
	background: var(--bad-soft);
	color: var(--bad);
	animation: toast-in var(--t2) var(--ease) both;
}

.toast button {
	--bg: transparent;
	--bd: color-mix(in srgb, currentColor 25%, transparent);
	--fg: inherit;
	--h: 26px;
	padding: 0 8px;
}

.toast button:hover {
	--bg: color-mix(in srgb, currentColor 12%, transparent);
}

.toast .icon {
	--bd: transparent;
	width: 26px;
	padding: 0;
}


.letter-head {
	padding: 24px 24px 0;
}

.letter-head h1 {
	margin-bottom: 16px;
	font-size: 20px;
}

.sender {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 12px;
}

.sender .av {
	grid-row: span 2;
	width: 36px;
	height: 36px;
	font-size: 13px;
}

.sender small {
	overflow: hidden;
	color: var(--ink-3);
	font-size: 12.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sender time {
	grid-row: span 2;
	color: var(--ink-3);
	font-size: 12.5px;
}

.letter-body {
	max-width: 760px;
	padding: 24px 24px 24px;
	color: var(--ink);
	font-size: 14.5px;
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.letter-frame {
	display: block;
	width: 100%;
	min-height: 420px;
	border: 0;
	background: var(--white);
}

.linked {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 24px 0;
	padding: 8px 12px;
	border-radius: var(--r2);
	background: var(--subtle);
	font-size: 13px;
	box-shadow: var(--lift-1);
}

.linked > div {
	display: grid;
	min-width: 0;
}

.linked small {
	color: var(--ink-3);
}

.composer {
	border: 1px solid var(--edge);
	border-radius: var(--r2);
	background: var(--surface);
}

.composer:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.composer textarea {
	min-height: 76px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.composer > footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 8px;
}

.notes {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.note {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 0 12px;
	padding: 12px 0;
}

.note > div {
	position: relative;
	min-width: 0;
}

.note-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	font-size: 13px;
}

.note-meta b {
	font-weight: 600;
}

.note-meta time,
.note-meta span {
	color: var(--ink-3);
	font-size: 12.5px;
}

.note-body {
	margin-top: 4px;
	color: var(--ink);
	line-height: 1.55;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.note-acts {
	position: absolute;
	top: -6px;
	right: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2px;
	opacity: 0;
	transition: opacity var(--t1) var(--ease);
}

.note:hover:not(:has(.note:hover)) > div > .note-acts,
.note:focus-within:not(:has(.note:focus-within)) > div > .note-acts {
	opacity: 1;
}

.note-acts:has(details[open]) {
	position: static;
	margin: 8px 0 0 -8px;
	opacity: 1;
}

.note-acts summary {
	list-style: none;
}

.note-acts summary::-webkit-details-marker {
	display: none;
}

.note-acts details[open] {
	flex-basis: 100%;
	order: 1;
	margin: 4px 0 4px 8px;
}

.note-acts details[open] > summary {
	display: none;
}

ol.replies {
	grid-column: 1 / -1;
	margin: 4px 0 0 12px;
	padding: 0 0 0 24px;
	border-left: 1px solid var(--line);
	list-style: none;
}

.thread > summary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 4px 0 0 32px;
	color: var(--accent-ink);
	font-size: 12.5px;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.thread > summary::-webkit-details-marker {
	display: none;
}

.thread[open] > summary {
	display: none;
}

.files {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
}

.file {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	height: 32px;
	padding: 0 8px 0 4px;
	border-radius: var(--r1);
	background: var(--subtle);
	color: var(--ink);
	font-size: 12.5px;
	text-decoration: none;
	box-shadow: var(--lift-1);
}

.file:hover {
	border-color: var(--line-2);
	text-decoration: none;
}

.file small {
	color: var(--ink-3);
}

.ficon {
	display: grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	flex: none;
	padding-inline: 4px;
	border-radius: 8px;
	background: var(--hover);
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	/* ui-lint: allow uppercase */
	text-transform: uppercase;
}

.file .ficon {
	min-width: 24px;
	height: 24px;
	padding-inline: 0;
	border-radius: 4px;
}

.docs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.docs li {
	position: relative;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 8px 12px 8px 16px;
	border-bottom: 1px solid var(--line);
}

.docs li:last-child {
	border-bottom: 0;
}

.docs li:hover {
	background: var(--subtle);
}

.docs li[aria-current] {
	background: var(--accent-soft);
}

.docs .stamp {
	justify-items: end;
	gap: 4px;
	white-space: nowrap;
}

.docs li > span {
	display: grid;
	min-width: 0;
}

.docs a.go {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.docs small {
	color: var(--ink-3);
	font-size: 12px;
}

.docs :is(a.go, strong) {
	color: var(--ink);
	font-weight: 500;
}

.docs small.fix {
	margin-top: 2px;
	color: var(--ink);
	font-weight: 500;
}

.card > details {
	padding: 12px 16px;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
	font-size: 13px;
}

.card > details[open] > summary {
	margin-bottom: 8px;
}

.card > details.rules {
	border-top: 0;
}

.rules > summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.rules > summary small {
	margin-left: 8px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 400;
}

.rules[open] > summary .i {
	transform: rotate(180deg);
}

.card > details > .docs {
	margin: 0 -16px -12px;
}

.card > form:not([class]) {
	padding: 12px 16px;
	border-top: 1px solid var(--line);
}

.card > form:not([class]):has(> .props) {
	padding: 0;
	border-top: 0;
}

.card:has(> table) {
	overflow-x: auto;
}

.card + .stats {
	margin-top: 16px;
}

.drop {
	position: relative;
	display: grid;
	place-items: center;
	gap: 2px;
	margin: 12px 16px 16px;
	padding: 16px;
	border: 1px dashed var(--line-2);
	border-radius: var(--r2);
	color: var(--ink-3);
	font-size: 13px;
	text-align: center;
}

.drop b {
	color: var(--accent-ink);
	font-weight: 500;
}

.drop input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.drop:hover,
.drop.over {
	/* ui-lint: allow colored-border */
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.drop:has(input:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}

.timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 2px 12px;
	padding: 8px 0;
}

.timeline li > :not(.dot-icon) {
	grid-column: 2;
	min-width: 0;
}

.timeline .dot-icon {
	grid-row: span 2;
}

.timeline li::before {
	content: "";
	position: absolute;
	top: 40px;
	bottom: -4px;
	left: 13.5px;
	width: 1px;
	background: var(--line);
}

.timeline li:last-child::before {
	display: none;
}

.dot-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--hover);
	color: var(--ink-2);
}

.dot-icon .i {
	width: 14px;
	height: 14px;
}

.dot-icon:is(.good, .warn, .bad, .accent) {
	background: var(--tone-soft);
	color: var(--tone);
}

.timeline p {
	padding-top: 4px;
	overflow-wrap: anywhere;
}

.timeline time {
	color: var(--ink-3);
	font-size: 12px;
}

.quote {
	display: block;
	margin-top: 4px;
	padding: 8px 8px;
	border-radius: var(--r1);
	background: var(--subtle);
	color: var(--ink-2);
	font-size: 13px;
	white-space: pre-wrap;
}

.board {
	display: grid;
	grid-auto-columns: minmax(148px, 1fr);
	grid-auto-flow: column;
	gap: 12px;
	margin: 0 -32px;
	padding: 0 32px 24px;
	overflow-x: auto;
}

.col {
	display: grid;
	align-content: start;
	gap: 8px;
	min-height: 160px;
	padding: 4px 8px 8px;
	border-radius: var(--r2);
	background: var(--subtle);
	box-shadow: var(--lift-1);
}

.col > header {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 4px;
}

.col h2 {
	font-size: 13px;
}

.col .count {
	margin-left: 0;
}

.col .sum {
	margin-left: auto;
	color: var(--ink-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.col .means {
	padding: 0 4px 4px;
	color: var(--ink-3);
	font-size: 12px;
	line-height: 1.4;
}

.col > .empty {
	padding: 12px 4px;
	color: var(--ink-3);
	font-size: 12px;
	line-height: 1.4;
}

.col.over {
	/* ui-lint: allow colored-border */
	border-color: var(--accent);
	background: var(--accent-soft);
}

.stage {
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--tone, var(--ink-3));
}

.deal {
	display: grid;
	gap: 8px;
	padding: 8px 12px;
	border-radius: var(--r1);
	background: var(--surface);
	box-shadow: var(--lift-1);
	color: var(--ink);
	text-decoration: none;
	cursor: grab;
	transition: opacity var(--t1) var(--ease);
}

.deal:hover {
	border-color: var(--line-2);
	text-decoration: none;
}

.deal:active {
	cursor: grabbing;
}

.deal b {
	font-weight: 500;
}

.deal > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 8px;
	color: var(--ink-3);
	font-size: 12.5px;
}

.deal .next {
	padding-top: 8px;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
}

.deal .next.mine span:first-child {
	color: var(--accent-ink);
	font-weight: 600;
}

.deal .next.late span {
	color: var(--bad);
	font-weight: 600;
}

.finder {
	position: relative;
}

.finder .hits {
	position: absolute;
	z-index: 5;
	inset: calc(100% + 4px) 0 auto;
	display: grid;
	margin: 0;
	padding: 4px;
	border-radius: var(--r1);
	background: var(--raised);
	box-shadow: var(--lift-2);
	list-style: none;
}

.finder .hits[hidden] {
	display: none;
}

.finder .hits button {
	--bg: transparent;
	--bd: transparent;
	justify-content: space-between;
	width: 100%;
	height: 44px;
	text-align: left;
}

.finder .hits small {
	color: var(--ink-3);
}

.deal .val {
	color: var(--ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.deal[data-dragging] {
	opacity: 0.4;
	transform: scale(0.98);
}

.col > .add {
	--bg: transparent;
	--bd: transparent;
	--fg: var(--ink-3);
	justify-content: flex-start;
}

.col > .add:hover {
	--bg: var(--hover);
	--fg: var(--ink);
}

.wait {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0 8px 24px;
	color: var(--ink-3);
	font-size: 12.5px;
}

.wait::before {
	content: "";
	width: 1px;
	height: 32px;
	margin-right: 8px;
	background: var(--line-2);
}

.wait input {
	--h: 28px;
}

.legend {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--ink-2);
	font-size: 12px;
}

.plan .btn {
	margin: 2px 4px 2px 0;
}

.btn small {
	color: var(--ink-3);
	font-weight: 400;
}

.timeline a.go {
	font-weight: inherit;
}

.timeline li:has(a.go):hover a.go {
	color: var(--accent-ink);
}

.legend .key + * {
	margin-right: 8px;
}

.key.new {
	background: var(--accent-2);
}

.bars {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 4px;
	padding: 16px 16px 12px;
}

.bars > span {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	min-height: 168px;
	text-align: center;
}

.bars b {
	margin-bottom: 4px;
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.bars i {
	height: calc(var(--f) * 1.2px);
	border-radius: 3px;
	background: var(--accent);
}

.bars i.new {
	background: var(--accent-2);
	box-shadow: 0 2px 0 var(--surface);
	position: relative;
	z-index: 1;
}

.bars small {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid var(--line);
	color: var(--ink-3);
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
}

.bars > span:hover i {
	filter: brightness(1.08);
}

.bars > span:hover::after {
	content: attr(data-tip);
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	padding: 4px 8px;
	border-radius: var(--r1);
	background: var(--ink);
	color: var(--surface);
	font-size: 12px;
	white-space: nowrap;
	translate: -50% -100%;
	pointer-events: none;
}

.bars > span:nth-child(-n + 3):hover::after {
	left: 0;
	translate: 0 -100%;
}

.bars > span:nth-last-child(-n + 3):hover::after {
	left: auto;
	right: 0;
	translate: 0 -100%;
}

.auth {
	display: grid;
	place-items: center;
	min-height: 100dvh;
	padding: 24px;
}

.auth .card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	width: min(380px, 100%);
	padding: 24px;
}

.auth .card :is(button, .btn) {
	width: 100%;
}

.auth .card > .btn {
	justify-content: flex-start;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

.brand .mark {
	width: 28px;
	height: 28px;
	font-size: 14px;
}

.banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	padding: 12px 16px;
	border-radius: var(--r2);
	background: var(--subtle);
}

.banner.good {
	background: var(--good-soft);
}

.banner.warn {
	background: var(--warn-soft);
}

.banner.bad {
	background: var(--bad-soft);
}

.card > .banner {
	border-radius: 0;
}

.banner code {
	flex: none;
	width: 100%;
	min-width: 0;
	padding: 8px 12px;
	border-radius: var(--r1);
	background: var(--surface);
	color: var(--ink);
	font-size: 13px;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.auth .card > .banner {
	border-radius: var(--r2);
}

td pre {
	margin: 0;
	font: 12px/1.5 var(--mono);
	white-space: pre-wrap;
}

.burger,
.where {
	display: none;
}

@media (min-width: 821px) {
	.drawer[popover] {
		position: static;
		display: flex;
		flex-direction: column;
		gap: 2px;
		flex: 1;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		inset: auto;
	}
}

@media (max-width: 1100px) {
	.split,
	.split.index {
		grid-template-columns: minmax(0, 1fr);
	}

	.aside {
		position: static;
	}
}

@media (max-width: 820px) {
	:root {
		--h: 44px;
	}

	.sm {
		--h: 44px;
	}

	.nav a,
	.side .ws,
	.side .me {
		min-height: 44px;
	}

	.app {
		display: block;
		height: auto;
	}

	.side {
		position: sticky;
		top: 0;
		z-index: 20;
		flex-direction: row;
		align-items: center;
		height: 56px;
		padding: 0 8px;
		overflow: visible;
		border-bottom: 1px solid var(--line);
		background: var(--ground);
	}

	.burger {
		display: inline-flex;
	}

	.where {
		display: block;
		flex: 1;
		min-width: 0;
		overflow: hidden;
		font-weight: 600;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.drawer[popover] {
		position: fixed;
		inset: 0 auto 0 0;
		display: flex;
		flex-direction: column;
		gap: 2px;
		width: min(300px, 86vw);
		height: 100dvh;
		margin: 0;
		padding: 12px 8px;
		overflow-y: auto;
		background: var(--ground);
		box-shadow: var(--lift-3);
		transform: none;
		transition: transform var(--t2) var(--ease), display var(--t2) allow-discrete, overlay var(--t2) allow-discrete;
	}

	.drawer:not(:popover-open) {
		box-shadow: none;
		transform: translateX(-100%);
	}

	@starting-style {
		.drawer:popover-open {
			transform: translateX(-100%);
		}
	}

	.drawer::backdrop {
		background: var(--scrim);
	}

	.sheet {
		min-height: calc(100dvh - 52px);
		margin: 0;
		overflow: visible;
		border: 0;
		border-radius: 0;
	}

	.page {
		padding: 16px 16px 48px;
	}

	.tabs,
	.board {
		margin-inline: -16px;
		padding-inline: 16px;
	}

	.tabs {
		top: 52px;
	}

	.app:has(.page > :is(.head, .today)) .side {
		align-items: flex-start;
		height: 0;
		padding: 0;
		border: 0;
	}

	.app:has(.page > :is(.head, .today)) .where {
		display: none;
	}

	.app:has(.page > :is(.head, .today)) .burger {
		--bg: var(--surface);
		--bd: var(--line);
		top: 8px;
		left: 8px;
		box-shadow: 0 1px 2px var(--shade);
	}

	.app:not(:has(.page > :is(.head, .today))) .side {
		align-items: flex-start;
		gap: 12px;
		height: 52px;
		padding: 8px 8px 0;
		border-bottom: 0;
		background: var(--surface);
	}

	.app:not(:has(.page > :is(.head, .today))) .burger {
		--bg: var(--surface);
		--bd: var(--line);
		box-shadow: 0 1px 2px var(--shade);
	}

	.app:not(:has(.page > :is(.head, .today))) .where {
		min-height: 44px;
		padding-block: 12px;
		font-size: 18px;
		line-height: 1.25;
		letter-spacing: -0.02em;
	}

	.app:has(.page > .head) .tabs {
		top: 0;
		padding-left: 64px;
	}

	.app:has(.page > :is(.head, .today)) .bannerwrap {
		padding-top: 64px;
	}

	.page > .head {
		margin-top: -8px;
		padding-bottom: 12px;
	}

	.page > .head h1 {
		flex: 1 1 0;
		min-width: 0;
		min-height: 44px;
		margin-left: 48px;
		padding-block: 12px;
		font-size: 18px;
		line-height: 1.25;
	}

	.page > .head h1 > a {
		display: none;
	}

	.todayhead h1 {
		min-height: 44px;
		margin-left: 48px;
		padding-block: 12px;
		font-size: 18px;
	}

	.app:has(.bannerwrap) .todayhead h1 {
		margin-left: 0;
	}

	.toolbar .find {
		flex: 1 1 100%;
	}

	.seg :is(a, button) {
		--h: 44px;
	}

	.tabs {
		height: auto;
		padding-block: 4px;
	}

	.tabs a {
		--h: 44px;
		flex: 1 1 auto;
		justify-content: center;
		padding-inline: 4px;
	}

	.wide-cell > a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	label:has(> .switch) {
		display: flex;
		align-items: center;
		min-height: 44px;
	}

	.addstep {
		flex-wrap: nowrap;
	}

	.addstep label {
		display: flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}

	.app:has(.bannerwrap) .page > .head h1 {
		margin-left: 0;
	}

	.head .sub {
		order: 1;
		flex-basis: 100%;
	}

	.head > :is(.seg, form, .acts:has(.seg, input:not([type="hidden"]))) {
		order: 2;
		flex-basis: 100%;
		margin-left: 0;
	}

	.head > form:not(:has(input:not([type="hidden"]))) {
		display: flex;
	}

	.head > form:not(:has(input:not([type="hidden"]))) > button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.head :is(form, .acts) > input:not([type="hidden"]) {
		flex: 1;
		width: auto;
	}

	.head > .acts {
		flex: 1 1 100%;
		flex-wrap: wrap;
		order: 2;
		margin-left: 0;
	}

	.head > .acts > :is(.btn, button, form, details) {
		flex: 1 1 auto;
	}

	.head > .acts :is(.btn, button, summary) {
		justify-content: center;
	}

	.list {
		overflow-x: auto;
		background:
			linear-gradient(to right, var(--surface), var(--surface)) left / 24px 100% no-repeat local,
			linear-gradient(to left, var(--surface), var(--surface)) right / 24px 100% no-repeat local,
			linear-gradient(to right, var(--scroll-shade), transparent) left / 16px 100% no-repeat scroll,
			linear-gradient(to left, var(--scroll-shade), transparent) right / 16px 100% no-repeat scroll,
			var(--surface);
	}

	.seg,
	.seg.stages {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
		width: 100%;
	}

	.acts:has(> .seg) {
		display: grid;
		gap: 16px;
	}

	.seg :is(a, button),
	.seg.stages button {
		justify-content: center;
		padding: 0 8px;
	}

	.board {
		mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
	}

	.list th {
		position: static;
	}

	.letter-head,
	.letter-body {
		padding-inline: 16px;
	}

	.linked {
		margin-inline: 16px;
	}

	.props {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.savebar {
		margin-inline: -16px;
		padding-inline: 16px;
	}

	.bars {
		gap: 4px;
		padding-inline: 12px;
	}

	.bars > span:nth-child(n + 8) {
		display: none;
	}
}

@media (hover: none) {
	.note-acts {
		position: static;
		margin: 4px 0 0 -8px;
		opacity: 1;
	}
}

html[data-progress]::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--edge);
	transform-origin: left;
	animation: loading 8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
	z-index: 1000;
}

@keyframes loading {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(0.9);
	}
}

@keyframes busy {
	to {
		color: transparent;
	}
}

@keyframes show {
	to {
		opacity: 1;
	}
}

@keyframes spin {
	to {
		transform: rotate(1turn);
	}
}

@keyframes toast-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

@keyframes toast-out {
	to {
		opacity: 0;
		transform: translateY(8px);
		visibility: hidden;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 1ms !important;
	}
}

.bannerwrap {
	display: grid;
	gap: 8px;
	padding: 16px 32px 0;
}

@media (max-width: 820px) {
	.bannerwrap {
		padding: 16px 16px 0;
	}

	ol.replies {
		margin-left: 8px;
		padding-left: 12px;
	}
}

.chart {
	margin: 0;
	padding: 12px 16px 0;
}

.chart figcaption {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	color: var(--ink-3);
	font-size: 12px;
}

.chart figcaption small {
	margin-left: auto;
}

.key {
	width: 8px;
	height: 8px;
	border-radius: 2px;
}

.key.replies {
	margin-left: 8px;
}

.key.sent {
	background: var(--accent);
}

.key.replies {
	background: var(--good);
}

.chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.chart line {
	stroke: var(--line);
	vector-effect: non-scaling-stroke;
}

.chart .rule {
	stroke-dasharray: 2 3;
}

.chart rect.sent {
	fill: var(--accent);
}

.chart rect.replies {
	fill: var(--good);
}

.ticks {
	position: relative;
	height: 18px;
	margin: 4px 0 8px;
	color: var(--ink-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ticks span {
	position: absolute;
	transform: translateX(-50%);
	white-space: nowrap;
}

details.earlier {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink-3);
	font-size: 13px;
}

details.earlier summary {
	display: flex;
	gap: 8px;
	min-width: 0;
	cursor: pointer;
}

details.earlier summary strong {
	color: var(--ink);
}

details.earlier .snippet {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.empty {
	grid-column: 1 / -1;
}

td.empty {
	display: table-cell;
}

.pane .empty {
	padding: 0;
	text-align: left;
}

:is(ul, ol) > li.empty {
	grid-template-columns: minmax(0, 1fr);
	padding: 32px 24px;
}

.card:has(> .docs > .empty) {
	display: flex;
	flex-direction: column;
}

.card > .docs:has(> .empty) {
	display: grid;
	flex: 1;
}

.note[data-fresh] > .av {
	/* ui-lint: allow colored-border */
	box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

td details > summary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--accent-ink);
	list-style: none;
	cursor: pointer;
}

td details > summary::-webkit-details-marker {
	display: none;
}

td details > summary::after {
	content: "";
	width: 5px;
	height: 5px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	rotate: 45deg;
	translate: 0 -2px;
}

td details[open] > summary::after {
	rotate: 225deg;
	translate: 0 1px;
}

td details ul {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.sheet:has(> .inbox){position:relative;display:flex;flex-direction:column;overflow:hidden}
.inbox{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface)}
.who{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.what{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rows-end{margin:0;padding:16px 32px;color:var(--ink-3);font-size:13px}
.remind-menu{position:absolute;right:16px;top:42px;width:264px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);box-shadow:0 12px 32px var(--shade);padding:4px;z-index:3}
.remind-menu header{padding:4px 8px 4px;font-size:12px;font-weight:500;color:var(--ink-3)}
.remind-menu button{display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:transparent;height:34px;padding:0 8px;border-radius:var(--r1);font-size:14px;color:var(--ink)}
.remind-menu button[aria-selected="true"]{background:var(--accent-soft)}
.remind-menu small{color:var(--ink-3);font-size:12.5px}
.remind-menu footer{padding:4px 8px 2px;border-top:1px solid var(--line);margin-top:4px;font-size:12px;color:var(--ink-3)}
.convo h1{margin:0;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-0.01em}
.earlier > summary{cursor:pointer;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r2);font-size:13px;color:var(--ink-3)}
.earlier[open] > summary{margin-bottom:0}
.message{display:flex;flex-direction:column;gap:12px}
.message .sender{display:flex;align-items:center;gap:8px}
.message .sender b{display:block;font-size:14px;color:var(--ink)}
.message .sender small{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
.message .sender time{margin-left:auto;font-size:13px;color:var(--ink-3);white-space:nowrap}
.message p{margin:0;font-size:16px;line-height:26px;color:var(--ink)}
.reply-box{border:1px solid var(--line-2);border-radius:var(--r2);background:var(--surface);display:flex;flex-direction:column;box-shadow:0 1px 2px var(--shade)}
.reply-box .addr{padding:8px 12px;border-bottom:1px solid var(--line);font-size:13px;color:var(--ink-3)}
.reply-box .addr b{color:var(--ink-2);font-weight:500}
.reply-box .suggested{display:flex;align-items:center;gap:8px;padding:4px 8px 4px 12px;background:var(--accent-soft);color:var(--accent-ink);font-size:13px}
.reply-box .suggested span{flex:1}
.reply-box .suggested.problem{background:var(--bad-soft);color:var(--bad)}
.reply-box textarea{border:0;min-height:160px;padding:12px;font:inherit;font-size:16px;line-height:26px;resize:vertical;background:transparent;color:var(--ink)}
.reply-box footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--line)}
.reply-box .hint{font-size:13px;color:var(--ink-3)}
.reply-box .send{margin-left:auto;display:flex;gap:8px}
.overlay{position:absolute;inset:0;z-index:6;background:var(--shade);display:flex;justify-content:center;align-items:flex-start;padding-top:96px}
.palette{width:560px;max-width:calc(100% - 32px);background:var(--surface);border:1px solid var(--line);border-radius:var(--r3);box-shadow:0 24px 48px var(--shade);overflow:hidden}
.palette input{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;height:52px;padding:0 16px;font:inherit;font-size:16px;background:transparent;color:var(--ink)}
.palette ul{list-style:none;margin:0;padding:4px}
.palette li{display:flex;align-items:center;gap:8px;height:40px;padding:0 8px;border-radius:var(--r1);font-size:14px;color:var(--ink-2)}
.palette li[aria-selected="true"]{background:var(--accent-soft);color:var(--ink)}
.palette li kbd{margin-left:auto}
.palette footer{display:flex;gap:16px;padding:8px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--ink-3)}
.keys{width:760px;max-width:calc(100% - 32px);background:var(--surface);border:1px solid var(--line);border-radius:var(--r3);box-shadow:0 24px 48px var(--shade);padding:16px 24px 24px}
.keys > header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.keys h2{margin:0;font-size:16px}
.keys .groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px 32px}
.keys h3{margin:0 0 4px;font-size:12px;font-weight:500;color:var(--ink-3)}
.keys dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0;font-size:13.5px}
.keys dt{white-space:nowrap}
.keys dd{margin:0;color:var(--ink-2)}
.done-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:var(--ink-3);padding:48px 16px}
.done-state .i{width:28px;height:28px;color:var(--good)}
.done-state b{font-size:20px;line-height:28px;color:var(--ink)}
.done-state p{margin:0 0 8px;max-width:360px}
.undo-bar{position:absolute;left:50%;bottom:64px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:8px 8px 8px 16px;border-radius:var(--r2);background:var(--ink);color:var(--surface);font-size:14px;box-shadow:0 12px 32px var(--shade);white-space:nowrap}
.undo-bar button{background:transparent;color:var(--surface);border-color:color-mix(in srgb, var(--surface) 30%, transparent)}
.ready > ul{list-style:none;margin:0;padding:0}
.ready li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 16px;border-top:1px solid var(--line)}
.ready li > span .i{width:18px;height:18px;margin-top:1px}
.ready .yes{color:var(--good)}
.ready .no{color:var(--bad)}
.ready b{display:block;font-weight:500}
.ready small{display:block;color:var(--ink-3);margin-top:2px;line-height:19px}
.ready .when{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:13px;color:var(--ink-2);white-space:nowrap}
.health{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.health b{font-variant-numeric:tabular-nums}
.row-alert td{background:var(--bad-soft);color:var(--bad);border-top:0}
.row-alert td > div{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center}
.row-alert .btn{margin-left:auto}
.alert-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 16px;border-radius:var(--r2);background:var(--bad-soft);color:var(--bad)}
.alert-box div{flex:1 1 360px}
.alert-box b{display:block}
.parts{list-style:none;margin:0;padding:0}
.parts li{display:grid;grid-template-columns:200px minmax(0,1fr) 72px;gap:4px 16px;align-items:center;padding:12px 16px;border-top:1px solid var(--line)}
.parts li > span{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink-2)}
.parts small{grid-column:1 / -1;color:var(--ink-3)}
footer.parts{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line);font-weight:600}
.empty-plan{margin:0;padding:16px;color:var(--ink-3)}
.remind{position:relative}
.remind > summary{list-style:none;cursor:pointer}
.remind > summary::-webkit-details-marker{display:none}
.earlier > summary{list-style:none;cursor:pointer}
.earlier > summary::-webkit-details-marker{display:none}
.earlier[open] > summary{border-bottom-left-radius:0;border-bottom-right-radius:0}
.earlier > .letter-meta{border:1px solid var(--line);border-width:0 1px}
.earlier > .letter-body{padding:12px;border:1px solid var(--line);border-top:0;border-radius:0 0 var(--r2) var(--r2);font-size:14.5px}
.message .letter-frame{width:100%;min-height:360px;border:0}
.message .letter-body{white-space:pre-wrap;font-size:16px;line-height:26px;color:var(--ink)}
.message .source{display:flex;gap:8px;margin:0}
dialog.palette,dialog.keys{padding:0;margin-top:96px;color:var(--ink)}
dialog.keys{padding:16px 24px 24px}
dialog.palette::backdrop,dialog.keys::backdrop{background:var(--shade)}
.palette li{cursor:pointer}
.palette li[hidden]{display:none}
@media (max-width:720px){
.reply-box .send{margin-left:0;width:100%}
.reply-box .send .primary{flex:1}
.parts li{grid-template-columns:minmax(0,1fr) 64px}
.parts li .meter{grid-column:1 / -1;grid-row:2}
.stack-table thead{display:none}
.stack-table tr{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 16px;border-top:1px solid var(--line)}
.stack-table td{height:auto;padding:0;border:0}
.stack-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:var(--ink-3)}
.stack-table td.wide-cell{grid-column:1 / -1}
.stack-table:not(.customers) tr{grid-template-columns:repeat(2,minmax(0,1fr))}
.stack-table:not(.customers) td:first-child{grid-column:1 / -1}
.stack-table td.num{text-align:left}
.stack-table .row-alert{padding:12px 16px;background:var(--bad-soft)}
.ready li{grid-template-columns:20px minmax(0,1fr)}
.ready .when{grid-column:2;align-items:flex-start}
}
.mailapp{display:grid;grid-template-columns:232px clamp(300px,26vw,380px) minmax(0,1fr);background:var(--surface)}
@media (min-width:901px){
.mailapp:not(.reading):has(.maillist .done-state){grid-template-columns:232px minmax(0,1fr)}
.mailapp:not(.reading):has(.maillist .done-state) .mailpane{display:none}
.mailapp:not(.reading):has(.maillist .done-state) .maillist{border-right:0}
.mailapp:not(.reading):has(.maillist .done-state) .list-top{max-width:640px}
}
.mailbar{display:flex;flex-direction:column;gap:2px;min-height:0;padding:16px 12px;overflow-y:auto;background:var(--subtle);border-right:1px solid var(--line)}
.mailbar .compose{justify-content:center;margin-bottom:8px}
.bar-label{margin:16px 8px 4px;font-size:12px;font-weight:500;color:var(--ink-3)}
.bar-list{list-style:none;margin:0;padding:0;display:grid;gap:1px}
.bar-list a{display:flex;align-items:center;gap:8px;height:32px;padding:0 8px;border-radius:var(--r1);font-size:14px;color:var(--ink-2);text-decoration:none}
.bar-list a > span:not(.count){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar-list a .i{width:16px;height:16px;flex:none;color:var(--ink-3)}
.bar-list a:hover{background:var(--hover)}
.bar-list a[aria-current]{background:var(--accent-soft);color:var(--ink);font-weight:500}
.bar-list a[aria-current] .i{color:var(--accent-ink)}
.bar-list .count{margin-left:auto}
.bar-box > summary{display:flex;align-items:center;gap:8px;height:36px;padding:0 8px;border-radius:var(--r1);cursor:pointer;list-style:none;font-size:14px;color:var(--ink)}
.bar-box > summary::-webkit-details-marker{display:none}
.bar-box > summary:hover{background:var(--hover)}
.bar-box .bar-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar-box > summary > .i{width:14px;height:14px;flex:none;color:var(--ink-3);transition:transform .15s}
.bar-box[open] > summary > .i{transform:rotate(90deg)}
.bar-box .bar-list{padding:2px 0 4px 16px}
.bar-sync{margin:auto 8px 0;padding-top:12px;font-size:12px;color:var(--ink-3)}
.maillist{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line)}
.list-top{display:grid;gap:8px;padding:12px 12px 8px;border-bottom:1px solid var(--line)}
.list-head{display:flex;align-items:center;gap:8px;min-width:0}
.list-head h1{margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-0.01em;white-space:nowrap}
.list-count{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ink-3)}
.list-acts{margin-left:auto;display:flex;gap:2px}
.list-acts form{display:contents}
.list-top .find{width:100%}
.scope{margin:0;font-size:12px;color:var(--ink-3)}
.mailchips{display:flex;flex-wrap:wrap;gap:4px}
.mailchips a{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border:1px solid var(--edge);border-radius:12px;font-size:12px;color:var(--ink-2);text-decoration:none;background:var(--surface)}
.mailchips a:hover{background:var(--hover);color:var(--ink)}
.mailchips a[aria-current]{border-color:var(--focus);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--focus);color:var(--accent-ink);font-weight:600}
.rows{flex:1;min-height:0;list-style:none;margin:0;padding:0;overflow-y:auto}
.group{position:sticky;top:0;z-index:1;padding:4px 16px;font-size:12px;font-weight:600;color:var(--ink-3);background:var(--subtle);border-bottom:1px solid var(--line)}
.row{position:relative;border-bottom:1px solid var(--line)}
.row > a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:8px 16px 8px 24px;color:var(--ink-2);text-decoration:none;font-size:14px;line-height:20px}
.row > a::before{content:"";position:absolute;left:12px;top:16px;width:8px;height:8px;border-radius:50%}
.row[data-unread] > a::before{background:var(--accent)}
.row:not([data-unread]) > a{background:var(--ground)}
.row > a:hover{background:var(--hover)}
.row[data-open] > a{background:var(--accent-soft)}
/* ui-lint: allow glow */
.row[aria-current] > a{box-shadow:inset 3px 0 0 var(--accent)}
.row[aria-selected="true"] > a{background:var(--accent-soft)}
.row .who{color:var(--ink);font-weight:500}
.row[data-unread] .who{color:var(--ink);font-weight:700}
.row[data-unread] .what{color:var(--ink);font-weight:600}
.row .what{grid-column:1 / -1;color:var(--ink-2);font-weight:400}
.row time{align-self:center;font-size:12px;color:var(--ink-3);white-space:nowrap}
.row .preview{grid-column:1 / -1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:18px;color:var(--ink-3)}
.row .tags{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.row .tags:empty{display:none}
.row .tags .i{width:14px;height:14px;color:var(--ink-3)}
.row .tags .flagged .i{color:var(--warn)}
.row .quick{position:absolute;right:8px;top:6px;display:flex;gap:2px;padding:2px;visibility:hidden;border-radius:var(--r1);background:var(--surface);box-shadow:0 1px 2px var(--shade)}
.row .quick > form{display:contents}
.row:hover .quick,.row:focus-within .quick{visibility:visible}
.row:hover time,.row:focus-within time{visibility:hidden}
.row .remind-menu{top:34px;right:0}
.row .remind-menu.up{top:auto;bottom:34px}
.older{display:grid;gap:4px;justify-items:start;padding:12px 16px;border-top:1px solid var(--line)}
.older small{color:var(--ink-3)}
.mailpane{display:flex;flex-direction:column;min-width:0;min-height:0}
.pane-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:48px 16px;text-align:center;color:var(--ink-3)}
.pane-empty .i{width:32px;height:32px}
.pane-empty b{font-size:16px;line-height:24px;color:var(--ink)}
.pane-empty p{margin:0;max-width:320px}
.convo-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 12px;border-bottom:1px solid var(--line)}
.convo-bar form:not(.remind-menu){display:contents}
.convo-bar .back{display:none}
.convo-bar .tool-gap{width:1px;height:20px;margin:0 4px;background:var(--line)}
.convo-bar .where-in{margin-left:auto;padding:0 4px;font-size:12px;color:var(--ink-3);white-space:nowrap}
.convo-bar .remind-menu{top:36px;right:auto;left:0}
.convo-bar > .remind:last-of-type .remind-menu{left:auto;right:0}
.convo-wrap{flex:1;min-height:0;overflow-y:auto}
.convo{max-width:680px;margin:0 auto;padding:24px 24px 48px;display:flex;flex-direction:column;gap:16px}
.context{display:grid;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--r2);background:var(--subtle)}
.context-head{display:flex;align-items:center;gap:12px}
.context-head > div{flex:1;min-width:0}
.context-head b{display:block;font-size:14px;line-height:20px;color:var(--ink)}
.context-head small{display:block;font-size:12px;line-height:16px;color:var(--ink-3)}
.grade{padding:2px 8px;border-radius:var(--r1);font-size:12px;font-weight:600;white-space:nowrap}
.grade.good{background:var(--good-soft);color:var(--good)}
.grade.warn{background:var(--warn-soft);color:var(--warn)}
.grade.bad{background:var(--bad-soft);color:var(--bad)}
.problems{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13px;line-height:18px;color:var(--ink-2)}
.problems li{display:flex;align-items:baseline;gap:8px}
.context-links{display:flex;flex-wrap:wrap;gap:4px}
.labels{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.labels small{font-size:12px;color:var(--ink-3)}
.labels button{--bd:var(--edge)}
.labels button[aria-pressed="true"]{background:var(--good-soft);color:var(--good);border-color:transparent}
.labels kbd{margin-left:4px}
.earlier-line{display:flex;gap:12px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r2);font-size:13px;color:var(--ink-3)}
.earlier-line b{color:var(--ink-2);font-weight:600;white-space:nowrap}
.earlier-line .src{font-size:12px;white-space:nowrap}
.earlier-line .src.bad{color:var(--bad)}
.earlier-line .line{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.earlier-line time{white-space:nowrap}
.letter-meta{display:flex;flex-wrap:wrap;gap:4px 12px;padding:8px 12px 0;font-size:12px;color:var(--ink-3)}
.quoted > summary{cursor:pointer;font-size:12px;color:var(--ink-3);padding:4px 0}
.quoted > .letter-body{color:var(--ink-3);border-left:2px solid var(--line);padding-left:12px}
.message > .quoted{margin-top:4px}
@media (max-width:900px){
.mailapp{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.mailbar{flex-direction:row;align-items:center;padding:8px 12px;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid var(--line)}
.mailbar .compose{margin:0;flex:none}
.bar-label,.bar-box,.bar-sync{display:none}
.bar-list{display:flex;gap:2px}
.bar-list a{flex:none}
.mailapp.reading .maillist{display:none}
.mailapp:not(.reading) .mailpane{display:none}
.convo-bar .back{display:inline-flex}
.convo-bar .wide:not(.keep),.convo-bar .where-in,.convo-bar .tool-gap{display:none}
kbd{display:none}
.earlier-line .line{display:none}
.mailbar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:8px 16px 12px;overflow:visible;background:var(--surface)}
.mailbar .compose{width:auto;justify-content:center}
.mailbar .bar-list{display:flex;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none}
.mailbar .bar-list::after{content:"\203A" / "";flex:none;position:sticky;right:0;display:grid;place-items:center;width:32px;background:linear-gradient(to right,transparent,var(--surface) 50%);color:var(--ink);font-size:24px;font-weight:600;animation:cue linear both;animation-timeline:scroll(nearest inline);animation-range:calc(100% - 48px) 100%}
@keyframes cue{to{opacity:0}}
.mailbar .bar-list a{padding-inline:12px}
.bar-list a{min-height:44px}
.list-top{padding-inline:16px}
.mailchips{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.mailchips a{justify-content:center;height:44px;padding:0 12px;font-size:13px;border-radius:22px}
.convo{padding:16px}
.row .quick{display:none}
}

.sheet:has(.today) {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.page:has(> .today) {
	flex: 1;
	min-height: 0;
	padding: 16px 32px 24px;
}

.today {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 16px;
	height: 100%;
}

.todayhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--h);
}

.todayline {
	min-width: 0;
}

.todayhead h1 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tabpick,
.todaytabs {
	display: none;
}

.panels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	min-height: 0;
}

.pane {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

@media (min-width: 1201px) {
	.panels {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.pane {
		grid-column: span 3;
	}

	.pane[data-panel="needs"] {
		grid-column: span 5;
	}

	.pane[data-panel="health"] {
		grid-column: span 7;
	}

	.pane[data-panel="needs"] > header h2 {
		font-size: 16px;
	}
}

.pane > header {
	flex: none;
	min-height: 44px;
	padding-block: 4px;
}

.pane .body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-height: 0;
	padding: 12px 16px;
	overflow: hidden;
}

.pane .big {
	font-size: 14px;
}

.pane .big b {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.pane .meter {
	flex: none;
	max-width: none;
}

.pane .foot,
.pane .more,
.pane .axis,
.pane .lifetime .faint {
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.pane .more {
	padding-left: 32px;
}

.pane .empty {
	padding: 24px 0;
	text-align: center;
}

.kv {
	display: grid;
	gap: 4px;
	margin: 0;
}

.kv div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.kv dt {
	color: var(--ink-2);
}

.kv dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.daybars {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(14, minmax(0, 1fr));
	gap: 4px;
	align-items: stretch;
	min-height: 16px;
	max-height: 64px;
}

.daybars i {
	display: flex;
	align-items: flex-end;
	border-radius: 2px;
	background: var(--subtle);
}

.daybars b {
	display: block;
	width: 100%;
	border-radius: 2px;
	background: var(--accent);
}

.axis {
	display: flex;
	justify-content: space-between;
}

.verdict {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 20px;
}

.verdict .pill {
	flex: none;
	margin-top: 1px;
}

.verdict > span:last-child {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.healthbox {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.healthbox li {
	position: relative;
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr) 52px 40px 44px;
	align-items: center;
	gap: 8px;
	min-height: 28px;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.healthbox li > :nth-child(n + 3) {
	text-align: right;
}

.healthbox li.cols {
	min-height: 20px;
	color: var(--ink-3);
}

.healthbox li.empty {
	display: block;
}

.healthbox .go {
	overflow: hidden;
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.healthbox .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink-3);
}

.healthbox .dot.good {
	background: var(--good);
}

.healthbox .dot.warn {
	background: var(--warn);
}

.healthbox .dot.bad {
	background: var(--bad);
}

.healthbox .dot.info {
	background: var(--accent);
}

.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0;
}

.tiles > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 0;
	border-bottom: 1px solid var(--line);
}

.tiles dt a {
	color: var(--ink-2);
}

.tiles dd {
	margin: 0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.tiles.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tiles.three > div {
	display: block;
	padding: 0;
	border: 0;
}

.tiles.three dt,
.tiles.three small {
	display: block;
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.tiles.three dd {
	font-size: 20px;
	line-height: 28px;
	letter-spacing: -0.02em;
}

.lifetime {
	display: grid;
	gap: 4px;
	line-height: 20px;
}

.grades {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.grades a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 56px;
	align-items: center;
	gap: 12px;
	color: var(--ink);
}

.grades a:hover {
	text-decoration: none;
}

.grades b {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.needs {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.needs li {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 36px;
	padding: 0;
	border-bottom: 1px solid var(--line-2);
}

.needs:not(:has(li:nth-child(5))) li {
	padding: 8px 0;
}

.needs:not(:has(li:nth-child(5))) .needwhat > small {
	display: -webkit-box;
	white-space: normal;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.needs li:last-child {
	border-bottom: 0;
}

.needs .needwhat {
	display: grid;
	min-width: 0;
}

.needs .needwhat > * {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.needs small {
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.needs .needwhat > small {
	color: var(--ink-2);
}

.needs .needwhen {
	align-self: start;
}

@media (max-width: 820px) {
	.needs .needwhat > .go {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.needs .needwhat > small {
		display: -webkit-box;
		white-space: normal;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.sheet:has(.today) {
		height: auto;
		min-height: 100dvh;
	}

	.today {
		height: auto;
	}

	.page:has(> .today) {
		padding: 8px 16px 16px;
	}

	.todayhead {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.todayhead .acts {
		display: flex;
		flex: 0 0 100%;
		gap: 8px;
	}

	.todayhead .acts .btn {
		flex: 1;
		justify-content: center;
	}
}

@media (max-width: 900px) {
	.today {
		grid-template-rows: auto auto minmax(0, 1fr);
	}

	.todaytabs {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}

	.todaytabs label {
		display: grid;
		align-content: center;
		place-items: center;
		min-height: 44px;
		border-radius: var(--r1);
		background: var(--surface);
		box-shadow: inset 0 0 0 1px var(--edge);
		color: var(--ink-2);
		font-size: 13px;
		font-weight: 500;
		cursor: pointer;
	}

	#pick-needs:checked ~ .todaytabs [for="pick-needs"],
	#pick-sending:checked ~ .todaytabs [for="pick-sending"],
	#pick-health:checked ~ .todaytabs [for="pick-health"],
	#pick-pipeline:checked ~ .todaytabs [for="pick-pipeline"],
	#pick-customers:checked ~ .todaytabs [for="pick-customers"],
	#pick-money:checked ~ .todaytabs [for="pick-money"] {
		background: var(--accent-soft);
		box-shadow: inset 0 0 0 2px var(--focus);
		color: var(--accent-ink);
		font-weight: 600;
	}

	.tabpick:focus-visible ~ .todaytabs label {
		outline-offset: -2px;
	}

	.panels {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.card > footer:has(> button ~ button) > button,
	.card > form:not(.composer) > footer:has(> button ~ button) > button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.pane {
		display: none;
	}

	#pick-needs:checked ~ .panels [data-panel="needs"],
	#pick-sending:checked ~ .panels [data-panel="sending"],
	#pick-health:checked ~ .panels [data-panel="health"],
	#pick-pipeline:checked ~ .panels [data-panel="pipeline"],
	#pick-customers:checked ~ .panels [data-panel="customers"],
	#pick-money:checked ~ .panels [data-panel="money"] {
		display: flex;
	}
}

.seq {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.seq > .card {
	margin: 0;
}

.seqview {
	position: sticky;
	top: 16px;
}

.seqsteps ol {
	display: grid;
	margin: 0;
	padding: 8px;
	list-style: none;
}

.seqsteps a {
	display: grid;
	gap: 4px;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: var(--r1);
	color: var(--ink-2);
}

.seqsteps a:hover {
	background: var(--hover);
	text-decoration: none;
}

.seqsteps a[aria-current="step"] {
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.seqsteps b {
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}

.seqsteps a[aria-current="step"] b {
	color: var(--accent-ink);
}

.seqsteps .subject {
	overflow: hidden;
	font-size: 13px;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.seqsteps small {
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.addstep {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--line);
}

.addstep input {
	width: 56px;
}

.seqedit > header {
	flex-wrap: wrap;
}

.seqedit .wait {
	padding: 0;
	font-size: 13px;
}

.seqedit .wait input {
	width: 56px;
}

.seqtabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.seqtabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: var(--r1);
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 500;
}

.seqtabs a:hover {
	background: var(--hover);
	text-decoration: none;
}

.seqtabs a[aria-current="page"] {
	border-color: var(--line-2);
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 1px 2px var(--shade);
}

.seqtabs small {
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 400;
}

.seqtabs form {
	margin-left: auto;
}

.seqedit textarea {
	min-height: 240px;
	font-size: 14px;
	line-height: 22px;
}

.seqchips {
	display: grid;
	gap: 8px;
}

.seqgroup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.seqgroup span {
	flex: 0 0 100%;
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.seqchips [data-variable] {
	min-height: 32px;
}

.seqedit [data-status] {
	font-size: 13px;
}

.seqedit [data-status][data-state="dirty"] {
	color: var(--warn);
}

.seqedit [data-status][data-state="saved"] {
	color: var(--good);
}

.ab {
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.seqview .picker,
.copypicker .picker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	font-size: 13px;
}

.seqview select,
.copypicker select {
	max-width: 220px;
}

.seqletter {
	max-width: 680px;
	padding: 16px;
	border-radius: var(--r1);
	background: var(--subtle);
	font-size: 15px;
	line-height: 24px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	box-shadow: var(--lift-1);
}

.seqchecks {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seqchecks li {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: baseline;
	padding-left: 16px;
	border-left: 3px solid var(--line-2);
	font-size: 13px;
	line-height: 20px;
}

.seqchecks li.good {
	border-color: var(--good);
}

.seqchecks li.warn {
	border-color: var(--warn);
}

.seqchecks li.bad {
	border-color: var(--bad);
}

.seqlens ul {
	display: grid;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.seqlens li {
	display: grid;
	gap: 4px;
	font-size: 13px;
	line-height: 20px;
}

.seqlens small {
	color: var(--ink-3);
	font-size: 12px;
	line-height: 16px;
}

.seqlens summary {
	min-height: 32px;
	color: var(--ink-2);
	font-size: 13px;
	cursor: pointer;
}

@media (max-width: 1180px) {
	.seq {
		grid-template-columns: 232px minmax(0, 1fr);
	}

	.seqview {
		position: static;
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.seq {
		grid-template-columns: minmax(0, 1fr);
	}

	.seqsteps ol {
		grid-auto-flow: column;
		grid-auto-columns: minmax(160px, 1fr);
		overflow-x: auto;
	}

	.seqview {
		grid-column: auto;
	}
}

.copies {
	display: grid;
	gap: 24px;
}

.ratescroll {
	overflow-x: auto;
}

.rates td small {
	display: block;
	color: var(--ink-3);
	font-size: 12px;
}

.copyhead .acts,
.copyhead .search {
	display: flex;
	gap: 8px;
	align-items: center;
}

.copyhead input[type="search"] {
	width: 280px;
}

.copycols {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.copycols > .card {
	margin: 0;
}

.copypick {
	align-self: stretch;
}

.fold > summary {
	display: none;
	list-style: none;
	cursor: pointer;
}

.fold > summary::-webkit-details-marker {
	display: none;
}

.fold > section + section {
	margin-top: 16px;
}

.copypick > .copylist {
	margin: 0;
}

.copylist {
	position: sticky;
	top: 16px;
	max-height: calc(100vh - 32px);
	padding: 8px;
	overflow-y: auto;
}

.copylist ul {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.copylist .nav-label {
	margin: 12px 8px 4px;
}

.copylist a {
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	min-height: 32px;
	padding: 4px 8px;
	border-radius: var(--r1);
	color: var(--ink-2);
	font-size: 13px;
	line-height: 20px;
}

.copylist a:hover {
	background: var(--hover);
	text-decoration: none;
}

.copylist a[aria-current="page"] {
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.copymain > header {
	flex-wrap: wrap;
	gap: 8px;
}

.copyprops {
	margin: 0;
	padding: 16px;
	border-bottom: 1px solid var(--line);
}

.copyprops code {
	margin-right: 4px;
}

.copyentry {
	display: grid;
	gap: 8px;
	padding: 16px;
	border-radius: var(--r2);
	background: var(--subtle);
	box-shadow: var(--lift-1);
}

.copyentry > header {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.copyentry > header .pill {
	margin-left: auto;
}

.copysubject {
	margin: 0;
	font-weight: 600;
}

.copysubject .faint {
	margin-right: 4px;
	font-weight: 400;
}

.copytext {
	max-width: 680px;
	color: var(--ink);
	font-size: 14px;
	line-height: 22px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.copywhy {
	max-width: 680px;
	line-height: 16px;
}

@media (max-width: 900px) {
	.copycols {
		grid-template-columns: minmax(0, 1fr);
	}

	.copylist {
		position: static;
		order: 2;
		max-height: none;
	}

	.fold > summary {
		display: flex;
		width: 100%;
	}

	.fold[open] > summary {
		margin-bottom: 8px;
	}

	.copyhead input[type="search"] {
		width: 100%;
	}

	.copyhead .search {
		flex: 1 1 100%;
	}
}

.auth pre {
	margin: 0;
	padding: 12px;
	border-radius: var(--r1);
	background: var(--bad-soft);
	color: var(--bad);
	font: 13px/1.45 var(--mono);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

@media (max-width: 720px) {
	.customers tr {
		grid-template-columns: 32px minmax(0, 1fr) auto;
	}

	.customers td:nth-child(1) {
		grid-row: 1 / span 3;
	}

	.customers td:nth-child(2) {
		grid-column: 2;
	}

	.customers td:nth-child(4) {
		grid-column: 3;
		grid-row: 1;
	}

	.customers td:nth-child(5),
	.customers td:nth-child(6) {
		grid-column: 2 / -1;
	}

	.customers td:nth-child(3),
	.customers td:nth-child(7),
	.customers td:nth-child(8) {
		display: none;
	}

	.customers td[colspan] {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

@media (max-width: 720px) {
	.board:has(.deal) .col:not(:has(> .deal)) {
		display: none;
	}
}

.more {
	position: relative;
}

.more > summary {
	list-style: none;
	cursor: pointer;
}

.more > summary::-webkit-details-marker {
	display: none;
}

.morebox {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	z-index: 3;
	display: grid;
	gap: 4px;
	min-width: 208px;
	padding: 4px;
	border-radius: var(--r2);
	background: var(--raised);
	box-shadow: var(--lift-2);
}

.morebox button {
	justify-content: flex-start;
	border: 0;
	background: transparent;
}

@media (max-width: 720px) {
	.boxes td[data-label="Today"],
	.boxes td[data-label="Domain"],
	.boxes td[data-label="Campaigns"],
	.boxes td[data-label="Last read"] {
		display: none;
	}
}

.seqfields > summary {
	list-style: none;
	cursor: pointer;
}

.seqfields > summary::-webkit-details-marker {
	display: none;
}

.seqfields[open] > summary {
	margin-bottom: 8px;
}

@media (max-width: 720px) {
	.seqsteps ol {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		overflow: visible;
	}
}

.copyhead .jump {
	display: none;
}

@media (max-width: 820px) {
	.compose kbd {
		display: none;
	}
}

@media (max-width: 900px) {
	.copylist a,
	.copyprops summary {
		display: flex;
		align-items: center;
		min-height: 44px;
	}
}

.ratecol {
	width: 24%;
}

.ab > label {
	flex: 1 1 100%;
}

@media (min-width: 1201px) {
	.pane[data-panel="needs"] {
		order: 1;
	}

	.pane[data-panel="health"] {
		order: 2;
	}

	.pane[data-panel="sending"] {
		order: 3;
	}

	.pane[data-panel="pipeline"] {
		order: 4;
	}

	.pane[data-panel="customers"] {
		order: 5;
	}

	.pane[data-panel="money"] {
		order: 6;
	}
}

@media (max-width: 1100px) {
	.split:has(> .aside > .next) > .aside {
		display: contents;
	}

	.split:has(> .aside > .next) .next {
		order: -1;
	}
}

@media (max-width: 820px) {
	.app:has(.page > .head) .sheet {
		min-height: 100dvh;
	}

	.head .sub {
		white-space: normal;
	}

	.sender small {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.convo-bar :is([data-key="a"], [data-key="f"], [data-key="s"], [data-key="u"], [data-key="!"], [data-nav]) {
		display: none;
	}

	.card > table .meter {
		display: none;
	}

	.card > table :is(th, td) {
		padding-inline: 8px;
	}

	.ratecol {
		width: auto;
	}
}

.parts-fold > summary {
	display: flex;
	width: fit-content;
	margin: 8px 16px 12px;
	list-style: none;
	cursor: pointer;
}

.parts-fold > summary::-webkit-details-marker {
	display: none;
}

.seqedit [data-editor] > .acts:has([data-save]) {
	position: sticky;
	bottom: 0;
	z-index: 3;
	padding-block: 12px;
	border-top: 1px solid var(--line);
	background: var(--surface);
}

.customerfind {
	display: grid;
	gap: 12px;
}

.customerfind .toolbar .btn .tally {
	min-width: 20px;
	margin-left: 4px;
	padding: 0 4px;
	text-align: center;
	line-height: 20px;
	border-radius: 99px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-size: 12px;
	font-weight: 600;
}

.active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.active .chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 28px;
	padding: 0 8px 0 12px;
	border-radius: 99px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.active .chip .i {
	width: 14px;
	height: 14px;
}

.active .chip:hover {
	background: var(--hover);
}

.active .clear {
	padding: 0 4px;
	color: var(--ink-2);
	font-size: 13px;
}

dialog.sheetdialog {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100dvh - 64px);
	border: 0;
}

dialog.sheetdialog:focus-visible {
	outline: 0;
}

dialog.sheetdialog[open] {
	display: flex;
	flex-direction: column;
}

dialog.sheetdialog header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 12px;
}

dialog.sheetdialog .body {
	display: grid;
	flex: 1 1 auto;
	gap: 24px;
	padding: 8px 16px 24px;
	overflow: auto;
}

dialog.sheetdialog footer {
	justify-content: space-between;
}

.sheetdialog .chips label {
	flex-wrap: nowrap;
}

.sheetdialog .chips small {
	flex: none;
	padding: 0;
	margin-left: 8px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 400;
}

.sheetdialog .chips label:has(input:checked) small {
	color: var(--accent-ink);
}

@media (max-width: 900px) {
	dialog.sheetdialog {
		width: min(560px, 100vw);
		max-width: 100vw;
		max-height: 88dvh;
		margin: auto auto 0;
		border-radius: var(--r3) var(--r3) 0 0;
	}

	dialog.sheetdialog:not([open]) {
		transform: translateY(24px);
	}

	@starting-style {
		dialog.sheetdialog[open] {
			transform: translateY(24px);
		}
	}

	dialog.sheetdialog footer {
		border-radius: 0;
	}

	.sheetdialog :is(.btn, button, select) {
		--h: 44px;
		min-height: 44px;
	}

	.sheetdialog .icon {
		width: 44px;
	}

	dialog.sheetdialog .body {
		gap: 16px;
		box-shadow: inset 0 -12px 8px -8px var(--scrim-soft);
	}

	.sheetdialog .fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.sheetdialog .chips label {
		height: 44px;
	}

	.customerfind .toolbar .btn,
	.active .chip {
		--h: 44px;
		min-height: 44px;
	}

	.active .clear {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 8px;
	}
}

.key {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: var(--r1);
	font: 700 12px/16px var(--font);
}

.key.first {
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.key.second {
	background: var(--good-soft);
	color: var(--good);
}

.key.third {
	background: var(--warn-soft);
	color: var(--warn);
}

.rotation-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.rotation-head .hint {
	margin: 4px 0 0;
	max-width: 62ch;
}

.swap {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding: 12px 16px;
	border-radius: var(--r2);
	background: var(--subtle);
}

.swap .label {
	font: 500 12px/16px var(--font);
	color: var(--ink-3);
}

.swap strong {
	font: 600 16px/24px var(--font);
	color: var(--ink);
}

.swap span:not(.label) {
	font-size: 14px;
	line-height: 20px;
	color: var(--ink-2);
}

.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 20px;
	color: var(--ink-2);
}

.legend li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.legend :is(.ring, .bar, .rest) {
	width: 20px;
	height: 20px;
	border-radius: var(--r1);
}

.legend .ring {
	box-shadow: inset 0 0 0 2px var(--ink);
}

.legend .bar {
	background: var(--subtle);
	box-shadow: inset 3px 0 0 var(--ink), inset 0 0 0 1px var(--line);
}

.legend .rest {
	box-shadow: inset 0 0 0 1px var(--line-2);
}

.weekdays,
.calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.weekdays {
	margin-bottom: -8px;
}

.weekdays span {
	font: 500 12px/16px var(--font);
	color: var(--ink-3);
	text-align: center;
}

.day {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0;
	height: auto;
	min-height: 60px;
	padding: 8px;
	border-radius: var(--r1);
	font-size: 13px;
	line-height: 18px;
	box-shadow: inset 0 0 0 1px var(--line-2);
	color: var(--ink-3);
}

.day .num {
	font-weight: 500;
}

.day .foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	font: 500 12px/16px var(--font);
}

.day.first {
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.day.second {
	background: var(--good-soft);
	color: var(--good);
}

.day.third {
	background: var(--warn-soft);
	color: var(--warn);
}

.day.swapday {
	box-shadow: inset 3px 0 0 var(--ink), inset 0 0 0 1px var(--line-2);
}

.day.today {
	box-shadow: inset 0 0 0 2px var(--ink);
}

.day.today .num {
	font-weight: 700;
}

.mailrow-state {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.proof {
	display: grid;
	gap: 4px;
	padding: 12px 16px;
	border-radius: var(--r2);
	background: var(--accent-soft);
}

.proof .label {
	font: 500 12px/16px var(--font);
	color: var(--accent-ink);
}

.proof p {
	margin: 0;
	font-size: 16px;
	line-height: 26px;
	color: var(--ink);
}

.proof small {
	font-size: 13px;
	line-height: 18px;
	color: var(--ink-2);
}

.readings {
	width: 100%;
	border-collapse: collapse;
}

.readings :is(th, td) {
	padding: 8px 0;
	text-align: left;
	font-size: 14px;
	line-height: 20px;
	vertical-align: middle;
}

.readings thead th {
	font: 500 12px/16px var(--font);
	color: var(--ink-3);
}

.readings tbody tr {
	box-shadow: inset 0 1px 0 var(--line);
}

.readings tbody th {
	font-weight: 500;
	color: var(--ink);
}

.readings tbody th small {
	display: block;
	font-weight: 400;
	font-size: 13px;
	line-height: 18px;
	color: var(--ink-3);
}

.readings td {
	padding-left: 12px;
}

.readings input {
	width: 96px;
}

.board-record-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

@media (max-width: 720px) {
	.readings thead {
		display: none;
	}

	.readings tbody tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 12px;
		padding: 12px 0;
	}

	.readings tbody th {
		grid-column: 1 / -1;
		padding: 0;
	}

	.readings td {
		display: grid;
		gap: 4px;
		padding: 0;
	}

	.readings td::before {
		content: attr(data-label);
		font: 500 12px/16px var(--font);
		color: var(--ink-3);
	}

	.readings input {
		width: 100%;
		min-height: 44px;
	}

	.record .chips label {
		min-height: 44px;
	}

	.day {
		min-height: 52px;
		padding: 4px;
	}

	.day .foot {
		justify-content: flex-end;
	}

	.day .foot span:not(.key) {
		display: none;
	}

	.swap strong {
		font-size: 15px;
	}
}
