/* Maintenance notice (rule 29): the strip on every page and the /bao-tri page.
   Interim palette from styles.css; replaced by WEB's shared template so web, studio and the
   ledger look the same. */
:root {
  --bt-nen: #1d1508;
  --bt-vien: rgba(247, 194, 118, 0.55);
  --bt-chu: #fff4e0;
  --bt-nhan: #f7c276;
  --bt-do: #ffadb5;
  --bt-canvas: #0d1219;
  --bt-the: #1a2732;
  --bt-muted: #c4ceda;
  --bt-cao: 0px;
}

html.bt-co-dai body { padding-top: var(--bt-cao); }

.bt-dai {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bt-nen);
  border-bottom: 1px solid var(--bt-vien);
  color: var(--bt-chu);
  font: 500 14px/1.45 "Roboto", "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Undo the browser's popover box so the strip keeps its own layout in the top layer. */
.bt-dai[popover] {
  inset: 0 0 auto 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--bt-vien);
  overflow: visible;
}

.bt-dai.bt-ngung-nhan-don,
.bt-dai.bt-dang-bao-tri { border-bottom-color: var(--bt-do); }

.bt-cham {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bt-nhan);
  box-shadow: 0 0 0 4px rgba(247, 194, 118, 0.18);
}

.bt-ngung-nhan-don .bt-cham,
.bt-dang-bao-tri .bt-cham { background: var(--bt-do); box-shadow: 0 0 0 4px rgba(255, 173, 181, 0.18); }

.bt-chu { flex: 1 1 auto; margin: 0; }
.bt-chu strong { color: var(--bt-nhan); font-weight: 700; }
.bt-ngung-nhan-don .bt-chu strong,
.bt-dang-bao-tri .bt-chu strong { color: var(--bt-do); }
.bt-dem { font-variant-numeric: tabular-nums; font-weight: 700; }

.bt-dong {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--bt-vien);
  border-radius: 8px;
  background: transparent;
  color: var(--bt-chu);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.bt-dong:hover,
.bt-dong:focus-visible { background: rgba(247, 194, 118, 0.16); outline: none; }

@media (max-width: 640px) {
  .bt-dai { align-items: flex-start; padding: 10px 12px; font-size: 13px; }
  .bt-cham { margin-top: 5px; }
}

/* Full maintenance page */
body.bt-trang {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 0%, #1f2f3d 0%, var(--bt-canvas) 60%);
  color: var(--bt-chu);
  font: 400 16px/1.55 "Roboto", "Segoe UI", system-ui, sans-serif;
}

.bt-the {
  width: min(520px, 100%);
  padding: 32px 28px;
  border: 1px solid rgba(229, 240, 255, 0.18);
  border-radius: 18px;
  background: rgba(26, 39, 50, 0.86);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.bt-logo { width: 72px; height: 72px; object-fit: contain; }
.bt-the h1 { margin: 16px 0 6px; font-size: 26px; line-height: 1.25; color: #ffffff; }
.bt-du-kien { margin: 0; color: var(--bt-muted); }
.bt-dong-ho {
  margin: 18px 0;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bt-nhan);
  font-variant-numeric: tabular-nums;
}
.bt-giu { margin: 0 0 6px; color: #91e1b5; font-weight: 600; }
.bt-ly-do { margin: 0 0 6px; color: var(--bt-muted); }
.bt-lien-he { margin: 18px 0 0; font-size: 14px; color: var(--bt-muted); }
.bt-lien-he a { color: #81c6ff; }
