:root {
  --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --surface-0: #08111c;
  --surface-1: #0d1826;
  --surface-2: #121f30;
  --surface-3: #18273a;
  --text-1: #f2f5f7;
  --text-2: #aeb9c6;
  --text-3: #758397;
  --accent: #8aa9ff;
  --accent-soft: rgba(138, 169, 255, .13);
  --warm: #e8c578;
  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }
body, button, input, textarea, select { font-family: var(--ui-font) !important; }
body { color: var(--text-1); font-weight: 400; letter-spacing: 0; }
h1, h2, h3, h4, h5, h6,
.hero h1, .pricing h2, .workspace-head h2, .detail-panel h3,
.community-header h1, .workflow-shell > header h2, .context-card h2,
.space-principle strong, .focus-brief h3 {
  font-family: var(--ui-font) !important;
  font-style: normal !important;
  font-weight: 560 !important;
  letter-spacing: -.025em !important;
}
strong, b, .primary, .ghost, .danger, .text-button { font-weight: 560 !important; }
p, li, label, input, textarea, select, button { line-height: 1.5; }
.eyebrow { font-weight: 580 !important; letter-spacing: .13em; }

.hero h1 { max-width: 820px; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; text-wrap: balance; }
.hero h1 em { font-weight: 500 !important; }
.workspace-head h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.12; }
.detail-panel h3 { font-size: clamp(28px, 2.5vw, 40px); line-height: 1.12; }
.primary, .ghost, .danger, .icon-btn, .language-select, input, textarea, select {
  border-radius: var(--radius-sm);
}
.primary, .ghost, .danger { min-height: 42px; padding: 9px 15px; }
.workspace-actions { align-items: center; gap: 10px; }
.workspace-actions .search { min-width: min(300px, 32vw); }
.prototype-banner { gap: 7px 9px; line-height: 1.55; }
.prototype-banner strong, .prototype-banner span { display: inline; }
.detail-content, #detailContent { overflow-wrap: anywhere; }
.connection-head, .assistant-head { gap: 10px; }

/* Ubah dan Hapus adalah dua pilihan yang setara, jadi keduanya harus terlihat
 * setara. Sebelumnya lebar tiap tombol mengikuti panjang katanya — "Hapus"
 * lebih panjang daripada "Ubah" dalam bahasa Indonesia, lebih pendek dalam
 * bahasa Inggris — sehingga pasangan ini tampak berat sebelah dan berubah
 * bentuk setiap kali bahasa diganti. Dasar lebar yang sama membuat keduanya
 * sepadan di kelima bahasa, dan jaraknya dilebarkan supaya tombol merusak
 * tidak menempel pada tombol yang aman. */
.detail-actions {
  gap: 14px;
  align-items: stretch;
}
.detail-actions > button {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/* Label keyakinan dan tombol terima sebelumnya hanya dipisahkan oleh
 * space-between. Ketika panel menyempit, keduanya tetap satu baris dan sisi
 * pil menyentuh sisi tombol. Jarak minimum yang eksplisit menjamin ruang itu
 * ada, dan margin-left:auto menjaga tombol tetap di kanan meski labelnya
 * memendek. */
.suggestion-actions {
  gap: 12px 18px;
  row-gap: 12px;
}
.suggestion-actions > button {
  margin-left: auto;
}

.connection-item strong, .suggestion strong { display: block; margin-bottom: 4px; }
.feedback-fab { font-weight: 540 !important; }

.screen.active > *, .screen.active .workspace-shell {
  animation: lumashu-enter .44s var(--ease-out) both;
}
.map-node { opacity: 0; animation: lumashu-node-in .42s var(--ease-out) forwards; transition: border-color .18s, background .18s, box-shadow .18s, filter .18s; }
.map-node:nth-child(2n) { animation-delay: .06s; }
.map-node:nth-child(3n) { animation-delay: .12s; }
.map-node:hover, .map-node:focus-visible { box-shadow: 0 14px 42px rgba(0, 0, 0, .32), 0 0 0 4px rgba(138,169,255,.08); filter: brightness(1.12); }
.primary, .ghost, .danger, .rail-btn, .space-filter, .social-tab, .social-action, .follow-button {
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease-out);
}
.primary:hover:not(:disabled), .ghost:hover:not(:disabled), .danger:hover:not(:disabled), .social-action:hover:not(:disabled), .follow-button:hover:not(:disabled) { transform: translateY(-1px); }
dialog[open] { animation: lumashu-dialog-in .26s var(--ease-out) both; }
dialog[open]::backdrop { animation: lumashu-backdrop-in .22s ease-out both; }
.toast.show, #advancedToast.show { animation: lumashu-toast-in .28s var(--ease-out) both; }

/* Lumashu Space v1.5 */
.community-screen { background: var(--surface-0); }
.community-shell { width: min(1440px, 100%); padding: 30px clamp(16px, 3.4vw, 48px) 100px; }
.space-app-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.space-app-head h1 { margin: 2px 0 5px; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.08; text-wrap: balance; }
.space-app-head p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--text-2); }
.space-app-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.social-layout { display: grid; grid-template-columns: 210px minmax(0, 690px) minmax(230px, 1fr); gap: 26px; align-items: start; margin-top: 24px; }
.social-tabs { position: sticky; top: 92px; display: grid; gap: 5px; }
.social-tab { width: 100%; min-height: 44px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: 9px 11px; background: transparent; color: var(--text-2); text-align: left; }
.social-tab:hover { color: var(--text-1); background: rgba(255,255,255,.035); }
.social-tab.active { color: var(--text-1); border-color: rgba(138,169,255,.18); background: var(--accent-soft); }
.social-tab-icon { color: var(--accent); font-size: 17px; line-height: 1; text-align: center; }
.social-tab-count { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text-3); font-size: 10px; text-align: center; }
.social-main { min-width: 0; }
.social-profile-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(20,34,52,.9), rgba(10,20,32,.9)); }
.social-profile-copy { min-width: 0; }
.social-profile-copy h2 { margin: 0 0 2px; font-size: 19px; }
.social-profile-copy > span, .social-profile-copy p { color: var(--text-2); }
.social-profile-copy p { margin: 7px 0 0; font-size: 12px; }
.social-stats { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; }
.social-stat { display: grid; gap: 0; }
.social-stat strong { font-size: 14px; }
.social-stat span { color: var(--text-3); font-size: 10px; }
.avatar { position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: linear-gradient(145deg, #284267, #172638); color: #d9e4ff; font-size: 14px; font-weight: 580; }
.avatar.large { width: 72px; height: 72px; font-size: 19px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-edit-button { align-self: start; white-space: nowrap; }
.social-feed-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 4px; padding: 10px 2px; }
.social-feed-toolbar > div { display: grid; }
.social-feed-toolbar small { color: var(--text-3); }
.social-feed-toolbar select { min-width: 130px; }
.community-feed { display: grid; gap: 12px; }
.social-post { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(13,24,38,.78); animation: lumashu-card-in .36s var(--ease-out) both; }
.social-post:nth-child(2) { animation-delay: .04s; }
.social-post:nth-child(3) { animation-delay: .08s; }
.social-post-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.social-author { display: flex; gap: 11px; align-items: center; min-width: 0; }
.social-author-copy { min-width: 0; display: grid; }
.social-author-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.social-author-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-author-copy span, .social-author-copy time { color: var(--text-3); font-size: 11px; }
.follow-button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: transparent; color: var(--text-2); }
.follow-button[aria-pressed="true"] { border-color: rgba(138,169,255,.3); background: var(--accent-soft); color: var(--text-1); }
.social-post .status-pill { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 4px 9px; background: rgba(255,255,255,.045); color: var(--text-3); font-size: 10px; }
.social-post-body { margin: 14px 0 12px; color: var(--text-1); font-size: 16px; line-height: 1.58; white-space: pre-wrap; overflow-wrap: anywhere; }
.social-post-topic { display: inline-flex; margin-bottom: 12px; padding: 5px 8px; border-radius: 999px; background: rgba(138,169,255,.09); color: #afc2ff; font-size: 10px; }
.social-media { position: relative; overflow: hidden; margin: 4px 0 13px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #050b12; }
.social-media img, .social-media video { display: block; width: 100%; max-height: 560px; object-fit: contain; background: #050b12; }
.social-media-note { display: block; padding: 8px 11px; color: var(--text-3); font-size: 10px; }
.social-post-counts { display: flex; gap: 16px; padding: 8px 1px 10px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: 11px; }
.social-actions { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; padding-top: 9px; }
.social-action { min-width: 0; min-height: 38px; display: inline-flex; justify-content: center; align-items: center; gap: 5px; border: 0; border-radius: 8px; padding: 7px 5px; background: transparent; color: var(--text-2); font-size: 11px; }
.social-action:hover, .social-action[aria-pressed="true"] { color: var(--text-1); background: rgba(255,255,255,.045); }
.social-action[aria-pressed="true"] .social-action-icon { color: #ff8c91; }
.social-action-icon { color: var(--accent); font-size: 15px; line-height: 1; }
.comment-list { display: grid; gap: 10px; margin-top: 11px; padding-top: 12px; border-top: 1px solid var(--line); }
.comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; }
.comment .avatar { width: 34px; height: 34px; font-size: 10px; }
.comment-body { min-width: 0; padding: 9px 11px; border-radius: 10px; background: rgba(255,255,255,.035); }
.comment-body header { display: flex; flex-wrap: wrap; gap: 5px; }
.comment-body header span { color: var(--text-3); font-size: 10px; }
.comment-body p { margin: 3px 0 0; color: var(--text-2); font-size: 12px; overflow-wrap: anywhere; }
.comment-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; margin-top: 10px; }
.comment-form input { min-width: 0; }
.social-aside { position: sticky; top: 92px; display: grid; gap: 12px; }
.social-side-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(13,24,38,.64); }
.social-side-card h2 { margin: 0 0 8px; font-size: 15px; }
.social-side-card p, .social-side-card li { color: var(--text-2); font-size: 11px; }
.social-side-card ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; }
.social-suggestion { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.social-suggestion:first-of-type { border-top: 0; }
.social-suggestion-copy { min-width: 0; display: grid; }
.social-suggestion-copy span { color: var(--text-3); font-size: 10px; }
.upload-preview { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; gap: 11px; align-items: center; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.upload-preview img, .upload-preview video { width: 84px; height: 64px; border-radius: 7px; object-fit: cover; background: #050b12; }
.upload-preview-copy { min-width: 0; display: grid; }
.upload-preview-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-3); }
.social-dialog { width: min(650px, calc(100% - 24px)); max-height: min(820px, calc(100dvh - 24px)); overflow: auto; }
.social-dialog form { display: grid; gap: 14px; padding: clamp(20px, 4vw, 34px); }
.social-dialog header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.social-dialog h2 { margin: 0; font-size: 25px; }
.social-dialog label { display: grid; gap: 6px; }
.social-dialog footer { display: flex; justify-content: flex-end; gap: 8px; }
.file-button { position: relative; display: inline-flex !important; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--text-2); cursor: pointer; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.social-empty { padding: 44px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; color: var(--text-2); }

@keyframes lumashu-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lumashu-card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lumashu-node-in { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes lumashu-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lumashu-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lumashu-toast-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1120px) {
  .social-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .social-aside { grid-column: 2; position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .workspace-actions { align-items: stretch; }
  .workspace-actions .search { min-width: 0; }
  .space-app-head { display: grid; }
  .space-app-actions { flex-wrap: wrap; }
  .social-layout { grid-template-columns: minmax(0,1fr); }
  .social-tabs { position: static; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); overflow-x: auto; padding-bottom: 7px; }
  .social-tab { grid-template-columns: 21px auto; justify-content: start; }
  .social-tab-count { display: none; }
  .social-aside { grid-column: 1; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .community-shell { padding-inline: 12px; }
  .space-app-actions { display: grid; grid-template-columns: 1fr; }
  .space-app-actions button { width: 100%; }
  .social-profile-card { grid-template-columns: auto minmax(0,1fr); padding: 14px; }
  .profile-edit-button { grid-column: 1 / -1; width: 100%; }
  .social-aside { grid-template-columns: 1fr; }
  .social-post { padding: 14px; border-radius: 13px; }
  .social-actions { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .social-action { justify-content: flex-start; }
  .comment-form { grid-template-columns: minmax(0,1fr); }
  .comment-form button { width: 100%; }
  .social-dialog footer { display: grid; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Lumashu Space v1.10 — daftar orang, profil orang, story, reels, composer
   ==========================================================================
   Ditambahkan setelah pemilik melaporkan bahwa Pengikut/Mengikuti tidak punya
   tampilan, profil orang lain tidak bisa dibuka, dan tombol Ikuti pada panel
   saran tidak mengubah apa pun. */

.social-people { display: grid; gap: 2px; margin-bottom: 18px; }
.social-people-title { margin: 0 0 8px; font-size: 15px; font-weight: 650; }
.social-side-note { margin: 12px 0 0; color: var(--text-3); font-size: 11px; line-height: 1.5; }

.social-person-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
.social-person-row:first-of-type { border-top: 0; }
.social-person-row.compact { padding: 8px 0; }

/* Avatar dan nama adalah satu tombol utuh: satu perhentian Tab, satu sasaran
   sentuh yang lebar, dan pembaca layar mendapat satu label yang jelas. */
.social-person-open,
.social-author-open {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  padding: 4px 6px 4px 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.social-person-open:hover,
.social-author-open:hover { background: rgba(242, 239, 232, .05); }
.social-person-copy { min-width: 0; display: grid; gap: 1px; }
.social-person-copy strong { font-size: 14px; }
.social-person-copy span { color: var(--text-3); font-size: 11px; }
.social-person-copy small { color: var(--text-3); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.social-person-header { grid-template-columns: auto minmax(0, 1fr); }
.social-person-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }

/* Statistik Pengikut dan Mengikuti sekarang tombol, bukan teks mati. */
.social-stat-link { border: 0; border-radius: 8px; padding: 4px 8px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.social-stat-link:hover { background: rgba(242, 239, 232, .06); }

.social-stories, .social-reels { margin-bottom: 16px; }
.social-stories-title { margin: 0 0 10px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.social-story-ring, .social-reels-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.social-story, .social-reel { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; scroll-snap-align: start; }
.social-story .avatar { width: 58px; height: 58px; border: 2px solid var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.social-story-name, .social-reel-name { max-width: 74px; overflow: hidden; color: var(--text-3); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.social-reel-frame { display: grid; place-items: center; width: 96px; height: 148px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.social-reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.social-reel-glyph { color: var(--text-3); font-size: 22px; }
.social-post[data-format="reels"] .social-media video { max-height: 560px; }

/* Composer: pemilih bentuk konten. Radio sungguhan yang disembunyikan secara
   visual — bukan dihapus dari pohon aksesibilitas — supaya papan ketik dan
   pembaca layar tetap mendapat grup radio yang benar. */
.composer-format { margin: 0; border: 0; padding: 0; }
.composer-format legend { padding: 0 0 8px; color: var(--text-2); font-size: 13px; }
.composer-format-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.composer-format-option { display: block; cursor: pointer; }
.composer-format-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.composer-format-face {
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 8px;
  background: rgba(16, 27, 42, .6);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.composer-format-icon { font-size: 17px; line-height: 1; }
.composer-format-label { font-size: 12px; font-weight: 620; }
.composer-format-option:hover .composer-format-face { border-color: rgba(138, 169, 255, .34); transform: translateY(-1px); }
.composer-format-input:checked + .composer-format-face { border-color: var(--accent); background: var(--accent-soft); }
.composer-format-input:focus-visible + .composer-format-face { outline: 3px solid var(--accent); outline-offset: 2px; }
.composer-format-note { margin: 10px 0 0; color: var(--text-3); font-size: 11px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  .composer-format-face { transition: none; }
  .composer-format-option:hover .composer-format-face { transform: none; }
}

@media (forced-colors: active) {
  .composer-format-input:checked + .composer-format-face { border: 2px solid Highlight; }
  .social-person-open:hover,
  .social-author-open:hover,
  .social-stat-link:hover { background: Highlight; color: HighlightText; }
}

@media (max-width: 760px) {
  .social-person-row { flex-wrap: wrap; }
  .composer-format-row { grid-template-columns: 1fr; }
  .social-reel-frame { width: 84px; height: 130px; }
}

/* Kontras teks kecil.
   axe menemukan dua kegagalan WCAG AA: .social-tab-count hanya 3,85:1 di atas
   latar tab aktif, dan .composer-format-note tepat di ambang 4,50:1 — cukup
   untuk lolos di atas kertas dan gagal di layar sungguhan. Keduanya teks 10–11px,
   ukuran yang paling butuh kontras, bukan paling sedikit. Nada baru ini
   memberi sekitar 7,6:1 di atas panel gelap. */
.social-tab-count,
.composer-format-note,
.social-side-note,
.social-person-copy span,
.social-person-copy small { color: #9fadc0; }

/* Notifikasi */
.social-notif-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.social-notif-head .social-people-title { margin: 0; }
.social-notif.is-unread { background: rgba(138, 169, 255, .06); border-radius: 10px; }
.social-notif-verb { font-weight: 400; color: #9fadc0; }
.social-notif-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent, #86a8ff); }
@media (forced-colors: active) { .social-notif-dot { background: Highlight; } .social-notif.is-unread { outline: 1px solid Highlight; } }

/* Dialog data demo */
.demo-dialog { width: min(520px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 16px; padding: 0; background: var(--panel, #101b2a); color: var(--text-1, #f2efe8); }
.demo-dialog::backdrop { background: rgba(2, 8, 16, .82); }
.demo-shell { display: grid; gap: 12px; padding: clamp(20px, 4vw, 30px); }
.demo-shell h2 { margin: 0; font-size: 21px; }
.demo-shell p { margin: 0; color: #9fadc0; font-size: 13px; line-height: 1.6; }
.demo-note { border-left: 2px solid var(--accent, #86a8ff); padding-left: 12px; }
.demo-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.demo-data-button { white-space: nowrap; }

/* Kamera dalam aplikasi */
/* Dua tombol media harus berukuran sama persis.
 *
 * Yang satu tombol biasa, yang satu label yang menyembunyikan input berkas.
 * Keduanya mewarisi padding dan tinggi minimum yang berbeda, jadi walaupun
 * kisinya 1fr 1fr — lebarnya memang sama — tingginya tidak. Pasangan yang
 * setara secara fungsi tetapi berbeda bentuk terbaca seperti kesalahan.
 * Ukurannya sekarang ditulis sekali untuk keduanya. */
.composer-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.composer-media-row > .composer-camera,
.composer-media-row > .file-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: inherit;
  line-height: 1.35;
}
@media (max-width: 620px) { .composer-media-row { grid-template-columns: 1fr; } }

.kamera-dialog { width: min(620px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 16px; padding: 0; background: var(--panel, #101b2a); color: var(--text-1, #f2efe8); }
.kamera-dialog::backdrop { background: rgba(2, 8, 16, .88); }
.kamera-shell { display: grid; gap: 12px; padding: clamp(18px, 4vw, 28px); }
.kamera-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.kamera-head h2 { margin: 0; font-size: 21px; }
.kamera-panggung { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #050b12; aspect-ratio: 4 / 3; }
.kamera-panggung video, .kamera-tinjau video, .kamera-tinjau img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kamera-tinjau { position: absolute; inset: 0; }
.kamera-status { margin: 0; min-height: 1.2em; color: #9fadc0; font-size: 12px; font-variant-numeric: tabular-nums; }
.kamera-mode { margin: 0; border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kamera-mode-opsi { display: block; cursor: pointer; }
.kamera-mode-opsi input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.kamera-mode-face { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 9px; text-align: center; font-size: 13px; }
.kamera-mode-opsi input:checked + .kamera-mode-face { border-color: var(--accent, #86a8ff); background: var(--accent-soft, rgba(134,168,255,.12)); }
.kamera-mode-opsi input:focus-visible + .kamera-mode-face { outline: 3px solid var(--accent, #86a8ff); outline-offset: 2px; }
.kamera-suara { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.kamera-note { margin: 0; color: #9fadc0; font-size: 11px; line-height: 1.5; }
.kamera-aksi { display: flex; flex-wrap: wrap; gap: 8px; }
.kamera-aksi button { flex: 1 1 auto; min-width: 120px; }
.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; }
@media (forced-colors: active) {
  .kamera-mode-opsi input:checked + .kamera-mode-face { border: 2px solid Highlight; }
  .kamera-panggung { border: 1px solid CanvasText; }
}
