/* Courses pages: login, my courses, watch. Builds on style.css (colours, buttons, cards). */

/* Hidden until /api/courses confirms the login (js/courses.js adds .authed), so a logged-out
   visitor never sees the course page or its Log out button before being sent to log in. */
body[data-page="courses"]:not(.authed), body[data-page="watch"]:not(.authed), body[data-page="certificate"]:not(.authed) { visibility: hidden; }

/* ---------- Login ---------- */
.course-auth { background: var(--bg-soft); }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: linear-gradient(150deg, #3b8cf2, #1f6fd6 55%, #174ea6);
  color: #fff;
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.auth-side h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; margin: 24px 0 0; }
.auth-side p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 460px; margin: 0; }
.brand-light { color: #fff; }
.brand-light .brand-name span { color: #ffd59a; }
.brand-light .brand-logo { box-shadow: none; }
.auth-points { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.auth-points li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.95); }
.auth-points li::before {
  content: "✓"; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; flex-shrink: 0;
}
.auth-card-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.auth-card-brand { display: none; margin-bottom: 20px; }
.auth-card h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 4px; }
.auth-card > .muted { margin: 0 0 22px; }
.auth-card label { font-weight: 600; font-size: 0.92rem; margin: 14px 0 8px; }
.auth-card input {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #d6dae1; border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-card input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.15); }
.password-field { position: relative; }
.password-field input { padding-right: 72px; }
.password-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: none; background: transparent; color: var(--brand-dark); font: inherit; font-weight: 600;
  font-size: 0.85rem; padding: 8px 10px; cursor: pointer; border-radius: 8px;
}
.password-toggle:hover { background: var(--bg-tint); }
.captcha-box { margin-top: 16px; min-height: 65px; }
.captcha-box[hidden] { display: none; }
.auth-card .form-status { min-height: 1.4em; margin: 14px 0 4px; }
.btn-block { width: 100%; margin-top: 4px; }
.auth-note { font-size: 0.88rem; color: var(--text-muted); text-align: center; margin: 20px 0 0; }

/* ---------- Header user chip ---------- */
.course-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.course-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-tint); color: var(--brand-ink); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.course-user-name { font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.course-back { font-weight: 600; text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 999px; }
.course-back:hover { background: var(--bg-soft); }

/* ---------- My courses ---------- */
.course-hero { padding-bottom: 28px; }
.course-list-section { padding-top: 28px; }
.course-hero .kicker { display: block; font-size: 0.85rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.course-tabs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.course-tab { border: none; background: transparent; font: inherit; font-weight: 600; color: var(--text-muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.course-tab.active { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.course-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card.locked { opacity: 0.8; }
.course-thumb { position: relative; height: 170px; background: linear-gradient(135deg, #e0ecfd, #ffeedd); display: flex; align-items: center; justify-content: center; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-thumb-letter { font-size: 3rem; font-weight: 800; color: var(--brand-dark); }
.course-lock { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 5px 12px; font-size: 0.8rem; font-weight: 700; }
.course-card-content { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card-content .tag { margin-bottom: 0; }
.course-card h3 { font-size: 1.15rem; margin: 0; }
.course-desc { margin: 0; font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-cta { align-self: flex-start; margin-top: 6px; }
.course-cta.disabled { cursor: default; }
.course-empty { grid-column: 1 / -1; text-align: center; }
.small { font-size: 0.85rem; }
.skeleton { height: 300px; background: linear-gradient(90deg, #f1f3f6 25%, #e8eaee 37%, #f1f3f6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border: none; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- Progress bars ---------- */
.course-progress-row { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.lesson-progress { flex: 1; height: 8px; border-radius: 999px; background: #e6e9ee; overflow: hidden; }
.lesson-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, #2f80ed, #fa8c16); border-radius: 999px; transition: width 0.3s ease; }

/* ---------- Watch ---------- */
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-top: 24px; padding-bottom: 48px; align-items: start; }
.player-shell { position: relative; background: #0b0f0d; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.player-shell video { width: 100%; height: 100%; display: block; background: #000; }
.player-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(11, 13, 17, 0.8); font-weight: 600; text-align: center; padding: 20px; }
.player-overlay[hidden] { display: none; }
/* Full screen button (also turns phones to landscape; js/courses.js). */
.player-fs {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: none; border-radius: 999px;
  background: rgba(11, 13, 17, 0.6); color: #fff;
  font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.player-fs:hover, .player-fs:focus-visible { background: rgba(11, 13, 17, 0.85); }
/* While the player is full screen: video only, on black, filling the screen. */
.player-shell.is-fullscreen, .player-shell:fullscreen { width: 100vw; height: 100vh; max-width: none; aspect-ratio: auto; border-radius: 0; margin: 0; background: #000; box-shadow: none; }
.player-shell.is-fullscreen video, .player-shell:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
.player-shell:-webkit-full-screen { width: 100vw; height: 100vh; border-radius: 0; background: #000; }
@media (max-width: 560px) { .player-shell:not(.is-fullscreen) .player-fs span { display: none; } .player-shell:not(.is-fullscreen) .player-fs { padding: 8px; } }
.watch-info { padding: 20px 4px 0; }
.watch-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 10px 0 4px; }
.watch-info h2 { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin: 0 0 14px; }
.watch-info .lesson-progress { max-width: 420px; }
.watch-info #lesson-progress-text { margin: 8px 0 14px; font-size: 0.9rem; }
.watch-side { padding: 0; position: sticky; top: 76px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
.curriculum-head { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px 6px; }
.curriculum-head h3 { margin: 0; font-size: 1.1rem; }
.watch-side .course-progress-row { padding: 6px 20px 14px; border-bottom: 1px solid var(--border); }
.curriculum { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.lesson { display: flex; gap: 12px; padding: 12px; border-radius: 12px; cursor: pointer; border-left: 3px solid transparent; }
.lesson:hover, .lesson:focus-visible { background: var(--bg-soft); outline: none; }
.lesson.current { background: var(--bg-tint); border-left-color: var(--brand); }
.lesson.locked { cursor: not-allowed; opacity: 0.7; }
.lesson.locked:hover { background: transparent; }
.lesson-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
  background: var(--bg-soft); color: var(--text-muted); font-weight: 800;
}
.lesson.done .lesson-icon { background: var(--brand); color: #fff; }
.lesson.current .lesson-icon { background: var(--brand-dark); color: #fff; }
.lesson-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lesson-body strong { font-size: 0.93rem; line-height: 1.35; }
.lesson-note { font-size: 0.78rem; color: var(--text-muted); }
.lesson-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.lesson-badge.done { background: var(--bg-tint); color: var(--brand-ink); }

@media (max-width: 960px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card-brand { display: inline-flex; }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-side { position: static; max-height: none; }
}
@media (max-width: 560px) {
  .course-user-name { display: none; }
  .auth-card { padding: 28px 22px; }
  .player-shell { border-radius: 12px; margin: 0 -4px; }
}

/* ---------- Certificate (certificate.html, verify.html) ---------- */
.cert-page { background: var(--bg-soft); }
.cert-wrap { padding-top: 32px; padding-bottom: 60px; }
.cert-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cert-heading { font-size: 1.8rem; margin: 0 0 4px; }
.cert-actions p { margin: 0; max-width: 560px; }
.cert-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-scroll { overflow: hidden; padding-bottom: 8px; } /* js/courses.js scales the certificate to fit */
.certificate {
  width: 1000px; max-width: none; aspect-ratio: 1.414 / 1;
  margin: 0 auto;
  background: #fffdf7;
  padding: 22px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  color: #1d2330;
}
.certificate[hidden] { display: none; }
.cert-inner {
  position: relative; height: 100%;
  border: 3px double #b8892b;
  outline: 8px solid var(--brand-dark); outline-offset: 10px;
  margin: 10px;
  padding: 34px 60px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background:
    radial-gradient(circle at 0 0, rgba(47,128,237,0.07), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(184,137,43,0.10), transparent 40%);
}
.cert-top { display: flex; align-items: center; gap: 10px; }
.cert-logo { width: 44px; height: 44px; border-radius: 12px; }
.cert-org { font-weight: 700; letter-spacing: 0.02em; }
.cert-org span { color: var(--accent); }
.cert-kicker { font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; font-weight: 700; color: var(--brand-ink); margin: 22px 0 6px; letter-spacing: 0.01em; }
.cert-line { margin: 6px 0; color: #4b5563; font-size: 1.05rem; }
.cert-name { font-family: 'Great Vibes', 'Brush Script MT', cursive; font-weight: 400; font-size: 4rem; line-height: 1.15; color: #8a6418; margin: 6px 0 2px; padding: 0 30px 4px; border-bottom: 1.5px solid #d8c18b; min-width: 60%; }
.cert-course { font-family: 'Playfair Display', Georgia, serif; font-size: 1.9rem; margin: 8px 0 4px; color: var(--text); }
.cert-meta { margin: 0; color: #6b7280; font-size: 0.95rem; }
.cert-bottom { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; }
.cert-sign { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cert-signature { font-family: 'Great Vibes', cursive; font-size: 2rem; color: #1e3a5f; line-height: 1; }
.cert-date { font-weight: 600; font-size: 1.05rem; }
.cert-sign-line { width: 220px; height: 1px; background: #9aa1ac; }
.cert-sign-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; }
.cert-seal {
  width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle, #d9a93e 0 55%, #b8892b 56% 100%);
  border: 4px dotted #fff6dc;
  box-shadow: 0 0 0 3px #b8892b;
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.1;
}
.cert-seal span { font-size: 1.9rem; font-weight: 800; }
.cert-seal small { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.cert-foot { margin: 18px 0 0; font-size: 0.78rem; color: #6b7280; }
.cert-foot strong { color: var(--text); letter-spacing: 0.04em; }

.cert-cta { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--bg-tint); border: 1px solid #cfe0fb; color: var(--brand-ink); text-decoration: none; }
.cert-cta[hidden] { display: none; }
.cert-cta:hover { border-color: var(--brand); }
.cert-cta > span:last-child { display: flex; flex-direction: column; }
.cert-cta-icon { font-size: 1.6rem; }
.cert-ready { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--brand-ink); }

.verify-result { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 24px; }
.verify-result h1 { font-size: 1.35rem; margin: 0 0 4px; }
.verify-result p { margin: 0; }
.verify-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; background: var(--bg-soft); color: var(--text-muted); }
.verify-result.valid { border-color: #a9c8f5; background: var(--bg-tint); }
.verify-result.valid .verify-icon { background: var(--brand); color: #fff; }
.verify-result.invalid { border-color: #f3c3ae; background: #fff5f0; }
.verify-result.invalid .verify-icon { background: var(--danger); color: #fff; }

@media print {
  @page { size: A4 landscape; margin: 0; }
  .no-print, .site-header, .verify-result { display: none !important; }
  body, .cert-page { background: #fff; }
  .cert-wrap { padding: 0; max-width: none; }
  .cert-scroll { overflow: visible; padding: 0; height: auto !important; }
  .certificate { width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; border-radius: 0; padding: 8mm; transform: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Page loader (book + ring), shown until the page's data is ready ---------- */
.page-loader { display: none; }
body[data-page="courses"]:not(.authed) .page-loader,
body[data-page="watch"]:not(.authed) .page-loader,
body[data-page="certificate"]:not(.authed) .page-loader,
body[data-page="verify"]:not(.authed) .page-loader {
  display: flex;
  visibility: visible; /* the rest of the page is hidden until .authed */
  position: fixed; inset: 0; z-index: 1000;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(circle at 50% 40%, var(--bg-tint), var(--bg-soft) 60%);
  animation: loaderIn 0.3s ease 0.15s both;
}
@keyframes loaderIn { from { opacity: 0; } to { opacity: 1; } }
.loader-art { position: relative; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; }
.loader-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: loaderSpin 1.4s linear infinite; }
.ring-track { fill: none; stroke: #dbe7fb; stroke-width: 6; }
.ring-arc { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 90 250; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-cap { position: absolute; top: 22px; font-size: 1.5rem; animation: capBob 1.4s ease-in-out infinite; }
@keyframes capBob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-5px) rotate(8deg); } }
.loader-book { position: relative; width: 74px; height: 48px; margin-top: 24px; perspective: 260px; }
.book-page {
  position: absolute; top: 0; width: 50%; height: 100%;
  background: #fff repeating-linear-gradient(to bottom, transparent 0 7px, #d3e3fb 7px 8px) content-box;
  padding: 7px 6px;
  border: 2px solid var(--brand-dark);
  box-sizing: border-box;
}
.book-left { left: 0; border-radius: 6px 2px 2px 6px; border-right-width: 1px; }
.book-right { right: 0; border-radius: 2px 6px 6px 2px; border-left-width: 1px; }
.book-flip {
  right: 0; border-radius: 2px 6px 6px 2px; border-left-width: 1px;
  transform-origin: left center;
  background-color: #f3f7fe;
  animation: pageFlip 1.8s ease-in-out infinite;
}
.book-flip:nth-child(4) { animation-delay: 0.3s; }
.book-flip:nth-child(5) { animation-delay: 0.6s; }
@keyframes pageFlip {
  0%, 10% { transform: rotateY(0deg); }
  60%, 100% { transform: rotateY(-180deg); }
}
.loader-text { margin: 0; font-weight: 600; color: var(--brand-ink); letter-spacing: 0.01em; }
@media (prefers-reduced-motion: reduce) {
  .loader-ring, .loader-cap, .book-flip { animation-duration: 3s; }
}

/* ---------- Public catalog: login button, clickable locked cards, "how to join" popup ---------- */
.course-user[hidden], .course-tabs[hidden], .course-login-link[hidden], .access-backdrop[hidden], .access-actions [hidden] { display: none !important; }
.course-login-link { margin-left: auto; }
button.course-card { font: inherit; text-align: left; width: 100%; cursor: pointer; }
button.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
button.course-card:focus-visible { outline: 3px solid rgba(47, 128, 237, 0.4); outline-offset: 2px; }
.course-card.locked { opacity: 1; }
.course-card.locked .course-thumb img { filter: saturate(0.85); }
body.dialog-open { overflow: hidden; }
.access-backdrop {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(16, 20, 28, 0.55);
  animation: loaderIn 0.18s ease both;
}
.access-card { position: relative; width: 100%; max-width: 440px; text-align: center; padding: 30px 26px 26px; }
.access-close { position: absolute; top: 10px; right: 12px; border: none; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--text-muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.access-close:hover { background: var(--bg-soft); color: var(--text); }
.access-icon { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.7rem; background: var(--bg-tint); margin-bottom: 10px; }
.access-card h2 { font-size: 1.3rem; margin: 0 0 8px; }
.access-card > p { margin: 0 0 16px; }
.access-steps { text-align: left; margin: 0 0 20px; padding: 14px 16px 14px 34px; background: var(--bg-soft); border-radius: 12px; display: grid; gap: 6px; font-size: 0.95rem; }
.access-steps li::marker { color: var(--brand); font-weight: 700; }
.access-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.access-actions .btn { flex: 1 1 160px; justify-content: center; }

/* ---------- Institutes: course card line, contact card in the "how to join" popup ---------- */
.course-inst { font-size: 0.85rem; font-weight: 600; color: var(--brand-ink); }
.access-inst[hidden] { display: none; }
.access-inst { text-align: left; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }
.access-inst-head { display: flex; align-items: center; gap: 12px; }
.access-inst-head > div { display: flex; flex-direction: column; }
.access-inst-head strong { font-size: 1.05rem; }
.access-inst-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); flex: none; }
.access-inst-logo[hidden] { display: none; }
.access-inst p { margin: 8px 0 0; }
.access-inst p:empty { display: none; }
.access-inst-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.access-inst-links .btn { flex: 1 1 120px; justify-content: center; }
.cert-logo { object-fit: contain; }
#cert-powered[hidden] { display: none; }

/* ---------- Player watermark: student's name + username, moving around the video ---------- */
.player-watermark {
  position: absolute; z-index: 1; left: 10%; top: 12%;
  pointer-events: none; user-select: none;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(0.7rem, 2.4vw, 1rem); font-weight: 700; letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  transition: left 1.2s ease, top 1.2s ease;
}
.player-shell.is-fullscreen .player-watermark { font-size: clamp(0.9rem, 2.2vw, 1.3rem); }
.cert-org.is-institute { font-size: 1.45rem; font-weight: 800; color: var(--brand-ink); }
.access-inst-phone { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 8px 10px 8px 12px; border-radius: 10px; background: var(--bg-soft); }
.access-inst-phone[hidden] { display: none; }
.access-inst-number { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; user-select: all; }
