/* fz-request.css — Owner Request / papan bounty (9 Okt 2026).
   Papan kayu + poster kertas yang ditempel paku: warna kayu & kertas SENGAJA
   tetap (ini "benda" — seperti foto klien, bukan permukaan UI), teks & tombol
   di luarnya tetap memakai token tema. Poster mengambang (.fz-req-fab)
   ditumpuk DI ATAS FAB My tasks (fz-myqueue.css, bottom 152px) dengan irama
   66px yang sama: 218px. */

.fz-p-request { --fz-req-wood: #6b3f26; --fz-req-wood-2: #8a5635; --fz-req-wood-3: #4e2c18; --fz-req-cork: #c9a26b; --fz-req-cork-2: #b88d58; --fz-req-paper: #f4ead4; --fz-req-paper-2: #e9dcbf; --fz-req-ink: #2a1d12; --fz-req-ink-2: #6b5a46; --fz-req-pin: #d93d2a; }

/* ── Hub (13 Okt 2026): Owner board + Personal sebagai dua tab satu halaman ──
   .fz-req-tabbody = isi satu tab, dirender `bare` oleh OpsRequestPage /
   OpsPersonalPage: irama kolom yang sama dengan .fsw-page (gap), tanpa
   kepala halaman sendiri. */
.fz-req-tabbody { display: flex; flex-direction: column; gap: var(--fz-gap); min-width: 0; }
.fz-pr-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--fz-s-3); flex-wrap: wrap; }
.fz-pr-actions > span { color: var(--fz-text-3); font-size: var(--fz-fs-meta); }

/* ── Komposer owner ──────────────────────────────────────────────────── */
.fz-req-compose { display: flex; flex-direction: column; gap: var(--fz-s-3); padding: var(--fz-card-pad); border-radius: var(--fz-r-lg); background: var(--fz-surface-1); border: 1px solid var(--fz-border); margin-bottom: var(--fz-s-4); }
.fz-req-compose-h { display: flex; align-items: center; gap: var(--fz-s-2); flex-wrap: wrap; color: var(--fz-text-1); }
.fz-req-compose-h b { font-size: var(--fz-fs-body); }
.fz-req-compose-h span { color: var(--fz-text-3); font-size: var(--fz-fs-meta); }
.fz-req-ta { width: 100%; resize: vertical; min-height: 84px; font-family: inherit; }
.fz-req-compose-row { display: flex; align-items: center; gap: var(--fz-s-2); }
.fz-req-imgpreview { position: relative; display: inline-flex; }
.fz-req-imgpreview img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--fz-r-md); border: 1px solid var(--fz-border-strong); display: block; }
.fz-req-imgpreview-up { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); border-radius: var(--fz-r-md); }
.fz-req-imgpreview-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: var(--fz-r-pill); border: 1px solid var(--fz-border-strong); background: var(--fz-surface-1); color: var(--fz-text-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.fz-req-pick { display: flex; flex-direction: column; gap: var(--fz-s-2); }
.fz-req-pick-h { display: flex; align-items: center; gap: var(--fz-s-2); flex-wrap: wrap; }
.fz-req-pick-h b { font-size: var(--fz-fs-meta); color: var(--fz-text-2); }
.fz-req-pick-h > span { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-req-pick-q { margin-left: auto; max-width: 220px; min-height: 34px; }
.fz-req-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--fz-s-2); }
.fz-req-chip { position: relative; display: flex; align-items: center; gap: var(--fz-s-2); min-height: 44px; padding: 6px 10px; border-radius: var(--fz-r-md); border: 1px solid var(--fz-border); background: var(--fz-surface-2); color: var(--fz-text-1); cursor: pointer; text-align: left; min-width: 0; }
.fz-req-chip:hover { background: var(--fz-surface-hover); }
.fz-req-chip.is-on { border-color: var(--fz-accent); background: var(--fz-accent-soft); }
.fz-req-chip-n { font-size: 13px; font-weight: var(--fz-fw-semi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-req-chip-r { margin-left: auto; font-size: 10.5px; color: var(--fz-text-3); white-space: nowrap; }
.fz-req-chip-ok { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: var(--fz-r-pill); background: var(--fz-accent); color: var(--fz-text-on-accent); display: grid; place-items: center; }
.fz-req-compose-f { display: flex; justify-content: flex-end; }
.fz-req-deploy { display: inline-flex; align-items: center; gap: var(--fz-s-2); min-height: 40px; padding: 0 var(--fz-s-5); }

/* ── Papan ───────────────────────────────────────────────────────────── */
.fz-req-board { position: relative; margin: 0 auto; max-width: 1040px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.fz-req-board-top { display: flex; gap: 10px; justify-content: center; height: 22px; padding: 0 14px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--fz-req-wood-2), var(--fz-req-wood)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); margin: 0 6px -4px; }
.fz-req-board-top span { flex: 1 1 auto; max-width: 300px; height: 5px; margin-top: 7px; border-radius: 3px; background: #efe3a8; box-shadow: 0 0 14px 3px rgba(255, 236, 160, .55); }
.fz-req-board-in { position: relative; padding: var(--fz-s-4); border: 14px solid var(--fz-req-wood); border-radius: 8px; background: repeating-linear-gradient(135deg, var(--fz-req-cork) 0 6px, var(--fz-req-cork-2) 6px 7px), var(--fz-req-cork); box-shadow: inset 0 0 0 2px var(--fz-req-wood-3), inset 0 10px 30px rgba(0,0,0,.25); }
.fz-req-board-h { display: flex; align-items: baseline; gap: var(--fz-s-2); margin: 0 0 var(--fz-s-3) 2px; color: var(--fz-req-ink); }
.fz-req-board-h b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.fz-req-board-h span { font-size: var(--fz-fs-meta); color: var(--fz-req-ink-2); }
.fz-req-board-legs { display: flex; justify-content: space-between; padding: 0 60px; height: 54px; margin-top: -2px; }
.fz-req-board-legs span { width: 30px; height: 100%; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--fz-req-wood-3), var(--fz-req-wood) 40%, var(--fz-req-wood-2)); }
.fz-req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--fz-s-4) var(--fz-s-3); align-items: start; }
.fz-req-grid.is-done { padding: var(--fz-s-3) 0 0; }
.fz-req-empty { display: grid; place-items: center; min-height: 240px; }
.fz-req-empty-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: var(--fz-s-5) var(--fz-s-6); background: var(--fz-req-paper); color: var(--fz-req-ink-2); border-radius: 3px; box-shadow: 0 6px 14px rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.fz-req-empty-card b { color: var(--fz-req-ink); }
.fz-req-q { font-size: 64px; line-height: 1; font-weight: 800; color: var(--fz-req-ink); opacity: .35; }

/* ── Poster ──────────────────────────────────────────────────────────── */
.fz-req-poster { position: relative; display: flex; flex-direction: column; gap: var(--fz-s-2); padding: var(--fz-s-4) var(--fz-s-3) var(--fz-s-3); background: linear-gradient(180deg, var(--fz-req-paper), var(--fz-req-paper-2)); color: var(--fz-req-ink); border-radius: 3px; box-shadow: 0 8px 16px rgba(0,0,0,.28), inset 0 0 0 1px rgba(0,0,0,.06); transform: rotate(var(--fz-req-tilt, 0deg)); transition: transform .18s ease, box-shadow .18s ease; }
.fz-req-poster:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.06); z-index: 2; }
.fz-req-poster.is-mine { box-shadow: 0 0 0 3px var(--fz-accent), 0 8px 16px rgba(0,0,0,.28); }
.fz-req-poster.is-done { filter: saturate(.6); opacity: .85; }
.fz-req-poster.is-flash { animation: fzReqFlash 1.2s ease 3; }
@keyframes fzReqFlash { 0%,100% { box-shadow: 0 8px 16px rgba(0,0,0,.28); } 50% { box-shadow: 0 0 0 6px var(--fz-warn), 0 8px 16px rgba(0,0,0,.28); } }
.fz-req-pin { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, var(--fz-req-pin) 55%, #8f1f12); box-shadow: 0 3px 4px rgba(0,0,0,.4); z-index: 1; }
.fz-req-poster-main { display: flex; flex-direction: column; gap: var(--fz-s-2); width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.fz-req-eyebrow { display: flex; align-items: baseline; gap: var(--fz-s-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--fz-req-ink); border-bottom: 2px solid var(--fz-req-ink); padding-bottom: 4px; }
.fz-req-eyebrow b { margin-left: auto; font-weight: 700; letter-spacing: 0; color: var(--fz-req-ink-2); }
.fz-req-eyebrow em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fz-req-ink-2); font-size: 11px; }
.fz-req-body { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; color: inherit; }
.fz-req-body.is-clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.fz-req-thumb { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: 2px; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); background: #fff; }
.fz-req-thumb.is-sm { max-height: 120px; }
.fz-req-stamp { position: absolute; right: 10px; top: 34px; padding: 3px 10px; border: 3px solid #1f7a3a; border-radius: 4px; color: #1f7a3a; font-size: 18px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-14deg); opacity: .8; pointer-events: none; }
.fz-req-poster-f { display: flex; align-items: center; gap: var(--fz-s-2); flex-wrap: wrap; }
.fz-req-pics { display: inline-flex; gap: 2px; }
.fz-req-pic { position: relative; display: inline-flex; }
.fz-req-pic.is-done { opacity: .9; }
.fz-req-pic-ok { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #1f7a3a; color: #fff; display: grid; place-items: center; border: 1.5px solid var(--fz-req-paper); }
.fz-req-meta { font-size: 11px; color: var(--fz-req-ink-2); }
.fz-req-poster-acts { display: flex; align-items: center; gap: var(--fz-s-2); min-height: 20px; }
.fz-req-donebtn { display: inline-flex; align-items: center; gap: 6px; }
.fz-req-donebtn.is-big { min-height: 44px; padding: 0 var(--fz-s-5); font-size: var(--fz-fs-body); }
.fz-req-waitothers { font-size: 11.5px; color: var(--fz-req-ink-2); font-style: italic; }
.fz-req-del { margin-left: auto; }

/* ── Riwayat selesai ─────────────────────────────────────────────────── */
.fz-req-done { margin-top: var(--fz-s-5); }
.fz-req-done-tog { display: inline-flex; align-items: center; gap: var(--fz-s-2); padding: 8px 12px; border-radius: var(--fz-r-pill); border: 1px solid var(--fz-border); background: var(--fz-surface-1); color: var(--fz-text-1); cursor: pointer; font: inherit; }
.fz-req-done-tog span { color: var(--fz-text-3); }
.fz-req-done-tog .is-up { transform: rotate(180deg); }

/* ── Rincian (modal) ─────────────────────────────────────────────────── */
.fz-req-detail { display: flex; flex-direction: column; gap: var(--fz-s-3); }
.fz-req-detail .fz-req-body { color: var(--fz-text-1); font-size: 14.5px; }
.fz-req-detail-img img { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: var(--fz-r-md); background: var(--fz-surface-sunken); }
.fz-req-detail-pics { display: flex; flex-direction: column; gap: var(--fz-s-2); }
.fz-req-detail-l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fz-text-3); font-weight: var(--fz-fw-semi); }
.fz-req-detail-pics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fz-req-detail-pics li { display: flex; align-items: center; gap: var(--fz-s-2); color: var(--fz-text-1); font-size: 13.5px; }
.fz-req-detail-pics li .fz-pill { margin-left: auto; }
.fz-req-inbox { display: flex; flex-direction: column; gap: var(--fz-s-3); }
.fz-req-inbox-it { display: flex; flex-direction: column; gap: var(--fz-s-2); padding: var(--fz-s-3); border-radius: 3px; background: linear-gradient(180deg, var(--fz-req-paper, #f4ead4), var(--fz-req-paper-2, #e9dcbf)); color: var(--fz-req-ink, #2a1d12); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.fz-req-inbox-main { display: flex; flex-direction: column; gap: var(--fz-s-2); padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.fz-req-inbox-it .fz-req-donebtn { align-self: flex-end; }

/* ── Poster mengambang (PIC) ─────────────────────────────────────────── */
.fz-req-fab { position: fixed; right: 20px; bottom: 218px; z-index: 38; width: 112px; padding: 14px 10px 10px; border: 0; border-radius: 3px; background: linear-gradient(180deg, #f4ead4, #e9dcbf); color: #2a1d12; text-align: center; cursor: pointer; font: inherit; box-shadow: 0 10px 22px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.08); transform-origin: 50% -6px; animation: fzReqSwing 3.2s ease-in-out infinite; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fz-req-fab.is-new { animation: fzReqSwingHard 1.1s ease-in-out infinite; }
.fz-req-fab.is-open { animation-play-state: paused; }
.fz-req-fab:hover { animation-play-state: paused; transform: rotate(0deg) scale(1.04); }
.fz-req-fab-pin { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #d93d2a 55%, #8f1f12); box-shadow: 0 3px 4px rgba(0,0,0,.4); }
.fz-req-fab-eyebrow { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; border-bottom: 2px solid #2a1d12; padding-bottom: 2px; width: 100%; }
.fz-req-fab-n { font-size: 30px; line-height: 1.05; font-weight: 900; }
.fz-req-fab-from { font-size: 10px; color: #6b5a46; }
@keyframes fzReqSwing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes fzReqSwingHard { 0%, 100% { transform: rotate(-7deg) scale(1.03); } 50% { transform: rotate(7deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .fz-req-fab, .fz-req-fab.is-new { animation: none; } .fz-req-poster.is-flash { animation: none; } }

@media (max-width: 768px) {
  .fz-req-fab { right: 16px; bottom: calc(152px + env(safe-area-inset-bottom, 0px)); width: 96px; }
  body.has-fsw-bottombar .fz-req-fab { bottom: calc(226px + env(safe-area-inset-bottom, 0px)); }
  .fz-req-board-in { border-width: 9px; padding: var(--fz-s-3); }
  .fz-req-board-legs { padding: 0 30px; height: 34px; }
  .fz-req-grid { grid-template-columns: 1fr; }
  .fz-req-pick-q { max-width: none; margin-left: 0; width: 100%; }
}

/* 16 Okt 2026 — pemilik: "buat agar terbaca". Pop-up "A request for you"
   (OpsRequestFab) menaruh OpsRequestDetailBody DI ATAS kertas krem
   (.fz-req-inbox-it), tetapi badan/label/PIC-nya memakai token teks tema
   (--fz-text-1/3) — di mode gelap jadi krem di atas krem. Di dalam kertas,
   tintanya selalu tinta kertas, apa pun temanya. OpsRequestDetailModal
   (permukaan tema biasa) tidak tersentuh. */
.fz-req-inbox-it { --fz-req-ink: #2a1d12; --fz-req-ink-2: #6b5a46; color: var(--fz-req-ink); }
.fz-req-inbox-it .fz-req-detail .fz-req-body,
.fz-req-inbox-it .fz-req-detail-pics li,
.fz-req-inbox-it .fz-req-detail-pics li span { color: var(--fz-req-ink); }
.fz-req-inbox-it .fz-req-detail-l,
.fz-req-inbox-it .fz-req-eyebrow b,
.fz-req-inbox-it .fz-req-eyebrow em { color: var(--fz-req-ink-2); }
.fz-req-inbox-it .fz-req-eyebrow { color: var(--fz-req-ink); border-bottom-color: var(--fz-req-ink); }
.fz-req-inbox-it .fz-req-detail-img img { background: rgba(0,0,0,.06); }
