.consent-template-upload-dialog{width:min(1000px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 32px);border:0;border-radius:13px;padding:0;color:var(--text,#263c45);background:#fff}.consent-template-upload-dialog::backdrop{background:rgb(19 38 48 / 36%)}.consent-template-upload{padding:24px 28px}.consent-template-upload [hidden]{display:none!important}.consent-template-upload header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:16px}.consent-template-upload header>[data-ctu-close]{flex-shrink:0;min-width:58px;white-space:nowrap;padding:7px 10px}.consent-template-upload h2{font-size:20px;margin:0 0 6px}.consent-template-upload header p{font-size:13px;color:var(--muted,#74848d);margin:0}.consent-template-upload [role=status]{font-size:13px;color:var(--muted,#74848d)}.consent-template-upload .error:empty{display:none}.consent-template-upload label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550}.consent-template-upload label small,.consent-template-upload .subtle{font-size:12px;line-height:1.65;color:var(--muted,#74848d);font-weight:400}.consent-template-upload input,.consent-template-upload select{width:100%;box-sizing:border-box;min-height:38px}.consent-template-upload input[type=file]{padding:9px}.consent-template-upload .ctu-meta{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:18px;margin:16px 0}.consent-template-upload .ctu-body-label span{font-size:12px;color:var(--muted,#74848d);font-weight:400}.consent-template-upload [data-ctu-body]{min-height:46vh;resize:vertical;font:14px/1.9 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#fffefb;padding:18px 22px;border:1px solid var(--line,#dfe6e9);border-radius:8px;width:100%;box-sizing:border-box;color:var(--text,#263c45)}.consent-template-upload .ctu-variables{font-size:12px;margin:12px 0 18px;padding:12px 0;border-top:1px solid var(--line,#e3e9ec);border-bottom:1px solid var(--line,#e3e9ec)}.consent-template-upload .ctu-variables summary{cursor:pointer;font-size:13px}.consent-template-upload [data-ctu-variables]{display:flex;flex-wrap:wrap;gap:6px}.consent-template-upload [data-ctu-variables] button{font-size:12px;padding:6px 10px}.consent-template-upload .ctu-body-footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted,#74848d);font-size:12px;margin:7px 0 16px;overflow-wrap:anywhere}.consent-template-upload .ctu-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:12px;border-top:1px solid var(--line,#e3e9ec)}.consent-template-upload .ctu-notes{padding:11px 14px 11px 29px;background:#fff8e9;color:#825f1d;font-size:12px;line-height:1.65;border-radius:7px}.consent-template-upload .ctu-discard{background:#fff8e9;padding:14px;border-radius:8px;margin-top:16px}.consent-template-upload .ctu-discard p{font-size:13px}.consent-template-upload .ctu-discard button{margin-right:7px}
@media(max-width:650px){.consent-template-upload-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:11px}.consent-template-upload{padding:18px 15px}.consent-template-upload header>[data-ctu-close]{flex-shrink:0;min-width:58px;white-space:nowrap;padding:7px 10px}.consent-template-upload h2{font-size:18px}.consent-template-upload .ctu-meta{grid-template-columns:1fr;gap:13px}.consent-template-upload [data-ctu-body]{padding:13px;min-height:45vh;font-size:14px}.consent-template-upload .ctu-actions button{flex:1;min-width:0}.consent-template-upload .ctu-body-footer{flex-direction:column;gap:4px}}
