.bap-preview{color:inherit;max-width:100%;margin:20px 0;font-family:inherit;line-height:1.8}.bap-preview h2{margin:0 0 8px;font-size:1.3rem}.bap-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;margin-top:20px;display:grid}.bap-preview button{font:inherit;cursor:pointer}.bap-thumb{color:#101b49;background:#f4f8ff;border:1px solid #dbe6f6;border-radius:12px;flex-direction:column;align-items:center;gap:10px;min-height:44px;padding:12px;display:flex}.bap-thumb:hover{background:#edf4ff;border-color:#0866ff}.bap-thumb img{object-fit:contain;background:#fff;width:auto;max-width:100%;height:180px;box-shadow:0 3px 12px #10204b18}.bap-thumb span{font-size:.9rem}.bap-summary{margin:16px 0 12px}.bap-summary .bap-open{box-sizing:border-box;color:#fff;min-height:48px;font:inherit;cursor:pointer;touch-action:manipulation;background:#0866ff;border:1px solid #0866ff;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:12px 20px;font-weight:700;line-height:1.5;display:inline-flex;box-shadow:0 4px 12px #0866ff20}.bap-summary .bap-open:hover{color:#fff;background:#0755d4;border-color:#0755d4}.bap-summary .bap-open svg{flex-shrink:0}.bap-summary .bap-open:focus-visible,.bap-preview button:focus-visible,.bap-dialog button:focus-visible,.bap-summary a:focus-visible{outline-offset:3px;outline:3px solid #0866ff}.bap-dialog{box-sizing:border-box;color:#101b49;background:#f4f6fb;border:0;border-radius:16px;width:min(1000px,96vw);max-width:96vw;height:min(940px,92dvh);max-height:92dvh;margin:auto;padding:0;font-family:inherit;line-height:1.6;overflow:hidden}.bap-dialog::backdrop{background:#06112bd9}.bap-dialog-body{grid-template-rows:auto minmax(0,1fr) auto;height:100%;display:grid}.bap-dialog header{background:#fff;border-bottom:1px solid #dbe6f6;justify-content:space-between;align-items:center;gap:8px;padding:10px 16px;display:flex}.bap-dialog button{font:inherit;cursor:pointer;color:#101b49;touch-action:manipulation;background:#fff;border:1px solid #d6e0ef;border-radius:8px;min-height:44px;padding:8px 12px}.bap-dialog button:disabled{opacity:.4;cursor:default}.bap-sheet{overscroll-behavior:contain;direction:ltr;padding:12px;overflow:auto}.bap-sheet .bap-large{object-fit:contain;background:#fff;width:auto;max-width:100%;height:auto;max-height:100%;margin:0 auto;display:block;box-shadow:0 3px 16px #10204b20}.bap-sheet.bap-zoomed .bap-large{width:auto;max-width:none;max-height:none;margin:0}.bap-dialog footer{padding:8px 12px max(12px,env(safe-area-inset-bottom));text-align:center;background:#fff;border-top:1px solid #dbe6f6}.bap-caption{padding-bottom:5px;font-size:.9rem}.bap-controls{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@media (width<=480px){.bap-grid{gap:10px}.bap-thumb{padding:8px}.bap-thumb img{height:160px}.bap-dialog header{padding:8px 10px}.bap-dialog button{padding:8px;font-size:14px}.bap-sheet{padding:8px}}@media (width<=767px){.bap-summary{width:100%;margin:16px 0}.bap-summary .bap-open{width:100%;min-height:52px;font-size:15px}.bap-dialog .bap-controls{grid-template-columns:1fr 1fr 1fr;gap:6px;display:grid}.bap-dialog .bap-controls button{min-width:0;padding:10px 6px}}