/* paket.html (packages and orders) and admin.html. Built on base.css tokens; Inter only (serif stays on the landing). */
body.pk { background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
/* .btn sets display, which would otherwise win over the hidden attribute (admin.html's sign-out button). */
body.pk [hidden] { display: none !important; }
.pk-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); }
.pk-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.pk-brand svg { color: var(--accent); }
.pk-nav { display: flex; align-items: center; gap: 18px; }
.pk-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.pk-main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 64px; flex: 1; }
.pk-foot { text-align: center; padding: 24px 16px 32px; }
.pk-foot a { color: inherit; }
.pk-loading { padding: 80px 0; text-align: center; }

.pk-hero { padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 36px); max-width: 760px; }
.pk-eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--accent-ink); margin: 0 0 12px; }
.pk-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0 0 14px; }
.pk-hero p { margin: 0; }

.pk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .pk-grid { grid-template-columns: 1fr; } }
.pk-sec { margin: 0 0 30px; }
.pk-sec > h2 { font-size: 19px; font-weight: 650; letter-spacing: -.012em; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; }
.pk-sec > h2 .pk-n { font-size: 13px; color: var(--muted); font-weight: 600; }
.pk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pk-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .pk-cards.two { grid-template-columns: 1fr; } }
.pk-card { position: relative; text-align: left; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 18px 16px; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow-s); transition: border-color .18s, box-shadow .18s, transform .18s; display: flex; flex-direction: column; gap: 6px; }
.pk-card:hover { border-color: var(--line-control); }
.pk-card:active { transform: scale(.995); }
.pk-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18), var(--shadow-s); }
.pk-card:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.pk-card b { font-size: 16px; letter-spacing: -.01em; padding-right: 28px; } /* clear of the check circle */
.pk-card .pk-meta { font-size: 13px; color: var(--muted); }
.pk-card .pk-price { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.pk-card .pk-was { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.pk-card ul { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.pk-card ul li { margin: 2px 0; }
.pk-tag { align-self: flex-start; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; background: var(--accent-wash); color: var(--accent-ink); }
.pk-tag.green { background: var(--green-wash); color: var(--green-ink); }
.pk-tag.orange { background: var(--orange-wash); color: var(--orange-ink); }
.pk-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-control); display: grid; place-items: center; }
.pk-card.on .pk-check { background: var(--accent); border-color: var(--accent); }
.pk-card.on .pk-check::after { content: ''; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.pk-seg { display: inline-flex; background: var(--fill-1); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.pk-seg button { font: inherit; font-size: 14px; border: 0; background: transparent; color: var(--ink-2); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.pk-seg button.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-s); }
.pk-seg button:focus-visible { outline: 3px solid var(--accent-ring); }
.pk-row { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.pk-row > div { display: flex; flex-direction: column; gap: 8px; }
/* "Event lain": the customer's own event, under the event cards */
.pk-other { margin-top: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; }
.pk-other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.pk-other-grid > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pk-other-grid .pk-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .pk-other-grid { grid-template-columns: 1fr; } }

.pk-sum { position: sticky; top: 20px; background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pk-sum h2 { font-size: 17px; margin: 0 0 14px; font-weight: 650; }
.pk-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; }
.pk-line span:first-child { color: var(--ink-2); }
.pk-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 12px; }
.pk-total b { font-size: 26px; letter-spacing: -.02em; }
.pk-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.pk-form .btn { width: 100%; }
.pk-err { color: var(--red-ink); font-size: 13.5px; margin: 0; }
.pk-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 0; }

.pk-pay { max-width: 640px; margin: clamp(24px, 6vw, 56px) auto 0; background: var(--surface); border-radius: 26px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pk-pay h1 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; margin: 6px 0 6px; }
.pk-amount { font-size: clamp(34px, 6vw, 46px); font-weight: 750; letter-spacing: -.03em; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.pk-amount em { font-style: normal; color: var(--accent-ink); background: var(--accent-wash); border-radius: 8px; padding: 0 6px; }
.pk-qris { margin: 18px 0; text-align: center; }
.pk-qris img { display: block; margin: 0 auto; width: min(320px, 100%); height: auto; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; }
.pk-qris figcaption { margin-top: 10px; }
.pk-steps { margin: 18px 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.pk-code { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-size: clamp(26px, 5vw, 34px); letter-spacing: .06em; font-weight: 600; padding: 14px 18px; border-radius: 14px; background: var(--accent-wash); color: var(--accent-ink); display: inline-block; margin: 10px 0 14px; user-select: all; }
.pk-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.pk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pk-pulse 1.6s ease-in-out infinite; }
@keyframes pk-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pk-dot { animation: none; } .pk-card { transition: none; } }
.pk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pk-linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-ink); cursor: pointer; }
.pk-linkbtn:hover { text-decoration: underline; }

/* admin.html */
.ad-main { max-width: 1240px; }
.ad-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 18px; }
.ad-bar .field { max-width: 260px; height: 38px; }
.ad-list { display: flex; flex-direction: column; gap: 10px; }
.ad-row { display: grid; grid-template-columns: 150px minmax(0, 1.4fr) minmax(0, 1fr) 130px 110px; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.ad-row:hover { border-color: var(--line-control); }
@media (max-width: 860px) { .ad-row { grid-template-columns: 1fr 1fr; } }
.ad-row b { display: block; font-size: 14px; }
.ad-row span { font-size: 12.5px; color: var(--muted); }
.ad-amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.ad-panel { background: var(--surface); border-radius: 18px; border: 1px solid var(--line); padding: 20px; margin-top: 14px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ad-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ad-box h3 { font-size: 13px; text-transform: none; color: var(--ink-2); margin: 0; font-weight: 650; }
.ad-box .row-wrap { gap: 6px; }
/* Long labels (top-ups, links) wrap inside their box instead of running past it. */
.ad-box .btn { white-space: normal; height: auto; min-height: var(--h); line-height: 1.25; padding-top: 7px; padding-bottom: 7px; text-align: center; max-width: 100%; }
.ad-kv { display: grid; grid-template-columns: 120px 1fr; gap: 4px 10px; font-size: 13.5px; }
.ad-kv span:nth-child(odd) { color: var(--muted); }
.ad-kv > span { min-width: 0; overflow-wrap: anywhere; } /* long links typed for "Event lain" wrap inside the box */
.ad-log { font-size: 12.5px; color: var(--muted); max-height: 180px; overflow: auto; margin: 0; padding-left: 18px; }
.ad-msg { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; background: var(--fill-1); border-radius: 10px; padding: 10px 12px; margin: 0; }
.ad-panel { min-width: 0; overflow-wrap: anywhere; }
.ad-ev-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .ad-ev-grid { grid-template-columns: 1fr; } }
.ad-evs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ad-ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ad-ev b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.ad-ev > div:first-child > span { font-size: 12.5px; color: var(--muted); }
.ad-ev > div:first-child > span.ad-mail-err { display: block; margin-top: 2px; color: var(--red-ink); overflow-wrap: anywhere; }
.ad-ev .row-wrap { grid-column: 1 / -1; gap: 6px; }
.ad-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.ad-checks label, .ad-checks > span { display: inline-flex; align-items: center; gap: 6px; }
.ad-field { height: 38px; font-size: 14px; padding: 0 12px; border-radius: 10px; }
select.ad-field { padding-right: 34px; background-position: right 12px center; }
.ad-note { height: 70px; min-height: 70px; padding: 8px 12px; font-size: 14px; }
.ad-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 6px 0 14px; }
.ad-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.ad-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.ad-flash { margin: 0 0 12px; font-size: 13.5px; color: var(--green-ink); background: var(--green-wash); border-radius: 10px; padding: 9px 12px; }
.ad-main > .pk-err { margin: 0 0 12px; }
.ad-gate { max-width: 440px; margin: clamp(8px, 6vh, 64px) auto 0; }
.ad-key { border-top: 1px solid var(--line); padding-top: 12px; }
.ad-key summary { cursor: pointer; font-size: 14px; color: var(--accent-ink); font-weight: 500; }
.ad-key .ms-form { margin-top: 12px; gap: 10px; }
.ad-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ad-members li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ad-members b { display: block; font-size: 14px; }
.ad-members span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.ad-link { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; background: var(--fill-1); border-radius: 12px; padding: 10px 12px; }
.ad-code { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; user-select: all; }
.ad-invited { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.ad-invited p { margin: 0; }
.ad-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-two > div { display: flex; flex-direction: column; min-width: 0; }
.ad-howto { margin-top: 16px; }
.ad-howto ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.ad-howto code, .ad-box code { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.ad-mail { grid-column: 1 / -1; }
.ad-mail summary { cursor: pointer; font-size: 13px; color: var(--accent-ink); }
.ad-mail .ad-msg { margin: 8px 0; }
.ad-login { max-width: 420px; margin: 12vh auto 0; background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }

/* masuk.html: one card in the middle, like a system sign-in sheet */
.ms-main { width: 100%; max-width: 460px; margin: 0 auto; padding: clamp(8px, 5vh, 52px) 16px 40px; flex: 1; }
.ms-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 34px); display: flex; flex-direction: column; gap: 16px; animation: rise .45s var(--ease-out) both; }
.ms-card.ms-still { animation: none; }
.ms-mark { width: 40px; height: 40px; color: var(--accent); }
.ms-title { font-size: 26px; line-height: 1.15; letter-spacing: -.022em; font-weight: 700; margin: 0; }
.ms-sub { margin: -6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.ms-sub b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ms-form { display: flex; flex-direction: column; gap: 14px; }
.ms-form > .btn { width: 100%; }
.ms-form > .btn-lg { margin-top: 2px; }
.ms-field { display: flex; flex-direction: column; min-width: 0; }
.ms-field .label { margin-bottom: 6px; }
.ms-hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.ms-caps { color: var(--orange-ink); font-weight: 600; }
#msCode { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
#msCode::placeholder { text-transform: none; letter-spacing: .04em; }
.ms-pass { position: relative; }
.ms-pass .field { padding-right: 112px; }
.ms-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--accent-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.ms-eye:hover { background: var(--accent-wash); }
.ms-eye:focus-visible { outline: 3px solid var(--accent-ring); }
.ms-link { border: 0; background: none; padding: 0; color: var(--accent-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; align-self: flex-start; }
.ms-link:hover { text-decoration: underline; }
.ms-center { align-self: center; text-align: center; }
.ms-seg { display: flex; width: 100%; }
.ms-seg button { flex: 1; }
.ms-foot { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: 14px; color: var(--muted); }
.ms-foot p { margin: 0; }
.ms-who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fill-1); min-width: 0; }
.ms-who > div { min-width: 0; }
.ms-who b { display: block; font-size: 15px; letter-spacing: -.01em; }
.ms-who span:not(.ms-avatar) { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.ms-avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font-weight: 650; font-size: 16px; flex: none; }
.ms-avatar.sm { width: 26px; height: 26px; font-size: 12px; }
.ms-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.ms-done .ms-sub { margin: 0; }
.ms-check, .ms-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
.ms-check { background: var(--green-wash); color: var(--green-ink); animation: pop .4s var(--ease-out) both; }
.ms-ic { background: var(--accent-wash); color: var(--accent-ink); }
.ms-check svg, .ms-ic svg { width: 30px; height: 30px; }

/* mentor.html */
.mt-main { max-width: 1080px; }
.mt-hero { padding: clamp(18px, 4vw, 40px) 0 clamp(14px, 2.6vw, 24px); }
.mt-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.028em; font-weight: 700; margin: 0 0 8px; }
.mt-hero .lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); }
.mt-hero .lead b { color: var(--ink); font-weight: 600; }
.mt-me { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.mt-mine { margin-left: auto; }
.mt-list { display: flex; flex-direction: column; gap: 14px; }
.mt-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; transition: border-color .3s, box-shadow .3s; }
.mt-card.mt-focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18); }
.mt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 18px; flex-wrap: wrap; }
.mt-head > div:first-child { min-width: 0; }
.mt-head .pk-eyebrow { margin: 0 0 4px; }
.mt-head h2 { font-size: 19px; font-weight: 650; letter-spacing: -.014em; margin: 0; overflow-wrap: anywhere; }
.mt-head p { margin: 3px 0 0; }
.mt-warn, .ad-row span.mt-warn, .ad-ev span.mt-warn { color: var(--orange-ink); font-weight: 600; }
.mt-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-people { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mt-person { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.mt-person .btn-sm { --h: 30px; padding: 0 10px; }
.mt-gap { flex: 1; }
.mt-projects { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mt-proj { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
@media (max-width: 640px) { .mt-proj { grid-template-columns: 1fr; } .mt-side { justify-content: flex-start; } .mt-mine { margin-left: 0; } }
.mt-proj b { display: block; font-size: 15px; letter-spacing: -.01em; overflow-wrap: anywhere; margin-bottom: 2px; }
.mt-prog { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.mt-bar { flex: 0 0 120px; height: 6px; border-radius: 99px; background: var(--fill-2); overflow: hidden; }
.mt-bar i { display: block; height: 100%; background: var(--accent-stroke); border-radius: inherit; }
.mt-side { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.mt-empty { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--fill-1); }
.mt-empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.mt-empty-state p { margin: 0; }
.mt-none { padding: 24px 0; }
.mt-gate { max-width: 460px; margin: clamp(8px, 5vh, 52px) auto 0; }
