:root {
  --ink: #1a1f3a;
  --ink-soft: #4a5070;
  --paper: #ffffff;
  --page: #f4f6fa;
  --plate: #dfe4ee;
  --line: #cfd6e4;
  --pink: #ff4f86;
  /* (Under white text: the brand pink and mint are too light for it — 3.1:1 and 2.6:1; these pass
     WCAG AA's 4.5:1. The brand colours stay for accents, lines and icons.) */
  /* Type sizes: .8 / .88 / .95 / 1 / 1.05 / 1.15 / 1.25 / 1.35 rem for text; headings their own. */
  --pink-strong: #d6336f;
  --mint-strong: #12795a;
  --sun: #ffc233;
  --cobalt: #2b4fe0;
  --mint: #1fb488;
  --wa: #0f7a40;
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
/* No word left alone on a last line: headings and short labels balanced, running text evened out. */
h1, h2, h3, h4, summary, figcaption, .btn, th, td { text-wrap: balance; }
p, li, dd, dt, label { text-wrap: pretty; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-sm); z-index: 20; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2b335c; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6434; }
/* A button's icon: the same size as its text's capitals and a little more, the gap the button's own. */
.btn-i { flex: none; width: 1.25em; height: 1.25em; }

/* Sections: one rhythm for all of them. Each stands --sec from its edges; two in a row on the same
   ground (tone-page, tone-paper, tone-ink) read as one stretch, so the second drops its top padding and
   the line between them, and every gap on the page is --sec. */
:root { --sec: 56px; }
main > section { padding-block: var(--sec); }
.tone-page + .tone-page, .tone-paper + .tone-paper, .tone-ink + .tone-ink { padding-top: 0; border-top: 0; }
.tone-page:has(+ .tone-page), .tone-paper:has(+ .tone-paper), .tone-ink:has(+ .tone-ink) { border-bottom: 0; }
@media (max-width: 720px) { :root { --sec: 40px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { --g: 24px; display: flex; align-items: center; gap: var(--g); min-height: 68px; }
/* (The header's actions as one group: Sign up, Support, then a thin rule and the language, 8 px apart,
   the menu's wider gap kept before them. While the menu shows in the header only.) */
@media (min-width: 981px) {
  .top-in > .btn-help { position: relative; margin-left: calc(8px - var(--g)); }
  .top-in > .lang-switch { margin-left: calc(17px - var(--g)); }
  .top-in > .btn-help::after { content: ''; position: absolute; right: -10px; top: 9px; bottom: 9px; width: 1.5px; border-radius: 1px; background: var(--line); }
}
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 10px 0; margin: -10px 0; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; }
.brand b { font-weight: 800; color: var(--pink); }
.brand-mark { display: grid; gap: 2.5px; width: 26px; }
.brand-mark i { display: block; height: 6px; border-radius: 3px; background: var(--ink); }
.brand-mark i:nth-child(1) { width: 60%; margin-inline: auto; background: var(--pink); }
.brand-mark i:nth-child(2) { width: 82%; margin-inline: auto; background: var(--sun); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-calc, .nav .nav-sim, .nav .nav-vz { display: inline-flex; align-items: center; gap: 6px; }
.nav-i { width: 17px; height: 17px; flex: none; }
/* The language switch: at the header's far end, a globe then both languages, the page's own filled, as
   tall as the buttons beside it; on phones it moves into the menu (shared.js copies the other there). */
.lang-switch { display: flex; align-items: center; gap: 2px; flex: none; order: 1; height: 40px; padding: 3px 3px 3px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.lang-switch::before, .nav .nav-lang::before { content: ''; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lang-switch::before { margin-right: 6px; background: var(--ink-soft); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 100%; padding: 0 10px; border-radius: 999px; text-decoration: none; font: 700 .88rem/1 var(--body); letter-spacing: .02em; color: var(--ink-soft); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--paper); }
.nav .nav-lang { display: none; }
.nav-toggle { order: 2; }
/* The menu button, for phones (shown only when scripts run: without them the menu stays hidden there). */
.narrow-only { display: none; }
.nav-toggle { display: none; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding-top: 64px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.layered {
  font-size: clamp(2.9rem, 7.4vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .98;
}
.layered span {
  display: block; width: fit-content;
  /* Fine stripes across the letters: the layer lines of a print. */
  background: repeating-linear-gradient(180deg, var(--ink) 0 .085em, #39406a .085em .1em);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: print .8s steps(16, end) both;
}
.layered span:nth-child(2) { animation-delay: .15s; }
.layered span:nth-child(3) {
  animation-delay: .3s;
  background-image: repeating-linear-gradient(180deg, var(--pink) 0 .085em, #ff7aa3 .085em .1em);
}
/* (Phones: the longest line, "lapis, buat kamu.", about 7.4 em wide, kept on one line.) */
@media (max-width: 560px) { .layered { font-size: calc((100vw - 40px) / 7.6); } }
@keyframes print { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-10% 0 -10% 0); } }
.lead { margin-top: 26px; font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* (The way into the generator, under a section's words.) */
.gen-open { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
/* (A second way, beside the pink one, on the dark ground.) */
.btn-ghost-ink { background: transparent; color: var(--paper); border: 2px solid #5a6390; }
.btn-ghost-ink:hover { border-color: var(--paper); }

.bed { margin: 0; }
.bed-plate {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 10% 10%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 10% 10%,
    var(--plate);
  border: 2px solid var(--ink);
  box-shadow: 0 14px 0 -6px var(--ink);
}
.bed-plate::after { content: ''; position: absolute; top: 14px; right: 24px; width: 26%; height: 5px; border-radius: 3px; background: var(--ink); opacity: .55; }
.bed-obj { position: absolute; color: var(--ink); }
.bed-obj svg { width: 100%; height: 100%; }
.o1 { --f: var(--pink); left: 9%; top: 12%; width: 44%; }
.o2 { --f: var(--cobalt); right: 9%; top: 20%; width: 34%; }
.o3 { --f: var(--mint); left: 12%; bottom: 8%; width: 40%; }
.o4 { --f: var(--sun); right: 10%; bottom: 14%; width: 32%; transform: rotate(-12deg); }
.bed figcaption { margin-top: 22px; font-size: .88rem; color: var(--ink-soft); }
.f { fill: var(--f, var(--pink)); }

/* Three ways */
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
/* The generator first and widest; trying it and the print service beside it. */
.ways-gen { grid-template-columns: 1.4fr 1fr 1fr; }
.way-main h3 { font-size: 1.8rem; }
.way {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg);
  text-decoration: none; border: 2px solid var(--ink); background: var(--paper); transition: transform .15s ease;
}
.way:hover { transform: translateY(-3px); }
.way h3 { font-size: 1.55rem; font-weight: 700; }
.way p { color: var(--ink-soft); flex: 1; }
/* (A card's price: a quiet tinted label in its card's colour, not a button.) */
.way-price { margin-top: 16px; font-weight: 700; font-size: .88rem; line-height: 1.4; align-self: flex-start; padding: 7px 16px; border-radius: 999px; }
.way-sun .way-price { background: #fff1c9; color: #6b4e08; }
.way-pink .way-price { background: #ffe3ec; color: #b0144f; }
.way-cobalt .way-price { background: #e6ebfc; color: #1f3bb3; }

/* Catalogue */
/* A section's heading with its text right under it, both from the left edge. */
.sec-head { display: grid; gap: 14px; }
.sec-head p { max-width: 42em; font-size: 1.05rem; color: var(--ink-soft); }
.price { font-weight: 700; font-size: 1.05rem; }
.price small { font-weight: 500; font-size: .8rem; color: var(--ink-soft); }
.acc-pink { --f: var(--pink); --tint: #ffe1ea; }
.acc-sun { --f: var(--sun); --tint: #fff0c7; }
.acc-cobalt { --f: var(--cobalt); --tint: #dfe6ff; }
.acc-mint { --f: var(--mint); --tint: #d5f4ea; }
.note { margin-top: 22px; font-size: .88rem; color: var(--ink-soft); }

/* Print service */
.service-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lead-sm { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-radius: 2px; background: var(--pink); box-shadow: 0 5px 0 var(--sun); }
.rate { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px; }
.rate table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.rate caption { text-align: left; font: 700 1.35rem/1.2 var(--display); margin-bottom: 12px; }
.rate th, .rate td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.rate td { text-align: right; font-weight: 700; white-space: nowrap; }
.rate .btn { width: 100%; }

/* Generator plans */
.gen { background: var(--ink); color: var(--paper); }
.gen .sec-head p { color: #c3c8de; }
.link-on-ink { color: var(--sun); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.plan { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-md); border: 1.5px solid #3a4268; background: #222848; }
.plan h3 { font-size: 1.25rem; font-weight: 700; }
.plan-price { margin-top: 10px; font: 800 1.9rem/1.1 var(--display); letter-spacing: -.02em; }
.plan-price small { font: 500 .88rem var(--body); color: #c3c8de; margin-left: 4px; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; align-content: start; gap: 8px; color: #dde1f0; font-size: .95rem; flex: 1; }
.plan li { padding-left: 18px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; border-radius: 2px; background: var(--sun); }
.plan .btn-ghost { border-color: #c3c8de; color: var(--paper); }
.plan .btn-ghost:hover { background: #2e3560; }
.plan-year { margin-top: 4px; font-size: .88rem; color: #c3c8de; }
.plans-2 { grid-template-columns: repeat(2, 1fr); }
.plans-note { margin-top: 20px; color: #c3c8de; font-size: .95rem; }
.plan-main { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan-main .plan-price small, .plan-main .plan-year { color: var(--ink-soft); }
.plan-main ul { color: var(--ink-soft); }
.plan-main li::before { background: var(--pink); }

/* Steps */
.step-list { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step-list li { counter-increment: s; padding: 0 22px 0 0; position: relative; }
.step-list li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); font: 800 1.15rem/1 var(--display); margin-bottom: 18px; position: relative; z-index: 1;
}
.step-list li::after { content: ''; position: absolute; top: 21px; left: 44px; right: 0; border-top: 2px dashed var(--line); }
.step-list li:last-child::after { display: none; }
.step-list h3 { font-size: 1.25rem; font-weight: 700; }
.step-list p { margin-top: 6px; color: var(--ink-soft); font-size: .95rem; max-width: 22em; }

/* Order */
.order-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.order-side > p { margin-top: 12px; color: var(--ink-soft); }
.pay-banks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-banks li { padding: 3px 10px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; }
.pay-safe { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: #fff0c7; font-size: .88rem; color: var(--ink) !important; }
.pay-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pay-pick legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 6px; width: 100%; }
.pay-pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 500; cursor: pointer; }
.pay-pick input { width: 18px; height: 18px; accent-color: var(--ink); }
.form { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form h3 { font-size: 1.35rem; font-weight: 700; }
.form-hint { margin-top: -10px; color: var(--ink-soft); font-size: .95rem; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--page); font: 500 1rem/1.4 var(--body); color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px #2b4fe033; }
.form-error { color: #c3123f; font-weight: 600; min-height: 1.4em; margin-top: -6px; }

/* FAQ */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--display); color: var(--pink); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 40em; }

/* Footer */
.foot { padding: 40px 0; background: var(--page); border-top: 1px solid var(--line); }
/* Two columns: the brand, its line and the copyright stacked on the left; the links on the right, held
   to its edge however many there are. */
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "brand nav" "tag nav" "small nav"; column-gap: 40px; row-gap: 6px; align-items: start; }
.foot-in > .brand { grid-area: brand; }
.foot-in > p { color: var(--ink-soft); grid-area: tag; }
.foot-nav { grid-area: nav; align-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; }
.foot-nav a { font-weight: 600; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-in > .foot-small { grid-area: small; font-size: .88rem; margin-top: 4px; }

@media (max-width: 960px) {
  .hero-in, .service-in, .order-in, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .bed { max-width: 460px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step-list li:nth-child(2)::after { display: none; }
}
@media (max-width: 1180px) {
  /* Under 1180 px the menu, both header buttons and their names no longer fit in one row: the
     generator and support buttons become their icons alone (their names kept for screen readers). */
  .top-in .btn-help, .top-in .btn-gen { flex: none; width: 44px; padding: 0; }
  .top-in .btn-help span, .top-in .btn-gen span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .top-in .btn-help .btn-i, .top-in .btn-gen .btn-i { width: 20px; height: 20px; }
}
@media (max-width: 960px) {
  .top-in { --g: 14px; }
  .nav { gap: 14px; }
}
@media (max-width: 980px) {
  /* Under 980 px (with the Simulasi item) the header's menu no longer fits in one row: the menu button opens it instead. */
  .nav { display: none; }
  .top-in { gap: 10px; }
  /* (The language in the menu instead; without scripts, no menu: it stays in the header.) */
  .js .lang-switch { display: none; }
  .js .top-in .brand { margin-right: auto; }
  .js .nav-toggle { display: grid; }
  /* The open menu: a list under the header. */
  .top.open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto; padding: 4px 16px 12px; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .top.open .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .top.open .nav .nav-calc, .top.open .nav .nav-sim, .top.open .nav .nav-vz, .top.open .nav .nav-lang { display: flex; gap: 8px; }
  .top.open .nav .nav-lang { font: 600 1.05rem/1.2 var(--body); letter-spacing: 0; }
  .top.open .nav > :last-child, .top.open .nav > :last-child a { border-bottom: 0; }
}
@media (max-width: 720px) {
  .top-in .brand { font-size: 1.15rem; gap: 9px; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .hero { padding-top: 40px; }
  .ways-grid, .plans, .step-list { grid-template-columns: 1fr; }
  .step-list li::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .form, .rate { padding: 22px 18px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "tag" "nav" "small"; }
  .foot-nav { justify-content: flex-start; margin-top: 8px; }
}
@media (max-width: 400px) {
  /* Brand, language switch, WhatsApp and menu still in one row inside the gutters. */
  .top-in { gap: 8px; }
  .top-in .brand { font-size: 1.05rem; gap: 8px; }
}
@media (max-width: 359px) {
  /* The smallest phones: the header keeps the brand and the menu button only. */
  .top-in .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layered span { animation: none; }
  .way, .btn, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: none; }
}

/* The generator: its steps, advantages, the product picker and the printers (once its own page). */

.acc-pink { --f: var(--pink); --tint: #ffe1ea; }
.acc-sun { --f: var(--sun); --tint: #fff0c7; }
.acc-cobalt { --f: var(--cobalt); --tint: #dfe6ff; }
.acc-mint { --f: var(--mint); --tint: #d5f4ea; }
.f { fill: var(--f, var(--pink)); }

/* The generator's steps, in order. */
.flow { list-style: none; counter-reset: f; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.flow li { counter-increment: f; position: relative; padding: 18px 18px 20px; border-right: 1.5px dashed var(--line); }
.flow li:last-child { border-right: 0; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--plate); font: 800 .95rem/1 var(--display); margin-bottom: 12px; }
.flow b { display: block; font: 700 1.15rem/1.2 var(--display); }
.flow span { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-soft); }
.flow .flow-end { background: var(--ink); color: var(--paper); }
.flow .flow-end::before { background: var(--pink-strong); color: #fff; }
.flow .flow-end span { color: #c3c8de; }

/* Advantages: five groups, each its heading on the left and its points in two columns. */
.features { background: var(--paper); border-block: 1px solid var(--line); }
.adv { display: grid; grid-template-columns: 260px 1fr; gap: 16px 28px; padding: 28px 0; border-top: 1.5px dashed var(--line); }
.adv-head { margin-top: 48px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.adv:first-of-type { margin-top: 20px; }
.adv h3 { display: flex; align-items: center; gap: 12px; align-self: start; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.adv svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.adv ul { list-style: none; margin: 0 0 -20px; padding: 0; columns: 2; column-gap: 28px; }
/* (Columns, not a grid: an odd count ends one column short instead of leaving an item alone on a row.) */
.adv li { break-inside: avoid; padding-bottom: 20px; font-size: .95rem; color: var(--ink-soft); }
.adv li b { display: block; margin-bottom: 4px; font: 700 1.05rem/1.3 var(--display); color: var(--ink); }
/* The preview's bed marks: amber and dark, diagonal. */
.stripe { display: inline-block; vertical-align: -2px; width: 28px; height: 14px; margin-left: 6px; border-radius: 3px; background: repeating-linear-gradient(-45deg, #ffb000 0 4px, #282014 4px 8px); }

/* Product picker */
.ex { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.ex-rail { display: grid; gap: 4px; position: sticky; top: 88px; }
.ex-group { margin: 14px 0 4px 12px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.ex-group:first-child { margin-top: 0; }
.ex-tab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 12px 6px 6px; border: 0; border-radius: var(--r-sm); background: transparent; font: 600 .95rem/1.2 var(--body); color: var(--ink); text-align: left; cursor: pointer; }
.ex-tab:hover { background: var(--paper); }
.ex-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ex-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); color: var(--ink); }
.ex-icon svg { width: 24px; }
.panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px; }
.js .panel { display: none; }
.js .panel.on { display: block; }
/* (Wide screens: the product's card as tall as the list beside it, its way to the generator at the foot —
   the two columns end together, whatever the product.) */
@media (min-width: 961px) {
  .js .ex-panels { align-self: stretch; display: flex; flex-direction: column; }
  .js .panel.on { display: flex; flex-direction: column; flex: 1; }
}
.panel-cta { margin: auto 0 0; padding-top: 22px; display: flex; justify-content: flex-end; }
.panel + .panel { margin-top: 16px; }
.js .panel + .panel { margin-top: 0; }
.panel header { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: center; padding-bottom: 22px; border-bottom: 1.5px dashed var(--line); }
.panel-icon { grid-row: span 2; display: grid; place-items: center; width: 84px; height: 84px; border-radius: var(--r-md); background: var(--tint); color: var(--ink); }
.panel-icon svg { width: 58px; }
.panel h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.panel header p { color: var(--ink-soft); }
/* The designs sold for good only with Gold: a crown on their tab and a note under their name. */
.ex-crown { margin-left: auto; display: grid; place-items: center; }
.ex-crown svg, .gold-note svg { width: 14px; height: 12px; fill: #d9a520; flex: none; }
.ex-tab[aria-selected="true"] .ex-crown svg { fill: #ffc233; }
.panel header .gold-note { grid-column: 1 / -1; justify-self: stretch; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: var(--r-sm); background: #fff4d6; color: #6b4e08; font-size: .88rem; font-weight: 500; line-height: 1.4; }
.panel header .gold-note b { font-weight: 800; color: #4a3500; }
.panel dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; }
.panel dt { padding: 18px 0; font: 700 1rem/1.4 var(--display); border-bottom: 1px solid var(--line); }
.panel dd { margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.panel dt:last-of-type, .panel dd:last-of-type { border-bottom: 0; }
.panel dd span { padding: 6px 12px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }

/* Each product's pictures: the chosen one large, the others in a column on its right (a click swaps
   them in). The column is 20% − 12px wide, so four of them and their gaps stand as tall as the large
   one; the last row takes the large one's caption. */
.shots { display: grid; grid-template-columns: 1fr calc(20% - 12px); grid-template-rows: repeat(4, min-content) 1fr; gap: 12px; margin: 22px 0 8px; }
.shot { margin: 0; grid-column: 2; }
.shot:first-child { grid-column: 1; grid-row: 1 / -1; }
.shot:not(:first-child) figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* (A picture in the slider is only shown: no link, a click does nothing.) */
.shot .pic { display: block; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--line); background: var(--plate); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.shot figcaption { margin-top: 6px; font-size: .88rem; color: var(--ink-soft); line-height: 1.35; }
.shot:first-child figcaption { font-size: .95rem; font-weight: 600; color: var(--ink); }
.shot:not(:first-child) a { transition: border-color .15s ease; }
.shot:not(:first-child) a:hover { border-color: var(--ink); }

/* Under each product's pictures: every option the generator has for it. */
.opts-h { margin: 22px 0 4px; padding-top: 18px; border-top: 1.5px dashed var(--line); font: 700 1.15rem/1.3 var(--display); }

/* Printers */
.printer { background: var(--paper); border-block: 1px solid var(--line); }
.printer-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.lead-sm { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); max-width: 30em; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; }
.specs li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs li:first-child { padding-top: 4px; }
.specs b { font: 700 1.05rem/1.4 var(--display); }
.specs span { color: var(--ink-soft); }

/* Plans and the last call */
.gen .h2 { color: var(--paper); }
.end-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid #3a4268; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.end-cta p { color: #dde1f0; font-size: 1.15rem; max-width: 30em; }
.end-cta .hero-cta { margin-top: 0; }
.btn-pink { background: var(--pink-strong); color: #fff; }
.btn-pink:hover { background: #c02a62; }
.btn-ghost-light { border-color: #c3c8de; color: var(--paper); }
.btn-ghost-light:hover { background: #2e3560; }

@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3) { border-right: 0; }
  .flow li:nth-child(-n+3) { border-bottom: 1.5px dashed var(--line); }
  .adv { grid-template-columns: 1fr; }
  .ex { grid-template-columns: 1fr; }
  .ex-rail { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .ex-group { display: none; }
  .ex-tab { width: auto; flex: none; border: 1.5px solid var(--line); background: var(--paper); }
  .printer-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li { border-right: 0; border-bottom: 1.5px dashed var(--line); }
  .flow li:nth-child(odd) { border-right: 1.5px dashed var(--line); }
  .flow li:nth-last-child(-n+2) { border-bottom: 0; }
  .adv ul { columns: 1; }
  .panel { padding: 20px 16px; }
  .panel header { grid-template-columns: 1fr; }
  .panel-icon { grid-row: auto; width: 64px; height: 64px; }
  .panel-icon svg { width: 44px; }
  .panel dl { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; gap: 8px; }
  .shot { grid-column: auto; }
  .shot:first-child { grid-column: 1 / -1; grid-row: auto; }
  .panel dt { padding: 14px 0 0; border-bottom: 0; }
  .specs li { grid-template-columns: 1fr; gap: 2px; }
}

/* The pricing page (harga/): the plans on ink up top, then what each one gets in a table, what each
   is for, and which may sell the prints. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plan h2 { font-size: 1.25rem; font-weight: 700; }
.price-top { padding-top: 80px; }
.price-top .h2 { color: var(--paper); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--pink); }

.compare-scroll { margin-top: 32px; overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--paper); }
.compare-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
/* (Fixed: the row label a third, the plans sharing the rest evenly, a long cell wrapping in its own.) */
.compare-table thead td:first-child { width: 28%; }
.compare-2 { min-width: 0; }
/* (A row naming several designs: them listed under it.) */
.cell-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-weight: 500; color: var(--ink-soft); }
.cell-list li { position: relative; padding-left: 16px; }
.cell-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.compare-2 thead td:first-child { width: 50%; }
/* (Four plans: the row label a quarter, each plan's cell wide enough for its longest licence words.) */
.compare-4 thead td:first-child { width: 26%; }
/* The annual plan's lifetime licence (harga/): what it covers on the left, a worked case on ink on the right. */
.lifetime-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.lifetime-copy .lead-sm { max-width: 38em; }
.lifetime-terms { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lifetime-terms > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lifetime-terms dt { font-weight: 700; }
.lifetime-terms dd { margin: 0; color: var(--ink-soft); }
.lifetime-case { padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); }
.lifetime-case h4 { font-size: 1.15rem; font-weight: 700; }
.lifetime-steps { list-style: none; counter-reset: lt; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.lifetime-steps li { counter-increment: lt; position: relative; padding-left: 44px; color: #c3c8de; font-size: .95rem; }
.lifetime-steps li::before { content: counter(lt); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font: 800 .95rem/1 var(--display); }
.lifetime-steps b { display: block; color: var(--paper); margin-bottom: 2px; }
@media (max-width: 960px) { .lifetime-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 560px) { .lifetime-terms > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .plans { grid-template-columns: minmax(0, 1fr); } .lifetime-case { padding: 22px; } }
@media (max-width: 720px) { .compare-2 { font-size: .88rem; } .compare-2 thead td:first-child { width: 38%; } .compare-2 th, .compare-2 td { padding-left: 8px; padding-right: 8px; } .compare-2 td { font-size: .8rem; overflow-wrap: break-word; } }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font: 700 1.15rem/1.2 var(--display); padding-top: 20px; }
.compare-table tbody th { font-weight: 600; width: 34%; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table .group th { padding: 13px 16px 13px 20px; font: 700 1.05rem/1.2 var(--display); letter-spacing: -.01em; color: var(--paper); background: var(--ink); border-bottom: 0; box-shadow: inset 4px 0 0 var(--pink); }
.compare-table .col-main { background: #fff1f6; }
.compare-table thead .col-main { box-shadow: inset 0 4px 0 var(--pink); }
/* The features' column apart from the plans': the page's grey and a soft line on its right; a thin
   line between Silver and Gold. */
.compare-table thead td:first-child, .compare-table tbody th[scope='row'] { background: var(--page); border-right: 1.5px solid #b7c0d3; }
.compare-table .col-main { border-left: 1px solid var(--line); }
.compare-table .y, .compare-table .n { font-weight: 600; }
.compare-table .y::before, .compare-table .n::before { display: inline-block; width: 1.1em; margin-right: 6px; font: 800 1.05rem/1 var(--display); text-align: center; }
.compare-table .y::before { content: '✓'; color: var(--mint); }
.compare-table .n { color: var(--ink-soft); font-weight: 500; }
.compare-table .n::before { content: '×'; color: var(--pink); font-size: 1.35rem; vertical-align: -1px; }


.license-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.license-in > .license-lists { grid-column: span 2; }
/* (The pricing page's FAQ on the same three columns: the title in the first, the questions over the other two.) */
.faq-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-3 > .faq-list { grid-column: span 2; }
.faq-3 > h2 { padding-right: 32px; }
.license-in > div:first-child { padding-right: 32px; }
.license-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.license-lists > div { padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 2px solid var(--ink); }
.license-lists h3 { font-size: 1.15rem; font-weight: 700; }
.license-lists ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.license-lists li { position: relative; padding-left: 26px; }
.license-lists li::before { position: absolute; left: 0; top: 0; font: 800 1rem/1.5 var(--display); }
.license-yes li::before { content: '✓'; color: var(--mint); }
.license-lists > .license-no { border-color: var(--line); }
.license-no li::before { content: '×'; color: var(--pink); font-size: 1.25rem; line-height: 1.2; }

@media (max-width: 960px) {
  .license-in { grid-template-columns: 1fr; gap: 24px; }
  .license-in > .license-lists { grid-column: auto; }
  .faq-3 { grid-template-columns: 1fr; gap: 24px; }
  .faq-3 > .faq-list { grid-column: auto; }
  .faq-3 > h2 { padding-right: 0; }
  .license-in > div:first-child { padding-right: 0; }
}
@media (max-width: 720px) {
  .license-lists { grid-template-columns: 1fr; }
  .compare-table tbody th { width: auto; min-width: 200px; }
}

/* The payment confirmation page (konfirmasi/): what to do on the left, the form on the right. */
.confirm-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.confirm-copy > p { margin-top: 14px; color: var(--ink-soft); max-width: 46ch; }
.confirm-steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.confirm-steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--ink-soft); }
.confirm-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 800 .95rem/1 var(--display); }
.confirm-steps b { display: block; color: var(--ink); }
.confirm-pay { margin-top: 28px; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.confirm-pay h2 { font-size: 1.05rem; font-weight: 700; }
.confirm-more { margin-top: 18px; }
.price-note { color: var(--ink-soft); font-weight: 500; }
.proof-pick { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-sm, 10px); }
.proof-pick > div { display: grid; gap: 6px; min-width: 0; }
.proof-pick input[type='file'] { font-size: .88rem; max-width: 100%; }
.proof-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.proof-thumb[hidden] { display: none; }
.proof-hint, .field-hint { margin-top: 0; font-size: .88rem; }
.confirm-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirm-done { align-content: start; }
/* (A form or its thank-you panel hidden: .form's grid would show it otherwise.) */
.form[hidden] { display: none; }
.confirm-done p { color: var(--ink-soft); }
.confirm-done .btn { justify-self: start; }
.order-done { border-color: var(--mint); }
.order-done .order-done-help { font-size: .95rem; }
.order-done a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#confirm-form .btn-pink { justify-self: start; }
@media (max-width: 960px) { .confirm-in { grid-template-columns: 1fr; gap: 32px; } }

/* QRIS, the one way to pay: its code in the confirmation and pay pages' boxes. */
.qris-img { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 14px; }
.confirm-pay .qris-img { margin: 14px auto; }

/* The order page (order/): the plan as two cards to pick, what the total is made of. */
.form-h { font-size: 1.35rem; font-weight: 700; }
#order-form .btn-pink, #proof-form .btn-pink, #support-form .btn-pink { justify-self: start; }
.plan-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-pick legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 6px; }
.plan-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.plan-pick label:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-pick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.plan-pick span { display: grid; }
.plan-pick small { color: var(--ink-soft); font-size: .88rem; }
.order-sum { color: var(--ink-soft); font-size: .95rem; margin-top: -4px; }
.order-sum span { color: var(--ink); font-weight: 700; }
@media (max-width: 420px) { .plan-pick { grid-template-columns: 1fr; } }

/* An order's pay page (bayar/): the total, time left and QRIS on a card, the proof form beside it;
   a run-out or finished order as a short message. */
.pay-wait { color: var(--ink-soft); }
.pay-state[hidden], #proof-form[hidden], .pay-wait[hidden] { display: none; }
.pay-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pay-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px; }
.pay-card .h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pay-facts { margin: 18px 0 0; display: grid; gap: 4px; }
.pay-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pay-facts dt { color: var(--ink-soft); }
.pay-facts dd { margin: 0; font-weight: 600; text-align: right; }
.pay-total { margin-top: 20px; text-align: center; }
.pay-total > p:first-child { color: var(--ink-soft); font-size: .95rem; }
.pay-amount { font: 800 clamp(2.2rem, 6vw, 3rem)/1.15 var(--display); letter-spacing: -.01em; margin: 4px 0 8px; }
.pay-amount mark { background: var(--pink); color: var(--paper); border-radius: 8px; padding: 0 .12em; margin-left: .04em; }
.pay-note { color: var(--ink-soft); font-size: .88rem; max-width: 40ch; margin: 0 auto; }
.pay-clock { margin-top: 16px; text-align: center; color: var(--ink-soft); }
.pay-clock b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.pay-card .qris-img { margin: 16px auto 0; }
.pay-card .pay-safe { text-align: center; }
.pay-narrow { max-width: 640px; }
.pay-narrow > p { margin-top: 14px; color: var(--ink-soft); }
.pay-narrow > p b { color: var(--ink); }
.pay-late-box { margin-top: 32px; padding-top: 24px; border-top: 1.5px solid var(--line); }
.pay-late-box h2 { font-size: 1.35rem; font-weight: 700; }
.pay-late-box > p { margin: 8px 0 16px; color: var(--ink-soft); }
@media (max-width: 960px) { .pay-in { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .pay-card { padding: 22px 18px; } }

/* Signing up (home #daftar): the steps and the two plans' buttons; prints and questions on WhatsApp beside. */
.order-side .confirm-steps { margin-top: 24px; }
.daftar-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.daftar-more { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.daftar-wa { align-content: start; }
.daftar-wa p { color: var(--ink-soft); }
.daftar-wa .btn { justify-self: start; }
.daftar-wa .daftar-ig { font-size: .95rem; margin: 0; }
.daftar-wa .daftar-ig a { overflow-wrap: anywhere; }

/* The pay page's plan: what was bought, its price, how long it lasts, what it gives. */
.pay-plan { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--page); }
.pay-plan h2 { font-size: 1.05rem; font-weight: 700; }
.pay-plan .pay-facts { margin-top: 8px; }
.pay-plan .pay-facts div:last-child { border-bottom: 0; }
.pay-gives { margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: .95rem; display: grid; gap: 4px; }
.pay-split { color: var(--ink-soft); font-size: .88rem; margin: -4px 0 8px; }

/* The support form's characters left, red near the end. */
.detail-count.near { color: #c3123f; font-weight: 600; }

/* The robot check above a form's button. */
.captcha { min-height: 65px; }

/* The pay page's word that its link went by email too: loud just after ordering, quiet after. */
.pay-sent-note { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: #e6f7ef; border: 1.5px solid var(--mint); color: var(--ink); }
.pay-sent-note[hidden] { display: none; }
.pay-sent-quiet { background: transparent; border: 0; padding: 0; color: var(--ink-soft); font-size: .95rem; }

/* The pay page in two steps while it may be paid: 1, the amount and the QRIS with Next, on one screen;
   2, the proof of payment. Kept small so neither needs scrolling on a laptop. */
.confirm:has(#pay-live:not([hidden])) { padding-block: 20px 40px; }
.pay-steps { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0 auto 14px; padding: 0; max-width: 420px; }
.pay-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); font-weight: 600; font-size: .88rem; }
.pay-steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--page); color: var(--ink); font-size: .8rem; font-weight: 700; }
.pay-steps li[aria-current] { border-color: var(--ink); color: var(--ink); }
.pay-steps li[aria-current] span { background: var(--pink-strong); color: #fff; }
.pay-steps li.done span { background: var(--mint-strong); color: #fff; }
.pay-step { max-width: 560px; margin: 0 auto; }
.pay-step-wide { max-width: 780px; }
.pay-step[hidden] { display: none; }
.pay-compact { padding: 20px 24px; }
.pay-h { font: 700 1.15rem/1.3 var(--display); margin: 0 0 14px; }
.pay-h small { font: 500 .95rem var(--body, inherit); color: var(--ink-soft); }
.pay-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "qr amt" "qr act"; gap: 6px 28px; align-items: start; }
.pay-amt { grid-area: amt; }
.pay-qr { grid-area: qr; }
.pay-act { grid-area: act; }
.pay-lead { margin: 0; font-weight: 600; font-size: .95rem; }
.pay-compact .pay-amount { font-size: 2.1rem; margin: 2px 0 4px; }
.pay-compact .pay-split { margin: 0 0 6px; font-size: .88rem; }
.pay-compact .pay-note { margin: 0; max-width: none; font-size: .88rem; }
.pay-compact .pay-clock { margin: 8px 0 0; text-align: left; font-size: .88rem; }
.pay-compact .pay-clock b { font-size: 1rem; }
.pay-compact .pay-clock > span { color: var(--ink-soft); }
.pay-qr .qris-img { width: 100%; max-width: 220px; margin: 0; }
.pay-qr .pay-safe { margin-top: 8px; padding: 6px 10px; font-size: .8rem; text-align: center; }
.pay-next { display: flex; width: 100%; justify-content: center; margin-top: 4px; }
.pay-mail-note { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r-sm, 10px); background: #eef3ff; border: 1px solid #c9d6f5; color: var(--ink-soft); font-size: .8rem; line-height: 1.45; }
.pay-mail-note b { color: var(--ink); }
.pay-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .88rem; }
.pay-more summary { cursor: pointer; font-weight: 600; color: var(--ink-soft); }
.pay-more .pay-facts { margin-top: 8px; }
.pay-more .pay-facts div { padding: 4px 0; }
.pay-compare { margin: 10px 0 0; }
.pay-compare .btn { padding: 7px 16px; font-size: .88rem; min-height: 0; }
@media (max-width: 720px) {
  .pay-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "amt" "qr" "act"; gap: 12px; text-align: center; }
  .pay-compact { padding: 16px; }
  .pay-compact .pay-clock { text-align: center; }
  .pay-qr .qris-img { max-width: 200px; margin: 0 auto; }
  .pay-compact .pay-clock > span { display: none; }
  .pay-compact .pay-note { font-size: .8rem; }
  .pay-h { font-size: 1.05rem; margin-bottom: 10px; }
  .pay-qr .pay-safe { max-width: 260px; margin-inline: auto; }
  .pay-mail-note { text-align: left; }
}
.pay-mini { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 8px 16px; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; font-size: .88rem; }
.pay-mini p { margin: 0; }
.pay-mini-h { color: var(--ink-soft); }
.pay-mini-total b { font-size: 1.15rem; font-weight: 800; }
.pay-mini-total mark { background: var(--pink-strong); color: #fff; border-radius: 5px; padding: 0 3px; }
.pay-mini-clock { color: var(--ink-soft); }
#pay-step2 .form { padding: 16px 20px; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
#pay-step2 .form > * { grid-column: 1 / -1; }
#pay-step2 .form > .captcha, #pay-step2 .form > .btn { grid-column: auto; }
#pay-step2 .form > .btn { justify-self: end; }
#pay-step2 .form-h { font-size: 1.05rem; }
#pay-step2 .proof-tip { display: none; }
#pay-step2 .field { gap: 4px; }
#pay-step2 .proof-pick { padding: 6px 8px; }
#pay-step2 .proof-pick input[type='file'] { padding: 6px 8px; }
#pay-step2 .proof-hint { font-size: .8rem; }
#pay-step2 .field textarea { min-height: 0; height: 56px; }
#pay-step2 .form-error:empty { display: none; }
@media (max-width: 560px) { #pay-step2 .form > .captcha, #pay-step2 .form > .btn { grid-column: 1 / -1; } #pay-step2 .form > .btn { justify-self: stretch; } }
.pay-back { margin: 10px 0 0; text-align: center; }
.pay-back .link-btn { border: 0; background: none; padding: 6px 4px; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.license .lead-sm strong { color: var(--ink); }
.license .lead-sm { max-width: none; }
.license-in.lic-file { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lic-file > .license-lists { grid-column: auto; }
.lic-file > div:first-child { padding-right: 0; max-width: 52em; }
/* (The lifetime licence under the rules, in the same section.) */
.lic-life { margin-top: 56px; padding-top: 48px; border-top: 1.5px dashed var(--line); }

/* The page for a missing address (404.html): the shop's mark with its middle layer missing, the ways on. */
.nf { padding: clamp(48px, 9vw, 110px) 0; }
.nf-in { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.nf-mark { margin: 0; display: grid; gap: 14px; width: 100%; max-width: 240px; justify-self: center; }
.nf-mark i { display: block; height: 44px; border-radius: 22px; }
.nf-mark i:nth-child(1) { width: 56%; margin-inline: auto; background: var(--pink); }
.nf-mark i.gap { width: 78%; margin-inline: auto; border: 3px dashed var(--line); }
.nf-mark i:nth-child(3) { background: var(--ink); }
.nf-code { font: 800 .95rem/1 var(--display); color: #c02a62; letter-spacing: .02em; margin: 0 0 10px; }
.nf-copy > p:not(.nf-code) { margin-top: 14px; color: var(--ink-soft); max-width: 52ch; }
.nf-links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nf-links a { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none; }
.nf-links a:hover { border-color: var(--ink); }
.nf-links span { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 720px) { .nf-in { grid-template-columns: 1fr; } .nf-mark { max-width: 160px; } .nf-mark i { height: 30px; border-radius: 15px; } .nf-links { grid-template-columns: 1fr; } }

/* On a phone the header keeps the brand, language, support and the menu; the Daftar button
   moves into the menu (shared.js adds its link there). */
.nav-gen { display: none; }
@media (max-width: 440px) {
  .top-in .btn-gen { display: none; }
  .top.open .nav .nav-gen { display: block; color: var(--pink); }
}

/* The order form's kind (new, renewal or upgrade) above the plan: one under another, at any width. */
.kind-pick { margin-bottom: 4px; grid-template-columns: 1fr; }
.kind-pick label { padding: 10px 14px; }
.kind-pick span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.plan-pick label.off { opacity: .45; cursor: not-allowed; }

/* A long list in a comparison cell: two columns where there is room. */
.cell-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
@media (max-width: 720px) { .cell-list-2 { grid-template-columns: 1fr; } }

/* Where a page sits: home › this page, a thin line under the header (not on the home page). */
.crumbs-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--ink-soft); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '›'; margin: 0 8px; color: var(--line); font-weight: 700; }
.crumbs a { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* The set-password page (akun/): its box shows only the buttons that fit the link (the others hidden). */
#account-state [hidden], .calc [hidden] { display: none; }
#account-state .btn + .btn { margin-left: 8px; }

/* The cost calculator (kalkulator-hpp/): the inputs in groups on the left, the result held beside them
   on a dark card whose selling price is the one big number. */
.calc { padding: 36px 0 72px; }
.calc-head { display: grid; gap: 12px; margin-bottom: 28px; }
.calc-head p { color: var(--ink-soft); font-size: 1.05rem; }
/* (A phone: a smaller title and the line under it at text size, so the form comes up sooner.) */
@media (max-width: 600px) { .calc-head { gap: 8px; margin-bottom: 20px; } .calc-head .h2 { font-size: 1.75rem; } .calc-head p { font-size: .95rem; } }
.calc-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-form { gap: 16px; padding: 24px; }
/* (The robot check and Calculate side by side, the button as tall as the check; stacked on a phone.) */
.calc-go { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.calc-go .captcha { flex: none; min-height: 65px; }
.calc-go .btn { flex: 1 1 180px; min-height: 65px; justify-content: center; }
.calc-set { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.calc-set + .calc-set { border-top: 1px dashed var(--line); padding-top: 20px; }
.calc-set legend, .calc-more summary { font-family: var(--display); font-weight: 700; font-size: 1.15rem; padding: 0; margin-bottom: 4px; }
.calc-set .form-hint { margin-top: -4px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.calc-unit { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.calc-unit:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px #2b4fe033; }
.calc .field .calc-unit input { border: 0; box-shadow: none; min-width: 0; flex: 1; background: transparent; }
.calc-unit span { padding: 0 12px; color: var(--ink-soft); font-size: .88rem; white-space: nowrap; }
.calc-time .calc-unit span { padding: 0 10px 0 0; }
.calc-time .calc-unit input { padding-right: 6px; }
.calc-unit-pre span { padding-right: 0; }
.calc-time { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-checks { display: grid; gap: 8px; }
.calc-check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.calc-check input { width: 18px; height: 18px; accent-color: var(--pink); }
.calc-check b { margin-left: auto; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.calc-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.calc-more summary::-webkit-details-marker { display: none; }
.calc-more summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; font-size: .88rem; line-height: 1; }
.calc-more[open] summary::before { content: '–'; }
.calc-more[open] { gap: 14px; }
.calc-more .btn { justify-self: start; }
.calc-result { position: sticky; top: 96px; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }
.calc-result-h { font-family: var(--body); font-size: .95rem; font-weight: 600; color: #c3c8de; }
.calc-price { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.calc-price.is-empty { color: #6b73a0; }
.calc-price-sub { color: #c3c8de; min-height: 1.4em; }
.calc-lines { margin: 4px 0 0; display: grid; }
.calc-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #343b63; }
.calc-lines dt { color: #c3c8de; }
.calc-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-lines .calc-strong dt, .calc-lines .calc-strong dd { color: var(--paper); font-weight: 700; }
.calc-lines .calc-gain dd { color: #7fe3c3; }
.calc-lines [hidden] { display: none; }
.calc-formula { font-size: .88rem; color: #9aa1c2; }
.calc-form > .form-error { margin-top: -6px; }
.calc-form > .form-error:empty, .calc-formula:empty, .calc-copied:empty { display: none; }
.calc-result .btn { justify-self: start; }
/* The slicer guide: a pop-up on every page load (kalkulator.js). */
.calc-tip { position: fixed; inset: 0; margin: auto; width: min(460px, calc(100% - 32px)); height: fit-content; max-height: calc(100% - 32px); overflow: auto;
  display: grid; gap: 12px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: #fff6dc; border: 2px solid var(--sun);
  color: var(--ink); font-size: .95rem; line-height: 1.5; box-shadow: 0 18px 50px rgba(26, 31, 58, .25); }
.calc-tip:not([open]) { display: none; }
.calc-tip::backdrop { background: rgba(26, 31, 58, .45); }
.calc-tip h2 { margin: 0; padding-right: 36px; font: 700 1.15rem/1.3 var(--display); }
.calc-tip svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #b07a00; }
.calc-tip strong { display: block; margin-bottom: 2px; }
.calc-tip-item { display: flex; gap: 12px; align-items: flex-start; }
.calc-tip-ok { width: 100%; margin-top: 4px; }
.calc-tip-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: none; color: #8a6200; cursor: pointer; }
.calc-tip-close svg { width: 18px; height: 18px; margin: 0; color: currentColor; }
.calc-tip-close:hover { background: #ffc23333; color: var(--ink); }
.calc-tip-close:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
/* A label with an (i) beside it: its guide shows on hover, on keyboard focus and on a tap. */
.calc-label { position: relative; display: flex; align-items: center; gap: 6px; }
.calc-info { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--ink-soft); cursor: help; }
.calc-info svg { width: 17px; height: 17px; }
.calc-info:hover, .calc-info:focus-visible { color: var(--cobalt); }
/* (A 44 px touch area around the 22 px icon.) */
.calc-info { position: relative; }
.calc-info::before { content: ''; position: absolute; inset: -11px; }
.calc-info:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.calc-tooltip { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: min(300px, 100%);
  padding: 10px 12px; border-radius: var(--r-sm); background: var(--ink); color: var(--paper);
  font-size: .88rem; font-weight: 500; line-height: 1.45; box-shadow: 0 6px 18px #1a1f3a40;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.calc-info:hover + .calc-tooltip, .calc-info:focus + .calc-tooltip { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .calc-tooltip { transition: none; } }
.calc-in > .calc-form { grid-column: 1; }
.calc-in > .calc-result { grid-column: 2; grid-row: 1; }
@media (max-width: 960px) { .calc-in > .calc-result { grid-column: 1; grid-row: auto; } }
.calc-copied { color: #7fe3c3; font-size: .88rem; }
@media (max-width: 960px) {
  .calc-in { grid-template-columns: minmax(0, 1fr); }
  .calc-result { position: static; }
}
@media (max-width: 520px) {
  .calc-row, .calc-row-3 { grid-template-columns: minmax(0, 1fr); }
  /* (Short pairs stay side by side on a phone: material and unit, pieces and plates.) */
  .calc-row.calc-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .form.calc-form, .calc-result { padding: 20px; }
}
/* The calculator's lists: one chevron, the same distance from the right edge on each (the browser's own
   sits differently per list); the material alone on its row when no AMS choice fits the printer. */
.calc .field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1f3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.calc-row-fold:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }

/* Instagram (@percetakandigital_official): its logo beside its link in the WhatsApp box,
   and a DM option on the support page. */
.ig-link { display: inline-flex; align-items: center; gap: 4px; vertical-align: bottom; }
.ig-i { width: 1.1em; height: 1.1em; flex: none; }
.support-alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.support-alt p { margin: 0 0 10px; color: var(--ink-soft); }
.support-alt .btn { max-width: 100%; }
.support-alt .btn span { overflow: hidden; text-overflow: ellipsis; }

/* The header's Support button opens a small menu (shared.js): a support ticket or a DM on Instagram,
   under the button, its right edge on the button's. */
.help-menu { position: absolute; z-index: 11; display: grid; gap: 2px; width: max-content; max-width: calc(100vw - 24px); padding: 6px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 0 12px 30px rgb(20 26 56 / .14); }
.help-menu[hidden] { display: none; }
.help-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 11px; text-decoration: none; color: inherit; }
.help-menu a:hover, .help-menu a:focus-visible { background: var(--page); }
.help-menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.help-menu .hm-i { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--page); }
.help-menu .hm-i svg { width: 20px; height: 20px; }
.help-menu span:last-child { display: grid; gap: 2px; }
.help-menu b { font-weight: 700; font-size: .95rem; }
.help-menu small { color: var(--ink-soft); font-size: .8rem; }

/* The header's Generator item: a dropdown (shared.js) with the catalogue, plan pricing and the licence;
   in the phone menu its three links stand in the list instead. */
.nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; padding: 0; border: 0; background: none; font: 600 .95rem/1.5 var(--body); color: var(--ink-soft); cursor: pointer; }
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"], .nav-drop-btn[data-current] { color: var(--ink); }
.nav-chev { width: 16px; height: 16px; flex: none; transition: transform .15s ease; }
.nav-drop-btn[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.nav-drop-menu { display: none; position: absolute; top: calc(100% + 16px); left: -14px; z-index: 12; min-width: 210px; padding: 6px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 0 12px 30px rgb(20 26 56 / .14); }
.nav-drop-btn[aria-expanded="true"] + .nav-drop-menu, html:not(.js) .nav-drop:focus-within .nav-drop-menu { display: grid; gap: 2px; }
.nav .nav-drop-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); }
.nav .nav-drop-menu a:hover, .nav .nav-drop-menu a:focus-visible { background: var(--page); }
.nav .nav-drop-menu a[aria-current] { color: var(--ink); }
/* (Every menu and its links with an icon.) */
.nav .nav-drop-menu a.nav-sim, .nav .nav-drop-menu a.nav-calc, .nav .nav-drop-menu a.nav-vz, .nav .nav-drop-menu a.nav-ico { display: flex; align-items: center; gap: 10px; }
.nav-drop-btn > .nav-i { margin-right: 4px; }
.nav .nav-drop-menu a[aria-current] .nav-i { color: var(--pink); }
/* (The first item, Buka generator, leaves the site for the app: a soft pink pill, bolder, its arrow pink,
   a thin rule under it before the page's own links.) */
.nav .nav-drop-menu a.nav-go { position: relative; margin-bottom: 7px; background: color-mix(in srgb, var(--pink) 10%, var(--paper)); font-weight: 700; }
.nav .nav-drop-menu a.nav-go::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -5px; height: 1px; background: var(--line); }
.nav .nav-drop-menu a.nav-go .nav-i { color: var(--pink); }
.nav .nav-drop-menu a.nav-go:hover, .nav .nav-drop-menu a.nav-go:focus-visible { background: color-mix(in srgb, var(--pink) 18%, var(--paper)); }

/* The contact button (Hubungi Kami) has a chevron for its menu. The language switch in the header as plain
   text: a globe, then ID and EN, the page's language filled dark, the other quiet, all in one thin capsule as tall as the buttons. */
.btn-help[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.btn-help .nav-chev { width: 15px; height: 15px; margin-left: -2px; }
.top-in > .lang-switch { gap: 2px; height: 40px; padding: 0 5px 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.top-in > .lang-switch::before { margin-right: 4px; background: var(--ink-soft); }
.top-in > .lang-switch a { min-width: 0; height: 30px; padding: 0 9px; border-radius: 999px; background: none; color: var(--ink-soft); font-weight: 700; font-size: .8rem; }
.top-in > .lang-switch a[aria-current] { background: var(--ink); color: var(--paper); }
.top-in > .lang-switch a:not([aria-current]):hover { background: var(--line); color: var(--ink); }
@media (max-width: 1180px) { .top-in .btn-help .nav-chev { display: none; } }
@media (max-width: 980px) {
  .top.open .nav { align-items: stretch; }
  /* (The phone menu keeps the header's tree: Generator and Tools as rows that open and close, their
     links indented under them.) */
  .top.open .nav .nav-drop { border-bottom: 1px solid var(--line); }
  .top.open .nav .nav-drop-btn { display: flex; width: 100%; min-height: 52px; padding: 14px 0; font: 600 1.05rem/1.2 var(--body); color: var(--ink); text-align: left; }
  .top.open .nav .nav-drop-btn .nav-chev { margin-left: auto; width: 18px; height: 18px; }
  .top.open .nav .nav-drop-menu { display: none; position: static; min-width: 0; padding: 0 0 6px 28px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .top.open .nav .nav-drop-btn[aria-expanded="true"] + .nav-drop-menu { display: block; }
  .top.open .nav .nav-drop-menu a { padding: 12px 0; border-radius: 0; background: none; font-size: 1rem; font-weight: 600; }
  .top.open .nav .nav-drop-menu a:last-child { border-bottom: 0; }
  .top.open .nav .nav-drop-menu a[aria-current] { color: var(--pink); }
  .top.open .nav .nav-drop-menu a.nav-go { margin: 4px 0 6px; padding: 12px 12px; border-bottom: 0; border-radius: 10px; background: color-mix(in srgb, var(--pink) 10%, var(--paper)); font-weight: 700; }
  .top.open .nav .nav-drop-menu a.nav-go::after { display: none; }
}

/* Every section on its own ground: grey (tone-page) and white (tone-paper) taking turns, dark for the
   plans, so where one ends and the next begins shows (set here, after each section's own colour). */
main > section.tone-page { background: var(--page); }
main > section.tone-paper { background: var(--paper); }

/* Vectorizard (vectorizard/), laid out as the simulator: the landing's header on top, the editor's
   canvas filling the rest of the screen and the settings panel on its right (vectorizard/page.ts); on
   a phone the panel is a sheet under the canvas that folds away. The editor's own rules below are the
   generator's (the .vz block), on this site's colours. */
.vzp-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.vzp-page .top { flex: none; }
.vzp { flex: 1; min-height: 0; display: flex; background: var(--page); }
.vzp-app { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.vz-stage { position: relative; min-height: 0; overflow: hidden;
  --pei: #eef1f6; --rule: var(--line); --stamp: var(--pink-strong); --slip: var(--paper); --slip-2: var(--page); --ink-2: var(--ink-soft);
  --sky: var(--cobalt); --shadow: 0 4px 14px rgba(26, 31, 58, .14); --mono: ui-monospace, SFMono-Regular, Menlo, monospace; }
.vz-stage svg { max-width: none; }
.vz-colour { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.vzp-panel { display: flex; flex-direction: column; min-height: 0; background: var(--paper); border-left: 1px solid var(--line); }
.vzp-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 4px; }
.vzp-pick svg, .vzp-save svg, .sheet-toggle svg, .vzp-panel .badge svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The picture: a card to click or drop on, its thumbnail and name once one is in. */
.vzp-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px dashed var(--line); border-radius: var(--r-md); background: var(--page); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.vzp-pick:hover, .vzp-pick.over { border-color: var(--ink); background: var(--paper); }
.vzp-pick.has { border-style: solid; }
.vzp-pick:focus-within { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.vzp-thumb { flex: none; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--pink-strong); }
.vzp-thumb svg { width: 24px; height: 24px; }
.vzp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.vzp-pick-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vzp-pick-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.vzp-pick-t small { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
/* Its button: the way to put a picture of one's own in. Standing out while the sample is in (the
   first thing to do here), quieter once a picture of one's own is. The whole card stays the target. */
.vzp-pick { flex-wrap: wrap; }
.vzp-pick-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vzp-pick-btn { flex: 1 0 100%; justify-content: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.vzp-pick-btn svg { width: 18px; height: 18px; }
.vzp-pick.sample .vzp-pick-btn, .vzp-pick:not(.has) .vzp-pick-btn { background: var(--ink); color: #fff; }
.vzp-pick:hover .vzp-pick-btn { background: var(--ink); color: #fff; }
.vzp-pick.sample:hover .vzp-pick-btn, .vzp-pick:not(.has):hover .vzp-pick-btn { background: #2b335c; }
.vzp-drag { font-weight: 400 !important; }
/* (The owner's: no preview of the picture in the card, only its Upload button.) */
.vzp-pick, .vzp-pick.has { padding: 0; border: 0; background: none; }
.vzp-pick:hover { background: none; }
.vzp-pick .vzp-thumb, .vzp-pick .vzp-pick-t { display: none; }
.vzp-pick .vzp-pick-btn { background: var(--ink); color: #fff; min-height: 44px; }
.vzp-pick:hover .vzp-pick-btn, .vzp-pick.over .vzp-pick-btn { background: #2b335c; }
.vzp-pick:not(.sample) .vzp-drag { display: none; }
.vz-stage.over { outline: 2px dashed var(--ink); outline-offset: -8px; }

/* The list fades at its edges instead of being cut, as the simulator's. */
.vzp-body { flex: 1; overflow-y: auto; padding: 6px 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 22px), transparent 100%); }
.vzp-panel .pane { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.vzp-panel .pane:first-child { padding-top: 10px; border-top: 0; }
.vzp-panel .pane-head { display: flex; align-items: center; gap: 12px; min-height: 28px; margin-bottom: 4px; }
.vzp-panel .pane-head h2 { flex: 1; margin: 0; font: 700 16px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.vzp-panel .badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--page); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.vzp-panel .badge svg { width: 19px; height: 19px; }
.vzp-panel .hint-line { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.vzp-panel .field label { font-size: 14px; font-weight: 700; }
.vzp-panel label output { float: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.vzp-panel .field input[type='range'] { min-height: 32px; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--ink); }
.vzp-panel .field select { min-height: 44px; }
.vz-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; font-size: 14px; cursor: pointer; }
.vz-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.vz-check[hidden], .vzp-panel .field[hidden] { display: none; }
#vz-layers .lbl { display: none; }
#vz-layers .note { margin: 0; color: var(--ink-soft); font-size: 13px; }
#vz-layers .vz-layers { display: grid; gap: 4px; }
#vz-layers .vz-row { display: grid; grid-template-columns: 28px 1fr auto 24px; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; }
#vz-layers .vz-row .note { font-weight: 600; }
#vz-layers .vz-sw { width: 28px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--c); cursor: pointer; }
#vz-layers .vz-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
/* The detail level: four presses in a row, the one in force inked. */
.vzp-panel .vz-lbl { font-size: 14px; font-weight: 700; }
.vz-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vz-levels button, .vz-take, .vz-kept { min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
.vz-levels button { padding: 0 4px; }
.vz-levels button:hover, .vz-take:hover, .vz-kept:hover { border-color: var(--ink); }
.vz-levels button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
/* A colour taken from the picture: the press that hands the tool over, and each colour kept (a press lets it go). */
.vz-take { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; }
.vz-take svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vz-keep { display: flex; flex-wrap: wrap; gap: 8px; }
.vz-keep[hidden] { display: none; }
.vz-kept { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; }
.vz-kept i { width: 24px; height: 24px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(26, 31, 58, .25); }
.vz-kept svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* The bar at the foot: what the SVG holds, and the download (a soft shadow upward, as the simulator's). */
.vzp-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 rgba(26, 31, 58, .04), 0 -10px 22px -14px rgba(26, 31, 58, .28); }
.vzp-info { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.vzp-info:disabled { opacity: .4; cursor: default; }
.vzp-info svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vzp-facts { position: fixed; inset: auto; margin: 0; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(26, 31, 58, .3); font-size: 13px; }
.vzp-facts dl { display: grid; grid-template-columns: auto auto; gap: 6px 18px; margin: 0; }
.vzp-facts dt { color: var(--ink-soft); }
.vzp-facts dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.vzp-save { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 0; border-radius: 999px; background: var(--pink-strong); color: #fff; font: 700 15px var(--body); cursor: pointer; }
.vzp-save:hover { background: #c02a62; }
.vzp-save:disabled { opacity: .45; cursor: not-allowed; }
.vzp-save svg { width: 18px; height: 18px; }
/* (Download in the logo's pink — the darker one, which white text can be read on; Convert dark:
   dim with nothing to convert, full when the settings changed since the trace on the canvas, and
   while it works.) */
.vzp-acts { display: flex; flex: 1; gap: 8px; }
.vzp-acts .vzp-save { flex: 1; }
.vzp-apply { min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 15px var(--body); cursor: pointer; }
.vzp-apply[aria-disabled='true'] { cursor: default; }
.vzp-apply[data-state='idle'] { opacity: .5; }
.vzp-apply[data-state='pending']:hover { background: #2b335c; }
/* (Something to convert: the button calls with a ring, as the note on the picture says.) */
.vzp-apply[data-state='pending'] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--pink-strong); animation: vz-call 1.6s ease-in-out infinite; }
@keyframes vz-call { 50% { box-shadow: 0 0 0 3px var(--paper), 0 0 0 9px rgba(214, 51, 111, .25); } }
@media (prefers-reduced-motion: reduce) { .vzp-apply[data-state='pending'] { animation: none; } }
.sheet-toggle { display: none; }
.vzp-more { display: none; }

.vzp-toast { position: fixed; left: 50%; top: 84px; z-index: 30; max-width: calc(100% - 32px); margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 13px var(--body); text-align: center;
  transform: translate(-50%, -160px); visibility: hidden; transition: transform .3s, visibility .3s; }
.vzp-toast.show { transform: translate(-50%, 0); visibility: visible; }
.vzp-note { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100% - 32px); overflow: auto; width: min(380px, calc(100% - 32px)); padding: 26px 24px 22px; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(26, 31, 58, .25); text-align: center; }
.vzp-note::backdrop { background: rgba(26, 31, 58, .45); }
.vzp-note h2 { margin: 0 0 8px; font: 700 19px/1.25 var(--display); letter-spacing: -.01em; }
.vzp-note p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.vzp-note .captcha { display: flex; justify-content: center; min-height: 65px; margin-bottom: 12px; }
.vzp-note .form-error { margin: 0 0 10px; }
.vzp-note .form-error:empty { display: none; }
.vzp-go { width: 100%; }

@media (max-width: 900px) {
  .vzp-app { grid-template-columns: minmax(0, 1fr); grid-template-rows: 54% 1fr; }
  .vzp-app.sheet-min { grid-template-rows: 1fr auto; }
  .vzp-app.sheet-min .vzp-body { display: none; }
  .vzp-panel { position: relative; z-index: 6; margin-top: -18px; border-left: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px rgba(26, 31, 58, .10); }
  /* (On a phone the tools lie across the top in two rows and the view bar is one row at the foot,
     clear of the sheet's rounded top; the picture sits between them, never under them.) */
  .vz-stage .vz-tools { top: 12px; left: 12px; right: 12px; grid-template-columns: none; grid-template-rows: 32px; grid-auto-flow: column; grid-auto-columns: 32px; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 3px; overscroll-behavior-x: contain; }
  .vz-stage .vz-tools::-webkit-scrollbar { display: none; }
  .vz-stage .vz-tools[data-editing='false'] { right: auto; }
  .vz-stage .vz-tools .vz-edit { grid-column: span 2; width: auto; padding: 0 6px; }
  .vz-stage .vz-tools > * { scroll-snap-align: start; }
  .vz-stage .vz-tools button { width: 32px; height: 32px; }
  /* (The row's ends: faded, with a ‹ or › while there is more that way.) */
  .vzp-more { position: absolute; top: 12px; z-index: 4; display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 0; color: var(--ink); cursor: pointer; }
  .vzp-more.prev { left: 12px; justify-items: start; padding-left: 4px; border-radius: 3px 0 0 3px; background: linear-gradient(to right, var(--paper) 55%, transparent); }
  .vzp-more.next { right: 12px; justify-items: end; padding-right: 4px; border-radius: 0 3px 3px 0; background: linear-gradient(to left, var(--paper) 55%, transparent); }
  .vzp-more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .vzp-more[hidden] { display: none; }
  .vz-stage .vz-sep { grid-column: auto; grid-row: 1 / -1; width: 1px; height: auto; margin: 3px 2px; }
  .vz-stage .vz-bar { bottom: 26px; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
  .vz-stage .vz-bar { gap: 2px; }
  .vz-stage .vz-bar button { padding: 0 5px; font-size: 12px; }
}
@media (max-width: 380px) {
  .vz-stage .vz-bar button, .vz-stage .vz-bar .seg button { min-width: 22px; padding: 0 3px; font-size: 11.5px; }
}
@media (max-width: 900px) {
  .vz-stage .vz-pct { display: none; }
  .vz-stage .vz-empty.cue { bottom: 26px; padding: 7px 14px; font-size: 12.5px; }
  /* (Messages over the panel, not over the tools.) */
  .vzp-toast { top: auto; bottom: 84px; transform: translate(-50%, 200px); }
  .vzp-top { gap: 8px; padding: 12px 16px 4px; }
  .vzp-body { padding-left: 16px; padding-right: 16px; }
  .sheet-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--page); color: var(--ink); cursor: pointer; }
  .sheet-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
  .vzp-app.sheet-min .sheet-toggle { background: var(--ink); border-color: var(--ink); color: #fff; }
  .vzp-app.sheet-min .sheet-toggle svg { transform: rotate(180deg); }
  .vzp-pick { padding: 6px 10px; gap: 10px; border-width: 1.5px; }
  .vzp-thumb { width: 34px; height: 34px; }
  .vzp-thumb svg { width: 20px; height: 20px; }
  .vzp-pick-t { gap: 0; }
  .vzp-pick-t b { font-size: 13px; }
  .vzp-pick-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
  .vzp-pick { row-gap: 6px; }
  .vzp-pick-btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .vzp-drag { display: none; }
  .vzp-foot { gap: 8px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom)); }
  .vzp-acts .vzp-save, .vzp-apply { min-height: 44px; padding: 0 16px; font-size: 13.5px; }
}
/* (The generator's editor rules.) */
.vz { position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; background: var(--pei); outline: none; overflow: hidden; touch-action: none; user-select: none; }
.vz[hidden], .vz [hidden] { display: none !important; }
.vz-pane { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.vz-pic, .vz-svg { position: absolute; left: 0; top: 0; max-width: none; max-height: none; transform-origin: 0 0; box-shadow: 0 0 0 1px var(--rule); background: #fff; }
.vz-svg { overflow: visible; }
/* (The viewer's canvas rule stretches every canvas in the viewport; this one keeps the picture's own size.) */
.vz-stage canvas.vz-pic { width: var(--vz-w) !important; height: var(--vz-h) !important; }
.vz-svg path { cursor: pointer; }
.vz-svg path.on { filter: brightness(1.08); }
.vz-outline { fill: none; stroke: var(--sky, #1f6fd1); pointer-events: none; vector-effect: none; }
.vz-n { fill: var(--sky, #1f6fd1); stroke: #fff; cursor: grab; }
.vz-n.sharp { fill: #fff; stroke: var(--sky, #1f6fd1); }
.vz-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--stamp); cursor: ew-resize; z-index: 2; }
.vz-line::before { content: ''; position: absolute; inset: 0 -8px; }
.vz-knob { position: absolute; top: 45%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--stamp); box-shadow: var(--shadow); }
.vz-knob::before { content: '‹ ›'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 13px; letter-spacing: 1px; }
.vz-tag { position: absolute; top: 12px; left: 90px; z-index: 2; padding: 2px 7px; border: 1px solid var(--rule); border-radius: 2px; background: var(--slip); color: var(--ink-2); font-size: 11.5px; pointer-events: none; }
.vz-tag.right { left: auto; right: 12px; }
.vz-tools { position: absolute; top: 12px; left: 12px; z-index: 3; display: grid; grid-template-columns: 28px 28px; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: 3px; background: var(--slip); box-shadow: var(--shadow); }
.vz-tools button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 2px; background: none; color: var(--ink); }
.vz-tools button:hover { background: var(--slip-2); }
.vz-tools button[aria-pressed='true'] { background: var(--stamp); color: #fff; }
.vz-tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vz-sep { grid-column: 1 / -1; height: 1px; margin: 2px 3px; background: var(--rule); }
.vz-tools button:disabled { opacity: .35; pointer-events: none; }
/* (Edit: the switch at the head of the tools. Off, the edit tools are put away and a path under the
   pointer is not a thing to click.) */
.vz-tools .vz-edit { grid-column: 1 / -1; width: auto; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; font-size: 11.5px; font-weight: 700; }
.vz-tools .vz-edit svg { width: 14px; height: 14px; }
.vz-tools[data-editing='false'] > .vz-e { display: none; }
.vz[data-editing='false']:not([data-tool='take']) .vz-svg path { cursor: default; }
.vz-tools .vz-brush { position: relative; }
.vz-tools .vz-brush::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--rule), inset 0 0 0 1px rgba(0,0,0,.15); }
.vz-size { align-self: center; text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.vz-b.diff .vz-svg > g:first-child { opacity: .28; }
.vz-diff { background: none; box-shadow: none; pointer-events: none; image-rendering: pixelated; }
.vz-svg.wire path { cursor: pointer; }
.vz-svg path.vz-outline, .vz-svg .vz-marks path { cursor: default; }
.vz-n.from { fill: var(--stamp); stroke: #fff; }
.vz-pen { fill: none; pointer-events: none; }
.vz-pen-pt { fill: #fff; stroke: var(--sky, #1f6fd1); pointer-events: none; }
.vz-cursor { fill: none; stroke: var(--ink); pointer-events: none; }
.vz-marquee { fill: rgba(31,111,209,.08); stroke: var(--sky, #1f6fd1); pointer-events: none; }
.vz-marks { pointer-events: none; }
.vz-marks .vz-n { pointer-events: auto; }
.vz[data-tool='brush'] .vz-b, .vz[data-tool='pen'] .vz-b, .vz[data-tool='take'] .vz-pane, .vz[data-tool='take'] .vz-svg path { cursor: crosshair; }
.vz[data-tool='fill'] .vz-svg path, .vz[data-tool='melt'] .vz-svg path { cursor: cell; }
.vz-menu { position: absolute; z-index: 4; width: 188px; padding: 6px; border: 1px solid var(--rule); border-radius: 3px; background: var(--slip); box-shadow: var(--shadow); }
.vz-menu-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 6px; }
.vz-menu .vz-sw { width: 100%; height: 22px; }
.vz-more { width: 100%; height: 26px; border: 1px solid var(--rule); border-radius: 2px; background: none; color: var(--ink); font-size: 12.5px; }
.vz-more:hover { background: var(--slip-2); }
.vz-bar { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; padding: 3px; border: 1px solid var(--rule); border-radius: 3px; background: var(--slip); box-shadow: var(--shadow); white-space: nowrap; }
.vz-bar .seg { display: flex; }
.vz-bar button { border: 0; background: none; height: 26px; min-width: 26px; padding: 0 8px; font-size: 12.5px; color: var(--ink); border-radius: 2px; }
.vz-bar button:hover { background: var(--slip-2); }
.vz-bar button[aria-pressed='true'] { background: var(--ink); color: var(--slip); }
.vz-pct { align-self: center; min-width: 42px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.vz-empty { position: absolute; top: 45%; left: 0; right: 0; margin: 0; text-align: center; color: var(--ink-2); font-size: 13px; }
.vz-empty.cue { top: auto; bottom: 30px; left: 50%; right: auto; z-index: 3; width: max-content; max-width: calc(100% - 24px); padding: 8px 16px; border-radius: 999px; background: var(--pink-strong); color: #fff; font-weight: 700; transform: translateX(-50%); box-shadow: var(--shadow); }
.vz:focus-visible { box-shadow: inset 0 0 0 2px var(--stamp); }
@media (max-width: 760px) { .vz-bar { bottom: 30px; } .vz-bar .seg button { padding: 0 6px; } }
.vz-layers { display: grid; gap: 4px; }
.vz-row { display: grid; grid-template-columns: 26px 1fr auto 18px; align-items: center; gap: 8px; }
.vz-sw { width: 26px; height: 22px; padding: 0; border: 1px solid var(--rule); border-radius: 2px; background: var(--c); }
