/* TeachMe Interactive consent kit — uses each site's own fonts and colours via CSS variables with fallbacks */
.tmi-cc { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000; display: flex; justify-content: center; }
.tmi-cc-inner { max-width: 52rem; width: 100%; background: #fff; color: #23221c; border-radius: 14px; box-shadow: 0 18px 50px rgb(0 0 0 / .28);
  padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .92rem; line-height: 1.5; border-top: 4px solid var(--tmi-cc-accent, #9ab922); }
.tmi-cc-inner p { margin: 0; flex: 1 1 22rem; }
.tmi-cc-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.tmi-cc button[data-cc="accept"], .tmi-cc button[data-cc="reject"], .tmi-cc-modal button[data-cc="save"] {
  min-height: 2.5rem; padding: .45rem 1.2rem; border-radius: 999px; font: 700 .92rem/1.2 inherit; font-family: inherit; cursor: pointer;
  background: var(--tmi-cc-btn, #2b2a23); color: #fff; border: 2px solid var(--tmi-cc-btn, #2b2a23); }
.tmi-cc-link { background: none; border: 0; padding: .3rem .4rem; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tmi-cc-modal { position: fixed; inset: 0; z-index: 1001; background: rgb(0 0 0 / .45); display: grid; place-items: center; padding: 1rem; }
.tmi-cc-box { background: #fff; color: #23221c; max-width: 34rem; width: 100%; border-radius: 14px; padding: 1.4rem 1.5rem; box-shadow: 0 18px 50px rgb(0 0 0 / .3); font-size: .95rem; line-height: 1.5; max-height: 90vh; overflow: auto; }
.tmi-cc-box h2 { margin: 0 0 1rem; font-size: 1.3rem; }
.tmi-cc-row { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid #e1ddd0; cursor: pointer; }
.tmi-cc-row input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--tmi-cc-accent, #768932); }
.tmi-cc-note { font-size: .85rem; color: #5d5a4e; margin: .6rem 0 0; }
.tmi-cc-box .tmi-cc-actions { margin-top: 1rem; }
@media (max-width: 40rem) { .tmi-cc { left: .5rem; right: .5rem; bottom: .5rem; } .tmi-cc-actions { width: 100%; } .tmi-cc button[data-cc="accept"], .tmi-cc button[data-cc="reject"] { flex: 1; } }
