:root {
  --navy: #1d2b4f; --navy-2: #2c3d66; --navy-3: #3a4d7a; --navy-soft: #e8ecf4;
  --kraft: #b8895a; --kraft-soft: #f3e9dc; --kraft-dark: #8a6236;
  --bg: #f4f5f8; --card: #ffffff; --text: #1c2333; --muted: #5f6779; --line: #e1e4ea; --line-2: #d3d8e1;
  /* Decision colours = the sheet's fills, with darker text/borders for contrast */
  --ok: #1a6b3a; --ok-fill: #d4edda; --ok-line: #9fd3ad;
  --no: #a5281b; --no-fill: #f8d7da; --no-line: #eba9ae;
  --off: #8f4900; --off-fill: #ffe5cc; --off-line: #f5bd85;
  --unsure: #474e5c; --unsure-fill: #e2e3e5; --unsure-line: #c4c7cd;
  --amber-fill: #fdf0d5;
  /* Chat (WhatsApp-like) */
  --wa-bg: #efeae2; --wa-in: #ffffff; --wa-out: #d9fdd3; --wa-time: #667781; --wa-hl: #c2410c; --wa-hl-fill: #fff1e6;
  --r: 14px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 190px; }
body { margin: 0; font: 15px/1.45 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif; background: var(--bg); color: var(--text); }
::selection { background: var(--kraft-soft); color: var(--navy); }
:focus-visible { outline: 2px solid var(--kraft); outline-offset: 2px; }
button, select, textarea, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
* { scrollbar-width: thin; scrollbar-color: #c3c9d4 transparent; }

/* ---------- Sticky header: top bar + filters ---------- */
.hdr { position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 14px -10px rgba(29,43,79,.45); }
.top { background: var(--navy); color: #fff; padding: calc(env(safe-area-inset-top) + 8px) 12px 8px; }
.top-row { display: flex; align-items: center; gap: 10px; max-width: 1320px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand .box { width: 26px; height: 26px; border-radius: 7px; background: var(--kraft); display: grid; place-items: center; }
.brand .box svg { width: 16px; height: 16px; stroke: #fff; }
.mock { font-size: 11px; font-weight: 600; color: #f3e9dc; border: 1px solid rgba(243,233,220,.45); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.spacer { flex: 1; }

.filters { background: var(--card); border-bottom: 1px solid var(--line); padding: 8px 12px 10px; }
.filters-in { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--bg); padding: 3px; border-radius: 10px; }
.tabs button { border: 0; background: transparent; padding: 6px 2px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.tabs button[aria-pressed="true"] { background: var(--card); color: var(--navy); box-shadow: 0 1px 2px rgba(29,43,79,.16); }
.count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.tabs button[aria-pressed="false"] .count { background: var(--muted); }
.frow { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; }
.field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.field span { font-size: 11px; font-weight: 600; color: var(--muted); }
.field select { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; padding: 6px 8px; font-size: 13.5px; min-width: 0; }
.field select:focus { border-color: var(--kraft); }
.field[hidden] { display: none; }

/* ---------- Feed ---------- */
main { max-width: 1320px; margin: 0 auto; padding: 12px 10px 24px; }
.summary { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 4px 10px; }
.summary h1 { margin: 0; font-size: 17px; color: var(--navy); }
.mock-m { display: none; font-size: 11px; font-weight: 700; color: var(--kraft-dark); border: 1px solid var(--kraft); background: var(--kraft-soft); border-radius: 999px; padding: 0 8px; }
.summary .s2 { font-size: 13px; color: var(--muted); }
.feed { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: clip; box-shadow: 0 1px 2px rgba(29,43,79,.06), 0 8px 20px -14px rgba(29,43,79,.3); }
.c-head { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.c-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.kind { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--navy); }
.kind.t-notifikasi { background: var(--kraft-dark); }
.kind.t-todo { background: #2f6b74; }
.c-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #a3aab8; }
.c-meta b { color: var(--text); font-weight: 600; }
.c-sum { margin: 0; font-size: 14px; color: var(--text); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.c6 { -webkit-line-clamp: 6; }
.m .readmore { display: block; margin-top: 2px; }
.clamp.open { display: block; -webkit-line-clamp: unset; }
.readmore { border: 0; background: transparent; padding: 2px 0; color: var(--kraft-dark); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.readmore:hover { color: var(--navy); }
.ai-body { min-width: 0; }
.sys { align-self: center; max-width: 88%; text-align: center; font-size: 12px; color: #54656f; background: #fff8d6; border-radius: 7px; padding: 4px 10px; margin: 4px 0; box-shadow: 0 1px .5px rgba(11,20,26,.13); overflow-wrap: anywhere; }
.db { flex-direction: column; gap: 1px; line-height: 1.15; }
.db .main { display: flex; align-items: center; gap: 7px; }
.db .sub { font-size: 12px; font-weight: 600; opacity: .85; text-align: center; }
.draft { font-size: 12px; color: var(--muted); font-style: italic; }
.c-title { margin: 0; font-size: 16.5px; line-height: 1.32; font-weight: 700; color: var(--navy); text-wrap: pretty; }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; }
.steps li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.steps li:first-child::before { display: none; }
.steps .d { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; position: relative; z-index: 1; }
.steps li.done::before, .steps li.cur::before { background: #a8dcbc; }
.steps li.done .d { background: #a8dcbc; border-color: #a8dcbc; }
.steps li.cur { color: #158a47; font-weight: 700; }
.steps li.cur .d { background: #1fb85f; border-color: #1fb85f; box-shadow: 0 0 0 4px rgba(31,184,95,.2); }
.steps small { display: block; font-weight: 700; font-size: 10.5px; }
.steps small.ok { color: var(--ok); } .steps small.no { color: var(--no); } .steps small.off { color: var(--off); } .steps small.unsure { color: var(--unsure); } .steps small.wait { color: var(--muted); font-weight: 600; }

/* Chat */
.chat { background: var(--wa-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chat-bar { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #f0f2f5; border-bottom: 1px solid #e3e1dc; font-size: 13px; }
.chat-bar .av { width: 28px; height: 28px; border-radius: 50%; background: #cfd6e3; color: var(--navy); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.chat-bar .nm { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-bar .ref { color: var(--muted); font-size: 12px; white-space: nowrap; margin-left: auto; }
.msgs { padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.more { align-self: center; border: 1px solid #d6d2ca; background: rgba(255,255,255,.9); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--navy); font-weight: 600; margin: 2px 0 6px; display: inline-flex; align-items: center; gap: 4px; }
.more:hover { border-color: var(--kraft); }
.more svg { width: 14px; height: 14px; }
.day { align-self: center; margin: 6px 0; font-size: 11.5px; color: #54656f; background: #fff; border-radius: 7px; padding: 3px 10px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.m { max-width: 84%; padding: 6px 8px 5px 9px; border-radius: 8px; font-size: 14.2px; line-height: 1.38; box-shadow: 0 1px .5px rgba(11,20,26,.13); overflow-wrap: anywhere; white-space: pre-wrap; }
.m.in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 2px; }
.m.out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.m.in + .m.out, .m.out + .m.in, .hl-note + .m { margin-top: 6px; }
.m .who-n { display: block; font-size: 12px; font-weight: 700; color: #0f766e; margin-bottom: 1px; }
.m .t { float: right; margin: 6px 0 -3px 10px; font-size: 11px; color: var(--wa-time); line-height: 1; white-space: nowrap; }
.m .media { color: #54656f; font-style: italic; }
.m.hl { outline: 2px solid var(--wa-hl); outline-offset: 1px; background: var(--wa-hl-fill); }
.m.hl.pulse { animation: pulse 1.6s cubic-bezier(.16,1,.3,1) 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,65,12,.45); } 70% { box-shadow: 0 0 0 12px rgba(194,65,12,0); } 100% { box-shadow: 0 1px .5px rgba(11,20,26,.13); } }
.hl-note { max-width: 84%; font-size: 12px; font-weight: 600; color: #9a3410; display: flex; gap: 5px; align-items: flex-start; margin: 3px 2px 2px; }
.hl-note.in { align-self: flex-start; } .hl-note.out { align-self: flex-end; text-align: right; flex-direction: row-reverse; }
.hl-note svg { width: 14px; height: 14px; margin-top: 1px; }

/* Explanation, AI, trail */
.blk { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.blk h3 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.blk h3 svg { width: 15px; height: 15px; color: var(--kraft-dark); }
.blk p { margin: 0; font-size: 14.5px; }
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.empty { color: var(--muted); font-style: italic; font-size: 14px; }
.ai { display: flex; gap: 10px; align-items: flex-start; }
.verdict { flex: none; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.v-ok { background: var(--ok-fill); color: var(--ok); border-color: var(--ok-line); }
.v-no { background: var(--no-fill); color: var(--no); border-color: var(--no-line); }
.v-unsure { background: var(--unsure-fill); color: var(--unsure); border-color: var(--unsure-line); }
.v-off { background: var(--off-fill); color: var(--off); border-color: var(--off-line); }
.v-none { background: #fff; color: var(--muted); border-color: var(--line-2); border-style: dashed; }
.trail { display: flex; flex-direction: column; gap: 6px; }
.tr { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 14px; align-items: baseline; }
.tr .w { font-size: 12px; font-weight: 700; color: var(--muted); }
.chip { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid; }
.chip.ok { background: var(--ok-fill); color: var(--ok); border-color: var(--ok-line); }
.chip.no { background: var(--no-fill); color: var(--no); border-color: var(--no-line); }
.chip.off { background: var(--off-fill); color: var(--off); border-color: var(--off-line); }
.chip.unsure { background: var(--unsure-fill); color: var(--unsure); border-color: var(--unsure-line); }
.chip.wait { background: #fff; color: var(--muted); border-color: var(--line-2); border-style: dashed; font-weight: 600; }
.tr .note { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ch-box { background: var(--kraft-soft); border: 1px solid #e3cfb4; border-radius: 10px; padding: 9px 11px; font-size: 14px; margin-top: 10px; }
.ch-box b { color: var(--kraft-dark); }

/* Decision area */
.dec { padding: 11px 14px 14px; display: flex; flex-direction: column; gap: 8px; background: #fbfbfd; }
.dhint { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dhint svg { width: 15px; height: 15px; }
.dbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 7px; }
.db { min-height: 58px; border-radius: 12px; border: 1.5px solid; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 7px; transition: transform .08s, box-shadow .15s, border-color .15s; padding: 6px; }
.db:active { transform: scale(.98); }
.db.ok { background: var(--ok-fill); color: var(--ok); border-color: var(--ok-line); }
.db.no { background: var(--no-fill); color: var(--no); border-color: var(--no-line); }
.db.off { background: var(--off-fill); color: var(--off); border-color: var(--off-line); }
.db.unsure { background: var(--unsure-fill); color: var(--unsure); border-color: var(--unsure-line); }
.db:hover { box-shadow: 0 3px 10px -4px rgba(29,43,79,.4); border-color: currentColor; }
.db[aria-pressed="true"] { box-shadow: inset 0 0 0 2px currentColor; }
.note-in { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; font-size: 14.5px; background: #fff; resize: vertical; }
.note-in:focus { border-color: var(--kraft); outline: 2px solid var(--kraft-soft); outline-offset: 0; }
.note-in::placeholder { color: #7a8193; }
.pbtn { border: 1px solid var(--navy); background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.pbtn:hover { background: var(--navy-2); }
.pbtn.ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.pbtn.ghost:hover { border-color: var(--kraft); }
.pbtn.kraft { background: var(--kraft-dark); border-color: var(--kraft-dark); }
.pbtn.kraft:hover { background: #75522c; }
.pbtn svg { width: 16px; height: 16px; }
.ro { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.row2 { display: flex; gap: 7px; } .row2 > * { flex: 1; }

/* Folded (just decided) */
.fold { display: flex; align-items: center; gap: 10px; padding: 12px 14px; flex-wrap: wrap; animation: fold .25s cubic-bezier(.16,1,.3,1); }
@keyframes fold { from { opacity: .3; transform: scaleY(.9); } }
.fold .ft { flex: 1; min-width: 180px; font-size: 14px; }
.fold .ft b { color: var(--navy); }
.fold .ft span { display: block; color: var(--muted); font-size: 12.5px; }
.lnk { border: 0; background: transparent; color: var(--kraft-dark); font-weight: 700; font-size: 13.5px; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.lnk:hover { color: var(--navy); }

.none { background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 28px 18px; text-align: center; color: var(--muted); }
.none h2 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.none p { margin: 0 0 12px; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 16px); transform: translate(-50%, 12px); z-index: 30; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 12px 10px 14px; font-size: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .18s, transform .2s cubic-bezier(.16,1,.3,1); max-width: calc(100vw - 24px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: transparent; color: #f3d4ac; font-weight: 700; padding: 4px 6px; white-space: nowrap; }
.toast button[hidden] { display: none; }
.foot { max-width: 1320px; margin: 0 auto; padding: 0 14px 22px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.foot button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--navy); }

@media (max-width: 959px) {
  .hdr { display: contents; }
  .top { position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 14px -10px rgba(29,43,79,.45); }
  html { scroll-padding-top: 64px; }
}
@media (max-width: 480px) {
  .top .mock { display: none; }
  .summary .mock-m { display: inline-block; }
}
@media (max-width: 480px) {
  .frow { grid-template-columns: 1fr 1fr; }
  .frow .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .brand .t { display: none; }
}
@media (min-width: 720px) {
  main { padding: 16px 16px 28px; }
}
@media (min-width: 960px) {
  html { scroll-padding-top: 130px; }
  .top { padding: 9px 20px; }
  .filters { padding: 8px 20px 10px; }
  .filters-in { flex-direction: row; align-items: flex-end; gap: 14px; }
  .tabs { width: 470px; flex: none; }
  .frow { flex: 1; max-width: 640px; }
}
@media (min-width: 1100px) {
  main { padding: 18px 20px 32px; }
  .feed { grid-template-columns: 1fr 1fr; gap: 16px; }
  .col { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ======================= Keputusan web additions ======================= */
:root { --wa-time: #566a75; }
[hidden] { display: none !important; }
.top-row .user { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: #dbe2f1; }
.user .nm { font-weight: 700; color: #fff; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user .rl { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 9px; background: var(--kraft-dark); color: #fff; white-space: nowrap; }
.tbtn { border: 1px solid var(--navy-3); background: var(--navy-2); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tbtn:hover { background: var(--navy-3); }
.strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 4px 12px; }
.strip .sp { flex: 1; }
.upd { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.upd.err { color: var(--no); font-weight: 600; }
.iconbtn { border: 1px solid var(--line-2); background: #fff; color: var(--navy); border-radius: 999px; width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; }
.iconbtn:hover { border-color: var(--kraft); }
.iconbtn.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rd-msg { font-size: 12.5px; color: var(--muted); }
.pbtn[disabled], .db[disabled] { opacity: .6; cursor: default; }
.pbtn.done { background: var(--ok-fill); color: var(--ok); border-color: var(--ok-line); }

/* Login */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 20px 16px; background: var(--bg); }
.login-card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(29,43,79,.06), 0 14px 30px -18px rgba(29,43,79,.4); overflow: clip; }
.login-top { background: var(--navy); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.login-top .box { width: 32px; height: 32px; border-radius: 9px; background: var(--kraft); display: grid; place-items: center; }
.login-top .box svg { width: 19px; height: 19px; stroke: #fff; }
.login form { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.login p.lead { margin: 0; color: var(--muted); font-size: 14px; }
.login label.f { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.login input[type=text], .login input[type=password] { border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; font-size: 16px; background: #fff; color: var(--text); width: 100%; }
.login input:focus { border-color: var(--kraft); outline: 2px solid var(--kraft-soft); outline-offset: 0; }
.login .chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.login .chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.login .err { color: var(--no); background: var(--no-fill); border: 1px solid var(--no-line); border-radius: 10px; padding: 8px 11px; font-size: 14px; font-weight: 600; }
.login .pbtn { min-height: 46px; font-size: 16px; }

/* Decision buttons: Matikan | Tolak | Setujui, one row */
.dbtns { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.db { min-width: 0; text-align: center; }
.db .main { font-size: 16px; }
.db .sub { font-size: 11.5px; font-weight: 600; opacity: 1; overflow-wrap: anywhere; }
@media (max-width: 480px) { .dbtns[style*="--n:3"] .db .main { font-size: 14.5px; gap: 4px; } .dbtns[style*="--n:3"] .db { padding: 6px 3px; min-height: 66px; } .dbtns[style*="--n:3"] .db .main svg { width: 15px; height: 15px; } }

/* Folded, states, banners */
.fold .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--kraft-dark); animation: spin 1s linear infinite; flex: none; }
.fold.gone { background: var(--unsure-fill); }
.flash { background: var(--amber-fill); border: 1px solid #ecd49a; color: #6b4a00; border-radius: 10px; padding: 8px 11px; font-size: 13.5px; font-weight: 600; display: flex; gap: 7px; align-items: flex-start; }
.flash svg { margin-top: 2px; }
.chat-load { padding: 18px 12px; text-align: center; color: var(--muted); font-size: 13px; min-height: 120px; display: grid; place-items: center; gap: 6px; align-content: center; }
.chat-load .sk { height: 10px; width: 60%; border-radius: 6px; background: linear-gradient(90deg, #e6e1d8, #f4f1ea, #e6e1d8); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.chat-load .sk.b { width: 40%; }
@keyframes sk { to { background-position: -200% 0; } }
.who-n.me { color: #0f766e; }
.foot .spacer { flex: 1; }

.chat-open { font-size: 12.5px; font-weight: 700; color: var(--kraft-dark); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.chat-bar .chat-open + .ref, .chat-bar .ref + .chat-open { margin-left: 8px; }
