:root {
  --bg: #f4f7fc;
  --panel: rgba(248, 251, 255, 0.82);
  --panel-solid: #ffffff;
  --panel-soft: #f5f8fd;
  --text: #101a2d;
  --muted: #5d6b81;
  --line: rgba(16, 26, 45, 0.08);
  --primary: #1547a6;
  --primary-deep: #0d2a66;
  --accent: #cadbff;
  --accent-strong: #4d74bc;
  --shadow: 0 28px 84px rgba(12, 23, 43, 0.12);
  --shadow-soft: 0 18px 46px rgba(12, 23, 43, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-sans:
    "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  --font-display:
    "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(21, 71, 166, 0.12), rgba(21, 71, 166, 0) 30%),
    radial-gradient(circle at left bottom, rgba(91, 126, 196, 0.1), rgba(91, 126, 196, 0) 34%),
    linear-gradient(180deg, #f8fbff, #f2f6fc 58%, #ebf1fa 100%);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  inset: 16px;
  border: 1px solid rgba(21, 71, 166, 0.05);
  border-radius: 36px;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.24)),
    repeating-linear-gradient(90deg, rgba(21, 71, 166, 0.018) 0 1px, rgba(21, 71, 166, 0) 1px 132px);
  opacity: 0.62;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
  opacity: 0.92;
  mix-blend-mode: multiply;
}

.ambient-top {
  top: -160px;
  right: -60px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(24, 58, 105, 0.26), rgba(24, 58, 105, 0));
}

.ambient-bottom {
  bottom: -220px;
  left: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(91, 126, 196, 0.58), rgba(91, 126, 196, 0));
}

.standalone-page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 34px;
}

.standalone-slide {
  width: min(100%, 1240px);
  min-height: calc(100vh - 56px);
}

.slide-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.microcheck-shell {
  justify-content: flex-start;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.ghost-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease),
    color 220ms var(--ease);
}

.ghost-button {
  border: 1px solid rgba(24, 33, 49, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.primary-button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 36, 70, 0.22);
}

.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
}

.microcheck-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 255, 0.95)),
    var(--panel);
  box-shadow: var(--shadow);
}

.microcheck-stage::before,
.microcheck-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.microcheck-stage::before {
  top: -180px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(24, 58, 105, 0.16), rgba(24, 58, 105, 0));
}

.microcheck-stage::after {
  bottom: -200px;
  left: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(91, 126, 196, 0.32), rgba(91, 126, 196, 0));
}

.microcheck-stage-head,
.microcheck-layout {
  position: relative;
  z-index: 1;
}

.microcheck-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.microcheck-stage-title {
  max-width: 660px;
}

.microcheck-stage-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.98rem, 3.15vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.microcheck-stage-title .section-subtitle {
  margin-top: 6px;
  max-width: 680px;
  font-size: 0.84rem;
  line-height: 1.46;
}

.microcheck-stage-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  gap: 8px;
  min-width: 330px;
}

.microcheck-stage-rail article {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 247, 255, 0.9)),
    var(--panel-soft);
}

.microcheck-stage-rail strong {
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.microcheck-stage-rail span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.22;
}

.microcheck-layout {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}

.microcheck-left {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}

.microcheck-control-head {
  display: grid;
  gap: 2px;
  padding: 0 2px;
}

.microcheck-control-head span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.microcheck-control-head strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.microcheck-control-head p {
  display: none;
}

.microcheck-form {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 255, 0.9)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.microcheck-auto-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 58, 105, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(242, 247, 255, 0.92));
}

.microcheck-auto-card span {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.microcheck-auto-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.32;
}

.microcheck-auto-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.microcheck-hidden-fields {
  display: grid;
  gap: 10px;
}

.microcheck-hidden-fields .microcheck-input-grid,
.microcheck-hidden-fields .microcheck-platform-row {
  display: none;
}

.microcheck-hidden-fields .microcheck-generator {
  display: grid;
}

.microcheck-mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 58, 105, 0.08);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.92);
}

.microcheck-mode-card p,
.microcheck-generator-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.microcheck-mode-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.microcheck-target-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(24, 58, 105, 0.06);
}

.microcheck-target-toggle button {
  appearance: none;
  min-width: 78px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(24, 58, 105, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.microcheck-target-toggle button.is-active {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(24, 58, 105, 0.12);
  color: var(--primary-deep);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.input-grid label {
  display: grid;
  gap: 10px;
}

.input-grid label span {
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.input-grid .span-2 {
  grid-column: span 2;
}

.input-grid input,
.microcheck-input-grid textarea {
  width: 100%;
  border: 1px solid rgba(24, 33, 49, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.input-grid input {
  min-height: 60px;
  padding: 0 18px;
}

.microcheck-input-grid textarea {
  min-height: 78px;
  padding: 14px 16px;
  resize: none;
}

.input-grid input:focus,
.microcheck-input-grid textarea:focus {
  border-color: rgba(24, 58, 105, 0.28);
  box-shadow: 0 0 0 4px rgba(24, 58, 105, 0.08);
}

.microcheck-generator {
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 74, 141, 0.08);
  border-radius: 22px;
  background: rgba(249, 251, 255, 0.92);
}

.microcheck-generator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.microcheck-generator-head strong {
  display: block;
}

.microcheck-generator-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.microcheck-selection-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 58, 105, 0.06);
  color: rgba(24, 58, 105, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.microcheck-selection-status.is-ready {
  background: rgba(20, 153, 108, 0.12);
  color: #14855f;
}

.microcheck-selected-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(20, 74, 141, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.94));
}

.microcheck-selected-summary[hidden],
.microcheck-question-grid[hidden] {
  display: none !important;
}

.microcheck-selected-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.microcheck-selected-summary-head strong {
  display: block;
  margin-bottom: 2px;
}

.microcheck-selected-summary-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.microcheck-selected-summary-head .ghost-button {
  min-height: 36px;
  min-width: 96px;
  padding: 0 14px;
}

.microcheck-selected-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: min(260px, 34vh);
  overflow: auto;
  padding-right: 4px;
}

.microcheck-selected-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(20, 74, 141, 0.08);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.88);
}

.microcheck-selected-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  border-radius: 9px;
  background: rgba(20, 74, 141, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.microcheck-selected-item strong {
  font-size: 0.9rem;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.microcheck-question-grid {
  display: none;
}

.microcheck-platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.microcheck-platform-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 74, 141, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.microcheck-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 74, 141, 0.08);
}

.microcheck-service-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(13, 31, 51, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.microcheck-service-status.is-online {
  background: rgba(14, 126, 70, 0.1);
  color: #0f6f48;
}

.microcheck-service-status.is-offline {
  background: rgba(189, 56, 38, 0.1);
  color: #b04735;
}

.result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 255, 0.94)),
    var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(24, 58, 105, 0.8), rgba(91, 126, 196, 0.72), rgba(91, 126, 196, 0));
  opacity: 0.72;
}

.microcheck-result {
  position: relative;
  display: grid;
  padding: 18px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    var(--panel);
}

.result-empty,
.result-stack {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.microcheck-empty {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 12px;
  min-height: 100%;
}

.microcheck-empty-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: stretch;
}

.microcheck-empty-head h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.microcheck-empty-head p,
.result-card p,
.modal-body p,
.modal-body li,
.platform-signal-card p,
.platform-signal-card li,
.result-list li {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.microcheck-empty-score {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(24, 58, 105, 0.18), rgba(24, 58, 105, 0)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(233, 241, 255, 0.96));
}

.microcheck-empty-score span {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.microcheck-empty-score strong {
  color: var(--primary);
  font-size: clamp(3rem, 5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.microcheck-empty-score p {
  font-size: 0.88rem;
  line-height: 1.5;
}

.microcheck-empty-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.microcheck-empty-modules article,
.microcheck-empty-platforms {
  padding: 14px 16px;
  border: 1px solid rgba(20, 74, 141, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.92)),
    var(--panel-solid);
}

.microcheck-empty-modules span,
.microcheck-empty-platforms span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.microcheck-empty-modules strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.34;
}

.microcheck-empty-modules p {
  font-size: 0.86rem;
  line-height: 1.52;
}

.microcheck-empty-platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.microcheck-empty-platform-list em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 58, 105, 0.06);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.microcheck-picker-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 100%;
}

.microcheck-picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 10px;
  align-items: stretch;
}

.microcheck-picker-head h3,
.microcheck-report-overview h3,
.microcheck-summary-head h3 {
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.microcheck-picker-head p,
.microcheck-report-lead-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.46;
}

.microcheck-picker-meta,
.microcheck-score-box {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(24, 58, 105, 0.18), rgba(24, 58, 105, 0)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(233, 241, 255, 0.96));
}

.microcheck-picker-count {
  display: inline-flex;
  align-items: center;
  justify-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 58, 105, 0.08);
  color: rgba(24, 58, 105, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
}

.microcheck-picker-count.is-ready {
  background: rgba(20, 153, 108, 0.12);
  color: #14855f;
}

.microcheck-picker-meta strong {
  font-size: 0.96rem;
  line-height: 1.3;
}

.microcheck-picker-meta p {
  font-size: 0.8rem;
  line-height: 1.42;
}

.microcheck-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.microcheck-picker-card,
.microcheck-question-choice {
  appearance: none;
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 74, 141, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.92));
  text-align: left;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.microcheck-picker-card:hover {
  transform: translateY(-1px);
}

.microcheck-question-choice.is-selected {
  border-color: rgba(20, 74, 141, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(237, 244, 255, 0.96));
  box-shadow: 0 8px 18px rgba(18, 52, 90, 0.06);
}

.microcheck-question-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.microcheck-question-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 10px;
  background: rgba(20, 74, 141, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.microcheck-question-choice-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(106, 120, 145, 0.12);
  color: #6a7488;
  font-size: 0.72rem;
  font-weight: 700;
}

.microcheck-question-choice strong {
  font-size: 0.88rem;
  line-height: 1.36;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.microcheck-question-choice.is-selected .microcheck-question-choice-state {
  background: rgba(20, 153, 108, 0.12);
  color: #14855f;
}

.microcheck-summary {
  display: grid;
  gap: 18px;
}

.microcheck-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.microcheck-score-box strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.microcheck-score-box span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.microcheck-report-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  min-height: 100%;
}

.microcheck-report-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.microcheck-report-lead {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.microcheck-report-actions {
  display: grid;
  grid-template-columns: 168px;
  gap: 8px;
}

.microcheck-report-company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(91, 126, 196, 0.22);
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.microcheck-report-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 168px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 74, 141, 0.07);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(210, 227, 255, 0.5), rgba(210, 227, 255, 0)),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 247, 255, 0.94));
  box-shadow: 0 12px 28px rgba(18, 52, 90, 0.06);
  text-align: left;
}

.microcheck-ppt-export {
  display: grid;
  gap: 3px;
  width: 168px;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #112a58, #1d66d2 58%, #42d4ff);
  color: #fff;
  box-shadow: 0 16px 32px rgba(20, 74, 141, 0.2);
  text-align: left;
}

.microcheck-ppt-export span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.microcheck-ppt-export strong {
  font-size: 0.88rem;
  line-height: 1.2;
}

.microcheck-report-trigger-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.microcheck-report-trigger-copy span {
  color: rgba(20, 74, 141, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.microcheck-report-trigger-copy strong {
  font-size: 0.8rem;
  line-height: 1.2;
}

.microcheck-report-trigger-score {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 50px;
}

.microcheck-report-trigger-score em {
  color: var(--primary);
  font-style: normal;
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.microcheck-report-trigger-score b {
  color: rgba(20, 74, 141, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
}

.microcheck-report-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.microcheck-report-strip article {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(240, 245, 255, 0.92));
}

.microcheck-report-strip span {
  color: rgba(20, 74, 141, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.microcheck-report-strip strong {
  font-size: 0.92rem;
  line-height: 1.28;
}

.microcheck-report-main {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

.microcheck-question-board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  padding: 16px 18px;
  border: 1px solid rgba(20, 74, 141, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.microcheck-report-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.microcheck-report-board-head strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.microcheck-report-board-head span {
  color: rgba(53, 92, 150, 0.74);
  font-size: 0.82rem;
  line-height: 1.46;
}

.microcheck-question-matrix {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
}

.microcheck-question-matrix-head,
.microcheck-question-matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, 34px);
  gap: 6px;
  align-items: center;
}

.microcheck-question-matrix-head {
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(20, 74, 141, 0.08);
}

.microcheck-question-matrix-head span {
  text-align: center;
  color: rgba(53, 92, 150, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.microcheck-question-matrix-title {
  text-align: left !important;
}

.microcheck-question-matrix-body {
  display: grid;
  grid-template-rows: none;
  gap: 6px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.microcheck-question-matrix-copy {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.microcheck-question-matrix-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 30px;
  border-radius: 12px;
  background: rgba(73, 118, 188, 0.08);
  color: rgba(53, 92, 150, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
}

.microcheck-question-matrix-text strong {
  display: block;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.32;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.microcheck-question-matrix-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 32px;
  border-radius: 12px;
  background: rgba(20, 74, 141, 0.06);
  color: #5b6780;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.microcheck-question-matrix-cell.platform-status-positive {
  background: rgba(20, 153, 108, 0.12);
  color: #14855f;
}

.microcheck-question-matrix-cell.platform-status-neutral {
  background: rgba(244, 190, 78, 0.18);
  color: #9f6c00;
}

.microcheck-question-matrix-cell.platform-status-negative,
.microcheck-question-matrix-cell.platform-status-error {
  background: rgba(106, 120, 145, 0.12);
  color: #6a7488;
}

.microcheck-question-matrix-cell.is-loading {
  background: rgba(20, 74, 141, 0.06);
}

.microcheck-assessment {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(20, 74, 141, 0.05);
}

.microcheck-warning {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(197, 143, 12, 0.12);
  color: #8a6110;
  font-size: 0.9rem;
  line-height: 1.6;
}

.microcheck-assessment h4 {
  margin: 0;
}

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

.platform-signal-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    var(--panel-solid);
  box-shadow: 0 14px 32px rgba(18, 52, 90, 0.06);
}

.platform-signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-signal-head strong {
  font-size: 1.02rem;
}

.platform-signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-signal-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 74, 141, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.platform-signal-card ul,
.result-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.platform-status-positive .status-chip {
  background: rgba(14, 126, 70, 0.1);
  color: #0f6f48;
}

.platform-status-neutral .status-chip {
  background: rgba(197, 143, 12, 0.12);
  color: #9c6d00;
}

.platform-status-negative .status-chip {
  background: rgba(189, 56, 38, 0.1);
  color: #b04735;
}

.platform-status-error .status-chip {
  background: rgba(13, 31, 51, 0.08);
  color: var(--muted);
}

.toast[hidden],
.modal[hidden] {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 40;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(13, 31, 51, 0.92);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 36px rgba(13, 31, 51, 0.2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 21, 39, 0.4);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(24, 58, 105, 0.08);
  color: var(--primary-deep);
  font-size: 1.5rem;
}

.summary-report {
  display: grid;
  gap: 18px;
}

.summary-hero {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(21, 71, 166, 0.98), rgba(13, 42, 102, 0.92));
  color: #fff;
}

.summary-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.summary-hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-metrics article,
.summary-question-row {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 74, 141, 0.05);
}

.summary-metrics span,
.summary-section > span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

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

.summary-section {
  display: grid;
  gap: 12px;
}

.summary-section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.summary-question-row strong {
  display: block;
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.55;
}

.summary-question-row p {
  margin: 8px 0 0;
}

.loading-shell {
  display: grid;
  gap: 16px;
}

.loading-bar {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 74, 141, 0.08), rgba(20, 74, 141, 0.18), rgba(20, 74, 141, 0.08));
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}

.loading-grid {
  display: grid;
  gap: 12px;
}

@keyframes shimmer {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 220% 0;
  }
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .standalone-page {
    min-height: auto;
  }

  .standalone-slide {
    min-height: auto;
  }

  .microcheck-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .standalone-page {
    padding: 20px;
  }

  .microcheck-stage-head,
  .microcheck-selected-summary-head,
  .microcheck-summary-head,
  .microcheck-report-overview,
  .microcheck-mode-card {
    display: grid;
  }

  .microcheck-stage-rail,
  .microcheck-empty-modules,
  .platform-signal-grid,
  .summary-grid,
  .summary-metrics {
    grid-template-columns: 1fr;
  }

  .microcheck-picker-grid,
  .microcheck-selected-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .standalone-page {
    padding: 16px;
  }

  .microcheck-stage {
    padding: 16px;
  }

  .microcheck-stage-head {
    gap: 10px;
  }

  .microcheck-stage-rail,
  .microcheck-report-strip,
  .microcheck-meta-grid {
    grid-template-columns: 1fr;
  }

  .microcheck-empty-head,
  .microcheck-picker-head {
    grid-template-columns: 1fr;
  }

  .microcheck-question-matrix-head,
  .microcheck-question-matrix-row {
    grid-template-columns: minmax(0, 1fr) repeat(5, 28px);
  }

  .microcheck-question-matrix-copy {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  .microcheck-question-matrix-index,
  .microcheck-question-matrix-cell {
    width: 28px;
    min-height: 28px;
    border-radius: 10px;
    font-size: 0.72rem;
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  .input-grid .span-2 {
    grid-column: span 1;
  }

  .microcheck-actions {
    display: grid;
  }

  .modal-dialog {
    width: min(100vw - 20px, 920px);
    margin: 10px auto;
    padding: 18px;
  }
}
