/* Isolated IN WORK measurement controls; compact opt-in notice. */
.inwork-consent{position:fixed;z-index:10000;left:12px;right:12px;bottom:12px;max-width:680px;margin:0 auto;padding:12px 16px;background:#fff;color:#173b2c;border:1px solid #b3bfa9;border-radius:10px;box-shadow:0 3px 18px #0002;font:14px/1.45 Noto,Tahoma,Arial,sans-serif;max-height:65vh;overflow:auto;text-align:left;box-sizing:border-box}
.inwork-consent[hidden]{display:none!important}
.inwork-consent h2{font-size:15px;line-height:1.4;margin:0 0 4px;color:#173b2c}
.inwork-consent p{margin:8px 0;color:#173b2c}
.inwork-consent .inwork-consent-brief{margin:0 0 4px}
.inwork-consent a{color:#174d38;text-decoration:underline}
.inwork-consent summary{cursor:pointer;font-weight:400;min-height:28px;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.inwork-consent details[open]{margin-bottom:6px}
.inwork-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.inwork-consent-button,.inwork-consent-settings{font:inherit;cursor:pointer;min-height:44px;border:1px solid #174d38;border-radius:6px;background:#fff;color:#173b2c;padding:8px 10px}
.inwork-consent-button:hover,.inwork-consent-settings:hover{background:#e9eddf}
.inwork-consent-button:focus-visible,.inwork-consent-settings:focus-visible,.inwork-consent summary:focus-visible,.inwork-consent a:focus-visible{outline:3px solid #718b3e;outline-offset:2px}
.inwork-consent-settings{position:fixed;z-index:9999;bottom:8px;left:8px;font:12px/1.4 Noto,Tahoma,Arial,sans-serif;box-shadow:0 2px 8px #0002}
.inwork-consent:not([hidden])~.inwork-consent-settings{visibility:hidden}
.inwork-consent-status:empty{display:none}
body:has(>.inwork-consent-settings){padding-bottom:64px}
body:has(>.inwork-consent:not([hidden])){padding-bottom:220px}
@media(max-width:480px){.inwork-consent{left:8px;right:8px;bottom:8px;padding:10px 12px;font-size:14px}.inwork-consent-button{width:100%;padding:8px 6px}}
@media(prefers-reduced-motion:reduce){.inwork-consent,.inwork-consent-settings{scroll-behavior:auto}}

.inwork-consent details{border:0;padding:0}.inwork-consent details p{font-size:14px;line-height:1.55}.inwork-consent h2{letter-spacing:0}

/* Compact first-layer notice; detailed disclosure and consent logic unchanged. */
.inwork-consent{left:16px;right:auto;width:calc(100% - 32px);max-width:360px;margin:0;padding:10px 12px;font-size:14px;line-height:1.4}
.inwork-consent h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inwork-consent .inwork-consent-brief{margin:0 0 2px}
.inwork-consent summary{min-height:24px;padding:2px 0;font-size:13px}
.inwork-consent-actions{gap:8px;margin-top:4px}
.inwork-consent-button{min-height:44px;padding:6px 8px;font-size:14px}
@media(max-width:480px){.inwork-consent{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-width:none;padding:8px 10px;border-radius:8px}}
