/* M-Digital Admin Panel – közös stíluslap */
:root {
  --bg: #060D0A;
  --bg-2: #07100C;
  --surface: #0A1611;
  --surface-hover: #0F1F18;
  --line: #16261E;
  --line-2: #1C2E25;
  --text: #E6F1EB;
  --text-2: #B9CCC1;
  --muted: #8EA89A;
  --accent: #3DE89A;
  --accent-soft: #0B2A1D;
  --accent-text: #8CF5C2;
  --on-accent: #03130B;
  --warn: #F5A524;
  --warn-soft: #2E2208;
  --warn-text: #F5C46B;
  --danger: #FF7A6B;
  --danger-soft: #2E0F0B;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sans: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--sans); font-size: 14px; line-height: 1.5; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-text); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Gombok, mezők ---------- */
.btn {
  height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-hover); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover { background: var(--accent-text); }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: #4A2019; color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-icon { width: 44px; padding: 0; color: var(--text-2); background: transparent; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select {
  height: 44px; width: 100%; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font-size: 14px;
}
.input::placeholder { color: #5F7C6C; }
.input:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; min-width: 0; }

.alert { padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.alert-error { background: var(--danger-soft); color: #FFB4AA; border: 1px solid #4A2019; }
.alert-warn { background: var(--warn-soft); color: var(--warn-text); }
.alert-ok { background: var(--accent-soft); color: #B9F5D6; }

/* ---------- Logó ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.brand-text { display: flex; align-items: baseline; gap: 8px; }
.role-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--on-accent);
  background: var(--accent); padding: 2px 8px; border-radius: 6px;
}

/* ---------- Belépés / telepítő ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card {
  width: 100%; max-width: 420px; padding: 32px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--bg-2); display: flex; flex-direction: column; gap: 22px;
}
.auth-card.wide { max-width: 560px; }
.auth-card h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.auth-card p { margin: 0; color: var(--muted); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-foot { font-size: 12px; color: var(--muted); text-align: center; }

.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.steps span.on { background: var(--accent); }
.step-title { font-size: 13px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; }
.form-actions .btn-primary { margin-left: auto; }

/* ---------- Váz ---------- */
.topbar {
  height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line); background: var(--bg-2); position: sticky; top: 0; z-index: 20;
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.server-pill {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2);
  border-radius: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot.warn { background: var(--warn); border-radius: 2px; }

.layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  border-right: 1px solid var(--line); background: var(--bg-2); padding: 20px 14px;
  display: flex; flex-direction: column; gap: 20px; min-height: calc(100vh - 64px);
}
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a, .nav span {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text-2);
  white-space: nowrap;
}
.nav a:hover { background: var(--surface-hover); color: var(--text); }
.nav a[aria-current="page"] { background: #0E2219; color: var(--text); font-weight: 500; }
.nav a[aria-current="page"] svg { stroke: var(--accent); }
.nav span[aria-disabled="true"] { color: #5F7C6C; cursor: default; }
.nav .soon { margin-left: auto; font-size: 11px; color: #5F7C6C; }
.nav svg { width: 18px; height: 18px; flex: none; }
.side-card {
  margin-top: auto; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface);
  display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.side-card .label { font-size: 12px; color: var(--muted); }
.side-card strong { font-size: 14px; }

.main { padding: 32px clamp(16px, 3vw, 40px) 64px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.page-head .sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn-text); font-size: 13px;
}

/* ---------- Statisztika ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat {
  padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  display: flex; flex-direction: column; gap: 12px;
}
.stat-top { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.stat-top .mono { font-size: 12px; }
.stat-value { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.stat-value small { font-size: 14px; font-weight: 400; color: var(--muted); }
.stat-foot { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 3px; background: #15261D; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .4s ease; }
.bar.warn > i { background: var(--warn); }
.bar.thin { height: 4px; }

/* ---------- Kártyák / két oszlop ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.card h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc { display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 12px; }
.svc-state { display: flex; align-items: center; gap: 8px; color: var(--accent-text); }
.svc-state.off { color: var(--warn-text); }
.kv { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.pkg { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.pkg-name { font-weight: 500; }
.pkg-meta { font-size: 12px; color: var(--muted); }

/* ---------- Táblázat ---------- */
.table-tools { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; }
.seg button { height: 36px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #16301F; color: var(--text); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 500; padding: 12px; }
td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 20px; text-align: right; }
tbody tr:hover { background: #0C1913; }
.cell-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.usage { display: flex; flex-direction: column; gap: 6px; width: 150px; }
.usage span { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.badge-ok { background: var(--accent-soft); color: var(--accent-text); }
.badge-warn { background: var(--warn-soft); color: var(--warn-text); }
.badge-neutral { background: #142019; color: var(--text-2); }
.badge-neutral::before { border-radius: 50%; background: transparent; border: 1.5px solid currentColor; width: 5px; height: 5px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-warn::before { border-radius: 1px; }
.row-actions { display: inline-flex; gap: 6px; justify-content: flex-end; position: relative; }
.table-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.empty { padding: 32px 20px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.empty strong { display: block; color: var(--text); margin-bottom: 4px; font-weight: 500; }

/* Sor menü */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute; right: 0; top: 42px; z-index: 10; min-width: 190px; padding: 6px;
  background: #0C1A14; border: 1px solid var(--line-2); border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.menu-list button {
  height: 38px; padding: 0 10px; text-align: left; border: 0; border-radius: 7px; background: transparent;
  color: var(--text); font-size: 13px; cursor: pointer;
}
.menu-list button:hover { background: var(--surface-hover); }
.menu-list button.danger { color: var(--danger); }

/* ---------- Eszköz csempék ---------- */
.tools-section { display: flex; flex-direction: column; gap: 12px; }
.tools-head { display: flex; align-items: center; gap: 10px; }
.tools-head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.count { font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text);
}
.tile[aria-disabled="true"] { cursor: default; }
.tile-name { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.tile-desc { font-size: 13px; color: var(--muted); }
.soon-tag { font-size: 11px; font-weight: 400; color: #6F8C7C; white-space: nowrap; }

/* ---------- Párbeszédablak ---------- */
dialog {
  width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--bg-2); color: var(--text);
}
dialog::backdrop { background: rgba(2, 6, 4, .72); }
.dlg { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dlg h2 { margin: 0; font-size: 18px; font-weight: 600; }
.dlg p { margin: 0; color: var(--text-2); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  padding: 12px 16px; border-radius: 10px; background: #0C1A14; border: 1px solid var(--line-2);
  font-size: 13px; max-width: calc(100vw - 32px);
}
.toast.error { border-color: #4A2019; color: #FFB4AA; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1180px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-pill { display: none; }
}
@media (max-width: 560px) {
  .stats, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .topbar { padding: 0 14px; }
  .brand-sub { display: none; }
  .auth-card { padding: 24px; }
}

/* ---------- Weboldal kártya, beállítások ---------- */
.site-link { color: var(--text); overflow-wrap: anywhere; }
.site-link:hover { color: var(--accent-text); text-decoration: underline; }
.dns-box { padding: 12px 14px; border: 1px dashed #24392E; border-radius: 10px; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.dns-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; font-family: var(--mono); font-size: 12px; }
.dns-row span:first-child { color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: minmax(0, 640px); gap: 20px; }
.card-body p { margin: 0; color: var(--text-2); }

/* Szolgáltatói áttekintés: a fióktáblázat teljes szélességet kap */
.admin-grid { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.side-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
td { white-space: nowrap; }
.usage { width: 140px; }

/* Lábléc */
.app-foot { margin-top: auto; padding-top: 24px; text-align: center; font-size: 12px; color: #5F7C6C; font-family: var(--mono); }
.auth-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.auth-wrap .app-foot { margin-top: 24px; padding-top: 0; }
.main { min-height: calc(100vh - 64px); }

.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.checklist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; }
.checklist .ok { color: var(--accent-text); }
.checklist .bad { color: var(--warn-text); }

.textarea { height: auto; min-height: 96px; padding: 10px 14px; resize: vertical; line-height: 1.6; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 12px; text-decoration: underline; }
.qr-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr-row img { background: #fff; padding: 8px; border-radius: 10px; image-rendering: pixelated; }
.secret { font-size: 14px; letter-spacing: .08em; overflow-wrap: anywhere; color: var(--text); }
.code-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 15px; }
.code-grid li { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; text-align: center; }
.domain-form { padding-top: 4px; }

/* ALTCHA a sötét felülethez */
altcha-widget {
  --altcha-max-width: 100%;
  --altcha-border-radius: 10px;
  --altcha-color-base: #07100C;
  --altcha-color-border: #1C2E25;
  --altcha-color-border-focus: #3DE89A;
  --altcha-color-text: #E6F1EB;
  --altcha-color-active: #3DE89A;
  --altcha-color-error-text: #FFB4AA;
  --altcha-color-footer-bg: #07100C;
}

.dlg-sub { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--text); }
dialog .stack { gap: 12px; }

/* Jogosultságok */
dialog.wide { width: min(720px, calc(100vw - 32px)); }
.perm-groups { display: flex; flex-direction: column; gap: 18px; max-height: 56vh; overflow-y: auto; padding-right: 4px; }
.perm-group { display: flex; flex-direction: column; gap: 6px; }
.perm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.perm-text { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.perm-name { font-weight: 500; }
.perm-desc { font-size: 12px; color: var(--muted); }
.perm-state { font-size: 12px; white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #1C2E25; position: relative; cursor: pointer; margin: 0; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8EA89A; transition: transform .15s, background .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); background: var(--on-accent); }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cell-link { background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; border-bottom: 1px dashed #3B5547; }
.cell-link:hover { color: var(--accent-text); }
@media (max-width: 560px) { .perm-row { grid-template-columns: minmax(0, 1fr) auto; } .perm-state { grid-column: 1; } }

/* Csomagok oldal */
.page-lead { margin: -12px 0 0; max-width: 720px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.pkg-price { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.pkg-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.perm-row.two { grid-template-columns: minmax(0, 1fr) auto; }

/* Fájlkezelő */
.fm { position: relative; }
.fm-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; }
.crumbs a { color: var(--text-2); }
.crumbs a:last-child { color: var(--text); }
.crumbs .sep { color: #5F7C6C; }
.fm-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fm-actions .muted { font-size: 12px; margin-right: 4px; }
.fm-table th:last-child, .fm-table td:last-child { text-align: left; }
.fm-table td { padding-top: 9px; padding-bottom: 9px; }
.fm-check { width: 32px; }
.fm-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.fm-cell-name a, .fm-name { display: inline-flex; align-items: center; gap: 10px; color: var(--text); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.fm-cell-name a:hover, .fm-name:hover { color: var(--accent-text); }
.fm-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; color: var(--muted); }
.fm-icon.dir { color: var(--accent); }
tr.sel { background: #0E2219 !important; }
.fm-up a { display: inline-flex; gap: 10px; align-items: center; color: var(--text-2); }
.fm-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fm-drop { position: fixed; inset: 16px; z-index: 40; border: 2px dashed var(--accent); border-radius: 16px; background: rgba(6, 13, 10, .85); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent-text); pointer-events: none; }
.up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; max-height: 240px; overflow-y: auto; }
.up-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.up-err { color: #FFB4AA; }
.editor-dlg { width: min(1100px, calc(100vw - 24px)); }
.editor-wrap { height: min(82vh, 900px); }
.editor { flex: 1; min-height: 300px; width: 100%; resize: none; padding: 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #050B08; color: var(--text); font-size: 13px; line-height: 1.55; tab-size: 4; white-space: pre; }
.editor:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.editor-wrap .card-head h2 { font-size: 13px; overflow-wrap: anywhere; }
.editor-wrap .form-actions { align-items: center; justify-content: flex-end; }
.editor-wrap .form-actions .btn-primary { margin-left: 0; }
.editor-wrap .form-actions .muted { margin-right: auto; font-size: 12px; }
.input-suffix { display: flex; align-items: center; gap: 8px; }
.input-suffix .input { flex: 1; min-width: 0; }
.input-suffix span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.hint-text { font-size: 13px; color: var(--text-2); margin: 0; }
.row-actions { flex-wrap: nowrap; }

.pkg-gross { font-size: 12px; color: var(--muted); margin-top: -6px; }
