/* HumanPix Cloud visual refinements. Loaded after the legacy template. */
body.hp-cloud-shell,
body.hp-cloud-login {
    background: #f5f8fb;
    color: #263746;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

.hp-cloud-shell .header.navbar-inverse {
    background: #ffffff;
    border-bottom: 1px solid #e3ebf2;
    box-shadow: 0 10px 28px rgba(21, 46, 68, 0.08);
}

.hp-cloud-shell .header-seperation {
    background: #143047;
}

.hp-cloud-shell .header .logo {
    height: auto;
}

.hp-cloud-shell .header-quick-nav select {
    border: 1px solid #d5e2ec;
    border-radius: 6px;
    color: #243847;
    height: 34px;
    padding: 5px 10px;
}

.hp-cloud-shell .header-quick-nav a {
    color: #274052;
    font-weight: 700;
}

.hp-cloud-shell .page-sidebar,
.hp-cloud-shell .page-sidebar-wrapper {
    background: #10283d;
}

.hp-cloud-shell .page-sidebar ul > li > a {
    border-radius: 6px;
    color: rgba(255,255,255,0.82);
    margin: 3px 10px;
    padding: 11px 13px;
}

.hp-cloud-shell .page-sidebar ul > li > a:hover,
.hp-cloud-shell .page-sidebar ul > li.active > a {
    background: rgba(52, 118, 190, 0.22);
    color: #ffffff;
}

.hp-cloud-shell .page-content {
    background: #f5f8fb;
}

.hp-cloud-shell .content {
    padding-top: 86px;
}

.hp-cloud-shell .page-title {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.hp-cloud-shell .page-title i {
    background: #eaf3ff;
    border-radius: 8px;
    color: #3476be;
    display: inline-flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    line-height: 42px;
    text-align: center;
    width: 42px;
}

.hp-cloud-shell .page-title h1 {
    color: #1d3345;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.hp-cloud-dashboard {
    margin: 0 auto;
    max-width: 1220px;
}

.hp-dashboard-hero {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dce8f4;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(20, 48, 71, 0.09);
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 22px;
    overflow: hidden;
    padding: 26px;
}

.hp-dashboard-hero-copy {
    background: #f7fbff;
    border: 1px solid #e2edf8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 32px;
}

.hp-cloud-page-label {
    color: #6c7f91;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.hp-dashboard-hero h1 {
    color: #142f47;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 12px;
}

.hp-dashboard-hero p {
    color: #5b7082;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 24px;
    max-width: 640px;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-primary-action,
.hp-secondary-action,
.hp-storage-link {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    min-height: 42px;
    padding: 10px 15px;
}

.hp-primary-action {
    background: #3476be;
    border: 1px solid #3476be;
    color: #ffffff;
}

.hp-primary-action:hover {
    background: #276ebb;
    border-color: #276ebb;
    color: #ffffff;
    text-decoration: none;
}

.hp-secondary-action,
.hp-storage-link {
    background: #ffffff;
    border: 1px solid #cddded;
    color: #274b6d;
}

.hp-secondary-action:hover,
.hp-storage-link:hover {
    background: #edf6ff;
    border-color: #9bc8f3;
    color: #1f5f9f;
    text-decoration: none;
}

.hp-storage-panel {
    display: block;
}

.hp-storage-card {
    background: #12344f;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 300px;
    padding: 26px;
}

.hp-storage-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hp-storage-header span {
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.hp-storage-header strong {
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    line-height: 0.95;
}

.hp-storage-progress {
    background: rgba(255,255,255,0.18) !important;
    border-radius: 999px !important;
    height: 9px !important;
    margin: 0 0 16px !important;
}

.hp-storage-progress .progress-bar {
    background: #ffffff !important;
    border-radius: 999px;
}

.hp-storage-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
}

.hp-storage-metrics div,
.hp-company-usage-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    padding: 13px;
}

.hp-storage-metrics small,
.hp-company-usage-item small {
    color: rgba(255,255,255,0.74);
    display: block;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hp-storage-metrics strong,
.hp-company-usage-item strong,
.hp-company-usage-item span {
    color: #ffffff;
    display: block;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.hp-dashboard-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    margin-bottom: 22px;
}

.hp-panel {
    background: #ffffff;
    border: 1px solid #dfeaf3;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 48, 71, 0.07);
    padding: 22px;
}

.hp-panel-title {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hp-panel-title h2 {
    color: #17324a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.hp-panel-title > i {
    background: #eaf3ff;
    border-radius: 8px;
    color: #3476be;
    flex: 0 0 auto;
    font-size: 19px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    width: 42px;
}

.hp-panel-title-row {
    align-items: center;
}

.hp-panel-copy {
    color: #647889;
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 15px;
}

.hp-search-form {
    align-items: stretch;
    display: flex;
    gap: 10px;
}

.hp-search-input-wrap {
    flex: 1 1 auto;
    position: relative;
}

.hp-search-input-wrap > i {
    color: #7590a7;
    left: 14px;
    position: absolute;
    top: 13px;
    z-index: 2;
}

.hp-search-input-wrap .form-control {
    height: 48px;
    padding-left: 42px;
}

.hp-search-button {
    min-width: 130px;
}

.hp-shortcuts {
    display: grid;
    gap: 10px;
}

.hp-shortcuts a {
    align-items: center;
    background: #f6faff;
    border: 1px solid #dbe9f6;
    border-radius: 8px;
    color: #274b6d;
    display: flex;
    font-weight: 900;
    gap: 11px;
    min-height: 48px;
    padding: 11px 13px;
}

.hp-shortcuts a:hover {
    background: #edf6ff;
    border-color: #9bc8f3;
    color: #1f5f9f;
    text-decoration: none;
}

.hp-shortcuts i {
    color: #3476be;
    font-size: 17px;
    text-align: center;
    width: 18px;
}

.hp-recent-panel {
    margin-bottom: 28px;
}

.hp-table-wrap {
    overflow-x: auto;
}

.hp-procedures-table {
    margin-bottom: 0;
}

.hp-procedures-table .hp-patient-cell {
    color: #17324a;
    font-weight: 900;
}

.hp-procedures-table .hp-count-cell span {
    background: #eef6ff;
    border: 1px solid #d6e7f8;
    border-radius: 999px;
    color: #1f5f9f;
    display: inline-block;
    font-weight: 900;
    min-width: 34px;
    padding: 4px 9px;
    text-align: center;
}

.hp-row-actions {
    min-width: 145px;
    width: 145px;
}

.hp-row-actions .btn {
    min-height: 34px;
}

.hp-empty-state {
    align-items: center;
    background: #f7fbff;
    border: 1px dashed #b8d3ee;
    border-radius: 8px;
    color: #506b82;
    display: flex;
    gap: 12px;
    padding: 22px;
}

.hp-empty-state i {
    color: #3476be;
    font-size: 22px;
}

.hp-company-usage {
    display: block;
    margin-bottom: 22px;
}

.hp-company-usage .hp-panel {
    background: #12344f;
    color: #ffffff;
}

.hp-company-usage .hp-panel-title h2,
.hp-company-usage .hp-panel-title > i,
.hp-company-usage .hp-cloud-kicker {
    color: #ffffff;
}

.hp-company-usage .hp-panel-title > i {
    background: rgba(255,255,255,0.14);
}

.hp-company-usage-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hp-cloud-welcome {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2ebf2;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(28, 55, 78, 0.08);
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 22px;
}

.hp-cloud-kicker {
    color: #3476be;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.hp-cloud-welcome h2 {
    color: #1f3447;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.hp-cloud-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.hp-cloud-actions a {
    align-items: center;
    background: #3476be;
    border: 1px solid #3476be;
    border-radius: 6px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
}

.hp-cloud-actions a:hover {
    background: #276ebb;
    border-color: #276ebb;
    color: #ffffff;
    text-decoration: none;
}

.hp-cloud-shell .grid.simple {
    border: 1px solid #e1eaf2;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(27, 55, 78, 0.07);
    overflow: visible;
}

.hp-cloud-shell .grid.simple .grid-body {
    border-radius: 8px;
    padding: 22px;
}

.hp-cloud-shell .grid.simple h3 {
    color: #20384c;
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
}

.hp-cloud-shell .form-control,
.hp-cloud-shell input[type="text"],
.hp-cloud-shell input[type="password"],
.hp-cloud-shell select {
    border: 1px solid #d8e3ec;
    border-radius: 6px;
    box-shadow: none;
    min-height: 40px;
}

.hp-cloud-shell .form-control:focus,
.hp-cloud-shell input[type="text"]:focus,
.hp-cloud-shell input[type="password"]:focus,
.hp-cloud-shell select:focus {
    border-color: #3476be;
    box-shadow: 0 0 0 3px rgba(52, 118, 190, 0.16);
    outline: none;
}

.hp-cloud-shell .hp-field-focus label {
    color: #3476be;
}

.hp-cloud-shell .busca_home .col-xs-12 {
    position: relative;
}

.hp-cloud-shell .btn-success,
.hp-cloud-login .btn-success {
    background: #3476be;
    border-color: #3476be;
    border-radius: 6px;
    box-shadow: none;
    color: #ffffff;
    font-weight: 800;
    text-shadow: none;
}

.hp-cloud-shell .btn-success:hover,
.hp-cloud-login .btn-success:hover {
    background: #276ebb;
    border-color: #276ebb;
}

.hp-cloud-shell .btn-white {
    border: 1px solid #dce6ee;
    border-radius: 6px;
    color: #263746;
    font-weight: 700;
}

.hp-cloud-shell .tiles.cloud-status {
    background: #12344f !important;
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(19, 52, 79, 0.2);
    overflow: hidden;
}

.hp-cloud-shell .tiles.cloud-status .tiles-body {
    background: linear-gradient(135deg, #12344f 0%, #1d5f9d 52%, #3476be 100%);
    border-radius: 8px;
    padding: 24px;
}

.hp-cloud-shell .tiles.cloud-status h3 {
    font-size: 21px;
    font-weight: 800;
    margin-top: 0;
}

.hp-cloud-shell .tiles.cloud-status .heading {
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.hp-storage-insight {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    color: #ffffff;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin: 5px 0 16px;
    padding: 8px 10px;
}

.hp-cloud-shell .tiles.cloud-status .description {
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    color: #ffffff;
    margin: 5px 10px 5px 0;
    min-width: 210px;
    padding: 12px 14px;
}

.hp-cloud-shell .tiles.cloud-status .text-espaco {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.hp-cloud-shell .tiles.cloud-status.hp-storage-attention .tiles-body {
    background: linear-gradient(135deg, #12344f 0%, #9b5c11 56%, #c77818 100%);
}

.hp-cloud-shell .tiles.cloud-status.hp-storage-critical .tiles-body {
    background: linear-gradient(135deg, #3a1721 0%, #9a2639 56%, #d64d4d 100%);
}

.hp-storage-card.hp-storage-attention {
    background: #8b6414;
}

.hp-storage-card.hp-storage-critical {
    background: #8e2436;
}

.hp-cloud-shell .table {
    color: #263746;
}

.hp-cloud-shell .table > thead > tr > th {
    background: #f1f6f9;
    border-bottom: 1px solid #dce7ef;
    color: #4f6475;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hp-cloud-shell .table > tbody > tr > td {
    border-top: 1px solid #edf2f6;
    vertical-align: middle;
}

.hp-cloud-shell .table > tbody > tr:hover > td {
    background: #f8fbfd;
}

.hp-cloud-shell #autocomplete {
    left: 0;
    max-width: 100%;
    position: absolute;
    right: 0;
    top: 45px;
    z-index: 20;
}

.hp-cloud-shell #autocomplete .btn {
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(28, 55, 78, 0.12);
    margin-bottom: 6px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
}

.hp-autocomplete-empty {
    color: #657789;
    cursor: default;
}

.hp-cloud-login {
    background: #edf5f6;
    min-height: 100%;
}

.hp-cloud-login .hp-login-shell {
    align-items: stretch;
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1060px;
    min-height: 100vh;
    padding: 42px 18px;
}

.hp-login-panel,
.hp-login-card {
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(20, 48, 71, 0.16);
}

.hp-login-panel {
    background: #12344f;
    color: #ffffff;
    display: flex;
    flex: 1 1 54%;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    overflow: hidden;
    padding: 34px;
}

.hp-login-panel:after {
    background: linear-gradient(135deg, rgba(52,118,190,0.36), rgba(18,105,138,0.2));
    content: "";
    height: 180px;
    margin: 28px -34px -34px;
}

.hp-login-brand {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.hp-login-brand img {
    background: #ffffff;
    border-radius: 8px;
    height: auto;
    padding: 12px 14px;
}

.hp-login-brand span {
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 999px;
    color: rgba(255,255,255,0.86);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 11px;
    text-transform: uppercase;
}

.hp-login-copy {
    max-width: 620px;
}

.hp-login-kicker {
    color: #9bc8f3;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hp-login-copy h1 {
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.16;
    margin: 0 0 14px;
}

.hp-login-copy p {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}

.hp-login-card {
    align-self: center;
    background: #ffffff;
    flex: 0 1 390px;
    padding: 30px;
}

.hp-login-card-header {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.hp-login-card-header > i {
    background: #eaf3ff;
    border-radius: 8px;
    color: #3476be;
    font-size: 20px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    width: 44px;
}

.hp-login-card h2 {
    color: #1e3447;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 4px;
}

.hp-login-card p {
    color: #627487;
    line-height: 1.45;
    margin: 0;
}

.hp-login-form .form-group {
    margin-bottom: 16px;
}

.hp-login-form label {
    color: #31485c;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.hp-login-form .form-control {
    border: 1px solid #d8e4ec;
    border-radius: 6px;
    box-shadow: none;
    height: 44px;
}

.hp-login-form .form-control:focus {
    border-color: #3476be;
    box-shadow: 0 0 0 3px rgba(52, 118, 190, 0.16);
}

.hp-login-row {
    margin-bottom: 17px;
}

.hp-remember {
    align-items: center;
    display: flex !important;
    gap: 8px;
    margin: 0;
}

.hp-login-button {
    height: 44px;
    margin: 0 0 16px;
    width: 100%;
}

.hp-login-link {
    color: #276ebb;
    display: inline-block;
    font-weight: 800;
}

.hp-cloud-login #lblErro,
.hp-cloud-login [id$="lblErro"] {
    color: #b4233b;
    display: block;
    font-weight: 800;
    margin-bottom: 12px;
}

.hp-is-loading {
    opacity: 0.72;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hp-cloud-login .hp-login-shell,
    .hp-cloud-welcome {
        flex-direction: column;
    }

    .hp-dashboard-hero,
    .hp-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hp-login-panel {
        flex: 0 0 auto;
        min-height: 320px;
    }

    .hp-login-card {
        align-self: stretch;
        flex-basis: auto;
    }

    .hp-cloud-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hp-cloud-shell .content {
        padding: 70px 12px 24px;
    }

    .hp-dashboard-hero {
        padding: 14px;
    }

    .hp-dashboard-hero-copy,
    .hp-panel,
    .hp-storage-card {
        padding: 18px;
    }

    .hp-dashboard-hero-copy,
    .hp-storage-card {
        min-height: 0;
    }

    .hp-dashboard-hero h1 {
        font-size: 28px;
    }

    .hp-dashboard-hero p {
        font-size: 14px;
    }

    .hp-hero-actions,
    .hp-search-form,
    .hp-panel-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .hp-primary-action,
    .hp-secondary-action,
    .hp-search-button {
        justify-content: center;
        width: 100%;
    }

    .hp-storage-header strong {
        font-size: 38px;
    }

    .hp-storage-metrics {
        grid-template-columns: 1fr;
    }

    .hp-cloud-shell .grid.simple .grid-body {
        padding: 16px;
    }

    .hp-cloud-shell .tiles.cloud-status .heading {
        font-size: 44px;
    }

    .hp-cloud-shell .tiles.cloud-status .description {
        display: block;
        margin-right: 0;
        min-width: 0;
        width: 100%;
    }

    .hp-cloud-welcome {
        padding: 18px;
    }

    .hp-cloud-welcome h2 {
        font-size: 19px;
    }

    .hp-login-panel {
        padding: 24px;
    }

    .hp-login-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .hp-login-copy h1 {
        font-size: 26px;
    }
}

/* Cloud-wide modernization layer for legacy WebForms pages. */
.hp-cloud-shell .header.hp-cloud-topbar {
    min-height: 64px;
}

.hp-cloud-shell .header.hp-cloud-topbar .navbar-inner {
    align-items: center;
    border-bottom: 1px solid #e2ebf3;
    box-shadow: 0 12px 32px rgba(14, 38, 59, 0.08);
    display: flex;
    min-height: 64px;
}

.hp-cloud-shell .header.hp-cloud-topbar .header-seperation {
    align-items: center;
    background: #ffffff;
    border-right: 1px solid #e2ebf3;
    display: flex;
    height: 64px;
    padding: 0 18px;
    width: 250px;
}

.hp-cloud-shell .header.hp-cloud-topbar .hp-topbar-logo {
    align-items: center;
    display: inline-flex;
}

.hp-cloud-shell .header.hp-cloud-topbar .logo {
    margin: 0;
    max-width: 179px;
}

.hp-cloud-shell .header.hp-cloud-topbar .header-quick-nav {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 18px;
}

.hp-cloud-shell .header.hp-cloud-topbar .pull-left,
.hp-cloud-shell .header.hp-cloud-topbar .pull-right {
    float: none !important;
}

.hp-cloud-shell .header.hp-cloud-topbar .nav.quick-section {
    margin: 0;
}

.hp-cloud-shell .header.hp-cloud-topbar .nav.quick-section > li {
    line-height: 1;
}

.hp-cloud-shell .header.hp-cloud-topbar #layout-condensed-toggle {
    align-items: center;
    background: #eef5fc;
    border: 1px solid #dbe8f4;
    border-radius: 8px;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.hp-topbar-title {
    flex: 1 1 auto;
    padding: 0 18px;
}

.hp-topbar-title strong {
    color: #132f47;
    display: block;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.hp-topbar-title span {
    color: #668196;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-topbar-actions {
    align-items: center;
    display: flex !important;
    gap: 10px;
}

.hp-language-select {
    display: inline-flex;
}

.hp-cloud-shell .hp-language-select select {
    background: #ffffff;
    border: 1px solid #d7e4ee;
    border-radius: 8px;
    color: #253d51;
    font-weight: 800;
    height: 38px;
    min-height: 38px;
}

.hp-cloud-shell .header.hp-cloud-topbar .hp-logout-link {
    align-items: center;
    background: #f2f7fb;
    border: 1px solid #dce8f2;
    border-radius: 8px;
    color: #244158;
    display: inline-flex !important;
    font-weight: 900;
    gap: 4px;
    min-height: 38px;
    padding: 8px 12px !important;
}

.hp-cloud-shell .header.hp-cloud-topbar .hp-logout-link:hover {
    background: #e8f3ff;
    border-color: #a9cdef;
    color: #1d5f9d;
    text-decoration: none;
}

.hp-cloud-shell .page-sidebar {
    background: #0d2437 !important;
    background-image: linear-gradient(180deg, #12344f 0%, #0b2032 56%, #081827 100%) !important;
    box-shadow: 10px 0 30px rgba(12, 32, 49, 0.16);
    margin-top: 64px !important;
}

.hp-cloud-shell .page-sidebar-wrapper {
    background: transparent !important;
    min-height: calc(100vh - 64px);
    padding: 16px 0 24px;
}

.hp-sidebar-brand {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.15);
    margin: 0 14px 14px;
    padding: 14px;
}

.hp-sidebar-logo {
    display: block;
}

.hp-sidebar-logo img {
    display: block;
    height: auto;
    max-width: 100%;
}

.hp-sidebar-brand span {
    background: #eaf3ff;
    border: 1px solid #d4e7f8;
    border-radius: 999px;
    color: #1d5f9d;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin-top: 10px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.hp-sidebar-section {
    color: rgba(255,255,255,0.56);
    font-size: 11px;
    font-weight: 900;
    margin: 6px 22px 8px;
    text-transform: uppercase;
}

.hp-cloud-shell .page-sidebar .hp-main-menu {
    list-style: none;
    margin: 0 !important;
    padding: 0 8px !important;
}

.hp-cloud-shell .page-sidebar .hp-main-menu > li,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li {
    border: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.hp-cloud-shell .page-sidebar .hp-main-menu > li > a,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li > a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255,255,255,0.82) !important;
    display: flex !important;
    font-size: 14px;
    font-weight: 800;
    gap: 11px;
    line-height: 1.2;
    margin: 4px 6px !important;
    min-height: 46px;
    padding: 10px 12px !important;
}

.hp-cloud-shell .page-sidebar .hp-main-menu > li > a i,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li > a i {
    align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #9bc8f3 !important;
    display: inline-flex;
    flex: 0 0 30px;
    font-size: 14px;
    height: 30px;
    justify-content: center;
    margin: 0;
    text-align: center;
    width: 30px;
}

.hp-cloud-shell .page-sidebar .hp-main-menu > li > a:hover,
.hp-cloud-shell .page-sidebar .hp-main-menu > li.active > a,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li > a:hover,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li.active > a {
    background: rgba(52, 118, 190, 0.24) !important;
    border-color: rgba(155, 200, 243, 0.24);
    color: #ffffff !important;
    text-decoration: none;
}

.hp-cloud-shell .page-sidebar .hp-main-menu > li > a:hover i,
.hp-cloud-shell .page-sidebar .hp-main-menu > li.active > a i,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li > a:hover i,
.hp-cloud-shell .page-sidebar .hp-main-menu > .hp-nav-panel > li.active > a i {
    background: #3476be;
    border-color: #3476be;
    color: #ffffff !important;
}

.hp-cloud-shell .page-sidebar.mini .hp-sidebar-brand,
.hp-cloud-shell .page-sidebar.mini .hp-sidebar-section,
body.hp-cloud-shell.condense-menu .hp-sidebar-brand,
body.hp-cloud-shell.condense-menu .hp-sidebar-section {
    display: none;
}

.hp-cloud-shell .page-sidebar.mini .hp-main-menu,
body.hp-cloud-shell.condense-menu .page-sidebar .hp-main-menu {
    padding-top: 8px !important;
}

.hp-cloud-shell .page-sidebar.mini .hp-main-menu > li > a,
body.hp-cloud-shell.condense-menu .page-sidebar .hp-main-menu > li > a {
    justify-content: center;
    margin: 4px 6px !important;
    min-height: 42px;
    padding: 8px !important;
}

.hp-cloud-shell .breadcrumb {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0 !important;
}

.hp-cloud-shell .breadcrumb > li {
    color: #6b7f91;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.hp-cloud-shell .breadcrumb > li + li:before {
    color: #a9bbc9;
    content: "/";
    padding: 0 8px 0 0;
}

.hp-cloud-shell .breadcrumb a {
    background: #edf6ff;
    border: 1px solid #d8eafb;
    border-radius: 999px;
    color: #1f5f9f !important;
    display: inline-flex;
    font-weight: 900;
    margin: 0 !important;
    padding: 5px 10px;
}

.hp-cloud-shell .breadcrumb a:hover {
    background: #e3f0fc;
    border-color: #adcfee;
    text-decoration: none;
}

.hp-cloud-shell .page-title {
    background: #ffffff;
    border: 1px solid #dfeaf3;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 48, 71, 0.07);
    margin-bottom: 18px;
    padding: 18px 20px;
}

.hp-cloud-shell .page-title h1 {
    color: #142f47;
    font-size: 26px;
    font-weight: 900;
}

.hp-cloud-shell .page-title i {
    flex: 0 0 42px;
}

.hp-cloud-shell .grid.simple {
    background: #ffffff !important;
    border: 1px solid #dfeaf3 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(20, 48, 71, 0.07) !important;
    margin-bottom: 18px;
}

.hp-cloud-shell .grid.simple .grid-body {
    background: #ffffff !important;
    border-radius: 8px !important;
}

.hp-cloud-shell .grid.simple h3 {
    align-items: center;
    border-bottom: 1px solid #edf3f8;
    color: #17324a;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.25;
    margin: 0 0 18px;
    padding: 0 0 14px;
}

.hp-cloud-shell .grid.simple h3 i {
    align-items: center;
    background: #eaf3ff;
    border-radius: 8px;
    color: #3476be;
    display: inline-flex;
    font-size: 17px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.hp-cloud-shell label,
.hp-cloud-shell .control-label {
    color: #334d62;
    font-weight: 800;
}

.hp-cloud-shell .form-control,
.hp-cloud-shell input[type="text"],
.hp-cloud-shell input[type="password"],
.hp-cloud-shell input[type="email"],
.hp-cloud-shell input[type="number"],
.hp-cloud-shell input[type="date"],
.hp-cloud-shell textarea,
.hp-cloud-shell select {
    background: #ffffff;
    border: 1px solid #d8e4ee;
    border-radius: 8px;
    color: #253d51;
    min-height: 42px;
}

.hp-cloud-shell textarea {
    min-height: 110px;
    resize: vertical;
}

.hp-cloud-shell input[type="file"] {
    background: #f7fbff;
    border: 1px dashed #b8d3ee;
    border-radius: 8px;
    color: #334d62;
    min-height: 44px;
    padding: 10px;
    width: 100%;
}

.hp-cloud-shell .btn,
.hp-cloud-shell input[type="submit"],
.hp-cloud-shell input[type="button"] {
    border-radius: 8px !important;
    box-shadow: none !important;
    font-weight: 900;
    min-height: 36px;
    text-shadow: none !important;
}

.hp-cloud-shell .btn-primary,
.hp-cloud-shell .btn-success,
.hp-cloud-shell input.btn-success,
.hp-cloud-shell input.btn-primary {
    background: #3476be !important;
    border-color: #3476be !important;
    color: #ffffff !important;
}

.hp-cloud-shell .btn-primary:hover,
.hp-cloud-shell .btn-success:hover,
.hp-cloud-shell input.btn-success:hover,
.hp-cloud-shell input.btn-primary:hover {
    background: #276ebb !important;
    border-color: #276ebb !important;
    color: #ffffff !important;
}

.hp-cloud-shell .btn-info {
    background: #1d5f9d !important;
    border-color: #1d5f9d !important;
}

.hp-cloud-shell .btn-danger {
    background: #c94052 !important;
    border-color: #c94052 !important;
}

.hp-cloud-shell .btn-white,
.hp-cloud-shell .btn-default {
    background: #ffffff !important;
    border-color: #d9e5ef !important;
    color: #244158 !important;
}

.hp-cloud-shell .btn-white:hover,
.hp-cloud-shell .btn-default:hover {
    background: #edf6ff !important;
    border-color: #a9cdef !important;
    color: #1d5f9d !important;
}

.hp-cloud-shell .tiles.green,
.hp-cloud-shell .tiles.blue,
.hp-cloud-shell .tiles.grey {
    background: #3476be !important;
    border-radius: 8px;
}

.hp-cloud-shell .table {
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

.hp-cloud-shell .table-bordered {
    border: 1px solid #dfeaf3;
}

.hp-cloud-shell .table > thead > tr > th {
    background: #edf6ff !important;
    color: #315066;
    padding: 11px 10px;
}

.hp-cloud-shell .table > tbody > tr > td {
    color: #2d4354;
    padding: 10px;
}

.hp-cloud-shell .table .btn {
    margin: 2px;
}

.hp-cloud-shell .paciente_dados {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    margin-bottom: 12px;
}

.hp-cloud-shell .paciente_dados:before,
.hp-cloud-shell .paciente_dados:after {
    content: none;
}

.hp-cloud-shell .paciente_dados .description {
    background: #f7fbff;
    border: 1px solid #dceaf6;
    border-radius: 8px;
    color: #5e7385;
    float: none;
    margin: 0;
    min-height: 92px;
    padding: 14px !important;
}

.hp-cloud-shell .paciente_dados .text-espaco {
    color: #142f47;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    margin: 6px 0 0;
}

.hp-cloud-shell .thumbs_fotos {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hp-cloud-shell .thumbs_fotos a,
.hp-cloud-shell .thumbs_fotos img,
.hp-cloud-shell .thumbs_fotos video {
    border-radius: 8px;
}

.hp-cloud-shell .thumbs_fotos img,
.hp-cloud-shell .thumbs_fotos video {
    background: #f2f7fb;
    border: 1px solid #dce8f2;
}

.hp-cloud-shell .form-actions {
    background: #f7fbff;
    border-top: 1px solid #edf3f8;
    border-radius: 0 0 8px 8px;
}

.hp-cloud-shell .alert,
.hp-cloud-shell [id$="lblErro"] {
    border-radius: 8px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .hp-topbar-title {
        display: none;
    }

    .hp-cloud-shell .header.hp-cloud-topbar .header-quick-nav {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .hp-cloud-shell .header.hp-cloud-topbar .navbar-inner {
        display: block;
        min-height: 60px;
    }

    .hp-cloud-shell .header.hp-cloud-topbar .header-seperation {
        border-right: 0;
        height: 60px;
        justify-content: center;
        padding: 0 14px;
        width: 100% !important;
    }

    .hp-cloud-shell .header.hp-cloud-topbar .header-quick-nav {
        display: none !important;
    }

    .hp-cloud-shell .page-sidebar {
        display: none;
        margin-top: 0 !important;
    }

    .hp-cloud-shell .page-title {
        align-items: flex-start;
        padding: 15px;
    }

    .hp-cloud-shell .page-title h1 {
        font-size: 22px;
    }

    .hp-cloud-shell .grid.simple h3 {
        font-size: 18px;
    }

    .hp-cloud-shell .breadcrumb {
        gap: 6px;
    }

    .hp-cloud-shell .paciente_dados {
        grid-template-columns: 1fr;
    }
}

/* Focused page upgrades: procedures, account and media gallery. */
.hp-cloud-page {
    margin: 0 auto;
    max-width: 1240px;
}

.hp-cloud-page .hp-content-row {
    margin-left: -10px;
    margin-right: -10px;
}

.hp-page-title-rich {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.hp-page-title-rich > div,
.hp-page-title-rich .hp-title-panel > div {
    min-width: 0;
}

.hp-page-title-rich span,
.hp-page-title-rich .hp-title-panel span {
    color: #627a8e;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 4px;
}

.hp-message-slot {
    margin-bottom: 14px;
}

.hp-message-slot:empty {
    display: none;
}

.hp-filter-card .grid-body,
.hp-results-card .grid-body,
.hp-account-card .grid-body,
.hp-media-card .grid-body {
    padding: 24px !important;
}

.hp-filter-grid,
.hp-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.hp-field label,
.hp-field > span:first-child,
.hp-field > label,
.hp-field [id*="lbl"] {
    color: #344f64;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
}

.hp-field-wide {
    grid-column: span 2;
}

.hp-small-field {
    max-width: 180px;
}

.hp-date-range {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.hp-date-range span {
    background: #edf6ff;
    border: 1px solid #d8eafb;
    border-radius: 999px;
    color: #1f5f9f;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 9px;
    text-align: center;
}

.hp-filter-actions,
.hp-page-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hp-action-button {
    align-items: center;
    display: inline-flex !important;
    gap: 8px;
    justify-content: center;
    min-height: 42px !important;
    padding: 10px 15px !important;
}

.hp-results-header,
.hp-media-toolbar {
    align-items: flex-start;
    border-bottom: 1px solid #edf3f8;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.hp-results-header h3,
.hp-media-toolbar h3 {
    border-bottom: 0 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
}

.hp-results-header p,
.hp-media-toolbar p {
    color: #647b8f;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.hp-total-badge {
    background: #edf6ff;
    border: 1px solid #d8eafb;
    border-radius: 999px;
    color: #1f5f9f;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    padding: 8px 12px;
    white-space: nowrap;
}

.hp-data-table {
    border: 0;
    margin-bottom: 0;
}

.hp-data-table > thead > tr > th:first-child,
.hp-data-table > tbody > tr > td:first-child {
    padding-left: 14px;
}

.hp-data-table > thead > tr > th:last-child,
.hp-data-table > tbody > tr > td:last-child {
    padding-right: 14px;
}

.hp-procedure-table > tbody > tr > td:nth-child(4) {
    color: #143047;
    font-weight: 900;
}

.hp-procedure-table > tbody > tr > td:nth-child(7),
.hp-procedure-table > tbody > tr > td:nth-child(8) {
    color: #1d5f9d;
    font-weight: 900;
    text-align: center;
}

.hp-row-actions {
    display: inline-flex;
    min-width: 156px;
    width: auto;
}

.hp-row-actions .dropdown-menu {
    border: 1px solid #dbe8f2;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(17, 43, 64, 0.16);
    margin-top: 7px;
    padding: 8px;
}

.hp-row-actions .dropdown-menu > li > a,
.hp-row-actions .dropdown-menu > li > span,
.hp-row-actions .dropdown-menu > li > input,
.hp-row-actions .dropdown-menu a {
    border-radius: 6px;
    color: #27445b;
    display: block;
    font-weight: 800;
    padding: 9px 10px;
}

.hp-row-actions .dropdown-menu a:hover {
    background: #edf6ff;
    color: #1d5f9d;
    text-decoration: none;
}

.hp-cloud-shell .paginacao td {
    background: #f7fbff !important;
    border-top: 1px solid #edf3f8 !important;
    padding: 12px !important;
}

.hp-cloud-shell .paginacao table {
    margin: 0 auto;
}

.hp-cloud-shell .paginacao a,
.hp-cloud-shell .paginacao span {
    border-radius: 7px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    margin: 0 2px;
    min-width: 34px;
    padding: 7px 10px;
}

.hp-cloud-shell .paginacao a {
    background: #ffffff;
    border: 1px solid #d8e6f1;
    color: #1f5f9f;
}

.hp-cloud-shell .paginacao span {
    background: #3476be;
    border: 1px solid #3476be;
    color: #ffffff;
}

.hp-account-access {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
}

.hp-account-email,
.hp-readonly-card {
    background: #f7fbff;
    border: 1px solid #dceaf6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    min-height: 86px;
    padding: 15px;
}

.hp-account-email span,
.hp-account-email label,
.hp-readonly-card span,
.hp-readonly-card label {
    color: #647b8f;
    font-size: 13px;
    font-weight: 900;
}

.hp-account-email strong,
.hp-readonly-card strong {
    color: #143047;
    display: block;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hp-account-email strong span,
.hp-readonly-card strong span {
    color: #143047;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.hp-logo-grid {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(240px, 0.7fr) minmax(260px, 1fr);
}

.hp-logo-current {
    background: #f7fbff;
    border: 1px solid #dceaf6;
    border-radius: 8px;
    padding: 16px;
}

.hp-logo-current img {
    background: #ffffff;
    border: 1px solid #dfeaf3;
    border-radius: 8px;
    display: block;
    height: auto;
    margin-top: 10px;
    max-height: 90px;
    max-width: 260px;
    padding: 10px;
}

.hp-logo-upload {
    background: #fbfdff;
    border: 1px dashed #b8d3ee;
    border-radius: 8px;
    justify-content: center;
    padding: 16px;
}

.hp-save-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfeaf3;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 48, 71, 0.08);
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 28px;
    padding: 16px;
}

.hp-save-button {
    min-width: 190px;
}

.hp-media-title {
    display: block;
}

.hp-media-title .hp-title-panel {
    align-items: center;
    display: flex;
    gap: 12px;
}

.hp-media-title .hp-title-panel h1 {
    margin: 0;
}

.hp-media-toolbar .hp-action-button {
    flex: 0 0 auto;
}

.hp-media-toolbar-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.hp-media-gallery {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.hp-media-item {
    background: #ffffff;
    border: 1px solid #dfeaf3;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(20, 48, 71, 0.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 12px;
}

.hp-media-thumb {
    align-items: center;
    background: #edf4fb;
    border: 1px solid #d6e5f1;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
    position: relative;
}

.hp-media-thumb a {
    display: block;
    width: 100%;
}

.hp-media-thumb img {
    border: 0 !important;
    border-radius: 0 !important;
    display: block;
    height: 168px;
    object-fit: cover;
    width: 100%;
}

.hp-media-thumb iframe {
    background: #0d2437;
    border: 0;
    display: block;
    height: 168px;
    width: 100%;
}

.hp-video-item .hp-media-thumb:after {
    align-items: center;
    background: rgba(20, 48, 71, 0.82);
    border: 1px solid rgba(255,255,255,0.36);
    border-radius: 999px;
    color: #ffffff;
    content: "\f04b";
    display: flex;
    font-family: FontAwesome;
    font-size: 18px;
    height: 46px;
    justify-content: center;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
}

.hp-media-duration {
    background: #f7fbff;
    border: 1px solid #dceaf6;
    border-radius: 8px;
    color: #526b80;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 10px;
}

.hp-download-button {
    width: 100%;
}

.hp-edit-video-button {
    margin-top: 8px;
    width: 100%;
}

.hp-video-editor-start .hp-empty-state {
    background: #ffffff;
    border: 1px solid #dbe7f4;
    border-radius: 8px;
    color: #48657d;
    margin-top: 18px;
    padding: 34px 24px;
    text-align: center;
}

.hp-video-editor-start .hp-empty-state i {
    color: #1f74b7;
    font-size: 34px;
    margin-bottom: 12px;
}

.hp-video-editor-start .hp-empty-state h3 {
    color: #17344f;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 8px;
}

.hp-video-editor-start .hp-empty-state p {
    margin: 0 0 18px;
}

.hp-video-editor-start .hp-editor-start-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.hp-video-editor-start .hp-editor-start-summary div {
    background: #ffffff;
    border: 1px solid #dbe7f4;
    border-radius: 8px;
    padding: 14px 16px;
}

.hp-video-editor-start .hp-editor-start-summary strong,
.hp-video-editor-start .hp-editor-start-summary span {
    display: block;
}

.hp-video-editor-start .hp-editor-start-summary strong {
    color: #17344f;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.hp-video-editor-start .hp-editor-start-summary span {
    color: #5d7488;
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
    text-transform: uppercase;
}

.hp-editor-video-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    margin-top: 18px;
}

.hp-editor-video-card {
    background: #ffffff;
    border: 1px solid #dbe7f4;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(28, 76, 116, 0.08);
    overflow: hidden;
}

.hp-video-editor-start .hp-editor-video-card.hp-editor-video-multi {
    border-color: #b9d7ee;
}

.hp-video-editor-start .hp-editor-video-card.hp-editor-video-single {
    border-color: #dbe7f4;
}

.hp-editor-video-thumb {
    background: #0b1f34;
    display: block;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.hp-editor-video-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hp-video-editor-start .hp-editor-thumb-missing {
    object-fit: contain;
}

.hp-editor-video-thumb span {
    align-items: center;
    background: rgba(31, 116, 183, 0.92);
    border-radius: 50%;
    bottom: 12px;
    color: #ffffff;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 12px;
    width: 42px;
}

.hp-video-editor-start .hp-editor-video-thumb em {
    background: rgba(6, 26, 45, 0.88);
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    left: 12px;
    line-height: 1;
    padding: 8px 10px;
    position: absolute;
    top: 12px;
}

.hp-editor-video-info {
    padding: 16px;
}

.hp-video-editor-start .hp-editor-video-head {
    align-items: flex-start;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto;
}

.hp-video-editor-start .hp-editor-video-head b {
    background: #eef7f2;
    border: 1px solid #cfe6d9;
    border-radius: 4px;
    color: #176236;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    gap: 5px;
    line-height: 1.2;
    padding: 6px 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hp-video-editor-start .hp-editor-video-card.hp-editor-video-single .hp-editor-video-head b {
    background: #f7f9fc;
    border-color: #dbe7f4;
    color: #4e6478;
}

.hp-editor-video-info strong,
.hp-editor-video-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-editor-video-info strong {
    color: #17344f;
    font-size: 16px;
    font-weight: 900;
}

.hp-editor-video-info small {
    color: #667d92;
    margin-top: 4px;
}

.hp-video-editor-start .hp-editor-video-info p {
    color: #526b80;
    font-size: 13px;
    line-height: 1.45;
    margin: 10px 0 0;
}

.hp-editor-video-meta {
    color: #5c7489;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.hp-video-editor-start .hp-editor-video-meta span {
    min-width: 0;
}

.hp-editor-video-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
}

.hp-editor-video-actions .btn {
    line-height: 1.25;
    margin: 0;
    white-space: normal;
    width: 100%;
}

@media (max-width: 991px) {
    .hp-filter-grid,
    .hp-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-account-access,
    .hp-logo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hp-filter-grid,
    .hp-form-grid,
    .hp-date-range {
        grid-template-columns: 1fr;
    }

    .hp-field-wide {
        grid-column: auto;
    }

    .hp-small-field {
        max-width: none;
    }

    .hp-results-header,
    .hp-media-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hp-total-badge,
    .hp-media-toolbar-actions,
    .hp-media-toolbar .hp-action-button,
    .hp-save-button {
        justify-content: center;
        width: 100%;
    }

    .hp-media-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .hp-media-thumb img,
    .hp-media-thumb iframe {
        height: 145px;
    }

    .hp-video-editor-start .hp-editor-start-summary,
    .hp-video-editor-start .hp-editor-video-grid,
    .hp-video-editor-start .hp-editor-video-head {
        grid-template-columns: 1fr;
    }

    .hp-video-editor-start .hp-editor-video-head b {
        justify-self: flex-start;
        white-space: normal;
    }

    .hp-video-editor-start .hp-editor-video-thumb {
        height: 172px;
    }

    .hp-save-bar {
        justify-content: stretch;
    }
}
