@charset "UTF-8";

:root {
  --navy: #111b2e;
  --navy-soft: #1c2941;
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --ink: #202b3d;
  --muted: #637087;
  --line: #e7ebf2;
  --blue: #4667e8;
  --blue-light: #eef2ff;
  --green: #15734e;
  --green-light: #eaf7f0;
  --amber: #9d6317;
  --amber-light: #fff6e7;
  --red: #b23d45;
  --red-light: #fff0f0;
  --radius: 14px;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button,
input,
select,
textarea {
  border-radius: 8px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #6b86e6;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-sprite,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  background: white;
  border: 2px solid var(--blue);
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  flex-shrink: 0;
  background: var(--navy);
  color: #b8c4dc;
  padding: 33px 20px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 750;
  font-size: 24px;
  letter-spacing: -0.8px;
  padding: 0 7px 30px;
  line-height: 1.3;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #5577f4;
}
.brand-mark .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.brand-sub {
  display: block;
  color: #8fa1c5;
  font-size: 9px;
  letter-spacing: 2.1px;
  margin-top: 5px;
}
.workspace-switch {
  display: flex;
  gap: 10px;
  padding: 13px 10px;
  margin: 0 0 32px;
  border: 1px solid #2e3a50;
  border-radius: 10px;
  align-items: center;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  color: #d8e0f3;
  background: #34425e;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  font-weight: 700;
}
.workspace-switch strong {
  display: block;
  color: #e7edf9;
  font-size: 12px;
  font-weight: 600;
}
.workspace-switch div {
  min-width: 0;
  flex: 1;
}
.workspace-switch div span {
  display: block;
  color: #97a6c1;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-dot {
  width: 5px;
  height: 5px;
  background: #8194b5;
  border-radius: 50%;
}
.nav-caption {
  padding-left: 14px;
  font-size: 9px;
  font-weight: 650;
  color: #8291ad;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  color: #b4c0d7;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 9px;
  padding: 13px 14px;
  min-height: 47px;
  font-size: 13px;
  font-weight: 550;
}
nav a:hover {
  background: #1b2840;
  color: white;
}
nav a[aria-current='page'] {
  background: #26385e;
  color: #eef3ff;
  box-shadow: inset 3px 0 #7291ff;
}
nav a[aria-current='page'] .icon {
  color: #99afff;
}
.nav-count {
  margin-left: auto;
  background: #384e7a;
  color: #eef3ff;
  min-width: 20px;
  border-radius: 5px;
  font-size: 10px;
  padding: 1px 5px;
  text-align: center;
}
.nav-count[hidden] {
  display: none;
}
.sidebar-note {
  margin-top: auto;
  padding: 24px 13px 16px;
}
.sidebar-note .icon {
  display: block;
  color: #91a6cc;
  margin-bottom: 10px;
}
.sidebar-note strong {
  color: #cbd5e9;
  font-size: 12px;
  font-weight: 500;
}
.sidebar-note p {
  color: #92a0b9;
  font-size: 11px;
  line-height: 1.9;
  margin: 7px 0 0;
}
.sidebar-bottom {
  border-top: 1px solid #2a354b;
  margin-top: 13px;
  padding: 21px 13px 0;
}
.sidebar-env {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9d4e7;
  font-size: 11px;
}
.sidebar-env .dot {
  background: #90a2c3;
}
.sidebar-bottom small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: #8595b0;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8491a6;
  flex-shrink: 0;
}
.workspace {
  margin-left: 238px;
  width: calc(100% - 238px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  min-height: 75px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 38px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb-divider {
  color: #c0c7d5;
}
.topbar-left strong {
  font-size: 12px;
  font-weight: 550;
}
.topbar-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.topbar-status.is-ready {
  color: var(--green);
}
.topbar-status.is-ready .dot {
  background: var(--green);
}
.topbar-separator {
  height: 23px;
  width: 1px;
  background: var(--line);
  margin: 0 4px;
}
.session-summary {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #465168;
  font-size: 12px;
}
.user-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #f0f3fa;
  color: #5a6b8b;
  font-weight: 650;
  border-radius: 50%;
  font-size: 11px;
}
.session-summary .icon {
  width: 15px;
  height: 15px;
}
.mobile-menu {
  display: none !important;
}
main {
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
  padding: 37px 38px 46px;
  flex: 1;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 38px;
  border-top: 1px solid var(--line);
  color: #637087;
  font-size: 10px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 650;
  color: var(--blue);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
h1 {
  font-size: 27px;
  letter-spacing: -1.1px;
  margin: 0;
  font-weight: 720;
  line-height: 1.4;
}
h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.35px;
  font-weight: 650;
}
h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
p {
  margin: 0;
}
.page-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.last-fetched {
  color: var(--muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.last-fetched .icon {
  width: 13px;
  height: 13px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce2ed;
  background: white;
  color: #43516a;
  min-height: 44px;
  padding: 8px 13px;
  font-weight: 550;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.button:hover {
  border-color: #bcc7db;
  background: #f9faff;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.button.primary:hover {
  background: #3858d0;
}
.button.quiet {
  border-color: transparent;
  background: transparent;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
}
.icon-button:hover {
  background: #f0f3fa;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 23px;
}
.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 17px;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f4f6fa;
  color: #8290a7;
}
.metric-icon .icon {
  width: 16px;
  height: 16px;
}
.metric-card.metric-amber .metric-icon {
  background: var(--amber-light);
  color: var(--amber);
}
.metric-card.metric-red .metric-icon {
  background: var(--red-light);
  color: var(--red);
}
.metric-card.metric-blue .metric-icon {
  background: var(--blue-light);
  color: var(--blue);
}
.metric-value {
  font-size: 30px;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 13px 0 7px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.metric-hint {
  font-size: 10px;
  color: #637087;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-heading .subtitle {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.panel-body {
  padding: 22px 24px;
}
.panel-count {
  color: var(--muted);
  font-size: 11px;
}
.alert {
  display: flex;
  gap: 12px;
  padding: 15px 19px;
  margin-bottom: 23px;
  border: 1px solid #dce5fa;
  border-radius: 10px;
  background: #eff4ff;
  color: #445d8d;
}
.alert .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.alert strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.alert p {
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.7;
}
.alert.warning {
  background: #fff9ee;
  border-color: #f2e4c8;
  color: #94672c;
}
.alert.error {
  background: #fff2f3;
  border-color: #f0d6d8;
  color: #9d4149;
}
.alert.success {
  background: var(--green-light);
  border-color: #cfe6db;
  color: var(--green);
}
.alert .button {
  margin-left: auto;
  align-self: center;
  background: transparent;
  flex-shrink: 0;
  color: inherit;
}
.filters {
  padding: 17px 24px;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 210px;
  position: relative;
}
.search-field .icon {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #93a0b4;
  width: 15px;
  height: 15px;
}
.search-field input {
  width: 100%;
  padding-left: 36px;
}
input,
select,
textarea {
  border: 1px solid #8190a5;
  background: white;
  color: var(--ink);
  padding: 9px 12px;
  min-height: 44px;
  font-size: 12px;
}
select {
  padding-right: 28px;
}
input::placeholder,
textarea::placeholder {
  color: #637087;
}
textarea {
  min-height: 88px;
  resize: vertical;
  width: 100%;
}
.table-wrap {
  overflow: auto;
}
.incident-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  table-layout: fixed;
}
.incident-table caption {
  text-align: left;
}
.incident-table th {
  color: #637087;
  background: #fafbfd;
  font-size: 10px;
  font-weight: 500;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}
.incident-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
  font-size: 12px;
}
.incident-table tr:last-child td {
  border-bottom: 0;
}
.incident-table tbody tr:hover {
  background: #fbfcff;
}
.incident-table th:first-child {
  width: 11%;
  padding-left: 24px;
}
.incident-table th:nth-child(2) {
  width: 35%;
}
.incident-table th:nth-child(3) {
  width: 18%;
}
.incident-table th:nth-child(4) {
  width: 20%;
}
.incident-table th:last-child {
  width: 16%;
}
.incident-link {
  display: block;
  font-weight: 600;
  color: #2f3d58;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.incident-link:hover {
  color: var(--blue);
}
.incident-meta {
  font-size: 10px;
  color: #637087;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.service-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #58657c;
  font-weight: 500;
}
.service-dot {
  width: 7px;
  height: 7px;
  border: 2px solid #a0adc3;
  border-radius: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 550;
  border-radius: 5px;
  background: #f1f4f8;
  color: #647086;
  padding: 4px 7px;
  line-height: 1.4;
  white-space: nowrap;
}
.badge.blue {
  background: var(--blue-light);
  color: #3f5fbc;
}
.badge.green {
  background: var(--green-light);
  color: var(--green);
}
.badge.amber {
  background: var(--amber-light);
  color: var(--amber);
}
.badge.red {
  background: var(--red-light);
  color: var(--red);
}
.badge.outline {
  border: 1px solid #e2e7ef;
  background: white;
}
.badge .dot {
  width: 4px;
  height: 4px;
  background: currentColor;
}
.badge.P0 {
  color: var(--red);
  background: var(--red-light);
}
.badge.P1 {
  color: #916019;
  background: #fff5e7;
}
.badge.P2 {
  color: #566986;
  background: #edf2fa;
}
.row-time {
  font-size: 11px;
  color: #637087;
  font-variant-numeric: tabular-nums;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 23px;
}
.readiness-list {
  display: grid;
  gap: 0;
}
.readiness-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #edf0f6;
}
.readiness-row:first-child {
  padding-top: 0;
}
.readiness-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.readiness-name {
  font-size: 12px;
  font-weight: 550;
}
.readiness-reason {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.readiness-heading {
  font-size: 11px;
  color: var(--muted);
  margin: 18px 0 14px;
}
.readiness-heading:first-child {
  margin-top: 0;
}
.small-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}
.principle-list {
  display: grid;
  gap: 19px;
}
.principle {
  display: flex;
  gap: 12px;
}
.principle .icon {
  color: #7c8dab;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.principle strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 3px;
}
.empty-state {
  text-align: center;
  padding: 55px 28px 58px;
}
.empty-symbol {
  margin: 0 auto 16px;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  background: #f8faff;
  color: #7d91ba;
}
.empty-symbol .icon {
  width: 25px;
  height: 25px;
}
.empty-state h3 {
  font-weight: 550;
  font-size: 14px;
  margin-bottom: 6px;
}
.empty-state p {
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.8;
}
.empty-state .button {
  margin-top: 18px;
}
.loader {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #d9e2fa;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}
.initial-loading {
  display: grid;
  place-items: center;
  min-height: 60vh;
  align-content: center;
  gap: 15px;
  text-align: center;
}
.initial-loading h1 {
  font-size: 20px;
}
.initial-loading p {
  color: var(--muted);
  font-size: 12px;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: white;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 430px;
  margin: 34px auto 0;
  max-width: 1000px;
}
.login-story {
  background: #182844;
  padding: 48px 40px;
  color: white;
  position: relative;
}
.login-story .eyebrow {
  color: #9db5ff;
}
.login-story h2 {
  font-size: 28px;
  line-height: 1.55;
  letter-spacing: -1px;
  margin-top: 16px;
}
.login-story p {
  color: #aebed9;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 16px;
}
.login-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
}
.journey-step {
  padding: 13px 8px;
  background: #263958;
  border: 1px solid #3c5072;
  border-radius: 9px;
  font-size: 11px;
  text-align: center;
  color: #d5e1fc;
}
.journey-step .icon {
  display: block;
  margin: 0 auto 9px;
  color: #9cb5f5;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 42px;
}
.login-form > .icon {
  color: var(--blue);
  width: 27px;
  height: 27px;
  margin-bottom: 19px;
}
.login-form h2 {
  font-size: 22px;
}
.login-form p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  margin: 12px 0 23px;
}
.login-form .button {
  width: 100%;
  min-height: 44px;
}
.login-form .small-note {
  margin-top: 18px;
  font-size: 10px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.library-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 24px;
  min-width: 0;
}
.library-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.library-icon {
  background: #f2f5fc;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #7185b4;
  display: grid;
  place-items: center;
}
.library-card h2 {
  overflow-wrap: anywhere;
  margin-bottom: 7px;
}
.library-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.library-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}
.detail-list {
  display: grid;
  gap: 11px;
}
.detail-list > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  font-size: 11px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.decision-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 23px 24px;
  border-bottom: 1px solid var(--line);
}
.decision-card:last-child {
  border-bottom: 0;
}
.decision-card h3 {
  margin: 10px 0 7px;
}
.decision-card p {
  color: var(--muted);
  font-size: 11px;
}
.cost-value {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 8px 0;
}
.cost-track {
  background: #edf1fa;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 22px 0 12px;
}
.cost-fill {
  height: 100%;
  background: #6685ed;
  border-radius: 3px;
  width: 0;
}
.cost-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin: 9px 0;
}
.connection-panel {
  margin-bottom: 23px;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(17 27 46 / 28%);
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(830px, 90vw);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: #f8f9fc;
  box-shadow: -16px 0 60px rgb(20 34 62 / 12%);
}
.drawer-header {
  padding: 25px 30px 20px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.drawer-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.drawer-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.drawer-title {
  font-size: 22px;
  margin: 10px 0 12px;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.drawer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.drawer-tabs {
  display: flex;
  gap: 23px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
}
.drawer-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 15px 0 13px;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.drawer-tab[aria-selected='true'] {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}
.drawer-content {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 25px 30px;
}
.drawer-content .panel {
  margin-bottom: 18px;
}
.drawer-content .panel-heading {
  padding: 17px 20px;
}
.drawer-content .panel-body {
  padding: 19px 20px;
}
.drawer-content .section-grid {
  gap: 15px;
  margin-top: 0;
}
.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 10px;
}
.drawer-summary {
  font-size: 13px;
  color: #4a586f;
  line-height: 1.85;
  margin-bottom: 19px;
  overflow-wrap: anywhere;
}
.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 18px;
}
.model-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.model-header {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.model-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 12px;
}
.model-tag {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.model-body {
  padding: 19px 20px;
  font-size: 12px;
  line-height: 1.85;
  color: #59677d;
  overflow-wrap: anywhere;
}
.assessment-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  align-items: center;
  font-size: 11px;
}
.assessment-row:last-child {
  margin-bottom: 0;
}
.claim {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.claim:first-child {
  padding-top: 0;
}
.claim:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.claim p {
  font-size: 12px;
  line-height: 1.9;
  margin: 8px 0 4px;
}
.claim .small-note {
  font-size: 10px;
}
.evidence-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin-bottom: 14px;
}
.evidence-card h3 {
  overflow-wrap: anywhere;
  margin-bottom: 11px;
}
.evidence-card > p {
  font-size: 12px;
  color: #58677e;
  margin: 14px 0;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.evidence-card details {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.evidence-card summary {
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
}
.evidence-card details .detail-list {
  margin-top: 14px;
}
.timeline {
  margin: 0;
  padding: 3px 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 25px 31px;
  margin-left: 8px;
  border-left: 1px solid #dce3ef;
}
.timeline li:last-child {
  padding-bottom: 0;
  border-color: transparent;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border: 2px solid #8da0c7;
  border-radius: 50%;
  background: white;
}
.timeline-time {
  font-size: 10px;
  color: #637087;
  margin-bottom: 5px;
}
.timeline p {
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.timeline-actor {
  font-size: 10px;
  color: #637087;
  margin-top: 5px;
}
.receipt {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.receipt:first-child {
  padding-top: 0;
}
.receipt:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.receipt h3 {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.receipt p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.receipt .detail-list {
  margin-top: 13px;
}
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  margin-top: 10px;
}
.external-link .icon {
  width: 12px;
  height: 12px;
}
.decision-form {
  margin-bottom: 20px;
}
.decision-form h3 {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.field-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 11px;
  color: #59677d;
}
.decision-form select {
  width: 100%;
}
.decision-form .button {
  margin-top: 12px;
}
.noscript-message {
  position: fixed;
  inset: 30% 15%;
  background: white;
  padding: 30px;
  border: 2px solid var(--amber);
  z-index: 100;
  text-align: center;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1800px) {
  main {
    padding-top: 45px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 214px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace {
    margin-left: 214px;
    width: calc(100% - 214px);
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 30px 25px;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric-card {
    padding: 17px;
  }
  .heading-actions {
    gap: 9px;
  }
  .last-fetched {
    display: none;
  }
  .incident-table th,
  .incident-table td {
    padding-left: 14px;
    padding-right: 14px;
  }
  .incident-table th:nth-child(2) {
    width: 32%;
  }
  .incident-table th:nth-child(3) {
    width: 20%;
  }
  .incident-table th:nth-child(4) {
    width: 21%;
  }
  .login-story,
  .login-form {
    padding: 35px 27px;
  }
}
@media (max-width: 900px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .incident-table th:nth-child(3),
  .incident-table td:nth-child(3) {
    display: none;
  }
  .incident-table th:first-child {
    width: 13%;
  }
  .incident-table th:nth-child(2) {
    width: 44%;
  }
  .incident-table th:nth-child(4) {
    width: 24%;
  }
  .incident-table th:last-child {
    width: 19%;
  }
  .topbar-status {
    display: none;
  }
  .topbar-separator {
    display: none;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 28px;
  }
  .login-story h2 {
    font-size: 23px;
  }
  .login-journey {
    margin-top: 23px;
  }
  .login-form {
    padding: 30px 28px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 238px;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.18s;
  }
  body.menu-open .sidebar {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 10px 0 40px rgb(17 27 46 / 20%);
  }
  .workspace {
    width: 100%;
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .topbar {
    min-height: 65px;
    padding: 0 18px;
  }
  .topbar-left {
    gap: 9px;
  }
  .breadcrumb {
    display: none;
  }
  .breadcrumb-divider {
    display: none;
  }
  .session-summary > span:not(.user-avatar) {
    display: none;
  }
  main {
    padding: 25px 19px 32px;
  }
  h1 {
    font-size: 24px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-description {
    font-size: 11px;
    max-width: 250px;
  }
  .heading-actions .button {
    font-size: 0;
    width: 38px;
    padding: 9px;
  }
  .heading-actions .button .icon {
    font-size: 12px;
  }
  .metric-grid {
    gap: 10px;
    margin-bottom: 18px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-icon {
    width: 24px;
    height: 24px;
  }
  .metric-hint {
    font-size: 9px;
  }
  .alert {
    padding: 14px;
    gap: 10px;
  }
  .alert .button {
    font-size: 10px;
    padding: 7px;
  }
  .panel-heading {
    padding: 18px;
  }
  .panel-body {
    padding: 18px;
  }
  .filters {
    padding: 14px 18px;
    gap: 9px;
  }
  .filters .search-field {
    flex-basis: 100%;
  }
  .filters select {
    flex: 1;
    min-width: 0;
  }
  .incident-table thead {
    display: none;
  }
  .incident-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    gap: 10px;
  }
  .incident-table td {
    padding: 0;
    border: 0;
  }
  .incident-table td:first-child {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .incident-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  }
  .incident-table td:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }
  .incident-table td:last-child {
    grid-column: 2;
    grid-row: 2;
  }
  .incident-table .incident-link {
    font-size: 12px;
  }
  .pagination {
    padding: 13px 18px;
  }
  .workspace-footer {
    padding: 15px 19px;
    font-size: 9px;
  }
  .workspace-footer span:first-child {
    max-width: 200px;
  }
  .login-layout {
    margin-top: 5px;
  }
  .login-story {
    padding: 26px;
  }
  .login-form {
    padding: 30px 26px;
  }
  .drawer {
    width: 100%;
  }
  .drawer-header {
    padding: 19px 20px 17px;
  }
  .drawer-title {
    font-size: 20px;
  }
  .drawer-tabs {
    padding: 0 20px;
    gap: 20px;
  }
  .drawer-content {
    padding: 20px;
  }
  .drawer-footer {
    padding: 13px 20px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .library-card {
    padding: 20px;
  }
  .decision-card {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .decision-card .button {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
