.miolo-catalog{max-width:1120px;margin:auto;padding:28px 30px 48px;color:var(--ink)}.catalog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.miolo-catalog h1{font:700 clamp(26px,4vw,36px)/1.2 StudioRounded,sans-serif;margin:10px 0 16px;color:#9265a8;overflow-wrap:anywhere}.catalog-type{color:#c15b96;font-size:20px;margin:0 0 12px}.catalog-folders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:380px;margin-top:20px}.catalog-folders .studio-option{aspect-ratio:auto;min-height:48px;display:flex;align-items:center;justify-content:center;padding:10px 12px;text-align:center;background:linear-gradient(120deg,#fff9fc,#f6edf9);border:1px solid #d5b36a;border-radius:12px}.catalog-folders strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin-top:22px}.catalog-card{min-width:0;display:flex;flex-direction:column;gap:10px;text-align:left;border:1px solid #dfc18e;border-radius:18px;padding:12px;color:var(--ink);background:#fff9fd;cursor:pointer}.catalog-card:disabled{opacity:1;cursor:progress}.catalog-card strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.catalog-card small{font-size:12px;color:var(--muted);line-height:1.5}.catalog-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:1122/1402;width:100%;background:#fff;overflow:hidden;pointer-events:none;box-shadow:0 3px 10px #85536515}.catalog-preview>img{display:block;width:100%;height:auto;max-height:100%}.catalog-loading{font-size:13px;text-align:center;padding:16px;color:#876195;line-height:1.6}.catalog-card:focus-visible,.catalog-folders button:focus-visible{outline:3px solid #9864b2;outline-offset:4px}.catalog-dialog{width:min(1000px,calc(100vw - 28px));max-width:none;max-height:calc(100svh - 28px);padding:18px;border:1px solid #d5b36a;border-radius:20px;background:#fff8fd;color:#5f3863;overflow:auto}.catalog-dialog::backdrop{background:#301c42b8}.catalog-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px}.catalog-dialog h2{flex:1;min-width:0;font-size:18px;line-height:1.4;margin:0;overflow-wrap:anywhere}.catalog-dialog header button{flex:0 0 44px;width:44px;max-width:44px;min-width:44px;min-height:44px;padding:10px}.catalog-dialog>p{font-size:12px;line-height:1.5;margin:8px 0 14px}.catalog-reference-scroll{max-height:calc(100svh - 218px);min-height:0;overflow:auto;background:#eee7f0;border-radius:8px;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}.catalog-paper{width:min(100%,calc((100svh - 218px) * var(--catalog-ratio)));margin:0 auto;background:#fff;line-height:0}.catalog-paper>img{display:block;width:100%;height:auto;pointer-events:none}.catalog-dialog footer{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;margin-top:12px}.catalog-dialog footer button{min-height:44px;font-size:13px}.catalog-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;font-weight:700;text-decoration:none}.catalog-download:focus-visible{outline:3px solid #9864b2;outline-offset:4px;border-radius:6px}@media(min-width:1000px){.catalog-header .hamburger{display:none}}@media(max-width:640px){.miolo-catalog{padding:20px 18px 32px}.catalog-folders{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-folders strong{font-size:14px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-card{padding:8px;border-radius:12px}.catalog-card strong{font-size:12px}.catalog-card small{font-size:11px}.catalog-dialog{width:calc(100vw - 12px);max-width:calc(100% - 12px);max-height:calc(100svh - 12px);padding:12px;border-radius:14px}.catalog-dialog h2{flex:1;min-width:0;font-size:15px}.catalog-dialog footer{gap:4px 12px}.catalog-dialog footer button{font-size:12px}}@media(max-width:340px){.catalog-grid{grid-template-columns:1fr}}
