/* MusicianCV V2.2 - consent UI, stage 4.3 */
#mcv-consent-root { position:relative; z-index:50000; font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
#mcv-consent-root * {box-sizing:border-box}
.mcv-consent-banner{position:fixed;z-index:50000;bottom:calc(15px + env(safe-area-inset-bottom,0px));left:50%;width:min(700px,calc(100% - 22px));transform:translateX(-50%);border-radius:20px;border:1px solid #4d7958;background:#11252a;color:#f7fff7;box-shadow:0 18px 80px #000b,0 0 24px #baf7641c;padding:20px;line-height:1.5}
.mcv-consent-title{font-size:21px;font-weight:850;letter-spacing:-.02em;margin:0 0 8px}
.mcv-consent-copy{font-size:15px;color:#d2e2df;margin:0 0 14px;line-height:1.6}
.mcv-consent-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.mcv-consent-button{border:1px solid #668d69;border-radius:12px;min-height:48px;min-width:0;cursor:pointer;background:#244438;color:#f8fff9;padding:10px 12px;font-size:15px;font-weight:800;line-height:1.2}
.mcv-consent-button:hover{border-color:#cafa72}
.mcv-consent-button:focus-visible,.mcv-consent-link:focus-visible,.mcv-consent-switch:focus-visible{outline:3px solid #d3ff77;outline-offset:3px}
.mcv-consent-button.primary{background:#244438;border-color:#668d69;color:#f8fff1}
.mcv-consent-button.secondary{background:#244438;border-color:#668d69;color:#f8fff1}
.mcv-consent-link{font-size:14px;color:#d6ff89;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.mcv-consent-footer{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:12px}
.mcv-consent-shade{position:fixed;z-index:50001;inset:0;background:#03090de3;display:flex;align-items:center;justify-content:center;padding:16px}
.mcv-consent-dialog{width:min(620px,100%);max-height:min(90dvh,780px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #5f896a;border-radius:21px;padding:22px;background:#102126;color:white;box-shadow:0 10px 65px #000}
.mcv-consent-dialog h2{font-size:24px;margin:0 0 6px;color:#f6fff5;line-height:1.2}
.mcv-consent-dialog p{font-size:15px;line-height:1.6;color:#cce0d9}
.mcv-consent-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #35544b}
.mcv-consent-row strong{font-size:16px;display:block;color:#eaffdf}
.mcv-consent-row p{margin:4px 0 0;font-size:13px;color:#c4d8d1}
.mcv-consent-switch{width:24px;height:24px;accent-color:#b5ed62;cursor:pointer}
.mcv-consent-switch:disabled{cursor:not-allowed;opacity:1}
.mcv-consent-dialog-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px}
body.mcv-consent-dialog-open{overflow:hidden!important}
@media(max-width:530px){.mcv-consent-banner{padding:15px;bottom:calc(90px + env(safe-area-inset-bottom,0px))}.mcv-consent-copy{font-size:14px}.mcv-consent-button{font-size:14px}.mcv-consent-dialog{padding:17px;max-height:92dvh}.mcv-consent-dialog-actions{grid-template-columns:1fr}.mcv-consent-banner .mcv-consent-actions{grid-template-columns:1fr}.mcv-consent-footer{margin-top:9px}}
@media(max-width:420px) {body:not(:has(.bottom-nav)) .mcv-consent-banner{bottom:calc(15px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){#mcv-consent-root *{transition:none!important}}
@media print{#mcv-consent-root{display:none!important}}

/* V2.2 R2: preferences dismiss accessible at top; footer holds only policies */
.mcv-consent-dialog{position:relative;padding-top:27px}
.mcv-consent-dialog h2{padding-right:85px}
.mcv-consent-dialog .mcv-consent-footer{display:block;margin-top:16px;min-height:22px}
.mcv-consent-dialog .mcv-consent-footer .mcv-consent-button[data-mcv-consent="close"]{position:absolute;top:17px;right:16px;min-height:42px;padding:8px 14px;width:auto;font-size:14px;background:linear-gradient(125deg,#274638,#14302b);border:1px solid #6e9575;z-index:2}
.mcv-consent-dialog-actions .mcv-consent-button{min-width:0}
@media(max-width:530px){.mcv-consent-dialog{padding:16px 15px}.mcv-consent-dialog h2{font-size:22px;padding-right:83px}.mcv-consent-dialog .mcv-consent-footer .mcv-consent-button[data-mcv-consent="close"]{top:12px;right:12px}.mcv-consent-dialog .mcv-consent-footer{max-width:100%}}
