@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #171a1d;
  --muted: #7b8084;
  --muted-dark: #aab0b1;
  --line: #e4e5e2;
  --surface: #ffffff;
  --canvas: #f4f4f1;
  --charcoal: #15191d;
  --coral: #eb765b;
  --coral-dark: #d96047;
  --teal: #167d76;
  --teal-light: #e5f2ed;
  --blue: #4865ac;
  --gold: #c49a45;
  --shadow: 0 18px 45px rgba(22, 25, 28, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Manrope", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.sidebar {
  position: fixed;
  z-index: 5;
  inset: 0 auto 0 0;
  display: flex;
  width: 244px;
  min-height: 100vh;
  flex-direction: column;
  padding: 28px 18px 18px;
  color: #e8ebeb;
  background: var(--charcoal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 38px;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.mobile-topbar strong {
  color: #f5f6f5;
  font-size: 15px;
  letter-spacing: .1px;
}

.brand-copy em,
.mobile-topbar em {
  color: #ef8a73;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 1.1px;
}

.brand-copy span {
  color: #7e8788;
  font-size: 11px;
}

.sidebar-label {
  padding: 0 12px 10px;
  color: #687274;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-label-lower {
  margin-top: 31px;
}

.main-nav {
  display: grid;
  gap: 4px;
}

.nav-button {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: #949c9d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: left;
  transition: color .18s ease, background .18s ease;
}

.nav-button:hover {
  color: #e8ebeb;
  background: #20262a;
}

.nav-button.is-active {
  color: #fff;
  background: #293033;
  border-color: #333b3d;
}

.nav-button.is-active .nav-icon {
  color: #f28870;
}

.nav-icon {
  width: 17px;
  color: #697273;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}

.nav-button > span:nth-child(2) {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

.nav-button b {
  min-width: 23px;
  color: #737d7e;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  text-align: right;
}

.nav-button.is-active b {
  color: #ec8a74;
}

.sidebar-foot {
  display: grid;
  gap: 19px;
  margin-top: auto;
}

.sync-card {
  display: grid;
  gap: 8px;
  padding: 14px 13px;
  background: #1e2428;
  border: 1px solid #2a3235;
  border-radius: 6px;
}

.sync-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bac1c1;
  font-size: 11px;
}

.sync-card strong {
  color: #f0f2f1;
  font-size: 12px;
  font-weight: 600;
}

.sync-card > span:last-child {
  color: #6d7778;
  font-size: 10px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #58b990;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(88, 185, 144, .12);
}

.pulse-line {
  width: 32px;
  height: 6px;
  margin-left: auto;
  border-bottom: 1px solid #397a70;
  clip-path: polygon(0 55%, 16% 55%, 24% 4%, 34% 94%, 45% 55%, 100% 55%, 100% 70%, 43% 70%, 34% 100%, 23% 28%, 18% 70%, 0 70%);
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 5px;
}

.profile-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #2c5751;
  background: #bce0d2;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.profile-row > div:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 2px;
}

.profile-row strong {
  color: #dfe3e2;
  font-size: 11px;
}

.profile-row span {
  color: #6d7778;
  font-size: 10px;
}

.more-button,
.row-more {
  padding: 3px;
  color: #738080;
  background: none;
  border: 0;
  font-size: 15px;
  letter-spacing: 2px;
}

.app-main {
  min-height: 100vh;
  margin-left: 244px;
}

.topbar {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 43px;
  background: rgba(244, 244, 241, .93);
  border-bottom: 1px solid var(--line);
}

.topbar-context {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #9a9e9e;
  font-size: 12px;
  white-space: nowrap;
}

.topbar-context strong {
  color: #373c3d;
  font-size: 12px;
}

.crumb-slash {
  color: #c2c5c3;
}

.topbar-actions,
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-search {
  display: flex;
  width: 240px;
  height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #9da2a1;
  background: #fff;
  border: 1px solid #e1e2df;
  border-radius: 5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.global-search:focus-within {
  border-color: #d9a194;
  box-shadow: 0 0 0 3px rgba(235, 118, 91, .08);
}

.global-search > span {
  font-size: 21px;
  line-height: 1;
  transform: rotate(-20deg);
}

.global-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.global-search input::placeholder {
  color: #b1b5b4;
}

.top-icon-button,
.icon-button,
.square-action {
  position: relative;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #707778;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 18px;
  line-height: 1;
}

.top-icon-button:hover,
.icon-button:hover,
.square-action:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.top-icon-button i {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 4px;
  height: 4px;
  background: var(--coral);
  border-radius: 50%;
}

.top-icon-button.has-notifications {
  color: var(--coral-dark);
}

.notification-count {
  position: absolute;
  top: -4px;
  right: -5px;
  display: grid;
  min-width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  color: #fff;
  background: var(--coral);
  border: 2px solid #f4f4f1;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.outline-button,
.primary-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.outline-button {
  color: #535b5c;
  background: transparent;
  border: 1px solid #d6d9d6;
}

.outline-button:hover {
  background: #fff;
  border-color: #bdc3c0;
}

.primary-button {
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
  box-shadow: 0 4px 10px rgba(235, 118, 91, .12);
}

.primary-button:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-1px);
}

.content-wrap {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 38px 43px 52px;
}

.page-heading {
  display: flex;
  min-height: 77px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.eyebrow,
.modal-kicker,
.section-eyebrow {
  color: #9da2a0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.eyebrow-mark {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 1px;
  transform: rotate(45deg);
}

.eyebrow-mark.teal {
  background: var(--teal);
}

.eyebrow-mark.gold {
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page-heading h1 {
  color: #202426;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.15;
}

.page-heading p {
  margin-top: 8px;
  color: #858b89;
  font-size: 12px;
}

.heading-actions {
  padding-top: 20px;
}

.last-updated,
.saved-total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #838a89;
  font-size: 11px;
  white-space: nowrap;
}

.last-updated .status-dot {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  box-shadow: none;
}

.icon-button.pale {
  color: #7b8281;
  background: #fff;
  border-color: var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 29px;
}

.metric {
  position: relative;
  display: grid;
  min-height: 126px;
  gap: 9px;
  padding: 16px 18px 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #e2e4e1;
  border-radius: 6px;
}

.metric::after {
  position: absolute;
  right: -4px;
  bottom: -17px;
  width: 95px;
  height: 62px;
  content: "";
  border-top: 1px solid currentColor;
  border-radius: 50%;
  opacity: .11;
  transform: rotate(-13deg);
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #858b8a;
  font-size: 11px;
}

.metric-head i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
}

.metric > strong {
  color: #262b2c;
  font-family: "DM Mono", monospace;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
}

.metric small {
  color: #a1a6a3;
  font-size: 10px;
}

.metric-coral {
  color: var(--coral);
}

.metric-coral .metric-head i {
  color: #dc735b;
  background: #fcedea;
}

.metric-teal {
  color: var(--teal);
}

.metric-teal .metric-head i {
  color: #418e82;
  background: var(--teal-light);
}

.metric-blue {
  color: var(--blue);
}

.metric-blue .metric-head i {
  color: #6478b4;
  background: #eef0fa;
}

.metric-gold {
  color: var(--gold);
}

.metric-gold .metric-head i {
  color: #bb8e37;
  background: #fbf4e5;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr);
  gap: 13px;
  align-items: start;
}

.feed-panel,
.detail-pane,
.source-table {
  background: var(--surface);
  border: 1px solid #e1e3df;
  border-radius: 6px;
}

.feed-panel {
  min-width: 0;
}

.feed-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
}

.scope-tabs {
  display: flex;
  align-self: stretch;
  gap: 18px;
}

.scope-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: #9ca19f;
  background: none;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.scope-tab b {
  color: #c0c5c3;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 400;
}

.scope-tab.is-active {
  color: #282d2e;
}

.scope-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
}

.scope-tab.is-active b {
  color: var(--coral);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-select {
  position: relative;
  display: inline-flex;
  height: 29px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  color: #888e8d;
  background: #fafaf8;
  border: 1px solid #e5e7e4;
  border-radius: 4px;
}

.filter-select > span {
  display: none;
}

.filter-select select {
  max-width: 84px;
  appearance: none;
  color: #727978;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 10px;
  cursor: pointer;
}

.filter-select b {
  color: #a5aaa8;
  font-size: 11px;
  font-weight: 400;
  pointer-events: none;
}

.filter-reset {
  display: none;
  padding: 0 4px;
  color: var(--coral);
  background: none;
  border: 0;
  font-size: 10px;
}

.filter-reset.visible {
  display: block;
}

.feed-heading {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
}

.feed-heading > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.feed-heading strong {
  color: #3a4141;
  font-size: 12px;
}

.feed-heading span {
  color: #adb2b0;
  font-size: 10px;
}

.sort-button {
  padding: 4px;
  color: #8d9492;
  background: none;
  border: 0;
  font-size: 10px;
}

.sort-button span {
  margin-left: 4px;
  font-size: 11px;
}

.job-list {
  border-top: 1px solid #eff0ed;
}

.job-row {
  position: relative;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto 25px 10px;
  min-height: 105px;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-bottom: 1px solid #eef0ed;
  cursor: pointer;
  transition: background .18s ease;
}

.job-row:last-child {
  border-bottom: 0;
}

.job-row:hover,
.job-row.is-selected {
  background: #fffaf8;
}

.job-row.is-selected::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 3px;
  content: "";
  background: var(--coral);
}

.company-logo {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.company-logo.small {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 13px;
}

.company-logo.large {
  width: 43px;
  height: 43px;
  flex-basis: 43px;
  font-size: 18px;
}

.tone-coral { background: #d96f59; }
.tone-teal { background: #338c80; }
.tone-blue { background: #6677ad; }
.tone-gold { background: #bf9448; }
.tone-pink { background: #b7667d; }
.tone-ink { background: #4c5559; }

.job-summary {
  min-width: 0;
}

.job-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.job-title-line h3 {
  overflow: hidden;
  color: #282d2e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.1px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-label {
  display: inline-flex;
  height: 16px;
  align-items: center;
  padding: 0 5px;
  color: #d86b53;
  background: #fff0ec;
  border-radius: 2px;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: .5px;
}

.job-summary p {
  overflow: hidden;
  margin-top: 4px;
  color: #8d9492;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-summary p span {
  padding: 0 3px;
  color: #ccd0ce;
}

.job-tags {
  display: flex;
  gap: 6px;
  margin-top: 9px;
  overflow: hidden;
}

.job-tags span {
  max-width: 180px;
  overflow: hidden;
  padding: 3px 7px;
  color: #8a908e;
  background: #f5f6f3;
  border-radius: 3px;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-tags span:first-child {
  color: #588c82;
  background: #edf6f1;
}

.job-meta {
  display: grid;
  min-width: 80px;
  justify-items: end;
  gap: 7px;
  color: #a1a6a4;
  font-size: 9px;
  text-align: right;
  white-space: nowrap;
}

.job-meta time {
  color: #737b79;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.save-button {
  display: grid;
  width: 24px;
  height: 28px;
  place-items: center;
  color: #c2c6c3;
  background: none;
  border: 0;
  font-size: 20px;
  line-height: 1;
}

.save-button:hover,
.save-button.is-saved,
.square-action.is-saved {
  color: var(--gold);
}

.row-arrow {
  color: #c6cbc8;
  font-size: 20px;
  line-height: 1;
}

.empty-list {
  display: grid;
  min-height: 270px;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: #939a97;
  text-align: center;
}

.empty-list > span {
  color: #c5c9c6;
  font-size: 30px;
}

.empty-list strong {
  color: #555d5c;
  font-size: 13px;
}

.empty-list p {
  color: #a5aaa8;
  font-size: 11px;
}

.detail-pane {
  min-height: 466px;
  padding: 20px 21px 16px;
  box-shadow: var(--shadow);
}

.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-kicker {
  color: var(--coral);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.detail-close {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  color: #a1a7a5;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 21px;
  line-height: 1;
}

.detail-close:hover {
  color: var(--ink);
  background: #f3f4f1;
}

.detail-company {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
}

.detail-company > div:last-child {
  display: grid;
  gap: 4px;
}

.detail-company strong {
  color: #343a3a;
  font-size: 13px;
}

.detail-company span {
  color: #9aa09e;
  font-size: 10px;
}

.detail-pane h2 {
  margin-top: 21px;
  color: #202526;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.35px;
  line-height: 1.35;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.detail-chips span {
  padding: 5px 8px;
  color: #727a78;
  background: #f5f6f3;
  border-radius: 3px;
  font-size: 10px;
}

.detail-rule {
  height: 1px;
  margin: 20px 0 18px;
  background: var(--line);
}

.detail-section {
  display: grid;
  gap: 8px;
}

.section-eyebrow {
  color: #a4aaa7;
  font-size: 9px;
}

.detail-section p {
  color: #707876;
  font-size: 11px;
  line-height: 1.85;
}

.detail-source {
  grid-template-columns: 74px 1fr;
  align-items: start;
  margin-top: 19px;
}

.detail-source > div {
  display: grid;
  gap: 4px;
}

.detail-source strong {
  color: #505957;
  font-size: 11px;
  font-weight: 600;
}

.detail-source small {
  color: #a2a8a5;
  font-size: 10px;
}

.detail-actions {
  display: flex;
  gap: 7px;
  margin-top: 26px;
}

.wide-button {
  flex: 1;
}

.square-action {
  height: 36px;
  background: #fafaf8;
  border-color: var(--line);
  font-size: 20px;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  padding-top: 12px;
  border-top: 1px solid #f0f1ef;
  color: #b0b5b2;
  font-size: 9px;
}

.detail-footer code {
  color: #969e9a;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.empty-detail {
  display: grid;
  min-height: 466px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #9ba19e;
  text-align: center;
}

.empty-glyph {
  color: #ccd0cc;
  font-size: 34px;
}

.empty-detail strong {
  color: #6a726f;
  font-size: 13px;
}

.empty-detail p {
  font-size: 10px;
}

.sources-wrap .page-heading {
  margin-bottom: 29px;
}

.source-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr;
  min-height: 115px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #e1e3df;
  border-radius: 6px;
}

.source-overview > div {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.source-overview > div:last-child {
  border-right: 0;
}

.source-overview span {
  color: #9ba19e;
  font-size: 10px;
}

.source-overview strong {
  color: #303737;
  font-family: "DM Mono", monospace;
  font-size: 24px;
  font-weight: 500;
}

.source-overview strong span {
  margin-left: 3px;
  color: #7f8885;
  font-family: "Manrope", sans-serif;
  font-size: 9px;
}

.source-overview small {
  color: #afb4b1;
  font-size: 10px;
}

.source-tip {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 11px;
  background: #f6faf8;
}

.source-tip > div {
  display: grid;
  gap: 5px;
}

.source-tip > div strong {
  color: #3c766b;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.tip-mark,
.source-form-note > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #318277 !important;
  background: #dcf0e8;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 14px !important;
  font-style: italic;
}

.source-table {
  overflow: hidden;
}

.table-caption {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.table-caption strong {
  color: #38403e;
  font-size: 12px;
}

.table-caption span {
  color: #a2a8a5;
  font-size: 10px;
}

.source-table-head,
.source-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) .55fr .5fr .8fr .6fr 30px;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}

.source-table-head {
  min-height: 38px;
  color: #a0a6a3;
  background: #fbfbf9;
  border-bottom: 1px solid #eef0ed;
  font-size: 9px;
}

.source-row {
  min-height: 72px;
  border-bottom: 1px solid #eef0ed;
}

.source-row:last-child {
  border-bottom: 0;
}

.source-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.source-name > div:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.source-name strong {
  overflow: hidden;
  color: #444c4a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-name span {
  overflow: hidden;
  color: #a7ada9;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-type,
.source-time {
  color: #8e9692;
  font-size: 10px;
}

.source-count {
  color: #505957;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
}

.source-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5b9b7e;
  font-size: 10px;
  white-space: nowrap;
}

.source-status i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.source-status.warning { color: #c79743; }
.source-status.pending { color: #8f9b9a; }

.row-more {
  font-size: 13px;
}

.saved-total strong {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: 18px;
  font-weight: 500;
}

.saved-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr);
}

.saved-feed-heading {
  min-height: 65px;
}

.saved-note {
  color: #bc9955 !important;
}

.mobile-topbar {
  display: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 25, 29, .48);
}

.modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 23px;
  background: #fff;
  border: 1px solid #dfe2de;
  border-radius: 7px;
  box-shadow: 0 24px 70px rgba(22, 25, 28, .2);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-kicker {
  color: var(--coral);
}

.modal-header h2 {
  margin-top: 7px;
  color: #242a2b;
  font-size: 21px;
  font-weight: 800;
}

.modal-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.modal-form label {
  display: grid;
  gap: 7px;
}

.modal-form label > span {
  color: #67706d;
  font-size: 11px;
  font-weight: 700;
}

.modal-form label em {
  color: var(--coral);
  font-style: normal;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: #363e3c;
  background: #fbfbf9;
  border: 1px solid #dfe3df;
  border-radius: 4px;
  font-size: 12px;
  outline: 0;
}

.modal-form textarea {
  resize: vertical;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #b7bdb9;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  background: #fff;
  border-color: #db9a8a;
}

.source-form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  background: #f5faf7;
  border: 1px solid #deeee6;
  border-radius: 4px;
}

.source-form-note p {
  color: #6c837b;
  font-size: 10px;
  line-height: 1.6;
}

.source-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.source-info-grid > div,
.source-info-url {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fbfbf9;
  border: 1px solid #e8ebe7;
  border-radius: 4px;
}

.source-info-grid span,
.source-info-url > span {
  color: #8c9691;
  font-size: 10px;
}

.source-info-grid strong {
  overflow: hidden;
  color: #3d4643;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-info-url {
  margin-bottom: 8px;
}

.source-info-url code {
  overflow-wrap: anywhere;
  color: #687570;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
}

.notification-list {
  display: grid;
  gap: 9px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: #fbfbf9;
  border: 1px solid #e6e9e5;
  border-radius: 5px;
}

.notification-mark {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #6da98d;
  border-radius: 50%;
}

.notification-coral .notification-mark { background: var(--coral); }
.notification-gold .notification-mark { background: var(--gold); }

.notification-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.notification-copy strong {
  overflow: hidden;
  color: #3d4643;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-copy p {
  overflow: hidden;
  color: #8b9490;
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 4px 0 4px 8px;
  color: #5c8377;
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.notification-link:hover {
  color: var(--ink);
}

.notification-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 26px 14px 18px;
  text-align: center;
}

.notification-empty > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: #6da98d;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.notification-empty strong {
  color: #46504d;
  font-size: 12px;
}

.notification-empty p {
  color: #9ca5a1;
  font-size: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 7px;
}

#toast-root {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
}

.toast {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: #355e50;
  background: #eff8f3;
  border: 1px solid #cce8d8;
  border-radius: 5px;
  box-shadow: 0 12px 32px rgba(20, 50, 39, .13);
  font-size: 12px;
}

.toast > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #fff;
  background: #57a985;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.toast-error {
  color: #8e4a3e;
  background: #fff2ef;
  border-color: #f2cfc6;
}

.toast-error > span {
  background: var(--coral);
}

@media (max-width: 1180px) {
  .topbar,
  .content-wrap {
    padding-right: 27px;
    padding-left: 27px;
  }

  .topbar-context {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .source-table-head,
  .source-row {
    grid-template-columns: minmax(190px, 1.7fr) .55fr .5fr .8fr .6fr 25px;
    gap: 9px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (max-width: 940px) {
  .sidebar {
    width: 205px;
  }

  .app-main {
    margin-left: 205px;
  }

  .topbar,
  .content-wrap {
    padding-right: 20px;
    padding-left: 20px;
  }

  .topbar-actions .outline-button {
    display: none;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .detail-pane,
  .empty-detail {
    min-height: auto;
  }

  .detail-pane {
    padding-bottom: 19px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    display: none;
  }

  .app-main {
    margin-left: 0;
  }

  .mobile-topbar {
    display: flex;
    height: 57px;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #fff;
    background: var(--charcoal);
  }

  .mobile-topbar .brand-mark {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    border-radius: 6px;
    font-size: 10px;
  }

  .mobile-topbar .icon-button {
    margin-left: auto;
    color: #fff;
  }

  .topbar {
    min-height: 64px;
    padding: 0 17px;
  }

  .topbar-actions {
    justify-content: stretch;
  }

  .global-search {
    width: 100%;
  }

  .top-icon-button,
  .topbar-actions .primary-button {
    display: none;
  }

  .content-wrap {
    padding: 28px 17px 38px;
  }

  .page-heading {
    min-height: 0;
    margin-bottom: 23px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .page-heading p {
    max-width: 230px;
    line-height: 1.6;
  }

  .heading-actions {
    padding-top: 8px;
  }

  .last-updated,
  .heading-actions .outline-button,
  .saved-total {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 17px;
  }

  .metric {
    min-height: 105px;
    padding: 13px 13px 11px;
  }

  .metric > strong {
    font-size: 24px;
  }

  .feed-toolbar {
    display: grid;
    gap: 0;
    padding: 0 12px;
  }

  .scope-tabs {
    min-height: 51px;
    gap: 15px;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 11px;
  }

  .filter-select {
    justify-content: space-between;
  }

  .filter-select select {
    width: 100%;
    max-width: none;
  }

  .filter-reset.visible {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 5px;
  }

  .feed-heading {
    min-height: 50px;
    padding: 0 13px;
  }

  .job-row {
    grid-template-columns: 35px minmax(0, 1fr) 24px 8px;
    gap: 10px;
    min-height: 99px;
    padding: 12px 13px;
  }

  .job-meta {
    display: none;
  }

  .row-arrow {
    font-size: 18px;
  }

  .job-tags span {
    max-width: 125px;
  }

  .detail-pane {
    padding: 18px 16px 16px;
  }

  .source-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-overview > div {
    min-height: 105px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

  .source-overview > div:nth-child(2) {
    border-right: 0;
  }

  .source-overview > div:nth-child(3),
  .source-overview > div:nth-child(4) {
    border-bottom: 0;
  }

  .source-tip {
    grid-column: 1 / -1;
    min-height: 88px !important;
  }

  .source-table-head {
    display: none;
  }

  .source-row {
    grid-template-columns: minmax(0, 1fr) auto 25px;
    gap: 10px;
    min-height: 67px;
    padding: 10px 13px;
  }

  .source-type,
  .source-count,
  .source-time {
    display: none;
  }

  .source-status {
    grid-column: 2;
    grid-row: 1;
  }

  .row-more {
    grid-column: 3;
    grid-row: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 19px;
  }
}

@media (max-width: 420px) {
  .content-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-heading {
    gap: 8px;
  }

  .page-heading h1 {
    font-size: 25px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .metric small {
    font-size: 9px;
  }

  .scope-tabs {
    gap: 10px;
  }

  .scope-tab {
    gap: 3px;
    font-size: 10px;
  }

  .filter-select {
    padding-right: 5px;
    padding-left: 5px;
  }

  .filter-select select {
    font-size: 9px;
  }

  .job-row {
    padding-right: 10px;
    padding-left: 10px;
  }

  .job-title-line h3 {
    font-size: 12px;
  }
}

.account-chip {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 3px 0 0;
  color: #66706d;
}

.account-chip > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 54px;
}

.account-chip strong {
  overflow: hidden;
  color: #4b5452;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip small {
  color: #a2a8a5;
  font-size: 9px;
}

.account-chip > b {
  color: #a3aaa6;
  font-size: 12px;
  font-weight: 400;
}

.account-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.mobile-account {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.mobile-account > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.mobile-account button {
  padding: 4px;
  color: #ccd3d2;
  background: transparent;
  border: 0;
  font-size: 11px;
}

.mobile-account button:hover {
  color: #fff;
}

.mobile-account button[data-auth-mode] {
  color: #f5a18e;
  font-size: 11px;
  font-weight: 700;
}

.auth-tabs {
  display: flex;
  gap: 18px;
  margin: -6px 0 21px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  padding: 0 1px 11px;
  color: #a1a7a4;
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 700;
}

.auth-tab.is-active {
  color: #3d4744;
}

.auth-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
}

.auth-notice {
  margin: -7px 0 16px;
  padding: 10px 11px;
  color: #8a5b50;
  background: #fff5f1;
  border: 1px solid #f2ddd7;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.55;
}

.auth-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 11px;
  background: #f5faf7;
  border: 1px solid #deeee6;
  border-radius: 4px;
}

.auth-hint > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: #318277;
  background: #dcf0e8;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.auth-hint p {
  color: #6c837b;
  font-size: 10px;
  line-height: 1.6;
}

.source-empty,
.logged-out-panel {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 220px;
  color: #9aa19d;
  text-align: center;
}

.source-empty > span,
.logged-out-icon {
  color: #c4cac6;
  font-size: 30px;
  line-height: 1;
}

.source-empty strong,
.logged-out-panel strong {
  color: #606966;
  font-size: 13px;
}

.source-empty p,
.logged-out-panel p {
  max-width: 310px;
  color: #a7ada9;
  font-size: 10px;
  line-height: 1.7;
}

.logged-out-panel {
  min-height: 360px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e1e3df;
  border-radius: 6px;
}

.logged-out-icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  color: #c39a4d;
  background: #fbf4e5;
  border-radius: 50%;
  font-size: 28px;
}

.review-wrap .page-heading {
  margin-bottom: 28px;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, .72fr)) 1.55fr;
  min-height: 114px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #e1e3df;
  border-radius: 6px;
}

.review-summary > div {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.review-summary > div:last-child {
  border-right: 0;
}

.review-summary span,
.review-summary small {
  color: #9ea5a1;
  font-size: 10px;
}

.review-summary strong {
  color: #303737;
  font-family: "DM Mono", monospace;
  font-size: 25px;
  font-weight: 500;
}

.review-summary-note {
  display: flex !important;
  align-items: center;
  gap: 11px;
  background: #fffaf5;
}

.review-summary-note > div {
  display: grid;
  gap: 5px;
}

.review-summary-note > div strong {
  color: #8a6c3e;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.review-panel {
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #e1e3df;
  border-radius: 6px;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(115px, .65fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0ed;
}

.review-row:last-child,
.review-history-row:last-child {
  border-bottom: 0;
}

.review-submitter {
  display: grid;
  gap: 3px;
}

.review-submitter span,
.review-submitter small,
.history-meta span {
  color: #a5aba8;
  font-size: 9px;
}

.review-submitter strong,
.history-meta strong {
  overflow: hidden;
  color: #59625f;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-submitter small {
  font-family: "DM Mono", monospace;
}

.review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.reject-button:hover {
  color: #a55243;
  border-color: #e5b5aa;
  background: #fff5f2;
}

.review-history-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) 85px minmax(100px, .8fr) 65px;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 10px 20px;
  border-bottom: 1px solid #eef0ed;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.review-badge i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.review-badge.approved { color: #5b9b7e; }
.review-badge.rejected { color: #b7786c; }
.review-badge.pending { color: #c79743; }

.history-meta {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.review-history-row time {
  color: #9ca39f;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-align: right;
}

@media (max-width: 720px) {
  .topbar-actions .auth-button,
  .topbar-actions .account-chip,
  .topbar-actions .admin-action {
    display: none;
  }

  .review-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-summary > div {
    min-height: 100px;
    padding: 14px;
  }

  .review-summary > div:nth-child(2) {
    border-right: 0;
  }

  .review-summary > div:nth-child(3),
  .review-summary > div:nth-child(4) {
    border-bottom: 0;
  }

  .review-summary-note {
    grid-column: 1 / -1;
    min-height: 86px !important;
  }

  .review-row {
    grid-template-columns: 1fr auto;
    gap: 11px;
    padding: 14px;
  }

  .review-submitter {
    grid-column: 1;
  }

  .review-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .review-actions .outline-button,
  .review-actions .primary-button {
    flex: 1;
  }

  .review-history-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px 14px;
  }

  .review-history-row .history-meta {
    grid-column: 1;
  }

  .review-history-row time {
    grid-column: 2;
    grid-row: 2;
  }
}
