@font-face {
	font-family: "Wanted Sans Variable";
	src: url("/WantedSansVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
:root {
	color-scheme: light;
	--background: #f8f9fc;
	--foreground: #373c5c;
	--card: #fff;
	--muted: #717695;
	--primary: #2563eb;
	--primary-soft: #eaf1ff;
	--border: #e2e5ed;
	--success: #047857;
	--amber: #a16207;
	--danger: #be123c;
	--radius: 10px;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font:
		14px / 1.5 "Wanted Sans Variable",
		system-ui,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}
button,
input,
select {
	font: inherit;
}
button,
a,
input,
select {
	outline-offset: 4px;
}
button {
	cursor: pointer;
}
button:disabled {
	opacity: 0.5;
	cursor: default;
}
a {
	color: var(--primary);
}
[hidden] {
	/* biome-ignore lint/complexity/noImportantStyles: hidden 상태가 레이아웃 display 선언보다 우선해야 한다. */
	display: none !important;
}
h1,
h2,
p {
	margin: 0;
}
h1 {
	font-size: 26px;
	letter-spacing: -0.04em;
	line-height: 1.3;
}
h2 {
	font-size: 14px;
	font-weight: 720;
}
button,
input,
select {
	border-radius: 8px;
}
select {
	height: 34px;
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--foreground);
	padding: 0 28px 0 10px;
}
input {
	height: 40px;
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--foreground);
	padding: 0 11px;
}
.primary,
.secondary,
.ghost,
.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	padding: 0 13px;
	font-size: 12px;
	font-weight: 650;
}
.primary {
	border: 1px solid var(--primary);
	background: var(--primary);
	color: #fff;
}
.primary:hover {
	background: #1d4ed8;
}
.secondary {
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--foreground);
}
.secondary:hover,
.ghost:hover {
	background: var(--primary-soft);
}
.ghost,
.icon-button {
	border: 0;
	background: transparent;
	color: var(--muted);
}
.help {
	display: inline-grid;
	width: 17px;
	height: 17px;
	place-items: center;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 10px;
	line-height: 1;
	padding: 0;
	margin-left: 6px;
}
.help:focus,
.help:hover {
	border-color: var(--primary);
	color: var(--primary);
}
.muted {
	color: var(--muted);
	font-size: 12px;
}
.eyebrow {
	color: var(--muted);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
}
.brand-mark {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 8px;
	background: var(--primary);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}
.workspace {
	display: grid;
	min-height: 100vh;
	grid-template-columns: 208px minmax(0, 1fr);
}
.sidebar {
	position: sticky;
	top: 0;
	display: flex;
	height: 100vh;
	flex-direction: column;
	border-right: 1px solid var(--border);
	background: #f0f2f9;
	padding: 22px 14px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--foreground);
	text-decoration: none;
	padding: 0 5px;
}
.brand strong {
	font-size: 16px;
	letter-spacing: -0.03em;
}
.brand > span:last-child {
	margin-left: auto;
	color: var(--muted);
	font-size: 11px;
}
.nav-label {
	margin: 37px 11px 9px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 650;
}
.nav-active {
	display: flex;
	gap: 10px;
	align-items: center;
	height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--card);
	color: var(--primary);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 1px 2px #1b234208;
}
.nav-active > span {
	font-size: 17px;
}
.sidebar-bottom {
	margin-top: auto;
	padding: 12px 3px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--border);
}
.private-mark {
	font-size: 10px;
	color: var(--muted);
}
.sidebar-bottom button {
	font-size: 10px;
	padding: 0 7px;
}
main {
	width: 100%;
	max-width: 1450px;
	padding: 32px 38px 24px;
	margin: 0 auto;
}
.page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.header-actions,
.table-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}
.report-meta {
	display: flex;
	align-items: center;
	gap: 2px;
	color: var(--muted);
	font-size: 11px;
	margin: 12px 0 20px;
	flex-wrap: wrap;
}
.updated {
	margin-left: auto;
}
.notice:empty {
	display: none;
}
.notice {
	font-size: 12px;
	padding: 10px 12px;
	margin-bottom: 14px;
	border-radius: 8px;
	background: var(--primary-soft);
	color: var(--primary);
	overflow-wrap: anywhere;
}
.notice.error {
	color: var(--danger);
	background: #fff1f2;
}
.totals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(135px, 0.8fr);
	gap: 12px;
	margin-bottom: 24px;
}
.total {
	padding: 17px 19px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	min-width: 0;
}
.total > div {
	display: flex;
	align-items: center;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}
.total strong {
	display: block;
	margin: 10px 0 6px;
	font-size: 28px;
	font-weight: 720;
	letter-spacing: -0.045em;
	font-variant-numeric: tabular-nums;
}
.total > span {
	color: var(--muted);
	font-size: 10px;
}
.total small {
	font-size: 16px;
	color: var(--muted);
	font-weight: 450;
}
.panel {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	margin-bottom: 18px;
	overflow: hidden;
}
.panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 19px;
	border-bottom: 1px solid var(--border);
}
.panel-heading {
	display: flex;
	align-items: center;
	gap: 10px;
}
.provider-row {
	display: grid;
	grid-template-columns: 36px minmax(140px, 1.4fr) minmax(95px, 1fr) minmax(90px, 0.7fr) minmax(
			85px,
			0.7fr
		) 24px;
	gap: 13px;
	align-items: center;
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
	padding: 16px 19px;
	text-align: left;
	color: var(--foreground);
}
.provider-row:last-child {
	border-bottom: 0;
}
.provider-row:hover {
	background: #f8faff;
}
.provider-logo {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	border-radius: 9px;
	font-size: 17px;
	font-weight: 800;
	background: var(--card);
}
.provider-logo.vercel {
	color: #111;
}
.provider-logo.cloudflare {
	color: #f38020;
}
.provider-logo.upstash {
	color: #059669;
}
.provider-logo.neon {
	color: #047857;
}
.provider-name {
	display: block;
	font-size: 13px;
	font-weight: 700;
}
.provider-scope {
	display: block;
	color: var(--muted);
	font-size: 10px;
	margin-top: 3px;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	justify-self: start;
	padding: 3px 8px;
	border-radius: 5px;
	background: #f0f2f7;
	color: var(--muted);
	font-size: 10px;
	white-space: nowrap;
}
.badge.ready {
	background: #ecfdf5;
	color: var(--success);
}
.badge.error {
	background: #fff1f2;
	color: var(--danger);
}
.badge.partial {
	background: #fffbeb;
	color: var(--amber);
}
.basis {
	font-size: 11px;
	color: var(--muted);
}
.provider-money {
	text-align: right;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.chevron {
	justify-self: end;
	color: var(--muted);
	font-size: 18px;
}
.table-scroll {
	overflow: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	white-space: nowrap;
	font-size: 11px;
}
th {
	padding: 11px 18px;
	text-align: left;
	color: var(--muted);
	font-size: 10px;
	font-weight: 550;
	background: #fafbfe;
}
td {
	padding: 11px 18px;
	border-top: 1px solid #f0f2f7;
	max-width: 230px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.money {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.empty {
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	padding: 38px 20px;
}
.pagination {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
	padding: 10px 18px;
	border-top: 1px solid var(--border);
}
.pagination > span {
	margin-right: auto;
	font-size: 10px;
	color: var(--muted);
}
.pagination button {
	min-height: 28px;
	font-size: 10px;
	padding: 0 9px;
}
footer {
	color: var(--muted);
	font-size: 10px;
	padding: 0 2px 12px;
}
.login-view {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 20px;
}
.login-card {
	width: min(360px, 100%);
	display: flex;
	flex-direction: column;
	padding: 30px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--card);
}
.login-card > .brand-mark {
	margin-bottom: 23px;
}
.login-card h1 {
	font-size: 23px;
	margin-bottom: 9px;
}
.login-card label {
	font-size: 11px;
	margin: 25px 0 6px;
}
.login-card > .primary {
	height: 39px;
	margin-top: 15px;
}
.login-card .notice {
	margin: 10px 0 0;
}
.login-card details {
	margin-top: 20px;
	font-size: 11px;
	color: var(--muted);
}
details p {
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
dialog {
	width: min(520px, calc(100vw - 32px));
	max-height: calc(100dvh - 40px);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 20px 60px #1b234226;
	color: var(--foreground);
	background: var(--card);
}
dialog::backdrop {
	background: #0e122366;
	backdrop-filter: blur(3px);
}
.dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	background: var(--card);
}
.dialog-head h2 {
	font-size: 15px;
}
.icon-button {
	font-size: 22px;
	width: 30px;
	min-height: 30px;
	padding: 0;
}
.dialog-content {
	padding: 20px;
	overflow-wrap: anywhere;
}
.dialog-content dl {
	display: grid;
	grid-template-columns: 75px 1fr;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 12px;
}
.dialog-content dt {
	color: var(--muted);
}
.dialog-content dd {
	margin: 0;
}
.dialog-content h3 {
	font-size: 12px;
	margin: 18px 0 9px;
}
.dialog-content ul {
	font-size: 11px;
	padding-left: 18px;
	color: var(--muted);
	line-height: 1.8;
}
.dialog-content code {
	font-size: 11px;
	background: #f0f2f7;
	padding: 3px 6px;
	border-radius: 4px;
	display: inline-block;
	margin: 3px 0;
}
.dialog-content > a {
	display: inline-block;
	margin-top: 12px;
	font-size: 12px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 1100px) {
	main {
		padding: 26px 22px;
	}
	.workspace {
		grid-template-columns: 178px minmax(0, 1fr);
	}
	.totals {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.provider-row {
		grid-template-columns: 34px minmax(140px, 1fr) 90px 90px 18px;
		gap: 10px;
	}
	.provider-row > .basis {
		display: none;
	}
}
@media (max-width: 700px) {
	.workspace {
		display: block;
	}
	.sidebar {
		position: static;
		height: auto;
		padding: 12px 16px;
		flex-direction: row;
		align-items: center;
		border-right: 0;
		border-bottom: 1px solid var(--border);
		gap: 16px;
	}
	.brand > span:last-child,
	.nav-label,
	.private-mark {
		display: none;
	}
	.brand strong {
		font-size: 14px;
	}
	.nav-active {
		margin-left: auto;
		height: 30px;
		padding: 0 8px;
	}
	.sidebar-bottom {
		margin: 0;
		border: 0;
		padding: 0;
	}
	main {
		padding: 22px 14px;
	}
	.page-header {
		align-items: flex-start;
	}
	h1 {
		font-size: 23px;
	}
	.header-actions {
		gap: 6px;
	}
	.header-actions select {
		max-width: 125px;
		font-size: 11px;
	}
	.header-actions button {
		padding: 0 9px;
	}
	.report-meta {
		gap: 3px;
		margin-bottom: 16px;
	}
	.updated {
		width: 100%;
		margin-top: 4px;
	}
	.totals {
		gap: 8px;
		margin-bottom: 18px;
	}
	.total {
		padding: 13px;
	}
	.total strong {
		font-size: 24px;
	}
	.panel-head {
		padding: 13px;
		flex-wrap: wrap;
	}
	.provider-row {
		padding: 14px 12px;
		grid-template-columns: 30px minmax(100px, 1fr) 78px 72px;
		gap: 8px;
	}
	.provider-logo {
		width: 29px;
		height: 29px;
		font-size: 14px;
	}
	.provider-row > .chevron {
		display: none;
	}
	.provider-money {
		font-size: 14px;
	}
	.provider-scope {
		font-size: 9px;
	}
	.badge {
		font-size: 9px;
		padding: 3px 5px;
	}
	.panel-heading {
		gap: 8px;
	}
	.table-actions {
		margin-left: auto;
	}
	.table-actions select {
		font-size: 10px;
		max-width: 120px;
	}
	.table-actions button {
		font-size: 10px;
		padding: 0 8px;
	}
	footer {
		line-height: 1.8;
	}
	.login-card {
		padding: 24px;
	}
}
