/* Shared control dimensions: 44px fields, 36px compact tools. */
:root{--control-height:44px;--compact-height:36px;}
#app input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),.template-dialog input:not([type=file]):not([type=checkbox]){height:var(--control-height);min-height:var(--control-height);box-sizing:border-box;padding:0 12px;border:1px solid #dcdce3;border-radius:6px;font:inherit;max-width:100%;}
#app .v7-select>summary,.template-dialog .v7-select>summary{height:44px;min-height:44px;padding:0 12px;box-sizing:border-box;display:flex;align-items:center;}
#app textarea,.template-dialog textarea{border:1px solid #dcdce3;border-radius:6px;padding:12px;box-sizing:border-box;font:inherit;}
#app .v7-title-tools,#app .v8-back-tools{align-items:center;gap:8px;}
#app .v7-title-tools .font-dropdown{flex:1;min-width:0;margin:0;}
#app .v7-title-tools .font-dropdown>summary{height:36px;min-height:36px;padding:0 12px;display:flex;align-items:center;box-sizing:border-box;}
#app .v7-text-stepper button,#app .tuning-stepper button,#app .paper-margin-control button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;}
#app .v7-text-stepper{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;}
#app .v7-text-stepper output{min-width:28px;text-align:center;}
#app .row>label{position:relative;display:flex;flex-direction:column;gap:8px;margin:0;}
.workspace>.panel:not(.steps):not(.output-preview-panel)>.theme-grid,.template-current,.theme-picker,.upload-zone{margin-top:12px;margin-bottom:12px;}
.v9-date-input{cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23686a73' stroke-width='1.5'%3E%3Crect x='2' y='4' width='14' height='12' rx='2'/%3E%3Cpath d='M5 2v4m8-4v4M2 8h14'/%3E%3C/svg%3E") right 12px center/18px no-repeat!important;padding-right:36px!important;}
.v9-calendar{position:absolute;z-index:70;top:100%;left:0;width:290px;max-width:calc(100vw - 40px);padding:14px;background:#fff;border:1px solid #dcdce3;border-radius:10px;box-shadow:0 8px 28px #24213626;color:#303039;font-weight:400;}
label:has(>.v9-date-input){position:relative;}
.v9-calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.v9-calendar button{border:0!important;background:transparent;color:#303039;padding:0!important;min-height:34px!important;min-width:0;font-size:13px;border-radius:50%;}
.v9-calendar-heading button{width:34px;font-size:24px;}
.v9-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;}
.v9-calendar-days small{text-align:center;padding:6px 0;color:#777;font-size:12px;}
.v9-calendar-days button{width:34px;height:34px;justify-self:center;}
.v9-calendar-days .other-month{color:#b9b9c1;}
.v9-calendar-days .today{box-shadow:inset 0 0 0 1px var(--main-color,#7658cd);}
.v9-calendar-days .selected{background:var(--main-color,#7658cd);color:#fff;}
.v9-calendar-footer{display:flex;justify-content:space-between;border-top:1px solid #eee;margin-top:10px;padding-top:8px;}
.v9-calendar-footer button{color:#7658cd;border-radius:4px;}
.v9-color-field{position:relative;margin:16px 0;}
.v9-color-field>label{display:block;margin-bottom:8px;}
.v9-colors{display:flex;flex-wrap:wrap;gap:6px;}
.v9-colors>button{min-height:36px!important;padding:7px 10px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dcdce3!important;border-radius:6px!important;font-size:12px!important;line-height:20px;box-shadow:none!important;}
.v9-colors.is-background>button:not(.v9-custom-color){background:var(--swatch);color:var(--swatch-ink);}
.v9-colors>button.chosen{border-color:#7658cd!important;outline:1px solid #7658cd;outline-offset:-2px;}
.v9-colors>button i{display:inline-block;width:13px;height:13px;border:1px solid #00000015;border-radius:50%;background:var(--swatch);flex:none;}
.v9-colors.is-accent>button,.v9-custom-color{background:#fff;color:#303039;}
.v9-color-popover{position:absolute;top:calc(100% + 6px);left:0;z-index:80;width:280px;max-width:calc(100vw - 56px);padding:12px;background:#fff;border:1px solid #dcdce3;border-radius:9px;box-shadow:0 8px 28px #24213626;}
.v9-sv{height:140px;position:relative;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);border-radius:5px;touch-action:none;cursor:crosshair;}
.v9-sv>i{position:absolute;width:14px;height:14px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #333;pointer-events:none;}
.v9-hue{width:100%;height:12px;min-height:12px!important;margin:16px 0!important;appearance:none;border:0;border-radius:8px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);}
.v9-hue::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:transparent;box-shadow:0 0 0 1px #777;}
.v9-color-bottom{display:grid;grid-template-columns:36px minmax(0,1fr) 54px;gap:6px;align-items:center;}
.v9-color-chip,#app .v9-color-bottom input,#app .v9-color-bottom button{height:36px;min-height:36px!important;box-sizing:border-box;margin:0;padding:0 8px;border:1px solid #dcdce3;border-radius:5px;font-size:12px;}
.v9-color-chip{padding:0!important;}
.v9-leave-modal{text-align:center;position:fixed;padding:36px 24px 24px;max-width:390px;width:calc(100% - 40px);box-sizing:border-box;border-radius:12px;}
.v9-leave-modal::backdrop{background:rgba(0,0,0,.6);}
.v9-leave-modal h2{font-size:20px;margin:8px 0 14px;}
.v9-leave-modal p{color:#777;line-height:1.8;margin-bottom:26px;font-size:14px;}
.v9-leave-modal .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.v9-modal-close{position:absolute;top:9px;right:10px;width:30px;height:30px;min-height:30px;border:0;background:none;font-size:24px;color:#8b8b95;padding:0;}
.v9-download-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px;}
.v9-download-row>button{width:100%;min-width:0;margin:0!important;font-size:13px;}
.v9-download-row>button:only-child{grid-column:1/-1;}
.v9-output-dimensions{font-size:12px;color:#777;margin:8px 0;}
.cover-preview-sheet.postcard-sheet,.cover-preview-sheet.postcard-sheet>.skin{width:550px!important;max-width:none!important;}
.cover-preview-sheet.postcard-sheet .posterimg{width:550px!important;max-width:none!important;object-fit:contain!important;}
.cover-preview-frame{overflow:hidden;}
.paper-song,.paper-song-group{line-height:1.3!important;}
.v9-template-list{display:flex;flex-direction:column;gap:12px;}
.v9-template-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:18px;padding:16px 0;border-bottom:1px solid #e6e6eb;align-items:start;}
.v9-template-row>img{width:84px;aspect-ratio:210/297;object-fit:cover;border:1px solid #eee;border-radius:5px;}
.v9-template-row h3{margin:0 0 8px;font-size:16px;}
.v9-template-row p{margin:6px 0;font-size:13px;}
.v9-template-row small{font-size:12px;color:#777;}
.v9-keyword{display:inline-block;background:#f3f0fa;color:#66518d;padding:3px 7px;border-radius:4px;margin:0 4px 4px 0;font-size:12px;}
.v9-template-row .template-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.v9-template-name{display:block;padding:6px;font-size:12px;}
.v9-template-code textarea{font-family:monospace!important;font-size:13px!important;line-height:1.6;}
.template-preview-panel{position:sticky;top:0;align-self:start;}
.v9-login .server-card{margin:0!important;padding:0!important;max-width:none!important;width:100%;min-height:100dvh;border:0!important;border-radius:0!important;box-shadow:none!important;display:grid;grid-template-columns:1fr 1fr;}
.v9-login .server-card>h1{display:none;}
.v9-login-visual{background:#ede6db url('assets/sunlight-piano.png') center/cover no-repeat;min-height:100dvh;}
.v9-login-side{padding:36px 48px 24px;display:flex;flex-direction:column;min-height:100dvh;box-sizing:border-box;}
.v9-login-logo{font-size:24px;font-weight:700;text-decoration:none;color:#6545a6;}
.v9-login-content{width:100%;max-width:420px;margin:auto;display:block;padding:70px 0;text-align:center;}
.v9-login-content h1{font-size:25px;margin:0 0 16px;font-weight:600;}
.v9-login-content p{color:#777;font-size:15px;line-height:1.8;}
.v9-login .naver-start{width:100%;box-sizing:border-box;min-height:54px;border-radius:8px;justify-content:center;margin-top:28px;}
.v9-login .v9-login-note{font-size:12px;margin-top:16px;}
.v9-login-help{display:flex;justify-content:space-between;margin-top:32px;border-top:1px solid #eee;padding-top:24px;font-size:13px;}
.v9-login-side>.server-links{margin:0;font-size:12px;}
@media(min-width:901px){.workspace>.steps{position:sticky!important;top:116px;align-self:start;max-height:calc(100dvh - 140px);overflow-y:auto;}.v8-paid-editor .workspace>.steps{top:80px;max-height:calc(100dvh - 104px);}.workspace.workspace-print.v9-wide-output{grid-template-columns:150px minmax(0,1fr)!important;}.v9-wide-output>.steps{grid-row:1/3;}.v9-wide-output>.output-preview-panel{grid-column:2;min-width:0;}.v9-wide-output>.panel:not(.steps){width:100%;box-sizing:border-box;}.v9-wide-output .cover-preview-frame{max-width:1123px;margin:auto;}}
@media(max-width:900px){.v9-template-row{grid-template-columns:64px minmax(0,1fr);gap:12px;}.v9-template-row>img{width:64px;}.v9-template-row .template-card-actions{grid-column:2;display:flex;flex-wrap:wrap;}.v9-login .server-card{display:block;}.v9-login-visual{display:none;}.v9-login-side{padding:24px;}.v9-login-content{padding:60px 0;}.v9-login-content h1{font-size:22px;}}
.cover-preview-frame:has(.postcard-sheet){max-width:360px;margin:0 auto;}
.cover-preview-frame:has(.postcard-sheet) .cover-preview-sheet.postcard-sheet{width:550px!important;max-width:none!important;margin:0!important;}
.v9-paper-controls{margin:10px 0 16px;}
.v9-paper-controls>div:last-child{display:grid;grid-template-columns:1fr;}
.v9-withdraw-modal{position:fixed;padding:34px 24px 24px;}
.v9-withdraw-modal h2,.v9-withdraw-modal>p:first-of-type{text-align:center;}
.v9-withdraw-modal li{margin:10px 0;font-size:14px;line-height:1.7;}
.v9-withdraw-modal::backdrop{background:rgba(0,0,0,.6);}
#app .font-dropdown>summary,#app .v7-select>summary,.template-dialog .font-dropdown>summary,.template-dialog .v7-select>summary{margin:0!important;}
#app .v7-title-tools>.font-dropdown{padding:0!important;height:36px;}

/* Calendar top-layer popup: independent of editor/wizard overflow. */
dialog.v9-calendar{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:290px;padding:12px;overflow:auto;overscroll-behavior:contain;color:#303039;}
dialog.v9-calendar::backdrop{background:transparent;}
dialog.v9-calendar .v9-calendar-heading{margin-bottom:6px;}
dialog.v9-calendar .v9-calendar-days{gap:2px;}
dialog.v9-calendar .v9-calendar-days button{width:30px;height:30px;min-height:30px!important;}
dialog.v9-calendar .v9-calendar-days small{padding:4px 0;}
dialog.v9-calendar .v9-calendar-footer{margin-top:8px;padding-top:6px;}
.v9-date-input:disabled{background-color:#f1f1f4!important;color:#a1a1ac;cursor:not-allowed;opacity:.65;}
@media(max-height:430px){dialog.v9-calendar{padding:8px;width:270px;}dialog.v9-calendar .v9-calendar-days button{height:24px;min-height:24px!important;width:28px;}dialog.v9-calendar .v9-calendar-heading button,dialog.v9-calendar .v9-calendar-footer button{min-height:26px!important;}dialog.v9-calendar .v9-calendar-heading{margin-bottom:2px;}dialog.v9-calendar .v9-calendar-days small{padding:2px 0;}dialog.v9-calendar .v9-calendar-footer{margin-top:4px;padding-top:2px;}}
/* Full-bleed cover output: use the actual sheet size instead of nested scaling. */
.folded-cover-sheet>.folded-front,.folded-cover-sheet>.folded-back{width:50%;height:100%;margin:0;border:0;}
.folded-cover-sheet>.folded-front>.cover-preview-sheet{width:100%!important;height:100%!important;max-width:none!important;margin:0!important;transform:none!important;}
.folded-front>.cover-preview-sheet>.skin,.folded-front>.cover-preview-sheet>.skin>.skin-cover,.folded-front>.cover-preview-sheet>.skin>.posterimg{width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;aspect-ratio:auto!important;margin:0;border:0;}
.folded-front .posterimg,.print-poster .posterimg{object-fit:cover!important;object-position:center;}
.print-poster,.print-poster>.skin{width:550px!important;height:778px!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;}
.print-poster>.skin>.skin-cover,.print-poster>.skin>.posterimg{display:block;width:550px!important;height:778px!important;min-height:0!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;border:0!important;}
/* Preserve the audience page edge-to-edge layout on narrow screens. */
#app:has(>.server-audience){width:100%;max-width:none;margin:0;padding:0;}
.server-audience{width:100%;max-width:550px;margin:0 auto;}

.v10-login-policies{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-top:16px;font-size:.8125rem;}
.v10-login-policies a{color:#5e5966;text-decoration:none;}
.v10-login-policies a:hover,.v10-login-policies a:focus-visible{text-decoration:underline;}
.crop-dialog.v10-crop[open]{display:flex;flex-direction:column;width:min(480px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow:hidden;padding:0;}
.v10-crop-body{min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain;}
.v10-crop-body canvas{display:block;width:min(100%,300px);height:auto;aspect-ratio:1;margin:0 auto;touch-action:none;user-select:none;}
.v10-crop>.crop-actions{flex:none;flex-wrap:wrap;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e4dfeb;}
@media(max-width:768px),(max-height:600px){.v10-crop-body canvas{width:min(100%,clamp(120px,39dvh,200px));}.v10-crop-body h3{margin:0 0 8px;}}
.v10-my-cover{min-width:0;position:relative;}
.v10-my-cover>.theme-card{width:100%;height:100%;}
.v10-my-cover img{object-fit:contain;}
.v10-cover-edit{position:absolute;top:4px;right:4px;z-index:3;}
.v10-cover-edit summary{display:grid;place-items:center;cursor:pointer;width:28px;height:28px;border-radius:50%;background:white;list-style:none;}
.v10-cover-edit>div{position:absolute;top:30px;left:0;display:grid;min-width:104px;padding:4px;background:white;border:1px solid #e4dfeb;border-radius:6px;}
.v10-cover-tools{margin-top:8px;}
.design-block .theme-grid{gap:9px;}
.v10-preview-title{border-bottom:1px solid #e4dfeb;padding:8px 12px;font-size:.8125rem;text-align:center;}
.concert-card:has(.v8-card-header) .v8-card-header{padding-bottom:18px;}
.v8-card-header .concert-card-cover-image{object-fit:contain;}
.v8-card-header .concert-card-body{padding:8px 0 0!important;}
.v8-card-header h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.concert-grid:has(.v8-card-header){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:900px){.concert-grid:has(.v8-card-header){grid-template-columns:minmax(0,1fr)!important;}}
@media(min-width:901px){.workspace.v10-workspace:not(.workspace-share){grid-template-columns:144px minmax(0,1.18fr) minmax(0,1fr)!important;gap:0!important;}.workspace.v10-workspace.workspace-print>.output-preview-panel{grid-column:3;grid-row:1;position:sticky;top:116px;align-self:start;max-height:calc(100dvh - 116px);overflow:auto;}.v8-paid-editor .workspace.v10-workspace.workspace-print>.output-preview-panel{top:80px;max-height:calc(100dvh - 80px);}.workspace.v10-workspace:not(.workspace-share)>.panel{border-radius:0!important;border-right:0;min-width:0;}.workspace.v10-workspace:not(.workspace-share)>.panel:last-child{border-right:1px solid #e4dfeb;}.workspace.v10-workspace>.steps{grid-row:1;}}
.v10-print-dialog{width:min(1160px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;}
.v10-print-tools{position:sticky;top:0;display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fff;z-index:2;}
.v10-print-scroll{overflow:auto;padding:12px;}
.v10-print-sheet{margin:auto;}
@font-face{font-family:StagePretendard;src:url('release-fonts/pretendard.woff2') format('woff2');font-weight:400;font-display:swap;}
.stage-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.stage-themes button{display:grid;gap:6px;padding:6px;text-align:left;min-width:0;}
.stage-themes img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;}
.stage-slide{aspect-ratio:16/9;container-type:inline-size;position:relative;overflow:hidden;background:#252525;font-family:StagePretendard,Pretendard,sans-serif;}
.stage-slide>*{position:absolute;margin:0;max-width:none;}
.stage-slide img{display:block;object-fit:cover;}
.stage-text{display:flex;align-items:center;white-space:nowrap;overflow:hidden;line-height:1.15;}
.stage-nav,.stage-downloads{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:10px 0;}
.stage-save-status{display:flex;align-items:center;gap:8px;color:#5e5966;font-size:.8125rem;margin:14px 0 0;}
.stage-present[open]{display:grid;place-content:center;grid-template-columns:minmax(0,1fr);width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:8px;background:#111;border:0;border-radius:0;}
.stage-present-screen{width:min(100%,calc((100dvh - 90px)*16/9));margin:auto;touch-action:pan-y;}
.stage-present .stage-nav{margin:8px 0;}
.mudae-icon{width:20px;height:20px;flex:none;vertical-align:middle;}
.v10-cover-edit .mudae-icon{width:15px;height:15px;}
@media(max-width:768px){.mudae-icon{width:22px;height:22px;}}
.stage-mobile-dialog{width:calc(100vw - 16px);max-width:640px;max-height:calc(100dvh - 16px);padding:0;overflow:auto;}
.stage-mobile-dialog .v10-print-tools{justify-content:space-between;align-items:center;}
.stage-mobile-dialog .output-preview-panel{margin:0;border:0;box-shadow:none;}
.stage-mobile-dialog [data-v10-enlarge]{display:none;}
@media(min-width:901px){.workspace.v10-workspace>.previewcol{display:flex!important;flex-direction:column;grid-column:3;grid-row:1;align-self:start;width:100%;max-width:none;margin:0;min-height:0;height:calc(100dvh - 116px);border-inline:1px solid #e4dfeb;}.v8-paid-editor .workspace.v10-workspace>.previewcol{height:calc(100dvh - 80px);}.workspace.v10-workspace>.previewcol>.phone{display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;margin:0;}.workspace.v10-workspace>.previewcol .phoneinner{flex:1;height:auto!important;min-height:0;max-height:none;width:100%;overflow:auto;}.workspace.v10-workspace>.previewcol>.preview-save,.v10-preview-title{flex:none;}}

.download-tabs.stage-output-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.download-tabs.stage-output-tabs>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:58px;padding:7px 2px;text-align:center;word-break:keep-all;}

.program-import-trigger{margin:8px 0;}
.program-import-dialog{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #ded9e9;border-radius:12px;background:#fff;color:inherit;}
.program-import-dialog[open]{display:flex;flex-direction:column;}
.program-import-dialog[hidden],.program-import-dialog [hidden]{display:none!important;}
.program-import-dialog::backdrop{background:#211a36a6;}
.program-import-dialog>header,.program-import-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;}
.program-import-dialog>header{border-bottom:1px solid #eae6ef;}
.program-import-dialog>header h2{font-size:18px;margin:0;}
.program-import-dialog>footer{justify-content:flex-end;border-top:1px solid #eae6ef;flex-wrap:wrap;}
.program-import-dialog>footer button{min-height:44px;}
.program-import-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:16px;}
.program-import-body textarea,.program-import-body input[type=text]{width:100%;min-width:0;font-size:16px;}
.program-import-body textarea{min-height:85px;max-height:40dvh;resize:vertical;}
.program-import-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f6f4fa;padding:12px;}
.program-import-body details{margin:10px 0;}
.program-import-body fieldset{min-width:0;margin:12px 0;border:1px solid #ded9e9;border-radius:8px;padding:10px;}
.program-import-body legend{font-weight:600;}
.program-import-body fieldset label{display:block;margin:4px 0;}
.program-import-song{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;}
.program-import-body [role=alert],.program-import-body [data-import-row-error],.program-import-warning{color:#8a3525;overflow-wrap:anywhere;}
.program-import-warning{display:block;}
@media(max-width:480px){.program-import-song{grid-template-columns:1fr;gap:2px;}.program-import-dialog>footer button{flex:1;}}

/* 편집 미리보기와 하단 메뉴는 브라우저 너비를 기준으로 배치합니다. */
body.editing-concert {--preview-top:116px;--editor-bottom-space:calc(64px + env(safe-area-inset-bottom));}
body.editing-concert.v8-paid-editor {--preview-top:80px;}
.v10-preview-title {display:flex;justify-content:flex-end;background:var(--ui-surface,#fff);}
.v10-preview-title .section-use {gap:8px;white-space:nowrap;min-height:26px;}
.workspace.v10-workspace #live {overscroll-behavior-y:contain;overflow-anchor:none;}
@media(max-width:900px){body.editing-concert #app {padding-bottom:calc(var(--editor-bottom-space) + 16px);}.editing-concert .workspace.v10-workspace>.steps {display:none!important;}.editing-concert .v8-editor-bottom {z-index:50;min-height:var(--editor-bottom-space);border-top:1px solid var(--ui-border,#e4dfeb);}.editing-concert .v8-editor-bottom button {min-height:63px;}.editing-concert.editor-keyboard-open .v8-editor-bottom {display:none!important;}}
@media(min-width:640px){.editing-concert .editor-save #mobilepreview {display:none!important;}.workspace.v10-workspace>.previewcol {position:sticky;top:var(--preview-top);}.workspace.v10-workspace #live {max-width:none;}}
@media(min-width:640px) and (max-width:900px){.workspace.v10-workspace:not(.workspace-share) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:0;}.workspace.v10-workspace>.panel:not(.steps) {min-width:0;max-width:100%;padding-inline:clamp(10px,2vw,18px);}.workspace.v10-workspace>.previewcol {display:flex!important;flex-direction:column;grid-area:1/2;align-self:start;width:100%;max-width:none;margin:0;min-height:0;height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));border-inline:1px solid #e4dfeb;}.workspace.v10-workspace>.previewcol>.phone {display:flex;flex-direction:column;flex:1;min-height:0;margin:0;}.workspace.v10-workspace #live {flex:1;width:100%;height:auto!important;min-height:0;max-height:none;overflow:auto;}.workspace.v10-workspace>.previewcol>.preview-save,.v10-preview-title {flex:none;}.workspace.v10-workspace.workspace-print>.output-preview-panel {grid-area:1/2;position:sticky;top:var(--preview-top);align-self:start;max-height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));overflow:auto;margin:0;overscroll-behavior-y:contain;}.v10-workspace .cover-template-grid {min-width:0;}.v10-workspace .content-section-head {flex-wrap:wrap;}}
@media(max-width:639px){.editing-concert .v8-editor-bottom .editor-bottom-scroll {grid-template-columns:repeat(6,minmax(58px,1fr));overflow-x:auto!important;overscroll-behavior-x:contain;}.editing-concert .v8-editor-bottom.has-more:after {display:block!important;content:"";position:absolute;inset:0 0 env(safe-area-inset-bottom) auto;width:20px;background:linear-gradient(90deg,transparent,#fff);pointer-events:none;}}
/* v11 meeting corrections */
dialog::backdrop,.program-import-dialog::backdrop{background:rgba(0,0,0,.72);}
.program-import-body .import-performer{border:0;border-bottom:1px solid #e5e5e8;border-radius:0;padding:18px 0;margin:0;}
.program-import-body .import-performer legend{padding:0;font-size:14px;color:#666;}
.program-import-body .import-mode{padding:14px;border-color:#dedee4;}
.program-import-body .import-mode label,.v11-check{display:flex;align-items:center;gap:8px;}
.program-import-body .import-mode input[type=radio],.v11-check input[type=checkbox]{width:18px!important;height:18px!important;min-height:0!important;margin:0;flex:0 0 18px;}
.import-example-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:14px;}
.v11-song-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:12px;}
.v11-song-row label{min-width:0;margin:0!important;}
.v11-song-row input{width:100%;}
.v11-font-style{display:flex;gap:4px;}
.v11-font-style button{min-width:36px;padding-inline:8px;}
.v11-font-style button:last-child{font-style:italic;}
.v11-font-style button:first-child{font-weight:700;}
.v8-cover-info p{white-space:pre-line;overflow-wrap:anywhere;}
.program-display-settings{border:1px solid #e0dce9;border-radius:10px;margin:14px 0;}
.program-display-settings>summary,.program-design>summary{display:flex;flex-direction:column;gap:4px;padding:16px;cursor:pointer;}
.program-display-settings summary small,.program-design summary small{color:#77717f;font-size:12px;}
.v11-settings-body{padding:0 16px 16px;}
.v11-style-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.v11-style-picker button{font-size:13px;min-width:0;text-align:left;}
.v11-song{display:block;}
.v11-composer{font-size:.86em;font-weight:400;opacity:.85;margin-left:.7em;}
.v11-song-title,.v11-composer{overflow-wrap:anywhere;}
.v11-divider{border-top:1px solid currentColor;opacity:.25;margin:20px 0;break-inside:avoid;}
.v11-space{height:28px;break-inside:avoid;}
.v11-style-name-line .v11-song{display:flex;justify-content:space-between;gap:10px;}
.v11-style-composer-below .v11-composer,.v11-style-name-top .v11-composer,.v11-style-song-first .v11-composer,.v11-style-song-top .v11-composer,.v11-style-center .v11-composer{display:block;margin:3px 0 0;}
.v11-style-name-top .piece-body,.v11-style-song-top .piece-body,.v11-style-center .piece-body{display:flex!important;flex-direction:column!important;align-items:stretch!important;}
.v11-style-song-first .song,.v11-style-song-top .song{order:-1;}
.v11-style-song-first .piece-body{grid-template-columns:minmax(0,1fr) minmax(70px,.35fr)!important;}
.v11-style-center .piece-body{text-align:center;}
.v11-style-table .piece-body{display:grid!important;grid-template-columns:minmax(68px,.32fr) minmax(0,1fr)!important;gap:12px;}
.v11-style-table .v11-song{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,.4fr);gap:10px;}
.v11-style-table .v11-composer{margin:0;text-align:right;}
.v11-style-composer-first .v11-song{display:flex;flex-direction:column;}
.v11-style-composer-first .v11-composer{order:-1;margin:0 0 3px;}
.v11-style-name-line,.v11-style-table{--program-primary:16px;--program-secondary-size:15px;}
.v11-style-name-top,.v11-style-song-top,.v11-style-center{--program-primary:18px;--program-secondary-size:16px;}
.student-meta{grid-column:1/-1;}
.paper-song .v11-song{display:block;}
.paper-song .v11-composer{display:block;margin:2px 0 0;font-size:.86em;}
.v11-dashboard-cover{display:block;width:100%;height:100%;object-fit:cover;}
.concert-card-visual{overflow:hidden;}
.kakao-card-visual>img{width:100%;height:100%;object-fit:cover!important;}
.stage-section-label{font-weight:500;white-space:nowrap;}
body.editing-concert{--preview-top:104px;}
body.editing-concert.v8-paid-editor{--preview-top:64px;}
body.editing-concert #app{padding-top:var(--preview-top)!important;padding-bottom:var(--editor-bottom-space)!important;}
.editing-concert .workspace.v10-workspace{margin-top:0!important;margin-bottom:0!important;gap:0;}
.editing-concert .workspace.v10-workspace>.panel,.editing-concert .workspace.v10-workspace>.previewcol{border-top:0!important;border-bottom:0!important;border-radius:0!important;}
@media(min-width:640px){.editing-concert .workspace.v10-workspace>.panel:not(.steps):not(.output-preview-panel){min-height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));box-sizing:border-box;}.editing-concert .workspace.v10-workspace>.steps{top:var(--preview-top)!important;min-height:calc(100dvh - var(--preview-top));margin:0;}.editing-concert .workspace.v10-workspace>.previewcol{height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space))!important;}}
@media(min-width:901px){body.editing-concert{--editor-bottom-space:0px;}}
@media(min-width:901px) and (max-width:1200px){.editing-concert .workspace.v10-workspace:not(.workspace-share){grid-template-columns:76px minmax(0,1fr) minmax(0,1fr)!important;}.editing-concert .steps{padding-inline:4px!important;}.editing-concert .steps button{display:flex;flex-direction:column;gap:5px;padding:12px 2px;font-size:11px;min-width:0;}}
@media(max-width:1280px){.editing-concert #app{padding-inline:0!important;}.editing-concert .workspace.v10-workspace{width:100%;max-width:none;}}
@media(max-width:768px){body.editing-concert.v8-paid-editor{--preview-top:64px;}}
@media(max-width:479px){.v11-song-row{grid-template-columns:1fr;}.v11-font-style{flex-shrink:0;}.v11-style-picker{grid-template-columns:1fr;}}
.member-card{width:min(100%,560px);box-sizing:border-box;}
.member-card>p{overflow-wrap:anywhere;}
.member-card #v7-profile{padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid #e5e2eb;}
.member-card>h2{font-size:20px;margin:0 0 14px;}
.member-card>a{display:inline-flex;text-decoration:none;align-items:center;min-height:44px;margin-top:16px;padding:0 14px;border:1px solid #ded9e9;border-radius:6px;color:#6545a6;}
.member-card>hr{height:0;border:0;border-top:1px solid #e5e2eb;margin:28px 0 18px;}
.member-card .optional-consent{display:flex;align-items:center;gap:10px;padding:12px;background:#f5f5f6;border-radius:8px;font-size:14px;line-height:1.5;}
.member-card .optional-consent input,.v9-withdraw-modal .checkline input{width:18px!important;height:18px!important;min-height:0!important;flex:0 0 18px;margin:0;}
.v9-withdraw-modal .checkline{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;}
.v9-withdraw-modal ul{padding-left:20px;font-size:14px;line-height:1.8;}
.v9-withdraw-modal li{margin:10px 0;}
.v9-withdraw-modal li strong{color:#a52542;}
.v9-withdraw-modal .danger:disabled{opacity:.45;color:#fff;cursor:not-allowed;}
.preview-watermark::after,.print-watermark::after,.free-photo-preview .photo-slide::after{opacity:.6!important;}
.server-audience{max-width:none!important;}
.kakao-card-visual>.sharing-auto-poster{max-height:none!important;}
.paper-piece.v11-style-name-line .v11-song{display:flex;justify-content:space-between;gap:8px;}
.paper-piece.v11-style-name-line .v11-composer{margin:0;}
.paper-piece.v11-style-name-top .paper-piece-body,.paper-piece.v11-style-song-top .paper-piece-body,.paper-piece.v11-style-center .paper-piece-body{display:flex!important;flex-direction:column!important;align-items:stretch;gap:5px;}
.paper-piece.v11-style-song-first .paper-song-group,.paper-piece.v11-style-song-top .paper-song-group{order:-1;}
.paper-piece.v11-style-table .v11-song{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,.4fr);gap:10px;}
.paper-piece.v11-style-table .v11-composer{text-align:right;margin:0;}
.paper-piece.v11-style-center{text-align:center;}
.paper-piece.v11-style-composer-first .v11-song{display:flex;flex-direction:column;}
.paper-piece.v11-style-composer-first .v11-composer{order:-1;}
.editing-concert .program-design,.editing-concert .program-display-settings{padding:0;}
.editing-concert .program-design>summary,.editing-concert .program-display-settings>summary{align-items:flex-start!important;justify-content:center;text-align:left!important;margin:0!important;min-height:68px;box-sizing:border-box;padding:14px 16px!important;}
.editing-concert .program-design[open]>:not(summary){margin-inline:16px;}
@media(max-width:1280px){.editing-concert #app{max-width:none!important;}}
.editing-concert .workspace.v10-workspace{gap:0!important;}
.editing-concert .workspace.v10-workspace.workspace-print>.output-preview-panel{top:var(--preview-top)!important;max-height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space))!important;}
.program-import-body .import-performer input[type=text]{border:0!important;border-bottom:1px solid #d9d9df!important;border-radius:0!important;background:#fafafa;}
.program-import-body .import-performer input[type=text]:focus{outline:2px solid #b6a5e7;outline-offset:1px;background:#fff;}
.v8-card-header .concert-card-cover-image{position:static!important;inset:auto!important;object-fit:cover!important;object-position:center;border-radius:0;transform:none;margin:0;}
@media(min-width:640px){.editing-concert .workspace.v10-workspace>.panel:not(.steps):not(.output-preview-panel){height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));max-height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));min-height:0!important;overflow-y:auto;overscroll-behavior-y:contain;position:sticky;top:var(--preview-top);}}
/* v12: compact neutral scrollbars, readable withdrawal, consistent share panels. */
@media(pointer:fine){*{scrollbar-width:thin;scrollbar-color:#b7b7bd transparent;}::-webkit-scrollbar{width:6px;height:6px;}::-webkit-scrollbar-track{background:transparent;}::-webkit-scrollbar-thumb{background:#b7b7bd;border-radius:6px;}::-webkit-scrollbar-thumb:hover{background:#8d8d96;}}
.v9-withdraw-modal button.danger{background:#a93850!important;border-color:#a93850!important;color:#fff!important;}
.v9-withdraw-modal button.danger:disabled{opacity:.45;color:#fff!important;cursor:not-allowed;}
.v9-withdraw-modal button.danger:not(:disabled):hover{background:#8e2c42!important;}
.v12-section-head{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:12px;}
.v12-section-head>b{flex:1;min-width:0;font-size:16px;font-weight:600;}
.v12-section-head>.section-use{flex:none;margin:0;}
.v12-section-expand{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:36px;padding:0!important;border:0!important;background:transparent!important;}
.v12-color-sets>label{display:block;margin:18px 0 10px;}
.v12-share-preview{min-width:0;box-sizing:border-box;background:#fff;border-inline:1px solid #e4dfeb;margin:0;padding:0;}
.v12-share-heading{font-size:14px;margin:0;padding:14px 16px;border-bottom:1px solid #e4dfeb;}
.v12-share-preview #sharing-preview-content{padding:18px 12px;}
.v12-share-workspace .sharing-workspace{display:block!important;}
.v12-share-workspace .sharing-fields{width:100%;min-width:0;}
@media(min-width:901px){.workspace.v10-workspace.workspace-share.v12-share-workspace{display:grid!important;grid-template-columns:144px minmax(0,1.18fr) minmax(0,1fr)!important;gap:0!important;}.v12-share-workspace>.panel{border-radius:0!important;min-width:0;}.v12-share-workspace>.v12-share-preview{grid-column:3;grid-row:1;}}
@media(min-width:901px) and (max-width:1200px){.workspace.v10-workspace.workspace-share.v12-share-workspace{grid-template-columns:76px minmax(0,1fr) minmax(0,1fr)!important;}}
@media(min-width:640px) and (max-width:900px){.workspace.v10-workspace.workspace-share.v12-share-workspace{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;}.v12-share-workspace>.v12-share-preview{grid-area:1/2;}}
@media(min-width:640px){.v12-share-preview{position:sticky;top:var(--preview-top);height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));overflow:auto;overscroll-behavior:contain;}.v12-share-workspace>.panel:not(.steps){grid-column:2;grid-row:1;}.v12-share-workspace>.panel:not(.steps){padding-inline:clamp(12px,2vw,26px);}}
@media(min-width:640px) and (max-width:900px){.v12-share-workspace>.panel:not(.steps){grid-column:1;}}
@media(max-width:639px){.v12-share-preview{margin:0;border:0;border-top:1px solid #e4dfeb;}.share-method-tabs button{min-width:0;white-space:normal;}}
.v12-mobile-share-preview{display:none;}
.v12-share-dialog{max-width:440px;}
@media(max-width:639px){.v12-share-workspace>.v12-share-preview{display:none;}.v12-mobile-share-preview{display:block;margin:0 0 18px;width:100%;}}

.v12-section-head{cursor:pointer;}

.editing-concert .workspace>.panel:has(>.editor-panel-save){display:flex;flex-direction:column;}
.editing-concert .workspace>.panel:has(>.editor-panel-save)>*{flex-shrink:0;}
.editor-panel-save{position:sticky;bottom:0;z-index:5;margin-top:auto;padding-top:12px;background:var(--ui-surface,#fff);}
.editor-panel-save>.primary{display:block;width:100%;min-height:48px;}
@media(max-width:639px){.editing-concert .workspace>.panel:has(>.editor-panel-save){overflow:visible;min-height:calc(100dvh - var(--preview-top) - var(--editor-bottom-space));}.editor-panel-save{bottom:var(--editor-bottom-space);}}
.concert-visibility{display:inline-block;align-self:flex-start;padding:3px 8px;border-radius:5px;background:#f2f1f5;color:#565266;font-size:12px;font-weight:600;}
.concert-visibility.is-public{background:#eee8fa;color:#594294;}
@media(min-width:901px){.editing-concert .workspace.v12-share-workspace>.panel:not(.steps){border-left:0!important;}}
