/* ============================================================
   QRcraft — tema modular / teknikal
   Palet: ink #12141A · paper #F4F4F0 · surface #FFF
          accent #5B4BFF · muted #6B7280 · line #E6E6E2
   Type: Space Grotesk (display) · Inter (UI) · Space Mono (data)
   ============================================================ */

:root {
  --ink: #12141a;
  --ink-soft: #2b2f3a;
  --paper: #f4f4f0;
  --surface: #ffffff;
  --surface-2: #fafaf7;
  --accent: #5b4bff;
  --accent-soft: #ece9ff;
  --muted: #6b7280;
  --muted-2: #9aa0ab;
  --line: #e6e6e2;
  --line-strong: #d6d6d0;
  --ok: #16a34a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18,20,26,.05), 0 8px 30px rgba(18,20,26,.06);
  --shadow-lift: 0 12px 40px rgba(18,20,26,.12);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  /* subtle QR-pixel grid */
  background-image:
    linear-gradient(rgba(18,20,26,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,20,26,.022) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ambient scanline */
.scanline {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .5;
  z-index: 100;
  animation: scan 6.5s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: .5; }
  92%  { opacity: .5; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(244,244,240,.75);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 40;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
}
.brand-mark svg { fill: #fff; }
.brand-mark .mk-hole { fill: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.brand-name .accent { color: var(--accent); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}
.brand-tag a, .site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.brand-tag a:hover, .site-footer a:hover {
  text-decoration: underline;
}
.header-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .4; } }

/* ---------- Layout ---------- */
.workspace {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.controls { padding: clamp(18px, 2.4vw, 28px); }

/* ---------- Section headers ---------- */
.section-head {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.section-head:first-child { margin-top: 0; }
.section-head .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
}

/* ---------- Type chips ---------- */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.type-chip {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s ease;
  text-align: center;
  white-space: nowrap;
}
.type-chip:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.type-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Forms ---------- */
.forms { margin-top: 18px; }
.form { display: none; flex-direction: column; gap: 14px; }
.form.is-active { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row > .field { flex: 1 1 140px; }

.lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.hint {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
.hint-inline { font-weight: 400; color: var(--muted-2); font-size: 11px; }

input[type="text"], input[type="url"], input[type="email"],
input[type="tel"], input[type="datetime-local"], textarea, select {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,75,255,.14);
  background: var(--surface);
}
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}

.checkbox-field {
  flex-direction: row; align-items: center; gap: 8px;
  flex: 0 0 auto; padding-top: 22px;
}
.checkbox-field .lbl { color: var(--ink-soft); }
input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer;
}

/* ---------- Presets ---------- */
.preset-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.preset-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.preset-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.preset {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s;
}
.preset:hover { border-color: var(--accent); color: var(--accent); }
.preset.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Option groups ---------- */
.opt-group { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }

.color-mode { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px; }
.seg-btn {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 500;
  padding: 5px 14px; border: none; background: transparent; color: var(--muted);
  border-radius: 6px; cursor: pointer; transition: all .15s;
}
.seg-btn.is-active { background: var(--ink); color: #fff; }

.color-field .color-input {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface-2); padding: 4px 4px 4px 6px;
}
input[type="color"] {
  width: 34px; height: 34px; border: none; border-radius: 7px;
  background: none; cursor: pointer; padding: 0;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 1px solid var(--line-strong); border-radius: 7px; }
.hex {
  font-family: var(--font-mono) !important; font-size: 13px !important;
  border: none !important; background: transparent !important; padding: 4px !important;
  text-transform: lowercase;
}
.hex:focus { box-shadow: none !important; }

/* ---------- Sliders ---------- */
.slider-field .lbl b { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 3px;
  background: var(--line); cursor: pointer; margin-top: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(91,75,255,.5); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(91,75,255,.5); cursor: pointer;
}

/* ---------- Logo row ---------- */
.logo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.logo-name { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.file-btn { position: relative; }

/* ---------- Buttons ---------- */
.btn-ghost {
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 500;
  padding: 9px 15px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-soft);
  cursor: pointer; transition: all .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.sm { padding: 7px 12px; font-size: 12.5px; }

/* ---------- Preview panel ---------- */
.preview-panel { padding: clamp(18px, 2.4vw, 28px); }
.preview-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }

.preview-frame {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  padding: 28px;
  background:
    repeating-conic-gradient(var(--surface-2) 0% 25%, #fff 0% 50%) 0 / 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.preview-corner {
  position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--accent); opacity: .55;
}
.preview-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.preview-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.preview-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.preview-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }

.qr-canvas { display: grid; place-items: center; max-width: 100%; }
.qr-canvas canvas, .qr-canvas svg {
  max-width: 100% !important; height: auto !important;
  border-radius: 4px; display: block;
}

.preview-caption {
  text-align: center; margin: 0;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
}

/* ---------- Download ---------- */
.download-group { display: flex; flex-direction: column; gap: 10px; }
.dl-primary { display: flex; gap: 10px; }
.btn-primary {
  flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px; border: none; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; cursor: pointer; transition: all .15s;
  box-shadow: 0 4px 14px rgba(91,75,255,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,75,255,.4); }
.btn-primary.alt { background: var(--ink); box-shadow: 0 4px 14px rgba(18,20,26,.2); }
.btn-primary.alt:hover { box-shadow: 0 6px 20px rgba(18,20,26,.3); }
.dl-secondary { display: flex; gap: 8px; }
.dl-secondary .btn-ghost { flex: 1; }

.tips {
  background: var(--surface-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.tips p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.tips b { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center; padding: 28px 16px 40px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Utility ---------- */
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .preview-panel { order: -1; }
  .preview-sticky { position: static; }
  .preview-frame { max-width: 380px; margin: 0 auto; width: 100%; }
  .header-meta { display: none; }
}
@media (max-width: 480px) {
  .type-grid { grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); }
  .type-chip { font-size: 12px; padding: 9px 6px; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   AKUN / AUTH / MODAL / PRICING  (ditambahkan v2)
   ============================================================ */

/* --- Auth area di header --- */
.auth-area { display: flex; align-items: center; }
.auth-guest, .auth-user { display: flex; align-items: center; gap: 10px; }
.btn-primary.sm, .btn-ghost.sm {
  padding: 8px 14px; font-size: 13px; border-radius: 9px; box-shadow: none;
}
.btn-primary.sm { font-family: var(--font-ui); font-weight: 600; }

.plan-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .03em; transition: all .15s;
}
.plan-badge[data-plan="pro"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan-badge[data-plan="business"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan-badge:hover { transform: translateY(-1px); }

.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 22px; padding: 4px 12px 4px 4px; transition: border-color .15s;
}
.user-chip:hover { border-color: var(--accent); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  font-family: var(--font-display);
}
.user-name { font-size: 13.5px; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { color: var(--muted); font-size: 11px; }

.menu-drop {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lift); padding: 6px; min-width: 210px; z-index: 60;
}
.menu-drop button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border: none;
  background: transparent; font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-soft);
  border-radius: 8px; cursor: pointer;
}
.menu-drop button:hover { background: var(--surface-2); color: var(--ink); }
.menu-drop hr { border: none; border-top: 1px solid var(--line); margin: 5px 4px; }

/* --- Save button + quota --- */
.save-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.quota-pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 12px;
}

/* --- Locked controls --- */
.locked { position: relative; opacity: .55; }
.locked::after {
  content: "🔒"; position: absolute; top: -6px; right: -6px; font-size: 12px;
  background: var(--ink); border-radius: 50%; width: 20px; height: 20px;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.file-btn.locked, .seg-btn.locked { pointer-events: auto; }
option:disabled { color: var(--muted-2); }

/* --- Modal shell --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(18,20,26,.55); backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; animation: overlayIn .2s ease; }
@keyframes overlayIn { from { opacity: 0; } }
.modal {
  position: relative; background: var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-lift); width: 100%; max-width: 420px;
  padding: 30px; max-height: 90vh; overflow-y: auto; animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pricing-modal { max-width: 900px; }
.list-modal { max-width: 620px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 30px; height: 30px;
  border: none; background: var(--surface-2); border-radius: 8px; cursor: pointer;
  color: var(--muted); font-size: 14px;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.02em; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.modal-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin: 16px 0 0; text-align: center; }

/* --- Auth modal --- */
.auth-modal .field { margin-bottom: 14px; }
input[type="password"] {
  font-family: var(--font-ui); font-size: 14px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 10px 12px; width: 100%; outline: none;
}
input[type="password"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,75,255,.14); }
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: all .15s;
}
.btn-google:hover { background: var(--surface-2); border-color: var(--muted-2); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted-2); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.auth-error, .pay-error {
  color: #dc2626; font-size: 13px; margin: 12px 0 0; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px;
}

/* --- Pricing tiers --- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier-card {
  position: relative; border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 22px 20px; display: flex; flex-direction: column;
}
.tier-card.featured { border-color: var(--accent); box-shadow: 0 8px 30px rgba(91,75,255,.15); }
.tier-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 12px; font-family: var(--font-mono);
}
.tier-card h4 { font-family: var(--font-display); font-size: 19px; margin: 0 0 2px; }
.tier-tag { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; min-height: 34px; }
.tier-price { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.tier-price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.tier-perks { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-perks li { font-size: 13px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.tier-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.btn-primary.full, .btn-ghost.full { width: 100%; text-align: center; }
.tier-cta:disabled { opacity: .5; cursor: default; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-strong); box-shadow: none; }

/* --- Pay modal --- */
.pay-modal .field { margin-bottom: 14px; }
.btn-primary.full { margin-top: 6px; }

/* --- List (QR saya / dinamis) --- */
.pro-tag {
  font-family: var(--font-mono); font-size: 10px; background: var(--ink); color: #fff;
  padding: 2px 8px; border-radius: 10px; vertical-align: middle; margin-left: 6px;
}
.item-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.item-list .empty { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }
.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.list-item.dyn { flex-direction: column; align-items: stretch; }
.li-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.li-type { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; }
.li-data { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dyn-dest { margin-top: 6px; font-size: 13px; }
.li-actions { display: flex; gap: 6px; flex-shrink: 0; }
.list-item.dyn .li-actions { margin-top: 8px; }
.btn-ghost.sm.danger { color: #dc2626; }
.btn-ghost.sm.danger:hover { border-color: #dc2626; }

.dynamic-create { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.dynamic-create input { flex: 1; min-width: 140px; }
.dynamic-create .btn-primary { padding: 10px 18px; }

@media (max-width: 720px) {
  .tier-grid { grid-template-columns: 1fr; }
  .pricing-modal { max-width: 440px; }
}
