/* Panel mandiri ARTIFICIALS.NET. Aturan panel dibatasi ke Shadow DOM. */
:host { all: initial; color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; }
:host *, :host *::before, :host *::after { box-sizing: border-box; }
:host [hidden] { display: none !important; }
:host button, :host a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:host button { font: inherit; cursor: pointer; }
:host button:disabled { cursor: not-allowed; opacity: .45; }
:host :is(button, a):focus-visible { outline: 3px solid #155ac5; outline-offset: 3px; }
:host svg { width: 24px; height: 24px; flex: none; }
:host .pna-launch {
  position: fixed; top: 174px; right: 18px; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 9px;
  border: 2px solid #fff; border-radius: 30px; background: #8b2117; color: #fff;
  box-shadow: 0 4px 22px #43190b38; font: 600 13px/1.3 "Segoe UI", Arial, sans-serif;
  transition: background .15s, box-shadow .15s;
}
:host .pna-launch svg { width: 29px; height: 29px; }
:host .pna-launch > span { display: none; }
:host .pna-launch:hover { background: #68160f; box-shadow: 0 5px 26px #43190b50; }
:host .pna-launch i { position: absolute; right: -1px; top: 0; width: 9px; height: 9px; border: 1px solid #8b2117; background: #ffe1a0; border-radius: 50%; }
:host .pna-panel {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
  width: 426px; max-width: 100%; height: 100%; height: 100dvh; max-height: 100%;
  border: 0; border-radius: 24px 0 0 24px; overflow: hidden;
  background: #fcfaf7; color: #262d35; color-scheme: light;
  font: 14px/1.5 "Segoe UI", Arial, sans-serif; text-align: left;
  box-shadow: -12px 0 65px #26140d26;
}
:host .pna-panel[open] { display: flex; flex-direction: column; }
:host .pna-panel::backdrop { background: #17233145; }
:host .pna-header { flex: none; padding: 24px 24px 22px; background: #fff; border-bottom: 1px solid #ebe6df; }
:host .pna-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 18px; color: #6e554e; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
:host .pna-eyebrow span { padding: 4px 8px; border-radius: 20px; color: #7c3a0e; background: #fcf0d9; font-size: 9px; letter-spacing: .7px; }
:host .pna-title-row { display: flex; align-items: center; gap: 12px; }
:host .pna-symbol { width: 47px; height: 49px; display: grid; place-items: center; border-radius: 14px; background: #f9ede8; color: #922518; flex: none; }
:host .pna-symbol svg { width: 31px; height: 31px; }
:host h2 { margin: 0; font-size: 25px; line-height: 1.2; letter-spacing: -.7px; font-weight: 750; }
:host .pna-title-row p { margin: 6px 0 0; font-size: 11px; color: #6c6b70; }
:host .pna-icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e6e2dd; border-radius: 50%; color: #4f535b; background: #fff; }
:host .pna-close { margin-left: auto; flex: none; }
:host .pna-icon-button:hover { background: #f4f0eb; }
:host .pna-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c7bbb1 transparent; padding: 20px 24px 16px; }
:host .pna-intro { margin: 0 0 20px; color: #606269; font-size: 13px; line-height: 1.65; }
:host h3 { margin: 0 0 12px; font-size: 14px; line-height: 1.4; font-weight: 700; }
:host .pna-presets h3 { font-size: 12px; color: #6b514a; margin-bottom: 10px; }
:host .pna-chips { display: flex; gap: 6px; flex-wrap: wrap; }
:host .pna-chips button { border: 1px solid #dfd3ca; border-radius: 20px; background: #fff; color: #71392e; min-height: 38px; padding: 8px 10px; font-size: 11px; font-weight: 600; }
:host .pna-chips button:hover { background: #f6e9e2; border-color: #a44936; }
:host .pna-section { margin-top: 24px; }
:host .pna-section-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
:host .pna-section-title h3 { margin-bottom: 0; }
:host .pna-text-reset { border: 0; background: transparent; color: #8c2c20; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; padding: 8px 0 8px 8px; min-height: 34px; }
:host .pna-stepper { display: flex; align-items: center; gap: 8px; padding: 8px; background: #fff; border: 1px solid #e3ddd5; border-radius: 14px; }
:host .pna-stepper button { flex: none; width: 56px; height: 51px; border: 1px solid #e7e0d8; border-radius: 10px; background: #f7f4ef; color: #72281e; font-size: 22px; font-weight: 600; }
:host .pna-stepper button:hover:not(:disabled) { background: #f1e4dc; }
:host .pna-stepper div { flex: 1; text-align: center; }
:host .pna-stepper output { font-size: 26px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -1px; display: block; }
:host .pna-stepper div span { font-size: 10px; color: #777278; }
:host .pna-range-note { display: flex; justify-content: space-between; margin-top: 7px; font-size: 10px; color: #726d70; }
:host .pna-themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
:host .pna-themes button { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1px solid #e2dbd2; border-radius: 12px; padding: 9px 5px 8px; background: #fff; color: #4f5056; font-size: 11px; }
:host .pna-themes button[aria-pressed="true"] { border-color: #983422; box-shadow: inset 0 0 0 1px #983422; color: #84271b; background: #fff9f5; font-weight: 700; }
:host .pna-swatch { display: grid; place-items: center; width: 100%; height: 40px; border-radius: 6px; font-size: 22px; font-family: Georgia, serif; border: 1px solid #dfd9d0; }
:host .pna-normal { background: linear-gradient(120deg, #fff 50%, #f7ede5 50%); color: #923023; }
:host .pna-gelap { background: #161c26; color: #fff; }
:host .pna-terang { background: #fff; color: #101010; }
:host .pna-hangat { background: #f5e7cd; color: #4b3320; }
:host .pna-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
:host .pna-tool { padding: 13px 12px; min-height: 109px; border: 1px solid #e5ded6; border-radius: 12px; background: #fff; color: #35373e; text-align: left; }
:host .pna-tool:hover { border-color: #b78675; background: #fffdfb; }
:host .pna-tool-top { display: flex; align-items: center; justify-content: space-between; color: #786453; margin-bottom: 10px; }
:host .pna-check { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #cfc8bf; border-radius: 50%; }
:host .pna-check svg { width: 12px; height: 12px; visibility: hidden; }
:host .pna-tool strong { display: block; font-size: 12px; font-weight: 600; }
:host .pna-tool small { display: block; margin-top: 3px; font-size: 10px; color: #747077; line-height: 1.5; }
:host .pna-tool[aria-pressed="true"] { border-color: #953421; box-shadow: inset 0 0 0 1px #953421; background: #fff4ed; }
:host .pna-tool[aria-pressed="true"] .pna-tool-top { color: #8e2a1c; }
:host .pna-tool[aria-pressed="true"] .pna-check { background: #8e2a1c; border-color: #8e2a1c; color: #fff; }
:host .pna-tool[aria-pressed="true"] .pna-check svg { visibility: visible; }
:host .pna-hint { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: #68666c; }
:host .pna-audio { border: 1px solid #e3ddd4; border-radius: 14px; padding: 16px; margin-top: 24px; background: #f3efe8; }
:host .pna-audio-title { display: flex; gap: 9px; align-items: center; color: #672d23; }
:host .pna-audio-title h3 { margin: 0; }
:host .pna-audio p { margin: 9px 0 12px; font-size: 11px; line-height: 1.7; color: #655f60; }
:host .pna-audio-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
:host .pna-audio-buttons button { border: 1px solid #8a3020; border-radius: 8px; padding: 10px; min-height: 42px; background: #8a3020; color: #fff; font-size: 11px; font-weight: 600; }
:host .pna-audio-buttons button + button { background: #fff; color: #813326; border-color: #cdbcb0; }
:host #pna-speech-status:empty { display: none; }
:host .pna-service { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7c2a1e; font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #e3ddd4; padding: 20px 0; }
:host .pna-service small { display: block; margin-top: 4px; color: #736b69; font-size: 10px; font-weight: 400; }
:host .pna-service:hover { text-decoration: underline; }
:host .pna-service svg { width: 19px; height: 19px; }
:host .pna-privacy { text-align: center; font-size: 10px; line-height: 2; color: #716b69; margin: 16px 0 0; }
:host kbd { font: inherit; border: 1px solid #ded8d1; border-radius: 4px; padding: 2px 4px; background: #fff; }
:host .pna-footer { flex: none; padding: 14px 24px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid #e6dfd7; background: #fff; }
:host .pna-reset { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; border: 1px solid #dfd5cc; border-radius: 10px; color: #763629; background: #fff; font-size: 12px; font-weight: 600; }
:host .pna-reset:hover { background: #faf0e9; }
:host .pna-reset svg { width: 17px; height: 17px; }
:host .pna-brand { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; min-height: 38px; padding: 12px 0 0; color: #363638; text-decoration: none; }
:host .pna-brand span { color: #747075; font-size: 10px; }
:host .pna-brand b { font-size: 11px; letter-spacing: 1px; font-weight: 750; }
:host .pna-brand img { width: 19px; height: 19px; object-fit: contain; }
:host .pna-brand svg { width: 13px; height: 13px; color: #817570; }
:host .pna-brand:hover b { color: #8b2117; text-decoration: underline; }
:host .pna-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:host .pna-player { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 2147483001; display: flex; align-items: center; gap: 12px; padding: 10px 12px; max-width: calc(100vw - 24px); border: 1px solid #766451; border-radius: 14px; background: #332b27; color: #fff; box-shadow: 0 6px 24px #0003; font: 12px/1.4 "Segoe UI", Arial, sans-serif; }
:host .pna-player > span { display: flex; align-items: center; gap: 8px; }
:host .pna-player button { min-width: 40px; min-height: 40px; padding: 8px; border: 1px solid #85776b; border-radius: 8px; color: #fff; background: #53473d; }
:host .pna-player button svg { width: 18px; height: 18px; display: block; }
:host .pna-panel > .pna-player { position: static; transform: none; flex: none; max-width: none; margin: 0 16px 10px; box-shadow: none; justify-content: space-between; }

@media (max-width: 600px) {
  :host .pna-launch { top: 158px; right: 12px; }
  :host .pna-panel { width: 100%; border-radius: 0; }
  :host .pna-header { padding: max(18px, env(safe-area-inset-top)) 18px 18px; }
  :host .pna-body { padding: 18px; }
  :host .pna-footer { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 350px) {
  :host .pna-title-row { gap: 8px; }
  :host h2 { font-size: 22px; }
  :host .pna-title-row p { font-size: 10px; }
  :host .pna-symbol { width: 36px; }
  :host .pna-tool { padding: 11px 9px; }
}
@media (max-height: 500px) {
  :host .pna-header { padding: 10px 18px; }
  :host .pna-eyebrow { display: none; }
  :host .pna-title-row p { display: none; }
  :host .pna-symbol { height: 40px; }
  :host .pna-footer { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  :host .pna-brand { min-height: 28px; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { :host * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (forced-colors: active) {
  :host .pna-tool[aria-pressed="true"], :host .pna-themes button[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: -4px; }
  :host .pna-launch, :host .pna-panel { border: 2px solid ButtonText; }
}

/* Efek pada dokumen. Nama atribut khusus mencegah benturan dengan tema situs. */
html.pna-panel-open { overflow: hidden !important; }
html[data-pna-scale] body [data-pna-font] { font-size: var(--pna-font-size) !important; overflow-wrap: anywhere; }
html[data-pna-scale] :is(.pj-masthead > .pj-shell, .pj-mast-aksi, .pj-menu, .pj-hero-aksi) { flex-wrap: wrap; }
html[data-pna-scale] .pj-topstrip .pj-jam { flex-wrap: wrap; white-space: normal; }
html[data-pna-scale] .pj-topstrip .pj-jam span { white-space: normal; }
html[data-pna-scale] .pj-header { position: relative; }
html[data-pna-scale] :is(.pj-brand, .pj-hero-teks, .pj-layanan > *, .pj-relaas-isi) { min-width: 0; }
html[data-pna-scale] :is(.pj-berita-judul, .pj-berita-ringkas, .pj-artikel-isi h3) { -webkit-line-clamp: unset; max-height: none; }
html[data-pna-spacing] body :is(p, li, h1, h2, h3, h4, h5, h6, a, label, td, th, blockquote, figcaption, address, span):not(:where(#pn-aksesibilitas *, #sisela-widget *, ion-icon *, svg *)) {
  line-height: 1.85 !important; letter-spacing: .075em !important; word-spacing: .14em !important;
}
html[data-pna-font] body :is(p, li, h1, h2, h3, h4, h5, h6, a, label, td, th, blockquote, figcaption, address, span, strong, small, input, select, textarea, button) {
  font-family: Arial, Helvetica, sans-serif !important;
}
html[data-pna-links] body a:not(.pna-skip) { text-decoration: underline solid 2px !important; text-underline-offset: .2em !important; }
html[data-pna-headings] body :is(h1, h2, h3, h4, h5, h6) { outline: 2px dashed currentColor !important; outline-offset: 4px; }
html[data-pna-images] body :is(img, picture, video, canvas):not(:where(#pn-aksesibilitas *, #sisela-widget *)) { visibility: hidden !important; }
html[data-pna-images] body :is(main, header, footer) :not(ion-icon):not(svg):not(path) { background-image: none !important; }
html[data-pna-cursor] body, html[data-pna-cursor] body * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 40 48'%3E%3Cpath d='M3 2v37l9-9 7 15 8-4-7-14h15z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto !important;
}
html[data-pna-motion], html[data-pna-motion] *, html[data-pna-motion] *::before, html[data-pna-motion] *::after {
  scroll-behavior: auto !important; animation: none !important; transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html, html *, html *::before, html *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
html[data-pna-theme="gelap"] { --pna-bg: #131b27; --pna-fg: #f5f7fa; --pna-link: #ffe29a; --pna-border: #8996a7; color-scheme: dark; }
html[data-pna-theme="terang"] { --pna-bg: #fff; --pna-fg: #111; --pna-link: #002d99; --pna-border: #555; color-scheme: light; }
html[data-pna-theme="hangat"] { --pna-bg: #f7ecd7; --pna-fg: #3d2b20; --pna-link: #782615; --pna-border: #9d8771; color-scheme: light; }
html[data-pna-theme] body,
html[data-pna-theme] body *:not(:where(#pn-aksesibilitas, #pn-aksesibilitas *, #sisela-widget, #sisela-widget *, svg, svg *, ion-icon, ion-icon *, img, video, canvas, iframe, .pna-reading-guide, .pna-skip)) {
  background-color: var(--pna-bg) !important; background-image: none !important; color: var(--pna-fg) !important;
  border-color: var(--pna-border) !important; text-shadow: none !important; box-shadow: none !important;
}
html[data-pna-theme] body :is(a, a *, button, button *):not(:where(svg, svg *, ion-icon, ion-icon *, .pna-skip)) { color: var(--pna-link) !important; }
html[data-pna-theme] body :is(input, textarea)::placeholder { color: var(--pna-fg) !important; opacity: .8; }
html[data-pna-theme] body :focus-visible { outline: 3px solid var(--pna-link) !important; outline-offset: 3px; }
.pna-reading-guide {
  position: fixed; z-index: 2147482000; left: 0; right: 0; top: 50%; height: 48px;
  transform: translateY(-50%); pointer-events: none; border-block: 2px solid #a7490a;
  background: #ffc43d14; box-shadow: 0 0 0 100vmax #10203138;
}
.pna-reading-guide[hidden] { display: none !important; }
.pna-skip {
  position: fixed; left: 12px; top: 12px; z-index: 2147483002; transform: translateY(-180%);
  padding: 14px 18px; border: 2px solid #fff; border-radius: 8px; background: #742014 !important; color: #fff !important;
  font: 600 16px/1.4 Arial, sans-serif !important; text-decoration: underline;
}
.pna-skip:focus { transform: translateY(0); }
@media print {
  #pn-aksesibilitas, .pna-reading-guide, .pna-skip { display: none !important; }
}
