/* ===== Officer pages (fork C): chat, knowledge base, announcements ===== */
:root {
  --oc-ink: #0f1e3c;
  --oc-muted: #667085;
  --oc-line: #e4e7ec;
  --oc-navy: #0f2147;
  --oc-navy-2: #1e2a4a;
  --oc-blue: #1b6fd8;
}
body.app.oc { background: var(--white); }
.oc .main { padding: 22px 24px 56px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-ui); color: var(--oc-ink); }

/* breadcrumb + title */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--oc-muted); }
.crumbs a:hover { color: var(--oc-blue); }
.crumbs .here { color: var(--oc-ink); font-weight: 500; }
.page-title { margin: 0; font-weight: 700; font-size: 27px; line-height: 42px; color: var(--oc-ink); }
.page-sub { margin: 0; font-size: 13.5px; color: var(--oc-muted); }

/* generic buttons in this design (8px radius, navy) */
.ob { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; border: 1px solid var(--oc-navy);
      font: 500 13.5px var(--font-ui); padding: 8px 18px; background: var(--white); color: var(--oc-navy); white-space: nowrap; }
.ob:hover { background: #f2f5fa; }
.ob.primary { background: var(--oc-navy); color: var(--white); }
.ob.primary:hover { background: #1b3561; }
.ob.sm { font-size: 12.5px; padding: 5px 12px; }
.ob img { width: 15px; height: 15px; }

/* status / tag pills */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3.5px 12px 3.88px; font-size: 12.5px; line-height: 19.38px; font-weight: 600; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 3.5px; background: currentColor; }
.pill.green { background: #dcfce7; color: #15803d; }
.tag { display: inline-flex; background: #f2f4f7; border-radius: 6px; padding: 1.5px 9px 1.88px; font-size: 12.5px; line-height: 19.38px; color: var(--oc-ink); white-space: nowrap; }

/* confidence + time meta chips */
.conf { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; font-weight: 600; font-size: 11.5px; line-height: 17.83px; white-space: nowrap; }
.conf .bar { position: relative; width: 28px; height: 4px; border-radius: 2px; background: rgba(0,0,0,.08); overflow: hidden; }
.conf .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: currentColor; }
.conf.hi  { background: #e7f7ee; color: #067647; }
.conf.mid { background: #fef4e2; color: #b54708; }
.conf.lo  { background: #fdecee; color: #b42318; }
.rt { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; background: #eef2f7; color: #475467; font-weight: 500; font-size: 11.5px; line-height: 17.83px; white-space: nowrap; }
.rt img { width: 11px; height: 11px; }
.rt.slow { background: #fdecee; color: #b42318; }

/* modal (shared) */
.oc-modal { width: 520px; background: var(--white); border-radius: 14px; box-shadow: 0 20px 50px rgba(15,33,71,.3); overflow: hidden; }
.oc-modal h3 { margin: 0; padding: 18px 22px 4px; font-weight: 600; font-size: 18px; line-height: 27.9px; color: var(--oc-ink); }
.oc-modal .body { padding: 7.5px 22px 12.7px; display: flex; flex-direction: column; gap: 4px; }
.oc-modal .body p { margin: 0; font-size: 13.5px; line-height: 20.93px; color: #344054; }
.oc-modal label { padding-top: 8px; font-size: 12.5px; line-height: 19.38px; color: var(--oc-muted); }
.oc-modal textarea { min-height: 84px; resize: vertical; border: 1px solid var(--oc-line); border-radius: 8px; padding: 9px 12px; font: 12.5px/19.38px var(--font-ui); color: var(--oc-ink); outline: none; }
.oc-modal textarea:focus { border-color: #9ec2f3; }
.oc-modal .foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; }

/* toast */
.oc-toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: var(--oc-navy-2); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13.5px; z-index: 80; box-shadow: 0 8px 24px rgba(15,33,71,.25); }
.oc-toast[hidden] { display: none; }
