.rmc-layer[hidden], .rmc-categories[hidden], .rmc-category[hidden], .rmc-actions [hidden] {display:none!important}
.rmc-layer {position:fixed;inset:auto 0 0;z-index:2147483000;padding:12px;pointer-events:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.rmc-panel {pointer-events:auto;width:min(100%,700px);max-height:85vh;overflow:auto;margin:0 auto;background:#fff;color:#172538;border:1px solid #ccd7e1;border-radius:16px;box-shadow:0 8px 46px rgba(12,25,40,.23);padding:22px;box-sizing:border-box;font-size:15px;line-height:1.55}
.rmc-panel * {box-sizing:border-box}
.rmc-heading {display:flex;justify-content:space-between;align-items:center;gap:12px}
.rmc-panel h2 {font-size:21px;font-weight:700;margin:0;color:#172538;line-height:1.25}
.rmc-panel p {font-size:15px;line-height:1.55;margin:12px 0}
.rmc-close {background:transparent;border:1px solid #aebbc8;border-radius:8px;color:#172538;cursor:pointer;font-size:24px;line-height:1;width:34px;height:34px;flex:0 0 auto}
.rmc-categories {display:grid;gap:5px;margin:12px 0;max-height:35vh;overflow:auto}
.rmc-category {display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce4ed;border-radius:8px;padding:9px 12px;cursor:pointer;color:#172538}
.rmc-category strong {display:block;font-size:14px}
.rmc-category small {display:block;color:#4b5b69;font-size:12px;line-height:1.4}
.rmc-category input {width:20px;height:20px;accent-color:#184c78;flex-shrink:0}
.rmc-links {display:flex;gap:18px;flex-wrap:wrap}.rmc-links a {text-decoration:underline;color:#164b77}
.rmc-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.rmc-actions button {min-height:44px;padding:9px 12px;background:#eef4f9;color:#15293b;border:2px solid #17466b;border-radius:8px;font-size:14px;font-weight:650;cursor:pointer;line-height:1.35}
.rmc-actions button:hover,.rmc-close:hover {background:#dceaf6}
.rmc-actions button:focus-visible,.rmc-close:focus-visible,.rmc-open-preferences:focus-visible,.rmc-embed button:focus-visible {outline:3px solid #e59c28;outline-offset:2px}
.rmc-footer-link {text-align:center;font-size:12px;margin:12px 0}.rmc-open-preferences {border:0;background:transparent;padding:5px;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
.rmc-inline-button {display:inline-block;margin:8px 0}
.rmc-embed {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:210px;background:#ecf3f9;border:1px solid #c3d5e5;border-radius:9px;padding:24px;text-align:center;color:#172538;aspect-ratio:16/9}
.rmc-embed p {margin:0 0 12px;line-height:1.5}.rmc-embed a {color:#164b77;text-decoration:underline}
.rmc-embed button {border:1px solid #17466b;color:#fff;background:#17466b;border-radius:7px;padding:9px 16px;cursor:pointer}
.rmc-activated-frame {width:100%;min-height:315px;border:0;aspect-ratio:16/9}
.rmc-cookie-table {overflow-x:auto}.rmc-cookie-table table {width:100%;border-collapse:collapse}.rmc-cookie-table th,.rmc-cookie-table td {border:1px solid #cbd5df;padding:8px;text-align:left}
@media(max-width:520px){.rmc-layer{padding:7px}.rmc-panel{padding:15px;border-radius:12px;max-height:92vh}.rmc-actions{grid-template-columns:1fr 1fr}.rmc-panel h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.rmc-panel *{scroll-behavior:auto}}
