.imms-shell { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 1.25rem; box-sizing: border-box; background: #f3f5ef; color: #1d352a; font: 1rem/1.55 system-ui, sans-serif; }
.imms-shell .panel { width: min(100%, 26rem); padding: clamp(1.2rem, 4vw, 2.4rem); background: #fff; border: 1px solid #d9e0d6; border-top: .3rem solid #17694a; border-radius: 1rem; box-sizing: border-box; }
.imms-shell .wide { width: min(100%, 52rem); }
.imms-shell .brand { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: .08em; }
.imms-shell .brand span { display: block; color: #4d6559; font-size: .77rem; letter-spacing: normal; font-weight: 600; }
.imms-shell h1 { margin: .75rem 0 1rem; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; }
.imms-shell h2 { font-size: 1.3rem; }
.imms-shell h3 { margin: 0; }
.imms-shell small, .imms-shell .subtle { color: #4d6559; }
.imms-shell label { display: grid; gap: .25rem; margin-bottom: .85rem; font-weight: 600; }
.imms-shell input, .imms-shell select, .imms-shell textarea { width: 100%; box-sizing: border-box; min-height: 2.7rem; padding: .55rem .65rem; border: 1px solid #aabdb0; border-radius: .4rem; background: #fff; font: inherit; color: inherit; }
.imms-shell button { min-height: 2.5rem; border: none; background: #17694a; color: #fff; border-radius: .4rem; padding: .5rem .85rem; cursor: pointer; font: inherit; font-weight: 650; }
.imms-shell a { color: #165d43; }
.imms-shell .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); column-gap: 1rem; }
.imms-shell details, .imms-shell .accounts article { margin: .9rem 0; padding: .9rem; border: 1px solid #d9e0d6; border-radius: .5rem; }
.imms-shell summary { cursor: pointer; margin-bottom: .5rem; font-weight: 700; }
.imms-shell .accounts article button { margin: .2rem .2rem 0 0; }
.imms-shell .errors, .imms-shell .activation { padding: .55rem .85rem; margin-bottom: 1rem; border-radius: .4rem; }
.imms-shell .errors { color: #812c26; background: #fff0ed; }
.imms-shell .errors p { margin: .25rem 0; }
.imms-shell .activation { background: #eef5ed; }
.imms-session { position: fixed; z-index: 95; right: .75rem; bottom: .75rem; display: flex; align-items: center; gap: .5rem; padding: .4rem .55rem; border: 1px solid #b4c5b9; border-radius: .5rem; background: #f8fbf6; color: #214636; font: 600 .8rem system-ui,sans-serif; }
.imms-session a, .imms-session button { color: inherit; font: inherit; }
.imms-session form { margin: 0; }
.imms-session button { border: 1px solid #b4c5b9; padding: .32rem .5rem; background: #fff; border-radius: .3rem; cursor: pointer; }
.imms-hosted-error { padding: 1rem; color: #842b26; background: #ffefed; }
@media (max-width: 820px) { .imms-session { bottom: 4rem; } }
