.cc-modal{color:var(--text,#272235)}.cc-card{background:var(--surface,#fff);border:1px solid var(--line,#e6e1ed);border-radius:12px;padding:20px;margin:16px 0}.cc-card h3{margin:0 0 14px}.cc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.cc-notice{background:#fff6e8;color:#774713;border-radius:9px;padding:14px;margin:14px 0;font-size:13px;overflow-wrap:anywhere}.cc-notice ul{margin:10px 0 0;padding-left:20px}.cc-success{background:#eaf7ed;color:#236044;border-radius:9px;padding:14px}.cc-table{overflow:auto}.cc-table table,.cc-paper table{width:100%;border-collapse:collapse;font-size:12px}.cc-table td,.cc-table th,.cc-paper td,.cc-paper th{padding:10px 8px;border-bottom:1px solid #e6e1ed;text-align:left}.cc-table td small{display:block;color:#756a80}.cc-table td:first-child{width:55px}.cc-summary dl{margin:0}.cc-summary dl>div{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.cc-summary dt{color:#756a80}.cc-summary dd{margin:0;font-variant-numeric:tabular-nums}.cc-total{border-top:1px solid #e6e1ed;padding-top:16px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.cc-total strong{font-size:28px;color:#682596}.cc-pay{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#f3eafa;padding:12px;border-radius:8px;margin:14px 0}.cc-history{margin:18px 0}.cc-history summary{cursor:pointer;margin-bottom:10px}.cc-history button{display:flex;margin-bottom:6px}.cc-steps li{margin:12px 0}.cc-paper{background:#fff;color:#272235;border:1px solid #e6e1ed;border-radius:10px;padding:32px;font:13px/1.6 Inter,system-ui,sans-serif}.cc-paper header{border-bottom:3px solid #682596;padding-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.cc-paper header img{max-width:165px;max-height:65px;object-fit:contain}.cc-paper header span{color:#756a80;font-size:12px}.cc-paper h2{text-align:center;font-size:19px;margin:24px 0}.cc-paper p{margin:15px 0;overflow-wrap:anywhere}.cc-paper td:last-child{white-space:nowrap}.cc-paper .cc-legal{background:#fff6e8;padding:12px;font-size:12px}.cc-signatures{display:flex;gap:25px;margin-top:55px;text-align:center;flex-wrap:wrap}.cc-signatures span{flex:1;min-width:180px;border-top:1px solid #ccc;padding-top:10px}.cc-paper footer{font-size:10px;margin-top:25px;color:#756a80;overflow-wrap:anywhere}.cc-print{max-width:820px;margin:0 auto}.cc-print .cc-paper{border:0}.cc-modal .field select,.cc-modal .field input,.cc-modal .field textarea{max-width:100%;min-width:0}.cc-modal .helper{margin-top:8px}.cc-modal .form-grid>*{min-width:0}@media(max-width:600px){.cc-card,.cc-paper{padding:15px}.cc-modal .form-grid{grid-template-columns:minmax(0,1fr)}.cc-summary dl>div{font-size:13px}.cc-paper table{font-size:11px}}@media print{@page{size:A4;margin:16mm}.cc-paper{border:0;padding:0}.cc-paper header,.cc-signatures{break-inside:avoid}.cc-paper tr{break-inside:avoid}.cc-paper{font-size:11px}.cc-paper .cc-legal{background:transparent;border:1px solid #ccc}.cc-print{max-width:none}}
.cc-confirm-controls{display:flex;flex-direction:column;gap:18px;margin:20px 0}.cc-confirm-check{display:flex;align-items:flex-start;gap:10px;margin:0;max-width:100%;font-size:13px;color:#43205e;line-height:1.6;cursor:pointer}.cc-confirm-check input{flex:0 0 17px;width:17px;height:17px;margin:3px 0 0;accent-color:#682596}.cc-confirm-check span{min-width:0;overflow-wrap:anywhere}.cc-confirm-action{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.cc-confirm-action .btn{position:static!important;float:none!important;max-width:100%;white-space:normal;min-height:44px;height:auto;line-height:1.45;padding:12px 16px;overflow-wrap:anywhere}
html:has(#modalRoot .cc-modal),body:has(#modalRoot .cc-modal){overflow:hidden!important;overscroll-behavior:none}
#modalRoot .cc-backdrop{position:fixed;inset:0;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;overflow:hidden;box-sizing:border-box}
#modalRoot .cc-backdrop .cc-dialog{width:min(960px,100%)!important;max-width:100%!important;height:min(920px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;min-height:0;padding:0!important;overflow:hidden!important;border-radius:18px!important;box-sizing:border-box}
#modalRoot .cc-modal{height:100%;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
#modalRoot .cc-modal>.modal-head{position:static!important;top:auto;margin:0!important;padding:20px!important;flex:0 0 auto;border-bottom:1px solid #e6e1ed;background:#fff;box-sizing:border-box}
#modalRoot .cc-scroll{min-height:0;min-width:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 20px 20px;box-sizing:border-box}
#modalRoot .cc-footer{flex:0 0 auto;display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0;padding:14px 20px;border-top:1px solid #e6e1ed;background:#fff;box-sizing:border-box}
#modalRoot .cc-card{overflow-wrap:anywhere;box-sizing:border-box;min-width:0}#modalRoot .cc-modal .modal-close{flex:0 0 40px}
@media(max-width:600px){#modalRoot .cc-backdrop{padding:8px!important}#modalRoot .cc-backdrop .cc-dialog{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}#modalRoot .cc-modal>.modal-head{padding:14px!important}#modalRoot .cc-scroll{padding:0 12px 14px}#modalRoot .cc-footer{padding:12px}.cc-confirm-action .btn{width:100%}}
#modalRoot .cc-modal>.cc-tabs{flex:0 0 auto;margin:0;padding:12px 20px;border-bottom:1px solid #e6e1ed;background:#fff;box-sizing:border-box;max-width:100%}

/* The application-wide sticky table header must not overlap this document. */
#modalRoot .cc-modal table thead,#modalRoot .cc-modal table th,.cc-print table thead,.cc-print table th{position:static;top:auto;z-index:auto;transform:none}
#modalRoot .cc-scroll{scroll-padding-top:20px;isolation:isolate}

.cc-paper p{margin:20px 0;line-height:1.8}.cc-paper h2{margin:28px 0 24px}.cc-paper table{margin:26px 0}.cc-signature-access p{line-height:1.7;margin:16px 0}.cc-signature-access .btn{margin:8px 12px 8px 0}.cc-signature-access{border-color:#b583dc;background:#faf7fd}.cc-footer{gap:12px!important}
