/* Recommended free plugins (freeplugins.js): setup step + Your sounds > Plugins. One accent (#00dcc4), thin dividers. */
.fp { display: flex; flex-direction: column; }
.fp-load { padding: 18px 0; }
.fp-h { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 6px; }
.fp-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.fp-note span { color: var(--muted); font-size: 13px; flex: 1 1 auto; }
.fp-all { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 0 12px; }
.fp-all small { color: var(--muted); font-size: 13px; }
.fp-uac { color: var(--muted); font-size: 12px; margin: -4px 0 12px; }
.fp-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fp-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.fp-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.fp-row.on .fp-ic { color: var(--accent); }
.fp-t { display: flex; flex-direction: column; min-width: 0; }
.fp-t b { display: flex; align-items: center; gap: 8px; }
.fp-t em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent); border: 1px solid rgba(0, 220, 196,.45); border-radius: 999px; padding: 1px 7px; }
.fp-t small { color: var(--muted); font-size: 13px; }
.fp-a { display: flex; align-items: center; gap: 6px; justify-self: end; }
.fp-a .btn svg { width: 14px; height: 14px; margin-left: 4px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: -2px; }
.fp-ok { color: var(--good); font-weight: 600; font-size: 14px; white-space: nowrap; }
.fp-prog { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 120px; max-width: 210px; }
.fp-pt { font-size: 12px; color: var(--muted); text-align: right; }
.fp-bar { width: 120px; height: 4px; border-radius: 2px; background: var(--line2); overflow: hidden; }
.fp-bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.fp-bar.ind i { animation: fp-ind 1.2s ease-in-out infinite; }
@keyframes fp-ind { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.fp-x { background: none; border: 0; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.fp-x:hover { color: var(--text); background: var(--panel2); }
.fp-more { grid-column: 2 / -1; padding-top: 8px; }
.fp-steps { margin: 0 0 8px; padding-left: 18px; color: var(--muted); font-size: 13px; }
.fp-steps li { padding: 1px 0; }
.fp-again { background: none; border: 0; color: var(--accent); padding: 4px 0; font-size: 13px; }
.fp-again:disabled { color: var(--muted); }
.fp-err { grid-column: 2 / -1; font-size: 13px; margin-top: 6px; }
.fp-lic { color: var(--muted); font-size: 12px; margin-top: 12px; }
.su-fpmiss { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
@media (max-width: 560px) {
  .fp-row { grid-template-columns: 32px minmax(0, 1fr); row-gap: 8px; }
  .fp-ic { width: 32px; height: 32px; }
  .fp-a { grid-column: 2; justify-self: start; }
  .fp-prog { align-items: flex-start; }
  .fp-pt { text-align: left; }
}
.fp-h2 { margin-top: 26px; }
.fp-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fp-n { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line2); font-size: 10px; margin-right: 6px; color: var(--muted); }
@media (max-width: 560px) { .fp-btns { justify-content: flex-start; } }
/* "Turn on Chordelo Link" sheet (linkwake.js) */
.lw { display: flex; flex-direction: column; gap: 14px; }
.lw-sub { margin: 0; color: var(--muted); }
.lw-st { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lw-st i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.lw-st.on i { background: var(--good); }
.lw-st small { color: var(--muted); font-size: 13px; flex-basis: 100%; padding-left: 20px; }
.lw-big { width: 100%; justify-content: center; text-align: center; padding: 14px; font-size: 16px; }
.lw-phone { margin: 0; font-weight: 600; }
.lw-more summary { color: var(--accent); cursor: pointer; font-size: 13px; }
.lw-steps { margin: 10px 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
/* Your sounds > Plugins tab (plugintab.js): sections of plain rows, thin dividers, room to breathe */
.pt { display: flex; flex-direction: column; gap: 34px; max-width: 820px; padding-bottom: 40px; }
.pt-sec[hidden] { display: none; }
.pt-load { padding: 16px 0; }
.pt-h, .pt .fp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 16px; }
.pt .fp-h { margin-top: 0; }
.pt .fp-h2 { margin-top: 34px; }
.pt-h .muted, .pt .fp-h .muted { font-size: 13px; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.pt-h + .pt-row, .pt-h + .pt-q, .pt-g:first-of-type { border-top: 1px solid var(--line); }
.pt-row:has(> .pt-num), .pt-row:has(> .pt-dot) { grid-template-columns: 26px minmax(0, 1fr) auto; }
.pt-num { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.pt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); justify-self: center; }
.pt-dot.on { background: var(--good); }
.pt-t { display: flex; flex-direction: column; min-width: 0; }
.pt-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-t small { color: var(--muted); font-size: 13px; }
.pt-a { display: flex; align-items: center; gap: 8px; justify-self: end; flex-wrap: wrap; justify-content: flex-end; }
.pt-a .btn svg { width: 15px; height: 15px; margin-right: 6px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: -3px; }
.pt-sub { padding: 9px 2px; }
.pt-links { gap: 16px; }
.pt-links .linkbtn { font-size: 13px; }
.pt-off { color: var(--muted); }
.pt-code { font: 600 20px/1 var(--mono); letter-spacing: .12em; padding: 6px 10px; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel2); }
.pt-note { padding: 4px 0 10px 42px; border-bottom: 1px solid var(--line); }
.pt-note .lk-note { margin: 0; }
.pt-q { width: 100%; margin: 4px 0 10px; }
.pt-g { display: flex; gap: 8px; align-items: baseline; padding: 16px 2px 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.pt-g span { font-weight: 400; }
.pt-w { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; max-width: 260px; }
.pt-snds { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.pt-snd { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 10px; }
.pt-snd .ib svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.pt-none { margin: 10px 0; }
.pt .fp-list { border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .pt { gap: 28px; }
  .pt-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .pt-row:has(> .pt-num), .pt-row:has(> .pt-dot) { grid-template-columns: 26px minmax(0, 1fr); }
  .pt-a { grid-column: -2 / -1; justify-self: start; justify-content: flex-start; }
  .pt-row:has(> .pt-num) .pt-a, .pt-row:has(> .pt-dot) .pt-a { grid-column: 2; }
  .pt-note { padding-left: 0; }
  .pt-t b { white-space: normal; }
}
/* Your sounds: a 4th tab (Plugins) must still leave "+ Add" visible on a phone */
@media (max-width: 420px) { nav.sx-tabs > button { padding: 10px 6px; font-size: 13px; } nav.sx-tabs > .sx-addtab { padding-right: 2px; } }
/* links in the Plugins tab: the one accent */
.pt-lb { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; }
.pt-lb:hover { text-decoration: underline; }
.pt-lb.pt-off { color: var(--muted); }
/* Plugins tab: read-only list by type, Pro "Advanced" row */
.pt-lead { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.pt-type { grid-template-columns: 170px minmax(0, 1fr); }
.pt-tl { font-size: 13px; font-weight: 600; color: var(--muted); }
.pt-names { font-size: 14px; }
.pt-busy small { display: inline-flex; align-items: center; gap: 8px; }
.pt-adv { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pt-adv > summary { cursor: pointer; padding: 13px 2px; font-size: 14px; color: var(--muted); list-style: none; }
.pt-adv > summary::before { content: "›"; display: inline-block; width: 16px; transition: transform .15s; }
.pt-adv[open] > summary::before { transform: rotate(90deg); }
.pt-adv > summary:hover { color: var(--text); }
.pt-advp { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.pt-adv .pt-row:last-child { border-bottom: 0; }
@media (max-width: 560px) { .pt-type { grid-template-columns: minmax(0, 1fr); row-gap: 2px; } }
/* Plugins tab, calm layout (2 Dec, owner: "too busy, too cramped"): centred column, one status line, folded extras */
.pt { max-width: 820px; margin: 0 auto; gap: 44px; padding-top: 6px; }
.pt-rec { display: flex; flex-direction: column; gap: 44px; }
.pt-line { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: 64px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.pt-line .pt-t b { font-size: 16px; }
.pt-top .pt-more { margin-top: 10px; }
.pt-h { min-height: 32px; align-items: center; }
.pt-lead { margin: 2px 0 12px; }
.pt-row, .pt .fp-row { min-height: 64px; }
.pt-a { min-width: 132px; }
.pt-a .btn, .pt .fp-a .btn { min-width: 104px; justify-content: center; }
.pt .fp-a { min-width: 132px; justify-content: flex-end; }
.pt-names1 { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-chip { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line2); border-radius: 999px; }
.pt-chip-n { color: var(--muted); }
.pt-more { margin-top: 12px; }
.pt-more > summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.pt-more > summary::-webkit-details-marker { display: none; }
.pt-more > summary::before { content: "›"; display: inline-block; width: 12px; color: var(--muted); transition: transform .15s; }
.pt-more[open] > summary::before { transform: rotate(90deg); }
.pt-more > summary:hover { color: var(--text); }
.pt-more.pt-big { margin-top: 0; }
.pt-more.pt-big > summary { color: var(--text); font-size: 16px; padding: 4px 0; min-height: 32px; }
.pt-more.pt-big > summary .muted { font-size: 13px; margin-left: auto; text-align: right; }
.pt-more > .fp-list, .pt-more > .pt-row:first-of-type { border-top: 1px solid var(--line); }
.pt .fp-lic { display: none; }
@media (max-width: 560px) {
  .pt { gap: 34px; } .pt-rec { gap: 34px; }
  .pt-line { grid-template-columns: 12px minmax(0, 1fr); row-gap: 10px; padding: 12px; }
  .pt-line > .pt-a { grid-column: 2; justify-self: start; min-width: 0; }
  .pt-a, .pt .fp-a { min-width: 0; }
  .pt-more.pt-big > summary { flex-wrap: wrap; }
  .pt-more.pt-big > summary .muted { margin-left: 22px; flex-basis: 100%; text-align: left; }
}
.fp-half { color: var(--muted); font-size: 13px; white-space: nowrap; }
.fp-nudge { margin: 0; font-size: 13px; color: var(--text); }
.fp-nudge::before { content: "→ "; color: var(--accent); }
/* Plugins tab, FLAT (owner, 2 Dec: no accordions, nothing hidden; short, clean). Overrides the rules above. */
.pt { display: flex; flex-direction: column; gap: 48px; max-width: 760px; margin: 0 auto; padding: 8px 0 48px; }
.pt section:empty { display: none; }
.pt-h { display: block; font-size: 17px; font-weight: 600; margin: 0 0 6px; min-height: 0; }
.pt-lead { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.pt-rows { border-top: 1px solid var(--line); }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; min-height: 68px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pt-row .pt-t b { font-size: 15px; white-space: normal; }
.pt-row .pt-t small { font-size: 13px; color: var(--muted); }
.pt-a { min-width: 0; display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.pt-a .btn { min-width: 112px; justify-content: center; }
.pt-link .pt-row { border-bottom: 1px solid var(--line); }
.pt-list { border-top: 1px solid var(--line); }
.pt-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pt-item small { color: var(--muted); font-size: 13px; text-align: right; }
.pt-item em { font-style: normal; color: var(--text); }
.pt-steps { grid-column: 1 / -1; margin: 10px 0 2px; padding-left: 20px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.pt-steps a, .pt-steps .pt-lb { color: var(--accent); margin-left: 6px; font-size: 14px; }
.pt-row .pt-note { grid-column: 1 / -1; padding: 10px 0 0; border: 0; }
.pt-row .fp-err { grid-column: 1 / -1; }
.pt-row .pt-snds { grid-column: 1 / -1; }
.pt-h3 { margin-top: 28px; }
@media (max-width: 560px) {
  .pt { gap: 40px; }
  .pt-row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .pt-a { justify-content: flex-start; grid-column: 1; }
  .pt-item { flex-direction: column; gap: 2px; }
  .pt-item small { text-align: left; }
}
/* owner: left-aligned like the other Your sounds tabs (same left edge as the tab bar), no centring */
.pt { margin: 0; max-width: 760px; padding-top: 4px; }
.pt section > .pt-h + .pt-rows { margin-top: 10px; }
/* one status column for every plugin row; ticks in the accent (app rule: no green) */
.pt-ok, .fp-ok { color: var(--accent); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pt-warn { color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pt-row .pt-a { min-width: 120px; }
.pt .pt-row .pt-t b { font-weight: 600; }
/* Your sounds header: "Finish setting up · n steps left" (only while unfinished) */
.sx-finish { font-size: 13px; color: var(--accent); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.sx-finish:hover { text-decoration: underline; }
.sx-finish::after { content: " ›"; }
/* shared item row (setup + Plugins tab): steps under the row, next step prominent, done ones folded into one line */
.fp-steps2 { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.fp-done { color: var(--accent); font-size: 13px; }
.fp-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.fp-next b { font-weight: 600; }
.fp-nacts { display: flex; gap: 8px; align-items: center; }
.fp-nacts .btn svg { width: 13px; height: 13px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: -2px; }
.fp-then { color: var(--muted); font-size: 13px; }
.fp .pt-rows { margin-top: 4px; }
.su .pt-row { min-height: 64px; }
