.nayra-login-page {
	min-height: 100vh;
	background-color: #eef1f6;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
	background-size: 34px 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
}

.brand-link .bi {
	font-size: 1.15rem;
}

.small-box .inner h3 {
	font-size: 2rem;
	font-weight: 700;
}

.nayra-soft-card {
	border-radius: 0.85rem;
	box-shadow: 0 10px 30px rgba(31, 45, 61, 0.08);
}

.nayra-soft-card .card-header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nayra-section-title {
	float: none;
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.nayra-section-subtitle {
	clear: both;
	display: block;
	color: #6c757d;
	margin-bottom: 0;
}

.table-dashboard td,
.table-dashboard th {
	vertical-align: middle;
}

.table-dashboard .btn {
	white-space: nowrap;
}

.form-section-divider {
	border-top: 1px dashed #d7dce1;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
}

.item-table tfoot th {
	background: #f8f9fa;
}

.item-table thead th {
	background: #f8fafc;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
	border-bottom-width: 1px;
}

.item-table td {
	vertical-align: middle;
}

.item-table .input-group-text {
	background: #f1f5f9;
	color: #64748b;
	font-size: 0.82rem;
	padding: 0.375rem 0.6rem;
}

.item-table .text-subtotal {
	font-size: 1rem;
	color: #0f172a;
}

.item-table tbody tr:hover {
	background: #f8fafc;
}

.content-header h1 {
	font-size: 1.6rem;
	font-weight: 600;
}

.main-sidebar .nav-treeview > .nav-item > .nav-link.active {
	background-color: rgba(255, 255, 255, 0.12);
}

.nayra-btn-gradient {
	border: 0;
	color: #fff;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #0f172a 100%);
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
	border-radius: 14px;
	padding: 0.7rem 1.15rem;
	font-weight: 600;
}

.nayra-btn-gradient:hover,
.nayra-btn-gradient:focus {
	color: #fff;
	transform: translateY(-1px);
}

.nayra-btn-soft {
	border-radius: 14px;
	padding: 0.68rem 1.1rem;
	border: 1px solid #dbe4f0;
	background: rgba(255, 255, 255, 0.88);
	color: #334155;
	font-weight: 600;
}

.nayra-btn-soft:hover,
.nayra-btn-soft:focus {
	color: #0f172a;
	background: #fff;
}

.nayra-btn-outline-primary {
	border-radius: 12px;
	border: 1px solid rgba(37, 99, 235, 0.25);
	background: rgba(37, 99, 235, 0.06);
	color: #1d4ed8;
	font-weight: 600;
	padding: 0.38rem 0.75rem;
}

.nayra-btn-outline-primary:hover,
.nayra-btn-outline-primary:focus {
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
}

.nayra-master-hero,
.nayra-master-form-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.8rem 2rem;
	border-radius: 24px;
	background:
		radial-gradient(
			circle at top right,
			rgba(148, 163, 184, 0.12),
			transparent 28%
		),
		linear-gradient(
			140deg,
			rgba(15, 23, 42, 0.97) 0%,
			rgba(30, 41, 59, 0.95) 46%,
			rgba(37, 99, 235, 0.9) 100%
		);
	color: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.nayra-master-hero__content,
.nayra-master-form-hero > div:first-child {
	max-width: 700px;
}

.nayra-master-hero__eyebrow {
	display: inline-flex;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.9rem;
}

.nayra-master-hero h2,
.nayra-master-form-hero h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.45rem;
}

.nayra-master-hero p,
.nayra-master-form-hero p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
}

.nayra-master-hero__meta {
	display: flex;
	align-items: stretch;
	gap: 0.9rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nayra-master-stat {
	min-width: 135px;
	padding: 1rem 1.1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
}

.nayra-master-stat__label {
	display: block;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 0.35rem;
}

.nayra-master-stat strong {
	font-size: 1.4rem;
	font-weight: 700;
}

.nayra-master-card,
.nayra-master-form-card {
	border: 1px solid rgba(226, 232, 240, 0.9);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(248, 250, 252, 0.98) 100%
	);
}

.nayra-master-count-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.08);
	color: #1d4ed8;
	font-size: 0.84rem;
	font-weight: 700;
}

.nayra-master-table thead th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	background: #f8fbff;
	border-bottom: 1px solid #e2e8f0;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.nayra-master-table tbody td {
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-color: #eef2f7;
}

.nayra-master-table tbody tr:hover {
	background: rgba(37, 99, 235, 0.03);
}

.nayra-row-number {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	font-weight: 700;
}

.nayra-master-primary__title {
	display: block;
	font-weight: 700;
	color: #0f172a;
}

.nayra-master-primary__subtitle {
	display: block;
	margin-top: 0.15rem;
	color: #64748b;
}

.nayra-master-money,
.nayra-master-percent {
	font-weight: 700;
	color: #0f172a;
}

.nayra-empty-state {
	max-width: 420px;
	margin: 0 auto;
	padding: 1rem;
}

.nayra-empty-state__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #2563eb;
	font-size: 1.4rem;
}

.nayra-empty-state__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.35rem;
}

.nayra-empty-state__text {
	color: #64748b;
	line-height: 1.7;
}

.nayra-master-form-section {
	padding: 1.4rem;
	border-radius: 22px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(248, 250, 252, 0.94) 100%
	);
	border: 1px solid #e2e8f0;
}

.nayra-master-form-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.nayra-master-form-section__head h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: #0f172a;
}

.nayra-master-form-section__head p {
	margin-bottom: 0;
	color: #64748b;
}

.nayra-master-label {
	font-size: 0.9rem;
	font-weight: 700;
	color: #334155;
	margin-bottom: 0.45rem;
}

.nayra-master-input {
	min-height: 50px;
	border-radius: 16px;
	border: 1px solid #dbe4f0;
	background: #fff;
	padding-left: 1rem;
	padding-right: 1rem;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.nayra-master-input:focus {
	border-color: #93c5fd;
	box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.nayra-master-input--readonly {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	color: #475569;
	font-weight: 600;
}

.nayra-master-help {
	display: inline-block;
	margin-top: 0.45rem;
	color: #64748b;
}

.nayra-toggle-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border-radius: 18px;
	border: 1px solid #dbe4f0;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.nayra-toggle-card__title {
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.2rem;
}

.nayra-alert-soft {
	border-radius: 16px;
	border: 1px solid rgba(220, 38, 38, 0.14);
	box-shadow: 0 10px 25px rgba(220, 38, 38, 0.06);
}

.nayra-auth-shell {
	position: relative;
	width: 100%;
	max-width: 940px;
	margin: 0 auto;
}

.nayra-auth-card {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 460px;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.nayra-auth-brand-panel {
	width: 52%;
	position: relative;
	color: #fff;
	background-color: #0b1220;
	background-image: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.035) 0,
		rgba(255, 255, 255, 0.035) 1px,
		transparent 1px,
		transparent 26px
	);
	border-right: 4px solid #f59e0b;
}

.nayra-auth-brand-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 2.35rem 2.4rem;
}

.nayra-auth-brand-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.nayra-auth-brand-body {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	justify-content: flex-end;
}

.nayra-auth-wordmark {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}

.nayra-auth-wordmark span {
	color: #f59e0b;
}

.nayra-auth-tagline {
	margin-top: 0.4rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nayra-auth-index {
	flex: 0 0 auto;
	padding: 0.3rem 0.55rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

.nayra-auth-hero {
	margin: 0;
	max-width: 380px;
}

.nayra-auth-hero h1 {
	font-size: 1.85rem;
	line-height: 1.32;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #fff;
}

.nayra-auth-hero p {
	font-size: 0.88rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0;
}

.nayra-auth-modules {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: 400px;
}

.nayra-auth-module-chip {
	padding: 0.4rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.nayra-auth-brand-footer {
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.nayra-auth-form-panel {
	width: 48%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2.2rem;
	background: #ffffff;
}

.nayra-auth-form-wrap {
	width: 100%;
	max-width: 320px;
}

.nayra-auth-form-header {
	margin-bottom: 1.75rem;
}

.nayra-auth-form-kicker {
	color: #94a3b8;
	font-weight: 700;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 0.6rem;
}

.nayra-auth-form-header h2 {
	font-size: 1.7rem;
	font-weight: 700;
	color: #0b1220;
	margin-bottom: 0.45rem;
}

.nayra-auth-form-header p {
	color: #94a3b8;
	margin-bottom: 0;
	line-height: 1.6;
	font-size: 0.82rem;
}

.nayra-auth-field {
	margin-bottom: 1.35rem;
}

.nayra-auth-field label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 0.55rem;
}

.nayra-auth-field__control {
	position: relative;
}

.nayra-auth-field__control > i:first-child {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #cbd5e1;
	font-size: 0.85rem;
	pointer-events: none;
}

.nayra-auth-field__control input {
	width: 100%;
	height: 44px;
	padding: 0 1.9rem 0 1.55rem;
	border: 0;
	border-bottom: 2px solid #e2e8f0;
	border-radius: 0;
	background: transparent;
	font-size: 0.92rem;
	color: #0b1220;
	transition: border-color 0.15s ease;
}

.nayra-auth-field__control input:focus {
	outline: 0;
	border-bottom-color: #0b1220;
	box-shadow: none;
}

.nayra-auth-password-toggle {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: none;
	padding: 0.3rem;
	color: #cbd5e1;
	cursor: pointer;
}

.nayra-auth-password-toggle:hover,
.nayra-auth-password-toggle:focus {
	color: #0b1220;
	outline: none;
}

.nayra-auth-submit {
	height: 46px;
	width: 100%;
	border: 0;
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: #0b1220;
	font-size: 0.8rem;
	margin-top: 0.5rem;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}

.nayra-auth-submit:hover,
.nayra-auth-submit:focus {
	color: #0b1220;
	background: #f59e0b;
}

.nayra-auth-footer-note {
	margin-top: 1.4rem;
	padding-top: 1.1rem;
	border-top: 1px solid #eef2f7;
	color: #94a3b8;
	font-size: 0.72rem;
	line-height: 1.6;
}

.nayra-auth-footer-note code {
	color: #475569;
	font-weight: 700;
}

.nayra-owner-hero {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 2rem;
	border-radius: 10px;
	background-color: #0b1220;
	background-image: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.035) 0,
		rgba(255, 255, 255, 0.035) 1px,
		transparent 1px,
		transparent 26px
	);
	border-left: 6px solid #f59e0b;
	color: #fff;
	box-shadow: 0 20px 48px rgba(11, 18, 32, 0.28);
}

/* Owner dashboard: consistent breathing room and executive visual hierarchy. */
.nayra-owner-dashboard {
	padding: 0.35rem 0 2.25rem;
}

.nayra-owner-dashboard > .row {
	margin-bottom: 1.75rem;
	row-gap: 1.5rem;
}

.nayra-owner-dashboard > .row:last-child {
	margin-bottom: 0;
}

.nayra-owner-dashboard > .row > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

.nayra-owner-dashboard .nayra-owner-kpi,
.nayra-owner-dashboard .nayra-owner-card {
	width: 100%;
}

.nayra-owner-dashboard .nayra-owner-kpi {
	height: 100%;
}

.nayra-owner-dashboard .nayra-owner-card {
	flex: 1 1 auto;
	margin-bottom: 0;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.nayra-owner-dashboard .nayra-owner-card .card-header {
	padding: 1.5rem 1.5rem 0.75rem;
}

.nayra-owner-dashboard .nayra-owner-card .card-body:not(.p-0) {
	padding: 1.25rem 1.5rem 1.5rem;
}

.nayra-owner-dashboard .alert {
	margin-bottom: 1.75rem;
}

.nayra-owner-hero__content {
	max-width: 720px;
}

.nayra-owner-hero__content h2 {
	font-size: 2.15rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
}

.nayra-owner-hero__content p {
	margin-bottom: 1.1rem;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.7;
}

.nayra-owner-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nayra-owner-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.85rem;
	border-radius: 4px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.8rem;
	font-weight: 600;
}

.nayra-owner-hero__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(170px, 1fr));
	gap: 0.9rem;
	min-width: 360px;
}

.nayra-owner-highlight {
	padding: 1rem 1.05rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.nayra-owner-highlight__label {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.68);
	margin-bottom: 0.45rem;
}

.nayra-owner-highlight strong {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.nayra-owner-kpi {
	position: relative;
	padding: 1.35rem 1.35rem 1.25rem;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #cbd5e1;
	background: #fff;
	color: #0f172a;
	min-height: 180px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.nayra-owner-kpi__icon {
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.nayra-owner-kpi__label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 0.4rem;
}

.nayra-owner-kpi__value {
	font-size: 1.6rem;
	font-weight: 750;
	line-height: 1.2;
	margin-bottom: 0.55rem;
	color: #0f172a;
}

.nayra-owner-kpi__meta {
	font-size: 0.88rem;
	color: #64748b;
}

.nayra-owner-kpi__trend {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.5rem;
	padding: 0.28rem 0.62rem;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 700;
	background: #ecfdf5;
	color: #047857;
}

.nayra-owner-kpi__trend--down {
	background: #fff1f2;
	color: #be123c;
}

.nayra-owner-kpi--blue {
	border-left-color: #2563eb;
}

.nayra-owner-kpi--blue .nayra-owner-kpi__icon {
	color: #2563eb;
	background: #eff6ff;
}

.nayra-owner-kpi--emerald {
	border-left-color: #059669;
}

.nayra-owner-kpi--emerald .nayra-owner-kpi__icon {
	color: #059669;
	background: #ecfdf5;
}

.nayra-owner-kpi--amber {
	border-left-color: #d97706;
}

.nayra-owner-kpi--amber .nayra-owner-kpi__icon {
	color: #d97706;
	background: #fffbeb;
}

.nayra-owner-kpi--rose {
	border-left-color: #e11d48;
}

.nayra-owner-kpi--rose .nayra-owner-kpi__icon {
	color: #e11d48;
	background: #fff1f2;
}

.nayra-owner-card {
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 24px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(248, 250, 252, 0.98) 100%
	);
}

.nayra-owner-mini-card {
	height: 100%;
	padding: 1rem 1.05rem;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nayra-owner-mini-card__label {
	display: block;
	font-size: 0.84rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.45rem;
}

.nayra-owner-mini-card strong {
	display: block;
	font-size: 1.25rem;
	color: #0f172a;
	margin-bottom: 0.35rem;
}

.nayra-owner-mini-card small {
	display: block;
	color: #64748b;
	line-height: 1.6;
}

.nayra-owner-progress-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.nayra-owner-progress-card {
	padding: 1rem 1.05rem;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
}

.nayra-owner-progress-card span {
	font-weight: 600;
	color: #334155;
}

.nayra-owner-progress-card strong {
	color: #0f172a;
}

.nayra-owner-progress-card small {
	display: block;
	margin-top: 0.55rem;
	color: #64748b;
	line-height: 1.6;
}

.nayra-owner-progress {
	height: 10px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin-top: 0.8rem;
}

.nayra-owner-progress .progress-bar {
	border-radius: 999px;
}

.nayra-owner-chart-wrap {
	position: relative;
	height: 360px;
	padding: 1rem;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid #e2e8f0;
}

.nayra-owner-metric-list {
	display: grid;
	gap: 0.85rem;
}

.nayra-owner-metric-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
}

.nayra-owner-metric-item span {
	color: #475569;
	font-weight: 600;
}

.nayra-owner-metric-item strong {
	font-size: 1.05rem;
	color: #0f172a;
}

.nayra-owner-rank-item,
.nayra-owner-stock-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 0;
	border-bottom: 1px solid #eef2f7;
}

.nayra-owner-rank-item:last-child,
.nayra-owner-stock-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nayra-owner-rank-item:first-child,
.nayra-owner-stock-item:first-child {
	padding-top: 0;
}

.nayra-owner-rank-item__order {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	font-weight: 700;
	flex-shrink: 0;
}

.nayra-owner-rank-item__content {
	flex: 1;
}

.nayra-owner-rank-item__content strong,
.nayra-owner-stock-item strong {
	display: block;
	color: #0f172a;
}

.nayra-owner-rank-item__content small,
.nayra-owner-stock-item small {
	color: #64748b;
}

.nayra-owner-rank-item__value {
	font-weight: 700;
	color: #0f172a;
	text-align: right;
}

.nayra-owner-stock-item__saldo {
	display: block;
	font-weight: 700;
	color: #be123c;
}

.nayra-owner-note-card {
	position: relative;
	padding: 1rem 1rem 1rem 3.6rem;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	margin-bottom: 0.95rem;
}

.nayra-owner-note-card:last-child {
	margin-bottom: 0;
}

.nayra-owner-note-card__icon {
	position: absolute;
	left: 1rem;
	top: 1rem;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

.nayra-owner-note-card__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin-bottom: 0.4rem;
}

.nayra-owner-note-card strong {
	display: block;
	color: #0f172a;
	margin-bottom: 0.3rem;
}

.nayra-owner-note-card small {
	display: block;
	color: #64748b;
	line-height: 1.6;
}

.nayra-owner-note-card--amber {
	background: linear-gradient(180deg, #fffaf0 0%, #fffbeb 100%);
	border-color: rgba(245, 158, 11, 0.22);
}

.nayra-owner-note-card--amber .nayra-owner-note-card__icon {
	background: rgba(245, 158, 11, 0.12);
	color: #b45309;
}

.nayra-owner-note-card--rose {
	background: linear-gradient(180deg, #fff1f2 0%, #fff7f7 100%);
	border-color: rgba(244, 63, 94, 0.2);
}

.nayra-owner-note-card--rose .nayra-owner-note-card__icon {
	background: rgba(244, 63, 94, 0.12);
	color: #be123c;
}

.nayra-owner-note-card--emerald {
	background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
	border-color: rgba(16, 185, 129, 0.22);
}

.nayra-owner-note-card--emerald .nayra-owner-note-card__icon {
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
}

.nayra-owner-note-card--dark {
	background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 100%);
	border-color: rgba(15, 23, 42, 0.12);
}

.nayra-owner-note-card--dark .nayra-owner-note-card__icon {
	background: rgba(15, 23, 42, 0.08);
	color: #0f172a;
}

.nayra-owner-note-card--blue .nayra-owner-note-card__icon {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

.nayra-owner-table thead th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	background: #f8fbff;
	border-bottom: 1px solid #e2e8f0;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.nayra-owner-table tbody td {
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-color: #eef2f7;
}

.nayra-owner-table tbody tr:hover {
	background: rgba(37, 99, 235, 0.03);
}

.nayra-purchase-page { width:100%; padding:0 .25rem 2rem; }
.nayra-purchase-hero { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:1.75rem 2rem; margin-bottom:1.5rem; border-radius:24px; color:#fff; background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 58%,#2563eb 100%); box-shadow:0 20px 44px rgba(15,23,42,.16); }
.nayra-purchase-hero h2 { margin:.35rem 0 .45rem; font-size:1.8rem; font-weight:750; }
.nayra-purchase-hero p { margin:0; color:rgba(255,255,255,.72); }
.nayra-purchase-summary { row-gap:1rem; margin:0 -8px 1.5rem; }
.nayra-purchase-summary > [class*="col-"] { padding-left:8px; padding-right:8px; }
.nayra-purchase-stat { display:flex; align-items:center; gap:1rem; height:100%; padding:1.15rem; border:1px solid #e2e8f0; border-radius:20px; background:#fff; box-shadow:0 10px 28px rgba(15,23,42,.06); }
.nayra-purchase-stat__icon { display:flex; align-items:center; justify-content:center; width:48px; height:48px; flex:0 0 48px; border-radius:15px; font-size:1.1rem; }
.nayra-purchase-stat small,.nayra-purchase-stat span { display:block; color:#64748b; }
.nayra-purchase-stat small { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.nayra-purchase-stat strong { display:block; margin:.15rem 0; color:#0f172a; font-size:clamp(.95rem,1.05vw,1.15rem); line-height:1.25; overflow-wrap:anywhere; }
.nayra-purchase-stat div > span { font-size:.75rem; }
.nayra-purchase-stat--blue .nayra-purchase-stat__icon { color:#2563eb; background:#eff6ff; }
.nayra-purchase-stat--emerald .nayra-purchase-stat__icon { color:#059669; background:#ecfdf5; }
.nayra-purchase-stat--violet .nayra-purchase-stat__icon { color:#7c3aed; background:#f5f3ff; }
.nayra-purchase-stat--amber .nayra-purchase-stat__icon { color:#d97706; background:#fffbeb; }
.nayra-purchase-card { overflow:hidden; border:1px solid #e2e8f0; border-radius:24px; box-shadow:0 14px 36px rgba(15,23,42,.07); }
.nayra-purchase-card > .card-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.4rem 1.5rem .9rem; }
.nayra-purchase-toolbar { display:grid; grid-template-columns:minmax(260px,1fr) 190px 190px; gap:.75rem; padding:1rem 1.5rem 1.25rem; border-bottom:1px solid #e9eef5; }
.nayra-purchase-search { position:relative; }
.nayra-purchase-search i { position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:#94a3b8; }
.nayra-purchase-search input,.nayra-purchase-toolbar select { width:100%; height:44px; border:1px solid #dbe4f0; border-radius:13px; background:#f8fafc; color:#334155; }
.nayra-purchase-search input { padding:0 1rem 0 2.7rem; }
.nayra-purchase-toolbar select { padding-left:.85rem; }
.nayra-purchase-search input:focus,.nayra-purchase-toolbar select:focus { outline:0; border-color:#60a5fa; background:#fff; box-shadow:0 0 0 3px rgba(59,130,246,.1); }
.nayra-purchase-table thead th { padding:1rem 1.25rem; border:0; background:#f8fafc; color:#64748b; font-size:.73rem; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.nayra-purchase-table tbody td { padding:1rem 1.25rem; vertical-align:middle; border-color:#eef2f7; color:#334155; }
.nayra-purchase-table tbody tr:hover { background:#f8fbff; }
.nayra-purchase-table td:first-child strong,.nayra-purchase-table td:first-child small { display:block; }
.nayra-purchase-table td:first-child strong { color:#0f172a; }
.nayra-purchase-table td:first-child small { margin-top:.28rem; color:#94a3b8; }
.nayra-purchase-supplier { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; margin-right:.6rem; border-radius:11px; color:#2563eb; background:#eff6ff; }
.nayra-purchase-badge { display:inline-flex; padding:.4rem .7rem; border-radius:999px; font-size:.72rem; font-weight:700; }
.nayra-purchase-badge--final,.nayra-purchase-badge--paid { color:#047857; background:#d1fae5; }
.nayra-purchase-badge--draft,.nayra-purchase-badge--partial { color:#b45309; background:#fef3c7; }
.nayra-purchase-badge--cancelled,.nayra-purchase-badge--unpaid { color:#be123c; background:#ffe4e6; }
.nayra-purchase-money { color:#0f172a !important; font-weight:750; white-space:nowrap; }
.nayra-purchase-actions { display:inline-flex; gap:.4rem; }
.nayra-purchase-actions a { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid #dbeafe; border-radius:10px; color:#2563eb; background:#eff6ff; }
.nayra-purchase-actions a:hover { text-decoration:none; color:#fff; background:#2563eb; }
.nayra-purchase-actions a.is-pdf { color:#e11d48; border-color:#ffe4e6; background:#fff1f2; }
.nayra-purchase-actions a.is-pdf:hover { color:#fff; background:#e11d48; }

.nayra-purchase-form-page { padding:0 .25rem 2rem; }
.nayra-purchase-form-hero { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; padding:1.55rem 1.75rem; border-radius:24px; background:linear-gradient(135deg,#eef5ff 0%,#fff 55%,#ecfdf5 100%); border:1px solid #dbeafe; box-shadow:0 12px 32px rgba(15,23,42,.06); }
.nayra-purchase-form-hero h2 { margin:.3rem 0 .35rem; color:#0f172a; font-size:1.65rem; font-weight:750; }
.nayra-purchase-form-hero p { margin:0; color:#64748b; }
.nayra-purchase-form-card { overflow:hidden; border:1px solid #e2e8f0; border-radius:24px; box-shadow:0 16px 38px rgba(15,23,42,.07); }
.nayra-purchase-form-card > .card-header { padding:1.35rem 1.5rem .85rem; background:#fff; }
.nayra-purchase-form-card > .card-body { padding:1rem 1.5rem 1.5rem; }
.nayra-purchase-form-grid { padding:.5rem .6rem .15rem; border-radius:20px; background:#f8fafc; border:1px solid #edf2f7; }
.nayra-purchase-form-grid label { margin-bottom:.45rem; color:#334155; font-size:.78rem; font-weight:700; }
.nayra-purchase-form-grid .form-control,.nayra-purchase-form-grid .custom-select { height:44px; border-color:#dbe4f0; border-radius:12px; background:#fff; }
.nayra-purchase-form-grid textarea.form-control { height:auto; min-height:82px; }
.nayra-purchase-form-grid .form-control:focus,.nayra-purchase-form-grid .custom-select:focus { border-color:#60a5fa; box-shadow:0 0 0 3px rgba(59,130,246,.1); }
.nayra-purchase-form-grid input[readonly] { color:#475569; background:#eef2f7; }
.nayra-purchase-field-help { display:block; margin-top:.4rem; color:#64748b; font-size:.72rem; line-height:1.4; }
.nayra-purchase-items-section { margin-top:1.5rem; padding-top:1.5rem; border-top:1px solid #e2e8f0; }
.nayra-purchase-section-kicker { display:block; margin-bottom:.25rem; color:#2563eb; font-size:.7rem; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.nayra-purchase-entry-table { min-width:1220px; overflow:hidden; border:1px solid #e2e8f0; border-radius:16px; }
.nayra-purchase-entry-table thead th { padding:.85rem .75rem; border:0; background:#0f172a; color:#e2e8f0; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; }
.nayra-purchase-entry-table tbody td { padding:.75rem; vertical-align:top; border-color:#edf2f7; background:#fff; }
.nayra-purchase-entry-table tbody tr:nth-child(even) td { background:#fbfdff; }
.nayra-purchase-entry-table .form-control,.nayra-purchase-entry-table .custom-select { min-height:40px; border-color:#dbe4f0; border-radius:10px; font-size:.84rem; }
.nayra-purchase-entry-table .input-unit-info,.nayra-purchase-entry-table .input-stock-conversion { min-height:0; height:auto; margin-top:.35rem !important; padding:.22rem .45rem; border:0; color:#64748b; background:transparent; font-size:.68rem; }
.nayra-entry-unit-row { display:grid; grid-template-columns:minmax(100px,.8fr) minmax(90px,1fr); gap:.4rem; margin-top:.45rem; }
.nayra-entry-unit-row .input-unit-info { margin-top:0 !important; align-self:center; }
.nayra-purchase-entry-table .input-stock-conversion { margin-top:.15rem !important; }
.nayra-purchase-entry-table .input-hpp-fifo { color:#1d4ed8; background:#eff6ff; border-color:#bfdbfe; font-weight:700; }
.nayra-purchase-entry-table .input-hpp-fifo:focus { background:#fff; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.12); }
.nayra-purchase-entry-table .text-subtotal { padding-top:.6rem; color:#0f172a; white-space:nowrap; }
.nayra-purchase-entry-table tfoot th { padding:.7rem .75rem; border-color:#e2e8f0; background:#f8fafc; color:#475569; }
.nayra-purchase-entry-table tfoot tr:last-child th { background:#eff6ff; color:#1d4ed8; font-size:.95rem; }
.nayra-purchase-entry-table .btn-hapus-row { width:36px; height:36px; border-radius:10px; }
.nayra-purchase-form-actions { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin-top:1.5rem; padding:1.15rem 1.25rem; border-radius:18px; background:#f8fafc; border:1px solid #e2e8f0; }
.nayra-purchase-form-actions strong,.nayra-purchase-form-actions small { display:block; }
.nayra-purchase-form-actions strong { color:#0f172a; }
.nayra-purchase-form-actions small { margin-top:.25rem; color:#64748b; }

.nayra-return-page { padding:0 .25rem 2rem; }
.nayra-return-hero { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:1.55rem 1.75rem; margin-bottom:1.25rem; border:1px solid #fee2e2; border-radius:24px; background:linear-gradient(135deg,#fff1f2 0%,#fff 56%,#fff7ed 100%); box-shadow:0 12px 32px rgba(15,23,42,.05); }
.nayra-return-hero h2 { margin:.3rem 0 .35rem; color:#0f172a; font-size:1.65rem; font-weight:750; }.nayra-return-hero p { margin:0; color:#64748b; }
.nayra-return-stats { row-gap:1rem; margin-bottom:1.25rem; }.nayra-return-stat { display:flex; align-items:center; gap:1rem; height:100%; padding:1rem 1.15rem; border:1px solid #e2e8f0; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.05); }.nayra-return-stat > i { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:13px; background:#f8fafc; }.nayra-return-stat small,.nayra-return-stat strong { display:block; }.nayra-return-stat small { color:#64748b; font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }.nayra-return-stat strong { margin-top:.15rem; color:#0f172a; font-size:1.15rem; }
.nayra-return-layout { row-gap:1rem; }.nayra-return-card { overflow:hidden; margin:0; border:1px solid #e2e8f0; border-radius:22px; box-shadow:0 14px 34px rgba(15,23,42,.06); }.nayra-return-card > .card-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.3rem 1.35rem .8rem; }.nayra-return-toolbar { display:grid; grid-template-columns:1fr 170px; gap:.7rem; padding:.8rem 1.35rem 1.1rem; border-bottom:1px solid #e9eef5; }.nayra-return-toolbar select { height:44px; border:1px solid #dbe4f0; border-radius:13px; background:#f8fafc; }
.nayra-return-table thead th { padding:.9rem 1rem; border:0; color:#64748b; background:#f8fafc; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }.nayra-return-table tbody td { padding:1rem; vertical-align:middle; border-color:#eef2f7; }.nayra-return-table tbody tr:hover { background:#fffafa; }.nayra-return-table td:first-child strong,.nayra-return-table td:first-child small { display:block; }.nayra-return-table td:first-child strong { color:#0f172a; }.nayra-return-table td:first-child small { margin-top:.25rem; color:#94a3b8; }.nayra-return-reference { display:inline-flex; padding:.38rem .6rem; border-radius:9px; color:#475569; background:#f1f5f9; font-size:.78rem; font-weight:700; }
.nayra-return-purchase-list { padding:.4rem 1.2rem 1.2rem; }.nayra-return-purchase { display:flex; align-items:center; gap:.75rem; padding:.85rem 0; border-bottom:1px solid #eef2f7; }.nayra-return-purchase:last-child { border-bottom:0; }.nayra-return-purchase__icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex:0 0 42px; border-radius:13px; color:#e11d48; background:#fff1f2; }.nayra-return-purchase__body { min-width:0; flex:1; }.nayra-return-purchase__body strong,.nayra-return-purchase__body span,.nayra-return-purchase__body small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.nayra-return-purchase__body strong { color:#0f172a; }.nayra-return-purchase__body span { margin:.12rem 0; color:#475569; font-size:.83rem; }.nayra-return-purchase__body small { color:#94a3b8; }.nayra-return-button { display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border-radius:11px; color:#e11d48; background:#fff1f2; }.nayra-return-button:hover { color:#fff; text-decoration:none; background:#e11d48; }

.nayra-stock-page { max-width:1600px; margin:0 auto; padding:0 .25rem 2rem; }
.nayra-stock-hero { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:1.6rem 1.8rem; margin-bottom:1.25rem; border-radius:24px; color:#fff; background:linear-gradient(135deg,#0f172a 0%,#164e63 54%,#0f766e 100%); box-shadow:0 18px 42px rgba(15,23,42,.15); }
.nayra-stock-hero h2 { margin:.3rem 0 .35rem; font-size:1.7rem; font-weight:750; }.nayra-stock-hero p { margin:0; color:rgba(255,255,255,.72); }
.nayra-stock-stats { row-gap:1rem; margin-bottom:1.25rem; }.nayra-stock-stat { display:flex; align-items:center; gap:.9rem; height:100%; padding:1rem 1.1rem; border:1px solid #e2e8f0; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(15,23,42,.05); }.nayra-stock-stat > span { display:flex; align-items:center; justify-content:center; width:46px; height:46px; flex:0 0 46px; border-radius:14px; }.nayra-stock-stat > span.blue{color:#2563eb;background:#eff6ff}.nayra-stock-stat > span.emerald{color:#059669;background:#ecfdf5}.nayra-stock-stat > span.amber{color:#d97706;background:#fffbeb}.nayra-stock-stat > span.violet{color:#7c3aed;background:#f5f3ff}.nayra-stock-stat small,.nayra-stock-stat strong,.nayra-stock-stat em{display:block}.nayra-stock-stat small{color:#64748b;font-size:.68rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.nayra-stock-stat strong{margin:.1rem 0;color:#0f172a;font-size:1.08rem;overflow-wrap:anywhere}.nayra-stock-stat em{color:#94a3b8;font-size:.7rem;font-style:normal}
.nayra-stock-card { overflow:hidden; border:1px solid #e2e8f0; border-radius:22px; box-shadow:0 14px 34px rgba(15,23,42,.06); }.nayra-stock-card > .card-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.3rem 1.4rem .8rem; }.nayra-stock-toolbar { display:grid; grid-template-columns:1fr 200px; gap:.75rem; padding:.85rem 1.4rem 1.15rem; border-bottom:1px solid #e9eef5; }.nayra-stock-toolbar select{height:44px;border:1px solid #dbe4f0;border-radius:13px;background:#f8fafc}.nayra-stock-table{min-width:1180px}.nayra-stock-table thead th{padding:.9rem 1rem;border:0;color:#64748b;background:#f8fafc;font-size:.69rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.nayra-stock-table tbody td{padding:.95rem 1rem;vertical-align:middle;border-color:#eef2f7}.nayra-stock-table tbody tr:hover{background:#f7fffd}.nayra-stock-product{display:flex;align-items:center;gap:.7rem;min-width:210px}.nayra-stock-product>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;color:#0f766e;background:#ccfbf1}.nayra-stock-product strong,.nayra-stock-product small{display:block}.nayra-stock-product strong{color:#0f172a}.nayra-stock-product small{margin-top:.15rem;color:#94a3b8}.nayra-stock-unit{display:inline-flex;padding:.35rem .6rem;border-radius:9px;color:#475569;background:#f1f5f9;font-size:.78rem;font-weight:700}.nayra-stock-balance{display:block;color:#0f172a;font-size:1rem}.nayra-stock-balance+small{display:block;color:#94a3b8}.nayra-stock-condition{display:inline-flex;padding:.38rem .65rem;border-radius:999px;font-size:.7rem;font-weight:750;white-space:nowrap}.nayra-stock-condition--safe{color:#047857;background:#d1fae5}.nayra-stock-condition--critical{color:#b45309;background:#fef3c7}.nayra-stock-condition--empty{color:#be123c;background:#ffe4e6}.nayra-stock-action{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;color:#0f766e;background:#ccfbf1}.nayra-stock-action:hover{color:#fff;text-decoration:none;background:#0f766e}
.nayra-stock-reference{display:flex;align-items:center;gap:.65rem;min-width:200px}.nayra-stock-reference>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;color:#0f766e;background:#ccfbf1}.nayra-stock-reference strong,.nayra-stock-reference small{display:block}.nayra-stock-reference strong{color:#0f172a}.nayra-stock-reference small{margin-top:.12rem;color:#94a3b8}.nayra-stock-flow-in{color:#059669;font-weight:700;white-space:nowrap}.nayra-stock-flow-out{color:#e11d48;font-weight:700;white-space:nowrap}.nayra-stock-toolbar--wide{grid-template-columns:minmax(200px,1fr) 230px}

/* Shared transaction workspace: sales, purchasing, finance, receivables and stock. */
.nayra-sales-order-page{padding:0 .25rem 2rem}.nayra-sales-order-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#172554 0%,#1d4ed8 58%,#0ea5e9 100%);box-shadow:0 18px 42px rgba(30,64,175,.18)}.nayra-sales-order-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}.nayra-sales-order-hero p{margin:0;color:rgba(255,255,255,.74)}.nayra-sales-order-stats{row-gap:1rem;margin-bottom:1.25rem}.nayra-sales-order-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.nayra-sales-order-stat>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px}.nayra-sales-order-stat>span.blue{color:#2563eb;background:#eff6ff}.nayra-sales-order-stat>span.slate{color:#475569;background:#f1f5f9}.nayra-sales-order-stat>span.amber{color:#d97706;background:#fffbeb}.nayra-sales-order-stat>span.emerald{color:#059669;background:#ecfdf5}.nayra-sales-order-stat small,.nayra-sales-order-stat strong,.nayra-sales-order-stat em{display:block}.nayra-sales-order-stat small{color:#64748b;font-size:.69rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.nayra-sales-order-stat strong{margin:.1rem 0;color:#0f172a;font-size:1.2rem}.nayra-sales-order-stat em{color:#94a3b8;font-size:.71rem;font-style:normal}.nayra-sales-order-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.nayra-sales-order-card>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}.nayra-sales-order-toolbar{display:grid;grid-template-columns:1fr 190px;gap:.75rem;padding:.85rem 1.4rem 1.15rem;border-bottom:1px solid #e9eef5}.nayra-sales-order-toolbar select{height:44px;border:1px solid #dbe4f0;border-radius:13px;background:#f8fafc}.nayra-sales-order-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.nayra-sales-order-table tbody td{padding:1rem 1.1rem;vertical-align:middle;border-color:#eef2f7}.nayra-sales-order-table tbody tr:hover{background:#f8fbff}.nayra-so-document{display:flex;align-items:center;gap:.7rem;min-width:205px}.nayra-so-document>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;color:#2563eb;background:#dbeafe}.nayra-so-document strong,.nayra-so-document small{display:block}.nayra-so-document strong{color:#0f172a}.nayra-so-document small{margin-top:.16rem;color:#94a3b8}.nayra-so-customer{color:#334155}.nayra-so-sales{display:flex;align-items:center;gap:.45rem;color:#475569}.nayra-so-sales i{color:#94a3b8}.nayra-so-price-level{display:inline-flex;padding:.38rem .62rem;border-radius:9px;color:#6d28d9;background:#f5f3ff;font-size:.75rem;font-weight:700}.nayra-so-status{display:inline-flex;padding:.4rem .7rem;border-radius:999px;font-size:.7rem;font-weight:750;white-space:nowrap}.nayra-so-status--draft{color:#475569;background:#e2e8f0}.nayra-so-status--submitted{color:#1d4ed8;background:#dbeafe}.nayra-so-status--processed{color:#b45309;background:#fef3c7}.nayra-so-status--completed{color:#047857;background:#d1fae5}.nayra-so-status--cancelled{color:#be123c;background:#ffe4e6}.nayra-so-action{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .7rem;border-radius:10px;color:#2563eb;background:#eff6ff;font-size:.76rem;font-weight:700}.nayra-so-action:hover{color:#fff;text-decoration:none;background:#2563eb}
.nayra-invoice-detail-table{min-width:950px}
.nayra-so-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.25rem 1.4rem;margin-bottom:1.25rem;border-radius:20px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.nayra-so-detail-bar__meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.nayra-so-detail-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.nayra-so-product-cell{display:flex;align-items:center;gap:.7rem;min-width:220px}
.nayra-so-product-cell>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;color:#2563eb;background:#eff6ff}
.nayra-so-product-cell strong,.nayra-so-product-cell small{display:block}
.nayra-so-product-cell strong{color:#0f172a}
.nayra-so-product-cell small{margin-top:.15rem;color:#94a3b8}
.nayra-transaction-ui .content-wrapper { background:linear-gradient(180deg,#f4f7fb 0,#f8fafc 280px,#f1f5f9 100%); }
.nayra-transaction-ui .content-header { padding:1.35rem .5rem .7rem; }.nayra-transaction-ui .content-header h1 { color:#0f172a; font-size:1.5rem; font-weight:750; }.nayra-transaction-ui .content-header h1:after { content:"Workspace Operasional"; display:block; margin-top:.25rem; color:#94a3b8; font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.nayra-transaction-ui .content > .container-fluid { padding-left:1.25rem; padding-right:1.25rem; padding-bottom:2rem; }
.nayra-transaction-ui .content .card:not(.nayra-owner-card):not(.nayra-purchase-card):not(.nayra-return-card):not(.nayra-stock-card):not(.nayra-purchase-form-card) { overflow:hidden; border:1px solid #e2e8f0; border-radius:20px; box-shadow:0 12px 30px rgba(15,23,42,.06); }
.nayra-transaction-ui .content .card:not(.nayra-owner-card) > .card-header { min-height:74px; padding:1.2rem 1.3rem .85rem; border-bottom:1px solid #eef2f7; background:linear-gradient(180deg,#fff 0,#fcfdff 100%); }
.nayra-transaction-ui .content .card-header .d-flex { gap:1rem; }.nayra-transaction-ui .content .card-title { color:#0f172a; font-weight:700; }.nayra-transaction-ui .content .nayra-section-subtitle,.nayra-transaction-ui .content .card-header p { margin-top:.2rem; line-height:1.5; }
.nayra-transaction-ui .content .small-box { min-height:132px; overflow:hidden; border:0; border-radius:20px; box-shadow:0 12px 28px rgba(15,23,42,.1); }.nayra-transaction-ui .content .small-box .inner { padding:1.2rem; }.nayra-transaction-ui .content .small-box .inner h3 { max-width:82%; margin-bottom:.35rem; font-size:clamp(1.25rem,1.7vw,1.75rem); overflow-wrap:anywhere; }.nayra-transaction-ui .content .small-box .inner p { margin:0; font-size:.78rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; opacity:.82; }.nayra-transaction-ui .content .small-box .icon>i { top:24px; right:18px; font-size:58px; opacity:.2; }
.nayra-transaction-ui .content .table-responsive { scrollbar-width:thin; scrollbar-color:#cbd5e1 transparent; }.nayra-transaction-ui .content .table-dashboard,.nayra-transaction-ui .content .item-table { margin:0; }.nayra-transaction-ui .content .table-dashboard thead th,.nayra-transaction-ui .content .item-table thead th { padding:.9rem 1rem; border-top:0; border-bottom:1px solid #dfe7f1; color:#64748b; background:#f8fafc; font-size:.7rem; font-weight:750; letter-spacing:.055em; text-transform:uppercase; white-space:nowrap; }.nayra-transaction-ui .content .table-dashboard tbody td,.nayra-transaction-ui .content .item-table tbody td { padding:.95rem 1rem; border-color:#edf2f7; color:#334155; }.nayra-transaction-ui .content .table-dashboard tbody tr:hover td,.nayra-transaction-ui .content .item-table tbody tr:hover td { background:#f8fbff; }
.nayra-transaction-ui .content .badge { padding:.42rem .68rem; border-radius:999px; font-size:.68rem; font-weight:750; letter-spacing:.035em; }.nayra-transaction-ui .content .badge-success{color:#047857;background:#d1fae5}.nayra-transaction-ui .content .badge-danger{color:#be123c;background:#ffe4e6}.nayra-transaction-ui .content .badge-warning{color:#b45309;background:#fef3c7}.nayra-transaction-ui .content .badge-primary,.nayra-transaction-ui .content .badge-info{color:#1d4ed8;background:#dbeafe}.nayra-transaction-ui .content .badge-secondary{color:#475569;background:#e2e8f0}
.nayra-transaction-ui .content .btn-primary { border-color:#2563eb; border-radius:11px; background:#2563eb; box-shadow:0 7px 16px rgba(37,99,235,.16); }.nayra-transaction-ui .content .btn-danger { border-color:#e11d48; border-radius:11px; background:#e11d48; }.nayra-transaction-ui .content .btn-outline-primary,.nayra-transaction-ui .content .btn-default { border-radius:11px; }.nayra-transaction-ui .content .btn-xs { padding:.35rem .62rem; }
.nayra-transaction-ui .content form label { margin-bottom:.42rem; color:#334155; font-size:.77rem; font-weight:700; }.nayra-transaction-ui .content form .form-control,.nayra-transaction-ui .content form .custom-select { min-height:42px; border-color:#dbe4f0; border-radius:11px; background-color:#fff; }.nayra-transaction-ui .content form textarea.form-control { min-height:82px; }.nayra-transaction-ui .content form .form-control:focus,.nayra-transaction-ui .content form .custom-select:focus { border-color:#60a5fa; box-shadow:0 0 0 3px rgba(59,130,246,.1); }.nayra-transaction-ui .content form input[readonly] { color:#64748b; background:#f1f5f9; }.nayra-transaction-ui .content .form-section-divider { margin-top:1.5rem; padding-top:1.4rem; border-color:#dbe4f0; }
.nayra-auto-table-tools { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; border-bottom:1px solid #e8eef5; background:#fff; }.nayra-auto-table-search { position:relative; width:min(100%,380px); }.nayra-auto-table-search i { position:absolute; left:.9rem; top:50%; transform:translateY(-50%); color:#94a3b8; }.nayra-auto-table-search input { width:100%; height:40px; padding:0 .9rem 0 2.45rem; border:1px solid #dbe4f0; border-radius:11px; color:#334155; background:#f8fafc; }.nayra-auto-table-search input:focus { outline:0; border-color:#60a5fa; background:#fff; box-shadow:0 0 0 3px rgba(59,130,246,.1); }.nayra-auto-table-count { color:#64748b; font-size:.75rem; font-weight:700; white-space:nowrap; }

/* Reports (laporan) workspace */
.nayra-report-page{max-width:1400px;margin:0 auto;padding:0 .25rem 2rem}
.nayra-report-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#1e1b4b 0%,#3730a3 55%,#6366f1 100%);box-shadow:0 18px 42px rgba(55,48,163,.24)}
.nayra-report-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}
.nayra-report-hero p{margin:0;max-width:560px;color:rgba(255,255,255,.8)}
.nayra-report-menu{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.nayra-report-card{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem;border-radius:20px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05);color:inherit;transition:transform .15s ease,box-shadow .15s ease}
.nayra-report-card:hover{color:inherit;text-decoration:none;transform:translateY(-2px);box-shadow:0 16px 36px rgba(15,23,42,.1)}
.nayra-report-card__icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;color:#4338ca;background:#eef2ff;font-size:1.15rem}
.nayra-report-card__title{display:block;margin-bottom:.3rem;color:#0f172a;font-weight:750;font-size:1rem}
.nayra-report-card__desc{display:block;color:#64748b;font-size:.83rem;line-height:1.55}
.nayra-report-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.85rem;padding:1.15rem 1.4rem;margin-bottom:1.25rem;border-radius:20px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-report-filter .form-group{margin-bottom:0}
.nayra-report-filter label{display:block;margin-bottom:.4rem;color:#334155;font-size:.76rem;font-weight:700}
.nayra-report-filter input,.nayra-report-filter select{height:42px;min-width:150px;border:1px solid #dbe4f0;border-radius:11px;background:#f8fafc;padding:0 .75rem}
.nayra-report-filter input:focus,.nayra-report-filter select:focus{outline:0;border-color:#6366f1;background:#fff;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.nayra-report-filter .btn-report-submit{height:42px;padding:0 1.3rem;border:0;border-radius:11px;background:#4338ca;color:#fff;font-weight:700;font-size:.85rem}
.nayra-report-filter .btn-report-submit:hover{background:#3730a3}
.nayra-report-filter .btn-report-reset{height:42px;display:inline-flex;align-items:center;padding:0 1rem;border-radius:11px;border:1px solid #dbe4f0;background:#fff;color:#475569;font-weight:700;font-size:.85rem}
.nayra-report-stats{row-gap:1rem;margin-bottom:1.25rem}
.nayra-report-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1.1rem 1.2rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-report-stat>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px}
.nayra-report-stat>span.indigo{color:#4338ca;background:#eef2ff}
.nayra-report-stat>span.emerald{color:#059669;background:#ecfdf5}
.nayra-report-stat>span.rose{color:#e11d48;background:#fff1f2}
.nayra-report-stat>span.amber{color:#d97706;background:#fffbeb}
.nayra-report-stat small,.nayra-report-stat strong{display:block}
.nayra-report-stat small{color:#64748b;font-size:.7rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.nayra-report-stat strong{margin-top:.15rem;color:#0f172a;font-size:1.25rem}
.nayra-report-card-box{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.nayra-report-card-box>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}
.nayra-report-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nayra-report-table tbody td{padding:.9rem 1.1rem;vertical-align:middle;border-color:#eef2f7}
.nayra-report-table tbody tr:hover{background:#f8f9ff}
.nayra-report-badge{display:inline-flex;padding:.38rem .65rem;border-radius:999px;font-size:.7rem;font-weight:700;white-space:nowrap}
.nayra-report-badge--emerald{color:#047857;background:#d1fae5}
.nayra-report-badge--amber{color:#b45309;background:#fef3c7}
.nayra-report-badge--rose{color:#be123c;background:#ffe4e6}
.nayra-report-badge--slate{color:#475569;background:#e2e8f0}
.nayra-report-badge--indigo{color:#4338ca;background:#eef2ff}
.nayra-report-money{color:#0f172a!important;font-weight:750;white-space:nowrap}
.nayra-report-money--positive{color:#047857!important;font-weight:750;white-space:nowrap}
.nayra-report-money--negative{color:#be123c!important;font-weight:750;white-space:nowrap}
.nayra-pl-statement{max-width:640px;margin:0 auto;padding:.5rem 0}
.nayra-pl-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid #eef2f7}
.nayra-pl-row:last-child{border-bottom:0}
.nayra-pl-row span{color:#475569}
.nayra-pl-row strong{color:#0f172a;font-size:1.02rem;white-space:nowrap}
.nayra-pl-row--deduct span{color:#be123c}
.nayra-pl-row--deduct strong{color:#be123c}
.nayra-pl-row--add span{color:#047857}
.nayra-pl-row--add strong{color:#047857}
.nayra-pl-row--subtotal{padding:1rem 1.1rem;margin:.4rem 0;border-radius:14px;background:#f8fafc;border-bottom:0}
.nayra-pl-row--subtotal span,.nayra-pl-row--subtotal strong{font-weight:750}
.nayra-pl-row--final{padding:1.2rem 1.3rem;margin-top:.6rem;border-radius:16px;background:linear-gradient(135deg,#1e1b4b 0%,#3730a3 100%);border-bottom:0}
.nayra-pl-row--final span{color:rgba(255,255,255,.82);font-weight:700;font-size:1.05rem}
.nayra-pl-row--final strong{color:#fff;font-size:1.4rem}
.nayra-pl-row--final strong.is-negative{color:#fca5a5}
.nayra-aging-table thead th{padding:.9rem 1rem;border:0;color:#64748b;background:#f8fafc;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;text-align:right}
.nayra-aging-table thead th:first-child{text-align:left}
.nayra-aging-table tbody td{padding:.9rem 1rem;text-align:right;border-color:#eef2f7;white-space:nowrap}
.nayra-aging-table tbody td:first-child{text-align:left;font-weight:700;color:#0f172a}
.nayra-aging-table tbody tr:hover{background:#f8f9ff}
.nayra-aging-table tfoot th{padding:.9rem 1rem;text-align:right;background:#f8fafc;color:#0f172a}
.nayra-aging-table tfoot th:first-child{text-align:left}
.nayra-aging-cell--safe{color:#047857;font-weight:700}
.nayra-aging-cell--warn{color:#b45309;font-weight:700}
.nayra-aging-cell--danger{color:#be123c;font-weight:700}

/* Daily cash book (kas harian) workspace */
.nayra-cashbook-page{padding:0 .25rem 2rem}
.nayra-cashbook-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#064e3b 0%,#047857 55%,#10b981 100%);box-shadow:0 18px 42px rgba(4,120,87,.22)}
.nayra-cashbook-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}
.nayra-cashbook-hero p{margin:0;max-width:520px;color:rgba(255,255,255,.8)}
.nayra-cashbook-datenav{display:flex;align-items:center;gap:.6rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:.6rem .75rem}
.nayra-cashbook-datenav input[type="date"]{height:38px;border:0;border-radius:10px;background:#fff;color:#0f172a;padding:0 .6rem}
.nayra-cashbook-datenav button,.nayra-cashbook-datenav a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff}
.nayra-cashbook-datenav button:hover,.nayra-cashbook-datenav a:hover{background:rgba(255,255,255,.22);color:#fff;text-decoration:none}
.nayra-cashbook-datenav .btn-today{width:auto;padding:0 .85rem;font-size:.8rem;font-weight:700}
.nayra-cashbook-stats{row-gap:1rem;margin-bottom:1.25rem}
.nayra-cashbook-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1.1rem 1.2rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-cashbook-stat>span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px}
.nayra-cashbook-stat>span.emerald{color:#059669;background:#ecfdf5}
.nayra-cashbook-stat>span.rose{color:#e11d48;background:#fff1f2}
.nayra-cashbook-stat>span.blue{color:#2563eb;background:#eff6ff}
.nayra-cashbook-stat small,.nayra-cashbook-stat strong{display:block}
.nayra-cashbook-stat small{color:#64748b;font-size:.72rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.nayra-cashbook-stat strong{margin-top:.2rem;color:#0f172a;font-size:1.35rem}
.nayra-cashbook-stat strong.is-negative{color:#e11d48}
.nayra-cashbook-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.nayra-cashbook-card>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}
.nayra-cashbook-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nayra-cashbook-table tbody td{padding:1rem 1.1rem;vertical-align:middle;border-color:#eef2f7}
.nayra-cashbook-table tbody tr:hover{background:#f6fdf9}
.nayra-cashbook-flow{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}
.nayra-cashbook-flow--in{color:#047857;background:#d1fae5}
.nayra-cashbook-flow--out{color:#be123c;background:#ffe4e6}
.nayra-cashbook-category{display:inline-flex;padding:.38rem .6rem;border-radius:9px;color:#475569;background:#f1f5f9;font-size:.78rem;font-weight:700}
.nayra-cashbook-amount--in{color:#047857!important;font-weight:750;white-space:nowrap}
.nayra-cashbook-amount--out{color:#be123c!important;font-weight:750;white-space:nowrap}

/* Sales invoice (faktur) workspace */
.nayra-invoice-page{padding:0 .25rem 2rem}
.nayra-invoice-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#3b0764 0%,#7c3aed 55%,#0ea5e9 100%);box-shadow:0 18px 42px rgba(88,28,135,.22)}
.nayra-invoice-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}
.nayra-invoice-hero p{margin:0;max-width:520px;color:rgba(255,255,255,.78)}
.nayra-invoice-stats{row-gap:1rem;margin-bottom:1.25rem}
.nayra-invoice-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-invoice-stat>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px}
.nayra-invoice-stat>span.violet{color:#7c3aed;background:#f5f3ff}
.nayra-invoice-stat>span.blue{color:#2563eb;background:#eff6ff}
.nayra-invoice-stat>span.amber{color:#d97706;background:#fffbeb}
.nayra-invoice-stat>span.rose{color:#e11d48;background:#fff1f2}
.nayra-invoice-stat small,.nayra-invoice-stat strong,.nayra-invoice-stat em{display:block}
.nayra-invoice-stat small{color:#64748b;font-size:.69rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.nayra-invoice-stat strong{margin:.1rem 0;color:#0f172a;font-size:1.2rem}
.nayra-invoice-stat em{color:#94a3b8;font-size:.71rem;font-style:normal}
.nayra-invoice-layout{row-gap:1.25rem}
.nayra-invoice-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.nayra-invoice-card>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}
.nayra-invoice-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 180px 180px;gap:.7rem;padding:.85rem 1.4rem 1.15rem;border-bottom:1px solid #e9eef5}
.nayra-invoice-toolbar select{height:44px;padding-left:.85rem;padding-right:.5rem;border:1px solid #dbe4f0;border-radius:13px;background:#f8fafc;font-size:.85rem}
.nayra-invoice-table{min-width:800px}.nayra-invoice-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nayra-invoice-table tbody td{padding:1rem 1.1rem;vertical-align:middle;border-color:#eef2f7}
.nayra-invoice-table tbody tr:hover{background:#faf9ff}
.nayra-invoice-document{display:flex;align-items:center;gap:.7rem;min-width:190px}
.nayra-invoice-document>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;color:#7c3aed;background:#f5f3ff}
.nayra-invoice-document strong,.nayra-invoice-document small{display:block}
.nayra-invoice-document strong{color:#0f172a;white-space:nowrap}
.nayra-invoice-document small{margin-top:.16rem;color:#94a3b8}
.nayra-invoice-badge{display:inline-flex;padding:.4rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}
.nayra-invoice-badge--cash{color:#047857;background:#d1fae5}
.nayra-invoice-badge--credit{color:#b45309;background:#fef3c7}
.nayra-invoice-badge--paid{color:#047857;background:#d1fae5}
.nayra-invoice-badge--partial{color:#b45309;background:#fef3c7}
.nayra-invoice-badge--unpaid{color:#be123c;background:#ffe4e6}
.nayra-invoice-badge--cancelled{color:#64748b;background:#e2e8f0}
.nayra-invoice-money{color:#0f172a!important;font-weight:750;white-space:nowrap}
.nayra-invoice-actions{display:inline-block;position:relative}
.nayra-invoice-actions-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ede9fe;border-radius:10px;color:#7c3aed;background:#f5f3ff}
.nayra-invoice-actions-toggle:hover,.nayra-invoice-actions-toggle:focus{color:#fff;background:#7c3aed;outline:0}
.nayra-invoice-dropdown-menu{min-width:150px;padding:.4rem;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.12);z-index:1060}
.nayra-invoice-dropdown-item{display:flex;align-items:center;padding:.55rem .7rem;border-radius:8px;color:#334155;font-size:.85rem;font-weight:600}
.nayra-invoice-dropdown-item:hover,.nayra-invoice-dropdown-item:focus{color:#7c3aed;background:#f5f3ff;text-decoration:none}
.nayra-invoice-dropdown-item.is-pdf{color:#e11d48}
.nayra-invoice-dropdown-item.is-pdf:hover,.nayra-invoice-dropdown-item.is-pdf:focus{color:#fff;background:#e11d48}
.nayra-invoice-so-list{padding:.4rem 1.2rem 1.2rem}
.nayra-invoice-so{display:flex;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid #eef2f7}
.nayra-invoice-so:last-child{border-bottom:0}
.nayra-invoice-so__icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;color:#0ea5e9;background:#e0f2fe}
.nayra-invoice-so__body{min-width:0;flex:1}
.nayra-invoice-so__body strong{display:block;overflow-wrap:break-word;color:#0f172a}
.nayra-invoice-so__body span{display:block;margin:.12rem 0;color:#475569;font-size:.83rem;overflow-wrap:break-word}
.nayra-invoice-so__body small{display:block;color:#94a3b8;overflow-wrap:break-word;line-height:1.4}
.nayra-invoice-so-button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;color:#7c3aed;background:#f5f3ff}
.nayra-invoice-so-button:hover{color:#fff;text-decoration:none;background:#7c3aed}

/* Delivery order (surat jalan) workspace */
.nayra-delivery-page{padding:0 .25rem 2rem}
.nayra-delivery-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#134e4a 0%,#0f766e 55%,#06b6d4 100%);box-shadow:0 18px 42px rgba(15,118,110,.22)}
.nayra-delivery-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}
.nayra-delivery-hero p{margin:0;max-width:520px;color:rgba(255,255,255,.78)}
.nayra-delivery-stats{row-gap:1rem;margin-bottom:1.25rem}
.nayra-delivery-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-delivery-stat>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px}
.nayra-delivery-stat>span.teal{color:#0f766e;background:#ccfbf1}
.nayra-delivery-stat>span.slate{color:#475569;background:#f1f5f9}
.nayra-delivery-stat>span.cyan{color:#0891b2;background:#ecfeff}
.nayra-delivery-stat>span.rose{color:#e11d48;background:#fff1f2}
.nayra-delivery-stat small,.nayra-delivery-stat strong,.nayra-delivery-stat em{display:block}
.nayra-delivery-stat small{color:#64748b;font-size:.69rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.nayra-delivery-stat strong{margin:.1rem 0;color:#0f172a;font-size:1.2rem}
.nayra-delivery-stat em{color:#94a3b8;font-size:.71rem;font-style:normal}
.nayra-delivery-layout{row-gap:1.25rem}
.nayra-delivery-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.nayra-delivery-card>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}
.nayra-picker-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.4rem;border-top:1px solid #e2e8f0;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);box-shadow:0 -8px 20px rgba(15,23,42,.06)}
.nayra-picker-bar button{border-radius:12px}
.nayra-delivery-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 160px;gap:.7rem;padding:.85rem 1.4rem 1.15rem;border-bottom:1px solid #e9eef5}
.nayra-delivery-toolbar select{height:44px;border:1px solid #dbe4f0;border-radius:13px;background:#f8fafc}
.nayra-delivery-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nayra-delivery-table tbody td{padding:1rem 1.1rem;vertical-align:middle;border-color:#eef2f7}
.nayra-delivery-table tbody tr:hover{background:#f6fdfd}
.nayra-delivery-document{display:flex;align-items:center;gap:.7rem;min-width:190px}
.nayra-delivery-document>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;color:#0f766e;background:#ccfbf1}
.nayra-delivery-document strong,.nayra-delivery-document small{display:block}
.nayra-delivery-document strong{color:#0f172a}
.nayra-delivery-document small{margin-top:.16rem;color:#94a3b8}
.nayra-delivery-ref{display:inline-flex;padding:.38rem .6rem;border-radius:9px;color:#475569;background:#f1f5f9;font-size:.78rem;font-weight:700}
.nayra-delivery-vehicle{display:flex;align-items:center;gap:.45rem;color:#475569}
.nayra-delivery-vehicle i{color:#94a3b8}
.nayra-delivery-badge{display:inline-flex;padding:.4rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}
.nayra-delivery-badge--draft{color:#475569;background:#e2e8f0}
.nayra-delivery-badge--final{color:#047857;background:#d1fae5}
.nayra-delivery-badge--sent{color:#1d4ed8;background:#dbeafe}
.nayra-delivery-badge--received{color:#0891b2;background:#ecfeff}
.nayra-delivery-badge--cancelled{color:#be123c;background:#ffe4e6}
.nayra-delivery-actions{display:inline-flex;gap:.4rem}
.nayra-delivery-actions a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ccfbf1;border-radius:10px;color:#0f766e;background:#f0fdfa}
.nayra-delivery-actions a:hover{color:#fff;text-decoration:none;background:#0f766e}
.nayra-delivery-actions a.is-pdf{color:#e11d48;border-color:#ffe4e6;background:#fff1f2}
.nayra-delivery-actions a.is-pdf:hover{color:#fff;background:#e11d48}
.nayra-delivery-invoice-list{padding:.4rem 1.2rem 1.2rem;max-height:520px;overflow-y:auto}
.nayra-delivery-invoice{display:flex;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid #eef2f7}
.nayra-delivery-invoice:last-child{border-bottom:0}
.nayra-delivery-invoice__icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;color:#7c3aed;background:#f5f3ff}
.nayra-delivery-invoice__body{min-width:0;flex:1}
.nayra-delivery-invoice__body strong{display:block;overflow-wrap:break-word;color:#0f172a}
.nayra-delivery-invoice__body span{display:block;margin:.12rem 0;color:#475569;font-size:.83rem;overflow-wrap:break-word}
.nayra-delivery-invoice__body small{display:block;color:#94a3b8;overflow-wrap:break-word}
.nayra-delivery-invoice-button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;color:#0f766e;background:#f0fdfa}
.nayra-delivery-invoice-button:hover{color:#fff;text-decoration:none;background:#0f766e}
.nayra-delivery-invoice-group{padding:.6rem 0 .3rem;color:#94a3b8;font-size:.7rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.nayra-delivery-invoice--pickable{margin:0;cursor:pointer;border-radius:14px;transition:background .12s ease}
.nayra-delivery-invoice--pickable:hover{background:#faf9ff}
.nayra-delivery-invoice--pickable input[type="checkbox"]{flex:0 0 18px;width:18px;height:18px;accent-color:#7c3aed}
.nayra-delivery-invoice--pickable:has(input:checked){background:#f5f3ff}
.nayra-delivery-invoice-submit{padding:.9rem 1.2rem 1.2rem;border-top:1px solid #eef2f7}

/* Accounts payable (pembayaran hutang) workspace */
.nayra-payable-page{padding:0 .25rem 2rem}
.nayra-payable-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.65rem 1.85rem;margin-bottom:1.25rem;border-radius:24px;color:#fff;background:linear-gradient(135deg,#7c2d12 0%,#c2410c 55%,#f59e0b 100%);box-shadow:0 18px 42px rgba(194,65,12,.22)}
.nayra-payable-hero h2{margin:.3rem 0 .35rem;font-size:1.75rem;font-weight:750}
.nayra-payable-hero p{margin:0;max-width:520px;color:rgba(255,255,255,.8)}
.nayra-payable-stats{row-gap:1rem;margin-bottom:1.25rem}
.nayra-payable-stat{display:flex;align-items:center;gap:.9rem;height:100%;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nayra-payable-stat>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px}
.nayra-payable-stat>span.amber{color:#c2410c;background:#fff7ed}
.nayra-payable-stat>span.emerald{color:#059669;background:#ecfdf5}
.nayra-payable-stat>span.blue{color:#2563eb;background:#eff6ff}
.nayra-payable-stat>span.rose{color:#e11d48;background:#fff1f2}
.nayra-payable-stat small,.nayra-payable-stat strong,.nayra-payable-stat em{display:block}
.nayra-payable-stat small{color:#64748b;font-size:.69rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.nayra-payable-stat strong{margin:.1rem 0;color:#0f172a;font-size:1.2rem}
.nayra-payable-stat em{color:#94a3b8;font-size:.71rem;font-style:normal}
.nayra-payable-layout{row-gap:1.25rem}
.nayra-payable-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.nayra-payable-card>.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem .8rem}
.nayra-payable-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 150px 150px;gap:.7rem;padding:.85rem 1.4rem 1.15rem;border-bottom:1px solid #e9eef5}
.nayra-payable-toolbar select{height:44px;border:1px solid #dbe4f0;border-radius:13px;background:#f8fafc}
.nayra-payable-table thead th{padding:.9rem 1.1rem;border:0;color:#64748b;background:#f8fafc;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nayra-payable-table tbody td{padding:1rem 1.1rem;vertical-align:middle;border-color:#eef2f7}
.nayra-payable-table tbody tr:hover{background:#fffaf5}
.nayra-payable-document{display:flex;align-items:center;gap:.7rem;min-width:190px}
.nayra-payable-document>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;color:#c2410c;background:#fff7ed}
.nayra-payable-document strong,.nayra-payable-document small{display:block}
.nayra-payable-document strong{color:#0f172a}
.nayra-payable-document small{margin-top:.16rem;color:#94a3b8}
.nayra-payable-method{display:inline-flex;padding:.38rem .6rem;border-radius:9px;color:#475569;background:#f1f5f9;font-size:.78rem;font-weight:700}
.nayra-payable-badge{display:inline-flex;padding:.4rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}
.nayra-payable-badge--draft{color:#475569;background:#e2e8f0}
.nayra-payable-badge--final{color:#047857;background:#d1fae5}
.nayra-payable-badge--cancelled{color:#be123c;background:#ffe4e6}
.nayra-payable-money{color:#0f172a!important;font-weight:750;white-space:nowrap}
.nayra-payable-actions{display:inline-flex;gap:.4rem}
.nayra-payable-actions a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ffedd5;border-radius:10px;color:#c2410c;background:#fff7ed}
.nayra-payable-actions a:hover{color:#fff;text-decoration:none;background:#c2410c}
.nayra-payable-actions a.is-pdf{color:#e11d48;border-color:#ffe4e6;background:#fff1f2}
.nayra-payable-actions a.is-pdf:hover{color:#fff;background:#e11d48}
.nayra-payable-supplier-list{padding:.4rem 1.2rem 1.2rem}
.nayra-payable-supplier{display:flex;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid #eef2f7}
.nayra-payable-supplier:last-child{border-bottom:0}
.nayra-payable-supplier__icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;color:#c2410c;background:#fff7ed}
.nayra-payable-supplier__body{min-width:0;flex:1}
.nayra-payable-supplier__body strong,.nayra-payable-supplier__body span,.nayra-payable-supplier__body small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nayra-payable-supplier__body strong{color:#0f172a}
.nayra-payable-supplier__body span{margin:.12rem 0;color:#e11d48;font-weight:700;font-size:.9rem}
.nayra-payable-supplier__body small{color:#94a3b8}
.nayra-payable-supplier-button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;color:#c2410c;background:#fff7ed}
.nayra-payable-supplier-button:hover{color:#fff;text-decoration:none;background:#c2410c}

@media (max-width: 1199.98px) {
	.nayra-purchase-toolbar { grid-template-columns:minmax(220px,1fr) 170px 180px; }
	.nayra-purchase-table thead th,.nayra-purchase-table tbody td { padding-left:.85rem; padding-right:.85rem; }
	.nayra-purchase-stat { align-items:flex-start; }
	.nayra-invoice-toolbar { grid-template-columns:minmax(200px,1fr) 150px 150px; }
	.nayra-delivery-toolbar { grid-template-columns:minmax(200px,1fr) 150px; }
	.nayra-payable-toolbar { grid-template-columns:minmax(200px,1fr) 140px 140px; }
}

@media (max-width: 767.98px) {
	.nayra-purchase-hero { align-items:flex-start; flex-direction:column; padding:1.35rem; }
	.nayra-purchase-hero h2 { font-size:1.45rem; }
	.nayra-purchase-toolbar { grid-template-columns:1fr; padding:1rem; }
	.nayra-purchase-card > .card-header { align-items:flex-start; padding:1.2rem 1rem .6rem; }
	.nayra-purchase-form-hero,.nayra-purchase-form-actions { align-items:flex-start; flex-direction:column; }
	.nayra-purchase-form-hero { padding:1.25rem; }
	.nayra-purchase-form-card > .card-header,.nayra-purchase-form-card > .card-body { padding-left:1rem; padding-right:1rem; }
	.nayra-purchase-form-card > .card-header .d-flex { align-items:flex-start !important; flex-direction:column; gap:.75rem; }
	.nayra-purchase-form-actions > div:last-child { display:flex; width:100%; gap:.5rem; }
	.nayra-purchase-form-actions .btn { flex:1; }
	.nayra-return-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-return-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-stock-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-stock-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-sales-order-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-sales-order-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-invoice-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-invoice-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-delivery-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-delivery-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-payable-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-payable-toolbar { grid-template-columns:1fr; padding-left:1rem; padding-right:1rem; }
	.nayra-cashbook-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-cashbook-datenav { width:100%; flex-wrap:wrap; }
	.nayra-report-hero { align-items:flex-start; flex-direction:column; padding:1.25rem; }
	.nayra-report-filter { flex-direction:column; align-items:stretch; }
	.nayra-report-filter input,.nayra-report-filter select,.nayra-report-filter .btn-report-submit,.nayra-report-filter .btn-report-reset { width:100%; }
}

.nayra-access-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.42rem 0.8rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.nayra-access-badge--info {
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
}

.nayra-access-badge--success {
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
}

.nayra-access-badge--muted {
	background: rgba(100, 116, 139, 0.12);
	color: #475569;
}

.nayra-access-badge--role-owner {
	background: rgba(245, 158, 11, 0.14);
	color: #b45309;
}

.nayra-access-badge--role-admin {
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
}

.nayra-access-badge--role-kasir {
	background: rgba(16, 185, 129, 0.14);
	color: #047857;
}

.nayra-access-badge--role-sales {
	background: rgba(168, 85, 247, 0.14);
	color: #7c3aed;
}

.nayra-access-code {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.8rem;
	border-radius: 12px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	color: #0f172a;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.nayra-access-toolbar {
	padding: 1.25rem 1.25rem 0.5rem;
	border-top: 1px solid rgba(226, 232, 240, 0.8);
	border-bottom: 1px solid rgba(226, 232, 240, 0.8);
	background: linear-gradient(
		180deg,
		rgba(248, 250, 252, 0.9) 0%,
		rgba(255, 255, 255, 0.92) 100%
	);
}

.nayra-access-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.nayra-access-card {
	padding: 1.1rem;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nayra-access-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.nayra-access-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.2rem;
}

.nayra-access-card__subtitle {
	color: #64748b;
	line-height: 1.6;
}

.nayra-access-card__actions .btn-link {
	color: #2563eb;
	font-weight: 700;
	text-decoration: none;
}

.nayra-access-card__actions .btn-link:hover,
.nayra-access-card__actions .btn-link:focus {
	color: #1d4ed8;
	text-decoration: none;
}

.nayra-access-check-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.nayra-access-check {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.82rem 0.95rem;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	margin-bottom: 0;
}

.nayra-access-check__label {
	font-size: 0.88rem;
	font-weight: 700;
	color: #334155;
	margin-bottom: 0;
}

.nayra-access-check__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nayra-access-check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #2563eb;
}

.nayra-alert-inline {
	border-radius: 18px;
	background: linear-gradient(
		180deg,
		rgba(248, 250, 252, 0.98) 0%,
		rgba(255, 255, 255, 0.98) 100%
	);
	color: #334155;
}

.nayra-product-unit-table thead th {
	background: #f8fafc;
	color: #0f172a;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.nayra-product-unit-table td {
	vertical-align: middle;
	background: #fff;
}

@media (max-width: 991.98px) {
	.nayra-auth-card {
		flex-direction: column;
		min-height: auto;
	}

	.nayra-auth-brand-panel,
	.nayra-auth-form-panel {
		width: 100%;
	}

	.nayra-auth-brand-content,
	.nayra-auth-form-panel {
		padding: 2rem;
	}

	.nayra-auth-brand-panel {
		min-height: 320px;
		border-right: 0;
		border-bottom: 4px solid #f59e0b;
	}

	.nayra-auth-hero h1 {
		font-size: 1.6rem;
	}

	.nayra-auth-brand-top {
		flex-direction: row;
	}

	.nayra-auth-brand-body {
		margin-top: 1.5rem;
	}

	.nayra-auth-hero {
		max-width: 100%;
	}

	.nayra-master-hero,
	.nayra-master-form-hero,
	.nayra-master-form-section__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.nayra-master-hero__meta {
		justify-content: flex-start;
	}

	.nayra-owner-hero {
		flex-direction: column;
	}

	.nayra-owner-hero__meta {
		min-width: 0;
		width: 100%;
	}

	.nayra-access-grid {
		grid-template-columns: 1fr;
	}

	.nayra-access-toolbar {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media (max-width: 575.98px) {
	.nayra-login-page {
		padding: 1rem 0.75rem;
	}

	.nayra-auth-brand-content,
	.nayra-auth-form-panel {
		padding: 1.5rem;
	}

	.nayra-auth-index {
		display: none;
	}

	.nayra-auth-hero h1 {
		font-size: 1.4rem;
	}

	.nayra-master-hero,
	.nayra-master-form-hero {
		padding: 1.35rem;
		border-radius: 20px;
	}

	.nayra-master-hero h2,
	.nayra-master-form-hero h2 {
		font-size: 1.45rem;
	}

	.nayra-master-form-section {
		padding: 1rem;
	}

	.nayra-owner-hero {
		padding: 1.4rem;
		border-radius: 22px;
	}

	.nayra-owner-hero__content h2 {
		font-size: 1.6rem;
	}

	.nayra-owner-hero__meta,
	.nayra-owner-progress-grid {
		grid-template-columns: 1fr;
	}

	.nayra-owner-kpi {
		min-height: auto;
	}

	.nayra-owner-dashboard > .row {
		margin-bottom: 0.5rem;
	}

	.nayra-owner-dashboard > .row > [class*="col-"] {
		margin-bottom: 1rem;
	}

	.nayra-owner-dashboard .nayra-owner-card .card-header {
		padding: 1.2rem 1.15rem 0.65rem;
	}

	.nayra-owner-dashboard .nayra-owner-card .card-body:not(.p-0) {
		padding: 1rem 1.15rem 1.2rem;
	}

	.nayra-access-card__head,
	.nayra-access-check {
		flex-direction: column;
		align-items: flex-start;
	}

	.nayra-access-check-grid {
		grid-template-columns: 1fr;
	}
}

/* Dashboard: recent sales/purchase lists — compact row layout (no cramped table columns) */
.nayra-owner-recent-item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid #eef2f7;
}

.nayra-owner-recent-item:first-child {
	padding-top: 0;
}

.nayra-owner-recent-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.nayra-owner-recent-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 13px;
	font-size: 1rem;
}

.nayra-owner-recent-item__icon--blue {
	color: #2563eb;
	background: #eff6ff;
}

.nayra-owner-recent-item__icon--emerald {
	color: #059669;
	background: #ecfdf5;
}

.nayra-owner-recent-item__body {
	flex: 1;
	min-width: 0;
}

.nayra-owner-recent-item__body strong {
	display: block;
	overflow: hidden;
	color: #0f172a;
	font-size: 0.92rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nayra-owner-recent-item__body small {
	display: block;
	overflow: hidden;
	margin-top: 0.2rem;
	color: #64748b;
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nayra-owner-recent-item__meta {
	flex: 0 0 auto;
	text-align: right;
}

.nayra-owner-recent-item__amount {
	display: block;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	color: #0f172a;
	white-space: nowrap;
}

.nayra-owner-recent-item__meta .badge {
	margin-top: 0.4rem;
}

.nayra-auto-table-tools {
	padding: 0.9rem 1.5rem;
	background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.nayra-auto-table-search input {
	background: #f4f7fb;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.main-header {
	border-bottom: 1px solid #e5e7eb;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
	background: white;
}

.topbar-title-wrap {
	display: flex;
	flex-direction: column;
}

.topbar-title {
	color: #0f172a;
	font-weight: 900;
	font-size: 1.05rem;
	line-height: 1.1;
	letter-spacing: -0.4px;
}

.topbar-subtitle {
	color: #64748b;
	font-size: 0.7rem;
	margin-top: 1px;
	font-weight: 500;
}

.topbar-clock {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 5px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	color: #334155;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.topbar-clock-icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	flex-shrink: 0;
}

.topbar-clock-icon i {
	font-size: 0.82rem;
}

.topbar-clock-date {
	font-size: 0.66rem;
	color: #64748b;
	line-height: 1.1;
	font-weight: 600;
}

.topbar-clock-time {
	font-weight: 900;
	color: #0f172a;
	line-height: 1.1;
	font-size: 0.92rem;
	letter-spacing: -0.3px;
}

.topbar-user {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 4px 10px 4px 4px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	cursor: pointer;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.topbar-user:hover {
	border-color: #bfdbfe;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.09);
	background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
	transform: translateY(-0.5px);
}

.topbar-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e3a5f, #2563eb);
	color: #fff;
	font-weight: 900;
	font-size: 12px;
	overflow: hidden;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
	border: 2px solid #ffffff;
	flex-shrink: 0;
}

.topbar-user-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.topbar-user-name {
	color: #0f172a;
	font-weight: 900;
	line-height: 1.1;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.84rem;
}

.topbar-user-role {
	align-self: flex-start;
	margin-top: 3px;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.08);
	color: #1d4ed8;
	font-size: 0.64rem;
	line-height: 1;
	font-weight: 700;
}

.topbar-user-hint {
	margin-top: 2px;
	color: #94a3b8;
	font-size: 0.62rem;
	line-height: 1;
	font-weight: 600;
}

.btn-logout-top {
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	padding: 0 1rem;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	border: none;
	box-shadow: 0 8px 18px rgba(239, 68, 68, 0.2);
	transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.btn-logout-top:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: #fff;
	transform: translateY(-0.5px);
	box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
}

@media (max-width: 767.98px) {
	.topbar-title-wrap {
		display: none;
	}

	.topbar-user-meta {
		display: none;
	}

	.topbar-clock {
		min-height: 36px;
		padding: 4px 9px;
	}

	.topbar-clock-date {
		display: none;
	}

	.btn-logout-top span {
		display: none;
	}

	.btn-logout-top {
		padding: 0 0.85rem;
		height: 36px;
	}
}

.nayra-auto-table-count {
	padding: 0.32rem 0.75rem;
	border-radius: 999px;
	background: #f1f5f9;
	letter-spacing: 0.01em;
}

/* Sidebar can overflow the viewport when more than one dropdown is open
   at once (e.g. the active module plus a manually-opened one). Stisla's
   base .main-sidebar is position:fixed with no overflow handling, so
   content below the fold becomes completely unreachable. Make the menu
   list scroll internally while the brand header stays put. */
.main-sidebar #sidebar-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.main-sidebar .sidebar-menu {
	flex: 1 1 auto;
	overflow-y: auto;
}

/* ================= DARK MODE ================= */

[data-theme="dark"] body {
	background-color: #0f172a;
	color: #cbd5e1;
}

[data-theme="dark"] .main-sidebar {
	background-color: #1e293b;
	box-shadow: none;
}

[data-theme="dark"] .sidebar-menu li.menu-header {
	color: #64748b;
}

[data-theme="dark"] .sidebar-menu a.nav-link {
	color: #cbd5e1;
}

[data-theme="dark"] .sidebar-menu a.nav-link:hover,
[data-theme="dark"] .sidebar-menu > li.active > a {
	color: #fff;
}

[data-theme="dark"] .main-sidebar .sidebar-menu li a:hover {
	background-color: #0f172a;
}

[data-theme="dark"] .sidebar-menu li.active a {
	background-color: #0f172a !important;
	color: #60a5fa !important;
}

[data-theme="dark"] .sidebar-menu ul.dropdown-menu,
[data-theme="dark"] .sidebar-menu li.active ul.dropdown-menu li a {
	background-color: #1e293b !important;
	color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar-menu ul.dropdown-menu a.nav-link:hover {
	color: #fff;
}

[data-theme="dark"] .navbar,
[data-theme="dark"] .navbar-bg {
	background-color: #1e293b;
}

[data-theme="dark"] .topbar-title {
	color: #e2e8f0;
}

[data-theme="dark"] .topbar-subtitle,
[data-theme="dark"] .topbar-clock-date,
[data-theme="dark"] .topbar-clock-time {
	color: #94a3b8;
}

[data-theme="dark"] .card {
	background-color: #1e293b;
	color: #cbd5e1;
}

[data-theme="dark"] .card-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .card-header h4,
[data-theme="dark"] .content-header h1 {
	color: #e2e8f0;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .nayra-section-subtitle {
	color: #94a3b8 !important;
}

[data-theme="dark"] .table {
	color: #cbd5e1;
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .table-hover tbody tr:hover,
[data-theme="dark"] .item-table tbody tr:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .table,
[data-theme="dark"] .table-bordered,
[data-theme="dark"] .table th,
[data-theme="dark"] .table td {
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .item-table thead th {
	background: #0f172a;
	color: #94a3b8;
}

[data-theme="dark"] .item-table tfoot th {
	background: #0f172a;
	color: #e2e8f0;
}

[data-theme="dark"] .item-table .input-group-text {
	background: #0f172a;
	color: #94a3b8;
	border-color: #334155;
}

[data-theme="dark"] .item-table .text-subtotal {
	color: #e2e8f0;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .custom-select,
[data-theme="dark"] textarea.form-control {
	background-color: #0f172a;
	border-color: #334155;
	color: #e2e8f0;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .custom-select:focus {
	background-color: #0f172a;
	border-color: #3b82f6;
	color: #e2e8f0;
}

[data-theme="dark"] .form-control[readonly] {
	background-color: #1e293b;
	color: #94a3b8;
}

[data-theme="dark"] .form-control::placeholder {
	color: #64748b;
}

[data-theme="dark"] .form-label,
[data-theme="dark"] label {
	color: #cbd5e1;
}

[data-theme="dark"] .select2-container--default .select2-selection--single {
	background-color: #0f172a;
	border-color: #334155;
}

[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #e2e8f0;
}

[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #64748b;
}

[data-theme="dark"] .select2-container--default.select2-container--open .select2-selection--single,
[data-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #3b82f6;
}

[data-theme="dark"] .select2-dropdown {
	background-color: #0f172a;
	border-color: #334155;
}

[data-theme="dark"] .select2-search--dropdown .select2-search__field {
	background-color: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

[data-theme="dark"] .select2-container--default .select2-results__option {
	color: #e2e8f0;
}

[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #3b82f6;
	color: #fff;
}

[data-theme="dark"] .select2-container--default .select2-results__message {
	color: #94a3b8;
}

[data-theme="dark"] .modal-content {
	background-color: #1e293b;
	color: #cbd5e1;
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dropdown-menu {
	background-color: #1e293b;
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dropdown-item {
	color: #cbd5e1;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
	background-color: rgba(255, 255, 255, 0.06);
	color: #fff;
}

[data-theme="dark"] .dropdown-title,
[data-theme="dark"] .dropdown-divider {
	border-color: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
}

[data-theme="dark"] .list-group-item {
	background-color: transparent;
	color: #cbd5e1;
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .empty-state {
	color: #94a3b8;
}

[data-theme="dark"] .empty-state-icon {
	color: #475569;
}

[data-theme="dark"] .pagination .page-link {
	background-color: #1e293b;
	border-color: #334155;
	color: #cbd5e1;
}

[data-theme="dark"] .pagination .page-item.active .page-link {
	background-color: #3b82f6;
	border-color: #3b82f6;
	color: #fff;
}

[data-theme="dark"] .pagination .page-item.disabled .page-link {
	background-color: #0f172a;
	color: #475569;
}

[data-theme="dark"] .alert-success {
	background-color: rgba(16, 185, 129, 0.15);
	border-color: rgba(16, 185, 129, 0.35);
	color: #6ee7b7;
}

[data-theme="dark"] .alert-danger {
	background-color: rgba(239, 68, 68, 0.15);
	border-color: rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

[data-theme="dark"] .main-footer {
	color: #64748b;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .form-section-divider {
	border-top-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .nayra-soft-card {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .card-statistic-1 .card-wrap .card-header h4 {
	color: #94a3b8;
}

[data-theme="dark"] .nayra-purchase-form-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #2563eb 100%);
	border-color: transparent;
}

[data-theme="dark"] .nayra-purchase-form-hero h2 {
	color: #fff;
}

[data-theme="dark"] .nayra-purchase-form-hero p {
	color: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .nayra-return-hero {
	background: linear-gradient(135deg, #3b0f17 0%, #7f1d1d 55%, #b45309 100%);
	border-color: transparent;
}

[data-theme="dark"] .nayra-return-hero h2 {
	color: #fff;
}

[data-theme="dark"] .nayra-return-hero p {
	color: rgba(255, 255, 255, 0.78);
}

[data-theme="dark"] .nayra-owner-chart-wrap {
	background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nayra-purchase-stat,
[data-theme="dark"] .nayra-sales-order-stat,
[data-theme="dark"] .nayra-report-stat,
[data-theme="dark"] .nayra-cashbook-stat,
[data-theme="dark"] .nayra-invoice-stat,
[data-theme="dark"] .nayra-delivery-stat,
[data-theme="dark"] .nayra-payable-stat,
[data-theme="dark"] .nayra-so-detail-bar,
[data-theme="dark"] .nayra-report-card,
[data-theme="dark"] .nayra-report-filter {
	background: #1e293b;
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nayra-purchase-stat strong,
[data-theme="dark"] .nayra-sales-order-stat strong,
[data-theme="dark"] .nayra-report-stat strong,
[data-theme="dark"] .nayra-cashbook-stat strong,
[data-theme="dark"] .nayra-invoice-stat strong,
[data-theme="dark"] .nayra-delivery-stat strong,
[data-theme="dark"] .nayra-payable-stat strong,
[data-theme="dark"] .nayra-so-product-cell strong,
[data-theme="dark"] .nayra-report-card__title {
	color: #e2e8f0;
}

[data-theme="dark"] .nayra-purchase-stat small,
[data-theme="dark"] .nayra-purchase-stat span,
[data-theme="dark"] .nayra-sales-order-stat small,
[data-theme="dark"] .nayra-sales-order-stat span,
[data-theme="dark"] .nayra-report-stat small,
[data-theme="dark"] .nayra-cashbook-stat small,
[data-theme="dark"] .nayra-invoice-stat small,
[data-theme="dark"] .nayra-invoice-stat em,
[data-theme="dark"] .nayra-delivery-stat small,
[data-theme="dark"] .nayra-delivery-stat em,
[data-theme="dark"] .nayra-payable-stat small,
[data-theme="dark"] .nayra-payable-stat em,
[data-theme="dark"] .nayra-report-card__desc,
[data-theme="dark"] .nayra-so-product-cell small {
	color: #94a3b8;
}

[data-theme="dark"] .nayra-report-filter label {
	color: #cbd5e1;
}

[data-theme="dark"] .nayra-report-filter input,
[data-theme="dark"] .nayra-report-filter select,
[data-theme="dark"] .nayra-purchase-search input,
[data-theme="dark"] .nayra-purchase-toolbar select,
[data-theme="dark"] .nayra-invoice-toolbar select,
[data-theme="dark"] .nayra-delivery-toolbar select,
[data-theme="dark"] .nayra-payable-toolbar select {
	background: #0f172a;
	border-color: #334155;
	color: #e2e8f0;
}

[data-theme="dark"] .nayra-report-filter .btn-report-reset {
	background: #1e293b;
	border-color: #334155;
	color: #cbd5e1;
}

[data-theme="dark"] .nayra-stock-table thead th,
[data-theme="dark"] .nayra-sales-order-table thead th,
[data-theme="dark"] .nayra-report-table thead th,
[data-theme="dark"] .nayra-aging-table thead th,
[data-theme="dark"] .nayra-cashbook-table thead th,
[data-theme="dark"] .nayra-invoice-table thead th,
[data-theme="dark"] .nayra-delivery-table thead th,
[data-theme="dark"] .nayra-payable-table thead th {
	background: #0f172a;
	color: #94a3b8;
}

[data-theme="dark"] .nayra-report-table tbody tr:hover,
[data-theme="dark"] .nayra-cashbook-table tbody tr:hover,
[data-theme="dark"] .nayra-invoice-table tbody tr:hover,
[data-theme="dark"] .nayra-delivery-table tbody tr:hover,
[data-theme="dark"] .nayra-payable-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .nayra-report-table tbody td,
[data-theme="dark"] .nayra-cashbook-table tbody td,
[data-theme="dark"] .nayra-invoice-table tbody td,
[data-theme="dark"] .nayra-payable-table tbody td {
	border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nayra-picker-bar {
	background: rgba(15, 23, 42, 0.96);
	border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nayra-pl-row--subtotal {
	background: #0f172a;
}

[data-theme="dark"] .bg-light {
	background-color: #0f172a !important;
	color: #e2e8f0;
}

/* ================= LIGHT MODE LEMBUT (anti silau) ================= */

html:not([data-theme="dark"]) body {
	background-color: #e8ecf1;
	color: #334155;
}

html:not([data-theme="dark"]) .navbar-bg {
	background-color: #5563c1;
}

html:not([data-theme="dark"]) .main-sidebar {
	background-color: #f3f5f8;
	box-shadow: 1px 0 0 rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .sidebar-menu a.nav-link {
	color: #475569;
}

html:not([data-theme="dark"]) .card {
	background-color: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.05);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .card .card-header h4,
html:not([data-theme="dark"]) .section-title {
	color: #1e293b;
}

html:not([data-theme="dark"]) .table {
	color: #334155;
}

html:not([data-theme="dark"]) .form-control,
html:not([data-theme="dark"]) .custom-select {
	background-color: #fbfcfd;
}

html:not([data-theme="dark"]) .card-statistic-1 .card-icon.bg-primary { background-color: #5563c1 !important; }
html:not([data-theme="dark"]) .card-statistic-1 .card-icon.bg-success { background-color: #3ba776 !important; }
html:not([data-theme="dark"]) .card-statistic-1 .card-icon.bg-warning { background-color: #df9a2f !important; }
html:not([data-theme="dark"]) .card-statistic-1 .card-icon.bg-danger  { background-color: #d2524c !important; }
html:not([data-theme="dark"]) .card-statistic-1 .card-icon.bg-info    { background-color: #3a8fb7 !important; }

/* ================= HERO DASHBOARD OWNER (selaras header indigo) ================= */

.nayra-owner-hero.bg-dark {
	background-color: #4f5cbd !important;
	background-image:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.16), transparent 38%),
		linear-gradient(135deg, #3f4aa6 0%, #5563c1 55%, #6f7bd8 100%);
	border-left: 0;
	box-shadow: 0 16px 36px rgba(63, 74, 166, 0.25);
}

.nayra-owner-hero__content {
	max-width: none;
	width: 100%;
}

.nayra-owner-hero__content h2 {
	color: #fff;
}

.nayra-owner-hero .nayra-master-hero__eyebrow {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.28);
}

.nayra-owner-chip {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.nayra-owner-highlight {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
}

.nayra-owner-highlight__label {
	color: rgba(255, 255, 255, 0.75);
}

.nayra-owner-highlight strong.text-success {
	color: #a7f3d0 !important;
}

.nayra-owner-highlight strong.text-danger {
	color: #fecaca !important;
}

@media (min-width: 1200px) {
	.nayra-owner-hero__meta {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

[data-theme="dark"] .nayra-owner-hero.bg-dark {
	background-color: #2a3170 !important;
	background-image:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.08), transparent 38%),
		linear-gradient(135deg, #222a5e 0%, #2f3780 55%, #3b4596 100%);
	box-shadow: none;
}

/* ================= SUBMENU SIDEBAR: kotak saat hover & aktif ================= */

body:not(.sidebar-mini) .main-sidebar .sidebar-menu li ul.dropdown-menu li a {
	margin: 2px 14px 2px 22px;
	padding-left: 43px;
	border-radius: 8px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

body:not(.sidebar-mini) .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
	background-color: rgba(85, 99, 193, 0.1);
	color: #4351b0;
}

body:not(.sidebar-mini) .main-sidebar .sidebar-menu li ul.dropdown-menu li a.active {
	background-color: rgba(85, 99, 193, 0.16);
	color: #3f4aa6;
	font-weight: 600;
}

[data-theme="dark"] body:not(.sidebar-mini) .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
	background-color: rgba(96, 165, 250, 0.12) !important;
	color: #fff !important;
}

[data-theme="dark"] body:not(.sidebar-mini) .main-sidebar .sidebar-menu li ul.dropdown-menu li a.active {
	background-color: rgba(96, 165, 250, 0.2) !important;
	color: #bfdbfe !important;
}

/* ================= PERINGATAN AUTO LOGOUT ================= */

.nayra-idle-warning {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2000;
	max-width: 320px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #b45309;
	color: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
	font-size: 0.9rem;
}

.nayra-idle-warning[hidden] {
	display: none;
}

/* ================= INPUT ANGKA & UANG DI TABEL ITEM ================= */
/* Angka rata kanan dengan digit sejajar, tanpa tombol panah, agar nominal terbaca penuh. */
.item-table .input-uang,
.item-table .input-money,
.item-table .input-angka,
.item-table .input-qty {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	min-width: 0;
}

.item-table input[type="number"]::-webkit-outer-spin-button,
.item-table input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.item-table input[type="number"] {
	-moz-appearance: textfield;
}

.item-table thead th,
.item-table .text-subtotal {
	white-space: nowrap;
}

/* ===== Penyelesaian Rit ===== */
.rit-hero__chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.35rem}
.rit-hero__chips span{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .8rem;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:.86rem;font-weight:600}
.rit-alert{border-radius:14px;font-weight:600}
.rit-section-title{display:flex;flex-direction:column;margin:.25rem 0 .85rem}
.rit-section-title span{font-size:1.05rem;font-weight:700;color:#1e293b}
.rit-section-title small{color:#64748b;font-size:.85rem}

.rit-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-left:5px solid #94a3b8;border-radius:16px;padding:1.15rem 1.25rem;margin-bottom:1rem;box-shadow:0 6px 18px rgba(15,23,42,.05);transition:border-color .15s}
.rit-card[data-hasil="tunai"],.rit-card[data-hasil="sudah_lunas"]{border-left-color:#16a34a}
.rit-card[data-hasil="tempo"]{border-left-color:#0284c7}
.rit-card.is-gagal{border-left-color:#dc2626;background:#fffafa}
.rit-card--so{border-left-color:#f59e0b}
.rit-card__head{display:flex;align-items:flex-start;gap:.9rem}
.rit-card__no{flex:0 0 34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#4f46e5;font-weight:800}
.rit-card__who{flex:1;min-width:0}
.rit-card__name{font-size:1.15rem;font-weight:800;color:#0f172a;line-height:1.25}
.rit-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .9rem;margin-top:.2rem;font-size:.86rem;color:#64748b}
.rit-card__meta i{margin-right:.3rem}
.rit-card__meta a{font-weight:700}
.rit-card__amount{text-align:right;display:flex;flex-direction:column;align-items:flex-end}
.rit-card__amount small{color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.rit-card__amount strong{font-size:1.45rem;font-weight:800;color:#0f172a;line-height:1.2}
.rit-card__hint{margin:.75rem 0 .5rem;color:#64748b;font-size:.88rem}
.rit-tag{display:inline-block;margin-top:.3rem;padding:.15rem .6rem;border-radius:999px;font-size:.75rem;font-weight:700}
.rit-tag--warning{background:#fef3c7;color:#92400e}
.rit-tag--muted{background:#f1f5f9;color:#475569}

.rit-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.65rem;margin:1rem 0}
.rit-choice{position:relative;display:flex;align-items:center;gap:.7rem;margin:0;padding:.75rem .85rem;border:2px solid #e2e8f0;border-radius:14px;cursor:pointer;background:#f8fafc;transition:all .15s}
.rit-choice:hover{border-color:#cbd5e1;background:#fff}
.rit-choice input{position:absolute;opacity:0;pointer-events:none}
.rit-choice__icon{flex:0 0 38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#475569;font-size:1rem}
.rit-choice__text{display:flex;flex-direction:column;line-height:1.25}
.rit-choice__text strong{font-size:.98rem;color:#1e293b}
.rit-choice__text small{font-size:.76rem;color:#64748b}
.rit-choice--tunai.is-active{border-color:#16a34a;background:#f0fdf4}
.rit-choice--tunai.is-active .rit-choice__icon{background:#16a34a;color:#fff}
.rit-choice--tempo.is-active{border-color:#0284c7;background:#f0f9ff}
.rit-choice--tempo.is-active .rit-choice__icon{background:#0284c7;color:#fff}
.rit-choice--gagal.is-active{border-color:#dc2626;background:#fef2f2}
.rit-choice--gagal.is-active .rit-choice__icon{background:#dc2626;color:#fff}
.rit-choice.is-disabled{opacity:.45;cursor:not-allowed}
.rit-choice input:focus-visible + .rit-choice__icon{box-shadow:0 0 0 3px rgba(79,70,229,.35)}

.rit-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin-bottom:.75rem}
.rit-field label,.rit-bagian-gagal label,.rit-summary label{font-size:.82rem;font-weight:700;color:#334155;margin-bottom:.3rem}
.rit-uang{font-size:1.1rem;font-weight:700}
.rit-switch{margin:.25rem 0 .5rem}
.rit-switch .custom-control-label{font-weight:600;color:#334155;cursor:pointer}
.rit-retur{border:1px dashed #f59e0b;background:#fffbeb;border-radius:12px;padding:.35rem .85rem;margin-bottom:.5rem}
.rit-retur__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid #fde68a}
.rit-retur__row:last-child{border-bottom:0}
.rit-retur__item{display:flex;flex-direction:column;min-width:0}
.rit-retur__item small{color:#78716c}
.rit-retur__qty{display:flex;align-items:center;gap:.45rem;flex:0 0 auto}
.rit-retur__qty input{width:95px;text-align:right;font-weight:700}
.rit-retur__qty span{font-size:.82rem;color:#78716c;min-width:40px}
.rit-bagian-gagal{background:#fef2f2;border-radius:12px;padding:.85rem 1rem}
.rit-bagian-gagal small{display:block;margin-top:.35rem;color:#991b1b}

.rit-card__result{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.85rem;padding-top:.85rem;border-top:1px solid #f1f5f9}
.rit-card__result > div{flex:1 1 120px;background:#f8fafc;border-radius:12px;padding:.5rem .8rem}
.rit-card__result small{display:block;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#64748b}
.rit-card__result strong{font-size:1.05rem;color:#1e293b}
.rit-card__result .is-cash strong{color:#15803d}
.rit-card__result .is-credit strong{color:#0369a1}
.rit-card__result .rit-card__failed{display:none;background:#fee2e2;color:#991b1b;font-weight:700}
.rit-card.is-gagal .rit-card__result > div{display:none}
.rit-card.is-gagal .rit-card__result .rit-card__failed{display:block}

.rit-summary{position:sticky;top:90px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.25rem;box-shadow:0 12px 30px rgba(15,23,42,.08);margin-bottom:1rem}
.rit-summary__head{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.rit-summary__head > span{flex:0 0 42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#ecfdf5;color:#059669;font-size:1.1rem}
.rit-summary__head strong{display:block;font-size:1.1rem;color:#0f172a}
.rit-summary__head small{color:#64748b}
.rit-summary__due{background:linear-gradient(135deg,#059669,#10b981);color:#fff;border-radius:14px;padding:.9rem 1rem;margin-bottom:.9rem}
.rit-summary__due small{display:block;font-weight:600;opacity:.9}
.rit-summary__due strong{font-size:1.85rem;font-weight:800;line-height:1.2}
.rit-summary__list{margin-bottom:1rem}
.rit-summary__list > div{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9;font-size:.92rem}
.rit-summary__list span{color:#475569}
.rit-summary__list i{width:22px}
.rit-summary__list strong{color:#0f172a}
.rit-summary__input{font-size:1.35rem;font-weight:800}
.rit-selisih{margin-top:.45rem;padding:.45rem .75rem;border-radius:10px;font-weight:700;font-size:.92rem}
.rit-selisih.is-pas{background:#dcfce7;color:#166534}
.rit-selisih.is-kurang{background:#fee2e2;color:#991b1b}
.rit-selisih.is-lebih{background:#fef3c7;color:#92400e}
.rit-summary__note{display:block;text-align:center;margin-top:.6rem;color:#64748b}
@media (max-width:1199.98px){.rit-summary{position:static}}
@media (max-width:575.98px){
  .rit-card{padding:1rem}
  .rit-card__head{flex-wrap:wrap}
  .rit-card__amount{width:100%;flex-direction:row;align-items:baseline;justify-content:space-between;padding-left:calc(34px + .9rem)}
  .rit-retur__row{flex-direction:column;align-items:stretch}
}

[data-theme="dark"] .rit-section-title span,[data-theme="dark"] .rit-card__name,[data-theme="dark"] .rit-card__amount strong,[data-theme="dark"] .rit-choice__text strong,[data-theme="dark"] .rit-card__result strong,[data-theme="dark"] .rit-summary__head strong,[data-theme="dark"] .rit-summary__list strong{color:#e2e8f0}
[data-theme="dark"] .rit-card,[data-theme="dark"] .rit-summary{background:#1e293b;border-color:#334155}
[data-theme="dark"] .rit-card.is-gagal{background:#2a1f2a}
[data-theme="dark"] .rit-choice,[data-theme="dark"] .rit-card__result > div{background:#0f172a;border-color:#334155}
[data-theme="dark"] .rit-choice__icon{background:#334155;color:#cbd5e1}
[data-theme="dark"] .rit-choice--tunai.is-active{background:rgba(22,163,74,.15)}
[data-theme="dark"] .rit-choice--tempo.is-active{background:rgba(2,132,199,.15)}
[data-theme="dark"] .rit-choice--gagal.is-active{background:rgba(220,38,38,.15)}
[data-theme="dark"] .rit-field label,[data-theme="dark"] .rit-bagian-gagal label,[data-theme="dark"] .rit-summary label,[data-theme="dark"] .rit-switch .custom-control-label,[data-theme="dark"] .rit-summary__list span{color:#cbd5e1}
[data-theme="dark"] .rit-retur{background:rgba(245,158,11,.08)}
[data-theme="dark"] .rit-retur__row{border-color:rgba(245,158,11,.25)}
[data-theme="dark"] .rit-bagian-gagal{background:rgba(220,38,38,.12)}
[data-theme="dark"] .rit-bagian-gagal small{color:#fca5a5}
[data-theme="dark"] .rit-card__result,[data-theme="dark"] .rit-summary__list > div{border-color:#334155}
[data-theme="dark"] .rit-card__no{background:rgba(79,70,229,.2);color:#a5b4fc}
.rit-page .form-control.rit-uang{font-size:1.15rem;font-weight:700;height:auto;padding:.55rem .85rem}
.rit-page .form-control.rit-summary__input{font-size:1.45rem;font-weight:800;height:auto;padding:.5rem .85rem}
.rit-page .rit-lunas{background:#16a34a;border-color:#16a34a;color:#fff;font-weight:700}
.rit-page .rit-lunas:hover{background:#15803d;border-color:#15803d}

/* ===== Baris item transaksi: nomor urut, garis warna, latar selang-seling =====
   Dipakai di Sales Order, Faktur, Surat Jalan, Penjualan Langsung. Nomor memakai counter CSS
   sehingga otomatis berurutan saat baris ditambah atau dihapus. */
.nayra-item-rows{border-collapse:separate;border-spacing:0}
.nayra-item-rows td,.nayra-item-rows th{border-left:0 !important;border-right:0 !important}
.nayra-item-rows > tbody{counter-reset:nayra-baris}
.nayra-item-rows > tbody > tr > td{vertical-align:middle;border-top:0;border-bottom:3px solid #e2e8f0;padding-top:.85rem;padding-bottom:.85rem;padding-left:.5rem;padding-right:.5rem}
.nayra-item-rows > tbody > tr:nth-child(odd) > td{background:#ffffff}
.nayra-item-rows > tbody > tr:nth-child(even) > td{background:#f5f7ff}
.nayra-item-rows > tbody > tr:hover > td{background:#eef2ff}
.nayra-item-rows > tbody > tr > td.nayra-row-no{border-left:5px solid #6366f1 !important;text-align:center;width:48px}
.nayra-item-rows > tbody > tr:nth-child(even) > td.nayra-row-no{border-left-color:#14b8a6 !important}
.nayra-row-no__badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#6366f1;color:#fff;font-weight:800;font-size:.9rem}
.nayra-row-no__badge::before{counter-increment:nayra-baris;content:counter(nayra-baris)}
.nayra-item-rows > tbody > tr:nth-child(even) .nayra-row-no__badge{background:#14b8a6}
.nayra-item-rows .input-produk{font-weight:700}
.nayra-item-rows .input-unit-info{display:block;border:0;background:transparent;box-shadow:none;padding:0;margin-top:.35rem !important;height:auto;min-height:0;font-size:.8rem;color:#4338ca;font-weight:700;pointer-events:none}
.nayra-item-rows .input-unit-info::placeholder{color:transparent}
.nayra-item-rows .text-subtotal{font-size:1.05rem;white-space:nowrap}
.nayra-item-rows tfoot th{white-space:nowrap}
.nayra-item-rows .input-stok-info{font-size;.75rem;line-height;1.3}
.nayra-item-rows > thead > tr > th;first-child{padding-left;.5rem;padding-right;.5rem;width;48px}
.nayra-item-rows > thead > tr > th{padding-left;.5rem;padding-right;.5rem}
[data-theme="dark"] .nayra-item-rows > tbody > tr:nth-child(odd) > td{background:#1e293b}
[data-theme="dark"] .nayra-item-rows > tbody > tr:nth-child(even) > td{background:#22304a}
[data-theme="dark"] .nayra-item-rows > tbody > tr:hover > td{background:#273a5c}
[data-theme="dark"] .nayra-item-rows > tbody > tr > td{border-bottom-color:#334155}
[data-theme="dark"] .nayra-item-rows .input-unit-info{color:#a5b4fc}

/* Logo di panel kiri login: latar putih supaya garis hitam logo tetap terlihat di panel gelap. */
.nayra-auth-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:22px;padding:1.1rem 1.4rem;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.nayra-auth-logo img{display:block;width:100%;max-width:220px;height:auto}
.nayra-auth-hero .nayra-auth-logo{margin:1.75rem 0 .5rem}
@media (max-width:991.98px){.nayra-auth-logo{padding:.8rem 1rem}.nayra-auth-logo img{max-width:170px}}

/* Logo di sidebar. Latar putih kecil supaya garis hitam logo tetap terlihat di mode gelap. */
.sidebar-brand .nayra-sidebar-logo{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none}
.sidebar-brand .nayra-sidebar-logo img{height:34px;width:auto;background:#fff;border-radius:8px;padding:3px 5px}
.sidebar-brand .nayra-sidebar-logo span{white-space:nowrap}
.sidebar-brand-sm .nayra-sidebar-logo img{height:30px}
.sidebar-brand .nayra-sidebar-logo{max-width:100%;padding:0 .5rem}
.sidebar-brand .nayra-sidebar-logo span{font-size:.85rem;letter-spacing:1px}

/* ===== Dashboard ===== */
.dash{--dash-text:#0f172a;--dash-muted:#64748b;--dash-card:#ffffff;--dash-line:#e2e8f0;--dash-soft:#f8fafc}
.dash-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin:.25rem 0 1.25rem;padding:1.4rem 1.6rem;border-radius:20px;background:linear-gradient(135deg,#4338ca 0%,#6366f1 55%,#818cf8 100%);color:#fff;box-shadow:0 16px 36px rgba(67,56,202,.25)}
.dash-head__title{font-size:1.6rem;font-weight:800;margin:0 0 .3rem;color:#fff}
.dash-head__sub{margin:0;color:rgba(255,255,255,.85);font-size:.92rem}
.dash-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.6);margin:0 .55rem;vertical-align:middle}
.dash-head__actions{display:flex;flex-wrap:wrap;gap:.5rem}
.dash-quick{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .9rem;border-radius:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff !important;font-weight:700;font-size:.85rem;text-decoration:none !important;transition:background .15s}
.dash-quick:hover{background:rgba(255,255,255,.3)}

.dash-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;margin-bottom:1.5rem}
.dash-kpi{position:relative;background:var(--dash-card);border:1px solid var(--dash-line);border-radius:18px;padding:1.15rem 1.2rem;box-shadow:0 6px 18px rgba(15,23,42,.05);overflow:hidden}
.dash-kpi::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;opacity:.08;background:currentColor}
.dash-kpi__icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.05rem;color:#fff;margin-bottom:.75rem}
.dash-kpi__label{font-size:.85rem;font-weight:700;color:var(--dash-muted)}
.dash-kpi__value{font-size:1.6rem;font-weight:800;color:var(--dash-text);line-height:1.25;margin:.15rem 0 .45rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-kpi__note{display:block;font-size:.8rem;color:var(--dash-muted)}
.dash-kpi--indigo{color:#6366f1}.dash-kpi--indigo .dash-kpi__icon{background:#6366f1}
.dash-kpi--emerald{color:#10b981}.dash-kpi--emerald .dash-kpi__icon{background:#10b981}
.dash-kpi--amber{color:#f59e0b}.dash-kpi--amber .dash-kpi__icon{background:#f59e0b}
.dash-kpi--rose{color:#f43f5e}.dash-kpi--rose .dash-kpi__icon{background:#f43f5e}
.dash-trend{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:700;padding:.2rem .55rem;border-radius:999px}
.dash-trend--up{background:#dcfce7;color:#166534}
.dash-trend--down{background:#fee2e2;color:#991b1b}
.dash-trend--flat{background:#f1f5f9;color:#475569}

.dash-section-title{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:800;color:var(--dash-text);margin:0 0 .75rem}
.dash-section-title i{color:#f59e0b}
.dash-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;margin-bottom:1.5rem}
.dash-action{display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;border-radius:16px;background:var(--dash-card);border:1px solid var(--dash-line);border-left:5px solid #cbd5e1;text-decoration:none !important;color:inherit !important;transition:transform .15s,box-shadow .15s}
a.dash-action:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.dash-action__icon{flex:0 0 44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;background:#f1f5f9;color:#94a3b8}
.dash-action__body{flex:1;min-width:0}
.dash-action__count{font-size:1.5rem;font-weight:800;line-height:1.1;color:var(--dash-text)}
.dash-action__title{font-weight:700;font-size:.88rem;color:var(--dash-text)}
.dash-action__desc{font-size:.78rem;color:var(--dash-muted)}
.dash-action__go{color:#cbd5e1}
.dash-action.is-clear .dash-action__count{color:#94a3b8}
.dash-action.is-clear .dash-action__icon{background:#dcfce7;color:#16a34a}
.dash-action--rose{border-left-color:#f43f5e;background:#fff5f6}.dash-action--rose .dash-action__icon{background:#f43f5e;color:#fff}.dash-action--rose .dash-action__count{color:#e11d48}
.dash-action--amber{border-left-color:#f59e0b;background:#fffbeb}.dash-action--amber .dash-action__icon{background:#f59e0b;color:#fff}.dash-action--amber .dash-action__count{color:#d97706}
.dash-action--indigo{border-left-color:#6366f1;background:#f5f7ff}.dash-action--indigo .dash-action__icon{background:#6366f1;color:#fff}.dash-action--indigo .dash-action__count{color:#4f46e5}
.dash-action--orange{border-left-color:#f97316;background:#fff7ed}.dash-action--orange .dash-action__icon{background:#f97316;color:#fff}.dash-action--orange .dash-action__count{color:#ea580c}

.dash-card{background:var(--dash-card);border:1px solid var(--dash-line);border-radius:18px;padding:1.2rem 1.3rem;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.dash-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.dash-card__head h4{margin:0;font-size:1.02rem;font-weight:800;color:var(--dash-text)}
.dash-card__head small{color:var(--dash-muted);font-size:.8rem}
.dash-link{font-size:.82rem;font-weight:700;white-space:nowrap}
.dash-pill{font-size:.8rem;font-weight:800;padding:.25rem .65rem;border-radius:999px;background:#eef2ff;color:#4338ca;white-space:nowrap}
.dash-chart{position:relative;height:290px}

.dash-cash__row{display:flex;justify-content:space-between;align-items:center;padding:.6rem 0;border-bottom:1px dashed var(--dash-line);font-size:.92rem}
.dash-cash__row span{color:var(--dash-muted);font-weight:600}
.dash-cash__row i{width:20px}
.dash-cash__row strong{font-size:1.05rem}
.dash-cash__net{margin:.85rem 0 1.1rem;padding:.8rem 1rem;border-radius:14px}
.dash-cash__net small{display:block;font-weight:700;font-size:.78rem}
.dash-cash__net strong{font-size:1.45rem;font-weight:800}
.dash-cash__net.is-plus{background:#ecfdf5;color:#047857}
.dash-cash__net.is-minus{background:#fef2f2;color:#b91c1c}
.dash-meter{margin-top:.8rem}
.dash-meter__top{display:flex;justify-content:space-between;font-size:.88rem;font-weight:700;color:var(--dash-text)}
.dash-meter__bar{height:9px;border-radius:999px;background:#eef2ff;margin:.35rem 0 .25rem;overflow:hidden}
.dash-meter__bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6366f1,#22c55e)}
.dash-meter__bar--rose span{background:linear-gradient(90deg,#f43f5e,#f59e0b)}
.dash-meter small{color:var(--dash-muted);font-size:.75rem}

.dash-list{display:flex;flex-direction:column;gap:.15rem}
.dash-item{display:flex;align-items:center;gap:.75rem;padding:.6rem .35rem;border-radius:12px}
.dash-item:hover{background:var(--dash-soft)}
.dash-item__body{flex:1;min-width:0}
.dash-item__body strong{display:block;font-size:.9rem;color:var(--dash-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-item__body small{color:var(--dash-muted);font-size:.76rem}
.dash-item__amount{display:block;font-weight:800;font-size:.9rem;color:var(--dash-text);white-space:nowrap}
.dash-avatar{flex:0 0 38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:800;background:#eef2ff;color:#4f46e5}
.dash-avatar--indigo{background:#eef2ff;color:#4f46e5}
.dash-avatar--emerald{background:#ecfdf5;color:#059669}
.dash-avatar--amber{background:#fffbeb;color:#d97706}
.dash-avatar--rose{background:#fff1f2;color:#e11d48}
.dash-status{display:inline-block;margin-top:.15rem;padding:.1rem .5rem;border-radius:999px;font-size:.7rem;font-weight:700}
.dash-status--success{background:#dcfce7;color:#166534}
.dash-status--warning{background:#fef3c7;color:#92400e}
.dash-status--danger{background:#fee2e2;color:#991b1b}
.dash-status--secondary{background:#f1f5f9;color:#475569}
.dash-stock{font-weight:800;font-size:.85rem;padding:.2rem .6rem;border-radius:999px;white-space:nowrap}
.dash-stock.is-empty{background:#fee2e2;color:#991b1b}
.dash-stock.is-low{background:#fef3c7;color:#92400e}

.dash-rank{display:flex;align-items:flex-start;gap:.7rem;padding:.55rem .35rem}
.dash-rank__no{flex:0 0 28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.8rem;background:#f1f5f9;color:#64748b}
.dash-rank__no.is-top{background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff}
.dash-rank__body{flex:1;min-width:0}
.dash-rank__line{display:flex;justify-content:space-between;gap:.5rem;font-size:.9rem}
.dash-rank__line strong{color:var(--dash-text)}
.dash-rank__line span{font-weight:800;color:var(--dash-text);white-space:nowrap}
.dash-rank__bar{height:6px;border-radius:999px;background:#f1f5f9;margin:.35rem 0 .2rem;overflow:hidden}
.dash-rank__bar span{display:block;height:100%;border-radius:999px;background:#6366f1}
.dash-rank small{color:var(--dash-muted);font-size:.74rem}

.dash-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:2rem 1rem;color:#94a3b8;font-weight:600;text-align:center}
.dash-empty i{font-size:1.8rem;opacity:.6}
.dash-empty--ok{color:#16a34a}

@media (max-width:575.98px){
  .dash-head{padding:1.1rem 1.15rem}
  .dash-head__title{font-size:1.3rem}
  .dash-kpi__value{font-size:1.35rem}
}

[data-theme="dark"] .dash{--dash-text:#e2e8f0;--dash-muted:#94a3b8;--dash-card:#1e293b;--dash-line:#334155;--dash-soft:#0f172a}
[data-theme="dark"] .dash-head{background:linear-gradient(135deg,#312e81 0%,#4338ca 60%,#6366f1 100%)}
[data-theme="dark"] .dash-action.is-clear .dash-action__icon{background:rgba(22,163,74,.18)}
[data-theme="dark"] .dash-action__icon{background:#0f172a}
[data-theme="dark"] .dash-action--rose{background:rgba(244,63,94,.1)}
[data-theme="dark"] .dash-action--amber{background:rgba(245,158,11,.1)}
[data-theme="dark"] .dash-action--indigo{background:rgba(99,102,241,.12)}
[data-theme="dark"] .dash-action--orange{background:rgba(249,115,22,.1)}
[data-theme="dark"] .dash-cash__net.is-plus{background:rgba(16,185,129,.12);color:#6ee7b7}
[data-theme="dark"] .dash-cash__net.is-minus{background:rgba(239,68,68,.12);color:#fca5a5}
[data-theme="dark"] .dash-meter__bar,[data-theme="dark"] .dash-rank__bar,[data-theme="dark"] .dash-rank__no{background:#0f172a}
[data-theme="dark"] .dash-avatar,[data-theme="dark"] .dash-pill{background:rgba(99,102,241,.18);color:#c7d2fe}
[data-theme="dark"] .dash-avatar--emerald{background:rgba(16,185,129,.15);color:#6ee7b7}
[data-theme="dark"] .dash-avatar--amber{background:rgba(245,158,11,.15);color:#fcd34d}
[data-theme="dark"] .dash-avatar--rose{background:rgba(244,63,94,.15);color:#fda4af}
[data-theme="dark"] .dash-trend--flat,[data-theme="dark"] .dash-status--secondary{background:#334155;color:#cbd5e1}
.dash-chart__empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;text-align:center;background:rgba(255,255,255,.75);border-radius:12px;color:#64748b}
.dash-chart__empty i{font-size:2rem;color:#a5b4fc}
.dash-chart__empty strong{color:#334155}
.dash-chart__empty span{font-size:.82rem}
[data-theme="dark"] .dash-chart__empty{background:rgba(30,41,59,.8);color:#94a3b8}
[data-theme="dark"] .dash-chart__empty strong{color:#e2e8f0}
.dash-rank{padding:.4rem .35rem}
.dash-rank__bar{margin:.25rem 0 .1rem}
@media (max-width:767.98px){.dash-actions{grid-template-columns:1fr}}

/* ===== Laporan berwarna per kategori =====
   --rp1/--rp2: gradasi utama, --rp-soft: latar lembut, --rp-tint: baris selang-seling, --rp-text: teks aksen. */
.rpt-tema--indigo{--rp1:#4338ca;--rp2:#6366f1;--rp-soft:#eef2ff;--rp-tint:#f7f8ff;--rp-text:#3730a3;--rp-shadow:rgba(67,56,202,.28)}
.rpt-tema--emerald{--rp1:#047857;--rp2:#10b981;--rp-soft:#e7f8f0;--rp-tint:#f5fcf8;--rp-text:#065f46;--rp-shadow:rgba(4,120,87,.25)}
.rpt-tema--amber{--rp1:#c2410c;--rp2:#f59e0b;--rp-soft:#fff4dc;--rp-tint:#fffbf0;--rp-text:#9a3412;--rp-shadow:rgba(217,119,6,.25)}
.rpt-tema--teal{--rp1:#0f766e;--rp2:#14b8a6;--rp-soft:#e1f7f4;--rp-tint:#f4fcfb;--rp-text:#115e59;--rp-shadow:rgba(15,118,110,.25)}
.rpt-tema--rose{--rp1:#be123c;--rp2:#f43f5e;--rp-soft:#ffe8ec;--rp-tint:#fff8f9;--rp-text:#9f1239;--rp-shadow:rgba(190,18,60,.22)}

/* Header laporan mengikuti warna kategori */
.nayra-report-page[class*="rpt-tema--"] .nayra-report-hero{background:linear-gradient(135deg,var(--rp1) 0%,var(--rp2) 100%);box-shadow:0 18px 40px var(--rp-shadow)}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-hero h2{font-weight:800}

/* Filter */
.nayra-report-page[class*="rpt-tema--"] .nayra-report-filter{border-top:4px solid var(--rp2)}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-filter .btn-report-submit{background:var(--rp1)}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-filter .btn-report-submit:hover{background:var(--rp2)}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-filter input:focus,.nayra-report-page[class*="rpt-tema--"] .nayra-report-filter select:focus{border-color:var(--rp2);box-shadow:0 0 0 3px var(--rp-soft)}

/* Kartu angka: ikon berwarna penuh, garis aksen atas sesuai warna ikon, angka besar */
.nayra-report-stat{position:relative;overflow:hidden;border-top:4px solid #cbd5e1}
.nayra-report-stat>span{color:#fff !important;font-size:1.1rem;box-shadow:0 8px 16px rgba(15,23,42,.12)}
.nayra-report-stat>span.indigo{background:linear-gradient(135deg,#4f46e5,#818cf8) !important}
.nayra-report-stat>span.emerald{background:linear-gradient(135deg,#059669,#34d399) !important}
.nayra-report-stat>span.rose{background:linear-gradient(135deg,#e11d48,#fb7185) !important}
.nayra-report-stat>span.amber{background:linear-gradient(135deg,#d97706,#fbbf24) !important}
.nayra-report-stat>span.blue{background:linear-gradient(135deg,#2563eb,#60a5fa) !important}
.nayra-report-stat:has(>span.indigo){border-top-color:#6366f1}
.nayra-report-stat:has(>span.emerald){border-top-color:#10b981}
.nayra-report-stat:has(>span.rose){border-top-color:#f43f5e}
.nayra-report-stat:has(>span.amber){border-top-color:#f59e0b}
.nayra-report-stat:has(>span.blue){border-top-color:#3b82f6}
.nayra-report-stat small{font-size:.72rem}
.nayra-report-stat strong{font-size:1.4rem;font-weight:800;line-height:1.25}

/* Kotak tabel: judul tegas dengan garis aksen */
.nayra-report-card-box .nayra-section-title{font-size:1.1rem;font-weight:800;color:#0f172a;padding-left:.7rem;border-left:4px solid var(--rp2,#6366f1)}
.nayra-report-card-box .nayra-section-subtitle{padding-left:calc(.7rem + 4px);font-size:.82rem}
.nayra-report-page[class*="rpt-tema--"] .nayra-master-count-pill{background:var(--rp-soft);color:var(--rp-text);font-weight:800}

/* Tabel: header berwarna lembut, baris selang-seling, total menonjol */
.nayra-report-page[class*="rpt-tema--"] .nayra-report-table thead th{background:var(--rp-soft);color:var(--rp-text);font-weight:800}
.nayra-report-table tbody td{font-size:.88rem}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-table tbody tr:nth-child(even){background:var(--rp-tint)}
.nayra-report-page[class*="rpt-tema--"] .nayra-report-table tbody tr:hover{background:var(--rp-soft)}
.nayra-report-table tbody td:first-child{font-weight:700;color:#0f172a}
.nayra-report-table tfoot th,.nayra-report-table tfoot td{padding:.9rem 1.1rem;border-top:2px solid var(--rp2,#6366f1);background:var(--rp-soft,#eef2ff);color:var(--rp-text,#3730a3);font-weight:800;font-size:.92rem;white-space:nowrap}

/* ===== Halaman menu laporan ===== */
.rpt-search{position:relative;flex:0 1 340px;width:100%}
.rpt-search i{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#64748b}
.rpt-search input{width:100%;height:46px;border:0;border-radius:14px;padding:0 1rem 0 2.6rem;font-size:.92rem;box-shadow:0 8px 20px rgba(15,23,42,.18)}
.rpt-search input:focus{outline:0;box-shadow:0 0 0 4px rgba(255,255,255,.35)}
.rpt-group{margin-bottom:1.6rem}
.rpt-group__head{display:flex;align-items:center;gap:.7rem;margin-bottom:.8rem}
.rpt-group__head h3{margin:0;font-size:1.1rem;font-weight:800;color:#0f172a}
.rpt-group__icon{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--rp1),var(--rp2));box-shadow:0 8px 16px var(--rp-shadow)}
.rpt-group__count{font-size:.75rem;font-weight:800;padding:.2rem .6rem;border-radius:999px;background:var(--rp-soft);color:var(--rp-text)}
.rpt-group .rpt-card{position:relative;border-top:4px solid var(--rp2);align-items:center}
.rpt-group .rpt-card .nayra-report-card__icon{color:#fff;background:linear-gradient(135deg,var(--rp1),var(--rp2));box-shadow:0 8px 16px var(--rp-shadow)}
.rpt-group .rpt-card:hover{background:var(--rp-tint)}
.rpt-group .rpt-card:hover .nayra-report-card__title{color:var(--rp-text)}
.rpt-card__go{margin-left:auto;color:var(--rp2);opacity:.45;transition:opacity .15s,transform .15s}
.rpt-card:hover .rpt-card__go{opacity:1;transform:translateX(3px)}
.rpt-kosong{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:3rem;color:#94a3b8;font-weight:700}
.rpt-kosong i{font-size:2rem}

/* Mode gelap */
[data-theme="dark"] .rpt-tema--indigo{--rp-soft:rgba(99,102,241,.18);--rp-tint:rgba(99,102,241,.06);--rp-text:#c7d2fe}
[data-theme="dark"] .rpt-tema--emerald{--rp-soft:rgba(16,185,129,.16);--rp-tint:rgba(16,185,129,.05);--rp-text:#6ee7b7}
[data-theme="dark"] .rpt-tema--amber{--rp-soft:rgba(245,158,11,.16);--rp-tint:rgba(245,158,11,.05);--rp-text:#fcd34d}
[data-theme="dark"] .rpt-tema--teal{--rp-soft:rgba(20,184,166,.16);--rp-tint:rgba(20,184,166,.05);--rp-text:#5eead4}
[data-theme="dark"] .rpt-tema--rose{--rp-soft:rgba(244,63,94,.16);--rp-tint:rgba(244,63,94,.05);--rp-text:#fda4af}
[data-theme="dark"] .nayra-report-card-box .nayra-section-title,[data-theme="dark"] .rpt-group__head h3,[data-theme="dark"] .nayra-report-table tbody td:first-child{color:#e2e8f0}
[data-theme="dark"] .nayra-report-page[class*="rpt-tema--"] .nayra-report-table thead th{background:var(--rp-soft);color:var(--rp-text)}
[data-theme="dark"] .nayra-report-page[class*="rpt-tema--"] .nayra-report-table tbody tr:nth-child(even){background:var(--rp-tint)}
[data-theme="dark"] .nayra-report-page[class*="rpt-tema--"] .nayra-report-table tbody tr:hover{background:var(--rp-soft)}
[data-theme="dark"] .rpt-search input{background:#0f172a;color:#e2e8f0}
@media (max-width:767.98px){.rpt-search{flex-basis:auto}}
/* Nomor dokumen dan tanggal jangan terpotong ke dua baris. */
.nayra-report-table tbody td:nth-child(-n+3){white-space:nowrap}
/* Konfirmasi penyelesaian rit */
.rit-confirm .modal-content{border:0;border-radius:20px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.25)}
.rit-confirm__head{display:flex;align-items:center;gap:.85rem;padding:1.25rem 1.25rem .5rem}
.rit-confirm__head h5{margin:0;font-size:1.15rem;font-weight:800;color:#0f172a}
.rit-confirm__head small{color:#64748b;font-weight:600}
.rit-confirm__head .close{margin-left:auto;align-self:flex-start}
.rit-confirm__icon{flex:0 0 46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#ecfdf5;color:#059669;font-size:1.15rem}
.rit-confirm .modal-body{padding:.75rem 1.25rem 1rem}
.rit-confirm__setor{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;background:linear-gradient(135deg,#059669,#10b981);color:#fff;border-radius:16px;padding:1rem 1.1rem}
.rit-confirm__setor small{display:block;font-weight:600;opacity:.9;font-size:.78rem}
.rit-confirm__setor strong{display:block;font-size:1.7rem;font-weight:800;line-height:1.2}
.rit-confirm__terima{text-align:right}
.rit-confirm__terima strong{font-size:1.1rem}
.rit-confirm__selisih{display:flex;align-items:flex-start;gap:.5rem;margin-top:.6rem;padding:.6rem .8rem;border-radius:12px;font-size:.9rem;font-weight:600}
.rit-confirm__selisih i{margin-top:.15rem}
.rit-confirm__selisih.is-pas{background:#dcfce7;color:#166534}
.rit-confirm__selisih.is-kurang{background:#fee2e2;color:#991b1b}
.rit-confirm__selisih.is-lebih{background:#fef3c7;color:#92400e}
.rit-confirm__list{margin-top:.75rem}
.rit-confirm__list > div{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem 0;border-bottom:1px solid #f1f5f9;font-size:.92rem}
.rit-confirm__list span{color:#475569}
.rit-confirm__list i{width:22px}
.rit-confirm__list strong{color:#0f172a;white-space:nowrap}
.rit-confirm__lock{display:flex;align-items:center;gap:.5rem;margin-top:.85rem;color:#64748b;font-size:.85rem}
.rit-confirm .modal-footer{border-top:0;padding:0 1.25rem 1.25rem;gap:.5rem}
.rit-confirm .modal-footer .btn{flex:1;font-weight:700;padding:.65rem 1rem;border-radius:12px;margin:0}
@media (max-width:575.98px){.rit-confirm__setor{flex-direction:column;align-items:flex-start}.rit-confirm__terima{text-align:left}.rit-confirm .modal-footer{flex-direction:column-reverse}.rit-confirm .modal-footer .btn{width:100%}}
[data-theme="dark"] .rit-confirm .modal-content{background:#1e293b}
[data-theme="dark"] .rit-confirm__head h5,[data-theme="dark"] .rit-confirm__list strong{color:#e2e8f0}
[data-theme="dark"] .rit-confirm__head .close{color:#e2e8f0;text-shadow:none}
[data-theme="dark"] .rit-confirm__list span,[data-theme="dark"] .rit-confirm__head small,[data-theme="dark"] .rit-confirm__lock{color:#cbd5e1}
[data-theme="dark"] .rit-confirm__list > div{border-color:#334155}
[data-theme="dark"] .rit-confirm__icon{background:rgba(16,185,129,.15);color:#34d399}
/* Laporan penjualan harian: total seluruh penjualan */
.rpt-total-harian{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:1.1rem 1.4rem;margin-bottom:1rem;border-radius:18px;color:#fff;background:linear-gradient(135deg,#4338ca,#6366f1);box-shadow:0 12px 28px rgba(67,56,202,.25)}
.rpt-total-harian>span{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.18);font-size:1.3rem}
.rpt-total-harian small{display:block;font-size:.72rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.rpt-total-harian strong{display:block;font-size:1.9rem;font-weight:800;line-height:1.15}
.rpt-total-harian__rumus{margin-left:auto;font-size:.85rem;font-weight:600;opacity:.9}
.rpt-stats-harian .nayra-report-stat strong{font-size:1.05rem;white-space:nowrap}
.rpt-rekap-harian tfoot th{background:#eef2ff}
.rpt-rekap-harian__total{font-size:1.05rem;color:#4338ca !important}
@media (max-width:767.98px){.rpt-total-harian__rumus{margin-left:0;width:100%}}
[data-theme="dark"] .rpt-rekap-harian tfoot th{background:#1e293b}
[data-theme="dark"] .rpt-rekap-harian__total{color:#a5b4fc !important}
/* Paginasi bersama (partials/paginasi) */
.nayra-paginasi{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem}
.nayra-paginasi small{color:#64748b}
.nayra-paginasi .page-link{border-radius:8px !important;margin:0 2px;min-width:32px;text-align:center}
/* Pembayaran Piutang */
.byr-hero{background:linear-gradient(135deg,#7c2d12 0%,#c2410c 55%,#f59e0b 100%);box-shadow:0 18px 42px rgba(194,65,12,.22)}
.byr-stats .nayra-report-stat strong{font-size:1.15rem;white-space:nowrap}
.byr-stats .nayra-report-stat em{display:block;font-style:normal;font-size:.75rem;color:#64748b;margin-top:.1rem}
.byr-card{border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.byr-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem 1.1rem;border-bottom:1px solid #eef2f7;background:#fff}
.byr-tabs{gap:.35rem}
.byr-tabs .nav-link{display:flex;align-items:center;padding:.5rem .95rem;border-radius:12px;font-weight:700;color:#475569}
.byr-tabs .nav-link:hover{background:#f1f5f9;color:#0f172a}
.byr-tabs .nav-link.active{background:#fff7ed;color:#c2410c;box-shadow:inset 0 0 0 1px #fed7aa}
.byr-tabs__count{margin-left:.45rem;padding:.1rem .5rem;border-radius:999px;background:#e2e8f0;color:#334155;font-size:.72rem}
.byr-tabs .nav-link.active .byr-tabs__count{background:#c2410c;color:#fff}
.byr-search{position:relative;flex:0 1 340px}
.byr-search > i{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:#94a3b8}
.byr-search .form-control{padding-left:2.4rem !important;padding-right:2rem !important;border-radius:12px;height:40px}
.byr-search__reset{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:1.2rem;line-height:1;text-decoration:none}
.byr-search__reset:hover{color:#e11d48;text-decoration:none}
.byr-table thead th{background:#f8fafc;color:#64748b;font-size:.72rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase;border-top:0;border-bottom:1px solid #e2e8f0;white-space:nowrap}
.byr-table td{vertical-align:middle;border-top:1px solid #f1f5f9;padding-top:.75rem;padding-bottom:.75rem}
.byr-table tbody tr:hover{background:#fffbf5}
.byr-nama{font-weight:700;color:#0f172a}
.byr-pill{display:inline-flex;min-width:28px;justify-content:center;padding:.15rem .5rem;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:700;font-size:.8rem}
.byr-uang{font-weight:800;white-space:nowrap}
.byr-uang--piutang{color:#e11d48}
.byr-uang--masuk{color:#059669}
.byr-metode{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:8px;font-size:.78rem;font-weight:700;white-space:nowrap;background:#f1f5f9;color:#334155}
.byr-metode--cash{background:#ecfdf5;color:#047857}
.byr-metode--transfer{background:#eff6ff;color:#1d4ed8}
.byr-metode--cheque{background:#f5f3ff;color:#6d28d9}
.byr-btn{border-radius:10px;font-weight:700;white-space:nowrap}
.byr-row--batal td{opacity:.55}
.byr-card .card-footer{background:#fff;border-top:1px solid #eef2f7;padding:.8rem 1.1rem}
@media (max-width:767.98px){.byr-search{flex:1 1 100%}.byr-tabs{width:100%}.byr-tabs .nav-item{flex:1}.byr-tabs .nav-link{justify-content:center;padding:.5rem}}
[data-theme="dark"] .byr-card,[data-theme="dark"] .byr-toolbar,[data-theme="dark"] .byr-card .card-footer{background:#1e293b;border-color:#334155}
[data-theme="dark"] .byr-table thead th{background:#0f172a;border-color:#334155;color:#94a3b8}
[data-theme="dark"] .byr-table td{border-color:#334155}
[data-theme="dark"] .byr-table tbody tr:hover{background:#273449}
[data-theme="dark"] .byr-nama{color:#e2e8f0}
[data-theme="dark"] .byr-tabs .nav-link{color:#cbd5e1}
[data-theme="dark"] .byr-tabs .nav-link:hover{background:#273449;color:#fff}
[data-theme="dark"] .byr-tabs .nav-link.active{background:rgba(194,65,12,.18);color:#fdba74;box-shadow:inset 0 0 0 1px rgba(253,186,116,.35)}
[data-theme="dark"] .byr-pill,[data-theme="dark"] .byr-metode{background:#334155;color:#e2e8f0}
[data-theme="dark"] .byr-stats .nayra-report-stat em,[data-theme="dark"] .nayra-paginasi small{color:#94a3b8}
/* Form pembayaran piutang */
.byr-hero__chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.6rem}
.byr-hero__chips span{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;border-radius:999px;background:rgba(255,255,255,.16);font-size:.8rem;font-weight:600}
.byr-panel{position:sticky;top:90px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.25rem;box-shadow:0 12px 30px rgba(15,23,42,.08);margin-bottom:1rem}
.byr-panel__head{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.byr-panel__head > span{flex:0 0 42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff7ed;color:#c2410c;font-size:1.1rem}
.byr-panel__head strong{display:block;font-size:1.05rem;color:#0f172a}
.byr-panel__head small{color:#64748b;font-weight:600}
.byr-panel label{font-size:.82rem;font-weight:700;color:#334155;margin-bottom:.3rem}
.byr-metode-pilih{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}
.byr-metode-pilih label{display:flex;align-items:center;gap:.45rem;margin:0;padding:.55rem .7rem;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;font-weight:700;color:#475569;transition:all .15s}
.byr-metode-pilih label:hover{border-color:#fdba74}
.byr-metode-pilih label.is-active{border-color:#c2410c;background:#fff7ed;color:#c2410c;box-shadow:0 0 0 3px rgba(194,65,12,.12)}
.byr-metode-pilih input{position:absolute;opacity:0;pointer-events:none}
.byr-ringkas{margin:1rem 0;padding:.85rem 1rem;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7}
.byr-ringkas > div{display:flex;justify-content:space-between;align-items:center;padding:.3rem 0;font-size:.9rem;color:#475569}
.byr-ringkas strong{color:#0f172a;white-space:nowrap}
.byr-ringkas .is-bayar{margin:.2rem 0;padding:.5rem 0;border-top:1px dashed #cbd5e1;border-bottom:1px dashed #cbd5e1}
.byr-ringkas .is-bayar strong{font-size:1.35rem;color:#059669}
#tabel-piutang .input-bayar{font-weight:700;text-align:right}
#tabel-piutang tr.is-dibayar{background:#f0fdf4}
.byr-sisa-baris{display:block;margin-top:.25rem;min-height:1.1em}
@media (max-width:1199.98px){.byr-panel{position:static}}
[data-theme="dark"] .byr-panel{background:#1e293b;border-color:#334155}
[data-theme="dark"] .byr-panel__head strong,[data-theme="dark"] .byr-ringkas strong{color:#e2e8f0}
[data-theme="dark"] .byr-panel label,[data-theme="dark"] .byr-ringkas > div{color:#cbd5e1}
[data-theme="dark"] .byr-metode-pilih label{border-color:#334155;color:#cbd5e1}
[data-theme="dark"] .byr-metode-pilih label.is-active{background:rgba(194,65,12,.18);color:#fdba74;border-color:#fb923c}
[data-theme="dark"] .byr-ringkas{background:#0f172a;border-color:#334155}
[data-theme="dark"] #tabel-piutang tr.is-dibayar{background:rgba(16,185,129,.1)}
.byr-toolbar .nayra-section-title{font-size:1.05rem;font-weight:800;color:#0f172a}
.byr-page .byr-table td{padding-top:1rem !important;padding-bottom:1rem !important}
[data-theme="dark"] .byr-toolbar .nayra-section-title{color:#e2e8f0}
/* Rekap Kas Harian */
.kas-ringkasan{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.25rem}
.kas-kartu{padding:1.1rem 1.2rem;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05);border-top:4px solid #cbd5e1}
.kas-kartu h5{font-size:1rem;font-weight:800;color:#0f172a;margin-bottom:.6rem}
.kas-kartu--sales{border-top-color:#16a34a}
.kas-kartu--receivable{border-top-color:#7c3aed}
.kas-kartu--other{border-top-color:#d97706}
.kas-kartu--total{border-top-color:#0284c7;background:#f0f9ff}
.kas-kartu__baris,.kas-kartu__info{display:flex;justify-content:space-between;gap:.5rem;padding:.2rem 0;color:#475569;font-size:.88rem}
.kas-kartu__baris b{color:#0f172a;white-space:nowrap}
.kas-kartu__total{display:flex;justify-content:space-between;margin-top:.45rem;padding-top:.5rem;border-top:1px solid #cbd5e1;font-weight:800;color:#0f172a}
.kas-kartu__info{margin-top:.45rem;padding-top:.45rem;border-top:1px dashed #cbd5e1;color:#64748b}
.kas-kartu__besar{font-size:1.75rem;font-weight:800;color:#0369a1;margin:.4rem 0}
.kas-posisi{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}
.kas-posisi > div{padding:.85rem 1rem;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}
.kas-posisi small{display:block;color:#64748b;font-weight:700;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}
.kas-posisi b{font-size:1.15rem;white-space:nowrap}
.kas-posisi .is-akhir{background:linear-gradient(135deg,#047857,#10b981);border-color:transparent;color:#fff}
.kas-posisi .is-akhir small{color:rgba(255,255,255,.8)}
.kas-rekap .kas-masuk{color:#15803d;font-weight:700;white-space:nowrap}
.kas-rekap .kas-keluar{color:#dc2626;font-weight:700;white-space:nowrap}
.kas-rekap tr.kas-baris-saldo th{background:#ecfdf5}
.kas-rekap tr.kas-baris-cek th{background:#fffbeb}
@media (max-width:1199.98px){.kas-ringkasan{grid-template-columns:1fr 1fr}}
@media (max-width:767.98px){.kas-ringkasan{grid-template-columns:1fr}.kas-posisi{grid-template-columns:1fr 1fr}}
[data-theme="dark"] .kas-kartu{background:#1e293b;border-color:#334155}
[data-theme="dark"] .kas-kartu--total{background:#0c2a3d}
[data-theme="dark"] .kas-kartu h5,[data-theme="dark"] .kas-kartu__baris b,[data-theme="dark"] .kas-kartu__total{color:#e2e8f0}
[data-theme="dark"] .kas-kartu__baris{color:#cbd5e1}
[data-theme="dark"] .kas-posisi > div:not(.is-akhir){background:#0f172a;border-color:#334155}
[data-theme="dark"] .kas-rekap tr.kas-baris-saldo th{background:#064e3b}
[data-theme="dark"] .kas-rekap tr.kas-baris-cek th{background:#422006}
/* Transaksi Kas */
.kas-hero{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 55%,#38bdf8 100%);box-shadow:0 18px 42px rgba(37,99,235,.22)}
.kas-filter{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.6fr) auto;gap:.65rem;align-items:end;padding:1rem 1.1rem;border-bottom:1px solid #eef2f7;background:#fff}
.kas-filter label{display:block;font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:.3rem}
.kas-filter .form-control,.kas-filter .custom-select{height:40px;border-radius:10px;font-size:.88rem}
.kas-filter__aksi{display:flex;gap:.4rem}
.kas-filter__aksi .btn{height:40px}
.kas-sumber{font-weight:700;white-space:nowrap}
.kas-ket{max-width:360px}
@media (max-width:1399.98px){.kas-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.kas-filter__item--cari{grid-column:span 2}}
@media (max-width:767.98px){.kas-filter{grid-template-columns:1fr 1fr}.kas-filter__item--cari,.kas-filter__aksi{grid-column:1 / -1}}
[data-theme="dark"] .kas-filter{background:#1e293b;border-color:#334155}
[data-theme="dark"] .kas-filter label{color:#94a3b8}
.kas-no{white-space:nowrap}
/* Manajemen Cek/Giro */
.cek-hero{background:linear-gradient(135deg,#4c1d95 0%,#7c3aed 55%,#a78bfa 100%);box-shadow:0 18px 42px rgba(124,58,237,.22)}
.cek-stat-link,.cek-stat-link:hover{text-decoration:none;color:inherit;display:block;height:100%}
.cek-stat-link:hover .nayra-report-stat{border-color:#c4b5fd;transform:translateY(-1px)}
.cek-langkah{display:flex;gap:.5rem}
.cek-langkah__item{flex:1;display:flex;align-items:center;gap:.6rem;padding:.7rem .8rem;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;color:#94a3b8}
.cek-langkah__item > span{flex:0 0 34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#64748b}
.cek-langkah__item strong{display:block;font-size:.85rem;color:#475569}
.cek-langkah__item small{display:block;font-size:.75rem}
.cek-langkah__item.is-done{background:#ecfdf5;border-color:#a7f3d0}
.cek-langkah__item.is-done > span{background:#10b981;color:#fff}
.cek-langkah__item.is-done strong{color:#065f46}
.cek-langkah__item.is-tolak{background:#fff1f2;border-color:#fecdd3}
.cek-langkah__item.is-tolak > span{background:#e11d48;color:#fff}
.cek-langkah__item.is-tolak strong{color:#9f1239}
.cek-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem 1.2rem}
.cek-info > div{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.cek-info small{font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
.cek-info b{color:#0f172a;word-break:break-word}
.cek-info .nayra-report-badge{align-self:flex-start}
.cek-info__lebar{grid-column:1 / -1}
.cek-panel__judul{display:block;font-size:.95rem !important;font-weight:800 !important;color:#0f172a !important;margin-bottom:.6rem !important}
@media (max-width:767.98px){.cek-langkah{flex-direction:column}.cek-info{grid-template-columns:1fr 1fr}}
[data-theme="dark"] .cek-langkah__item{background:#0f172a;border-color:#334155}
[data-theme="dark"] .cek-langkah__item strong,[data-theme="dark"] .cek-info b,[data-theme="dark"] .cek-panel__judul{color:#e2e8f0 !important}
[data-theme="dark"] .cek-langkah__item.is-done{background:rgba(16,185,129,.12);border-color:#065f46}
[data-theme="dark"] .cek-langkah__item.is-tolak{background:rgba(225,29,72,.12);border-color:#9f1239}
/* Kas Harian (pola Nashaps) */
.kh-hero{background:linear-gradient(135deg,#065f46 0%,#059669 55%,#34d399 100%);box-shadow:0 18px 42px rgba(5,150,105,.22)}
.kh-hero__aksi{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:flex-end}
.kh-datenav{display:flex;align-items:center;gap:.35rem;padding:.3rem;border-radius:14px;background:rgba(255,255,255,.18)}
.kh-datenav a{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 .6rem;border-radius:10px;color:#fff;font-weight:700;text-decoration:none}
.kh-datenav a:hover{background:rgba(255,255,255,.2);color:#fff;text-decoration:none}
.kh-datenav input{height:34px;border:0;border-radius:10px;padding:0 .6rem;font-weight:700;color:#065f46}
.kh-datenav__today{background:#fff;color:#065f46 !important}
.kh-aksi{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.75rem}
.kh-aksi__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;padding:1rem .5rem;border:1px solid #eef2f7;border-radius:14px;background:#f8fafc;color:#1e293b;font-weight:700;font-size:.82rem;text-align:center;text-decoration:none;transition:all .18s;cursor:pointer}
.kh-aksi__item i{font-size:1.6rem;color:var(--warna)}
.kh-aksi__item:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,23,42,.08);border-color:var(--warna);color:#0f172a;text-decoration:none}
.kh-baris{display:flex;justify-content:space-between;gap:.75rem;padding:.45rem 0;border-bottom:1px solid #f1f5f9;font-size:.9rem;color:#475569}
.kh-baris b{color:#0f172a;white-space:nowrap}
.kh-baris--total{margin-top:.2rem;border-top:1px solid #cbd5e1;border-bottom:0;font-weight:800;color:#0f172a}
.kh-baris--total b{font-size:1.15rem;color:#059669}
.kh-baris--info{border-bottom:0;color:#64748b}
.kh-baris--saldo{margin-top:.4rem;padding:.7rem .9rem;border:0;border-radius:12px;background:linear-gradient(135deg,#047857,#10b981);color:#fff;font-weight:700}
.kh-baris--saldo b{color:#fff;font-size:1.15rem}
.kh-filter{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.kh-filter .custom-select{height:40px;border-radius:12px;max-width:220px}
.kh-filter .byr-search{flex:0 1 300px}
.kh-tfoot th{background:#f8fafc;border-top:1px solid #e2e8f0 !important}
.kh-tfoot__saldo th{background:#ecfdf5 !important;font-size:1rem}
@media (max-width:1399.98px){.kh-aksi{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:575.98px){.kh-aksi{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-filter,.kh-filter .custom-select,.kh-filter .byr-search{width:100%;max-width:none;flex:1 1 100%}}
[data-theme="dark"] .kh-aksi__item{background:#0f172a;border-color:#334155;color:#e2e8f0}
[data-theme="dark"] .kh-baris{border-color:#334155;color:#cbd5e1}
[data-theme="dark"] .kh-baris b{color:#e2e8f0}
[data-theme="dark"] .kh-tfoot th{background:#0f172a}
[data-theme="dark"] .kh-tfoot__saldo th{background:#064e3b !important}
.kh-filter{flex:0 1 560px;justify-content:flex-end;flex-wrap:nowrap}.kh-filter .byr-search{flex:1 1 280px}@media (max-width:767.98px){.kh-filter{flex-wrap:wrap}}
/* Penugasan Tagihan Kolektor */
.tk-hero{background:linear-gradient(135deg,#312e81 0%,#4f46e5 55%,#818cf8 100%);box-shadow:0 18px 42px rgba(79,70,229,.22)}
.tk-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:.6rem;align-items:center;padding:.85rem 1.1rem;border-bottom:1px solid #eef2f7;background:#fff}
.tk-filter .byr-search{flex:none}
.tk-filter .custom-select{height:40px;border-radius:12px}
.tk-filter__cek{display:flex;align-items:center;gap:.4rem;margin:0;font-size:.85rem;font-weight:700;color:#475569;white-space:nowrap;cursor:pointer}
.tk-scroll{max-height:68vh;overflow:auto}
.tk-scroll thead th{position:sticky;top:0;z-index:2}
.tk-toko__head td{background:#f8fafc;border-top:2px solid #e2e8f0 !important}
.tk-toko.is-dipilih .tk-toko__head td{background:#eef2ff}
.tk-faktur td:first-child{padding-left:1.4rem}
.tk-faktur.is-dipilih td{background:#f5f3ff}
.tk-faktur .input-nominal{font-weight:700;text-align:right}
.tk-faktur .input-nominal:disabled{background:#f8fafc;color:#94a3b8}
#tabel-tagihan input[type=checkbox]{width:17px;height:17px;cursor:pointer;accent-color:#4f46e5}
.tk-pilihan{margin:-.4rem 0 1rem;max-height:220px;overflow:auto}
.tk-pilihan > div{display:flex;justify-content:space-between;gap:.5rem;padding:.3rem 0;border-bottom:1px dashed #e2e8f0;font-size:.82rem;color:#475569}
.tk-pilihan b{white-space:nowrap;color:#0f172a}
@media (max-width:991.98px){.tk-filter{grid-template-columns:1fr 1fr}.tk-filter .byr-search{grid-column:1 / -1}}
[data-theme="dark"] .tk-filter{background:#1e293b;border-color:#334155}
[data-theme="dark"] .tk-toko__head td{background:#0f172a;border-color:#334155 !important}
[data-theme="dark"] .tk-toko.is-dipilih .tk-toko__head td,[data-theme="dark"] .tk-faktur.is-dipilih td{background:rgba(79,70,229,.15)}
[data-theme="dark"] .tk-filter__cek,[data-theme="dark"] .tk-pilihan > div{color:#cbd5e1}
[data-theme="dark"] .tk-pilihan b{color:#e2e8f0}
/* Tagihan kolektor: pemisah tegas antar toko */
#tabel-tagihan{border-collapse:separate;border-spacing:0}
#tabel-tagihan tbody tr:hover{background:transparent}
#tabel-tagihan .tk-toko__head td{background:#eef2ff !important;border-top:1px solid #c7d2fe !important;border-bottom:1px solid #c7d2fe !important;padding-top:.8rem;padding-bottom:.8rem}
#tabel-tagihan .tk-toko__head td:first-child{box-shadow:inset 5px 0 0 #4f46e5}
#tabel-tagihan .tk-toko + .tk-toko .tk-toko__head td,#tabel-tagihan .tk-toko + #tk-kosong td{border-top:16px solid #f1f5f9 !important}
#tabel-tagihan .tk-toko.is-dipilih .tk-toko__head td{background:#e0e7ff !important}
#tabel-tagihan .tk-toko__head .byr-nama{font-size:.98rem}
#tabel-tagihan .tk-faktur td{background:#fff;border-top:1px solid #f1f5f9 !important}
#tabel-tagihan .tk-faktur td:first-child{box-shadow:inset 5px 0 0 #c7d2fe;padding-left:1.4rem}
#tabel-tagihan .tk-faktur td:nth-child(2){position:relative;padding-left:2.1rem}
#tabel-tagihan .tk-faktur td:nth-child(2)::before{content:'';position:absolute;left:.75rem;top:0;height:50%;width:.85rem;border-left:2px solid #c7d2fe;border-bottom:2px solid #c7d2fe;border-bottom-left-radius:6px}
#tabel-tagihan .tk-faktur:hover td{background:#f8faff}
#tabel-tagihan .tk-faktur.is-dipilih td{background:#f5f3ff}
#tabel-tagihan .tk-faktur.is-dipilih td:first-child{box-shadow:inset 5px 0 0 #4f46e5}
#tabel-tagihan .tk-toko .tk-faktur:last-child td{border-bottom:1px solid #e2e8f0 !important}
[data-theme="dark"] #tabel-tagihan .tk-toko__head td{background:#1e1b4b !important;border-color:#3730a3 !important}
[data-theme="dark"] #tabel-tagihan .tk-toko.is-dipilih .tk-toko__head td{background:#312e81 !important}
[data-theme="dark"] #tabel-tagihan .tk-toko + .tk-toko .tk-toko__head td{border-top-color:#0f172a !important}
[data-theme="dark"] #tabel-tagihan .tk-faktur td{background:#1e293b;border-color:#334155 !important}
[data-theme="dark"] #tabel-tagihan .tk-faktur:hover td{background:#273449}
[data-theme="dark"] #tabel-tagihan .tk-faktur.is-dipilih td{background:rgba(79,70,229,.18)}
[data-theme="dark"] #tabel-tagihan .tk-faktur td:nth-child(2)::before{border-color:#4338ca}
/* Tagihan kolektor: judul kolom menempel saat digulir harus solid, tidak tembus */
#tabel-tagihan thead th{position:sticky;top:0;z-index:5;background:#f1f5f9 !important;box-shadow:inset 0 -1px 0 #cbd5e1;border-bottom:0 !important}
[data-theme="dark"] #tabel-tagihan thead th{background:#0f172a !important;box-shadow:inset 0 -1px 0 #334155}
/* Detail penugasan tagihan kolektor */
#tabel-tagihan.tkd .tk-faktur td:nth-child(2){padding-left:.75rem}
#tabel-tagihan.tkd .tk-faktur td:nth-child(2)::before{display:none}
#tabel-tagihan.tkd .tk-faktur td:first-child{position:relative;padding-left:2.3rem;box-shadow:inset 5px 0 0 #c7d2fe}
#tabel-tagihan.tkd .tk-faktur td:first-child::before{content:'';position:absolute;left:1rem;top:0;height:50%;width:.85rem;border-left:2px solid #c7d2fe;border-bottom:2px solid #c7d2fe;border-bottom-left-radius:6px}
#tabel-tagihan.tkd .tk-toko__head td:first-child{padding-left:1.1rem}
.tkd-progres{height:6px;margin-top:.45rem;border-radius:999px;background:#e2e8f0;overflow:hidden;min-width:120px}
.tkd-progres span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f59e0b,#10b981)}
.tkd-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.85rem 1.1rem;border-radius:14px;background:#f1f5f9;border:1px solid #e2e8f0;color:#334155}
.tkd-bar.is-siap{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.tkd-metode{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-theme="dark"] .tkd-bar{background:#0f172a;border-color:#334155;color:#cbd5e1}
[data-theme="dark"] .tkd-bar.is-siap{background:rgba(16,185,129,.12);border-color:#065f46;color:#6ee7b7}
[data-theme="dark"] #tabel-tagihan.tkd .tk-faktur td:first-child::before{border-color:#4338ca}
/* Setoran kolektor */
.stk-kolektor{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.stk-kolektor__item{padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.stk-kolektor__head{display:flex;align-items:center;gap:.6rem;margin-bottom:.6rem}
.stk-kolektor__head > span:first-child{flex:0 0 40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#4f46e5}
.stk-kolektor__head strong{display:block;color:#0f172a}
.stk-kolektor__head small{color:#64748b}
.stk-bukti{margin-bottom:1rem;border:1px solid #e2e8f0;border-left:5px solid #10b981;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.04);overflow:hidden}
.stk-bukti.is-tolak{border-left-color:#e11d48;background:#fff7f8}
.stk-bukti.is-tunda{border-left-color:#94a3b8;opacity:.75}
.stk-bukti__head{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem;border-bottom:1px solid #f1f5f9}
.stk-bukti__nominal{font-size:1.25rem;font-weight:800;color:#0f172a;margin-top:.3rem;white-space:nowrap}
.stk-bukti__isi{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:1rem;padding:.8rem 1.1rem}
.stk-bukti__bukti{text-align:center}
.stk-ttd{display:block;height:90px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;overflow:hidden}
.stk-ttd img{max-width:100%;max-height:100%;object-fit:contain}
.stk-ttd--kosong{display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.8rem}
.stk-bukti__aksi{padding:0 1.1rem 1rem}
.stk-bukti__aksi .rit-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:767.98px){.stk-bukti__isi{grid-template-columns:1fr}.stk-bukti__aksi .rit-choices{grid-template-columns:1fr}}
[data-theme="dark"] .stk-kolektor__item,[data-theme="dark"] .stk-bukti{background:#1e293b;border-color:#334155}
[data-theme="dark"] .stk-bukti.is-tolak{background:rgba(225,29,72,.08)}
[data-theme="dark"] .stk-bukti__nominal,[data-theme="dark"] .stk-kolektor__head strong{color:#e2e8f0}
[data-theme="dark"] .stk-bukti__head{border-color:#334155}
[data-theme="dark"] .stk-ttd{background:#0f172a;border-color:#334155}
/* Penyelesaian rit dibatalkan */
.rit-confirm__icon--bahaya{background:#fee2e2;color:#dc2626}
.rit-batal-info{display:flex;align-items:flex-start;gap:.9rem;margin-bottom:1rem;padding:1rem 1.2rem;border-radius:16px;background:#fef2f2;border:1px solid #fecaca;color:#7f1d1d}
.rit-batal-info>span{flex:0 0 42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fee2e2;color:#dc2626;font-size:1.1rem}
.rit-batal-info strong{display:block;font-size:1rem;font-weight:800}
.rit-batal-info small{display:block;margin-top:.2rem;font-size:.85rem;color:#991b1b}
.rit-row--batal td{opacity:.6}
.rit-row--batal td:first-child{opacity:1}
[data-theme="dark"] .rit-batal-info{background:rgba(220,38,38,.12);border-color:rgba(248,113,113,.35);color:#fecaca}
[data-theme="dark"] .rit-batal-info small{color:#fca5a5}
[data-theme="dark"] .rit-confirm__icon--bahaya{background:rgba(220,38,38,.18);color:#f87171}
/* Persetujuan faktur tempo */
.pfk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1rem}
.pfk-card{display:flex;flex-direction:column;gap:.85rem;padding:1.1rem 1.2rem;border:1px solid #e2e8f0;border-top:4px solid #f59e0b;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.pfk-card__head{display:flex;align-items:center;gap:.7rem}
.pfk-card__avatar{flex:0 0 42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fffbeb;color:#d97706}
.pfk-card__title{flex:1;min-width:0}
.pfk-card__title strong{display:block;color:#0f172a;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pfk-card__title small{color:#64748b}
.pfk-angka{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.pfk-angka>div{padding:.6rem .75rem;border-radius:12px;background:#f8fafc}
.pfk-angka small{display:block;color:#64748b;font-size:.68rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.pfk-angka b{display:block;margin-top:.15rem;color:#0f172a;font-size:1.05rem}
.pfk-angka em{display:block;color:#94a3b8;font-size:.75rem;font-style:normal}
.pfk-total{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .75rem;border:1px dashed #fcd34d;border-radius:12px;background:#fffbeb;color:#92400e;font-size:.85rem}
.pfk-total b{font-size:1rem;color:#b45309;white-space:nowrap}
.pfk-alasan{display:flex;gap:.6rem;padding:.65rem .8rem;border-left:3px solid #cbd5e1;border-radius:0 10px 10px 0;background:#f8fafc;color:#334155}
.pfk-alasan>i{color:#94a3b8;margin-top:.2rem}
.pfk-alasan small{display:block;margin-top:.2rem;color:#94a3b8}
.pfk-aksi{display:flex;flex-direction:column;gap:.6rem;margin-top:auto}
.pfk-aksi textarea{border-radius:12px;resize:vertical;font-size:.9rem}
.pfk-aksi__tombol{display:grid;grid-template-columns:1fr 1.6fr;gap:.6rem}
.pfk-aksi__tombol .btn{border-radius:12px;font-weight:700;padding:.55rem .75rem}
.pfk-tunggu{margin-top:auto;padding:.6rem;border-radius:12px;background:#fffbeb;color:#b45309;text-align:center;font-weight:600;font-size:.9rem}
@media (max-width:575.98px){.pfk-grid{grid-template-columns:1fr}.pfk-angka{grid-template-columns:1fr}}
[data-theme="dark"] .pfk-card{background:#1e293b;border-color:#334155;border-top-color:#f59e0b}
[data-theme="dark"] .pfk-card__title strong,[data-theme="dark"] .pfk-angka b{color:#e2e8f0}
[data-theme="dark"] .pfk-card__avatar{background:rgba(245,158,11,.15)}
[data-theme="dark"] .pfk-angka>div,[data-theme="dark"] .pfk-alasan{background:#0f172a;color:#cbd5e1}
[data-theme="dark"] .pfk-alasan{border-left-color:#475569}
[data-theme="dark"] .pfk-total,[data-theme="dark"] .pfk-tunggu{background:rgba(245,158,11,.12);border-color:#92400e;color:#fcd34d}
[data-theme="dark"] .pfk-total b{color:#fbbf24}
.pfk-aksi__tombol .btn-success{background:linear-gradient(135deg,#059669,#10b981) !important;border-color:#059669 !important;color:#fff !important;box-shadow:0 6px 14px rgba(5,150,105,.25)}
.pfk-aksi__tombol .btn-success:hover{background:#047857 !important}
.pfk-aksi__tombol .btn-outline-danger{background:#fff;color:#e11d48;border-color:#fecdd3}
.pfk-aksi__tombol .btn-outline-danger:hover{background:#e11d48;color:#fff;border-color:#e11d48}
[data-theme="dark"] .pfk-aksi__tombol .btn-outline-danger{background:transparent}

/* Laporan order sales: rincian per sales */
.ors-rincian tr.ors-sales td{background:#eef2ff;color:#3730a3;font-weight:800;border-top:2px solid #c7d2fe}
.ors-rincian tr.ors-sales td span{margin-left:.75rem;padding:.15rem .6rem;border-radius:999px;background:#fff;font-weight:700;font-size:.8rem;color:#4338ca}
.nayra-report-page[class*="rpt-tema--"] .ors-rincian tbody tr:nth-child(even){background:transparent}
.ors-rincian tbody tr:not(.ors-awal):not(.ors-sales) td:first-child{font-weight:400;color:inherit}
.ors-rincian tr.ors-awal td{border-top:2px solid #e2e8f0}
.ors-rincian td{vertical-align:top}
[data-theme="dark"] .ors-rincian tr.ors-sales td{background:rgba(99,102,241,.18);color:#c7d2fe;border-color:#4338ca}
[data-theme="dark"] .ors-rincian tr.ors-sales td span{background:#1e293b;color:#a5b4fc}
[data-theme="dark"] .ors-rincian tr.ors-awal td{border-top-color:#334155}

/* Menu cetak dot matrix di detail faktur: tombol & link tampil seragam */
.dm-menu{min-width:240px;padding:.4rem;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 12px 28px rgba(15,23,42,.12)}
.dm-menu .dropdown-item{display:flex;align-items:center;gap:.7rem;width:100%;padding:.55rem .7rem;border:0;border-radius:8px;background:transparent;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.25;color:#1e293b;text-align:left;cursor:pointer}
.dm-menu .dropdown-item i{flex:0 0 30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f5f9;color:#475569;font-size:.85rem}
.dm-menu .dropdown-item span{display:flex;flex-direction:column}
.dm-menu .dropdown-item small{font-size:.72rem;font-weight:500;color:#64748b}
.dm-menu .dropdown-item:hover,.dm-menu .dropdown-item:focus{background:#eef2ff;color:#3730a3}
.dm-menu .dropdown-item:hover i{background:#4f46e5;color:#fff}
.dm-menu .dropdown-divider{margin:.35rem 0}
[data-theme="dark"] .dm-menu{background:#1e293b;border-color:#334155}
[data-theme="dark"] .dm-menu .dropdown-item{color:#e2e8f0}
[data-theme="dark"] .dm-menu .dropdown-item i{background:#334155;color:#cbd5e1}
[data-theme="dark"] .dm-menu .dropdown-item:hover{background:#273449;color:#fff}
.dm-menu .dropdown-item,.dm-menu a.dropdown-item{margin:0 !important;padding:.55rem .7rem !important}
.dm-menu .dropdown-item i{margin:0 !important}
