/* Rhythm-specific structural compatibility only.
   Typography, headers, settings, preset modal, page tiles, tabs, print menu
   and zoom are sourced from the note-name generator's own CSS/JS. */

.rhythm-app .check-list.two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rhythm-app .check-list label{display:flex;align-items:center;gap:7px}
.rhythm-app .check-list label:not(.check-row){min-width:0;font-size:12px;font-weight:650}
.rhythm-app .page-stage .pages{transform:translateX(18px)}
.rhythm-app .page>svg{width:100%;height:100%;display:block}
.rhythm-app .page-count-label{font-size:11px;color:#777;font-weight:750;white-space:nowrap}
.rhythm-app .generator-preset-actions #editGeneratorPresetBtn:not([hidden]){grid-column:1/-1}
.rhythm-app .generator-preset-actions button[hidden]{display:none!important}
.rhythm-app #pageList .page-thumb{touch-action:pan-y}
.rhythm-app .print-menu[hidden]{display:none!important}
.rhythm-app .branding-preview[hidden],.rhythm-app .brand-logo[hidden]{display:none!important}
.rhythm-app .brand.no-brand-logo{grid-template-columns:minmax(0,1fr)!important}
.rhythm-app .brand.no-brand-logo h1{grid-column:1/-1}
.rhythm-app .branding-preview-wrap.is-empty{min-height:88px;border:1px dashed #d2d2d2!important}
.rhythm-app .branding-preview-wrap.is-empty::after{content:"설정 없음";font-size:11px;color:#888}
.rhythm-app .page-list .page-rail-toolbar{width:100%}
.rhythm-preset-overlay[hidden]{display:none!important}
.rhythm-preset-dialog .modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}
.rhythm-preset-dialog .modal-actions button{min-width:74px;height:40px;padding:0 14px;border:1px solid #cfcfcf;border-radius:9px;background:#fff;color:#333;font-weight:800;cursor:pointer}
.rhythm-preset-dialog .modal-actions button.confirm{border-color:#111;background:#111;color:#fff}
.rhythm-preset-dialog .preset-row{display:flex;gap:8px;margin:8px 0}
.rhythm-preset-dialog .preset-row button:first-child{flex:1;text-align:left}
.rhythm-preset-dialog .generator-credit-shortage-summary{border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:8px 0}
.rhythm-preset-dialog .generator-credit-shortage-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0}
#printRoot{display:none}
@media(max-width:900px){.rhythm-app .preview-shell{overflow:auto}.rhythm-app .page-count-label{display:none}}
@media print{
  html,body{width:210mm!important;margin:0!important;padding:0!important;background:#fff!important}
  body>.generator-nav,body>.rhythm-app,body>.rhythm-preset-overlay,body>.generator-auth-overlay,body>.generator-credit-shortage-overlay{display:none!important}
  #printRoot{display:block!important;width:210mm!important;margin:0!important;padding:0!important}
  body.print-rhythm #printRoot .page{display:block!important;width:210mm!important;min-width:210mm!important;max-width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;break-after:page!important;page-break-after:always!important;overflow:hidden!important}
  body.print-rhythm #printRoot .page:last-child{break-after:auto!important;page-break-after:auto!important}
  #printRoot .page svg{width:210mm!important;height:297mm!important;margin:0!important;display:block!important;aspect-ratio:auto!important}
  [data-preview-watermark="1"]{display:none!important}
}

/* Locrian generated screen UI font-size uplift; do not edit. */
@media screen {
.rhythm-app .check-list label:not(.check-row){font-size:calc(12px + 2pt)}
.rhythm-app .check-list label:not(.check-row){font-weight:600}
.rhythm-app .page-count-label{font-size:calc(11px + 2pt)}
.rhythm-app .page-count-label{font-weight:700}
.rhythm-app .branding-preview-wrap.is-empty::after{font-size:calc(11px + 2pt)}
.rhythm-preset-dialog .modal-actions button{font-weight:750}
}
