/* Matt — Operator Home. Own styles for this page only; mirrors the
   dime-time operator family look (shell / card / btn) without editing
   the shared operator stylesheet. No external assets. */
:root {
  color-scheme: dark;
  --bg: #0b0a0d;
  --card: #17121f;
  --card-in: #120d1a;
  --line: #3a2b4a;
  --text: #f5eefc;
  --muted: #b9a8cc;
  --pink: #ff3ba7;
  --gold: #f5c451;
  --violet: #7f56ff;
  --ok: #3fbf72;
  --warn: #f5c451;
  --bad: #ff6b81;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
}
.shell { max-width: 720px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card.hero { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.eyebrow { font-size: 11px; letter-spacing: 0.14em; color: var(--gold); font-weight: 700; }
h1 { margin: 6px 0 8px; font-size: 26px; }
h2 { margin: 0 0 8px; font-size: 19px; }
h3 { margin: 4px 0 2px; font-size: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.stack { display: grid; gap: 10px; }
.hidden { display: none !important; }
a { color: var(--pink); }
hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
label { font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f0b16;
  color: var(--text);
  font-size: 15px;
}
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #241a33;
  color: var(--text);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn.primary { background: linear-gradient(135deg, var(--pink), var(--violet)); border-color: transparent; color: #fff; }
.btn.secondary { background: #241a33; }
.btn.danger { background: #4a1428; border-color: #7a2444; color: #ffd7e6; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Suite standard: every button / tab carries a short plain-language
   caption directly under it. */
.btn-block { display: grid; gap: 4px; justify-items: start; }
.btn-block .btn { justify-self: start; }
.cap { font-size: 12px; color: var(--muted); margin: 0; max-width: 46ch; }
.notice {
  border: 1px solid #7a2444;
  background: #2a0f1c;
  color: #ffb9d2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.tabs { display: flex; gap: 16px; flex-wrap: wrap; }
.tab-block { flex: 1; min-width: 150px; }
.tab-btn { width: 100%; }
.tab-btn.is-active { background: linear-gradient(135deg, var(--pink), var(--violet)); border-color: transparent; color: #fff; }
.level-row { display: flex; gap: 16px; flex-wrap: wrap; }
.level-btn.is-active { background: linear-gradient(135deg, var(--pink), var(--violet)); border-color: transparent; color: #fff; }
.focus-card { border-color: var(--gold); }
.row-card, .item-card, .bot-card, .brief-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: var(--card-in);
}
.row-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-card p, .item-card p, .bot-card p, .brief-card p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 2px 9px;
  border: 1px solid transparent;
  text-transform: uppercase;
}
.chip-loehr { background: #D21F26; color: #e8e9eb; border-color: #e8e9eb; }
.chip-dime { background: #FFD400; color: #000; border-color: #000; }
.chip-hub { background: #C93A2E; color: #9AA0A3; border-color: #9AA0A3; }
.chip-other { background: #241a33; color: var(--muted); border-color: var(--line); }
.status-chip { background: #241a33; color: var(--text); border-color: var(--line); text-transform: none; letter-spacing: 0; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.file-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); word-break: break-all; }
/* Talk to Matt chat */
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f0b16;
  color: var(--text);
  font-size: 15px;
  min-height: 72px;
  resize: vertical;
}
.chat-list { display: grid; gap: 10px; }
.msg {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  max-width: 92%;
}
.msg p { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.msg .who { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.msg-you { background: #241a33; justify-self: end; }
.msg-matt { background: var(--card-in); justify-self: start; }
.chip-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.quick-chip { padding: 8px 14px; font-size: 13px; }
.loehr-software-id { max-width: 720px; margin: 0 auto; padding: 0 16px 24px; font-size: 12px; color: var(--muted); display: grid; gap: 2px; }
.loehr-software-id p { margin: 0; }
