/* LoopToSong Pro on the tool pages: the preview banner, locks and the unlock sheet (assets/pro.js).
   Self-contained colours, so it works under both shells (toolkit.css and site.css). */
:root { --pro-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7V5a4 4 0 0 1 8 0v2h1v8H3V7h1Zm2 0h4V5a2 2 0 0 0-4 0v2Z'/%3E%3C/svg%3E"); --pro-bg: #2A2B2A; --pro-panel: #323432; --pro-line: rgba(244, 243, 236, 0.18); --pro-text: #ECEDE8; --pro-head: #F4F3EC; --pro-muted: #A9ADA8; --pro-sage: #F4F3EC; --pro-orange: #F06A3B; --pro-ink: #222322; }

.pro-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 4px; background: var(--pro-orange); color: var(--pro-ink); font: 700 11px/1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.pro-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 4px; background: linear-gradient(180deg, #F27548 0%, #F06A3B 55%, #E35E30 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 10px 20px -12px rgba(0, 0, 0, 0.7); color: var(--pro-ink); font: 700 13px Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.pro-go:hover { filter: brightness(1.05); color: var(--pro-ink); }

/* the strip at the top of a preview */
.pro-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--pro-orange); background: var(--pro-panel); color: var(--pro-text); }
.pro-banner p { flex: 1 1 22em; margin: 0; font-size: 15px; line-height: 1.5; color: var(--pro-text); }
.pro-banner b { color: var(--pro-sage); font-weight: 700; }

/* the one quiet line under a tool's title and purpose (replaces the Preview banner above the title) */
.pro-note { display: block; margin: 14px 0 0; font: 400 14px/1.5 Archivo, "Helvetica Neue", Arial, sans-serif; color: var(--pro-muted); }
.pro-note__k { color: var(--pro-sage); font-weight: 600; }
.pro-note__k .pro-lock-icon { margin: 0 6px 0 0; }
.pro-note a { color: var(--pro-sage); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pro-note a:hover { color: var(--pro-text); }

/* a locked item: keeps its place, calm. Muted text (still 4.5:1+) and a small sage lock; no dashed edge, no orange tag.
   (!important: each tool styles its own buttons with an id-scoped selector) */
[data-pro-lock] { cursor: pointer; }
.pro-locked { position: relative; outline: none !important; color: var(--pro-muted) !important; }
/* an item that shows its own lock next to the label doesn't need the corner lock too */
.pro-locked:has(> .pro-lock-icon)::after { content: none; }
.pro-locked :is(h3, h4, b, strong) { color: var(--pro-muted) !important; }
.pro-locked::after { content: ""; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 11px; height: 11px; padding: 0; border-radius: 0; background: var(--pro-sage); opacity: 0.85; -webkit-mask: var(--pro-lock) center / contain no-repeat; mask: var(--pro-lock) center / contain no-repeat; }
.pro-locked .pro-lock-icon { color: var(--pro-sage) !important; opacity: 0.85; }
.pro-locked:hover, .pro-locked:hover :is(h3, h4, b, strong) { color: var(--pro-text) !important; }
.pro-locked:focus-visible { outline: 2px solid var(--pro-sage) !important; outline-offset: 3px; }
/* a long locked list folds into one row: "+10 more presets with Pro" */
.pro-folded { display: none !important; }
.pro-more-row { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--pro-sage) !important; font-weight: 600 !important; text-align: left; }
.pro-more-row::after { content: none !important; }
.pro-more-row .pro-lock-icon { order: -1; margin: 0; width: 11px; height: 11px; color: var(--pro-sage); }
.pro-more-row:hover { color: var(--pro-text) !important; }
.pro-lock-icon { display: inline-block; width: 0.9em; height: 0.9em; margin-left: 0.35em; vertical-align: -0.05em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7V5a4 4 0 0 1 8 0v2h1v8H3V7h1Zm2 0h4V5a2 2 0 0 0-4 0v2Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7V5a4 4 0 0 1 8 0v2h1v8H3V7h1Zm2 0h4V5a2 2 0 0 0-4 0v2Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* the unlock sheet */
.pro-sheet { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.pro-sheet[hidden] { display: none; }
.pro-sheet__back { position: absolute; inset: 0; background: rgba(15, 16, 15, 0.72); }
.pro-sheet__box { position: relative; width: min(100%, 440px); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 22px; border-radius: 8px; background: var(--pro-bg); box-shadow: 0 0 0 1px var(--pro-line), 0 30px 60px -20px rgba(0, 0, 0, 0.8); color: var(--pro-text); font-family: Archivo, "Helvetica Neue", Arial, sans-serif; }
.pro-sheet__box h2 { margin: 14px 0 8px; font-size: 28px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: var(--pro-head); }
.pro-sheet__what { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.pro-sheet__box ul { margin: 0 0 14px; padding-left: 18px; color: var(--pro-muted); font-size: 14.5px; line-height: 1.55; }


.pro-sheet__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-later { min-height: 44px; padding: 0 16px; border: 0; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--pro-sage); color: var(--pro-sage); font: 700 13px Archivo, Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.pro-later:hover { background: rgba(244, 243, 236, 0.12); }
html.pro-sheet-open { overflow: hidden; }
.pro-sheet__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.pro-sheet__plans .pro-go { padding: 0 10px; }
.pro-sheet__row { align-items: center; justify-content: space-between; }
.pro-more { display: inline-flex; align-items: center; min-height: 44px; color: var(--pro-sage); font: 600 14px Archivo, Arial, sans-serif; }
@media (max-width: 360px) { .pro-sheet__plans { grid-template-columns: minmax(0, 1fr); } }
/* the "Free preview" line in a cream title band: ink and deep orange, readable on cream (2026-11-11) */
:is(.t-cream, .t-hero, .t-read) .pro-note { color: #4A4A45; }
:is(.t-cream, .t-hero, .t-read) .pro-note__k { color: #1F201F; }
:is(.t-cream, .t-hero, .t-read) .pro-note a { color: #B5401A; }
:is(.t-cream, .t-hero, .t-read) .pro-note a:hover { color: #1F201F; }
:is(.t-cream, .t-hero, .t-read) .pro-note .pro-lock-icon { color: #1F201F; }
/* locked items and "+N more with Pro" rows on a cream reading band, and on the one sage panel (2026-11-11) */
:is(.t-read, .t-cream) .pro-locked, :is(.t-read, .t-cream) .pro-locked :is(h3, h4, b, strong) { color: #4A4A45 !important; }
:is(.t-read, .t-cream) .pro-locked::after { background: #1F201F; }
:is(.t-read, .t-cream) .pro-locked .pro-lock-icon { color: #1F201F !important; }
:is(.t-read, .t-cream) .pro-locked:hover, :is(.t-read, .t-cream) .pro-locked:hover :is(h3, h4, b, strong) { color: #1F201F !important; }
:is(.t-read, .t-cream) .pro-locked:focus-visible { outline-color: #B5401A !important; }
:is(.t-read, .t-cream) .pro-more-row { color: #B5401A !important; }
:is(.t-read, .t-cream) .pro-more-row .pro-lock-icon { color: #B5401A; }
:is(.t-read, .t-cream) .pro-more-row:hover { color: #1F201F !important; }
:is(.t-metal, .t-device) .pro-more-row { color: #1F201F !important; }
:is(.t-metal, .t-device) .pro-more-row .pro-lock-icon { color: #1F201F; }
.pro-go--off { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); color: var(--pro-muted, #A9ADA8); cursor: default; filter: none; }
.pro-go--off:hover { filter: none; color: var(--pro-muted, #A9ADA8); }
/* Pro not open yet: "Opens soon" and the sign-up for the opening, stacked so the longer label fits */
.pro-sheet__plans:has(.pro-soon) { grid-template-columns: minmax(0, 1fr); }
.pro-sheet__plans .pro-soon { white-space: normal; text-align: center; line-height: 1.2; }
