/* Reportly - workspace chrome and the report sheet (screen + A4 print). */

body.demo {
  background: #eae7df;
  color: var(--ink);
}

/* ---------- App bar ---------- */
.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
}
.appbar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: #fff;
}
.appbar__divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.18); }
.appbar__title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appbar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn--sm { padding: 8px 13px; font-size: 13.5px; border-radius: 8px; }
.appbar .btn--ghost { --btn-fg: rgba(255, 255, 255, 0.85); --btn-border: rgba(255, 255, 255, 0.22); }
.appbar .btn--ghost:hover { --btn-border: rgba(255, 255, 255, 0.5); }
.appbar .btn--primary { box-shadow: none; }

/* ---------- Layout ---------- */
.app {
  display: grid;
  grid-template-columns: 388px minmax(0, 1fr);
  align-items: start;
  background: #fff;
}

/* ---------- Panel ---------- */
.panel {
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 24px 22px 40px;
  scrollbar-width: thin;
}
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel h1 { font-size: 21px; margin-top: 4px; letter-spacing: -0.03em; }
.panel__toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.field-group {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.field-group:first-of-type { border-top: 0; padding-top: 18px; }
.field-group > h2 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.field-label,
.panel label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field-group label + input,
.field-group label + .color-row,
.field-group label + select { margin-bottom: 14px; }
.panel input[type="text"],
.panel input[type="month"],
.panel input[type="email"],
.panel select,
.panel textarea {
  width: 100%;
  border: 1px solid #d8d5cc;
  border-radius: 9px;
  background: #fdfcfa;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.panel input:focus,
.panel select:focus,
.panel textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 91, 224, 0.12);
}
.panel textarea { resize: vertical; min-height: 104px; line-height: 1.55; font-size: 13.5px; }
.panel input[aria-invalid="true"] { border-color: #b42318; }
.hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.presets-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 6px 9px;
  border: 1px solid #dcd8cf;
  border-radius: 10px;
  background: #fdfcfa;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.preset-btn svg { color: var(--muted); }
.preset-btn:hover { border-color: #b9b4a8; background: #fff; }
.preset-btn[aria-pressed="true"] {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink);
  color: var(--ink);
}
.preset-btn[aria-pressed="true"] svg { color: var(--brand); }

.color-row { display: grid; grid-template-columns: 46px 96px minmax(0, 1fr); gap: 8px; align-items: center; }
.color-row input[type="color"] {
  width: 46px;
  height: 40px;
  padding: 3px;
  border: 1px solid #d8d5cc;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.color-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
.color-row input[type="color"]::-moz-color-swatch { border: 0; border-radius: 6px; }
.color-row .hex { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; text-transform: uppercase; }
.swatches { display: flex; gap: 6px; justify-content: flex-end; }
.swatches button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s var(--ease);
}
.swatches button:hover { transform: scale(1.12); }

.counter { text-align: right; font-size: 11px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--amber); }

.panel .dropzone {
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 20px 14px;
  border: 1.5px dashed #cfcabf;
  border-radius: 11px;
  background: #fbfaf7;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  margin-bottom: 0;
}
.dropzone:hover,
.dropzone.is-over { border-color: var(--brand); background: #f3f6ff; }
.dropzone svg { color: var(--muted); margin-bottom: 4px; }
.dropzone strong { font-size: 13px; color: var(--ink); }
.dropzone span { font-size: 11px; color: var(--muted); line-height: 1.45; }
.dropzone.is-error { border-color: #b42318; background: #fdf3f2; }

.data-status {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.data-status .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 3px; flex: none; }
.data-status.is-csv .pip { background: var(--brand); }
.data-status.is-error { color: #8f1d14; }
.data-status.is-error .pip { background: #b42318; }
.data-status b { color: var(--ink-2); font-weight: 600; }

.link-btn {
  margin-top: 10px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover { color: var(--brand); }

details.advanced { margin-top: 12px; }
details.advanced summary {
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
details.advanced summary::-webkit-details-marker { display: none; }
details.advanced summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.2s var(--ease);
}
details.advanced[open] summary::before { transform: rotate(45deg); }
details.advanced .adv-body { margin-top: 9px; }
details.advanced input[type="file"] { font-size: 11.5px; width: 100%; }

/* ---------- Stage ---------- */
.stage { padding: 26px 30px 80px; min-width: 0; background: #eae7df; }
.stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 12px;
  color: #6f6a5e;
}
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; letter-spacing: 0.02em; }
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b7a4b;
  box-shadow: 0 0 0 3px rgba(11, 122, 75, 0.16);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.stage__meta { font-variant-numeric: tabular-nums; }

/* ---------- Report sheet ---------- */
.report {
  --brand: #1746b0;
  --brand-soft: #e8edf9;
  background: #fff;
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 46px 40px;
  border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, 0.45), 0 0 0 1px rgba(11, 18, 32, 0.06);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.rep__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.rep__brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.rep__logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  flex: none;
}
.rep__agency { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.025em; line-height: 1.2; }
.rep__kind {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
.rep__meta { text-align: right; flex: none; }
.rep__client { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.rep__meta p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.rep__meta .rep__period { color: var(--ink-2); font-weight: 600; font-size: 12.5px; }
.rep__rule { height: 3px; background: var(--brand); border-radius: 2px; margin: 20px 0 22px; }

.rep__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.rep__kpi {
  border: 1px solid #e6e8ef;
  border-radius: 9px;
  padding: 12px 12px 11px;
  background: #fbfcfe;
}
.rep__kpi span.label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.rep__kpi b.value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.rep__delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
.rep__delta.up { color: #0b7a4b; background: #e8f6ee; }
.rep__delta.down { color: #a32218; background: #fdeeec; }
.rep__delta.flat { color: #6b7689; background: #f2f4f8; }
.rep__delta small { font-weight: 500; opacity: 0.75; }

.rep__chartcard {
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  padding: 16px 16px 12px;
  margin-top: 16px;
}
.rep__chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rep__chart-head h3 { font-family: var(--font-display); font-size: 13.5px; letter-spacing: -0.015em; }
.rep__chart-head p { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.rep__total { text-align: right; flex: none; }
.rep__total b { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rep__total span { font-size: 10px; color: var(--muted); }
.rep__legend { display: flex; gap: 14px; margin-top: 10px; font-size: 10px; color: var(--muted); }
.rep__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.rep__legend .imp i { height: 2px; border-radius: 1px; vertical-align: 2px; }
.chart { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 0; margin-top: 8px; align-items: stretch; }
.chart__y { display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0 18px; font-size: 9.5px; color: #9aa3b4; font-variant-numeric: tabular-nums; }
.chart__y--r { text-align: right; }
.chart__plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__x { display: flex; justify-content: space-between; margin-left: 34px; margin-right: 34px; font-size: 9.5px; color: #9aa3b4; padding-top: 2px; }
.chart__empty { font-size: 11px; color: var(--muted); padding: 26px 0; text-align: center; }

.rep__note {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 4px 9px 9px 4px;
}
.rep__note h3 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.rep__note p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #26303f;
  white-space: pre-wrap;
}
.rep__sign { margin-top: 9px; font-size: 11px; color: var(--muted); font-weight: 600; }
.rep__note.is-empty p { color: var(--muted); font-style: italic; }

/* ---------- Quick wins ---------- */
.rep__quick {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 11px;
}
.rep__quick-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rep__quick h3 {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.rep__quick-head p { font-size: 9.5px; color: var(--muted); margin: 0; }
.rep__quick-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  counter-reset: qw;
}
.rep__quick-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line);
  counter-increment: qw;
}
.rep__quick-list li::before {
  content: counter(qw);
  flex: none;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 1px 4px;
}
.rep__quick-q {
  flex: 1;
  min-width: 0;
  font-size: 10.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rep__quick-m { flex: none; font-size: 9.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rep__quick-none { margin: 7px 0 0; font-size: 10.5px; color: var(--muted); }

.rep__table { margin-top: 20px; }
.rep__table h3 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 7px;
  border-bottom: 1px solid #e6e8ef;
  margin-bottom: 0;
}
.rep__table table { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: fixed; }
.rep__table th:first-child,
.rep__table td:first-child { width: 42%; }
.rep__table th:nth-child(2),
.rep__table td:nth-child(2) { width: 12%; }
.rep__table th:nth-child(3),
.rep__table td:nth-child(3) { width: 12%; }
.rep__table th:nth-child(4),
.rep__table td:nth-child(4) { width: 12%; }
.rep__table th:nth-child(5),
.rep__table td:nth-child(5) { width: 11%; }
.rep__table th:nth-child(6),
.rep__table td:nth-child(6) { width: 11%; }
.rep__table th {
  text-align: right;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa3b4;
  font-weight: 600;
  padding: 7px 0 6px;
  border-bottom: 1px solid #eef0f5;
}
.rep__table th:first-child { text-align: left; }
.rep__table td {
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f8;
  text-align: right;
  color: #3c4657;
  font-variant-numeric: tabular-nums;
}
.rep__table td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  padding-right: 12px;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rep__table td.pos { color: #6b7689; }
.rep__table .d { font-weight: 600; font-size: 10.5px; }
.rep__table .d.up { color: #0b7a4b; }
.rep__table .d.down { color: #a32218; }
.rep__table .d.none { color: #b6bcc9; }
.rep__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 12px;
  border-top: 1px solid #e6e8ef;
  font-size: 9.5px;
  color: #9aa3b4;
}

/* ---------- Mobile bar + toast ---------- */
.mobilebar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobilebar button {
  flex: 1;
  border: 1px solid #d8d5cc;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.mobilebar button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 11px 16px;
  border-radius: 9px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 60;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .app { grid-template-columns: 344px minmax(0, 1fr); }
  .stage { padding: 22px 22px 70px; }
  .report { padding: 38px 34px 34px; }
}

@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .panel {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 18px 22px;
  }
  .panel__toggle { display: inline-block; }
  .panel__body.is-collapsed { display: none; }
  .stage { padding: 18px 12px 96px; }
  .report { padding: 28px 22px 26px; }
  .mobilebar { display: flex; }
  .appbar__title, .appbar__divider { display: none; }
  .appbar { padding: 0 12px; gap: 8px; }
  .appbar__right .btn--ghost { display: none; }
  .toast { bottom: 84px; }
}

@media (max-width: 620px) {
  .report { padding: 22px 16px 22px; border-radius: 4px; }
  .rep__head { flex-direction: column; gap: 12px; }
  .rep__meta { text-align: left; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
  .rep__meta p { margin-top: 0; }
  .rep__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .rep__kpi { padding: 10px 10px 9px; }
  .rep__kpi b.value { font-size: 19px; }
  .rep__chart-head { flex-direction: column; gap: 6px; }
  .rep__total { text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .chart { grid-template-columns: 28px minmax(0, 1fr) 28px; }
  .chart__x { margin-left: 28px; margin-right: 28px; font-size: 9px; }
  .chart__y { font-size: 9px; }
  .rep__table { margin-top: 16px; }
  .rep__table th:nth-child(3), .rep__table td:nth-child(3) { display: none; }
  .rep__table th:nth-child(5), .rep__table td:nth-child(5) { display: none; }
  .rep__table th:first-child, .rep__table td:first-child { width: 42%; }
  .rep__table th:nth-child(2), .rep__table td:nth-child(2) { width: 20%; }
  .rep__table th:nth-child(4), .rep__table td:nth-child(4) { width: 17%; }
  .rep__table th:nth-child(6), .rep__table td:nth-child(6) { width: 21%; }
  .rep__table th { font-size: 8.5px; letter-spacing: 0.02em; }
  .rep__foot { flex-direction: column; gap: 4px; }
  .color-row { grid-template-columns: 44px 92px minmax(0, 1fr); }
  .presets-row { gap: 6px; }
  .panel .field-row { grid-template-columns: 1fr; }
}

/* ---------- Print: A4 ---------- */
@page {
  size: A4 portrait;
  margin: 13mm 13mm 14mm;
}

@media print {
  html, body.demo { background: #fff !important; }
  body.demo { font-size: 11px; }
  .appbar, .panel, .stage__bar, .mobilebar, .toast, .sr-only { display: none !important; }
  .app { display: block; }
  .stage { padding: 0; }
  .report {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 10.5px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .report * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rep__head, .rep__kpis, .rep__chartcard, .rep__note, .rep__table, .rep__foot { break-inside: avoid; }
  .rep__rule { margin: 10px 0 12px; }
  .rep__chartcard { margin-top: 9px; padding: 11px 12px 7px; }
  .rep__table { margin-top: 8px; }
  .rep__kpi { padding: 6px 9px 6px; }
  .rep__kpi b.value { font-size: 18px; }
  .rep__kpi span.label { font-size: 8px; }
  .rep__delta { margin-top: 4px; font-size: 9px; }
  .rep__note { margin-top: 8px; padding: 9px 12px; }
  .rep__quick { margin-top: 8px; padding: 8px 11px 7px; break-inside: avoid; }
  .rep__quick h3 { font-size: 8px; }
  .rep__quick-head p { font-size: 8px; }
  .rep__quick-list { margin-top: 5px; gap: 2px 18px; }
  .rep__quick-list li { padding: 2px 0; }
  .rep__quick-q { font-size: 9px; }
  .rep__quick-m { font-size: 8px; }
  .rep__quick-list li::before { font-size: 7.5px; padding: 0 3px; }
  .rep__quick-none { font-size: 9px; }
  .rep__note p { margin-top: 5px; font-size: 10px; line-height: 1.5; }
  .rep__note h3 { font-size: 9px; }
  .rep__sign { margin-top: 5px; font-size: 9px; }
  .rep__table h3 { padding-bottom: 4px; font-size: 9px; }
  .rep__table th { padding: 4px 0 3px; font-size: 7.5px; }
  .rep__table td { padding: 3px 0; font-size: 9.5px; }
  .rep__foot { margin-top: 8px; padding-top: 6px; font-size: 7.5px; }
  .rep__chart-head h3 { font-size: 11px; }
  .rep__total b { font-size: 15px; }
  a { text-decoration: none; color: inherit; }
}
