.crc-main {
  background: #ffffff;
}

.crc-stage {
  position: relative;
  overflow: hidden;
  padding: 72px 0 104px;
  background:
    radial-gradient(circle at top center, rgba(78, 141, 255, 0.28) 0, rgba(78, 141, 255, 0) 30%),
    linear-gradient(180deg, #093a85 0%, #042f74 60%, #03285f 100%);
}

.crc-stage::before,
.crc-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.crc-stage::before {
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(140, 193, 255, 0.12);
  left: -230px;
  bottom: -300px;
  box-shadow:
    0 0 0 56px rgba(140, 193, 255, 0.06),
    0 0 0 112px rgba(140, 193, 255, 0.035);
}

.crc-stage::after {
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(140, 193, 255, 0.12);
  right: -260px;
  bottom: -260px;
  box-shadow:
    0 0 0 48px rgba(140, 193, 255, 0.05),
    0 0 0 96px rgba(140, 193, 255, 0.025);
}

.crc-stage-inner {
  position: relative;
  z-index: 1;
}

.crc-hero-copy {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.crc-title {
  margin: 0;
  color: #ffffff;
}

.crc-subtitle {
  margin: 12px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.crc-tabbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 18px;
}

.crc-tab {
  min-width: 118px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.crc-tab:hover,
.crc-tab:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.crc-tab.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a418f;
  transform: translateY(2px);
}

.crc-shell {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(8, 33, 84, 0.08);
  box-shadow: 0 32px 60px rgba(3, 18, 54, 0.22);
  overflow: hidden;
}

.crc-shell-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  padding: 28px 28px 20px;
}

.crc-source-panels {
  min-height: 140px;
}

.crc-source-panel {
  display: block;
}

.crc-source-panel[hidden] {
  display: none !important;
}

.crc-panel-note {
  min-height: 140px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #dbe7ff;
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.9), rgba(234, 242, 255, 0.82));
  color: #21426f;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.crc-upload-zone {
  min-height: 140px;
  padding: 22px;
  border-radius: 18px;
  border: 1.5px dashed #9ebff2;
  background:
    linear-gradient(180deg, rgba(245, 249, 255, 0.96), rgba(232, 241, 255, 0.88));
  text-align: center;
  color: #21426f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.crc-upload-zone.is-dragging,
.crc-upload-zone:hover,
.crc-upload-zone:focus-visible {
  border-color: #387fe8;
  background:
    linear-gradient(180deg, rgba(237, 245, 255, 0.98), rgba(224, 236, 255, 0.9));
  outline: none;
}

.crc-upload-zone h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #0d305b;
}

.crc-upload-zone p {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(13, 48, 91, 0.78);
}

.crc-upload-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #ebf3ff);
  color: #0b63ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 30px rgba(8, 56, 133, 0.08);
}

.crc-upload-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.crc-secondary-btn,
.crc-muted-btn,
.crc-primary-btn,
.crc-action-link {
  border: 0;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.crc-secondary-btn {
  min-width: 148px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b63ea;
  box-shadow: 0 14px 30px rgba(8, 56, 133, 0.12);
}

.crc-secondary-btn:hover,
.crc-secondary-btn:focus-visible,
.crc-muted-btn:hover,
.crc-muted-btn:focus-visible,
.crc-primary-btn:hover,
.crc-primary-btn:focus-visible,
.crc-action-link:hover,
.crc-action-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.crc-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef4ff;
  color: #20406d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.crc-status.is-error {
  background: #fff1f1;
  color: #9f2f2f;
}

.crc-status.is-success {
  background: #ecfff5;
  color: #14623c;
}

.crc-status.is-loading {
  background: #eef4ff;
  color: #0b63ea;
}

.crc-label {
  margin: 16px 0 8px;
  color: #0d305b;
  font-size: 14px;
  font-weight: 700;
}

.crc-textarea {
  width: 100%;
  min-height: 340px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid #dbe7ff;
  background: #fafcff;
  color: #203657;
  font-size: 15px;
  line-height: 1.72;
  resize: vertical;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.crc-textarea:focus {
  border-color: #6ea0ef;
  box-shadow: 0 0 0 4px rgba(11, 99, 234, 0.1);
}

.crc-textarea[readonly] {
  background: #f5f8fc;
}

.crc-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.crc-muted-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #19437e;
}

.crc-source-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f7ff;
  border: 1px solid #d7e4ff;
  color: #25477b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.crc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crc-side-panel {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f8ff, #eef4ff);
  border: 1px solid #dae7ff;
  text-align: left;
}

.crc-side-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d88ad;
  font-weight: 700;
}

.crc-side-value {
  margin-top: 8px;
  color: #0b63ea;
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
}

.crc-side-caption {
  margin-top: 6px;
  color: #23446f;
  font-size: 14px;
  line-height: 1.45;
}

.crc-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.crc-side-stat {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e1ebff;
  background: #ffffff;
}

.crc-side-stat-label {
  display: block;
  font-size: 12px;
  color: #6e87aa;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crc-side-stat-value {
  display: block;
  margin-top: 6px;
  color: #14355d;
  font-size: 24px;
  line-height: 1.1;
}

.crc-shell-bottom {
  padding: 0 28px 28px;
  text-align: center;
}

.crc-primary-btn {
  min-width: 240px;
  padding: 16px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f8bff, #0b63ea);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(7, 51, 125, 0.24);
}

.crc-primary-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.crc-results {
  max-width: 1040px;
  margin: 28px auto 0;
}

.crc-results-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(8, 33, 84, 0.08);
  box-shadow: 0 32px 60px rgba(3, 18, 54, 0.18);
  padding: 30px 28px 32px;
}

.crc-results-overview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.crc-gauge-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crc-gauge {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}

.crc-gauge-track,
.crc-gauge-fill {
  fill: none;
  stroke-width: 7;
}

.crc-gauge-track {
  stroke: #e8eef7;
}

.crc-gauge-fill {
  stroke: #efb319;
  stroke-linecap: round;
  stroke-dasharray: 351.86;
  stroke-dashoffset: 351.86;
  transition: stroke-dashoffset 0.5s ease;
}

.crc-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: #14355d;
}

.crc-gauge-center strong {
  display: block;
  width: 100%;
  font-size: 34px;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.crc-gauge-center span {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #6a85a7;
}

.crc-section-kicker {
  color: #315a95;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.crc-results-copy h2 {
  margin: 6px 0 10px;
  color: #102f57;
  font-size: 32px;
  line-height: 1.2;
}

.crc-results-copy p {
  margin: 0;
  color: #25456f;
  font-size: 16px;
  line-height: 1.62;
}

.crc-result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.crc-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid #0e6b62;
  background: linear-gradient(180deg, #118877, #0b6f62);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(11, 111, 98, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.crc-action-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #149482, #0d7f71);
  box-shadow: 0 14px 26px rgba(11, 111, 98, 0.24);
}

.crc-action-link:focus-visible {
  background: linear-gradient(180deg, #149482, #0d7f71);
  box-shadow: 0 0 0 4px rgba(17, 136, 119, 0.18);
}

.crc-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.crc-action-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#crcResetTool .crc-action-icon svg {
  fill: currentColor;
  stroke: none;
}

.crc-action-link.is-secondary {
  color: #7b4512;
  background: linear-gradient(180deg, #fff3df, #ffe4bf);
  border-color: #efc47d;
  box-shadow: 0 8px 18px rgba(202, 138, 45, 0.16);
}

.crc-action-link.is-secondary:hover,
.crc-action-link.is-secondary:focus-visible {
  background: linear-gradient(180deg, #fff7e8, #ffdca8);
  box-shadow: 0 12px 22px rgba(202, 138, 45, 0.22);
}

.crc-action-link[disabled] {
  opacity: 1;
  background: #eef3ef;
  border-color: #d3ded8;
  color: #93a39a;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.crc-results-section {
  margin-top: 34px;
}

.crc-results-section-head h2 {
  margin: 0;
  color: #102f57;
  font-size: 30px;
  line-height: 1.2;
}

.crc-results-section-head p {
  margin: 10px 0 0;
  color: #315177;
  font-size: 15px;
  line-height: 1.6;
}

.crc-meter-card,
.crc-grade-card,
.crc-tone-card,
.crc-attention-card,
.crc-stat-card {
  border-radius: 18px;
  border: 1px solid #e0e9f9;
  background: #ffffff;
}

.crc-meter-card {
  margin-top: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #fdfefe);
}

.crc-meter-row,
.crc-grade-top,
.crc-tone-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.crc-meter-row > div,
.crc-grade-top > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.crc-meter-row h3,
.crc-grade-top h3 {
  margin: 0;
  color: #14355d;
  font-size: 18px;
  line-height: 1.25;
}

.crc-meter-row p,
.crc-grade-top p {
  margin: 6px 0 0;
  color: #6280a4;
  font-size: 13px;
  line-height: 1.5;
}

.crc-meter-row strong,
.crc-grade-top strong {
  color: #14355d;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.crc-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b63ea;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
}

.crc-detail-toggle:hover {
  color: #084db8;
}

.crc-detail-toggle:focus-visible {
  outline: 2px solid rgba(11, 99, 234, 0.28);
  outline-offset: 4px;
  border-radius: 6px;
}

.crc-detail-chevron::before {
  content: "▴";
  display: block;
  font-size: 20px;
  line-height: 1;
}

.crc-detail-card.is-collapsed .crc-detail-chevron::before {
  content: "▾";
}

.crc-meter-track,
.crc-grade-track,
.crc-tone-meter {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #ebeff6;
}

.crc-meter-track {
  margin-top: 16px;
}

.crc-meter-track span,
.crc-grade-track span,
.crc-tone-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.crc-meter-track span {
  width: 0;
  background: #3ec37d;
  transition: width 0.4s ease;
}

.crc-meter-scale,
.crc-grade-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #6a85a7;
}

.crc-meter-scale span:nth-child(2),
.crc-grade-scale span:nth-child(2) {
  color: #14355d;
  font-weight: 700;
}

.crc-meter-scale span,
.crc-grade-scale span {
  color: #5f7597;
  font-weight: 600;
}

.crc-detail-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f4f7fb;
}

.crc-detail-panel p {
  margin: 0;
  color: #1d385d;
  font-size: 15px;
  line-height: 1.65;
}

.crc-detail-formula {
  margin-top: 18px !important;
  color: #345073;
}

.crc-grade-list {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.crc-grade-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 1.1fr);
  grid-template-areas:
    "title score track"
    "title . scale"
    "panel panel panel";
  gap: 10px 24px;
  align-items: center;
  padding: 24px 22px 18px;
  border-radius: 14px;
  border-color: #dfe4eb;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(12, 31, 56, 0.02);
}

.crc-grade-top {
  display: contents;
}

.crc-grade-top > div {
  grid-area: title;
  min-width: 0;
}

.crc-grade-top > strong {
  grid-area: score;
  align-self: center;
  margin-top: 0;
  font-size: 20px;
}

.crc-grade-card .crc-detail-toggle {
  font-size: 13px;
  font-weight: 600;
}

.crc-grade-track {
  grid-area: track;
  min-width: 0;
  align-self: center;
  margin-top: 0;
  height: 10px;
  background: #e5e8ed;
}

.crc-grade-track span {
  width: 0;
  background: #efc328;
  transition: width 0.4s ease;
}

.crc-grade-scale {
  grid-area: scale;
  min-width: 0;
  margin-top: 0;
}

.crc-grade-scale span {
  color: #475f82;
  font-size: 12px;
}

.crc-grade-card .crc-detail-panel {
  grid-area: panel;
  margin-top: 4px;
  border-radius: 12px;
  background: #f4f7fb;
}

.crc-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.crc-stat-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.crc-stat-card {
  padding: 18px 16px;
  text-align: left;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.crc-stat-number {
  display: block;
  color: #0b63ea;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.crc-stat-name {
  display: block;
  margin-top: 8px;
  color: #5f7ca1;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.crc-tone-card {
  margin-top: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.crc-tone-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf4ff;
  color: #114d9d;
  font-size: 14px;
  font-weight: 700;
}

.crc-tone-confidence {
  display: inline-block;
  margin-left: 10px;
  color: #6b86aa;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

.crc-tone-meter {
  align-self: center;
  width: 210px;
}

.crc-tone-meter span {
  width: 0;
  background: #0b63ea;
  transition: width 0.4s ease;
}

.crc-tone-card p {
  margin: 14px 0 0;
  color: #294a73;
  font-size: 15px;
  line-height: 1.65;
}

.crc-attention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.crc-attention-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 18px;
  border-width: 1px 1px 1px 4px;
  background: #f7faff;
}

.crc-attention-card.is-hard {
  border-color: #e4ddcb #e4ddcb #e4ddcb #efc328;
  background: #f4efe3;
}

.crc-attention-card.is-passive {
  border-color: #d5dfef #d5dfef #d5dfef #2d8cff;
  background: #f2f5fb;
}

.crc-attention-card.is-adverb {
  border-color: #e4d9e8 #e4d9e8 #e4d9e8 #d45ee6;
  background: #f4eef5;
}

.crc-attention-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #25477b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crc-attention-card h3 {
  margin: 0;
  color: #162c49;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.crc-attention-card p,
.crc-attention-card blockquote {
  margin: 0;
  color: #305076;
  font-size: 14px;
  line-height: 1.6;
}

.crc-attention-sentence,
.crc-attention-empty {
  margin-top: 22px !important;
  color: #1f3554 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.crc-attention-empty {
  margin-top: 30px !important;
  color: #6a7d96 !important;
  text-align: center;
}

.crc-attention-meta {
  margin-top: 10px !important;
  color: #6a7d96 !important;
  font-size: 13px !important;
  font-weight: 700;
}

.crc-attention-card blockquote {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 3px solid #cadeff;
}

.crc-info-band {
  padding: 84px 0 100px;
  background: #ffffff;
}

.crc-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.crc-promo-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5f9ff, #eef4ff);
  border: 1px solid #dde9ff;
}

.crc-promo-card h2 {
  margin: 0;
  color: #14355d;
  font-size: 36px;
  line-height: 1.15;
}

.crc-promo-card p {
  margin: 14px 0 0;
  max-width: 420px;
  color: #335377;
  font-size: 16px;
  line-height: 1.7;
}

.crc-promo-card-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #87b7ff 0%, #77a7f3 46%, #bfd7ff 100%);
}

.crc-promo-visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 164px;
}

.crc-promo-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0d4a9b;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(13, 48, 91, 0.12);
}

.crc-promo-chip.chip-one {
  top: 10px;
  right: 28px;
}

.crc-promo-chip.chip-two {
  top: 68px;
  right: 116px;
}

.crc-promo-chip.chip-three {
  bottom: 22px;
  left: 28px;
}

.crc-promo-lens {
  position: absolute;
  right: 40px;
  bottom: 24px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.9);
}

.crc-promo-lens::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  right: -38px;
  bottom: 8px;
  transform: rotate(36deg);
}

.crc-promo-lines {
  position: absolute;
  left: 26px;
  top: 30px;
  width: 170px;
  height: 118px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74));
  box-shadow: 0 18px 30px rgba(13, 48, 91, 0.1);
}

.crc-promo-lines::before,
.crc-promo-lines::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(72, 129, 213, 0.18);
}

.crc-promo-lines::before {
  top: 30px;
  box-shadow: 0 24px 0 rgba(72, 129, 213, 0.18), 0 48px 0 rgba(72, 129, 213, 0.18);
}

.crc-promo-lines::after {
  top: 78px;
  right: 50px;
}

.crc-readmore {
  max-width: 1040px;
  margin: 18px auto 0;
  text-align: center;
}

.crc-readmore-link {
  color: #0b63ea;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.crc-content {
  max-width: 1040px;
  margin: 60px auto 0;
}

.crc-content h2 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
}

.crc-content p {
  margin: 0 0 12px;
  color: #000000;
  font-size: 16px;
  line-height: 1.7;
}

.crc-content ul {
  margin: 0 0 12px;
  padding-left: 24px;
}

.crc-content li {
  margin: 0 0 8px;
  color: #000000;
  font-size: 16px;
  line-height: 1.65;
}

#crcContent .serp-faq.FaqSection .FaqTitle h2 {
  margin-bottom: 30px;
}

#crcContent .serp-faq.first-faq-block .accordian-wrapper {
  background: linear-gradient(138deg, #fff0 0%, #fff0 100%);
  padding: 0.15rem;
  border-radius: 15px;
  position: relative;
}

#crcContent .serp-faq.first-faq-block .faq-boxes {
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 15px;
  border: 2px solid #a200ff38;
}

#crcContent .serp-faq.first-faq-block .faq-boxes.active {
  background-color: #fbf4ff;
  border: 2px solid #a200ff;
}

#crcContent .serp-faq .accordion-body {
  padding: 0 15px 18px 22px;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}

#crcContent .serp-faq .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 15px 18px 22px;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff0;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

#crcContent .serp-faq .accordion-button h3 {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  color: #000000;
  line-height: 1.3;
}

#crcContent .serp-faq .accordion-button:not(.collapsed) {
  color: #212529;
  background-color: #fff0;
  transition: 0.2s ease-in all;
  padding-bottom: 12px;
  border: 0;
  box-shadow: none;
}

#crcContent .serp-faq .accordion-button:focus {
  z-index: 3;
  border-color: #cecbdc;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #fff0;
}

#crcContent .serp-faq.first-faq-block .accordion-item {
  background-color: #fff0;
  border: 0 solid rgb(0 0 0 / 0.125);
  margin-bottom: 20px;
}

#crcContent .serp-faq.first-faq-block .accordion-body p {
  font-size: 16px;
  color: #000000;
  font-weight: 400;
  margin-bottom: 0;
  padding-right: 11%;
  line-height: 26px;
}

#crcContent .serp-faq.first-faq-block .accordion-button::after {
  margin-left: auto;
  content: "+";
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  align-self: center;
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #4a2574;
}

#crcContent .serp-faq.first-faq-block .accordion-button:not(.collapsed)::after {
  content: "−";
  transform: none;
}

#crcContent .serp-faq .accordion-collapse {
  display: none;
}

#crcContent .serp-faq .accordion-collapse.show {
  display: block;
}

@media (max-width: 1100px) {
  .crc-shell-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .crc-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .crc-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crc-stat-grid,
  .crc-stat-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crc-attention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .crc-results-overview,
  .crc-promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crc-gauge-wrap {
    margin: 0 auto;
  }

  .crc-results-copy {
    text-align: center;
  }

  .crc-result-actions {
    justify-content: center;
  }

  .crc-tone-top {
    flex-direction: column;
  }

  .crc-tone-meter {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .crc-stage {
    padding: 56px 0 76px;
  }

  .crc-tab {
    min-width: 0;
    border-radius: 12px;
  }

  .crc-tab.is-active {
    transform: none;
  }

  .crc-shell-top,
  .crc-shell-bottom,
  .crc-results-card,
  .crc-promo-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .crc-shell-top {
    padding-top: 20px;
  }

  .crc-sidebar,
  .crc-side-grid,
  .crc-stat-grid,
  .crc-stat-grid-compact,
  .crc-attention-grid {
    grid-template-columns: 1fr;
  }

  .crc-grade-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "score track"
      ". scale"
      "panel panel";
    gap: 12px 16px;
    align-items: start;
  }

  .crc-grade-top {
    display: contents;
  }

  .crc-grade-top > div {
    align-self: start;
  }

  .crc-grade-top > strong {
    margin-top: 0;
    font-size: 18px;
    justify-self: start;
    align-self: center;
    line-height: 1;
  }

  .crc-grade-track {
    align-self: center;
  }

  .crc-grade-scale {
    margin-top: 2px;
  }

  .crc-grade-scale span {
    white-space: nowrap;
  }

  .crc-results-copy h2,
  .crc-results-section-head h2,
  .crc-content h2,
  .crc-promo-card h2 {
    font-size: 28px;
  }

  .crc-gauge-wrap,
  .crc-gauge {
    width: 142px;
    height: 142px;
  }

  .crc-gauge-center strong {
    font-size: 34px;
  }

  #crcContent .serp-faq .accordion-button h3 {
    font-size: 18px;
  }

  #crcContent .serp-faq.first-faq-block .accordion-body p {
    padding-right: 0;
  }
}

@media (max-width: 520px) {
  .crc-results-copy p,
  .crc-results-section-head p,
  .crc-content p,
  .crc-content li {
    font-size: 15px;
  }

  .crc-grade-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
  }

  .crc-primary-btn {
    width: 100%;
    min-width: 0;
  }

  .crc-meter-row {
    flex-direction: column;
  }

  .crc-detail-panel {
    padding: 16px;
  }

  .crc-editor-actions {
    align-items: stretch;
  }
}

/* Standard tool-page layout overrides */
.tool-section {
  --crc-border: #dbe4f1;
  --crc-border-strong: #c8d5e7;
  --crc-panel: #f7faff;
  --crc-panel-2: #eef4ff;
  --crc-accent: var(--blue-100, #006aff);
  --crc-accent-hover: #0057d1;
  --crc-text: var(--berry-black-60, #0a0523);
  --crc-muted: #617089;
}

#crcTool.crc-shell {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--crc-border);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 5, 35, 0.06);
}

#crcTool .crc-tabbar {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 18px 18px 0;
  border-bottom: 0;
  background: #ffffff;
  overflow-x: auto;
  scrollbar-width: none;
}

#crcTool .crc-tabbar::-webkit-scrollbar {
  display: none;
}

#crcTool .crc-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 156px;
  max-width: none;
  height: 48px;
  margin-bottom: 0;
  padding: 0 20px;
  border: 1px solid var(--crc-border-strong);
  border-bottom-color: var(--crc-border);
  border-radius: 14px 14px 0 0;
  background: #eef3fb;
  color: #4a5f7d;
  font-family: var(--fonts--body, Heebo, Arial, sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.72);
}

#crcTool .crc-tab:hover,
#crcTool .crc-tab:focus-visible {
  background: #e4ecfa;
  border-color: #afc3e3;
  color: #234a82;
  outline: none;
}

#crcTool .crc-tab.is-active {
  background: #ffffff;
  border-color: var(--crc-border);
  border-bottom-color: #ffffff;
  color: var(--crc-accent);
  transform: none;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 3px 0 var(--crc-accent);
}

#crcTool .crc-shell-top {
  gap: 20px;
  padding: 18px 18px 18px;
}

#crcTool .crc-source-panels {
  min-height: auto;
}

#crcTool .crc-panel-note,
#crcTool .crc-upload-zone {
  min-height: 136px;
  border-radius: 14px;
  border: 1px solid #c4d5ec;
  background: linear-gradient(180deg, #edf4ff 0%, #e4eeff 100%);
  color: var(--crc-text);
}

#crcTool .crc-panel-note {
  font-size: 15px;
  line-height: 1.6;
}

#crcTool .crc-upload-zone.is-dragging,
#crcTool .crc-upload-zone:hover,
#crcTool .crc-upload-zone:focus-visible {
  border-color: var(--crc-accent);
  background: linear-gradient(180deg, #e4efff 0%, #d7e6ff 100%);
}

#crcTool .crc-upload-zone h2 {
  color: var(--crc-text);
  font-size: 22px;
}

#crcTool .crc-upload-zone p {
  color: #4b6284;
}

#crcTool .crc-upload-icon {
  background: linear-gradient(180deg, #0d78ff 0%, #005bd8 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 91, 216, 0.18);
}

#crcTool .crc-upload-types {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#crcTool .crc-upload-types span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--crc-border);
  background: #ffffff;
  color: var(--crc-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#crcTool .crc-upload-meta {
  margin-top: 4px;
  color: var(--crc-muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

#crcTool .crc-upload-meta.is-success {
  color: #1f6a43;
}

#crcTool .crc-upload-meta.is-error {
  color: #b42318;
}

#crcTool .crc-label[hidden],
#crcTool .crc-textarea[hidden] {
  display: none !important;
}

#crcTool .crc-status {
  background: var(--crc-panel-2);
  color: #20406d;
  border: 1px solid var(--crc-border);
}

#crcTool .crc-status.is-error {
  background: #fff1f1;
  border-color: #f2d1d1;
}

#crcTool .crc-status.is-success {
  background: #eefbf4;
  border-color: #caead8;
}

#crcTool .crc-status.is-loading {
  background: var(--crc-panel-2);
  border-color: var(--crc-border);
}

#crcTool .crc-label {
  color: var(--crc-text);
}

#crcTool .crc-textarea {
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid var(--crc-border);
  background: #fbfdff;
  color: var(--crc-text);
  font-size: 16px;
  line-height: 1.65;
}

#crcTool .crc-textarea:focus {
  border-color: #8ab3f7;
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.1);
}

#crcTool .crc-textarea[readonly] {
  background: #f6f9fd;
}

#crcTool .crc-secondary-btn,
#crcTool .crc-muted-btn,
#crcTool .crc-primary-btn {
  box-shadow: none;
}

#crcTool .crc-secondary-btn {
  min-width: 148px;
  padding: 12px 18px;
  border: 1px solid var(--crc-border);
  background: #ffffff;
  color: var(--crc-accent);
}

#crcTool .crc-muted-btn {
  background: #eef4ff;
  color: #19437e;
}

#crcTool .crc-primary-btn {
  background: var(--crc-accent);
}

#crcTool .crc-primary-btn:hover,
#crcTool .crc-primary-btn:focus-visible {
  background: var(--crc-accent-hover);
}

#crcTool .crc-side-panel {
  border-radius: 14px;
  background: var(--crc-panel-2);
  border: 1px solid var(--crc-border);
}

#crcTool .crc-side-stat {
  border-radius: 14px;
  border-color: var(--crc-border);
}

.crc-results {
  max-width: 1100px;
  margin: 24px auto 0;
}

.crc-results-card {
  border-radius: 16px;
  border: 1px solid var(--crc-border);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 5, 35, 0.05);
}

#crcContent.content-card {
  width: 100%;
  max-width: none;
  margin: 100px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#crcContent.content-card h2 {
  margin: 0 0 12px 0;
  color: #000000;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

#crcContent.content-card h3 {
  margin: 18px 0 8px;
  color: #000000;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

#crcContent.content-card p {
  margin: 0 0 12px;
  color: #000000;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

#crcContent.content-card ol,
#crcContent.content-card ul {
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: #000000;
  line-height: 1.55;
}

#crcContent.content-card ul {
  list-style: disc;
}

#crcContent.content-card ol {
  list-style: decimal;
}

#crcContent.content-card li {
  margin: 0 0 8px;
  color: #000000;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  display: list-item;
  padding-left: 6px;
}

@media (max-width: 480px) {
  #crcContent .serp-faq.first-faq-block .faq-boxes {
    padding-right: 18px;
  }
}

.main > .container {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  #crcTool .crc-shell-top {
    grid-template-columns: minmax(0, 1fr);
  }

  #crcTool .crc-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #crcTool .crc-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #crcTool .crc-tabbar {
    padding: 14px 14px 0;
  }

  #crcTool .crc-shell-top,
  #crcTool .crc-shell-bottom,
  .crc-results-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  #crcTool .crc-shell-top {
    padding-top: 14px;
  }

  #crcTool .crc-tab {
    min-width: 0;
    max-width: none;
    height: 46px;
    flex: 0 0 auto;
    justify-content: center;
    text-align: center;
    font-size: 15px;
  }

  #crcTool .crc-sidebar,
  #crcTool .crc-side-grid {
    grid-template-columns: 1fr;
  }

  #crcContent.content-card h2,
  .crc-results-section-head h2,
  .crc-results-copy h2 {
    font-size: 28px;
  }
}