/* Place details (/p/{id}/{title}), Rayeshmand26 tokens. */
.rpd { margin: 6px 0 40px; }
.rpd-head { position: relative; margin-bottom: 22px; padding: 28px 30px 26px; border-radius: 18px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 10% 0%, rgba(31, 158, 156, .5), transparent 45%), radial-gradient(circle at 100% 100%, rgba(229, 88, 63, .3), transparent 40%), var(--rm-ink, #16205b); }
.rpd-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.rpd-crumbs a { color: #9fe3e1; text-decoration: none; }
.rpd-crumbs a:hover { text-decoration: underline; }
.rpd-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.4; color: #fff; }
.rpd-fullname { margin: 6px 0 0; color: rgba(255, 255, 255, .82); }
.rpd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.rpd-badges a, .rpd-badges span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .9rem; text-decoration: none; }
.rpd-badges a:hover { background: rgba(255, 255, 255, .2); }
.rpd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rpd-btn { display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 12px; background: transparent;
  color: #fff !important; font: inherit; font-size: .95rem; text-decoration: none; cursor: pointer; }
.rpd-btn:hover, .rpd-btn:focus-visible { background: rgba(255, 255, 255, .15); }
.rpd-call { background: var(--rm-coral, #e5583f); border-color: var(--rm-coral, #e5583f); font-weight: 700; }
.rpd-call:hover { background: #c9452e; }

.rpd-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rpd-card { margin-bottom: 20px; padding: 20px 22px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 16px; background: var(--rm-card, #fff); }
.rpd-card h2, .rpd-more h2 { margin: 0 0 14px; padding-inline-start: 12px; border-inline-start: 4px solid var(--rm-coral, #e5583f); color: var(--rm-ink, #16205b); font-size: 1.15rem; }
.rpd-card h2 small { color: var(--rm-muted, #5d6475); font-weight: 400; font-size: .85rem; }
.rpd-text { margin: 0; line-height: 2.1; white-space: pre-line; }

.rpd-facilities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rpd-facilities li { padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--rm-soft, #f3f1ea); font-size: .92rem; }
.rpd-facilities li::before { content: "✓"; margin-inline-end: 6px; color: var(--rm-teal, #1f9e9c); font-weight: 700; }

.rpd-polls { margin: 0; padding: 0; list-style: none; }
.rpd-polls li { display: grid; grid-template-columns: 1fr 160px auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rm-rule, #e6e3da); }
.rpd-polls li:last-child { border-bottom: 0; }
.rpd-polls small { grid-column: 1 / -1; color: var(--rm-muted, #5d6475); font-size: .8rem; margin-top: -6px; }
.rpd-bar { position: relative; block-size: 8px; border-radius: 4px; background: var(--rm-soft, #f3f1ea); overflow: hidden; }
.rpd-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 0; border-radius: 4px; background: linear-gradient(90deg, var(--rm-teal, #1f9e9c), var(--rm-link, #005eb9)); }
.rpd-w10 i { inline-size: 10%; } .rpd-w20 i { inline-size: 20%; } .rpd-w30 i { inline-size: 30%; } .rpd-w40 i { inline-size: 40%; } .rpd-w50 i { inline-size: 50%; }
.rpd-w60 i { inline-size: 60%; } .rpd-w70 i { inline-size: 70%; } .rpd-w80 i { inline-size: 80%; } .rpd-w90 i { inline-size: 90%; } .rpd-w100 i { inline-size: 100%; }
.rpd-polls b { color: var(--rm-ink, #16205b); font-size: .9rem; white-space: nowrap; }

.rpd-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin: 0; }
.rpd-facts dt { color: var(--rm-muted, #5d6475); font-size: .88rem; }
.rpd-facts dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.rpd-facts a { color: var(--rm-link, #005eb9); }
.rpd-map iframe { display: block; inline-size: 100%; block-size: 300px; border: 0; border-radius: 12px; background: var(--rm-soft, #f3f1ea); }

.rpd-more { margin-top: 10px; }
.rpd-similar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rpd-similar a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 12px; background: var(--rm-card, #fff); text-decoration: none; }
.rpd-similar a:hover { border-color: var(--rm-link, #005eb9); }
.rpd-similar strong { color: var(--rm-ink, #16205b); }
.rpd-similar span { color: var(--rm-muted, #5d6475); font-size: .85rem; }

@media (max-width: 1000px) { .rpd-grid { grid-template-columns: 1fr; } .rpd-similar { grid-template-columns: repeat(2, 1fr); } }
/* one column (owner 2026-11-02: the contact details and the map came after the comments): the cards of both columns in
   the order a visitor needs them; comments last */
@media (max-width: 1000px) {
  .rpd-grid { display: flex; flex-direction: column; gap: 0; }
  .rpd-main, .rpd-side { display: contents; }
  .rpd-about { order: 1; }
  .rpd-facts { order: 2; }
  .rpd-map { order: 3; }
  .rpd-exams-box { order: 4; }
  .rpd-facilities-box { order: 5; }
  .rpd-rel { order: 6; }
  .rpd-polls-box { order: 7; }
  .rpd-comments-box { order: 8; }
}
@media (max-width: 640px) { .rpd-card { padding: 16px 14px; border-radius: 14px; } .rpd-head { padding: 22px 18px; } .rpd-similar { grid-template-columns: 1fr; } .rpd-polls li { grid-template-columns: 1fr auto; } .rpd-bar { grid-column: 1 / -1; } }

/* voting */
.rpd-hint { margin: -6px 0 10px; color: var(--rm-muted, #5d6475); font-size: .9rem; }
.rpd-polls li { grid-template-columns: 1fr 140px auto auto; }
.rpd-vote { display: inline-flex; gap: 6px; }
.rpd-vote button { min-inline-size: 52px; block-size: 34px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 10px; background: var(--rm-card, #fff); color: var(--rm-ink, #16205b); font: inherit; font-size: .88rem; cursor: pointer; }
.rpd-vote button:hover, .rpd-vote button:focus-visible { border-color: var(--rm-link, #005eb9); }
.rpd-vote button.rpd-mine { background: var(--rm-ink, #16205b); border-color: var(--rm-ink, #16205b); color: #fff; }
.rpd-poll.rpd-busy { opacity: .6; }
.rpd-poll.rpd-failed .rpd-vote button { border-color: var(--rm-coral, #e5583f); }
.rpd-neshan { inline-size: 100%; block-size: 300px; border-radius: 12px; overflow: hidden; background: var(--rm-soft, #f3f1ea); }
@media (max-width: 640px) { .rpd-polls li { grid-template-columns: 1fr auto; } .rpd-vote { grid-column: 1 / -1; } }
.rpd-login { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #fff4f1; border: 1px solid #f6c7bc; } .rpd-login a { color: var(--rm-coral-text, #b8361f); font-weight: 700; }

/* comments */
.rpd-avg { margin: -4px 0 12px; color: var(--rm-muted, #5d6475); }
.rpd-avg b { color: var(--rm-ink, #16205b); font-size: 1.1rem; }
.rpd-comments { margin: 0 0 18px; padding: 0; list-style: none; }
.rpd-comments li { padding: 12px 0; border-bottom: 1px solid var(--rm-rule, #e6e3da); }
.rpd-c-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; }
.rpd-c-head strong { color: var(--rm-ink, #16205b); }
.rpd-c-head time { margin-inline-start: auto; color: var(--rm-muted, #5d6475); font-size: .82rem; }
.rpd-stars { color: #e0a100; letter-spacing: 1px; font-size: .9rem; }
.rpd-c-body { margin: 0; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.rpd-empty { color: var(--rm-muted, #5d6475); }
.rpd-c-form label[for] { display: block; margin-bottom: 6px; font-weight: 700; color: var(--rm-ink, #16205b); }
.rpd-c-form textarea { inline-size: 100%; padding: 10px 12px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 12px; background: var(--rm-soft, #f3f1ea); font: inherit; resize: vertical; }
.rpd-c-form textarea:focus { outline: none; background: #fff; border-color: var(--rm-link, #005eb9); box-shadow: 0 0 0 3px rgba(0, 94, 185, .15); }
.rpd-c-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.rpd-rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rpd-rate label { position: relative; cursor: pointer; font-size: 1.9rem; line-height: 1; color: #d9d5ca; transition: color .12s, transform .12s; }
.rpd-rate input { position: absolute; opacity: 0; pointer-events: none; }
.rpd-rate label:hover, .rpd-rate label:hover ~ label,
.rpd-rate label:has(input:checked), .rpd-rate label:has(input:checked) ~ label { color: #f2b300; }
.rpd-rate label:hover { transform: scale(1.15); }
.rpd-rate label:has(input:focus-visible) { outline: 2px solid var(--rm-link, #005eb9); outline-offset: 2px; border-radius: 4px; }
.rpd-rate-text { color: var(--rm-muted, #5d6475); font-size: .9rem; }
.rpd-c-send { margin-inline-start: auto; min-block-size: 42px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--rm-coral, #e5583f); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rpd-c-send:disabled { opacity: .6; }
.rpd-c-msg { min-block-size: 1.5em; margin: 8px 0 0; color: var(--rm-muted, #5d6475); }
.rpd-c-msg a { color: var(--rm-coral-text, #b8361f); font-weight: 700; }

.rpd-more-btn { display: block; margin: 0 auto 18px; min-block-size: 40px; padding: 0 22px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 999px; background: var(--rm-card, #fff); color: var(--rm-ink, #16205b); font: inherit; cursor: pointer; }
.rpd-more-btn:hover { border-color: var(--rm-link, #005eb9); }
.rpd-stars { color: #f2b300; }
/* facilities: one line icon each (mask, so it takes the colour); unknown ones keep the check mark */
.rpd-facilities li.rpd-f { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012l5%205%209-10%27%2F%3E%3C%2Fsvg%3E"); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; }
.rpd-facilities li.rpd-f::before { content: ''; inline-size: 22px; block-size: 22px; margin: 0; background: var(--rm-teal, #1f9e9c); -webkit-mask: var(--rpd-icon, none) no-repeat center / contain; mask: var(--rpd-icon, none) no-repeat center / contain; }


.rpd-facilities li.rpd-f14085 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2018V8M3%2014h18v4M21%2014v-2a3%203%200%200%200-3-3h-7v5%27%2F%3E%3Ccircle%20cx%3D%277%27%20cy%3D%2711%27%20r%3D%272%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14086 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2019V5a2%202%200%200%201%202-2h12v16H6a2%202%200%200%200-2%202%202%202%200%200%200%202%202h12%27%2F%3E%3Cpath%20d%3D%27M8%207h6%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14087 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%274%27%20width%3D%2718%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%2020h8M12%2016v4%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14088 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%203h6M10%203v6l-5%209a2%202%200%200%200%202%203h10a2%202%200%200%200%202-3l-5-9V3%27%2F%3E%3Cpath%20d%3D%27M7.5%2015h9%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14089 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203a5%205%200%200%200-5%205v4h10V8a5%205%200%200%200-5-5zM5%2021v-9h14v9M10%2021v-4a2%202%200%200%201%204%200v4%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14090 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%279%27%20y%3D%273%27%20width%3D%276%27%20height%3D%279%27%20rx%3D%273%27%2F%3E%3Cpath%20d%3D%27M6%2010a6%206%200%200%200%2012%200M12%2016v5M8%2021h8%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14091 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M3%2012h18M12%203a14%2014%200%200%201%200%2018M12%203a14%2014%200%200%200%200%2018%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14092 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%274%27%20width%3D%2718%27%20height%3D%2713%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%2021l4-4%204%204M9%2010l2%202%204-4%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14093 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%208h14l-1%2011a2%202%200%200%201-2%202H8a2%202%200%200%201-2-2L5%208zM9%208V6a3%203%200%200%201%206%200v2%27%2F%3E%3C%2Fsvg%3E"); }
.rpd-facilities li.rpd-f14094 { --rpd-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%274%27%20y%3D%274%27%20width%3D%2716%27%20height%3D%2713%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M4%2011h16M7%2021v-4M17%2021v-4M8%2014h.01M16%2014h.01%27%2F%3E%3C%2Fsvg%3E"); }

/* stars by score: red (1) … green (5), the same in the form while choosing and on each comment */
.rpd-rate:has(input[value="1"]:checked) label:has(input:checked), .rpd-rate:has(input[value="1"]:checked) label:has(input:checked) ~ label, .rpd-rate:has(label:nth-child(5):hover) label:hover ~ label, .rpd-rate label:nth-child(5):hover { color: #e5483b; }
.rpd-rate:has(input[value="2"]:checked) label:has(input:checked), .rpd-rate:has(input[value="2"]:checked) label:has(input:checked) ~ label, .rpd-rate:has(label:nth-child(4):hover) label:hover, .rpd-rate:has(label:nth-child(4):hover) label:hover ~ label { color: #f07c2b; }
.rpd-rate:has(input[value="3"]:checked) label:has(input:checked), .rpd-rate:has(input[value="3"]:checked) label:has(input:checked) ~ label, .rpd-rate:has(label:nth-child(3):hover) label:hover, .rpd-rate:has(label:nth-child(3):hover) label:hover ~ label { color: #f2b300; }
.rpd-rate:has(input[value="4"]:checked) label:has(input:checked), .rpd-rate:has(input[value="4"]:checked) label:has(input:checked) ~ label, .rpd-rate:has(label:nth-child(2):hover) label:hover, .rpd-rate:has(label:nth-child(2):hover) label:hover ~ label { color: #8cc63f; }
.rpd-rate:has(input[value="5"]:checked) label, .rpd-rate:has(label:nth-child(1):hover) label { color: #1fa65a; }
.rpd-stars.rpd-s1 { color: #e5483b; } .rpd-stars.rpd-s2 { color: #f07c2b; } .rpd-stars.rpd-s3 { color: #f2b300; } .rpd-stars.rpd-s4 { color: #8cc63f; } .rpd-stars.rpd-s5 { color: #1fa65a; }

/* pointing at the fifth star: the stars pulse and a burst of sparkles falls from them (on hover, as the owner asked) */
.rpd-rate:has(label:nth-child(1):hover) label { animation: rpd-pulse .6s ease-out both; }
.rpd-rate:has(label:nth-child(1):hover) label:nth-child(2) { animation-delay: .05s; } .rpd-rate:has(label:nth-child(1):hover) label:nth-child(3) { animation-delay: .1s; }
.rpd-rate:has(label:nth-child(1):hover) label:nth-child(4) { animation-delay: .15s; } .rpd-rate:has(label:nth-child(1):hover) label:nth-child(5) { animation-delay: .2s; }
.rpd-rate:has(label:nth-child(1):hover) label::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 4px; block-size: 4px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 -14px #ffd34d, 12px -8px #1fa65a, 14px 6px #ff7ab6, 0 15px #5ac8fa, -13px 7px #ffd34d, -12px -8px #8cc63f, 7px -15px #ff9f43, -7px 14px #a78bfa;
  animation: rpd-sparkle .9s ease-out infinite; }
.rpd-rate:has(label:nth-child(1):hover) label:nth-child(odd)::after { animation-delay: .12s; }
@keyframes rpd-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-8deg); text-shadow: 0 0 12px rgba(31, 166, 90, .7); } 100% { transform: scale(1); } }
@keyframes rpd-sparkle { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.2); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6) translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rpd-rate label, .rpd-rate label::after { animation: none !important; } }
/* community of the school */
.rpd-members { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.rpd-members li { padding: 8px 14px; border-radius: 12px; background: var(--rm-soft, #f3f1ea); color: var(--rm-text, #2f3445); }
.rpd-members b { margin-inline-end: 4px; color: var(--rm-ink, #16205b); font-size: 1.15rem; }
.rpd-rel-q { margin: 6px 0 10px; font-weight: 700; color: var(--rm-ink, #16205b); }
.rpd-rel-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.rpd-rel-choices button { min-block-size: 38px; padding: 0 14px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 999px; background: var(--rm-card, #fff); color: var(--rm-ink, #16205b); font: inherit; font-size: .9rem; cursor: pointer; }
.rpd-rel-choices button:hover, .rpd-rel-choices button:focus-visible { border-color: var(--rm-link, #005eb9); }
.rpd-rel-choices button.rpd-on { background: var(--rm-ink, #16205b); border-color: var(--rm-ink, #16205b); color: #fff; }
.rpd-rel-year { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.rpd-rel-year[hidden] { display: none; }
.rpd-rel-year select { min-block-size: 38px; padding: 0 10px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 10px; font: inherit; }
.rpd-rel-msg { min-block-size: 1.5em; margin: 10px 0 0; color: var(--rm-muted, #5d6475); font-size: .9rem; }
.rpd-rel-msg a { color: var(--rm-coral-text, #b8361f); font-weight: 700; }
.rpd-role { padding: 1px 10px; border-radius: 999px; background: #eaf3fb; color: var(--rm-link, #005eb9); font-size: .78rem; }
.rpd-role.rpd-verified::after { content: " ✓"; font-weight: 700; }
.rpd-exams { margin: 0; padding: 0; list-style: none; }
.rpd-exams li { padding: 8px 0; border-bottom: 1px solid var(--rm-rule, #e6e3da); }
.rpd-exams li:last-child { border-bottom: 0; }
.rpd-exams a { color: var(--rm-link, #005eb9); text-decoration: none; }
.rpd-exams a::before { content: 'PDF'; margin-inline-end: 8px; padding: 1px 6px; border-radius: 4px; background: #fdecea; color: #c0392b; font-size: .72rem; font-weight: 700; }

/* role verification (sql/029) and error report (sql/030) */
.rpd-official { background: #e7f6ec !important; color: #1d7a3e !important; font-weight: 700; }
.rpd-verify { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--rm-rule, #e6e3da); border-radius: 12px; background: var(--rm-soft, #f3f1ea); }
.rpd-verify[hidden], .rpd-v-step[hidden] { display: none; }
.rpd-v-title { margin: 0 0 10px; font-weight: 700; color: var(--rm-ink, #16205b); }
.rpd-v-title small { color: var(--rm-muted, #5d6475); font-weight: 400; }
.rpd-v-step { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.rpd-v-step label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 220px; font-size: .9rem; }
.rpd-v-step input[type=tel], .rpd-v-step input[type=text] { min-block-size: 38px; padding: 0 10px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 10px; font: inherit; background: #fff; }
.rpd-v-step .rpd-hint { flex-basis: 100%; margin: 0; }
.rpd-verify button, .rpd-r-send { min-block-size: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--rm-ink, #16205b); color: #fff; font: inherit; cursor: pointer; }
.rpd-verify .rpd-v-again { background: transparent; color: var(--rm-link, #005eb9); padding: 0 6px; }
.rpd-verify button:disabled, .rpd-r-send:disabled { opacity: .6; cursor: wait; }
.rpd-v-msg, .rpd-r-msg { min-block-size: 1.4em; margin: 8px 0 0; color: var(--rm-muted, #5d6475); font-size: .9rem; }
.rpd-r-msg a { color: var(--rm-coral-text, #b8361f); font-weight: 700; }
.rpd-report { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rm-rule, #e6e3da); }
.rpd-report summary { cursor: pointer; color: var(--rm-coral-text, #b8361f); font-size: .9rem; }
.rpd-r-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rpd-r-kinds label { cursor: pointer; }
.rpd-r-kinds input { position: absolute; opacity: 0; }
.rpd-r-kinds span { display: inline-block; padding: 5px 11px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 999px; font-size: .85rem; }
.rpd-r-kinds input:checked + span { background: var(--rm-ink, #16205b); border-color: var(--rm-ink, #16205b); color: #fff; }
.rpd-r-kinds input:focus-visible + span { outline: 2px solid var(--rm-link, #005eb9); }
.rpd-r-body { display: block; inline-size: 100%; box-sizing: border-box; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 10px; font: inherit; }

/* the verified manager edits the page (sql/037) */
.rpd-medit[hidden], .rpd-medit-form[hidden] { display: none; }
.rpd-medit { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rm-rule, #e6e3da); }
.rpd-medit-open { padding: 6px 12px; border: 1px solid #1d7a3e; border-radius: 10px; background: #e7f6ec; color: #1d7a3e; font: inherit; font-weight: 700; cursor: pointer; }
.rpd-medit-form { display: grid; gap: 8px; margin-top: 10px; }
.rpd-medit-form label { display: grid; gap: 2px; font-size: .88rem; }
.rpd-medit-form input, .rpd-medit-form textarea { padding: 7px 10px; border: 1px solid var(--rm-rule, #e6e3da); border-radius: 10px; font: inherit; }
.rpd-medit-save { justify-self: start; min-block-size: 38px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--rm-ink, #16205b); color: #fff; font: inherit; cursor: pointer; }
.rpd-medit-msg { min-block-size: 1.4em; margin: 0; color: var(--rm-muted, #5d6475); font-size: .9rem; }
