﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --adr-navy: #091F61;
    --adr-navy-tab: #0939D7;
    --adr-bg: #F4F6FB;
    --adr-white: #FFFFFF;
    --adr-border: #E6E9ED;
    --adr-row-border: #E3E8FA;
    --adr-muted: #5C73B3;
    --adr-hover: #F1F4FA;
    --adr-primary: #0939D7;
    --adr-primary-txt: #F9FAFE;
    --adr-primary-hover: #0825AE;
    --adr-tab-active: #E9F1FF;
    --adr-info: #0939D7;
    --adr-badge-blue-bg: #9ACFF7;
    --adr-badge-blue-text: #00004D;
    --adr-label: #6878AE;
    --adr-surface: #F9FAFE;
    --adr-text-soft: #7387BF;
    --adr-header-h: 68px;
    --adr-panel-w: 80px;
    --adr-panel-w-open: 250px;
    --adr-scroll-thumb: #C5CCE0;
    --adr-scroll-thumb-hover: #A9B3D1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--adr-scroll-thumb) transparent;
}

html {
    font-family: 'Inter', sans-serif;
    height: 100%;
}

@supports selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: auto;
        scrollbar-color: auto;
    }

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-corner {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--adr-scroll-thumb);
        background-clip: padding-box;
        border: 2px solid transparent;
        border-radius: 12px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background-color: var(--adr-scroll-thumb-hover);
            border-width: 1px;
        }
}

ul,
ol,
fieldset,
legend {
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--adr-navy);
    background: var(--adr-bg);
    min-height: 100%;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

button,
[role="button"] {
    cursor: pointer;
    background: none;
    border: 0;
}

    button:disabled,
    [disabled] {
        cursor: not-allowed;
    }

textarea {
    resize: vertical;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

ul[role="list"],
ol[role="list"],
.list-reset {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    height: 0;
    color: inherit;
    border: 0;
    border-top: 1px solid currentColor;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

[hidden] {
    display: none !important;
}

:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.adr_main_header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--adr-header-h);
    background: var(--adr-white);
    color: var(--adr-navy);
    border-bottom: 4px solid #E3E8FA;
}

    .adr_main_header .nav-link {
        color: var(--adr-navy);
    }

.main_title_wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    row-gap: 8px;
    margin-bottom: 24px;
    flex-grow: 1;
    min-width: 1px;
}

.sub_header_wrap {
    display: flex;
    align-items: center;
}

.main_title {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: #091F61;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 0;
}

.main_title_info {
    color: #5C73B3;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.adr_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: all .25s ease;
}

.adr_container {
    display: flow-root;
}

.adr_btn--primary {
    background: var(--adr-primary);
    color: var(--adr-primary-txt);
    border: 1px solid #C7CFEA;
}

    .adr_btn--primary:hover:not(:disabled) {
        background: var(--adr-primary-hover);
    }

    .adr_btn--primary:disabled {
        background: #C5CCE0;
        border-color: #C5CCE0;
        color: var(--adr-primary-txt);
    }

.adr_btn:disabled {
    cursor: not-allowed;
}

.adr_cases_wrap_section {
    background: var(--adr-white);
    border-radius: 12px;
    box-shadow: 0px 2px 4px 0px #04113913;
}

.adr_cases_wrap_section_table {
    overflow: auto;
    max-height: calc(100vh - 280px);
    max-height: calc(100dvh - 280px);
}

.adr_cases_wrap_section_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    min-height: 56px;
    padding: 12px 16px;
}

.adr_pagination_info,
.adr_pagination_label {
    margin: 0;
    font-size: 13px;
    color: var(--adr-label);
    white-space: nowrap;
}

.adr_pagination_nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adr_pagination_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--adr-white);
    border: 1px solid var(--adr-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--adr-navy);
    transition: background-color .15s ease, border-color .15s ease;
}

    .adr_pagination_btn:hover:not(:disabled) {
        background: var(--adr-hover);
        border-color: var(--adr-muted);
    }

    .adr_pagination_btn:disabled {
        color: var(--adr-muted);
    }

.adr_pagination_double {
    display: inline-flex;
}

    .adr_pagination_double .icon + .icon {
        margin-left: -6px;
    }

.qapi_select_custom.adr_rows_select {
    width: 70px;
}

    .qapi_select_custom.adr_rows_select .bootstrap-select > .dropdown-toggle.btn {
        min-height: 32px;
        padding: 4px 8px 4px 12px;
        border-radius: 6px;
        font-size: 13px;
        column-gap: 4px;
        font-weight: 500;
    }

    .qapi_select_custom.adr_rows_select .bootstrap-select .dropdown-item {
        padding: 6px 10px;
        font-size: 13px;
    }

.adr_rows_select .select_custom {
    width: 70px !important;
    left: auto;
}

.adr_table {
    width: 100%;
    table-layout: fixed;
    font-size: 14px;
    line-height: 20px;
}

    .adr_table th {
        position: sticky;
        top: -1px;
        z-index: 1;
        height: 40px;
        padding: 0 16px;
        font-weight: 600;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
        background: #FAFBFE;
        border-top: 1px solid var(--adr-row-border);
        box-shadow: inset 0 -1px 0 var(--adr-row-border);
    }

    .adr_table td {
        padding: 4px 16px;
        vertical-align: middle;
        border-bottom: 1px solid var(--adr-row-border);
    }

.adr_table_col_due,
.adr_table_col_number,
.adr_table_col_status {
    width: 160px;
}

.adr_table_col_type {
    width: 200px;
}

.adr_table_col_audit {
    width: 220px;
}

.adr_table_col_determination {
    width: 160px;
}

.adr_table_col_actions {
    width: 80px;
}

.adr_table_col_patient {
    width: 460px;
}

.adr_table_col_audit_date {
    width: 140px;
}

.adr_table .adr_table_actions {
    padding: 8px 8px 0;
    text-align: center;
}

.adr_cell_title {
    display: block;
    font-weight: 600;
}

    .adr_cell_title:has(.icon) {
        display: flex;
        align-items: center;
        column-gap: 4px;
    }

.adr_cell_sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
}

.adr_sort {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    font-weight: 600;
    color: inherit;
}

.adr_sort_icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

    .adr_sort_icon .icon {
        display: block;
        line-height: 8px;
        height: 8px;
    }

.adr_sort--asc .icon-chevron-down,
.adr_sort--desc .icon-chevron-up {
    visibility: hidden;
}

.adr_audit {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    color: var(--adr-info);
}

.adr_audit_icon_txt {
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    font-size: 13px;
    color: #091F61;
}

.adr_audit_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

    .adr_audit_icon.icon_error {
        background: #FDECEC;
        color: #DC3545;
    }

    .adr_audit_icon.icon_warning {
        background: #FFF3CD;
        color: #F59E0B;
    }

    .adr_audit_icon.icon_success {
        background: #EAF7EE;
        color: #28A745;
    }

.adr_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    background: var(--adr-badge-blue-bg);
    color: var(--adr-badge-blue-text);
    border-width: 1px;
    border-style: solid;
}

.adr_badge--processing {
    background: #E9F1FF;
    color: #0939D7;
    border-color: #C7CFEA;
}

.adr_badge--ready {
    background: #EAF7EE;
    color: #198754;
    border-color: #9FE5AB;
}

.adr_badge--submitted {
    background: #EAF7EE;
    color: #198754;
    border-color: #9FE5AB;
}

.adr_badge--denied_partially {
    background: #FFF3CD;
    color: #F59E0B;
    border-color: #F59E0B;
}

.adr_badge--not_started,
.adr_badge--denied {
    background: #FDECEC;
    color: #DC3545;
    border-color: #F5C2C7;
}

.adr_badge--accepted {
    background: #EAF7EE;
    color: #198754;
    border-color: #9FE5AB;
}

.adr_icon_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 16px;
    color: var(--adr-navy);
    transition: background-color .15s ease;
}

    .adr_icon_btn:hover {
        background: var(--adr-hover);
    }

.adr_pagination {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-size: 12px;
}

.adr_cases_wrap_section_emtpy {
    padding: 110px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
}

.adr_cases_wrap_section_emtpy_title {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: var(--adr-navy);
    margin-bottom: 0;
}

.adr_cases_wrap_section_emtpy_txt {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--adr-navy);
}

    .adr_cases_wrap_section_emtpy_txt a {
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: all .25s ease-in;
    }

        .adr_cases_wrap_section_emtpy_txt a:hover {
            opacity: .8;
        }

.adr_cases_wrap_section_emtpy .adr_btn {
    margin-top: 12px;
    text-decoration: none;
}

.link_td {
    color: var(--adr-primary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all .25s ease;
}

    .link_td:hover {
        opacity: .8;
    }

.cell_title_error i,
.cell_title_error {
    color: #DC3545;
}

.cell_title_warning i,
.cell_title_warning {
    color: #F59E0B;
}

.cell_title_success i,
.cell_title_success {
    color: #28A745;
}

.medium_td {
    font-weight: 500;
    font-size: 13px;
}

.adr_logo {
    color: #091F61;
    display: flex;
    column-gap: 12px;
}

    .adr_logo:hover {
        color: #091F61;
    }

.adr_logo_img {
    display: block;
    height: 34px;
    width: auto;
}

.adr_user {
    display: flex;
    align-items: center;
    column-gap: 12px;
}

.qapi_select_custom .bootstrap-select {
    width: 100%;
}

    .qapi_select_custom .bootstrap-select > .dropdown-toggle.btn {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 8px 12px;
        background-color: var(--adr-white);
        border: 1px solid var(--adr-border);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #091F61;
        transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    }

        .qapi_select_custom .bootstrap-select > .dropdown-toggle.btn:hover {
            background-color: #F7F8FC;
        }

        .qapi_select_custom .bootstrap-select > .dropdown-toggle.btn:focus-visible,
        .qapi_select_custom .bootstrap-select > .dropdown-toggle.btn[aria-expanded="true"] {
            background-color: var(--adr-white);
            border-color: #68A8ED;
            box-shadow: 0 0 0 4px #EBF9FF;
            outline: 0 !important;
        }

    .qapi_select_custom .bootstrap-select .dropdown-toggle .filter-option {
        position: static;
        flex: 1;
        min-width: 0;
    }

    .qapi_select_custom .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .qapi_select_custom .bootstrap-select > .dropdown-toggle::after {
        content: "\ea21";
        font-family: 'Nucleo';
        font-size: 22px;
        line-height: 1;
        color: #5C73B3;
        border: 0;
        margin: 0;
        transition: transform .2s ease;
    }

    .qapi_select_custom .bootstrap-select > .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .qapi_select_custom .bootstrap-select > .dropdown-menu {
        margin-top: 4px !important;
        padding: 4px;
        border: 1px solid #E4E8F2;
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(9, 31, 97, .1);
    }

        .qapi_select_custom .bootstrap-select > .dropdown-menu.show {
            animation: adr_dropdown_in .18s ease-out;
        }

    .qapi_select_custom .bootstrap-select .dropdown-menu.inner {
        padding: 0;
    }

    .qapi_select_custom .bootstrap-select .dropdown-item {
        display: flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 14px;
        color: #404A59;
    }

        .qapi_select_custom .bootstrap-select .dropdown-item:hover,
        .qapi_select_custom .bootstrap-select .dropdown-item:focus {
            background-color: #F4F6FA;
            color: #404A59;
        }

        .qapi_select_custom .bootstrap-select .dropdown-item.active,
        .qapi_select_custom .bootstrap-select .dropdown-item:active {
            background-color: transparent;
            color: #404A59;
        }

    .qapi_select_custom .bootstrap-select li.selected > .dropdown-item::before {
        content: "\ea3b";
        font-family: 'Nucleo';
        font-size: 16px;
        line-height: 1;
        margin-right: 6px;
        margin-left: -2px;
        margin-top: 4px;
    }

    .qapi_select_custom .bootstrap-select .check-mark {
        display: none !important;
    }

    .qapi_select_custom .bootstrap-select .dropdown-toggle:focus, .qapi_select_custom .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
        outline: unset !important;
    }

.main_page_container {
    display: flex;
    min-height: calc(100vh - var(--adr-header-h));
}

.left_panel {
    flex: 0 0 var(--adr-panel-w);
    transition: flex-basis .3s ease;
}

.left_panel_inner {
    position: sticky;
    top: var(--adr-header-h);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: var(--adr-panel-w);
    height: calc(100vh - var(--adr-header-h));
    padding: 16px;
    background: var(--adr-white);
    border-right: 1px solid var(--adr-border);
    overflow: hidden;
    transition: width .3s ease, box-shadow .3s ease;
}

.left_panel:hover .left_panel_inner {
    width: var(--adr-panel-w-open);
    box-shadow: 4px 0 20px rgba(9, 31, 97, .08);
}

.left_panel--open {
    flex-basis: var(--adr-panel-w-open);
}

    .left_panel--open .left_panel_inner,
    .left_panel--open:hover .left_panel_inner {
        width: var(--adr-panel-w-open);
        box-shadow: none;
    }

.left_panel_nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.left_panel_link {
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--adr-navy-tab);
    white-space: nowrap;
    transition: background-color .15s ease;
}

    .left_panel_link .icon {
        font-size: 18px;
        transition: transform .3s ease;
    }

    .left_panel_link:hover {
        background: var(--adr-hover);
    }

    .left_panel_link.active {
        background: var(--adr-tab-active);
        font-weight: 600;
    }

.left_panel_text {
    opacity: 0;
    transition: opacity .2s ease;
    white-space: normal;
}

.left_panel:hover .left_panel_text,
.left_panel--open .left_panel_text {
    opacity: 1;
    transition-delay: .1s;
}

.left_panel_toggle {
    margin-top: auto;
}

.left_panel--open .left_panel_toggle .icon {
    transform: rotate(180deg);
}

.left_panel--no_anim,
.left_panel--no_anim * {
    transition: none !important;
}

.adr_main {
    flex: 1;
    min-width: 0;
    padding-top: 32px;
    --bs-gutter-x: 64px;
}

.table_info_txt {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    column-gap: 4px;
    color: #5C73B3;
    font-weight: 500;
    font-size: 13px;
}

@keyframes adr_dropdown_in {
    from {
        opacity: 0;
        translate: 0 -6px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.adr_user_logo {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    border-radius: 50%;
    background: #091F61;
    color: #fff;
    letter-spacing: 2px;
}

.adr_breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 16px;
    color: #5C73B3;
}

    .adr_breadcrumb li + li::before {
        content: "/";
        margin-right: 6px;
        color: var(--adr-muted);
    }

    .adr_breadcrumb a:hover {
        color: var(--adr-primary);
    }

    .adr_breadcrumb [aria-current="page"] {
        color: var(--adr-navy);
        font-weight: 600;
    }

.adr_new_case_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px;
}

.adr_card_head {
    padding: 24px;
    border-bottom: 1px solid var(--adr-row-border);
}

.adr_card_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
}

.adr_card_sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: #5C73B3;
}

.adr_card_head--plain {
    padding-bottom: 0;
    border-bottom: 0;
}

.adr_card_head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 24px;
    row-gap: 24px;
}

.adr_card_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 24px;
}

.adr_card_actions--divided {
    column-gap: 14px;
}

.divider_line {
    min-height:16px;
    height: 100%;
    width: 1px;
    background: #5C73B3;
}
.adr_card_count {
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    color: #5C73B3;
}

.adr_card_body {
    padding: 24px;
}

.adr_card_head--plain + .adr_card_body {
    padding-top: 16px;
}

.adr_form_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.adr_field {
    min-width: 0;
}

.adr_field--full {
    grid-column: 1 / -1;
}

.adr_field_label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.adr_required {
    margin-left: 3px;
    color: #DC3545;
    font-size: 12px;
    font-weight: 400;
}

.adr_form .form-control {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #D9DEEA;
    border-radius: 8px;
    font-size: 13px;
    color: var(--adr-navy);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .adr_form .form-control::placeholder {
        color: #5C73B3;
    }

    .adr_form .form-control:focus {
        border-color: #68A8ED;
        box-shadow: 0 0 0 4px #EBF9FF;
    }

.adr_field_message {
    display: none;
    align-items: center;
    justify-content: space-between;
    column-gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
}

.adr_field--error .adr_field_message {
    display: flex;
}

.adr_field_error {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    color: #DC3545;
    font-size: 13px;
}

    .adr_field_error .icon {
        font-size: 16px;
    }

.adr_field_link {
    color: var(--adr-primary);
    font-weight: 600;
    white-space: nowrap;
    font-size: 13px;
}

    .adr_field_link:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.adr_btn--secondary {
    background: var(--adr-white);
    color: var(--adr-navy);
    border: 1px solid #D3D9EF;
}

    .adr_btn--secondary:hover:not(:disabled) {
        background: var(--adr-hover);
        color: var(--adr-navy);
    }

    .adr_btn--secondary:disabled {
        color: var(--adr-text-soft);
    }

.adr_btn--sm {
    height: 32px;
    border-radius: 6px;
    font-size: 13px;
}

label.adr_btn {
    cursor: pointer;
    margin: 0;
}

.adr_upload_input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.adr_upload_wrap {
    position: relative;
}

.adr_upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 12px;
    padding: 22px 24px;
    background: #F8F9FA;
    border: 1px dashed #D3D9EF;
    border-radius: 8px;
    text-align: center;
    transition: background-color .15s ease, border-color .15s ease;
}

.adr_upload--drag {
    background: #EEF4FF;
    border-color: var(--adr-primary);
}

.adr_upload_wrap:has(.adr_upload_input:focus-visible) .adr_upload {
    border-color: var(--adr-primary);
    box-shadow: 0 0 0 4px #EBF9FF;
}

.adr_upload_icon {
    font-size: 28px;
    line-height: 1;
    color: var(--adr-muted);
}

.adr_upload_title {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}

.adr_upload_or {
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: #5C73B3;
}

.adr_upload_formats {
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: #5C73B3;
}

.adr_upload_files {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    margin-top: 12px;
}

    .adr_upload_files:empty {
        display: none;
    }

.adr_upload_file {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--adr-row-border);
    border-radius: 8px;
}

.adr_upload_file_info {
    min-width: 0;
}

.adr_upload_file_name {
    display: block;
    line-height: 18px;
    overflow-wrap: anywhere;
    color: #091F61;
    font-size: 14px;
    font-weight: 600;
}

.adr_upload_file_size {
    display: block;
    font-size: 13px;
    line-height: 16px;
    color: #5C73B3;
}

.adr_upload_file_actions {
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin-top: 8px;
}

.adr_link {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--adr-primary);
    cursor: pointer;
}

    .adr_link:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.adr_link--danger {
    color: #DC3545;
}

.adr_badge--sm {
    height: 24px;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
}

.adr_form_hint {
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 16px;
    color: #5C73B3;
}

    .adr_form_hint .icon {
        font-size: 14px;
        flex-shrink: 0;
    }

.adr_form_actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    margin-top: 20px;
}

.adr_next {
    position: sticky;
    top: calc(var(--adr-header-h) + 24px);
    padding: 24px;
}

.adr_next_title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.adr_next_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adr_next_item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    min-height: 54px;
}

    .adr_next_item strong {
        line-height: 18px;
        font-weight: 600;
        font-size: 14px;
        color: #091F61;
    }

    .adr_next_item p {
        font-size: 12px;
        line-height: 16px;
        color: #5C73B3;
        margin-bottom: 0;
    }

    .adr_next_item > div {
        display: flex;
        flex-direction: column;
        row-gap: 4px;
    }

.adr_next_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E9F1FF;
    font-size: 13px;
    font-weight: 700;
    color: #0939D7;
}

.adr_next_note {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: var(--adr-bg);
    border-radius: 8px;
    font-size: 12px;
    line-height: 16px;
    color: #5C73B3;
    margin-bottom: 0;
}

    .adr_next_note .icon {
        flex-shrink: 0;
        margin-top: 1px;
        font-size: 14px;
    }

.adr_badge--complete {
    background: #EAF7EE;
    color: #198754;
    border-color: #9FE5AB;
}

.adr_badge--attention {
    background: #FFF3CD;
    color: #D48C00;
    border-color: #FFEBA8;
}

.adr_badge--xs {
    height: 20px;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
}

.adr_breadcrumb_nav {
    margin-bottom: 16px;
}

.adr_case_stack {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    padding-bottom: 32px;
}

.adr_case_head {
    padding: 24px;
}

.adr_case_head_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.adr_case_head_info {
    min-width: 0;
}

.adr_case_title_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
}

.adr_case_title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.adr_case_patient {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 17px;
    color: var(--adr-text-soft);
}

    .adr_case_patient strong {
        font-weight: 600;
        color: var(--adr-navy);
    }

.adr_due_chip {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    flex-shrink: 0;
    height: 32px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

    .adr_due_chip .icon {
        font-size: 16px;
    }

.adr_due_chip_date {
    font-weight: 400;
}

.adr_due_chip--danger {
    background: #FDECEC;
    color: #DC3545;
}

.adr_due_chip--warning {
    background: #FFF3CD;
    color: #946200;
}

.adr_due_chip--success {
    background: #EAF7EE;
    color: #198754;
}

.adr_case_meta {
    display: flex;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 16px 0 0;
    padding: 16px 8px 0;
    border-top: 1px solid var(--adr-row-border);
}

.adr_case_meta_item dt {
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--adr-text-soft);
}

.adr_case_meta_item dd {
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    margin-bottom: 0
}

.adr_case_meta_item:last-child {
    text-align: right;
}

.adr_case_title_editor .form-control {
    width: 260px;
    flex: 0 0 260px;
}

.adr_case_meta_item .adr_fields_editor_inputs {
    flex-wrap: nowrap;
}

    .adr_case_meta_item .adr_fields_editor_inputs .form-control {
        flex: 0 0 150px;
        width: 150px;
    }

.adr_case_meta_item dd.adr_fields_editor {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    white-space: normal;
    text-align: left;
}

.adr_case_meta_item .adr_fields_value_btn {
    font-weight: inherit;
}

.adr_stepper {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 16px 20px;
    list-style: none;
    overflow-x: auto;
}

.adr_stepper_item {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex-shrink: 0;
}

.adr_stepper_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--adr-row-border);
    border-radius: 50%;
    background: var(--adr-surface);
    font-size: 14px;
    font-weight: 700;
    color: var(--adr-muted);
    flex-shrink: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums
}

.adr_stepper_text {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.adr_stepper_title {
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    color: #091F61;
    white-space: nowrap;
}

.adr_case_meta_item {
    display: flex;
    flex-direction: column;
    row-gap: 2px;
}

.adr_stepper_sub {
    font-size: 12px;
    line-height: 14px;
    color: var(--adr-muted);
}

.adr_stepper_item--active .adr_stepper_num {
    background: var(--adr-primary);
    border-color: var(--adr-primary);
    color: var(--adr-white);
}

.adr_stepper_item--active .adr_stepper_title,
.adr_stepper_item--active .adr_stepper_sub {
    color: var(--adr-primary);
}

.adr_stepper_item--active .adr_stepper_sub {
    font-weight: 600;
}

.adr_stepper_num .icon {
    font-size: 18px;
}

.adr_stepper_item--done .adr_stepper_num {
    background: #EAF7EE;
    border-color: #EAF7EE;
    color: #28A745;
}

.adr_stepper_item--done .adr_stepper_title {
    color: var(--adr-navy);
}

.adr_stepper_item--done .adr_stepper_sub {
    color: #198754;
}

.adr_case_banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 12px 16px;
    background: #E9F1FF;
    border: 1px solid #C7CFEA;
    border-radius: 12px;
}

.adr_case_banner_title {
    display: flex;
    align-items: center;
    column-gap: 12px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
}

.adr_case_banner_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--adr-primary);
    color: var(--adr-white);
    font-size: 16px;
    flex-shrink: 0;
}

    .adr_case_banner_icon i {
        font-size: 20px;
    }

.adr_case_banner_text {
    display: flex;
    flex-direction: column;
    row-gap: 2px;
}

.adr_case_banner_sub {
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--adr-muted);
}

.adr_case_banner_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

    .adr_case_banner_actions .icon {
        font-size: 18px;
    }

.adr_group_head {
    margin: 0;
}

.adr_group_toggle {
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    min-height: 66px;
    padding: 0 18px;
    background: var(--adr-surface);
    border-bottom: 1px solid var(--adr-row-border);
    border-radius: 12px 12px 0 0;
    text-align: left;
    color: var(--adr-navy);
    transition: all .25s ease;
    outline: unset;
    box-shadow: inset 0px 1px 0px 0px #e3e8fa8a;
}

    .adr_group_toggle:hover {
        background: var(--adr-surface);
    }

    .adr_group_toggle.collapsed {
        border-bottom-color: transparent;
        border-radius: 12px;
    }

    .adr_group_toggle .adr_badge {
        margin-right: auto;
    }

.adr_group_title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.adr_group_chevron {
    margin-left: auto;
    font-size: 22px;
    color: var(--adr-text-soft);
    transition: transform .2s ease;
}

.adr_group_toggle.collapsed .adr_group_chevron {
    transform: rotate(180deg);
}

.adr_fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 18px;
}

.adr_fields_item {
    min-width: 0;
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid var(--adr-row-border);
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    margin-bottom: -1px;
}

.adr_fields_label {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--adr-text-soft);
}

.adr_fields_value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

.adr_fields_value--missing {
    column-gap: 12px;
    color: #DC3545;
}

.adr_fields_add {
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--adr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s ease;
}

    .adr_fields_add:hover {
        opacity: .8;
    }

.adr_fields_value--strong {
    font-weight: 600;
}

.adr_fields_section {
    margin: 0 18px;
    padding: 16px 0;
}

    .adr_fields_section + .adr_fields_section {
        border-top: 1px solid var(--adr-row-border);
    }

    .adr_fields_section:last-child {
        padding-bottom: 16px;
    }

.adr_fields_section_title {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--adr-primary);
}

.adr_fields--plain {
    margin: 0;
    padding-bottom: 0;
    row-gap: 16px;
    clip-path: none;
}

    .adr_fields--plain .adr_fields_item {
        padding: 0 16px 0 0;
        border-bottom: 0;
    }

.adr_fields_tag {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.adr_fields_tag--danger {
    background: #FDECEC;
    color: #DC3545;
}

.adr_fields_tag--warning {
    background: #FFF3CD;
    color: #946200;
}

.adr_fields_tag--success {
    background: #EAF7EE;
    color: #198754;
}

.adr_badge--technical {
    background: #FFFBEB;
    color: #B7791F;
    border-color: #FDE68A;
}

.adr_stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.adr_stat {
    display: flex;
    align-items: center;
    column-gap: 16px;
    padding: 20px;
    border: 1px solid var(--adr-row-border);
}

.adr_stat_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0;
}

.adr_stat_text {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    min-width: 0;
}

.adr_stat_label {
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--adr-muted);
}

.adr_stat_value {
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
}

.adr_stat--danger .adr_stat_icon {
    background: #FDECEC;
    color: #DC3545;
}

.adr_stat--danger .adr_stat_value {
    color: #DC3545;
}

.adr_stat--warning .adr_stat_icon {
    background: #FFF3CD;
    color: #C08A00;
}

.adr_stat--warning .adr_stat_value {
    color: #C08A00;
}

.adr_stat--success .adr_stat_icon {
    background: #EAF7EE;
    color: #28A745;
}

.adr_stat--success .adr_stat_value {
    color: #198754;
}

.adr_group--doc {
    overflow: hidden;
}

    .adr_group--doc .adr_group_toggle {
        min-height: 52px;
    }

    .adr_group--doc .adr_group_chevron {
        color: var(--adr-primary);
    }

.adr_group--warning .adr_group_toggle {
    background: #FFFBF5;
}

    .adr_group--warning .adr_group_toggle:hover {
        background: #faf2e6bd;
    }

.adr_group--warning .adr_group_title {
    color: #D48C00;
}

.adr_group--success .adr_group_toggle {
    background: var(--adr-white);
}

    .adr_group--success .adr_group_toggle:hover {
        background: #FAFBFE;
    }

.adr_group--success .adr_group_title {
    color: #198754;
}

.adr_group_sub {
    margin-right: auto;
    font-size: 13px;
    line-height: 16px;
    color: var(--adr-muted);
}

.adr_group_toggle .adr_badge:has(+ .adr_group_sub) {
    margin-right: 0;
}

.adr_group_toggle[aria-expanded="true"] .adr_group_sub {
    display: none;
}

.adr_doc_table_wrap {
    overflow-x: auto;
}

.adr_doc_table {
    width: 100%;
    min-width: 860px;
    table-layout: fixed;
    font-size: 14px;
    line-height: 20px;
}

    .adr_doc_table th {
        height: 32px;
        padding: 0 18px;
        background: #FAFBFE;
        border-bottom: 1px solid var(--adr-row-border);
        font-size: 11px;
        font-weight: 600;
        line-height: 14px;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-align: left;
        white-space: nowrap;
        color: var(--adr-muted);
    }

        .adr_doc_table th:last-child {
            text-align: right;
        }

    .adr_doc_table td {
        padding: 14px 18px;
        vertical-align: middle;
        border-top: 1px solid var(--adr-row-border);
        transition: background-color .15s ease;
    }

    .adr_doc_table tbody tr:first-child > td {
        border-top: 0;
    }

.adr_doc_col_name {
    width: 28%;
}

.adr_doc_col_status {
    width: 170px;
}

.adr_doc_col_actions {
    width: 260px;
}

.adr_doc_name {
    font-weight: 600;
}

.adr_doc_actions {
    text-align: right;
    white-space: nowrap;
}

    .adr_doc_actions > * + * {
        margin-left: 12px;
    }

.adr_doc_link {
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: var(--adr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s ease;
}

    .adr_doc_link:hover {
        opacity: .8;
    }

.adr_users_table td {
    height: 48px;
}

.adr_users_cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adr_users_col_name {
    width: 22%;
}

.adr_users_col_role {
    width: 140px;
}

.adr_users_col_status {
    width: 120px;
}

.adr_users_col_login {
    width: 190px;
}

.adr_agencies_col_line {
    width: 130px;
}

.adr_agencies_col_count {
    width: 90px;
}

.adr_agencies_col_date {
    width: 130px;
}

.adr_users_row--inactive .adr_users_cell {
    color: var(--adr-text-soft);
}

.adr_role_name,
.adr_role_info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .adr_role_name .icon,
    .adr_role_info .icon {
        font-size: 14px;
        color: var(--adr-text-soft);
    }

.adr_role_info {
    margin-left: 4px;
    vertical-align: middle;
}

.adr_role_tip .tooltip-inner {
    max-width: 320px;
    padding: 10px 12px;
    text-align: left;
}

.adr_role_tip strong {
    display: block;
}

.adr_role_tip_desc {
    display: block;
    margin-top: 2px;
    opacity: .85;
}

.adr_role_tip ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.adr_role_tip_item + .adr_role_tip_item {
    margin-top: 10px;
}

.adr_users_you {
    margin-left: 4px;
    font-size: 12px;
    color: var(--adr-text-soft);
}

.adr_users_empty {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--adr-text-soft);
}

.adr_doc_link--danger {
    color: #DC3545;
}

.adr_doc_link:disabled,
.adr_doc_link:disabled:hover {
    opacity: .45;
    cursor: default;
}

.adr_doc_toggle {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    padding: 0;
    color: var(--adr-primary);
}

    .adr_doc_toggle .icon {
        font-size: 22px;
        transition: transform .2s ease;
    }

    .adr_doc_toggle:hover .adr_doc_link {
        opacity: .8;
    }

    .adr_doc_toggle[aria-expanded="true"] .icon {
        transform: rotate(180deg);
    }

.adr_doc_row:has(.adr_doc_toggle[aria-expanded="true"]) > td {
    background: #FBFDFF;
}

.adr_doc_table .adr_doc_detail > td {
    padding: 0;
    border-top: 0;
}

.adr_doc_detail_inner {
    padding: 16px 18px 20px;
    background: #F5F8FF;
    border-top: 1px solid #D9E2F7;
}

.adr_doc_detail_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

    .adr_doc_detail_grid dt,
    .adr_doc_detail_full dt {
        font-size: 11px;
        font-weight: 600;
        line-height: 14px;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--adr-muted);
    }

    .adr_doc_detail_grid dd,
    .adr_doc_detail_full dd {
        margin: 6px 0 0;
        font-size: 14px;
        line-height: 20px;
    }

.adr_doc_detail_full {
    margin: 16px 0 0;
}

.adr_doc_detail_list {
    margin: 0;
    padding-left: 18px;
}

    .adr_doc_detail_list li + li {
        margin-top: 6px;
    }

.adr_doc_detail_grid .adr_doc_detail_strong {
    font-weight: 600;
}

.adr_doc_detail_actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    margin-top: 16px;
}

.adr_letter {
    padding: 24px;
    background: #FAFBFD;
    border: 1px solid #C7CFEA;
    border-radius: 8px;
    font-size: 14px;
    line-height: 22px;
    color: var(--adr-navy);
}

.adr_letter_meta {
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--adr-row-border);
}

    .adr_letter_meta > div {
        display: flex;
        flex-wrap: wrap;
        column-gap: 4px;
        margin-bottom: 4px;
    }

    .adr_letter_meta dt {
        font-weight: 700;
    }

    .adr_letter_meta dd {
        margin: 0;
    }

.adr_letter_body {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    margin-top: 20px;
}

    .adr_letter_body p {
        margin: 0;
    }

.adr_letter_sign {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

    .adr_letter_sign strong {
        font-weight: 700;
    }

.adr_letter_sign_muted {
    color: var(--adr-text-soft);
}

.adr_pick_scroll {
    overflow-x: auto;
}

.adr_pick_list {
    min-width: 760px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--adr-row-border);
    border-radius: 8px;
}

.adr_pick_item {
    display: grid;
    grid-template-columns: 20px 16px 22px minmax(400px, 500px) 240px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    min-height: 48px;
    padding: 8px 16px;
    background: var(--adr-white);
    font-size: 14px;
    line-height: 20px;
    transition: background-color .15s ease, opacity .15s ease;
}

    .adr_pick_item + .adr_pick_item {
        border-top: 1px solid var(--adr-row-border);
    }

    .adr_pick_item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .adr_pick_item:last-child {
        border-radius: 0 0 8px 8px;
    }

    .adr_pick_item:hover {
        background: #FAFBFE;
    }

.adr_pick_item--dragging {
    opacity: .4;
    background: var(--adr-tab-active);
}

.adr_pick_handle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 4px;
    font-size: 24px;
    color: var(--adr-muted);
    cursor: grab;
}

    .adr_pick_handle:active {
        cursor: grabbing;
    }

    .adr_pick_handle:focus-visible {
        outline: 2px solid var(--adr-primary);
        outline-offset: 1px;
    }

.adr_pick_check {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--adr-primary);
    cursor: pointer;
}

.adr_pick_num {
    font-size: 13px;
    color: var(--adr-muted);
}

.adr_pick_name {
    min-width: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.adr_pick_note {
    min-width: 0;
    font-size: 12px;
    color: var(--adr-muted);
}

.adr_pick_summary {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 18px;
}

.adr_pick_dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFF3CD;
    flex-shrink: 0;
    display:flex;
    align-items:center;
    justify-content:center;
}

    .adr_pick_dot i {
        font-size: 12px;
        color: #D48C00;
    }

.adr_pick_summary--complete .adr_pick_dot {
    background: #9FE5AB;
}

    .adr_pick_summary--complete .adr_pick_dot i {
        color: #198754;
    }

        .adr_pick_summary--complete .adr_pick_dot i:before {
            content: "\ea3b";
            font: normal normal normal 1em / 1 'Nucleo';
        }

.adr_pick_txt {
    font-weight: 500;
    font-size: 13px;
    color: #091F61;
}

.adr_case_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

    .adr_case_grid > .adr_cases_wrap_section {
        min-width: 0;
    }

.adr_letter--preview .adr_letter_body p:nth-child(n+3),
.adr_letter--preview .adr_letter_sign {
    display: none;
}

.adr_letter_more {
    display: none;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: var(--adr-primary);
}

    .adr_letter_more:hover {
        color: var(--adr-primary);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.adr_letter--preview .adr_letter_more {
    display: inline-block;
}

.adr_summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 0;
}

.adr_summary dt {
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--adr-muted);
}

.adr_summary dd {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.adr_card_note {
    font-size: 13px;
    line-height: 18px;
    color: var(--adr-muted);
}

.adr_file_row {
    display: flex;
    align-items: center;
    gap: 12px 16px;
    padding: 12px 16px;
    background: #FAFBFD;
    border: 1px solid var(--adr-row-border);
    border-radius: 8px;
}

.adr_file_row_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--adr-tab-active);
    color: var(--adr-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.adr_file_row_info {
    display: flex;
    flex: 1;
    flex-direction: column;
    row-gap: 2px;
    min-width: 0;
}

.adr_file_row_name {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.adr_file_row_size {
    margin-left: 12px;
    font-size: 12px;
    font-weight: 400;
    color: var(--adr-muted);
}

.adr_file_row_meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--adr-text-soft);
}

.adr_file_row_actions {
    display: flex;
    align-items: center;
    column-gap: 16px;
    flex-shrink: 0;
}

@media (max-width: 1199.98px) {
    .adr_stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adr_table {
        min-width: 1100px;
    }

    .adr_new_case_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_next {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .adr_case_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adr_case_meta {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .adr_case_meta_item:last-child {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .adr_form_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_doc_detail_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .adr_case_head_top {
        flex-direction: column;
    }

    .adr_letter {
        padding: 16px;
    }

    .adr_file_row {
        flex-wrap: wrap;
    }

    .adr_file_row_actions {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

.adr_fields_value_btn {
    padding: 0;
    background: none;
    border: 0;
    border-bottom: 1px dashed transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}

    .adr_fields_value_btn:hover,
    .adr_fields_value_btn:focus-visible {
        color: var(--adr-primary);
        border-bottom-color: var(--adr-primary);
    }

.adr_fields_editor {
    margin: 0;
}

.adr_fields_editor_inputs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

    .adr_fields_editor_inputs .form-control,
    .adr_fields_editor_inputs .form-select {
        flex: 1 1 140px;
        min-width: 0;
    }

    .adr_fields_editor_inputs input[type=date].form-control {
        flex: 0 0 150px;
        width: 150px;
    }

.adr_fields_editor_sep {
    font-size: 13px;
    color: var(--adr-text-soft);
}

.adr_letter_fields_section {
    margin-top: 24px;
}

.adr_letter_fields_col_field {
    width: 24%;
}

.adr_letter_fields_col_type {
    width: 90px;
}

.adr_letter_fields_col_chart {
    width: 22%;
}

.adr_form textarea.adr_letter_fields_prompt {
    min-height: 120px;
    font-size: 14px;
    line-height: 22px;
}

.adr_letter_fields_hint {
    font-weight: 400;
    font-size: 12px;
    color: var(--adr-text-soft);
}

.adr_letter_fields_categories {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    transition: opacity .15s ease;
}

.adr_letter_fields_categories--off {
    opacity: .45;
    pointer-events: none;
}

.adr_letter_fields_category_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px 24px;
}

    .adr_letter_fields_category_list .form-check-label {
        font-size: 14px;
    }

.adr_test_tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 14px;
    border: 1px dashed #C9D3F5;
    border-radius: 10px;
    background: #FAFBFE;
}

    .adr_test_tools form {
        margin: 0;
    }

.adr_test_tools_label {
    margin-right: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--adr-text-soft);
}

.adr_fields_clear {
    flex-shrink: 0;
    font-size: 13px;
    white-space: nowrap;
}

.adr_fields_editor_error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: #DC3545;
}

    .adr_fields_editor_error:empty {
        display: none;
    }

.adr_fields_editor_actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.adr_case_banner_note {
    margin: 6px 0 0 52px;
    font-size: 13px;
    line-height: 18px;
    color: var(--adr-text-soft);
}

.adr_case_banner--processing .adr_case_banner_icon {
    background: #F0AD4E;
}

.adr_case_banner--failed {
    background: #FFF7F7;
    border-color: #F5C2C7;
}

    .adr_case_banner--failed .adr_case_banner_icon {
        background: #DC3545;
    }

.adr_fields_item [hidden] {
    display: none !important;
}

.adr_step_error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #F5C2C7;
    border-radius: 10px;
    background: #FFF7F7;
    font-size: 13px;
    line-height: 18px;
    color: #DC3545;
}

    .adr_step_error[hidden] {
        display: none;
    }

.adr_upload_wrap .adr_step_error {
    margin-top: 12px;
}

.adr_upload_empty {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--adr-text-soft);
}

a.adr_upload_file_name:hover {
    color: var(--adr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.adr_upload_file--pending {
    opacity: .7;
}

.adr_text_danger {
    color: #DC3545;
}

.adr_row_menu {
    min-width: 160px;
    padding: 4px;
    border: 1px solid #E4E8F2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(9, 31, 97, .12);
    font-size: 14px;
}

    .adr_row_menu .dropdown-item {
        padding: 8px 12px;
        border-radius: 6px;
    }

.adr_row_menu_danger {
    color: #DC3545;
}

    .adr_row_menu_danger:hover,
    .adr_row_menu_danger:focus {
        color: #DC3545;
        background: #FDECEC;
    }

.adr_modal {
    border: 0;
    border-radius: 12px;
}

.adr_modal_title {
    font-size: 18px;
    font-weight: 700;
}

.adr_modal_text {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}

.adr_modal_note {
    margin-top: 8px;
    color: var(--adr-text-soft);
}

.adr_modal_text--pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.adr_modal .adr_modal_text + .adr_field_label {
    margin-top: 16px;
}

.adr_field_optional {
    font-weight: 400;
    color: var(--adr-text-soft);
}

.adr_badge--clickable {
    gap: 6px;
    border: 0;
    cursor: pointer;
}

    .adr_badge--clickable:hover,
    .adr_badge--clickable:focus-visible {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.adr_modal .adr_step_error {
    margin-top: 12px;
}

.adr_btn--danger {
    background: #DC3545;
    border-color: #DC3545;
    color: #fff;
}

    .adr_btn--danger:hover {
        background: #BB2D3B;
        border-color: #BB2D3B;
        color: #fff;
    }

    .adr_btn--danger:disabled {
        opacity: .65;
    }

.adr_stepper_link {
    display: flex;
    align-items: center;
    column-gap: 12px;
    margin: -6px -8px;
    padding: 6px 8px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease;
}

    .adr_stepper_link:hover,
    .adr_stepper_link:focus-visible {
        background: var(--adr-hover);
    }

        .adr_stepper_link:hover .adr_stepper_title {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.adr_stepper_item--viewing.adr_stepper_item--done .adr_stepper_num {
    box-shadow: 0 0 0 3px #CDEFD8;
}

.adr_audit_progress {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin: 0;
    padding: 16px 20px;
    list-style: none;
}

.adr_audit_progress_item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--adr-muted);
}

.adr_audit_progress_dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--adr-row-border);
    border-radius: 50%;
    flex-shrink: 0;
}

    .adr_audit_progress_dot .spinner-border-sm {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

.adr_audit_progress_item--active {
    color: var(--adr-primary);
}

    .adr_audit_progress_item--active .adr_audit_progress_dot {
        border-color: var(--adr-primary);
    }

.adr_audit_progress_item--done {
    color: var(--adr-navy);
}

    .adr_audit_progress_item--done .adr_audit_progress_dot {
        background: #EAF7EE;
        border-color: #EAF7EE;
        color: #28A745;
    }

.adr_audit_evidence {
    margin: 0;
    padding-left: 18px;
}

.adr_step_notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #BADBCC;
    border-radius: 10px;
    background: #F1FAF4;
    font-size: 13px;
    line-height: 18px;
    color: #198754;
}

.adr_letter_editor .adr_form_grid {
    margin-bottom: 16px;
}

.adr_letter_textarea {
    min-height: 280px;
    font-size: 14px;
    line-height: 22px;
    resize: vertical;
}

.adr_letter_errors {
    margin-bottom: 16px;
}

    .adr_letter_errors.validation-summary-valid {
        display: none;
    }

    .adr_letter_errors ul {
        margin: 0;
        padding-left: 18px;
    }

[data-letter] [hidden] {
    display: none !important;
}

.adr_user_agency {
    display: inline-flex;
    align-items: center;
    justify-content:space-between;
    column-gap: 8px;
    max-width: 320px;
    min-width: 240px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #E3E8FA;
    border-radius: 10px;
    background: #FAFBFE;
    font-size: 14px;
    font-weight: 600;
    color: var(--adr-navy);
}
 

    .adr_user_agency .icon {
        font-size: 16px;
        color: var(--adr-primary);
        flex-shrink: 0;
    }

.adr_user_agency_name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.adr_user_agency--switch {
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .adr_user_agency--switch .icon {
        font-size: 22px;
        transition: transform .15s ease;
    }

    .adr_user_agency--switch[aria-expanded="true"] .icon {
        transform: rotate(180deg);
    }

    .adr_user_agency--switch:hover,
    .adr_user_agency--switch:focus-visible {
        border-color: var(--adr-primary);
        box-shadow: 0 0 0 3px rgba(9, 55, 216, .12);
        outline: none;
    }

.adr_agency_menu {
    min-width: 240px;
    max-width: 360px;
    max-height: 60vh;
    overflow-y: auto;
}

    .adr_agency_menu .dropdown-item {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .adr_agency_menu .dropdown-item.active,
        .adr_agency_menu .dropdown-item:active {
            background: #F7FAFF;
            color: var(--bs-dropdown-link-color);
        }

@media (max-width: 767.98px) {
    .adr_user_agency {
        max-width: 260px;
    }
}

.adr_swal {
    border-radius: 12px;
    padding: 24px;
}

    .adr_swal .swal2-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--adr-navy);
    }

    .adr_swal .swal2-html-container {
        font-size: 14px;
        line-height: 20px;
        color: var(--adr-text-soft);
    }

    .adr_swal .swal2-actions {
        gap: 12px;
    }

.adr_inline_form {
    display: inline-flex;
    margin: 0;
}

    .adr_inline_form label.adr_doc_link {
        margin: 0;
        cursor: pointer;
    }

.adr_determination_outcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    margin-top: 24px;
}

    .adr_determination_outcome .adr_field_label {
        margin: 0;
    }

    .adr_determination_outcome .form-select {
        width: auto;
        min-width: 220px;
    }

.adr_pick_item:has(.adr_pick_check:disabled) .adr_pick_name,
.adr_pick_item:has(.adr_pick_check:disabled) .adr_pick_num {
    color: var(--adr-muted);
}

.adr_pick_check:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.adr_account_body {
    min-height: 100vh;
    margin: 0;
    background: #EBF0F7;
    font-family: 'Inter', sans-serif;
}

.adr_account {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 16px;
}

.adr_account_logo {
    margin-bottom: 24px;
}

    .adr_account_logo .adr_logo_img {
        height: 56px;
    }

.adr_account_card {
    background-color: rgb(255, 255, 255);
    opacity: 1;
    position: relative;
    width: 420px;
    box-shadow: rgba(14, 24, 41, 0.06) 0px 1px 2px 0px, rgba(14, 24, 41, 0.1) 0px 1px 3px 0px;
    border-radius: 8px;
    margin: 44px auto 24px;
    padding: 48px;
}

.adr_account_title {
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 24px;
    color: #3D4656;
}

.adr_account_sub {
    font-size: 16px;
    line-height: 24px;
    color: #5B6576;
}

.adr_account_sub--dark {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    color: #111827;
}

.adr_account_form {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.adr_account_label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #091F61;
}

 

    .adr_account_input.input-validation-error {
        border-color: #DC3545;
    }

.adr_account_field_error {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #DC3545;
}

    .adr_account_field_error:empty {
        display: none;
    }

.adr_account_check {
    margin: -8px 0 0;
    font-size: 16px;
    color: #3D4656;
}

.adr_account_alert {
    padding: 12px 16px;
    border: 1px solid #F5C2C7;
    border-radius: 10px;
    background: #FFF7F7;
    font-size: 15px;
    color: #DC3545;
}

    .adr_account_alert.validation-summary-valid {
        display: none;
    }

    .adr_account_alert ul {
        margin: 0;
        padding-left: 18px;
    }

.adr_account_success {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px solid #BADBCC;
    border-radius: 10px;
    background: #F1FAF4;
    font-size: 15px;
    color: #198754;
}

.adr_account_forgot {
    margin-top: 28px;
    font-size: 20px;
}

    .adr_account_forgot summary {
        display: inline;
        color: #0937D8;
        cursor: pointer;
        list-style: none;
    }

        .adr_account_forgot summary::-webkit-details-marker {
            display: none;
        }

        .adr_account_forgot summary:hover {
            text-decoration: underline;
        }

    .adr_account_forgot p {
        margin: 10px 0 0;
        font-size: 16px;
        color: #5B6576;
    }

.adr_account_divider {
    margin: 28px 0 28px;
    border: 0;
    border-top: 1px solid #E5E7EB;
    opacity: 1;
}

.adr_account_legal {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
    color: #3D4656;
}

    .adr_account_legal a,
    .adr_account_link {
        color: #0937D8;
        text-decoration: none;
    }

        .adr_account_legal a:hover,
        .adr_account_link:hover {
            text-decoration: underline;
        }

.adr_account_link {
    font-size: 18px;
}

.adr_account_card .adr_account_link {
    display: flex;
    align-items: center;
    column-gap: 8px;
    cursor: pointer;
    text-decoration: unset;
}

.adr_account_link--button {
    padding: 0;
    border: 0;
    background: none;
}

.adr_account_select {
    --adr-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%233D4656' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    padding-right: 52px;
    appearance: none;
    cursor: pointer;
}

    .adr_account_select,
    .adr_account_select:focus {
        background-image: var(--adr-select-arrow);
        background-repeat: no-repeat;
        background-position: right 20px center;
    }

.adr_account_back {
    margin: 28px 0 0;
}

.adr_account_footer {
    text-align: center;
    color: #8E98A7FF;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin: 0px auto;
}

@media (max-width: 767.98px) {
    .adr_account {
        gap: 32px;
    }

    .adr_account_logo .adr_logo_img {
        height: 44px;
    }

    .adr_account_card {
        padding: 36px 24px;
    }

    .adr_account_title {
        margin-bottom: 28px;
        font-size: 34px;
    }

    .adr_account_label,
    .adr_account_forgot,
    .adr_account_legal {
        font-size: 17px;
    }

    .adr_account_input,
    .adr_account_button {
        height: 56px;
    }

    .adr_account_footer {
        margin-top: -8px;
        font-size: 16px;
    }
}
.adr_user_menu {
    min-width: 220px;
    padding: 6px;
    border: 1px solid #E4E8F2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(9, 31, 97, .12);
}

.adr_user_menu_head {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 18px;
}

    .adr_user_menu_head strong {
        display: block;
        color: var(--adr-navy);
    }

    .adr_user_menu_head span {
        color: var(--adr-text-soft);
    }

.adr_user_menu .dropdown-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.adr_user_menu_toggle {
    padding: 0;
    border: 0;
    background: none;
}

.adr_categories_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding-right: 16px;
}

.adr_categories_filter {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 8px 0;
}

.adr_categories_filter_label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #5C73B3;
    white-space: nowrap;
}

    .adr_categories_filter .form-select {
        width: auto;
        min-width: 200px;
    }

.adr_table th.adr_table_actions {
    padding: 0 8px;
}

.adr_categories_name {
    display: flex;
    align-items: center;
    column-gap: 8px;
    min-width: 0;
}

    .adr_categories_name strong {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .adr_categories_name .adr_badge {
        flex-shrink: 0;
    }

.adr_categories_col_order {
    width: 80px;
}

.adr_categories_col_count {
    width: 100px;
}

.adr_header_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.adr_catalog_import_option {
    margin-top: 16px;
}

.adr_catalog_import_note {
    display: block;
    font-size: 12px;
    color: var(--adr-text-soft);
}

.adr_catalog_import_summary {
    margin: 8px 0 0;
    padding-left: 18px;
    text-align: left;
}

.adr_catalog_import_summary--errors {
    max-height: 260px;
    overflow-y: auto;
    color: #DC3545;
}

.adr_questions_filter {
    flex-wrap: wrap;
    row-gap: 8px;
}

    .adr_questions_filter .adr_questions_search {
        width: 260px;
        margin-right: 6px;
    }

    .adr_questions_filter .adr_questions_category_filter {
        max-width: 280px;
    }

.adr_questions_clear {
    font-size: 13px;
    color: var(--adr-primary);
}

.adr_questions_col_code {
    width: 110px;
}

.adr_questions_col_category {
    width: 24%;
}

.adr_questions_text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--adr-navy);
    text-decoration: none;
}

    .adr_questions_text:hover {
        color: var(--adr-primary);
        text-decoration: underline;
    }

.adr_form textarea.form-control {
    height: auto;
    min-height: 64px;
    line-height: 20px;
}

.adr_form textarea.adr_questions_prompt {
    height: 420px;
    min-height: 220px;
    font-size: 14px;
    line-height: 22px;
    resize: vertical;
}

.adr_categories_count_link {
    min-width: 32px;
    padding: 2px 10px;
    border: 1px solid #DCE3F8;
    border-radius: 12px;
    background: #F7F9FF;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: var(--adr-primary);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .adr_categories_count_link:hover,
    .adr_categories_count_link:focus-visible {
        border-color: var(--adr-primary);
        background: #EEF2FF;
        outline: none;
    }

.adr_categories_count_zero {
    padding-left: 11px;
    color: var(--adr-text-soft);
}

.adr_categories_details_loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    color: var(--adr-text-soft);
}

.adr_categories_questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adr_categories_question {
    padding: 14px 16px;
    border: 1px solid var(--adr-row-border);
    border-radius: 10px;
}

.adr_categories_question_head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
    color: var(--adr-navy);
}

.adr_categories_question_code {
    flex-shrink: 0;
    padding: 0 8px;
    border-radius: 8px;
    background: #F1F4FD;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: var(--adr-text-soft);
}

.adr_categories_question_meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 12px;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 18px;
}

    .adr_categories_question_meta dt {
        font-weight: 600;
        color: var(--adr-text-soft);
    }

    .adr_categories_question_meta dd {
        margin: 0;
    }

.adr_categories_question_prompt {
    margin-top: 10px;
    font-size: 13px;
}

    .adr_categories_question_prompt summary {
        color: var(--adr-primary);
        cursor: pointer;
    }

    .adr_categories_question_prompt p {
        margin: 8px 0 0;
        padding: 10px 12px;
        border-radius: 8px;
        background: #FAFBFE;
        white-space: pre-wrap;
        line-height: 19px;
    }

.adr_categories_code {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: var(--adr-text-soft);
}

.adr_categories_terms_head {
    border-top: 1px solid var(--adr-row-border);
}

.adr_categories_terms_count {
    display: inline-block;
    min-width: 28px;
    margin-left: 8px;
    padding: 0 8px;
    border-radius: 10px;
    background: #F1F4FD;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    color: var(--adr-text-soft);
}

.adr_categories_terms_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

    .adr_categories_terms_toolbar .adr_categories_terms_search {
        flex: 1 1 240px;
        max-width: 360px;
    }

    .adr_categories_terms_toolbar .adr_categories_terms_lang_filter {
        width: auto;
        min-width: 160px;
    }

    .adr_categories_terms_toolbar [data-term-add] {
        margin-left: auto;
    }

.adr_categories_terms_scroll {
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid var(--adr-row-border);
    border-radius: 10px;
}

.adr_categories_terms_table {
    width: 100%;
    margin: 0;
    table-layout: fixed;
}

    .adr_categories_terms_table thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
    }

    .adr_categories_terms_table td {
        padding-top: 6px;
        padding-bottom: 6px;
        vertical-align: middle;
    }

.adr_categories_terms_col_lang {
    width: 170px;
}

.adr_categories_terms_col_action {
    width: 64px;
}

.adr_categories_terms_remove:hover {
    color: #DC3545;
}

.adr_categories_terms_empty {
    margin: 0;
    padding: 16px;
    text-align: center;
    color: var(--adr-text-soft);
}
