.ms-cookies { font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: #213345; }
.ms-cookies [hidden] { display: none !important; }
.ms-cookies h2 { font-family: Bitter, Georgia, serif; font-size: 24px; line-height: 1.25; margin: 0 0 12px; color: #213345; }
.ms-cookies h3 { font: inherit; font-weight: 700; margin: 0; }
.ms-cookies p { font-size: 16px; line-height: 1.55; margin: 0 0 12px; color: #425365; }
.ms-cookies a { color: #254d70; text-decoration: underline; text-underline-offset: 3px; }
.cookie-panel { position: fixed; z-index: 10000; bottom: 20px; left: 20px; right: 20px; max-width: 1040px; margin: auto; background: #fff; border: 1px solid #aebecd; border-top: 4px solid #365f7d; border-radius: 16px; box-shadow: 0 8px 40px #142e4a33; padding: 24px; display: flex; align-items: center; gap: 28px; max-height: calc(100dvh - 40px); overflow: auto; }
.cookie-copy { flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-panel .cookie-actions { flex: 0 0 210px; flex-direction: column; }
.ms-cookies button { font: inherit; font-weight: 600; min-height: 48px; padding: 10px 16px; border: 1px solid #315c7b; border-radius: 8px; background: #edf3f8; color: #25465f; cursor: pointer; }
.ms-cookies button:hover { background: #dce8f1; }
.ms-cookies :focus-visible, [data-cookie-preferences]:focus-visible { outline: 3px solid #245e92; outline-offset: 4px; }
.ms-cookies dialog { box-sizing: border-box; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #aebecd; border-radius: 16px; color: inherit; background: #fff; box-shadow: 0 16px 64px #102a4640; }
.ms-cookies dialog::backdrop { background: #152c48a6; }
.cookie-dialog-content { padding: 28px; }
.cookie-heading { display: flex; gap: 16px; align-items: start; justify-content: space-between; }
.ms-cookies .cookie-close { font-size: 28px; padding: 0; min-width: 48px; background: white; line-height: 1; }
.cookie-category { display: flex; align-items: center; gap: 24px; justify-content: space-between; padding: 20px 0; border-top: 1px solid #d5dfe7; }
.cookie-category label { cursor: pointer; flex: 1; }
.cookie-category label strong, .cookie-category label span { display: block; }
.cookie-category label span { margin-top: 6px; color: #425365; }
.cookie-category p { margin: 6px 0 0; }
.cookie-category input { flex: 0 0 26px; width: 26px; height: 26px; margin: 12px; accent-color: #315c7b; cursor: pointer; }
.cookie-always { white-space: nowrap; color: #25465f; font-weight: 600; }
.ms-cookies .cookie-note { font-size: 15px; padding-top: 8px; }
.cookie-dialog-content > .cookie-actions { margin-top: 24px; }
#cookie-status:not(:empty) { position: fixed; z-index: 10002; bottom: 12px; left: 12px; right: 12px; padding: 16px; background: #fff; border: 2px solid #315c7b; border-radius: 8px; }
[data-cookie-preferences] { font: inherit; color: inherit; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 12px 8px; min-height: 48px; cursor: pointer; }
@media (max-width: 640px) { .cookie-panel { bottom: 10px; left: 10px; right: 10px; padding: 20px; display: block; max-height: calc(100dvh - 20px); } .cookie-panel .cookie-actions { margin-top: 18px; } .cookie-actions { flex-direction: column; } .cookie-dialog-content { padding: 20px; } .cookie-category { gap: 12px; } }

.cookie-footer { max-width: 1200px; margin: 0 auto; padding: 0 24px 16px; }

/* Pricing choices stay in document flow, never covering plans or blocking links. */
.ms-cookies-inline .cookie-panel { position: static; max-width: none; max-height: none; margin: 0 0 28px; box-shadow: none; }
