
/* Public demo: free first, title-only locked rhythms, no free-form import tools. */
.cf-demo-free { position:relative; }
.cf-demo-tag { display:inline-block; margin-left:auto; padding:.18rem .5rem; font-size:.67rem; font-weight:800; letter-spacing:.045em; border-radius:50px; color:#002c29; background:#31ddc1; white-space:nowrap; }
.cf-demo-locked { display:flex; align-items:center; justify-content:space-between; gap:1rem; text-align:left; width:100%; padding:1rem 1.1rem; border:1px solid rgba(112,139,152,.28); border-radius:12px; background:rgba(21,36,47,.7); color:#d9e6e9; margin:.4rem 0; cursor:default; font:inherit; }
.cf-demo-locked strong { font-size:1rem; font-weight:650; }
.cf-locked-tag { flex-shrink:0; font-size:.73rem; font-weight:700; color:#a6b9c0; }

.cf-demo-pro-info { max-width:1080px; margin:1.1rem auto 1.25rem; padding:1.3rem 1.45rem; border:1px solid rgba(47,222,188,.42); border-radius:17px; background:linear-gradient(120deg,rgba(20,63,66,.85),rgba(9,22,34,.92)); color:#e6f7f5; }
.cf-pro-eyebrow { color:#42dfc9; font-size:.7rem; font-weight:850; letter-spacing:.09em; display:block; margin-bottom:.4rem; }
.cf-demo-pro-info strong { font-size:clamp(1.15rem,2.3vw,1.6rem); display:block; }
.cf-demo-pro-info p { line-height:1.55; margin:.65rem 0; }
.cf-demo-pro-info small { display:block; color:#bbd6d3; }
.cf-demo-catalog-intro { display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem 1rem; margin:1.3rem 0 .6rem; color:#d5f5ef; }
.cf-demo-catalog-intro span { opacity:.78; font-size:.85rem; }
/* Keep underlying control IDs present so app setup remains compatible, but remove unlocked workflows. */
.cf-demo #loadView .wizard-head, .cf-demo #loadView .cf-import-cards, .cf-demo #loadView #songSelectPanel,
.cf-demo #loadView #songEdit, .cf-demo #loadView #scoreImport, .cf-demo #loadView #createBlank,
.cf-demo #loadView #chooseDigital, .cf-demo #loadView #chooseSaved, .cf-demo #loadView #choosePdf,
.cf-demo #loadView #tabEdit, .cf-demo #loadView [data-select-mode="edit"],
.cf-demo #rhythmEdit,.cf-demo #rhythmCreate,.cf-demo #savedRhythmsFilter,.cf-demo .library-tail,
.cf-demo #readerGhost16ths, .cf-demo #scoreExport, .cf-demo #pdfImport,
.cf-demo .midi-import-option, .cf-demo .song-import-callout { display:none !important; }
/* Feedback button fixed above the mobile browser gesture area, with a centered, scrollable form. */
.cf-demo-feedback-button { position:fixed; right:max(16px,env(safe-area-inset-right)); bottom:max(18px,env(safe-area-inset-bottom)); z-index:9995; display:flex; gap:.45rem; align-items:center; padding:.8rem 1.05rem; border:1px solid #77fbe5; border-radius:28px; background:#14c8b1; color:#062c29; font:800 .94rem system-ui,sans-serif; box-shadow:0 6px 25px rgba(0,0,0,.45); cursor:pointer; }
.cf-demo-feedback-overlay[hidden]{display:none !important;}
.cf-demo-feedback-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:14px;background:rgba(2,9,16,.82);backdrop-filter:blur(5px)}
.cf-demo-feedback-dialog{width:min(100%,620px);max-height:min(88dvh,820px);overflow:auto;background:#0d1e27;color:#ebf7f4;border:1px solid #447976;border-radius:16px;padding:clamp(16px,3vw,30px);box-shadow:0 20px 70px #000a;font:inherit}
.cf-demo-feedback-top{display:flex;align-items:start;gap:1rem;justify-content:space-between;margin-bottom:1rem}
.cf-demo-feedback-top h2{font-size:1.5rem;margin:0}.cf-demo-feedback-close{border:1px solid #577570;border-radius:50%;background:#233a43;color:white;width:36px;height:36px;cursor:pointer;font-size:1.35rem}
.cf-demo-feedback-dialog label{display:block;font-size:.9rem;margin:1rem 0 .35rem;font-weight:600}
.cf-demo-feedback-dialog input:not([type="checkbox"]),.cf-demo-feedback-dialog select,.cf-demo-feedback-dialog textarea{width:100%;max-width:100%;padding:.7rem;border-radius:9px;border:1px solid #5b8282;background:#152d37;color:#fff;font:inherit}
.cf-demo-feedback-dialog textarea{min-height:110px;resize:vertical}
.cf-demo-feedback-dialog .cf-demo-feedback-consent{display:flex;align-items:start;gap:.55rem;font-weight:400;font-size:.8rem;line-height:1.4}
.cf-demo-feedback-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.cf-demo-feedback-actions button{background:#18c9b0;color:#032a27;font:800 1rem system-ui;border:0;border-radius:9px;padding:.7rem 1.1rem;cursor:pointer}
.cf-demo-feedback-status{font-size:.85rem;min-height:1.3rem}
@media(max-width:600px){.cf-locked-tag{max-width:42%;text-align:right;white-space:normal}.cf-demo-feedback-dialog{max-height:92dvh}}

/* Keep the trial focused on published lessons, not personal sound uploads. */
.cf-demo .cinema-nav-sonidos, .cf-demo .app-header-nav a[href*="seccion=sonidos"], .cf-demo [data-cajon-header] a[href*="seccion=sonidos"] { display:none !important; }

.cf-demo #scoreExport, .cf-demo #songEdit, .cf-demo #createBlank, .cf-demo #tabEdit, .cf-demo #addBar, .cf-demo #removeBar, .cf-demo #saveCustomRhythm, .cf-demo #scoreImport, .cf-demo #pdfImport, .cf-demo .song-extra {display:none!important;}

/* DEMO mobile v1.1: free/premium labels go BELOW rhythm titles.
   Do not let badges squeeze the title into vertical letter columns. */
@media (max-width: 700px) {
 .cf-demo .wrap .library-grid .rhythm-tile.cf-demo-free,
 .cf-demo #rhythmsView .rhythm-list .accessory-rhythm-tile.cf-demo-free {
   display:grid!important;
   grid-template-columns:1.7rem minmax(0,1fr)!important;
   grid-template-rows:auto auto!important;
   align-items:center!important;
   justify-content:stretch!important;
   align-content:center!important;
   column-gap:.5rem!important;
   row-gap:.55rem!important;
   min-width:0!important;
 }
 .cf-demo .wrap .library-grid .rhythm-tile.cf-demo-free .rhythm-icon,
 .cf-demo #rhythmsView .rhythm-list .accessory-rhythm-tile.cf-demo-free .rhythm-icon {
   grid-column:1!important; grid-row:1!important;
   width:1.7rem!important; height:1.9rem!important;
   min-width:0!important;
 }
 .cf-demo .wrap .library-grid .rhythm-tile.cf-demo-free .rhythm-name,
 .cf-demo #rhythmsView .rhythm-list .accessory-rhythm-tile.cf-demo-free .rhythm-name {
   grid-column:2!important; grid-row:1!important;
   min-width:0!important; width:100%!important;
   overflow-wrap:normal!important; word-break:normal!important;
   hyphens:none!important;
 }
 .cf-demo .wrap .library-grid .rhythm-tile.cf-demo-free .cf-demo-tag,
 .cf-demo #rhythmsView .rhythm-list .accessory-rhythm-tile.cf-demo-free .cf-demo-tag {
   grid-column:1/-1!important; grid-row:2!important;
   justify-self:center!important; align-self:center!important;
   margin:0!important; max-width:100%;
   white-space:normal!important; text-align:center;
 }
 .cf-demo .cf-demo-locked {
   display:flex!important; flex-direction:column!important;
   align-items:flex-start!important; justify-content:center!important;
   gap:.55rem!important; min-width:0!important;
 }
 .cf-demo .cf-demo-locked strong {
   display:block; width:100%; min-width:0;
   overflow-wrap:normal; word-break:normal;
 }
 .cf-demo .cf-demo-locked .cf-locked-tag {
   display:block; width:100%; max-width:100%!important;
   flex-shrink:1!important; text-align:left!important;
   margin:0!important; overflow-wrap:normal; word-break:normal;
 }
}
