.ucm-consent-root *{box-sizing:border-box}.ucm-consent-root{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* Isolation: resist host-page inheritance / element rules */
.ucm-consent-root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
    color: #111827;
    -webkit-font-smoothing: antialiased;
}
.ucm-consent-root button,
.ucm-consent-root input,
.ucm-consent-root select,
.ucm-consent-root textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
/* Beat host framework rules (Bootstrap/Bulma/custom) on inline tags */
.ucm-consent-root b,
.ucm-consent-root strong {
    color: inherit !important;
    font-weight: 700 !important;
}
.ucm-consent-root em,
.ucm-consent-root i {
    color: inherit !important;
    font-style: italic;
}
.ucm-consent-root a {
    color: inherit;
}
.ucm-consent-root p,
.ucm-consent-root span,
.ucm-consent-root li,
.ucm-consent-root label,
.ucm-consent-root h1,
.ucm-consent-root h2,
.ucm-consent-root h3,
.ucm-consent-root h4,
.ucm-consent-root h5,
.ucm-consent-root h6 {
    color: inherit;
}.ucm-consent-root .ucm-consent-backdrop{position:fixed;inset:0;background:rgba(15,23,42,0.45);z-index:2147483000;display:flex;justify-content:center;align-items:center;padding:max(0.5rem,env(safe-area-inset-top,0px)) max(0.5rem,env(safe-area-inset-right,0px)) max(0.5rem,env(safe-area-inset-bottom,0px)) max(0.5rem,env(safe-area-inset-left,0px));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.ucm-consent-root .ucm-consent-modal{--ucm-modal-bg:#ffffff;--ucm-toggle-color:#4a42c2;--ucm-confirm-bg:#3a49bb;--ucm-confirm-text:#ffffff;--ucm-close-bg:#ffffff;--ucm-close-text:#000000;--ucm-item-parent-bg:#f7f8ff;--ucm-item-child-bg:#f0f1f8;--ucm-item-border:#e0e3f7;--ucm-item-badge-bg:rgba(74,66,194,0.12);--ucm-children-divider:#e5e7eb;width:min(92vw,1000px);max-width:100%;max-height:min(92dvh,92vh,900px);background:var(--ucm-modal-bg);border-radius:16px;box-shadow:0 20px 60px rgba(15,23,42,0.28);display:flex;flex-direction:column;overflow:hidden;flex-shrink:0;margin:auto}.ucm-consent-root .ucm-consent-header{padding:0.65rem 1rem;border-bottom:1px solid #e5e7eb}.ucm-consent-root .ucm-consent-title-row{display:flex;justify-content:space-between;gap:0.5rem;align-items:center;flex-wrap:wrap}.ucm-consent-root .ucm-consent-title{margin:0;font-size:clamp(0.95rem,1.8vw,1.1rem);line-height:1.3;color:#111827;flex:1 1 10rem;min-width:0}.ucm-consent-root .ucm-language-field{display:flex;flex-direction:column;align-items:flex-start;gap:0.1rem;flex:0 0 auto;min-width:6.25rem;max-width:8.5rem}.ucm-consent-root .ucm-language-label{font-size:0.65rem;font-weight:600;line-height:1.15;color:#6b7280}.ucm-consent-root .ucm-consent-title-row select[data-role="language"]{flex:0 0 auto;width:100%;min-width:6.25rem;max-width:8.5rem;min-height:1.75rem;height:1.75rem;padding:0.15rem 0.4rem;border-radius:6px;border:1px solid #d1d5db;font-size:0.8125rem;line-height:1.2}.ucm-consent-root .ucm-consent-body{padding:1rem 1.25rem;overflow:auto;color:#374151;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;min-height:0;flex:1 1 auto}.ucm-consent-root .ucm-consent-item{background:var(--ucm-modal-bg);border:1px solid #e5e7eb;border-radius:10px;padding:0.75rem;margin-bottom:0.5rem}.ucm-consent-root .ucm-consent-item-parent{background:var(--ucm-item-parent-bg);border-color:var(--ucm-item-border)}.ucm-consent-root .ucm-consent-item-child{background:var(--ucm-item-child-bg);border-color:var(--ucm-item-border);border-style:dashed;border-left:3px solid var(--ucm-toggle-color)}.ucm-consent-root .ucm-consent-item-row--heading{display:block}.ucm-consent-root .ucm-consent-children{margin-top:0.75rem;padding-top:0.75rem;border-top:1px solid var(--ucm-children-divider)}.ucm-consent-root .ucm-consent-item-row{display:flex;justify-content:space-between;gap:0.75rem}.ucm-consent-root .ucm-consent-item-title{font-weight:600;color:#111827;overflow-wrap:anywhere;word-break:break-word}.ucm-consent-root .ucm-required-badge{font-size:10px;color:var(--ucm-toggle-color);background:var(--ucm-item-badge-bg);padding:0.1rem 0.35rem;border-radius:6px;margin-left:0.4rem}.ucm-consent-root .ucm-consent-switch{position:relative;width:44px;height:24px;min-width:44px;min-height:24px;display:inline-block;flex-shrink:0;touch-action:manipulation}.ucm-consent-root .ucm-consent-switch input{opacity:0;width:0;height:0}.ucm-consent-root .ucm-consent-slider{position:absolute;cursor:pointer;inset:0;border-radius:999px;background:#d1d5db}.ucm-consent-root .ucm-consent-slider::before{content:'';position:absolute;width:18px;height:18px;border-radius:50%;left:3px;top:3px;background:#ffffff;transition:transform 0.2s ease}.ucm-consent-root .ucm-consent-switch input:checked+.ucm-consent-slider{background:var(--ucm-toggle-color)}.ucm-consent-root .ucm-consent-switch input:checked+.ucm-consent-slider::before{transform:translateX(20px)}.ucm-consent-root .ucm-consent-switch input:disabled+.ucm-consent-slider{opacity:0.65;cursor:not-allowed}.ucm-consent-root .ucm-consent-switch input:disabled:checked+.ucm-consent-slider{background:var(--ucm-toggle-color)}.ucm-consent-root .ucm-consent-footer{padding:0.9rem 1.25rem 1.2rem;display:flex;flex-direction:column;align-items:stretch;gap:0.45rem;border-top:1px solid #e5e7eb;flex-shrink:0;position:relative;z-index:2}.ucm-consent-root .ucm-notice-scroll-hint{color:#6b7280;font-size:12px;line-height:1.35;margin:0;width:100%;text-align:center}.ucm-consent-root .ucm-btn-close[disabled], .ucm-consent-root .ucm-btn-close[aria-disabled="true"]{opacity:0.55;cursor:not-allowed;pointer-events:none}.ucm-consent-root .ucm-consent-footer-actions{display:flex;flex-wrap:wrap;gap:0.65rem}.ucm-consent-root .ucm-notice-view-error{color:#b42318;font-size:13px;line-height:1.35;margin:0}.ucm-consent-root .ucm-btn{flex:1 1 8rem;min-height:44px;border-radius:10px;padding:0.65rem 0.75rem;font-weight:600;cursor:pointer;font-size:1rem}.ucm-consent-root .ucm-btn-close{border:1px solid #d1d5db;background:var(--ucm-close-bg);color:var(--ucm-close-text)}.ucm-consent-root .ucm-btn-close[data-notice-back="true"]{white-space:normal;line-height:1.35;flex:1 1 100%}.ucm-consent-root .ucm-btn-confirm{border:none;background:var(--ucm-confirm-bg);color:var(--ucm-confirm-text)}.ucm-consent-root .ucm-assisted-otp{margin-top:1rem;padding:1rem 1.1rem;border-radius:14px;border:1px solid var(--ucm-item-border,#e0e3f7);background:linear-gradient(180deg,var(--ucm-item-parent-bg,#f7f8ff) 0%,#ffffff 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,0.8)}.ucm-consent-root .ucm-assisted-otp-header{display:flex;align-items:flex-start;gap:0.75rem;margin-bottom:1rem}.ucm-consent-root .ucm-assisted-otp-icon-wrap{flex-shrink:0;width:2.5rem;height:2.5rem;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:rgba(74,66,194,0.12);color:var(--ucm-toggle-color,#4a42c2)}.ucm-consent-root .ucm-assisted-otp-icon{width:1.35rem;height:1.35rem}.ucm-consent-root .ucm-assisted-otp-copy{min-width:0}.ucm-consent-root .ucm-assisted-otp-title{margin:0 0 0.25rem;font-size:0.95rem;font-weight:700;color:#111827;line-height:1.3}.ucm-consent-root .ucm-assisted-otp-subtitle{margin:0;font-size:0.8125rem;line-height:1.45;color:#6b7280}.ucm-consent-root .ucm-assisted-otp-field{margin-bottom:0.85rem}.ucm-consent-root .ucm-assisted-otp-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ucm-consent-root .ucm-assisted-otp-digits{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0.5rem}.ucm-consent-root .ucm-assisted-otp-digit{width:100%;min-width:0;min-height:3.25rem;padding:0;border:2px solid #d1d5db;border-radius:12px;background:#ffffff;color:#111827;font-size:clamp(1.25rem,4vw,1.5rem);font-weight:700;font-variant-numeric:tabular-nums;text-align:center;line-height:1;transition:border-color 0.15s ease,box-shadow 0.15s ease,transform 0.15s ease;touch-action:manipulation}.ucm-consent-root .ucm-assisted-otp-digit:hover:not(:disabled){border-color:#b8bfd9}.ucm-consent-root .ucm-assisted-otp-digit:focus{outline:none;border-color:var(--ucm-toggle-color,#4a42c2);box-shadow:0 0 0 3px rgba(74,66,194,0.18);transform:translateY(-1px)}.ucm-consent-root .ucm-assisted-otp-digit:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.ucm-consent-root .ucm-assisted-otp-digits--partial .ucm-assisted-otp-digit:focus{transform:none}.ucm-consent-root .ucm-assisted-otp-digits--filled .ucm-assisted-otp-digit{border-color:rgba(74,66,194,0.45);background:#fcfcff}.ucm-consent-root .ucm-assisted-otp-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:0.5rem;border-radius:12px;background:rgba(255,255,255,0.82);color:#4b5563;font-size:0.875rem;font-weight:600;backdrop-filter:blur(2px)}.ucm-consent-root .ucm-assisted-otp-spinner{width:1rem;height:1rem;border:2px solid #d1d5db;border-top-color:var(--ucm-toggle-color,#4a42c2);border-radius:50%;animation:ucm-assisted-otp-spin 0.8s linear infinite}@keyframes ucm-assisted-otp-spin{to{transform:rotate(360deg)}}.ucm-consent-root .ucm-assisted-otp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem 0.75rem;margin-bottom:0.35rem}.ucm-consent-root .ucm-assisted-resend-btn{border:none;background:transparent;color:var(--ucm-confirm-bg,#3a49bb);padding:0.35rem 0;font-size:0.875rem;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:0.15em}.ucm-consent-root .ucm-assisted-resend-btn:hover:not(:disabled){color:var(--ucm-toggle-color,#4a42c2)}.ucm-consent-root .ucm-assisted-resend-btn:disabled{color:#9ca3af;cursor:not-allowed;text-decoration:none}.ucm-consent-root .ucm-assisted-otp-timer{font-size:0.8125rem;color:#6b7280}.ucm-consent-root .ucm-assisted-otp-status{font-size:0.8125rem;line-height:1.45;padding:0.65rem 0.75rem;border-radius:10px}.ucm-consent-root .ucm-assisted-otp-status--success{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.ucm-consent-root .ucm-assisted-otp-status--pending{color:#4b5563;background:#f9fafb;border:1px solid #e5e7eb}.ucm-consent-root .ucm-assisted-otp-status--error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.ucm-consent-root .ucm-assisted-otp--error .ucm-assisted-otp-digit{border-color:#f87171;background:#fffafa}.ucm-consent-root .ucm-assisted-otp--error .ucm-assisted-otp-digit:focus{box-shadow:0 0 0 3px rgba(248,113,113,0.22)}.ucm-consent-root .ucm-assisted-otp--loading{opacity:0.95}@keyframes ucm-assisted-otp-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}.ucm-consent-root .ucm-assisted-otp--error .ucm-assisted-otp-digits{animation:ucm-assisted-otp-shake 0.35s ease}.ucm-consent-root .ucm-assisted-tabs{display:flex;gap:0.3rem;margin:1rem 0 0.85rem;padding:0.25rem;border:1px solid #e5e7eb;border-radius:10px;background:#ffffff}.ucm-consent-root .ucm-assisted-tab{flex:1;border:0;background:transparent;color:#4b5563;border-radius:8px;padding:0.55rem 0.35rem;font-size:0.8rem;font-weight:600;line-height:1.2;cursor:pointer}.ucm-consent-root .ucm-assisted-tab.is-active{background:var(--ucm-confirm-bg,#3a49bb);color:#ffffff}.ucm-consent-root .ucm-assisted-tab:focus-visible{outline:2px solid var(--ucm-confirm-bg,#3a49bb);outline-offset:1px}.ucm-consent-root .ucm-assisted-exception-panel .ucm-assisted-exception-form{margin-top:0.35rem}.ucm-consent-root .ucm-assisted-flow-picker{display:flex;flex-direction:column;gap:0.75rem;padding:0.15rem 0 0.25rem}.ucm-consent-root .ucm-assisted-flow-option{display:flex;gap:0.75rem;align-items:flex-start;padding:0.9rem 1rem;border:1px solid #d1d5db;border-radius:10px;background:#ffffff;cursor:pointer;transition:border-color 0.15s ease,box-shadow 0.15s ease}.ucm-consent-root .ucm-assisted-flow-option:hover{border-color:#9ca3af}.ucm-consent-root .ucm-assisted-flow-option.is-selected, .ucm-consent-root .ucm-assisted-flow-option:has(input:checked){border-color:var(--ucm-confirm-bg,#3a49bb);box-shadow:inset 0 0 0 1px var(--ucm-confirm-bg,#3a49bb);background:#ffffff}.ucm-consent-root .ucm-assisted-flow-option input{margin-top:0.2rem;accent-color:var(--ucm-confirm-bg,#3a49bb)}.ucm-consent-root .ucm-assisted-flow-copy{display:flex;flex-direction:column;gap:0.2rem;min-width:0}.ucm-consent-root .ucm-assisted-flow-copy strong{color:#111827;font-size:0.95rem}.ucm-consent-root .ucm-assisted-flow-option .muted{color:#6b7280;font-size:0.85rem;line-height:1.4}.ucm-consent-root .ucm-assisted-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:0.65rem;padding:0.75rem 0}.ucm-consent-root .ucm-assisted-qr-img{width:220px;height:220px;image-rendering:pixelated;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.ucm-consent-root .ucm-assisted-fallback-row, .ucm-consent-root .ucm-assisted-exception{margin-top:0.75rem}.ucm-consent-root .ucm-assisted-exception-form{display:flex;flex-direction:column;gap:0.45rem;margin-top:0.65rem}.ucm-consent-root .ucm-assisted-exception-form select, .ucm-consent-root .ucm-assisted-exception-form textarea{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:0.55rem 0.65rem;font:inherit}.ucm-consent-root .ucm-link-btn{border:none;background:transparent;color:var(--ucm-confirm-bg);padding:0;font-weight:600;cursor:pointer}.ucm-consent-root .ucm-link-btn[data-role="open-notice"]{display:inline-block;margin-bottom:1rem}.ucm-consent-root .ucm-consent-title-row select[data-role="language"]{min-height:2rem;height:2rem;font-size:16px}@media(max-width:1024px){.ucm-consent-root .ucm-consent-modal{width:min(96vw,920px);max-height:min(90dvh,90vh)}}@media(max-width:768px){.ucm-consent-root .ucm-consent-backdrop{align-items:flex-end;padding:0}.ucm-consent-root .ucm-consent-modal{width:100%;max-width:100%;max-height:min(92dvh,92vh);border-radius:16px 16px 0 0;margin:0}}@media(max-width:640px){.ucm-consent-root .ucm-consent-header, .ucm-consent-root .ucm-consent-body, .ucm-consent-root .ucm-consent-footer{padding-left:max(0.85rem,env(safe-area-inset-left,0px));padding-right:max(0.85rem,env(safe-area-inset-right,0px))}.ucm-consent-root .ucm-consent-footer{padding-bottom:max(1rem,env(safe-area-inset-bottom,0px));flex-direction:column}.ucm-consent-root .ucm-consent-footer-actions{flex-direction:column-reverse}.ucm-consent-root .ucm-btn{flex:1 1 100%;width:100%}.ucm-consent-root .ucm-consent-item-row{flex-direction:column;align-items:stretch}.ucm-consent-root .ucm-consent-switch{align-self:flex-end}.ucm-consent-root .ucm-language-field{width:auto;max-width:9rem;min-width:6.25rem;margin-left:auto}.ucm-consent-root .ucm-consent-title-row select[data-role="language"]{width:100%;max-width:9rem;min-width:6.25rem;min-height:2rem;height:2rem;font-size:16px}.ucm-consent-root .ucm-assisted-otp{padding:0.9rem}.ucm-consent-root .ucm-assisted-otp-digits{gap:0.35rem}.ucm-consent-root .ucm-assisted-otp-digit{min-height:2.85rem;border-radius:10px}.ucm-consent-root .ucm-assisted-otp-header{gap:0.65rem}}@media(max-width:380px){.ucm-consent-root .ucm-consent-modal{border-radius:12px 12px 0 0;max-height:100dvh;max-height:100vh}.ucm-consent-root .ucm-consent-title{font-size:1rem}}@media(max-height:500px) and (orientation:landscape){.ucm-consent-root .ucm-consent-backdrop{align-items:stretch;padding:max(0.35rem,env(safe-area-inset-top,0px)) 0.5rem max(0.35rem,env(safe-area-inset-bottom,0px))}.ucm-consent-root .ucm-consent-modal{width:min(96vw,900px);max-height:none;height:auto;border-radius:12px;margin:auto}.ucm-consent-root .ucm-consent-body{max-height:42vh}.ucm-consent-root .ucm-consent-footer{flex-direction:row}.ucm-consent-root .ucm-btn{width:auto;flex:1 1 0}}@media(prefers-reduced-motion:reduce){.ucm-consent-root .ucm-consent-slider::before{transition:none}.ucm-consent-root .ucm-assisted-otp-digit{transition:none}.ucm-consent-root .ucm-assisted-otp-spinner{animation:none}.ucm-consent-root .ucm-assisted-otp--error .ucm-assisted-otp-digits{animation:none}}


/* Preference Center — client-portal style list */
.ucm-consent-root .ucm-consent-modal.ucm-consent-modal--list{
  width:min(96vw,1180px);
  max-height:min(92dvh,92vh,920px);
  height:auto;
  align-self:center;
}
.ucm-consent-root .ucm-consent-modal.ucm-consent-modal--list .ucm-consent-body.ucm-pc-list-body{
  flex:0 1 auto;
  padding-top:.75rem;
  padding-bottom:.75rem;
}
.ucm-consent-root .ucm-pc-list-header{
  padding-top:1rem;
  padding-bottom:.85rem;
}
.ucm-consent-root .ucm-pc-heading-block{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.ucm-consent-root .ucm-pc-list-header .ucm-consent-title{flex:none}
.ucm-consent-root .ucm-pc-list-footer{padding-top:.75rem;padding-bottom:.9rem}
.ucm-consent-root .ucm-pc-list-footer .ucm-btn{flex:0 0 auto;min-width:8rem;width:auto}
.ucm-consent-root .ucm-pc-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}
.ucm-consent-root .ucm-pc-subtitle{margin:0;color:#6b7280;font-size:.95rem;line-height:1.45;max-width:42rem;font-weight:500}
.ucm-consent-root .ucm-pc-search{position:relative;display:inline-flex;align-items:center;min-width:min(100%,260px)}
.ucm-consent-root .ucm-pc-search input{
  width:260px;max-width:100%;height:38px;border:1px solid #d1d5db;border-radius:10px;
  padding:.45rem 2.2rem .45rem .85rem;font:inherit;background:#fff;color:#111827;
}
.ucm-consent-root .ucm-pc-search input:focus{outline:none;border-color:#9ca3af;box-shadow:0 0 0 3px rgba(58,73,187,.12)}
.ucm-consent-root .ucm-pc-search-icon{position:absolute;right:.75rem;color:#9ca3af;pointer-events:none;font-size:1rem}
.ucm-consent-root .ucm-dialog-description{
  margin:0 0 .85rem;
  color:#4b5563;
  font-size:.95rem;
  line-height:1.55;
}
.ucm-consent-root .ucm-dialog-description > *:first-child{margin-top:0}
.ucm-consent-root .ucm-dialog-description > *:last-child{margin-bottom:0}
.ucm-consent-root .ucm-dialog-description p{margin:.35rem 0}
.ucm-consent-root .ucm-link-btn[data-role="open-notice"]{margin-bottom:.75rem}
.ucm-consent-root .ucm-pc-table-wrap{
  overflow:auto;border:1px solid #e5e7eb;border-radius:14px;background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.ucm-consent-root .ucm-pc-table{width:100%;border-collapse:collapse;min-width:960px;font-size:.875rem}
.ucm-consent-root .ucm-pc-table thead th{
  text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700;
  color:#6b7280;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:.85rem .9rem;white-space:nowrap;
}
.ucm-consent-root .ucm-pc-table tbody td{
  padding:.95rem .9rem;border-bottom:1px solid #f1f5f9;color:#111827;vertical-align:middle;
}
.ucm-consent-root .ucm-pc-table tbody tr:last-child td{border-bottom:none}
.ucm-consent-root .ucm-pc-table tbody tr:hover{background:#fafbff}
.ucm-consent-root .ucm-pc-cell-strong{font-weight:600}
.ucm-consent-root .ucm-pc-center{text-align:center}
.ucm-consent-root .ucm-pc-user-details{position:relative;display:inline-block;max-width:100%}
.ucm-consent-root .ucm-pc-user-details--has-tip .ucm-pc-user-name{border-bottom:1px dotted #6c757d;cursor:help}
.ucm-consent-root .ucm-pc-user-name{font-weight:600;color:#111827}
.ucm-consent-root .ucm-pc-user-tip-float{
  position:fixed;z-index:2147483646;min-width:220px;max-width:320px;padding:8px 10px;
  font-size:.8125rem;line-height:1.4;color:#212529;background:#fff;
  border:1px solid rgba(0,0,0,.12);border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,.12);pointer-events:none;
}
.ucm-consent-root .ucm-pc-user-tip-line{display:block;margin-bottom:4px}
.ucm-consent-root .ucm-pc-user-tip-line:last-child{margin-bottom:0}
.ucm-consent-root .ucm-pc-user-tip-label{
  display:block;font-size:.6875rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.02em;color:#6c757d;margin-bottom:1px;
}

.ucm-consent-root .ucm-pc-badge{
  display:inline-flex;align-items:center;justify-content:center;min-width:4.5rem;padding:.28rem .65rem;
  border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.02em;
}
.ucm-consent-root .ucm-pc-badge--success{background:#d1e7dd;color:#0f5132}
.ucm-consent-root .ucm-pc-badge--danger{background:#f8d7da;color:#842029}
.ucm-consent-root .ucm-pc-badge--warn{background:#fff3cd;color:#664d03}
.ucm-consent-root .ucm-pc-badge--muted{background:#e9ecef;color:#495057}
.ucm-consent-root .ucm-pc-modify-btn{
  appearance:none;border:1.5px solid #dc3545;color:#dc3545;background:#fff;border-radius:8px;
  padding:.4rem .85rem;font-size:.8125rem;font-weight:600;cursor:pointer;white-space:nowrap;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease;
}
.ucm-consent-root .ucm-pc-modify-btn:hover:not(:disabled){background:#dc3545;color:#fff;box-shadow:0 4px 12px rgba(220,53,69,.25)}
.ucm-consent-root .ucm-pc-modify-btn:disabled{opacity:.55;cursor:not-allowed}
.ucm-consent-root .ucm-pc-pager{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.9rem}
.ucm-consent-root .ucm-pc-pager-meta{color:#6b7280;font-size:.85rem}
.ucm-consent-root .ucm-pc-pager-meta b{color:#111827}
.ucm-consent-root .ucm-pc-pager-actions{display:flex;gap:.45rem}
.ucm-consent-root .ucm-pc-page-btn{
  border:1px solid #c7d2fe;background:#fff;color:#3a49bb;border-radius:8px;padding:.4rem .8rem;
  font-size:.8125rem;font-weight:600;cursor:pointer;
}
.ucm-consent-root .ucm-pc-page-btn:hover:not(:disabled){background:#eef2ff}
.ucm-consent-root .ucm-pc-page-btn:disabled{opacity:.45;cursor:not-allowed}
.ucm-consent-root .ucm-pc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2.5rem 1rem;color:#6b7280;text-align:center}
.ucm-consent-root .ucm-pc-spinner{
  width:1.5rem;height:1.5rem;border:2px solid #d1d5db;border-top-color:#3a49bb;border-radius:50%;
  animation:ucm-pc-spin .8s linear infinite;
}
@keyframes ucm-pc-spin{to{transform:rotate(360deg)}}

/* Agentic: collect subject identity before listing dialogs */
.ucm-consent-root .ucm-consent-modal.ucm-consent-modal--collect-user{
  width:min(92vw,560px);
}
.ucm-consent-root .ucm-pc-user-form{display:flex;flex-direction:column;gap:1rem;padding:.25rem 0 .5rem}
.ucm-consent-root .ucm-pc-user-form-hint{margin:0;color:#6b7280;font-size:.9rem;line-height:1.45}
.ucm-consent-root .ucm-pc-user-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem .75rem}
.ucm-consent-root .ucm-pc-user-form-field{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.ucm-consent-root .ucm-pc-user-form-field--full{grid-column:1 / -1}
.ucm-consent-root .ucm-pc-user-form-field span{font-size:.8rem;font-weight:600;color:#374151}
.ucm-consent-root .ucm-pc-user-form-field span em{font-style:normal;font-weight:500;color:#9ca3af}
.ucm-consent-root .ucm-pc-user-form-field input, .ucm-consent-root .ucm-pc-user-form-field select{
  width:100%;min-height:42px;border:1px solid #d1d5db;border-radius:10px;
  padding:.55rem .75rem;font:inherit;background:#fff;color:#111827;
}
.ucm-consent-root .ucm-pc-user-form-field input:focus, .ucm-consent-root .ucm-pc-user-form-field select:focus{
  outline:none;border-color:#9ca3af;box-shadow:0 0 0 3px rgba(58,73,187,.12);
}
.ucm-consent-root .ucm-pc-mobile-row{display:flex;gap:.5rem;align-items:stretch}
.ucm-consent-root .ucm-pc-mobile-row select{flex:0 0 12.5rem;width:12.5rem}
.ucm-consent-root .ucm-pc-mobile-row input{flex:1 1 auto;width:auto;min-width:8rem}
.ucm-consent-root .ucm-consent-modal--collect-user .ucm-pc-list-footer{
  justify-content:flex-end;gap:.65rem;
}
.ucm-consent-root .ucm-consent-modal--collect-user .ucm-pc-list-footer .ucm-btn{flex:0 0 auto;min-width:7.5rem}

@media(max-width:768px){
  .ucm-consent-root .ucm-consent-modal.ucm-consent-modal--list{width:100%;max-width:100%;border-radius:16px 16px 0 0}
  .ucm-consent-root .ucm-pc-search input{width:100%}
  .ucm-consent-root .ucm-pc-toolbar{flex-direction:column}
  .ucm-consent-root .ucm-pc-user-form-grid{grid-template-columns:1fr}
  .ucm-consent-root .ucm-consent-modal.ucm-consent-modal--collect-user{width:100%;max-width:100%}
}
.ucm-consent-root .ucm-pc-consent-error{margin-top:0.75rem;font-weight:600;font-size:0.9375rem;box-shadow:0 0 0 3px rgba(220,38,38,0.15)}
.ucm-consent-root .ucm-assisted-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:0.65rem;padding:0.75rem 0}
.ucm-consent-root .ucm-assisted-qr-img{width:220px;height:220px;image-rendering:pixelated;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
