.intelstav-consent {
    box-sizing: border-box;
    background: #fff;
    color: #171717;
    border: 1px solid #e8e6e4;
    font-family: inherit;
    line-height: 1.55;
}

.intelstav-consent *,
.intelstav-consent *::before,
.intelstav-consent *::after {
    box-sizing: inherit;
}

.intelstav-consent__inner {
    width: min(100%, 680px);
    margin-inline: auto;
    padding: clamp(20px, 4vw, 36px);
}

.intelstav-consent__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #777;
}

.intelstav-consent h2 {
    margin: 0 0 14px;
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 600;
    line-height: 1.2;
}

.intelstav-consent__description {
    margin: 0 0 24px;
    color: #555;
    font-size: 14px;
}

.intelstav-consent__categories {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #e8e6e4;
}

.intelstav-consent__categories legend {
    padding: 0 8px;
    font-weight: 600;
}

.intelstav-consent__necessary,
.intelstav-consent__category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.intelstav-consent__category {
    justify-content: flex-start;
    cursor: pointer;
}

.intelstav-consent__category input {
    width: 18px;
    height: 18px;
    accent-color: #b9343d;
}

.intelstav-consent__necessary span {
    color: #777;
    font-size: 12px;
}

.intelstav-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intelstav-consent__button {
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid #b9343d;
    border-radius: 4px;
    background: #fff;
    color: #97252e;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.intelstav-consent__button--primary {
    background: #b9343d;
    color: #fff;
}

.intelstav-consent__button:hover {
    border-color: #97252e;
}

.intelstav-consent__button--primary:hover {
    background: #97252e;
}

.intelstav-consent__button:focus-visible,
.intelstav-consent a:focus-visible {
    outline: 3px solid #6d3d4a;
    outline-offset: 3px;
}

.intelstav-consent__settings {
    margin: 18px 0 0;
    font-size: 14px;
}

.intelstav-consent__settings a {
    color: #97252e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 520px) {
    .intelstav-consent__actions {
        flex-direction: column;
    }

    .intelstav-consent__button {
        width: 100%;
    }
}

/* Static cache-safe notice. */
.intelstav-consent-entry {
    box-sizing: border-box;
    max-width: 760px;
    margin: 24px auto;
    padding: 18px 22px;
    border: 1px solid #e8e6e4;
    background: #f7f6f5;
    color: #303030;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
}

.intelstav-consent-entry p {
    margin: 0 0 10px;
}

.intelstav-consent-entry a {
    color: #97252e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.intelstav-consent-entry a:focus-visible {
    outline: 3px solid #6d3d4a;
    outline-offset: 3px;
}

/* Equal visual weight for accept and reject. */
.intelstav-consent__button--primary {
    background: #fff;
    color: #97252e;
}

.intelstav-consent__button--primary:hover {
    background: #f7f6f5;
}

/* Intelstav Consent — Iren enterprise presentation */
body:has(.intelstav-consent) {
    margin: 0;
    min-height: 100vh;
    background: #f7f6f5;
    color: #171717;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.intelstav-consent) > .intelstav-consent {
    width: min(680px, calc(100% - 32px));
    margin: clamp(32px, 8vh, 96px) auto;
    border-radius: 12px;
    box-shadow: 0 18px 65px rgba(23,23,23,.07);
}

.intelstav-consent-entry {
    position: fixed;
    z-index: 9000;
    right: 24px;
    bottom: 104px;
    width: min(420px, calc(100vw - 48px));
    max-width: none;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8e6e4;
    border-radius: 12px;
    box-shadow: 0 14px 45px rgba(23,23,23,.12);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

.intelstav-consent-entry p {
    margin: 0 0 14px;
    color: #555;
}

.intelstav-consent-entry a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #b9343d;
    border-radius: 5px;
    color: #97252e;
    text-decoration: none;
    font-weight: 600;
}

.intelstav-consent-entry a:hover {
    background: #f7f6f5;
}

.intelstav-consent__button {
    flex: 1 1 150px;
    border-radius: 5px;
}

@media (max-width: 600px) {
    .intelstav-consent-entry {
        right: 12px;
        bottom: 88px;
        width: calc(100vw - 24px);
        padding: 18px;
    }

    body:has(.intelstav-consent) > .intelstav-consent {
        margin: 24px auto;
    }
}

/* P162-C20B-R2 */
.intelstav-consent-entry__actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:16px;
}
.intelstav-consent-entry__actions button {
    min-height:44px;
    padding:10px;
    border:1px solid #b9343d;
    border-radius:6px;
    background:#fff;
    color:#97252e;
    font:600 13px/1.4 Inter,sans-serif;
    cursor:pointer;
}
.intelstav-consent-entry__actions button[value="accept"] {
    background:#b9343d;
    color:#fff;
}
.intelstav-consent-entry__actions button:focus-visible,
.intelstav-consent-entry__manage:focus-visible {
    outline:2px solid #171717;
    outline-offset:3px;
}
.intelstav-consent-entry__manage {
    display:inline-block;
    margin-top:12px;
}
.intelstav-consent__attribution {
    margin:24px 0 0;
    padding-top:16px;
    border-top:1px solid #e8e6e4;
    color:#777;
    text-align:center;
    font:500 11px/1.5 Inter,sans-serif;
}
@media(max-width:380px) {
    .intelstav-consent-entry__actions {
        grid-template-columns:1fr;
    }
}

/* P162-C20I — Intelstav attribution */
.intelstav-consent-entry__credit {
    margin: 12px 0 0;
    padding-top: 9px;
    border-top: 1px solid #e8e6e4;
    color: #777777;
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}
.intelstav-consent-entry__credit a {
    color: inherit;
    text-decoration: none;
}
.intelstav-consent-entry__credit a:hover,
.intelstav-consent-entry__credit a:focus-visible {
    text-decoration: underline;
}
