/* Adam Cole HQ. Black and white, same type as adamcoleguitar.com. */
:root { --ink: #000; --paper: #fff; --soft: #f4f4f2; --line: #e3e3df; --mute: #6b6b6b; --warn: #b3261e; --ok: #1d6b3a; --r: 10px; --side: 232px; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.45 "Inter Tight", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1 { font-size: 34px; letter-spacing: -.035em; line-height: 1; margin: 0 0 6px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; font-weight: 700; }
p { margin: 0 0 8px; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.boot { padding: 40px; }

/* layout */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 8px; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-size: 15px; letter-spacing: -.01em; display: block; }
.brand span { font-size: 12px; color: var(--mute); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--soft); }
.nav a.on { background: var(--ink); color: var(--paper); }
.nav .count { font-size: 12px; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 20px; background: var(--ink); color: var(--paper); }
.nav a.on .count { background: var(--paper); color: var(--ink); }
.side .foot { margin-top: auto; padding: 0 8px; font-size: 13px; color: var(--mute); }
.side .foot button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--mute); }
.main { padding: 34px 40px 80px; max-width: 1180px; width: 100%; min-width: 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

/* pieces */
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--paper); }
.card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stat b { display: block; font-size: 38px; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: 13px; color: var(--mute); }
.card.dark .stat span, .card.dark .muted { color: #bdbdbd; }
.list { border-top: 1px solid var(--line); }
.row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
a.row:hover { background: var(--soft); }
.row .main-col { min-width: 0; flex: 1; }
.row .t { font-weight: 600; }
.row .s { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 20px; border: 1px solid var(--line); white-space: nowrap; }
.pill.new { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill.warn { color: var(--warn); border-color: currentColor; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: 6px 12px; cursor: pointer; font-size: 13px; text-decoration: none; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 8px; padding: 9px 14px; font-weight: 600; cursor: pointer; text-decoration: none; font-size: 14px; }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.quiet { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.feed .item { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.feed .who { font-size: 12px; color: var(--mute); }
.empty { padding: 26px; text-align: center; color: var(--mute); border: 1px dashed var(--line); border-radius: var(--r); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; white-space: pre-wrap; }
label.f { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
label.f span { display: block; margin-bottom: 5px; }
label.f i { font-style: normal; font-weight: 400; color: var(--mute); }
input.i, select.i, textarea.i { width: 100%; border: 1px solid #cfcfca; border-radius: 8px; padding: 9px 11px; background: var(--paper); font-size: 15px; }
textarea.i { min-height: 90px; resize: vertical; }
input.i:focus, select.i:focus, textarea.i:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form .wide { grid-column: 1 / -1; }

/* review queue */
.draft { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.draft .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; flex-wrap: wrap; }
.draft .who b { font-size: 16px; }
.draft textarea { min-height: 110px; margin-bottom: 10px; }
.draft pre { white-space: pre-wrap; font: inherit; margin: 0 0 12px; background: var(--soft); padding: 12px; border-radius: 8px; font-size: 14px; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.team .card h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--ink); min-height: 2px; border-radius: 2px 2px 0 0; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 9; }
.err { color: var(--warn); font-size: 14px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: 100%; max-width: 380px; padding: 28px; }
.login svg { width: 44px; height: 44px; margin-bottom: 14px; }

/* focus-first pieces */
a.card { text-decoration: none; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 8px 10px; }
.tabs { display: none; }
.next { display: flex; flex-direction: column; gap: 6px; padding: 22px; position: relative; }
.next .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #bdbdbd; font-weight: 700; }
.next.calm .eyebrow { color: var(--mute); }
.next b { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.next .sub { font-size: 14px; color: #d6d6d6; }
.next.calm .sub { color: var(--mute); }
.next .nb { position: absolute; top: 20px; right: 20px; }
.next .nb .pill { color: var(--paper); border-color: #555; }
.next .nb .pill.warn { color: #ffb4ab; border-color: currentColor; }
.btn.inv { background: var(--paper); color: var(--ink); border-color: var(--paper); align-self: flex-start; margin-top: 10px; }
.goal { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.goal b { display: block; font-size: 22px; letter-spacing: -.02em; }
.goal .bar { height: 6px; background: var(--soft); border-radius: 6px; overflow: hidden; }
.goal .bar i { display: block; height: 100%; background: var(--ink); }
.plan .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.plan .row.done { opacity: .5; }
.plan .row { flex-wrap: nowrap; }
.plan .b { margin-top: 5px; }
.row .go { font-size: 13px; font-weight: 600; white-space: nowrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; }
.draft.one { max-width: 640px; }
.draft.one textarea { min-height: 200px; }
.btn.big { padding: 14px 20px; font-size: 16px; }
.quietrow { margin-top: 14px; gap: 18px; }
.link { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; cursor: pointer; font-size: 14px; }
select.i.inline { width: auto; padding: 6px 9px; font-size: 13px; }
.sheet { position: fixed; inset: auto 0 0 0; z-index: 20; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.25); display: flex; justify-content: center; }
.sheet__card { background: var(--paper); border-radius: 14px; padding: 18px; width: 100%; max-width: 420px; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.sheet__card .t { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.btn.call { width: 100%; max-width: 420px; margin-bottom: 14px; }
.script summary { list-style: none; cursor: pointer; }
.script summary::-webkit-details-marker { display: none; }
.script summary h2 { margin: 0; }
.script pre { white-space: pre-wrap; font: inherit; font-size: 15px; margin: 12px 0 0; }
.outcomes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-width: 640px; }
.outcomes .btn { flex-direction: column; padding: 13px 12px; }
.outcomes small { font-weight: 400; font-size: 11px; opacity: .7; }

/* team: chief chat + employees */
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.iconbtn svg { width: 20px; height: 20px; }
.chat { max-width: 720px; display: flex; flex-direction: column; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 12px; }
.msg { max-width: 82%; display: flex; flex-direction: column; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; line-height: 1.4; font-size: 15px; }
.msg.them { align-self: flex-start; }
.msg.them p { background: var(--soft); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me p { background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg .at, .msg .by { font-size: 11px; color: var(--mute); margin: 3px 6px 0; }
.msg .by { margin: 0 6px 3px; }
.msg.typing p { color: var(--mute); }
.ideas { margin: 4px 0 10px; }
.ideas .chip { font-size: 13px; }
.composer { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; background: var(--paper); padding: 10px 0; border-top: 1px solid var(--line); }
.composer textarea.i { min-height: 44px; max-height: 140px; resize: none; border-radius: 22px; padding: 11px 16px; }
.composer .btn { border-radius: 22px; height: 44px; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; letter-spacing: .02em; }
.av.big { width: 56px; height: 56px; font-size: 18px; }
.emp { align-items: center; }
.emp .b { margin-top: 5px; }
.emphead { justify-content: flex-start; align-items: center; }

/* phone */
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--mute); }
  .tabs a.on { color: var(--ink); }
  .tabs svg { width: 23px; height: 23px; }
  .tabs .count { position: absolute; top: 4px; left: calc(50% + 6px); font-size: 10px; min-width: 17px; padding: 1px 5px; border-radius: 10px; background: var(--ink); color: var(--paper); text-align: center; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  h1 { font-size: 28px; }
  .head { margin-bottom: 18px; }
  .head .btn { padding: 8px 12px; }
  .next b { font-size: 23px; }
  .next .nb { position: static; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .g2, .team, .form { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dt { margin-top: 8px; }
  .feed .item { grid-template-columns: 1fr; gap: 2px; }
  .row { flex-wrap: wrap; }
  .row .main-col { min-width: 60%; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .btn.big, .btn.call { width: 100%; max-width: none; }
  input.i, select.i, textarea.i { font-size: 16px; }
  .sheet { bottom: calc(58px + env(safe-area-inset-bottom)); }
  .composer { bottom: calc(58px + env(safe-area-inset-bottom)); }
  .msg { max-width: 88%; }
  .head .btns { width: 100%; }
}
