:root {
  --bg: #eef3f6;
  --panel: #ffffff;
  --text: #17212b;
  --muted: #647484;
  --line: #d6e0e7;
  --soft: #f7fafb;
  --accent: #0f766e;
  --accent-strong: #0b5f58;
  --ink: #1f2937;
  --focus: #2563eb;
  --warn: #9a3412;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #e9f4f2 0, rgba(233, 244, 242, 0) 300px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 40px; }
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.hero > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; line-height: 1.1; font-weight: 800; }
.hero-copy { margin-top: 8px; color: var(--muted); max-width: 760px; font-size: 16px; }
.supported-forms {
  margin-top: 14px;
  width: 100%;
  max-width: 920px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.supported-forms details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}
.supported-forms summary {
  color: var(--accent-strong);
  font-weight: 750;
  cursor: pointer;
}
.supported-forms ol {
  margin: 8px 0 2px;
  padding-left: 18px;
  columns: 2;
  column-gap: 28px;
}
.supported-forms li { break-inside: avoid; margin-bottom: 2px; }
.supported-forms li,
.supported-forms summary {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-actions { display: flex; align-items: flex-end; gap: 12px; }
.language-switch { min-width: 190px; }
.contact-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.contact-link:hover { text-decoration: underline; }
.site-footer {
  margin-top: 32px;
  padding: 18px 0 8px;
  color: var(--muted);
  text-align: left;
}
.footer-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}
.footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, max-content);
  gap: 28px;
  align-items: start;
}
.site-footer p {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 750;
}
.footer-business > strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.footer-contact {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.footer-contact h2 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}
.footer-contact .contact-link {
  min-height: 30px;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}
.mail-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.template-link, button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
button:hover, .template-link:hover { background: var(--accent-strong); }
.secondary-button { background: var(--ink); }
.secondary-button:hover { background: #111827; }
.ghost-button {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.ghost-button:hover { background: var(--soft); }
.disabled-link {
  pointer-events: none;
  opacity: 0.55;
}
.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #bfd7d3;
  background: #f0fbf8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: #28534f;
  line-height: 1.45;
}
.notice strong { white-space: nowrap; color: var(--accent-strong); }
.compact-notice { margin: 12px 0 0; }
.warning-note { border-color: #f2c36b; background: #fff8e6; color: #5f4512; }
.warning-note strong { color: #8a5a00; }
.workspace { display: grid; gap: 14px; }
.app-screen, .payment-screen, .guide-screen { display: grid; gap: 14px; }
.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.step-progress {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 25px;
  height: 2px;
  background: #d9e4ea;
  border-radius: 999px;
  z-index: 0;
}
.step-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  transition: width 220ms ease;
}
.step-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  min-height: 52px;
  padding: 0 14px;
  color: var(--muted);
}
.step-chip span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--soft);
  color: var(--accent-strong);
}
.step-chip strong { font-size: 13px; letter-spacing: 0.1px; }
.step-chip.active {
  border-color: #8bd2ca;
  background: #f0fbf8;
  color: var(--text);
}
.step-chip:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}
.app-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.admin-view-controls {
  display: inline-flex;
  gap: 8px;
  margin-right: auto;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}
.auth-screen {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}
.auth-visual {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.78)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.auth-visual .eyebrow { color: #a7f3d0; }
.auth-visual h2 { font-size: 30px; line-height: 1.1; max-width: 440px; }
.auth-visual p:not(.eyebrow) { margin-top: 10px; max-width: 440px; color: rgba(255,255,255,0.86); line-height: 1.5; }
.account-panel { margin-bottom: 14px; }
.auth-card { align-self: stretch; }
.global-message { margin: 6px 0 12px; }
.update-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #f2c36b;
  border-radius: 8px;
  background: #fff8e6;
  color: #5f4512;
}
.update-banner strong {
  display: block;
  color: #8a5a00;
  font-size: 15px;
  margin-bottom: 4px;
}
.update-banner p {
  color: #5f4512;
  font-size: 13px;
  line-height: 1.45;
}
.update-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tab-button {
  min-height: 36px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.tab-button:hover { background: var(--soft); }
.tab-button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.account-view { display: none; }
.account-view.active { display: block; }
.auth-view { display: none; }
.auth-view.active { display: block; }
.auth-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}
.reset-flow {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #bfd7d3;
  border-radius: 8px;
  background: #f0fbf8;
  color: #28534f;
  font-size: 13px;
  line-height: 1.45;
}
.reset-flow p { color: #28534f; margin-bottom: 10px; }
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.inline-actions button {
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.inline-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}
.auth-actions button { flex: 1 1 145px; }
.consent-box {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #bfd7d3;
  border-radius: 8px;
  background: #f0fbf8;
  color: #28534f;
  font-size: 13px;
  line-height: 1.45;
}
.consent-box input {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 auto;
}
.payment-panel {
  display: grid;
  gap: 18px;
}
.payment-return-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
}
.payment-return-row .secondary-button {
  min-width: auto;
}
.payment-panel .section-heading {
  margin-bottom: 0;
}
.payment-panel h3 {
  margin-bottom: 0;
}
.payment-panel p {
  line-height: 1.5;
}
.payment-panel label {
  gap: 8px;
}
.payment-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 20px;
  margin-top: 4px;
}
.payment-grid > div {
  display: grid;
  align-content: start;
  gap: 16px;
}
.payment-panel .grid.compact-login {
  gap: 14px;
}
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.price-line.total { color: var(--text); font-size: 16px; }
.bank-details dl { margin: 8px 0 0; display: grid; gap: 8px; }
.bank-details div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}
.bank-details dt { color: var(--muted); font-weight: 750; }
.bank-details dd { margin: 0; color: var(--text); font-weight: 800; }
.account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.account-summary div { display: grid; gap: 3px; }
.account-summary span { color: var(--muted); font-size: 12px; font-weight: 800; }
.account-summary strong { color: var(--text); font-size: 14px; }
.license-box {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr);
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.license-box strong { color: var(--text); }
.license-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.license-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.license-actions input { min-width: 0; }
.license-box .status-line { grid-column: 1 / -1; }
.package-note {
  display: grid;
  gap: 5px;
  margin-top: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
}
.package-note strong { color: var(--text); margin-top: 6px; }
.package-note .package-note-title {
  margin-top: 0;
  color: var(--accent-strong);
}
.payment-panel .consent-box,
.payment-panel .file-box,
.payment-panel .inline-actions,
.payment-panel .bank-details dl {
  margin-top: 0;
}
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.dashboard-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  display: grid;
  gap: 4px;
}
.dashboard-metrics span { color: var(--muted); font-size: 12px; font-weight: 800; }
.dashboard-metrics strong { font-size: 20px; color: var(--text); }
.dashboard-print-title { display: none; }
.dashboard-table-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 8px;
}
.dashboard-export {
  position: relative;
}
.icon-menu-button {
  width: 34px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid #111827;
  border-radius: 7px;
  background: #fff;
  color: #111827;
}
.icon-menu-button:hover {
  background: #f8fafc;
}
.chevron-down-icon {
  width: 12px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  border-radius: 1px;
}
.dashboard-export-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  display: grid;
  gap: 4px;
}
.dashboard-export-menu button {
  min-height: 34px;
  justify-content: flex-start;
  padding: 0 10px;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}
.dashboard-export-menu button:hover {
  background: var(--soft);
}
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}
.admin-table th { background: var(--soft); color: var(--muted); font-weight: 800; }
.admin-table tr:last-child td { border-bottom: 0; }
.small-button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
}
.small-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}
.license-actions-cell {
  min-width: 190px;
}
.license-actions-cell .small-button + .small-button,
.license-actions-cell .license-key-preview + .small-button {
  margin-top: 6px;
}
.license-key-preview {
  display: block;
  max-width: 220px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}
.locked-input { background: #f1f5f9; color: #334155; }
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.section-heading span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e7f5f2;
  color: var(--accent-strong);
  font-weight: 800;
  flex: 0 0 auto;
}
h2 { font-size: 18px; line-height: 1.3; }
h3 { font-size: 15px; line-height: 1.3; margin-bottom: 5px; }
.section-heading p, .subpanel p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.grid, .action-grid, .upload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.grid.compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.compact-login { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-grid {
  grid-template-columns: minmax(220px, 300px) minmax(420px, 720px);
  align-items: start;
}
#accountAdmin > .grid {
  grid-template-columns: minmax(170px, 0.65fr) minmax(190px, 0.65fr) minmax(420px, 1.7fr);
  align-items: start;
}
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 750; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 10px 11px;
  outline: none;
}
select[multiple] { min-height: 42px; }
#selectedForms { height: 42px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.file-box {
  min-height: 96px;
  border: 1px dashed #b8c6d1;
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}
.file-box small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}
.file-box input { border: 0; padding: 0; background: transparent; }
.status-line { min-height: 20px; color: var(--muted); font-size: 13px; }
.status-line.warn { color: var(--warn); }
.admin-template-box {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 11px;
  background: #fff;
  display: grid;
  align-content: start;
  gap: 5px;
}
.admin-template-box input[type="file"] {
  width: auto;
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}
.admin-template-status {
  display: block;
  min-height: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  white-space: nowrap;
  overflow: visible;
}
.checklist {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.selection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.selection-grid .checklist {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
}
.selection-grid .check-item {
  width: 100%;
  justify-content: flex-start;
}
.negeri-field > label,
.tender-code-field > label {
  margin-bottom: 4px;
}
.negeri-field .checklist {
  max-height: 220px;
  overflow: auto;
}
.tender-code-field .checklist {
  max-height: 220px;
  overflow: auto;
  align-content: flex-start;
}
.check-item, .inline-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--text);
  background: var(--soft);
  font-size: 13px;
  font-weight: 750;
}
.check-item input, .inline-options input { width: auto; margin: 0; padding: 0; }
.check-item-strong {
  background: #effaf7;
  border-color: #8bd2c7;
}
.subpanel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}
.table-form { display: grid; gap: 8px; margin-top: 12px; }
.table-form h4 { margin: 0; font-size: 13px; color: var(--text); }
.bank-row, .source-row, .beneficial-row, .kkm-row, .experience-row {
  display: grid;
  gap: 8px;
  align-items: center;
}
.bank-row { grid-template-columns: 1fr 1fr 1fr 0.8fr 0.8fr 0.8fr; }
.source-row { grid-template-columns: 1.2fr 1fr 1fr; }
.beneficial-row { grid-template-columns: 1.3fr 1.1fr 0.9fr; }
.kkm-row { grid-template-columns: 1.2fr 0.7fr 1.1fr 1.1fr 1fr; }
.experience-row { grid-template-columns: 1.5fr 0.9fr 1fr; }
.source-row > span, .kkm-row > span { color: var(--text); font-size: 13px; font-weight: 750; }
.muted-row { opacity: 0.72; }
.table-form-header {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.support-upload { margin-top: 12px; }
.support-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.save-extra-row { margin-top: 14px; }
.hidden { display: none !important; }
.inline-options { display: flex; gap: 8px; margin: 10px 0 12px; }
.download-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.footer-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.result { color: var(--muted); font-size: 14px; }
.result a { color: var(--focus); font-weight: 800; }
.pdf-preview {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbfb;
}
.slim-heading { margin-bottom: 0; }
.pdf-preview-pages {
  display: grid;
  gap: 18px;
  max-height: 780px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e7edf1;
}
.pdf-page-preview {
  display: grid;
  gap: 8px;
  margin: 0 auto;
  max-width: min(100%, 980px);
}
.pdf-page-preview figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.pdf-page-preview img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 20;
}
.modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
}
.modal p { color: var(--muted); margin-top: 8px; line-height: 1.45; }
.guide-panel {
  padding: 0;
  overflow: hidden;
}
.guide-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.guide-document {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  color: var(--text);
}
.guide-header {
  margin-bottom: 22px;
}
.guide-header h2 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.guide-header p:not(.eyebrow),
.guide-document p {
  color: #344454;
  font-size: 14px;
  line-height: 1.58;
}
.guide-document section {
  margin-top: 20px;
  break-inside: avoid;
}
.guide-document h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}
.guide-form-list {
  margin: 8px 0 0;
  padding-left: 22px;
  color: #344454;
  font-size: 13px;
  line-height: 1.5;
}
.guide-ui-map,
.guide-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.guide-image-stack { grid-template-columns: 1fr; }
.guide-ui-map div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  display: grid;
  gap: 4px;
}
.guide-ui-map strong { color: var(--text); }
.guide-ui-map span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.guide-image-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.guide-image-grid img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
}
.guide-image-stack img { max-height: none; }
.guide-scan-sample {
  min-height: 310px;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
}
.guide-scan-sample span {
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
}
.guide-scan-sample i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: #dbe7ec;
}
.guide-scan-sample i:nth-child(2) { width: 86%; }
.guide-scan-sample i:nth-child(3) { width: 68%; }
.guide-scan-sample i:nth-child(4) { width: 76%; }
.guide-scan-sample i:nth-child(5) { width: 55%; }
.distorted-scan {
  transform: skewY(-2deg);
  border-left: 8px solid #f59e0b;
}
.clean-scan {
  border-left: 8px solid var(--accent);
}
.guide-image-grid figcaption {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  background: var(--soft);
}
@media print {
  @page {
    size: A4;
    margin: 18mm 16mm;
  }
  body {
    background: #fff !important;
  }
  body.printing-guide *,
  body.printing-dashboard * {
    visibility: hidden;
  }
  body.printing-guide #guideScreen,
  body.printing-guide #guideScreen * {
    visibility: visible;
  }
  body.printing-guide #guideScreen {
    display: block !important;
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
  }
  body.printing-dashboard #adminDashboardPrintArea,
  body.printing-dashboard #adminDashboardPrintArea * {
    visibility: visible;
  }
  body.printing-dashboard #adminDashboardPrintArea {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    color: #111827;
  }
  .no-print,
  .site-footer,
  .hero,
  .global-message,
  .update-banner,
  .guide-toolbar {
    display: none !important;
  }
  .shell,
  .guide-panel,
  .guide-document {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .guide-document p,
  .guide-form-list {
    font-size: 10.5pt;
  }
  .guide-header h2 {
    font-size: 18pt;
  }
  .guide-document h3 {
    font-size: 13pt;
  }
  .guide-image-grid img {
    max-height: 45mm;
  }
  body.printing-dashboard .dashboard-print-title {
    display: block;
    margin-bottom: 10mm;
  }
  body.printing-dashboard .dashboard-print-title h2 {
    margin: 0 0 2mm;
    font-size: 16pt;
  }
  body.printing-dashboard .dashboard-print-title p {
    margin: 0;
    font-size: 10pt;
  }
  body.printing-dashboard .dashboard-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 4mm;
    margin-bottom: 5mm;
  }
  body.printing-dashboard .dashboard-metrics div {
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 4mm;
  }
  body.printing-dashboard .table-scroll {
    overflow: visible;
    border: 0;
  }
  body.printing-dashboard .admin-table {
    min-width: 0;
    font-size: 8.5pt;
  }
  body.printing-dashboard .admin-table th,
  body.printing-dashboard .admin-table td {
    padding: 2.2mm;
    font-size: 8.5pt;
    border: 1px solid #d1d5db;
  }
  body.printing-dashboard .admin-table th {
    background: #f3f4f6;
  }
  body.printing-dashboard .small-button,
  body.printing-dashboard .small-link {
    display: none !important;
  }
}
@media (max-width: 920px) {
  .hero, .hero-actions, .footer-actions, .download-row, .app-topbar, .update-banner, .update-actions { align-items: stretch; flex-direction: column; }
  .workflow-steps { grid-template-columns: 1fr; }
  .auth-screen, .grid, .grid.compact, .grid.compact-login, .upload-grid, .action-grid, .selection-grid, .payment-grid, .account-summary, .license-box, .license-actions, .dashboard-metrics, .bank-row, .source-row, .beneficial-row, .kkm-row, .experience-row, .footer-links, .guide-ui-map, .guide-image-grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; }
  .auth-visual { min-height: 260px; }
  .supported-forms ol { columns: 1; }
}
