/* Trang tiến độ công việc của English Studio: dòng thời gian dọc, khung điện thoại / WebView */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: #111827;
  --muted: #667085;
  --faint: #98A2B3;
  --line: #E4E7EF;
  --blue: #1677FF;
  --green: #159447;
  --red: #D62F45;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); }
.pg { max-width: 560px; margin: 0 auto; padding: 18px 16px 24px; min-height: 100vh; }
.brand { font: 600 12px var(--font); letter-spacing: .6px; color: var(--muted); text-transform: uppercase; }
.h1 { font: 700 21px/1.3 var(--font); margin: 6px 0 4px; }
.sub { font-size: 14px; color: var(--muted); }
.state { margin: 14px 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; line-height: 1.4; }
.s-running { background: #EAF1FF; color: #1849A9; }
.s-succeeded { background: #E7F7EC; color: #106B32; }
.s-failed { background: #FDECEC; color: #9B1C1C; }
.s-offline { background: #FFF6E5; color: #8A5300; }
.tl { list-style: none; margin: 8px 0 0; padding: 0; }
.tl li { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none; border: 2px solid #D0D5DD; background: #fff; color: var(--muted); }
.done .ico { background: var(--green); border-color: var(--green); color: #fff; }
.running .ico { border-color: var(--blue); color: var(--blue); }
.error .ico { background: var(--red); border-color: var(--red); color: #fff; }
.skipped .ico { border-style: dashed; }
.lb { font: 500 15px/1.3 var(--font); }
.pending .lb, .skipped .lb { color: var(--faint); }
.tm { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.spin { width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sp 1s linear infinite; display: inline-block; flex: none; }
@keyframes sp { to { transform: rotate(360deg); } }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.loading .spin { width: 22px; height: 22px; color: var(--blue); }
.loading div { margin-top: 10px; }
.foot { margin-top: 18px; font-size: 12px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; }
