* {
  box-sizing: border-box;
}
:root {
  --ink: #17212a;
  --muted: #697782;
  --border: #dfe5e7;
  --teal: #096b60;
  --paper: #f4f6f5;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.5 Inter,
    Arial,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  min-height: 42px;
  border: 1px solid var(--border);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
}
button:hover {
  border-color: #7d9690;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #30ad99;
  outline-offset: 3px;
}
a {
  color: var(--teal);
  text-decoration: none;
}
p {
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
.rail {
  background: #142d2b;
  color: #e6efeb;
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.4px;
}
.logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-content: center;
  background: #c9e9b1;
  color: #183a30;
  border-radius: 10px;
  font-size: 28px;
  position: relative;
}
.logo span {
  position: absolute;
  font-size: 30px;
  right: 1px;
  top: 6px;
  color: #183a30;
}
.rail-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #88a6a1;
  margin: 55px 12px 18px;
}
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  color: #b4c7c2;
  margin-bottom: 8px;
  text-align: left;
  font-size: 13px;
  padding: 13px;
}
.nav.active {
  background: #29433f;
  color: #f4faf7;
}
.nav span {
  margin-left: auto;
  background: #405a54;
  border-radius: 5px;
  padding: 0 7px;
}
.rail-bottom {
  margin-top: auto;
  padding: 20px 10px 0;
  font-size: 11px;
  color: #bdccc8;
}
.rail-bottom p {
  color: #96aaa4;
  font-size: 11px;
  margin: 8px 0;
}
.rail-bottom small {
  color: #7e9990;
  font-size: 10px;
}
.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a9d99a;
  margin-right: 6px;
}
main {
  margin-left: 232px;
  max-width: 1700px;
  padding: 0 38px 25px;
}
.top {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}
.top strong {
  color: var(--ink);
  font-weight: 500;
  margin-left: 7px;
}
.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top button {
  min-height: 34px;
  font-size: 11px;
  padding: 6px 12px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0 28px;
}
.eyebrow {
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}
h1 span {
  font-weight: 450;
  color: #7a8788;
}
.heading p {
  font-size: 13px;
  margin-top: 15px;
}
.owner-avatar {
  background: #e3eace;
  border: 5px solid white;
  border-radius: 50%;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 650;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.stat label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 9px;
}
.stat strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}
.stat small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 25px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.section-title h2 span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 5px;
}
.search input {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  padding: 8px 12px;
  max-width: 190px;
  font-size: 11px;
}
.apps {
  display: grid;
  gap: 17px;
}
.app {
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
}
.app-main {
  padding: 20px 22px;
}
.app-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 13px;
}
.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 750;
  background: #e5eefb;
  color: #3b5b93;
}
.app[data-app="feedpreflight"] .app-icon {
  background: #e8e4fa;
  color: #7257a7;
}
.app[data-app="root-and-room"] .app-icon {
  background: #e5edda;
  color: #527441;
}
.app[data-app="off-the-clock"] .app-icon {
  background: #f5e5d8;
  color: #a7723e;
}
.app-heading h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.app-heading small {
  font-size: 10px;
  color: var(--muted);
}
.app-heading .pill {
  margin-left: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 650;
  padding: 4px 7px;
  background: #e7f2ec;
  color: #3c7a52;
  white-space: nowrap;
}
.pill.warning {
  background: #fff0d4;
  color: #976217;
}
.pill.bad {
  background: #fce5e4;
  color: #ad4543;
}
.pill.muted {
  background: #f0f2f4;
  color: #6d7981;
}
.app-description {
  font-size: 12px;
  line-height: 1.6;
  max-width: 650px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  gap: 15px;
}
.metric {
  border-left: 1px solid var(--border);
  padding-left: 13px;
}
.metric:first-child {
  border: 0;
  padding-left: 0;
}
.metric label {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 4px;
}
.metric strong {
  font-size: 17px;
  font-weight: 650;
}
.metric small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.metric .unknown {
  font-size: 12px;
  color: #8b959b;
  font-weight: 500;
}
.app-bottom {
  border-top: 1px solid #edf0ee;
  background: #fbfcfb;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.app-bottom .next {
  flex: 1;
  min-width: 0;
}
.app-bottom .next strong {
  font-weight: 600;
  color: #59786a;
}
.app-bottom button {
  font-size: 10px;
  min-height: 32px;
  padding: 6px 10px;
}
.right {
  padding-top: 0;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 18px;
}
.panel p {
  font-size: 12px;
  line-height: 1.7;
  margin: 9px 0;
}
.panel small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px;
}
.panel h2 {
  font-size: 15px;
}
.dot {
  background: #edf3ed;
  border-color: #d7e3d7;
}
.dot-icon {
  color: var(--teal) !important;
  font-size: 20px !important;
  margin: 0 5px 0 0 !important;
}
.dot ul {
  padding-left: 17px;
  font-size: 11px;
  line-height: 2;
  color: #476352;
}
.coverage {
  font-size: 10px;
  line-height: 1.6;
  border-top: 1px solid #d8e3d9;
  padding-top: 13px;
  color: #758578;
  margin: 14px 0;
}
.wide {
  width: 100%;
  font-size: 11px;
}
.count {
  background: #f4e7d8;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  color: #946830;
}
.incident {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.incident:last-child {
  border: 0;
}
.incident strong {
  font-size: 11px;
  display: block;
}
.incident span {
  font-size: 9px;
  color: var(--muted);
}
.incident p {
  font-size: 10px;
  margin: 4px 0;
}
.small {
  font-size: 10px !important;
}
.empty {
  font-size: 11px;
  color: var(--muted);
  padding: 15px 0;
}
.warning-banner {
  padding: 12px 18px;
  border: 1px solid #e8cca1;
  border-radius: 9px;
  background: #fff5df;
  color: #805719;
  margin-bottom: 18px;
  font-size: 12px;
}
footer {
  margin-top: 35px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: #8a9699;
  font-size: 10px;
}
footer span {
  float: right;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
dialog {
  width: min(760px, calc(100% - 26px));
  max-height: 90dvh;
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 25px;
  color: var(--ink);
  box-shadow: 0 25px 100px #172c2744;
}
dialog::backdrop {
  background: #122e2859;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dialog-header button {
  font-size: 25px;
}
dialog h2 {
  font-size: 26px;
}
form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0;
}
form input,
form select,
form textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px;
  margin-top: 6px;
  min-height: 44px;
  background: #fff;
}
form small {
  font-weight: 400;
  color: var(--muted);
}
textarea {
  resize: vertical;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}
.primary {
  background: var(--teal);
  color: white;
}
.check-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.detail-section {
  margin: 18px 0;
  font-size: 12px;
}
.detail-section h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.detail-section a {
  display: block;
  margin-bottom: 8px;
}
.history {
  display: flex;
  gap: 3px;
  height: 25px;
  margin: 12px 0;
}
.history i {
  flex: 1;
  min-width: 2px;
  background: #9dc7b5;
  border-radius: 2px;
}
.history i.bad {
  background: #d27a75;
}
.history i.unknown {
  background: #dee4e0;
}
@media (max-width: 1180px) {
  .rail {
    width: 200px;
    padding: 25px 15px;
  }
  main {
    margin-left: 200px;
    padding: 0 24px 25px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .brand {
    font-size: 15px;
  }
}
@media (max-width: 950px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .panel:last-child {
    grid-column: 1/-1;
  }
  .rail {
    width: 180px;
  }
  .brand {
    font-size: 13px;
  }
  main {
    margin-left: 180px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .rail {
    position: static;
    width: 100%;
    padding: 14px 18px;
    display: block;
  }
  .brand {
    font-size: 16px;
  }
  .rail-label,
  .rail-bottom,
  .rail .nav {
    display: none;
  }
  main {
    margin-left: 0;
    padding: 0 18px 22px;
  }
  .top {
    height: 65px;
  }
  .top > span {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .heading {
    margin: 27px 0 22px;
  }
  h1 {
    font-size: 31px;
  }
  .owner-avatar {
    display: none;
  }
  .stats {
    gap: 9px;
    margin-bottom: 25px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 26px;
  }
  .workspace {
    gap: 20px;
  }
  .right {
    display: block;
  }
  .app-main {
    padding: 17px;
  }
  .app-heading {
    gap: 10px;
  }
  .app-heading .pill {
    font-size: 8px;
  }
  .app-description {
    font-size: 11px;
  }
  .metrics {
    gap: 10px;
  }
  .metric strong {
    font-size: 15px;
  }
  .metric .unknown {
    font-size: 11px;
  }
  .app-bottom {
    padding: 12px 17px;
    gap: 10px;
  }
  .section-title h2 {
    font-size: 17px;
  }
  .search input {
    max-width: 150px;
  }
  .app-bottom a {
    display: none;
  }
  footer span {
    float: none;
    display: block;
    margin-top: 8px;
  }
  .check-row {
    gap: 15px;
  }
  .panel {
    padding: 19px;
  }
  dialog {
    padding: 18px;
  }
  .form-footer {
    align-items: flex-start;
  }
  .form-footer button {
    flex-shrink: 0;
  }
}
