/* Śpiewnik 9.8.57 — dobrowolny motyw Klasyczny · Szreniawa.
   Dekoracje TYLKO w wydzielonym nagłówku / panelach. Nigdy pod tekstem pieśni. */
body.classic-theme {
  --bg: #fff9f0;
  --panel: #f2e7d5;
  --accent: #a31b24;
  --text: #2f2924;
  --input-bg: #fffcf6;
  --input-text: #615244;
  --c-br-color: transparent;
  --c-tx-color: #9d1520;
  --version-color: #79685a;
  --header-border: #d7b989;
  --local-bg: #f6e8d8;
  --local-border: #caa66b;
  --local-txt: #7d2732;
  color-scheme: light;
  background: var(--bg);
}
body.classic-theme #sidebar {
  background: #f5ecdd;
  border-right: 2px solid #c9a56c;
  box-shadow: 3px 0 12px rgba(69,39,20,.08);
}
body.classic-theme #sidebar > .sidebar-top-tools {
  background: #fbf5e9;
  border-bottom: 1px solid #ddc39b;
}
body.classic-theme #song-list { background: #f8f0e3; }
body.classic-theme #song-list li {
  color: #302820;
  background: #fbf5e9;
  border-bottom: 1px solid #e7d5b9;
}
body.classic-theme #song-list li:nth-child(even):not(.active) { background:#f6eddf; }
body.classic-theme #song-list li:hover:not(.active) { background:#efe1cd; }
body.classic-theme #song-list li.active,
body.classic-theme.practical-ui #sidebar li.active {
  background: #951b22 !important;
  color: #fff9ef !important;
  border-left: 4px solid #d8a23b;
  box-shadow: inset 0 0 0 1px rgba(255,236,186,.24);
}
body.classic-theme #song-list li.active :is(.main-title-list,.version-tag,.li-content) { color:#fff9ee !important; }
body.classic-theme #song-list li.active .fav-star { color:#ffd97c !important; }
body.classic-theme .songs-stats { background:#f0e2cb; border-color:#cdb188; color:#514132; }
body.classic-theme .songs-stats strong { color:#a21a21; }
body.classic-theme #search,
body.classic-theme #sidebar input[type=text] {
  background: #fffcf7 !important;
  color: #302820 !important;
  border: 1px solid #bea27d !important;
}
body.classic-theme #search::placeholder { color:#867363; }
body.classic-theme .desktop-command-center,
body.classic-theme .top-nav,
body.classic-theme .compact-meta-bar,
body.classic-theme .meta-bar,
body.classic-theme .practical-header,
body.classic-theme .practical-strip,
body.classic-theme .practical-footer {
  background: #f7eddd;
  color: #3b2c22;
  border-color: #dac092;
}
body.classic-theme .desktop-command-center,
body.classic-theme .practical-header {
  box-shadow: 0 3px 10px rgba(75,47,25,.08);
}
body.classic-theme :is(.toolbar-section,.transpose-compact,.local-transpose-widget,.segmented-toggle,.floating-line-layout-toggle,.font-target-switch,.practical-panel,.desktop-editor-commandbar) {
  background: #f3e5d0;
  border-color: #d6b887;
  color: #4a3727;
}
body.classic-theme :is(.toolbar-section-label,.compact-field,.admin-compact-field,.practical-meta,.practical-help) { color:#6b5541; }
body.classic-theme :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]),
body.classic-theme .compact-field input,
body.classic-theme .compact-field select,
body.classic-theme .admin-compact-field input {
  background: #fffcf6 !important;
  color: #35291f !important;
  border-color: #cdb18a !important;
  accent-color: #a31b24;
}
body.classic-theme #songTitle[readonly] { background:transparent !important; border:0 !important; }
body.classic-theme button:not(.btn-accent):not(.active):not([aria-pressed=true]):not(.xr18-mute-all-btn):not(.xr18-unmute-all-btn):not(.performance-start-btn),
body.classic-theme select {
  background-color:#ead9bf;
  color:#4a3026;
  border-color:#c7a577;
}
body.classic-theme button:hover:not(:disabled) { filter:brightness(.96); }
body.classic-theme :is(button,select,input,textarea):focus-visible {
  outline: 2px solid #b18332;
  outline-offset: 2px;
}
body.classic-theme .btn-accent,
body.classic-theme .font-btn,
body.classic-theme .performance-start-btn {
  background:#981e29 !important;
  color:#fff9f0 !important;
  border:1px solid #c79d45 !important;
}
body.classic-theme #edit-wrapper { background:#f8f0e5; border-right-color:#d9bc94; }
body.classic-theme #input { background:#fffdf7 !important; color:#322923 !important; }
body.classic-theme #output {
  /* Pełne krycie. Przy przewijaniu dowolnie długiej pieśni ani jeden
     ornament nie może znaleźć się pod literami. */
  background: #fffaf2 !important;
  background-image: none !important;
  color: #24211f;
}
body.classic-theme #output .song-content {
  position:relative;
  z-index:1;
  background: #fffaf2 !important;
  color: #24211f;
  font-family: monospace; /* nie zamieniaj: ważne dla wyrównania akordów! */
}
body.classic-theme #output .song-content .c-br {
  visibility: hidden !important;
  /* Pozostawiamy dokładnie szerokość 1 znaku, by akord nie
     przemieścił się nad sylabą. Edycja i Firestore bez zmian. */
}
body.classic-theme #output .song-content .c-tx {
  color:#a21c25 !important;
  font-weight:800;
  text-decoration:none;
  border-bottom-color:transparent;
}
body.classic-theme #output .song-content .c-tx:hover,
body.classic-theme #output .song-content .c-tx.selected-chord {
  background:#f4e2b8;
  border-bottom-color:#a21c25;
}
body.classic-theme #output .preview-song-header {
  position:relative;
  margin-bottom:22px;
  padding-right:36px;
  border-bottom:2px solid #c9963f;
  color:#432b23;
  background:#fffaf2;
}
body.classic-theme #output .preview-song-header::after {
  content:"♫";
  position:absolute;
  right:5px;
  top:3px;
  font:normal 26px Georgia,serif;
  color:#c59a58;
  pointer-events:none;
}
body.classic-theme #output .preview-title-text {
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-weight:700;
  color:#971820;
  text-shadow:0 1px 0 #fff;
}
body.classic-theme .preview-meta-row .meta-item { background:#f4e7d2; border:1px solid #dbc096; color:#4a3326; }
body.classic-theme .font-controls { background:rgba(249,238,221,.97); border-color:#c4a06b; }
body.classic-theme .practical-panels { background:#f5e9d7; }
body.classic-theme .practical-option { color:#443229; }
body.classic-theme :is(.assistant-drawer,.assistant-drawer-content,.cat-modal-content,.repertoire-manager-modal,.chord-tooltip-card) {
  background-color:#f8edde;
  color:#332820;
  border-color:#c79e65;
}
body.classic-theme .assistant-drawer-header { background:#eee0ca; color:#4b3023; border-bottom-color:#d1b282; }
/* Ozdobny znak w osobnej belce – poza obszarem przewijanej pieśni. */
.classic-brand { display:none; }
body.classic-theme .classic-brand {
  display:flex;
  align-items:center;
  gap:8px;
  box-sizing:border-box;
  flex:0 0 auto;
  height:76px;
  padding:6px 8px 6px 15px;
  background:linear-gradient(130deg,#fff9ee 0%,#f4e5cd 100%);
  border-bottom:2px solid #bd9047;
  overflow:hidden;
  position:relative;
}
body.classic-theme .classic-brand::before {
  content:"";
  position:absolute;
  inset:0;
  background:url("../assets/classic-vine.webp") no-repeat left top/115px 58px;
  opacity:.22;
  pointer-events:none;
}
.classic-brand-copy { display:flex; flex-direction:column; position:relative; z-index:1; flex:1; min-width:0; }
.classic-brand-name { font:italic bold 27px Georgia,serif; line-height:1.05; color:#9d1721; text-shadow:0 1px 0 #fff; }
.classic-brand-online { font:italic bold 14px Georgia,serif; color:#1b4f88; }
.classic-brand-subtitle { font:italic 10px Georgia,serif; color:#6a4d3d; margin-top:3px; white-space:nowrap; }
.classic-brand-graphic { width:79px; height:68px; object-fit:contain; flex:0 0 79px; position:relative; z-index:1; }
body.classic-theme .theme-select-control { color:#5b4030; }
body.classic-theme .theme-select-control select { background:#fff8e8 !important; color:#572b24 !important; }
body.classic-theme .guitar-btn.guitar-active { background:#397449 !important; color:#fff !important; }
/* Mały ekran: ozdoby nie zabierają przestrzeni wykonawcy. */
@media (max-width:900px) {
  body.classic-theme .classic-brand { height:54px; padding-left:10px; }
  body.classic-theme .classic-brand-name { font-size:22px; }
  body.classic-theme .classic-brand-online { font-size:11px; }
  body.classic-theme .classic-brand-subtitle { display:none; }
  body.classic-theme .classic-brand-graphic { width:48px; height:48px; flex-basis:48px; }
  body.classic-theme #output { padding-left:14px; padding-right:14px; }
}
/* Występ, pełny ekran i dwie kolumny: brak tapet pod pieśnią. */
body.classic-theme:is(.fs-active,.performance-mode) #output,
body.classic-theme:is(.fs-active,.performance-mode) .song-content {
  background:#fffaf2 !important;
  background-image:none !important;
}
@media print {
  /* Motyw ekranu nie ingeruje w wydruk ani jego nawiasy akordowe. */
  body.classic-theme #print-all-favorites-area .c-br { visibility:visible !important; }
  body.classic-theme #print-all-favorites-area,
  body.classic-theme #print-all-favorites-area * { background-image:none !important; }
}
/* Rysunek kościoła ma własne, zarezerwowane miejsce w nagłówku pieśni,
   nigdy w przewijanym tekście. */
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
  min-height:82px;
  padding-right:146px;
  background-image:url('../assets/classic-church.webp');
  background-position:right 5px top 0;
  background-size:125px 78px;
  background-repeat:no-repeat;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
  right:130px;
  top:7px;
}
@media (max-width:900px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    min-height:60px;
    padding-right:68px;
    background-size:61px 54px;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after { right:66px; font-size:15px; }
}


/* 9.8.58 — prawdziwe grafiki WebP z oryginalnej okładki.
   Każdy rysunek ma własny, wyznaczony obszar; nie nakładamy go na pieśni. */
body.classic-theme .classic-brand {
  height:94px !important;
  padding:9px 9px 9px 17px !important;
  border-bottom:2px solid #bd9047 !important;
  background:linear-gradient(112deg,#fdf5e8 0%,#f4e5cf 100%) !important;
  position:relative;
  isolation:isolate;
}
body.classic-theme .classic-brand::before {
  inset:0 auto auto 0 !important;
  width:150px;
  height:73px;
  background-image:url("../assets/classic-vine.webp") !important;
  background-size:contain !important;
  background-position:left top !important;
  background-repeat:no-repeat !important;
  opacity:.30;
}
body.classic-theme .classic-brand-name {
  font:italic bold 31px/1.06 "Palatino Linotype","Book Antiqua",Georgia,serif !important;
  color:#a31822 !important;
  text-shadow:0 1px 0 #fff4e9,0 1px 1px #e3b8a8;
}
body.classic-theme .classic-brand-online {
  font:bold italic 16px/1.15 Georgia,serif;
  color:#154d8e;
  margin-left:24px;
}
body.classic-theme .classic-brand-subtitle {
  font:italic 10px/1.3 Georgia,serif;
  color:#5c4334;
  margin-top:7px;
}
body.classic-theme .classic-brand-graphic {
  position:relative;
  z-index:1;
  width:58px !important;
  height:78px !important;
  flex:0 0 58px !important;
  object-fit:contain !important;
  opacity:.92;
}
.classic-sidebar-art { display:none; }
body.classic-theme #sidebar .classic-sidebar-art {
  display:block;
  width:100%;
  height:160px;
  flex:0 0 160px;
  min-height:0;
  position:relative;
  overflow:hidden;
  pointer-events:none;
  border-top:1px solid #d6b987;
  box-sizing:border-box;
  background:linear-gradient(170deg,#f8efe0,#f4e7d4);
}
body.classic-theme #sidebar .classic-sidebar-guitars {
  position:absolute;
  bottom:-8px;
  left:18px;
  height:164px;
  width:auto;
  object-fit:contain;
}
body.classic-theme #sidebar .classic-sidebar-notes {
  position:absolute;
  top:20px;
  right:4px;
  height:105px;
  width:auto;
  opacity:.64;
  object-fit:contain;
}
body.classic-theme #sidebar #song-list {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
  min-height:151px !important;
  padding-right:190px !important;
  background-color:#fffaf2 !important;
  background-image:url("../assets/classic-church.webp") !important;
  background-size:126px auto !important;
  background-repeat:no-repeat !important;
  background-position:right 3px top 0px !important;
  position:relative;
  isolation:isolate;
  border-bottom:2px solid #c89c4d !important;
  box-sizing:border-box;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
  content:"" !important;
  position:absolute;
  top:20px !important;
  right:132px !important;
  width:55px;
  height:85px;
  background:url("../assets/classic-notes.webp") center/contain no-repeat !important;
  opacity:.50;
  pointer-events:none;
}
body.classic-theme #output .preview-title-text {
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif !important;
  font-style:italic !important;
  font-weight:800 !important;
  color:#981721 !important;
}
body.classic-theme #output .song-content {
  background-color:#fffaf2 !important;
  background-image:none !important;
}
body.classic-theme:is(.fs-active,.performance-mode) #output .preview-song-header {
  background-image:none !important;
}
@media (max-width:900px) {
  body.classic-theme .classic-brand { height:66px !important; padding:5px 9px !important; }
  body.classic-theme .classic-brand-name { font-size:22px !important; }
  body.classic-theme .classic-brand-online { font-size:12px !important; margin-left:11px; }
  body.classic-theme .classic-brand-subtitle { display:none !important; }
  body.classic-theme .classic-brand-graphic { width:39px !important; height:57px !important; flex:0 0 39px !important; }
  body.classic-theme #sidebar .classic-sidebar-art { display:none !important; }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    min-height:68px !important;
    padding-right:66px !important;
    background-size:57px auto !important;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after { display:none !important; }
}
@media (max-height:680px) and (min-width:901px) {
  body.classic-theme #sidebar .classic-sidebar-art { height:100px; flex-basis:100px; }
  body.classic-theme #sidebar .classic-sidebar-guitars { height:115px; }
  body.classic-theme #sidebar .classic-sidebar-notes { height:73px; }
}
@media print {
  body.classic-theme .classic-brand,
  body.classic-theme .classic-sidebar-art { display:none !important; }
}


/* 9.8.59 — korekta telefonu: osobne miejsce dla ilustracji.
   Poprzedni padding-right: 66px / 190px ograniczał również metadane,
   przez co długie tytuły, bicie i etykiety miały za mało miejsca. */
@media (max-width: 1100px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    --classic-mobile-art-size: clamp(52px, 11vw, 95px);
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--classic-mobile-art-size);
    grid-template-areas:
       "title church"
       "details details";
    align-items: start;
    column-gap: 8px;
    row-gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0 !important;
    padding: 0 0 12px 0 !important;
    box-sizing: border-box;
    background-image: none !important;
    background-color: #fffaf2 !important;
    overflow: visible;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before {
    content: "" !important;
    grid-area: church;
    display: block !important;
    position: static !important;
    width: 100%;
    height: clamp(55px, 13vw, 110px);
    margin: 0;
    background: url("../assets/classic-church.webp") no-repeat center top / contain !important;
    pointer-events: none !important;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
    display: none !important;
    content: none !important;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-title-row {
    grid-area: title;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  body.classic-theme #output .preview-title-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-meta-row {
    grid-area: details;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 9px;
    margin: 0 !important;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  body.classic-theme #output .preview-meta-row > * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  body.classic-theme #output .preview-meta-row .meta-item strong {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 900px) {
  body.classic-theme #output {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  body.classic-theme:not(.performance-mode) #output .song-content {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  body.classic-theme .classic-brand-copy,
  body.classic-theme .classic-brand-name {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    --classic-mobile-art-size: 49px;
    column-gap: 5px;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before {
    height: 58px;
  }
}

/* Telefon poziomo: nie oddawaj wysokości ekranu ilustracji.
   Wers pieśni ma być widoczny bez konieczności ukrywania menu. */
@media (max-width: 1100px) and (max-height: 520px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    --classic-mobile-art-size: 44px;
    row-gap: 3px;
    padding-bottom: 5px !important;
    margin-bottom: 8px !important;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before {
    height: 44px !important;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-title-text {
    font-size: 20px !important;
    line-height: 1.12;
  }
  body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-meta-row {
    gap: 3px 7px;
  }
}

/* 9.8.60: W trybie Występ boczne strefy zmiany pieśni były
   MALOWANE jak zwykłe przyciski motywu klasycznego.
   Szerokie, nieprzezroczyste pasy zakrywały początek i koniec
   wierszy (także akordy). Zostawiamy pełny obszar tekstu i
   działające, przezroczyste strefy dotykowe. */
body.classic-theme.performance-mode .performance-nav-zone,
body.classic-theme.performance-mode .performance-nav-zone:disabled,
body.classic-theme.performance-mode .performance-nav-zone:hover,
body.classic-theme.performance-mode .performance-nav-zone:active,
body.classic-theme.performance-mode .performance-nav-zone:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  text-shadow: none !important;
}
body.classic-theme.performance-mode .performance-nav-zone {
  padding: 0 !important;
  color: #6c5549 !important;
}
body.classic-theme.performance-mode .performance-nav-zone:hover:not(:disabled),
body.classic-theme.performance-mode .performance-nav-zone:active:not(:disabled) {
  background: rgba(159, 115, 68, .055) !important;
}
@media (max-width: 900px) {
  body.classic-theme.performance-mode .performance-nav-zone {
    width: 42px !important;
  }
}
/* Tekst biegnie pod przezroczystymi przyciskami; żadne tło
   stref nawigacji nie może go maskować. */


/* ================================================================
   9.8.61 | KLASY CZNY – SZRENIAWA: spójne ekrany pomocnicze
   Warstwa występu i zachowanie innych motywów pozostają niezależne.
   Kolory w jednym miejscu zamiast kolejnych ciemnych pozostałości.
   ================================================================ */
body.classic-theme {
  --classic-paper: #fffaf2;
  --classic-card: #fbf1e3;
  --classic-card-deep: #f0e0c9;
  --classic-border: #d4b88b;
  --classic-ink: #34281f;
  --classic-muted: #6b5340;
  --classic-red: #981b2a;
  --classic-gold: #a77830;
  --classic-blue: #24517e;
}
/* Okna modalne: kremowe arkusze z subtelną ramką w kolorze starego złota. */
body.classic-theme .cat-modal {
  background: rgba(42,33,26,.50);
}
body.classic-theme :is(
  .cat-modal-content,
  .repertoire-manager-content,
  .full-lyrics-content,
  .song-history-content,
  .song-trash-content,
  .performance-settings-content,
  .chord-manager-content,
  .lan-mixer-modal-content
) {
  background: var(--classic-paper) !important;
  color: var(--classic-ink) !important;
  border: 2px solid var(--classic-border) !important;
  box-shadow: 0 16px 42px rgba(55,34,18,.28) !important;
}
body.classic-theme .cat-modal-content :is(h2,h3,h4),
body.classic-theme .assistant-drawer :is(h2,h3,h4) {
  color: var(--classic-red) !important;
}
body.classic-theme .cat-modal-content :is(p,small,label,legend),
body.classic-theme .assistant-drawer :is(p,small,label,legend) {
  color: var(--classic-muted) !important;
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) :is(
  input:not([type=checkbox]):not([type=radio]),
  select,textarea
) {
  background: #fffdfa !important;
  color: var(--classic-ink) !important;
  border: 1px solid #bfa078 !important;
  box-shadow: none !important;
  accent-color: var(--classic-red);
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) :is(input,textarea)::placeholder {
  color: #8a7865 !important;
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) :is(
  button:not(.danger):not(.xr18-channel):not(.xr18-mute-all-btn):not(.xr18-unmute-all-btn),
  .btn
) {
  color: #402c20 !important;
  background: #eddbbf !important;
  border: 1px solid #c8a777 !important;
  box-shadow: none;
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) button:hover:not(:disabled) {
  filter: brightness(.96);
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) :is(button,input,textarea,select):focus-visible {
  outline: 2px solid var(--classic-gold) !important;
  outline-offset: 2px;
}
body.classic-theme :is(.cat-modal-content,.assistant-drawer) button:disabled {
  opacity: .52 !important;
}
/* Białe tytuły, które w oryginalnym układzie były przeznaczone wyłącznie na granat. */
body.classic-theme .cat-modal-content :is(.cat-modal-title,.modal-title) {
  color: var(--classic-red) !important;
}
body.classic-theme :is(.repertoire-manager-header,.performance-settings-header,.full-lyrics-header,.song-history-header,.lan-mixer-header) {
  border-color: var(--classic-border) !important;
}
body.classic-theme :is(
  .repertoire-manager-header h3,
  .performance-settings-header h3,
  .full-lyrics-header h3,
  .song-history-header h3,
  .lan-mixer-header h3
) {
  color: var(--classic-red) !important;
}
body.classic-theme :is(
  .repertoire-manager-header p,
  .performance-settings-header p,
  .full-lyrics-header p,
  .song-history-header p,
  .lan-mixer-header p
) {
  color: var(--classic-muted) !important;
}
/* REPERTUAR: listy, karty, szczegóły, etykiety i opisy. */
body.classic-theme :is(.repertoire-library-sidebar,.repertoire-library-detail) {
  background: var(--classic-card) !important;
  border: 1px solid var(--classic-border) !important;
  color: var(--classic-ink) !important;
}
body.classic-theme :is(.repertoire-set-list,.repertoire-manager-list) {
  background: #f8ecda !important;
  border: 1px solid var(--classic-border) !important;
  color: var(--classic-ink) !important;
}
body.classic-theme :is(.repertoire-set-card,.repertoire-manager-row) {
  background: #fffaf1 !important;
  border: 1px solid #d5b991 !important;
  border-left: 4px solid #c19b60 !important;
  color: var(--classic-ink) !important;
  box-shadow: none !important;
}
body.classic-theme .repertoire-set-card.selected {
  border-color: var(--classic-red) !important;
  box-shadow: 0 0 0 2px rgba(152,27,42,.16) !important;
}
body.classic-theme .repertoire-set-card.active {
  background: linear-gradient(90deg,#f0d6ae,#fff7e9) !important;
  border-left-color: var(--classic-red) !important;
}
body.classic-theme .repertoire-set-card:hover:not(:disabled),
body.classic-theme .repertoire-manager-row:hover {
  background: #f5e5d0 !important;
}
body.classic-theme :is(.repertoire-set-card,.repertoire-manager-row) :is(strong,.repertoire-row-title) {
  color: #3a2b20 !important;
}
body.classic-theme :is(.repertoire-set-card,.repertoire-manager-row) :is(span,small) {
  color: #725a43 !important;
}
body.classic-theme .repertoire-set-card.active small {
  color: #8d1f2b !important;
}
body.classic-theme .repertoire-library-filter,
body.classic-theme .repertoire-detail-form label,
body.classic-theme .repertoire-type-help,
body.classic-theme .repertoire-song-list-header small,
body.classic-theme .repertoire-empty {
  color: var(--classic-muted) !important;
}
body.classic-theme :is(.repertoire-detail-actions,.repertoire-manager-actions) {
  border-color: var(--classic-border) !important;
}
body.classic-theme .repertoire-song-count {
  background: #e3ebf3 !important;
  color: #1f4b77 !important;
  border: 1px solid #a9bed2 !important;
}
body.classic-theme .repertoire-archive-badge {
  background: #f6e0c9 !important;
  color: #853b23 !important;
  border-color: #d49b79 !important;
}
body.classic-theme .repertoire-active-badge {
  background: #efd79c !important;
  color: #48371b !important;
  border-color: #d2ae5d !important;
}
body.classic-theme .repertoire-row-number {
  background: var(--classic-red) !important;
  color: #fff !important;
}
/* Dyskretnie odróżnione działanie usunięcia i zapis – nie cały granatowy pasek. */
body.classic-theme .repertoire-detail-actions button[onclick*="delete"],
body.classic-theme .repertoire-manager-actions button[onclick*="clear"],
body.classic-theme .song-trash-row button[onclick*="delete"] {
  background: #f8e1de !important;
  border-color: #cc9a95 !important;
  color: #8c2229 !important;
}
body.classic-theme .repertoire-detail-actions button[onclick*="save"],
body.classic-theme .repertoire-create-btn {
  background: #e6d4b0 !important;
  border-color: #bd9252 !important;
  color: #382a1f !important;
}


/* HISTORIA, KOSZ, USTAWIENIA PEŁNEGO TEKSTU i BACKUP */
body.classic-theme :is(
  .song-history-sidebar,
  .song-history-comparison,
  .song-trash-toolbar,
  .full-lyrics-help,
  .backup-option-card,
  .chord-voicing-picker
) {
  background: var(--classic-card) !important;
  color: var(--classic-ink) !important;
  border: 1px solid var(--classic-border) !important;
}
body.classic-theme :is(
  .song-history-version-row,
  .song-history-field-diff > div,
  .song-trash-row
) {
  background: #fff9f0 !important;
  color: var(--classic-ink) !important;
  border: 1px solid #d9c19f !important;
}
body.classic-theme .song-history-version-row:hover,
body.classic-theme .song-history-version-row.selected {
  background: #f3dfc0 !important;
  border-color: var(--classic-red) !important;
  box-shadow: 0 0 0 1px rgba(152,27,42,.12);
}
body.classic-theme :is(
  .song-history-version-row,
  .song-history-field-diff,
  .song-trash-row,
  .full-lyrics-help,
  .backup-option-card
) :is(strong,span,small) {
  color: #4e3a2d !important;
}
body.classic-theme :is(
  .song-history-header p,
  .song-history-comparison-head small,
  .song-history-empty,
  .song-trash-row small,
  .song-history-version-row small,
  .full-lyrics-status-row small,
  .full-lyrics-status-row
) {
  color: var(--classic-muted) !important;
}
body.classic-theme .song-history-sidebar-title span {
  background: var(--classic-red) !important;
  color: #fffaf2 !important;
}
body.classic-theme .diff-line-no {
  background: #f2e4d1 !important;
  color: #785e46 !important;
}
body.classic-theme .history-removed,
body.classic-theme .song-history-diff-row.removed .diff-old {
  background: #fbe8e6 !important;
  color: #952e34 !important;
}
body.classic-theme .history-added,
body.classic-theme .song-history-diff-row.added .diff-new {
  background: #eaf3e6 !important;
  color: #28643f !important;
}
body.classic-theme #full-lyrics-input {
  background: #fffdfa !important;
  color: var(--classic-ink) !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme :is(.full-lyrics-help,.backup-help-text,.backup-option-title) {
  color: var(--classic-ink) !important;
}
/* KATEGORIE i DIAGRAMY GITAROWE. */
body.classic-theme :is(
  .category-filter-option,
  .song-category-option,
  .category-manager-row,
  .chord-voicing-picker,
  .chord-manager-list
) {
  background: #f6e7d3 !important;
  color: #3b2b21 !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme :is(.category-filter-option,.song-category-option,.category-manager-row) :is(span,label,strong) {
  color: var(--classic-ink) !important;
}
body.classic-theme .category-fixed-label,
body.classic-theme .chord-voicing-picker small {
  color: var(--classic-muted) !important;
}
body.classic-theme .chord-voicing-picker label {
  color: var(--classic-red) !important;
}
body.classic-theme .chord-voicing-picker select {
  background: #fffdfa !important;
  color: var(--classic-ink) !important;
  border: 1px solid var(--classic-border) !important;
}
body.classic-theme .chord-tooltip-card {
  background: #fffaf0 !important;
  color: var(--classic-ink) !important;
  border: 1px solid var(--classic-border) !important;
}
body.classic-theme .chord-tooltip-toolbar button {
  background: #eddbbf !important;
  color: var(--classic-ink) !important;
}
/* ASYSTENT ARANŻU I PANELE WYSUWANE. */
body.classic-theme :is(
  .assistant-drawer,
  #arrangement-panel,
  .assistant-drawer-content,
  #learning-panel,
  .practical-panel
) {
  background: var(--classic-card) !important;
  color: var(--classic-ink) !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme .assistant-drawer {
  border-left: 2px solid var(--classic-border) !important;
  box-shadow: -10px 0 26px rgba(65,42,23,.16);
}
body.classic-theme .assistant-drawer-header {
  background: #ead8bc !important;
  color: var(--classic-red) !important;
  border-bottom: 1px solid var(--classic-border) !important;
}
body.classic-theme :is(
  .arr-key-box,
  .arr-key-result,
  .arr-section-row,
  .arr-capo-list,
  .arr-block,
  .arr-section,
  .arr-assistant-heading
) {
  color: var(--classic-ink);
  border-color: var(--classic-border);
}
body.classic-theme :is(
  .arr-key-box,.arr-key-result,.arr-section-row,.arr-capo-list
) {
  background-color: #fff8ed !important;
}
body.classic-theme .preview-chord-nudge {
  background: #f6e9d6 !important;
  color: var(--classic-ink) !important;
  border: 1px solid var(--classic-border) !important;
}
/* USTAWIENIA WYKONAWCZE: wcześniej białe napisy na granatowych polach. */
body.classic-theme .performance-settings-grid label {
  color: #3c2b21 !important;
}
body.classic-theme .performance-settings-grid small {
  color: var(--classic-muted) !important;
}
body.classic-theme .performance-settings-grid :is(input,textarea,select) {
  background: #fffdfa !important;
  color: var(--classic-ink) !important;
  border-color: #c7a57b !important;
}
/* LOKALNY MIXER: zmiana koloru otoczenia bez fałszowania statusów kanałów. */
body.classic-theme .lan-mixer-modal-content {
  background: var(--classic-paper) !important;
  color: var(--classic-ink) !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme :is(.lan-server-section,.xr18-section) {
  background: var(--classic-card) !important;
  color: var(--classic-ink) !important;
  border: 1px solid var(--classic-border) !important;
}
body.classic-theme :is(
  .lan-server-details,
  .lan-mixer-header p,
  .xr18-config-row label,
  .xr18-section small,
  .xr18-group-actions span
) {
  color: var(--classic-muted) !important;
}
body.classic-theme .xr18-config-row input {
  background: #fffdfa !important;
  border-color: var(--classic-border) !important;
  color: var(--classic-ink) !important;
}
body.classic-theme .xr18-safety-note {
  background: #fff1d5 !important;
  color: #7b4914 !important;
}
body.classic-theme .xr18-restore-status,
body.classic-theme .xr18-active-state-actions {
  background: #f4e6d0 !important;
  color: #4a3828 !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme .xr18-active-state-actions span {
  color: var(--classic-muted) !important;
}
body.classic-theme .xr18-restore-status.ready {
  background: #e9f1df !important;
  color: #295b37 !important;
  border-color: #9bb888 !important;
}
/* Panel sterowania podczas występu ma ten sam papierowy charakter;
   status LIVE/REC i faktyczny stan XR18 zachowują kolory ostrzegawcze. */
body.classic-theme.performance-mode :is(
  .performance-dock,
  .performance-extra-controls,
  .performance-control-group,
  .performance-dock-launcher,
  .performance-option-switch
) {
  background: #fbf0df !important;
  border-color: var(--classic-border) !important;
  color: var(--classic-ink) !important;
}
body.classic-theme.performance-mode :is(
  .performance-dock-header,
  .performance-control-group > span,
  .performance-wake-status
) {
  color: var(--classic-muted) !important;
}
body.classic-theme.performance-mode .performance-control-group strong {
  color: var(--classic-ink) !important;
}
body.classic-theme.performance-mode .performance-option-switch button:not(.active) {
  color: var(--classic-ink) !important;
}
body.classic-theme.performance-mode .performance-option-switch button.active {
  background: var(--classic-red) !important;
  color: #fff !important;
}
/* Na ekranach dotykowych kontrolki i przyciski zachowują min. rozmiar
   ustalony w stylach podstawowych; żadne dekoracje nie zakrywają pieśni. */
@media (max-width: 900px) {
  body.classic-theme :is(.cat-modal-content,.repertoire-library-content) {
    max-width: 100vw;
    box-sizing: border-box;
  }
  body.classic-theme :is(.repertoire-library-sidebar,.repertoire-library-detail) {
    min-width: 0;
  }
}


/* Drobne akcenty: liczniki i paski zamiast obcych niebieskich plakietek. */
body.classic-theme .sidebar-cat-filter-count {
  background: #d6af68 !important;
  color: #432b1d !important;
  border: 1px solid #bd9250 !important;
}
body.classic-theme .sidebar-cat-filter-dropdown {
  background: #fffaf0 !important;
  border: 1px solid var(--classic-border) !important;
  color: var(--classic-ink) !important;
}
body.classic-theme .sidebar-cat-filter-btn {
  background: #ead9bf !important;
  color: var(--classic-ink) !important;
  border-color: var(--classic-border) !important;
}
body.classic-theme .new-song-btn {
  background: #ecd7b6 !important;
  color: #442f21 !important;
  border-color: var(--classic-border) !important;
}
/* Mobilny edytor diagramów ma wewnętrzne szerokości w atrybutach style.
   Nadpisujemy je wyłącznie przy małym ekranie, bez cięcia przewijania. */
@media (max-width: 700px) {
  body.classic-theme #chord-manager-modal .cat-modal-content {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    padding: 12px !important;
    max-height: calc(100dvh - 16px) !important;
    overflow-y: auto;
    box-sizing: border-box;
  }
  body.classic-theme #chord-manager-modal .chord-manager-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.classic-theme #chord-manager-modal .chord-manager-layout > * {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.classic-theme #chord-manager-modal .chord-manager-form {
    grid-template-columns: minmax(0,96px) minmax(0,1fr) !important;
    width: 100% !important;
  }
  body.classic-theme #chord-manager-modal .chord-manager-form :is(input,select) {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.classic-theme #chord-manager-modal .chord-manager-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.classic-theme #chord-manager-modal .chord-manager-workbench {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  body.classic-theme #chord-manager-modal .chord-manager-workbench > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.classic-theme #chord-manager-modal .chord-voicing-picker {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* 9.8.63 — Artystyczny szkic kościoła jest w panelu Śpiewnika,
   a nie w pasku tytułu pieśni. Tytuł/akordy mogą zaczynać się wysoko.
   Ten sam obraz pozostaje widoczny w nagłówku bocznym na telefonie. */
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 3px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 9px !important;
    margin: 0 0 10px !important;
    background: #fffaf2 !important;
    background-image: none !important;
    border-bottom: 2px solid #c89c4d !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before,
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-title-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    min-width: 0;
    max-width: 100%;
    gap: 5px 10px;
    margin: 0 !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-meta-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    gap: 5px 8px !important;
    margin: 2px 0 0 !important;
    box-sizing: border-box !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-meta-row > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}
.classic-sidebar-church,
.classic-brand-church { display: none; }
/* Wariant desktop — kościół i gitary w obrębie istniejącego, odrębnego panelu. */
body.classic-theme #sidebar .classic-sidebar-art .classic-sidebar-church {
    position: absolute;
    display: block;
    right: -9px;
    bottom: -4px;
    width: 120px;
    height: 153px;
    object-fit: contain;
    object-position: bottom right;
    z-index: 2;
    opacity: .92;
}
body.classic-theme #sidebar .classic-sidebar-art .classic-sidebar-guitars {
    left: -9px;
    bottom: -9px;
    height: 145px;
    z-index: 1;
}
body.classic-theme #sidebar .classic-sidebar-art .classic-sidebar-notes {
    top: 4px;
    right: 73px;
    height: 65px;
    opacity: .34;
    z-index: 3;
}
@media (max-width: 900px) {
    body.classic-theme .classic-brand-graphic { display: none !important; }
    body.classic-theme .classic-brand-church {
        display: block;
        position: relative;
        z-index: 2;
        height: 56px;
        width: 56px;
        flex: 0 0 56px;
        max-width: 25%;
        object-fit: contain;
    }
    body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
        gap: 2px !important;
        padding-bottom: 7px !important;
        margin-bottom: 8px !important;
    }
}
@media (max-width: 900px) and (max-height: 520px) {
    body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
        gap: 1px !important;
        padding-bottom: 5px !important;
        margin-bottom: 6px !important;
    }
}
@media print {
    body.classic-theme .classic-sidebar-church,
    body.classic-theme .classic-brand-church { display: none !important; }
}

/* 9.8.64 — szkic kościoła wraca na swoją pozycję po PRAWEJ u góry.
   To pojedyncza, półprzezroczysta tapeta pod treścią bez zajmowania
   miejsca w układzie. Pasek tytułu nie rośnie, tekst zaczyna się wyżej. */
body.classic-theme:not(.fs-active):not(.performance-mode) #output {
  background-color: #fffaf2 !important;
  background-image: url("../assets/classic-church-watermark.webp") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px top 8px !important;
  background-size: 126px auto !important;
  background-attachment: local !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
  min-height: 0 !important;
  background: transparent !important;
  background-image: none !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .song-content {
  background: transparent !important;
  background-image: none !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before,
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
  display: none !important;
  content: none !important;
}
/* Wróć do poprzednich dekoracji gitar i nut w lewym panelu. */
body.classic-theme #sidebar .classic-sidebar-art .classic-sidebar-guitars {
  left: 18px;
  bottom: -8px;
  height: 164px;
}
body.classic-theme #sidebar .classic-sidebar-art .classic-sidebar-notes {
  top: 20px;
  right: 4px;
  height: 105px;
  opacity: .64;
}
@media (max-width:900px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output {
    background-position: right 6px top 5px !important;
    background-size: 76px auto !important;
  }
  body.classic-theme .classic-brand-graphic {
    display: block !important;
  }
}
@media (max-width:900px) and (orientation:landscape) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output {
    background-size: 65px auto !important;
  }
}
@media print {
  body.classic-theme #output {background-image: none !important;}
}


/* 9.8.65 — kościół niezależny od długości pieśni i przewijania tła.
   Obraz jest dekoracją ponad kremowym podłożem, ale POD tekstem.
   Nie zmienia wysokości nagłówka ani położenia akordów. */
body.classic-theme:not(.fs-active):not(.performance-mode) #output {
  --classic-church-width: 104px;
  --classic-church-height: 124px;
  --classic-church-right: 22px;
  --classic-church-top: 9px;
  --classic-church-gap: 16px;
  position: relative !important;
  isolation: isolate;
  background-color: #fffaf2 !important;
  background-image: none !important;
  background-attachment: scroll !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: var(--classic-church-top) !important;
  right: var(--classic-church-right) !important;
  width: var(--classic-church-width) !important;
  height: var(--classic-church-height) !important;
  box-sizing: border-box !important;
  background: url("../assets/classic-church-watermark.webp")
    center center / contain no-repeat !important;
  opacity: 1 !important; /* Przezroczystość jest już w pliku WebP */
  pointer-events: none !important;
  z-index: 0 !important;
}
/* Linie i tekst leżą nad ilustracją, ale bez kryjącego prostokąta. */
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header {
  position: relative !important;
  z-index: 1 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  background-image: none !important;
  min-height: 0 !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::before {
  content: none !important;
  display: none !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .preview-song-header::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: calc(var(--classic-church-width) + var(--classic-church-gap)) !important;
  width: auto !important;
  height: 2px !important;
  opacity: 1 !important;
  background: #c89c4d !important;
  border: 0 !important;
  border-radius: 2px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
body.classic-theme:not(.fs-active):not(.performance-mode) #output .song-content {
  background: transparent !important;
  background-image: none !important;
  position: relative;
  z-index: 1;
}
/* Ekrany o małej szerokości: nadal cały kościół i czytelny tytuł. */
@media (max-width: 900px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output {
    --classic-church-width: 68px;
    --classic-church-height: 82px;
    --classic-church-right: 10px;
    --classic-church-top: 6px;
    --classic-church-gap: 12px;
  }
}
@media (max-width: 360px) {
  body.classic-theme:not(.fs-active):not(.performance-mode) #output {
    --classic-church-width: 57px;
    --classic-church-height: 69px;
    --classic-church-right: 7px;
    --classic-church-top: 6px;
    --classic-church-gap: 10px;
  }
}
@media print {
  body.classic-theme #output::before { content: none !important; display:none !important; }
}


/* ==============================================================
   9.8.66  Motyw Klasyczny — tryb Występ i Asystent Aranżu
   Status LIVE / REC / ostrzeżenia mają zachować własne znaczenie.
   ============================================================== */

/* Występ: jeden spokojny, kremowy panel, bez ciężkiego granatu. */
body.classic-theme.performance-mode .performance-topbar {
    background: rgba(255,249,238,.98) !important;
    border: 1px solid #c5a16f !important;
    color: #33291f !important;
    box-shadow: 0 5px 17px rgba(66,42,24,.18) !important;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}
body.classic-theme.performance-mode .performance-current-info,
body.classic-theme.performance-mode .performance-secondary-info,
body.classic-theme.performance-mode .performance-current-info > div,
body.classic-theme.performance-mode .performance-title-row {
    min-width: 0;
}
body.classic-theme.performance-mode #performanceTitle {
    color: #8f1d27 !important;
    font-weight: 850;
    text-shadow: none !important;
}
body.classic-theme.performance-mode .performance-current-info small,
body.classic-theme.performance-mode #performanceRepertoireName {
    color: #6e5a45 !important;
}
body.classic-theme.performance-mode .performance-meta {
    color: #875923 !important;
}
body.classic-theme.performance-mode .performance-position {
    background: #e5ba54 !important;
    color: #3a2a19 !important;
    border: 1px solid #c59638 !important;
    box-shadow: none !important;
}
body.classic-theme.performance-mode .performance-next-title {
    color: #4b3c30 !important;
}
body.classic-theme.performance-mode .performance-next-title strong {
    color: #8c2028 !important;
}
body.classic-theme.performance-mode #performanceNoteToggle {
    background: #f2e5ce !important;
    border: 1px solid #d3b485 !important;
    color: #473326 !important;
}
body.classic-theme.performance-mode #performanceStrummingDisplay,
body.classic-theme.performance-mode .performance-secondary-info .performance-strumming-display {
    background: #f1e1c6 !important;
    border: 1px solid #d5b37d !important;
    color: #3d3024 !important;
    box-shadow: none !important;
    box-sizing: border-box;
}
body.classic-theme.performance-mode .performance-strumming-display strong {
    color: #8d242d !important;
}
body.classic-theme.performance-mode .performance-no-strumming {
    color: #736252 !important;
}
body.classic-theme.performance-mode #performanceIntroDisplay,
body.classic-theme.performance-mode .performance-intro-display {
    background: #f5e8d3 !important;
    color: #3d2a21 !important;
    border: 1px solid #dec295 !important;
}
body.classic-theme.performance-mode .performance-intro-display strong {
    color: #8b252d !important;
}
body.classic-theme.performance-mode .performance-intro-chord {
    color: #9a1b28 !important;
}
body.classic-theme.performance-mode .performance-intro-separator {
    color: #7b6754 !important;
}
body.classic-theme.performance-mode .performance-exit {
    background: #f3e2c4 !important;
    color: #482e26 !important;
    border: 1px solid #c49c69 !important;
    box-shadow: 0 1px 2px rgba(80,48,25,.12) !important;
    min-height: 42px;
    line-height: 1.05;
    white-space: nowrap;
    font-weight: 800;
    touch-action: manipulation;
}
body.classic-theme.performance-mode .performance-exit:hover:not(:disabled) {
    background: #e9cda4 !important;
}
body.classic-theme.performance-mode .performance-live-badge.unknown {
    color: #4f5b65 !important;
    border-color: #b5bec3 !important;
    background: #e4e7e8 !important;
}
body.classic-theme.performance-mode .performance-live-badge.live,
body.classic-theme.performance-mode .performance-main-lr-toggle[aria-pressed="true"] {
    color: #14552f !important;
    background: #dcefe0 !important;
    border-color: #71a97c !important;
}
body.classic-theme.performance-mode .performance-live-badge.muted {
    background: #f6dfdf !important;
    border-color: #ce8585 !important;
    color: #922b32 !important;
}
body.classic-theme.performance-mode .performance-main-lr-toggle:disabled {
    background: #e6e5e2 !important;
    color: #63676b !important;
    border-color: #bfc1c2 !important;
}
body.classic-theme.performance-mode .performance-main-lr-toggle:not(:disabled):not([aria-pressed="true"]) {
    background: #fae2df !important;
    color: #8b252c !important;
    border-color: #c67c79 !important;
}
body.classic-theme.performance-mode .recorder-inline-status {
    color: #695442 !important;
}
body.classic-theme.performance-mode .recorder-inline-status.is-error {
    color: #a32930 !important;
}
body.classic-theme.performance-mode .performance-song-note {
    background: #fff3d9 !important;
    color: #65451d !important;
    border-color: #b98a40 !important;
}

/* Mniejsze telefony: kolejność informacji, brak nakładających się elementów. */
@media (max-width: 900px) {
    body.classic-theme.performance-mode .performance-topbar {
        left: max(7px, env(safe-area-inset-left)) !important;
        right: max(7px, env(safe-area-inset-right)) !important;
        padding: 8px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "current exit"
            "secondary secondary"
            "intro intro" !important;
        align-items: start !important;
        gap: 6px 8px !important;
        min-width: 0 !important;
        max-width: calc(100vw - 14px) !important;
    }
    body.classic-theme.performance-mode .performance-current-info {
        grid-area: current !important;
        display: grid !important;
        grid-template-columns: auto minmax(0,1fr) !important;
        gap: 8px !important;
        align-items: start !important;
        min-width: 0 !important;
    }
    body.classic-theme.performance-mode .performance-current-info > div {
        min-width: 0 !important;
        overflow: hidden;
    }
    body.classic-theme.performance-mode .performance-position {
        min-width: 45px !important;
        font-size: 17px !important;
        padding: 8px 6px !important;
    }
    body.classic-theme.performance-mode .performance-title-row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 4px 6px !important;
        max-width: 100%;
    }
    body.classic-theme.performance-mode #performanceTitle {
        flex: 1 1 100%;
        display: block;
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    body.classic-theme.performance-mode .performance-live-badge {
        flex: 0 0 auto;
        max-width: 100%;
    }
    body.classic-theme.performance-mode .performance-main-lr-toggle {
        flex: 0 1 auto;
        min-width: 0 !important;
        min-height: 32px !important;
        padding: 5px 7px !important;
        white-space: normal !important;
        max-width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }
    body.classic-theme.performance-mode .performance-exit {
        grid-area: exit !important;
        align-self: start;
        min-width: 70px !important;
        padding: 10px 9px !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
    }
    body.classic-theme.performance-mode .performance-secondary-info {
        grid-area: secondary !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        gap: 4px !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }
    body.classic-theme.performance-mode .performance-next-and-note {
        min-width: 0;
        max-width: 100%;
    }
    body.classic-theme.performance-mode .performance-next-title {
        display: block !important;
        max-width: 100%;
        font-size: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    body.classic-theme.performance-mode .performance-strumming-display.visible {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    body.classic-theme.performance-mode .performance-intro-display {
        grid-area: intro !important;
        max-width: 100%;
        min-width: 0 !important;
    }
}
@media (max-width: 360px) {
    body.classic-theme.performance-mode .performance-current-info {
        gap: 5px !important;
    }
    body.classic-theme.performance-mode .performance-position {
        min-width: 39px !important;
        font-size: 15px !important;
    }
    body.classic-theme.performance-mode .performance-exit {
        min-width: 58px !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
    }
}
@media (max-width: 900px) and (orientation: landscape) {
    body.classic-theme.performance-mode .performance-topbar {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 3px 8px !important;
        padding: 5px 8px !important;
    }
    body.classic-theme.performance-mode .performance-title-row {
        gap: 2px 6px !important;
    }
    body.classic-theme.performance-mode #performanceTitle {
        font-size: 12px !important;
    }
    body.classic-theme.performance-mode .performance-exit {
        min-height: 35px;
    }
}

/* Asystent: wszystkie karty, fragmenty i przyciski w tym samym motywie. */
body.classic-theme #assistant-drawer,
body.classic-theme #arrangement-panel,
body.classic-theme #assistant-drawer .assistant-drawer-content {
    background: #f9f0e3 !important;
    color: #372920 !important;
    border-color: #d6b98a !important;
}
body.classic-theme #assistant-drawer .assistant-drawer-header {
    background: #ecd9ba !important;
    color: #8d1e29 !important;
    border-bottom: 1px solid #c9a36a !important;
}
body.classic-theme #assistant-drawer .assistant-drawer-header button {
    background: #f8ebd8 !important;
    color: #5b322b !important;
    border: 1px solid #bc925f !important;
    min-width: 38px;
    min-height: 36px;
}
body.classic-theme #arrangement-panel :is(
  .arr-key-box,.arr-block,.arr-details,.arr-section-row,.arr-capo-list
) {
    background: #fff9ef !important;
    border-color: #d9bd93 !important;
    color: #3b2d23 !important;
}
body.classic-theme #arrangement-panel .arr-block-title,
body.classic-theme #arrangement-panel .arr-assistant-heading span,
body.classic-theme #arrangement-panel .arr-key-result b {
    color: #8f1d2a !important;
}
body.classic-theme #arrangement-panel .arr-assistant-heading {
    border-color: #caa269 !important;
}
body.classic-theme #arrangement-panel :is(
  .arr-assistant-heading small,.arr-block-title small,.arr-key-result small,
  .arr-section-row small,.arr-safe-note,.arr-capo-btn small,
  .arr-preset-description,.arr-no-changes,.arr-preview-block > p,
  .arr-interpretation-help
) {
    color: #6c5641 !important;
}
body.classic-theme #arrangement-panel .arr-key-result > span,
body.classic-theme #arrangement-panel .arr-key-box label {
    color: #644c39 !important;
}
body.classic-theme #arrangement-panel .arr-key-box select {
    background: #fffdfa !important;
    color: #3a291f !important;
    border: 1px solid #c4a377 !important;
}
body.classic-theme #arrangement-panel .arr-preset-card {
    background: #f9ecda !important;
    color: #3b2c21 !important;
    border: 1px solid #d7b88b !important;
    box-shadow: none !important;
}
body.classic-theme #arrangement-panel .arr-preset-card:hover {
    border-color: #a47b45 !important;
    background: #f3e1c6 !important;
}
body.classic-theme #arrangement-panel .arr-preset-card.is-active {
    border: 2px solid #992633 !important;
    background: #f6dfd2 !important;
    box-shadow: 0 0 0 1px rgba(153,38,51,.10) !important;
}
body.classic-theme #arrangement-panel .arr-preset-title,
body.classic-theme #arrangement-panel .arr-section-row b {
    color: #4b3427 !important;
}
body.classic-theme #arrangement-panel .arr-preset-risk {
    color: #8e3542 !important;
}
body.classic-theme #arrangement-panel :is(
  .arr-change-chip,.arr-voicing-chip,.arr-key-candidate,.arr-capo-btn
) {
    background: #f3e4ce !important;
    color: #403127 !important;
    border: 1px solid #cfad7c !important;
}
body.classic-theme #arrangement-panel :is(
  .arr-change-chip,.arr-voicing-chip,.arr-key-candidate,.arr-capo-btn
):hover {
    background: #ead3b2 !important;
    border-color: #a77b40 !important;
}
body.classic-theme #arrangement-panel .arr-capo-btn.is-current {
    background: #e4f0df !important;
    border-color: #729d6d !important;
    color: #285637 !important;
}
body.classic-theme #arrangement-panel .arr-change-chip b,
body.classic-theme #arrangement-panel .arr-voicing-chip b {
    color: #902834 !important;
}
body.classic-theme #arrangement-panel :is(
  .arr-change-chip small,.arr-voicing-chip small,.arr-key-candidate small
) {
    color: #705b43 !important;
}
body.classic-theme #arrangement-panel .arr-text-preview pre {
    background: #fffdfa !important;
    color: #36291f !important;
    border: 1px solid #dac39e !important;
}
body.classic-theme #arrangement-panel :is(
  .arr-details summary,.arr-text-preview summary
) {
    color: #7e2734 !important;
}
body.classic-theme #arrangement-panel .arr-confidence {
    color: #255b37 !important;
    background: #e9f2de !important;
    border-color: #91b47f !important;
}
body.classic-theme #arrangement-panel .arr-melody-warning,
body.classic-theme #arrangement-panel .arr-empty {
    background: #fff0d5 !important;
    color: #7d4b18 !important;
    border: 1px solid #d3ac6f !important;
}
body.classic-theme #arrangement-panel .arr-section-row.has-warning {
    background: #fff0df !important;
    border: 1px solid #ce8a68 !important;
}
body.classic-theme #arrangement-panel .arr-section-row > strong {
    color: #9a3136 !important;
}
body.classic-theme #arrangement-panel button.arr-apply-copy {
    background: #972633 !important;
    color: #fff9ef !important;
    border: 1px solid #c89c64 !important;
    box-shadow: none !important;
    min-height: 40px;
}
body.classic-theme #arrangement-panel button.arr-apply-copy:hover:not(:disabled) {
    background: #7f1d29 !important;
}
@media (max-width:900px) {
  body.classic-theme #assistant-drawer {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  body.classic-theme #arrangement-panel {
    padding: 10px !important;
  }
  body.classic-theme #arrangement-panel .arr-preset-grid {
    grid-template-columns: minmax(0,1fr);
  }
  body.classic-theme #arrangement-panel .arr-capo-btn {
    min-width: 0;
    flex: 1 1 110px;
  }
}


/* ===========================================================
   9.8.67 — KLASYCZNY: Tryb występu / pasek sterowania.
   Kompaktowy jasny HUD, bez ciemnego pasa i bez kolizji na
   telefonie. Statusy LIVE/MUTED/REC zachowują znaczenie.
   =========================================================== */
.performance-status-controls {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    min-width: 0;
}
body.classic-theme.performance-mode .performance-topbar {
    background: rgba(255, 248, 237, .98) !important;
    color: #35291f !important;
    border: 1px solid #cba976 !important;
    box-shadow: 0 5px 18px rgba(89, 61, 34, .20) !important;
    backdrop-filter: blur(9px);
    border-radius: 13px;
}
body.classic-theme.performance-mode .performance-current-info strong,
body.classic-theme.performance-mode .performance-title-row #performanceTitle {
    color: #92222e !important;
}
body.classic-theme.performance-mode .performance-current-info small {
    color: #715e4c !important;
}
body.classic-theme.performance-mode .performance-meta {
    color: #805d29 !important;
}
body.classic-theme.performance-mode .performance-position {
    color: #422d14 !important;
    background: #efd49b !important;
    border: 1px solid #cda653 !important;
    box-shadow: none !important;
}
body.classic-theme.performance-mode .performance-live-badge.unknown {
    color: #644f3c !important;
    background: #f2e8d9 !important;
    border-color: #c7ad8d !important;
}
body.classic-theme.performance-mode .performance-live-badge.live {
    color: #216040 !important;
    background: #e0f2e5 !important;
    border-color: #80af8e !important;
}
body.classic-theme.performance-mode .performance-live-badge.muted {
    color: #992e39 !important;
    background: #fbe6e4 !important;
    border-color: #d6a19c !important;
}
body.classic-theme.performance-mode .performance-main-lr-toggle {
    background: #f5e9d6 !important;
    color: #513e2e !important;
    border: 1px solid #c9ad89 !important;
    box-shadow: none !important;
    min-height: 34px;
}
body.classic-theme.performance-mode .performance-main-lr-toggle.is-live {
    background: #e5f1e6 !important;
    color: #286642 !important;
    border-color: #91bb9a !important;
}
body.classic-theme.performance-mode .performance-main-lr-toggle[aria-pressed="true"] {
    background: #fbe4e3 !important;
    color: #9d2936 !important;
    border-color: #d5a09b !important;
}
body.classic-theme.performance-mode .performance-main-lr-toggle:disabled,
body.classic-theme.performance-mode .recorder-badge:disabled {
    opacity: .75 !important;
    color: #766a5d !important;
    background: #eee5d9 !important;
    border-color: #d3c3b0 !important;
}
body.classic-theme.performance-mode .recorder-badge {
    background: #f7eee4 !important;
    border: 1px solid #cbae8e !important;
    color: #633d33 !important;
    box-shadow: none !important;
    min-height: 34px;
}
body.classic-theme.performance-mode .recorder-badge.is-recording {
    background: #fce2e1 !important;
    border-color: #d85c64 !important;
    color: #9f1d2e !important;
    opacity: 1 !important;
    font-weight: 900;
}
body.classic-theme.performance-mode .recorder-inline-status {
    margin: 0 !important;
    max-width: 128px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-size: 10px;
    color: #735f4e;
}
body.classic-theme.performance-mode .recorder-inline-status.is-error {
    color: #a53d43 !important;
}
body.classic-theme.performance-mode .performance-secondary-info {
    min-width: 0;
}
body.classic-theme.performance-mode .performance-secondary-info .performance-next-title {
    color: #594b3d !important;
    min-width: 0;
    font-weight: 700;
}
body.classic-theme.performance-mode .performance-secondary-info .performance-strumming-display {
    background: #f5e6d3 !important;
    border: 1px solid #dbc4a6 !important;
    color: #533b2b !important;
}
body.classic-theme.performance-mode .performance-secondary-info .performance-strumming-display strong {
    color: #9a2430 !important;
}
body.classic-theme.performance-mode .performance-no-strumming {
    color: #816d5a !important;
}
body.classic-theme.performance-mode .performance-intro-display {
    background: #f4e6d1 !important;
    border: 1px solid #dbc3a2 !important;
    color: #543b29 !important;
}
body.classic-theme.performance-mode .performance-intro-display strong {
    color: #8e2330 !important;
}
body.classic-theme.performance-mode .performance-intro-chord {
    color: #9d2532 !important;
}
body.classic-theme.performance-mode .performance-exit {
    min-height: 40px;
    background: #efe0c9 !important;
    color: #422f22 !important;
    border: 1px solid #be9a68 !important;
    box-shadow: none !important;
    font-weight: 850;
    white-space: nowrap;
}
body.classic-theme.performance-mode .performance-exit:hover {
    background: #e6ccab !important;
}
body.classic-theme.performance-mode .performance-song-note {
    color: #56391c !important;
    background: #fff0cf !important;
    border: 1px solid #ccab72 !important;
}
/* One unobtrusive panel on desktop. */
@media (min-width: 901px) {
    body.classic-theme.performance-mode .performance-topbar {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 420px) auto !important;
        grid-template-areas: "current secondary exit" "intro intro intro";
        gap: 5px 12px;
        padding: 8px 12px;
    }
    body.classic-theme.performance-mode .performance-title-row {
        flex-wrap: wrap;
        gap: 5px 8px;
    }
}
/* Mobile: unlike the old flex row, the content can never push REC under EXIT.
   The compact status sits beside the song counter, the title gets its own line.
   Grid flattening is limited to this theme + performance mode only. */
@media (max-width: 900px) {
    body.classic-theme.performance-mode .performance-topbar {
        top: max(5px, env(safe-area-inset-top)) !important;
        left: max(6px, env(safe-area-inset-left)) !important;
        right: max(6px, env(safe-area-inset-right)) !important;
        max-width: calc(100vw - 12px);
        padding: 6px 8px !important;
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) auto !important;
        grid-template-rows: auto !important;
        grid-template-areas:
            "counter status exit"
            "title title title"
            "rep rep rep"
            "meta meta meta"
            "secondary secondary secondary"
            "intro intro intro" !important;
        gap: 3px 6px !important;
        box-sizing: border-box;
        max-height: min(43dvh, 230px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    body.classic-theme.performance-mode .performance-current-info,
    body.classic-theme.performance-mode .performance-current-info > div,
    body.classic-theme.performance-mode .performance-title-row {
        display: contents !important;
    }
    body.classic-theme.performance-mode .performance-position {
        grid-area: counter !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        min-width: 0;
        min-height: 37px;
        padding: 3px 2px !important;
        box-sizing: border-box;
        font-size: 17px;
    }
    body.classic-theme.performance-mode .performance-status-controls {
        grid-area: status !important;
        min-width: 0;
        max-width: 100%;
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px;
        overflow: hidden;
    }
    body.classic-theme.performance-mode #performanceTitle {
        grid-area: title !important;
        color: #8f2330 !important;
        display: block !important;
        min-width: 0;
        max-width: 100%;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        line-height: 1.15;
        font-size: 13px !important;
    }
    body.classic-theme.performance-mode #performanceRepertoireName {
        grid-area: rep !important;
        min-width: 0;
        max-width: 100%;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 10px !important;
        line-height: 1.2;
    }
    body.classic-theme.performance-mode #performanceMeta {
        grid-area: meta !important;
        min-width: 0;
        max-width: 100%;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 10px !important;
        line-height: 1.25;
    }
    body.classic-theme.performance-mode .performance-secondary-info {
        grid-area: secondary !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 5px !important;
        padding: 0 !important;
        max-width: 100%;
        overflow: hidden;
        align-items: center;
    }
    body.classic-theme.performance-mode .performance-secondary-info .performance-next-title {
        display: block !important;
        min-width: 0;
        font-size: 10px !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    body.classic-theme.performance-mode .performance-secondary-info .performance-strumming-display {
        max-width: 100%;
        padding: 2px 5px;
        min-height: 20px;
        box-sizing: border-box;
    }
    body.classic-theme.performance-mode .performance-exit {
        grid-area: exit !important;
        min-width: 64px;
        min-height: 37px;
        padding: 6px 8px !important;
        font-size: 12px !important;
        align-self: stretch;
    }
    body.classic-theme.performance-mode .performance-intro-display {
        grid-area: intro !important;
        max-width: 100%;
        min-height: 0;
        padding: 3px 6px;
    }
    body.classic-theme.performance-mode .performance-live-badge {
        display: none !important; /* LIVE control already shows current status */
    }
    body.classic-theme.performance-mode .performance-main-lr-toggle {
        min-width: 61px !important;
        min-height: 37px !important;
        padding: 4px 6px !important;
        font-size: 10px;
        flex: 0 0 auto;
    }
    body.classic-theme.performance-mode .recorder-badge {
        min-width: 57px !important;
        min-height: 37px !important;
        padding: 4px 6px !important;
        font-size: 10px !important;
        flex: 0 0 auto;
    }
    body.classic-theme.performance-mode .recorder-inline-status {
        min-width: 0;
        flex: 0 1 auto;
        max-width: 76px;
        font-size: 9px;
    }
    body.classic-theme.performance-mode .performance-strumming-display .strum-arrow {
        font-size: 1.07em;
    }
}
/* Very narrow screens: hide only the optional inline ScholaBox hint; full status
   remains on the REC button and its tooltip. */
@media (max-width: 340px) {
    body.classic-theme.performance-mode .recorder-inline-status {display:none !important;}
    body.classic-theme.performance-mode .performance-status-controls {gap:3px;}
    body.classic-theme.performance-mode .performance-exit {min-width:59px;padding-inline:5px !important;}
}
/* Landscape phones: shorter stage panel to preserve lyric space. */
@media (max-width: 900px) and (max-height: 520px) {
    body.classic-theme.performance-mode .performance-topbar {
        max-height: min(48dvh, 190px) !important;
        gap: 2px 5px !important;
        padding: 4px 7px !important;
    }
    body.classic-theme.performance-mode #performanceRepertoireName {display: none !important;}
    body.classic-theme.performance-mode #performanceMeta {font-size: 9px !important;}
    body.classic-theme.performance-mode .performance-position,
    body.classic-theme.performance-mode .performance-main-lr-toggle,
    body.classic-theme.performance-mode .recorder-badge,
    body.classic-theme.performance-mode .performance-exit {min-height: 32px !important;}
}

/* Na małym ekranie czas nagrania jest na samym przycisku REC.
   Nie dublujemy go w osobnej etykiecie. */
@media (max-width: 900px) {
  body.classic-theme.performance-mode .recorder-badge.is-recording {
    max-width: 96px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  body.classic-theme.performance-mode .recorder-badge.is-recording + .recorder-inline-status {
    display: none !important;
  }
}
