/* ====================================================
   РОП-Тест · WordPress Plugin Styles
   Все классы с префиксом .rop- для изоляции от темы
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;1,400&display=swap');

.rop-app {
  --rop-teal:       #2E7D7A;
  --rop-teal-dark:  #1a5553;
  --rop-teal-light: #e4f0ef;
  --rop-sand:       #faf8f3;
  --rop-sand-alt:   #f4f2ea;
  --rop-warm:       #c9a87c;
  --rop-warm-light: #f5ede0;
  --rop-rose:       #8B4A6B;
  --rop-rose-light: #f2e6ed;
  --rop-text:       #1c1c1c;
  --rop-text-soft:  #4a4a4a;
  --rop-text-muted: #888888;
  --rop-border:     #e5dfd4;
  --rop-white:      #ffffff;

  font-family: 'Nunito Sans', sans-serif;
  background: var(--rop-sand);
  color: var(--rop-text-soft);
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px var(--rop-border);
}

.rop-app * { box-sizing: border-box; margin: 0; padding: 0; }

/* SCREENS */
.rop-scr  { display: none; }
.rop-on   { display: block; }

/* EYEBROW */
.rop-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rop-teal);
  display: block;
  margin-bottom: 14px;
}

/* ── MODE / START SCREEN ── */
.rop-mode-hero {
  background: var(--rop-white);
  border-bottom: 1px solid var(--rop-border);
  padding: 52px 40px 40px;
  text-align: center;
}

.rop-h1 {
  font-size: 28px;
  font-weight: 300;
  color: var(--rop-text);
  line-height: 1.35;
  max-width: 560px;
  margin: 0 auto 16px;
}

.rop-h1 em, .rop-h2 em { color: var(--rop-teal); font-style: italic; }

.rop-mode-hero p {
  font-size: 14px;
  color: var(--rop-text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

.rop-meta-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 40px;
  background: var(--rop-sand-alt);
  border-bottom: 1px solid var(--rop-border);
}

.rop-meta-item { text-align: center; }
.rop-num { font-size: 22px; font-weight: 600; color: var(--rop-teal); display: block; }
.rop-lbl { font-size: 11px; color: var(--rop-text-muted); text-transform: uppercase; letter-spacing: .1em; }

.rop-mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 0 40px 44px;
}

.rop-mode-card {
  background: var(--rop-white);
  border: 1.5px solid var(--rop-border);
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  transition: all .25s;
  border-radius: 2px;
}

.rop-mode-card:hover {
  border-color: var(--rop-teal);
  background: var(--rop-teal-light);
}

.rop-mc-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.rop-mode-card h3 { font-size: 15px; font-weight: 600; color: var(--rop-text); margin-bottom: 8px; }
.rop-mode-card p  { font-size: 12px; color: var(--rop-text-muted); line-height: 1.6; }

/* ── WHO SELECT ── */
.rop-who-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 40px;
}

.rop-who-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rop-text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.rop-who-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }

.rop-who-btn {
  padding: 20px 14px;
  border: 1.5px solid var(--rop-border);
  background: var(--rop-white);
  cursor: pointer;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  transition: all .25s;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rop-who-btn:hover, .rop-who-btn.rop-sel {
  border-color: var(--rop-teal);
  background: var(--rop-teal-light);
}

.rop-ic { font-size: 24px; display: block; margin-bottom: 6px; }
.rop-tt { font-size: 15px; font-weight: 600; color: var(--rop-text); display: block; }
.rop-ss { font-size: 11px; color: var(--rop-text-muted); display: block; margin-top: 4px; }

.rop-btn-go {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--rop-teal);
  color: var(--rop-white);
  border: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s;
  border-radius: 2px;
}

.rop-btn-go:hover    { background: var(--rop-teal-dark); }
.rop-btn-go:disabled { background: var(--rop-border); color: var(--rop-text-muted); cursor: not-allowed; }

.rop-author-note {
  text-align: center;
  font-size: 11px;
  color: var(--rop-text-muted);
  padding: 0 40px 32px;
}

/* ── QUIZ SCREEN ── */
.rop-qhdr {
  background: var(--rop-white);
  border-bottom: 1px solid var(--rop-border);
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.rop-who-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rop-badge-h { background: var(--rop-teal-light); color: var(--rop-teal-dark); }
.rop-badge-w { background: var(--rop-rose-light);  color: var(--rop-rose); }

.rop-pbwrap { display: flex; align-items: center; gap: 12px; }
.rop-pbar   { flex: 1; height: 3px; background: var(--rop-border); border-radius: 2px; overflow: hidden; }

.rop-pfill { height: 100%; border-radius: 2px; transition: width .4s ease; }
.rop-pfill-h { background: var(--rop-teal); }
.rop-pfill-w { background: var(--rop-rose); }

.rop-plbl { font-size: 12px; color: var(--rop-text-muted); white-space: nowrap; min-width: 48px; text-align: right; }
.rop-blbl { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--rop-text-muted); margin-top: 5px; }

.rop-qbody { padding: 44px 40px 72px; max-width: 680px; margin: 0 auto; }
.rop-qnum  { font-size: 11px; color: var(--rop-text-muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.rop-qtxt  { font-size: 20px; font-weight: 300; color: var(--rop-text); line-height: 1.55; margin-bottom: 32px; }

.rop-slbls { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rop-slbls span { font-size: 11px; color: var(--rop-text-muted); }

.rop-sbtns { display: flex; gap: 8px; margin-bottom: 44px; }

.rop-sbtn {
  flex: 1;
  aspect-ratio: 1;
  border: 1.5px solid var(--rop-border);
  background: var(--rop-white);
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--rop-text-muted);
  transition: all .2s;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rop-sbtn:hover    { border-color: var(--rop-teal); color: var(--rop-teal); }
.rop-sbtn.rop-sh   { background: var(--rop-teal); border-color: var(--rop-teal); color: var(--rop-white); }
.rop-sbtn.rop-sw   { background: var(--rop-rose); border-color: var(--rop-rose); color: var(--rop-white); }

.rop-qnav { display: flex; justify-content: space-between; align-items: center; }

.rop-btn-prev {
  padding: 10px 20px;
  border: 1.5px solid var(--rop-border);
  background: transparent;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  color: var(--rop-text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}

.rop-btn-prev:hover { border-color: var(--rop-text-muted); }

.rop-qhint { font-size: 12px; color: var(--rop-text-muted); }

.rop-btn-nxt {
  padding: 11px 26px;
  background: var(--rop-teal);
  border: none;
  color: var(--rop-white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity .2s;
}

.rop-btn-nxt:hover    { opacity: .88; }
.rop-btn-nxt:disabled { background: var(--rop-border); cursor: not-allowed; }
.rop-btn-nxt.rop-rose { background: var(--rop-rose); }

/* ── TRANSITION SCREEN ── */
.rop-trans-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.rop-h2 {
  font-size: 22px;
  font-weight: 300;
  color: var(--rop-text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.rop-trans-wrap p {
  font-size: 14px;
  color: var(--rop-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── RESULTS SCREEN ── */
.rop-rhero {
  padding: 52px 40px 44px;
  text-align: center;
  color: var(--rop-white);
}

.rop-rhero-solo { background: var(--rop-teal-dark); }
.rop-rhero-duo  { background: linear-gradient(135deg, var(--rop-teal-dark) 40%, var(--rop-rose) 100%); }

.rop-rhero .rop-eyebrow { color: rgba(255,255,255,.5); }

.rop-rh2 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--rop-white);
}

.rop-rh2 em { color: var(--rop-warm); font-style: italic; }

.rop-rhero p { font-size: 13px; color: rgba(255,255,255,.6); }

.rop-rbody { max-width: 800px; margin: 0 auto; padding: 40px 40px 64px; }

.rop-sec-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rop-text-muted);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rop-border);
}

/* Radar chart */
.rop-chart-section { margin-bottom: 44px; }

.rop-chart-legend { display: flex; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }

.rop-legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  flex-shrink: 0;
}

.rop-legend-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--rop-text-muted);
}

.rop-radar-svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }

/* Scale bars */
.rop-scale-section { margin-bottom: 44px; }
.rop-scale-pair    { margin-bottom: 24px; }

.rop-scale-pair-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--rop-text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.rop-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }

.rop-bar-who { font-size: 11px; width: 40px; flex-shrink: 0; }
.rop-bar-who.rop-bh { color: var(--rop-teal); }
.rop-bar-who.rop-bw { color: var(--rop-rose); }

.rop-barwrap { flex: 1; height: 7px; background: var(--rop-border); border-radius: 4px; overflow: hidden; }

.rop-barfill { height: 100%; border-radius: 4px; transition: width 1.1s ease; }
.rop-barfill.rop-bh { background: var(--rop-teal); }
.rop-barfill.rop-bw { background: var(--rop-rose); }

.rop-bar-val { font-size: 13px; font-weight: 600; width: 28px; text-align: right; }
.rop-bar-val.rop-bh { color: var(--rop-teal); }
.rop-bar-val.rop-bw { color: var(--rop-rose); }

.rop-diff-note {
  background: var(--rop-warm-light);
  border: 1px solid rgba(201,168,124,.35);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--rop-text-soft);
  line-height: 1.7;
  margin-top: 8px;
}

.rop-diff-icon { color: var(--rop-warm); font-weight: 700; margin-right: 6px; }

/* Pull-quote */
.rop-pq {
  border-top: 1px solid var(--rop-border);
  border-bottom: 1px solid var(--rop-border);
  padding: 36px 0;
  margin: 36px 0;
  text-align: center;
}

.rop-pq blockquote {
  font-size: 18px;
  color: var(--rop-teal);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* Deep cards */
.rop-deep-card {
  background: var(--rop-white);
  border: 1px solid var(--rop-border);
  border-radius: 2px;
  padding: 28px;
  margin-bottom: 16px;
}

.rop-deep-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.rop-deep-card-title { font-size: 16px; font-weight: 600; color: var(--rop-text); }

.rop-score-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.rop-score-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.rop-score-badge.rop-bh { background: var(--rop-teal-light); color: var(--rop-teal-dark); }
.rop-score-badge.rop-bw { background: var(--rop-rose-light);  color: var(--rop-rose); }

.rop-deep-card p {
  font-size: 14px;
  color: var(--rop-text-soft);
  line-height: 1.8;
  margin-bottom: 10px;
}

.rop-deep-card p:last-child { margin-bottom: 0; }

.rop-tip {
  background: var(--rop-sand-alt);
  border-left: 3px solid var(--rop-teal);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--rop-text-soft);
  line-height: 1.7;
  margin-top: 14px;
  border-radius: 0 2px 2px 0;
}

.rop-match-note {
  background: var(--rop-teal-light);
  border: 1px solid rgba(46,125,122,.2);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--rop-teal-dark);
  line-height: 1.7;
  margin-top: 10px;
}

/* CTA box */
.rop-cta-box {
  background: var(--rop-teal-light);
  border: 1px solid rgba(46,125,122,.2);
  padding: 32px;
  text-align: center;
  border-radius: 2px;
  margin-top: 36px;
}

.rop-cta-box h4 { font-size: 16px; font-weight: 600; color: var(--rop-teal-dark); margin-bottom: 8px; }
.rop-cta-box p  { font-size: 13px; color: var(--rop-text-soft); margin-bottom: 20px; }

.rop-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.rop-btn-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--rop-teal);
  color: var(--rop-white);
  border: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
  text-decoration: none;
}

.rop-btn-cta:hover { background: var(--rop-teal-dark); color: var(--rop-white); }

.rop-btn-ol {
  background: transparent;
  color: var(--rop-teal);
  border: 1.5px solid var(--rop-teal);
}

.rop-btn-ol:hover { background: var(--rop-teal); color: var(--rop-white); }

/* Share box */
.rop-share-box {
  background: var(--rop-white);
  border: 1px solid var(--rop-border);
  border-radius: 2px;
  padding: 24px;
  margin-top: 16px;
}

.rop-share-box h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rop-text-muted);
  margin-bottom: 8px;
}

.rop-share-note { font-size: 12px; color: var(--rop-text-muted); margin-bottom: 12px; line-height: 1.6; }

.rop-share-input-wrap { display: flex; gap: 8px; }

.rop-share-input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--rop-border);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  color: var(--rop-text);
  background: var(--rop-sand);
  border-radius: 2px;
  outline: none;
  min-width: 0;
}

.rop-share-input:focus { border-color: var(--rop-teal); }

.rop-btn-copy {
  padding: 10px 16px;
  background: var(--rop-teal);
  color: var(--rop-white);
  border: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}

.rop-btn-copy:hover { background: var(--rop-teal-dark); }

.rop-copy-ok {
  font-size: 12px;
  color: var(--rop-teal);
  margin-top: 8px;
  display: none;
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .rop-mode-hero  { padding: 36px 20px 28px; }
  .rop-mode-cards { grid-template-columns: 1fr; padding: 0 20px 32px; }
  .rop-who-wrap   { padding: 28px 20px; }
  .rop-qbody      { padding: 28px 20px 56px; }
  .rop-qhdr       { padding: 12px 20px; }
  .rop-qtxt       { font-size: 17px; }
  .rop-sbtns      { gap: 5px; }
  .rop-rbody      { padding: 28px 20px 48px; }
  .rop-rhero      { padding: 36px 20px 32px; }
  .rop-deep-card  { padding: 20px 16px; }
  .rop-meta-row   { gap: 24px; }
  .rop-pq blockquote { font-size: 16px; }
  .rop-scale-pair-name { font-size: 11px; }
}
