#app { min-height: auto; }
.mc-panel { background: #fff; border: 1px solid #e5e9ee; border-radius: 16px; margin: 24px 0; padding: 22px; }
.mc-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.mc-heading h2 { margin: 0; font-size: 19px; }
.mc-heading a { color: #2552b8; }
.mc-intro h1 { margin-bottom: 6px; font-size: clamp(28px, 5vw, 42px); }
.mc-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.mc-intro h1, .mc-intro p { margin-top: 0; }
.mc-intro p { margin-bottom: 0; }
.mc-back { color: #2552b8; font-weight: 650; }
.mc-main { padding-bottom: 48px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.mc-stat { border: 1px solid #e0e7f0; background: #f8faff; border-radius: 12px; padding: 12px 14px; }
.mc-stat dt { color: #546174; font-size: 13px; }
.mc-stat dd { margin: 5px 0 0; font-weight: 750; font-size: 18px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mc-overview .mc-stat { background: #fff; padding: 16px; }
.mc-overview dd { font-size: 27px; }
.mc-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 24px 0 12px; }
.mc-toolbar label { display: grid; gap: 4px; color: #435269; }
.mc-toolbar input, .mc-toolbar select { border: 1px solid #bfc9d5; border-radius: 8px; padding: 9px 10px; background: #fff; color: #18212f; font: inherit; }
.mc-toolbar input { width: min(270px, 68vw); }
.mc-toolbar > span { margin-left: auto; padding-bottom: 8px; }
.mc-main button.secondary { min-height: 36px; }
.mc-main button:disabled { opacity: .6; }
.mc-main .mc-row { align-items: center; padding: 0; border: 0; }
.mc-main .mc-row h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.mc-address { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.mc-address code { color: #435269; overflow-wrap: anywhere; }
.mc-message { border: 1px dashed #bfc9d5; border-radius: 12px; padding: 18px; color: #435269; }
.mc-timeline { border-top: 1px solid #e5e9ee; padding-top: 10px; margin: 16px 0; }
.mc-timeline h3 { margin: 4px 0; }
.mc-timeline p { font-size: 13px; margin: 6px 0; }
.mc-bars, .mc-uptime { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.mc-bar { height: 75px; background: #edf1f7; border-radius: 4px 4px 0 0; }
.mc-bar progress { width: 100%; height: 100%; writing-mode: vertical-lr; direction: rtl; accent-color: #255ee8; }
.mc-tick { height: 8px; border-radius: 2px; margin-top: 4px; background: #c8d1dc; }
.mc-tick-up { background: #16825d; }
.mc-tick-down { background: #c44545; }
.mc-tick-pending { background: #c78b23; }
.mc-axis { display: flex; justify-content: space-between; font-size: 12px; color: #546174; }
@media (max-width: 650px) {
  .mc-intro { align-items: start; flex-direction: column; }
  .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-toolbar label:first-child { width: 100%; }
  .mc-toolbar input { width: 100%; }
  .mc-main button.secondary { min-height: 44px; }
  .mc-toolbar > span { margin-left: 0; }
  .mc-back { font-size: 13px; }
}
.mc-intro p, .mc-meta { color: #546174; }
.mc-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; border-top: 1px solid #e5e9ee; padding: 10px 0; }
.mc-heading + div { margin-top: 12px; }
.mc-meta { overflow-wrap: anywhere; }
.mc-up { color: #146747; }
.mc-down { color: #a82e34; }
.mc-pending { color: #83560d; }
.mc-history { padding-left: 1.25rem; margin-bottom: 0; }
#mc-settings { border-top: 1px solid #e5e9ee; margin-top: 10px; padding-top: 15px; }
#mc-settings summary { cursor: pointer; }
#mc-config button { min-height: 36px; }
.mc-edit-row { display: grid; grid-template-columns: 1fr 1.4fr 95px auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.mc-edit-row input { display: block; width: 100%; border: 1px solid #bfc9d5; border-radius: 8px; padding: 8px; font: inherit; }
@media (max-width: 650px) { .mc-edit-row { grid-template-columns: 1fr 1fr; } }
