/* Customer 360 card. Fonts are the MB Corpo faces AskMax already loads in
   assets/mb-corpo-fonts.css (blob-hosted woff2). An iframe does not inherit
   the parent MAX page's fonts, so this file names the families explicitly.
   The @font-face rules stay in that stylesheet. No font files are committed. */

.c360-card {
  margin-top: 12px;
  background: var(--max-paper, #ffffff);
  color: var(--max-text, #333333);
  border: 1px solid var(--max-border-subtle, #e5e7eb);
  border-radius: 0.5rem;
  font-family: "MBCorpoSText", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
}

.c360-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--max-border-subtle, #e5e7eb);
}

.c360-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.c360-lock {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--max-text-strong, #000000);
}

.c360-title {
  margin: 0;
  font-family: "MBCorpoATitleCondensed", "MBCorpoSTitle", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--max-text-strong, #000000);
}

.c360-disclosure {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.c360-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--max-border, #d1d5db);
  border-radius: 0.5rem;
  background: var(--max-paper, #ffffff);
  color: var(--max-text-secondary, #5c5c5c);
  cursor: pointer;
  font-family: inherit;
}

.c360-info:hover,
.c360-info:focus-visible {
  border-color: var(--max-text-strong, #000000);
  color: var(--max-text-strong, #000000);
  outline: 2px solid var(--max-focus-ring, #7aabf0);
  outline-offset: 1px;
}

.c360-info svg {
  width: 14px;
  height: 14px;
}

.c360-tip {
  position: absolute;
  z-index: 3;
  left: 0;
  top: calc(100% + 6px);
  width: min(260px, 70vw);
  margin: 0;
  padding: 8px 10px;
  border-radius: 0.5rem;
  background: var(--max-text-strong, #111111);
  color: #ffffff;
  font-family: "MBCorpoSText", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  visibility: hidden;
  opacity: 0;
}

.c360-tip.is-open {
  visibility: visible;
  opacity: 1;
}

.c360-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: var(--max-text-secondary, #5c5c5c);
}

.c360-pill {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--max-border, #d1d5db);
  border-radius: 0.5rem;
  color: var(--max-text, #333333);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.c360-section {
  padding: 4px 16px 8px;
}

.c360-section + .c360-section {
  border-top: 1px solid var(--max-border-subtle, #e5e7eb);
}

.c360-section h4 {
  margin: 10px 0 4px;
  font-family: "MBCorpoSText", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--max-text-secondary, #5c5c5c);
}

.c360-table {
  width: 100%;
  border-collapse: collapse;
}

.c360-table th {
  text-align: left;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--max-text-muted, #848484);
}

.c360-table td {
  padding: 7px 0;
  border-top: 1px solid var(--max-border-subtle, #e5e7eb);
  font-size: 14px;
  color: var(--max-text, #333333);
}

.c360-table td:last-child,
.c360-table th:last-child {
  text-align: right;
}

.c360-figure {
  font-family: "MBCorpoATitleCondensed", "MBCorpoSTitle", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--max-text-strong, #000000);
}

.c360-row.is-highlight td {
  background: var(--max-page-bg, #f7f7f7);
}

.c360-suppressed {
  color: var(--max-text-secondary, #5c5c5c);
  font-family: "MBCorpoSText", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.c360-note {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 14px;
  line-height: 1.43;
  color: var(--max-text, #333333);
}

@media (prefers-reduced-motion: reduce) {
  .c360-card,
  .c360-card * {
    animation: none !important;
    transition: none !important;
  }
}
