/* Welcome Home workspace: content first, deliberate publication, quiet controls. */
:root{--experience-radius:10px;--experience-navy:#203650;--experience-purple:#665580;--experience-orange:#bc4b0b}
body.studio-body>.paya-home-nav{display:none}
body.studio-body:not(.focus-editing) #app{height:100dvh!important}
.studio-body .studio-header{min-height:66px;padding:10px 16px;gap:12px}
.studio-body .studio-header .header-title{flex:1;min-width:0;position:relative}
.studio-body .header-title>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}
.studio-body #saved{display:none}
.studio-body .save-pipeline{margin:2px 0 0;color:#52657e;font-size:12px;position:relative;line-height:1.4}
.save-pipeline summary{list-style:none;display:inline-flex;align-items:center;gap:6px;padding:2px 0;min-height:20px;font-weight:550}
.save-pipeline summary:before{content:'✓';color:#28745c}.save-pipeline summary:after{content:'⌄';color:#718097}
.save-pipeline summary::-webkit-details-marker{display:none}
.save-stage-details{position:absolute;top:28px;left:0;z-index:30;min-width:280px;max-width:min(420px,80vw);white-space:pre-line;padding:14px 16px;border:1px solid #c7d3e1;background:white;box-shadow:0 8px 28px #20365025;border-radius:8px;line-height:1.9;color:#344c68}
.save-pipeline[data-error=true] summary{color:#a93328}.save-pipeline[data-error=true] summary:before{content:'!';color:inherit}
.studio-body .workflow-tools{min-height:52px;padding:6px 14px;gap:12px;overflow:visible}
.studio-body .workflow-tools button,.studio-body .workflow-tools .workflow-menu>summary{min-height:36px}
.studio-body .main-toolbar{padding:12px 14px;min-height:72px;display:flex;flex-wrap:nowrap;align-items:center;gap:10px}
.studio-body .main-toolbar>div:first-child{flex:1;min-width:0}
.studio-body .main-toolbar h1{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-body .main-toolbar .eyebrow{font-size:11px}.studio-body .main-toolbar small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:11px}
.studio-body .main-toolbar .toolbar-actions{gap:5px;flex-wrap:nowrap;margin:0;flex-shrink:0}
.studio-body .main-toolbar .toolbar-actions button{width:36px;height:36px;min-height:36px;min-width:36px;padding:0;border-radius:8px}
.studio-body .canvas-history{gap:4px;padding-right:6px;margin:0}
.studio-body .preview-zone{padding:14px!important}
.studio-body[data-studio-mode=prepare] .preview-zone[data-zoomed=true]{display:block;overflow:auto;overscroll-behavior:contain}
.studio-body .preview-zone[data-zoomed=true] .preview-wrap{margin:auto;max-width:none;flex:none}
.studio-body #preview{border:1px solid #aebbc9;box-shadow:0 5px 24px #172d4520}
.studio-body .preview-caption{color:#43556b;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}
.preview-zoom{display:flex;gap:3px;align-items:center;flex-shrink:0}
.studio-body .preview-zoom button{min-height:28px;height:28px;padding:3px 7px;min-width:28px;font-size:12px;border-color:#b8c6d7;background:#f9fbfe;border-radius:5px}
.studio-body .preview-zoom #previewZoomFit{min-width:96px}
.studio-body .live-bar{color:#415872}
.studio-body .inspector-section,.studio-body .rich-tools,.studio-body .page-settings{border-radius:var(--experience-radius)}
.studio-body .edit-context{font-size:12px;color:#665580;font-weight:650;margin:-2px 0 10px}
.studio-body .edit-delivery-note{font-size:11px;line-height:1.5;color:#64758b;margin:8px 0 0}
.studio-body .inspector #body{min-height:190px}.studio-body .inspector label{line-height:1.5}
.studio-body .page-settings>summary{padding:14px 12px;font-size:14px;font-weight:700}
.studio-body .lyric-actions #applyRepeatedLyrics{color:#294e79;border-color:#b8cce5;background:#edf4fd;font-weight:650;min-height:40px}
.studio-body .slide-label strong{font-size:13px;line-height:1.45}.studio-body .slide-label small{font-size:11px;color:#526783}
.studio-body .order-group{background:#d6e0ed;border-color:#c5d1e1}.studio-body .order-group .group-heading{font-weight:750}
.studio-body .slide-row.selected{background:#ebf5ff;border-color:#5283b9;box-shadow:inset 4px 0 #316eaf}
/* Keep selected editor, active audience screen and next cue visually distinct. */
.studio-body[data-studio-mode=present] .main-toolbar{min-height:60px}
.studio-body[data-studio-mode=present] .main-toolbar h1{font-size:15px}
.studio-body[data-studio-mode=present] #presentSend,.studio-body[data-studio-mode=present] #sendButton{display:none!important}
.studio-body[data-studio-mode=present] .broadcast-monitor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:16px;align-content:center}
.monitor-current .monitor-screen{border:3px solid #31866a}.monitor-standby .monitor-screen{border:3px solid #de943a}
.monitor-current .monitor-state{background:#e7f5ee;color:#1f624b;padding:6px 10px;border-radius:5px}
.monitor-standby .standby-state{background:#fff2df;color:#87500b;padding:6px 10px;border-radius:5px;font-weight:750}
.broadcast-monitor figcaption{font-size:13px;gap:8px}.broadcast-monitor figcaption strong{font-size:14px}
.standby-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:10px}.standby-actions>span{font-size:12px;color:#6c573c}
.standby-actions #takeStandby{min-height:48px;background:#b84a0c;border-color:#a83d07;color:white;font-size:16px;font-weight:750}
.studio-body[data-studio-mode=present] .cue-strip{display:none}
.studio-body[data-studio-mode=present] .delivery-settings{padding:8px 12px;background:#f3f6fa;border-radius:7px}
.studio-body[data-studio-mode=present] .transport{padding:12px;gap:10px}.studio-body[data-studio-mode=present] #blackout{background:#253346;color:white;border-color:#253346;min-width:110px}
/* Song tasks: lyrics get the main editing surface; order is a separate task. */
.song-editor-modal .song-task-pane{min-width:0;min-height:0}
.song-task-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-bottom:1px solid #d6dfeb;padding-bottom:12px;margin-bottom:16px;position:sticky;top:0;background:white;z-index:3}
.song-workspace .song-task-tabs button{min-height:42px;padding:9px 17px;font-size:16px;border-radius:7px}
.song-task-tabs [aria-selected=true]{background:#203650;color:white;border-color:#203650;font-weight:750}
#songDraftState{font-size:12px;line-height:1.5;color:#54715f;margin-left:auto}#songDraftState[data-dirty=true]{color:#9a5c13}
.song-task-pane [role=tabpanel][hidden]{display:none!important}
.song-workspace #songLyricsPanel #sectionLyrics{min-height:260px!important;height:31dvh;font-size:22px!important;line-height:1.85;padding:18px;resize:vertical}
.song-workspace #songLyricsPanel #songSection{font-size:18px;min-height:48px;margin-bottom:12px}
.song-section-options{margin:8px 0 12px;border:1px solid #d8e0ea;border-radius:7px;padding:8px 12px;background:#f7f9fc}
.song-section-options>summary{font-size:14px;font-weight:600;min-height:26px}.song-section-options .song-section-management{margin-top:10px}
.order-direct-input{margin-top:16px;padding:10px 12px;background:#f6f8fc;border:1px solid #dbe3ee;border-radius:8px}
.order-direct-input summary{font-size:14px;font-weight:600;min-height:28px}.song-workspace .order-direct-input textarea{margin-top:8px}
.order-palette-heading,.order-timeline-heading{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:15px;font-weight:750;color:#2c4160;flex-wrap:wrap}
.order-palette-heading span,.order-timeline-heading span{font-size:12px;font-weight:400;color:#64758b}
.song-workspace .ai-order-palette{padding:12px;gap:8px;border:1px solid #d7e1ec;background:#f1f5fa;border-radius:8px}
.song-workspace .ai-order-palette button{font-size:17px;min-width:58px;min-height:44px;padding:8px 12px}
.song-workspace .ai-order-palette button>span{font-size:13px;color:#6a7e9b}
.song-workspace .ai-order-chips{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;list-style:none;padding:0;margin:12px 0}
.song-workspace .ai-order-chips li{display:flex;flex-direction:column;gap:0;background:transparent;border:0;padding:0;min-width:0;max-width:100%;border-radius:7px}
.song-workspace .ai-order-chips .order-step{display:flex;align-items:center;justify-content:center;gap:8px;min-width:72px;min-height:44px;background:white;border:1px solid #b9c9df;border-radius:7px;padding:8px 12px;box-shadow:0 2px 0 #d5dfec;color:#28486e;font-size:17px;font-weight:700}
.order-step small{font-size:11px;color:#74859a;font-weight:500}
.song-workspace .ai-order-chips li.is-picked .order-step{background:#e8f1fe;border:2px solid #386ea9;padding:7px 11px}
.song-workspace .order-step-tools{display:none;gap:3px;padding-top:6px}
.song-workspace .is-picked .order-step-tools{display:flex}
.song-workspace .order-step-tools button{width:30px;min-width:30px;height:30px;min-height:30px;padding:0;font-size:15px;border-radius:5px}
.song-other-method{padding:12px;border:1px solid #d5dfec;border-radius:8px}.song-other-method summary{font-size:15px;font-weight:600;min-height:28px}
.song-workspace[data-workflow=song-added] .song-workspace-scroll{display:flex;flex-direction:column;justify-content:center;max-width:900px;margin:auto;width:100%;gap:16px}
/***** Dashboard and curated themes *****/
.home-connect-link{border:0;background:transparent;color:#345d8c;padding:10px 0;margin-top:12px;min-height:38px;font-size:14px;text-align:left}
.home-body .home-continue{box-shadow:0 10px 26px #20365016;border:1px solid #36516d}
.home-body .home-project{border-radius:var(--experience-radius);box-shadow:0 2px 5px #20365004;padding:22px}
.home-body .home-project h3{font-size:19px;line-height:1.5;margin:14px 0 8px}.home-body .home-project p{font-size:14px}
.home-body .home-project>.project-date{font-size:13px}.home-body .home-project>small{font-size:12px;line-height:1.6;color:#60728b;display:block;margin-bottom:10px}
.home-body .home-project .project-open{font-weight:700;background:#eaf1fb;border-color:#b7cbe6;color:#264c7b}
.design-caption small{font-size:12px;line-height:1.6;color:#566d86}.design-preview-pane .design-note{font-size:14px;line-height:1.7}
/***** Projection polish shared by preview, thumbnails, output and raster export. Explicit user formatting wins. *****/
.stage .stage-footer,.stage .pro-footer{letter-spacing:.12em;pointer-events:none}
.stage .lyric{line-height:1.65;text-wrap:pretty}
.stage .scripture-heading h2{line-height:1.3}.stage .verse-number{font-variant-numeric:tabular-nums}
.stage .sharing-card{border-radius:0}.stage .sharing-card p{line-height:1.65}
@media(min-width:1100px) and (max-width:1399px){.studio-body[data-device-layout=desktop]:not(.focus-editing) .workspace{grid-template-columns:222px minmax(0,1fr) 306px;gap:10px;padding:10px}.studio-body .studio-header .brand{min-width:100px}.studio-body .studio-header .top-actions{gap:5px}.studio-body .studio-header .top-actions button{font-size:12px;padding:8px 10px}.studio-body[data-device-layout=desktop][data-studio-mode=present] .workspace{grid-template-columns:222px minmax(0,1fr)}.studio-body[data-device-layout=desktop][data-studio-mode=present][data-present-editor=true] .workspace{grid-template-columns:222px minmax(0,1fr) 306px}}
@media(max-width:1099px){.studio-body .main-toolbar{flex-wrap:wrap}.studio-body .main-toolbar>div:first-child{flex-basis:100%}.studio-body .main-toolbar .toolbar-actions{margin-left:auto}.studio-body .workflow-tools{overflow-x:auto;overflow-y:visible}.studio-body[data-studio-mode=present] .broadcast-monitor{gap:10px;padding:12px}.studio-body .studio-header{gap:8px}}
@media(max-width:700px){.song-task-tabs{gap:6px}.song-task-tabs #songDraftState{flex-basis:100%;margin-left:0}.song-workspace #songLyricsPanel #sectionLyrics{font-size:19px!important;min-height:240px!important}.studio-body[data-studio-mode=present] .broadcast-monitor{grid-template-columns:1fr}.preview-caption{flex-wrap:wrap}.studio-body .save-stage-details{min-width:230px;left:auto;right:0}.studio-body .main-toolbar h1{white-space:normal}.studio-body .preview-zone{padding:10px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.studio-body[data-device-layout=desktop] .workflow-tools{height:52px;min-height:52px;padding-block:6px;box-sizing:border-box}
.song-editor-modal #songLyricsPanel>label{margin-top:4px;margin-bottom:6px}
.song-editor-modal #songLyricsPanel #songSection{margin-bottom:10px}
.song-editor-modal #songLyricsPanel #sectionLyrics{margin-top:0!important}
.song-editor-modal #songLyricsPanel>.lyric-page-tools{margin:10px 0}
.song-editor-modal #songLyricsPanel .song-section-options{margin-top:12px}
.studio-body .main-toolbar .toolbar-actions .canvas-history button{width:32px;min-width:32px;height:36px}
.studio-body .preview-caption #previewMatch{white-space:nowrap}

.order-lyric-peek{margin-top:12px;border-left:3px solid #7b6b95;background:#f6f3fa;padding:12px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.order-lyric-peek strong{font-size:15px;color:#55436e}.order-lyric-peek button{margin-left:auto;font-size:13px!important;min-height:32px!important}.order-lyric-peek p{width:100%;margin:0;white-space:pre-line;font-size:16px;line-height:1.6;max-height:120px;overflow:auto}

.studio-body[data-studio-mode=present] .main-toolbar :is(#moveUp,#moveDown){display:none!important}
.studio-body[data-studio-mode=present] .main-toolbar #togglePresentEditor{width:auto;min-width:84px;padding:0 10px;white-space:nowrap;font-size:13px}
#broadcastMonitor[data-connected=false] .monitor-current .monitor-screen{border-color:#8b9bb0}
#broadcastMonitor[data-connected=false] .monitor-state{background:#e9eef5;color:#50627b}
.design-modal .design-preview-caption{display:none}.design-modal #designDescription{display:none}
.design-modal .design-studio-head .modal-sub{margin:4px 0;font-size:12px}
.design-modal .design-preview-pane{gap:6px}.design-modal .preview-tabs{gap:4px}
.design-modal .preview-tabs button{font-size:12px;min-height:32px;padding:5px 7px}
.design-modal .design-review-tools{min-height:32px}.design-modal .design-preview-options>summary{font-size:12px;min-height:26px}
.stage .stage-foot{opacity:.67}.stage.role-lyrics .stage-kicker{opacity:.7}
.stage.role-scripture .season-art-main,.stage.role-lyrics .season-art-main{opacity:.08}
@media(max-height:780px) and (min-width:960px){dialog.design-modal[open]{height:96dvh;max-height:96dvh;padding:18px 22px}.design-modal .design-studio-head .modal-sub{display:none}.design-modal .design-studio-head .eyebrow{font-size:11px}.design-modal .design-filters{margin-block:6px 10px}.design-modal>.modal-title{margin-bottom:4px}.design-modal .design-actions{margin-top:8px;padding-top:8px}}
.workflow-menu>summary[data-ready=true]:before{content:'✓';font-size:11px;color:#aed9c9;margin-right:5px}
.workflow-menu>summary[data-ready=false]:before{content:'○';font-size:11px;color:#eac992;margin-right:5px}
@media(max-width:1099px){.studio-body .workflow-tools{gap:6px}.workflow-menu>summary[data-ready]:before{display:none}}
/* Explicit human review, compact editing and a whole-service storyboard. */
.weekly-guide .preparation-review-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;align-items:stretch;margin:8px 0}
.weekly-guide .preparation-review-row>[data-prepare]{margin:0;min-height:76px;width:100%}.weekly-guide .review-ack{min-height:44px;padding:10px;font-size:13px;color:#335b85;background:#edf4fc;border-color:#bdcfe5;font-weight:650;border-radius:8px}
.weekly-guide .review-ack:disabled{color:#67788b;background:#f2f5f8;border-color:#d7e0e9;opacity:1}
.review-state-explanation{padding:12px 14px;background:#f0f4f9;border-radius:8px;font-size:13px;line-height:1.7;color:#4d637e}
.studio-body .workflow-menu>summary[data-ready=false][data-data-ready=true]:before{content:'◐';color:#bcd4ed}
.song-apply-impact{padding:10px 16px;background:#eef4fb;border:1px solid #d4dfec;border-radius:7px;flex:0 0 auto;margin:8px 0 0;font-size:13px;line-height:1.6;color:#425d7d}
.song-workspace>.modal-foot #applySong{min-width:185px}.song-workspace>.modal-foot #saveSongLibrary{font-size:13px}
.quick-format{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 8px;margin:8px 0 12px;border:1px solid #d3dfed;background:#f2f6fc;border-radius:8px;min-width:0}
.quick-format .alignment-axis{display:flex;flex-direction:column;gap:5px;min-width:0}.quick-format .alignment-label{font-size:11px;font-weight:650;color:#4b6280}
.studio-body .quick-format .alignment-buttons{display:flex;gap:3px;flex-wrap:nowrap}
.studio-body .quick-format .alignment-buttons button{width:28px;min-width:28px;height:28px;min-height:28px;max-height:28px;padding:3px;border-radius:5px}
.quick-format .alignment-font-size{grid-column:1/-1;min-width:0}.quick-format label{margin:0!important;font-size:12px!important;display:flex;justify-content:space-between}.quick-format #fontValue{font-size:12px}
.font-size-direct{display:flex;align-items:center;gap:8px}.font-size-direct input[type=range]{flex:1;min-width:0;margin:6px 0!important}.studio-body .font-size-direct #fontSizeNumber{width:64px;min-height:32px;padding:4px 7px;font-size:14px;line-height:1.4;flex:0 0 64px}
.studio-body .format-edit-section[hidden]{display:none}
.studio-body .slide-label small{white-space:normal!important;line-height:1.45;display:block;overflow-wrap:anywhere}
.row-state-badge{display:inline-block;align-self:start;font-size:10px;font-weight:700;color:#375e8c;background:#e5edf8;border-radius:3px;padding:1px 4px;margin-top:3px}
.slide-row[data-on-air=true] .row-state-badge{color:#146447;background:#e2f5ec}.slide-row[data-standby=true]:not([data-on-air=true]) .row-state-badge{color:#8a5611;background:#fff0d9}
.preflight-group{margin:16px 0}.preflight-group h3{font-size:15px;margin:10px 0;color:#314d6f}.preflight-group:has(.issue-error) h3{color:#a52f25}.rehearsal-help{padding:12px;border:1px solid #d4dfec;background:#f6f8fc;border-radius:8px}.rehearsal-help summary{font-size:14px;font-weight:650;min-height:30px}.rehearsal-help li,.rehearsal-help p{font-size:13px;line-height:1.8;color:#4e627e}
#overviewButton{font-weight:650}
dialog.overview-modal[open]{width:94vw;max-width:1600px;height:92dvh;max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;padding:22px;gap:10px}
.overview-modal>.modal-title,.overview-modal>.modal-sub,.overview-tools{flex:0 0 auto;margin:0}.overview-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #d8e2ed;padding:8px 0 14px}.overview-tools input{flex:1;min-width:180px;font-size:15px}.overview-tools select{width:auto;min-width:140px;font-size:14px}.overview-tools button{font-size:13px;min-height:40px}
.overview-grid{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 6px 12px 0;scrollbar-width:thin}.overview-group{margin:0 0 24px}.overview-group h3{font-size:16px;position:sticky;top:0;z-index:2;background:#f0f4fa;border-left:4px solid #476b99;padding:10px 12px;border-radius:5px;color:#273f5f}.overview-group h3 span{font-size:12px;color:#687f9a;margin-left:8px;font-weight:500}.overview-group>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:14px}
.overview-page{text-align:left;background:white;display:flex;flex-direction:column;gap:8px;border:1px solid #cbd7e6;border-radius:8px;padding:8px;min-width:0}.overview-page:hover{border-color:#537cac;box-shadow:0 4px 16px #20365016}.overview-thumbnail{aspect-ratio:16/9;background:#e8edf4;overflow:hidden;width:100%;border-radius:4px}.overview-thumbnail>.stage{width:100%;height:100%}.overview-page strong{font-size:14px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.overview-page small{font-size:12px;line-height:1.5;color:#5b7090}.overview-page[data-issue=true]{border-color:#c88b38}.overview-page[hidden],.overview-group[hidden]{display:none!important}
body.focus-editing .content-edit-section>.quick-format{display:none}
body.focus-editing .rich-tools>.quick-format,body.focus-editing .format-edit-section>.quick-format{display:grid;grid-column:auto;margin-bottom:14px}
body.focus-editing .content-edit-section>.edit-context{display:none}
@media(pointer:coarse){.song-workspace .order-step-tools button{width:44px;min-width:44px;height:44px;min-height:44px;font-size:18px}.studio-body .quick-format{grid-template-columns:1fr}.studio-body .quick-format .alignment-buttons button{width:44px;min-width:44px;height:44px;min-height:44px;max-height:44px}.studio-body .row-quick-actions button{min-width:44px;min-height:44px}}
@media(max-width:700px){.weekly-guide .preparation-review-row{grid-template-columns:1fr}.weekly-guide .review-ack{min-height:44px}.overview-tools{gap:6px}.overview-tools input{flex-basis:100%}.overview-group>div{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}dialog.overview-modal[open]{padding:14px}.song-apply-impact{font-size:12px;padding:8px}.song-workspace>.modal-foot #applySong{min-width:0}.studio-body .quick-format{grid-template-columns:1fr}.studio-body .quick-format .alignment-buttons button{width:40px;min-width:40px;height:40px;min-height:40px;max-height:40px}}
.studio-body .inspector .quick-format .alignment-buttons{gap:3px}
.studio-body .inspector .quick-format .alignment-buttons button{flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;padding:2px;border-radius:5px}
.weekly-guide .preparation-review-row>[data-prepare]{display:flex;align-items:center;text-align:left;gap:12px;padding:12px;background:#f7f9fc;border-color:#d4dfeb;min-height:66px}.weekly-guide .preparation-review-row>[data-prepare]>div{flex:1}.weekly-guide .preparation-review-row>[data-prepare]>span{flex:0 0 28px;color:#607894;font-size:12px}.weekly-guide .preparation-steps strong{font-size:14px}.weekly-guide .preparation-steps small{font-size:12px;line-height:1.55}.weekly-guide .preparation-review-row{margin:0;gap:8px}.weekly-guide .preparation-steps{gap:8px}.weekly-guide{width:min(920px,94vw);max-width:94vw}.weekly-guide .modal-sub{font-size:13px}.weekly-guide .review-state-explanation{font-size:12px;margin:10px 0;padding:9px 12px}.weekly-guide .preparation-storage strong{font-size:13px}.weekly-guide .preparation-storage span{font-size:12px}
@media(pointer:coarse){.studio-body .inspector .quick-format .alignment-buttons button{flex-basis:44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px}}
@media(max-width:700px){.studio-body .inspector .quick-format .alignment-buttons button{flex-basis:40px;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px}}
.preflight-group .warn-item{min-height:48px;font-size:14px;gap:14px}.preflight-group .warn-item small{font-size:12px;white-space:normal}.rehearsal-help+ .field-note{font-size:12px;line-height:1.7}
@media(pointer:coarse){.studio-body .font-size-direct #fontSizeNumber{min-height:44px;font-size:16px}}
/* Scripture reading prioritizes a room-sized reference and large fixed body text. */
.stage.reading-title .title-content p{font-size:3.5cqw;line-height:1.5;opacity:1;max-width:100%;text-wrap:balance}
.studio-body .reading-size-action{display:block;width:100%;margin-top:12px;padding:10px;min-height:42px;font-size:13px;font-weight:650;color:#2b527e;background:#eef4fc;border-color:#b9cce3}

.library-update-entry{width:100%;margin-top:12px;min-height:40px;color:#23456d;background:#edf4ff;border-color:#aac5e5}
#updateLibraryPreview{font-size:16px;line-height:1.8}#updateLibraryPreview details p{padding:12px;border-bottom:1px solid #d8e1ec}

.web-song-query{display:flex;gap:12px;margin:16px 0}.web-song-query input{flex:1;min-width:0}.web-song-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.6fr);gap:24px}.web-song-result{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:18px;margin-bottom:12px;gap:8px;white-space:normal}.web-song-result strong{font-size:16px;line-height:1.6}.web-song-result small{color:#536984}.web-song-result.selected{background:#ebf3ff;border-color:#3d74b2}.web-score-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.web-score-images label{border:1px solid #bccbdd;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}.web-score-images input{width:22px;height:22px}.web-score-images img{width:100%;height:240px;object-fit:contain;background:white}#webSongLyrics{min-height:340px;font-size:18px;line-height:1.8}#webSongPreview{min-width:0}#webSongPreview h3{font-size:20px;line-height:1.6}#webSongPreview button{margin:12px 0;min-height:42px}@media(max-width:800px){.web-song-layout{grid-template-columns:1fr}.web-song-query{flex-wrap:wrap}.web-song-query input{min-width:180px}}

.free-lyric-links{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 24px}.free-lyric-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #b6c9df;border-radius:8px;background:#edf4ff;color:#203f65;font-weight:600;text-decoration:none}.free-lyric-links a:focus-visible{outline:3px solid #3779c8;outline-offset:3px}

.free-lyric-paging{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:16px 0}.web-song-layout #webSongResults{max-height:62dvh;overflow:auto;overscroll-behavior:contain;padding-right:8px}#freeLyricPreview #webSongLyrics{min-height:390px;font-size:18px;line-height:1.8}#freeLyricPreview{min-width:0}@media(max-width:800px){.web-song-layout #webSongResults{max-height:35dvh}#freeLyricPreview #webSongLyrics{min-height:280px}}

.lyric-providers{display:flex;gap:8px;margin:12px 0}.lyric-providers button{min-height:44px;min-width:90px}.lyric-providers button[aria-pressed="true"]{background:#203957;color:white}.web-song-result small{display:block}.web-song-layout #originalImportedLyrics{font-size:17px;line-height:1.7;min-height:200px}

.lyric-section-markers{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0}.lyric-section-markers>span{flex-basis:100%;font-size:14px;color:#405572}.lyric-section-markers button{min-width:44px;height:40px;padding:0 10px;font-size:15px;font-weight:700;border:1px solid #bdcce0;border-radius:7px;background:#f4f7fc;color:#203957}.lyric-section-markers button:hover{background:#e0ebfa}.lyric-section-markers button:focus-visible{outline:3px solid #537eaf}

.lyric-custom-section{position:relative}.lyric-custom-section summary{cursor:pointer;list-style:none;border:1px solid #bdcce0;border-radius:7px;padding:10px;font-weight:700;font-size:14px}.lyric-custom-section[open]{flex-basis:100%;padding:12px;border:1px solid #bdcce0;background:#f4f7fc;border-radius:8px}.lyric-custom-section select,.lyric-custom-section input{display:inline-block;width:auto;max-width:180px;margin:8px 6px 0 0}.lyric-custom-section input{width:80px}.web-song-order{margin:20px 0;padding:16px;border:1px solid #bdcce0;border-radius:10px;background:#f4f7fc}.web-song-order h3{font-size:18px;margin:0 0 8px}

.playlist-import{padding:14px;margin:10px 0 16px;background:#f0f5fb;border:1px solid #c5d3e5;border-radius:10px}.playlist-queue-buttons{display:flex;overflow-x:auto;gap:8px;padding:8px 0}.playlist-queue-buttons button{min-width:190px;max-width:260px;text-align:left;padding:12px;flex-shrink:0}.playlist-queue-buttons strong,.playlist-queue-buttons small,.playlist-queue-buttons span{display:block}.playlist-queue-buttons small{font-size:13px;margin:6px 0}.playlist-queue-buttons button[aria-pressed="true"]{background:#e0ecfc;border-color:#4977ac}.playlist-queue-buttons span{font-size:13px;font-weight:700}

.song-library-group>summary .library-group-delete{margin-left:auto;font-size:12px;padding:6px 8px;min-height:32px}.song-library-actions .danger{color:#ad3931;background:#fff8f7;border-color:#e2b6b1}.song-library-trash{display:grid;gap:12px}.song-library-trash .song-library-card{margin:0}.song-library-trash small{display:block;margin-top:10px}

.web-song-action-error{color:#a63b27;font-size:14px;font-weight:600;margin-right:auto;max-width:45%;line-height:1.5}.web-song-action-error:empty{display:none}@media(max-width:700px){.web-song-action-error{max-width:100%;flex-basis:100%}}

#webSongLyrics,#originalImportedLyrics{overflow-y:hidden!important;max-height:none!important;resize:none!important}.web-song-layout #webSongLyrics{min-height:280px}.song-workspace-scroll{overscroll-behavior:contain}

#webSongResults{overscroll-behavior:contain}

.order-group .group-heading{min-width:0;flex:1}.order-group .group-select-all{flex:0 0 auto;min-height:32px;padding:4px 7px;font-size:12px;white-space:nowrap;background:#fff;border:1px solid #b4c5db;border-radius:6px;color:#19385f}.order-group .group-select-all:focus-visible{outline:3px solid #5189c9;outline-offset:2px}#bulkExport{background:#19385f;color:#fff;border-color:#19385f}

.page-selection-shortcuts{padding:8px 12px;border-bottom:1px solid #d1dbea;background:#f5f8fc;flex-shrink:0}.page-selection-shortcuts button{width:100%;min-height:36px;font-size:13px;color:#19385f;background:#fff;border:1px solid #b4c5db;border-radius:7px}.bulk-selection-bar>.selection-export-action{display:block;width:100%;min-height:40px;margin:8px 0;font-size:14px;font-weight:700}
