@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@500;600;700;800&family=Mulish:wght@400;500;600;700;800&display=swap");

* { box-sizing: border-box; }

:root {
  --ink: #16273F;
  --body: #33404F;
  --body2: #2B3644;
  --muted: #8791A0;
  --muted2: #5B6675;
  --muted3: #98A2B0;
  --card-border: #EAEDF3;
  --panel-border: #E7EBF1;
  --red: #E8402A;
}

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: "Mulish", system-ui, sans-serif;
  color: var(--body);
  background: linear-gradient(180deg, #F5F3FB 0%, #F1F6F6 100%);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; cursor: pointer; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
body.auth-pending .app-shell { display: none; }

/* 90% width to match the sibling redesigned apps. */
.app-shell .rm-header-inner,
.app-shell .rm-footer-inner { max-width: 90%; }

@keyframes ctFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ------------------------------- Hero ------------------------------- */
.ct-hero-inner { max-width: 90%; margin: 0 auto; padding: 34px 32px 4px; }
.ct-title {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 6px;
  padding-top: 4px;
}
.ct-url { font-size: 15.5px; color: var(--muted2); padding-bottom: 8px; }

/* ------------------------------- Tabs ------------------------------- */
.ct-tabs {
  background: #fff;
  border-bottom: 1px solid var(--panel-border);
  box-shadow: 0 1px 2px rgba(18, 38, 63, 0.03);
  margin-top: 14px;
}
.ct-tabs-inner { max-width: 90%; margin: 0 auto; padding: 0 32px; display: flex; gap: 38px; }
.ct-tab {
  appearance: none;
  background: none;
  border: none;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--muted);
  padding: 18px 2px;
  margin: 0;
  border-bottom: 3px solid transparent;
}
.ct-tab.active { font-weight: 700; color: var(--ink); border-bottom-color: var(--red); }

/* ------------------------------- Main ------------------------------- */
.ct-main { flex: 1; max-width: 90%; width: 100%; margin: 0 auto; padding: 32px 32px 56px; }
.ct-panel { animation: ctFadeUp 0.35s ease both; }

/* ------------------------------- Level pills ------------------------------- */
.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.ct-pill.easy { color: #1F8A5B; background: #E7F7F1; border: 1px solid #CDEDE1; }
.ct-pill.intermediate { color: #B5772E; background: #FCF6E4; border: 1px solid #F1E7C4; }
.ct-pill.advanced { color: #D14545; background: #FCECEC; border: 1px solid #F5D5D5; }
/* Over target is its own state, not "advanced": an Intermediate page over an Easy target would
   otherwise wear the Advanced colour while its label said Intermediate. */
.ct-pill.over { color: #95530D; background: #FCF3E8; border: 1px solid #F1E2C8; }
.ct-pill.clean { color: #1F8A5B; background: #E7F7F1; border: 1px solid #CDEDE1; }
.ct-pill.issues { color: #D14545; background: #FCECEC; border: 1px solid #F5D5D5; }

/* ------------------------------- Pages: toolbar ------------------------------- */
.ct-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.ct-count { font-size: 14px; color: var(--muted); font-weight: 600; }
.ct-filter-groups { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ct-filter-group { display: flex; align-items: center; gap: 8px; }
.ct-filter-label { font-size: 12.5px; font-weight: 700; color: var(--muted3); text-transform: uppercase; letter-spacing: 0.4px; }
.ct-filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-filter {
  appearance: none;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #C9D2DE;
}
.ct-filter.active { background: #132638; color: #fff; border-color: #132638; }
.ct-filter-divider { width: 1px; height: 28px; background: #E2E6ED; }

/* ================================ Summary ================================ */
.ct-summary { display: flex; flex-direction: column; gap: 20px; }

/* Target reading age — governs the two panels below it, so it sits above them. */
.ct-sum-target { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 22px; }
.ct-sum-target-copy { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.ct-sum-target-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); }
.ct-sum-target-note { font-size: 13px; color: #5F6A79; line-height: 1.45; }
.ct-sum-targets { display: inline-flex; background: #F1F4F9; border: 1px solid #E5E9F0; border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.ct-sum-target-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 15px;
  text-align: center;
  color: #5F6A79;
}
.ct-sum-target-btn.active { background: #fff; border-color: #DFE5EE; color: var(--ink); box-shadow: 0 1px 3px rgba(18, 38, 63, 0.1); }
.ct-sum-target-name { display: block; font-family: "Lexend", sans-serif; font-weight: 700; font-size: 13.5px; }
.ct-sum-target-age { display: block; font-size: 11.5px; font-weight: 600; margin-top: 1px; }

/* Intro + verdict */
.ct-sum-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 24px; align-items: center; }
.ct-sum-intro { font-size: 16px; color: #43525F; line-height: 1.55; margin: 0; }
.ct-sum-verdict { display: flex; align-items: center; gap: 13px; border-radius: 14px; padding: 14px 16px; }
.ct-sum-verdict.clean { background: #F2FBF7; border: 1px solid #CFEDE0; }
.ct-sum-verdict.warn { background: #FDF9F2; border: 1px solid #F1E2C8; }
.ct-sum-verdict-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-sum-verdict.clean .ct-sum-verdict-icon { background: #E0F2E9; color: #14795A; }
.ct-sum-verdict.warn .ct-sum-verdict-icon { background: #FBEFDC; color: #95530D; }
.ct-sum-verdict-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-sum-verdict-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.25; }
.ct-sum-verdict-note { font-size: 12.5px; color: #5F6A79; }

/* Tiles — each one navigates to the Pages tab with its filter applied. */
.ct-sum-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ct-sum-tile {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 19px 21px;
  box-shadow: 0 2px 10px rgba(18, 38, 63, 0.04);
}
.ct-sum-tile:hover { border-color: #C9D3E0; }
.ct-sum-tile-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ct-sum-tile-icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ct-sum-tile-label { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 13px; color: #5F6A79; }
.ct-sum-tile-value { display: block; font-family: "Lexend", sans-serif; font-weight: 800; font-size: 29px; line-height: 1; }
.ct-sum-tile-note { display: block; font-size: 12.5px; color: #5F6A79; margin-top: 6px; line-height: 1.45; }
/* Tones: ink for the value, a 10%-ish tint behind the icon. */
.ct-sum-tile-value.info { color: #1E56C0; }   .ct-sum-tile-icon.info { background: #EAF1FC; color: #1E56C0; }
.ct-sum-tile-value.accent { color: #5B3FD1; } .ct-sum-tile-icon.accent { background: #F2EFFC; color: #5B3FD1; }
.ct-sum-tile-value.ok { color: #14795A; }     .ct-sum-tile-icon.ok { background: #E7F7F1; color: #14795A; }
.ct-sum-tile-value.warn { color: #95530D; }   .ct-sum-tile-icon.warn { background: #FCF3E8; color: #95530D; }
.ct-sum-tile-value.bad { color: #C0392B; }    .ct-sum-tile-icon.bad { background: #FCECEC; color: #C0392B; }

/* Spread + ranking */
.ct-sum-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.ct-sum-panel-note { font-size: 13px; color: #5F6A79; margin: 4px 0 18px; }
.ct-sum-levels { display: flex; flex-direction: column; gap: 13px; }
.ct-sum-level { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: none; padding: 0; text-align: left; }
.ct-sum-level.is-static { cursor: default; }
.ct-sum-level-name { flex: 1 1 130px; min-width: 80px; display: flex; align-items: center; gap: 9px; font-family: "Lexend", sans-serif; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.ct-sum-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
.ct-track { flex: 1 1 80px; min-width: 50px; height: 9px; border-radius: 999px; background: #EDF0F5; overflow: hidden; }
.ct-fill { display: block; height: 100%; border-radius: 999px; }
.ct-sum-level-value { flex: 0 0 84px; text-align: right; font-family: "Lexend", sans-serif; font-weight: 700; font-size: 13px; color: var(--ink); }
.ct-sum-level:not(.is-static):hover .ct-sum-level-name { color: var(--red); }

.ct-sum-list { padding: 0; overflow: hidden; }
.ct-sum-list-head { padding: 20px 22px 16px; }
.ct-sum-list-head .ct-sum-panel-note { margin: 4px 0 0; }
.ct-sum-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 22px;
  border-top: 1px solid #F4F6FA;
  text-decoration: none;
}
.ct-sum-row:hover { background: #FBFCFE; }
.ct-sum-row-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-sum-row-title { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-sum-row-url { font-size: 12px; color: #5F6A79; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-sum-row .ct-pill { font-size: 11px; padding: 4px 10px; }
.ct-sum-empty { padding: 40px 22px; text-align: center; border-top: 1px solid #F4F6FA; font-size: 13.5px; color: #5F6A79; }
.ct-sum-empty strong { display: block; font-family: "Lexend", sans-serif; font-size: 15px; color: var(--ink); margin-bottom: 4px; }

@media (max-width: 860px) {
  .ct-sum-top { grid-template-columns: 1fr; }
}

/* ------------------------------- Pages: table ------------------------------- */
.ct-table {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  overflow: hidden;
}
.ct-row {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 0.8fr 1.3fr 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}
.ct-thead { padding: 16px 26px; background: #F4F6FA; border-bottom: 1px solid var(--card-border); }
.ct-thead span { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 13.5px; color: var(--muted2); }
.ct-thead .ct-th-actions { text-align: right; }
.ct-tbody-row { padding: 18px 26px; border-bottom: 1px solid #F1F4F8; }
.ct-tbody-row:last-child { border-bottom: none; }
.ct-page-cell { min-width: 0; }
.ct-page-title {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ct-page-url { font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-words { font-size: 14.5px; color: var(--body); }
.ct-scanned { font-size: 13.5px; color: var(--muted2); }
.ct-actions { text-align: right; }
.ct-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.ct-view:hover { background: var(--ink); color: #fff; }
.ct-view svg { stroke: currentColor; }
.ct-empty-row { padding: 40px; text-align: center; font-size: 15px; color: var(--muted); }

/* ------------------------------- Editor ------------------------------- */
/* 75 / 25. `stretch` makes both columns share a height; the editor card is a flex
   column whose editor wrapper takes the leftover space, so the content box always
   matches the sidebar. NB a later width:100% in this declaration would silently
   override the column sizing. */
.ct-editor { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ct-editor-card { display: flex; flex-direction: column; }
.ct-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 22px;
}
.ct-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ct-card-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; }
.ct-clear { background: none; border: none; font-family: "Mulish", sans-serif; font-weight: 600; font-size: 13.5px; color: var(--muted); padding: 0; }
.ct-clear:hover { color: var(--ink); }
/* --------------------------- Rich-text editor --------------------------- */
/* The plain textarea this replaced is gone, along with the mirrored-overlay
   highlighting it needed. That approach cannot be revived for rich HTML: it
   required overlay.textContent === textarea.value, matching client widths, and
   synced scrollTop — three invariants that broke in turn. The Highlight API
   removes the whole class of problem. */
/* Heading sizes are deliberately close to how they render on a real page, so
   authors judge hierarchy honestly rather than by an editor-only scale. */
.ct-ed-wrap { position: relative; flex: 1; min-height: 400px; display: flex; }
.rt-editor {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  border: 1px solid #DCE1E9;
  border-radius: 0 0 12px 12px;
  padding: 18px 20px;
  font-family: "Mulish", sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body2);
  background: #FCFDFE;
}
.rt-editor:focus { outline: none; }
.rt-editor:empty::before { content: attr(data-ph); color: var(--muted3); }
.rt-editor > *:first-child { margin-top: 0; }
.rt-editor h1 { font-family: "Lexend", sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; margin: 22px 0 10px; color: var(--ink); }
.rt-editor h2 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 24px; line-height: 1.25; margin: 20px 0 9px; color: var(--ink); }
.rt-editor h3 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin: 18px 0 8px; color: var(--ink); }
.rt-editor h4 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 17.5px; line-height: 1.35; margin: 16px 0 7px; color: var(--ink); }
.rt-editor h5 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 15.5px; line-height: 1.4; margin: 15px 0 6px; color: var(--body2); }
.rt-editor h6 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 14px 0 6px; color: #5F6A79; }
.rt-editor p { margin: 0 0 14px; }
.rt-editor ul, .rt-editor ol { margin: 0 0 14px; padding-left: 26px; }
.rt-editor li { margin-bottom: 5px; }
.rt-editor a { color: #2F6FE0; text-decoration: underline; text-underline-offset: 2px; }

/* Proofreading marks, painted via the CSS Custom Highlight API (see paintHighlights).
   Decorative reinforcement only — every issue is also listed in the panel as text. */
::highlight(pr-spelling) { background: #FCECEC; text-decoration: underline wavy #D14545; }
::highlight(pr-grammar)  { background: #EAF1FC; text-decoration: underline wavy #2F6FE0; }
::highlight(pr-style)    { background: #FCF3E8; text-decoration: underline wavy #95530D; }
::highlight(pr-locale)   { background: #F2EFFC; text-decoration: underline wavy #6B4AA8; }

/* --------------------------- Formatting toolbar --------------------------- */
.ct-rt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: #F7F9FC;
  border: 1px solid #E4E9F1;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}
.ct-rt-btn {
  appearance: none;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DCE4EF;
  border-radius: 8px;
  background: #fff;
  color: #3B4757;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
}
.ct-rt-btn.wide { min-width: 36px; }
.ct-rt-btn:hover { border-color: #B7C7DE; }
.ct-rt-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ct-rt-btn.mark-bold { font-weight: 800; }
.ct-rt-btn.mark-italic { font-family: Georgia, serif; font-style: italic; }
.ct-rt-btn.mark-underline { text-decoration: underline; }
.ct-rt-btn.mark-strike { text-decoration: line-through; }
.ct-rt-sep { width: 1px; align-self: stretch; background: #DCE4EF; margin: 0 4px; }

/* ------------------------------ Link popover ------------------------------ */
.ct-link-host { position: relative; }
.ct-linkpop {
  position: absolute;
  z-index: 20;
  top: 6px;
  right: 0;
  width: 330px;
  background: #fff;
  border: 1px solid #E4E9F1;
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(18, 38, 63, 0.18);
  padding: 16px;
}
.ct-linkpop-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.ct-linkpop-sub { font-size: 12.5px; color: #5F6A79; line-height: 1.45; margin-bottom: 12px; }
.ct-linkpop-sub strong { color: var(--ink); }
.ct-linkpop-label { display: block; font-family: "Lexend", sans-serif; font-weight: 700; font-size: 11.5px; color: #5F6A79; margin-bottom: 6px; }
.ct-linkpop-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #E4E9F1;
  border-radius: 10px;
  font-family: "Mulish", sans-serif;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
}
.ct-linkpop-input:focus { outline: none; border-color: #2F6FE0; box-shadow: 0 0 0 4px rgba(47, 111, 224, 0.12); }
.ct-linkpop-hint { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin: 0 0 14px; }
.ct-linkpop-actions { display: flex; align-items: center; gap: 9px; }
.ct-linkpop-apply {
  appearance: none;
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  background: var(--red);
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.ct-linkpop-apply:disabled { background: #EDF0F5; color: #5F6A79; cursor: default; }
.ct-linkpop-remove {
  appearance: none;
  background: #fff;
  border: 1px solid #DCE1E9;
  border-radius: 9px;
  padding: 9px 14px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #D14545;
}
.ct-linkpop-cancel {
  appearance: none;
  background: none;
  border: none;
  margin-left: auto;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #5F6A79;
}

.ct-side { display: flex; flex-direction: column; gap: 20px; }
.ct-card.pad24 { padding: 24px; }
.ct-score-empty { text-align: center; padding: 24px 8px; color: var(--muted3); font-size: 14px; }
.ct-score-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ct-score-value { font-family: "Lexend", sans-serif; font-weight: 800; font-size: 30px; color: var(--ink); line-height: 1; }
.ct-score-max { font-size: 12.5px; color: var(--muted3); }
.ct-segbar { display: flex; gap: 4px; margin-bottom: 20px; }
.ct-seg { flex: 1; height: 7px; border-radius: 999px; background: #EDF0F5; }
.ct-seg.on-advanced { background: #D14545; }
.ct-seg.on-intermediate { background: #E0A21E; }
.ct-seg.on-easy { background: #1FA97A; }
.ct-metrics { display: flex; flex-direction: column; gap: 11px; }
.ct-metric { display: flex; align-items: center; justify-content: space-between; }
.ct-metric-label { font-size: 13.5px; color: var(--muted); }
.ct-metric-value { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); }

/* -------------------------- Spelling & grammar panel -------------------------- */
.ct-proof-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ct-proof-badge {
  display: inline-flex;
  align-items: center;
  background: #FCECEC;
  border: 1px solid #F5D5D5;
  color: #C0392B;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.ct-proof-badge.clean { background: #E7F7F1; border-color: #CDEDE1; color: #14795A; }
.ct-proof-note { text-align: center; padding: 20px 8px; color: #5F6A79; font-size: 13.5px; }
.ct-proof-clean {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #E7F7F1;
  border: 1px solid #CDEDE1;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #14795A;
}
.ct-proof-clean svg { flex: 0 0 auto; }

/* Capped at ~1.5 rows so the panel hints at more without dominating the sidebar. */
.ct-issue-list { display: flex; flex-direction: column; gap: 9px; max-height: 163px; overflow-y: auto; }
.ct-issue {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #FBFCFE;
  border: 1px solid #EFF2F7;
}
.ct-issue.active { background: #F5F8FE; border-color: #B9CEF0; }
.ct-issue-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; }
.ct-issue-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
/* Type is conveyed by text as well as colour, so the category never depends on
   hue alone (nor on seeing the wavy underline in the editor). */
.ct-issue-type {
  align-self: flex-start;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.ct-issue-change { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-issue-old { font-size: 13.5px; color: #5F6A79; text-decoration: line-through; }
.ct-issue-new { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 13.5px; }
.ct-issue-msg { font-size: 12.5px; color: #5F6A79; line-height: 1.45; }
/* A dictionary hit with no suggestion: flagged, but nothing to apply. */
.ct-issue-flagged { font-size: 13.5px; font-weight: 700; color: var(--ink); text-decoration: underline wavy #D14545; text-underline-offset: 3px; }
.ct-proof-degraded { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.ct-issue-dot.spelling { background: #D14545; }
.ct-issue-dot.grammar { background: #2F6FE0; }
.ct-issue-dot.locale { background: #6B4AA8; }
.ct-issue-dot.style { background: #95530D; }
.ct-issue-type.spelling, .ct-issue-new.spelling { color: #D14545; }
.ct-issue-type.grammar, .ct-issue-new.grammar { color: #2F6FE0; }
.ct-issue-type.locale, .ct-issue-new.locale { color: #6B4AA8; }
.ct-issue-type.style, .ct-issue-new.style { color: #95530D; }
.ct-issue-type.spelling { background: #FCECEC; border: 1px solid #F5D5D5; }
.ct-issue-type.grammar { background: #EAF1FC; border: 1px solid #D6E4FB; }
.ct-issue-type.locale { background: #F2EFFC; border: 1px solid #E1D9F5; }
.ct-issue-type.style { background: #FCF3E8; border: 1px solid #F1E2C8; }
.ct-fix {
  flex: 0 0 auto;
  appearance: none;
  background: #fff;
  border: 1px solid #DCE1E9;
  border-radius: 9px;
  padding: 6px 12px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
}
.ct-fix:hover { border-color: #2F6FE0; color: #2F6FE0; }
.ct-fixall {
  width: 100%;
  margin-top: 14px;
  appearance: none;
  background: var(--ink);
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.ct-fixall:hover { background: #0E1B2E; }
.ct-segmented.sm { margin-bottom: 14px; }
.ct-segmented.sm .ct-segment { font-size: 12.5px; padding: 8px 4px; border-radius: 9px; }

.ct-target-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.ct-target-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ct-segmented { display: flex; background: #F1F4F9; border: 1px solid #E5E9F0; border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.ct-segment {
  flex: 1;
  appearance: none;
  border: none;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 6px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted2);
}
.ct-segment.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(18, 38, 63, 0.12); }
.ct-rewrite-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(232, 64, 42, 0.28);
}
.ct-rewrite-btn:hover { background: #D0322A; }
.ct-rewrite-btn:disabled { opacity: 0.65; cursor: default; }

/* ------------------------------- Rewrite result ------------------------------- */
.ct-rewrite {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 24px 26px;
  margin-top: 24px;
  animation: ctFadeUp 0.3s ease both;
}
.ct-rewrite-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ct-rewrite-title-wrap { display: flex; align-items: center; gap: 12px; }
.ct-rewrite-avatar { width: 34px; height: 34px; border-radius: 50% 50% 50% 6px; background: var(--red); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ct-rewrite-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; }
.ct-rewrite-actions { display: flex; gap: 10px; }
.ct-rw-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 10px;
}
.ct-rw-btn.copy { background: #fff; border: 1px solid #DCE1E9; color: var(--ink); }
.ct-rw-btn.copy:hover { border-color: var(--ink); }
.ct-rw-btn.copy.copied { color: #1F8A5B; border-color: #CDEDE1; background: #E7F7F1; }
.ct-rw-btn.use { background: var(--ink); border: none; color: #fff; }
.ct-rewrite-summary { font-size: 13.5px; color: var(--muted2); line-height: 1.5; margin: 0 0 14px; }
.ct-rewrite-foot { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.45; }
/* The preview mirrors the block shapes so it's clear before applying that the structure
   survives. Sizes are a touch smaller than the editor's — this is a preview, not the copy. */
.ct-rewrite-body.structured { white-space: normal; }
.ct-rewrite-body.structured > *:first-child { margin-top: 0; }
.ct-rewrite-body.structured > *:last-child { margin-bottom: 0; }
.ct-preview-h1 { font-family: "Lexend", sans-serif; font-weight: 800; font-size: 24px; line-height: 1.25; margin: 18px 0 8px; color: var(--ink); }
.ct-preview-h2 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin: 16px 0 7px; color: var(--ink); }
.ct-preview-h3 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 17.5px; line-height: 1.3; margin: 15px 0 6px; color: var(--ink); }
.ct-preview-h4, .ct-preview-h5 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 15.5px; margin: 14px 0 6px; color: var(--ink); }
.ct-preview-h6 { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; margin: 13px 0 6px; color: #5F6A79; }
.ct-preview-p { margin: 0 0 12px; }
.ct-preview-li { margin: 0 0 6px 26px; list-style: disc; display: list-item; }
/* A block the model returned empty keeps the author's original — flagged, not hidden. */
.ct-preview-kept { border-left: 3px solid #F1E7C4; background: #FCF6E4; padding: 6px 12px; margin-bottom: 10px; border-radius: 0 8px 8px 0; }
.ct-preview-kept > * { margin-bottom: 0; }
.ct-rewrite-error {
  font-size: 14px;
  line-height: 1.6;
  color: #B3261E;
  background: #FCECEC;
  border: 1px solid #F5D5D5;
  border-radius: 12px;
  padding: 16px 18px;
}
.ct-rewrite-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body2);
  background: #FBFCFE;
  border: 1px solid #EEF1F6;
  border-radius: 12px;
  padding: 20px 22px;
  white-space: pre-wrap;
}

/* ------------------------------- Notice / empty ------------------------------- */
.ct-notice {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------- Responsive ------------------------------- */
@media (max-width: 1000px) {
  /* Stacked: the editor no longer shares a height with the sidebar, so give it
     back a sensible standalone minimum. */
  .ct-editor { grid-template-columns: 1fr; }
  .ct-ed-wrap { min-height: 340px; }
  .ct-table { overflow-x: auto; }
  .ct-row { grid-template-columns: 2fr 1.1fr 0.7fr 1.2fr 1fr 0.8fr; min-width: 820px; }
}
@media (max-width: 640px) {
  .ct-hero-inner, .ct-tabs-inner, .ct-main { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   Page Detail — per-page content-quality report (page.html)
   ============================================================ */
.pd-hero-inner { max-width: 90%; margin: 0 auto; padding: 28px 32px 4px; }
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  text-decoration: none;
}
.pd-back:hover { color: var(--ink); }
.pd-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pd-head-copy { min-width: 0; }
.pd-title {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 6px;
}
.pd-url { font-size: 15px; color: #2F6FE0; font-weight: 600; text-decoration: none; }
.pd-url:hover { text-decoration: underline; }
.pd-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 11px;
  text-decoration: none;
}
.pd-live:hover { background: var(--ink); color: #fff; }
.pd-live:hover svg path { stroke: #fff; }

.pd-main { flex: 1; max-width: 90%; width: 100%; margin: 0 auto; padding: 26px 32px 56px; }
.pd-panel { animation: ctFadeUp 0.35s ease both; }

/* summary */
.pd-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.pd-stat {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 22px;
}
.pd-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pd-stat-label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.pd-stat-num { font-family: "Lexend", sans-serif; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.5px; }
.pd-stat-sub { font-size: 12.5px; color: var(--muted3); margin-top: 8px; }
.pd-stat .ct-pill + .pd-stat-sub { margin-top: 9px; }
.pd-stat-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

/* content blocks */
.pd-blocks-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); margin: 0 0 16px; }
.pd-blocks { display: flex; flex-direction: column; gap: 16px; }
.pd-block {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 22px 24px;
}
.pd-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-block-head-left { display: flex; align-items: center; gap: 10px; }
.pd-chip {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted2);
  background: #F1F4F9;
  border: 1px solid #E5E9F0;
  border-radius: 7px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pd-issue-note { font-size: 13px; color: var(--muted3); }
.pd-block-meta { display: flex; align-items: center; gap: 12px; }
.pd-words { font-size: 12.5px; color: var(--muted3); }
.pd-copy { margin: 0; font-size: 16px; line-height: 1.85; color: var(--body2); }
.pd-run.spelling {
  background: #FCECEC;
  color: #B93636;
  border-radius: 3px;
  padding: 0 2px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #D14545;
  text-underline-offset: 3px;
  cursor: help;
}
.pd-run.grammar {
  background: #FCF6E4;
  color: #8A6410;
  border-radius: 3px;
  padding: 0 2px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #E0A21E;
  text-underline-offset: 3px;
  cursor: help;
}

.pd-block-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid #F1F4F8; }
.pd-target { display: flex; align-items: center; gap: 10px; }
.pd-target-label { font-size: 12.5px; font-weight: 700; color: var(--muted3); text-transform: uppercase; letter-spacing: 0.4px; }
.pd-segmented { display: flex; background: #F1F4F9; border: 1px solid #E5E9F0; border-radius: 10px; padding: 3px; gap: 3px; }
.pd-segment {
  appearance: none;
  border: none;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted2);
}
.pd-segment.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(18, 38, 63, 0.12); }
.pd-fix {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 11px;
  padding: 11px 18px;
  box-shadow: 0 6px 16px rgba(232, 64, 42, 0.26);
}
.pd-fix:hover { background: #D0322A; }
.pd-fix:disabled { opacity: 0.65; cursor: default; }

/* rewrite result */
.pd-result { margin-top: 16px; background: #FBFCFE; border: 1px solid #EEF1F6; border-radius: 12px; padding: 18px 20px; animation: ctFadeUp 0.3s ease both; }
.pd-result-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-result-head-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-result-avatar { width: 28px; height: 28px; border-radius: 50% 50% 50% 5px; background: var(--red); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pd-result-title { font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); }
.pd-fixed-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E7F7F1;
  border: 1px solid #CDEDE1;
  color: #1F8A5B;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.pd-copy-btn { background: #fff; border: 1px solid #DCE1E9; color: var(--ink); font-family: "Lexend", sans-serif; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 9px; }
.pd-copy-btn:hover { border-color: var(--ink); }
.pd-copy-btn.copied { color: #1F8A5B; border-color: #CDEDE1; background: #E7F7F1; }
.pd-result-body { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--body2); }
.pd-result-body.pd-result-error { color: #D14545; }

.pd-notice {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, 0.05);
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1000px) {
  .pd-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pd-hero-inner, .pd-main { padding-left: 20px; padding-right: 20px; }
  .pd-summary { grid-template-columns: 1fr; }
}

/* ------------------------- Bulk rewrite-all (Rewrite tab) ------------------------- */
.ct-pill.queued, .ct-pill.cancelled { color: #5B6B82; background: #EEF2F8; border: 1px solid #DDE4EE; }
.ct-pill.running { color: #B5772E; background: #FCF6E4; border: 1px solid #F1E7C4; }
.ct-pill.done, .ct-pill.completed { color: #1F8A5B; background: #E7F7F1; border: 1px solid #CDEDE1; }
.ct-pill.failed { color: #D14545; background: #FCECEC; border: 1px solid #F5D5D5; }

.ct-rw-card { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 22px 24px; box-shadow: 0 4px 16px rgba(18,38,63,0.04); margin-bottom: 20px; }
.ct-rw-title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.ct-rw-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; max-width: 680px; line-height: 1.5; }
.ct-rw-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ct-rw-controls .ct-segmented { margin-bottom: 0; }
.ct-rw-flabel { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; color: var(--muted2); }
.ct-btn-primary { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 14px; color: #fff; background: #5B3FD1; border: none; border-radius: 11px; padding: 11px 18px; cursor: pointer; }
.ct-btn-primary:hover { background: #4B32B4; }
.ct-btn-primary:disabled { background: #B9AEE8; cursor: default; }
.ct-btn-ghost { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 12.5px; color: #3B4757; background: #fff; border: 1px solid var(--card-border); border-radius: 9px; padding: 7px 12px; cursor: pointer; }
.ct-btn-ghost:hover { border-color: #5B3FD1; color: #5B3FD1; }
.ct-rw-error { margin-top: 12px; font-size: 13px; color: #C0392B; background: #FCECEC; border: 1px solid #F5D5D5; border-radius: 10px; padding: 10px 12px; }

.ct-rw-progress-card { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; }
.ct-rw-progress-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ct-rw-level, .ct-rw-counts { font-size: 13px; color: var(--muted); }
.ct-rw-spacer { flex: 1; }
.ct-progress { height: 10px; background: #EEF2F8; border-radius: 999px; overflow: hidden; }
.ct-progress-fill { height: 100%; background: linear-gradient(90deg, #7A5AF0, #5B3FD1); border-radius: 999px; transition: width .4s ease; }

.ct-rw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ct-rw-toolbar .ct-segmented.sm { margin-bottom: 0; }
.ct-rw-count { font-size: 13px; color: var(--muted2); }
.ct-thead.ct-rw-trow, .ct-row.ct-rw-trow { grid-template-columns: 2.4fr 0.8fr 1fr 2fr 0.9fr; min-width: 760px; }
.ct-rw-summary { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-empty { padding: 34px; text-align: center; font-size: 14px; color: var(--muted); }

.ct-rw-review { margin-top: 18px; background: #FBFCFE; border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 18px; animation: ctFadeUp .3s ease both; }
.ct-rw-review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ct-rw-review-top strong { font-family: "Poppins", sans-serif; font-size: 14.5px; color: var(--ink); }
.ct-rw-review-x { background: none; border: none; font-size: 15px; color: var(--muted2); cursor: pointer; }
.ct-rw-review-actions { margin-bottom: 12px; }
.ct-rw-block { border-top: 1px solid var(--card-border); padding: 12px 0; }
.ct-rw-block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ct-rw-tag { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #8791A0; }
.ct-rw-copy { margin-left: auto; font-size: 12px; color: #5B3FD1; background: none; border: 1px solid #E1DBF5; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.ct-rw-block-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-rw-col-label { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #8791A0; margin-bottom: 4px; }
.ct-rw-orig { font-size: 13px; color: var(--muted); line-height: 1.5; white-space: pre-wrap; }
.ct-rw-new { font-size: 13px; color: var(--ink); line-height: 1.5; white-space: pre-wrap; }
@media (max-width: 720px) { .ct-rw-block-cols { grid-template-columns: 1fr; } }

/* ---- Per-page "Fix all on this page" bar (page-detail view) ---- */
.pd-fixall-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #F7F4FE; border: 1px solid #E1DBF5; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.pd-fixall-left { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.pd-fixall-title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px; color: #16273F; }
.pd-fixall-sub { font-size: 12.5px; color: #5F6A79; }
.pd-fixall-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-fixall-btn { white-space: nowrap; cursor: pointer; }
.pd-fixall-error { flex-basis: 100%; font-size: 13px; color: #C0392B; }
.pd-result-summary { margin: 8px 0 0; font-size: 12.5px; color: #5F6A79; font-style: italic; }
.pd-result-error { background: #FCECEC; border-color: #F5D5D5; }
