#myDocPanel {
    overflow-y: auto;
    overflow-x: hidden;
}

.mydoc-shell {
    color: #243b53;
}

.mydoc-page {
    padding: 10px;
    padding-bottom: 24px;
}

.mydoc-layout {
    margin-left: -10px;
    margin-right: -10px;
}

.mydoc-layout > .history-col,
.mydoc-layout > .main-col {
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 992px) {
    .mydoc-layout > .history-col {
        width: 23%;
    }

    .mydoc-layout > .main-col {
        width: 77%;
    }
}

.mydoc-shell .history-panel,
.mydoc-shell .workspace-panel {
    border: 1px solid #dce4ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.mydoc-shell .workspace-panel {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 210px);
}

.mydoc-shell .history-panel {
    padding: 14px;
}

.mydoc-shell .history-actions {
    display: table;
    width: 100%;
    margin-bottom: 16px;
}

.mydoc-shell .history-actions > * {
    display: table-cell;
    vertical-align: middle;
}

.mydoc-shell .history-new-request-btn,
.mydoc-shell .close-sidebar {
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.04);
    color: #243b53;
}

.mydoc-shell .history-new-request-btn {
    width: 100%;
    padding: 10px 14px;
    font-weight: 600;
}

.mydoc-shell .history-new-request-btn:hover,
.mydoc-shell .history-new-request-btn:focus {
    background: #f8fafc;
}

.mydoc-shell .close-sidebar {
    width: 44px;
    padding: 10px 0;
    text-align: center;
}

.mydoc-shell .history-toggle-btn {
    width: 44px;
}

.mydoc-shell .history-toggle-icon {
    display: inline-block;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.mydoc-shell .history-actions .history-new-request-btn {
    padding-right: 12px;
}

.mydoc-shell .history-actions .close-sidebar {
    width: 44px;
    min-width: 44px;
    padding-left: 0;
    padding-right: 0;
}

.mydoc-shell .history-body {
    display: block;
}

.mydoc-shell .history-header {
    margin-bottom: 14px;
}

.mydoc-shell .history-title {
    margin: 0;
    color: #7b8794;
    font-size: 15px;
    font-weight: 500;
}

.mydoc-shell .history-offer {
    margin-bottom: 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.mydoc-shell .history-content {
    max-height: calc(100vh - 245px);
    overflow-y: auto;
    padding-right: 4px;
}

.mydoc-shell .v-card {
    margin-bottom: 12px;
    border: 1px solid #dce4ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.mydoc-shell .v-card:last-child {
    margin-bottom: 0;
}

.mydoc-shell .v-card__header {
    display: table;
    width: 100%;
    padding: 14px 14px 10px;
}

.mydoc-shell .v-card__title-wrap,
.mydoc-shell .v-head-status-area {
    display: table-cell;
    vertical-align: top;
}

.mydoc-shell .v-card__title-wrap {
    width: 70%;
}

.mydoc-shell .v-head-status-area {
    width: 30%;
    text-align: right;
    white-space: nowrap;
}

.mydoc-shell .v-toggle {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border: 1px solid #d9e1ea;
    border-radius: 9px;
    background: #ffffff;
    color: #52667a;
}

.mydoc-shell .v-toggle .fa {
    display: inline-block;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.mydoc-shell .v-toggle.collapsed .fa {
    transform: rotate(-90deg);
}

.mydoc-shell .v-toggle:hover,
.mydoc-shell .v-toggle:focus {
    background: #f8fafc;
}

.mydoc-shell .v-title {
    display: inline-block;
    max-width: calc(100% - 44px);
    color: #243b53;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
}

.mydoc-shell .v-title:hover,
.mydoc-shell .v-title:focus {
    color: #0b69a3;
    text-decoration: none;
}

.mydoc-shell .v-head-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.mydoc-shell .v-head-status--done {
    background: #e3f9e5;
    color: #1f7a35;
}

.mydoc-shell .v-head-status--progress {
    background: #e8f1ff;
    color: #1d4ed8;
}

.mydoc-shell .v-head-status--draft {
    background: #f2f4f7;
    color: #52667a;
}

.mydoc-shell .v-head-actions {
    margin-top: 8px;
}

.mydoc-shell .v-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d9e1ea;
    border-radius: 9px;
    background: #ffffff;
    color: #7b8794;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
    margin-left:10px;
}

.mydoc-shell .mydoc-history-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    z-index: 5;
}

.mydoc-shell .mydoc-history-actions > * + * {
    margin-left: 0;
}

.mydoc-shell .mydoc-history-menu-toggle .fa {
    font-size: 16px;
}

.mydoc-shell .mydoc-history-menu {
    display: none;
    min-width: 220px;
    top: 0;
    left: calc(100% + 8px);
    right: auto;
    margin-top: 0;
    padding: 6px;
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    z-index: 1060;
}

body > .mydoc-history-menu--portal {
    position: fixed;
    display: block;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 6px;
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    list-style: none;
    white-space: normal;
    z-index: 2000;
}

body > .mydoc-history-menu--portal > li + li {
    margin-top: 4px;
}

body > .mydoc-history-menu--portal .mydoc-history-menu__action {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    text-align: left;
    text-decoration: none;
}

body > .mydoc-history-menu--portal .mydoc-history-menu__action:hover,
body > .mydoc-history-menu--portal .mydoc-history-menu__action:focus {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

body > .mydoc-history-menu--portal .mydoc-history-menu__action .fa {
    width: 14px;
    text-align: center;
    color: #64748b;
}

.mydoc-shell .mydoc-history-menu > li + li {
    margin-top: 4px;
}

.mydoc-shell .mydoc-history-menu__action {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    text-align: left;
    text-decoration: none;
}

.mydoc-shell .mydoc-history-menu__action:hover,
.mydoc-shell .mydoc-history-menu__action:focus {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.mydoc-shell .mydoc-history-menu__action .fa {
    width: 14px;
    text-align: center;
    color: #64748b;
}

.mydoc-shell .v-body__content {
    border-top: 1px solid #edf2f7;
    padding: 0 14px 14px 52px;
    color: #52667a;
    line-height: 1.6;
}

.mydoc-shell .v-body__content p:last-child {
    margin-bottom: 0;
}

.mydoc-shell .mydoc-title-bar {
    display: table;
    width: 100%;
    margin-bottom: 14px;
}

.mydoc-shell .mydoc-title-bar > * {
    display: table-cell;
    vertical-align: middle;
}

.mydoc-shell .history-toggle-btn-inline,
.mydoc-shell .history-new-request-btn-inline {
    display: none;
}

.mydoc-shell .history-new-request-btn-inline {
    width: auto;
    white-space: nowrap;
}

.mydoc-shell .mydoc-main-title {
    margin: 0;
    padding: 0 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2933;
}

.mydoc-shell .mydoc-title-separator {
    margin: 0 6px;
    color: #7b8794;
    font-size: 15px;
    vertical-align: middle;
}

.mydoc-shell .mydoc-title-bando {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2f6;
    color: #486581;
    font-size: 13px;
    font-weight: 700;
    vertical-align: middle;
}

/*.mydoc-shell .workspace-panel {
    padding: 24px;
}*/

.mydoc-shell .mydoc-start-state {
    flex: 1 1 auto;
    min-height: 0;
}

.mydoc-shell .workspace-panel.mydoc-workspace--start .mydoc-start-state,
.mydoc-shell .mydoc-start-state.mydoc-start-state--centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mydoc-shell .mydoc-start-state.mydoc-start-state--centered .mydoc-request-shell,
.mydoc-shell .mydoc-start-state.mydoc-start-state--centered .mydoc-empty-state {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.mydoc-shell .mydoc-request-shell {
    padding: 0 24px 24px;
    margin-bottom: 24px;
    border-radius: 16px;
}

.mydoc-shell .mydoc-start-state.mydoc-start-state--centered .mydoc-inline-form,
.mydoc-shell .mydoc-start-state.mydoc-start-state--centered .mydoc-upload-shell,
.mydoc-shell .mydoc-start-state.mydoc-start-state--centered .mydoc-numero-files {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.mydoc-shell .mydoc-request-title {
    margin-top: 0;
    margin-bottom: 14px;
    color: #243b53;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.mydoc-hidden {
    display: none !important;
}

.mydoc-shell .mydoc-inline-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.mydoc-shell .mydoc-inline-form .form-control,
.mydoc-shell .mydoc-inline-form .btn {
    height: 50px;
}

.mydoc-shell .mydoc-inline-form .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border-radius: 10px 0 0 10px;
    border-right: 0;
}

.mydoc-shell .mydoc-inline-form .btn {
    flex: 0 0 140px;
    width: 140px;
    border-radius: 0 10px 10px 0;
}

.mydoc-shell .mydoc-numero-files {
    max-width: 760px;
    margin: 18px auto 0;
    padding: 20px;
    border: 1px solid #d9e4ee;
    border-radius: 16px;
    background: #f8fbfd;
}

.mydoc-shell .mydoc-request-shell--grouped-flow .mydoc-numero-files {
    margin-bottom: 0;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-bottom: 18px;
}

.mydoc-shell .mydoc-numero-files__header {
    margin-bottom: 14px;
}

.mydoc-shell .mydoc-numero-files__title {
    margin: 0 0 6px;
    color: #16324f;
    font-size: 20px;
    font-weight: 700;
}

.mydoc-shell .mydoc-numero-files__subtitle {
    margin: 0;
    color: #52667a;
    line-height: 1.6;
}

.mydoc-shell .mydoc-numero-files__alert {
    margin-bottom: 0;
    padding: 0 14px;
    border-radius: 12px;
    border-width: 0;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-4px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, margin-bottom 0.22s ease, padding 0.22s ease, border-width 0.22s ease;
}

.mydoc-shell .mydoc-numero-files__alert.mydoc-numero-files__alert--visible {
    margin-bottom: 14px;
    padding: 8px 12px;
    border-width: 1px;
    opacity: 1;
    transform: translateY(0);
    max-height: 120px;
    pointer-events: auto;
}

.mydoc-shell .mydoc-numero-files__alert.mydoc-numero-files__alert--fading {
    margin-bottom: 0;
    padding: 0 14px;
    border-width: 0;
    opacity: 0;
    transform: translateY(-4px);
    max-height: 0;
    pointer-events: none;
}

.mydoc-shell .mydoc-numero-files__alert.alert-info {
    background: #f8fbfd;
    border-color: #dde8f1;
    color: #6b7c93;
}

.mydoc-shell .mydoc-numero-files__alert.alert-warning {
    background: #fffaf2;
    border-color: #f3dfb3;
    color: #8a6d3b;
}

.mydoc-shell .mydoc-numero-files__alert.alert-danger {
    background: #fff6f5;
    border-color: #efc7c2;
    color: #8f3b32;
}

.mydoc-shell .mydoc-numero-files__list {
    height: 223px;
    border: 1px solid #e1e8ef;
    border-radius: 14px;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
}

.mydoc-shell .mydoc-numero-file-item + .mydoc-numero-file-item {
    border-top: 1px solid #eef2f6;
}

.mydoc-shell .mydoc-numero-file-item.is-selected {
    background: #f5faff;
}

.mydoc-shell .mydoc-numero-file-row {
    display: flex;
    align-items: center;
}

.mydoc-shell .mydoc-numero-file-select-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 14px 8px 14px 16px;
}

.mydoc-shell .mydoc-numero-file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 14px 16px 14px 0;
    cursor: pointer;
}

.mydoc-shell .mydoc-numero-file-main,
.mydoc-shell .mydoc-numero-file-meta {
    display: block;
}

.mydoc-shell .mydoc-numero-file-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    color: #243b53;
}

.mydoc-shell .mydoc-numero-file-main .fa {
    font-size: 18px;
}

.mydoc-shell .mydoc-numero-file-modal-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    color: #52667a;
    background: #ffffff;
}

.mydoc-shell .mydoc-numero-file-modal-btn:hover,
.mydoc-shell .mydoc-numero-file-modal-btn:focus {
    background: #f8fafc;
}

.mydoc-numero-file-modal-dialog {
    width: 92%;
    max-width: 1180px;
}

.mydoc-numero-file-modal-body {
    padding: 20px;
}

#mydocNumeroFileModal .mydoc-pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

#mydocNumeroFileModal .mydoc-pdf-toolbar .btn {
    border-radius: 10px;
}

#mydocNumeroFileModal .mydoc-pdf-toolbar-spacer {
    flex: 1 1 auto;
}

#mydocNumeroFileModal .mydoc-pdf-goto-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #52667a;
    font-weight: 600;
}

#mydocNumeroFileModal .mydoc-pdf-goto {
    width: 86px;
    height: 36px;
}

#mydocNumeroFileModal .mydoc-pdf-status {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #eef4fb;
    color: #1f2933;
}

#mydocNumeroFileModal .mydoc-pdf-status--danger {
    background: #fce8e6;
    color: #b42318;
}

#mydocNumeroFileModal .mydoc-pdf-status--info {
    background: #eef4fb;
    color: #16324f;
}

#mydocNumeroFileModal .mydoc-pdf-viewport {
    position: relative;
    min-height: 300px;
    border: 1px solid #dce4ec;
    border-radius: 14px;
    background: #edf2f7;
    overflow: hidden;
}

#mydocNumeroFileModal .mydoc-pdf-viewport--modal {
    height: 70vh;
    min-height: 420px;
}

#mydocNumeroFileModal .mydoc-pdf-container {
    position: absolute;
    inset: 0;
    overflow: auto;
    background: #edf2f7;
}

#mydocNumeroFileModal .mydoc-pdf-viewer {
    min-height: 100%;
}

#mydocNumeroFileModal .mydoc-pdf-unsupported {
    min-height: 320px;
    padding: 32px 24px;
    border: 1px dashed #dce4ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    text-align: center;
}

#mydocNumeroFileModal .mydoc-pdf-unsupported__title {
    margin: 0 0 10px;
    color: #16324f;
    font-size: 22px;
    font-weight: 700;
}

#mydocNumeroFileModal .mydoc-pdf-unsupported__text {
    max-width: 460px;
    margin: 0 auto 18px;
    color: #52667a;
    line-height: 1.6;
}

#mydocNumeroFileModal .textLayer .highlight {
    --highlight-bg-color: #3392e366;
}

#mydocNumeroFileModal .textLayer .highlight.selected {
    --highlight-selected-bg-color: #3392e366;
    background-color: #3392e366;
}

.mydoc-email-modal-dialog {
    width: 92%;
    max-width: 720px;
}

.mydoc-email-modal-body {
    padding: 22px 24px 18px;
}

.mydoc-email-modal-text {
    margin: 0 0 14px;
    color: #52667a;
}

.mydoc-email-label {
    display: block;
    margin-bottom: 8px;
    color: #16324f;
    font-weight: 600;
}

.mydoc-email-label-spaced {
    margin-top: 14px;
}

.mydoc-email-file-name {
    height: 42px;
    border-radius: 12px;
}

.mydoc-email-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.mydoc-email-container .customLook + .tagify,
.mydoc-email-container .tagify {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.tagify.customLook{
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
}

.mydoc-email-container .tagify {
    position: relative;
    align-content: center;
    min-height: 42px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 52px;
    border-color: #ccd6e0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.mydoc-email-container .tagify:hover {
    border-color: #aebccc;
}

.mydoc-email-container .tagify--focus {
    border-color: #3783c6;
    box-shadow: 0 0 0 3px rgba(51, 146, 227, 0.16);
}

.mydoc-email-container .tagify__input {
    width: auto;
    flex: 1 1 0;
    min-width: 24px;
    min-height: 28px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 20px;
}

.mydoc-email-container .tagify__tag {
    flex: 0 1 auto;
    min-width: 0;
    margin-inline-end: 2px;
    max-width: calc(100% - 42px);
}

.mydoc-email-container .tagify__tag > div {
    min-width: 0;
    max-width: 100%;
}

.mydoc-email-container .tagify__tag > div > span,
.mydoc-email-container .tagify__tag > div > [contenteditable] {
    min-width: 0;
    max-width: 100%;
}

.mydoc-email-container .tagify__tag--editable > div > [contenteditable] {
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.mydoc-email-container .tagify__tag__removeBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-inline: auto 6px;
    border-radius: 50%;
    background: rgba(22, 50, 79, 0.08);
    color: #3d5268;
    font-size: 16px;
    line-height: 1;
}

.mydoc-email-container .tagify__tag__removeBtn:hover,
.mydoc-email-container .tagify__tag__removeBtn:focus {
    background: #d66b6b;
    color: #fff;
}

#mydocEmailAddBtn.customLookAddButton {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    z-index: 3;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    background: #16324f !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
    appearance: none;
    -webkit-appearance: none;
}

#mydocEmailAddBtn.customLookAddButton[hidden] {
    display: none !important;
}

    #mydocEmailAddBtn.customLookAddButton::before {
        content: "+";
        display: block;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
    }

    #mydocEmailAddBtn.customLookAddButton:hover,
    #mydocEmailAddBtn.customLookAddButton:focus {
        background: #0f2438 !important;
        outline: none;
    }

.mydoc-shell .mydoc-email-help {
    margin: 10px 0 14px;
    color: #6b7c93;
}

.mydoc-shell .mydoc-numero-file-name {
    font-weight: 600;
    word-break: break-word;
}

.mydoc-shell .mydoc-numero-file-meta {
    flex: 0 0 160px;
    color: #6b7c93;
    font-size: 13px;
    text-align: right;
}

@media (max-width: 767px) {
    .mydoc-shell .mydoc-numero-file-label {
        align-items: flex-start;
        flex-direction: column;
    }

    .mydoc-shell .mydoc-numero-file-meta {
        flex: 0 0 auto;
        text-align: left;
    }
}

.mydoc-shell .mydoc-numero-files__empty {
    padding: 24px 20px;
    color: #6b7c93;
    text-align: center;
}

.mydoc-shell .mydoc-numero-files__footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.mydoc-shell .mydoc-numero-files__footer .btn + .btn {
    margin-left: 8px;
}

.mydoc-shell .mydoc-request-divider {
    position: relative;
    margin: 30px auto 24px;
    max-width: 320px;
    text-align: center;
}

.mydoc-shell .mydoc-request-divider:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid #dce4ec;
}

.mydoc-shell .mydoc-request-divider span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: #ffffff;
    color: #7b8794;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mydoc-shell .mydoc-request-actions {
    margin-top: 6px;
}

.mydoc-shell .mydoc-secondary-action {
    min-width: 220px;
}

.mydoc-shell .mydoc-secondary-action .fa {
    margin-right: 8px;
}

.mydoc-shell .mydoc-upload-shell {
    max-width: 680px;
    margin: 0 auto;
}

.mydoc-shell .mydoc-upload-dropzone {
    position: relative;
    display: block;
    min-height: 240px;
    padding: 34px 24px;
    border: 1px dashed rgba(11, 105, 163, 0.35);
    border-radius: 18px;
    background: #f7fafc;
    color: #243b53;
    cursor: pointer;
}

.mydoc-shell .mydoc-upload-dropzone.is-dragover {
    border-color: rgba(11, 105, 163, 0.7);
    background: linear-gradient(180deg, rgba(11, 105, 163, 0.08) 0%, rgba(11, 105, 163, 0.03) 100%);
    box-shadow: 0 14px 26px rgba(11, 105, 163, 0.12);
}

.mydoc-shell .mydoc-upload-icon {
    display: block;
    margin-bottom: 12px;
    color: #0b69a3;
    font-size: 34px;
}

.mydoc-shell .mydoc-upload-title,
.mydoc-shell .mydoc-upload-subtitle,
.mydoc-shell .mydoc-upload-browse {
    display: block;
}

.mydoc-shell .mydoc-upload-title {
    margin-bottom: 10px;
    color: #102a43;
    font-size: 26px;
    font-weight: 600;
}

.mydoc-shell .mydoc-upload-subtitle {
    color: #6b7c93;
    font-size: 15px;
    line-height: 1.6;
}

.mydoc-shell .mydoc-upload-browse {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 20px;
    border: 1px solid rgba(11, 105, 163, 0.24);
    border-radius: 12px;
    background: #ffffff;
    color: #0b69a3;
    font-weight: 700;
}

.mydoc-shell .mydoc-upload-browse .fa {
    margin-left: 8px;
}

.mydoc-shell .mydoc-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.mydoc-shell .mydoc-upload-filelist {
    margin-top: 14px;
}

.mydoc-shell .mydoc-upload-error {
    margin-top: 14px;
    margin-bottom: 0;
    border-radius: 12px;
}

.mydoc-shell .mydoc-upload-file-item {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(11, 105, 163, 0.12);
    border-radius: 10px;
    background: #ffffff;
    color: #52667a;
}

.mydoc-shell .mydoc-upload-file-remove {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 20px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7b8794;
    text-align: center;
}

.mydoc-shell .mydoc-upload-file-remove:hover,
.mydoc-shell .mydoc-upload-file-remove:focus {
    background: rgba(11, 105, 163, 0.08);
    color: #0b69a3;
    text-decoration: none;
}

.mydoc-shell .mydoc-upload-file-icon-pdf {
    color: #c53030;
}

.mydoc-shell .mydoc-upload-file-icon-word {
    color: #2b6cb0;
}

.mydoc-shell .mydoc-file-name-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.mydoc-shell .mydoc-file-name-label {
    min-width: 0;
}

.mydoc-shell .mydoc-upload-file-name {
    margin-left: 6px;
}

.mydoc-shell .mydoc-upload-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mydoc-shell .mydoc-upload-footer .btn + .btn {
    margin-left: 8px;
}

.mydoc-shell .mydoc-upload-footer .mydoc-upload-submit {
    margin-left: 0;
}

.mydoc-shell .mydoc-upload-submit {
    min-width: 140px;
}

.mydoc-shell .mydoc-upload-footer #mydocBackToSearchMode {
    min-width: 140px;
}

.mydoc-shell .mydoc-request-feedback {
    margin-bottom: 0;
}

.mydoc-shell .mydoc-analysis-layout {
    margin-top: 18px;
}

.mydoc-shell .mydoc-analysis-layout--grouped-flow {
    max-width: 760px;
    margin: 0 auto;
}

.mydoc-shell .mydoc-analysis-layout--upload-prompt-step {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.mydoc-shell .mydoc-analysis-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.mydoc-shell .mydoc-request-shell--grouped-flow .mydoc-analysis-main {
    gap: 0;
}

.mydoc-shell .mydoc-analysis-layout--split {
    display: grid;
    grid-template-columns: minmax(340px, 1.05fr) minmax(0, 1.25fr);
    gap: 24px;
    align-items: start;
}

/*.mydoc-shell .mydoc-current-result {
    padding: 18px 22px;
    background: #f8fafc;
    border: 1px solid #d9e4ee;
    border-radius: 18px;
}*/

/*.mydoc-shell .mydoc-jsoneditor-shell {
    margin-top: 18px;
}*/

.mydoc-shell .mydoc-prompt-shell .mydoc-prompt-composer .mydoc-numero-files--embedded {
    max-width: none;
    margin: 0;
    padding: 0 20px 18px;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

.mydoc-shell .mydoc-prompt-shell .mydoc-prompt-composer .mydoc-numero-files--embedded .mydoc-numero-files__list {
    height: 260px;
}

.mydoc-shell .mydoc-prompt-shell .mydoc-prompt-composer #mydocCurrentJobFileSelection:not(.mydoc-hidden) {
    margin-top: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5edf5;
}

.mydoc-shell .mydoc-jsoneditor-heading {
    margin: 0 0 10px;
    color: #16324f;
    font-size: 18px;
    font-weight: 700;
}

#mydocJsonEditor {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    height: 420px;
    max-height: 420px;
    border: 1px solid #d9e4ee;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#mydocJsonEditor .jsoneditor {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: auto;
    border: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#mydocJsonEditor .jsoneditor td,
#mydocJsonEditor .jsoneditor th,
#mydocJsonEditor .jsoneditor-field,
#mydocJsonEditor .jsoneditor-value,
#mydocJsonEditor .jsoneditor-readonly,
#mydocJsonEditor .jsoneditor-schema-error,
#mydocJsonEditor pre.jsoneditor-preview {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#mydocJsonEditor .jsoneditor-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: #c10808 !important;
    height: 50px;
}

#mydocJsonEditor .mydoc-jsoneditor-title {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

#mydocJsonEditor .jsoneditor-search {
    margin-right: 10px;
}

#mydocJsonEditor .jsoneditor-search input {
    width: 185px;
    height: 20px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
}

#mydocJsonEditor .jsoneditor-navigation-bar {
    border-bottom: 1px solid #edf2f9;
    background: #f8fbff;
    color: #475569;
}

#mydocJsonEditor .jsoneditor-tree,
#mydocJsonEditor .jsoneditor-outer,
#mydocJsonEditor .jsoneditor-frame {
    background: transparent;
}

#mydocJsonEditor .jsoneditor-outer {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: auto;
}

#mydocJsonEditor .jsoneditor-tree {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#mydocJsonEditor .jsoneditor-field,
#mydocJsonEditor .jsoneditor-value {
    color: #1f2937;
    max-width: 100%;
    overflow-wrap: anywhere;
}

#mydocJsonEditor .jsoneditor-field {
    position: relative;
    padding-left: 16px;
    text-transform: capitalize;
}

#mydocJsonEditor .jsoneditor-field::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 5px;
    height: 5px;
    transform: translateY(-50%);
    background-color: rgba(11, 105, 163, 0.72);
    border-radius: 999px;
    pointer-events: none;
}

#mydocJsonEditor .jsoneditor-tree .jsoneditor-selected {
    background-color: rgba(11, 105, 163, 0.08);
}

#mydocJsonEditor .jsoneditor-tree tr:hover .jsoneditor-field,
#mydocJsonEditor .jsoneditor-tree tr:hover .jsoneditor-value {
    background-color: rgba(11, 105, 163, 0.08);
    border-radius: 4px;
}

#mydocJsonEditor .jsoneditor-tree tr:hover .jsoneditor-field::before {
    background-color: rgba(11, 105, 163, 0.92);
}

#mydocJsonEditor .jsoneditor-value.jsoneditor-object,
#mydocJsonEditor .jsoneditor-value.jsoneditor-array,
#mydocJsonEditor .jsoneditor-readonly.jsoneditor-object,
#mydocJsonEditor .jsoneditor-readonly.jsoneditor-array {
    display: none !important;
}

#mydocJsonEditor .jsoneditor-tree .jsoneditor-field,
#mydocJsonEditor .jsoneditor-tree .jsoneditor-value {
    cursor: pointer;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    align-items: start;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-root-row {
    display: none;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-grid-item {
    display: block;
    min-width: 0;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-grid-item > td {
    display: block;
    padding: 0;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-grid-item .jsoneditor-values {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    margin-left: 0 !important;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-grid-item .jsoneditor-values > tbody > tr {
    display: block;
}

#mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid > tr.mydoc-jsoneditor-grid-item .jsoneditor-tree {
    overflow-x: hidden;
}

#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info .jsoneditor-field,
#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info .jsoneditor-value {
    color: #9ca3af;
    cursor: default;
}

#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info .jsoneditor-field::before {
    background-color: rgba(156, 163, 175, 0.75);
}

#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info .jsoneditor-selected {
    background-color: rgba(156, 163, 175, 0.08);
    border-radius: 4px;
}

#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info:hover .jsoneditor-field,
#mydocJsonEditor .jsoneditor-tree tr.mydoc-jsoneditor-missing-info:hover .jsoneditor-value {
    background-color: transparent;
    border-radius: 0;
}

#mydocJsonEditor .jsoneditor-tree .jsoneditor-highlight {
    background-color: rgba(245, 158, 11, 0.25);
}

#mydocJsonEditor .jsoneditor-field:focus,
#mydocJsonEditor .jsoneditor-value:focus {
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 0 0.15rem rgba(11, 105, 163, 0.15);
}

.mydoc-shell .mydoc-current-result__actions {
    margin-top: 14px;
}

.mydoc-shell .mydoc-request-shell--grouped-flow .mydoc-prompt-shell {
    margin-top: 0;
}

.mydoc-shell .mydoc-prompt-responses,
.mydoc-shell .mydoc-prompt-composer {
    border: 1px solid #d9e4ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.mydoc-shell .mydoc-prompt-responses {
    margin-bottom: 18px;
    overflow: hidden;
}

.mydoc-shell .mydoc-prompt-responses__header,
.mydoc-shell .mydoc-prompt-composer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 0;
}

.mydoc-shell .mydoc-prompt-heading {
    margin: 0;
    color: #16324f;
    font-size: 18px;
    font-weight: 700;
}

.mydoc-shell .mydoc-prompt-progress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: #37506b;
    font-size: 12px;
    font-weight: 700;
}

.mydoc-shell .mydoc-prompt-subtitle {
    margin: 0;
    padding: 0 20px;
    color: #5e768d;
    line-height: 1.6;
}

.mydoc-shell .mydoc-prompt-responses__list {
    padding: 14px 20px 20px;
}

.mydoc-shell .mydoc-prompt-response + .mydoc-prompt-response {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.mydoc-shell .mydoc-prompt-response__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mydoc-shell .mydoc-prompt-response__main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.mydoc-shell .mydoc-prompt-response__index,
.mydoc-shell .mydoc-prompt-input__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef4fb;
    color: #0b69a3;
    font-weight: 700;
}

.mydoc-shell .mydoc-prompt-response__body {
    min-width: 0;
    flex: 1 1 auto;
}

.mydoc-shell .mydoc-prompt-response__question {
    margin: 0;
    color: #334e68;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.mydoc-shell .mydoc-prompt-response__answer {
    margin-top: 8px;
    color: #1f2937;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.mydoc-shell .mydoc-prompt-response__answer--pending {
    color: #7b8794;
    font-style: italic;
}

.mydoc-shell .mydoc-prompt-response__side {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.mydoc-shell .mydoc-prompt-reference,
.mydoc-shell .mydoc-prompt-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    background: #ffffff;
    color: #52667a;
    text-decoration: none;
}

.mydoc-shell .mydoc-prompt-reference__icon {
    width: 16px;
    height: 16px;
    display: block;
}

.mydoc-shell .mydoc-prompt-reference:hover,
.mydoc-shell .mydoc-prompt-reference:focus,
.mydoc-shell .mydoc-prompt-delete:hover,
.mydoc-shell .mydoc-prompt-delete:focus {
    background: #f8fafc;
    color: #16324f;
    text-decoration: none;
}

.mydoc-shell .mydoc-prompt-delete {
    color: #b42318;
}

.mydoc-prompt-tooltip.top .tooltip-arrow {
    border-top-color: #ffffff;
}

.mydoc-prompt-tooltip.bottom .tooltip-arrow {
    border-bottom-color: #ffffff;
}

.mydoc-prompt-tooltip.left .tooltip-arrow {
    border-left-color: #ffffff;
}

.mydoc-prompt-tooltip.right .tooltip-arrow {
    border-right-color: #ffffff;
}

.mydoc-prompt-tooltip .tooltip-inner {
    max-width: 320px;
    padding: 10px 12px;
    border: 1px solid #d9e4ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #243b53;
    text-align: left;
}

.mydoc-prompt-tooltip__title {
    margin-bottom: 6px;
    color: #16324f;
    font-weight: 700;
}

.mydoc-prompt-tooltip__list {
    margin: 0;
    padding-left: 18px;
}

.mydoc-prompt-tooltip__item {
    color: #52667a;
}

.mydoc-prompt-tooltip__item + .mydoc-prompt-tooltip__item {
    margin-top: 4px;
}

.mydoc-shell .mydoc-prompt-composer {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mydoc-shell .mydoc-request-shell--grouped-flow .mydoc-prompt-composer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.mydoc-shell .mydoc-prompt-composer__header {
    padding: 0;
    margin-bottom: 8px;
}

.mydoc-shell .mydoc-prompt-composer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
    transition: background-color 0.18s ease;
}

.mydoc-shell .mydoc-prompt-composer-toggle:hover,
.mydoc-shell .mydoc-prompt-composer-toggle:focus {
    background: rgba(9, 52, 87, 0.03);
    outline: none;
}

.mydoc-shell .mydoc-prompt-composer-toggle__icon {
    color: #6a8299;
    transition: transform 0.18s ease, color 0.18s ease;
}

.mydoc-shell .mydoc-prompt-composer-toggle--collapsed .mydoc-prompt-composer-toggle__icon {
    transform: rotate(180deg);
    color: #4d647b;
}

.mydoc-shell .mydoc-prompt-composer-collapse {
    display: block;
}

.mydoc-shell .mydoc-prompt-composer__body {
    padding: 0 20px 20px;
}

.mydoc-shell .mydoc-prompt-subtitle {
    padding: 0;
    margin-bottom: 14px;
}

.mydoc-shell #mydocPromptAlert {
    margin: 0 20px 14px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.mydoc-shell #mydocPromptAlert.mydoc-prompt-alert--visible {
    opacity: 1;
    transform: translateY(0);
}

.mydoc-shell #mydocPromptAlert.mydoc-prompt-alert--fading {
    opacity: 0;
    transform: translateY(-4px);
}

.mydoc-shell .mydoc-prompt-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mydoc-shell .mydoc-prompt-input {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mydoc-shell .mydoc-prompt-input__group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid #d5deeb;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mydoc-shell .mydoc-prompt-input__group:focus-within {
    border-color: #0b69a3;
}

.mydoc-shell .mydoc-prompt-textarea {
    height: 33px;
    min-height: 33px;
    max-height: 33px;
    resize: none;
    border: 0;
    box-shadow: none;
    overflow-y: auto;
    white-space: nowrap;
}

.mydoc-shell .mydoc-prompt-textarea:focus {
    box-shadow: none;
}

.mydoc-shell .mydoc-prompt-clear {
    display: inline-flex !important;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    height: 22px;
    min-height: 22px;
    max-height: 22px;
    align-self: center;
    margin: 0 8px 0 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent;
    background-clip: padding-box;
    color: #8b8b8b;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none !important;
    outline: 0;
    overflow: hidden;
    transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

.mydoc-shell .mydoc-prompt-clear__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 9px;
}

.mydoc-shell .mydoc-prompt-clear__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mydoc-shell .mydoc-prompt-textarea:placeholder-shown ~ .mydoc-prompt-clear {
    opacity: 0;
    pointer-events: none;
}

.mydoc-shell .mydoc-prompt-clear:hover,
.mydoc-shell .mydoc-prompt-clear:focus {
    background: #f3f4f6;
    color: #1f3b63;
}

.mydoc-shell .mydoc-prompt-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5edf5;
}

.mydoc-shell .mydoc-prompt-actions .btn {
    min-width: 170px;
    border-radius: 12px;
    font-weight: 700;
}

.mydoc-shell .mydoc-btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mydoc-shell .mydoc-btn-loading .mydoc-btn-loading__icon {
    margin-right: 0;
}

.mydoc-shell .mydoc-prompt-actions__back {
    margin-right: auto;
}

.mydoc-shell .mydoc-prompt-actions .fa {
    margin-right: 8px;
}

.mydoc-shell .mydoc-history-empty {
    padding: 20px 16px;
    border: 1px dashed #d6dee6;
    border-radius: 16px;
    background: #fafcfe;
    color: #5e768d;
    text-align: center;
}

.mydoc-shell .mydoc-history-documents {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    vertical-align: middle;
}

.mydoc-shell .mydoc-history-document-item {
    display: inline-flex;
    align-items: center;
}

.mydoc-shell .mydoc-history-document-name {
    word-break: break-word;
}

.mydoc-shell .mydoc-empty-state {
    padding: 28px 24px;
    border-radius: 16px;
}

.mydoc-shell .mydoc-empty-state__header {
    margin-bottom: 24px;
}

.mydoc-shell .mydoc-empty-state__title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #102a43;
    font-size: 34px;
    font-weight: 700;
}

.mydoc-shell .mydoc-empty-state__subtitle {
    margin-bottom: 0;
    color: #7b8794;
    font-size: 16px;
}

.mydoc-shell .mydoc-empty-state__list {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 12px 0;
    margin-left: -12px;
    margin-right: -12px;
}

.mydoc-shell .mydoc-empty-card {
    display: table-cell;
    padding: 22px;
    border: 1px solid #e1e8ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
    vertical-align: top;
}

.mydoc-shell .mydoc-empty-card__icon {
    display: inline-block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    text-align: center;
    font-size: 20px;
}

.mydoc-shell .mydoc-empty-card__icon-svg {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 14px;
}

.mydoc-shell .mydoc-empty-card__icon--rose {
    background: #ffe3ec;
    color: #b83280;
}

.mydoc-shell .mydoc-empty-card__icon--slate {
    background: #e9eef5;
    color: #486581;
}

.mydoc-shell .mydoc-empty-card__icon--mint {
    background: #d9f5ef;
    color: #0f766e;
}

.mydoc-shell .mydoc-empty-card__title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #102a43;
    font-size: 20px;
    font-weight: 700;
}

.mydoc-shell .mydoc-empty-card__text {
    margin-bottom: 0;
    color: #52667a;
    line-height: 1.7;
}

.mydoc-shell .mydoc-empty-card__highlight {
    font-weight: 700;
}

.mydoc-shell .mydoc-empty-card__highlight--rose {
    color: #b83280;
}

.mydoc-shell .mydoc-empty-card__highlight--slate {
    color: #486581;
}

.mydoc-shell .mydoc-empty-card__highlight--mint {
    color: #0f766e;
}

.mydoc-shell .mydoc-document-viewer {
    border: 1px solid #dce4ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.mydoc-shell .mydoc-analysis-layout--split .mydoc-document-viewer {
    position: sticky;
    top: 16px;
}

.mydoc-shell .mydoc-document-viewer__header {
    padding: 18px 20px 0;
}

.mydoc-shell .mydoc-document-viewer__title {
    margin: 0 0 6px;
    color: #16324f;
    font-size: 22px;
    font-weight: 700;
}

.mydoc-shell .mydoc-document-viewer__subtitle {
    margin: 0 0 14px;
    color: #52667a;
    line-height: 1.5;
}

.mydoc-shell .mydoc-pdf-tabs {
    display: flex;
    gap: 6px;
    padding: 0 20px;
    border-bottom: 1px solid #e4ebf2;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.mydoc-shell .mydoc-pdf-tabs > li {
    float: none;
    margin-bottom: 0;
}

.mydoc-shell .mydoc-pdf-tabs > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 0;
    border: 1px solid transparent;
    border-radius: 12px 12px 0 0;
    color: #486581;
    font-weight: 600;
}

.mydoc-shell .mydoc-pdf-tabs > li.active > a,
.mydoc-shell .mydoc-pdf-tabs > li.active > a:hover,
.mydoc-shell .mydoc-pdf-tabs > li.active > a:focus {
    border-color: #dce4ec #dce4ec #ffffff;
    background: #ffffff;
    color: #16324f;
}

.mydoc-shell .mydoc-pdf-tab-name {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mydoc-shell .mydoc-pdf-tab-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.mydoc-shell .mydoc-pdf-tab-icon {
    flex: 0 0 auto;
}

.mydoc-shell .mydoc-pdf-tabcontent {
    padding: 18px 20px 20px;
}

.mydoc-shell .mydoc-pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.mydoc-shell .mydoc-pdf-toolbar .btn {
    border-radius: 10px;
}

.mydoc-shell .mydoc-pdf-toolbar-spacer {
    flex: 1 1 auto;
}

.mydoc-shell .mydoc-pdf-goto-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #52667a;
    font-weight: 600;
}

.mydoc-shell .mydoc-pdf-goto {
    width: 86px;
    height: 36px;
}

.mydoc-shell .mydoc-pdf-status {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #eef4fb;
    color: #1f2933;
}

.mydoc-shell .mydoc-pdf-status--danger {
    background: #fce8e6;
    color: #b42318;
}

.mydoc-shell .mydoc-pdf-status--info {
    background: #eef4fb;
    color: #16324f;
}

.mydoc-shell .mydoc-pdf-viewport {
    position: relative;
    height: 720px;
    min-height: 300px;
    border: 1px solid #dce4ec;
    border-radius: 14px;
    background: #edf2f7;
    overflow: hidden;
}

.mydoc-shell .mydoc-pdf-viewport--modal {
    height: 70vh;
    min-height: 420px;
}

.mydoc-shell .mydoc-pdf-container {
    position: absolute;
    inset: 0;
    overflow: auto;
    background: #edf2f7;
}

.mydoc-shell .mydoc-pdf-viewer {
    min-height: 100%;
}

.mydoc-shell .mydoc-pdf-unsupported {
    min-height: 320px;
    padding: 32px 24px;
    border: 1px dashed #dce4ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    text-align: center;
}

.mydoc-shell .mydoc-pdf-unsupported__title {
    margin: 0 0 10px;
    color: #16324f;
    font-size: 22px;
    font-weight: 700;
}

.mydoc-shell .mydoc-pdf-unsupported__text {
    max-width: 460px;
    margin: 0 auto 18px;
    color: #52667a;
    line-height: 1.6;
}

.mydoc-shell .mydoc-document-viewer .textLayer .highlight {
    --highlight-bg-color: #3392e366;
}

.mydoc-shell .mydoc-document-viewer .textLayer .highlight.selected {
    --highlight-selected-bg-color: #3392e366;
    background-color: #3392e366;
}

.mydoc-shell.mydoc-history-collapsed .history-col {
    display: none;
}

.mydoc-shell.mydoc-history-collapsed .main-col {
    width: 100%;
}

.mydoc-shell.mydoc-history-collapsed .history-toggle-btn-inline,
.mydoc-shell.mydoc-history-collapsed .history-new-request-btn-inline {
    display: table-cell;
}

.mydoc-shell.mydoc-shell--from-schedina .history-col,
.mydoc-shell.mydoc-shell--from-schedina .history-toggle-btn-inline,
.mydoc-shell.mydoc-shell--from-schedina .history-new-request-btn-inline {
    display: none !important;
}

.mydoc-shell.mydoc-shell--from-schedina .main-col {
    width: 100%;
}

@media screen and (max-width: 990px) and (min-width: 0px) {
    .mydoc-page {
        padding: 0;
    }

    .mydoc-shell .history-col,
    .mydoc-shell .main-col,
    .mydoc-shell.mydoc-history-collapsed .main-col {
        width: 100%;
        float: none;
    }

    .mydoc-shell .history-panel,
    .mydoc-shell .workspace-panel {
        border-radius: 14px;
    }

    .mydoc-shell .workspace-panel {
        min-height: auto;
    }

    .mydoc-shell .history-content {
        max-height: none;
    }

    .mydoc-shell .mydoc-title-bar,
    .mydoc-shell .mydoc-title-bar > * {
        display: block;
    }

    .mydoc-shell .mydoc-main-title {
        padding: 0;
        margin-bottom: 12px;
        font-size: 22px;
    }

    .mydoc-shell .history-new-request-btn-inline {
        width: auto;
    }

    .mydoc-shell .mydoc-inline-form,
    .mydoc-shell .mydoc-inline-form .form-control,
    .mydoc-shell .mydoc-inline-form .btn {
        display: block;
        width: 100%;
    }

    .mydoc-shell .mydoc-inline-form .form-control {
        border-right: 1px solid #ccc;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .mydoc-shell .mydoc-inline-form .btn {
        border-radius: 10px;
    }

    .mydoc-shell .mydoc-numero-file-label,
    .mydoc-shell .mydoc-numero-file-select,
    .mydoc-shell .mydoc-numero-file-main,
    .mydoc-shell .mydoc-numero-file-meta {
        display: block;
        width: 100%;
        text-align: left;
    }

    .mydoc-shell .mydoc-numero-file-select {
        margin-bottom: 8px;
    }

    .mydoc-shell .mydoc-numero-file-meta {
        margin-top: 8px;
    }

    .mydoc-shell .mydoc-numero-files__footer {
        text-align: left;
    }

    .mydoc-shell .mydoc-empty-state__list,
    .mydoc-shell .mydoc-empty-card {
        display: block;
        width: 100%;
    }

    .mydoc-shell .mydoc-empty-card {
        margin-bottom: 12px;
    }

    .mydoc-shell .mydoc-empty-card:last-child {
        margin-bottom: 0;
    }

    .mydoc-shell .mydoc-empty-state,
    .mydoc-shell .workspace-panel {
        padding: 18px;
    }

    .mydoc-shell .mydoc-request-shell {
        padding: 0 18px 18px;
    }

    .mydoc-shell .mydoc-prompt-responses__header,
    .mydoc-shell .mydoc-prompt-composer__header,
    .mydoc-shell .mydoc-prompt-response__row,
    .mydoc-shell .mydoc-prompt-input {
        display: block;
    }

    .mydoc-shell .mydoc-prompt-progress,
    .mydoc-shell .mydoc-prompt-response__side {
        margin-top: 10px;
    }

    .mydoc-shell .mydoc-prompt-actions {
        text-align: left;
    }

    .mydoc-shell .mydoc-analysis-layout--split {
        display: block;
    }

    .mydoc-shell .mydoc-analysis-layout--split .mydoc-document-viewer {
        position: static;
    }

    .mydoc-shell .mydoc-document-viewer__header,
    .mydoc-shell .mydoc-pdf-tabs,
    .mydoc-shell .mydoc-pdf-tabcontent {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mydoc-shell .mydoc-pdf-viewport {
        height: 520px;
    }

    #mydocJsonEditor table.jsoneditor-tree > tbody.mydoc-jsoneditor-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
