:root{color-scheme:light;--navy:#15273c;--navy2:#203b53;--sea:#067d76;--accent:#c75a23;--ink:#1a2b3d;--muted:#6b7987;--line:#dae3eb;--paper:#f3f6fa;--card:#fff;--soft:#eaf0f5;--shadow:0 8px 30px #1f34461a;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-family:var(--font);color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #64c4b8;outline-offset:3px}a{color:var(--sea)}[hidden]{display:none!important}.site-shell{min-height:100vh;display:flex;flex-direction:column}.site-header{background:linear-gradient(130deg,#15273c,#1f3a53 90%);color:#fff;padding:0 18px 24px;box-shadow:0 6px 23px #15273c27}.header-content{max-width:960px;margin:0 auto}.topline{padding:23px 0 14px;display:flex;align-items:center;gap:10px}.brand-mark{width:29px;height:29px;border-radius:9px;background:#eaa568;color:#12233b;display:grid;place-items:center;font-weight:900;font-size:18px}.eyebrow,.section-caption{font-size:10px;letter-spacing:.16em;font-weight:800;color:#85b8b6}.version-tag{font-weight:800;font-size:10px;border:1px solid #adc6d24b;border-radius:6px;padding:4px 7px;margin-left:auto;color:#cfe0eb}.header-main{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.header-main h1{font-size:clamp(22px,4vw,34px);line-height:1.16;margin:3px 0 7px;letter-spacing:-.035em}.header-main p{margin:0;color:#bfd2df;font-size:13px;line-height:1.5}.ghost-on-dark{flex-shrink:0;border:1px solid #aec3d14f;border-radius:10px;padding:9px 12px;background:#ffffff12;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.ghost-on-dark:hover{background:#ffffff22}.search-wrap{height:53px;margin-top:24px;border-radius:13px;background:white;display:flex;align-items:center;box-shadow:0 6px 16px #091e3234;color:#738294;gap:12px;padding:0 14px}.search-symbol{font-size:30px;line-height:1;transform:rotate(-25deg);color:#54718a}.search-wrap input{border:0;background:transparent;color:var(--ink);min-width:0;flex:1;outline:0;font-size:16px}.search-wrap input:focus-visible{outline:0}.search-wrap kbd{font-size:18px;font-weight:700;color:#b8c5cf}.header-bottom{display:flex;align-items:center;justify-content:space-between;padding:14px 3px 0;font-size:11px;color:#ccd9e1}.mode-label{display:flex;align-items:center;gap:5px}.count-label{font-weight:700}.main-content{max-width:960px;margin:0 auto;width:100%;padding:24px 18px 50px;flex:1}.library-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:17px}.library-tools h2{font-size:24px;letter-spacing:-.035em;margin:5px 0 0}.primary-btn,.secondary-btn{border:0;border-radius:11px;padding:12px 16px;font-weight:800;font-size:13px;min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-btn{background:#087d76;color:#fff;box-shadow:0 4px 12px #0c82742d}.primary-btn:hover{background:#086b64}.secondary-btn{border:1px solid #c7d3de;background:#fff;color:#2b465d}.secondary-btn:hover{background:#f4f7f8}.full-btn{width:100%;margin-top:10px}.songs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:10px}.song-card{border:1px solid #e1e9ef;border-radius:13px;background:#fff;padding:14px;box-shadow:0 2px 7px #1f34460a;display:flex;text-align:left;align-items:center;gap:13px;min-height:79px;color:inherit;transition:border-color .16s,transform .15s,box-shadow .15s}.song-card:hover{border-color:#8fbab8;box-shadow:0 6px 14px #193a4b15;transform:translateY(-1px)}.song-number{border-radius:11px;background:#e9f2f5;color:#246c87;display:grid;place-items:center;font-size:12px;font-weight:900;width:40px;height:42px;flex-shrink:0}.song-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.song-info strong{font-size:14px;line-height:1.35;word-wrap:break-word}.song-info small{font-size:11px;color:#8593a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.song-key{font-size:12px;color:var(--accent);font-weight:800;background:#fff4e9;border-radius:7px;padding:6px 7px;min-width:32px;text-align:center;flex-shrink:0}.bottom-note{font-size:12px;color:#80909e;text-align:center;margin:28px 0}.chord-text{color:var(--accent)}.empty-panel{text-align:center;background:#fff;border:1px dashed #c8d8df;border-radius:14px;padding:45px 10px;color:#788899}.empty-panel span{font-size:36px}.empty-panel h3{font-size:17px;color:#29445b;margin:10px 0 5px}.empty-panel p{margin:0;font-size:12px}.message-banner{padding:12px 14px;border-radius:10px;background:#e9f3ed;border:1px solid #cde1d4;color:#28543f;font-size:12px;line-height:1.5;margin-bottom:15px}.site-footer{text-align:center;color:#9aa9b5;font-size:11px;padding:16px 10px 25px}
.reader-page{max-width:790px;margin:0 auto}.reader-bar{display:flex;justify-content:space-between;align-items:center;margin:0 0 22px;gap:8px}.small-back,.icon-btn,.step-btn,.tiny-reset{border:1px solid #d7e2e8;background:#fff;color:#264457;border-radius:10px;min-height:39px;font-weight:800}.small-back{padding:7px 12px;font-size:13px}.reader-actions{display:flex;gap:7px}.icon-btn{width:40px;font-size:20px}.reader-heading{text-align:center;margin:8px 0 20px}.reader-heading h2{font-size:clamp(24px,5vw,32px);letter-spacing:-.04em;margin:6px 0}.reader-heading p{color:#7b8b98;font-size:13px;margin:0}.reader-controls{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:15px}.control-group{display:flex;align-items:center;gap:7px}.control-title{font-size:12px;color:#788898;font-weight:800;margin-right:4px}.control-group strong{font-size:16px;color:var(--accent);min-width:37px;text-align:center}.step-btn{padding:0 12px;min-width:38px;font-size:17px}.tiny-reset{font-size:11px;padding:0 10px}.sheet-card{background:white;border:1px solid #dfe8ee;border-radius:17px;box-shadow:var(--shadow);overflow:hidden}.sheet-heading{display:flex;align-items:center;gap:8px;padding:15px 19px;border-bottom:1px solid #ecf0f4;color:#8b9ca9;font-weight:800;font-size:10px;letter-spacing:.08em}.live-indicator{width:8px;height:8px;border-radius:50%;background:#0e9688}.sheet-help{font-weight:500;font-size:10px;letter-spacing:0;margin-left:auto;text-align:right}.sheet-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:20px 18px 30px}.sheet-body{--sheet-font:13px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:var(--sheet-font);line-height:1.52;letter-spacing:0;tab-size:4;font-variant-ligatures:none;color:#223246;max-width:max-content;min-width:100%}.sheet-line{white-space:pre;font:inherit;min-height:1.52em;margin:0}.sheet-line.chords{font-weight:800;color:var(--accent);line-height:1.32}.sheet-line.lyric{color:#223246}.sheet-line.section{font-family:var(--font);font-size:.79em;font-weight:900;letter-spacing:.07em;color:var(--sea);margin-top:13px;margin-bottom:4px}.sheet-line.blank{height:9px;min-height:9px}.inline-chord{color:var(--accent);font-weight:900}.reader-footer{display:flex;justify-content:space-between;gap:10px;margin:17px 0 6px}.footer-nav{border:1px solid #cbdce4;background:#fff;color:#3c596b;font-size:12px;font-weight:800;padding:13px;border-radius:10px;flex:1}.footer-nav.middle{flex:1.3}
.modal-layer{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:12px}.modal-scrim{position:absolute;inset:0;background:#0c1d2caa;backdrop-filter:blur(4px)}.modal-card{position:relative;z-index:1;background:#fff;border-radius:16px;width:min(100%,800px);max-height:min(94vh,920px);display:flex;flex-direction:column;box-shadow:0 25px 80px #06111a55;overflow:hidden}.modal-top{border-bottom:1px solid #e3ecf1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px}.modal-top h2{font-size:22px;letter-spacing:-.035em;margin:5px 0 0}.close-modal{border:0;color:#6e8391;background:#f2f5f8;font-size:27px;width:37px;height:37px;border-radius:10px;line-height:1}.modal-scroll{padding:18px 20px;overflow:auto;overscroll-behavior:contain}.editor-fields{display:grid;grid-template-columns:1.5fr 1fr 135px;gap:12px}.field{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;min-width:0}.field span{font-size:12px;font-weight:800;color:#42576a}.field b{color:#cb5125}.field input,.field select{width:100%;background:#f8fafb;border:1px solid #d9e4ec;color:var(--ink);border-radius:9px;min-height:42px;padding:9px 11px;font-size:14px}.editor-help{font-size:12px;line-height:1.7;color:#657988;background:#eef7f5;border-radius:10px;padding:12px 14px;margin:2px 0 15px}.editor-help strong{color:#2b615c}.editor-help code{font-size:11px;background:#d9e9e4;border-radius:4px;padding:2px 4px;white-space:nowrap}.edit-tabs{display:flex;gap:6px;border-bottom:1px solid #dce5eb;padding-bottom:8px;margin-bottom:10px}.tab{border:0;background:#f4f7fa;color:#607789;font-size:12px;font-weight:800;border-radius:8px;padding:10px 14px}.tab.active{background:var(--navy);color:white}.editor-textarea{width:100%;resize:vertical;min-height:280px;line-height:1.45;font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#17293a;border:1px solid #d4e0e9;border-radius:10px;padding:16px;white-space:pre;tab-size:4}.edit-preview{min-height:280px;border:1px solid #d4e0e9;border-radius:10px;padding:18px;overflow-x:auto}.modal-actions{border-top:1px solid #e3ecf1;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-action-right{margin-left:auto;display:flex;gap:8px}.danger-link{border:0;background:none;color:#c04444;font-size:12px;font-weight:800;padding:8px}.inline-notice{background:#fff6e8;color:#92521a;padding:10px;border-radius:8px;margin-top:10px;font-size:12px;line-height:1.5}.account-card{max-width:430px}.account-content{padding-bottom:25px}.account-status{background:#f0f6f7;border:1px solid #d7e7e9;border-radius:12px;padding:15px;font-size:13px;font-weight:800;color:#214758;line-height:1.5;margin-bottom:16px}.account-copy{font-size:13px;line-height:1.65;color:#617587}.account-separator{height:1px;background:#e4ebf0;margin:18px 0}.hint-note{color:#8999a6;font-size:11px;line-height:1.5}.toast{position:fixed;z-index:200;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(94vw,540px);background:#102b3a;color:white;border-radius:12px;padding:12px 18px;font-size:13px;font-weight:700;box-shadow:0 8px 36px #061b2548;text-align:center}
@media(max-width:720px){.site-header{padding:0 16px 19px}.topline{padding-top:18px}.header-main h1{font-size:25px}.header-main p{font-size:12px}.ghost-on-dark{padding:9px 10px}.ghost-on-dark span{display:none}.main-content{padding:19px 13px 28px}.library-tools h2{font-size:21px}.songs-list{grid-template-columns:1fr}.song-card{min-height:67px;padding:10px 13px}.reader-page{margin:0 -1px}.reader-heading{margin-top:1px}.reader-controls{justify-content:space-between}.control-group{gap:5px}.control-title{font-size:11px}.step-btn{padding:0 9px;min-width:33px}.tiny-reset{padding:0 8px}.sheet-scroll{padding:18px 14px 27px}.sheet-body{--sheet-font:12px}.sheet-help{font-size:8px}.editor-fields{grid-template-columns:1fr 1fr}.field:first-child{grid-column:1/-1}.field-key{grid-column:auto}.modal-layer{padding:0;align-items:stretch}.modal-card{width:100%;max-height:100%;border-radius:0}.modal-top{padding:15px}.modal-scroll{padding:14px}.modal-actions{padding:11px}.modal-actions .primary-btn,.modal-actions .secondary-btn{padding:10px 12px}.editor-help{font-size:11px}.modal-top h2{font-size:21px}}
@media(max-width:410px){.header-main h1{font-size:22px}.search-wrap{margin-top:18px}.song-info strong{font-size:13px}.reader-controls{gap:8px}.control-group{gap:4px}.control-title{margin-right:1px}.sheet-help{display:none}.reader-footer{gap:6px}.footer-nav{font-size:10px;padding:12px 8px}.modal-actions{flex-wrap:wrap}}

/* V11.1 — botão de atualização e estado de sincronização */
.header-status-right{display:flex;align-items:center;gap:12px}.refresh-songs{background:transparent;color:#d5edf2;border:1px solid #b4d9db59;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700}.refresh-songs:hover{background:#ffffff18}@media(max-width:380px){.header-status-right{gap:5px}.refresh-songs{font-size:10px;padding:4px 6px}}

/* V11.2 — leitura compacta e listas de culto, independentes por dispositivo */
:root{-webkit-text-size-adjust:100%}
.library-tool-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.list-count{background:#e1edea;color:#096b66;border-radius:99px;padding:2px 7px;margin-left:2px;font-size:11px}
.song-entry{display:flex;align-items:stretch;gap:7px;min-width:0}
.song-entry .song-card{flex:1;min-width:0}
.song-queue-add{background:#fff;border:1px solid #c9ddd8;color:#086e67;border-radius:12px;width:42px;min-width:42px;font-size:23px;font-weight:700}
.song-queue-add[aria-pressed="true"]{background:#e2f1ed;color:#08786c;border-color:#9ed2c5;font-size:20px}
.reader-page.compact-view .sheet-body{font-size:calc(var(--sheet-font) - 1px);line-height:1.26}
.reader-page.compact-view .sheet-line{min-height:1.26em}
.reader-page.compact-view .sheet-line.chords{line-height:1.2}
.reader-page.compact-view .sheet-line.section{margin-top:8px;margin-bottom:2px;font-size:.79em}
.reader-page.compact-view .sheet-line.blank{height:3px;min-height:3px}
.reader-page.compact-view .sheet-scroll{padding-top:8px;padding-bottom:12px}
.reader-page.compact-view .sheet-heading{padding-top:9px;padding-bottom:9px}
#compactToggle[aria-pressed="true"]{background:#e4f4ef;border-color:#9bcbbf;color:#08756f}
.stage-toolbar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:flex;align-items:center;gap:6px;justify-content:space-between;padding:9px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#112b3d;color:#fff;box-shadow:0 -4px 20px #1629382f}
.stage-toolbar button{border:1px solid #527181;background:#25475b;color:#fff;border-radius:9px;min-width:38px;height:40px;font-weight:800;font-size:16px}
.stage-toolbar span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;text-align:center}
body.stage-active{overflow:hidden}
.reader-page.stage-view{position:fixed;z-index:55;inset:0;background:#fff;overflow-y:auto;overscroll-behavior:contain;max-width:none;margin:0;padding:0 0 calc(70px + env(safe-area-inset-bottom))}
.reader-page.stage-view .reader-bar,.reader-page.stage-view .reader-heading,.reader-page.stage-view .reader-controls,.reader-page.stage-view .sheet-heading,.reader-page.stage-view .reader-footer{display:none}
.reader-page.stage-view .sheet-card{box-shadow:none;border:0;border-radius:0;margin:0;padding:0}
.reader-page.stage-view .sheet-scroll{padding:8px 10px 14px}
.setlist-page{max-width:770px;margin:0 auto}
.setlist-return{margin-bottom:22px}
.setlist-header h2{font-size:26px;margin:5px 0 8px;letter-spacing:-.04em}
.setlist-header p{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 20px}
.setlist-label{font-size:12px;font-weight:800;color:#466377;display:block;margin-bottom:8px}
.setlist-name{border:1px solid #cbdbe3;border-radius:10px;background:#fff;color:var(--ink);font-size:16px;padding:13px 14px;width:100%;max-width:460px;margin-bottom:18px}
.setlist-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.setlist-row{display:flex;align-items:center;gap:9px;padding:10px;background:#fff;border:1px solid #dfebf1;border-radius:12px}
.setlist-position{background:#eaf2f4;color:#246a84;font-size:12px;font-weight:800;padding:9px;border-radius:7px;min-width:33px;text-align:center}
.setlist-song{display:flex;align-items:center;gap:3px;flex:1;min-width:0;background:none;border:0;text-align:left;color:#203548;font-weight:800;font-size:13px;line-height:1.3}
.setlist-song small{font-weight:600;color:#9b562e;font-size:11px;white-space:nowrap}
.setlist-row-actions{display:flex;gap:3px}
.setlist-row-actions button{min-width:30px;min-height:34px;border-radius:7px;background:#f3f7f9;border:0;color:#375469;font-size:17px;font-weight:800}
.setlist-row-actions .setlist-remove{color:#b34c3d}
.setlist-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.setlist-note{font-size:12px;color:#7a8998;line-height:1.55;margin-top:16px}
@media(max-width:720px){.main-content{padding-left:8px;padding-right:8px}.reader-page{margin:0}.reader-bar{margin-bottom:12px}.reader-heading{margin:4px 0 12px}.reader-heading h2{font-size:22px}.reader-controls{margin-bottom:10px}.sheet-card{border-radius:10px}.sheet-scroll{padding-left:9px;padding-right:9px}.sheet-heading{padding:10px 10px}.reader-page.compact-view .sheet-scroll{padding:7px 8px 12px}.library-tools{align-items:center;gap:8px}.library-tool-buttons .secondary-btn,.library-tool-buttons .primary-btn{font-size:11px;padding:10px;min-height:39px}.library-tools h2{font-size:20px}.setlist-page{padding:10px 5px 0}.setlist-row{gap:6px;padding:7px}.setlist-row-actions button{min-width:29px}.setlist-header h2{font-size:23px}.setlist-actions button{flex:1;min-width:125px}.icon-btn{width:36px;min-height:36px;font-size:18px}}
@media(max-width:380px){.song-queue-add{width:38px;min-width:38px}.song-card{padding:9px}.setlist-song{font-size:12px}.reader-actions{gap:4px}.icon-btn{width:33px;min-height:35px}.stage-toolbar{gap:3px}.stage-toolbar button{min-width:33px}}
