@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url(/QPanel/fonts/woff/iranyekanwebregular.woff) format("woff"),
        url(/QPanel/fonts/ttf/iranyekanwebregular.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:
        url(/QPanel/fonts/woff/iranyekanwebbold.woff) format("woff"),
        url(/QPanel/fonts/ttf/iranyekanwebbold.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Bold.eot");
    src:
        url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix")
            format("embedded-opentype"),
        url("/QPanel/fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
        url("/QPanel/fonts/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff"),
        url("/QPanel/fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Medium.eot");
    src:
        url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix")
            format("embedded-opentype"),
        url("/QPanel/fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2")
            format("woff2"),
        url("/QPanel/fonts/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff"),
        url("/QPanel/fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf")
            format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Light.eot");
    src:
        url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix")
            format("embedded-opentype"),
        url("/QPanel/fonts/woff2/IRANSansWeb(FaNum)_Light.woff2")
            format("woff2"),
        url("/QPanel/fonts/woff/IRANSansWeb(FaNum)_Light.woff") format("woff"),
        url("/QPanel/fonts/ttf/IRANSansWeb(FaNum)_Light.ttf") format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot");
    src:
        url("/QPanel/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix")
            format("embedded-opentype"),
        url("/QPanel/fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2")
            format("woff2"),
        url("/QPanel/fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff")
            format("woff"),
        url("/QPanel/fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf")
            format("truetype");
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/QPanel/fonts/eot/IRANSansWeb(FaNum).eot");
    src:
        url("/QPanel/fonts/eot/IRANSansWeb(FaNum).eot?#iefix")
            format("embedded-opentype"),
        url("/QPanel/fonts/woff2/IRANSansWeb(FaNum).woff2") format("woff2"),
        url("/QPanel/fonts/woff/IRANSansWeb(FaNum).woff") format("woff"),
        url("/QPanel/fonts/ttf/IRANSansWeb(FaNum).ttf") format("truetype");
}
html body {
    font-family: IRANYekan, IRANSans, sans-serif;
    line-height: 1.15;
}
.tooltip {
    font-family: IRANYekan, IRANSans, sans-serif;
    font-size: 11px;
}
.datepicker-container span,
.datepicker-container div {
    font-family: IRANYekan, IRANSans, sans-serif;
}
body select.form-control,
body input.form-control {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
}
body .navigation,
body .navigation .navigation-header {
    font-family: IRANYekan, IRANSans, sans-serif;
    font-size: 0.95rem;
}
body .header-navbar,
body .dropdown-menu {
    font-family: IRANYekan, IRANSans, sans-serif;
    font-size: 0.95rem;
}
html body .badge,
html body .page-link,
html body .dataTables_info {
    font-family: IRANSans, IRANYekan, sans-serif;
}
html body .card-transaction .transaction-item .transaction-title {
    font-size: 0.85rem;
}
.me-2 {
    margin-left: 1.5rem !important;
}
.fw-bolder {
    font-weight: 600 !important;
}
small {
    font-family: IRANSans, IRANYekan, sans-serif;
}
.media-body small {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
}
table.dataTable {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
}
#DocsTable td .dropdown .dropdown-menu {
    left: 0 !important;
}
.card-body .card-text {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.95rem;
    margin-top: -6px;
    margin-right: 0px;
}
.sidebar .card-body .card-text {
    font-size: 0.79rem;
    margin-top: -6px;
    margin-right: 0px;
    text-align: justify;
    color: #898989 !important;
}
.textjus {
    text-align: justify !important;
}
.z-50 {
    z-index: 50;
}
.inset-0 {
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}
.fixed {
    position: fixed;
}
.overflow-y-auto {
    overflow-y: auto;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.opacity-75 {
    opacity: 0.75;
}
.absolute {
    position: absolute;
}
.date-state {
    font-family: IRANSans, sans-serif;
    font-size: 16px;
}
.notification-title {
    font-family: IRANSans, sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__remove {
    margin-right: 0.7rem !important;
    margin-left: 0.5rem !important;
}
.card .card-title {
    font-size: 1.1rem;
}
input:read-only {
    border: none;
    background: #dedcdc7d;
    padding: 0px 6px;
    border-radius: 3px;
}
input:focus-visible {
    outline: none;
}
.qPanel-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 2.714rem;
    margin-bottom: 0;
}
.qPanel-a {
    background-color: inherit;
    border: 1px solid #d8d6de;
    font-size: 13px;
    text-align: center;
    line-height: 2.4rem;
    padding: 0px 5px;
    border-right: inherit;
    border-radius: 0.357rem 0 0 0.357rem;
}
.dark-layout .qPanel-a {
    border: 1px solid #404656;
}
.qPanel-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.form-group .custom-select,
body input.select2-search__field,
.select2-container--classic .select2-results__group,
.select2-container--default .select2-results__group,
.select2-container--default .select2-results__option .select2-results__option {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
}
.select2-container--default .select2-selection--multiple {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered
    li
    .select2-search__field {
    margin-top: 12px;
    text-align: center;
}
.select2-container--default .select2-results__group {
    color: #632bff;
    text-align: center;
    font-weight: 500;
}
.select2-container--default .select2-results__option .select2-results__option {
    font-size: 12px;
    text-align: center;
}
.select2-container--default
    .select2-results__option
    .select2-results__option
    small {
    font-size: 9px;
}
.form-group .custom-select option,
.select2-container--default .select2-results__option {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
}
body textarea.form-control {
    font-family: IRANSans, IRANYekan, sans-serif;
    font-size: 0.94rem;
    font-weight: 300;
}
.alert .alert-body p {
    font-size: 0.94rem;
}
#accordionExample .card-header {
    border: none;
    background: none;
}
#accordionExample .collapse-title {
    font-size: 1.1rem;
}
#accordionExample .collapse-icon:hover:not(.disabled):not(:disabled) {
    background-color: rgba(115, 103, 240, 0.04);
    color: #7367f0;
    border-radius: 0.428rem;
    transition:
        all 0.3s ease-in-out,
        background 0s,
        color 0s,
        border-color 0s;
}
.content-header-left .breadcrumbs-top .content-header-title {
    font-size: 1.2rem;
}
.card-body .delRepeater {
    margin-bottom: 0.5rem;
}
.card-body .dropzone {
    min-height: 250px;
}
.card-body .dropzone .dz-message:before {
    background-repeat: no-repeat;
    width: 55px;
    height: 55px;
    top: 12rem;
}
.blog-detail-wrapper .inputGroupMerge .form-control:not(:last-child) {
    border-radius: 0.357rem;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.form-group {
    position: relative;
}
.invalid-tooltip,
.valid-tooltip {
    top: 76% !important;
    opacity: 0.95;
    font-size: 0.75rem;
}
.form-control::placeholder {
    font-size: 0.95rem;
}
.bootstrap-duallistbox-container select option {
    padding: 0.35rem 0.7rem;
}
.bootstrap-duallistbox-container .info {
    font-size: 13px !important;
    margin-bottom: 1rem !important;
}
.bootstrap-duallistbox-container .clear1,
.bootstrap-duallistbox-container button {
    font-size: 0.7rem !important;
}
.bootstrap-duallistbox-container .btn-group {
    margin-top: 7px;
    margin-bottom: 7px;
}
.bootstrap-duallistbox-container .filter {
    margin-top: 7px;
}
form span.error {
    width: 100%;
    font-size: 0.857rem;
}
form .error:not(input) {
    color: #ea5455;
}
form input.error,
form input.error:focus {
    border-color: #ea5455 !important;
}
form textarea.error {
    border-color: #ea5455 !important;
}
form .select2.error + .select2-container--classic .select2-selection--single,
form .select2.error + .select2-container--default .select2-selection--single,
form .select2.error + .select2-container--classic .select2-selection--multiple,
form .select2.error + .select2-container--default .select2-selection--multiple {
    border-color: #ea5455 !important;
}
.input-group-text {
    font-size: 0.92rem !important;
}
.form-control:disabled,
.form-control[readonly] {
    text-align: center;
}
.dir-ltr {
    direction: ltr !important;
}
#MenuBox .ui-state-highlight {
    height: 4.5em;
    line-height: 1.2em;
    background: #dfdfdf;
}
#MenuBox ul,
#MenuBox ul > li > div {
    display: block;
    width: 100%;
    float: left;
}
#MenuBox ul > li {
    display: block;
    width: 100%;
    float: left;
    color: #565360;
    background: #f5f5f5;
    border-radius: 6px;
    margin: 0 15px 10px 15px;
    padding: 10px 15px;
    line-height: 1rem;
    cursor: grab;
}
#MenuBox ul > li > ul > li {
    background: #dfdfdf;
}
#MenuBox ul > li > ul > li > ul > li {
    background: #c5c5c5;
}
#MenuBox h3 {
    font-size: 0.9rem;
    padding-right: 10px;
    line-height: 1rem;
}
#MenuBox .feather,
[data-feather] {
    height: 14px;
    width: 14px;
    top: 0;
    font-size: 1.45rem;
    margin-left: 0.5rem;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
#moreInfoBox div .feather,
#moreInfoBox div [data-feather] {
    height: 17px;
    width: 17px;
    top: 0;
    font-size: 1.45rem;
    margin-left: 1.1rem;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
#MenuBox .btn {
    padding: 0.3rem 0.5rem;
    font-size: 75%;
    line-height: 0.9;
}
#tinymce p {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.8rem;
    color: #2a2a2b;
    text-align: justify;
    direction: rtl;
}
#tinymce h1 {
    font-size: 15px;
}
#tinymce h2,
#tinymce h3,
#tinymce h4,
#tinymce h5,
#tinymce h6 {
    font-weight: 500;
    color: #2a2a2b;
    font-size: 14px;
    margin-bottom: 20px;
    direction: rtl;
}
.border-dotted {
    border: 2px dotted #989494;
}
.min-height-100 {
    min-height: 100px;
}
.min-height-150 {
    min-height: 150px;
}
.min-height-200 {
    min-height: 200px;
}
.user_name {
    margin-bottom: 4px;
}
/* footer */
.footer-fixed footer.footer-light {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgb(34 41 47 / 10%);
}
.footer-fixed footer {
    position: fixed !important;
    z-index: 1030;
    left: 0;
    right: 0;
    bottom: 0;
}
footer span {
    color: #606060;
    font-size: 11px;
    font-weight: 700;
}
/* footer */
/* Login */
html .blank-page .content.app-content .header-navbar-shadow {
    display: none;
}
.q-brand-color {
    color: #ff9f43;
}
.brand-logo .q-brand-color {
    font-size: 25px;
    margin-bottom: 0;
}
h2.q-brand-color {
    font-weight: 700 !important;
    font-size: 32px;
}
/* راست‌چین؛ جزئیات merge رمز در login.blade (@push styles) */
#userNameInput,
#userNameInput::placeholder {
    text-align: right;
}
#userNameInput::placeholder {
    padding-right: 8px;
    padding-left: 0;
}
#login-password,
#login-password::placeholder {
    text-align: right;
}
#login-password::placeholder {
    padding-right: 8px;
    padding-left: 0;
}
.loginPage button {
    border-color: #f48734 !important;
    background-color: #f48734 !important;
}
.errorBox {
    display: flex;
    min-height: 3rem;
    border-radius: 0.358rem;
    background-color: #fdeeee;
    padding: 0.75rem 1rem;
    margin-bottom: 12px;
}
.errorBox ul li {
    list-style: none;
    color: #8f3232;
    font-size: 13px;
    line-height: 1.4rem;
}
.errorBox ul {
    margin: 0;
    padding-right: 15px;
}
#tinymce ul li {
    font-size: 13px;
    line-height: 1.7rem;
}
.statusBox {
    display: flex;
    min-height: 3rem;
    border-radius: 0.358rem;
    background-color: #effdee;
    padding: 0.75rem 1rem;
    margin-bottom: 12px;
}
.statusBox ul {
    margin: 0;
    padding-right: 15px;
}
.statusBox ul li {
    list-style: none;
    color: #3c8f32;
    font-size: 13px;
    line-height: 1.4rem;
}
/* Login */

.transform-scale-28 {
    transform: scale(2.8);
}
.transform-scale-135 {
    transform: scale(1.35);
    object-fit: contain;
}
.transform-scale-115 {
    transform: scale(1.15);
    object-fit: contain;
}
.dep-notice-mt {
    margin-top: 7px;
}
.noticImg {
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}
a .card-text {
    color: #6e6b7b;
}
.iconDef {
    width: 1.714rem;
    height: 1.714rem;
    margin-left: 0.5rem;
}
.lastNewsCarousel .carousel-inner {
    height: 250px;
}
.lastNewsCarousel .carousel-inner > a {
    height: 100%;
}
.lastNewsCarousel .carousel-inner > a img {
    object-fit: cover;
}
.lastNewsCarousel .carousel-caption {
    bottom: 12px;
    box-shadow: -1px -80px 0px -1px rgb(115 103 240 / 12%) inset;
    -webkit-box-shadow: -1px -80px 0px -1px rgb(115 103 240) inset;
    -moz-box-shadow: -1px -80px 0px -1px rgba(115, 103, 240, 0.12) inset;
    width: 100%;
    margin: 0;
    right: 0;
}
.lastNewsCarousel .carousel-caption h3 {
    font-size: 13px;
    text-align: right;
    padding: 0 25px;
    text-shadow: -1px 3px 4px #00000094;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dark-layout p {
    color: #d0d2d6 !important;
}
@media screen and (max-width: 480px) {
    .bt-w-100 {
        width: 100%;
    }
    .profile-title h2 {
        font-size: 15px !important;
    }
    .profile-title p {
        font-size: 14.5px !important;
    }
    .card-img-top {
        object-fit: cover;
        max-height: 250px;
    }
}

.dark-layout .custom-select.is-invalid,
.dark-layout .was-validated .custom-select:invalid {
    border-color: #ea5455 !important;
}
.dark-layout .custom-select,
.dark-layout select.custom-select {
    background-color: #283046 !important;
    color: #b4b7bd;
    border-color: #3b4253;
}

/* SearchBuilder: فقط خارج از صفحه لیست برنامه‌ها (صفحه لیست برنامه‌ها از استایل رسمی Bootstrap 4 استفاده می‌کند) */
body:not(.page-application-index)
    div.dtsb-searchBuilder
    .dtsb-group
    > button.dtsb-button {
    box-shadow: none;
    font-weight: 500;
    border: 1px solid #82868b !important;
    background-color: transparent !important;
    background: none !important;
    color: #82868b;
    padding: 0.45rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 0.358rem;
    text-align: center;
}
body:not(.page-application-index) div.dtsb-searchBuilder div.dtsb-titleRow {
    text-align: center;
}
body:not(.page-application-index)
    div.dtsb-searchBuilder
    div.dtsb-titleRow
    div.dtsb-title {
    font-size: 11px;
}
body:not(.page-application-index)
    div.dtsb-searchBuilder
    div.dtsb-group
    div.dtsb-criteria
    select.dtsb-dropDown,
body:not(.page-application-index)
    div.dtsb-searchBuilder
    div.dtsb-group
    div.dtsb-criteria
    input.dtsb-input {
    background: transparent;
    font-size: 13px;
    text-align: center;
}
body:not(.page-application-index)
    div.dtsb-searchBuilder
    div.dtsb-group
    div.dtsb-criteria
    div.dtsb-inputCont
    input.dtsb-value {
    padding: 8px;
}

.bglightFood {
    background: #7a97ff !important;
    color: #ffff !important;
}
body:not(.page-application-index)
    div.dtsb-searchBuilder
    div.dtsb-group
    div.dtsb-criteria
    select.dtsb-dropDown {
    direction: rtl;
}
.profile-card-image {
    max-height: 175px;
    object-fit: cover;
}
.profile-card-name {
    font-family: "IRANYekan";
    font-weight: 700;
    font-size: 21px;
    margin-top: 5px;
    margin-bottom: 20px;
}
.card-profile .card-body .profile-image-wrapper .profile-image img {
    object-fit: cover;
}
.processTable tr th {
    font-family: "IRANSans";
    text-align: center;
    font-weight: bold;
}
.processTable tbody td,
.processTable tbody tr,
.processTable tbody span {
    font-family: "IRANSans";
    font-size: 13px;
}
.processTable tbody .badge {
    padding: 4px 15px;
    border-radius: 3px;
    font-family: "IRANYekan";
    font-size: 12px;
    font-weight: 700;
}

.jq-ry-container:not(.multi-color-ratings) .jq-ry-normal-group i,
.jq-ry-container:not(.multi-color-ratings) .jq-ry-normal-group svg {
    fill: #babfc7;
}

.jq-ry-container:not(.multi-color-ratings) .jq-ry-rated-group i,
.jq-ry-container:not(.multi-color-ratings) .jq-ry-rated-group svg {
    fill: #ff9f43;
}

.dark-layout .jq-ry-container:not(.multi-color-ratings) .jq-ry-normal-group i,
.dark-layout
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-normal-group
    svg {
    fill: #676d7d;
}

[data-textdirection="rtl"]
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-normal-group
    i,
[data-textdirection="rtl"]
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-normal-group
    svg {
    fill: #ff9f43;
}

[data-textdirection="rtl"]
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-rated-group
    i,
[data-textdirection="rtl"]
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-rated-group
    svg {
    fill: #babfc7;
}

[data-textdirection="rtl"]
    .dark-layout
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-rated-group
    i,
[data-textdirection="rtl"]
    .dark-layout
    .jq-ry-container:not(.multi-color-ratings)
    .jq-ry-rated-group
    svg {
    fill: #676d7d;
}
.bg-one-process {
    background: #978ef4;
}
.no-drop {
    cursor: no-drop !important;
}

@media screen and (max-width: 680px) {
    #DocsTable2 td {
        white-space: nowrap;
    }
    #DocsTable2 .demo-inline-spacing {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }
}

.modal .btn-close {
    background-color: #fff;
    border-radius: 0.375rem;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='18' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%23a5a3ae' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%23a5a3ae' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    opacity: 1;
    padding: 1.1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
    transition: all 0.23s ease 0.1s;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
}
html:not([dir="rtl"]) .modal .btn-close {
    transform: translate(23px, -25px);
}
[dir="rtl"] .modal .btn-close {
    transform: translate(-31px, -25px);
}
.modal .btn-close:hover,
.modal .btn-close:focus,
.modal .btn-close:active {
    opacity: 1;
    outline: none;
}
html:not([dir="rtl"]) .modal .btn-close:hover,
html:not([dir="rtl"]) .modal .btn-close:focus,
html:not([dir="rtl"]) .modal .btn-close:active {
    transform: translate(20px, -20px);
}
[dir="rtl"] .modal .btn-close:hover,
[dir="rtl"] .modal .btn-close:focus,
[dir="rtl"] .modal .btn-close:active {
    transform: translate(-26px, -20px);
}
.modal .modal-header {
    position: relative;
}
.modal .modal-header .btn-close {
    position: absolute;
    top: 1.56rem;
}
html:not([dir="rtl"]) .modal .modal-header .btn-close {
    right: 1rem;
}
[dir="rtl"] .modal .modal-header .btn-close {
    left: 1.3rem;
}

.modal-footer {
    padding: 0.25rem 1.5rem 1.25rem;
}

.modal-content {
    box-shadow: 0 0.31rem 1.25rem 0 rgba(75, 70, 92, 0.4);
}

.modal-dialog-scrollable .btn-close,
.modal-fullscreen .btn-close,
.modal-top .btn-close {
    box-shadow: none;
}
html:not([dir="rtl"]) .modal-dialog-scrollable .btn-close,
html:not([dir="rtl"]) .modal-fullscreen .btn-close,
html:not([dir="rtl"]) .modal-top .btn-close {
    transform: translate(0, 0) !important;
}
[dir="rtl"] .modal-dialog-scrollable .btn-close,
[dir="rtl"] .modal-fullscreen .btn-close,
[dir="rtl"] .modal-top .btn-close {
    transform: translate(0, 0) !important;
}
html:not([dir="rtl"]) .modal-dialog-scrollable .btn-close:hover,
html:not([dir="rtl"]) .modal-fullscreen .btn-close:hover,
html:not([dir="rtl"]) .modal-top .btn-close:hover {
    transform: translate(0, 0) !important;
}
[dir="rtl"] .modal-dialog-scrollable .btn-close:hover,
[dir="rtl"] .modal-fullscreen .btn-close:hover,
[dir="rtl"] .modal-top .btn-close:hover {
    transform: translate(0, 0) !important;
}

.modal-onboarding .close-label {
    font-size: 0.8rem;
    position: absolute;
    top: 0.85rem;
    opacity: 0.5;
}
.modal-onboarding .close-label:hover {
    opacity: 0.75;
}
[dir="rtl"] .modal-onboarding .modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
}
.modal-onboarding .onboarding-media {
    margin-bottom: 1rem;
}
.modal-onboarding .onboarding-media img {
    margin: 0 auto;
}
.modal-onboarding .onboarding-content {
    margin: 2rem;
}
.modal-onboarding form {
    margin-top: 2rem;
    text-align: left;
}
.modal-onboarding .carousel-indicators {
    bottom: -10px;
}
.modal-onboarding .carousel-control-prev,
.modal-onboarding .carousel-control-next {
    top: auto;
    bottom: 0.75rem;
    opacity: 1;
}
[dir="rtl"] .modal-onboarding .carousel-control-prev,
[dir="rtl"] .modal-onboarding .carousel-control-next {
    flex-direction: row-reverse;
}
.modal-onboarding .carousel-control-prev {
    left: 1rem;
}
.modal-onboarding .onboarding-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-onboarding .onboarding-horizontal .onboarding-media {
    margin: 2rem;
    margin-top: 0;
}
.modal-onboarding .onboarding-horizontal .carousel-control-prev {
    left: 0;
}
.modal-onboarding.animated .onboarding-media {
    transform: translateY(10px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.25, 1.1, 0.5, 1.35);
    transition-delay: 0.3s;
    opacity: 0;
}
.modal-onboarding.animated .onboarding-content {
    transform: translateY(40px);
    transition-delay: 0.1s;
    transition: all 0.4s ease;
    opacity: 0;
}
.modal-onboarding.animated .onboarding-title {
    opacity: 0;
    transition-delay: 0.5s;
    transition: all 0.5s cubic-bezier(0.25, 1.1, 0.5, 1.35);
    transform: translateY(40px);
}
.modal-onboarding.animated .onboarding-info {
    opacity: 0;
    transition-delay: 0.6s;
    transition: all 0.5s cubic-bezier(0.25, 1.1, 0.5, 1.35);
    transform: translateY(40px);
}
.modal-onboarding.animated form {
    opacity: 0;
    transition-delay: 0.7s;
    transition: all 0.5s ease;
    transform: translateY(40px);
}
.modal-onboarding.animated.show .onboarding-media {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-onboarding.animated.show .onboarding-content {
    transform: translateY(0);
    opacity: 1;
}
.modal-onboarding.animated.show .onboarding-title {
    transform: translateY(0);
    opacity: 1;
}
.modal-onboarding.animated.show .onboarding-info {
    opacity: 1;
    transform: translateY(0px);
}
.modal-onboarding.animated.show form {
    opacity: 1;
    transform: translateY(0px);
}

.modal-top .modal-dialog {
    margin-top: 0;
}
.modal-top .modal-content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.modal-transparent .modal-dialog {
    display: flex;
    margin: 0 auto;
    min-height: 100vh;
}
.modal-transparent .modal-content {
    margin: auto;
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.modal-transparent .btn-close {
    position: absolute;
    top: 0;
    right: 0.25rem;
    opacity: 1;
    padding: 0.25em 0.25em;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='29' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-color: transparent !important;
}
[dir="rtl"] .modal-transparent .btn-close {
    right: auto;
    left: 0.25rem;
}

.modal-simple .modal-content {
    padding: 3rem;
}
.modal-simple .btn-close {
    position: absolute;
    top: -2.8rem;
}
[dir="rtl"] .modal-simple .btn-close {
    left: -2rem;
}
html:not([dir="rtl"]) .modal-simple .btn-close {
    right: -2rem;
}
@media (max-width: 767.98px) {
    .modal-simple .btn-close {
        top: 0;
    }
    [dir="rtl"] .modal-simple .btn-close {
        left: 0;
    }
    html:not([dir="rtl"]) .modal-simple .btn-close {
        right: 0;
    }
}

.modal-refer-and-earn .modal-refer-and-earn-step {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--bs-border-radius);
}
.modal-refer-and-earn .modal-refer-and-earn-step i {
    font-size: 2.5rem;
}

.modal-top.fade .modal-dialog,
.modal-top .modal.fade .modal-dialog {
    transform: translateY(-100%);
}

.modal-top.show .modal-dialog,
.modal-top .modal.show .modal-dialog {
    transform: translateY(0);
}

.modal-transparent.fade .modal-dialog,
.modal-transparent .modal.fade .modal-dialog {
    transform: scale(0.5, 0.5);
}

.modal-transparent.show .modal-dialog,
.modal-transparent .modal.show .modal-dialog {
    transform: scale(1, 1);
}

@media (max-width: 991.98px) {
    .modal-onboarding .onboarding-horizontal {
        flex-direction: column;
    }
}
@media (max-width: 767.98px) {
    .modal .modal-dialog:not(.modal-fullscreen) {
        padding: 0 0.75rem;
        padding-left: 0.75rem !important;
    }
    .modal .carousel-control-prev,
    .modal .carousel-control-next {
        display: none;
    }
}
@media (min-width: 576px) {
    .modal-content {
        box-shadow: 0 0.31rem 1.25rem 0 rgba(75, 70, 92, 0.4);
    }
    .modal-sm .modal-dialog {
        max-width: 22.5rem;
    }
}
@media (min-width: 1200px) {
    .modal-xl .modal-dialog {
        max-width: 1140px;
    }
}
.offcanvas,
.offcanvas-xxl,
.offcanvas-xl,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm {
    --bs-offcanvas-zindex: 1090;
    --bs-offcanvas-width: 400px;
    --bs-offcanvas-height: 30vh;
    --bs-offcanvas-padding-x: 1.5rem;
    --bs-offcanvas-padding-y: 1.5rem;
    --bs-offcanvas-color: ;
    --bs-offcanvas-bg: #fff;
    --bs-offcanvas-border-width: 0px;
    --bs-offcanvas-border-color: var(--bs-border-color-translucent);
    --bs-offcanvas-box-shadow: 0 0.31rem 1.25rem 0 rgba(75, 70, 92, 0.4);
}

@media (max-width: 575.98px) {
    .offcanvas-sm {
        position: fixed;
        bottom: 0;
        z-index: var(--bs-offcanvas-zindex);
        display: flex;
        flex-direction: column;
        max-width: 100%;
        color: var(--bs-offcanvas-color);
        visibility: hidden;
        background-color: var(--bs-offcanvas-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform 0.25s ease-in-out;
    }
}
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
    .offcanvas-sm {
        transition: none;
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.offcanvas-start {
        top: 0;
        left: 0;
        width: var(--bs-offcanvas-width);
        border-right: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(-100%);
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.offcanvas-end {
        top: 0;
        right: 0;
        width: var(--bs-offcanvas-width);
        border-left: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(100%);
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.offcanvas-top {
        top: 0;
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-bottom: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(-100%);
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.offcanvas-bottom {
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-top: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(100%);
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.showing,
    .offcanvas-sm.show:not(.hiding) {
        transform: none;
    }
}
@media (max-width: 575.98px) {
    .offcanvas-sm.showing,
    .offcanvas-sm.hiding,
    .offcanvas-sm.show {
        visibility: visible;
    }
}
@media (min-width: 576px) {
    .offcanvas-sm {
        --bs-offcanvas-height: auto;
        --bs-offcanvas-border-width: 0;
        background-color: transparent !important;
    }
    .offcanvas-sm .offcanvas-header {
        display: none;
    }
    .offcanvas-sm .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        background-color: transparent !important;
    }
}

@media (max-width: 767.98px) {
    .offcanvas-md {
        position: fixed;
        bottom: 0;
        z-index: var(--bs-offcanvas-zindex);
        display: flex;
        flex-direction: column;
        max-width: 100%;
        color: var(--bs-offcanvas-color);
        visibility: hidden;
        background-color: var(--bs-offcanvas-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform 0.25s ease-in-out;
    }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .offcanvas-md {
        transition: none;
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.offcanvas-start {
        top: 0;
        left: 0;
        width: var(--bs-offcanvas-width);
        border-right: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(-100%);
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.offcanvas-end {
        top: 0;
        right: 0;
        width: var(--bs-offcanvas-width);
        border-left: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(100%);
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.offcanvas-top {
        top: 0;
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-bottom: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(-100%);
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.offcanvas-bottom {
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-top: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(100%);
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.showing,
    .offcanvas-md.show:not(.hiding) {
        transform: none;
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md.showing,
    .offcanvas-md.hiding,
    .offcanvas-md.show {
        visibility: visible;
    }
}
@media (min-width: 768px) {
    .offcanvas-md {
        --bs-offcanvas-height: auto;
        --bs-offcanvas-border-width: 0;
        background-color: transparent !important;
    }
    .offcanvas-md .offcanvas-header {
        display: none;
    }
    .offcanvas-md .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        background-color: transparent !important;
    }
}

@media (max-width: 991.98px) {
    .offcanvas-lg {
        position: fixed;
        bottom: 0;
        z-index: var(--bs-offcanvas-zindex);
        display: flex;
        flex-direction: column;
        max-width: 100%;
        color: var(--bs-offcanvas-color);
        visibility: hidden;
        background-color: var(--bs-offcanvas-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform 0.25s ease-in-out;
    }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
    .offcanvas-lg {
        transition: none;
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.offcanvas-start {
        top: 0;
        left: 0;
        width: var(--bs-offcanvas-width);
        border-right: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(-100%);
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.offcanvas-end {
        top: 0;
        right: 0;
        width: var(--bs-offcanvas-width);
        border-left: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(100%);
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.offcanvas-top {
        top: 0;
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-bottom: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(-100%);
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.offcanvas-bottom {
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-top: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(100%);
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.showing,
    .offcanvas-lg.show:not(.hiding) {
        transform: none;
    }
}
@media (max-width: 991.98px) {
    .offcanvas-lg.showing,
    .offcanvas-lg.hiding,
    .offcanvas-lg.show {
        visibility: visible;
    }
}
@media (min-width: 992px) {
    .offcanvas-lg {
        --bs-offcanvas-height: auto;
        --bs-offcanvas-border-width: 0;
        background-color: transparent !important;
    }
    .offcanvas-lg .offcanvas-header {
        display: none;
    }
    .offcanvas-lg .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        background-color: transparent !important;
    }
}

@media (max-width: 1199.98px) {
    .offcanvas-xl {
        position: fixed;
        bottom: 0;
        z-index: var(--bs-offcanvas-zindex);
        display: flex;
        flex-direction: column;
        max-width: 100%;
        color: var(--bs-offcanvas-color);
        visibility: hidden;
        background-color: var(--bs-offcanvas-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform 0.25s ease-in-out;
    }
}
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
    .offcanvas-xl {
        transition: none;
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.offcanvas-start {
        top: 0;
        left: 0;
        width: var(--bs-offcanvas-width);
        border-right: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(-100%);
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.offcanvas-end {
        top: 0;
        right: 0;
        width: var(--bs-offcanvas-width);
        border-left: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(100%);
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.offcanvas-top {
        top: 0;
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-bottom: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(-100%);
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.offcanvas-bottom {
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-top: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(100%);
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.showing,
    .offcanvas-xl.show:not(.hiding) {
        transform: none;
    }
}
@media (max-width: 1199.98px) {
    .offcanvas-xl.showing,
    .offcanvas-xl.hiding,
    .offcanvas-xl.show {
        visibility: visible;
    }
}
@media (min-width: 1200px) {
    .offcanvas-xl {
        --bs-offcanvas-height: auto;
        --bs-offcanvas-border-width: 0;
        background-color: transparent !important;
    }
    .offcanvas-xl .offcanvas-header {
        display: none;
    }
    .offcanvas-xl .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        background-color: transparent !important;
    }
}

@media (max-width: 1399.98px) {
    .offcanvas-xxl {
        position: fixed;
        bottom: 0;
        z-index: var(--bs-offcanvas-zindex);
        display: flex;
        flex-direction: column;
        max-width: 100%;
        color: var(--bs-offcanvas-color);
        visibility: hidden;
        background-color: var(--bs-offcanvas-bg);
        background-clip: padding-box;
        outline: 0;
        transition: transform 0.25s ease-in-out;
    }
}
@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {
    .offcanvas-xxl {
        transition: none;
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.offcanvas-start {
        top: 0;
        left: 0;
        width: var(--bs-offcanvas-width);
        border-right: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(-100%);
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.offcanvas-end {
        top: 0;
        right: 0;
        width: var(--bs-offcanvas-width);
        border-left: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateX(100%);
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.offcanvas-top {
        top: 0;
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-bottom: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(-100%);
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.offcanvas-bottom {
        right: 0;
        left: 0;
        height: var(--bs-offcanvas-height);
        max-height: 100%;
        border-top: var(--bs-offcanvas-border-width) solid
            var(--bs-offcanvas-border-color);
        transform: translateY(100%);
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.showing,
    .offcanvas-xxl.show:not(.hiding) {
        transform: none;
    }
}
@media (max-width: 1399.98px) {
    .offcanvas-xxl.showing,
    .offcanvas-xxl.hiding,
    .offcanvas-xxl.show {
        visibility: visible;
    }
}
@media (min-width: 1400px) {
    .offcanvas-xxl {
        --bs-offcanvas-height: auto;
        --bs-offcanvas-border-width: 0;
        background-color: transparent !important;
    }
    .offcanvas-xxl .offcanvas-header {
        display: none;
    }
    .offcanvas-xxl .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        background-color: transparent !important;
    }
}

.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.25s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .offcanvas {
        transition: none;
    }
}
.offcanvas.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid
        var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
}
.offcanvas.offcanvas-end {
    top: 0;
    right: 0;
    width: var(--bs-offcanvas-width);
    border-left: var(--bs-offcanvas-border-width) solid
        var(--bs-offcanvas-border-color);
    transform: translateX(100%);
}
.offcanvas.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-bottom: var(--bs-offcanvas-border-width) solid
        var(--bs-offcanvas-border-color);
    transform: translateY(-100%);
}
.offcanvas.offcanvas-bottom {
    right: 0;
    left: 0;
    height: var(--bs-offcanvas-height);
    max-height: 100%;
    border-top: var(--bs-offcanvas-border-width) solid
        var(--bs-offcanvas-border-color);
    transform: translateY(100%);
}
.offcanvas.showing,
.offcanvas.show:not(.hiding) {
    transform: none;
}
.offcanvas.showing,
.offcanvas.hiding,
.offcanvas.show {
    visibility: visible;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1089;
    width: 100vw;
    height: 100vh;
    background-color: #4b465c;
}
.offcanvas-backdrop.fade {
    opacity: 0;
}
.offcanvas-backdrop.show {
    opacity: 0.5;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}
.offcanvas-header .btn-close {
    padding: calc(var(--bs-offcanvas-padding-y) * 0.5)
        calc(var(--bs-offcanvas-padding-x) * 0.5);
    margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));
    margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x));
    margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y));
}

.offcanvas-title {
    margin-bottom: 0;
    line-height: 1.47;
}

.offcanvas-body {
    flex-grow: 1;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-y: auto;
}

.offcanvas {
    box-shadow: 0 0.31rem 1.25rem 0 rgba(75, 70, 92, 0.4);
}
.offcanvas .offcanvas-header .btn-close {
    background-color: #e2e1e5;
    padding: 0.44rem;
    margin-right: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='18' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%235d596c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%235d596c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

[dir="rtl"] .offcanvas-start {
    right: 0;
    transform: translateX(100%);
}
[dir="rtl"] .offcanvas-end {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

.wf-info-block__body {
    text-align: right;
}

#holdingEditModal .holding-form-stack .wf-info-block {
    border-radius: 7px;
}

.modal.show .modal-dialog {
    text-align: right;
}

.ph0-pwd-modal__input-wrap .form-control {
    text-align: right !important;
    font-family: "IRANSans", ui-monospace, Menlo, Monaco, monospace !important;
}

/* -----------------------------------------------------------------------------
   مودال‌های فرم سازمانی (workflow): ظاهر داخلی مرتب و مدرن
   ----------------------------------------------------------------------------- */

.workflow-org-modal.modal {
    overflow-y: auto !important;
    padding-bottom: env(safe-area-inset-bottom, 0.75rem);
}

.workflow-org-modal .modal-dialog {
    margin: 0.75rem auto;
}

.workflow-org-modal .modal-content {
    border: none;
    border-radius: 0.75rem;
    box-shadow:
        0 0.125rem 0.5rem rgba(34, 41, 47, 0.06),
        0 0.5rem 2rem rgba(115, 103, 240, 0.09),
        0 0 0 1px rgba(34, 41, 47, 0.05);
    overflow: hidden;
}

.workflow-org-modal .modal-header {
    padding: 1.1rem 1.35rem 1rem;
    background: linear-gradient(125deg, #fafaff 0%, #ffffff 48%, #f6f5fc 100%);
    border-bottom: 1px solid rgba(115, 103, 240, 0.14);
    align-items: flex-start;
}

.workflow-org-modal .modal-header .modal-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #4b465c;
    letter-spacing: -0.015em;
    line-height: 1.45;
}

.workflow-org-modal .modal-header .close {
    opacity: 0.62;
    padding: 0.4rem 0.55rem;
    margin: -0.3rem -0.4rem 0 0;
    border-radius: 0.4rem;
    transition:
        opacity 0.15s ease,
        background-color 0.15s ease;
}

.workflow-org-modal .modal-header .close:hover {
    opacity: 1;
    background-color: rgba(115, 103, 240, 0.1);
}

.workflow-org-modal .modal-body {
    padding: 1.25rem 1.35rem 1.75rem;
    background: linear-gradient(180deg, #f5f7fb 0%, #fafbfd 14%, #ffffff 42%);
    max-height: min(72vh, calc(100vh - 12rem));
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    text-align: right;
}

.workflow-org-modal .wf-modal-lead {
    font-size: 0.8125rem;
    color: #6e6b7b;
    line-height: 1.6;
    padding: 0.65rem 0.9rem;
    margin: 0 0 1.1rem;
    border-radius: 0.55rem;
    background: rgba(115, 103, 240, 0.06);
    border: 1px solid rgba(115, 103, 240, 0.11);
}

.workflow-org-modal .modal-footer {
    padding: 0.85rem 1.35rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafb 100%);
    border-top: 1px solid #ebe9f1;
    gap: 0.5rem;
}

.workflow-org-modal .modal-footer .btn {
    min-width: 7.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.52rem 1.05rem;
}

.workflow-org-modal .form-group {
    margin-bottom: 1rem;
}

.workflow-org-modal .form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5e5873;
    margin-bottom: 0.38rem;
}

.workflow-org-modal .form-control,
.workflow-org-modal .custom-select {
    border-radius: 0.55rem;
    border-color: #e4e2ea;
    font-size: 0.875rem;
    padding: 0.52rem 0.88rem;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.workflow-org-modal .form-control.wf-input,
.workflow-org-modal select.form-control.wf-input {
    background-color: #f8f9fb;
    border-color: #e4e2ea;
    min-height: 2.65rem;
}

.workflow-org-modal .form-control:focus,
.workflow-org-modal .custom-select:focus {
    border-color: rgba(115, 103, 240, 0.65);
    box-shadow: 0 0 0 0.18rem rgba(115, 103, 240, 0.18);
}

.workflow-org-modal .form-control.wf-input:focus,
.workflow-org-modal select.form-control.wf-input:focus {
    background-color: #ffffff;
}

.workflow-org-modal .form-control::placeholder {
    color: #b9b8c3;
}

.workflow-org-modal small.text-muted,
.workflow-org-modal .text-muted {
    color: #a5a3ae !important;
}

/* بلوک‌های بخش‌بندی داخل مودال */
.wf-info-block {
    border: 1px solid rgba(115, 103, 240, 0.13);
    border-radius: 0.65rem;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(34, 41, 47, 0.04);
    overflow: hidden;
    margin-bottom: 1.1rem;
}

.wf-info-block:last-child {
    margin-bottom: 0;
}

.wf-info-block__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4b465c;
    padding: 0.62rem 1rem;
    background: linear-gradient(
        90deg,
        rgba(115, 103, 240, 0.1) 0%,
        rgba(115, 103, 240, 0.02) 100%
    );
    border-bottom: 1px solid rgba(115, 103, 240, 0.1);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.wf-info-block__heading {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

/* تراشهٔ گرادیانی برای آیکن‌های Feather در عنوان بلوک */
.wf-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.55rem;
}

.wf-icon-chip svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #ffffff !important;
    stroke-width: 2.15px;
}

.wf-icon-chip--primary {
    background: linear-gradient(145deg, #7367f0 0%, #a89ffb 100%);
    box-shadow:
        0 2px 8px rgba(115, 103, 240, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wf-icon-chip--ocean {
    background: linear-gradient(145deg, #00cfe8 0%, #009db5 100%);
    box-shadow:
        0 2px 8px rgba(0, 207, 232, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wf-icon-chip--sunset {
    background: linear-gradient(145deg, #ff9f43 0%, #ff6b6b 100%);
    box-shadow:
        0 2px 8px rgba(255, 127, 80, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wf-icon-chip--success {
    background: linear-gradient(145deg, #28c76f 0%, #48dda8 100%);
    box-shadow:
        0 2px 8px rgba(40, 199, 111, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wf-info-block__body {
    padding: 1rem 1rem 1.05rem;
    text-align: right;
}

.workflow-org-modal .wf-info-block .form-row {
    margin-left: -0.35rem;
    margin-right: -0.35rem;
}

.workflow-org-modal .wf-info-block .form-row > [class*="col"] {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.workflow-org-modal .wf-info-block .form-group:last-child {
    margin-bottom: 0;
}

.workflow-org-modal .wf-info-block small.text-muted {
    display: block;
    margin-top: 0.35rem;
    line-height: 1.45;
    font-size: 0.72rem !important;
}

/* راهنمای استراتژی اصلاح ساختار (Popover + آیکن) */
.wf-strategy-field-label-row .wf-field-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5e5873;
}

.wf-strategy-popover-btn {
    padding: 0.28rem 0.48rem;
    line-height: 1;
    border-radius: 0.45rem;
    border: 1px solid rgba(115, 103, 240, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #f5f4fc 100%);
    color: #7367f0;
    box-shadow: 0 1px 3px rgba(115, 103, 240, 0.14);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        color 0.15s ease;
}

.wf-strategy-popover-btn:hover {
    border-color: rgba(115, 103, 240, 0.45);
    color: #5e50eb;
    box-shadow: 0 2px 8px rgba(115, 103, 240, 0.2);
}

.wf-strategy-popover-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.18rem rgba(115, 103, 240, 0.22);
}

.wf-strategy-help-icon {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.1px;
}

.popover.wf-strategy-bs-popover {
    max-width: min(40rem, calc(100vw - 2rem));
    width: min(40rem, calc(100vw - 2rem));
    border-radius: 0.65rem;
    border-color: rgba(115, 103, 240, 0.18);
    box-shadow: 0 0.35rem 1.35rem rgba(34, 41, 47, 0.14);
    text-align: right;
}

.popover.wf-strategy-bs-popover .popover-header {
    font-family: IRANSans, IRANYekan, Tahoma, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(125deg, #fafaff 0%, #ffffff 100%);
    border-bottom-color: rgba(115, 103, 240, 0.12);
    color: #4b465c;
}

.popover.wf-strategy-bs-popover .popover-body {
    max-height: min(65vh, 32rem);
    overflow-y: auto;
    padding: 1rem 1.15rem 1.15rem;
    -webkit-overflow-scrolling: touch;
    font-family: IRANSans, IRANYekan, Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
    color: #2f2d35;
    -webkit-font-smoothing: antialiased;
}

.wf-strategy-help-popover {
    font-family: IRANSans, IRANYekan, Tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 400;
}

.wf-strategy-help-line {
    display: block;
    text-align: right;
    direction: rtl;
    line-height: 1.85;
    word-break: break-word;
    font-variant-numeric: persian;
}

.wf-strategy-help-line--sep {
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #ebe9f1;
}

.wf-strategy-help-line__prefix {
    font-weight: 700;
    font-size: 1.02rem;
    color: #5e50eb;
    white-space: nowrap;
}

.wf-strategy-help-line__dash {
    font-weight: 600;
    font-size: 1rem;
    color: #9c98a8;
    margin: 0 0.2rem;
}

.wf-strategy-help-line__desc {
    font-size: 1rem;
    font-weight: 500;
    color: #3d3b45;
}

@supports (height: 100dvh) {
    .workflow-org-modal .modal-body {
        max-height: min(72dvh, calc(100dvh - 12rem));
    }
}

/* --- Sidebar scroll stability (PerfectScrollbar / native) ---
   Theme ships `.main-menu .main-menu-content { height: calc(100% - 4.45rem) !important }` for a
   short single-line header. Our branded header is taller, so that calc leaves the content area
   too tall: the bottom of the menu clips and does not scroll. Flex layout fills only the space
   below the real header; `min-height: 0` lets the scroller shrink inside the flex column. */
.vertical-layout.vertical-menu-modern .main-menu.menu-fixed {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vertical-layout.vertical-menu-modern .main-menu.menu-fixed > .navbar-header {
    flex: 0 0 auto;
}

.vertical-layout.vertical-menu-modern .main-menu.menu-fixed > .shadow-bottom {
    flex: 0 0 auto;
}

.vertical-layout.vertical-menu-modern .main-menu.menu-fixed .main-menu-content {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
}

/* Native scroll mode (touch / fallback) */
.vertical-layout.vertical-menu-modern
    .main-menu.menu-fixed.menu-native-scroll
    .main-menu-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
   Sidebar Branding — ستاد راهبری اصلاح نظام بنگاه‌داری
   ========================================================= */
@font-face {
    font-family: "IRANNastaliq";
    src: url("/fonts/iran-nastaliq/IranNastaliq.eot");
    src:
        url("/fonts/iran-nastaliq/IranNastaliq.eot?#iefix")
            format("embedded-opentype"),
        url("/fonts/iran-nastaliq/IranNastaliq.woff2") format("woff2"),
        url("/fonts/iran-nastaliq/IranNastaliq.woff") format("woff"),
        url("/fonts/iran-nastaliq/IranNastaliq.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --sakhtar-orange: #f97316;
    --sakhtar-orange-strong: #ea580c;
    --sakhtar-orange-soft: rgba(249, 115, 22, 0.14);
}

.main-menu .sakhtar-navbar-header {
    position: relative;
    height: auto !important;
    min-height: 60px;
    padding: 0.55rem 0.85rem 0.85rem !important;
    border-bottom: none !important;
    background: transparent;
}

.main-menu .sakhtar-navbar-row {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Nav toggle is anchored to the top-left corner (its original position),
   so it does NOT push the logo down. */
.main-menu .sakhtar-nav-toggle {
    position: absolute;
    top: 0.5rem;
    left: 0.55rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    z-index: 2;
}

.main-menu .sakhtar-nav-toggle .nav-link {
    padding: 0.25rem !important;
    line-height: 1;
}

.main-menu .sakhtar-brand-item {
    width: 100%;
    margin: 0;
    padding: 0;
}

.main-menu .sakhtar-brand {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
    gap: 0.45rem;
    text-decoration: none !important;
    transition: transform 0.25s ease;
}

.main-menu .sakhtar-brand:hover {
    text-decoration: none !important;
}

.main-menu .sakhtar-brand__logo {
    display: inline-block;
    width: 78px;
    height: 78px;
    background-color: var(--sakhtar-orange);
    -webkit-mask-image: url("/theme/img/iranLogo.png");
    mask-image: url("/theme/img/iranLogo.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
    filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.18));
}

.main-menu .sakhtar-brand:hover .sakhtar-brand__logo {
    transform: scale(1.05);
    background-color: var(--sakhtar-orange-strong);
}

/* Brand text — Nastaliq calligraphy to match the script inside iranLogo.png */
.main-menu .sakhtar-brand__text {
    font-family: "IRANNastaliq", "IRANSans", "IRANYekan", serif !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 2.1 !important;
    color: var(--sakhtar-orange) !important;
    margin: 0 !important;
    text-align: center;
    white-space: normal !important;
    letter-spacing: 0 !important;
    padding: 0 0.2rem;
    direction: rtl;
}

/* Dark sidebar adjustment — keep orange but with subtle glow */
.main-menu.menu-dark .sakhtar-brand__logo {
    filter: drop-shadow(0 4px 14px rgba(249, 115, 22, 0.36));
}

/* Collapsed sidebar — show only logo (small) */
.main-menu.menu-collapsed .sakhtar-navbar-header {
    padding: 0.5rem 0.4rem !important;
    min-height: 56px;
}
.main-menu.menu-collapsed .sakhtar-brand__logo {
    width: 36px;
    height: 36px;
}
.main-menu.menu-collapsed .sakhtar-brand__text {
    display: none !important;
}

/* When user hovers on collapsed sidebar, expand the brand back */
.main-menu.menu-collapsed:hover .sakhtar-navbar-header {
    padding: 0.55rem 0.85rem 0.85rem !important;
    min-height: 60px;
}
.main-menu.menu-collapsed:hover .sakhtar-brand__logo {
    width: 78px;
    height: 78px;
}
.main-menu.menu-collapsed:hover .sakhtar-brand__text {
    display: block !important;
}

/* Mobile / xs */
@media (max-width: 575.98px) {
    .main-menu .sakhtar-brand__logo {
        width: 64px;
        height: 64px;
    }
    .main-menu .sakhtar-brand__text {
        font-size: 0.98rem !important;
        line-height: 2 !important;
    }
}

/* =========================================================
   Sidebar — آیکن و متن منو (RTL)
   تم عمودی با margin-left برای LTR نوشته شده؛ در rtl + float:right
   فاصلهٔ دیداری از بین می‌رود. با flex gap و حذف margin پایدار می‌شود.
   ========================================================= */
.main-menu .navigation li > a.d-flex.align-items-center,
.main-menu .navigation .menu-content li > a.d-flex.align-items-center {
    gap: 0.7rem;
}

.main-menu .navigation li > a.d-flex.align-items-center > i,
.main-menu .navigation li > a.d-flex.align-items-center > svg,
.main-menu .navigation .menu-content li > a.d-flex.align-items-center > i,
.main-menu .navigation .menu-content li > a.d-flex.align-items-center > svg {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

/* =========================================================
   Home dashboard (/dashboard) — modern analytics layout
   ========================================================= */
/* Dashboard: shared utilities (no inline layout in blades) */
.home-dash-panel-head {
    min-width: 220px;
}

.home-dash-flex-min-0 {
    min-width: 0;
}

.home-dash-table-scroll {
    max-height: 220px;
    overflow: auto;
}

.home-dash-pct-fill {
    display: block;
    height: 100%;
    width: calc(var(--bar-pct, 0) * 1%);
    border-radius: inherit;
    transition: width 0.35s ease;
}

.home-dash-page .content-wrapper {
    max-width: 1320px;
}

.home-dash-hero-shell {
    position: relative;
    border-radius: 1.15rem;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.45) 0%,
        rgba(244, 63, 94, 0.22) 45%,
        rgba(249, 115, 22, 0.35) 100%
    );
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.dark-layout .home-dash-hero-shell {
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.home-dash-hero-shell::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(1.15rem - 1px);
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 90% 70% at 100% 0%,
            rgba(99, 102, 241, 0.14),
            transparent 55%
        ),
        radial-gradient(
            ellipse 70% 60% at 0% 100%,
            rgba(249, 115, 22, 0.1),
            transparent 50%
        );
    opacity: 0.9;
}

.dark-layout .home-dash-hero-shell::before {
    opacity: 0.5;
}

.home-dash-hero {
    position: relative;
    z-index: 1;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(248, 250, 252, 0.98) 45%,
        rgba(241, 245, 249, 0.95) 100%
    );
    border-radius: calc(1.15rem - 1px) !important;
    overflow: hidden;
}

.dark-layout .home-dash-hero {
    background: linear-gradient(
        165deg,
        rgba(40, 48, 70, 0.98) 0%,
        rgba(30, 37, 54, 0.99) 100%
    );
}

.home-dash-kicker {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.home-dash-kicker-sep {
    opacity: 0.45;
}

.home-dash-kicker-org {
    color: #475569;
}

.dark-layout .home-dash-kicker-org {
    color: #cbd5e1;
}

.home-dash-pill {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    color: #4338ca;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}

.dark-layout .home-dash-pill {
    background: rgba(129, 140, 248, 0.2);
    color: #c7d2fe;
}

.home-dash-title {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.25;
}

.dark-layout .home-dash-title {
    color: #f1f5f9;
}

.home-dash-lead {
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 42rem;
}

.home-dash-hero-meta {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dark-layout .home-dash-hero-meta {
    background: rgba(22, 30, 46, 0.72);
    border-color: rgba(148, 163, 184, 0.15);
}

.home-dash-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.home-dash-meta-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dark-layout .home-dash-meta-icon-wrap {
    background: rgba(129, 140, 248, 0.15);
}

.home-dash-meta-ic {
    width: 18px;
    height: 18px;
    color: #4f46e5;
    flex-shrink: 0;
}

.dark-layout .home-dash-meta-ic {
    color: #a5b4fc;
}

.home-dash-meta-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.dark-layout .home-dash-meta-label {
    color: #94a3b8;
}

.home-dash-meta-val {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
}

.dark-layout .home-dash-meta-val {
    color: #e2e8f0;
}

/* Top row: hero + representative (unified palette) */
.home-dash-top-row {
    --home-dash-accent: #6366f1;
    --home-dash-accent-deep: #4f46e5;
    --home-dash-accent-soft: rgba(99, 102, 241, 0.12);
    --home-dash-surface: rgba(255, 255, 255, 0.97);
    align-items: stretch;
}

.home-dash-top-row > .col-xl-5,
.home-dash-top-row > .col-lg-5,
.home-dash-top-row > .col-xl-7,
.home-dash-top-row > .col-lg-7 {
    align-self: start;
}

/* Paired hero + rep: equal column height */
@media (min-width: 992px) {
    .home-dash-top-row--paired > [class*="col-"] {
        display: flex;
        flex-direction: column;
        align-self: stretch !important;
    }

    .home-dash-top-row--paired .home-dash-hero-shell--profile,
    .home-dash-top-row--paired .home-dash-rep-shell {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100%;
    }

    .home-dash-top-row--paired .home-dash-hero,
    .home-dash-top-row--paired .home-dash-rep {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .home-dash-top-row--paired .home-dash-hero__body,
    .home-dash-top-row--paired .home-dash-rep__form {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .home-dash-top-row--paired .home-dash-hero__panel {
        flex: 1 1 auto;
        margin-bottom: 0.65rem;
    }

    .home-dash-top-row--paired .home-dash-hero__body:not(:has(.home-dash-hero__panel)) .home-dash-hero__identity {
        flex: 1 1 auto;
    }

    .home-dash-top-row--paired .home-dash-hero__meta {
        margin-top: auto;
    }

    .home-dash-top-row--paired .home-dash-rep__actions {
        margin-top: auto;
    }
}

.dark-layout .home-dash-top-row {
    --home-dash-surface: rgba(36, 44, 62, 0.98);
}

.home-dash-hero-shell--paired {
    box-shadow:
        0 4px 24px rgba(99, 102, 241, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* Hero welcome card — profile layout (paired with rep card) */
.home-dash-hero-shell--profile {
    height: auto;
    border-radius: 1.75rem;
    padding: 0;
    background: transparent;
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.04);
}

.home-dash-hero-shell--profile.home-dash-hero-shell::before {
    display: none;
}

.dark-layout .home-dash-hero-shell--profile {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-dash-hero-shell--profile .home-dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fff;
    min-height: 0;
    height: 100%;
}

.dark-layout .home-dash-hero-shell--profile .home-dash-hero {
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-hero__cover {
    position: relative;
    height: 8rem;
    background-color: #a5b4fc;
    background-image: url("/QPanel/img/dashboard/hero-cover-sky.svg");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    border-radius: 1.75rem 1.75rem 0 0;
}

.home-dash-hero__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.32) 100%
    );
    pointer-events: none;
}

.dark-layout .home-dash-hero__cover {
    filter: saturate(0.8) brightness(0.75);
}

.home-dash-hero__logo-stage,
.home-dash-hero__icon-stage {
    display: flex;
    justify-content: center;
    margin-top: -2.65rem;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 3;
}

.home-dash-hero-shell--brandable .home-dash-hero__logo-stage {
    margin-top: -4.35rem;
}

.home-dash-hero__cover-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-dash-hero__cover-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.home-dash-hero__cover-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.25px;
}

.home-dash-hero__cover {
    position: relative;
}

.home-dash-hero__logo-ring {
    display: block;
    padding: 3px;
    border-radius: 1.15rem;
    background: conic-gradient(
        from 200deg,
        #6366f1,
        #8b5cf6,
        #a78bfa,
        #6366f1
    );
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.home-dash-hero__logo-upload {
    position: relative;
}

.home-dash-hero__logo-upload:hover .home-dash-hero__logo-ring,
.home-dash-hero__logo-upload:focus-within .home-dash-hero__logo-ring {
    transform: scale(1.03);
}

.home-dash-hero__logo {
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 1rem;
    object-fit: contain;
    border: 3px solid #fff;
    display: block;
    background: #fff;
    padding: 0.35rem;
}

.dark-layout .home-dash-hero__logo {
    border-color: rgba(36, 44, 62, 0.98);
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-hero__logo-overlay {
    position: absolute;
    inset: 3px;
    border-radius: calc(1rem - 1px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    color: #fff;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.home-dash-hero__logo-overlay svg {
    width: 20px;
    height: 20px;
}

.home-dash-hero__logo-upload:hover .home-dash-hero__logo-overlay,
.home-dash-hero__logo-upload:focus-within .home-dash-hero__logo-overlay {
    opacity: 1;
}

.home-dash-hero-shell--brandable.is-uploading .home-dash-hero__logo-ring {
    opacity: 0.72;
    pointer-events: none;
}

.home-dash-hero__icon-ring {
    display: inline-flex;
    padding: 3px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, #6366f1, #8b5cf6, #a78bfa, #6366f1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.22);
}

.home-dash-hero__icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 50%;
    background: #fff;
    color: #4f46e5;
}

.home-dash-hero__icon-inner svg {
    width: 26px;
    height: 26px;
}

.dark-layout .home-dash-hero__icon-inner {
    background: rgba(36, 44, 62, 0.98);
    color: #c7d2fe;
}

.home-dash-hero-shell--profile .home-dash-hero__body {
    padding: 0 1rem 1rem;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.home-dash-hero__identity {
    text-align: center;
    padding: 0 0.5rem 0.65rem;
}

.home-dash-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
}

.home-dash-hero__eyebrow-sep {
    opacity: 0.45;
}

.home-dash-hero__title {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.35rem !important;
}

.dark-layout .home-dash-hero__title {
    color: #f8fafc;
}

.home-dash-hero__lead {
    font-size: 0.82rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 32rem;
    margin-right: auto;
    margin-left: auto;
}

.dark-layout .home-dash-hero__lead {
    color: #94a3b8;
}

.home-dash-hero__cycle {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 0.35rem !important;
}

.home-dash-hero__cycle-muted {
    color: #94a3b8;
}

.home-dash-hero__cycle--warn {
    color: #d97706;
}

.home-dash-hero__panel {
    margin-bottom: 0.65rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #f4f4f5;
}

.dark-layout .home-dash-hero__panel {
    background: rgba(22, 30, 46, 0.65);
}

.home-dash-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.home-dash-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    padding: 0.55rem 0.35rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    text-decoration: none !important;
    color: inherit;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

a.home-dash-hero__stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    text-decoration: none !important;
    color: inherit;
}

.dark-layout .home-dash-hero__stat {
    background: rgba(30, 37, 54, 0.9);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-hero__stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-dash-hero__stat-icon svg {
    width: 17px;
    height: 17px;
}

.home-dash-hero__stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.dark-layout .home-dash-hero__stat-val {
    color: #f1f5f9;
}

.home-dash-hero__stat-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.dark-layout .home-dash-hero__stat-label {
    color: #94a3b8;
}

.home-dash-hero__stat--violet .home-dash-hero__stat-icon {
    background: rgba(99, 102, 241, 0.14);
    color: #4f46e5;
}

.home-dash-hero__stat--cyan .home-dash-hero__stat-icon {
    background: rgba(6, 182, 212, 0.14);
    color: #0891b2;
}

.home-dash-hero__stat--rose .home-dash-hero__stat-icon {
    background: rgba(244, 63, 94, 0.12);
    color: #e11d48;
}

.home-dash-hero-shell--profile .home-dash-hero__meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 0.15rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background: #f4f4f5;
}

.dark-layout .home-dash-hero-shell--profile .home-dash-hero__meta {
    background: rgba(22, 30, 46, 0.65);
}

.home-dash-hero-shell--profile .home-dash-hero-chip {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    min-height: 3.35rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.home-dash-hero-shell--profile .home-dash-hero-chip:hover {
    border-color: rgba(99, 102, 241, 0.28);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.dark-layout .home-dash-hero-shell--profile .home-dash-hero-chip {
    background: rgba(30, 37, 54, 0.92);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-hero-shell--profile .home-dash-hero-chip__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    align-self: center;
}

.home-dash-hero-shell--profile .home-dash-hero-chip__text {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.2rem;
    text-align: right;
    line-height: 1.25;
}

.home-dash-hero-shell--profile .home-dash-hero-chip--calendar .home-dash-hero-chip__icon {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.1));
    color: #4f46e5;
}

.home-dash-hero-shell--profile .home-dash-hero-chip--login .home-dash-hero-chip__icon {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(6, 182, 212, 0.1));
    color: #0284c7;
}

.home-dash-hero-shell--profile .home-dash-hero-chip__label {
    width: 100%;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-dash-hero-shell--profile .home-dash-hero-chip__val {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: #0f172a;
    white-space: nowrap;
}

.dark-layout .home-dash-hero-shell--profile .home-dash-hero-chip__val {
    color: #f1f5f9;
}

.home-dash-hero-shell--profile .home-dash-hero-chip__value-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
}

.home-dash-hero-shell--profile .home-dash-hero-chip__time {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #475569;
    padding: 0.2rem 0.45rem;
    border-radius: 0.4rem;
    background: #f1f5f9;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.dark-layout .home-dash-hero-shell--profile .home-dash-hero-chip__time {
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

@media (max-width: 575.98px) {
    .home-dash-hero-shell--profile .home-dash-hero__meta {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .home-dash-hero__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .home-dash-hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    }
}

.home-dash-hero__body {
    min-height: 100%;
}

.home-dash-hero__main {
    min-width: 0;
}

.home-dash-cycle-line {
    line-height: 1.6;
}

.home-dash-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.home-dash-hero-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 12rem;
    min-width: 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.home-dash-hero-chip:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.1);
}

.dark-layout .home-dash-hero-chip {
    background: rgba(22, 30, 46, 0.65);
    border-color: rgba(71, 85, 105, 0.4);
}

.home-dash-hero-chip__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--home-dash-accent-soft, rgba(99, 102, 241, 0.12));
    color: var(--home-dash-accent-deep, #4f46e5);
}

.home-dash-hero-chip__icon svg {
    width: 18px;
    height: 18px;
}

.dark-layout .home-dash-hero-chip__icon {
    color: #a5b4fc;
}

.home-dash-hero-chip__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    text-align: right;
}

.home-dash-hero-chip__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.dark-layout .home-dash-hero-chip__label {
    color: #94a3b8;
}

.home-dash-hero-chip__val {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.dark-layout .home-dash-hero-chip__val {
    color: #f1f5f9;
}

@media (max-width: 575.98px) {
    .home-dash-hero-chips {
        flex-direction: column;
    }

    .home-dash-hero-chip {
        flex-basis: auto;
    }
}

/* Representative card — profile layout */
.home-dash-rep-shell {
    position: relative;
    height: auto;
    border-radius: 1.75rem;
    padding: 0;
    background: transparent;
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.04);
}

.dark-layout .home-dash-rep-shell {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-dash-rep-shell--profile {
    max-width: 100%;
}

.home-dash-rep {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fff;
    height: 100%;
}

.dark-layout .home-dash-rep {
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-rep__form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding-bottom: 1.1rem;
}

.home-dash-rep__cover {
    position: relative;
    height: 8rem;
    background-color: #7dd3fc;
    background-image: url("/QPanel/img/dashboard/rep-cover-sky.svg");
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    border-radius: 1.75rem 1.75rem 0 0;
    overflow: hidden;
}

.home-dash-rep__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.35) 100%
    );
    pointer-events: none;
}

.dark-layout .home-dash-rep__cover {
    filter: saturate(0.85) brightness(0.72);
}

.dark-layout .home-dash-rep__cover::after {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.15) 0%,
        transparent 45%,
        rgba(15, 23, 42, 0.45) 100%
    );
}

.home-dash-rep__cover-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-dash-rep__cover-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.home-dash-rep__cover-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.25px;
}

.home-dash-rep__avatar-stage {
    display: flex;
    justify-content: center;
    margin-top: -4.75rem;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 3;
}

.home-dash-rep__avatar-ring {
    display: block;
    padding: 3px;
    border-radius: 50%;
    background: conic-gradient(
        from 210deg,
        #f43f5e,
        #f59e0b,
        #22c55e,
        #3b82f6,
        #8b5cf6,
        #ec4899,
        #f43f5e
    );
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.home-dash-rep__avatar-upload:hover .home-dash-rep__avatar-ring,
.home-dash-rep__avatar-upload:focus-within .home-dash-rep__avatar-ring {
    transform: scale(1.03);
}

.home-dash-rep__avatar {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    display: block;
    background: #e2e8f0;
}

.dark-layout .home-dash-rep__avatar {
    border-color: rgba(36, 44, 62, 0.98);
}

.home-dash-rep__avatar-overlay {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    color: #fff;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.home-dash-rep__avatar-overlay svg {
    width: 20px;
    height: 20px;
}

.home-dash-rep__avatar-upload {
    position: relative;
}

.home-dash-rep__avatar-upload:hover .home-dash-rep__avatar-overlay,
.home-dash-rep__avatar-upload:focus-within .home-dash-rep__avatar-overlay {
    opacity: 1;
}

.home-dash-rep__identity {
    text-align: center;
    padding: 0 1.15rem 0.65rem;
}

.home-dash-rep__role {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.dark-layout .home-dash-rep__role {
    color: #94a3b8;
}

.home-dash-rep__org {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-top: 0.2rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark-layout .home-dash-rep__org {
    color: #f8fafc;
}

.home-dash-rep__tagline {
    font-size: 0.76rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 0.35rem !important;
    max-width: 16rem;
    margin-right: auto;
    margin-left: auto;
}

.home-dash-rep__tagline--done {
    color: #059669;
}

.dark-layout .home-dash-rep__tagline--done {
    color: #34d399;
}

.home-dash-rep__panel {
    margin: 0 1rem 0.65rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: #f4f4f5;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dark-layout .home-dash-rep__panel {
    background: rgba(22, 30, 46, 0.65);
}

.home-dash-rep__panel-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.home-dash-rep__panel-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}

.dark-layout .home-dash-rep__panel-label {
    color: #64748b;
}

.home-dash-rep__panel-input {
    display: block;
}

.home-dash-rep__input {
    width: 100%;
    border: none !important;
    border-radius: 0.55rem !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center !important;
    padding: 0.5rem 0.65rem !important;
    min-height: 2.25rem;
    transition:
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.home-dash-rep__input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

.home-dash-rep__input:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.18),
        0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

.home-dash-rep__input.dir-ltr {
    direction: ltr;
}

.dark-layout .home-dash-rep__input {
    background: rgba(30, 37, 54, 0.9) !important;
    color: #f1f5f9;
}

.home-dash-rep__errors {
    margin: 0 1rem 0.35rem;
    line-height: 1.5;
    text-align: center;
}

.home-dash-rep__required {
    color: #dc2626;
    font-weight: 800;
}

.home-dash-rep__mobile-row {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
}

.home-dash-rep__panel-input--grow {
    flex: 1;
    min-width: 0;
}

.home-dash-rep__mobile-badge {
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    min-width: 2.25rem;
    border-radius: 0.55rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: background 0.18s ease, color 0.18s ease;
}

.home-dash-rep__mobile-badge svg {
    width: 1.15rem;
    height: 1.15rem;
}

.home-dash-rep__mobile-badge.is-verified {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.home-dash-rep__mobile-badge.is-unverified {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.home-dash-rep__mobile-badge.is-empty {
    background: #f1f5f9;
    color: #94a3b8;
}

.home-dash-rep__mobile-hint {
    margin-top: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.55;
}

.home-dash-rep__mobile-hint.is-verified {
    color: #16a34a;
}

.home-dash-rep__mobile-hint.is-warning {
    color: #b45309;
}

.home-dash-rep__sms-unavailable {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    text-align: center;
    line-height: 1.6;
}

.home-dash-rep-otp-modal__dialog {
    max-width: 400px;
}

.home-dash-rep-otp-modal__content {
    display: flex;
    flex-direction: column;
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.home-dash-rep-otp-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 0.65rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.home-dash-rep-otp-modal__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
}

.home-dash-rep-otp-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(2, 132, 199, 0.08));
    color: #0284c7;
}

.home-dash-rep-otp-modal__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.home-dash-rep-otp-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    float: none;
    text-shadow: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.home-dash-rep-otp-modal__close:hover {
    background: #e2e8f0;
    color: #334155;
}

.home-dash-rep-otp-modal__title {
    font-weight: 800;
    font-size: 1.02rem;
    color: #0f172a;
}

.home-dash-rep-otp-modal__body {
    padding: 0.85rem 1.35rem 0.35rem;
    text-align: center;
}

.home-dash-rep-otp-modal__lead {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0.85rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.home-dash-rep-otp-modal__mobile-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 17.5rem;
    margin: 0 auto 0.85rem;
    padding: 0.7rem 0.95rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.home-dash-rep-otp-modal__mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(2, 132, 199, 0.08));
    color: #0284c7;
}

.home-dash-rep-otp-modal__mobile-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.home-dash-rep-otp-modal__mobile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.home-dash-rep-otp-modal__mobile-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.home-dash-rep-otp-modal__mobile {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.06em;
    margin: 0;
    direction: ltr;
}

.home-dash-rep-otp-modal__digits-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.55rem;
}

.home-dash-rep-otp-modal__digits {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    direction: ltr;
}

.home-dash-rep-otp-modal__digit {
    width: 3.1rem;
    height: 3.35rem;
    padding: 0;
    border: 2px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.75rem;
    background: #f8fafc;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    line-height: 1;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-dash-rep-otp-modal__digit:focus {
    outline: none;
    border-color: #0ea5e9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.home-dash-rep-otp-modal__digit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.home-dash-rep-otp-modal__digit.is-filled {
    border-color: rgba(14, 165, 233, 0.45);
    background: #fff;
}

.home-dash-rep-otp-modal__error {
    font-size: 0.78rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.65rem;
    line-height: 1.5;
}

.home-dash-rep-otp-modal__resend-zone {
    margin-top: 0.1rem;
    margin-bottom: 0;
}

.home-dash-rep-otp-modal__resend-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px dashed rgba(14, 165, 233, 0.35);
    border-radius: 0.65rem;
    background: rgba(14, 165, 233, 0.06);
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.home-dash-rep-otp-modal__resend-btn:hover:not(:disabled) {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.5);
}

.home-dash-rep-otp-modal__resend-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.home-dash-rep-otp-modal__timer {
    padding: 0.55rem 0.7rem 0.6rem;
    border-radius: 0.7rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(14, 165, 233, 0.14);
}

.home-dash-rep-otp-modal__timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
}

.home-dash-rep-otp-modal__timer-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.home-dash-rep-otp-modal__timer-ic svg {
    width: 0.9rem;
    height: 0.9rem;
}

.home-dash-rep-otp-modal__timer-track {
    height: 3px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    direction: ltr;
}

.home-dash-rep-otp-modal__timer-bar {
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #0284c7);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 1s linear;
    will-change: transform;
}

.home-dash-rep-otp-modal__timer-hint {
    font-weight: 600;
    color: #64748b;
}

.home-dash-rep-otp-modal__timer-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.14);
    font-size: 0.88rem;
    font-weight: 800;
    color: #0369a1;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.home-dash-rep-otp-modal__footer {
    display: block;
    width: 100%;
    flex-shrink: 0;
    padding: 0.5rem 1.25rem 1rem;
    margin-top: 0;
}

.home-dash-rep-otp-modal__footer .btn-block,
.home-dash-rep-otp-modal__confirm {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    border-radius: 0.85rem;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    border: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: 200% 200%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.home-dash-rep-otp-modal__confirm:disabled {
    opacity: 0.55;
    box-shadow: none;
}

.dark-layout .home-dash-rep-otp-modal__digit {
    background: rgba(30, 37, 54, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
}

.dark-layout .home-dash-rep-otp-modal__timer-track {
    background: rgba(148, 163, 184, 0.2);
}

.dark-layout .home-dash-rep__mobile-badge.is-empty {
    background: rgba(30, 37, 54, 0.9);
    color: #64748b;
}

.dark-layout .home-dash-rep__sms-unavailable,
.dark-layout .home-dash-rep__mobile-hint.is-warning {
    color: #fbbf24;
}

.home-dash-rep__actions {
    padding: 0.25rem 1rem 0;
}

.home-dash-rep__save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.65rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: 200% 200%;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-position 0.3s ease,
        opacity 0.18s ease;
}

.home-dash-rep__save:hover:not(:disabled) {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.18) inset;
    color: #ffffff !important;
}

.home-dash-rep__save:active:not(:disabled) {
    transform: translateY(0);
}

.home-dash-rep__save:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.home-dash-rep__save span {
    color: #ffffff !important;
}

.home-dash-rep__submit-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.home-dash-rep__save-ic {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.home-dash-rep__submit-label {
    white-space: nowrap;
}

.home-dash-rep__submit-spinner {
    width: 1.1rem;
    height: 1.1rem;
    border-width: 2px;
    color: #fff;
}

.dark-layout .home-dash-rep__save {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #4f46e5 100%);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.35);
}

.dark-layout .home-dash-rep__save:hover:not(:disabled) {
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .home-dash-rep__cover-btn:hover,
    .home-dash-rep__save:hover:not(:disabled),
    .home-dash-rep__avatar-upload:hover .home-dash-rep__avatar-ring {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .home-dash-top-row .col-xl-5 {
        order: -1;
    }
}
.home-dash-kpi-row .home-dash-kpi {
    border-radius: 1rem !important;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 22px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.dark-layout .home-dash-kpi-row .home-dash-kpi {
    background: rgba(40, 48, 70, 0.55);
    border-color: rgba(59, 66, 83, 0.85) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.home-dash-kpi-row .home-dash-kpi:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.06),
        0 16px 36px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.28) !important;
}

.dark-layout .home-dash-kpi-row .home-dash-kpi:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    border-color: rgba(129, 140, 248, 0.35) !important;
}

.home-dash-kpi .card-body {
    padding: 1rem 1.15rem;
    gap: 0.75rem;
}

.home-dash-kpi-val {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.home-dash-kpi-label {
    font-size: 0.78rem;
    color: #64748b;
}

.home-dash-kpi-sub {
    margin-top: 0.15rem;
}

.home-dash-kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-dash-kpi-icon svg {
    width: 22px;
    height: 22px;
}

.home-dash-kpi-icon--violet {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

.home-dash-kpi-icon--amber {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
}

.home-dash-kpi-icon--cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #0891b2;
}

.home-dash-kpi-icon--rose {
    background: rgba(244, 63, 94, 0.14);
    color: #e11d48;
}

.home-dash-kpi-icon--indigo {
    background: rgba(79, 70, 229, 0.14);
    color: #4338ca;
}

.dark-layout .home-dash-kpi-icon--indigo {
    background: rgba(129, 140, 248, 0.18);
    color: #c7d2fe;
}

/* Restructuring admin: chart + mini cards */
.home-dash-rex-panel {
    border-radius: 1.05rem !important;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.99) 55%,
        rgba(241, 245, 249, 0.96) 100%
    );
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.dark-layout .home-dash-rex-panel {
    background: linear-gradient(
        165deg,
        rgba(40, 48, 70, 0.92) 0%,
        rgba(30, 37, 54, 0.96) 100%
    );
    border-color: rgba(59, 66, 83, 0.85) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.home-dash-rex-chart-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.dark-layout .home-dash-rex-chart-eyebrow {
    color: #94a3b8;
}

.home-dash-rex-bar-row {
    grid-template-columns: minmax(5.5rem, 32%) 1fr 2.85rem !important;
    gap: 0.5rem !important;
}

.home-dash-rex-bar-label {
    font-size: 0.74rem;
    line-height: 1.35;
    color: #475569;
}

.dark-layout .home-dash-rex-bar-label {
    color: #cbd5e1;
}

.home-dash-rex-bar-track {
    direction: ltr;
    height: 9px !important;
}

.home-dash-rex-bar-num {
    font-variant-numeric: tabular-nums;
    text-align: end;
}

.home-dash-rex-bar-track .home-dash-rex-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    transition: width 0.35s ease;
}

.home-dash-rex-bar-fill--violet {
    background: linear-gradient(90deg, #a5b4fc, #6366f1);
}

.home-dash-rex-bar-fill--indigo {
    background: linear-gradient(90deg, #818cf8, #4f46e5);
}

.home-dash-rex-bar-fill--amber {
    background: linear-gradient(90deg, #fcd34d, #f59e0b);
}

.home-dash-rex-bar-fill--rose {
    background: linear-gradient(90deg, #fda4af, #e11d48);
}

.home-dash-rex-bar-fill--cyan {
    background: linear-gradient(90deg, #67e8f9, #0891b2);
}

.dark-layout .home-dash-rex-bar-track {
    background: rgba(30, 41, 59, 0.85);
}

.home-dash-rex-mini-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-dash-rex-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.dark-layout .home-dash-rex-mini-card {
    background: rgba(30, 37, 54, 0.75);
    border-color: rgba(71, 85, 105, 0.45);
    box-shadow: none;
}

.home-dash-rex-mini-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-dash-rex-mini-card__icon svg {
    width: 20px;
    height: 20px;
}

.home-dash-rex-mini-card__icon--violet {
    background: rgba(99, 102, 241, 0.16);
    color: #4f46e5;
}

.home-dash-rex-mini-card__icon--cyan {
    background: rgba(6, 182, 212, 0.16);
    color: #0891b2;
}

.home-dash-rex-mini-card__icon--rose {
    background: rgba(244, 63, 94, 0.14);
    color: #e11d48;
}

.home-dash-rex-mini-card__icon--amber {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
}

.dark-layout .home-dash-rex-mini-card__icon--violet {
    color: #c7d2fe;
}

.dark-layout .home-dash-rex-mini-card__icon--cyan {
    color: #67e8f9;
}

.dark-layout .home-dash-rex-mini-card__icon--rose {
    color: #fda4af;
}

.dark-layout .home-dash-rex-mini-card__icon--amber {
    color: #fcd34d;
}

.home-dash-rex-mini-card__val {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.dark-layout .home-dash-rex-mini-card__val {
    color: #f1f5f9;
}

.home-dash-rex-mini-card__lbl {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 0.1rem;
}

.dark-layout .home-dash-rex-mini-card__lbl {
    color: #94a3b8;
}

.home-dash-rex-mini-card__link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.home-dash-rex-mini-card--duo {
    display: block;
}

.home-dash-rex-mini-card__body--wide {
    min-width: 0;
}

.home-dash-rex-mini-duo-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.home-dash-rex-mini-duo-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-dash-rex-mini-duo-ic svg {
    width: 17px;
    height: 17px;
}

.home-dash-rex-mini-duo-ic--amber {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
}

.home-dash-rex-mini-duo-ic--rose {
    background: rgba(244, 63, 94, 0.14);
    color: #e11d48;
}

.dark-layout .home-dash-rex-mini-duo-ic--amber {
    color: #fcd34d;
}

.dark-layout .home-dash-rex-mini-duo-ic--rose {
    color: #fda4af;
}

.home-dash-rex-mini-duo-main {
    flex: 1;
    min-width: 0;
}

.home-dash-rex-mini-duo-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.home-dash-rex-mini-duo-lbl {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #64748b;
}

.dark-layout .home-dash-rex-mini-duo-lbl {
    color: #94a3b8;
}

.home-dash-rex-mini-duo-val {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    flex-shrink: 0;
}

.dark-layout .home-dash-rex-mini-duo-val {
    color: #f1f5f9;
}

.home-dash-rex-mini-duo-sep {
    height: 1px;
    margin: 0.55rem 0;
    background: rgba(226, 232, 240, 0.95);
    border: 0;
}

.dark-layout .home-dash-rex-mini-duo-sep {
    background: rgba(71, 85, 105, 0.45);
}

.home-dash-rex-mini-duo-muted {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    line-height: 1.4;
    color: #94a3b8;
}

.dark-layout .home-dash-rex-mini-duo-muted {
    color: #64748b;
}

.home-dash-admin-strip {
    border-radius: 0.75rem !important;
    border: 1px solid rgba(59, 130, 246, 0.22);
    background: linear-gradient(
        90deg,
        rgba(219, 234, 254, 0.65),
        rgba(239, 246, 255, 0.5)
    ) !important;
}

.dark-layout .home-dash-admin-strip {
    background: rgba(30, 58, 138, 0.28) !important;
    border-color: rgba(96, 165, 250, 0.25);
}

.home-dash-panel-title {
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.home-dash-panel-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.home-dash-panel-icon svg {
    width: 18px;
    height: 18px;
}

.home-dash-panel {
    border-radius: 1rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
}

.dark-layout .home-dash-panel {
    border-color: rgba(59, 66, 83, 0.85) !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
    background: rgba(40, 48, 70, 0.45);
}

/* کارتابل بررسی — کارت‌های KPI مدرن */
.home-dash-wf-kpi-grid {
    --wf-kpi-radius: 1rem;
}

.home-dash-wf-kpi {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem 1.05rem;
    border-radius: var(--wf-kpi-radius);
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.95) 100%
    );
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
    min-height: 132px;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 4px 18px rgba(15, 23, 42, 0.06);
}

.home-dash-wf-kpi__accent {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    width: 100%;
    height: 3px;
    border-radius: var(--wf-kpi-radius) var(--wf-kpi-radius) 0 0;
    opacity: 0.95;
    z-index: 0;
}

.home-dash-wf-kpi__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.home-dash-wf-kpi__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.14);
    color: #475569;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.home-dash-wf-kpi__icon svg {
    width: 20px;
    height: 20px;
}

.home-dash-wf-kpi__label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.45;
    letter-spacing: -0.01em;
    text-transform: none;
    padding-top: 0.15rem;
}

.home-dash-wf-kpi__val {
    position: relative;
    z-index: 1;
    font-size: clamp(1.45rem, 3.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.home-dash-wf-kpi__hint {
    position: relative;
    z-index: 1;
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: auto;
    padding-top: 0.15rem;
}

.home-dash-wf-kpi:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 32px rgba(15, 23, 42, 0.12);
}

.home-dash-wf-kpi:hover .home-dash-wf-kpi__icon {
    transform: scale(1.05);
}

/* نارنجی — در انتظار */
.home-dash-wf-kpi--orange {
    background: linear-gradient(
        160deg,
        rgba(255, 247, 237, 0.92) 0%,
        rgba(255, 255, 255, 0.98) 52%,
        rgba(254, 243, 199, 0.25) 100%
    );
    border-color: rgba(251, 146, 60, 0.22);
}

.home-dash-wf-kpi--orange .home-dash-wf-kpi__accent {
    background: linear-gradient(90deg, #fb923c, #ea580c);
}

.home-dash-wf-kpi--orange .home-dash-wf-kpi__icon {
    background: rgba(251, 146, 60, 0.18);
    color: #c2410c;
}

.home-dash-wf-kpi--orange .home-dash-wf-kpi__val {
    color: #c2410c;
}

/* نیلی — بررسی‌شده */
.home-dash-wf-kpi--indigo {
    background: linear-gradient(
        160deg,
        rgba(238, 242, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.98) 55%,
        rgba(224, 231, 255, 0.35) 100%
    );
    border-color: rgba(129, 140, 248, 0.28);
}

.home-dash-wf-kpi--indigo .home-dash-wf-kpi__accent {
    background: linear-gradient(90deg, #818cf8, #6366f1);
}

.home-dash-wf-kpi--indigo .home-dash-wf-kpi__icon {
    background: rgba(99, 102, 241, 0.16);
    color: #4338ca;
}

.home-dash-wf-kpi--indigo .home-dash-wf-kpi__val {
    color: #3730a3;
}

/* گل‌بهی — تأخیر */
.home-dash-wf-kpi--rose {
    background: linear-gradient(
        160deg,
        rgba(255, 241, 242, 0.9) 0%,
        rgba(255, 255, 255, 0.98) 52%,
        rgba(254, 205, 211, 0.28) 100%
    );
    border-color: rgba(251, 113, 133, 0.28);
}

.home-dash-wf-kpi--rose .home-dash-wf-kpi__accent {
    background: linear-gradient(90deg, #fb7185, #e11d48);
}

.home-dash-wf-kpi--rose .home-dash-wf-kpi__icon {
    background: rgba(251, 113, 133, 0.18);
    color: #be123c;
}

.home-dash-wf-kpi--rose .home-dash-wf-kpi__val {
    color: #be123c;
}

/* کهربایی — نزدیک مهلت */
.home-dash-wf-kpi--amber {
    background: linear-gradient(
        160deg,
        rgba(254, 252, 232, 0.95) 0%,
        rgba(255, 255, 255, 0.98) 52%,
        rgba(253, 230, 138, 0.35) 100%
    );
    border-color: rgba(245, 158, 11, 0.28);
}

.home-dash-wf-kpi--amber .home-dash-wf-kpi__accent {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}

.home-dash-wf-kpi--amber .home-dash-wf-kpi__icon {
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.home-dash-wf-kpi--amber .home-dash-wf-kpi__val {
    color: #b45309;
}

/* دارک مود */
.dark-layout .home-dash-wf-kpi {
    background: linear-gradient(
        165deg,
        rgba(45, 52, 72, 0.92) 0%,
        rgba(36, 43, 61, 0.96) 100%
    );
    border-color: rgba(71, 85, 105, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 8px 28px rgba(0, 0, 0, 0.35);
}

.dark-layout .home-dash-wf-kpi:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 14px 40px rgba(0, 0, 0, 0.45);
}

.dark-layout .home-dash-wf-kpi__label {
    color: #cbd5e1;
}

.dark-layout .home-dash-wf-kpi__hint {
    color: #94a3b8;
}

.dark-layout .home-dash-wf-kpi--orange .home-dash-wf-kpi__val,
.dark-layout .home-dash-wf-kpi--indigo .home-dash-wf-kpi__val,
.dark-layout .home-dash-wf-kpi--rose .home-dash-wf-kpi__val,
.dark-layout .home-dash-wf-kpi--amber .home-dash-wf-kpi__val {
    color: #f1f5f9;
}

.dark-layout .home-dash-wf-kpi--orange .home-dash-wf-kpi__icon {
    background: rgba(251, 146, 60, 0.2);
    color: #fdba74;
}

.dark-layout .home-dash-wf-kpi--indigo .home-dash-wf-kpi__icon {
    background: rgba(129, 140, 248, 0.22);
    color: #c7d2fe;
}

.dark-layout .home-dash-wf-kpi--rose .home-dash-wf-kpi__icon {
    background: rgba(251, 113, 133, 0.2);
    color: #fecdd3;
}

.dark-layout .home-dash-wf-kpi--amber .home-dash-wf-kpi__icon {
    background: rgba(245, 158, 11, 0.22);
    color: #fcd34d;
}

.home-dash-wf-actions {
    gap: 0.65rem 1rem;
    align-items: center;
}

.home-dash-donut-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-dash-donut-ring {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}

.home-dash-donut {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: conic-gradient(#6366f1 calc(var(--p, 0) * 3.6deg), #e2e8f0 0);
    position: absolute;
    inset: 0;
}

.home-dash-donut-center {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.dark-layout .home-dash-donut-center {
    background: #283046;
}

.home-dash-donut-center strong {
    font-size: 1rem;
    line-height: 1.2;
}

.home-dash-donut-center span {
    font-size: 0.65rem;
    color: #64748b;
}

.home-dash-donut-caption {
    font-size: 0.78rem;
    color: #64748b;
}

.home-dash-phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.home-dash-phase-card {
    border: 1px solid #e9ecef;
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    background: #fafbff;
}

.dark-layout .home-dash-phase-card {
    border-color: #3b4253;
    background: rgba(40, 48, 70, 0.35);
}

.home-dash-phase-card.is-excluded {
    opacity: 0.85;
    background: rgba(148, 163, 184, 0.12);
}

.home-dash-phase-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.home-dash-phase-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6366f1;
}

.home-dash-phase-pct {
    font-weight: 800;
    font-size: 0.95rem;
}

.home-dash-phase-status {
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 0.45rem;
}

.home-dash-phase-bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.home-dash-phase-bar > span {
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.home-dash-rex-bar-track .home-dash-rex-bar-fill.home-dash-pct-fill {
    min-width: 0;
}

.home-dash-phase-btn {
    width: 100%;
}

/* ===== My dossier card — aligned with hero / rep profile shells ===== */
.home-dash-dossier-shell {
    position: relative;
    border-radius: 1.75rem;
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.04);
}

.dark-layout .home-dash-dossier-shell {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-dash-dossier {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.dark-layout .home-dash-dossier {
    background: rgba(36, 44, 62, 0.98);
    border-color: rgba(59, 66, 83, 0.85);
}

.home-dash-dossier__cover {
    position: relative;
    height: 6.5rem;
    overflow: hidden;
    border-radius: 1.75rem 1.75rem 0 0;
    background: linear-gradient(125deg, #6366f1 0%, #8b5cf6 42%, #38bdf8 100%);
}

.home-dash-dossier__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.28) 100%
    );
    pointer-events: none;
}

.home-dash-dossier__cover-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.home-dash-dossier__cover-glow--1 {
    width: 9rem;
    height: 9rem;
    top: -2rem;
    inset-inline-end: 8%;
    background: rgba(255, 255, 255, 0.45);
}

.home-dash-dossier__cover-glow--2 {
    width: 7rem;
    height: 7rem;
    bottom: -2.5rem;
    inset-inline-start: 12%;
    background: rgba(56, 189, 248, 0.5);
}

.home-dash-dossier__icon-stage {
    display: flex;
    justify-content: center;
    margin-top: -2.35rem;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 3;
}

.home-dash-dossier__icon-ring {
    display: inline-flex;
    padding: 4px;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

.dark-layout .home-dash-dossier__icon-ring {
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-dossier__icon-inner {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.22), rgba(56, 189, 248, 0.18));
    color: #4338ca;
}

.home-dash-dossier__icon-inner svg {
    width: 1.55rem;
    height: 1.55rem;
}

.home-dash-dossier__body {
    padding: 0 1.35rem 1.35rem;
}

.home-dash-dossier__identity {
    text-align: center;
    margin-bottom: 1.15rem;
}

.home-dash-dossier__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.45rem !important;
}

.home-dash-dossier__eyebrow-sep {
    opacity: 0.45;
}

.home-dash-pill--indigo {
    background: rgba(99, 102, 241, 0.14);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.22);
}

.home-dash-dossier__title {
    font-size: 1.22rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 0.35rem !important;
}

.dark-layout .home-dash-dossier__title {
    color: #f1f5f9;
}

.home-dash-dossier__lead {
    font-size: 0.82rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 36rem;
    margin-inline: auto;
}

.home-dash-dossier__summary {
    display: grid;
    grid-template-columns: minmax(0, 11rem) 1fr;
    gap: 1rem 1.15rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: linear-gradient(155deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.65));
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.dark-layout .home-dash-dossier__summary {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-dossier__progress-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
}

.home-dash-dossier__ring {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        #6366f1 calc(var(--p, 0) * 3.6deg),
        #e2e8f0 0
    );
}

.home-dash-dossier__ring-center {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.dark-layout .home-dash-dossier__ring-center {
    background: #283046;
    box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.5);
}

.home-dash-dossier__ring-center strong {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
}

.dark-layout .home-dash-dossier__ring-center strong {
    color: #f1f5f9;
}

.home-dash-dossier__ring-center span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.home-dash-dossier__progress-caption {
    font-size: 0.72rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 9rem;
}

.home-dash-dossier__meta-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    align-content: center;
}

.home-dash-dossier-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dark-layout .home-dash-dossier-chip {
    background: rgba(22, 30, 46, 0.65);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-dossier-chip__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-dash-dossier-chip__icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.home-dash-dossier-chip--phase-0 .home-dash-dossier-chip__icon {
    background: rgba(99, 102, 241, 0.16);
    color: #4338ca;
}

.home-dash-dossier-chip--phase-1 .home-dash-dossier-chip__icon {
    background: rgba(58, 160, 255, 0.16);
    color: #1d4ed8;
}

.home-dash-dossier-chip--phase-2 .home-dash-dossier-chip__icon {
    background: rgba(20, 184, 166, 0.16);
    color: #0f766e;
}

.home-dash-dossier-chip--phase-3 .home-dash-dossier-chip__icon {
    background: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.home-dash-dossier-chip__text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.home-dash-dossier-chip__label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
}

.home-dash-dossier-chip__val {
    font-size: 0.88rem;
    font-weight: 900;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.dark-layout .home-dash-dossier-chip__val {
    color: #f1f5f9;
}

.home-dash-dossier__phases-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.65rem;
}

.home-dash-dossier__phase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.home-dash-dossier-phase {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0.75rem 0.8rem 0.8rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-dash-dossier-phase:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.28);
}

.dark-layout .home-dash-dossier-phase {
    background: rgba(30, 38, 56, 0.55);
    border-color: rgba(71, 85, 105, 0.5);
}

.home-dash-dossier-phase.is-excluded {
    opacity: 0.82;
    background: rgba(148, 163, 184, 0.1);
}

.home-dash-dossier-phase__accent {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    border-radius: 1rem 1rem 0 0;
}

.home-dash-dossier-phase--p0 .home-dash-dossier-phase__accent {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.home-dash-dossier-phase--p1 .home-dash-dossier-phase__accent {
    background: linear-gradient(90deg, #3aa0ff, #6366f1);
}

.home-dash-dossier-phase--p2 .home-dash-dossier-phase__accent {
    background: linear-gradient(90deg, #14b8a6, #22c55e);
}

.home-dash-dossier-phase--p3 .home-dash-dossier-phase__accent {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.home-dash-dossier-phase__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.home-dash-dossier-phase__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #4338ca;
}

.home-dash-dossier-phase__badge svg {
    width: 0.78rem;
    height: 0.78rem;
}

.home-dash-dossier-phase__pct {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.dark-layout .home-dash-dossier-phase__pct {
    color: #f1f5f9;
}

.home-dash-dossier-phase__status {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    margin: 0 0 0.45rem;
    line-height: 1.45;
}

.home-dash-dossier-phase--approved .home-dash-dossier-phase__status {
    color: #166534;
}

.home-dash-dossier-phase--submitted .home-dash-dossier-phase__status {
    color: #1e40af;
}

.home-dash-dossier-phase--needs_revision .home-dash-dossier-phase__status {
    color: #b45309;
}

.home-dash-dossier-phase__bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.home-dash-dossier-phase--p0 .home-dash-pct-fill {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.home-dash-dossier-phase--p1 .home-dash-pct-fill {
    background: linear-gradient(90deg, #3aa0ff, #6366f1);
}

.home-dash-dossier-phase--p2 .home-dash-pct-fill {
    background: linear-gradient(90deg, #14b8a6, #22c55e);
}

.home-dash-dossier-phase--p3 .home-dash-pct-fill {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.home-dash-dossier-phase__meta {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.68rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 0.55rem;
}

.home-dash-dossier-phase__meta svg {
    width: 0.78rem;
    height: 0.78rem;
    flex-shrink: 0;
    margin-top: 0.12rem;
}

.home-dash-dossier-phase__meta.is-muted {
    color: #94a3b8;
}

.home-dash-dossier-phase__meta.is-overdue {
    color: #b91c1c;
}

.home-dash-dossier-phase__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.42rem 0.55rem;
    border-radius: 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #4338ca !important;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.22);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.home-dash-dossier-phase__cta:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    transform: translateY(-1px);
}

.home-dash-dossier-phase__cta svg {
    width: 0.85rem;
    height: 0.85rem;
}

@media (max-width: 1199.98px) {
    .home-dash-dossier__phase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-dash-dossier__summary {
        grid-template-columns: 1fr;
    }

    .home-dash-dossier__meta-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-dash-dossier__progress-card {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        text-align: right;
        gap: 0.85rem 1rem;
    }

    .home-dash-dossier__progress-caption {
        max-width: none;
        flex: 1 1 12rem;
    }
}

@media (max-width: 575.98px) {
    .home-dash-dossier__body {
        padding-inline: 1rem;
    }

    .home-dash-dossier__meta-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-dash-dossier__phase-grid {
        grid-template-columns: 1fr;
    }
}

.home-dash-empty-ic {
    width: 36px;
    height: 36px;
    color: #94a3b8;
}

.home-dash-seg-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.home-dash-seg-row:last-child {
    border-bottom: 0;
}

.home-dash-seg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.home-dash-bar-row {
    display: grid;
    grid-template-columns: 52px 1fr 36px;
    align-items: center;
    gap: 0.45rem;
}

.home-dash-bar-label {
    font-size: 0.72rem;
    color: #64748b;
}

.home-dash-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.home-dash-bar-track > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #6366f1);
}

.home-dash-bar-num {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
}

.home-dash-table thead th {
    font-size: 0.72rem;
    white-space: nowrap;
}

.home-dash-mini-pill {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ===== Inbox review card — aligned with dossier shell ===== */
.home-dash-inbox-shell {
    position: relative;
    border-radius: 1.75rem;
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.04);
}

.dark-layout .home-dash-inbox-shell {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-dash-inbox {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.dark-layout .home-dash-inbox {
    background: rgba(36, 44, 62, 0.98);
    border-color: rgba(59, 66, 83, 0.85);
}

.home-dash-inbox__cover {
    position: relative;
    height: 6.5rem;
    overflow: hidden;
    border-radius: 1.75rem 1.75rem 0 0;
    background: linear-gradient(125deg, #ea580c 0%, #f97316 38%, #3b82f6 100%);
}

.home-dash-inbox__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.26) 100%
    );
    pointer-events: none;
}

.home-dash-inbox__cover-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.home-dash-inbox__cover-glow--1 {
    width: 9rem;
    height: 9rem;
    top: -2rem;
    inset-inline-end: 8%;
    background: rgba(255, 255, 255, 0.42);
}

.home-dash-inbox__cover-glow--2 {
    width: 7rem;
    height: 7rem;
    bottom: -2.5rem;
    inset-inline-start: 12%;
    background: rgba(59, 130, 246, 0.45);
}

.home-dash-inbox__icon-stage {
    display: flex;
    justify-content: center;
    margin-top: -2.35rem;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 3;
}

.home-dash-inbox__icon-ring {
    display: inline-flex;
    padding: 4px;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.28);
}

.dark-layout .home-dash-inbox__icon-ring {
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-inbox__icon-inner {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.22), rgba(59, 130, 246, 0.18));
    color: #c2410c;
}

.home-dash-inbox__icon-inner svg {
    width: 1.55rem;
    height: 1.55rem;
}

.home-dash-inbox__body {
    padding: 0 1.35rem 1.35rem;
}

.home-dash-inbox__identity {
    text-align: center;
    margin-bottom: 1.1rem;
}

.home-dash-inbox__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.45rem !important;
}

.home-dash-pill--review {
    background: rgba(249, 115, 22, 0.14);
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, 0.24);
}

.dark-layout .home-dash-pill--review {
    background: rgba(251, 146, 60, 0.18);
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.28);
}

.home-dash-inbox__eyebrow-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #9a3412;
    background: rgba(254, 215, 170, 0.65);
    border: 1px solid rgba(251, 146, 60, 0.35);
}

.dark-layout .home-dash-inbox__eyebrow-badge {
    color: #fed7aa;
    background: rgba(154, 52, 18, 0.35);
    border-color: rgba(251, 146, 60, 0.35);
}

.home-dash-inbox__title {
    font-size: 1.22rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 0.35rem !important;
}

.dark-layout .home-dash-inbox__title {
    color: #f1f5f9;
}

.home-dash-inbox__lead {
    font-size: 0.82rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 40rem;
    margin-inline: auto;
}

.home-dash-inbox__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.home-dash-inbox__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-dash-inbox__cta svg {
    width: 0.95rem;
    height: 0.95rem;
}

.home-dash-inbox__cta--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #ea580c, #f97316);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.32);
    border: 1px solid rgba(234, 88, 12, 0.35);
}

.home-dash-inbox__cta--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.38);
    color: #fff !important;
}

.home-dash-inbox__cta--secondary {
    color: #1d4ed8 !important;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
}

.home-dash-inbox__cta--secondary:hover {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff !important;
    transform: translateY(-1px);
}

.dark-layout .home-dash-inbox__cta--secondary {
    color: #93c5fd !important;
    background: rgba(59, 130, 246, 0.16);
}

.home-dash-inbox__kpi-section {
    padding: 1rem 1.05rem 1.05rem;
    border-radius: 1.1rem;
    background: linear-gradient(155deg, rgba(255, 247, 237, 0.75), rgba(239, 246, 255, 0.55));
    border: 1px solid rgba(254, 215, 170, 0.45);
}

.dark-layout .home-dash-inbox__kpi-section {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(251, 146, 60, 0.22);
}

.home-dash-inbox__kpi-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.65rem;
    text-align: center;
}

.home-dash-inbox__kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    --wf-kpi-radius: 1rem;
}

@media (max-width: 1199.98px) {
    .home-dash-inbox__kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .home-dash-inbox__body {
        padding-inline: 1rem;
    }

    .home-dash-inbox__kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar inbox samples */
.home-dash-inbox-side-shell {
    border-radius: 1.25rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.dark-layout .home-dash-inbox-side-shell {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.home-dash-inbox-side {
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.dark-layout .home-dash-inbox-side {
    background: rgba(36, 44, 62, 0.98);
    border-color: rgba(59, 66, 83, 0.85);
}

.home-dash-inbox-side__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 1rem 1.05rem 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.55), transparent);
}

.dark-layout .home-dash-inbox-side__head {
    border-color: rgba(71, 85, 105, 0.45);
    background: linear-gradient(180deg, rgba(154, 52, 18, 0.12), transparent);
}

.home-dash-inbox-side__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem !important;
}

.home-dash-inbox-side__count {
    font-size: 0.72rem;
    font-weight: 800;
    color: #9a3412;
}

.dark-layout .home-dash-inbox-side__count {
    color: #fdba74;
}

.home-dash-inbox-side__title {
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
}

.dark-layout .home-dash-inbox-side__title {
    color: #f1f5f9;
}

.home-dash-inbox-side__all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 0.6rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #c2410c !important;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.22);
    transition: background 0.15s ease, color 0.15s ease;
}

.home-dash-inbox-side__all-link:hover {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff !important;
}

.home-dash-inbox-side__all-link svg {
    width: 0.8rem;
    height: 0.8rem;
}

.home-dash-inbox-side__alerts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 1.05rem 0;
}

.home-dash-inbox-side__alert {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-dash-inbox-side__alert svg {
    width: 0.78rem;
    height: 0.78rem;
}

.home-dash-inbox-side__alert--warn {
    color: #b45309;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.home-dash-inbox-side__alert--danger {
    color: #be123c;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.28);
}

.home-dash-inbox-side__list {
    padding: 0.75rem 1.05rem 1rem;
}

.home-dash-inbox-side__empty {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #94a3b8;
    padding: 0.5rem 0;
}

.home-dash-inbox-side__empty svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.home-dash-inbox-item {
    position: relative;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    margin-bottom: 0.55rem;
    background: linear-gradient(155deg, rgba(248, 250, 252, 0.9), #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-dash-inbox-item:last-child {
    margin-bottom: 0;
}

.home-dash-inbox-item:hover {
    border-color: rgba(249, 115, 22, 0.28);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.1);
    transform: translateY(-1px);
}

.dark-layout .home-dash-inbox-item {
    border-color: #3b4253;
    background: transparent;
}

.home-dash-inbox-item.is-overdue {
    border-color: rgba(244, 63, 94, 0.35);
    background: rgba(244, 63, 94, 0.05);
}

.home-dash-inbox-item__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.home-dash-inbox-item__org {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.dark-layout .home-dash-inbox-item__org {
    color: #f1f5f9;
}

.home-dash-inbox-item__phase {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.home-dash-inbox-item__cycle {
    font-size: 0.74rem;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.home-dash-inbox-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #c2410c !important;
}

.home-dash-inbox-item__link:hover {
    color: #ea580c !important;
}

.home-dash-inbox-item__link svg {
    width: 0.78rem;
    height: 0.78rem;
}

.home-dash-alert-item {
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.home-dash-alert-item:last-child {
    border-bottom: 0;
}

/* ===== Worksheet obligations card — hero shell (داشبورد) ===== */
.home-dash-ws-shell {
    position: relative;
    border-radius: 1.75rem;
    box-shadow:
        0 16px 48px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.04);
}

.dark-layout .home-dash-ws-shell {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-dash-ws-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem !important;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: none !important;
}

.dark-layout .home-dash-ws-card {
    background: rgba(36, 44, 62, 0.98);
    border-color: rgba(59, 66, 83, 0.85);
}

.home-dash-ws-card__cover {
    position: relative;
    height: 6.5rem;
    overflow: hidden;
    border-radius: 1.75rem 1.75rem 0 0;
    background: linear-gradient(125deg, #312e81 0%, #5b21b6 38%, #0f766e 78%, #14b8a6 100%);
}

.home-dash-ws-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.26) 100%
    );
    pointer-events: none;
}

.home-dash-ws-card__cover-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.home-dash-ws-card__cover-glow--1 {
    width: 9rem;
    height: 9rem;
    top: -2rem;
    inset-inline-end: 8%;
    background: rgba(255, 255, 255, 0.4);
}

.home-dash-ws-card__cover-glow--2 {
    width: 7rem;
    height: 7rem;
    bottom: -2.5rem;
    inset-inline-start: 12%;
    background: rgba(20, 184, 166, 0.45);
}

.home-dash-ws-card__icon-stage {
    display: flex;
    justify-content: center;
    margin-top: -2.35rem;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 3;
}

.home-dash-ws-card__icon-ring {
    display: inline-flex;
    padding: 4px;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.28);
}

.dark-layout .home-dash-ws-card__icon-ring {
    background: rgba(36, 44, 62, 0.98);
}

.home-dash-ws-card__icon-inner {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.22), rgba(124, 58, 237, 0.18));
    color: #0f766e;
}

.home-dash-ws-card__icon-inner svg {
    width: 1.55rem;
    height: 1.55rem;
}

.home-dash-ws-card__body {
    padding: 0 1.35rem 1.35rem;
}

.home-dash-ws-card__identity {
    text-align: center;
    margin-bottom: 1.1rem;
}

.home-dash-ws-card__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.45rem;
    margin-bottom: 0.45rem !important;
}

.home-dash-pill--ws {
    background: rgba(13, 148, 136, 0.14);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.24);
}

.dark-layout .home-dash-pill--ws {
    background: rgba(45, 212, 191, 0.16);
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.28);
}

.home-dash-ws-card__eyebrow-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}

.home-dash-ws-card__eyebrow-badge--violet {
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.home-dash-ws-card__eyebrow-badge--amber {
    color: #b45309;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.home-dash-ws-card__title {
    font-size: 1.22rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 0.35rem !important;
}

.dark-layout .home-dash-ws-card__title {
    color: #f1f5f9;
}

.home-dash-ws-card__lead {
    font-size: 0.82rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 40rem;
    margin-inline: auto;
}

.home-dash-ws-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.home-dash-ws-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-dash-ws-card__cta svg {
    width: 0.95rem;
    height: 0.95rem;
}

.home-dash-ws-card__cta--teal {
    color: #fff !important;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.32);
    border-color: rgba(15, 118, 110, 0.35);
}

.home-dash-ws-card__cta--teal:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.38);
}

.home-dash-ws-card__cta--violet {
    color: #fff !important;
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.3);
    border-color: rgba(91, 33, 182, 0.35);
}

.home-dash-ws-card__cta--violet:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.36);
}

.home-dash-ws-card__content {
    padding: 0.25rem 0 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

.dark-layout .home-dash-ws-card__content {
    background: transparent;
    border: none;
}

.home-dash-ws-section-head {
    text-align: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
    margin-bottom: 1rem !important;
}

.home-dash-ws-section-head__title {
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.45;
}

.dark-layout .home-dash-ws-section-head__title {
    color: #f1f5f9;
}

.home-dash-ws-section-head__lead {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 36rem;
    margin-inline: auto;
    margin-top: 0.35rem;
}

@media (max-width: 575.98px) {
    .home-dash-ws-card__body {
        padding-inline: 1rem;
    }
}

/* Worksheet card — inner tasks layout */
.home-dash-ws-legal-ref {
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(124, 58, 237, 0.18);
    background: linear-gradient(155deg, rgba(250, 245, 255, 0.95), rgba(245, 243, 255, 0.7));
    overflow: hidden;
}

.dark-layout .home-dash-ws-legal-ref {
    background: rgba(49, 46, 129, 0.2);
    border-color: rgba(167, 139, 250, 0.25);
}

.home-dash-ws-legal-ref__summary {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.95rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.home-dash-ws-legal-ref__summary::-webkit-details-marker {
    display: none;
}

.home-dash-ws-legal-ref__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(124, 58, 237, 0.14);
    color: #6d28d9;
}

.home-dash-ws-legal-ref__icon svg {
    width: 1rem;
    height: 1rem;
}

.home-dash-ws-legal-ref__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.home-dash-ws-legal-ref__title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}

.dark-layout .home-dash-ws-legal-ref__title {
    color: #f1f5f9;
}

.home-dash-ws-legal-ref__hint {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.home-dash-ws-legal-ref__chev svg {
    width: 1rem;
    height: 1rem;
    color: #7c3aed;
    transition: transform 0.2s ease;
}

.home-dash-ws-legal-ref[open] .home-dash-ws-legal-ref__chev svg {
    transform: rotate(180deg);
}

.home-dash-ws-legal-ref__body {
    padding: 0 0.95rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.85;
    color: #475569;
    border-top: 1px dashed rgba(124, 58, 237, 0.2);
}

.home-dash-ws-tasks__intro {
    margin-bottom: 0.85rem;
}

.home-dash-ws-tasks__title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.home-dash-ws-tasks__subtitle {
    font-size: 0.8rem;
    line-height: 1.65;
    color: #64748b;
}

.home-dash-ws-tasks__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.home-dash-ws-tasks__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .home-dash-ws-tasks__grid--2 {
        grid-template-columns: 1fr;
    }
}

.home-dash-ws-task {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem 1.05rem 1.05rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.dark-layout .home-dash-ws-task {
    background: rgba(30, 38, 56, 0.55);
    border-color: rgba(71, 85, 105, 0.5);
}

.home-dash-ws-task--muted {
    opacity: 0.92;
}

.home-dash-ws-task--excluded {
    position: relative;
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.35);
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.55);
    background: rgba(248, 250, 252, 0.92);
}

.dark-layout .home-dash-ws-task--excluded {
    background: rgba(30, 38, 56, 0.45);
    border-color: rgba(100, 116, 139, 0.5);
}

.home-dash-ws-task__excluded-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.dark-layout .home-dash-ws-task__excluded-veil {
    background: rgba(15, 23, 42, 0.35);
}

.home-dash-ws-task--excluded .home-dash-ws-task__head,
.home-dash-ws-task--excluded .home-dash-ws-task__excluded-body {
    position: relative;
    z-index: 3;
}

.home-dash-ws-task__chip--muted {
    color: #64748b;
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.home-dash-ws-task__excluded-body {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
    margin-top: 0.15rem;
    border-radius: 0.75rem;
    background: rgba(241, 245, 249, 0.85);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.dark-layout .home-dash-ws-task__excluded-body {
    background: rgba(15, 23, 42, 0.4);
}

.home-dash-ws-task__excluded-lock {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
}

.home-dash-ws-task__excluded-lock svg {
    width: 1rem;
    height: 1rem;
}

.home-dash-ws-task__excluded-msg {
    font-size: 0.78rem;
    line-height: 1.65;
    color: #475569;
    font-weight: 600;
}

.dark-layout .home-dash-ws-task__excluded-msg {
    color: #cbd5e1;
}

.home-dash-ws-task__excluded-copy {
    flex: 1;
    min-width: 0;
}

.home-dash-ws-task__excluded-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0f766e;
    text-decoration: none;
    pointer-events: auto;
}

.home-dash-ws-task__excluded-guide:hover {
    color: #0d9488;
    text-decoration: underline;
}

.home-dash-ws-task__excluded-guide svg {
    width: 0.85rem;
    height: 0.85rem;
}

.dark-layout .home-dash-ws-task__excluded-guide {
    color: #5eead4;
}

.dark-layout .home-dash-ws-task__excluded-guide:hover {
    color: #99f6e4;
}

.home-dash-ws-task__accent {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
}

.home-dash-ws-task--teal .home-dash-ws-task__accent {
    background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.home-dash-ws-task--violet .home-dash-ws-task__accent {
    background: linear-gradient(90deg, #5b21b6, #a78bfa);
}

.home-dash-ws-task__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.home-dash-ws-task__head--split {
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 0.5rem;
}

.home-dash-ws-task__head-main {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}

.home-dash-ws-task__head--split .home-dash-ws-task__chip {
    flex-shrink: 0;
}

.home-dash-ws-task__panel {
    padding: 0.75rem 0.8rem;
    border-radius: 0.85rem;
    margin-bottom: 0.65rem;
}

.home-dash-ws-task__panel--teal {
    background: linear-gradient(155deg, rgba(240, 253, 250, 0.95), rgba(236, 253, 245, 0.55));
    border: 1px solid rgba(13, 148, 136, 0.18);
}

.home-dash-ws-task__panel--violet {
    background: linear-gradient(155deg, rgba(250, 245, 255, 0.95), rgba(243, 232, 255, 0.55));
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.dark-layout .home-dash-ws-task__panel--teal {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(45, 212, 191, 0.22);
}

.dark-layout .home-dash-ws-task__panel--violet {
    background: rgba(91, 33, 182, 0.12);
    border-color: rgba(167, 139, 250, 0.22);
}

.home-dash-ws-task__metrics--compact {
    margin-bottom: 0.55rem;
}

.home-dash-ws-task__stats--stacked {
    grid-template-columns: 1fr;
    gap: 0.35rem;
}

.home-dash-ws-task__stats--stacked li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: start;
    padding: 0.35rem 0.5rem;
}

.home-dash-ws-task__stats--stacked .home-dash-ws-task__stat-val {
    font-size: 0.92rem;
}

.home-dash-ws-task__segment {
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.home-dash-ws-task__segment-done {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #14b8a6, #22c55e);
    transition: width 0.25s ease;
}

.home-dash-ws-task__segment-rest {
    display: block;
    height: 100%;
    background: rgba(148, 163, 184, 0.35);
}

.home-dash-ws-task__segment-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.home-dash-ws-task__segment-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.home-dash-ws-task__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    display: inline-block;
}

.home-dash-ws-task__dot--done {
    background: #14b8a6;
}

.home-dash-ws-task__dot--rest {
    background: #94a3b8;
}

.home-dash-ws-task__dot--violet {
    background: #7c3aed;
}

.home-dash-ws-task__segment--violet .home-dash-ws-task__segment-done {
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.home-dash-ws-task__deadline-strip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.65rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.home-dash-ws-task__deadline-strip--late {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.28);
}

.home-dash-ws-task__deadline-strip-ic {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.home-dash-ws-task__deadline-strip-ic svg {
    width: 1rem;
    height: 1rem;
    color: #3b82f6;
}

.home-dash-ws-task__deadline-strip--late .home-dash-ws-task__deadline-strip-ic svg {
    color: #e11d48;
}

.home-dash-ws-task__deadline-strip-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    min-width: 0;
    flex: 1;
}

.home-dash-ws-task__deadline-strip-lbl {
    display: block;
    width: 100%;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.home-dash-ws-task__deadline-strip-text strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.dark-layout .home-dash-ws-task__deadline-strip-text strong {
    color: #f1f5f9;
}

.home-dash-ws-task__deadline-strip-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
}

.home-dash-ws-task__deadline-strip--late .home-dash-ws-task__deadline-strip-sub {
    color: #e11d48;
}

.home-dash-ws-task__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 0;
}

.home-dash-ws-task__body-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.home-dash-ws-task__queue {
    padding: 0.5rem 0.6rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.dark-layout .home-dash-ws-task__queue {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-ws-task__queue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.home-dash-ws-task__queue-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f766e;
}

.home-dash-ws-task__queue-count {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.1);
}

.home-dash-ws-task__queue-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.home-dash-ws-task__queue-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.35rem 0.45rem;
    padding: 0.32rem 0.4rem;
    border-radius: 0.55rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.dark-layout .home-dash-ws-task__queue-item {
    background: rgba(22, 30, 46, 0.55);
    border-color: rgba(71, 85, 105, 0.4);
}

.home-dash-ws-task__queue-mark {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.home-dash-ws-task__queue-mark svg {
    width: 0.85rem;
    height: 0.85rem;
}

.home-dash-ws-task__queue-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark-layout .home-dash-ws-task__queue-name {
    color: #f1f5f9;
}

.home-dash-ws-task__queue-status {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.25);
    white-space: nowrap;
}

.home-dash-ws-task__queue-item--approved .home-dash-ws-task__queue-status {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}

.home-dash-ws-task__queue-item--submitted .home-dash-ws-task__queue-status {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.22);
}

.home-dash-ws-task__queue-more {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 0.35rem;
    padding-inline: 0.2rem;
}

.home-dash-ws-task__done-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.55;
}

.home-dash-ws-task__done-banner svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.home-dash-ws-task__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 800;
    color: #0f766e !important;
    text-decoration: none !important;
    margin-top: 0.15rem;
}

.home-dash-ws-task__link:hover {
    color: #14b8a6 !important;
}

.home-dash-ws-task__link svg {
    width: 0.78rem;
    height: 0.78rem;
}

.home-dash-ws-task__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.14);
    color: #0f766e;
}

.home-dash-ws-task__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.home-dash-ws-task__icon--violet {
    background: rgba(124, 58, 237, 0.14);
    color: #6d28d9;
}

.home-dash-ws-task__step {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.home-dash-ws-task__title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
}

.dark-layout .home-dash-ws-task__title {
    color: #f1f5f9;
}

.home-dash-ws-task__lede {
    font-size: 0.74rem;
    line-height: 1.55;
    color: #64748b;
    margin-top: 0.2rem;
}

.home-dash-ws-task__metrics {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.home-dash-ws-task__metrics--gov {
    align-items: start;
}

.home-dash-ws-task__ring {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(#14b8a6 calc(var(--p, 0) * 3.6deg), #e2e8f0 0);
}

.home-dash-ws-task__ring--violet {
    background: conic-gradient(#7c3aed calc(var(--p, 0) * 3.6deg), #e2e8f0 0);
}

.home-dash-ws-task__ring-center {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.dark-layout .home-dash-ws-task__ring-center {
    background: #283046;
    box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.5);
}

.home-dash-ws-task__ring-center strong {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
}

.dark-layout .home-dash-ws-task__ring-center strong {
    color: #f1f5f9;
}

.home-dash-ws-task__ring-center span {
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.1rem;
}

.home-dash-ws-task__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-dash-ws-task__stats li {
    text-align: center;
    padding: 0.4rem 0.35rem;
    border-radius: 0.65rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.dark-layout .home-dash-ws-task__stats li {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-ws-task__stat-val {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.dark-layout .home-dash-ws-task__stat-val {
    color: #f1f5f9;
}

.home-dash-ws-task__stat-lbl {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 0.1rem;
}

.home-dash-ws-task__track-wrap {
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.home-dash-ws-task__track-wrap .home-dash-pct-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #14b8a6, #22c55e);
}

.home-dash-ws-task__urgency {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.home-dash-ws-task__urgency--late {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.28);
}

.home-dash-ws-task__urgency-ic svg {
    width: 1rem;
    height: 1rem;
    color: #3b82f6;
}

.home-dash-ws-task__urgency--late .home-dash-ws-task__urgency-ic svg {
    color: #e11d48;
}

.home-dash-ws-task__urgency-lbl {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.home-dash-ws-task__urgency-val {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
}

.dark-layout .home-dash-ws-task__urgency-val {
    color: #f1f5f9;
}

.home-dash-ws-task__urgency-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #16a34a;
}

.home-dash-ws-task__phase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.home-dash-ws-phase-tile {
    padding: 0.55rem 0.6rem 0.6rem;
    border-radius: 0.8rem;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.dark-layout .home-dash-ws-phase-tile {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-ws-phase-tile--approved {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

.home-dash-ws-phase-tile--late {
    border-color: rgba(244, 63, 94, 0.35);
    background: rgba(244, 63, 94, 0.06);
}

.home-dash-ws-phase-tile--excluded {
    opacity: 0.75;
}

.home-dash-ws-phase-tile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.home-dash-ws-phase-tile__badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: #6d28d9;
}

.home-dash-ws-phase-tile__pct {
    font-size: 0.78rem;
    font-weight: 900;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.dark-layout .home-dash-ws-phase-tile__pct {
    color: #f1f5f9;
}

.home-dash-ws-phase-tile__status {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.45;
}

.home-dash-ws-phase-tile__bar {
    height: 5px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 0.35rem 0 0.25rem;
}

.home-dash-ws-phase-tile__bar .home-dash-pct-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.home-dash-ws-phase-tile__deadline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.2rem;
}

.home-dash-ws-phase-tile__deadline.is-late {
    color: #e11d48;
}

.home-dash-ws-phase-tile__deadline svg {
    width: 0.72rem;
    height: 0.72rem;
}

.home-dash-ws-task__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.home-dash-ws-task__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}

.home-dash-ws-task__chip--ok {
    color: #15803d;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.home-dash-ws-task__chip--progress {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.home-dash-ws-task__chip--warn {
    color: #b45309;
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.home-dash-ws-task__note {
    font-size: 0.72rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.home-dash-ws-task__foot {
    margin-top: auto;
    padding-top: 0.65rem;
}

.home-dash-ws-task__foot--split {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-dash-ws-task__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.55rem 0.85rem;
    border-radius: 0.7rem;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-dash-ws-task__btn svg {
    width: 0.9rem;
    height: 0.9rem;
}

.home-dash-ws-task__btn--teal,
.home-dash-ws-task__btn--teal span,
.home-dash-ws-task__btn--teal i,
.home-dash-ws-task__btn--teal svg {
    color: #fff !important;
    stroke: #fff;
}

.home-dash-ws-task__btn--teal {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

.home-dash-ws-task__btn--teal:hover,
.home-dash-ws-task__btn--teal:hover span,
.home-dash-ws-task__btn--teal:focus,
.home-dash-ws-task__btn--teal:focus span {
    color: #fff !important;
    transform: translateY(-1px);
}

.home-dash-ws-task__btn--violet,
.home-dash-ws-task__btn--violet span,
.home-dash-ws-task__btn--violet i,
.home-dash-ws-task__btn--violet svg {
    color: #fff !important;
    stroke: #fff;
}

.home-dash-ws-task__btn--violet {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}

.home-dash-ws-task__btn--violet:hover,
.home-dash-ws-task__btn--violet:hover span,
.home-dash-ws-task__btn--violet:focus,
.home-dash-ws-task__btn--violet:focus span {
    color: #fff !important;
    transform: translateY(-1px);
}

.home-dash-ws-task__btn--ghost {
    color: #6d28d9 !important;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.home-dash-ws-task__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1.25rem 0.75rem;
    border-radius: 0.85rem;
    background: rgba(248, 250, 252, 0.8);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.home-dash-ws-task__placeholder svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #94a3b8;
}

.home-dash-ws-task__placeholder p,
.home-dash-ws-task__empty-lead {
    font-size: 0.78rem;
    line-height: 1.65;
    color: #64748b;
}

.home-dash-ws-empty-state {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.dark-layout .home-dash-ws-empty-state {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(71, 85, 105, 0.45);
}

.home-dash-ws-empty-state__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.home-dash-ws-empty-state__icon svg {
    width: 1rem;
    height: 1rem;
}

.home-dash-ws-empty-state__title {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.dark-layout .home-dash-ws-empty-state__title {
    color: #f1f5f9;
}

.home-dash-ws-empty-state__text {
    font-size: 0.76rem;
    line-height: 1.65;
    color: #64748b;
}

@media (max-width: 575.98px) {
    .home-dash-ws-task__head--split {
        flex-direction: column;
        align-items: stretch;
    }

    .home-dash-ws-task__metrics {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .home-dash-ws-task__stats--stacked {
        width: 100%;
    }

    .home-dash-ws-task__phase-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== داشبورد — تکالیف قانونی / هم‌راستا با org-phase-report-page ===== */
.org-phase-ws-card {
    --ws_bg: #f3f8ff;
    --ws_card: #ffffff;
    --ws_muted: #64748b;
    --ws_text: #1f2a3c;
    --ws_primary: #3aa0ff;
    --ws_primary_soft: rgba(58, 160, 255, 0.14);
    --ws_success: #28c76f;
    --ws_warn: #ff9f43;
    --ws_border: rgba(15, 23, 42, 0.08);
    --ws_teal: #0d9488;
    --ws_teal_soft: rgba(13, 148, 136, 0.14);
    --ws_violet: #7c3aed;
    --ws_violet_soft: rgba(124, 58, 237, 0.12);
    --ws_amber: #d97706;
    --ws_amber_soft: rgba(217, 119, 6, 0.14);
    --ws_split_visual: linear-gradient(
        155deg,
        #312e81 0%,
        #5b21b6 38%,
        #0f766e 78%,
        #14b8a6 100%
    );
    border-radius: 1rem !important;
    background: #fff;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.org-phase-ws-card .card-body {
    position: relative;
}

/* دو ستون: ستون تصویری + محتوای باریک‌تر */
.home-dash-ws-split {
    min-height: 12rem;
}

.home-dash-ws-split__visual {
    position: relative;
    padding: 0;
}

.home-dash-ws-split__visual-inner {
    position: relative;
    height: 100%;
    min-height: 11rem;
    padding: 1.35rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ws_split_visual);
    color: #fff;
    overflow: hidden;
}

.home-dash-ws-deco-blob {
    position: absolute;
    width: 11rem;
    height: 11rem;
    border-radius: 42% 58% 48% 52%;
    background: rgba(255, 255, 255, 0.12);
    top: -3rem;
    right: -2.5rem;
    pointer-events: none;
}

.home-dash-ws-deco-blob--2 {
    width: 8rem;
    height: 8rem;
    top: auto;
    bottom: -2rem;
    right: auto;
    left: -2rem;
    background: rgba(0, 0, 0, 0.08);
}

.home-dash-ws-deco-icons {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.home-dash-ws-deco-ring {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-dash-ws-deco-ring .ficon,
.home-dash-ws-deco-ring svg {
    width: 1.45rem;
    height: 1.45rem;
    color: #fff;
    stroke-width: 2.25;
}

.home-dash-ws-deco-ring--sm {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 14px;
}

.home-dash-ws-deco-ring--sm .ficon,
.home-dash-ws-deco-ring--sm svg {
    width: 1.05rem;
    height: 1.05rem;
}

.home-dash-ws-deco-ring--teal {
    background: rgba(20, 184, 166, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
}

.home-dash-ws-deco-ring--amber {
    background: rgba(251, 191, 36, 0.38);
    border-color: rgba(255, 255, 255, 0.5);
}

.home-dash-ws-deco-ring--violet {
    background: rgba(167, 139, 250, 0.45);
    border-color: rgba(255, 255, 255, 0.52);
}

.home-dash-ws-deco-caption {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 0.88rem;
    margin: 0 0 0.25rem;
    line-height: 1.45;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.home-dash-ws-deco-sub {
    position: relative;
    z-index: 1;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.home-dash-ws-split__main {
    background: linear-gradient(180deg, #fafcff 0%, #ffffff 55%);
}

.home-dash-ws-split__main-inner {
    padding: 1.25rem 1.15rem 1.35rem;
}

@media (min-width: 992px) {
    .home-dash-ws-split__main-inner {
        padding: 1.35rem 1.4rem 1.45rem 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .home-dash-ws-split__visual-inner {
        min-height: 8.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1rem 0.85rem;
    }

    .home-dash-ws-deco-icons {
        margin-bottom: 0;
        margin-left: 0.75rem;
    }

    .home-dash-ws-deco-caption,
    .home-dash-ws-deco-sub {
        flex: 1 1 100%;
        text-align: center;
        margin-top: 0.35rem;
    }
}

.home-dash-ws-hero {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.home-dash-ws-hero--compact {
    margin-bottom: 1.1rem;
}

.home-dash-ws-hero__title-row {
    gap: 0.5rem;
}

.home-dash-ws-hero__badge {
    font-weight: 700;
    font-size: 0.66rem;
    padding: 0.38rem 0.72rem;
    letter-spacing: 0.01em;
}

.home-dash-ws-hero__badge--violet {
    background: var(--ws_violet_soft);
    color: #5b21b6;
    border: 1px solid rgba(124, 58, 237, 0.28);
}

.home-dash-ws-hero__badge--amber {
    background: var(--ws_amber_soft);
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.32);
}

.home-dash-ws-hero__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(
        145deg,
        rgba(58, 160, 255, 0.22),
        rgba(58, 160, 255, 0.08)
    );
    color: #1e6fb8;
    border: 1px solid rgba(58, 160, 255, 0.28);
}

.home-dash-ws-hero__icon .ficon,
.home-dash-ws-hero__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-dash-ws-hero__title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ws_text);
    margin: 0 0 0.15rem;
    letter-spacing: -0.02em;
}

.home-dash-ws-hero__kicker {
    font-size: 0.78rem;
    color: var(--ws_muted);
    margin: 0;
}

.home-dash-ws-hero__subtitle {
    font-size: 0.8rem;
    color: var(--ws_muted);
    line-height: 1.65;
    margin: 0;
}

.home-dash-ws-hero__icon--teal {
    background: linear-gradient(
        145deg,
        var(--ws_teal_soft),
        rgba(13, 148, 136, 0.06)
    );
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.28);
}

/* جعبه راهنما — تم بنفش روشن + نوار کناری (کمتر آبی محض) */
.home-dash-ws-guide {
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-inline-start: 4px solid #a78bfa;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.home-dash-ws-guide__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.home-dash-ws-guide__head-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    min-width: 0;
}

.home-dash-ws-guide__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--ws_violet_soft);
    color: #6d28d9;
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.home-dash-ws-guide__icon--violet {
    background: linear-gradient(
        145deg,
        rgba(124, 58, 237, 0.18),
        rgba(124, 58, 237, 0.06)
    );
}

.home-dash-ws-guide__icon .ficon,
.home-dash-ws-guide__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.home-dash-ws-guide__head-title {
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--ws_text);
    letter-spacing: -0.02em;
}

.home-dash-ws-guide__tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.home-dash-ws-guide__body {
    font-size: 0.83rem;
    line-height: 1.88;
    color: #475569;
    margin: 0;
    text-align: start;
}

/* اتصال بصری متن قانونی («ذیل») به دو تکلیف */
.home-dash-ws-obligation-flow {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.home-dash-ws-guide--in-flow {
    margin-bottom: 0 !important;
    border-radius: 0;
    border: none;
    box-shadow: none;
    border-bottom: 1px dashed rgba(124, 58, 237, 0.18);
}

.home-dash-ws-guide__bridge {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.65;
}

.home-dash-ws-guide__bridge-icon {
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: #a78bfa;
}

.home-dash-ws-guide__bridge-icon .ficon,
.home-dash-ws-guide__bridge-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.home-dash-ws-action-list--in-flow {
    gap: 0;
    margin-bottom: 0 !important;
    padding: 0;
}

.home-dash-ws-action-list--in-flow .home-dash-ws-action-row {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 1.05rem 1.2rem;
}

.home-dash-ws-action-list--in-flow .home-dash-ws-action-row:not(:last-child) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-dash-ws-action-row__lede {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.55;
    margin-top: 0.2rem;
}

/* بلوک ادغام‌شدهٔ فاز ۰ داخل گزینهٔ ۱ */
.home-dash-ws-embed {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px dashed rgba(13, 148, 136, 0.22);
}

.home-dash-ws-embed__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.home-dash-ws-embed__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f766e;
    text-transform: none;
}

.home-dash-ws-embed__mini-ic {
    width: 14px !important;
    height: 14px !important;
}

.home-dash-ws-embed__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.home-dash-ws-stat--embed {
    padding: 0.65rem 0.75rem;
    border-radius: 11px;
    background: rgba(15, 23, 42, 0.028);
}

.home-dash-ws-stat--embed .home-dash-ws-stat__nums {
    margin-bottom: 0.45rem;
}

.home-dash-ws-embed__cta {
    margin-top: 0.85rem;
}

/* ردیف‌های سفید شماره‌دار — خلاصهٔ دو نوع اقدام */
.home-dash-ws-action-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.35rem;
}

.home-dash-ws-action-row {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border-radius: 13px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.045);
}

.home-dash-ws-action-row--teal {
    border-inline-start: 3px solid #2dd4bf;
}

.home-dash-ws-action-row--violet {
    border-inline-start: 3px solid #a78bfa;
}

.home-dash-ws-action-row__badge {
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.02rem;
    font-family: inherit;
    line-height: 1;
}

.home-dash-ws-action-row__badge--teal {
    background: linear-gradient(
        145deg,
        rgba(45, 212, 191, 0.35),
        rgba(13, 148, 136, 0.2)
    );
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.28);
}

.home-dash-ws-action-row__badge--violet {
    background: linear-gradient(
        145deg,
        rgba(167, 139, 250, 0.45),
        rgba(124, 58, 237, 0.18)
    );
    color: #5b21b6;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.home-dash-ws-action-row__content {
    flex: 1;
    min-width: 0;
}

.home-dash-ws-action-row__title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.home-dash-ws-action-row__glyph {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    background: var(--ws_teal_soft);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.22);
}

.home-dash-ws-action-row__glyph .ficon,
.home-dash-ws-action-row__glyph svg {
    width: 0.95rem;
    height: 0.95rem;
}

.home-dash-ws-action-row__glyph--violet {
    background: var(--ws_violet_soft);
    color: #6d28d9;
    border-color: rgba(124, 58, 237, 0.22);
}

.home-dash-ws-action-row__title {
    font-weight: 700;
    font-size: 0.89rem;
    color: var(--ws_text);
    line-height: 1.55;
    flex: 1;
    min-width: 0;
}

.home-dash-ws-action-row__desc {
    font-size: 0.79rem;
    color: var(--ws_muted);
    margin: 0;
    line-height: 1.65;
    padding-inline-start: 2.45rem;
}

@media (max-width: 575.98px) {
    .home-dash-ws-action-row__desc {
        padding-inline-start: 0;
    }

    .home-dash-ws-hero__title {
        font-size: 0.98rem;
    }
}

.home-dash-ws-legal-box {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(247, 252, 255, 0.92) 100%
    );
    border: 1px dashed rgba(58, 160, 255, 0.35);
    font-size: 0.82rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.15rem;
}

.home-dash-ws-tile {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.96) 100%
    );
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.home-dash-ws-tile--phase0 {
    border-color: rgba(13, 148, 136, 0.22);
    background: linear-gradient(
        180deg,
        #fff 0%,
        rgba(240, 253, 250, 0.42) 100%
    );
}

.home-dash-ws-tile__phase-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-inline-end: 0.65rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        145deg,
        var(--ws_teal_soft),
        rgba(13, 148, 136, 0.06)
    );
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.22);
}

.home-dash-ws-tile__phase-icon .ficon,
.home-dash-ws-tile__phase-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.home-dash-ws-tile__badges {
    gap: 0.35rem;
}

.home-dash-ws-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
}

.home-dash-ws-pill--ok {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.home-dash-ws-pill--progress {
    background: rgba(251, 146, 60, 0.14) !important;
    color: #c2410c !important;
    border: 1px solid rgba(251, 146, 60, 0.32);
}

.home-dash-ws-tile__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.home-dash-ws-tile__phase {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ws_text);
    margin: 0 0 0.25rem;
}

.home-dash-ws-tile__desc {
    font-size: 0.78rem;
    color: var(--ws_muted);
    margin: 0;
    line-height: 1.6;
}

.home-dash-ws-tile__phase--detail {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.home-dash-ws-gov-iframe {
    min-height: min(74vh, 860px);
    height: 74vh;
    background: #f8fafc;
}

.home-dash-ws-embed--gov-fallback {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px dashed rgba(124, 58, 237, 0.32);
}

.home-dash-ws-stat--phase0-wide {
    margin-bottom: 1rem;
}

.home-dash-ws-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.home-dash-ws-stat {
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.035);
    border: 1px solid var(--ws_border);
}

.home-dash-ws-stat__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.home-dash-ws-stat__nums {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ws_text);
    margin-bottom: 0.4rem;
}

.home-dash-ws-stat__track {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
    overflow: hidden;
}

.home-dash-ws-stat__track > span {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ws_primary), #8b5cf6);
}

.home-dash-ws-stat--phase0-wide .home-dash-ws-stat__track > span {
    background: linear-gradient(90deg, #14b8a6, #22c55e);
}

.home-dash-ws-stat--both .home-dash-ws-stat__track > span {
    background: linear-gradient(90deg, var(--ws_success), #06d6a0);
}

.home-dash-ws-stat__track--violet > span {
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.home-dash-ws-embed--violet {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px dashed rgba(124, 58, 237, 0.28);
}

.home-dash-ws-embed__label--violet {
    color: #6d28d9 !important;
}

.home-dash-ws-btn--violet-solid {
    color: #fff !important;
    border: none;
    background: linear-gradient(165deg, #a78bfa 0%, #7c3aed 48%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.home-dash-ws-btn--violet-solid:hover {
    color: #fff !important;
    filter: brightness(1.05);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.42);
}

/* ناحیهٔ اقدام اصلی — تکمیل سریع فازهای ۱ تا ۳ */
.home-dash-ws-embed__cta--gov-primary {
    margin-top: 1rem;
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(
        165deg,
        rgba(124, 58, 237, 0.12) 0%,
        rgba(167, 139, 250, 0.06) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    border: 1px solid rgba(124, 58, 237, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.home-dash-ws-btn--gov-cta {
    width: 100%;
    max-width: min(100%, 26rem);
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.35rem !important;
    font-size: 0.95rem !important;
    line-height: 1.35;
    border-radius: 13px !important;
    box-shadow:
        0 3px 0 rgba(76, 29, 149, 0.55),
        0 10px 32px rgba(124, 58, 237, 0.42);
    animation: home-dash-ws-gov-cta-glow 2.5s ease-in-out infinite;
}

.home-dash-ws-btn--gov-cta .home-dash-ws-btn--gov-cta__ic,
.home-dash-ws-btn--gov-cta .home-dash-ws-btn--gov-cta__ic svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
}

.home-dash-ws-btn--gov-cta:hover,
.home-dash-ws-btn--gov-cta:focus {
    animation: none;
    transform: translateY(-2px);
    box-shadow:
        0 4px 0 rgba(76, 29, 149, 0.5),
        0 14px 38px rgba(124, 58, 237, 0.5);
}

.home-dash-ws-btn--gov-cta:active {
    transform: translateY(0);
}

@keyframes home-dash-ws-gov-cta-glow {
    0%,
    100% {
        box-shadow:
            0 3px 0 rgba(76, 29, 149, 0.55),
            0 10px 32px rgba(124, 58, 237, 0.42);
    }
    50% {
        box-shadow:
            0 3px 0 rgba(76, 29, 149, 0.55),
            0 12px 38px rgba(124, 58, 237, 0.55),
            0 0 0 5px rgba(167, 139, 250, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-dash-ws-btn--gov-cta {
        animation: none;
    }

    .home-dash-ws-btn--gov-cta:hover,
    .home-dash-ws-btn--gov-cta:focus {
        transform: none;
    }
}

.dark-layout .home-dash-ws-embed__cta--gov-primary {
    background: linear-gradient(
        165deg,
        rgba(124, 58, 237, 0.22) 0%,
        rgba(45, 55, 72, 0.35) 100%
    );
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ناحیهٔ اقدام اصلی — تکمیل سریع زیرمجموعه‌ها (فاز ۰) */
.home-dash-ws-embed__cta--subs-primary {
    margin-top: 1rem;
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(
        165deg,
        rgba(13, 148, 136, 0.14) 0%,
        rgba(45, 212, 191, 0.07) 42%,
        rgba(255, 255, 255, 0) 100%
    );
    border: 1px solid rgba(13, 148, 136, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.home-dash-ws-btn--subs-cta {
    width: 100%;
    max-width: min(100%, 26rem);
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.35rem !important;
    font-size: 0.95rem !important;
    line-height: 1.35;
    border-radius: 13px !important;
    box-shadow:
        0 3px 0 rgba(15, 118, 110, 0.58),
        0 10px 32px rgba(13, 148, 136, 0.4);
    animation: home-dash-ws-subs-cta-glow 2.5s ease-in-out infinite;
}

.home-dash-ws-btn--subs-cta .home-dash-ws-btn--subs-cta__ic,
.home-dash-ws-btn--subs-cta .home-dash-ws-btn--subs-cta__ic svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
}

.home-dash-ws-btn--subs-cta:hover,
.home-dash-ws-btn--subs-cta:focus {
    animation: none;
    transform: translateY(-2px);
    box-shadow:
        0 4px 0 rgba(15, 118, 110, 0.52),
        0 14px 38px rgba(13, 148, 136, 0.48);
}

.home-dash-ws-btn--subs-cta:active {
    transform: translateY(0);
}

@keyframes home-dash-ws-subs-cta-glow {
    0%,
    100% {
        box-shadow:
            0 3px 0 rgba(15, 118, 110, 0.58),
            0 10px 32px rgba(13, 148, 136, 0.4);
    }
    50% {
        box-shadow:
            0 3px 0 rgba(15, 118, 110, 0.58),
            0 12px 38px rgba(13, 148, 136, 0.52),
            0 0 0 5px rgba(45, 212, 191, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-dash-ws-btn--subs-cta,
    .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta {
        animation: none;
    }

    .home-dash-ws-btn--subs-cta:hover,
    .home-dash-ws-btn--subs-cta:focus,
    .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:hover,
    .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:focus {
        transform: none;
    }
}

.dark-layout .home-dash-ws-embed__cta--subs-primary {
    background: linear-gradient(
        165deg,
        rgba(13, 148, 136, 0.24) 0%,
        rgba(45, 55, 72, 0.38) 100%
    );
    border-color: rgba(45, 212, 191, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-dash-ws-gov-eyebrow {
    background: rgba(124, 58, 237, 0.12) !important;
    color: #5b21b6 !important;
    border-color: rgba(124, 58, 237, 0.22) !important;
}

.home-dash-ws-gov-modal-content {
    border-top: 3px solid rgba(124, 58, 237, 0.28);
}

/* مودال تکمیل سریع زیرمجموعه (فاز ۰) — همان چیدمان گزینهٔ ۱، accent تیل */
.home-dash-ws-subs-modal-content {
    border-top: 3px solid rgba(13, 148, 136, 0.38);
}

.home-dash-ws-subs-eyebrow {
    background: rgba(13, 148, 136, 0.12) !important;
    color: #0f766e !important;
    border-color: rgba(13, 148, 136, 0.28) !important;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.12);
}

.home-dash-ws-subs-scope {
    color: #115e59 !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(13, 148, 136, 0.32) !important;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.1);
}

.home-dash-ws-subs-sidebar .home-dash-ws-ph0-sidebar__title {
    color: #0f766e;
}

.home-dash-ws-gov-sidebar .home-dash-ws-ph0-sidebar__title {
    color: #5b21b6;
}

.home-dash-ws-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.home-dash-ws-btn {
    border-radius: 11px;
    font-weight: 700;
    padding: 0.48rem 1.05rem;
}

.home-dash-ws-btn--teal {
    color: #fff !important;
    border: none;
    background: linear-gradient(165deg, #14b8a6 0%, #0d9488 48%, #0f766e 100%);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.home-dash-ws-btn--teal:hover {
    color: #fff !important;
    filter: brightness(1.05);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.4);
}

/* اولویت بر قوانین عمومی تیل — حفظ برجستگی دکمهٔ تکمیل سریع زیرمجموعه‌ها */
.home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta {
    box-shadow:
        0 3px 0 rgba(15, 118, 110, 0.58),
        0 10px 32px rgba(13, 148, 136, 0.4);
    animation: home-dash-ws-subs-cta-glow 2.5s ease-in-out infinite;
}

.home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:hover,
.home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:focus {
    animation: none;
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow:
        0 4px 0 rgba(15, 118, 110, 0.52),
        0 14px 38px rgba(13, 148, 136, 0.48);
}

.home-dash-ws-btn--outline-violet {
    font-weight: 600;
    color: #6d28d9 !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.38);
}

.home-dash-ws-btn--outline-violet:hover {
    background: var(--ws_violet_soft);
    border-color: rgba(124, 58, 237, 0.55);
    color: #5b21b6 !important;
}

.home-dash-ws-actions .btn-primary {
    border-radius: 11px;
    font-weight: 700;
    padding: 0.45rem 1rem;
    box-shadow: 0 6px 18px rgba(58, 160, 255, 0.28);
    border: none;
    background: linear-gradient(165deg, #4dabff 0%, #3aa0ff 55%, #2b8ae9 100%);
}

.home-dash-ws-actions .btn-outline-secondary {
    border-radius: 11px;
    font-weight: 600;
    border-color: rgba(58, 160, 255, 0.35);
    color: #1e6fb8;
    background: rgba(255, 255, 255, 0.85);
}

.home-dash-ws-actions .btn-outline-secondary:hover {
    background: var(--ws_primary_soft);
    border-color: rgba(58, 160, 255, 0.55);
    color: #155a96;
}

.home-dash-ws-gov-head {
    margin-bottom: 0.75rem;
}

.home-dash-ws-gov-head__title {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ws_text);
    margin: 0 0 0.25rem;
}

.home-dash-ws-gov-head__meta {
    font-size: 0.78rem;
    color: var(--ws_muted);
}

.home-dash-ws-gov-head__pct {
    font-size: 1.05rem;
    font-weight: 800;
    color: #6d28d9;
    margin-top: 0.25rem;
}

.home-dash-ws-ph-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 0.65rem;
}

.home-dash-ws-ph-card {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.22s ease;
}

.home-dash-ws-ph-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.14);
}

.home-dash-ws-ph-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.home-dash-ws-ph-card__badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(58, 160, 255, 0.16);
    color: #1e6fb8;
}

.home-dash-ws-ph-card__pct {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ws_text);
}

.home-dash-ws-ph-card__status {
    font-size: 0.74rem;
    color: #475569;
    margin-bottom: 0.35rem;
    min-height: 2.4em;
}

.home-dash-ws-ph-card__deadline {
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
}

.home-dash-ws-ph-card .btn {
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.78rem;
}

.home-dash-ws-ph-card__bar {
    height: 5px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.45rem;
}

.home-dash-ws-ph-card__bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3aa0ff, #a855f7);
}

.home-dash-ws-empty {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.home-dash-ws-kpi-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.home-dash-ws-kpi-cell {
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    background: rgba(58, 160, 255, 0.08);
    border: 1px solid rgba(58, 160, 255, 0.2);
    text-align: center;
}

.home-dash-ws-kpi-cell__val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e6fb8;
    line-height: 1.15;
}

.home-dash-ws-kpi-cell__lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.45;
}

.home-dash-ws-kpi-cell--accent {
    background: linear-gradient(
        165deg,
        rgba(40, 199, 111, 0.14),
        rgba(58, 160, 255, 0.08)
    );
    border-color: rgba(40, 199, 111, 0.28);
}

.home-dash-ws-kpi-cell--accent .home-dash-ws-kpi-cell__val {
    color: #15803d;
}

/* فازهای ۱ تا ۳ در کارت بنگاه‌داری — همیشه یک ردیف، سه ستون مساوی */
.home-dash-ws-gov-phases-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: stretch;
    margin-bottom: 0.85rem;
}

.home-dash-ws-gov-phases-row .home-dash-ws-urgency {
    margin-bottom: 0;
    min-width: 0;
    padding: 0.5rem 0.55rem;
    gap: 0.4rem;
}

.home-dash-ws-gov-phases-row .home-dash-ws-urgency__body {
    min-width: 0;
}

.home-dash-ws-gov-phases-row .home-dash-ws-urgency__title {
    font-size: 0.65rem;
}

.home-dash-ws-gov-phases-row .home-dash-ws-urgency__status {
    font-size: 0.65rem;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.home-dash-ws-gov-phases-row .home-dash-ws-urgency__line {
    font-size: 0.72rem;
    word-break: break-word;
}

.home-dash-ws-urgency {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(58, 160, 255, 0.25);
    background: linear-gradient(
        90deg,
        rgba(58, 160, 255, 0.1),
        rgba(255, 255, 255, 0.6)
    );
}

.home-dash-ws-urgency--late {
    border-color: rgba(234, 84, 85, 0.35);
    background: linear-gradient(
        90deg,
        rgba(234, 84, 85, 0.12),
        rgba(255, 255, 255, 0.65)
    );
}

.home-dash-ws-urgency--approved {
    border-color: rgba(22, 163, 74, 0.35);
    background: linear-gradient(
        90deg,
        rgba(34, 197, 94, 0.12),
        rgba(255, 255, 255, 0.65)
    );
}

.home-dash-ws-urgency--approved .home-dash-ws-urgency__icon {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.home-dash-ws-urgency--excluded {
    border-color: rgba(100, 116, 139, 0.35);
    background: linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.14),
        rgba(255, 255, 255, 0.65)
    );
}

.home-dash-ws-urgency--excluded .home-dash-ws-urgency__icon {
    background: rgba(148, 163, 184, 0.22);
    color: #64748b;
}

.home-dash-ws-urgency__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 160, 255, 0.2);
    color: #1e6fb8;
    flex-shrink: 0;
}

.home-dash-ws-urgency__icon svg {
    width: 18px;
    height: 18px;
}

.home-dash-ws-btn__ic--sm,
.home-dash-ws-btn__ic--sm svg {
    width: 15px;
    height: 15px;
}

.home-dash-ws-ph0-side-item__meta {
    font-size: 0.68rem;
}

.home-dash-ws-urgency--late .home-dash-ws-urgency__icon {
    background: rgba(234, 84, 85, 0.18);
    color: #c02626;
}

.home-dash-ws-urgency__body {
    flex: 1;
    min-width: 200px;
}

.home-dash-ws-urgency__title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    margin: 0 0 0.15rem;
}

.home-dash-ws-urgency__line {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1f2a3c;
    margin: 0;
}

.home-dash-ws-tile--muted {
    opacity: 0.96;
    border-style: dashed !important;
}

.dark-layout .home-dash-ws-kpi-cell {
    background: rgba(58, 160, 255, 0.12);
    border-color: rgba(58, 160, 255, 0.22);
}

.dark-layout .home-dash-ws-kpi-cell__val {
    color: #7dd3fc;
}

.dark-layout .home-dash-ws-kpi-cell__lbl {
    color: #94a3b8;
}

.dark-layout .home-dash-ws-urgency {
    background: rgba(40, 48, 70, 0.85);
}

.dark-layout .home-dash-ws-urgency--approved {
    background: rgba(22, 101, 52, 0.22);
    border-color: rgba(34, 197, 94, 0.38);
}

.dark-layout .home-dash-ws-urgency--excluded {
    background: rgba(51, 65, 85, 0.55);
    border-color: rgba(148, 163, 184, 0.38);
}

/* مودال تکمیل سریع — مرکز افقی پایدار + عرض مناسب */
.home-dash-ws-modal.home-dash-ws-modal
    .modal-dialog.home-dash-ws-ph0-dialog.modal-xl {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: min(1280px, 96vw);
}

.home-dash-ws-modal.home-dash-ws-modal.fade
    .modal-dialog.home-dash-ws-ph0-dialog {
    transform: translate(0, 0);
}

.home-dash-ws-modal.home-dash-ws-modal.show
    .modal-dialog.home-dash-ws-ph0-dialog {
    transform: translate(0, 0) !important;
}

gov-onboarding-modal__content {
    direction: rtl !important;
    text-align: justify !important;
}
/* جلوگیری از جابجایی محتوای دیالوگ با text-align سراسری مودال در RTL */
.home-dash-ws-modal.modal.show .modal-dialog.home-dash-ws-ph0-dialog {
    text-align: start;
}

.home-dash-ws-ph0-modal-content {
    overflow: hidden;
}

/* هدر مودال تکمیل سریع — فشرده تا با بدنهٔ فرم فاصلهٔ خالی کم باشد */
.home-dash-ws-modal .modal-header.home-dash-ws-ph0-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.62rem 1rem 0.62rem !important;
    margin: 0;
    flex-wrap: nowrap;
    background:
        radial-gradient(
            120% 90% at 100% 0%,
            rgba(58, 160, 255, 0.14) 0%,
            transparent 55%
        ),
        radial-gradient(
            90% 70% at 0% 100%,
            rgba(99, 102, 241, 0.08) 0%,
            transparent 50%
        ),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.home-dash-ws-ph0-modal-head-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
    min-width: 0;
}

.home-dash-ws-ph0-header-badges {
    gap: 0.35rem;
    margin-bottom: 0;
}

.home-dash-ws-ph0-header-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    color: #0c4a6e;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(58, 160, 255, 0.28);
    box-shadow: 0 1px 3px rgba(58, 160, 255, 0.12);
    backdrop-filter: blur(6px);
}

.home-dash-ws-ph0-header-scope {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 0.22rem 0.55rem !important;
    border-radius: 999px !important;
    color: #5b21b6 !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(139, 92, 246, 0.28) !important;
    box-shadow: 0 1px 3px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(6px);
}

.home-dash-ws-ph0-modal-title {
    font-weight: 800;
    font-size: clamp(0.98rem, 1.85vw, 1.15rem);
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.22;
    margin: 0;
}

.home-dash-ws-ph0-modal-lead {
    font-size: 0.78rem;
    line-height: 1.42;
    color: #64748b;
    max-width: 42rem;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.home-dash-ws-ph0-close {
    flex-shrink: 0;
    float: none !important;
    width: 2.1rem;
    height: 2.1rem;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    opacity: 1;
    color: #64748b;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 300;
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.12s ease;
}

.home-dash-ws-ph0-close:hover {
    color: #0f172a;
    background: #fff;
    border-color: rgba(58, 160, 255, 0.35);
    box-shadow: 0 4px 14px rgba(58, 160, 255, 0.18);
    transform: translateY(-1px);
}

.home-dash-ws-modal .modal-content {
    border-radius: 1rem;
    border: 1px solid rgba(58, 160, 255, 0.18);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

.home-dash-ws-modal .modal-header:not(.home-dash-ws-ph0-modal-header) {
    border-bottom-color: rgba(58, 160, 255, 0.15);
    background: linear-gradient(
        180deg,
        rgba(243, 248, 255, 0.95) 0%,
        #fff 100%
    );
}

.home-dash-ws-modal .modal-title:not(.home-dash-ws-ph0-modal-title) {
    font-weight: 800;
    font-size: 1rem;
}

.home-dash-ws-modal-toolbar {
    background: rgba(248, 250, 252, 0.95);
}

.home-dash-ws-phase0-iframe,
.home-dash-ws-phase0-mount {
    min-height: 72vh;
    background: #f1f5f9;
}

.home-dash-ws-phase0-mount {
    overflow: auto;
    max-height: min(78vh, 900px);
}

.home-dash-ws-phase0-mount.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

/* فرم فاز ۰ داخل مودال: فشرده‌سازی padding افقی برای عرض بیشتر */
.home-dash-ws-phase0-mount .app-content.content {
    margin: 0;
    padding: 0.45rem 1.5rem 0 !important;
}

.org-phase-report-page .content-wrapper {
    background: none !important;
}

.home-dash-ws-phase0-mount .content-wrapper,
.home-dash-ws-phase0-mount .content-header {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
}

/* هدر صفحهٔ گزارش داخل مودال: بدون تکرار حجم‌دار کنار هدر مودال */
.home-dash-ws-phase0-mount .content-header {
    margin-bottom: 0.35rem !important;
    padding-top: 0 !important;
}

.home-dash-ws-phase0-mount .content-header-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.1rem !important;
}

.home-dash-ws-phase0-mount .content-header .breadcrumb {
    padding: 0.15rem 0 0 !important;
    margin-bottom: 0 !important;
    font-size: 0.74rem !important;
}

.home-dash-ws-phase0-mount .header-navbar-shadow {
    display: none !important;
}

.home-dash-ws-phase0-mount .content-body {
    padding: 0.35rem 0.2rem 0.5rem !important;
}

/* داخل مودال: سایدبار بخش‌ها از ۲۵٪ باریک بود؛ فضای بیشتر برای «مرور سریع» */
@media (min-width: 768px) {
    .home-dash-ws-phase0-mount .report-shell__row > .col-md-3.report-sidebar {
        flex: 0 0 31%;
        max-width: 31%;
    }

    .home-dash-ws-phase0-mount .report-shell__row > .col-md-9 {
        flex: 0 0 69%;
        max-width: 69%;
    }
}

.home-dash-ws-phase0-mount .report-shell__row > .col-md-3.report-sidebar {
    padding: 0.5rem 0.55rem !important;
}

.home-dash-ws-phase0-mount .report-shell__row > .col-md-9 {
    padding: 0.5rem 0.5rem !important;
}

@media (min-width: 992px) {
    .home-dash-ws-phase0-mount .report-shell__row > .col-md-9 {
        padding: 0.55rem 0.6rem !important;
    }
}

.home-dash-ws-phase0-mount .org-phase-report-page .report-shell {
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.055);
}

.dark-layout .home-dash-ws-modal-toolbar {
    background: rgba(40, 48, 70, 0.65);
}

/* مودال تکمیل فاز ۰ — سایدبار شرکت‌ها + ناوبری */
.home-dash-ws-ph0-shell {
    flex: 1 1 auto;
    min-height: min(68vh, 780px);
    background: linear-gradient(
        180deg,
        rgba(248, 251, 255, 0.5) 0%,
        rgba(241, 245, 249, 0.35) 100%
    );
}

@media (min-width: 992px) {
    .home-dash-ws-ph0-shell {
        min-height: min(70vh, 800px);
    }
}

.home-dash-ws-ph0-main {
    min-height: 0;
}

.home-dash-ws-ph0-toolbar {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent);
    flex-shrink: 0;
}

.home-dash-ws-ph0-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.home-dash-ws-ph0-info-ic {
    width: 14px;
    height: 14px;
}

.home-dash-ws-ph0-sidebar {
    min-height: 0;
}

.home-dash-ws-ph0-shell.is-ph0-loading
    .home-dash-ws-ph0-side-item:not(.home-dash-ws-ph0-side-item--active) {
    opacity: 0.55;
}

.home-dash-ws-ph0-sidebar {
    width: 100%;
    max-height: 42vh;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(243, 248, 255, 0.72) 100%
    );
}

@media (min-width: 992px) {
    .home-dash-ws-ph0-sidebar {
        width: min(292px, 30vw);
        max-height: none;
        align-self: stretch;
    }

    .home-dash-ws-ph0-sidebar--edge {
        border-bottom: none !important;
        border-inline-end: 1px solid rgba(15, 23, 42, 0.1);
    }

    .home-dash-ws-ph0-main {
        min-height: min(68vh, 780px);
    }
}

@media (max-width: 991.98px) {
    .home-dash-ws-ph0-sidebar--edge {
        border-inline-end: none !important;
    }
}

.home-dash-ws-ph0-sidebar__title {
    font-weight: 800;
    font-size: 0.92rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.home-dash-ws-ph0-sidebar__pill {
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}

.home-dash-ws-ph0-sidebar__hint {
    line-height: 1.4;
    margin-top: 0.35rem !important;
}

.home-dash-ws-ph0-sidebar__scroll {
    overflow: hidden;
    min-height: 0;
}

.home-dash-ws-ph0-sidebar__list {
    max-height: min(38vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    /* فضا برای نشان وضعیت که از گوشهٔ کارت بیرون می‌زند */
    padding: 0.65rem 0.35rem 0.2rem 0.72rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

.home-dash-ws-ph0-sidebar__list::-webkit-scrollbar {
    width: 6px;
}

.home-dash-ws-ph0-sidebar__list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
}

@media (min-width: 992px) {
    .home-dash-ws-ph0-sidebar__list {
        max-height: calc(min(78vh, 900px) - 190px);
    }
}

.home-dash-ws-ph0-side-item {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 0.32rem;
    background: rgba(255, 255, 255, 0.94);
    color: #1e293b;
    font-size: 0.82rem;
    line-height: 1.45;
    overflow: visible;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        transform 0.12s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.home-dash-ws-ph0-side-item__rail {
    width: 4px;
    flex-shrink: 0;
    background: transparent;
    transition: background 0.18s ease;
}

.home-dash-ws-ph0-side-item__inner {
    display: flex;
    gap: 0.38rem;
    align-items: flex-start;
    padding: 0.38rem 0.45rem 0.38rem 0.38rem;
    flex: 1;
    min-width: 0;
}

/* شماره + آیکون در یک کپسول واحد */
.home-dash-ws-ph0-side-item__mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.32rem 0.2rem 0.22rem;
    border-radius: 12px;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(241, 248, 255, 0.92) 100%
    );
    border: 1px solid rgba(58, 160, 255, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.home-dash-ws-ph0-side-item__index {
    flex-shrink: 0;
    width: 1.34rem;
    height: 1.34rem;
    border-radius: 9px;
    font-size: 0.62rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 160, 255, 0.16);
    color: #1d4ed8;
    line-height: 1;
}

.home-dash-ws-ph0-side-item__icon {
    flex-shrink: 0;
    width: 1.72rem;
    height: 1.72rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 160, 255, 0.12);
    color: #1d4ed8;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.home-dash-ws-ph0-side-item__icon svg {
    width: 15px !important;
    height: 15px !important;
}

.home-dash-ws-ph0-side-item__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.home-dash-ws-ph0-side-item__name-block {
    padding-top: 0.08rem;
    min-width: 0;
}

/* گوشهٔ بالا-چپ کارت (مختصات فیزیکی)، جزئی بیرون از کادر */
.home-dash-ws-ph0-side-item__status-dot {
    position: absolute;
    top: -0.42rem;
    left: -0.42rem;
    z-index: 3;
    width: 1.62rem;
    height: 1.62rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    pointer-events: none;
}

.home-dash-ws-ph0-side-item__status-dot .home-dash-ws-ph0-status-ic,
.home-dash-ws-ph0-side-item__status-dot svg {
    width: 13px !important;
    height: 13px !important;
    stroke-width: 2.35px;
}

/* سبز = تأیید، نارنجی = ارسال‌شده، قرمز = نیازمند اصلاح، خاکستری = بدون پرونده / پیش‌نویس */
.home-dash-ws-ph0-status-dot--ok {
    background: linear-gradient(145deg, #4ade80 0%, #16a34a 100%);
    color: #fff;
    border-color: #fff;
}

.home-dash-ws-ph0-status-dot--pending {
    background: linear-gradient(145deg, #fb923c 0%, #ea580c 100%);
    color: #fff;
    border-color: #fff;
}

.home-dash-ws-ph0-status-dot--warn {
    background: linear-gradient(145deg, #f87171 0%, #dc2626 100%);
    color: #fff;
    border-color: #fff;
}

.home-dash-ws-ph0-status-dot--muted {
    background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
    border-color: #fff;
}

.home-dash-ws-ph0-status-dot--draft {
    background: linear-gradient(145deg, #cbd5e1 0%, #64748b 100%);
    color: #fff;
    border-color: #fff;
}

.home-dash-ws-ph0-side-item:hover {
    border-color: rgba(58, 160, 255, 0.38);
    box-shadow: 0 8px 22px rgba(58, 160, 255, 0.14);
    background: #fff;
    transform: translateY(-1px);
}

.home-dash-ws-ph0-side-item:hover:not(.home-dash-ws-ph0-side-item--active):not(
        :disabled
    )
    .home-dash-ws-ph0-side-item__icon {
    background: rgba(58, 160, 255, 0.18);
}

.home-dash-ws-ph0-side-item:hover:not(.home-dash-ws-ph0-side-item--active):not(
        :disabled
    )
    .home-dash-ws-ph0-side-item__mark {
    border-color: rgba(58, 160, 255, 0.42);
    box-shadow: 0 2px 10px rgba(58, 160, 255, 0.12);
}

.home-dash-ws-ph0-side-item:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.22);
}

.home-dash-ws-ph0-side-item--active {
    border-color: rgba(58, 160, 255, 0.55);
    background: linear-gradient(
        120deg,
        rgba(58, 160, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.98) 52%
    );
    box-shadow: 0 10px 26px rgba(58, 160, 255, 0.18);
}

.home-dash-ws-ph0-side-item--active .home-dash-ws-ph0-side-item__rail {
    background: linear-gradient(180deg, #38bdf8 0%, #6366f1 100%);
}

.home-dash-ws-ph0-side-item--active .home-dash-ws-ph0-side-item__index {
    background: linear-gradient(145deg, #3aa0ff 0%, #6366f1 100%);
    color: #fff;
}

.home-dash-ws-ph0-side-item--active .home-dash-ws-ph0-side-item__icon {
    background: rgba(58, 160, 255, 0.22);
    color: #1e3a8a;
}

.home-dash-ws-ph0-side-item--active .home-dash-ws-ph0-side-item__mark {
    border-color: rgba(58, 160, 255, 0.55);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(224, 242, 254, 0.75) 100%
    );
    box-shadow: 0 4px 14px rgba(58, 160, 255, 0.15);
}

.home-dash-ws-ph0-side-item__name {
    display: block;
    font-weight: 700;
    font-size: 0.79rem;
    line-height: 1.38;
    word-break: break-word;
}

.home-dash-ws-ph0-side-item:disabled,
.home-dash-ws-ph0-side-item.home-dash-ws-ph0-side-item--done {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}

.home-dash-ws-ph0-side-item:disabled:hover,
.home-dash-ws-ph0-side-item.home-dash-ws-ph0-side-item--done:hover {
    transform: none;
    border-color: rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
    background: rgba(255, 255, 255, 0.94);
}

.home-dash-ws-ph0-side-item:disabled .home-dash-ws-ph0-side-item__mark,
.home-dash-ws-ph0-side-item.home-dash-ws-ph0-side-item--done
    .home-dash-ws-ph0-side-item__mark {
    opacity: 0.85;
    filter: grayscale(0.35);
}

.home-dash-ws-ph0-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none !important;
}

.home-dash-ws-ph0-sidebar__nav .home-dash-ws-ph0-nav-label {
    margin-bottom: 0.35rem;
}

.home-dash-ws-ph0-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-dash-ws-ph0-nav-strip {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    padding: 0.35rem 0.45rem;
}

.home-dash-ws-ph0-nav-strip--pill {
    border-radius: 999px;
    padding: 0.28rem 0.35rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(248, 250, 252, 0.92) 100%
    );
    border-color: rgba(58, 160, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-dash-ws-ph0-nav-btn {
    width: 2.45rem;
    min-height: 2.55rem;
    padding: 0;
    border-radius: 12px !important;
    border: 1px solid rgba(58, 160, 255, 0.28) !important;
    background: linear-gradient(
        180deg,
        #fff 0%,
        rgba(243, 248, 255, 0.92) 100%
    ) !important;
    color: #1e3a5f !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-dash-ws-ph0-nav-btn:hover {
    border-color: rgba(58, 160, 255, 0.55) !important;
    box-shadow: 0 6px 16px rgba(58, 160, 255, 0.18);
}

.home-dash-ws-ph0-nav-ic {
    width: 18px;
    height: 18px;
}

.home-dash-ws-ph0-nav-meta__n {
    font-size: 0.95rem;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.home-dash-ws-ph0-nav-meta__lbl {
    font-size: 0.68rem;
    margin-top: 0.1rem;
}

.home-dash-ph0-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
    min-height: 42vh;
}

.home-dash-ph0-loading--static {
    min-height: auto;
    padding: 1.35rem 1rem 1.5rem;
}

.home-dash-ph0-loading__title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0.35rem !important;
}

.home-dash-ph0-loading__sub {
    max-width: 22rem;
    line-height: 1.55;
}

.home-dash-ph0-loading__spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 3px solid rgba(58, 160, 255, 0.2);
    border-top-color: #3aa0ff;
    animation: homeDashPh0Spin 0.75s linear infinite;
}

@keyframes homeDashPh0Spin {
    to {
        transform: rotate(360deg);
    }
}

.dark-layout .home-dash-ws-ph0-shell {
    background: linear-gradient(
        180deg,
        rgba(30, 37, 54, 0.65) 0%,
        rgba(22, 28, 42, 0.55) 100%
    );
}

.dark-layout .home-dash-ws-ph0-sidebar {
    background: linear-gradient(
        160deg,
        rgba(36, 44, 66, 0.96) 0%,
        rgba(28, 34, 52, 0.88) 100%
    );
}

.dark-layout .home-dash-ws-ph0-sidebar__title {
    color: #e5e7eb;
}

.dark-layout .home-dash-ws-modal .modal-header.home-dash-ws-ph0-modal-header {
    background:
        radial-gradient(
            120% 90% at 100% 0%,
            rgba(58, 160, 255, 0.18) 0%,
            transparent 55%
        ),
        radial-gradient(
            90% 70% at 0% 100%,
            rgba(129, 140, 248, 0.12) 0%,
            transparent 50%
        ),
        linear-gradient(
            180deg,
            rgba(36, 44, 66, 0.98) 0%,
            rgba(28, 34, 52, 0.96) 100%
        ) !important;
    border-bottom-color: rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark-layout .home-dash-ws-ph0-header-eyebrow {
    color: #bae6fd;
    background: rgba(30, 37, 54, 0.65);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-ph0-header-scope {
    color: #e9d5ff !important;
    background: rgba(30, 37, 54, 0.65) !important;
    border-color: rgba(167, 139, 250, 0.38) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-subs-modal-content {
    border-top-color: rgba(45, 212, 191, 0.45);
}

.dark-layout .home-dash-ws-subs-eyebrow {
    color: #99f6e4 !important;
    background: rgba(30, 37, 54, 0.65) !important;
    border-color: rgba(45, 212, 191, 0.38) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-subs-scope {
    color: #ccfbf1 !important;
    background: rgba(30, 37, 54, 0.65) !important;
    border-color: rgba(45, 212, 191, 0.35) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-subs-sidebar .home-dash-ws-ph0-sidebar__title {
    color: #5eead4;
}

.dark-layout .home-dash-ws-ph0-modal-title {
    color: #f1f5f9 !important;
}

.dark-layout .home-dash-ws-ph0-modal-lead {
    color: #94a3b8 !important;
}

.dark-layout .home-dash-ws-ph0-close {
    background: rgba(40, 48, 70, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.dark-layout .home-dash-ws-ph0-close:hover {
    color: #f8fafc;
    background: rgba(56, 64, 92, 0.95);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.dark-layout .home-dash-ws-ph0-nav-meta__lbl {
    color: #94a3b8 !important;
}

.dark-layout .home-dash-ws-ph0-nav-strip--pill {
    background: linear-gradient(
        180deg,
        rgba(40, 48, 70, 0.95) 0%,
        rgba(30, 37, 54, 0.88) 100%
    );
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark-layout .home-dash-ws-ph0-nav-label {
    color: #94a3b8 !important;
}

.dark-layout .home-dash-ws-ph0-side-item__index {
    background: rgba(58, 160, 255, 0.22);
    color: #dbeafe;
}

.dark-layout .home-dash-ws-ph0-side-item__icon {
    background: rgba(58, 160, 255, 0.14);
    color: #93c5fd;
}

.dark-layout .home-dash-ws-ph0-side-item__mark {
    background: linear-gradient(
        165deg,
        rgba(48, 56, 82, 0.95) 0%,
        rgba(36, 44, 66, 0.88) 100%
    );
    border-color: rgba(129, 140, 248, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark-layout
    .home-dash-ws-ph0-side-item--active
    .home-dash-ws-ph0-side-item__icon {
    background: rgba(58, 160, 255, 0.26);
    color: #e0f2fe;
}

.dark-layout
    .home-dash-ws-ph0-side-item--active
    .home-dash-ws-ph0-side-item__mark {
    border-color: rgba(96, 165, 250, 0.5);
    background: linear-gradient(
        165deg,
        rgba(56, 64, 92, 0.98) 0%,
        rgba(30, 58, 138, 0.35) 100%
    );
}

.dark-layout .home-dash-ws-ph0-side-item {
    background: rgba(40, 48, 70, 0.65);
    border-color: rgba(148, 163, 184, 0.12);
    color: #e5e7eb;
}

.dark-layout .home-dash-ws-ph0-side-item:hover:not(:disabled) {
    background: rgba(48, 56, 82, 0.85);
    border-color: rgba(58, 160, 255, 0.35);
}

.dark-layout
    .home-dash-ws-ph0-side-item:hover:not(
        .home-dash-ws-ph0-side-item--active
    ):not(:disabled)
    .home-dash-ws-ph0-side-item__icon {
    background: rgba(58, 160, 255, 0.2);
}

.dark-layout
    .home-dash-ws-ph0-side-item:hover:not(
        .home-dash-ws-ph0-side-item--active
    ):not(:disabled)
    .home-dash-ws-ph0-side-item__mark {
    border-color: rgba(96, 165, 250, 0.42);
}

.dark-layout .home-dash-ws-ph0-side-item__status-dot {
    border-color: rgba(36, 44, 66, 0.98);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-ph0-side-item__name {
    color: #e5e7eb;
}

.dark-layout .home-dash-ws-ph0-side-item:disabled,
.dark-layout .home-dash-ws-ph0-side-item.home-dash-ws-ph0-side-item--done {
    opacity: 0.55;
}

.dark-layout .home-dash-ws-ph0-side-item--active {
    background: linear-gradient(
        135deg,
        rgba(58, 160, 255, 0.22) 0%,
        rgba(40, 48, 70, 0.95) 55%
    );
}

.dark-layout .home-dash-ws-ph0-nav-strip {
    background: rgba(40, 48, 70, 0.72);
    border-color: rgba(148, 163, 184, 0.14);
}

.dark-layout .home-dash-ws-ph0-nav-btn {
    background: linear-gradient(
        180deg,
        rgba(48, 56, 82, 0.95) 0%,
        rgba(36, 44, 66, 0.88) 100%
    ) !important;
    border-color: rgba(58, 160, 255, 0.35) !important;
    color: #e5e7eb !important;
}

.dark-layout .home-dash-ws-ph0-nav-meta__n {
    color: #f1f5f9;
}

.dark-layout .home-dash-ph0-loading__title {
    color: #e5e7eb;
}

.dark-layout .home-dash-ws-phase0-mount {
    background: rgba(22, 28, 42, 0.35);
}

@media (min-width: 992px) {
    .dark-layout .home-dash-ws-ph0-sidebar--edge {
        border-inline-end-color: rgba(148, 163, 184, 0.16);
    }
}

.home-dash-ws-detail-v2 {
    border-radius: 14px !important;
    border: 1px solid rgba(58, 160, 255, 0.18) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 251, 255, 0.96) 100%
    );
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.home-dash-ws-check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
}

.home-dash-ws-check-row--ok {
    background: linear-gradient(
        180deg,
        rgba(40, 199, 111, 0.12),
        rgba(40, 199, 111, 0.06)
    );
    border-color: rgba(40, 199, 111, 0.22);
    color: #166534;
}

.home-dash-ws-check-row--pending {
    background: linear-gradient(
        180deg,
        rgba(255, 159, 67, 0.14),
        rgba(255, 159, 67, 0.06)
    );
    border-color: rgba(255, 159, 67, 0.28);
    color: #9a3412;
}

.home-dash-ws-checklist .home-dash-ws-check-row:last-child {
    margin-bottom: 0;
}

.home-dash-ws-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(58, 160, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e6fb8;
}

.dark-layout .org-phase-ws-card {
    --ws_text: #e8ecf5;
    --ws_muted: #94a3b8;
    --ws_border: rgba(148, 163, 184, 0.18);
    --ws_split_visual: linear-gradient(
        155deg,
        #1e1b4b 0%,
        #4c1d95 40%,
        #134e4a 100%
    );
    background: #283046;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.35);
}

.dark-layout .home-dash-ws-split__main {
    background: linear-gradient(180deg, rgba(40, 48, 70, 0.95) 0%, #283046 52%);
}

.dark-layout .home-dash-ws-split__visual-inner {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dark-layout .home-dash-ws-hero__badge--violet {
    background: rgba(124, 58, 237, 0.22);
    color: #ddd6fe;
    border-color: rgba(124, 58, 237, 0.38);
}

.dark-layout .home-dash-ws-hero__badge--amber {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35);
}

.dark-layout .home-dash-ws-hero__icon--teal {
    background: rgba(13, 148, 136, 0.22);
    color: #5eead4;
    border-color: rgba(13, 148, 136, 0.35);
}

.dark-layout .home-dash-ws-guide {
    background: linear-gradient(
        180deg,
        rgba(49, 46, 129, 0.35) 0%,
        rgba(40, 48, 70, 0.55) 100%
    );
    border-color: rgba(124, 58, 237, 0.28);
    border-inline-start-color: #8b5cf6;
    box-shadow: none;
}

.dark-layout .home-dash-ws-guide__head-title {
    color: #e8ecf5;
}

.dark-layout .home-dash-ws-guide__tag {
    background: rgba(245, 158, 11, 0.14);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.28);
}

.dark-layout .home-dash-ws-guide__icon--violet {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.35);
    color: #c4b5fd;
}

.dark-layout .home-dash-ws-guide__body {
    color: #cbd5e1;
}

.dark-layout .home-dash-ws-obligation-flow {
    background: rgba(40, 48, 70, 0.45);
    border-color: rgba(148, 163, 184, 0.14);
}

.dark-layout .home-dash-ws-guide--in-flow {
    border-bottom-color: rgba(124, 58, 237, 0.28);
}

.dark-layout .home-dash-ws-guide__bridge {
    color: #94a3b8;
}

.dark-layout .home-dash-ws-guide__bridge-icon {
    color: #c4b5fd;
}

.dark-layout
    .home-dash-ws-action-list--in-flow
    .home-dash-ws-action-row:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.12);
}

.dark-layout .home-dash-ws-action-row__lede {
    color: #94a3b8;
}

.dark-layout .home-dash-ws-embed {
    border-top-color: rgba(13, 148, 136, 0.28);
}

.dark-layout .home-dash-ws-embed__label {
    color: #5eead4;
}

.dark-layout .home-dash-ws-stat--embed {
    background: rgba(15, 23, 42, 0.35);
}

.dark-layout .home-dash-ws-action-row {
    background: rgba(40, 48, 70, 0.88);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.dark-layout .home-dash-ws-action-row--teal {
    border-inline-start-color: #2dd4bf;
}

.dark-layout .home-dash-ws-action-row--violet {
    border-inline-start-color: #a78bfa;
}

.dark-layout .home-dash-ws-action-row__badge--teal {
    background: rgba(13, 148, 136, 0.28);
    color: #99f6e4;
    border-color: rgba(13, 148, 136, 0.35);
}

.dark-layout .home-dash-ws-action-row__badge--violet {
    background: rgba(124, 58, 237, 0.26);
    color: #ddd6fe;
    border-color: rgba(124, 58, 237, 0.38);
}

.dark-layout .home-dash-ws-action-row__glyph {
    background: rgba(13, 148, 136, 0.18);
    color: #5eead4;
    border-color: rgba(13, 148, 136, 0.28);
}

.dark-layout .home-dash-ws-action-row__glyph--violet {
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
    border-color: rgba(124, 58, 237, 0.28);
}

.dark-layout .home-dash-ws-tile--phase0 {
    background: rgba(40, 48, 70, 0.78);
    border-color: rgba(13, 148, 136, 0.28);
}

.dark-layout .home-dash-ws-tile__phase-icon {
    background: rgba(13, 148, 136, 0.2);
    color: #5eead4;
    border-color: rgba(13, 148, 136, 0.32);
}

.dark-layout .home-dash-ws-pill--ok {
    background: rgba(34, 197, 94, 0.18) !important;
    color: #86efac !important;
    border-color: rgba(34, 197, 94, 0.32);
}

.dark-layout .home-dash-ws-pill--progress {
    background: rgba(251, 146, 60, 0.14) !important;
    color: #fdba74 !important;
    border-color: rgba(251, 146, 60, 0.28);
}

.dark-layout .home-dash-ws-btn--teal {
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

.dark-layout .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta {
    box-shadow:
        0 3px 0 rgba(15, 118, 110, 0.55),
        0 10px 28px rgba(13, 148, 136, 0.38);
    animation: home-dash-ws-subs-cta-glow 2.5s ease-in-out infinite;
}

.dark-layout .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:hover,
.dark-layout .home-dash-ws-btn--teal.home-dash-ws-btn--subs-cta:focus {
    animation: none;
    box-shadow:
        0 4px 0 rgba(15, 118, 110, 0.48),
        0 14px 34px rgba(13, 148, 136, 0.45);
}

.dark-layout .home-dash-ws-btn--outline-violet {
    background: rgba(40, 48, 70, 0.6);
    color: #c4b5fd !important;
    border-color: rgba(124, 58, 237, 0.45);
}

.dark-layout .home-dash-ws-gov-head__pct {
    color: #c4b5fd;
}

.dark-layout .home-dash-ws-legal-box {
    background: rgba(40, 48, 70, 0.65);
    border-color: rgba(58, 160, 255, 0.28);
    color: #cbd5e1;
}

.dark-layout .home-dash-ws-tile {
    background: rgba(40, 48, 70, 0.72);
    border-color: rgba(58, 160, 255, 0.22);
}

.dark-layout .home-dash-ws-stat {
    background: rgba(15, 23, 42, 0.35);
}

.dark-layout .home-dash-ws-ph-card {
    background: rgba(40, 48, 70, 0.85);
    border-color: rgba(148, 163, 184, 0.15);
}

.dark-layout .home-dash-ws-ph-card__status {
    color: #cbd5e1;
}

.dark-layout .home-dash-ws-check-row {
    background: rgba(40, 48, 70, 0.85);
    border-color: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}

.dark-layout .home-dash-ws-detail-v2 {
    background: rgba(40, 48, 70, 0.88) !important;
    border-color: rgba(58, 160, 255, 0.22) !important;
}

@media (max-width: 575.98px) {
    .home-dash-donut-wrap {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}
.navbar-dark,
.main-menu,
.navbar-light,
.dark-layout .main-menu-content .navigation-main,
.main-menu .sakhtar-navbar-header,
.main-menu.menu-light .navbar-light.navbar-horizontal,
.main-menu.menu-light .navigation {
    background: #10163a !important;
}
.main-menu-content .navigation-main .nav-item.open > a {
    background-color: #161d31 !important;
}
.main-menu.menu-light .navigation > li.open:not(.menu-item-closing) > a,
.main-menu.menu-light .navigation > li.sidebar-group-active > a {
    background-color: #161d31 !important;
}
.main-menu .shadow-bottom {
    background: linear-gradient(
        #10163a 41%,
        rgba(255, 255, 255, 0.11) 95%,
        rgba(255, 255, 255, 0)
    );
}
.main-menu-content .navigation-main li a {
    color: #d0d2d6 !important;
}
.main-menu-content .navigation-main .nav-item a:after,
.main-menu-content .navigation-main .nav-item i,
.main-menu-content .navigation-main .nav-item svg {
    color: #d0d2d6;
}
.header-navbar .navbar-container ul.navbar-nav li > a.nav-link {
    color: #fff;
}
.header-navbar .navbar-container ul.navbar-nav li i.ficon,
.header-navbar .navbar-container ul.navbar-nav li svg.ficon {
    color: #fff;
}
.org-phase-report-page .doc-supervisor-actions__hint {
    color: #475569 !important;
}
