/* Oz-Cop Development and Management Dashboard — styles (ozdash-01.12.26-a). Matches the approved mock-up of 1 Dec 2026. */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/font/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/font/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/font/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-style: normal; font-display: swap; src: url('/font/space-grotesk-latin-600-normal.woff2') format('woff2'); }

:root {
  --ground: #0A0E15; --side: #0F141E; --card: #121A27; --inner: #0F1520; --line: #1E2633; --line2: #263042;
  --text: #EEF1F6; --soft: #C9D2DF; --muted: #9AA6B8; --faint: #6E7A8C; --nav: #AEB8C8; --navon: #1A2333;
  --accent: #63A7FF; --accentdim: #2C4D78; --ink: #06101F; --good: #7DDC9A; --amber: #FFC861; --link: #7FB6FF;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.45; }
a { color: var(--link); }
a:hover { color: #B3D3FF; }
h2 { margin: 0; font-size: 15px; font-weight: 600; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt { margin-top: 12px; }
.good { color: var(--good) !important; }
.warn { color: var(--amber) !important; }
.err { color: #FF9A92; font-size: 13px; }

/* sign-in */
.signin { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sicard { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; }
.silogo { width: 180px; height: auto; display: block; }
.sih { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 600; font-size: 20px; margin: 16px 0 4px; }
.siform { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.lab { display: block; font-size: 12px; color: var(--muted); }
.field { width: 100%; background: var(--ground); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; color: var(--text); font: 14px Inter, sans-serif; margin-top: 6px; }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.sel { width: auto; min-width: 180px; }
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 12px 18px; background: var(--accent); color: var(--ink); font: 600 14px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); background: #86BBFF; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--soft); border: 1px solid var(--line2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }

/* layout */
.shell { min-height: 100vh; display: flex; flex-wrap: wrap; }
.side { flex: 1 1 220px; max-width: 240px; padding: 24px 16px; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.brand { padding: 0 8px 20px; }
.brandlogo { width: 170px; height: auto; display: block; }
.brandsub { color: var(--muted); font-weight: 600; font-size: 12px; margin-top: 10px; }
.nav { text-decoration: none; color: var(--nav); border-radius: 8px; padding: 11px 12px; font-size: 14px; }
.nav:hover { color: var(--text); background: #151D2B; }
.nav.on { color: var(--text); background: var(--navon); font-weight: 600; }
.who { margin-top: 20px; padding: 12px; border-radius: 10px; background: var(--card); font-size: 12px; color: var(--muted); line-height: 1.6; }
.main { flex: 999 1 560px; min-width: 0; padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 22px; max-width: 1240px; }
.top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.topl { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topr { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.applogo { height: 72px; width: auto; display: block; }
.h1 { margin: 4px 0 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 28px; font-weight: 600; }
.switch { display: flex; flex-wrap: wrap; gap: 6px; background: #111827; padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.sw { border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; font: 500 13px Inter, sans-serif; background: transparent; color: var(--soft); }
.sw[aria-pressed="true"] { background: var(--accent); color: var(--ink); font-weight: 600; }
.banner { margin: 0; padding: 10px 14px; border-radius: 10px; background: #3A2E12; color: var(--amber); font-size: 13px; }

/* tiles and cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.tl { font-size: 12px; color: var(--muted); }
.tv { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 30px; font-weight: 600; margin-top: 6px; }
.ts { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 17px; }
.page { display: flex; flex-direction: column; gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; min-width: 0; }
.card.col { display: flex; flex-direction: column; align-items: flex-start; }
.card p { line-height: 1.5; }
.ch { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.inner { background: var(--inner); border-radius: 10px; padding: 14px; font-size: 13px; line-height: 1.5; }
.tracker { margin-top: 6px; }
.seg { font-size: 12px; color: var(--muted); }
.segb { background: none; border: 0; padding: 0; color: var(--muted); font: 12px Inter, sans-serif; cursor: pointer; }
.segb[aria-pressed="true"] { color: var(--text); font-weight: 700; }

/* bars */
.bars { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.barrow { font-size: 13px; }
.barhead { display: flex; justify-content: space-between; }
.bartrack { height: 10px; background: #1C2535; border-radius: 6px; margin-top: 6px; overflow: hidden; }
.barfill { height: 10px; width: 0; background: var(--accent); border-radius: 6px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--soft); }
.pill { background: var(--navon); border-radius: 999px; padding: 6px 10px; }

/* chart */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-top: 18px; border-bottom: 1px solid var(--line2); }
.col14 { flex: 1; height: 0; min-height: 2px; background: var(--accentdim); border-radius: 4px 4px 0 0; }
.col14.now { background: var(--accent); }
.chartx { display: flex; justify-content: space-between; margin-top: 8px; }

/* routes */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; font-size: 13px; }
.rbox { background: var(--inner); border-radius: 10px; padding: 12px; }
.rl { color: var(--muted); font-size: 12px; }
.rv { font-size: 20px; font-weight: 600; margin-top: 4px; }

/* ask */
.states { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.stb { border: 1px solid var(--line2); background: transparent; color: var(--soft); border-radius: 8px; padding: 8px 12px; font: 500 13px Inter, sans-serif; cursor: pointer; }
.stb[aria-pressed="true"] { border-color: var(--accent); background: #17263D; color: var(--text); font-weight: 600; }
.askrow { display: flex; gap: 8px; margin-top: 6px; }
.askrow .field { flex: 1; min-width: 0; margin-top: 0; }
.askrow .btn { padding: 0 18px; }
.answer { margin-top: 16px; background: var(--inner); border-radius: 10px; padding: 16px; font-size: 14px; line-height: 1.55; }
.answer .alead { font-weight: 700; margin-top: 10px; }
.answer .apt { margin: 6px 0; }
.answer .abul { margin: 4px 0 4px 18px; }
.answer .acites { margin-top: 14px; font-size: 12px; color: var(--muted); }
.answer .ameta { margin-top: 10px; font-size: 12px; color: var(--faint); }

/* flagged */
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flist { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13px; }
.frow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; background: var(--inner); border-radius: 10px; padding: 10px 12px; }
.fq { order: 3; flex: 1 1 100%; color: var(--soft); overflow-wrap: anywhere; }
.fapp { color: var(--muted); font-size: 12px; }
.tag { border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tag-nothing { background: #3A2E12; color: var(--amber); }
.tag-noanswer { background: #3A1E22; color: #FF9A92; }
.tag-withheld { background: #1E2A3D; color: #9CC4FF; }
.tag-error { background: #2A2033; color: #D7A8FF; }

/* tables */
.tablewrap { overflow-x: auto; margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 12px; }
.pager { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.foot { font-size: 12px; color: var(--faint); }

/* phone */
@media (max-width: 760px) {
  .side { max-width: none; flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; padding: 16px 12px; }
  .brand { flex-basis: 100%; padding-bottom: 10px; }
  .brandlogo { width: 140px; }
  .nav { padding: 8px 10px; font-size: 13px; }
  .who { margin-top: 8px; flex-basis: 100%; }
  .main { padding: 20px 14px 40px; }
  .topr { align-items: flex-start; }
  .applogo { height: 52px; }
  .h1 { font-size: 22px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
}
