.bahia-iece {
    color: inherit;
    font: inherit;
}

.bahia-iece * {
    box-sizing: border-box;
}

.bahia-iece-registration-list {
    display: grid;
    gap: 24px;
    margin: 24px 0;
}

.bahia-iece-login-panel {
    width: min(520px, calc(100vw - 32px));
    margin: -80px auto 64px;
}

.bahia-iece-login-card {
    display: grid;
    gap: 18px;
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    background: #fff;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 18px 48px rgba(17, 25, 54, 0.1);
}

.bahia-iece-login-head {
    display: grid;
    gap: 8px;
    text-align: center;
}

.bahia-iece-login-head span {
    color: #f04a23;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bahia-iece-login-head h2 {
    margin: 0;
    color: #111936;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.bahia-iece-login-head p {
    margin: 0;
    color: rgba(23, 32, 51, 0.68);
    line-height: 1.55;
}

.bahia-iece-login-card .bahia-iece-notice {
    margin: 0;
}

.bahia-iece-login-card form {
    display: grid;
    gap: 14px;
    margin: 0;
}

.bahia-iece-login-card form p {
    margin: 0;
}

.bahia-iece-login-card label {
    display: grid;
    gap: 7px;
    color: #111936;
    font-weight: 700;
}

.bahia-iece-login-card input[type="text"],
.bahia-iece-login-card input[type="password"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 6px;
    padding: 10px 12px;
    background: #fffaf4;
    color: #111936;
    font: inherit;
}

.bahia-iece-login-card .login-remember label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.bahia-iece-login-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f04a23;
}

.bahia-iece-login-card .button,
.bahia-iece-login-card input[type="submit"],
.bahia-iece-login-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    border: 1px solid #f04a23;
    border-radius: 999px;
    padding: 11px 18px;
    background: #f04a23;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-transform: none;
    cursor: pointer;
}

.bahia-iece-login-reset {
    justify-self: center;
    color: #0b7fb5;
    font-weight: 700;
    text-decoration: none;
}

.bahia-iece-dashboard-shell {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin: -100px 0 24px;
}

.bahia-iece-dashboard-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.bahia-iece-dashboard-main {
    min-width: 0;
    display: grid;
    gap: 24px;
}

.bahia-iece-sidebar-user {
    display: grid;
    gap: 6px;
}

.bahia-iece-sidebar-user img {
    margin-bottom: 8px;
}

.bahia-iece-sidebar-user span {
    overflow-wrap: anywhere;
    font-size: 0.9em;
    opacity: 0.72;
}

.bahia-iece-dashboard-nav {
    display: grid;
    gap: 4px;
}

.bahia-iece-dashboard-nav a,
.bahia-iece-logout {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-radius: 6px;
    padding: 8px 10px;
    color: inherit;
    text-decoration: none;
}

.bahia-iece-dashboard-nav a:hover,
.bahia-iece-dashboard-nav a.is-active,
.bahia-iece-logout:hover {
    background: color-mix(in srgb, currentColor 9%, transparent);
}

.bahia-iece-logout {
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 0;
    padding-top: 14px;
}

.bahia-iece-panel,
.bahia-iece-profile,
.bahia-iece-resources,
.bahia-iece-resource {
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 8px;
    background: #fff;
    padding: clamp(16px, 3vw, 28px);
}

.bahia-iece-panel h2,
.bahia-iece-profile h2,
.bahia-iece-resources h2,
.bahia-iece-resource h3 {
    margin-top: 0;
}

.bahia-iece-form {
    display: grid;
    gap: 22px;
}

.bahia-iece-form fieldset {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 18px;
    align-items: start;
    border: 0;
    border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    margin: 8px 0 0;
    padding: 18px 0 0;
}

.bahia-iece-form fieldset > label {
    grid-column: auto !important;
    width: auto !important;
    max-width: none !important;
}

.bahia-iece-form legend {
    grid-column: 1 / -1;
    padding-right: 12px;
    font-weight: 700;
}

.bahia-iece-form label,
.bahia-iece-field {
    display: grid;
    gap: 7px;
    align-content: start;
    font-weight: 600;
    min-width: 0;
}

.bahia-iece-field,
.bahia-iece-form fieldset > .bahia-iece-field,
.bahia-iece-form fieldset > .bahia-iece-checkbox,
.bahia-iece-form > .bahia-iece-checkbox {
    grid-column: 1 / -1;
}

.bahia-iece-form input:not([type="checkbox"]):not([type="radio"]),
.bahia-iece-form textarea,
.bahia-iece-form select,
.bahia-iece-feedback textarea,
.bahia-iece-feedback select {
    width: 100%;
    min-height: 42px;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    border-radius: 6px;
    padding: 9px 12px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.bahia-iece-form input[type="text"],
.bahia-iece-form input[type="email"],
.bahia-iece-form input[type="tel"],
.bahia-iece-form input[type="url"],
.bahia-iece-form input[type="number"],
.bahia-iece-form input[type="password"],
.bahia-iece-form select {
    height: 42px;
    max-height: 42px;
    line-height: 1.2;
}

.bahia-iece-form textarea,
.bahia-iece-feedback textarea {
    min-height: 96px;
    resize: vertical;
}

.bahia-iece-label {
    font-weight: 700;
}

.bahia-iece-options-scroll {
    display: grid;
    gap: 8px;
    max-height: 220px;
    overflow: auto;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 6px;
    padding: 10px 12px;
}

.bahia-iece-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500 !important;
}

.bahia-iece-checkbox input {
    flex: 0 0 auto;
    margin-top: 0.25em;
}

.bahia-iece-button,
.bahia-iece-form button,
.bahia-iece-feedback button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    border: 1px solid currentColor;
    border-radius: 6px;
    padding: 10px 16px;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.bahia-iece-form > button {
    justify-self: start;
}

.bahia-iece-button:hover,
.bahia-iece-form button:hover,
.bahia-iece-feedback button:hover {
    opacity: 0.78;
}

.bahia-iece-dashboard-shell .bahia-iece-button {
    border-color: #f04a23;
    background: #f04a23;
    color: #fff;
    font-weight: 700;
}

.bahia-iece-dashboard-shell .bahia-iece-button-secondary,
.bahia-iece-dashboard-shell .bahia-iece-resource-card-actions .bahia-iece-button + .bahia-iece-button {
    border-color: #f04a23;
    background: #fff;
    color: #f04a23;
}

.bahia-iece-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.bahia-iece-notice {
    border-radius: 6px;
    margin: 18px 0;
    padding: 12px 14px;
}

.bahia-iece-notice-info {
    border: 1px solid #7aa7d9;
    background: #eef6ff;
    color: #17324d;
}

.bahia-iece-notice-success {
    border: 1px solid #74b98f;
    background: #f0fbf4;
    color: #173d26;
}

.bahia-iece-notice-error {
    border: 1px solid #d98a8a;
    background: #fff4f4;
    color: #5b1717;
}

.bahia-iece-profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.bahia-iece-profile-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

.bahia-iece-avatar,
.bahia-iece-profile-head img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.bahia-iece-profile dl {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 10px 18px;
    margin: 0;
}

.bahia-iece-profile dt {
    font-weight: 700;
}

.bahia-iece-profile dd {
    margin: 0;
}

.bahia-iece-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.bahia-iece-resource-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
}

.bahia-iece-resource-tools label {
    flex: 1 1 260px;
}

.bahia-iece-resource-tools input[type="search"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 6px;
    padding: 9px 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.bahia-iece-resource-empty {
    margin-bottom: 0;
}

.bahia-iece-resource-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.bahia-iece-resource-pagination span {
    color: rgba(23, 32, 51, 0.7);
    font-weight: 700;
}

.bahia-iece-resource {
    display: grid;
    grid-template-rows: auto auto auto minmax(4.8em, 1fr) auto;
    gap: 12px;
    min-height: 100%;
}

.bahia-iece-resource img {
    width: 100%;
    border-radius: 6px;
}

.bahia-iece-resource-thumb img {
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}

.bahia-iece-resource h3 {
    margin-bottom: 0;
}

.bahia-iece-resource-card-excerpt {
    min-height: 4.8em;
    margin: 0;
    line-height: 1.6;
}

.bahia-iece-resource-card-excerpt.is-empty {
    visibility: hidden;
}

.bahia-iece-resource-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-self: end;
    margin-top: 8px;
}

.bahia-iece-resource-preview {
    display: block;
}

.bahia-iece-resource-player audio,
.bahia-iece-resource-player video {
    width: 100%;
}

.bahia-iece-resource-meta,
.bahia-iece-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9em;
    opacity: 0.72;
}

.bahia-iece-resource-content > :last-child {
    margin-bottom: 0;
}

.bahia-iece-resource-template {
    box-sizing: border-box;
    width: min(1180px, calc(100vw - 32px)) !important;
    max-width: none !important;
    margin-top: clamp(-120px, -7vw, -56px) !important;
    margin-right: max(16px, calc((100vw - 1180px) / 2)) !important;
    margin-left: max(16px, calc((100vw - 1180px) / 2)) !important;
    padding: clamp(18px, 3vw, 38px) 0 clamp(28px, 5vw, 64px);
}

.bahia-iece-resource-detail {
    display: grid;
    gap: clamp(22px, 4vw, 38px);
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    color: #172033;
}

.bahia-iece-resource-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    border-bottom: 1px solid rgba(23, 32, 51, 0.12);
    padding-bottom: clamp(22px, 4vw, 42px);
}

.bahia-iece-resource-hero-copy {
    min-width: 0;
}

.bahia-iece-resource-hero--solo {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    text-align: center;
}

.bahia-iece-resource-hero--solo .bahia-iece-resource-hero-copy {
    display: grid;
    justify-items: center;
}

.bahia-iece-resource-hero--solo .bahia-iece-resource-back,
.bahia-iece-resource-hero--solo .bahia-iece-resource-kicker {
    margin-right: auto;
    margin-left: auto;
}

.bahia-iece-resource-hero--solo p {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.bahia-iece-resource-hero--solo .bahia-iece-resource-summary {
    justify-content: center;
}

.bahia-iece-resource-back {
    display: inline-flex;
    margin-bottom: 18px;
    color: #0b7fb5;
    font-weight: 700;
    text-decoration: none;
}

.bahia-iece-resource-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    background: #ffe6bf;
    color: #9a3a00;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bahia-iece-resource-hero h1 {
    margin: 14px 0 12px;
    color: #111936;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.bahia-iece-resource-hero p {
    max-width: 62ch;
    margin: 0;
    color: rgba(23, 32, 51, 0.76);
    font-size: 1.08rem;
    line-height: 1.6;
}

.bahia-iece-resource-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bahia-iece-resource-summary span {
    border: 1px solid rgba(23, 32, 51, 0.16);
    border-radius: 999px;
    padding: 7px 11px;
    color: rgba(23, 32, 51, 0.76);
    font-size: 0.92rem;
    font-weight: 700;
}

.bahia-iece-resource-cover {
    margin: 0;
}

.bahia-iece-resource-cover img,
.bahia-iece-resource-media img,
.bahia-iece-resource-file-summary img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.bahia-iece-resource-cover img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(17, 25, 54, 0.16);
}

.bahia-iece-resource-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(22px, 4vw, 42px);
    align-items: start;
}

.bahia-iece-resource-main,
.bahia-iece-resource-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.bahia-iece-resource-sidebar {
    position: sticky;
    top: 24px;
}

.bahia-iece-resource-block,
.bahia-iece-resource-panel,
.bahia-iece-resource-media,
.bahia-iece-resource-file {
    border: 1px solid rgba(23, 32, 51, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    padding: clamp(18px, 3vw, 28px);
}

.bahia-iece-resource-media {
    padding: 10px;
}

.bahia-iece-resource-player audio,
.bahia-iece-resource-player video {
    display: block;
    width: 100%;
}

.bahia-iece-resource-player video {
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border-radius: 8px;
    background: #111936;
    object-fit: contain;
}

.bahia-iece-resource-block h2,
.bahia-iece-resource-panel h2 {
    margin: 0 0 14px;
    color: #111936;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.bahia-iece-resource-content {
    color: rgba(23, 32, 51, 0.82);
    font-size: 1rem;
    line-height: 1.72;
}

.bahia-iece-resource-content > :first-child {
    margin-top: 0;
}

.bahia-iece-resource-file {
    display: grid;
    gap: 8px;
    background: #f5fbff;
}

.bahia-iece-resource-file span {
    color: #0b7fb5;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bahia-iece-resource-file strong {
    color: #111936;
    font-size: 1.2rem;
}

.bahia-iece-resource-primary-action {
    width: 100%;
    border-color: #f04a23;
    background: #f04a23;
    color: #fff;
    font-weight: 800;
}

.bahia-iece-resource-file-summary {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.bahia-iece-resource-file-summary.no-thumb {
    grid-template-columns: 1fr;
}

.bahia-iece-resource-file-summary figure {
    margin: 0;
}

.bahia-iece-resource-file-summary img {
    aspect-ratio: 1;
    object-fit: cover;
}

.bahia-iece-resource-file-summary span {
    display: block;
    margin-bottom: 3px;
    color: rgba(23, 32, 51, 0.58);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bahia-iece-resource-file-summary strong {
    display: block;
    color: #111936;
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bahia-iece-resource-facts {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
}

.bahia-iece-resource-facts > div {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    gap: 12px;
}

.bahia-iece-resource-facts dt {
    color: rgba(23, 32, 51, 0.58);
    font-weight: 800;
}

.bahia-iece-resource-facts dd {
    margin: 0;
    color: #172033;
}

.bahia-iece-resource-muted {
    margin: 0;
    color: rgba(23, 32, 51, 0.62);
}

.bahia-iece-resource-comment-list {
    display: grid;
    gap: 12px;
}

.bahia-iece-resource-comment {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(23, 32, 51, 0.1);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.bahia-iece-resource-comment header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.bahia-iece-resource-comment header span {
    color: #f04a23;
    font-weight: 800;
}

.bahia-iece-resource-comment p {
    margin: 0;
}

.bahia-iece-feedback {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.bahia-iece-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.bahia-iece-section-head h2,
.bahia-iece-section-head p {
    margin-top: 0;
}

.bahia-iece-calendar-list {
    display: grid;
    gap: 14px;
}

.bahia-iece-calendar-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 8px;
    padding: 16px;
}

.bahia-iece-calendar-item time {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 82px;
    border-radius: 8px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    text-align: center;
}

.bahia-iece-calendar-item time strong {
    font-size: 28px;
    line-height: 1;
}

.bahia-iece-calendar-item time span {
    font-size: 0.85em;
    opacity: 0.72;
}

.bahia-iece-calendar-item h3 {
    margin: 4px 0 8px;
}

.bahia-iece-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 16px 0;
}

.bahia-iece-admin-user-edit {
    color: #111936;
}

.bahia-iece-admin-user-form {
    display: grid;
    gap: 16px;
    max-width: 1180px;
}

.bahia-iece-admin-user-card {
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.bahia-iece-admin-user-card-internal {
    border-color: #f4c58b;
    background: #fff7ed;
}

.bahia-iece-admin-user-card h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.bahia-iece-admin-user-card > p {
    margin: -8px 0 16px;
    color: #8a5a25;
}

.bahia-iece-admin-user-summary,
.bahia-iece-admin-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
}

.bahia-iece-admin-user-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bahia-iece-admin-user-summary div,
.bahia-iece-admin-user-form label,
.bahia-iece-admin-user-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    font-weight: 700;
}

.bahia-iece-admin-user-summary span,
.bahia-iece-admin-user-field > span {
    color: #596274;
    font-weight: 700;
}

.bahia-iece-admin-user-summary strong {
    font-size: 15px;
}

.bahia-iece-admin-user-form input:not([type="checkbox"]),
.bahia-iece-admin-user-form textarea,
.bahia-iece-admin-user-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    padding: 8px 10px;
    color: #111936;
}

.bahia-iece-admin-user-form textarea {
    min-height: 104px;
    resize: vertical;
}

.bahia-iece-admin-user-form .is-full,
.bahia-iece-admin-user-field.is-full {
    grid-column: 1 / -1;
}

.bahia-iece-admin-user-form .bahia-iece-options-scroll {
    max-height: 240px;
}

.bahia-iece-community-confirmation {
    display: grid;
    gap: 12px;
    border-color: #74b98f;
    background: #f7fff9;
}

.bahia-iece-community-confirmation h2 {
    margin: 0;
    color: #111936;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.bahia-iece-community-confirmation p {
    max-width: 68ch;
    margin: 0;
    color: rgba(23, 32, 51, 0.78);
    font-size: 1.04rem;
    line-height: 1.65;
}

.bahia-iece-community-welcome-note {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
    border: 1px solid #ead4b0;
    border-left: 5px solid #f0b15a;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #fffaf1 100%);
    padding: clamp(22px, 3vw, 32px);
    box-shadow: 0 18px 42px rgba(17, 25, 54, 0.12);
}
 
#post-31319 {
    margin-top: -50px;
}

#post-31319 .entry-content,
#post-31319 .wp-block-post-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bahia-iece.bahia-iece-panel.bahia-iece-community-welcome-note {
    margin-bottom: 24px !important;
}

.bahia-iece.bahia-iece-panel.bahia-iece-community-welcome-note + .bahia-iece.bahia-iece-panel.bahia-iece-community-form,
.bahia-iece-community-form {
    margin-top: 24px !important;
}

.bahia-iece-community-welcome-note p + p {
    margin-top: 0;
}

.bahia-iece-community-welcome-note .bahia-iece-community-welcome-kicker {
    color: #111936;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
}

.bahia-iece-community-welcome-note p {
    margin: 0;
    color: rgba(23, 32, 51, 0.78);
    font-size: 1.04rem;
    line-height: 1.7;
}

.bahia-iece-community-signature {
    display: grid;
    gap: 3px;
    width: fit-content;
    margin-top: 6px !important;
    border-top: 1px solid rgba(240, 177, 90, 0.5);
    padding-top: 12px;
}

.bahia-iece-community-signature strong {
    color: #111936;
    font-size: 1.02rem;
}

.bahia-iece-community-signature span {
    color: #9a6826;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bahia-iece-community-table td {
    vertical-align: middle;
}

.bahia-iece-community-table td span {
    color: #596274;
}

.bahia-iece-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #dfe3ea;
    border-radius: 999px;
    padding: 4px 9px;
    background: #f6f7f7;
    color: #50575e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.bahia-iece-status-badge.is-registered {
    border-color: #b8c7dc;
    background: #f0f6ff;
    color: #174b7a;
}

.bahia-iece-status-badge.is-invitation_sent {
    border-color: #f0c36d;
    background: #fff8e5;
    color: #7a4b00;
}

.bahia-iece-status-badge.is-whatsapp_joined {
    border-color: #78c58f;
    background: #edf9f1;
    color: #155f2f;
}

.bahia-iece-community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 215px;
}

.bahia-iece-icon-button.button,
.bahia-iece-community-detail-head .button,
.bahia-iece-community-detail-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 3px 8px;
    line-height: 1.2;
}

.bahia-iece-icon-button .dashicons,
.bahia-iece-community-detail-head .dashicons,
.bahia-iece-community-detail-actions .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.bahia-iece-community-detail-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 18px;
}

.bahia-iece-community-detail-head h1 {
    margin: 0 0 6px;
}

.bahia-iece-community-detail-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1180px;
}

.bahia-iece-community-detail-layout .bahia-iece-admin-user-card {
    min-width: 0;
}

.bahia-iece-community-detail-actions {
    align-content: start;
}

.bahia-iece-community-detail-actions .button {
    width: fit-content;
    margin-right: 6px;
    margin-bottom: 6px;
}

.bahia-iece-admin-detail-list {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 8px 14px;
    margin: 0;
}

.bahia-iece-admin-detail-list dt {
    color: #596274;
    font-weight: 700;
}

.bahia-iece-admin-detail-list dd {
    margin: 0;
    color: #111936;
    overflow-wrap: anywhere;
}

.bahia-iece-admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0 24px;
}

.bahia-iece-admin-cards > div {
    border: 1px solid #dcdcde;
    background: #fff;
    padding: 18px;
}

.bahia-iece-admin-cards strong {
    display: block;
    font-size: 28px;
}

.bahia-iece-admin-cards span {
    color: #50575e;
}

.bahia-iece-report-dashboard {
    --bie-navy: #111936;
    --bie-orange: #f04a23;
    --bie-blue: #0b7fb5;
    --bie-yellow: #f3b51b;
    --bie-border: #dfe3ea;
    --bie-muted: #596274;
    color: var(--bie-navy);
}

.bahia-iece-report-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin: 18px 0 20px;
    border: 1px solid var(--bie-border);
    border-radius: 8px;
    background: #fff;
    padding: 24px;
}

.bahia-iece-report-hero span,
.bahia-iece-report-date span {
    color: var(--bie-orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bahia-iece-report-hero h1 {
    margin: 6px 0 8px;
    font-size: 32px;
    line-height: 1.1;
}

.bahia-iece-report-hero p,
.bahia-iece-report-card-head p {
    margin: 0;
    color: var(--bie-muted);
}

.bahia-iece-report-date {
    display: grid;
    gap: 4px;
    min-width: 240px;
    text-align: right;
}

.bahia-iece-report-date strong {
    font-size: 20px;
}

.bahia-iece-report-kpis,
.bahia-iece-report-grid {
    display: grid;
    gap: 16px;
}

.bahia-iece-report-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}

.bahia-iece-report-kpi,
.bahia-iece-report-card {
    border: 1px solid var(--bie-border);
    border-radius: 8px;
    background: #fff;
}

.bahia-iece-report-kpi {
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 18px;
    border-top: 4px solid var(--bie-blue);
}

.bahia-iece-report-kpi.is-pending {
    border-top-color: var(--bie-yellow);
}

.bahia-iece-report-kpi.is-resources,
.bahia-iece-report-kpi.is-up {
    border-top-color: var(--bie-orange);
}

.bahia-iece-report-kpi.is-down {
    border-top-color: #b42318;
}

.bahia-iece-report-kpi span {
    color: var(--bie-muted);
    font-weight: 700;
}

.bahia-iece-report-kpi strong {
    font-size: 38px;
    line-height: 1;
}

.bahia-iece-report-kpi em {
    color: var(--bie-muted);
    font-style: normal;
}

.bahia-iece-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bahia-iece-report-card {
    min-width: 0;
    padding: 20px;
}

.bahia-iece-report-card-wide {
    grid-column: 1 / -1;
}

.bahia-iece-report-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.bahia-iece-report-card-head h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.bahia-iece-report-card-head strong {
    color: var(--bie-orange);
    font-size: 30px;
}

.bahia-iece-report-timeline {
    display: grid;
    grid-template-columns: repeat(14, minmax(18px, 1fr));
    gap: 8px;
    height: 220px;
    align-items: end;
}

.bahia-iece-report-day {
    display: grid;
    gap: 8px;
    height: 100%;
    align-items: end;
    text-align: center;
}

.bahia-iece-report-day span {
    display: block;
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--bie-orange), var(--bie-blue));
}

.bahia-iece-report-day small {
    color: var(--bie-muted);
    font-size: 11px;
}

.bahia-iece-report-funnel,
.bahia-iece-report-bars,
.bahia-iece-report-ranking,
.bahia-iece-report-quality {
    display: grid;
    gap: 14px;
}

.bahia-iece-report-funnel-row,
.bahia-iece-report-bar {
    display: grid;
    gap: 7px;
}

.bahia-iece-report-funnel-row div,
.bahia-iece-report-bar div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.bahia-iece-report-funnel-row span,
.bahia-iece-report-bar span {
    color: var(--bie-muted);
    font-weight: 700;
}

.bahia-iece-report-funnel-row em,
.bahia-iece-report-bar em {
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef1f5;
}

.bahia-iece-report-funnel-row i,
.bahia-iece-report-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.bahia-iece-report-bar i {
    background: var(--bie-blue);
}

.bahia-iece-report-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.bahia-iece-report-mini-stats span,
.bahia-iece-report-quality div {
    border-radius: 8px;
    background: #f6f8fb;
    padding: 12px;
    color: var(--bie-muted);
}

.bahia-iece-report-mini-stats strong,
.bahia-iece-report-quality strong {
    display: block;
    color: var(--bie-navy);
    font-size: 24px;
}

.bahia-iece-report-pie {
    display: grid;
    place-items: center;
    width: min(230px, 72vw);
    aspect-ratio: 1;
    margin: 8px auto 18px;
    border-radius: 50%;
    position: relative;
}

.bahia-iece-report-pie::after {
    content: "";
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: #fff;
}

.bahia-iece-report-pie span {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 800;
}

.bahia-iece-report-legend {
    display: grid;
    gap: 8px;
}

.bahia-iece-report-legend div {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 8px;
    align-items: center;
    color: var(--bie-muted);
}

.bahia-iece-report-legend span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bie-blue);
}

.bahia-iece-report-legend div:nth-child(2) span {
    background: var(--bie-orange);
}

.bahia-iece-report-legend div:nth-child(3) span {
    background: var(--bie-navy);
}

.bahia-iece-report-ranking > div {
    display: grid;
    grid-template-columns: 34px minmax(180px, 1fr) minmax(120px, 44%) 60px;
    gap: 12px;
    align-items: center;
}

.bahia-iece-report-ranking span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f6fa;
    color: var(--bie-muted);
    font-weight: 800;
}

.bahia-iece-report-ranking a {
    color: var(--bie-navy);
    font-weight: 700;
    text-decoration: none;
}

.bahia-iece-report-ranking em {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: var(--bie-orange);
}

.bahia-iece-report-ranking strong {
    text-align: right;
}

.bahia-iece-report-quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bahia-iece-report-table {
    width: 100%;
    border-collapse: collapse;
}

.bahia-iece-report-table th,
.bahia-iece-report-table td {
    border-bottom: 1px solid var(--bie-border);
    padding: 11px 10px;
    text-align: left;
}

.bahia-iece-report-table th {
    color: var(--bie-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.bahia-iece-report-pill {
    display: inline-flex;
    border-radius: 999px;
    background: #fff2ec;
    padding: 4px 9px;
    color: var(--bie-orange);
    font-weight: 700;
}

.bahia-iece-resource-admin-box {
    display: grid;
    gap: 12px;
}

.bahia-iece-resource-admin-note,
.bahia-iece-resource-type-fields {
    border: 1px solid #dcdcde;
    background: #fff;
    padding: 14px;
}

.bahia-iece-resource-admin-note p,
.bahia-iece-resource-type-fields p {
    margin-top: 0;
}

.bahia-iece-resource-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bahia-iece-file-picker {
    border: 1px solid #dcdcde;
    background: #fff;
    padding: 14px;
}

.bahia-iece-file-picker label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.bahia-iece-file-name {
    display: inline-block;
    margin-right: 8px;
}

@media (max-width: 820px) {
    .bahia-iece-admin-user-summary,
    .bahia-iece-admin-user-grid,
    .bahia-iece-community-detail-layout {
        grid-template-columns: 1fr;
    }

    .bahia-iece-report-hero,
    .bahia-iece-report-card-head {
        align-items: start;
        flex-direction: column;
    }

    .bahia-iece-report-date {
        text-align: left;
    }

    .bahia-iece-report-kpis,
    .bahia-iece-report-grid {
        grid-template-columns: 1fr;
    }

    .bahia-iece-report-ranking > div {
        grid-template-columns: 34px minmax(0, 1fr) 54px;
    }

    .bahia-iece-report-ranking em {
        grid-column: 2 / -1;
        width: 100% !important;
    }

    .bahia-iece-dashboard-shell {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .bahia-iece-dashboard-sidebar {
        position: static;
    }

    .bahia-iece-resource-schedule-grid {
        grid-template-columns: 1fr;
    }

    .bahia-iece-resource-hero,
    .bahia-iece-resource-layout {
        grid-template-columns: 1fr;
    }

    .bahia-iece-resource-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    #post-31319 {
        margin-top: 0;
    }

    .bahia-iece-login-panel {
        width: calc(100vw - 22px);
        margin-top: -42px;
        margin-bottom: 42px;
    }

    .bahia-iece-form fieldset {
        grid-template-columns: 1fr !important;
    }

    .bahia-iece-button,
    .bahia-iece-form button,
    .bahia-iece-feedback button {
        width: 100%;
    }

    .bahia-iece-resource-card-actions {
        display: grid;
    }

    .bahia-iece-resource-tools {
        display: grid;
    }

    .bahia-iece-profile-head {
        align-items: stretch;
        flex-direction: column;
    }

    .bahia-iece-profile dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .bahia-iece-profile dd {
        margin-bottom: 10px;
    }

    .bahia-iece-calendar-item {
        grid-template-columns: 1fr;
    }

    .bahia-iece-calendar-item time {
        justify-items: start;
        min-height: auto;
        padding: 12px;
        text-align: left;
    }

    .bahia-iece-resource-template {
        width: calc(100vw - 22px) !important;
        margin-top: -42px !important;
        margin-right: 11px !important;
        margin-left: 11px !important;
        padding-top: 18px;
    }

    .bahia-iece-resource-facts > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
