* { box-sizing: border-box; }
body { margin: 0; padding: 1rem; font: 1rem/1.45 system-ui, sans-serif; color: #17283e; background: #f4f6f9; }
main { max-width: 44rem; margin: auto; }
fieldset { min-width: 0; border: 1px solid #aab7c7; border-radius: .35rem; background: white; }
input, select, button { max-width: 100%; font: inherit; }
input:not([type="checkbox"]), select { display: block; width: 100%; padding: .45rem; }
button { min-height: 44px; padding: .45rem .75rem; cursor: pointer; }
label, li, p { overflow-wrap: anywhere; }
#consent-challenge { display: block; overflow-wrap: anywhere; word-break: break-all; }
#consent-targets-details { margin-top: .75rem; }
#consent-targets-details summary { min-height: 44px; padding: .65rem 0; cursor: pointer; }
#consent-targets-list { max-height: 16rem; overflow-y: auto; padding-inline-start: 1.5rem; }
#consent-current p { margin: .2rem 0; }
#teams-section { margin-top: .75rem; border-block: 1px solid #c7d0dc; }
#teams-section summary { min-height: 44px; padding: .65rem 0; cursor: pointer; font-weight: 600; }
#teams-section p, #invite-team-help { margin: .4rem 0; font-size: .9rem; }
#teams-list { max-height: 12rem; overflow-y: auto; padding-inline-start: 1.5rem; }
#teams-list li { padding: .2rem 0; }
#invite-team-role-row { display: block; }
#invite-team-role-row[hidden] { display: none; }
#invite-team-settings { margin-block: .6rem; }
.organizador { background: #edf2ef; color: #123b3b; }
.entrada { margin: 1rem auto; overflow: hidden; background: white; border-radius: 20px; box-shadow: 0 12px 42px #103c3914; }
.entrada:has(#login:not([hidden])) { max-width: 31rem; margin-top: clamp(1rem, 12vh, 8rem); }
.entrada h1 { margin: 0; display: flex; gap: 14px; align-items: center; padding: 24px 32px; font-size: 16px; font-weight: 500; line-height: 1.25; color: white; background: #003d40; }
.entrada h1 strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -1.2px; }
.boas-vindas { background: #003d40; color: white; padding: 8px 32px 32px; }
.boas-vindas h2 { margin: 0 0 12px; font-size: clamp(27px,5vw,34px); line-height: 1.15; letter-spacing: -1px; }
.boas-vindas p { margin: 0; font-size: 18px; color: #d6efe9; }
.entrada:has(#login[hidden]) .boas-vindas { display: none; }
.acoes { padding: 24px 32px; }
.acoes p { margin: 0 0 16px; }
.acoes button, #web-panel-link a { border: 0; border-radius: 9px; font-weight: 650; color: #006b5e; background: white; }
#login button, #web-panel-link a { display: block; text-align: center; width: 100%; padding: 14px; color: white; background: #006b5e; text-decoration: none; }
#login button:hover, #web-panel-link a:hover { background: #064943; }
#email-recovery button { width: 100%; margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
.acoes :focus-visible { outline: 3px solid #137a89; outline-offset: 3px; }
@media (max-width: 480px) {
  .entrada:has(#login:not([hidden])) { margin-top: 4vh; }
  .entrada h1, .acoes { padding: 22px; }
  .entrada h1 strong { font-size: 24px; }
  .entrada h1 svg { width: 44px; }
  .boas-vindas { padding: 6px 22px 26px; }
}
