/* Incident report app: the orange "log a problem" flow from the OS. */
.ml-incident { display: grid; align-content: start; }
.ml-incident__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #ffffff1a; }
.ml-incident__badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid #f9731666; border-radius: 13px; background: #2a1a0d; color: #fb923c; font-size: 1.35rem; }
.ml-incident .ml-incident__title { margin: 0; color: #fff; font: 700 clamp(1.7rem, 4.4cqi, 2.7rem)/.94 var(--ml-font); letter-spacing: -.01em; text-transform: uppercase; }
.ml-incident__title span { color: #fff; }
.ml-incident__title em { color: #f97316; font-style: italic; }
.ml-incident__meta { margin: 8px 0 0; color: #7f95ab; font: 700 .56rem var(--ml-font); letter-spacing: .14em; }
.ml-incident__meta b { color: #7dd3fc; }
.ml-incident__form { display: grid; gap: 18px; margin-top: 18px; }
.ml-incident__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.ml-incident__step legend { display: flex; gap: 8px; margin-bottom: 10px; padding: 0; color: #cbd9e6; font: 700 .58rem var(--ml-font); letter-spacing: .14em; text-transform: uppercase; }
.ml-incident__step legend span { color: #f97316; }
.ml-incident__choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ml-incident__choice button { position: relative; min-height: 54px; padding: 14px 16px; border: 1px solid #ffffff1f; border-radius: 12px; background: #0d1119; color: #a9bccc; font: 400 .78rem/1.25 var(--ml-font); text-align: left; cursor: pointer; }
.ml-incident__choice button:hover { border-color: #f9731688; color: #ffe0c2; }
.ml-incident__choice button:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }
.ml-incident__choice button[aria-pressed="true"] { border-color: #f97316; background: linear-gradient(140deg, #2a1607, #140c05); color: #ffb877; }
.ml-incident__choice button[aria-pressed="true"]::after { content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #f97316; }
.ml-incident__choice--area button { display: grid; place-items: center; min-height: 58px; color: #6f8499; font: 700 .68rem var(--ml-font); letter-spacing: .16em; text-align: center; }
.ml-incident__choice--area button[aria-pressed="true"] { color: #ffb877; }
.ml-incident__choice--grid button { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ml-incident__issue b { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; color: #f87171; font: 700 .56rem var(--ml-font); }
.ml-incident__issue b.is-live { background: #7f1d1d; color: #fecaca; }
.ml-incident__select { position: relative; display: block; }
.ml-incident__select select { width: 100%; min-height: 56px; padding: 14px 46px 14px 16px; border: 1px solid #ffffff1f; border-radius: 12px; background: #0d1119; color: #a9bccc; font: 400 .78rem var(--ml-font); appearance: none; cursor: pointer; }
.ml-incident__select select:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }
.ml-incident__select select:valid { color: #e6f0f8; }
.ml-incident__select svg { position: absolute; top: 50%; right: 16px; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #6f8499; stroke-width: 1.7; stroke-linejoin: round; pointer-events: none; }
.ml-incident__actions { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.ml-incident__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 12px; background: linear-gradient(145deg, #fb923c, #ea580c); color: #1b0d03; font: 700 .7rem var(--ml-font); letter-spacing: .12em; cursor: pointer; box-shadow: 0 14px 32px #f9731633; }
.ml-incident__submit:hover:not(:disabled) { background: linear-gradient(145deg, #fdba74, #f97316); }
.ml-incident__submit:disabled { background: #131a23; color: #6f8499; box-shadow: none; cursor: default; }
.ml-incident__logs { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 1px solid #ffffff1f; border-radius: 12px; background: #0d1119; color: #a8bcca; font: 700 .66rem var(--ml-font); letter-spacing: .1em; cursor: pointer; }
.ml-incident__logs:hover { border-color: #ffffff3d; color: #fff; }
.ml-incident__status { margin: 14px 0 0; color: #8ba0b6; font-size: .72rem; line-height: 1.6; }
.ml-incident__status.is-logged { color: #86e0b4; }
.ml-incident__status.is-warn { color: #f6c46e; }
.ml-incident__log { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ml-incident__log li { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #ffffff1a; border-left: 2px solid #f97316; border-radius: 9px; background: #0b121b; }
.ml-incident__log strong { color: #e7f0f8; font: 700 .7rem var(--ml-font); }
.ml-incident__log span { color: #93a9bb; font: 700 .56rem var(--ml-font); letter-spacing: .06em; }
.ml-incident__log time { color: #6f8499; font: 700 .5rem var(--ml-font); letter-spacing: .1em; }

@container (max-width: 460px) {
  .ml-incident__actions { grid-template-columns: 1fr; }
  .ml-incident__choice button { min-height: 50px; padding: 12px 13px; font-size: .72rem; }
  .ml-incident__choice--area button { min-height: 52px; font-size: .6rem; }
  .ml-incident__meta { font-size: .5rem; }
}

