/* extras.css (Package FC, 15 Oct 2026): shared small components for the lighter pages.
   chrome.mjs links it on a page holding a .tutc-row, a details.rc-more or an .rc-vis, and drops it elsewhere.
   - .tutc-row: "Watch: <question>" chips to the terminal tutorials (instiv2-tools/tut-chips.mjs)
   - details.rc-more: secondary detail behind a disclosure; the text stays in the HTML (crawlable); seo-apply.mjs
     does not read it as a FAQ question
   - .rc-vis: a captioned figure (a still or an existing chart) and .rc-pts, short labelled points */
.tutc-row { margin: 18px 0 0; }
.tutc-h { margin: 0 0 8px; font: 600 12px/1.3 "Azeret Mono", "JBM Fallback", monospace; letter-spacing: .04em; text-transform: uppercase; color: var(--page-faint, rgba(11, 18, 32, .64)); }
.tutc-row ul { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; }
@media (min-width: 640px) { .tutc-row ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tutc-row.tutc-4 ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tutc { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--page-2, #fff); box-shadow: 0 0 0 1px var(--page-line, rgba(11, 18, 32, .1)); color: var(--page-text, #0B1220); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.tutc:hover { box-shadow: 0 0 0 1px var(--accent-ink, #2463EB); transform: translateY(-1px); }
.tutc:focus-visible { outline: 3px solid var(--focus, #2463EB); outline-offset: 2px; }
.tutc-p { position: relative; flex: none; width: 48px; height: 63px; border-radius: 8px; overflow: hidden; background: var(--page-line, rgba(11, 18, 32, .1)); }
.tutc-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tutc-d { display: none !important; }
html[data-theme="dark"] .tutc-d { display: block !important; }
html[data-theme="dark"] .tutc-l { display: none !important; }
.tutc-p i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(5, 8, 15, .72); }
.tutc-p i::after { content: ""; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.tutc-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tutc-t small { font: 500 11.5px/1.2 "Azeret Mono", "JBM Fallback", monospace; color: var(--page-faint, rgba(11, 18, 32, .64)); }
.tutc-t b { font: 600 14px/1.3 Inter, "Inter Fallback", sans-serif; color: var(--page-text, #0B1220); }

details.rc-more { margin: 12px 0 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--page-line, rgba(11, 18, 32, .1)); }
details.rc-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; cursor: pointer; list-style: none; font: 600 14px/1.3 Inter, "Inter Fallback", sans-serif; color: var(--accent-ink, #2463EB); }
details.rc-more > summary::-webkit-details-marker { display: none; }
details.rc-more > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
details.rc-more[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
details.rc-more > summary:focus-visible { outline: 3px solid var(--focus, #2463EB); outline-offset: 2px; border-radius: 12px; }
details.rc-more > .rc-more-in { padding: 2px 14px 12px; }
details.rc-more > .rc-more-in > :first-child { margin-top: 0; }
@media print { details.rc-more > .rc-more-in { display: block !important; } details.rc-more > summary { display: none; } }

.rc-vis { margin: 18px 0; }
.rc-vis img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--page-line, rgba(11, 18, 32, .1)); }
.rc-vis.rc-vis-phone { max-width: 320px; }
.rc-vis.rc-vis-phone img { aspect-ratio: auto; }
.rc-vis figcaption { margin-top: 8px; font: 400 12.5px/1.5 "Azeret Mono", "JBM Fallback", monospace; color: var(--page-faint, rgba(11, 18, 32, .64)); }
.rc-pts { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0 0; padding: 0; }
@media (min-width: 720px) { .rc-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-pts li { padding: 10px 12px; border-radius: 12px; background: var(--page-2, #fff); box-shadow: 0 0 0 1px var(--page-line, rgba(11, 18, 32, .1)); font-size: 14.5px; line-height: 1.45; color: var(--page-muted, rgba(11, 18, 32, .76)); }
.rc-pts li b { display: block; margin-bottom: 2px; font-weight: 650; color: var(--page-text, #0B1220); }
.article-body ul.rc-pts, ul.rc-pts { padding-left: 0; margin-left: 0; }
.article-body ul.rc-pts li::before { content: none; }

/* FE (15 Oct 2026): .rc-hcta, the compact "Sign up for RupeeCase" under a hero H1 or lead (community.mjs heroSignup),
   so the first phone screen carries the in-content call to action; .rc-idx, the strip of every RupeeCase index
   (index-links.mjs indexStrip). Both take their colours from the surface they sit on (photo plate or page). */
.rc-hcta { margin: 14px 0 0; }
.rc-hcta .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
@media print { .rc-hcta { display: none; } }
.rc-hcta.bx-hcta .btn-solid { background: var(--page-text); color: var(--page); } /* the blog hero sits on the page surface, like .bx-cta */
.rc-idx { margin: 22px 0 0; color: inherit; }
.rc-idx-h { margin: 0 0 10px; font: 600 12px/1.3 "Azeret Mono", "JBM Fallback", monospace; letter-spacing: .04em; text-transform: uppercase; color: inherit; }
.rc-idx ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.rc-idx li { margin: 0; padding: 0; }
.rc-idx li::before { content: none !important; }
.rc-idx a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid color-mix(in srgb, currentColor 26%, transparent); color: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .2s; }
.rc-idx a:hover { border-color: currentColor; }
.rc-idx a:focus-visible { outline: 3px solid var(--focus, #2463EB); outline-offset: 2px; }
.rc-idx .rc-idx-all { margin: 12px 0 0; font-size: 14px; }
.rc-idx .rc-idx-all a { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; }
.b5-next > .rc-idx { max-width: 1400px; margin: 0 auto; padding: 32px var(--pad, 20px) clamp(48px, 8vh, 96px); } /* /technology: under the tiles, on the page gutter */
.rc-idx-in { margin: 12px 0 0; }
.rc-idx-in a { font-weight: 600; }
