@font-face {
    font-family: 'Aiva';
    src: url('/assets/font/aiva_light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aiva';
    src: url('/assets/font/aiva_regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aiva';
    src: url('/assets/font/aiva_medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aiva';
    src: url('/assets/font/aiva_bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ==========================================================
   DESKTOP STYLES — Pembuat Penawaran Furnitur
   Palette: #5076ff (biru), #61e3ff (cyan), #ffffff (putih dominan)
   Preview surat: kertas PUTIH, tulisan HITAM
   ========================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Aiva', system-ui, sans-serif;
  background: #ffffff;
  color: #0f1530;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.55; }
input, textarea, select { font-family: inherit; color: inherit; }
input:focus, textarea:focus, select:focus { outline: none; }

/* ---------- App shell ---------- */
.app {
  display: grid;
  grid-template-columns: 420px 1fr;
  grid-template-rows: 55px 1fr;
  height: 100vh;
}
.app-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(120deg, #9d00ff, #5076ff, #61e3ff, #cceeff);
  color: #0f1530;
  z-index: 10;
  height: 55px;
  position: sticky;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.menu-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}
.submenu-item:hover {
  background: #f0f0f0 !important;
}
.submenu-dropdown button:hover {
  background: #e8f4ff !important;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: #5076ff;
  display: grid;
  place-items: center;
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  border-radius: 6px;
}
.brand-text { min-width: 0; }
.brand-name {
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f1530;
}
.brand-sub {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }

/* Paper size dropdown */
.paper-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  background: #f3f4f8;
  padding-left: 10px;
  border-radius: 8px;
}
.paper-select-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #6b7280;
  font-weight: 700;
  margin-right: 8px;
  pointer-events: none;
}
.paper-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #5076ff;
  color: #ffffff;
  border: none;
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 32px 8px 12px;
  height: 38px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 0 8px 8px 0;
}
.paper-select:not(:disabled):hover { background: #6786ff; }
.paper-select:focus { outline: 2px solid #61e3ff; outline-offset: -2px; }
.paper-select-chev {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: #ffffff;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: none;
  background: #f3f4f8;
  color: #0f1530;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.15s;
  white-space: nowrap;
  border-radius: 8px;
}
.btn:not(:disabled):hover { background: #61e3ff; color: #0f1530; }
.btn-primary {
  background: #5076ff;
  color: #ffffff;
}
.btn-primary:not(:disabled):hover { background: #6786ff; color: #ffffff; }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Tombol di header hanya ikon — sembunyikan label */
.app-header .btn { padding: 9px 12px; }
.app-header .btn .btn-label { display: none; }
.app-header .btn svg { width: 16px; height: 16px; }

/* ---------- Form panel ---------- */
.form-panel {
  background: #dbebff;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  padding: 0;
}
.form-panel::-webkit-scrollbar { width: 8px; }
.form-panel::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.section {
  border-bottom: 1px solid #e5e7eb;
  padding: 22px 24px 24px;
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #f93c00;
  font-weight: 700;
}
.section-title {
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f1530;
  margin: 0;
}
.hint {
  font-size: 11.5px;
  color: #3c3c3c;
  margin-bottom: 12px;
  line-height: 1.5;
  padding: 10px 12px;
  background: #eaf3ff;
  border-left: 3px solid #5076ff;
  border-radius: 0 6px 6px 0;
}

.field { margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; gap: 10px; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }

label.lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #294b77ed;
  margin-bottom: 5px;
}
.input, .textarea, .select {
  width: 100%;
  padding: 14px 8px;
  background: #ffffff;
  border: 1px solid #7aa6fd;
  font-size: 12px;
  color: #0f1530;
  font-weight: 500;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-radius: 6px;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: #5076ff;
  box-shadow: 0 0 0 3px rgba(80, 118, 255, 0.15);
}
.textarea { resize: vertical; min-height: 120px; font-weight: 400; font-size: 14px; font-family: inherit; }
.input.mono { font-family: 'JetBrains Mono', monospace; }

/* Logo upload */
.logo-upload {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.logo-box {
  width: 70px;
  height: 70px;
  border: 1px solid #ff0000a6;
  background: #f8fafc;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #6b7280;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 6px;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.btn-sm {
  padding: 8px 12px;
  font-size: 11px;
  background: #57a8ff;
  color: #ffffff;
  border: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 5px;
}
.btn-sm.ghost {
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}
.btn-sm:not(:disabled):hover { opacity: 0.85; }

/* Items list */
.items-list { display: flex; flex-direction: column; gap: 10px; }
.item-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  padding: 12px;
  position: relative;
  border-radius: 8px;
}
.item-card .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.item-card .row-qty {
  display: grid;
  grid-template-columns: 60px 70px 1fr;
  gap: 8px;
}
.item-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #5076ff;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.item-remove:hover { color: #5076ff; background: #eaf3ff; }
.btn-add {
    padding: 10px 15px;
    background: #24a2fb;
    border: 1.5px dashed #94a3b8;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    border-radius: 25px;
    transition: all 0.15s;
}
.btn-add:hover {
  border-color: #5076ff;
  color: #5076ff;
  background: #eaf3ff;
}

/* Gallery card */
.gallery-card .gallery-upload {
  display: flex;
  gap: 12px;
}
.gallery-thumb {
  width: 100px;
  height: 80px;
  border: 1.5px dashed #94a3b8;
  background: #f8fafc;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: #6b7280;
  letter-spacing: 0.08em;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 6px;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  flex: 1;
}

/* Syarat list */
.syarat-list { display: flex; flex-direction: column; gap: 6px; }
.syarat-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.syarat-item .input { flex: 1; }
.syarat-item button {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  padding: 4px 8px;
  border-radius: 4px;
}
.syarat-item button:hover { color: #5076ff; background: #eaf3ff; }

.form-foot {
  padding: 20px 24px 40px;
  color: #94a3b8;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- Preview panel ---------- */
.preview-panel {
  background: #dfdfdf;
  overflow: auto;
  padding: 36px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.preview-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
}

/* ============================================================
   PREVIEW DOC — kertas PUTIH, tulisan HITAM (formal)
   ============================================================ */
.preview-page {
  width: var(--paper-w, 794px);
  min-height: var(--paper-h, 1123px);
  background: #ffffff;
  color: #000000;
  padding: 56px 64px 80px;
  box-shadow: 0 8px 24px rgba(15, 21, 48, 0.10), 0 0 0 1px rgba(15, 21, 48, 0.06);
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  zoom: var(--preview-scale, 1);
}
.preview-page.visual { display: flex; flex-direction: column; }

/* KOP */
.kop {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 10px;
}
.kop-logo {
  width: 96px;
  height: 96px;
  background: #c7c7c7;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 32px;
  letter-spacing: -0.02em;
  overflow: hidden;
  border-radius: 50px;
}
.kop-logo img { width: 100%; height: 100%; object-fit: contain; background: #ffffff; }
.kop-text { min-width: 0; }
.kop-name {
  font-family: 'Arial', sans-serif;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
  color: #000000;
  font-weight: 700;
}
.kop-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 6px;
  font-weight: 600;
}
.kop-contact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  text-align: right;
  line-height: 1.7;
  color: #000000;
  letter-spacing: 0.02em;
}
.kop-contact strong { color: #000000; font-weight: 700; }

/* Mini kop (visual pages) */
.kop-mini {
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding-bottom: 14px;
}
.kop-logo-sm { width: 60px; height: 60px; font-size: 20px; }
.kop-name-sm { font-size: 18px; }
.kop-tag-sm { font-size: 9.5px; margin-top: 4px; }

.vp-pageno {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}
.vp-pageno-lbl {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777777;
  font-weight: 700;
}
.vp-pageno-val {
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.kop-rules { display: grid; gap: 0; margin: 0 0 28px; }
.kop-rule-thick { height: 2px; background: #000000; }
.kop-rule-thin { height: 2px; background: #000000; margin-top: 3px; }

/* Stamp */
.stamp-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.stamp {
  background: #ffffff;
  color: #000000;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1;
  font-weight: 700;
}
.meta-block {
  font-family: 'Arial', monospace;
  font-size: 11px;
  text-align: right;
  line-height: 1.7;
}
.meta-label {
  color: #777777;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 9.5px;
}
.meta-value { font-weight: 700; color: #000000; }

/* Kepada */
.kepada {
  margin-bottom: 5px;
}
.kepada-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #000000;
  margin-bottom: 4px;
}
.kepada-name {
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #000000;
  font-weight: 700;
}
.kepada-pos { font-size: 12px; color: #333333; margin-top: 1px; }
.kepada-addr { font-size: 12px; color: #333333; margin-top: 4px; max-width: 360px; }

/* Perihal */
.perihal {
  margin-bottom: 20px;
  display: flex;
}
.perihal-label {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #000000;
  min-width: 70px;
  padding-top: 4px;
  letter-spacing: 0.14em;
}
.lbl-grand {
    font-size: 12px;
    font-weight: 800;
}
.perihal-text {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #000000;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
}

/* Intro */
.intro {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #000000;
}

/* Items table */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 11.5px;
}
.tbl thead th {
  background: #57b8ff;
  color: #ffffff;
  padding: 8px 10px;
  text-align: left;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.tbl thead th.num { text-align: right; }
.tbl tbody td {
  padding: 8px;
  font-size: 12px;
  border-bottom: 1px solid #dddddd;
  vertical-align: top;
  color: #000000;
}
.tbl tbody tr:nth-child(even) td { background: #f7f7f7; }
.tbl .col-no { width: 36px; font-family: 'Arial', sans-serif; color: #ffffff; }
.tbl .col-qty { width: 70px; text-align: center; font-size: 12px;font-family: 'Arial', sans-serif; }
.tbl .col-price, .tbl .col-total {
  text-align: right;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  white-space: nowrap;}
.tbl .item-name { font-weight: 700; }
.tbl .item-spec { font-size: 10.5px; color: #555555; margin-top: 2px; line-height: 1.4; }
.tbl tfoot td {font-family: 'Arial', sans-serif;padding: 10px;}
.tbl .subtotal-lbl { color: #000000; font-size: 10px; }
.tbl .grand-total-val { font-weight: 700;font-size: 12px; }
.termin-note { font-size: 10.5px; color: #555555; margin-top: 8px; }
.sign-spacer { flex: 1; }
.grid-mt { margin-top: 12px; }
.tbl tfoot .grand {
  background: #c5e1ff;
  color: #000000;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.tbl tfoot .grand .lbl-grand {
  text-transform: uppercase;
  font-size: 12px;
}

/* Detail blocks */
.detail-grid {
  display: flex;
    gap: 0;
    margin-bottom: 22px;
    border-bottom: 1px solid #cccccc;
    flex-direction: column;
}
.detail-block {
  padding: 5px 16px 5px 0;
  border-right: 1px solid #dddddd;
}
.detail-block:nth-child(even) {
  padding-left: 0;
  padding-right: 0;
  border-right: none;
}
.detail-label {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #000000;
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 12px;
  line-height: 1;
  white-space: pre-wrap;
  color: #000000;
  font-weight: 300;
}
.detail-value strong { font-family: 'Arial', sans-serif; font-size: 12px; }

/* Termin */
.termin-grid {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.termin-pill {
  flex: 1;
    background: #c5e1ff;
    color: #000000;
    padding: 8px 12px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}
.termin-pill .pct {
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
  color: #0090f9;
}
.termin-pill .desc {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  font-weight: 700;
}

/* Syarat */
.sk-block { margin-bottom: 28px; }
.sk-title {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-weight: 700;
}

.sk-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: sk;
}
.sk-list li {
  counter-increment: sk;
  padding: 4px 0 4px 28px;
  position: relative;
  font-size: 12px;
  line-height: 1;
  color: #000000;
}
.sk-list li::before {
  content: counter(sk) ". ";
  position: absolute;
  left: 0;
  top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 10px;
  color: #000000;
}

/* Sign */
.sign-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  gap: 32px;
}
.catatan {
  flex: 1;
  font-size: 11px;
  color: #333333;
  line-height: 1.5;
  padding: 10px 12px;
  background: #f7f7f7;
  border-left: 2px solid #000000;
  max-width: 320px;
}
.catatan-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  font-weight: 700;
  margin-bottom: 3px;
}
.sign { text-align: center; min-width: 220px; }
.sign-pre { font-size: 12px; margin-bottom: 70px; color: #000000; }
.sign-name {
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-top: 2px solid #000000;
  padding-top: 6px;
  color: #000000;
}
.sign-pos {
  font-size: 11px;
  color: #333333;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Arial', sans-serif;
  margin-top: 2px;
}

/* Doc footer */
.doc-footer {
  position: absolute;
  bottom: 28px;
  left: 64px;
  right: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777777;
  padding-top: 10px;
  border-top: 1px solid #dddddd;
}
.doc-footer span:nth-child(2) {
  color: #000000;
  font-weight: 700;
}

/* ============================================================
   VISUAL PAGE
   ============================================================ */
.vp-title-block { margin-bottom: 28px; padding: 0; }
.vp-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777777;
  font-weight: 700;
  margin-bottom: 10px;
}
.vp-tag-num {
  background: #000000;
  color: #ffffff;
  padding: 3px 8px;
  font-family: 'Aiva', system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.vp-title {
  font-family: 'Aiva', system-ui, sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #000000;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 4px solid #000000;
  text-wrap: balance;
}

.vp-image-frame {
  flex: 1;
  min-height: 460px;
  background: #ffffff;
  padding: 8px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid #000000;
}
.vp-image-frame::before,
.vp-image-frame::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #000000;
  pointer-events: none;
}
.vp-image-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.vp-image-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.vp-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}
.vp-image-empty {
  width: 100%;
  height: 460px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #999999;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.vp-image-empty svg { width: 64px; height: 64px; }

.vp-caption {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-left: 3px solid #000000;
}
.vp-caption-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  font-weight: 700;
  margin-bottom: 4px;
}
.vp-caption-text { font-size: 12.5px; line-height: 1.55; color: #000000; }

/* Mobile-only elements — hidden on desktop, shown via mobile.css */
.mobile-only { display: none !important; }
.mobile-preview-modal { display: none; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body { background: #ffffff; }
  .app { display: block; height: auto; }
  .app-header, .form-panel, .desktop-only, .btn-kembali-hub, [data-display-only] { display: none !important; }
  .mobile-only, .mobile-preview-modal { display: none !important; }
  .preview-panel {
    background: #ffffff;
    padding: 0;
    display: block !important;
    overflow: visible;
  }
  .preview-stack { gap: 0; }
  .preview-page {
    zoom: 1 !important;
    box-shadow: none;
    width: 100%;
    margin: 0;
    page-break-after: always;
    break-after: page;
  }
  .preview-page:last-child { page-break-after: auto; break-after: auto; }
}

