/* Peervie — UI bersama situs publik & dashboard. Tema terang/gelap ala Svelte.
 * Mode: atribut <html data-theme="light|dark">; tanpa atribut = ikuti sistem.
 * Warna merek tenant: --tenant-brand / --tenant-accent (dari /theme/tenant.css
 * atau <style> SSR) — berlaku di mode terang DAN gelap (v1.10).
 * Preset tema tenant (v1.10): web/static/presets/*.css, dimuat setelah berkas ini. */
:root {
  --radius: 12px;
  --radius-sm: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --bg: #f7f7f8; --bg-2: #ffffff; --panel: #ffffff; --panel-2: #f2f2f4;
  --line: #e6e6ea; --line-2: #d4d4da; --text: #1c1c21; --muted: #6b6b76;
  --brand: var(--tenant-brand, #ff3e00); --accent: var(--tenant-accent, #2f74c0); --on-brand: #ffffff;
  --head-font: var(--font);
  --ok: #15803d; --warn: #b45309; --err: #dc2626;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, .06), 0 1px 3px rgba(20, 20, 30, .05);
  --shadow: 0 12px 32px -12px rgba(20, 20, 30, .22);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121215; --bg-2: #18181c; --panel: #1d1d22; --panel-2: #26262c;
  --line: #2c2c33; --line-2: #3d3d46; --text: #ececf0; --muted: #a0a0ab;
  --brand: color-mix(in srgb, var(--tenant-brand, #ff3e00) 72%, #fff); --accent: color-mix(in srgb, var(--tenant-accent, #2f74c0) 60%, #fff); --on-brand: #ffffff;
  --ok: #4ade80; --warn: #fbbf24; --err: #f87171;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 14px 40px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #121215; --bg-2: #18181c; --panel: #1d1d22; --panel-2: #26262c;
  --line: #2c2c33; --line-2: #3d3d46; --text: #ececf0; --muted: #a0a0ab;
  --brand: color-mix(in srgb, var(--tenant-brand, #ff3e00) 72%, #fff); --accent: color-mix(in srgb, var(--tenant-accent, #2f74c0) 60%, #fff); --on-brand: #ffffff;
  --ok: #4ade80; --warn: #fbbf24; --err: #f87171;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 14px 40px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 15px/1.6 var(--font); color: var(--text); background: var(--bg);
  transition: background-color .2s, color .2s;
}
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }
a { color: color-mix(in srgb, var(--brand) 88%, var(--text)); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head-font); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; font-weight: 600; }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .92em; }
.dim { color: var(--muted); }
.small { font-size: .86rem; }
.break { word-break: break-all; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.row.gap { justify-content: flex-start; gap: .6rem; }
.wrap-row { flex-wrap: wrap; }
.stack { display: grid; gap: .8rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.eyebrow { font-size: .72rem; letter-spacing: .14em; color: var(--brand); margin-bottom: .6rem; font-weight: 600; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 68ch; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── komponen ── */
.card {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; color: inherit; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--brand); background: var(--brand);
  color: var(--on-brand); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn:hover { text-decoration: none; background: color-mix(in srgb, var(--brand) 88%, #000); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: var(--bg-2); border-color: var(--line-2); color: var(--text); font-weight: 550; }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-2); box-shadow: none; }
.btn-danger { border-color: var(--err); background: var(--err); color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--err) 85%, #000); box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 20%, transparent); }
.btn-sm { padding: .32rem .7rem; font-size: .86rem; }
.chip {
  display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .78rem; color: var(--muted); white-space: nowrap;
}
.chip-brand { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.chip-ghost { border-style: dashed; }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--muted); margin: 1.4rem 0 1rem; }
.crumbs a { color: var(--muted); }
.sec-title { margin: 2.2rem 0 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }

/* ── situs publik ── */
.site-head { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 85%, transparent); backdrop-filter: blur(12px); }
.site-head .row { height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #ffb300)); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--brand) 60%, transparent); }
.side .brand-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.brand-logo { height: 30px; width: auto; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; font-size: .92rem; }
.site-nav a:not(.btn) { color: var(--muted); }
.site-main { min-height: calc(100vh - 140px); padding-bottom: 3rem; }
.site-foot { border-top: 1px solid var(--line); padding: 1.2rem 0; color: var(--muted); font-size: .85rem; }
.hero { padding: 3.2rem 0 1rem; }
.journal-head { padding: .5rem 0 1rem; }
.journal-card h3 { margin-bottom: .4rem; }
.issue-card h3 { margin: .2rem 0; }
.art-card h3 { margin-bottom: .2rem; }
.art-card h3 a { color: var(--text); }
.authors { color: var(--muted); margin: 0; font-size: .92rem; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.art-title { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.art-alt { color: var(--muted); font-style: italic; margin-top: -.3rem; }
.authors-list { list-style: none; padding: 0; margin: 1rem 0 .2rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.author-name { font-weight: 550; }
.orcid { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; transition: transform .15s, box-shadow .15s; }
.orcid svg { display: block; width: 24px; height: 24px; }
/* v1.30.1: warna resmi ORCID dikunci — tidak tertimpa CSS tema/kustom yang mengatur fill/color SVG. */
.orcid { background: #a6ce39 !important; color: #fff !important; }
.orcid svg circle, .orcid svg > path { fill: #a6ce39 !important; stroke: none !important; }
.orcid svg g, .orcid svg g path { fill: #fff !important; stroke: none !important; }
@media (forced-colors: active) { .orcid { forced-color-adjust: none; } }
.orcid:hover { transform: scale(1.12); box-shadow: 0 0 0 3px rgba(166, 206, 57, .25); }
.orcid.is-member { box-shadow: 0 0 0 2px rgba(166, 206, 57, .35); }
.affiliations { color: var(--muted); font-size: .85rem; padding-left: 1.2rem; margin: 0 0 1.2rem; }
.abstract, .cite { margin-top: 2rem; }
.abstract p { text-align: justify; hyphens: auto; }
.kw { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.cite-box { font-family: var(--mono); font-size: .85rem; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.art-side { position: sticky; top: 84px; display: grid; gap: .8rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .45rem .9rem; margin: 0; font-size: .88rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 860px) { .art-layout { grid-template-columns: 1fr; } .art-side { position: static; } .site-nav a:not(.btn) { display: none; } }

/* ── dashboard ── */
.dash { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: var(--bg-2); padding: 1.1rem .8rem; display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 0; height: 100vh; }
.side .brand { padding: 0 .4rem; }
.nav { display: grid; gap: .15rem; }
.nav a { display: flex; align-items: center; gap: .65rem; padding: .5rem .65rem; border-radius: var(--radius-sm); color: var(--muted); font-size: .92rem; }
.nav a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.nav a.active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); font-weight: 600; }
.nav .ico { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; color: var(--muted); }
.nav a:hover .ico { color: var(--text); }
.nav a.active .ico { color: var(--brand); }
.nav-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .8rem .65rem .2rem; }
.side-foot { margin-top: auto; font-size: .75rem; color: var(--muted); padding: 0 .5rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.6rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg-2) 85%, transparent); backdrop-filter: blur(10px); }
.top h1 { font-size: 1.1rem; margin: 0; }
.top-right { display: flex; align-items: center; gap: .7rem; }
.view { padding: 1.6rem; display: grid; gap: 1.2rem; align-content: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: .95rem; }
.panel-body { padding: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.stat { padding: 1rem 1.1rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.7rem; font-weight: 700; font-family: var(--mono); }
.stat span { color: var(--muted); font-size: .82rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--panel-2); }
.empty { padding: 2rem; text-align: center; color: var(--muted); }
form.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field > span { font-size: .8rem; color: var(--muted); }
.field-row { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .55rem .7rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
input[type=checkbox], input[type=radio] { width: auto; padding: 0; accent-color: var(--brand); }
.check { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; padding: .14rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-draft { color: var(--muted); }
.s-submitted, .s-desk_review { color: var(--brand); }
.s-under_review, .s-revision_requested { color: var(--warn); }
.s-accepted, .s-copyediting, .s-scheduled { color: var(--accent); }
.s-published { color: var(--ok); }
.s-rejected, .s-withdrawn { color: var(--err); }
.stepper { display: flex; gap: .3rem; flex-wrap: wrap; }
.step { flex: 1 1 90px; font-size: .7rem; color: var(--muted); padding-top: .45rem; border-top: 2px solid var(--line-2); text-transform: uppercase; letter-spacing: .06em; }
.step.done { border-color: color-mix(in srgb, var(--brand) 55%, transparent); color: var(--text); }
.step.now { border-color: var(--brand); color: var(--brand); }
.two-col { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 1000px) { .two-col { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.timeline li { display: grid; grid-template-columns: 10px 1fr; gap: .7rem; font-size: .86rem; }
.timeline li::before { content: ""; width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card { width: min(420px, 100%); padding: 1.8rem; box-shadow: var(--shadow); }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; padding: .5rem .8rem; cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.toasts { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; z-index: 50; }
.toast { padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .9rem; max-width: 360px; }
.toast.err { border-color: color-mix(in srgb, var(--err) 60%, transparent); }
.toast.ok { border-color: color-mix(in srgb, var(--ok) 60%, transparent); }
dialog { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0; width: min(520px, 94vw); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 10, 15, .45); backdrop-filter: blur(3px); }
.dlg-body { padding: 1.3rem; display: grid; gap: 1rem; }
.notice { padding: .7rem .9rem; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); color: var(--muted); font-size: .86rem; }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 55%, transparent); color: var(--warn); }
.file-list { display: grid; gap: .4rem; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .88rem; }
.contrib { display: grid; gap: .6rem; padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.badge-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--err); color: #fff; font-size: .68rem; display: inline-grid; place-items: center; }
.user-chip { display: flex; align-items: center; gap: .55rem; font-size: .88rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, var(--accent))); color: #fff; }
@media (max-width: 800px) {
  .dash { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .view { padding: 1rem; }
}

/* ── v1.5 diff ── */
.diff ins { background: color-mix(in srgb, var(--ok) 22%, transparent); text-decoration: none; border-radius: 3px; }
.diff del { background: color-mix(in srgb, var(--err) 20%, transparent); color: var(--muted); border-radius: 3px; }
.diff-block { padding: .5rem .8rem; border-left: 3px solid var(--line-2); margin: .4rem 0; white-space: pre-wrap; }
.diff-added { border-color: var(--ok); }
.diff-removed { border-color: var(--err); }
.diff-changed { border-color: var(--warn); }

/* ── tombol tema (otomatis → terang → gelap) ── */
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer; font: 600 1rem/1 var(--font); }
.icon-btn:hover { background: var(--panel-2); }
[data-theme-toggle] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.75%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%202v2%22/%3E%3Cpath%20d=%22M14.837%2016.385a6%206%200%201%201-7.223-7.222c.624-.147.97.66.715%201.248a4%204%200%200%200%205.26%205.259c.589-.255%201.396.09%201.248.715%22/%3E%3Cpath%20d=%22M16%2012a4%204%200%200%200-4-4%22/%3E%3Cpath%20d=%22m19%205-1.256%201.256%22/%3E%3Cpath%20d=%22M20%2012h2%22/%3E%3C/svg%3E"); }
:root[data-theme="light"] [data-theme-toggle] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.75%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%224%22/%3E%3Cpath%20d=%22M12%202v2%22/%3E%3Cpath%20d=%22M12%2020v2%22/%3E%3Cpath%20d=%22m4.93%204.93%201.41%201.41%22/%3E%3Cpath%20d=%22m17.66%2017.66%201.41%201.41%22/%3E%3Cpath%20d=%22M2%2012h2%22/%3E%3Cpath%20d=%22M20%2012h2%22/%3E%3Cpath%20d=%22m6.34%2017.66-1.41%201.41%22/%3E%3Cpath%20d=%22m19.07%204.93-1.41%201.41%22/%3E%3C/svg%3E"); }
:root[data-theme="dark"] [data-theme-toggle] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.75%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M20.985%2012.486a9%209%200%201%201-9.473-9.472c.405-.022.617.46.402.803a6%206%200%200%200%208.268%208.268c.344-.215.825-.004.803.401%22/%3E%3C/svg%3E"); }
[data-theme-toggle]::before { content: ""; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.auth-card { position: relative; }
.auth-card > [data-theme-toggle] { position: absolute; top: .9rem; right: .9rem; }

/* ── v1.10 landing platform SaaS ── */
.pf-hero { padding-bottom: 1.5rem; }
.pf-hero h1 { max-width: 22ch; }
.pf-cta { margin: 1.4rem 0 1.6rem; }
.pf-stats { max-width: 640px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-stats .stat b { font-size: clamp(1.3rem, 4vw, 1.7rem); }
.pf-insts { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.pf-inst h3 { margin-bottom: .1rem; }
.pf-host { font-size: .8rem; overflow-wrap: anywhere; }
.pf-note { margin-top: .9rem; }
.pf-contact { margin-top: 1.4rem; }
section[id] { scroll-margin-top: 80px; }

/* ── v1.10 pratinjau preset tema (Setelan Portal) ── */
.preset-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.preset-opt { display: grid; gap: .45rem; padding: .75rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: var(--bg-2); }
.preset-opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent); }
.preset-opt input { width: auto; accent-color: var(--brand); }
.preset-swatch { display: flex; height: 34px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.preset-swatch i { flex: 1; }
.preset-swatch i:last-child { flex: .5; }

/* ── v1.11 petunjuk DNS domain kustom ── */
.dns-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .7rem; font-size: .92rem; }
.dns-record { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: .45rem 0 .2rem; padding: .55rem .8rem; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--panel-2); }
.dns-record .copyable { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.dns-record .btn { margin-left: auto; }
.edge-chip { margin-left: .35rem; font-size: .72rem; }
.cf-records { margin-top: .45rem; }
.cf-records summary { cursor: pointer; color: var(--brand); }
.cf-records .dns-record { font-size: .8rem; }
/* v1.24: peran per jurnal (Anggota & Peran) */
.role-block { display: grid; gap: .4rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-2); }
.role-block p { margin: 0; }
.scope-pick { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding: .15rem 0 .1rem 1.45rem; }
.role-chip { white-space: normal; max-width: 100%; margin-bottom: .2rem; }
/* v1.24: minat penulis & periset (Beranda Super Admin) */
.insight-filters { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.insight-lead { display: grid; gap: .35rem; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--panel)); }
.insight-lead p { margin: 0; line-height: 1.55; }
.insight-num { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--brand); }
.insight-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.insight-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insight-bars { display: grid; gap: .3rem; }
.insight-bar { display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr) max-content; align-items: center; gap: .8rem; width: 100%; padding: .45rem .6rem; background: none; border: 1px solid transparent; border-radius: var(--radius-sm); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.insight-bar:hover, .insight-bar.on { background: var(--panel-2); border-color: var(--line); }
.insight-bar.on { border-color: var(--brand); }
.insight-label { min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.insight-tag { margin-left: .4rem; font-size: .68rem; }
.insight-bar.major .insight-tag { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.insight-track { display: block; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.insight-track > i { display: block; height: 100%; border-radius: 5px; background: var(--brand); transition: width .25s ease; }
.insight-bar.minor .insight-track > i { background: var(--muted); }
.insight-val { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.btn.btn-ghost.on { border-color: var(--brand); color: var(--brand); }
.insight-detail { display: grid; gap: .6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-2); }
.insight-people { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; max-height: 320px; overflow: auto; }
.insight-people li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.insight-people li:last-child { border-bottom: 0; }
@media (max-width: 700px) {
  .insight-bar { grid-template-columns: minmax(0, 1fr) max-content; }
  .insight-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ── v1.11 pemilih tema landing (panel Platform) ── */
.landing-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.landing-opt { display: grid; gap: .5rem; align-content: start; padding: .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); }
.landing-opt.on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent); }
.landing-swatch { display: block; height: 72px; border-radius: 6px; border: 1px solid var(--line); }

/* ── v1.13 portal tenant: cover, slider, beranda ── */
.foot-links { color: var(--muted); font-size: .86rem; }
.foot-links a { color: var(--muted); }
.prewrap { white-space: pre-line; }

/* Cover jurnal — sidebar artikel (desktop) */
.art-cover { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--panel-2); }
.art-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
/* Cover jurnal — kartu ringkas di atas judul (mobile) */
.art-cover-m { display: none; align-items: center; gap: .85rem; margin-bottom: 1rem; padding: .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--text); }
.art-cover-m:hover { text-decoration: none; border-color: var(--line-2); }
.art-cover-m img { width: 64px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; flex: none; }
.art-cover-m > span { display: grid; gap: .1rem; min-width: 0; }
.art-cover-m b { font-size: .95rem; line-height: 1.3; }
@media (max-width: 860px) {
  .art-side .art-cover { display: none; }
  .art-cover-m { display: flex; }
}

/* Halaman jurnal */
.journal-head.has-cover { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.journal-cover { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
  .journal-head.has-cover { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .journal-head.has-cover h1 { font-size: 1.35rem; }
}

/* Slider beranda */
.slider { position: relative; margin-top: 1.4rem; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 21 / 8; min-height: 220px; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem clamp(1rem, 4vw, 2.4rem) 1.6rem; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .25) 65%, transparent); }
.slide h2 { margin: 0 0 .3rem; font-size: clamp(1.15rem, 3vw, 1.9rem); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.slide p { margin: 0 0 .8rem; max-width: 60ch; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .38); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.slider-nav:hover { background: rgba(0, 0, 0, .55); }
.slider-nav.prev { left: .7rem; }
.slider-nav.next { right: .7rem; }
.slider-dots { position: absolute; right: 1rem; bottom: .8rem; display: flex; gap: .35rem; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.slider-dots button[aria-current="true"] { width: 22px; background: #fff; }
@media (max-width: 640px) {
  .slide { aspect-ratio: 4 / 3; }
  .slider-nav { display: none; }
}
.hero-compact { padding-top: 2rem; }

/* Statistik */
.stat-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; margin: .4rem 0 0; }
.stat-row > div { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); display: grid; }
.stat-row b { font-size: 1.5rem; letter-spacing: -.02em; }
.stat-row span { color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kartu jurnal bersampul */
.jgrid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.jcard { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; align-items: start; color: var(--text); }
.jcard:hover { text-decoration: none; }
.jcard h3 { margin: 0 0 .3rem; }
.jcard-cover { width: 84px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.jcard-ph { display: grid; place-items: center; font: 700 .9rem var(--mono); color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand), var(--accent)); border: 0; text-transform: uppercase; }
.jcard-body { display: grid; gap: .2rem; min-width: 0; }

/* Terbitan terbaru */
.issue-strip { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.issue-tile { display: flex; gap: .8rem; align-items: center; color: var(--text); padding: .8rem; }
.issue-tile:hover { text-decoration: none; }
.issue-tile img { width: 48px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; flex: none; }
.issue-tile > span { display: grid; gap: .1rem; min-width: 0; }

/* Tim editorial & reviewer */
.people { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.person { display: flex; gap: .75rem; align-items: center; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.person > span:last-child { display: grid; min-width: 0; }
.person .avatar { flex: none; }
.reviewer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.reviewer-list li { display: grid; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.info-cols { align-items: stretch; margin-top: 1rem; }
.info-cols .sec-title { margin-top: 0; }
.policy-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; font-size: .93rem; }
.pname { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; }

/* ── v1.13 dasbor: langganan, beranda portal ─────────────────────────────── */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.bill-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.bill-amount { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; }
.bank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bank-list li { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .7rem; align-items: center; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.bank-list li > .dim { grid-column: 1 / -1; }
.bank-no { font-size: 1.02rem; font-weight: 600; }
.qris-img { width: 240px; max-width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.sub-banner { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 1.4rem; padding: .65rem .9rem; border-radius: var(--radius-sm); font-size: .9rem;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.sub-banner.err { border-color: color-mix(in srgb, var(--err) 45%, transparent); background: color-mix(in srgb, var(--err) 10%, transparent); }
.slide-admin { list-style: none; margin: 0; padding: .4rem 1rem; display: grid; gap: .6rem; }
.slide-admin li { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.slide-admin img { width: 120px; height: 45px; object-fit: cover; border-radius: 6px; flex: none; }
.slide-admin .grow { flex: 1; min-width: 12rem; }
.cover-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.cover-card { display: grid; gap: .45rem; justify-items: start; }
.cover-card img, .cover-ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cover-ph { display: grid; place-items: center; font-weight: 700; color: var(--muted); background: var(--panel-2); }
@media (max-width: 720px) { .sub-banner { margin: 0 1rem; } }
.issue-card-cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: .5rem; background: var(--panel-2); }

/* ── v1.16 DataTable: cari, filter, halaman, pilih massal ── */
.dt-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.dt-bar input[type=search] { flex: 1 1 14rem; min-width: 0; max-width: 22rem; }
.dt-bar select, .dt-foot select { width: auto; }
.dt-size { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.dt-foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; padding: .7rem 1.1rem; }
.dt-bulk { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem 1.1rem; background: color-mix(in srgb, var(--brand) 9%, transparent); border-bottom: 1px solid var(--line); }
.dt-check { width: 2.2rem; }
.dt-check input { width: 1.05rem; height: 1.05rem; }
tr.dt-on td { background: color-mix(in srgb, var(--brand) 6%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.view, .view > *, .two-col > * { min-width: 0; }
@media (max-width: 700px) {
  .dt table, .dt tbody, .dt tr, .dt td { display: block; width: 100%; }
  .dt thead { display: none; }
  .dt tr { padding: .7rem 1rem; border-bottom: 1px solid var(--line); position: relative; }
  .dt td { border: 0; padding: .25rem 0; display: flex; gap: .8rem; justify-content: space-between; align-items: baseline; text-align: right; overflow-wrap: anywhere; }
  .dt td[data-label]::before { content: attr(data-label); flex: none; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
  .dt td.dt-check { position: absolute; right: .8rem; top: .7rem; width: auto; padding: 0; }
  .dt td.dt-check::before { display: none; }
  .dt td:nth-child(1):not(.dt-check), .dt td.dt-check + td { display: block; text-align: left; padding-right: 2rem; }
  .dt td:nth-child(1):not(.dt-check)::before, .dt td.dt-check + td::before { display: none; }
  .dt td:last-child:empty { display: none; }
  .dt-size { margin-left: 0; }
  .dt-foot { justify-content: center; }
}
.issue-thumb-cell { display: flex; align-items: center; gap: .6rem; }
.issue-thumb { width: 42px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--panel-2); flex: none; display: grid; place-items: center; color: var(--muted); }
.issue-thumb.fallback { opacity: .55; }

/* ── v1.17 halaman artikel & publik: tidak boleh melebar di HP ── */
.site-main, .wrap { min-width: 0; }
.art-layout > * { min-width: 0; }
.art-main, .art-side, .facts dd, .cite-box, .refs li, .abstract p, .affiliations li, .file-item, .crumbs { overflow-wrap: anywhere; word-break: break-word; }
.art-main .btn { white-space: normal; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.kw .chip, .art-main .chip { white-space: normal; max-width: 100%; }
.art-main img, .art-main video, .art-main iframe { max-width: 100%; height: auto; }
.art-main table, .art-main pre { display: block; max-width: 100%; overflow-x: auto; }
.refs ol { padding-left: 1.3rem; }
.refs li { margin-bottom: .45rem; }
@media (max-width: 860px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .abstract p { text-align: left; }
  .wrap { width: calc(100% - 2rem); }
  .art-title { font-size: 1.4rem; line-height: 1.3; }
}

/* ── v1.17 bagian beranda: grid / slider horizontal / daftar + efek hover ── */
.hsec { margin-top: 2.2rem; }
.hsec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rail-nav { display: inline-flex; gap: .4rem; }
.rail-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-static .rail-nav { visibility: hidden; }
.hl { display: grid; gap: .9rem; }
.hl-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.hl-grid.hl-people { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.hl-slider { grid-auto-flow: column; grid-auto-columns: min(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 .2rem;
  padding: .3rem .2rem 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; overscroll-behavior-x: contain; }
.hl-slider > * { scroll-snap-align: start; }
.hl-slider:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hl-list { grid-template-columns: minmax(0, 1fr); }
.hcard { display: flex; flex-direction: column; gap: .6rem; color: var(--text); padding: .8rem; min-width: 0; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hcard:hover { text-decoration: none; }
.hcard-body { display: grid; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.hcard-media { display: block; overflow: hidden; border-radius: 8px; background: var(--panel-2); }
.hcard-media img, .hcard-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s ease; }
.hcard-ph { font: 700 1.4rem var(--mono); color: var(--muted); }
.hcard-art h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.hcard-art .meta-row { margin-top: auto; }
.hcard-person { flex-direction: row; align-items: center; }
.hcard-person .avatar { flex: none; }
.hl-grid .hcard-person, .hl-slider .hcard-person { flex-direction: column; align-items: center; text-align: center; }
.hl-grid .hcard-person .avatar, .hl-slider .hcard-person .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.hl-list .hcard-issue { flex-direction: row; align-items: center; }
.hl-list .hcard-issue .hcard-media { width: 56px; flex: none; }
.hl-list .hcard-issue .hcard-ph { font-size: .8rem; }
/* efek hover */
.hv-lift .hcard:hover, .hv-lift .art-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.hv-zoom .hcard:hover .hcard-media img { transform: scale(1.06); }
.hv-zoom .hcard-art:hover, .hv-zoom .hcard-person:hover, .hv-zoom .art-card:hover { transform: scale(1.02); }
.hv-glow .hcard:hover, .hv-glow .art-card:hover { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.art-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow-wrap: anywhere; }
@media (hover: none) { .hv-lift .hcard:hover, .hv-zoom .hcard:hover, .hv-lift .art-card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hcard, .hcard-media img, .art-card { transition: none; } .hv-lift .hcard:hover, .hv-zoom .hcard:hover .hcard-media img { transform: none; } }
@media (max-width: 640px) {
  .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .hl-grid.hl-people { grid-template-columns: minmax(0, 1fr); }
  .hl-grid .hcard-person { flex-direction: row; text-align: left; }
  .hl-grid .hcard-person .avatar { width: 40px; height: 40px; font-size: 1rem; }
  .hcard { padding: .6rem; }
  .hsec { margin-top: 1.6rem; }
}
.sec-set { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .9rem .9rem; margin: 0; min-width: 0; }
.sec-set legend { padding: 0 .3rem; }

/* ── v1.17 menu HP situs publik ── */
.m-menu { display: none; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); font-size: 1.1rem; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 20; min-width: 200px; display: grid; padding: .4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow); }
.m-menu-panel a { padding: .65rem .8rem; border-radius: var(--radius-sm); color: var(--text); }
.m-menu-panel a:hover { background: var(--panel-2); text-decoration: none; }
@media (max-width: 860px) {
  .m-menu { display: block; }
  .site-head .row { gap: .6rem; }
  .brand { min-width: 0; flex: 1; }
  .brand-text { min-width: 0; }
  .brand-text strong, .brand-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-nav { gap: .5rem; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .stat-row b { font-size: 1.2rem; }
  .jgrid { grid-template-columns: minmax(0, 1fr); }
  .site-foot .row { flex-direction: column; gap: .4rem; text-align: center; }
}
/* kartu terbitan lebih ramping */
.hl-grid:has(.hcard-issue) { grid-template-columns: repeat(auto-fill, minmax(min(165px, 100%), 1fr)); }
.hl-slider:has(.hcard-issue) { grid-auto-columns: min(180px, 46%); }
.hl-slider:has(.hcard-person) { grid-auto-columns: min(230px, 70%); }
.hl-slider:has(.hcard-art) { grid-auto-columns: min(280px, 82%); }
.hcard-issue .hcard-body b { font-size: .92rem; }
@media (max-width: 640px) { .hl-grid:has(.hcard-issue) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v1.18 — logo Peervie (landing, login, konsol owner) */
.brand-logo.sp-mark { width: 32px; height: 32px; border-radius: 0; background: none; padding: 0; object-fit: contain; flex: none; }
.sp-word { font-weight: 800; letter-spacing: -.01em; }
.sp-word span { background: linear-gradient(100deg, #4f46e5, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .sp-word span { background-image: linear-gradient(100deg, #a5b4fc, #67e8f9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-word span { background-image: linear-gradient(100deg, #a5b4fc, #67e8f9); } }
.landing .sp-word span { background-image: linear-gradient(100deg, var(--lt-a1), var(--lt-a2)); }
/* v1.18 — fitur terkunci per paket */
.nav-lock { margin-left: auto; font-size: .72rem; opacity: .7; }
.feature-lock { border-color: color-mix(in srgb, #f59e0b 45%, var(--line)); background: color-mix(in srgb, #f59e0b 7%, var(--panel)); }
.feature-lock .row { align-items: center; flex-wrap: wrap; }
.feature-lock .grow { flex: 1; min-width: 14rem; }
.feature-lock .lock-ico { font-size: 1.4rem; }

/* v1.21: langganan kabar terbitan portal */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.subscribe-box .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.subscribe-box {
  position: relative; margin: 3rem 0 0; padding: 1.25rem 1.4rem; display: flex; gap: 1rem 2rem; align-items: center; flex-wrap: wrap;
  background: color-mix(in srgb, var(--brand) 6%, var(--panel)); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: var(--radius);
}
.subscribe-text { flex: 1 1 16rem; min-width: 0; }
.subscribe-text h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.subscribe-text p { margin: 0; }
.subscribe-form { flex: 2 1 22rem; min-width: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.subscribe-form input[type=email] { flex: 1 1 14rem; min-width: 0; }
.subscribe-form select { flex: 0 1 14rem; min-width: 0; }
.subscribe-form .btn { flex: none; }
@media (max-width: 560px) {
  .subscribe-form input[type=email], .subscribe-form select, .subscribe-form .btn { flex: 1 1 100%; width: 100%; }
}
.notice-page { max-width: 46rem; }

/* ── v1.22 blog portal ───────────────────────────────────────────────────── */
.post-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-width: 0; }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.post-card-body { padding: .9rem 1rem 1.1rem; display: grid; gap: .35rem; min-width: 0; }
.post-card-body h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.post-card-body h3 a { color: var(--text); }
.post-card-meta { margin: 0; }
.post-card-body .clamp { margin: 0; }
#blog { margin-top: 2.2rem; }
.posts-head { padding: .5rem 0 1.2rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem; margin: 1.8rem 0 0; }

.post { max-width: 760px; margin: 0 auto; min-width: 0; }
.post-head h1 { margin: .2rem 0 .5rem; overflow-wrap: anywhere; }
.post-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); margin: 1rem 0 1.4rem; display: block; }
.post-body { font-size: 1.04rem; line-height: 1.75; overflow-wrap: anywhere; }
.post-body > * { max-width: 100%; }
.post-body h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.post-body h3 { font-size: 1.18rem; margin: 1.6rem 0 .6rem; }
.post-body h4 { font-size: 1.02rem; margin: 1.3rem 0 .5rem; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); display: block; margin: 1rem auto; }
.post-body figure { margin: 1.4rem 0; }
.post-body figcaption { text-align: center; font-size: .86rem; color: var(--muted); }
.post-body blockquote { margin: 1.4rem 0; padding: .4rem 1.1rem; border-left: 3px solid var(--brand); color: var(--muted); }
.post-body pre { overflow-x: auto; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--panel-2); font-size: .9rem; }
.post-body code { font-family: var(--mono); font-size: .9em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.post-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.3rem 0; font-size: .94rem; }
.post-body th, .post-body td { border: 1px solid var(--line-2); padding: .5rem .7rem; vertical-align: top; min-width: 6rem; }
.post-body th { background: var(--panel-2); text-align: left; }
.post-body caption { caption-side: bottom; font-size: .85rem; color: var(--muted); padding-top: .4rem; }
.ta-left { text-align: left; } .ta-center { text-align: center; } .ta-right { text-align: right; } .ta-justify { text-align: justify; }

/* ── v1.22 tombol halaman jurnal: lebih kecil, berjarak dari chip ─────────── */
.journal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.journal-head-body .lead { margin: 1rem 0 0; }
@media (max-width: 560px) { .journal-actions .btn { flex: 1 1 auto; justify-content: center; } }
/* v1.22: chip panjang (mis. nama penerbit) boleh turun baris agar tidak melebar di ponsel. */
.meta-row .chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* ── v1.29 sidebar artikel: aksi cepat, linimasa naskah, fakta berikon, lisensi & indeksasi ── */
.art-side { position: static; gap: .9rem; }
.art-side svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-actions { display: grid; gap: .5rem; }
.side-pdf { justify-content: center; gap: .5rem; padding-block: .72rem; font-size: .98rem; border-radius: 12px;
  box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--brand) 85%, transparent); }
.side-mini { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.side-mini .btn { justify-content: center; gap: .4rem; border-radius: 10px; }
.side-mini .btn.is-done, .side-copy.is-done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--line-2)); }
.side-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.05rem 1.05rem; box-shadow: var(--shadow-sm); min-width: 0; }
.side-h { display: flex; align-items: center; gap: .6rem; margin: 0 0 .85rem; font-size: .7rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
.side-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.side-timeline { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .1rem; }
.side-timeline li { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem; padding: .32rem 0 .32rem 1.45rem; font-size: .88rem; }
.side-timeline li::before { content: ""; position: absolute; left: .37rem; top: -.2rem; bottom: -.2rem; width: 2px; background: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.side-timeline li:first-child::before { top: 50%; }
.side-timeline li:last-child::before { bottom: 50%; }
.tl-dot { position: absolute; left: .1rem; top: 50%; width: .8rem; height: .8rem; margin-top: -.4rem; border-radius: 50%; background: var(--bg-2); border: 2px solid color-mix(in srgb, var(--brand) 55%, var(--line-2)); }
.side-timeline .is-final .tl-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.tl-k { color: var(--muted); }
.side-timeline time { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.side-timeline .is-final .tl-k { color: var(--text); font-weight: 600; }
.side-facts { margin: 0; display: grid; gap: .1rem; }
.side-facts > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .75rem; padding: .45rem 0; border-top: 1px dashed var(--line); }
.side-facts > div:first-child { border-top: 0; }
.side-facts dt { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .84rem; }
.side-facts dt svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.side-facts dd { margin: 0; text-align: right; font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.side-facts dd a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); text-underline-offset: 3px; }
.side-facts dd a:hover { color: var(--brand); }
.lang-chip { display: inline-block; padding: .05rem .4rem; border-radius: 6px; font-size: .75rem; background: var(--panel-2); border: 1px solid var(--line); margin-right: .2rem; }
.side-doi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .55rem; margin-top: .75rem; padding: .45rem .45rem .45rem .7rem; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line); }
.side-doi-k { font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: var(--on-brand); background: var(--brand); padding: .14rem .38rem; border-radius: 5px; }
.side-doi a { font-size: .8rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-copy { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); cursor: pointer; }
.side-copy:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--line-2)); }
.side-license { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--bg-2)), color-mix(in srgb, var(--accent) 9%, var(--bg-2))); border-color: color-mix(in srgb, var(--brand) 20%, var(--line)); }
.lic-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; }
.lic-head > span:last-child { display: grid; gap: .05rem; line-height: 1.25; }
.lic-head b { font-size: .98rem; }
.lic-head a { color: var(--brand); font-weight: 600; }
.lic-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand); flex: none; box-shadow: 0 8px 18px -10px var(--brand); }
.lic-badge svg { width: 24px; height: 24px; stroke-width: 2; }
.side-license p { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.side-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .85rem; }
.side-index li { display: flex; align-items: center; gap: .65rem; line-height: 1.35; }
.ix-ic { display: grid; place-items: center; width: 30px; height: 26px; flex: none; border-radius: 7px; font-size: .68rem; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }

/* ── v1.29 blog beranda: kartu ramping + slider horizontal ── */
.post-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 86%); gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .35rem .15rem .9rem; scrollbar-width: thin; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.post-rail:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.post-mini { scroll-snap-align: start; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .8rem; align-items: center; padding: .6rem; min-width: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.post-mini:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line-2)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.post-mini-media { display: block; width: 96px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.post-mini-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-mini-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--on-brand);
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.post-mini-body { display: grid; gap: .18rem; min-width: 0; }
.post-mini-meta { margin: 0; font-size: .68rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-mini h3 { margin: 0; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-mini h3 a { color: var(--text); }
.post-mini h3 a:hover { color: var(--brand); text-decoration: none; }
.post-mini-ex { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
#blog .hsec-head .row { align-items: center; }

/* v1.30: subjudul daftar (H2) — struktur heading SEO. */
.list-h { margin: 1.4rem 0 .8rem; font-size: 1rem; font-weight: 650; letter-spacing: .02em; color: var(--muted); }

/* v1.31: ikon Lucide (outline) di seluruh antarmuka. */
.lucide { display: inline-grid; place-items: center; flex: none; line-height: 0; }
.lucide svg, svg.lucide { display: block; }
.icon-btn svg { width: 20px; height: 20px; }
.m-menu > summary { display: inline-grid; place-items: center; }
.chip-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; color: var(--muted); }
.chip-ico svg { width: 14px; height: 14px; }
.vh, .vk { display: inline-flex; align-items: center; gap: .4rem; }

/* v1.31.1: baris penulis — nama, badge korespondensi & ORCID sejajar di tengah. */
.authors-list { align-items: center; gap: .45rem 1.3rem; }
.authors-list > li { display: inline-flex; align-items: center; gap: .4rem; min-height: 28px; }
.authors-list .author-name { line-height: 1.3; }
.authors-list sup { font-size: .68em; line-height: 0; vertical-align: super; margin-left: .08em; }
.corr-badge { --corr: #2563eb; display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  color: #fff; background: var(--corr); box-shadow: 0 0 0 2px color-mix(in srgb, var(--corr) 22%, transparent); }
.corr-badge svg { width: 13px; height: 13px; stroke-width: 2.2; }
:root[data-theme="dark"] .corr-badge { --corr: #3b82f6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .corr-badge { --corr: #3b82f6; } }

/* ── v1.32: profil publik peneliti ── */
.author-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.author-link:hover { color: var(--brand); }
.pf { display: grid; gap: 1.2rem; margin-top: .6rem; }
.pf-hero { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.6rem; align-items: start; padding: 1.6rem; border-radius: 20px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%), var(--bg-2); box-shadow: var(--shadow-sm); }
.pf-photo img, .pf-initials { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--bg-2), 0 0 0 5px var(--line-2), 0 14px 30px -18px rgba(0, 0, 0, .45); }
.pf-initials { font-size: 2.6rem; font-weight: 700; color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--accent)); letter-spacing: .02em; }
.pf-id { min-width: 0; display: grid; gap: .45rem; }
.pf-eyebrow { margin: 0; font-size: .68rem; letter-spacing: .18em; color: var(--brand); }
.pf-id h1 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; }
.pf-headline { margin: 0; font-size: 1.02rem; color: var(--text); }
.pf-rank { color: var(--muted); }
.pf-aff { margin: 0; display: flex; gap: .45rem; align-items: flex-start; color: var(--muted); font-size: .93rem; }
.pf-aff svg { margin-top: .2rem; flex: none; }
.pf-verify { list-style: none; margin: .35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pf-verify li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid var(--line-2); background: var(--bg); }
.pf-verify .v-ok { color: #15803d; border-color: rgba(21, 128, 61, .3); background: rgba(34, 197, 94, .08); }
.pf-verify .v-orcid { color: #4d7c0f; border-color: rgba(166, 206, 57, .5); background: rgba(166, 206, 57, .1); }
.pf-verify .v-mail { color: #1d4ed8; border-color: rgba(37, 99, 235, .3); background: rgba(37, 99, 235, .07); }
:root[data-theme="dark"] .pf-verify .v-ok { color: #4ade80; } :root[data-theme="dark"] .pf-verify .v-orcid { color: #bef264; } :root[data-theme="dark"] .pf-verify .v-mail { color: #93c5fd; }
.pf-roles { margin: .1rem 0 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.pf-role { font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 7px; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pf-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.pf-stats > div { padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.pf-stats dt { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.pf-stats dd { margin: .15rem 0 0; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; align-items: start; }
.pf-main, .pf-side { display: grid; gap: 1.2rem; min-width: 0; }
.pf-card { padding: 1.15rem 1.25rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow-sm); min-width: 0; }
.pf-card h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1rem; }
.pf-card h2 svg { color: var(--brand); }
.pf-bio { margin: 0; line-height: 1.7; white-space: pre-line; }
.pf-tags { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pf-tags span { padding: .3rem .7rem; border-radius: 999px; font-size: .84rem; border: 1px solid var(--line-2); background: var(--bg); }
.pf-pubs { margin: 0; padding-left: 1.2rem; display: grid; gap: .75rem; }
.pf-pubs li a:first-child { font-weight: 600; color: var(--text); line-height: 1.4; }
.pf-pubs li a:first-child:hover { color: var(--brand); }
.pf-pubs .small { display: block; margin-top: .15rem; }
.pf-list, .pf-edu { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pf-edu li { display: grid; gap: .1rem; padding-left: .8rem; border-left: 2px solid color-mix(in srgb, var(--brand) 35%, var(--line)); }
.pf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pf-links a, .pf-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .45rem .5rem; border-radius: 10px; color: var(--text); }
.pf-links a:hover { background: var(--panel-2); text-decoration: none; }
.pf-links small { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-links .pf-ext { color: var(--muted); }
.pf-mono { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font: 700 .7rem/1 var(--font); color: #fff; background: #64748b; }
.pf-mono svg { width: 16px; height: 16px; }
.pf-orcid { background: rgba(166, 206, 57, .15); } .pf-orcid svg { width: 20px; height: 20px; }
.pf-m-scholar { background: #4285f4; } .pf-m-scopus { background: #e9711c; } .pf-m-sinta { background: #0f5ea8; } .pf-m-wos { background: #5e33bf; }
.pf-m-researchgate { background: #00ccbb; } .pf-m-academia { background: #41454a; } .pf-m-garuda { background: #b91c1c; } .pf-m-semantic { background: #1857b6; }
.pf-m-linkedin { background: #0a66c2; } .pf-m-x, .pf-m-tiktok { background: #111; } .pf-m-facebook { background: #1877f2; } .pf-m-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.pf-m-youtube { background: #ff0000; } .pf-m-github { background: #24292f; } .pf-m-website, .pf-m-mail, .pf-m-phone { background: var(--brand); color: var(--on-brand); }
.pf-kv { margin: 0; display: grid; gap: .5rem; }
.pf-kv > div { display: flex; justify-content: space-between; gap: .8rem; font-size: .9rem; }
.pf-kv dt { color: var(--muted); }
.pf-kv dd { margin: 0; text-align: right; }
.pf-upd { margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pf-hero { grid-template-columns: 1fr; justify-items: start; padding: 1.2rem; gap: 1rem; } .pf-photo img, .pf-initials { width: 104px; height: 104px; font-size: 2rem; } }
.pf-id h1 { max-width: none; overflow-wrap: anywhere; }
.pf, .pf-grid > *, .pf-main, .pf-side { min-width: 0; }
.pf { grid-template-columns: minmax(0, 1fr); }
.pf-verify li { white-space: normal; line-height: 1.3; }
@media (max-width: 600px) { .pf-hero { grid-template-columns: minmax(0, 1fr); } .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-verify .v-ok { color: #4ade80; } :root:not([data-theme="light"]) .pf-verify .v-orcid { color: #bef264; } :root:not([data-theme="light"]) .pf-verify .v-mail { color: #93c5fd; } }

/* v1.32.1: nama orang → profil; profil privat; direktori peneliti. */
.person-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 30%, transparent); text-underline-offset: 3px; }
.person-link:hover { color: var(--brand); text-decoration-color: currentColor; }
.pf-private { max-width: 560px; margin: 3rem auto; text-align: center; padding: 2.2rem 1.6rem; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow-sm); }
.pf-private-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--muted); background: var(--panel-2); margin-bottom: .6rem; }
.pf-private h1 { margin: .2rem 0 .6rem; font-size: 1.5rem; }
.pf-private p { margin: 0 0 .6rem; }
.pf-dir-head { margin: .6rem 0 .4rem; }
.pf-dir-head h1 { margin: .2rem 0 .3rem; }
.pf-dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: .8rem; }
.pf-dcard { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .9rem; align-items: start; padding: 1rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); height: 100%; transition: border-color .15s, transform .15s, box-shadow .15s; }
.pf-dcard:hover { text-decoration: none; border-color: color-mix(in srgb, var(--brand) 35%, var(--line-2)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pf-dphoto { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--accent)); }
.pf-dphoto img { width: 100%; height: 100%; object-fit: cover; }
.pf-dbody { display: grid; gap: .15rem; min-width: 0; }
.pf-dmeta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-top: .35rem; }
.pf-dmeta .dim { display: inline-flex; align-items: center; gap: .25rem; }

/* v1.32.3: filter direktori peneliti */
.pf-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .7rem; align-items: center; margin: 1rem 0 .4rem; padding: .7rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.pf-search { position: relative; display: block; }
.pf-search svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pf-search input { padding-left: 2.4rem; min-height: 44px; }
.pf-roles-filter { display: flex; gap: .3rem; flex-wrap: wrap; padding: 3px; }
.pf-rf { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; min-height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; font-size: .88rem; font-weight: 550; color: var(--muted); }
.pf-rf input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-rf em { font-style: normal; font-size: .75rem; padding: .05rem .45rem; border-radius: 99px; background: var(--panel-2); color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-rf:hover { color: var(--text); }
.pf-rf.on { color: var(--brand); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--bg)); }
.pf-rf.on em { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.pf-rf:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.pf-sort select { min-height: 44px; min-width: 180px; }
.pf-dexp { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .25rem; }
.pf-dexp span { font-size: .72rem; padding: .1rem .5rem; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.pf-dstats { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .3rem; font-size: .78rem; color: var(--muted); }
.pf-dstats span { display: inline-flex; align-items: center; gap: .25rem; }
.pf-dir li[hidden] { display: none; }
.pf-empty { margin: 1rem 0; }
@media (max-width: 860px) { .pf-filter { grid-template-columns: minmax(0, 1fr); } .pf-sort select { width: 100%; } .pf-roles-filter { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .pf-rf { flex: none; } }

/* ── v1.33 — audit Anggota & akun penulis arsip OJS ─────────────────────── */
.nowrap { white-space: nowrap; }
.mb-pending { margin-left: .35rem; color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); font-size: .7rem; padding: .05rem .45rem; vertical-align: 1px; }
.mb-contrib { min-width: 9rem; }
.mb-c { display: inline-block; margin: 0 .3rem .25rem 0; padding: .08rem .5rem; border-radius: 999px; font-size: .74rem; color: var(--text); background: color-mix(in srgb, var(--brand) 9%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); white-space: nowrap; }
.mb-c.mb-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, transparent); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.mb-acts { justify-content: flex-end; flex-wrap: nowrap; }
.mb-acts .btn { display: inline-flex; align-items: center; gap: .35rem; }
.dt-bar .btn { display: inline-flex; align-items: center; gap: .35rem; }
.mb-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .55rem .9rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--brand) 3%, transparent); }
.mb-kv { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.mb-kv > span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mb-kv b { font-weight: 600; font-size: .88rem; overflow-wrap: anywhere; }
.mb-pend { color: var(--warn); }
.mb-note { font-size: .84rem; }
.mb-note .btn { display: inline-flex; align-items: center; gap: .35rem; }
.mb-tabs { margin: .4rem 0 .2rem; }
.mb-list { max-height: min(46vh, 420px); overflow: auto; display: flex; flex-direction: column; gap: .35rem; padding-right: .2rem; }
.mb-item { display: flex; flex-direction: column; gap: .15rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: inherit; text-decoration: none; }
.mb-item:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 4%, transparent); }
.mb-item b { font-weight: 600; font-size: .9rem; line-height: 1.35; }
.mb-del { margin: .2rem 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.mb-names { padding: .5rem .7rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--err) 7%, transparent); border: 1px dashed color-mix(in srgb, var(--err) 35%, transparent); }
.ca-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; }
.ca-stats div { padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: .1rem; }
.ca-stats b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.ca-stats span { font-size: .76rem; color: var(--muted); }
.ca-stats .ca-create b { color: var(--brand); }
.ca-stats .ca-link b { color: var(--ok); }
.ca-stats .ca-skip b { color: var(--warn); }
.ca-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ca-tools input[type=search] { flex: 1 1 14rem; max-width: 22rem; min-width: 0; }
.ca-tools select { width: auto; }
.ca-list { max-height: 460px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ca-row { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .6rem; align-items: start; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.ca-row:last-child { border-bottom: 0; }
.ca-row.ca-off { opacity: .78; }
.ca-row input { margin-top: .2rem; }
.ca-who { min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.ca-who b { font-weight: 600; }
.ca-who .small { overflow-wrap: anywhere; }
.ca-tag { font-size: .72rem; padding: .08rem .5rem; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.ca-tag.create { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.ca-tag.link { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.ca-tag.skip { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.ca-why { color: var(--warn); font-size: .8rem; }
.ca-opts { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.ca-opts label { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; }
.ca-opts select { width: auto; }
@media (max-width: 640px) {
  .ca-row { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .ca-row .ca-tag { grid-column: 2; justify-self: start; }
  .mb-acts { flex-wrap: wrap; justify-content: flex-start; }
}
.dt-bulk select { width: auto; }

/* ── v1.33.3 — paginasi Direktori Peneliti ─────────────────────────────── */
.pf-results { transition: opacity .15s ease; }
.pf-results.pf-loading { opacity: .55; pointer-events: none; }
.pf-range { font-weight: 400; color: var(--muted); font-size: .85em; }
.pf-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .6rem; margin: 2rem 0 .5rem; }
.pf-pg-nums { display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.pf-pg { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s; }
a.pf-pg:hover { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.pf-pg.on { background: var(--text); color: var(--bg, #fff); border-color: var(--text); }
.pf-pg.off { opacity: .4; cursor: default; }
.pf-pg-gap { color: var(--muted); padding: 0 .15rem; }
.pf-pg-of { flex-basis: 100%; text-align: center; order: 9; }
@media (max-width: 640px) {
  .pf-pg-nums .pf-pg:not(.on) { display: none; }
  .pf-pg-nums .pf-pg-gap { display: none; }
  .pf-pg-nav { flex: 1 1 0; }
}

/* ── v1.33.4 — Impor User OJS: peran asli ───────────────────────────────── */
.ojs-chip { display: inline-block; margin: 0 .3rem .25rem 0; padding: .08rem .5rem; border-radius: 999px; font-size: .74rem; font-weight: 600; border: 1px solid var(--line-2); white-space: nowrap; }
.ojs-chip.ojs-au { color: #2563eb; border-color: color-mix(in srgb, #2563eb 35%, transparent); background: color-mix(in srgb, #2563eb 8%, transparent); }
.ojs-chip.ojs-rv { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.ojs-chip.ojs-ed, .ojs-chip.ojs-mg { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.ojs-chip.ojs-as { color: var(--muted); }
.ojs-chip.ojs-rd { color: var(--muted); border-style: dashed; font-weight: 500; }
.iu-grant { white-space: nowrap; }
.iu-grant .check { display: flex; align-items: center; gap: .35rem; margin: .1rem 0; }
.iu-grant .iu-has { opacity: .7; }
.iu-table b.ok { color: var(--ok); }

/* ── v1.34 — riwayat OJS ────────────────────────────────────────────────── */
.oh-sql { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: .7rem; }
.oh-sql pre { margin: .35rem 0 0; padding: .7rem .8rem; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line); font-size: .76rem; line-height: 1.5; overflow: auto; white-space: pre; }
.oh-ups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: .7rem; }
.oh-up { display: flex; flex-direction: column; gap: .45rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.oh-up input[type=file] { flex: 1 1 14rem; min-width: 0; }
.oh-up .btn { display: inline-flex; align-items: center; gap: .35rem; }
.mb-c.mb-ojs { color: #7c3aed; background: color-mix(in srgb, #7c3aed 8%, transparent); border-color: color-mix(in srgb, #7c3aed 30%, transparent); }
.mb-ojs-note { margin: .5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: var(--muted); }
.iu-proof b { display: block; margin-bottom: .15rem; }

/* ── v1.34.1 — tautan "Lihat semua" bagian orang di beranda & dialog email ─ */
.hsec-more { margin: .9rem 0 0; text-align: right; font-weight: 600; font-size: .9rem; }
.hsec-more a { text-decoration: none; }
.hsec-more a:hover { text-decoration: underline; }
.em-to { padding: .5rem .7rem; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line); font-size: .84rem; max-height: 5.5rem; overflow: auto; }
.em-body { min-height: 11rem; font: inherit; line-height: 1.55; }
.em-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.em-tags button { font: inherit; font-size: .76rem; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer; }
.em-tags button:hover { border-color: var(--brand); color: var(--brand); }
.em-preview { padding: .7rem .85rem; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); font-size: .84rem; white-space: pre-wrap; max-height: 11rem; overflow: auto; }
.em-preview b { display: block; margin-bottom: .35rem; }

/* ── v1.34.2 — Tim Editorial rata tengah (Grid & Slider), Mitra Bestari "dan X lainnya" ── */
#tim .hl-grid.hl-people { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 260px)); justify-content: center; }
#tim .hl-slider { justify-content: safe center; }
.reviewer-list .reviewer-more { display: flex; align-items: center; border-bottom: 1px dashed var(--line); }
.reviewer-list .reviewer-more a { font-weight: 600; text-decoration: none; }
.reviewer-list .reviewer-more a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  #tim .hl-grid.hl-people { grid-template-columns: minmax(0, 1fr); }
}
.hl-grid .hcard-person .hcard-body, .hl-slider .hcard-person .hcard-body { justify-items: center; text-align: center; }
.hl-grid .hcard-person .pname, .hl-slider .hcard-person .pname { justify-content: center; }
@media (max-width: 640px) {
  .hl-grid .hcard-person .hcard-body { justify-items: start; text-align: left; }
  .hl-grid .hcard-person .pname { justify-content: flex-start; }
}
