/* PrivaNex · Consent Withdrawal patch (21 Nov 2026): withdrawal request, review queue, footer code, SMS templates and drives,
   tracker catalogue scroll, module access groups, consent onboarding layout */
.cwd-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cwd-status{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;font-size:14px}
.cwd-status dt{font-weight:600;color:var(--dpc-ink-2,#334)}
.cwd-status dd{margin:0}
.cwd-code{width:100%;min-height:160px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre;overflow:auto;background:var(--dpc-surface-2,#f5f7fb);border:1px solid var(--dpc-line,#d9e1e8);border-radius:8px;padding:10px}
.cwd-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.cwd-tiles>div{border:1px solid var(--dpc-line,#d9e1e8);border-top:3px solid #10458F;border-radius:10px;padding:10px 12px;background:var(--dpc-surface,#fff)}
.cwd-tiles>div b{display:block;font-size:22px;color:#10458F}
.cwd-tiles>div.is-warn{border-top-color:#FF791F}
.cwd-bar{display:flex;align-items:center;gap:8px;font-size:13px;margin:4px 0}
.cwd-bar span:first-child{flex:0 0 190px}
.cwd-bar i{display:block;max-width:60%;height:10px;border-radius:5px;background:#10458F;min-width:2px}
.cwd-qr{width:132px;height:132px;image-rendering:pixelated;border:1px solid var(--dpc-line,#d9e1e8);border-radius:8px;background:#fff}
.cwd-sms-body{font:13px/1.45 ui-monospace,Menlo,monospace;background:var(--dpc-surface-2,#f5f7fb);border-radius:6px;padding:6px 8px;white-space:pre-wrap}
.cwd-drive-pick{max-height:420px;overflow-y:auto}
/* Consent Correction 21 Nov 2026: the tracker catalogue scrolls inside its card (vertical scrollbar), the header stays */
.cwd-scroll-y{max-height:620px;overflow-y:auto}
.cwd-scroll-y thead th{position:sticky;top:0;z-index:1;background:var(--dpc-table-head,#eaf0f8)}
/* Consent Correction 21 Nov 2026: Consent onboarding — sources and the grant form side by side, the form in steps */
.cob2-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);gap:16px;align-items:start}
@media (max-width:1100px){.cob2-layout{grid-template-columns:1fr}}
.cob2-steps{counter-reset:cob2}
.cob2-steps>details{border:1px solid var(--dpc-line,#d9e1e8);border-radius:10px;margin-bottom:8px;background:var(--dpc-surface,#fff)}
.cob2-steps>details>summary{cursor:pointer;padding:10px 12px;font-weight:600;list-style:none;display:flex;gap:8px;align-items:center}
.cob2-steps>details>summary::before{counter-increment:cob2;content:counter(cob2);display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#10458F;color:#fff;font-size:12px}
.cob2-steps>details[open]>summary::before{background:#FF791F}
.cob2-steps>details>div{padding:0 12px 12px}
.cob2-pick{max-height:340px;overflow-y:auto;padding-right:4px}
.cob2-kinds{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px}
.cwd-w1{width:10%}
.cwd-w2{width:20%}
.cwd-w3{width:30%}
.cwd-w4{width:40%}
.cwd-w5{width:50%}
.cwd-w6{width:60%}
.cwd-w7{width:70%}
.cwd-w8{width:80%}
.cwd-w9{width:90%}
.cwd-w10{width:100%}
/* Consent onboarding redesign (correction 6): sources full width, the grant in two columns with cards */
.cob2-wide{display:flex;flex-direction:column;gap:16px}
.cob2-grant .dpc-card__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;align-items:start}
.cob2-grant .cob2-full{grid-column:1/-1}
.cob2-grant .cob2-cards3,.cob2-grant .cob2-cards2{display:grid;gap:8px;border:0;padding:0;margin:0}
.cob2-grant .cob2-cards3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cob2-grant .cob2-cards2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cob2-grant .cob2-cards3>legend,.cob2-grant .cob2-cards2>legend{grid-column:1/-1;margin-bottom:4px;padding:0}
.cob2-grant .cob2-cards3>.cob-radio,.cob2-grant .cob2-cards2>.cob-radio{height:100%;margin:0}
.cob2-grant .cob2-span{grid-column:1/-1}
.cob2-grant .cob-radio[hidden]{display:none}
@media (max-width:900px){.cob2-grant .dpc-card__body,.cob2-grant .cob2-cards2,.cob2-grant .cob2-cards3{grid-template-columns:1fr}}
.cwf-tile--declined span{color:#B42318}
