/* =========================================================
   OCTVS — Full Stylesheet (Self-contained)
   Untuk: OCTVS (Converter · Studio)
   ========================================================= */

[hidden] {
	display: none !important;
}

:root {
	--black: #141413;
	--black-soft: #191918;
	--black-card: #1c1c1b;
	--black-elev: #232322;
	--black-line: #2c2c2b;
	--black-line-2: #3a3a39;
	--gold: #acacac;
	--gold-light: #d0d0d0;
	--gold-dark: #7c7c7c;
	--gold-glow: rgba(172, 172, 172, 0.3);
	--maroon: #2e2e2d;
	--maroon-light: #3d3d3b;
	--maroon-dark: #242423;
	--wa: #25d366;
	--wa-dark: #128c7e;
	--wa-deep: #0a3d2e;
	--wa-glow: rgba(37, 211, 102, 0.35);
	--text: #f0f0ee;
	--text-soft: #acacac;
	--text-dim: #7d7d7b;
	--text-mute: #4a4a49;
	--success: #4cc38a;
	--danger: #e5484d;
	--radius-lg: 20px;
	--radius: 14px;
	--radius-sm: 10px;
}

* {
	box-sizing: border-box;
}
*::selection {
	background: var(--gold);
	color: var(--black);
}
html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		"Plus Jakarta Sans",
		system-ui,
		-apple-system,
		sans-serif;
	background: var(--black);
	color: var(--text);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

/* =========================================================
   BACKGROUND
   ========================================================= */
.bg-glow {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(
			800px 500px at 15% -10%,
			rgba(172, 172, 172, 0.12),
			transparent 60%
		),
		radial-gradient(
			700px 500px at 90% 110%,
			rgba(172, 172, 172, 0.2),
			transparent 60%
		);
}
.bg-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(
		ellipse at center,
		black 30%,
		transparent 80%
	);
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 0;
	border-bottom: 1px solid var(--black-line);
	background: rgba(20, 20, 19, 0.75);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 14px;
}
a.brand {
	text-decoration: none;
	color: inherit;
}
.brand-mark {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--black);
	background: linear-gradient(
		135deg,
		var(--gold-light),
		var(--gold),
		var(--gold-dark)
	);
	box-shadow:
		0 0 0 1px rgba(172, 172, 172, 0.4),
		0 8px 24px rgba(172, 172, 172, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.brand-mark.sm {
	width: 32px;
	height: 32px;
	min-width: 32px;
	font-size: 13px;
	border-radius: 10px;
}
.brand-name {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1.15;
}
.text-gold {
	color: var(--gold);
}
.brand-tag {
	margin: 3px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-dim);
	letter-spacing: 0.06em;
	display: flex;
	align-items: center;
	gap: 6px;
}
.brand-tag i {
	color: var(--gold);
	font-size: 10px;
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--black-line);
}
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 9px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-soft);
	text-decoration: none;
	transition: all 0.2s ease;
	letter-spacing: 0.02em;
	white-space: nowrap;
	font-family: "Plus Jakarta Sans", sans-serif;
}
.nav-link i {
	font-size: 12px;
	color: var(--text-dim);
	transition: color 0.2s ease;
}
.nav-link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}
.nav-link.active {
	background: linear-gradient(
		180deg,
		rgba(172, 172, 172, 0.18),
		rgba(172, 172, 172, 0.08)
	);
	color: var(--gold);
	box-shadow: 0 0 0 1px rgba(172, 172, 172, 0.25);
}
.nav-link.active i {
	color: var(--gold);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 12px;
	border: none;
	padding: 12px 20px;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	user-select: none;
}
.btn:active {
	transform: translateY(1px);
}
.btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
}
.btn i {
	font-size: 0.95em;
}
.btn-gold {
	background: linear-gradient(180deg, var(--gold-light), var(--gold));
	color: var(--black);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.25) inset,
		0 -1px 0 rgba(0, 0, 0, 0.15) inset,
		0 6px 20px rgba(172, 172, 172, 0.28);
}
.btn-gold:hover:not(:disabled) {
	background: linear-gradient(180deg, #d0d0d0, var(--gold-light));
	color: var(--black);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.35) inset,
		0 -1px 0 rgba(0, 0, 0, 0.15) inset,
		0 8px 28px rgba(172, 172, 172, 0.42);
}
.btn-gold:disabled {
	background: #3a3a39;
	color: var(--text-mute);
	box-shadow: none;
}
.btn-maroon {
	background: linear-gradient(180deg, var(--maroon-light), var(--maroon));
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 -1px 0 rgba(0, 0, 0, 0.25) inset,
		0 6px 20px rgba(172, 172, 172, 0.4);
}
.btn-maroon:hover:not(:disabled) {
	background: linear-gradient(180deg, #4a4a48, var(--maroon-light));
	color: var(--text);
}
.btn-ghost {
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-soft);
	border: 1px solid var(--black-line-2);
}
.btn-ghost:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	border-color: rgba(172, 172, 172, 0.35);
}
.btn-lg {
	padding: 14px 26px;
	font-size: 15px;
	border-radius: 14px;
}
.btn-sm {
	padding: 9px 14px;
	font-size: 12.5px;
	border-radius: 10px;
}
.btn-icon {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 10px;
	background: rgba(20, 20, 19, 0.85);
	color: var(--text-soft);
	border: 1px solid var(--black-line-2);
	backdrop-filter: blur(8px);
}
.btn-icon:hover {
	color: var(--danger);
	border-color: var(--danger);
	background: rgba(229, 72, 77, 0.1);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--black-line);
	background: var(--black-soft);
	padding: 32px 0;
	margin-top: 60px;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.footer-title {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: var(--text);
	letter-spacing: -0.01em;
}
.footer-tag {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-dim);
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-tag i {
	color: var(--gold);
	font-size: 11px;
}
.footer-tag .dot {
	color: var(--text-mute);
}

/* =========================================================
   TOAST
   ========================================================= */
.toast-stack {
	position: fixed;
	bottom: 24px;
	right: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 2000;
	pointer-events: none;
	max-width: 360px;
}
.toast {
	pointer-events: auto;
	min-width: 260px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--black-elev);
	border: 1px solid var(--gold);
	color: var(--text);
	font-size: 13.5px;
	font-weight: 500;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.6),
		0 0 0 1px var(--gold-glow);
	display: flex;
	align-items: center;
	gap: 10px;
	animation: toastIn 0.3s ease;
}
.toast i {
	color: var(--gold);
	flex-shrink: 0;
}
.toast.error {
	border-color: var(--danger);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(229, 72, 77, 0.3);
}
.toast.error i {
	color: var(--danger);
}
.toast.success {
	border-color: var(--success);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(76, 195, 138, 0.3);
}
.toast.success i {
	color: var(--success);
}
@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* =========================================================
   TAB WRAPPER
   ========================================================= */
.app-tab {
	animation: tabFadeIn 0.25s ease;
}
@keyframes tabFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.app-tab .app-main {
	padding-top: 48px;
	padding-bottom: 80px;
	position: relative;
	z-index: 1;
}
.app-tab .st-wrap {
	padding-top: 36px;
	padding-bottom: 60px;
}

/* =========================================================
   CONVERTER
   ========================================================= */
.hero {
	text-align: center;
	margin-bottom: 40px;
}
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba(172, 172, 172, 0.06);
	border: 1px solid rgba(172, 172, 172, 0.2);
	margin-bottom: 20px;
}
.hero-title {
	margin: 0 0 12px;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--text);
}
.hero-title .text-gold {
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-sub {
	margin: 0 auto;
	max-width: 560px;
	font-size: 15px;
	color: var(--text-soft);
	line-height: 1.6;
}

.upload-area {
	position: relative;
	border-radius: var(--radius-lg);
	padding: 56px 24px;
	text-align: center;
	background: var(--black-card);
	border: 1px dashed var(--black-line-2);
	transition:
		border-color 0.25s ease,
		background 0.25s ease,
		transform 0.25s ease;
	cursor: pointer;
	overflow: hidden;
	outline: none;
}
.upload-area:focus-visible {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-glow);
}
.upload-area::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(
		400px 200px at 50% 0%,
		rgba(172, 172, 172, 0.08),
		transparent 70%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.upload-area:hover {
	border-color: rgba(172, 172, 172, 0.4);
}
.upload-area:hover::before {
	opacity: 1;
}
.upload-area.dragover {
	border-color: var(--gold);
	background: rgba(172, 172, 172, 0.05);
	transform: scale(1.005);
	box-shadow:
		0 0 0 1px rgba(172, 172, 172, 0.15),
		0 12px 40px rgba(172, 172, 172, 0.08);
}
.upload-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.upload-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--gold);
	background: linear-gradient(
		180deg,
		rgba(172, 172, 172, 0.12),
		rgba(172, 172, 172, 0.04)
	);
	border: 1px solid rgba(172, 172, 172, 0.25);
	box-shadow: inset 0 1px 0 rgba(172, 172, 172, 0.15);
	transition: transform 0.3s ease;
}
.upload-area:hover .upload-icon {
	transform: translateY(-3px);
}
.upload-title {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--text);
}
.upload-or {
	margin: 18px 0;
	color: var(--text-dim);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.upload-or::before,
.upload-or::after {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--black-line-2);
}
.upload-formats {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 26px auto 0;
	max-width: 460px;
	width: 100%;
}
.formats-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-soft);
	letter-spacing: 0.02em;
}
.formats-line i {
	color: var(--gold);
	font-size: 12px;
}
.formats-hint {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 99px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--text-dim);
	background: rgba(172, 172, 172, 0.05);
	border: 1px solid rgba(172, 172, 172, 0.18);
	flex-wrap: wrap;
	justify-content: center;
}
.formats-hint i {
	color: var(--gold);
	font-size: 10.5px;
}
.upload-formats kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Space Grotesk", monospace;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 6px;
	min-width: 22px;
	border-radius: 5px;
	background: var(--black-elev);
	border: 1px solid var(--black-line-2);
	border-bottom-width: 2px;
	color: var(--gold);
	margin: 0 1px;
}
.privacy-note {
	text-align: center;
	font-size: 13px;
	color: var(--text-dim);
	font-weight: 500;
	margin: 18px 0 0;
}
.privacy-note i {
	color: var(--gold);
	margin-right: 6px;
}
.privacy-note strong {
	color: var(--text-soft);
	font-weight: 600;
}

.status-message {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-size: 13.5px;
	font-weight: 500;
	background: rgba(229, 72, 77, 0.08);
	color: #fca5a5;
	border: 1px solid rgba(229, 72, 77, 0.3);
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.status-message::before {
	content: "\f071";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	flex-shrink: 0;
	margin-top: 1px;
}
.status-message.info {
	background: rgba(172, 172, 172, 0.08);
	color: var(--gold);
	border-color: rgba(172, 172, 172, 0.3);
}
.status-message.info::before {
	content: "\f05a";
}
.status-message.success {
	background: rgba(76, 195, 138, 0.08);
	color: var(--success);
	border-color: rgba(76, 195, 138, 0.3);
}
.status-message.success::before {
	content: "\f058";
}

.format-bar {
	margin-top: 28px;
	background: var(--black-card);
	border: 1px solid var(--black-line);
	border-radius: var(--radius);
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.format-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.format-label i {
	color: var(--gold);
	font-size: 13px;
}
.format-options {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.format-btn {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.02em;
	padding: 9px 16px;
	border-radius: 10px;
	border: 1px solid var(--black-line-2);
	background: transparent;
	color: var(--text-soft);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.18s ease;
}
.format-btn i {
	font-size: 12px;
}
.format-btn:hover {
	color: var(--text);
	border-color: rgba(172, 172, 172, 0.4);
	background: rgba(172, 172, 172, 0.04);
}
.format-btn.active {
	background: linear-gradient(
		180deg,
		rgba(172, 172, 172, 0.18),
		rgba(172, 172, 172, 0.1)
	);
	border-color: var(--gold);
	color: var(--gold);
	box-shadow:
		0 0 0 1px rgba(172, 172, 172, 0.15),
		0 4px 16px rgba(172, 172, 172, 0.12);
}
.format-extras {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
	flex-wrap: wrap;
}
.quality-control,
.resize-control {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-dim);
}
.quality-control label,
.resize-control label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
	white-space: nowrap;
}
.quality-control label i,
.resize-control label i {
	color: var(--gold);
}
.quality-control input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 130px;
	height: 4px;
	border-radius: 99px;
	background: var(--black-line-2);
	outline: none;
	cursor: pointer;
}
.quality-control input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--gold-light), var(--gold));
	border: 2px solid var(--black);
	box-shadow:
		0 0 0 2px var(--gold),
		0 2px 8px rgba(172, 172, 172, 0.4);
	cursor: pointer;
}
.quality-control input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--gold-light), var(--gold));
	border: 2px solid var(--black);
	box-shadow:
		0 0 0 2px var(--gold),
		0 2px 8px rgba(172, 172, 172, 0.4);
	cursor: pointer;
}
#qualityValue {
	min-width: 40px;
	color: var(--gold);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.resize-control select {
	appearance: none;
	-webkit-appearance: none;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 12px;
	font-weight: 600;
	padding: 8px 30px 8px 12px;
	border-radius: 8px;
	background-color: var(--black-elev);
	border: 1px solid var(--black-line-2);
	color: var(--text);
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ACACAC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}
.resize-control select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-glow);
}

.action-bar {
	margin-top: 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.action-bar-left {
	font-size: 13px;
	color: var(--text-soft);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--black-card);
	border: 1px solid var(--black-line);
	padding: 10px 16px;
	border-radius: 12px;
}
.action-bar-left i {
	color: var(--gold);
	font-size: 13px;
}
.action-bar-right {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.progress-wrap {
	margin-top: 20px;
}
.progress-track {
	height: 8px;
	border-radius: 99px;
	background: var(--black-card);
	border: 1px solid var(--black-line);
	overflow: hidden;
}
.progress-fill {
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--maroon-light), var(--gold));
	box-shadow: 0 0 12px rgba(172, 172, 172, 0.5);
	transition: width 0.3s ease;
}
.progress-label {
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-dim);
	display: flex;
	align-items: center;
	gap: 8px;
}
.progress-label i {
	color: var(--gold);
}
.download-all-wrap {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

.image-grid {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}
.img-card {
	background: var(--black-card);
	border: 1px solid var(--black-line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition:
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
.img-card:hover {
	border-color: rgba(172, 172, 172, 0.3);
	transform: translateY(-2px);
	box-shadow:
		0 12px 32px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(172, 172, 172, 0.1);
}
.img-card-thumb {
	position: relative;
	aspect-ratio: 4/3;
	background:
		linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
		linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
	background-size: 20px 20px;
	background-position:
		0 0,
		0 10px,
		10px -10px,
		-10px 0;
	background-color: var(--black-soft);
	cursor: zoom-in;
	overflow: hidden;
}
.img-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease;
}
.img-card:hover .img-card-thumb img {
	transform: scale(1.03);
}
.img-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 6px;
	background: rgba(20, 20, 19, 0.8);
	backdrop-filter: blur(8px);
	color: var(--gold);
	letter-spacing: 0.08em;
	border: 1px solid rgba(172, 172, 172, 0.3);
}
.img-card-remove {
	position: absolute;
	top: 10px;
	right: 10px;
}
.img-card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.img-card-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	word-break: break-all;
	line-height: 1.4;
}
.img-card-meta {
	font-size: 11.5px;
	color: var(--text-dim);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}
.img-card-meta::before {
	content: "\f03e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--gold);
	font-size: 10px;
}
.img-card-status {
	font-size: 11.5px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--black-line);
}
.img-card-status.pending {
	color: var(--text-dim);
}
.img-card-status.pending i {
	color: var(--text-dim);
}
.img-card-status.working {
	color: var(--gold);
	border-color: rgba(172, 172, 172, 0.3);
	background: rgba(172, 172, 172, 0.05);
}
.img-card-status.working i {
	color: var(--gold);
}
.img-card-status.done {
	color: var(--success);
	border-color: rgba(76, 195, 138, 0.3);
	background: rgba(76, 195, 138, 0.05);
}
.img-card-status.done i {
	color: var(--success);
}
.img-card-status.error {
	color: var(--danger);
	border-color: rgba(229, 72, 77, 0.3);
	background: rgba(229, 72, 77, 0.05);
}
.img-card-status.error i {
	color: var(--danger);
}
.save-badge {
	font-size: 11px;
	font-weight: 700;
	color: var(--success);
	background: rgba(76, 195, 138, 0.1);
	border: 1px solid rgba(76, 195, 138, 0.3);
	padding: 5px 10px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	align-self: flex-start;
}
.img-card-actions {
	margin-top: auto;
	display: flex;
	gap: 8px;
	padding-top: 4px;
	flex-wrap: wrap;
}
.img-card-actions .btn {
	flex: 1;
	justify-content: center;
	min-width: 100px;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.modal-body {
	position: relative;
	max-width: min(90vw, 900px);
	max-height: 88vh;
	animation: zoomIn 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
.modal-body img {
	max-width: 100%;
	max-height: 88vh;
	border-radius: 12px;
	display: block;
	box-shadow:
		0 0 0 1px rgba(172, 172, 172, 0.3),
		0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal-close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--maroon-light), var(--maroon));
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(172, 172, 172, 0.5);
	transition:
		transform 0.25s ease,
		box-shadow 0.2s ease;
}
.modal-close:hover {
	transform: rotate(90deg) scale(1.05);
}

/* =========================================================

   STUDIO
   ========================================================= */
.st-hero {
	text-align: center;
	margin-bottom: 32px;
}
.st-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba(172, 172, 172, 0.06);
	border: 1px solid rgba(172, 172, 172, 0.2);
	margin-bottom: 18px;
}
.st-hero h1 {
	margin: 0 0 10px;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(28px, 4.5vw, 42px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
}
.st-hero h1 .text-gold {
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.st-hero p {
	max-width: 580px;
	margin: 0 auto;
	font-size: 14.5px;
	color: var(--text-soft);
}

.st-templates {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	justify-content: center;
}
.st-tpl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	padding: 10px 16px;
	border-radius: 12px;
	border: 1px solid var(--black-line-2);
	background: var(--black-card);
	color: var(--text-soft);
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}
.st-tpl-btn i {
	font-size: 12px;
	color: var(--text-dim);
	transition: color 0.2s ease;
}
.st-tpl-btn:hover {
	color: var(--text);
	border-color: rgba(172, 172, 172, 0.4);
	transform: translateY(-1px);
}
.st-tpl-btn.active {
	background: linear-gradient(180deg, var(--gold-light), var(--gold));
	border-color: var(--gold);
	color: var(--black);
	box-shadow:
		0 0 0 1px rgba(172, 172, 172, 0.3),
		0 8px 24px rgba(172, 172, 172, 0.25);
}
.st-tpl-btn.active i {
	color: var(--black);
}

.st-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 20px;
	align-items: start;
}
@media (max-width: 900px) {
	.st-grid {
		grid-template-columns: 1fr;
	}
}

.st-panel {
	background: var(--black-card);
	border: 1px solid var(--black-line);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow:
		0 6px 24px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.st-panel-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -22px -22px 20px;
	padding: 14px 22px;
	border-radius: var(--radius) var(--radius) 0 0;
	background: linear-gradient(180deg, #232322, #191918);
	border-bottom: 1px solid var(--black-line);
}
.st-panel-head .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 4px rgba(172, 172, 172, 0.15);
	flex-shrink: 0;
}
.st-panel-head h2 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.01em;
	color: var(--text);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.st-panel-head h2 i {
	color: var(--gold);
	font-size: 13px;
}
.st-panel-head .hint {
	margin-left: auto;
	font-size: 11px;
	color: var(--text-dim);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.st-section {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 22px 0 14px;
	padding-top: 18px;
	border-top: 1px dashed var(--black-line);
}
.st-section::before {
	content: "";
	width: 4px;
	height: 14px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
	flex-shrink: 0;
}
.st-section:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
.st-section i {
	font-size: 11px;
}
.st-field {
	margin-bottom: 14px;
}
.st-field:last-child {
	margin-bottom: 0;
}
.st-field label {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin-bottom: 7px;
}
.st-field textarea,
.st-field select,
.st-field input[type="text"] {
	width: 100%;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 500;
	font-size: 13.5px;
	color: var(--text);
	background: var(--black-soft);
	border: 1px solid var(--black-line-2);
	border-radius: 10px;
	padding: 11px 13px;
	resize: vertical;
	transition: all 0.2s ease;
}
.st-field textarea::placeholder,
.st-field input::placeholder {
	color: var(--text-mute);
	font-weight: 400;
}
.st-field textarea:focus,
.st-field select:focus,
.st-field input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(172, 172, 172, 0.15);
	background: var(--black-card);
}
.st-field textarea {
	min-height: 58px;
	line-height: 1.5;
}
.st-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ACACAC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 34px;
	cursor: pointer;
}
.st-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 540px) {
	.st-row2 {
		grid-template-columns: 1fr;
	}
}
.st-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.st-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 12px;
	padding: 8px 13px;
	border-radius: 10px;
	border: 1px solid var(--black-line-2);
	background: var(--black-soft);
	color: var(--text-soft);
	cursor: pointer;
	transition: all 0.15s ease;
	user-select: none;
}
.st-chip:hover {
	color: var(--text);
	border-color: rgba(172, 172, 172, 0.4);
}
.st-chip.active {
	background: linear-gradient(
		180deg,
		rgba(172, 172, 172, 0.18),
		rgba(172, 172, 172, 0.1)
	);
	border-color: var(--gold);
	color: var(--gold);
	box-shadow: 0 0 0 1px rgba(172, 172, 172, 0.2);
}
.st-chip .swatch {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	flex-shrink: 0;
}
.st-output-panel {
	position: sticky;
	top: 96px;
}
@media (max-width: 900px) {
	.st-output-panel {
		position: static;
	}
}

.st-lang-toggle {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}
.st-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	padding: 9px 14px;
	border-radius: 10px;
	border: 1px solid var(--black-line-2);
	background: var(--black-soft);
	color: var(--text-soft);
	cursor: pointer;
	transition: all 0.18s ease;
}
.st-lang-btn i {
	font-size: 12px;
}
.st-lang-btn:hover {
	color: var(--text);
}
.st-lang-btn.active {
	background: linear-gradient(180deg, var(--maroon-light), var(--maroon));
	border-color: var(--maroon-light);
	color: #fff;
	box-shadow: 0 0 0 1px rgba(172, 172, 172, 0.4);
}
#stOutput {
	font-family: "JetBrains Mono", monospace;
	font-size: 12.5px;
	line-height: 1.75;
	white-space: pre-wrap;
	word-break: break-word;
	background: #0f0f0e;
	border: 1px solid var(--black-line);
	border-radius: 12px;
	padding: 16px;
	min-height: 200px;
	color: #e0e0e0;
	box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.6);
}
.st-output-note {
	font-size: 11.5px;
	color: var(--text-dim);
	margin-top: 10px;
	line-height: 1.55;
	display: flex;
	align-items: flex-start;
	gap: 7px;
}
.st-output-note i {
	color: var(--gold);
	margin-top: 2px;
	flex-shrink: 0;
}
.st-actions {
	display: flex;
	gap: 9px;
	margin-top: 16px;
	flex-wrap: wrap;
}
#stCopyBtn.copied {
	background: linear-gradient(180deg, #22c98a, var(--success));
	color: #03251a;
	box-shadow: 0 6px 20px rgba(76, 195, 138, 0.35);
}
.st-history {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px dashed var(--black-line);
}
.st-history h3 {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.st-history h3 i {
	color: var(--gold);
	font-size: 11px;
}
.st-history ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.st-history li {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--black-soft);
	border: 1px solid var(--black-line);
	border-radius: 10px;
	padding: 9px 11px;
	font-size: 12px;
	transition: all 0.2s ease;
}
.st-history li:hover {
	border-color: rgba(172, 172, 172, 0.3);
}
.st-history .snippet {
	color: var(--text-dim);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	cursor: pointer;
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	display: flex;
	align-items: center;
	gap: 7px;
	transition: color 0.2s ease;
}
.st-history .snippet i {
	color: var(--gold);
	flex-shrink: 0;
}
.st-history .snippet:hover {
	color: var(--gold);
}
.st-history li button {
	background: none;
	border: none;
	color: #e06b5a;
	cursor: pointer;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 11.5px;
	padding: 4px 8px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background 0.2s ease;
}
.st-history li button:hover {
	background: rgba(224, 107, 90, 0.12);
}
.st-history .empty {
	font-size: 12px;
	color: var(--text-mute);
	font-style: italic;
}

/* =========================================================

/* RESPONSIVE */
@media (max-width: 720px) {
	.container {
		padding: 0 18px;
	}
	.site-header {
		padding: 16px 0;
	}
	.brand-mark {
		width: 42px;
		height: 42px;
		min-width: 42px;
		font-size: 17px;
		border-radius: 12px;
	}
	.brand-name {
		font-size: 18px;
	}
	.site-nav {
		padding: 4px;
		gap: 3px;
	}
	.nav-link {
		padding: 8px 10px;
		font-size: 11px;
	}
	.nav-link i {
		font-size: 11px;
	}
	.footer-inner {
		flex-direction: column;
		text-align: center;
	}
	.toast-stack {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
	}
	.toast {
		min-width: 0;
		width: 100%;
	}
	.app-tab .app-main {
		padding-top: 32px;
		padding-bottom: 60px;
	}
	.hero {
		margin-bottom: 28px;
	}
	.hero-title {
		font-size: 30px;
	}
	.upload-area {
		padding: 40px 18px;
	}
	.upload-icon {
		width: 60px;
		height: 60px;
		font-size: 24px;
	}
	.upload-title {
		font-size: 17px;
	}
	.formats-hint {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	.format-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px;
	}
	.format-options {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.format-btn {
		justify-content: center;
		padding: 10px 8px;
	}
	.format-extras {
		margin-left: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-top: 14px;
		border-top: 1px solid var(--black-line);
	}
	.quality-control,
	.resize-control {
		justify-content: space-between;
	}
	.quality-control input[type="range"] {
		flex: 1;
		width: auto;
	}
	.resize-control select {
		flex: 1;
	}
	.action-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.action-bar-left {
		justify-content: center;
	}
	.action-bar-right {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.action-bar-right .btn-lg {
		grid-column: span 2;
	}
	.download-all-wrap {
		justify-content: stretch;
	}
	.download-all-wrap .btn {
		width: 100%;
	}
	.image-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.img-card-body {
		padding: 12px;
	}
	.modal {
		padding: 16px;
	}
	.modal-close {
		top: 8px;
		right: 8px;
		background: rgba(20, 20, 19, 0.9);
		backdrop-filter: blur(8px);
	}
}

@media (max-width: 520px) {
	.nav-link span {
		display: none;
	}
	.nav-link {
		padding: 9px 11px;
	}
	.nav-link i {
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.image-grid {
		grid-template-columns: 1fr;
	}
	.action-bar-right {
		grid-template-columns: 1fr;
	}
	.action-bar-right .btn-lg {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}


/* =========================================================
   BERANDA
   ========================================================= */
.home-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	max-width: 960px;
	margin: 0 auto;
}
.home-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border-radius: var(--radius-lg);
	background: var(--black-card);
	border: 1px solid var(--black-line);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.home-card:hover,
a.home-card:focus-visible {
	border-color: rgba(172, 172, 172, 0.45);
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(172, 172, 172, 0.12);
	outline: none;
}
.home-card-icon {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	font-size: 18px;
	color: var(--gold);
	background: rgba(172, 172, 172, 0.08);
	border: 1px solid rgba(172, 172, 172, 0.22);
}
.home-card h3 {
	margin: 6px 0 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 20px;
	letter-spacing: -0.01em;
}
.home-card p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-soft);
}
.home-card-go {
	margin-top: auto;
	padding-top: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gold);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.home-card-go i {
	transition: transform 0.2s ease;
}
a.home-card:hover .home-card-go i {
	transform: translateX(4px);
}
.home-card.soon {
	border-style: dashed;
	background: transparent;
	opacity: 0.55;
}
.home-trust {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	font-size: 12.5px;
	color: var(--text-dim);
}
.home-trust i {
	color: var(--gold);
	margin-right: 6px;
}

/* =========================================================
   TOOLS TAMBAHAN (HPP · QR · Kompres)
   ========================================================= */
.tl-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--black-line);
	font-size: 13.5px;
	color: var(--text-soft);
}
.tl-row strong {
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	color: var(--text);
}
.tl-row.big strong {
	font-size: 26px;
	color: var(--gold-light);
}
.tl-row strong.neg {
	color: var(--danger);
}
.tl-row strong.pos {
	color: var(--success);
}
.st-field input[type="color"] {
	width: 100%;
	height: 42px;
	padding: 3px;
	background: var(--black-soft);
	border: 1px solid var(--black-line-2);
	border-radius: 10px;
	cursor: pointer;
}
.qr-stage {
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--black-soft);
	border: 1px dashed var(--black-line-2);
}
.qr-stage canvas {
	max-width: 100%;
	height: auto;
	width: 280px;
	border-radius: 8px;
	image-rendering: pixelated;
}
.qr-stage p {
	margin: 0;
	color: var(--text-dim);
	font-size: 13px;
}
.tl-actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}
.tl-actions .btn {
	flex: 1;
	justify-content: center;
}
#tab-compress .upload-area,
#tab-compress .format-bar,
#tab-compress .action-bar {
	margin-bottom: 18px;
}

/* =========================================================
   MENU TOOLS · BERANDA GRUP · TOOL TAMBAHAN
   ========================================================= */
.nav-menu {
	position: relative;
}
.nav-menu > .nav-link {
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nav-menu > .nav-link .fa-chevron-down {
	font-size: 10px;
}
.nav-dd {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	z-index: 1500;
	width: 250px;
	max-height: 70vh;
	overflow: auto;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-radius: 14px;
	background: var(--black-elev);
	border: 1px solid var(--black-line-2);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
.nav-dd[hidden] {
	display: none;
}
.nav-dd-title {
	margin: 8px 10px 4px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-dim);
}
.nav-dd-title:first-child {
	margin-top: 4px;
}
.nav-dd .nav-link {
	width: 100%;
	justify-content: flex-start;
}
.nav-dd .nav-link span {
	display: inline !important;
}
.home-group-title {
	max-width: 960px;
	margin: 34px auto 14px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-dim);
}
.home-group-title:first-of-type {
	margin-top: 0;
}
input[type="range"] {
	accent-color: var(--gold);
	width: 100%;
}
.st-field input[type="date"],
.st-field input[type="file"] {
	width: 100%;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	color: var(--text);
	background: var(--black-soft);
	border: 1px solid var(--black-line-2);
	border-radius: 10px;
	padding: 10px 12px;
	color-scheme: dark;
}
.st-field input[readonly] {
	color: var(--gold-light);
}
.st-field .cnt {
	float: right;
	color: var(--text-dim);
	font-weight: 500;
}
.foto-panel {
	margin-bottom: 18px;
}
.mk-stage {
	display: grid;
	place-items: center;
	padding: 12px;
	border-radius: var(--radius);
	background: var(--black-soft);
	border: 1px dashed var(--black-line-2);
}
.mk-stage canvas {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.sz-wrap {
	overflow-x: auto;
}
.sz-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12.5px;
}
.sz-table th {
	text-align: left;
	padding: 6px 4px;
	color: var(--text-dim);
	font-weight: 600;
}
.sz-table td {
	padding: 3px 3px;
}
.sz-in {
	width: 100%;
	min-width: 44px;
	padding: 8px;
	font: inherit;
	color: var(--text);
	background: var(--black-soft);
	border: 1px solid var(--black-line-2);
	border-radius: 8px;
}
.sz-in:focus {
	outline: none;
	border-color: var(--gold);
}
.nt-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}
.nt-row {
	display: grid;
	grid-template-columns: 1fr 52px 54px 90px 34px;
	gap: 6px;
	align-items: center;
}
.nt-row input {
	width: 100%;
	min-width: 0;
	padding: 9px 10px;
	font: inherit;
	font-size: 13px;
	color: var(--text);
	background: var(--black-soft);
	border: 1px solid var(--black-line-2);
	border-radius: 8px;
}
.nt-row input:focus {
	outline: none;
	border-color: var(--gold);
}
.nota-paper {
	background: #fff;
	color: #141413;
	padding: 28px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
}
.np-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 2px solid #141413;
}
.np-head h2 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 24px;
}
.np-head p {
	margin: 2px 0 0;
	color: #555;
}
.np-meta {
	display: flex;
	flex-direction: column;
	text-align: right;
	font-size: 12px;
	color: #555;
}
.np-meta strong {
	color: #141413;
	font-size: 15px;
	letter-spacing: 0.1em;
}
.np-buyer {
	margin: 14px 0;
}
.np-table {
	width: 100%;
	margin-top: 14px;
	border-collapse: collapse;
}
.np-table th {
	text-align: left;
	padding: 8px 6px;
	background: #f1f1ef;
	font-size: 12px;
}
.np-table td {
	padding: 8px 6px;
	border-bottom: 1px solid #e2e2e0;
}
.np-table th:nth-child(n + 3),
.np-table td:nth-child(n + 3) {
	text-align: right;
}
.np-sum {
	margin: 14px 0 0 auto;
	width: min(100%, 260px);
}
.np-sum div {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
}
.np-total {
	margin-top: 4px;
	padding-top: 8px !important;
	border-top: 2px solid #141413;
	font-weight: 800;
	font-size: 16px;
}
.np-foot {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.np-foot p {
	margin: 0;
	color: #555;
}
.np-stat {
	padding: 4px 12px;
	border: 2px solid #141413;
	border-radius: 6px;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-size: 12px;
}
.rk-table-wrap {
	margin-top: 20px;
	overflow-x: auto;
	border: 1px solid var(--black-line);
	border-radius: var(--radius);
}
.rk-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.rk-table th {
	text-align: left;
	padding: 12px;
	color: var(--text-dim);
	background: var(--black-card);
	font-weight: 600;
}
.rk-table td {
	padding: 10px 12px;
	border-top: 1px solid var(--black-line);
	color: var(--text-soft);
}
.rk-table td.pos {
	color: var(--success);
}
.rk-table td.neg {
	color: var(--danger);
}
.rk-empty {
	text-align: center;
	color: var(--text-dim);
	font-size: 13px;
}
.tl-actions {
	flex-wrap: wrap;
}

@media (max-width: 720px) {
	.nav-dd {
		position: fixed;
		left: 14px;
		right: 14px;
		top: 76px;
		width: auto;
	}
	.nt-row {
		grid-template-columns: 1fr 44px 48px 76px 30px;
	}
	.nota-paper {
		padding: 18px;
	}
}

@media print {
	body * {
		visibility: hidden;
	}
	#ntPaper,
	#ntPaper * {
		visibility: visible;
	}
	#ntPaper {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		border-radius: 0;
		padding: 0;
	}
	.bg-glow {
		display: none;
	}
}
