/* Vonsol Command home options. Brand tokens from Dan's approved Design Spec (Nov 16, 2026), calmer and easier to read. */
:root {
  --navy: #0A2240; --side: #0B1A30; --ink: #0B1220; --muted: #55606E;
  --stone: #F1EEE7; --line: #DDD8CC; --soft: #E9E5DB; --card: #FFFFFF;
  --gold: #C9A227; --gold-ink: #7D6413; --gold-soft: #F7F0DA;
  --red: #A93A32; --red-soft: #F8E6E3; --amber: #9A6A10; --amber-soft: #FBF0D9;
  --green: #2C7A50; --green-soft: #E3F1E8; --blue: #2A5C8F; --blue-soft: #E5EDF6;
  --head: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--stone); color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Review bar (not part of the app) */
.review { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.review .in { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.review b { font-weight: 600; }
.review a { text-decoration: none; padding: 5px 10px; border-radius: 3px; color: var(--muted); }
.review a.on { background: var(--navy); color: #fff; }
.review a:hover:not(.on) { background: var(--soft); color: var(--ink); }
.review .sample { margin-left: auto; color: var(--gold-ink); background: var(--gold-soft); padding: 3px 8px; border-radius: 3px; font-weight: 600; }

/* App header */
.top { background: var(--navy); color: #fff; border-bottom: 2px solid var(--gold); }
.top .in { height: 66px; display: flex; align-items: center; gap: 18px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand .rule { width: 1px; height: 30px; background: rgba(255,255,255,.25); }
.brand .name { font: 700 24px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.brand .name small { display: block; font: 600 9px/1 var(--body); letter-spacing: .18em; color: var(--gold); margin-bottom: 4px; }
.search { flex: 1; max-width: 440px; margin-left: 24px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 3px; padding: 9px 12px; color: rgba(255,255,255,.7); font-size: 14px; }
.me { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.me .who { text-align: right; line-height: 1.25; }
.me .who small { display: block; color: rgba(255,255,255,.65); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.chatbtn { background: transparent; color: #fff; border: 1px solid var(--gold); border-radius: 3px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.chatbtn::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 10px; }

/* Shell */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - 104px); }
.side { background: var(--side); color: #D5DCE6; padding: 22px 12px; font-size: 14px; }
.side h6 { margin: 18px 12px 8px; font: 600 11px/1 var(--body); letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.side h6:first-child { margin-top: 0; }
.side a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 3px; text-decoration: none; border-left: 3px solid transparent; }
.side a:hover { background: rgba(255,255,255,.06); }
.side a.on { background: #17304F; color: #fff; border-left-color: var(--gold); font-weight: 600; }
.side a em { font-style: normal; font-size: 12px; color: #9FB0C4; }
.main { padding: 28px max(28px, env(safe-area-inset-right, 0px)) 48px 28px; min-width: 0; }

/* Page heading */
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.hello .date { font-size: 13px; font-weight: 600; color: var(--gold-ink); letter-spacing: .06em; text-transform: uppercase; }
.hello h1 { margin: 4px 0 6px; font: 700 40px/1.05 var(--head); text-transform: uppercase; color: var(--navy); letter-spacing: .01em; }
.hello p { margin: 0; color: var(--muted); font-size: 16px; max-width: 60ch; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 3px; padding: 11px 16px; font-weight: 600; font-size: 14px; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.small { padding: 7px 12px; min-height: 36px; font-size: 13px; }

/* Cards and sections */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.sec { margin-top: 26px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sec-head h2 { margin: 0; font: 700 22px/1.1 var(--head); text-transform: uppercase; color: var(--navy); letter-spacing: .02em; }
.sec-head h2 .n { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; margin-left: 8px; border-radius: 3px; background: var(--navy); color: #fff; font: 600 13px/1 var(--body); vertical-align: 3px; }
.sec-head a { font-size: 14px; font-weight: 600; color: var(--navy); }
.cap { color: var(--muted); font-size: 14px; margin: -6px 0 12px; }

/* Needs you: decision cards */
.decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dec { padding: 18px; display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--gold); }
.dec .proj { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dec h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.dec .rec { background: var(--stone); border-radius: 3px; padding: 10px 12px; font-size: 14px; }
.dec .rec b { color: var(--navy); }
.dec .due { font-size: 13px; color: var(--red); font-weight: 600; }
.dec .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }

/* Chips */
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.chip.red { background: var(--red-soft); color: var(--red); }
.chip.amber { background: var(--amber-soft); color: var(--amber); }
.chip.green { background: var(--green-soft); color: var(--green); }
.chip.blue { background: var(--blue-soft); color: var(--blue); }
.chip.gray { background: var(--soft); color: var(--muted); }

/* Simple rows */
.rows { padding: 4px 18px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--soft); align-items: center; }
.row:last-child { border-bottom: 0; }
.row .t { font-weight: 600; }
.row .s { color: var(--muted); font-size: 13px; }

.person { display: inline-flex; align-items: center; gap: 8px; }
.ini { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--blue-soft); color: var(--blue); flex: none; }
.ini.val { background: var(--gold-soft); color: var(--gold-ink); }

.num { font-variant-numeric: tabular-nums; }
.foot { margin-top: 36px; color: var(--muted); font-size: 12px; }

/* Responsive */
@media (max-width: 1100px) {
  .decisions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .search, .me .who { display: none; }
  .main { padding: 20px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
  .top .in { padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); gap: 10px; }
  .chatbtn { padding: 8px 10px; }
}
@media (max-width: 640px) {
  .decisions { grid-template-columns: 1fr; }
  .hello h1 { font-size: 32px; }
  .brand img { height: 17px; }
  .brand .rule, .chatbtn { display: none; }
  .actions, .actions .btn { width: 100%; justify-content: center; }
}
