:root {
	--uh-ink: #1b2430;
	--uh-muted: #667085;
	--uh-line: #e4e7ec;
	--uh-brand: #1f3864;
	--uh-brand-2: #2b4c86;
	--uh-ok: #15803d;
	--uh-warn: #b45309;
	--uh-bad: #b91c1c;
	--uh-bg: #f5f7fa;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
.uh-body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--uh-ink);
	background: var(--uh-bg);
	font-size: 15px;
	line-height: 1.5;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.uh-body a { color: var(--uh-brand-2); text-decoration: none; }
.uh-body a:hover { text-decoration: underline; }

/* Top bar */
.uh-topbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--uh-brand); color: #fff; padding: 12px 24px; position: relative;
}
.uh-brand { color: #fff !important; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.uh-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--uh-brand); font-weight: 800; }
.uh-company { font-weight: 400; font-size: 14px; color: #c9d6ef; padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.3); }
.uh-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.uh-nav a, .uh-nav .uh-linkbtn { color: #dbe4f5 !important; padding: 7px 11px; border-radius: 6px; font-size: 14px; }
.uh-nav a:hover, .uh-nav .uh-linkbtn:hover { color: #fff !important; background: rgba(255,255,255,.1); text-decoration: none; }
.uh-nav a.is-active { color: #fff !important; background: rgba(255,255,255,.16); }
.uh-nav .uh-who { font-weight: 600; margin-left: 8px; }
.uh-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.uh-menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

.uh-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 24px 40px; flex: 1; }
.uh-footer { text-align: center; padding: 18px; color: var(--uh-muted); font-size: 13px; }
.uh-footer a { color: var(--uh-muted) !important; }

h1 { font-size: 24px; margin: 0 0 16px; line-height: 1.25; }
h2 { font-size: 17px; margin: 22px 0 10px; }
.uh-mt0 { margin-top: 0; }
.uh-mt { margin-top: 16px; }

.uh-card { background: #fff; border: 1px solid var(--uh-line); border-radius: 10px; padding: 22px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.uh-card-ok { border-color: #86c79b; background: #f6fcf8; }
.uh-narrow { max-width: 420px; margin: 40px auto; }
.uh-narrow-card { max-width: 620px; }
.uh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.uh-head h1 { margin-bottom: 4px; }

/* Tables */
.uh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.uh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uh-table th, .uh-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--uh-line); vertical-align: top; }
.uh-table th { color: var(--uh-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.uh-table tbody tr:hover td { background: #fafbfc; }
.uh-right { text-align: right !important; }
.uh-nowrap { white-space: nowrap; }
.uh-w1 { width: 1%; }

.uh-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; margin: 1px 0; }
.uh-badge-pending { background: #fef3c7; color: var(--uh-warn); }
.uh-badge-approved { background: #dcfce7; color: var(--uh-ok); }
.uh-badge-rejected { background: #fee2e2; color: var(--uh-bad); }

/* Forms */
.uh-body label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 5px; }
.uh-body label.uh-check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.uh-body input[type=text], .uh-body input[type=email], .uh-body input[type=password], .uh-body input[type=number],
.uh-body input[type=date], .uh-body input[type=file], .uh-body select, .uh-body textarea {
	width: 100%; padding: 10px 11px; border: 1px solid #d0d5dd; border-radius: 7px; font-size: 15px; font-family: inherit; background: #fff; color: var(--uh-ink);
}
.uh-body input:focus, .uh-body select:focus { outline: 2px solid #b6c8ec; border-color: var(--uh-brand-2); }
.uh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.uh-span2 { grid-column: 1 / -1; }
.uh-amount { display: flex; gap: 8px; }
.uh-amount input { flex: 1; }
.uh-amount select { width: 96px; flex: none; }
.uh-row { display: flex; gap: 8px; align-items: center; }
.uh-row input { flex: 1; }
.uh-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.uh-filters select { width: auto; min-width: 180px; }
.uh-actions { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.uh-inline { display: inline; margin: 0; }
.uh-hp { position: absolute; left: -9999px; }
.uh-copy { font-family: ui-monospace, Menlo, monospace; font-size: 13px !important; }

.uh-btn { display: inline-block; padding: 9px 17px; border-radius: 7px; border: 1px solid var(--uh-brand); background: var(--uh-brand); color: #fff !important; cursor: pointer; font-size: 14px; font-weight: 600; font-family: inherit; line-height: 1.3; text-decoration: none !important; }
.uh-btn:hover { background: var(--uh-brand-2); }
.uh-btn-sm { padding: 5px 11px; font-size: 13px; }
.uh-btn-ghost { background: #fff; color: var(--uh-brand) !important; }
.uh-btn-ghost:hover { background: #eef2f9; }
.uh-btn-ok { background: var(--uh-ok); border-color: var(--uh-ok); }
.uh-btn-ok:hover { background: #116a33; }
.uh-btn-bad { background: var(--uh-bad); border-color: var(--uh-bad); }
.uh-btn-bad:hover { background: #991b1b; }
.uh-linkbtn { background: none; border: 0; padding: 0; color: var(--uh-brand-2); cursor: pointer; font: inherit; font-size: 14px; }
.uh-linkbtn:hover { text-decoration: underline; }
.uh-danger { color: var(--uh-bad) !important; margin-left: 8px; }
.uh-muted { color: var(--uh-muted); font-size: 13px; }

.uh-flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.uh-flash-success { background: #dcfce7; color: #14532d; }
.uh-flash-error { background: #fee2e2; color: #7f1d1d; }

.uh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.uh-stat { background: #fff; border: 1px solid var(--uh-line); border-radius: 10px; padding: 16px; }
.uh-stat .n { font-size: 28px; font-weight: 700; color: var(--uh-brand); line-height: 1.1; }
.uh-stat .l { font-size: 12px; color: var(--uh-muted); text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.uh-stat .s { font-size: 13px; margin-top: 6px; }
.uh-bulk { border-top: 1px solid var(--uh-line); padding-top: 14px; }

@media (max-width: 860px) {
	.uh-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.uh-topbar { padding: 10px 16px; flex-wrap: wrap; }
	.uh-company { display: none; }
	.uh-menu-toggle { display: block; }
	.uh-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; }
	.uh-nav.is-open { display: flex; }
	.uh-nav .uh-who { margin-left: 0; }
	.uh-nav form { display: block; }
	.uh-nav .uh-linkbtn { width: 100%; text-align: left; }
	.uh-wrap { padding: 20px 16px 32px; }
	.uh-grid2 { grid-template-columns: 1fr; }
	.uh-card { padding: 18px 16px; }
	h1 { font-size: 21px; }
	.uh-narrow { margin: 20px auto; }
}
