.est-task-page {
    padding: 24px;
    color: #253b34;
}

.est-task-toolbar,
.est-task-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.est-task-toolbar h2,
.est-task-detail-header h2 {
    margin: 0 0 4px;
    color: #175846;
    font-weight: 600;
}

.est-task-toolbar p,
.est-task-detail-header p {
    margin: 0;
    color: #71817b;
}

.est-task-kpis {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px 20px;
}

.est-task-kpi {
    min-width: 145px;
    flex: 1;
    margin: 6px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e1e9e5;
    border-top: 3px solid #278263;
    border-radius: 7px;
}

.est-task-kpi span {
    display: block;
    color: #6f817a;
    font-size: 12px;
}

.est-task-kpi strong {
    display: block;
    margin-top: 7px;
    color: #185845;
    font-size: 25px;
}

.est-task-kpi.warning {
    border-top-color: #d7a928;
}

.est-task-kpi.danger {
    border-top-color: #ba4d4d;
}

.est-task-kpi.info {
    border-top-color: #4c88a8;
}

.est-task-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}

.est-task-card {
    width: calc(33.333% - 16px);
    margin: 8px;
    padding: 17px;
    background: white;
    border: 1px solid #e0e8e4;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow .15s ease, transform .15s ease;
}

.est-task-card:hover {
    box-shadow: 0 7px 20px rgba(26, 83, 66, .10);
    transform: translateY(-1px);
}

.est-task-card-header,
.est-task-execution-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.est-task-status {
    padding: 4px 9px;
    color: #19614c;
    background: #e9f3ef;
    border-radius: 12px;
    font-size: 11px;
}

.est-task-meta,
.est-task-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: #73847d;
    font-size: 12px;
}

.est-task-execution-summary {
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid #edf1ef;
    color: #587068;
    font-size: 11px;
}

.est-task-form-card,
.est-task-execution {
    margin-bottom: 16px;
    padding: 20px;
    background: white;
    border: 1px solid #dfe8e4;
    border-radius: 8px;
}

.est-task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.est-task-steps {
    margin-top: 15px;
    padding: 11px;
    background: #f7faf8;
    border-radius: 5px;
}

.est-task-steps > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.est-task-timeline {
    border-right: 2px solid #d9e6e0;
    padding-right: 18px;
}

.est-task-timeline-item {
    position: relative;
    margin-bottom: 14px;
    padding: 11px 14px;
    background: #f8faf9;
    border-radius: 5px;
}

.est-task-loading,
.est-task-empty {
    padding: 45px;
    text-align: center;
    color: #71817b;
}

@media (max-width: 1100px) {
    .est-task-card {
        width: calc(50% - 16px);
    }
}

@media (max-width: 700px) {
    .est-task-page {
        padding: 12px;
    }

    .est-task-card {
        width: calc(100% - 16px);
    }

    .est-task-toolbar,
    .est-task-detail-header {
        display: block;
    }
}

.est-task-attachments-box {
    margin: 20px 0;
    padding: 16px;
    background: #f8fbf9;
    border: 1px solid #dce8e2;
    border-radius: 8px;
}

.est-task-attachments-box > label {
    display: block;
    margin-bottom: 10px;
    color: #175846;
    font-weight: 600;
}

.est-task-upload-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    gap: 10px;
    padding: 18px;
    color: #4f7569;
    background: white;
    border: 2px dashed #9bc5b6;
    border-radius: 7px;
    cursor: pointer;
}

.est-task-upload-zone:hover {
    color: #15624c;
    border-color: #278263;
    background: #f4faf7;
}

.est-task-upload-zone i {
    font-size: 24px;
}

.est-task-selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 9px 12px;
    background: white;
    border: 1px solid #e3ebe7;
    border-radius: 5px;
}

.est-task-selected-file small {
    margin-right: 8px;
    color: #84928d;
}

[dir="rtl"] .est-task-page select,
[dir="rtl"] .est-task-page input,
[dir="rtl"] .est-task-page textarea {
    direction: rtl;
    text-align: right;
}

.est-task-detail-section {
    margin-top: 25px;
}

.est-task-detail-section > h3 {
    margin: 0 0 12px;
    color: #174f41;
    font-size: 18px;
    font-weight: 600;
}

.est-task-detail-section > h3 i {
    margin-left: 6px;
    color: #278263;
}

.est-task-detail-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.est-task-detail-file {
    display: flex;
    align-items: center;
    min-width: 275px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #dde8e3;
    border-radius: 7px;
}

.est-task-detail-file-icon {
    width: 38px;
    height: 38px;
    margin-left: 10px;
    color: #1f7359;
    background: #eaf4ef;
    border-radius: 6px;
    text-align: center;
    line-height: 38px;
    font-size: 18px;
}

.est-task-detail-file-info {
    display: flex;
    flex-direction: column;
}

.est-task-detail-file-info strong {
    color: #29463d;
}

.est-task-detail-file-info small {
    margin-top: 3px;
    color: #86948f;
}

.est-task-empty-small {
    padding: 18px;
    color: #7e8d87;
    background: #f8faf9;
    border: 1px dashed #d6e3dd;
    border-radius: 6px;
    text-align: center;
}

[dir="rtl"] .est-task-detail-file {
    direction: rtl;
    text-align: right;
}

/* Estidamah Task - detail screen polish */

.est-task-detail-header {
    padding: 18px 20px;
    background: rgba(255, 255, 255, .55);
    border-radius: 10px;
}

.est-task-info {
    padding: 10px 14px;
    margin-top: 0;
    background: #f8fbf9;
    border: 1px solid #e0eae5;
    border-radius: 7px;
}

.est-task-info > span {
    padding: 3px 8px;
}

.est-task-detail-section {
    margin-top: 22px;
}

.est-task-detail-attachments {
    gap: 12px;
}

.est-task-detail-file {
    min-width: 320px;
    max-width: 470px;
    flex: 1;
}

.est-task-detail-file-info {
    min-width: 0;
    flex: 1;
}

/* File names are normally LTR even in Arabic UI */
.est-task-detail-file-info strong {
    display: block;
    direction: ltr;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.est-task-detail-file-info small {
    direction: ltr;
    text-align: left;
}

.est-task-execution {
    padding: 20px;
    box-shadow: 0 2px 10px rgba(28, 83, 65, .04);
}

.est-task-actions {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf2ef;
}

.est-task-actions .btn {
    min-width: 72px;
    border-radius: 7px;
}

.est-task-steps {
    margin-top: 16px;
    padding: 12px 15px;
    color: #425f56;
}

.est-task-timeline {
    padding: 0 20px 0 0;
}

.est-task-timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 46px;
    margin-bottom: 9px;
    padding: 10px 16px;
}

.est-task-timeline-item strong {
    color: #205d4b;
    font-weight: 600;
}

.est-task-timeline-item span {
    direction: ltr;
    color: #7c8c86;
    font-size: 12px;
    white-space: nowrap;
}

.est-task-timeline-item p {
    margin: 0;
    color: #61736d;
}

[dir="rtl"] .est-task-detail-header,
[dir="rtl"] .est-task-detail-section,
[dir="rtl"] .est-task-execution {
    direction: rtl;
    text-align: right;
}

@media (max-width: 768px) {
    .est-task-detail-file {
        min-width: 100%;
    }

    .est-task-timeline-item {
        display: block;
    }

    .est-task-timeline-item span {
        display: block;
        margin-top: 5px;
    }
}

.est-task-settings-table {
    direction: rtl;
}

.est-task-settings-table thead th {
    color: #174f41;
    background: #eef6f2;
    text-align: right;
    vertical-align: middle;
}

.est-task-settings-table td {
    vertical-align: middle !important;
}

.est-task-settings-table select {
    min-width: 165px;
    direction: rtl;
}

.est-task-managed-entities {
    margin: 12px 0 18px;
    padding: 12px;
    background: #f5faf7;
    border: 1px solid #dce9e3;
    border-radius: 6px;
}

.est-task-managed-entities > label {
    display: block;
    margin-bottom: 8px;
    color: #365f52;
}

.est-task-managed-entities .label {
    display: inline-block;
    margin: 2px 0 2px 6px;
    padding: 6px 9px;
    font-size: 11px;
}

/* ===== Assignees checkbox picker ===== */
.est-user-picker { border: 1px solid #e3e6ea; border-radius: 8px; background: #fff; }
.est-user-picker-tools { display: flex; gap: 8px; align-items: center; padding: 8px; border-bottom: 1px solid #eef0f2; flex-wrap: wrap; }
.est-user-picker-tools input { flex: 1 1 200px; }
.est-user-picker-count { color: #0b7a3e; font-weight: 600; font-size: 12px; }
.est-user-picker-list { max-height: 240px; overflow-y: auto; padding: 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px; }
.est-user-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; margin: 0; border-radius: 6px; cursor: pointer; font-weight: normal; }
.est-user-item:hover { background: #f4f7f5; }
.est-user-item.is-selected { background: #e8f5ee; color: #0b7a3e; font-weight: 600; }
.est-user-item input { margin: 0; }
.est-user-empty { padding: 10px; color: #888; }
.est-sla-hint { color: #0b7a3e; font-size: 12px; margin-top: 4px; }
input[readonly].form-control { background: #f6f7f8; cursor: not-allowed; }

/* ===== In-page dialog ===== */
.est-dlg-backdrop { position: fixed; inset: 0; background: rgba(15, 30, 22, .45); z-index: 1050; }
.est-dlg { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(520px, 92vw); max-height: 88vh; overflow: auto; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.25); z-index: 1051; text-align: right; }
.est-dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef0f2; }
.est-dlg-head h4 { margin: 0; font-weight: 700; color: #0b5d3b; }
.est-dlg-x { border: 0; background: transparent; font-size: 24px; line-height: 1; color: #888; cursor: pointer; }
.est-dlg-body { padding: 16px 18px; }
.est-dlg-users { max-height: 220px; overflow-y: auto; border: 1px solid #e3e6ea; border-radius: 8px; padding: 6px; }
.est-dlg-error { color: #c0392b; font-size: 13px; margin-top: 4px; }
.est-dlg-foot { display: flex; gap: 8px; justify-content: flex-start; padding: 12px 18px; border-top: 1px solid #eef0f2; }

/* ===== Dashboard ===== */
.est-dash { padding: 16px 20px; }
.est-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.est-dash-header h1 { margin: 0; font-weight: 800; color: #0b5d3b; font-size: 26px; }
.est-dash-header small { color: #6b7a72; }
.est-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.est-kpi { background: #fff; border: 1px solid #e6ebe8; border-top: 3px solid #0b7a3e; border-radius: 10px; padding: 10px 14px; text-align: right; cursor: pointer; transition: .15s; }
.est-kpi span { display: block; color: #6b7a72; font-size: 12px; }
.est-kpi b { font-size: 24px; color: #12352a; }
.est-kpi:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.est-kpi.on { background: #eef8f2; box-shadow: inset 0 0 0 2px #0b7a3e; }
.k-prog { border-top-color: #2e8b57; } .k-new { border-top-color: #5b8def; } .k-sub { border-top-color: #3a7ca5; }
.k-sus { border-top-color: #e0a526; } .k-late { border-top-color: #d64545; } .k-done { border-top-color: #7a8a82; }
.est-split { display: grid; grid-template-columns: 380px 1fr; gap: 14px; align-items: start; }
@media (max-width: 992px) { .est-split { grid-template-columns: 1fr; } }
.est-side, .est-detail { background: #fff; border: 1px solid #e6ebe8; border-radius: 12px; }
.est-side { padding: 10px; }
.est-tabs { display: flex; gap: 4px; margin-bottom: 8px; background: #f2f5f3; padding: 4px; border-radius: 8px; }
.est-tabs button { flex: 1; border: 0; background: transparent; padding: 6px; border-radius: 6px; font-weight: 600; color: #4d5d55; }
.est-tabs button.on { background: #fff; color: #0b7a3e; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.est-search { margin-bottom: 8px; }
.est-list { max-height: 62vh; overflow-y: auto; }
.est-item { border: 1px solid #edf1ee; border-right: 4px solid #9aa8a0; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; transition: .12s; }
.est-item:hover { background: #f7faf8; }
.est-item.sel { background: #eef8f2; border-color: #0b7a3e; }
.est-item.cls-immediate { border-right-color: #d64545; } .est-item.cls-urgent { border-right-color: #e0702a; }
.est-item.cls-important { border-right-color: #e0a526; } .est-item.cls-fixed_date { border-right-color: #3a7ca5; }
.est-item.cls-normal { border-right-color: #2e8b57; }
.est-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.est-item-meta { display: flex; gap: 12px; color: #6b7a72; font-size: 12px; margin-top: 6px; flex-wrap: wrap; }
.est-item-ex { color: #8a968f; font-size: 12px; margin-top: 4px; }
.est-pill { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: #eef2f0; color: #4d5d55; }
.st-active, .st-in_progress { background: #e3f4ea; color: #1d7a45; } .st-assigned { background: #e7eefc; color: #3c64c8; }
.st-submitted { background: #e3eef6; color: #2c6a91; } .st-suspended { background: #fdf1d8; color: #a8740b; }
.st-completed { background: #eceeed; color: #5b6862; }
.est-late { color: #d64545; font-weight: 700; font-size: 12px; }
.est-detail { padding: 18px 20px; min-height: 360px; }
.est-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 1px solid #eef0f2; padding-bottom: 12px; }
.est-detail-head h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #12352a; }
.est-desc { margin: 14px 0; color: #34433b; white-space: pre-line; }
.est-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.est-facts div { background: #f6f9f7; border-radius: 8px; padding: 8px 12px; }
.est-facts span { display: block; color: #6b7a72; font-size: 12px; } .est-facts b { color: #12352a; }
.est-sub { margin: 16px 0 8px; font-weight: 700; color: #0b5d3b; }
.est-ex-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid #f0f2f1; }
.est-empty { text-align: center; color: #8a968f; padding: 20px; }
.est-empty.big { padding: 80px 20px; } .est-empty.big i { font-size: 40px; color: #b8c6be; }
.est-loading { color: #8a968f; font-size: 12px; margin-top: 8px; }

/* ===== Task navigation ===== */

.est-task-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5ebe7;
    border-radius: 10px;
}

.est-task-nav-main,
.est-task-nav-arrows {
    display: flex;
    align-items: center;
    gap: 7px;
}

.est-task-navigation .btn {
    min-width: 105px;
}

.est-task-navigation .btn-success {
    background: #078a69;
    border-color: #078a69;
}

.est-task-navigation .btn-success:hover {
    background: #06765b;
    border-color: #06765b;
}

.est-task-navigation .btn[disabled] {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 650px) {

    .est-task-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .est-task-nav-main,
    .est-task-nav-arrows {
        width: 100%;
    }

    .est-task-navigation .btn {
        flex: 1;
    }
}


/* ===== FINAL TASK NAVIGATION ===== */

.est-task-navigation {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;

    width: auto !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.est-task-navigation .est-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-width: 0 !important;
    height: 34px;

    padding: 5px 12px;

    border: 1px solid #d8e4de;
    border-radius: 7px;

    background: #fff;
    color: #315c4c;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
    white-space: nowrap;
}

.est-task-navigation .est-nav-btn:hover:not([disabled]) {
    background: #f0f8f4;
    border-color: #15906e;
    color: #08795a;
}

.est-task-navigation .est-nav-new {
    background: #078a69;
    border-color: #078a69;
    color: #fff;
}

.est-task-navigation .est-nav-new:hover {
    background: #06765b !important;
    color: #fff !important;
}

.est-task-navigation .est-nav-all {
    background: #fff;
}

.est-task-navigation .est-nav-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 3px;
    background: #dce7e1;
}

.est-task-navigation .est-nav-btn[disabled] {
    opacity: .32;
    pointer-events: none;
}

@media (max-width: 600px) {
    .est-task-navigation {
        flex-wrap: wrap !important;
    }
}


/* ===== Final task toolbar positioning ===== */

.est-task-navigation {
    direction: ltr !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;

    gap: 7px !important;

    margin: 0 0 14px 0 !important;
    padding: 0 0 0 4px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* return Arabic direction inside text button */
.est-task-navigation .est-nav-btn {
    direction: rtl;
}

/* Back button: icon only */
.est-task-navigation .est-nav-back {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;

    padding: 0 !important;

    border-radius: 8px !important;

    background: #ffffff !important;
    border: 1px solid #d8e4de !important;

    color: #08795a !important;

    font-size: 15px !important;
}

.est-task-navigation .est-nav-back:hover {
    background: #eef8f4 !important;
    border-color: #078a69 !important;
}

/* New Task */
.est-task-navigation .est-nav-new {
    height: 36px !important;

    padding: 0 14px !important;

    background: #078a69 !important;
    border-color: #078a69 !important;
    color: #ffffff !important;

    border-radius: 8px !important;
}

/*
 * Keep previous / next away from the main left buttons.
 * separator consumes the remaining horizontal space.
 */
.est-task-navigation .est-nav-separator {
    flex: 1 1 auto !important;

    width: auto !important;
    height: 1px !important;

    background: transparent !important;
}

/* previous / next */
.est-task-navigation .est-nav-btn:not(.est-nav-new):not(.est-nav-back) {
    height: 34px !important;
}

/* mobile */
@media (max-width: 650px) {

    .est-task-navigation {
        flex-wrap: nowrap !important;
        overflow-x: auto;
    }

    .est-task-navigation .est-nav-separator {
        flex: 1 0 15px !important;
    }
}


/* ===== Task hierarchy settings ===== */

.est-hierarchy-help {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 15px;
    padding: 12px 15px;

    background: #eef8f4;
    border: 1px solid #cce7db;
    border-radius: 9px;

    color: #245745;
}

.est-hierarchy-help > i {
    font-size: 22px;
    color: #078a69;
}

.est-hierarchy-help b {
    display: block;
    margin-bottom: 3px;
    color: #075f49;
}

.est-hierarchy-help span {
    font-size: 12px;
    color: #567268;
}


/* ===== Multi assignee progress ===== */

.est-progress-count {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;

    border-radius: 12px;

    background: #eaf6f1;
    color: #08795a;

    font-size: 11px;
    font-weight: 700;
}


/* ===== Pending extension ===== */

.est-extension-pending-owner {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;
    margin: 0 4px;

    border: 1px solid #dca72f;
    border-radius: 7px;

    background: #fff7df;
    color: #956b09;

    font-size: 12px;
    font-weight: 600;
}

.est-extension-pending-owner small {
    color: #7e6b3d;
    font-weight: 400;
}


/* ===== Estidamah activity timeline polish ===== */

.est-activity-flow {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin: 4px 0;
    padding: 3px 8px;

    border-radius: 12px;

    background: #f0f7f4;
    color: #49695c;

    font-size: 11px;
}

.est-activity-flow i {
    color: #0b8a68;
    font-size: 10px;
}

/* Improve readability of activity notes */
.est-task-activity .text-muted,
.est-activity-item .text-muted {
    line-height: 1.7;
}

/* Raw activity keys should never visually dominate Timeline */
.est-task-activity,
.est-activity-item {
    word-break: break-word;
}


/* ===== Final dashboard execution indicators ===== */

.est-task-indicators {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 7px;
}

.est-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 3px 8px;

    border-radius: 12px;

    font-size: 10px;
    font-weight: 600;
}

.est-indicator.extension {
    background: #fff6dd;
    color: #966900;
}

.est-indicator.suspension {
    background: #fff0dc;
    color: #a25c08;
}

.est-indicator.review {
    background: #e8f2fb;
    color: #286b98;
}

.est-indicator.suspended {
    background: #f4ead7;
    color: #956515;
}

.est-indicator.overdue {
    background: #fde8e8;
    color: #c33636;
}

.est-indicator b {
    min-width: 16px;
    height: 16px;

    padding: 0 4px;

    border-radius: 8px;

    text-align: center;
    line-height: 16px;

    background: rgba(0,0,0,.08);
}

.est-item-ex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 6px;
}


/* ===== Final execution details polish ===== */

.est-ex-current-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin: 4px 0 7px;
    padding: 3px 9px;

    border-radius: 12px;

    font-size: 11px;
    font-weight: 700;
}

.est-ex-current-action i {
    font-size: 7px;
}

.est-ex-status-assigned {
    background: #edf3ff;
    color: #486fae;
}

.est-ex-status-in_progress {
    background: #e9f8f1;
    color: #08795a;
}

.est-ex-status-submitted {
    background: #e8f2fb;
    color: #286b98;
}

.est-ex-status-suspended {
    background: #fff4dc;
    color: #98670b;
}

.est-ex-status-completed {
    background: #edf1ef;
    color: #637169;
}

/* Compress execution sections */
.est-task-execution {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    margin-bottom: 5px !important;
}

/* Compact KPI cards */
.est-task-kpi {
    margin: 8px 0 !important;
    gap: 6px !important;
}

.est-task-kpi .est-kpi-item {
    padding: 6px 9px !important;
}

/* Compact assignee rows */
.est-ex-row {
    min-height: 34px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Pending request badges stay attached to execution */
.est-extension-pending-owner,
.est-suspension-pending {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* Reduce unnecessary vertical empty space */
.est-detail {
    min-height: 0 !important;
}


/* ========================================================
   ESTIDAMAH TASK DETAILS DRAWER
   ======================================================== */

/* List takes full available dashboard width */
.est-split {
    grid-template-columns: 380px 1fr !important;
}

/* Overlay */
.est-task-drawer-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(18, 39, 31, .30);

    z-index: 1090;

    backdrop-filter: blur(1px);
}

/* Drawer comes from LEFT like reference UI */
.est-task-drawer {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    width: 420px;
    max-width: 92vw;

    background: #fff;

    border-right: 1px solid #dfe9e4;

    box-shadow:
        8px 0 30px
        rgba(15, 55, 40, .15);

    z-index: 1091;

    transform: translateX(-105%);

    transition:
        transform .22s ease;

    overflow: hidden;
}

.est-task-drawer.open {
    transform: translateX(0);
}

/* Header */
.est-drawer-toolbar {
    height: 55px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border-bottom:
        1px solid #e5ece8;

    background:
        linear-gradient(
            90deg,
            #f7fbf9,
            #ffffff
        );

    color: #174f3c;

    font-size: 14px;
    font-weight: 800;
}

/* X button */
.est-drawer-close {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f1f6f3;

    color: #477064;

    cursor: pointer;
}

.est-drawer-close:hover {
    background: #e4f2eb;
    color: #08795a;
}

/* Scrollable body */
.est-drawer-content {
    height: calc(100% - 55px);

    padding: 15px;

    overflow-y: auto;
    overflow-x: hidden;
}

/* Remove old large page-detail appearance */
.est-task-drawer .est-detail {
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Header inside drawer */
.est-task-drawer .est-detail-head {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-bottom: 12px;

    border-bottom:
        1px solid #edf1ef;
}

.est-task-drawer .est-detail-head h2 {
    margin: 0;

    color: #143f32;

    font-size: 18px;
    line-height: 1.5;
}

/* Facts compact */
.est-task-drawer .est-facts {
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 7px !important;
}

.est-task-drawer .est-facts div {
    padding: 8px 10px !important;

    border:
        1px solid #edf1ef;

    background: #f8fbf9 !important;
}

/* Assignee/execution rows */
.est-task-drawer .est-ex-row {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 7px;

    align-items: center;

    margin-bottom: 6px;

    padding: 8px 10px !important;

    border:
        1px solid #edf1ef !important;

    border-radius: 8px;

    background: #fff;
}

/* KPI compact inside drawer */
.est-task-drawer .est-task-kpi {
    grid-template-columns:
        repeat(2, minmax(0,1fr)) !important;
}

/* Open task button */
.est-task-drawer .btn-primary {
    background: #078a69;
    border-color: #078a69;
}

.est-task-drawer .btn-primary:hover {
    background: #066f56;
    border-color: #066f56;
}

/* Mobile */
@media (max-width: 600px) {

    .est-task-drawer {
        width: 94vw;
        max-width: 94vw;
    }

}

/* Avoid drawer transition for reduced-motion users */
@media (prefers-reduced-motion: reduce) {

    .est-task-drawer {
        transition: none;
    }

}


/* ========================================================
   DRAWER WORKFLOW DETAILS
   ======================================================== */

.est-drawer-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;

    margin: 12px 0;
}

.est-drawer-summary > div {
    padding: 8px 10px;

    background: #f7faf8;
    border: 1px solid #e6ede9;
    border-radius: 8px;
}

.est-drawer-summary span {
    display: block;

    margin-bottom: 2px;

    color: #74857d;
    font-size: 10px;
}

.est-drawer-summary b {
    color: #174c3b;
    font-size: 12px;
}

.est-action-needed {
    color: #c17a00 !important;
}


/* Sections */

.est-drawer-section {
    margin-top: 15px;
    padding-top: 13px;

    border-top: 1px solid #e9efec;
}

.est-drawer-section h4 {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;

    color: #0a6f55;

    font-size: 13px;
    font-weight: 800;
}


/* Pending actions */

.est-drawer-action {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 8px;

    padding: 8px 9px;
    margin-bottom: 6px;

    background: #fff9e8;
    border: 1px solid #f1dfad;
    border-radius: 7px;
}

.est-drawer-action b,
.est-drawer-action span {
    display: block;
}

.est-drawer-action b {
    color: #493f27;
    font-size: 11px;
}

.est-drawer-action span,
.est-drawer-action small {
    color: #806d3b;
    font-size: 10px;
}


/* KPI */

.est-drawer-execution-kpi {
    margin-bottom: 8px;

    padding: 9px;

    border: 1px solid #e6ede9;
    border-radius: 8px;

    background: #fff;
}

.est-drawer-ex-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 7px;

    font-size: 11px;
}

.est-drawer-kpi-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 5px;
}

.est-drawer-kpi-grid > div {
    padding: 6px 7px;

    background: #f8faf9;
    border-radius: 6px;
}

.est-drawer-kpi-grid span {
    display: block;

    color: #7a8982;
    font-size: 9px;
}

.est-drawer-kpi-grid b {
    color: #274d3e;
    font-size: 11px;
}


/* Review chain */

.est-review-chain {
    margin-bottom: 8px;

    padding: 8px;

    border: 1px solid #e8eeeb;
    border-radius: 8px;
}

.est-review-owner {
    margin-bottom: 5px;

    color: #315d4d;
    font-size: 11px;
}

.est-review-step {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 4px 0;

    border-top: 1px dashed #edf1ef;

    color: #5b7269;

    font-size: 10px;
}

.est-review-step i {
    color: #0d9872;
}

.est-review-step small {
    margin-right: auto;

    color: #87938d;
}

.est-review-empty {
    color: #98a49f;
    font-size: 10px;
}


/* Timeline */

.est-drawer-activity {
    position: relative;

    display: grid;
    grid-template-columns: 12px 1fr;

    gap: 7px;

    padding-bottom: 12px;
}

.est-drawer-activity:before {
    content: '';

    position: absolute;

    top: 12px;
    bottom: 0;
    right: 5px;

    width: 1px;

    background: #dce8e2;
}

.est-activity-dot {
    position: relative;

    width: 9px;
    height: 9px;

    margin-top: 4px;

    border-radius: 50%;

    background: #07906d;

    z-index: 1;
}

.est-drawer-activity b {
    display: block;

    color: #31594a;
    font-size: 11px;
}

.est-drawer-activity small {
    display: block;

    margin-top: 1px;

    color: #98a39e;
    font-size: 9px;
}

.est-drawer-activity p {
    margin: 4px 0 0;

    color: #66766f;
    font-size: 10px;

    white-space: pre-line;
}


/* ===== Drawer attachments only ===== */

.est-task-drawer .est-drawer-attachments {
    margin: 12px 0 15px;
    padding: 11px;

    border: 1px solid #e4ece8;
    border-radius: 9px;

    background: #fafcfb;
}

.est-task-drawer .est-drawer-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 9px;

    color: #17664e;

    font-size: 12px;
    font-weight: 800;
}

.est-task-drawer .est-drawer-section-title > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.est-task-drawer .est-drawer-upload {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin: 0;

    padding: 5px 9px;

    border: 1px solid #b9dbcd;
    border-radius: 7px;

    background: #edf8f3;
    color: #08795a;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.est-task-drawer .est-drawer-upload:hover {
    background: #e0f3eb;
}

.est-task-drawer .est-drawer-upload.disabled {
    opacity: .5;
    pointer-events: none;
}

.est-task-drawer .est-drawer-file {
    display: flex;
    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding: 6px 7px;

    border-top: 1px solid #edf1ef;
}

.est-task-drawer .est-drawer-file:first-of-type {
    border-top: 0;
}

.est-task-drawer .est-drawer-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    border-radius: 7px;

    background: #eaf6f1;
    color: #078a69;
}

.est-task-drawer .est-drawer-file-info {
    min-width: 0;
}

.est-task-drawer .est-drawer-file-info b,
.est-task-drawer .est-drawer-file-info small {
    display: block;
}

.est-task-drawer .est-drawer-file-info b {
    overflow: hidden;

    color: #344f44;

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.est-task-drawer .est-drawer-file-info small {
    margin-top: 2px;

    color: #929f99;

    font-size: 8px;
}

.est-task-drawer .est-drawer-no-files {
    padding: 13px 5px;

    color: #9aa59f;

    text-align: center;

    font-size: 10px;
}

.est-task-drawer .est-drawer-upload-progress {
    margin-bottom: 8px;
}

.est-task-drawer .est-drawer-upload-progress > div {
    height: 4px;

    overflow: hidden;

    border-radius: 4px;

    background: #e3ece7;
}

.est-task-drawer .est-drawer-upload-progress > div > span {
    display: block;

    height: 100%;

    background: #078a69;

    transition: width .15s linear;
}

.est-task-drawer .est-drawer-upload-progress small {
    display: block;

    margin-top: 3px;

    color: #74857d;

    font-size: 8px;
}


/* ===== Drawer attachment actions ===== */

.est-task-drawer .est-drawer-file {
    display: flex !important;
    align-items: center !important;
}

.est-task-drawer .est-drawer-file-info {
    flex: 1 1 auto;
}

.est-task-drawer .est-drawer-file-actions {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    gap: 4px;

    margin-right: auto;
}

.est-task-drawer .est-drawer-file-actions button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 1px solid #dce8e2;
    border-radius: 6px;

    background: #fff;
    color: #427060;

    cursor: pointer;
}

.est-task-drawer .est-drawer-file-actions button:hover {
    background: #eaf6f1;
    border-color: #91c8b2;
    color: #08795a;
}


.est-task-drawer
.est-drawer-file-actions
.est-drawer-file-delete {
    color: #bd4141;
    border-color: #efd1d1;
}

.est-task-drawer
.est-drawer-file-actions
.est-drawer-file-delete:hover {
    background: #fff0f0;
    border-color: #df9c9c;
    color: #a52121;
}

.est-task-drawer
.est-drawer-file-actions
button[disabled] {
    opacity: .4;
    pointer-events: none;
}


/* EST_DRAWER_FLAT_V1 */
.est-task-drawer{background:#fff !important}
.est-task-drawer .est-drawer-content{background:#fff !important;padding:0 16px 20px !important}
.est-task-drawer .est-drawer-content *{box-shadow:none !important}
.est-task-drawer .est-drawer-content>*{background:transparent !important;border:0 !important;border-radius:0 !important;border-bottom:1px solid #eef1ef !important;margin:0 !important;padding:12px 0 !important}
.est-task-drawer .est-drawer-content>*:last-child{border-bottom:0 !important}
.est-task-drawer .est-drawer-content [class*="card"],.est-task-drawer .est-drawer-content [class*="box"]{background:transparent !important;border:0 !important;border-radius:0 !important}
.est-task-drawer .est-drawer-summary{display:flex !important;flex-wrap:wrap !important;gap:6px 20px !important;font-size:12px !important}
.est-task-drawer .est-drawer-summary>*{display:flex !important;flex-direction:row !important;align-items:baseline !important;gap:6px !important;background:transparent !important;border:0 !important;padding:0 !important;margin:0 !important;width:auto !important;min-width:0 !important}
.est-task-drawer .est-drawer-section-title,.est-task-drawer .est-drawer-content h3,.est-task-drawer .est-drawer-content h4{font-size:12px !important;font-weight:700 !important;margin:0 0 6px !important}
/* END EST_DRAWER_FLAT_V1 */

/* EST_DRAWER_FLAT_V2 */
body .est-task-drawer .est-facts,
body .est-task-drawer .est-sub,
body .est-task-drawer .est-ex-row{display:none !important}
body .est-task-drawer .est-drawer-content *{box-shadow:none !important}
body .est-task-drawer .est-drawer-attachments,
body .est-task-drawer .est-drawer-workflow-details,
body .est-task-drawer .est-drawer-section,
body .est-task-drawer .dr-acts,
body .est-task-drawer .dr-ex,
body .est-task-drawer .est-drawer-file{background:transparent !important;border:0 !important;border-radius:0 !important}
body .est-task-drawer .est-drawer-workflow-details [class]:not(.btn):not(button):not(.est-pill):not(.dr-ex__status):not(.label):not(i):not(.est-late):not(.est-action-needed){background:transparent !important;border-radius:0 !important;border-color:transparent !important}
body .est-task-drawer .est-drawer-attachments,
body .est-task-drawer .est-drawer-workflow-details > *{border-top:1px solid #eef1ef !important;padding:12px 0 !important;margin:0 !important}
body .est-task-drawer .dr-ex,
body .est-task-drawer .est-drawer-file{border-top:1px solid #f0f3f1 !important;padding:8px 0 !important;margin:0 !important}
body .est-task-drawer .dr-acts__title,
body .est-task-drawer .est-drawer-section-title{font-size:12px !important;font-weight:700 !important;margin:0 0 6px !important}
body .est-task-drawer .dr-ex__meta{font-size:11px !important;color:#7a8a82 !important}
/* END EST_DRAWER_FLAT_V2 */

/* EST_FACTS_CREATOR */
body .est-task-drawer .est-facts{display:block !important;padding:6px 0 !important;border:0 !important;background:transparent !important}
body .est-task-drawer .est-facts > div{display:none !important}
body .est-task-drawer .est-facts > div:nth-child(3){display:flex !important;gap:8px;font-size:12px;background:transparent !important;border:0 !important;padding:0 !important}
/* END EST_FACTS_CREATOR */

/* EST_DRAWER_COMPACT */
body .est-task-drawer{width:400px !important;max-width:100vw !important;font-size:12px !important}
body .est-task-drawer .est-pro-task-head{padding:10px 14px !important;min-height:0 !important}
body .est-task-drawer .est-pro-task-head h3{font-size:14px !important;margin:0 !important;line-height:1.4 !important}
body .est-task-drawer .est-pro-task-eyebrow{font-size:10px !important}
body .est-task-drawer .est-pro-task-icon{width:30px !important;height:30px !important;font-size:14px !important}
body .est-task-drawer .est-pro-drawer-close,
body .est-task-drawer .est-drawer-nav-button{height:26px !important;min-width:0 !important;padding:0 8px !important;font-size:11px !important;border-radius:6px !important}
body .est-task-drawer .est-drawer-nav-position{font-size:11px !important}
body .est-task-drawer .est-drawer-content{padding:0 14px 14px !important}
body .est-task-drawer .est-drawer-content>*,
body .est-task-drawer .est-drawer-content>div>*{padding-top:8px !important;padding-bottom:8px !important}
body .est-task-drawer .est-drawer-content *{font-size:12px !important;line-height:1.5 !important}
body .est-task-drawer .est-desc{border:0 !important;background:transparent !important;border-radius:0 !important;padding:6px 0 !important;margin:0 !important;box-shadow:none !important}
body .est-task-drawer .est-pill,
body .est-task-drawer .est-late,
body .est-task-drawer .dr-ex__status{font-size:10px !important;padding:0 7px !important;line-height:18px !important}
body .est-task-drawer .est-drawer-summary>div:nth-child(1),
body .est-task-drawer .est-drawer-summary>div:nth-child(2){display:none !important}
body .est-task-drawer .est-drawer-file{padding:5px 0 !important}
body .est-task-drawer .est-drawer-file-icon{width:24px !important;height:24px !important;font-size:12px !important}
body .est-task-drawer .est-drawer-file-actions button{width:24px !important;height:24px !important;min-width:0 !important;padding:0 !important;font-size:11px !important;border-radius:6px !important}
body .est-task-drawer .est-drawer-upload{padding:2px 8px !important;font-size:11px !important}
body .est-task-drawer .dr-ex__btns .btn,
body .est-task-drawer .btn-sm{padding:2px 8px !important;font-size:11px !important;line-height:1.6 !important;height:auto !important;border-radius:6px !important}
body .est-task-drawer .dr-ex__meta{font-size:10px !important}
body .est-task-drawer .dr-acts__title,
body .est-task-drawer .est-drawer-section-title{font-size:12px !important}
/* END EST_DRAWER_COMPACT */

/* EST_DRAWER_FIX3 */
body .est-task-drawer .est-drawer-file .label,
body .est-task-drawer .est-drawer-file .label-success{font-size:9px !important;line-height:14px !important;padding:0 6px !important;border-radius:999px !important;font-weight:600 !important;display:inline-block !important;margin:0 0 0 4px !important;vertical-align:middle !important}
body .est-task-drawer .est-drawer-file-info{min-width:0 !important;flex:1 1 auto !important;overflow:hidden !important}
body .est-task-drawer .est-drawer-file-info b{display:block !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;font-size:12px !important}
body .est-task-drawer .est-drawer-file-info small,
body .est-task-drawer .est-drawer-file-info small *{font-size:10px !important;color:#7a8a82 !important;display:block !important}
body .est-task-drawer .est-drawer-file-actions{flex:none !important}
/* END EST_DRAWER_FIX3 */

/* EST_UI_POLISH_V1 */
.est-dash .est-main-view-tabs{
  display:flex!important;gap:6px;padding:6px!important;
  margin:16px 0!important;border:1px solid #dcebe5;
  border-radius:14px;background:#f1f7f4;
}
.est-dash .est-main-view-tab{
  flex:1 1 0;min-width:0;min-height:46px;
  padding:10px 16px!important;border:0!important;
  border-radius:10px!important;background:transparent;
  color:#526e63;font-weight:700;display:flex;
  align-items:center;justify-content:center;gap:8px;
}
.est-dash .est-main-view-tab.on{
  background:#07876c!important;color:#fff!important;
  box-shadow:0 3px 10px rgba(7,135,108,.15);
}
.est-dash .est-role-view-tabs{
  display:flex!important;flex-wrap:wrap;gap:6px;
  padding:6px!important;border:1px solid #dcebe5;
  border-radius:12px;background:#fff;
}
.est-dash .est-role-view-tabs>button{
  flex:1 1 130px;min-height:40px;
  border-radius:8px!important;padding:9px 14px!important;
  margin:0!important;
}
.est-dash .est-action-center-v3__row{
  cursor:pointer;min-height:68px;padding:12px!important;
  gap:12px;border-bottom:1px solid #edf2ef;
  transition:background-color .15s ease;
}
.est-dash .est-action-center-v3__row:hover,
.est-dash .est-action-center-v3__row:focus-within{
  background:#f0f8f4;
}
.est-dash .est-action-center-v3__task{
  min-width:0;overflow-wrap:anywhere;
}
.est-dash .est-action-center-v3__date{
  direction:ltr;unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.est-dash .est-action-center-v3__status{
  font-size:12px;font-weight:600;white-space:nowrap;
}
.est-dash .est-delegation-flow{
  display:inline-flex;align-items:center;flex-wrap:wrap;
  gap:8px;max-width:100%;vertical-align:middle;
}
.est-dash .est-delegation-flow bdi{
  font-weight:700;overflow-wrap:anywhere;
}
.est-dash .est-delegation-arrow{
  color:#07876c;font-size:18px;line-height:1;flex-shrink:0;
}
.est-dash .est-execution-person{
  display:inline-flex;align-items:center;gap:8px;
}
.est-dash .est-person-initial{
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;flex:0 0 30px;border-radius:50%;
  background:#e6f3ed;color:#17664f;border:1px solid #d5e9df;
  font-size:13px;font-weight:700;
}
.est-dash button:focus-visible{
  outline:2px solid #07876c;outline-offset:3px;
}
@media(max-width:640px){
  .est-dash .est-main-view-tab{
    padding:9px 8px!important;font-size:13px;
  }
  .est-dash .est-action-center-v3__row{
    display:flex!important;flex-wrap:wrap;align-items:center;
  }
  .est-dash .est-action-center-v3__task{flex:1 1 55%;}
  .est-dash .est-action-center-v3__kind{flex:1 1 100%;}
}

/* EST_HISTORY_LAYOUT_V2 */
.est-dash .est-drawer-activity {
  display:flex !important;
  align-items:flex-start;
  gap:12px;
  position:relative;
  padding:16px 0 !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:1px solid #edf2ef !important;
}
.est-dash .est-drawer-activity:last-child {
  border-bottom:0 !important;
}
.est-dash .est-history-avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:50%;
  background:#def5eb;
  color:#087758;
  border:2px solid #fff;
  box-shadow:0 0 0 1px #e0eee7;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  overflow:hidden;
}
.est-dash .est-drawer-activity > div {
  flex:1;
  min-width:0;
  padding:0 !important;
}
.est-dash .est-history-person {
  color:#244c40;
  font-size:13px;
  font-weight:700;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.est-dash .est-history-action {
  margin-top:4px;
  color:#5f766d;
  font-size:12px;
  font-weight:500;
  line-height:1.8;
}
.est-dash .est-history-time {
  display:block !important;
  width:fit-content;
  margin-top:6px;
  color:#84958e;
  font-size:11px;
  line-height:1.5;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
}
.est-dash .est-drawer-activity p {
  margin:8px 0 0 !important;
  padding:8px 10px;
  border-radius:8px;
  background:#f5f8f6;
  border-inline-start:2px solid #cde5d8;
  color:#62766c;
  font-size:12px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

/* EST_DRAWER_WIDTH_V2 */
/* Drawer comes from LEFT like reference UI */
.est-task-drawer,.est-drawer-activity:before{width:min(780px,94vw)!important;max-width:94vw!important}

/* EST_DRAWER_HEAD_FINAL_V10 */
html body .est-task-drawer{ top:0 !important; height:100vh !important; z-index:2000 !important; overflow-y:auto !important; }
html body .est-task-drawer .est-pro-task-head{
  display:grid !important; grid-template-columns:1fr !important; align-content:start !important; row-gap:10px !important;
  position:relative !important; margin:0 !important; padding:12px 18px !important;
  min-height:0 !important; height:auto !important; overflow:visible !important;
}
html body .est-task-drawer .est-pro-task-head-actions{
  grid-row:1 !important; margin:0 !important; padding:0 0 0 52px !important; width:auto !important; height:auto !important; display:block !important;
}
html body .est-task-drawer .est-drawer-navigation{
  display:flex !important; align-items:center !important; justify-content:flex-start !important;
  direction:rtl !important; gap:10px !important; flex-wrap:nowrap !important;
  position:static !important; margin:0 !important; padding:0 !important;
}
html body .est-task-drawer .est-drawer-navigation .est-drawer-nav-button{ position:static !important; margin:0 !important; }
html body .est-task-drawer .est-drawer-nav-position{ direction:ltr !important; unicode-bidi:isolate !important; }
html body .est-task-drawer .est-pro-task-head-main{
  grid-row:2 !important; display:flex !important; align-items:center !important; justify-content:flex-start !important;
  direction:rtl !important; gap:12px !important; margin:0 !important; padding:0 !important; height:auto !important; min-height:0 !important;
}
html body .est-task-drawer .est-pro-task-head-main > div:not(.est-pro-task-icon){
  margin:0 !important; padding:0 !important; height:auto !important; text-align:right !important; overflow:visible !important;
}
html body .est-task-drawer .est-pro-task-eyebrow{ display:block !important; margin:0 !important; padding:0 !important; line-height:1.4 !important; font-size:12px !important; }
html body .est-task-drawer .est-pro-task-head h3{ display:block !important; margin:0 !important; padding:0 !important; line-height:1.4 !important; font-size:16px !important; }
html body .est-task-drawer .est-close-x{
  position:absolute !important; top:10px !important; left:12px !important; right:auto !important; margin:0 !important; z-index:5 !important;
  width:34px !important; height:34px !important; padding:0 !important; display:flex !important; align-items:center !important; justify-content:center !important;
  background:#d64545 !important; border:1px solid #d64545 !important; color:#fff !important; border-radius:8px !important;
}
html body .est-task-drawer .est-close-x i, html body .est-task-drawer .est-close-x span{ color:#fff !important; }
