@charset "UTF-8";
/*@font-face {
    font-family: "Montserrat";
    src: url(../font/custom/Montserrat-VariableFont_wght.ttf) format("truetype-variations");
    font-weight: 1 999;
}

body.custom .main-sidebar .brand-link .brand-text {
    font-size: 0px;
}


body.custom .main-sidebar .brand-link i {
    margin: 0px !important;
    max-width: unset !important;
    max-height: unset !important;
    display: flex;
    justify-content: start;
    align-items: center;
}

body.custom .main-sidebar .brand-link i.brand-image {
    margin: 0px !important;
    width: 100%;
    height: 100%;
}

body.custom .main-header.navbar {
    height: var(--theme-header-height);
    background-color: var(--theme-card-color);
    color: var(--theme-text-color);
    border: 0px;
}

body.custom li#company-top-bar, body.custom li#company-top-bar + .nav-item.dropdown, body.custom .nav-item.search {
    height: 54px;
    padding: 0px;
}

body.custom .main-header.navbar .navbar-nav .nav-item .nav-link .nav-link-text {
    max-width: unset;
    min-width: unset;
    height: 100%;
}

body.custom .main-header.navbar .navbar-nav .nav-item .nav-link .ims-icon {
    font-size: 17px !important;
}

body.custom .main-header.navbar .navbar-nav .nav-item .nav-link .nav-link-text * {
    display: -webkit-box;
    max-width: 400px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center
}

body.custom .main-header.navbar .navbar-nav .nav-item .nav-link {
    color: var(--theme-primary-color);
    flex-direction: column;
    max-width: 120px;
    padding: 5px 10px !important;
    justify-content: space-between;
    gap: 3px;
}

body.custom .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon {
    background-color: var(--theme-complementary-color) !important;
    height: 32px;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px !important;
    color: white;
    font-size: 0px;
    margin-left: -5px;
    border-radius: var(--theme-radius);
    padding: 0px !important;
}

body.custom .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon:hover {
    padding-left: 15px;
    padding-top: 14px;
}


body.custom .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon:before {
    content: var(--theme-chevron);
    font-size: 0px;
    height: 6px;
    display: block;
    width: 6px;
    transform: rotate(-90deg);
}

body.custom .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon:hover:before {
    transition: 0.5s ease;
    transform: rotate(90deg);
}

body.custom.sidebar-collapse .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon:before {
    transform: rotate(90deg);
}

body.custom.sidebar-collapse .main-header.navbar .navbar-nav .nav-item a[data-widget="pushmenu"] .ims-icon:hover:before {
    transform: rotate(-90deg);
}

   A PESQUISA DO CABEÇALHO VIVE EM
   Portia/Components/Organisms/_main-header.scss.

   Estavam aqui quatro regras (input, button e os dois placeholders) para a mesma pesquisa.
   ATENÇÃO: como todo este bloco, estavam dentro do comentário aberto na linha 1 e fechado na
   709 — nunca chegaram ao CSS a partir daqui. O que as fazia aparecer na aplicação era o
   `wwwroot/legacy/Content/Css/custom.css` COMPILADO E JÁ IMPLANTADO que veio do IMSDEV, e que
   não corresponde a este ficheiro-fonte.

   Ficam removidas para não haver duas versões do mesmo componente à espera de se cruzarem.
   Delas aproveitaram-se o `z-index` e o espaço à esquerda do campo, que são o que põe a bola
   por cima do input; ficaram de fora o `#003375` escrito à mão (passou à primária do tema) e um
   `min-width: u`, que não é valor nenhum.



body.custom .main-sidebar .brand-link {
    border-color: color-mix(in srgb, var(--theme-text-color) 10%, var(--theme-card-color)) !important;
}

body.custom .main-sidebar .sidebar {
    background-color: var(--theme-primary-color) !important;
    border: 0px !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link, body.custom .main-sidebar .sidebar .nav-item .nav-link .ims-icon {
    color: var(--theme-card-color) !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link[href="#"] {
    border-color: color-mix(in srgb, var(--theme-text-color) 30%, var(--theme-primary-color)) !important;
    background-color: var(--theme-card-color);
}

body.custom .main-sidebar .sidebar .nav-item .nav-link[href="#"] {
    background-color: var(--theme-card-color) !important;
    color: var(--theme-primary-color) !important;
    border-color: color-mix(in srgb, var(--theme-text-color) 10%, var(--theme-card-color)) !important;
}

.main-sidebar .sidebar li.menu-is-opening.nav-item .nav-link {
    background: color-mix(in srgb, var(--theme-text-color) 10%, var(--theme-card-color)) !important;
    color: color-mix(in srgb, var(--theme-primary-color) 80%, var(--theme-card-color)) !important;
    transition-delay: 1s;
}


body.custom #dsims-mainsidebar.nav-sidebar > .nav-item > .nav-link[href="#"] {
    background-color: var(--theme-primary-color) !important;
    color: white !important;
    border-color: color-mix(in srgb, var(--theme-text-color) 35%, var(--theme-primary-color)) !important;
}

body.custom .main-sidebar .brand-link .brand-image:before {
    font-size: 0px;
    background-image: var(--theme-logo);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 30px;
    width: 110px;
    display: block;
    transition-delay: 0.3s;
    transition: 0.3s;
}

body.custom.sidebar-collapse .main-sidebar .brand-link .brand-image:before {
    font-size: 0px;
    background-image: var(--theme-alt-logo);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: var(--theme-header-height);
    width: calc(var(--theme-sidebar-closed-width) - 15px);
    margin-left: calc(15px / 2);
    display: block;
}


body.custom .ds-ims-logos-brand-portia:before {
    content: "";
    font-size: 0px;
    height: 85px !important;
    background-image: var(--theme-logo);
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: calc(85px / 2) !important;
}

body.custom a[data-target="#themecollapse"], body.custom #themecollapse, body.custom main + footer {
    display: none !important;
    pointer-events: none !important;
}

body.custom #main-container.container-fluid {
    height: 100vh !important;
    position: fixed;
    top: 0px;
}

body.custom #main-container.container-fluid:before {
    content: "";
    z-index: -1;
    left: -5%;
    top: -5%;
    width: 110%;
    height: 110%;
    filter: blur(6px);
    position: absolute;
    min-height: 100%;
    background-image: url(https://t4.ftcdn.net/jpg/02/20/67/65/360_F_220676590_4zfuo3TKXbys7xkC4Nx0YYFcMzkCkHTf.jpg), linear-gradient(rgba(0, 51, 117, 0.5), #003375);
    background-blend-mode: multiply;
    background-size: cover;
}

body.custom #main-container.container-fluid > .row {
    transform: translate(200px,0px)
}

body.custom #main-container.container-fluid:after {
    content: "Integer nec tempus ipsum. Phasellus ultricies consectetur eleifend. In luctus ex id consequat iaculis. Suspendisse sodales ligula vehicula augue tincidunt consequat. Etiam ante nibh, scelerisque sagittis rhoncus laoreet, mollis quis sem.";
    left: 0;
    top: 0;
    width: 400px;
    height: 100%;
    background-color: #003477;
    position: absolute;
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: end;
    box-sizing: border-box;
    padding: 40px;
    font-weight: normal;
}

body.custom #main-container.container-fluid small.text-primary {
    color: white !important;
    margin-top: 4px !important;
}

body.custom #main-container.container-fluid small.text-primary + i {
    color: white !important;
}

body.custom i.nav-icon.ims-icon.ims-icon-company:before {
    content: url("https://www.bigmat.pt/Content/V2/img/svg/bigmat/icon/icon-location-blue.svg");
    font-size: 0px;
    height: 6px;
    display: block;
    width: 6px;
    margin-bottom: 13px
}

body.custom i.nav-icon.ims-icon.ims-icon-profile:before {
    content: url("https://www.bigmat.pt/Content/V2/img/svg/bigmat/icon/icon-account-blue.svg?v=20250323001");
    font-size: 0px;
    height: 6px;
    display: block;
    width: 6px;
    margin-bottom: 13px
}

body.custom footer.main-footer.p-0.d-flex.row.no-gutters, body.custom footer .link-n {
    background-color: var(--theme-complementary-color) !important;
    font-size: 11px;
    border-color: color-mix(in srgb, var(--theme-text-color) 30%, var(--theme-complementary-color)) !important;
    color: color-mix(in srgb, var(--theme-card-color) 30%,var(--theme-complementary-color)) !important;
}

body.custom footer.main-footer .text-primary {
    color: color-mix(in srgb, var(--theme-card-color) 60%, var(--theme-complementary-color)) !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link.active {
    background-color: var(--theme-secondary-color) !important;
    color: var(--theme-card-color) !important;
    border-color: var(--theme-secondary-color) !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link.active p {
    color: var(--theme-card-color) !important;
    background-color: transparent !important;
    font-weight: 700;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link.active + .nav-treeview {
    border-top-color: var(--theme-secondary-color) !important;
}

body.custom .main-sidebar .sidebar #dsims-mainsidebar > .nav-item > .nav-link.active {
    background-color: var(--theme-secondary-color) !important;
    color: white !important;
    border-color: color-mix(in srgb, var(--theme-text-color) 25%, var(--theme-secondary-color)) !important;
}

body.custom .iframe-mode .nav.dsims-main-tabs {
    background-color: var(--theme-primary-color);
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item [role="tab"] {
    margin: 0px;
    height: 40px;
    border: none;
    border-radius: 0px !important;
    background-color: var(--theme-primary-color) !important;
    color: white !important;
    font-weight: 400;
    transition: 0.3s ease;
    padding: 10px 20px;
    height: var(--theme-iframe-tabs-height);
    text-transform: capitalize;
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item:hover [role="tab"] {
    color: var(--theme-primary-color) !important;
    background-color: var(--theme-card-color) !important;
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item {
    padding: 0px;
    margin: 0px;
    border-radius: 0px !important;
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item [role="tab"].active {
    color: var(--theme-card-color) !important;
    background-color: var(--theme-secondary-color) !important;
    transition: 0.3s ease;
    font-weight: inherit;
    text-transform: capitalize;
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item:hover [role="tab"].active {
    color: var(--theme-secondary-color) !important;
    background-color: var(--theme-card-color) !important;
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item:before {
    content: none
}

body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"] .nav-item .btn-iframe-close {
    margin-top: 0px;
    margin-right: 0px;
}


body.custom .iframe-mode .nav.dsims-main-tabs [role="tablist"]:after {
    content: none;
}

body.custom .iframe-mode .nav.dsims-main-tabs .nav-link:not([role="tab"]) .btn-group button {
    background: color-mix(in srgb, var(--theme-text-color) 10%, var(--theme-card-color)) !important;
    height: var(--theme-iframe-tabs-height);
    border-radius: 0px;
    border: 0px;
    margin-left: -8px;
    color: var(--theme-primary-color) !important;
    min-width: var(--theme-header-height);
    font-size: 12px;
    box-shadow: unset;
    font-weight: 600;
}

body.custom .iframe-mode .nav.dsims-main-tabs .nav-link:not([role="tab"]) .btn-group button.dropdown-toggle {
    min-width: 30px;
    margin-right: -10px;
}

body.custom .moduleHeader {
    background-color: var(--theme-secondary-color) !important;
    --theme-primary-color: white;
    --theme-icon-toolbar-color: white;
    --theme-card-color: var(--theme-secondary-color);
    border-bottom: 0px;
    padding-left: 15px;
}

body.custom .moduleHeader .actionFields .actionFields {
    background-color: blue !important;
    border-radius: 0px !important;
}


body.custom .iframe-mode .nav.dsims-main-tabs .nav-link:not([role="tab"]) i {
    color: white
}

body.custom .k-grid .k-grid-content table tr td, body.custom .k-treelist .k-grid-content table tr td {
    font-weight: 500;
}

body.custom .mainContentMenu {
    border-bottom: 0px !important;
}

body.custom .moduleFrame .mainContentMenu.ui-tabs {
    background-color: var(--theme-complementary-color) !important;
}

body.custom .moduleFrame .mainContentMenu .navigationMenu {
    padding: 0px !important;
}

body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]) {
    min-height: var(--theme-main-content-menu-height);
    border-radius: 0px !important;
    border: none !important;
    padding: 0px;
    transition: 0.3s ease;
}

body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]) a {
    color: white
}

body.custom .moduleFrame .mainContentMenu .navigationMenu li a {
    font-size: 11px;
    font-weight: 500;
    padding: 0px 15px;
}


body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]).ui-state-active, body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]):hover, body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]).ui-state-hover {
    background-color: var(--theme-background-color) !important;
    cursor: pointer;
}

body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]).ui-state-active a, body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]):hover a, body.custom .ui-tabs .ui-tabs-nav li:not([style="display: none;"]).ui-state-hover a {
    color: var(--theme-complementary-color) !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link.active:not([href="#"]) {
    background-color: white !important;
    border: none !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link.active:not([href="#"]) p {
    color: var(--theme-secondary-color) !important;
}

body.custom .main-sidebar .sidebar .nav-item .nav-link p {
    text-transform: capitalize;
}

body.custom #action-menu-related::before {
    content: var(--theme-chevron);
    font-size: 0px;
    height: 9px;
    display: block;
    width: 9px;
    transform: translate(-50%, -50%) rotate(-90deg);
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -1px;
    position: absolute;
    transition: 0.3s ease;
}

body.custom .moduleFrame .mainContentMenu .actionFields #action-menu-related:hover:before {
    transform: translate(-50%,-50%) rotate(90deg);
    margin-left: -1px;
    margin-top: -1px;
}


body.custom .moduleFrame .mainContentMenu .actionFields #action-menu-related.icon-expand:before {
    transform: translate(-50%,-50%) rotate(90deg);
    margin-left: -1px;
    margin-top: -1px;
}

body.custom .moduleFrame .mainContentMenu .actionFields #action-menu-related.icon-expand:hover:before {
    transform: translate(-50%,-50%) rotate(-90deg);
    margin-left: 1px;
    margin-top: 1px;
}

body.custom .moduleFrame .mainContentMenu .actionFields #action-menu-related {
    background-color: transparent !important;
    height: 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px !important;
    font-size: 0px;
    margin-left: -5px;
    border-radius: var(--theme-radius);
    padding: 0px !important;
    position: relative;
    min-height: unset !important;
    min-width: unset !important;
    margin-top: 4px;
    margin-right: -5px;
    cursor: pointer !important;
    border: 0px;
}

body.custom div#portia-loader > .row {
    display: none;
}

body.custom div#portia-loader:before {
    font-size: 0px;
    content: "";
    background-image: var(--theme-logo);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 200px;
    width: 200px;
    display: block;
    transition: 0.3s;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    animation: blinker 1s ease infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.4;
    }
}

body.custom .main-sidebar a.brand-link {
    background-color: var(--theme-card-color) !important;
}

body.custom {
    --theme-filter: invert(24%) sepia(82%) saturate(4546%) hue-rotate(188deg) brightness(70%) contrast(102%);
    --theme-background-color: #f5f5f5;
    --theme-primary-color: #003477;
    --theme-secondary-color: #d60812;
    --theme-complementary-color: #354052;
    --theme-card-color: #ffffff;
    --theme-chevron: url("https://www.bigmat.pt/Content/V2/img/svg/bigmat/icon/icon-chevron-down-white.svg");
    --theme-logo: url("data:image/svg+xml,%3Csvg width='372' height='120' viewBox='0 0 372 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26.828 68.873H30.1C34.854 68.873 41.72 68.755 41.72 61.316C41.72 53.763 34.327 53.882 29.677 53.882H26.828V68.873ZM29.47 34.812C33.695 34.812 38.451 34.334 38.451 28.094C38.451 21.382 33.063 21.86 28.837 21.86H26.828V34.812H29.47ZM0 0.0320206H33.695C49.117 0.0320206 64.856 4.23202 64.856 25.097C64.856 33.012 61.369 40.807 54.399 43.326V44.049C63.06 47.527 68.552 54.719 68.552 65.518C68.552 84.108 53.344 90.462 39.4 90.462H0V0.0320206Z' fill='%23003477'/%3E%3Cpath d='M96.248 14.06C96.248 23.004 90.089 26.911 83.388 26.911C76.687 26.911 70.534 22.999 70.534 14.06C70.534 6.14503 76.056 1.31503 83.388 1.31503C90.72 1.31503 96.248 6.14503 96.248 14.06ZM72.282 29.809H94.436V90.462H72.282V29.809Z' fill='%23003477'/%3E%3Cpath d='M131.5 68.757C135.927 68.757 138.041 64.877 138.041 60.304C138.041 55.731 135.625 51.51 131.299 51.51C127.072 51.51 124.158 55.392 124.158 60.193C124.158 65.103 126.972 68.757 131.5 68.757ZM126.648 97.736C128.043 97.818 129.441 97.6068 130.75 97.1161C132.059 96.6254 133.25 95.8661 134.248 94.887C137.694 91.439 134.726 86.214 134.726 86.214C133.008 88.0021 130.944 89.4219 128.66 90.3872C126.375 91.3525 123.919 91.843 121.439 91.829C106.852 91.829 98.5 75.158 98.5 60.078C98.5 44.998 106.752 28.438 121.541 28.438C128.383 28.438 133.613 32.091 137.132 38.49H137.832L137.132 29.81H159.432V86.918C159.432 91.408 159.495 94.79 159.195 97.748C158.799 102.061 157.197 106.175 154.572 109.62C149.021 117.565 141.143 119.602 126.572 119.602H114.882V97.736H126.648Z' fill='%23003477'/%3E%3Cpath d='M110.916 97.736H0.00100708V119.601H110.916V97.736Z' fill='%23003477'/%3E%3Cpath d='M163.55 97.736H363.05V119.599H150.887C154.797 116.924 157.997 113.336 160.207 109.146C163.988 102.021 163.55 97.733 163.55 97.733' fill='%23003477'/%3E%3Cpath d='M220.91 90.462H200.863L188.753 59.804V90.462H163.395V-0.000976562H196.832L210.886 42.526L224.939 -0.000976562H258.38V90.462H233.019V62.821L220.91 90.462Z' fill='%23D60812'/%3E%3Cpath d='M294.748 68.757C299.678 68.757 301.687 64.305 301.687 59.618C301.687 54.931 298.872 51.51 294.748 51.51C290.624 51.51 288.006 55.392 288.006 59.848C288.006 64.643 290.018 68.757 294.748 68.757ZM301.687 82.464H301.087C296.356 88.176 292.133 91.829 284.787 91.829C270.302 91.829 262.252 75.156 262.252 60.417C262.252 45.117 270.405 28.438 285.491 28.438C288.618 28.3442 291.714 29.0891 294.456 30.5954C297.198 32.1017 299.487 34.3145 301.085 37.004H301.685L300.885 29.804H326.338V90.462H300.885L301.687 82.464Z' fill='%23D60812'/%3E%3Cpath d='M371.807 30.173H363.055V17.499H339.055V30.173H330.297V52.118H339.055V90.463H363.055V52.118H371.807V30.173Z' fill='%23D60812'/%3E%3C/svg%3E%0A");
    --theme-alt-logo: url("data:image/svg+xml,%3Csvg width='174' height='120' viewBox='0 0 174 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26.828 68.873H30.1C34.854 68.873 41.72 68.755 41.72 61.316C41.72 53.763 34.327 53.882 29.677 53.882H26.828V68.873ZM29.47 34.812C33.695 34.812 38.451 34.334 38.451 28.094C38.451 21.382 33.063 21.86 28.837 21.86H26.828V34.812H29.47ZM0 0.0320206H33.695C49.117 0.0320206 64.856 4.23202 64.856 25.097C64.856 33.012 61.369 40.807 54.399 43.326V44.049C63.06 47.527 68.552 54.719 68.552 65.518C68.552 84.108 53.344 90.462 39.4 90.462H0V0.0320206Z' fill='%23003477'/%3E%3Cpath d='M174 98H0V120H174V98Z' fill='%23003477'/%3E%3Cpath d='M136.515 90.463H116.468L104.358 59.805V90.463H79V0H112.437L126.491 42.527L140.544 0H173.985V90.463H148.624V62.822L136.515 90.463Z' fill='%23D60812'/%3E%3C/svg%3E%0A");
    --theme-text-color: #1c232d;
    --theme-o95-primary-color: color-mix(in srgb, var(--theme-primary-color) 95%, var(--theme-card-color));
    --theme-o90-primary-color: color-mix(in srgb, var(--theme-primary-color) 90%, var(--theme-card-color));
    --theme-o85-primary-color: color-mix(in srgb, var(--theme-primary-color) 85%, var(--theme-card-color));
    --theme-o80-primary-color: color-mix(in srgb, var(--theme-primary-color) 80%, var(--theme-card-color));
    --theme-o75-primary-color: color-mix(in srgb, var(--theme-primary-color) 75%, var(--theme-card-color));
    --theme-o70-primary-color: color-mix(in srgb, var(--theme-primary-color) 70%, var(--theme-card-color));
    --theme-o65-primary-color: color-mix(in srgb, var(--theme-primary-color) 65%, var(--theme-card-color));
    --theme-o60-primary-color: color-mix(in srgb, var(--theme-primary-color) 60%, var(--theme-card-color));
    --theme-o55-primary-color: color-mix(in srgb, var(--theme-primary-color) 55%, var(--theme-card-color));
    --theme-o50-primary-color: color-mix(in srgb, var(--theme-primary-color) 50%, var(--theme-card-color));
    --theme-o45-primary-color: color-mix(in srgb, var(--theme-primary-color) 45%, var(--theme-card-color));
    --theme-o40-primary-color: color-mix(in srgb, var(--theme-primary-color) 40%, var(--theme-card-color));
    --theme-o35-primary-color: color-mix(in srgb, var(--theme-primary-color) 35%, var(--theme-card-color));
    --theme-o30-primary-color: color-mix(in srgb, var(--theme-primary-color) 30%, var(--theme-card-color));
    --theme-o25-primary-color: color-mix(in srgb, var(--theme-primary-color) 25%, var(--theme-card-color));
    --theme-o20-primary-color: color-mix(in srgb, var(--theme-primary-color) 20%, var(--theme-card-color));
    --theme-o15-primary-color: color-mix(in srgb, var(--theme-primary-color) 15%, var(--theme-card-color));
    --theme-o10-primary-color: color-mix(in srgb, var(--theme-primary-color) 10%, var(--theme-card-color));
    --theme-o05-primary-color: color-mix(in srgb, var(--theme-primary-color) 5%, var(--theme-card-color));
    --theme-o04-primary-color: color-mix(in srgb, var(--theme-primary-color) 4%, var(--theme-card-color));
    --theme-o03-primary-color: color-mix(in srgb, var(--theme-primary-color) 3%, var(--theme-card-color));
    --theme-o02-primary-color: color-mix(in srgb, var(--theme-primary-color) 2%, var(--theme-card-color));
    --theme-o01-primary-color: color-mix(in srgb, var(--theme-primary-color) 1%, var(--theme-card-color));
    --theme-o95-text-color: color-mix(in srgb, var(--theme-text-color) 95%, var(--theme-card-color));
    --theme-o90-text-color: color-mix(in srgb, var(--theme-text-color) 90%, var(--theme-card-color));
    --theme-o85-text-color: color-mix(in srgb, var(--theme-text-color) 85%, var(--theme-card-color));
    --theme-o80-text-color: color-mix(in srgb, var(--theme-text-color) 80%, var(--theme-card-color));
    --theme-o75-text-color: color-mix(in srgb, var(--theme-text-color) 75%, var(--theme-card-color));
    --theme-o70-text-color: color-mix(in srgb, var(--theme-text-color) 70%, var(--theme-card-color));
    --theme-o65-text-color: color-mix(in srgb, var(--theme-text-color) 65%, var(--theme-card-color));
    --theme-o60-text-color: color-mix(in srgb, var(--theme-text-color) 60%, var(--theme-card-color));
    --theme-o55-text-color: color-mix(in srgb, var(--theme-text-color) 55%, var(--theme-card-color));
    --theme-o50-text-color: color-mix(in srgb, var(--theme-text-color) 50%, var(--theme-card-color));
    --theme-o45-text-color: color-mix(in srgb, var(--theme-text-color) 45%, var(--theme-card-color));
    --theme-o40-text-color: color-mix(in srgb, var(--theme-text-color) 40%, var(--theme-card-color));
    --theme-o35-text-color: color-mix(in srgb, var(--theme-text-color) 35%, var(--theme-card-color));
    --theme-o30-text-color: color-mix(in srgb, var(--theme-text-color) 30%, var(--theme-card-color));
    --theme-o25-text-color: color-mix(in srgb, var(--theme-text-color) 25%, var(--theme-card-color));
    --theme-o20-text-color: color-mix(in srgb, var(--theme-text-color) 20%, var(--theme-card-color));
    --theme-o15-text-color: color-mix(in srgb, var(--theme-text-color) 15%, var(--theme-card-color));
    --theme-o10-text-color: color-mix(in srgb, var(--theme-text-color) 10%, var(--theme-card-color));
    --theme-o05-text-color: color-mix(in srgb, var(--theme-text-color) 5%, var(--theme-card-color));
    --theme-o04-text-color: color-mix(in srgb, var(--theme-text-color) 4%, var(--theme-card-color));
    --theme-o03-text-color: color-mix(in srgb, var(--theme-text-color) 3%, var(--theme-card-color));
    --theme-o02-text-color: color-mix(in srgb, var(--theme-text-color) 2%, var(--theme-card-color));
    --theme-o01-text-color: color-mix(in srgb, var(--theme-text-color) 1%, var(--theme-card-color));
    --theme-card-border-color: var(--theme-o20-text-color);
    --theme-light-color: color-mix(in srgb, var(--theme-primary-color) 40%, var(--theme-card-color));
    --theme-dark-color: color-mix(in srgb, var(--theme-primary-color) 80%, var(--theme-text-color));
    --theme-danger-color: #f25959;
    --theme-dark-danger-color: color-mix(in srgb, var(--theme-danger-color) 80%, black);
    --theme-success-color: #28a745;
    --theme-dark-success-color: color-mix(in srgb, var(--theme-success-color) 80%, black);
    --theme-warning-color: #ffc107;
    --theme-dark-warning-color: color-mix(in srgb, var(--theme-warning-color) 80%, black);
    --theme-notice-color: #de6700;
    --theme-dark-notice-color: color-mix(in srgb, var(--theme-notice-color) 80%, black);
    --theme-info-color: #17a2b8;
    --theme-dark-info-color: color-mix(in srgb, var(--theme-info-color) 80%, black);
    --theme-o90-success-color: color-mix(in srgb, var(--theme-success-color) 90%, var(--theme-card-color));
    --theme-o80-success-color: color-mix(in srgb, var(--theme-success-color) 80%, var(--theme-card-color));
    --theme-o70-success-color: color-mix(in srgb, var(--theme-success-color) 70%, var(--theme-card-color));
    --theme-o60-success-color: color-mix(in srgb, var(--theme-success-color) 60%, var(--theme-card-color));
    --theme-o50-success-color: color-mix(in srgb, var(--theme-success-color) 50%, var(--theme-card-color));
    --theme-o40-success-color: color-mix(in srgb, var(--theme-success-color) 40%, var(--theme-card-color));
    --theme-o30-success-color: color-mix(in srgb, var(--theme-success-color) 30%, var(--theme-card-color));
    --theme-o20-success-color: color-mix(in srgb, var(--theme-success-color) 20%, var(--theme-card-color));
    --theme-o10-success-color: color-mix(in srgb, var(--theme-success-color) 10%, var(--theme-card-color));
    --theme-o90-danger-color: color-mix(in srgb, var(--theme-danger-color) 90%, var(--theme-card-color));
    --theme-o80-danger-color: color-mix(in srgb, var(--theme-danger-color) 80%, var(--theme-card-color));
    --theme-o70-danger-color: color-mix(in srgb, var(--theme-danger-color) 70%, var(--theme-card-color));
    --theme-o60-danger-color: color-mix(in srgb, var(--theme-danger-color) 60%, var(--theme-card-color));
    --theme-o50-danger-color: color-mix(in srgb, var(--theme-danger-color) 50%, var(--theme-card-color));
    --theme-o40-danger-color: color-mix(in srgb, var(--theme-danger-color) 40%, var(--theme-card-color));
    --theme-o30-danger-color: color-mix(in srgb, var(--theme-danger-color) 30%, var(--theme-card-color));
    --theme-o20-danger-color: color-mix(in srgb, var(--theme-danger-color) 20%, var(--theme-card-color));
    --theme-o10-danger-color: color-mix(in srgb, var(--theme-danger-color) 10%, var(--theme-card-color));
    --theme-o90-warning-color: color-mix(in srgb, var(--theme-warning-color) 90%, var(--theme-card-color));
    --theme-o80-warning-color: color-mix(in srgb, var(--theme-warning-color) 80%, var(--theme-card-color));
    --theme-o70-warning-color: color-mix(in srgb, var(--theme-warning-color) 70%, var(--theme-card-color));
    --theme-o60-warning-color: color-mix(in srgb, var(--theme-warning-color) 60%, var(--theme-card-color));
    --theme-o50-warning-color: color-mix(in srgb, var(--theme-warning-color) 50%, var(--theme-card-color));
    --theme-o40-warning-color: color-mix(in srgb, var(--theme-warning-color) 40%, var(--theme-card-color));
    --theme-o30-warning-color: color-mix(in srgb, var(--theme-warning-color) 30%, var(--theme-card-color));
    --theme-o20-warning-color: color-mix(in srgb, var(--theme-warning-color) 20%, var(--theme-card-color));
    --theme-o10-warning-color: color-mix(in srgb, var(--theme-warning-color) 10%, var(--theme-card-color));
    --theme-o90-info-color: color-mix(in srgb, var(--theme-info-color) 90%, var(--theme-card-color));
    --theme-o80-info-color: color-mix(in srgb, var(--theme-info-color) 80%, var(--theme-card-color));
    --theme-o70-info-color: color-mix(in srgb, var(--theme-info-color) 70%, var(--theme-card-color));
    --theme-o60-info-color: color-mix(in srgb, var(--theme-info-color) 60%, var(--theme-card-color));
    --theme-o50-info-color: color-mix(in srgb, var(--theme-info-color) 50%, var(--theme-card-color));
    --theme-o40-info-color: color-mix(in srgb, var(--theme-info-color) 40%, var(--theme-card-color));
    --theme-o30-info-color: color-mix(in srgb, var(--theme-info-color) 30%, var(--theme-card-color));
    --theme-o20-info-color: color-mix(in srgb, var(--theme-info-color) 20%, var(--theme-card-color));
    --theme-o10-info-color: color-mix(in srgb, var(--theme-info-color) 10%, var(--theme-card-color));
    --theme-o90-notice-color: color-mix(in srgb, var(--theme-notice-color) 90%, var(--theme-card-color));
    --theme-o80-notice-color: color-mix(in srgb, var(--theme-notice-color) 80%, var(--theme-card-color));
    --theme-o70-notice-color: color-mix(in srgb, var(--theme-notice-color) 70%, var(--theme-card-color));
    --theme-o60-notice-color: color-mix(in srgb, var(--theme-notice-color) 60%, var(--theme-card-color));
    --theme-o50-notice-color: color-mix(in srgb, var(--theme-notice-color) 50%, var(--theme-card-color));
    --theme-o40-notice-color: color-mix(in srgb, var(--theme-notice-color) 40%, var(--theme-card-color));
    --theme-o30-notice-color: color-mix(in srgb, var(--theme-notice-color) 30%, var(--theme-card-color));
    --theme-o20-notice-color: color-mix(in srgb, var(--theme-notice-color) 20%, var(--theme-card-color));
    --theme-o10-notice-color: color-mix(in srgb, var(--theme-notice-color) 10%, var(--theme-card-color));
    // A LETRA DO TEMA É A ROBOTO (JM, 2026-10-08: «verifica que todo o sistema utiliza Roboto, a fonte do tema»). O
    // legado (`C:\IMSDEV\Core\Main\Content\Scss\custom.scss`) punha aqui a Montserrat à frente, e como este ficheiro é
    // carregado DEPOIS do `ds.core.css` e vale para todo o `body.custom`, o Core inteiro saía em Montserrat em vez da
    // Roboto que o `ds.core.scss` declara. A `@font-face` da Montserrat, lá em cima, fica: sem quem a peça, o browser
    // não a descarrega.
    --theme-text-font: "Roboto", sans-serif;
    --theme-text-weight: 500;
    --theme-text-size: 12px;
    --theme-title-font: var(--theme-text-font);
    --theme-title-color: var(--theme-primary-color);
    --theme-title-size: 16px;
    --theme-title-weight: 660;
    --theme-title-transform: uppercase;
    --theme-header-color: var(--theme-primary-color);
    --theme-header-size: 16px;
    --theme-header-weight: 550;
    --theme-header-transform: uppercase;
    --theme-radius: 4px;
    --theme-footer-height: 25px;
    --theme-header-height: 60px;
    --theme-iframe-tabs-height: 35px;
    --theme-card-title-color: var(--theme-o50-text-color);
    --theme-card-title-size: var(--theme-text-size);
    --theme-input-color: var(--theme-card-color);
    --theme-input-padding: 2px;
    --theme-input-height: 25px;
    --theme-input-radius: var(--theme-radius);
    --theme-input-border-color: var(--theme-o20-text-color);
    --theme-input-text-color: var(--theme-text-color);
    --theme-input-text-weight: var(--theme-text-weight);
    --theme-input-text-font: var(--theme-text-font);
    --theme-input-text-size: 13px;
    --theme-input-disabled-color: var(--theme-o05-text-color);
    --theme-input-disabled-padding: var(--theme-input-padding);
    --theme-input-disabled-border-color: var(--theme-input-border-color);
    --theme-input-disabled-border-radius: var(--theme-input-radius);
    --theme-input-disabled-text-color: var(--theme-o60-text-color);
    --theme-input-disabled-text-weight: var(--theme-input-text-weight);
    --theme-input-disabled-text-font: var(--theme-input-text-font);
    --theme-input-disabled-text-size: var(--theme-input-text-size);
    --theme-label-color: var(--theme-primary-color);
    --theme-label-padding: 4px;
    --theme-label-weight: 700;
    --theme-label-font: var(--theme-text-font);
    --theme-label-size: var(--theme-text-size);
    --theme-icon-font-toolbar-size: 35px;
    --theme-icon-toolbar-size: 35px;
    --theme-icon-toolbar-spacing-size: 4px;
    --theme-icon-toolbar-border-width: 0px;
    --theme-icon-toolbar-color: var(--theme-primary-color);
    --theme-main-content-menu-height: 28px;
    --theme-icon-toolbar-border-width: 2px;
    --theme-module-header-size: calc(var(--theme-icon-toolbar-size) + (var(--theme-icon-toolbar-spacing-size) * 2));
}
*/
body.portia-login {
  background-color: var(--theme-primary-color);
}

.portia-login-fundo {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.portia-login-fundo.visivel {
  opacity: 1;
}

body.portia-login::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary-color) 92%, black) 0%, color-mix(in srgb, var(--theme-primary-color) 70%, transparent) 55%, color-mix(in srgb, var(--theme-primary-color) 88%, black) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .portia-login-fundo {
    transition: none;
  }
}
.portia-login-palco {
  gap: 72px;
}
.portia-login-palco .portia-login-cartao {
  flex: 0 0 auto;
}

.portia-montra {
  flex: 0 1 500px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.portia-montra-etiqueta {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: var(--theme-radius-pill);
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}

.portia-montra-titulo {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.portia-montra-promessa {
  margin: 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
  .portia-login-palco {
    gap: 0;
  }
  .portia-montra {
    display: none;
  }
}
body footer.portia-login-rodape {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(8px);
  color: #fff;
}

.portia-login-assinatura {
  display: flex;
  align-items: center;
  gap: 8px;
}
.portia-login-assinatura small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.portia-login-assinatura i {
  font-size: 15px;
}

.portia-login-lingua {
  display: flex;
  align-items: center;
  gap: 8px;
}
.portia-login-lingua select.form-control {
  width: auto !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  padding: 0 24px 0 26px !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  background-color: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: var(--theme-radius-pill) !important;
  color: #fff !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: var(--bandeira), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat !important;
}
.portia-login-lingua select.form-control:hover {
  background-color: rgba(255, 255, 255, 0.26) !important;
}
.portia-login-lingua select.form-control:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22) !important;
}
.portia-login-lingua select.form-control option {
  color: var(--theme-text-color);
  background-color: var(--theme-card-color);
}

.portia-login-palco {
  min-height: calc(100vh - 38px);
  padding-bottom: 24px;
}

body footer .portia-login-lingua select#portia-lingua.form-control {
  background-position: left 5px center, right 8px center !important;
  background-size: 16px 16px, 9px 6px !important;
}

body.custom[data-role=Leitor] {
  background-color: color-mix(in srgb, var(--theme-primary-color) 6%, var(--theme-background-color));
}
body.custom[data-role=Leitor] .main-sidebar,
body.custom[data-role=Leitor] .dsims-main-tabs,
body.custom[data-role=Leitor] .main-header .nav-item.search,
body.custom[data-role=Leitor] .main-header .dsims-pushmenu-cabecalho {
  display: none !important;
}
body.custom[data-role=Leitor] .main-header.navbar {
  background: var(--theme-primary-color);
  box-shadow: none;
  border-bottom: 0;
}
body.custom[data-role=Leitor] .main-header.navbar > .navbar-nav.w-100 {
  justify-content: flex-end;
}
body.custom[data-role=Leitor] .main-header.navbar .dsims-marca-simbolo,
body.custom[data-role=Leitor] .main-header.navbar .dsims-marca-texto,
body.custom[data-role=Leitor] .main-header.navbar .dsims-header-pill,
body.custom[data-role=Leitor] .main-header.navbar .dsims-header-pill-label,
body.custom[data-role=Leitor] .main-header.navbar .dsims-empresa-icone,
body.custom[data-role=Leitor] .main-header.navbar .dsims-empresa-icone > i,
body.custom[data-role=Leitor] .main-header.navbar .dsims-utilizador-seta {
  color: var(--theme-negative-contrast-color) !important;
}
body.custom[data-role=Leitor] .main-header.navbar .dsims-header-pill-sub {
  color: var(--theme-negative-contrast-color) !important;
  opacity: 0.8;
}
body.custom[data-role=Leitor] .main-header.navbar .dsims-header-pill:hover,
body.custom[data-role=Leitor] .main-header.navbar .dsims-header-pill:focus {
  background-color: color-mix(in srgb, var(--theme-negative-contrast-color) 14%, transparent) !important;
}
body.custom[data-role=Leitor] .main-header.navbar .portia-notif-botao {
  background-color: color-mix(in srgb, var(--theme-negative-contrast-color) 18%, transparent);
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=Leitor] .main-footer {
  background-color: var(--theme-primary-color) !important;
  border-top: 0;
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=Leitor] .main-footer a,
body.custom[data-role=Leitor] .main-footer small,
body.custom[data-role=Leitor] .main-footer i,
body.custom[data-role=Leitor] .main-footer .text-primary,
body.custom[data-role=Leitor] .main-footer .link-primary {
  color: var(--theme-negative-contrast-color) !important;
}
body.custom[data-role=Leitor] .main-footer a:hover {
  opacity: 0.8;
}
body.custom[data-role=Leitor] .portia-leitor-busca {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 0 24px;
  min-width: 0;
}
body.custom[data-role=Leitor] .portia-leitor-busca-caixa {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 27px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background-color: var(--theme-card-color);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--theme-text-color) 8%, transparent);
  cursor: text;
}
body.custom[data-role=Leitor] .portia-leitor-busca-caixa > i {
  color: var(--theme-o60-text-color);
  font-size: 12px;
}
body.custom[data-role=Leitor] .portia-leitor-busca-caixa:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-negative-contrast-color) 35%, transparent);
}
body.custom[data-role=Leitor] .portia-leitor-busca-campo {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--theme-text-color);
  font-family: inherit;
  font-size: 12px;
}
body.custom[data-role=Leitor] .portia-leitor-busca-campo::placeholder {
  color: var(--theme-o60-text-color);
}
body.custom[data-role=Leitor] .content-wrapper {
  margin-left: 0 !important;
  background-color: transparent;
}
body.custom[data-role=Leitor] .content-wrapper.iframe-mode .tab-content {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0;
  background-color: transparent;
  box-shadow: 0 0 0 transparent;
}
body.custom[data-role=Leitor] .content-wrapper.iframe-mode .tab-content > .tab-pane,
body.custom[data-role=Leitor] .content-wrapper.iframe-mode .tab-content iframe {
  height: 100% !important;
}
body.custom[data-role=Leitor] .content-wrapper.iframe-mode .tab-content iframe {
  border-radius: 10px;
  background-color: var(--theme-card-color);
  box-shadow: var(--theme-drop-shadow);
}

body.custom[data-role=Leitor].portia-cheio {
  background-color: var(--theme-background-color);
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 6px 12px;
  padding: 26px 34px;
  min-height: 150px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--theme-negative-contrast-color);
  background: linear-gradient(120deg, color-mix(in srgb, var(--theme-primary-color) 80%, var(--theme-text-color)) 0%, var(--theme-primary-color) 55%, color-mix(in srgb, var(--theme-primary-color) 75%, var(--theme-info-color)) 100%);
  box-shadow: var(--theme-drop-shadow);
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-texto {
  position: relative;
  z-index: 1;
  min-width: 0;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--theme-negative-contrast-color) 18%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-titulo {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: inherit;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-pergunta {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 500;
  opacity: 0.92;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero {
  padding-right: 230px;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-arte {
  position: absolute;
  z-index: 1;
  top: 12px;
  bottom: -8px;
  right: 48px;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-arte > svg {
  display: block;
  height: 100%;
  width: auto;
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-arte .leitor-arte-fundo {
  fill: color-mix(in srgb, var(--theme-primary-color) 8%, var(--theme-negative-contrast-color));
}
body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-arte .leitor-arte-destaque {
  fill: var(--theme-primary-color);
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items {
  gap: 8px;
  padding: 4px 8px 8px;
  border-bottom: 0;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items::after, body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items::before {
  display: none !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item {
  border: 0 !important;
  border-radius: 999px !important;
  background-color: var(--theme-card-color) !important;
  margin: 0 10px 0 0 !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item .k-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 15px !important;
  border: 0 !important;
  font-weight: 600;
  text-transform: none;
  color: var(--theme-text-color);
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item .portia-leitor-separador-icone {
  font-size: 15px;
  color: var(--theme-o60-text-color);
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item.k-state-active .portia-leitor-separador-icone {
  color: inherit;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item {
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item .k-link,
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item .portia-leitor-separador-icone {
  transition: color 0.15s ease;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item:not(.k-state-active):hover {
  background-color: color-mix(in srgb, var(--theme-primary-color) 8%, var(--theme-card-color)) !important;
  border-color: color-mix(in srgb, var(--theme-primary-color) 45%, var(--theme-card-color)) !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--theme-primary-color) 18%, transparent);
  transform: translateY(-1px);
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item:not(.k-state-active):hover .k-link,
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item:not(.k-state-active):hover .portia-leitor-separador-icone {
  color: var(--theme-primary-color) !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item.k-state-active {
  border-radius: 999px !important;
  background-color: var(--theme-primary-color) !important;
  border-color: var(--theme-primary-color) !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs.k-tabstrip > .k-tabstrip-items > .k-item.k-state-active .k-link {
  color: var(--theme-negative-contrast-color) !important;
}
body.custom[data-role=Leitor].portia-cheio .card {
  border-radius: 10px;
  border: 0;
  overflow: hidden;
}
body.custom[data-role=Leitor].portia-cheio .card-title,
body.custom[data-role=Leitor].portia-cheio .readings-card-title,
body.custom[data-role=Leitor].portia-cheio .mylibrary-card-title {
  font-family: var(--theme-title-font, inherit);
}
body.custom[data-role=Leitor].portia-cheio .readings-card,
body.custom[data-role=Leitor].portia-cheio .mylibrary-card {
  border-radius: 10px;
}
body.custom[data-role=Leitor].portia-cheio #List_Readings_Grid,
body.custom[data-role=Leitor].portia-cheio #List_MyLibrary_Grid,
body.custom[data-role=Leitor].portia-cheio #List_History_Grid {
  background-color: transparent !important;
}
body.custom[data-role=Leitor].portia-cheio #List_Readings_Grid > .k-grid-toolbar,
body.custom[data-role=Leitor].portia-cheio #List_MyLibrary_Grid > .k-grid-toolbar,
body.custom[data-role=Leitor].portia-cheio #List_History_Grid > .k-grid-toolbar {
  display: none !important;
}
body.custom[data-role=Leitor].portia-cheio #List_Readings_Grid > .k-grid-content,
body.custom[data-role=Leitor].portia-cheio #List_Readings_Grid table,
body.custom[data-role=Leitor].portia-cheio #List_Readings_Grid tbody[role=rowgroup],
body.custom[data-role=Leitor].portia-cheio #List_MyLibrary_Grid > .k-grid-content,
body.custom[data-role=Leitor].portia-cheio #List_MyLibrary_Grid table,
body.custom[data-role=Leitor].portia-cheio #List_MyLibrary_Grid tbody[role=rowgroup],
body.custom[data-role=Leitor].portia-cheio #List_History_Grid > .k-grid-content,
body.custom[data-role=Leitor].portia-cheio #List_History_Grid table,
body.custom[data-role=Leitor].portia-cheio #List_History_Grid tbody[role=rowgroup] {
  background-color: transparent !important;
  padding: 0 !important;
}
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_Readings_Grid),
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_MyLibrary_Grid),
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_History_Grid) {
  background-color: transparent !important;
  box-shadow: none !important;
}
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_Readings_Grid) > .card-body,
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_MyLibrary_Grid) > .card-body,
body.custom[data-role=Leitor].portia-cheio .card:has(> .card-body > #List_History_Grid) > .card-body {
  background-color: transparent !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) {
  height: auto !important;
  overflow: visible !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) .dsims-fit-row {
  height: auto !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) .dsims-fit-col,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) .card,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) .card-body {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_Readings_Grid,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_MyLibrary_Grid,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_History_Grid {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
}
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_Readings_Grid > .k-grid-content,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_MyLibrary_Grid > .k-grid-content,
body.custom[data-role=Leitor].portia-cheio #portia-tabs > .k-content:has(#List_Readings_Grid, #List_MyLibrary_Grid, #List_History_Grid) #List_History_Grid > .k-grid-content {
  flex: 0 0 auto !important;
  height: auto !important;
  overflow: visible !important;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural tbody[role=rowgroup] > tr {
  padding-bottom: 0 !important;
  outline: 0 !important;
  border-bottom: 0 !important;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural tbody[role=rowgroup] {
  gap: 16px 18px !important;
  padding: 18px !important;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural tbody[role=rowgroup] > tr > td {
  box-shadow: 0 2px 8px color-mix(in srgb, var(--theme-text-color) 9%, transparent) !important;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card {
  column-gap: 20px;
  padding: 16px 18px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-cover,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-cover {
  width: 116px;
  height: 152px;
  border: 0;
  border-radius: 6px;
  background-color: color-mix(in srgb, var(--theme-text-color) 7%, var(--theme-card-color));
  box-shadow: 0 2px 6px color-mix(in srgb, var(--theme-text-color) 16%, transparent);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-cover i,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-cover i {
  font-size: 44px;
  color: color-mix(in srgb, var(--theme-text-color) 28%, var(--theme-card-color));
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-body,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-body {
  gap: 10px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-title,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-subtitle {
  margin-top: -4px;
  font-size: 13px;
  color: var(--theme-o60-text-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-type,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--theme-primary-color) 25%, transparent);
  background-color: color-mix(in srgb, var(--theme-primary-color) 8%, var(--theme-card-color));
  font-size: 11px;
  font-weight: 600;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-card-type i,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-type i {
  font-size: 10px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-meta-tag {
  gap: 7px;
  padding: 4px 10px;
  border: 0;
  border-radius: 5px;
  background-color: color-mix(in srgb, var(--theme-text-color) 6%, var(--theme-card-color));
  color: var(--theme-text-color);
  font-size: 12px;
  font-weight: 600;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-meta-tag i {
  font-size: 11px;
  opacity: 1;
  color: var(--theme-o70-text-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-meta-tag {
  font-size: 12.5px;
  color: var(--theme-o70-text-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-actions,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-card-actions {
  gap: 10px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn {
  width: 34px;
  height: 34px;
  border: 0 !important;
  background-color: color-mix(in srgb, var(--theme-text-color) 7%, var(--theme-card-color));
  color: var(--theme-o70-text-color);
  box-shadow: none;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn i,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn i {
  font-size: 13px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn:hover, body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn--ghost:hover,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn:hover,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--ghost:hover {
  background-color: color-mix(in srgb, var(--theme-text-color) 13%, var(--theme-card-color));
  color: var(--theme-text-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn--primary,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--primary {
  background-color: color-mix(in srgb, var(--theme-primary-color) 12%, var(--theme-card-color));
  color: var(--theme-primary-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn--primary:hover,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--primary:hover {
  background-color: var(--theme-primary-color);
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn--danger,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--danger {
  background-color: var(--theme-danger-color);
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-icon-btn--danger:hover,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--danger:hover {
  background-color: color-mix(in srgb, var(--theme-danger-color) 85%, var(--theme-text-color));
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--disabled,
body.custom[data-role=Leitor].portia-cheio .dsims-mural .mylibrary-icon-btn--disabled:hover {
  background-color: color-mix(in srgb, var(--theme-text-color) 7%, var(--theme-card-color));
  color: var(--theme-o70-text-color);
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-progress-wrap {
  gap: 10px;
  margin-top: 2px;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-progress-wrap small {
  font-size: 11px;
  color: var(--theme-o60-text-color) !important;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-progress-wrap small:last-child {
  min-width: 30px;
  text-align: right;
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-progress-wrap .dsims-progresso {
  flex: 1 1 auto;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--theme-text-color) 9%, var(--theme-card-color));
}
body.custom[data-role=Leitor].portia-cheio .dsims-mural .readings-progress-wrap .dsims-progresso span {
  min-width: 6px;
  border-radius: 999px;
  background-color: var(--theme-success-color);
}
body.custom[data-role=Leitor].portia-cheio .lib-plan-actions .btn {
  border-radius: 999px;
}

@media (max-width: 575.98px) {
  body.custom[data-role=Leitor] .portia-leitor-busca {
    margin-left: 8px;
  }
  body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero {
    padding: 16px 18px;
    min-height: 0;
  }
  body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-titulo {
    font-size: 22px;
  }
  body.custom[data-role=Leitor].portia-cheio .portia-leitor-hero-arte {
    display: none;
  }
}
body.custom[data-role=POS] {
  --pos-cabecalho: 50px;
}
body.custom[data-role=POS] .main-footer,
body.custom[data-role=POS] .main-sidebar,
body.custom[data-role=POS] .dsims-main-tabs {
  display: none !important;
}
body.custom[data-role=POS] .main-header .nav-item.search,
body.custom[data-role=POS] .main-header .dsims-pushmenu-cabecalho,
body.custom[data-role=POS] .main-header .dsims-empresa {
  display: none !important;
}
body.custom[data-role=POS] .main-header > .navbar-nav.w-100 {
  justify-content: flex-end;
}
body.custom[data-role=POS] .main-header.navbar {
  background: var(--theme-primary-color);
  box-shadow: none;
  border-bottom: 0;
  height: var(--pos-cabecalho) !important;
  min-height: var(--pos-cabecalho) !important;
  align-items: center;
}
body.custom[data-role=POS] .main-header.navbar .dsims-marca-simbolo,
body.custom[data-role=POS] .main-header.navbar .dsims-marca-texto,
body.custom[data-role=POS] .main-header.navbar .dsims-marca-logo,
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill,
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill-texto,
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill-label,
body.custom[data-role=POS] .main-header.navbar .dsims-utilizador-seta {
  color: var(--theme-negative-contrast-color) !important;
  fill: currentColor;
}
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill-sub {
  color: var(--theme-negative-contrast-color) !important;
  opacity: 0.8;
}
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill:hover,
body.custom[data-role=POS] .main-header.navbar .dsims-header-pill:focus {
  background-color: color-mix(in srgb, var(--theme-negative-contrast-color) 14%, transparent) !important;
}
body.custom[data-role=POS] .main-header.navbar .portia-notif-botao {
  background-color: color-mix(in srgb, var(--theme-negative-contrast-color) 18%, transparent);
  color: var(--theme-negative-contrast-color);
}
body.custom[data-role=POS] .content-wrapper {
  height: calc(100vh - var(--pos-cabecalho)) !important;
  margin-left: 0 !important;
  padding: 0 !important;
}
body.custom[data-role=POS] .content-wrapper.iframe-mode .tab-content {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0;
}
body.custom[data-role=POS] .content-wrapper.iframe-mode .tab-content > .tab-pane,
body.custom[data-role=POS] .content-wrapper.iframe-mode .tab-content iframe {
  height: 100% !important;
}
