.mithra-app:not(.mth-sector-app){background:radial-gradient(ellipse at 95% 0,#dcdafa 0,transparent 48%),radial-gradient(ellipse at 0 30%,#dce8ff 0,transparent 48%),linear-gradient(145deg,#f2f5ff,#eae8f8)!important;--mth-paper:#eff0fb;--mth-ink:#202442;--mth-muted:#626884}
.mithra-app:not(.mth-sector-app) .mth-content{background:transparent!important}.mithra-app:not(.mth-sector-app) .mth-portal-nav{border-color:#cbd1e7}.mithra-app:not(.mth-sector-app) .mth-portal-nav :is(a,button){border-radius:15px;box-shadow:0 2px 5px #30306304}.mithra-app:not(.mth-sector-app) .mth-portal-nav [aria-current=page]{background:linear-gradient(135deg,#4653dc,#573bd3);box-shadow:0 7px 20px #5144d326}
.mithra-team-premium,.mth-team{max-width:1120px;width:100%;margin-inline:auto;color:#202442}.team-intro{margin-bottom:30px}.team-eyebrow{font:700 11px/1.5 system-ui;letter-spacing:.18em;color:#656bb0}.mithra-team-premium h1,.mth-team h1{font:650 clamp(28px,3vw,40px)/1.18 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-1.3px;margin:8px 0 12px!important}.team-intro p{font-size:15px;max-width:620px;color:#626884;margin:0}
.mithra-team-premium .card,.mth-team .team-card,.mth-team .team-members{background:linear-gradient(145deg,#fffffffa,#fafafff5)!important;border:1px solid #fff!important;border-radius:24px!important;box-shadow:0 14px 40px #3845790b,0 1px 3px #38457908;padding:clamp(22px,3vw,36px)!important;margin-bottom:22px}.mithra-team-premium h2{font-size:20px;letter-spacing:-.6px;margin:0 0 22px}.mithra-team-premium form{max-width:none!important}.mithra-team-premium form>label,.team-fields>label{display:grid!important;gap:9px!important;font:600 13px/1.5 system-ui;color:#414967;margin:0 0 20px!important}.team-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.team-fields>label:first-child{grid-column:1/-1}.team-fields small{display:inline;font-size:11px;font-weight:450;color:#777d98;margin-top:-5px}.team-field-note{font:400 13px/1.6 system-ui!important;color:#707692!important;margin:0 0 24px!important}
.mithra-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%}.mithra-team-premium :is(input:not([type=checkbox]),select),.mth-team .team-name input{width:100%!important;min-height:48px!important;background:#fdfdff!important;border:1px solid #d8dced!important;border-radius:12px!important;padding:12px 14px!important;font:450 15px/1.4 system-ui!important;color:#252d4d!important;margin:0!important;transition:border-color .15s,box-shadow .15s}.mithra-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible,.mithra-team-premium :is(input,select):focus,.mth-team .team-name input:focus{outline:none!important;outline-offset:0!important;border-color:#7077df!important;box-shadow:inset 0 0 0 1px #7077df!important}.mithra-team-premium input::placeholder{color:#969bb1}.mithra-team-premium form>label{max-width:100%}
.mithra-team-premium .grant-group{padding:0!important;border:0!important;margin:26px 0!important}.mithra-team-premium .grant-group legend{font:650 13px/1.5 system-ui;letter-spacing:.02em;margin-bottom:12px;color:#444d71}.mithra-team-premium .chips{gap:10px!important}.mithra-team-premium .chip{margin:0!important;position:relative!important}.mithra-team-premium .chip input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}.mithra-team-premium .chip span{display:flex!important;align-items:center;gap:10px;border:1px solid #dce0ee!important;background:#f8f9fe!important;color:#66708e!important;border-radius:13px!important;font:550 13px/1.4 system-ui!important;padding:12px 14px!important;min-height:44px;box-sizing:border-box}.mithra-team-premium .chip span:before{content:'+'!important;display:grid;place-content:center;flex:none;width:19px;height:19px;border:1px solid #d1d7e9;border-radius:6px;background:white;font-size:13px}.mithra-team-premium .chip input:checked+span{border-color:#aab0ed!important;background:linear-gradient(130deg,#eef1ff,#f1edff)!important;color:#414ca3!important}.mithra-team-premium .chip input:checked+span:before{content:'✓'!important;background:#5961ce;color:white;border-color:#5961ce}.mithra-team-premium .chip input:focus-visible+span{outline:2px solid #6874d9;outline-offset:2px}.mithra-team-premium .chip input:disabled+span{opacity:.5}.mithra-team-premium .grant-products .chips{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}.mithra-team-premium .grant-products .chip span{min-height:82px;padding:18px!important;font-size:14px!important;box-shadow:0 3px 8px #3c498704}
.mithra-team-premium .mithra-generate-invite{width:auto!important;min-height:48px;background:linear-gradient(135deg,#4657d9,#6541cf)!important;border:0!important;border-radius:13px!important;padding:13px 22px!important;box-shadow:0 7px 16px #5044c522;color:white!important;font-size:14px!important}.mithra-team-premium details{padding:16px 0;border-bottom:1px solid #e5e8f3}.mithra-team-premium summary{font-weight:600;color:#384463;cursor:pointer}.mithra-team-premium details[open] form{margin-top:24px}
.mth-team .team-person{grid-template-columns:1fr!important}.mth-team .team-chips{gap:10px}.mth-team .team-choice-group:first-of-type .team-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mth-team .team-chip{border-radius:13px!important;border-color:#dce0ee!important;padding:13px 16px!important}.mth-team .team-chip[aria-pressed=true]{background:linear-gradient(130deg,#eef1ff,#f1edff)!important;border-color:#aab0ed!important;color:#414ca3!important}.mth-team .team-choice-group.product-choices .team-chip{min-height:82px}.mth-team .team-submit{background:linear-gradient(135deg,#4657d9,#6541cf)!important;border-radius:13px!important;min-height:48px!important}
@media(max-width:700px){.team-fields{grid-template-columns:1fr;gap:0}.mithra-team-premium .grant-products .chips,.mth-team .team-choice-group:first-of-type .team-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.mithra-team-premium .grant-products .chip span{padding:13px!important;font-size:13px!important}.mithra-team-premium .mithra-generate-invite{width:100%!important}}
@media(max-width:390px){.mithra-team-premium .grant-products .chips{grid-template-columns:1fr}}
.mithra-team-premium .grant-products .chip{display:flex!important;width:100%}.mithra-team-premium .grant-products .chip span{width:100%;display:grid!important;grid-template-columns:20px minmax(0,1fr);column-gap:12px;row-gap:4px}.mithra-team-premium .grant-products .chip span:before{grid-column:1;grid-row:1/3}.mithra-team-premium .grant-products .chip span:after{content:'Não selecionado';grid-column:2;font-size:11px;font-weight:400;color:#7e86a0}.mithra-team-premium .grant-products .chip input:checked+span:after{content:'Acesso selecionado';color:#747cb2}

/* Shared select affordance: reserve equal breathing room around the chevron. */
.mithra-app select:not([multiple]):not([size]),.mithra-app select[size="1"]{-webkit-appearance:none!important;appearance:none!important;padding-right:48px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d7181' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:16px 16px!important;background-position:right 16px center!important}
medical-case-list .mc-controls{align-items:flex-end!important;gap:12px!important}medical-case-list .mc-controls>label{margin:0!important;padding:0!important}medical-case-list .mc-controls select{box-sizing:border-box;min-height:44px!important;margin-bottom:0!important}
medical-case-list .mc-controls>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:1px solid transparent!important;background:transparent!important;border-radius:50%!important;font-size:0!important;color:inherit!important;box-shadow:none!important;cursor:pointer}
medical-case-list .mc-controls>button:before{content:"";width:20px;height:20px;background:currentColor;opacity:.72;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M6.1 7a7 7 0 0 1 11.55-1.55L20 8M4 16l2.35 2.55A7 7 0 0 0 17.9 17'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M6.1 7a7 7 0 0 1 11.55-1.55L20 8M4 16l2.35 2.55A7 7 0 0 0 17.9 17'/%3E%3C/svg%3E") center/contain no-repeat}
medical-case-list .mc-controls>button:hover{background:#8095a214!important}medical-case-list .mc-controls>button:focus-visible{outline:2px solid currentColor!important;outline-offset:2px}medical-case-list .mc-controls>button:disabled{opacity:.4;cursor:wait}

/* CSS-only icons remain visible under the portal content security policy. */
.mithra-app select:not([multiple]):not([size]),.mithra-app select[size="1"]{background-image:linear-gradient(45deg,transparent 46%,#5d7181 48%,#5d7181 62%,transparent 64%),linear-gradient(135deg,transparent 46%,#5d7181 48%,#5d7181 62%,transparent 64%)!important;background-size:6px 7px,6px 7px!important;background-position:right 22px center,right 16px center!important}
medical-case-list .mc-controls>button{position:relative!important}medical-case-list .mc-controls>button:before{-webkit-mask:none!important;mask:none!important;background:none!important;width:17px;height:17px;border:1.6px solid currentColor;border-right-color:transparent;border-radius:50%;box-sizing:border-box;transform:rotate(-35deg)}medical-case-list .mc-controls>button:after{content:"";position:absolute;width:5px;height:5px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;top:12px;right:12px;transform:rotate(10deg);opacity:.72}

/* Shared Mithra navigation, including the product overflow menu. */
@media (hover:hover) {
 :is(.mth-portal-nav,.mth-tabs,.mth-product-more) :is(a,button,summary,select):not(:disabled):hover,
 .mth-tabs .mth-more-tabs:hover {
  background:#096a59!important; color:#fff!important; border-color:#096a59!important;
  box-shadow:0 3px 10px #0b55432b;
 }
 :is(.mth-portal-nav,.mth-tabs) :is(a,button,summary):hover :is(span,svg) { color:inherit!important; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 :is(.mth-portal-nav,.mth-tabs) :is(a,button,summary,select) { transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease; }
 :is(.mth-portal-nav,.mth-tabs) :is(a,button,summary,select):not(:disabled):hover {
  position:relative; z-index:2; transform:scale(1.045)!important;
 }
}
