@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #121215;
  --panel2: #17171b;
  --line: #27272c;
  --muted: #a0a0ab;
  --faint: #797982;
  --text: #f2f1f3;
  --red: #f04c4e;
  --redsoft: #2c171b;
  --green: #8cd7b3;
  --amber: #eac58b;
  font-family: "DM Sans", "Avenir Next", sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.number {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 600;
  line-height: 1.2;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
small {
  color: var(--muted);
  font-size: 13px;
}
.app {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  height: 100dvh;
  position: sticky;
  top: 0;
  border-right: 1px solid var(--line);
  padding: 30px 16px 18px;
  background: #0e0e11;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px 30px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-mark {
  font-size: 47px;
  color: var(--red);
  line-height: 1;
  font-family: Arial, sans-serif;
}
.brand-sub {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  margin-left: 9px;
  color: var(--muted);
  vertical-align: middle;
}
.workspace-tag {
  margin-left: auto;
  border: 1px solid #37373c;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
}
.workspace-name {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 28px;
}
.workspace-name strong {
  font-size: 12px;
  display: block;
  white-space: nowrap;
}
.workspace-name small {
  font-size: 11px;
  display: block;
  margin-top: 4px;
}
.tiny-mark {
  font-family: "Space Grotesk";
  width: 29px;
  height: 29px;
  border-radius: 6px;
  border: 1px solid #653034;
  background: #30181b;
  color: #ff898b;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.chevron {
  margin-left: auto;
  color: var(--faint);
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--faint);
  padding: 0 13px 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin: 3px 0;
  font-size: 14px;
  border-radius: 7px;
  color: #a4a4ae;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}
.nav-item:hover {
  color: white;
  background: #1b1b20;
}
.nav-item.active {
  background: #2b181c;
  color: #ff7779;
  box-shadow: inset 2px 0 var(--red);
}
.nav-item .count {
  margin-left: auto;
  font-size: 11px;
  background: #242429;
  color: #b5b5bf;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-item.active .count {
  background: #53262d;
  color: #ff9395;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.notion-link {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 10px;
  color: var(--muted);
  font-size: 12px;
}
.notion-link > span:last-child {
  margin-left: auto;
}
.notion-icon {
  border: 1px solid #73737e;
  font-family: serif;
  font-weight: bold;
  width: 18px;
  height: 18px;
  text-align: center;
}
.profile {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 20px 8px 0;
  margin-top: 12px;
  align-items: center;
}
.profile strong {
  font-size: 13px;
  display: block;
}
.profile small {
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #26262d;
  color: #d7d5df;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar.red {
  color: #ff9294;
  background: #3c2126;
  border: 1px solid #653037;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.main-shell {
  min-width: 0;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--faint);
  white-space: nowrap;
}
.breadcrumb span {
  margin: 0 13px;
  color: #4f4f59;
}
.breadcrumb strong {
  color: #c5c4ce;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.secondary,
.primary,
.subtle {
  border-radius: 6px;
  border: 1px solid #303037;
  background: #1b1b20;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 550;
  min-height: 39px;
}
.secondary:hover {
  background: #26262c;
}
.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.primary:hover {
  background: #fb6264;
}
a.button-link {
  text-decoration: none;
}
.subtle {
  background: transparent;
  color: var(--muted);
}
.search-open {
  font-size: 12px;
  color: var(--faint);
  min-height: 33px;
  padding: 6px 10px;
  background: transparent;
  border-color: var(--line);
}
kbd {
  font-family: inherit;
  font-size: 10px;
  color: var(--faint);
  padding: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-left: 18px;
}
.demo-tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: #c3aab0;
  border: 1px solid #503139;
  background: #25191d;
  padding: 5px 7px;
  border-radius: 4px;
}
.icon-btn {
  border: 0;
  background: none;
  position: relative;
  width: 32px;
  height: 34px;
  font-size: 21px;
  color: var(--muted);
}
.icon-btn i {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.menu,
.scrim {
  display: none;
}
main {
  max-width: 1650px;
  margin: 0 auto;
  padding: 35px 36px 20px;
  min-height: calc(100dvh - 145px);
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--red);
  margin-bottom: 10px;
  font-weight: 600;
}
.page-head p {
  font-size: 13px;
  margin-top: 8px;
}
.head-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.date {
  color: #b0afba;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.banner {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #513032;
  background: linear-gradient(90deg, #29171a, #151214);
  border-radius: 8px;
  padding: 15px 18px;
  margin-bottom: 24px;
  font-size: 13px;
}
.banner .badge-icon {
  color: #ff7c7e;
  width: 28px;
  height: 28px;
  background: #48242a;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.banner strong {
  font-size: 13px;
  font-weight: 600;
}
.banner p {
  font-size: 12px;
  margin-top: 3px;
  color: #b49ca3;
}
.banner button {
  margin-left: auto;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 25px;
  background: #131316;
}
.metric {
  padding: 22px 22px 19px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.metric:last-child {
  border: 0;
}
.metric-label {
  display: flex;
  justify-content: space-between;
  color: #a9a7b3;
  font-size: 12px;
  margin-bottom: 17px;
  align-items: center;
  gap: 8px;
}
.metric-label svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
}
.number {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.2;
  font-weight: 500;
}
.number span {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.metric-note {
  font-size: 11px;
  color: var(--faint);
  margin-top: 11px;
}
.positive {
  color: var(--green);
}
.warning {
  color: var(--amber);
}
.red-text {
  color: #ff7c7e;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  overflow: hidden;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 22px;
}
.panel-head h2 {
  font-size: 16px;
}
.panel-head p {
  font-size: 11px;
  margin-top: 5px;
}
.panel-body {
  padding: 0 22px 22px;
}
.text-btn {
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 12px;
  padding: 5px 0;
}
.text-btn:hover {
  color: var(--text);
}
.tabs {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
}
.tabs button {
  background: none;
  border: 0;
  color: var(--faint);
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 3px;
}
.tabs button.active {
  background: #303036;
  color: #f3f1f5;
}
.chart {
  height: 206px;
  display: grid;
  grid-template-columns: 35px 1fr;
  padding: 4px 0 0;
}
.axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--faint);
  padding-bottom: 22px;
}
.chart-grid {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(25% - 1px),
    #242429 calc(25% - 1px),
    #242429 25%
  );
}
.bar-group {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  position: relative;
  flex: 1;
  max-width: 45px;
}
.bar {
  width: 34%;
  border-radius: 3px 3px 0 0;
  background: #77383e;
  min-height: 2px;
}
.bar.actual {
  background: #f04c4e;
}
.bar-group > span {
  position: absolute;
  bottom: -21px;
  font-size: 10px;
  white-space: nowrap;
  color: var(--faint);
}
.legend {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 15px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--red);
  display: inline-block;
  margin-right: 7px;
}
.legend .dim {
  background: #77383e;
}
.chart-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.chart-summary strong {
  font-family: "Space Grotesk";
  font-size: 27px;
  letter-spacing: -0.8px;
}
.chart-summary small {
  font-size: 11px;
}
.attention-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #25252b;
  align-items: flex-start;
}
.attention-item:first-child {
  border-top: 0;
  padding-top: 1px;
}
.attention-icon {
  border: 1px solid #543035;
  background: #2f1c20;
  color: #ff888c;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}
.attention-icon.amber {
  border-color: #50422b;
  background: #2c261c;
  color: #dfbd7f;
}
.attention-item strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.attention-item p {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
}
.attention-item small {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-size: 10px;
}
.attention-item button {
  margin-left: auto;
  align-self: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid #373740;
  background: #222228;
  border-radius: 4px;
  color: #b5b3c0;
  white-space: nowrap;
}
.pill.green {
  background: #172a23;
  color: #97d4b6;
  border-color: #2a4639;
}
.pill.amber {
  background: #2b251a;
  color: #e5c38a;
  border-color: #4d3f27;
}
.pill.red {
  background: #301b20;
  color: #ff898d;
  border-color: #563038;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 450;
  font-size: 11px;
  color: var(--faint);
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: #151518;
}
td {
  padding: 15px 22px;
  border-bottom: 1px solid #232328;
  font-size: 12px;
  color: #c6c4ce;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #e7e6ec;
  font-weight: 550;
}
.entity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.entity .avatar {
  border-radius: 7px;
  width: 32px;
  height: 32px;
  font-size: 10px;
  background: #28232c;
}
.entity small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: var(--faint);
}
.mini-avatars {
  display: flex;
}
.mini-avatars .avatar {
  width: 25px;
  height: 25px;
  font-size: 8px;
  margin-left: -5px;
  border: 2px solid var(--panel);
}
.mini-avatars .avatar:first-child {
  margin: 0;
}
.check-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid #25252b;
}
.check-line:first-child {
  border: 0;
}
.check-line input {
  appearance: none;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1px solid #51515c;
  border-radius: 4px;
  margin: 2px 0 0;
  cursor: pointer;
}
.check-line input:checked {
  background: var(--red);
  border-color: var(--red);
}
.check-line input:checked:after {
  content: "✓";
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.check-line strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.5;
}
.check-line small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.check-line.done strong {
  text-decoration: line-through;
  color: var(--faint);
}
.check-line .pill {
  margin-left: auto;
  font-size: 10px;
}
.progress {
  height: 4px;
  background: #29292f;
  border-radius: 3px;
  overflow: hidden;
}
.progress span {
  display: block;
  background: var(--red);
  height: 100%;
}
.readiness {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
}
.readiness .progress {
  flex: 1;
}
.readiness small {
  font-size: 11px;
}
.section-bottom {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}
footer {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 36px;
  color: #777680;
  font-size: 10px;
  letter-spacing: 0.15px;
}
footer > span:first-child {
  font-size: 9px;
  letter-spacing: 1px;
}
.footer-mark {
  color: var(--red);
  margin-right: 6px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.input-search,
input,
select,
textarea {
  border: 1px solid #35353e;
  border-radius: 6px;
  background: #19191e;
  padding: 11px 12px;
  color: var(--text);
  font-size: 14px;
  min-width: 0;
}
.input-search {
  flex: 1;
  max-width: 400px;
}
.toolbar .spacer {
  flex: 1;
}
.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  overflow: auto;
  padding-bottom: 16px;
}
.board-col {
  background: #111114;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 420px;
}
.col-head {
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.deal {
  margin: 12px;
  padding: 15px 13px;
  background: #1a1a20;
  border: 1px solid #303038;
  border-radius: 7px;
}
.deal h3 {
  font-size: 13px;
  line-height: 1.5;
}
.deal p {
  font-size: 11px;
  margin-top: 8px;
}
.deal select {
  font-size: 11px;
  width: 100%;
  padding: 8px;
  margin-top: 18px;
}
.deal-footer {
  border-top: 1px solid #2d2d34;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.empty {
  padding: 45px 25px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.empty strong {
  display: block;
  color: #dedbe4;
  margin-bottom: 8px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #bcb9c7;
}
.field input,
.field select,
.field textarea {
  width: 100%;
}
/* Checkboxes inside form fields keep their size (the rule above would stretch them). */
.field .check-line input,
.check-line.field input {
  width: 17px;
}
label.check-line.field {
  display: flex;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-size: 11px;
}
.stack {
  display: grid;
  gap: 18px;
}
.finance-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.finance-line strong {
  color: var(--text);
  font-family: "Space Grotesk";
  font-size: 19px;
  font-weight: 500;
}
.finance-line.total {
  border: 0;
}
.finance-line.total strong {
  font-size: 30px;
  color: var(--green);
}
.note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding: 15px;
  background: #1a1a1f;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.slot {
  padding: 9px 11px;
  border-left: 2px solid #ad4950;
  background: #27191d;
  border-radius: 3px;
  font-size: 12px;
  display: block;
  min-width: 130px;
}
.slot small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.slot.gap {
  background: repeating-linear-gradient(
    135deg,
    #231a1b 0,
    #231a1b 6px,
    #2a1d1e 6px,
    #2a1d1e 7px
  );
  border: 1px dashed #8d454b;
  color: #f3a3a5;
}
.qa-card {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
}
.qa-card:first-of-type {
  border: 0;
}
.qa-card h3 {
  font-size: 14px;
  margin-top: 9px;
}
.qa-card p {
  font-size: 12px;
  margin-top: 7px;
}
.qa-card .secondary {
  margin-left: auto;
}
.qa-card small {
  font-size: 11px;
  display: block;
  margin-top: 7px;
}
.decision {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}
.decision h3 {
  font-size: 14px;
}
.decision p {
  font-size: 12px;
  margin-top: 7px;
}
.decision .pill {
  margin-top: 12px;
}
.brand-reference {
  height: 160px;
  background: #fff;
  overflow: hidden;
  position: relative;
  border-radius: 7px;
}
.brand-reference img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
dialog {
  background: #17171c;
  color: var(--text);
  border: 1px solid #41414c;
  border-radius: 12px;
  padding: 0;
  width: min(580px, calc(100% - 32px));
  max-height: 86dvh;
  box-shadow: 0 30px 100px #000a;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-body {
  padding: 24px 25px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
}
.modal-body p {
  font-size: 14px;
}
.modal-body .check-line strong {
  font-size: 14px;
}
.modal-body .check-line small {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #322328;
  border: 1px solid #724047;
  padding: 13px 20px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  font-size: 13px;
  transition: 0.2s;
  z-index: 100;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.search-result {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: left;
  font-size: 14px;
}
.search-result:hover {
  background: #25252b;
}
.search-result small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1600px) {
  main {
    padding-top: 42px;
  }
  .metric {
    padding: 26px;
  }
  .chart {
    height: 240px;
  }
  .attention-item {
    padding: 18px 0;
  }
  td {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1180px) {
  .app {
    grid-template-columns: 214px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 11px;
  }
  .workspace-name strong {
    font-size: 11px;
  }
  .brand {
    padding-inline: 8px;
    font-size: 25px;
    gap: 7px;
  }
  .brand-sub {
    font-size: 9px;
    margin-left: 6px;
  }
  .workspace-tag {
    display: none;
  }
  .topbar {
    padding-inline: 24px;
  }
  main {
    padding: 28px 24px 20px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(275px, 1fr);
    gap: 16px;
  }
  .metric {
    padding: 18px 15px;
  }
  .number {
    font-size: 26px;
  }
  .search-open {
    display: none;
  }
  .panel-head,
  .panel-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  th,
  td {
    padding-left: 18px;
    padding-right: 18px;
  }
  .two-col {
    gap: 16px;
  }
}
@media (max-width: 960px) {
  .grid-main,
  .two-col {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .number {
    font-size: 30px;
  }
  .page-head .head-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  .top-actions {
    gap: 12px;
  }
  .chart {
    height: 210px;
  }
  .form-grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .app {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 242px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .nav-open .sidebar {
    transform: translateX(0);
  }
  .nav-open .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #000a;
    border: 0;
    z-index: 19;
  }
  .menu {
    display: block;
  }
  .topbar {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 12px;
    margin-right: auto;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .top-actions {
    gap: 8px;
  }
  .top-actions > .avatar {
    display: none;
  }
  .demo-tag {
    font-size: 9px;
    padding: 4px 5px;
  }
  .icon-btn {
    width: 27px;
  }
  main {
    padding: 25px 16px 16px;
  }
  .page-head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .page-head p {
    font-size: 12px;
    max-width: 280px;
  }
  .page-head .head-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 5px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .banner {
    padding: 13px 12px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .banner button {
    font-size: 11px;
    padding: 7px 9px;
    min-height: 32px;
  }
  .banner p {
    font-size: 11px;
  }
  .banner > div:nth-child(2) {
    flex: 1;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric {
    padding: 18px 14px;
  }
  .number {
    font-size: 28px;
  }
  .metric-note {
    font-size: 10px;
  }
  .grid-main {
    gap: 16px;
    margin-bottom: 16px;
  }
  .panel-head {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .panel-head p {
    font-size: 10px;
  }
  .panel-body {
    padding-bottom: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .input-search {
    max-width: none;
    width: 100%;
    flex: auto;
  }
  .toolbar select {
    flex: 1;
  }
  .toolbar .spacer {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .qa-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .qa-card .secondary {
    margin-left: 0;
  }
  .board {
    margin-right: -16px;
    padding-right: 16px;
  }
  .col-head {
    font-size: 14px;
  }
  .deal h3 {
    font-size: 14px;
  }
  .deal p {
    font-size: 12px;
  }
  footer {
    padding: 20px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  footer > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .date {
    font-size: 11px;
  }
  .modal-body,
  .modal-head {
    padding: 20px;
  }
  .toast {
    width: calc(100% - 32px);
    text-align: center;
  }
  .brand-reference {
    height: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep operational labels readable at typical laptop widths. */
.date svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.date {
  white-space: nowrap;
}
.secondary,
.primary,
.subtle,
.text-btn {
  font-size: 14px;
}
.metric-label,
.page-head p,
.panel-head p,
.attention-item p,
.attention-item small,
.metric-note {
  font-size: 12px;
}
.check-line strong,
.attention-item strong,
td {
  font-size: 14px;
}
th,
.check-line small,
.entity small,
.pill,
.section-bottom,
.legend,
.axis,
.bar-group > span {
  font-size: 12px;
}
.select-chevron,
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23aaa6b2' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
@media (max-width: 700px) {
  .metric-label,
  .metric-note {
    font-size: 11px;
  }
  .page-head p {
    font-size: 13px;
  }
  .banner p {
    font-size: 12px;
  }
  .head-actions .date {
    font-size: 12px;
  }
  .secondary,
  .primary,
  .subtle,
  .text-btn {
    font-size: 13px;
  }
}

.sidebar {
  overflow-y: auto;
}
.sidebar .brand,
.sidebar nav,
.sidebar-bottom {
  flex-shrink: 0;
}
.finance-ledger {
  margin-top: 22px;
}

.coverage-chart-panel {
  margin-bottom: 22px;
}

.cash-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.finance-details {
  margin-top: 20px;
}
.finance-details summary {
  cursor: pointer;
  color: var(--muted);
  padding: 10px 0;
}
.finance-details .finance-ledger {
  margin: 8px 0 20px;
}
@media (max-width: 700px) {
  .cash-metrics {
    grid-template-columns: 1fr;
  }
  .cash-metrics .metric {
    border-right: 0;
  }
  .cash-metrics .metric + .metric {
    border-top: 1px solid var(--line);
  }
}

.client-views {
  margin-bottom: 20px;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.4fr);
  gap: 16px;
  align-items: start;
}
.calendar-agenda {
  display: grid;
  gap: 16px;
}
.calendar-nav {
  display: flex;
  gap: 5px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.calendar-weekday {
  padding: 8px 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-height: 86px;
  min-width: 0;
  padding: 7px;
  color: inherit;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.calendar-day:hover {
  background: #1c1a1f;
}
.calendar-day.outside .calendar-number {
  color: var(--muted);
}
.calendar-day[aria-pressed="true"] {
  background: #28191e;
  box-shadow: inset 0 0 0 1px #d65f6d;
}
.calendar-number {
  font-size: 13px;
  line-height: 20px;
  min-width: 20px;
  text-align: center;
}
.calendar-day[aria-current="date"] .calendar-number {
  border-radius: 5px;
  background: #af3949;
  color: white;
}
.calendar-chip {
  display: block;
  max-width: 100%;
  width: 100%;
  padding: 3px 4px;
  background: #2b2930;
  color: #eee;
  border-radius: 4px;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-chip.high {
  background: #49232d;
}
.calendar-chip.done {
  opacity: 0.65;
  text-decoration: line-through;
}
.calendar-count {
  display: none;
}
.agenda-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.agenda-task .check-line {
  min-width: 0;
  overflow-wrap: anywhere;
}
.agenda-task .secondary {
  flex-shrink: 0;
}
@media (max-width: 1050px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 540px) {
  .calendar-day {
    min-height: 45px;
    align-items: center;
    padding: 4px;
    gap: 1px;
  }
  .calendar-day .calendar-chip,
  .calendar-day small {
    display: none;
  }
  .calendar-count {
    display: inline;
    font-size: 10px;
    color: #ef939d;
  }
}

.expense-back {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.expense-back:hover {
  color: #fff;
}
.expense-category-section,
.expense-history {
  margin: 24px 0;
}
.expense-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.expense-section-header h2 {
  margin: 0;
}
.expense-section-header small,
.expense-category small {
  color: var(--muted);
}
.expense-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.expense-category {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #16161a;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.expense-category:hover {
  border-color: #88525a;
}
.expense-category[aria-pressed="true"] {
  border-color: #e87380;
  background: #25191e;
}
.expense-category-name {
  font-size: 14px;
  font-weight: 700;
}
.expense-category strong {
  margin-top: 5px;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.expense-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}
.expense-history select {
  max-width: 160px;
}
@media (max-width: 620px) {
  .expense-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .expense-category {
    padding: 12px;
  }
}

/* Operator recruiting */
dialog.wide {
  width: min(820px, calc(100% - 32px));
}
.rec-sub {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: var(--faint);
}
.rec-tabs {
  flex-wrap: wrap;
}
.rec-gap {
  margin-top: 22px;
}
.rec-table td {
  white-space: nowrap;
}
.rec-head {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.rec-score {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.rec-score .number {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
}
.rec-who {
  display: grid;
  gap: 4px;
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 6px;
}
.rec-actions .subtle {
  font-size: 12px;
  min-height: 34px;
  padding: 7px 11px;
}
.rec-list {
  display: grid;
  gap: 4px;
  font-size: 13px;
  margin-top: 14px;
}
.rec-h {
  margin: 28px 0 12px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.rec-help {
  font-size: 13px !important;
  margin-bottom: 14px;
}
.rec-bar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
}
.rec-bar small {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rec-bar .progress {
  height: 6px;
}
.rec-review span {
  background: var(--amber);
}
.rec-qa {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.rec-qa strong {
  font-size: 13px;
}
.rec-qa > p {
  font-size: 14px;
}
.rec-answer {
  white-space: pre-wrap;
  color: var(--text) !important;
  font-size: 14px;
}
.rec-event {
  display: block;
  padding: 3px 0;
}
@media (max-width: 620px) {
  .rec-bar {
    grid-template-columns: 92px minmax(0, 1fr) 40px;
  }
}
.rec-table .text-btn {
  text-align: left;
}

/* Job posts */
.jp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.jp-list .qa-card {
  align-items: center;
}
.jp-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.jp-ad {
  display: grid;
  gap: 10px;
  padding: 0 22px 22px;
}
.jp-ad p {
  font-size: 13px;
}
.jp-ad .secondary {
  justify-self: start;
}
.jp-gap {
  margin-top: 22px;
}
.jp-off td {
  opacity: 0.5;
}
.jp-guide {
  font-size: 13px !important;
}
.jp-field {
  margin-top: 16px;
}
.jp-field textarea,
.jp-field input {
  width: 100%;
  font-size: 13px;
  line-height: 1.55;
}
.jp-preview {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.jp-preview summary {
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.jp-preview pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  background: #111114;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  margin: 12px 0 0;
}
.jp-error {
  display: block;
  margin-top: 6px;
}
