.consent-records-entry { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
.consent-records-entry h3 { margin:0 0 6px; }.consent-records-entry p { margin:0; max-width:56ch; }.consent-records-entry button { flex-shrink:0; }
#bot-consent-records { width:min(800px,calc(100vw - 32px)); max-height:90dvh; padding:0; }
#bot-consent-records[open] { display:flex; flex-direction:column; overflow:hidden; }
#bot-consent-records .dialog-head,#bot-consent-records .dialog-footer { flex-shrink:0; gap:12px; flex-wrap:wrap; align-items:center; }
#bot-consent-records h2 { margin:0; }#bot-consent-records .dialog-head h2 { flex:1; }
#bot-consent-records .form-body { min-height:0; overflow:auto; overscroll-behavior:contain; display:grid; gap:16px; }
#bot-consent-records p { margin:0; line-height:1.6; }#bot-consent-records h3 { margin:0 0 8px; font-size:17px; }
.consent-boundary { padding:14px 16px; border-left:3px solid var(--green); background:var(--panel-2); border-radius:0 10px 10px 0; font-size:13px; }
.consent-unknown { padding:16px; border:1px solid #d5ab59; border-radius:10px; color:#e7ca91; }
.consent-history-meta { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.consent-record-list { list-style:none; display:grid; gap:12px; padding:0; margin:0; min-width:0; }
.consent-record-list>li,.consent-withdrawal,.consent-empty,.consent-result { padding:18px; border:1px solid var(--line); border-radius:12px; background:#0e1711; min-width:0; }
.consent-record-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.consent-record-state { display:inline-block; color:var(--muted); font-size:12px; }.consent-record-state[data-status="recorded"] { color:#e7ca91; }
.consent-record-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }
.consent-record-dates dt { color:var(--muted); font-size:12px; }.consent-record-dates dd { margin:5px 0 0; font-size:13px; overflow-wrap:anywhere; }
#bot-consent-records details { border-top:1px solid var(--line); padding-top:12px; font-size:12px; }
#bot-consent-records summary { cursor:pointer; }#bot-consent-records details p { margin-top:10px; }
#bot-consent-records code { overflow-wrap:anywhere; word-break:break-word; font-size:12px; }
#bot-consent-records .consent-ack { display:grid; grid-template-columns:20px minmax(0,1fr); gap:12px; align-items:start; margin:18px 0 0; padding:14px; border:1px solid var(--line); border-radius:10px; line-height:1.5; }
#bot-consent-records .consent-ack input { width:18px; height:18px; min-height:0; margin:3px 0 0; padding:0; accent-color:var(--green); }
.consent-withdrawal>p { margin-top:10px!important; }.consent-a11y { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:600px) { .consent-records-entry { align-items:stretch; flex-direction:column; gap:14px; }#bot-consent-records { width:calc(100vw - 20px); max-height:94dvh; }.consent-record-heading { align-items:start; flex-direction:column; gap:12px; }.consent-record-dates { grid-template-columns:minmax(0,1fr); }#bot-consent-records .dialog-footer button { flex:1 1 auto; font-size:12px; }.consent-record-heading button { width:100%; } }
