/* =========================================================
   TWP BUSINESS OS
   SALES EMPLOYEE DASHBOARD
   ========================================================= */

.twp-sales-os {
    --twp-navy: #071a33;
    --twp-navy-2: #0d2545;
    --twp-blue: #2463eb;
    --twp-blue-dark: #174bc1;
    --twp-purple: #7257e8;
    --twp-green: #27a96b;
    --twp-orange: #f39a28;
    --twp-red: #e05252;
    --twp-text: #172033;
    --twp-muted: #718096;
    --twp-border: #e5e9f0;
    --twp-bg: #f5f7fb;
    --twp-white: #ffffff;

    min-height: 100vh;
    background: var(--twp-bg);
    color: var(--twp-text);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

.twp-sales-os *,
.twp-sales-os *::before,
.twp-sales-os *::after {
    box-sizing: border-box;
}

.twp-sales-os a {
    text-decoration: none;
}

.twp-sales-os button,
.twp-sales-os input {
    font: inherit;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.twp-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #071a33 0%, #091d37 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.twp-brand {
    height: 86px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.twp-brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2463eb, #7257e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
}

.twp-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.twp-brand-text strong {
    font-size: 21px;
    letter-spacing: -.5px;
}

.twp-brand-text span {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 1.2px;
    opacity: .7;
}

.twp-navigation {
    padding: 15px 12px;
    flex: 1;
    overflow-y: auto;
}

.twp-nav-item {
    min-height: 45px;
    padding: 10px 12px;
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.78);
    border-radius: 9px;
    transition: .2s ease;
}

.twp-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.twp-nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, #2463eb, #1e59db);
    box-shadow: 0 5px 15px rgba(36,99,235,.25);
}

.twp-nav-icon {
    width: 22px;
    text-align: center;
    font-size: 17px;
}

.twp-sidebar-profile {
    margin: 10px 12px;
    padding: 13px 8px;
    border-top: 1px solid rgba(255,255,255,.09);
    display: flex;
    align-items: center;
    gap: 10px;
}

.twp-profile-avatar,
.twp-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7257e8, #2463eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.twp-profile-details {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.twp-profile-details strong {
    font-size: 12px;
}

.twp-profile-details span {
    margin-top: 3px;
    font-size: 10px;
    color: rgba(255,255,255,.55);
}

.twp-profile-more {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.twp-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.09);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
}

.twp-sidebar-footer button {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.65);
    cursor: pointer;
}


/* =========================================================
   MAIN
   ========================================================= */

.twp-main {
    margin-left: 250px;
    min-height: 100vh;
}

.twp-topbar {
    height: 72px;
    padding: 0 30px;
    background: #fff;
    border-bottom: 1px solid var(--twp-border);
    display: flex;
    align-items: center;
    gap: 20px;
}

.twp-desktop-menu {
    background: transparent;
    border: 0;
    font-size: 20px;
    color: #435066;
    cursor: pointer;
}

.twp-search {
    width: min(470px, 60%);
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--twp-border);
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #8a96a8;
}

.twp-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding-left: 9px;
    background: transparent;
    color: var(--twp-text);
}

.twp-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.twp-notification-button {
    position: relative;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.twp-notification-button span {
    position: absolute;
    top: -5px;
    right: -6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--twp-red);
    color: #fff;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twp-user-menu {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.twp-dashboard-section {
    display: none;
    padding: 32px;
}

.twp-dashboard-section.active-section {
    display: block;
}

.twp-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.twp-page-heading h1 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.7px;
    color: var(--twp-text);
}

.twp-page-heading p {
    margin: 7px 0 0;
    color: var(--twp-muted);
}

.twp-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5d697c;
}


/* =========================================================
   SUMMARY CARDS
   ========================================================= */

.twp-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 18px;
}

.twp-summary-card {
    background: #fff;
    border: 1px solid var(--twp-border);
    border-radius: 12px;
    padding: 17px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.twp-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    font-weight: 700;
}

.twp-summary-icon.meetings {
    background: #e8f7ff;
    color: #159fd7;
}

.twp-summary-icon.followups {
    background: #f0eaff;
    color: var(--twp-purple);
}

.twp-summary-icon.opportunities {
    background: #e8f8ef;
    color: var(--twp-green);
}

.twp-summary-icon.revenue {
    background: #fff1dd;
    color: var(--twp-orange);
}

.twp-summary-icon.tasks {
    background: #eaf0ff;
    color: var(--twp-blue);
}

.twp-summary-card span {
    display: block;
    color: var(--twp-muted);
    font-size: 11px;
}

.twp-summary-card strong {
    display: block;
    margin-top: 5px;
    font-size: 23px;
}

.twp-summary-card a {
    display: block;
    margin-top: 5px;
    color: var(--twp-blue);
    font-size: 10px;
}

.twp-summary-card small {
    display: block;
    margin-top: 5px;
    color: var(--twp-muted);
    font-size: 9px;
}

.twp-summary-card small.danger {
    color: var(--twp-red);
}


/* =========================================================
   PANELS
   ========================================================= */

.twp-primary-grid,
.twp-secondary-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.2fr .85fr;
    gap: 15px;
    margin-bottom: 15px;
}

.twp-secondary-grid {
    grid-template-columns: 1fr 1fr .9fr;
}

.twp-panel {
    background: #fff;
    border: 1px solid var(--twp-border);
    border-radius: 12px;
    padding: 20px;
    min-width: 0;
}

.twp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.twp-panel-header h2 {
    margin: 0;
    font-size: 15px;
}

.twp-panel-header a {
    color: var(--twp-blue);
    font-size: 10px;
}


/* =========================================================
   PRIORITIES
   ========================================================= */

.twp-priority-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
}

.twp-priority-item:last-child {
    border-bottom: 0;
}

.twp-priority-item time {
    font-size: 10px;
    color: var(--twp-muted);
}

.twp-priority-item strong {
    display: block;
    font-size: 11px;
}

.twp-priority-item span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    color: var(--twp-muted);
}

.tag {
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 8px;
    font-style: normal;
    white-space: nowrap;
}

.tag.meeting {
    background: #eee9ff;
    color: #7055db;
}

.tag.proposal {
    background: #e9f0ff;
    color: #2463eb;
}

.tag.followup {
    background: #e7f8ef;
    color: #25935e;
}

.tag.quotation {
    background: #fff0dc;
    color: #dc841d;
}

.tag.activity {
    background: #edf0f5;
    color: #647084;
}


/* =========================================================
   PIPELINE
   ========================================================= */

.twp-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 220px;
}

.twp-pipeline-circle {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--twp-blue) 0 25%,
            var(--twp-purple) 25% 57%,
            var(--twp-green) 57% 79%,
            var(--twp-orange) 79% 100%
        );
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twp-pipeline-circle > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.twp-pipeline-circle strong {
    font-size: 18px;
}

.twp-pipeline-circle span {
    margin-top: 4px;
    font-size: 8px;
    color: var(--twp-muted);
}

.twp-pipeline-legend {
    min-width: 125px;
}

.twp-pipeline-legend div {
    display: grid;
    grid-template-columns: 9px 1fr auto;
    gap: 6px;
    align-items: center;
    margin: 12px 0;
    font-size: 9px;
}

.twp-pipeline-legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.twp-pipeline-legend i.blue {
    background: var(--twp-blue);
}

.twp-pipeline-legend i.purple {
    background: var(--twp-purple);
}

.twp-pipeline-legend i.green {
    background: var(--twp-green);
}

.twp-pipeline-legend i.orange {
    background: var(--twp-orange);
}


/* =========================================================
   WORK PULSE
   ========================================================= */

.pulse-live {
    color: var(--twp-green);
    font-size: 9px;
}

.pulse-current span,
.pulse-next span {
    display: block;
    color: var(--twp-muted);
    font-size: 9px;
    margin-bottom: 8px;
}

.pulse-current strong,
.pulse-next strong {
    display: block;
    font-size: 11px;
}

.pulse-current b,
.pulse-next b {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.pulse-progress {
    margin: 25px 0;
}

.pulse-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    margin-bottom: 7px;
}

.progress-track {
    height: 7px;
    background: #edf0f5;
    border-radius: 10px;
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--twp-blue);
}

.pulse-status {
    margin-top: 22px;
    padding: 8px;
    background: #eaf8ef;
    color: #258d59;
    border-radius: 7px;
    font-size: 9px;
}


/* =========================================================
   TASK OVERVIEW
   ========================================================= */

.twp-task-overview {
    min-height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.twp-task-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--twp-blue) 0 60%,
            var(--twp-purple) 60% 85%,
            var(--twp-red) 85% 93%,
            var(--twp-green) 93% 100%
        );
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.twp-task-circle::before {
    content: "";
}

.twp-task-circle strong {
    font-size: 18px;
}

.twp-task-circle span {
    font-size: 8px;
    color: var(--twp-muted);
}

.twp-task-legend {
    font-size: 10px;
}

.twp-task-legend div {
    margin: 10px 0;
}

.twp-task-legend i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
    background: var(--twp-blue);
}


/* =========================================================
   PERFORMANCE
   ========================================================= */

.twp-performance-chart {
    position: relative;
    height: 165px;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 38px,
            #edf0f4 39px
        );
}

.chart-line {
    position: absolute;
    left: 8%;
    right: 5%;
    top: 40%;
    height: 65px;
    border-top: 3px solid var(--twp-blue);
    transform: skewY(-8deg);
}

.performance-badge {
    position: absolute;
    top: 20%;
    right: 3%;
    background: var(--twp-navy);
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 9px;
}

.chart-labels {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--twp-muted);
}


/* =========================================================
   ALERTS
   ========================================================= */

.twp-alert {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
}

.twp-alert:last-child {
    border-bottom: 0;
}

.twp-alert > span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.twp-alert strong {
    display: block;
    font-size: 9px;
}

.twp-alert small {
    display: block;
    margin-top: 4px;
    color: var(--twp-muted);
    font-size: 8px;
}

.danger-alert > span {
    background: #ffeded;
    color: var(--twp-red);
}

.warning-alert > span {
    background: #fff1dd;
    color: var(--twp-orange);
}

.info-alert > span {
    background: #eaf0ff;
    color: var(--twp-blue);
}


/* =========================================================
   AI SUMMARY
   ========================================================= */

.twp-ai-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--twp-border);
    border-radius: 12px;
    padding: 17px 20px;
}

.twp-ai-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eeeaff;
    color: var(--twp-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.twp-ai-content {
    flex: 1;
}

.twp-ai-content strong {
    font-size: 12px;
}

.twp-ai-content p {
    margin: 5px 0 0;
    font-size: 10px;
    line-height: 1.5;
    color: var(--twp-muted);
}

.twp-ai-summary > a {
    border: 1px solid var(--twp-blue);
    border-radius: 7px;
    padding: 8px 12px;
    color: var(--twp-blue);
    font-size: 9px;
    white-space: nowrap;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.twp-placeholder {
    min-height: 500px;
    background: #fff;
    border: 1px solid var(--twp-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.twp-placeholder span {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #edf2ff;
    color: var(--twp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.twp-placeholder h2 {
    margin: 20px 0 5px;
}

.twp-placeholder p {
    color: var(--twp-muted);
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

.twp-mobile-header {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1100px) {

    .twp-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .twp-primary-grid,
    .twp-secondary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .twp-work-pulse-card {
        grid-column: span 2;
    }

}


@media (max-width: 760px) {

    .twp-sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
        width: 270px;
    }

    .twp-sidebar.mobile-open {
        transform: translateX(0);
    }

    .twp-main {
        margin-left: 0;
    }

    .twp-topbar {
        display: none;
    }

    .twp-mobile-header {
        position: sticky;
        top: 0;
        z-index: 900;
        height: 64px;
        background: #fff;
        border-bottom: 1px solid var(--twp-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .twp-menu-toggle {
        border: 0;
        background: transparent;
        font-size: 22px;
    }

    .twp-mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .twp-mobile-brand .twp-brand-mark {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .twp-mobile-brand strong,
    .twp-mobile-brand span {
        display: block;
        line-height: 1;
    }

    .twp-mobile-brand strong {
        font-size: 14px;
    }

    .twp-mobile-brand span {
        font-size: 7px;
        letter-spacing: 1px;
        color: var(--twp-muted);
    }

    .twp-mobile-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .twp-mobile-actions button {
        border: 0;
        background: transparent;
    }

    .twp-mobile-actions .twp-avatar {
        width: 30px;
        height: 30px;
    }

    .twp-dashboard-section {
        padding: 20px 14px 90px;
    }

    .twp-page-heading {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .twp-page-heading h1 {
        font-size: 22px;
    }

    .twp-page-heading p {
        font-size: 11px;
    }

    .twp-date {
        font-size: 9px;
    }

    .twp-summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .twp-summary-card {
        padding: 12px;
        gap: 9px;
        border-radius: 10px;
    }

    .twp-summary-icon {
        width: 34px;
        height: 34px;
    }

    .twp-summary-card span {
        font-size: 9px;
    }

    .twp-summary-card strong {
        font-size: 19px;
    }

    .twp-summary-card a,
    .twp-summary-card small {
        font-size: 8px;
    }

    .twp-summary-card:last-child {
        grid-column: span 2;
    }

    .twp-primary-grid,
    .twp-secondary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .twp-work-pulse-card {
        grid-column: auto;
    }

    .twp-panel {
        padding: 15px;
        border-radius: 11px;
    }

    .twp-panel-header h2 {
        font-size: 13px;
    }

    .twp-priority-item {
        grid-template-columns: 58px 1fr auto;
    }

    .twp-pipeline {
        min-height: 190px;
        gap: 18px;
    }

    .twp-pipeline-circle {
        width: 125px;
        height: 125px;
        padding: 20px;
    }

    .twp-pipeline-legend {
        min-width: 105px;
    }

    .twp-task-overview {
        min-height: 150px;
    }

    .twp-ai-summary {
        align-items: flex-start;
        padding: 14px;
    }

    .twp-ai-summary > a {
        display: none;
    }

    .twp-ai-content p {
        font-size: 9px;
    }

    /* Mobile bottom navigation */

    .twp-sales-os::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 67px;
        background: #fff;
        border-top: 1px solid var(--twp-border);
        z-index: 850;
    }

}


@media (max-width: 420px) {

    .twp-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .twp-summary-card {
        min-height: 85px;
    }

    .twp-pipeline {
        flex-direction: column;
    }

    .twp-pipeline-legend {
        width: 100%;
    }

}
/* =========================================================
   TWP BUSINESS OS
   SALES EMPLOYEE DASHBOARD
   FULL SCREEN APPLICATION SHELL
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESET
   --------------------------------------------------------- */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------------------------------------------------------
   REMOVE NORMAL WEBSITE HEADER / FOOTER
   ONLY WHEN TWP SALES OS IS PRESENT
   --------------------------------------------------------- */

body:has(.twp-sales-os) header:not(.twp-mobile-header),
body:has(.twp-sales-os) footer,
body:has(.twp-sales-os) .site-header,
body:has(.twp-sales-os) .site-footer {
    display: none !important;
}

/* ---------------------------------------------------------
   REMOVE WORDPRESS THEME PAGE STRUCTURE
   --------------------------------------------------------- */

body:has(.twp-sales-os) .entry-header,
body:has(.twp-sales-os) .page-header,
body:has(.twp-sales-os) .entry-title {
    display: none !important;
}

body:has(.twp-sales-os) .site,
body:has(.twp-sales-os) .site-content,
body:has(.twp-sales-os) .content-area,
body:has(.twp-sales-os) .entry-content,
body:has(.twp-sales-os) .page-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------------------------------------------------------
   MAIN TWP APPLICATION
   --------------------------------------------------------- */

.twp-sales-os {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    min-height: 100vh;

    position: relative;
    overflow: hidden;

    box-sizing: border-box;
}

/* ---------------------------------------------------------
   BOX SIZING
   --------------------------------------------------------- */

.twp-sales-os,
.twp-sales-os *,
.twp-sales-os *::before,
.twp-sales-os *::after {
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   BODY LOCK
   --------------------------------------------------------- */

body:has(.twp-sales-os) {
    overflow-x: hidden !important;
}

/* ---------------------------------------------------------
   DESKTOP APPLICATION
   --------------------------------------------------------- */

@media (min-width: 769px) {

    .twp-sales-os {
        width: 100vw !important;
        min-height: calc(100vh - 32px);
    }

}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 1100px) {

    .twp-sales-os {
        width: 100% !important;
    }

}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    body:has(.twp-sales-os) {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .twp-sales-os {
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: calc(100dvh - 32px);

        margin: 0 !important;
        padding: 0 !important;

        overflow-x: hidden;
    }
}

/* =========================================================
   TWP SALES EMPLOYEE DASHBOARD
   CLEAN APPLICATION SHELL
   ========================================================= */

/* ---------------------------------------------------------
   PAGE RESET
   --------------------------------------------------------- */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.twp-sales-os) {
    overflow-x: hidden !important;
}

/* ---------------------------------------------------------
   REMOVE PUBLIC WEBSITE CHROME
   The dashboard is a standalone application.
   Keep the WordPress admin bar available for administrators.
   --------------------------------------------------------- */

body:has(.twp-sales-os) header:not(.twp-mobile-header),
body:has(.twp-sales-os) .site-header,
body:has(.twp-sales-os) #masthead,
body:has(.twp-sales-os) .site-footer,
body:has(.twp-sales-os) #colophon,
body:has(.twp-sales-os) .entry-header,
body:has(.twp-sales-os) .page-header,
body:has(.twp-sales-os) .entry-title {
    display: none !important;
}

/* Common WordPress/theme wrappers */
body:has(.twp-sales-os) .site,
body:has(.twp-sales-os) .site-content,
body:has(.twp-sales-os) .content-area,
body:has(.twp-sales-os) .entry-content,
body:has(.twp-sales-os) .page-content,
body:has(.twp-sales-os) main.site-main,
body:has(.twp-sales-os) .wp-site-blocks {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------------------------------------------------------
   APPLICATION ROOT
   --------------------------------------------------------- */

.twp-sales-os {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    background: var(--twp-bg);
    box-sizing: border-box;
}

.twp-sales-os,
.twp-sales-os *,
.twp-sales-os *::before,
.twp-sales-os *::after {
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   DESKTOP: SIDEBAR + MAIN
   --------------------------------------------------------- */

@media (min-width: 761px) {

    .twp-sales-os .twp-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        height: 100vh !important;
        margin: 0 !important;
        z-index: 1000 !important;
    }

    .twp-sales-os .twp-main {
        width: calc(100% - 250px) !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-left: 250px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .twp-sales-os .twp-topbar {
        width: 100% !important;
        margin: 0 !important;
    }

    .twp-sales-os .twp-dashboard-section {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 761px) and (max-width: 1100px) {

    .twp-sales-os .twp-sidebar {
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
    }

    .twp-sales-os .twp-main {
        width: calc(100% - 230px) !important;
        margin-left: 230px !important;
    }

    .twp-sales-os .twp-dashboard-section {
        padding: 26px !important;
    }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .twp-sales-os {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100dvh !important;
    }

    .twp-sales-os .twp-sidebar {
        width: 270px !important;
        max-width: 270px !important;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .twp-sales-os .twp-sidebar.mobile-open {
        transform: translateX(0);
    }

    .twp-sales-os .twp-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .twp-sales-os .twp-topbar {
        display: none !important;
    }

    .twp-sales-os .twp-dashboard-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px 14px 90px !important;
    }
}

/* ---------------------------------------------------------
   READABILITY
   --------------------------------------------------------- */

.twp-sales-os {
    font-size: 15px !important;
}

.twp-sales-os .twp-nav-item {
    font-size: 14px !important;
}

.twp-sales-os .twp-search input {
    font-size: 14px !important;
}

.twp-sales-os .twp-page-heading h1 {
    font-size: 30px !important;
}

.twp-sales-os .twp-page-heading p {
    font-size: 15px !important;
}

.twp-sales-os .twp-summary-card span {
    font-size: 12px !important;
}

.twp-sales-os .twp-summary-card strong {
    font-size: 25px !important;
}

.twp-sales-os .twp-summary-card a,
.twp-sales-os .twp-summary-card small {
    font-size: 11px !important;
}

.twp-sales-os .twp-panel-header h2 {
    font-size: 17px !important;
}

.twp-sales-os .twp-panel-header a {
    font-size: 11px !important;
}

.twp-sales-os .twp-priority-item time {
    font-size: 11px !important;
}

.twp-sales-os .twp-priority-item strong {
    font-size: 13px !important;
}

.twp-sales-os .twp-priority-item span {
    font-size: 10px !important;
}

.twp-sales-os .tag {
    font-size: 9px !important;
}

.twp-sales-os .pulse-current span,
.twp-sales-os .pulse-next span {
    font-size: 10px !important;
}

.twp-sales-os .pulse-current strong,
.twp-sales-os .pulse-next strong,
.twp-sales-os .pulse-current b,
.twp-sales-os .pulse-next b {
    font-size: 12px !important;
}

.twp-sales-os .twp-alert strong {
    font-size: 11px !important;
}

.twp-sales-os .twp-alert small {
    font-size: 10px !important;
}

.twp-sales-os .twp-ai-content strong {
    font-size: 13px !important;
}

.twp-sales-os .twp-ai-content p {
    font-size: 11px !important;
    line-height: 1.55 !important;
}

/* ---------------------------------------------------------
   MOBILE READABILITY
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .twp-sales-os {
        font-size: 14px !important;
    }

    .twp-sales-os .twp-page-heading h1 {
        font-size: 24px !important;
    }

    .twp-sales-os .twp-page-heading p {
        font-size: 13px !important;
    }

    .twp-sales-os .twp-summary-card span {
        font-size: 11px !important;
    }

    .twp-sales-os .twp-summary-card strong {
        font-size: 21px !important;
    }

    .twp-sales-os .twp-panel-header h2 {
        font-size: 15px !important;
    }

    .twp-sales-os .twp-priority-item strong {
        font-size: 12px !important;
    }

    .twp-sales-os .twp-ai-content p {
        font-size: 11px !important;
    }
}

/* =========================================================
   TWP SALES OS
   01. TODAY / EMPLOYEE STATUS
   ========================================================= */

.twp-today-status {
    width: 100%;
    margin-bottom: 24px;
    background: var(--twp-white);
    border: 1px solid var(--twp-border);
    border-radius: 16px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   STATUS MAIN HEADER
   --------------------------------------------------------- */

.twp-status-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
}


.twp-status-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}


.twp-status-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--twp-blue),
        var(--twp-purple)
    );

    color: #fff;
    font-size: 19px;
    font-weight: 800;
}


.twp-status-employee {
    display: flex;
    flex-direction: column;
}


.twp-status-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--twp-muted);
}


.twp-status-employee h2 {
    margin: 2px 0 5px;
    font-size: 19px;
    line-height: 1.2;
    color: var(--twp-text);
}


.twp-live-status-row {
    display: flex;
    align-items: center;
    gap: 7px;
}


.twp-live-status-row strong {
    font-size: 13px;
    color: var(--twp-green);
}


.twp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--twp-green);
    box-shadow: 0 0 0 4px rgba(39,169,107,.10);
}


.twp-status-change {
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--twp-blue);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}


/* ---------------------------------------------------------
   LIVE CLOCK
   --------------------------------------------------------- */

.twp-live-clock {
    text-align: right;
    display: flex;
    flex-direction: column;
}


.twp-live-clock span {
    font-size: 10px;
    font-weight: 700;
    color: var(--twp-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
}


.twp-live-clock strong {
    margin-top: 2px;
    font-size: 25px;
    line-height: 1.15;
    color: var(--twp-text);
    letter-spacing: -.5px;
}


.twp-live-clock small {
    margin-top: 3px;
    font-size: 11px;
    color: var(--twp-muted);
}


/* ---------------------------------------------------------
   STATUS OPTIONS
   --------------------------------------------------------- */

.twp-status-options {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 24px;

    border-top: 1px solid var(--twp-border);
    background: #fafbfe;
}


.twp-status-options button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 12px;

    border: 1px solid var(--twp-border);
    border-radius: 7px;

    background: #fff;

    color: var(--twp-text);
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.twp-status-options button.active {
    border-color: var(--twp-blue);
    color: var(--twp-blue);
}


.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}


.status-dot.working {
    background: var(--twp-green);
}


.status-dot.away {
    background: #f3a52f;
}


.status-dot.break {
    background: var(--twp-purple);
}


.status-dot.offline {
    background: #9aa4b2;
}


/* ---------------------------------------------------------
   STATUS METRICS
   --------------------------------------------------------- */

.twp-status-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--twp-border);
}


.twp-status-metric {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 20px;

    border-right: 1px solid var(--twp-border);
}


.twp-status-metric:last-child {
    border-right: 0;
}


.twp-status-metric-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #edf3ff;
    color: var(--twp-blue);

    font-size: 17px;
    font-weight: 800;
}


.twp-status-metric-icon.activity {
    background: #f0ecff;
    color: var(--twp-purple);
}


.twp-status-metric-icon.checkin {
    background: #eaf8f1;
    color: var(--twp-green);
}


.twp-status-metric-icon.current {
    background: #fff3e3;
    color: var(--twp-orange);
}


.twp-status-metric > div:last-child {
    min-width: 0;
}


.twp-status-metric span {
    display: block;

    font-size: 11px;
    color: var(--twp-muted);
}


.twp-status-metric strong {
    display: block;

    margin-top: 2px;

    font-size: 16px;
    line-height: 1.25;

    color: var(--twp-text);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.twp-status-metric small {
    display: block;

    margin-top: 3px;

    font-size: 10px;
    color: var(--twp-muted);
}


/* ---------------------------------------------------------
   ACTIVITY PROGRESS
   --------------------------------------------------------- */

.twp-mini-progress {
    width: 90px;
    height: 5px;

    margin-top: 6px;

    background: #e9edf4;
    border-radius: 20px;

    overflow: hidden;
}


.twp-mini-progress span {
    display: block;
    height: 100%;

    background: var(--twp-blue);
    border-radius: inherit;
}


.twp-checkin-success {
    color: var(--twp-green) !important;
}


/* ---------------------------------------------------------
   NEXT ACTIVITY
   --------------------------------------------------------- */

.twp-next-activity {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 24px;

    border-top: 1px solid var(--twp-border);
    background: #fbfcff;
}


.twp-next-activity-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--twp-navy);
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}


.twp-next-activity-content {
    min-width: 0;
    flex: 1;

    display: flex;
    flex-direction: column;
}


.twp-next-activity-content span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--twp-muted);
}


.twp-next-activity-content strong {
    margin-top: 2px;

    font-size: 13px;
    color: var(--twp-text);
}


.twp-next-activity-content small {
    margin-top: 2px;

    font-size: 10px;
    color: var(--twp-muted);
}


.twp-next-activity > a {
    flex: 0 0 auto;

    color: var(--twp-blue);
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .twp-status-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .twp-status-metric:nth-child(2) {
        border-right: 0;
    }

    .twp-status-metric:nth-child(-n+2) {
        border-bottom: 1px solid var(--twp-border);
    }

}


@media (max-width: 760px) {

    .twp-status-main {
        align-items: flex-start;
        padding: 18px;
    }

    .twp-status-avatar {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 16px;
    }

    .twp-status-employee h2 {
        font-size: 16px;
    }

    .twp-live-clock strong {
        font-size: 20px;
    }

    .twp-live-clock small {
        font-size: 9px;
    }

    .twp-status-options {
        padding: 10px 18px;
        overflow-x: auto;
    }

    .twp-status-options button {
        flex: 0 0 auto;
    }

    .twp-status-metrics {
        grid-template-columns: 1fr;
    }

    .twp-status-metric,
    .twp-status-metric:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--twp-border);
    }

    .twp-status-metric:last-child {
        border-bottom: 0;
    }

    .twp-next-activity {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .twp-next-activity > a {
        display: none;
    }

}
/* =========================================================
   02. TODAY'S PRIORITIES
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-priorities-panel {

    width: 100% !important;

    margin: 0 0 28px 0 !important;

    padding: 28px 30px !important;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-priorities-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    width: 100%;

    margin-bottom: 18px;

}


.twp-sales-os .twp-section-eyebrow {

    display: block;

    margin-bottom: 6px;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 0.08em;

    color: #7b879d;

}


.twp-sales-os .twp-priorities-header h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-priorities-header p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


.twp-sales-os .twp-section-link {

    flex-shrink: 0;

    margin-top: 22px;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;

    color: #2563eb;

    text-decoration: none;

    white-space: nowrap;

}


.twp-sales-os .twp-section-link:hover {

    text-decoration: underline;

}


/* ---------------------------------------------------------
   PRIORITY LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-list {

    display: block;

    width: 100% !important;

    max-width: none !important;

    margin: 0;

    padding: 0;

}


/* ---------------------------------------------------------
   PRIORITY ROW
   FULL AVAILABLE WIDTH
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-item {

    display: grid;

    width: 100% !important;

    max-width: none !important;

    grid-template-columns:
        42px
        100px
        minmax(0, 1fr)
        82px
        90px
        70px;

    align-items: center;

    column-gap: 18px;

    min-height: 88px;

    padding: 15px 4px;

    border-top: 1px solid #edf0f5;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   NUMBER
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-number {

    font-size: 13px;

    line-height: 1.3;

    font-weight: 700;

    color: #9aa6b8;

}


/* ---------------------------------------------------------
   TIME
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-time {

    font-size: 13px;

    line-height: 1.4;

    font-weight: 600;

    color: #728098;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-content {

    min-width: 0;

    width: 100%;

}


.twp-sales-os .twp-priority-content h3 {

    margin: 0;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-priority-company {

    margin: 4px 0 0;

    font-size: 12px;

    line-height: 1.4;

    color: #60708a;

}


.twp-sales-os .twp-priority-context {

    margin: 4px 0 0;

    font-size: 12px;

    line-height: 1.4;

    color: #8a96a8;

}


/* ---------------------------------------------------------
   PRIORITY LEVEL
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-level {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 68px;

    min-width: 68px;

    padding: 6px 7px;

    border-radius: 6px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

    box-sizing: border-box;

}


.twp-sales-os .twp-priority-level.high {

    color: #c2410c;

    background: #fff1e8;

}


.twp-sales-os .twp-priority-level.medium {

    color: #8a5a00;

    background: #fff7df;

}


/* ---------------------------------------------------------
   ACTION
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-action {

    display: inline-flex;

    justify-content: flex-start;

    align-items: center;

    font-size: 12px;

    line-height: 1.4;

    font-weight: 600;

    color: #2563eb;

    text-decoration: none;

    text-align: left;

    white-space: nowrap;

}


.twp-sales-os .twp-priority-action:hover {

    color: #1749b8;

}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-status {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-width: 58px;

    font-size: 11px;

    line-height: 1.4;

    font-weight: 500;

    color: #7b879d;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   COMPLETED STATE
   --------------------------------------------------------- */

.twp-sales-os .twp-priority-item.completed {

    opacity: 0.58;

}


.twp-sales-os .twp-priority-item.completed
.twp-priority-content h3 {

    text-decoration: line-through;

}


.twp-sales-os .twp-priority-item.opened {

    background: #f8faff;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-priorities-panel {

        width: 100% !important;

        margin-bottom: 20px !important;

        padding: 20px 16px !important;

        border-radius: 14px;

    }


    /* HEADER */

    .twp-sales-os .twp-priorities-header {

        display: flex;

        flex-direction: column;

        gap: 8px;

        margin-bottom: 12px;

    }


    .twp-sales-os .twp-section-eyebrow {

        font-size: 10px;

    }


    .twp-sales-os .twp-priorities-header h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-priorities-header p {

        font-size: 12px;

    }


    .twp-sales-os .twp-section-link {

        margin-top: 2px;

        font-size: 12px;

    }


    /* PRIORITY ROW */

    .twp-sales-os .twp-priority-item {

        display: grid;

        width: 100% !important;

        grid-template-columns:
            32px
            minmax(0, 1fr)
            auto;

        align-items: start;

        column-gap: 10px;

        row-gap: 7px;

        min-height: auto;

        padding: 15px 0;

    }


    /* NUMBER */

    .twp-sales-os .twp-priority-number {

        grid-column: 1;

        grid-row: 1 / span 3;

        padding-top: 2px;

        font-size: 12px;

    }


    /* TIME */

    .twp-sales-os .twp-priority-time {

        grid-column: 2;

        grid-row: 1;

        font-size: 11px;

    }


    /* CONTENT */

    .twp-sales-os .twp-priority-content {

        grid-column: 2;

        grid-row: 2;

        width: 100%;

    }


    .twp-sales-os .twp-priority-content h3 {

        font-size: 14px;

    }


    .twp-sales-os .twp-priority-company {

        font-size: 11px;

    }


    .twp-sales-os .twp-priority-context {

        display: none;

    }


    /* PRIORITY */

    .twp-sales-os .twp-priority-level {

        grid-column: 3;

        grid-row: 1;

        width: auto;

        min-width: 58px;

        padding: 5px 7px;

        font-size: 9px;

    }


    /* ACTION */

    .twp-sales-os .twp-priority-action {

        grid-column: 3;

        grid-row: 2;

        align-self: center;

        font-size: 11px;

    }


    /* STATUS */

    .twp-sales-os .twp-priority-status {

        display: none;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-priorities-panel {

        padding-left: 14px !important;

        padding-right: 14px !important;

    }


    .twp-sales-os .twp-priority-item {

        grid-template-columns:
            28px
            minmax(0, 1fr)
            auto;

        column-gap: 8px;

    }


    .twp-sales-os .twp-priority-content h3 {

        font-size: 13px;

    }


    .twp-sales-os .twp-priority-company {

        font-size: 10px;

    }


    .twp-sales-os .twp-priority-level {

        min-width: 52px;

        padding-left: 5px;

        padding-right: 5px;

    }

}
/* =========================================================
   03. TODAY'S SCHEDULE
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-schedule-panel {

    width: 100% !important;

    margin: 0 0 28px 0 !important;

    padding: 28px 30px !important;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    width: 100%;

    margin-bottom: 20px;

}


.twp-sales-os .twp-schedule-heading {

    min-width: 0;

}


.twp-sales-os .twp-schedule-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-schedule-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   DATE BOX
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-date {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 112px;

    padding: 10px 14px;

    border: 1px solid #e3e8f0;

    border-radius: 10px;

    background: #fafbfe;

}


.twp-sales-os .twp-schedule-date span {

    font-size: 10px;

    font-weight: 700;

    color: #7b879d;

}


.twp-sales-os .twp-schedule-date strong {

    font-size: 22px;

    line-height: 1;

    color: #0b1b33;

}


.twp-sales-os .twp-schedule-date small {

    font-size: 10px;

    font-weight: 700;

    color: #7b879d;

}


/* ---------------------------------------------------------
   SCHEDULE LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-list {

    width: 100%;

    margin: 0;

    padding: 0;

}


/* ---------------------------------------------------------
   SCHEDULE ITEM
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-item {

    display: grid;

    grid-template-columns:
        76px
        24px
        minmax(0, 1fr);

    column-gap: 16px;

    width: 100%;

    min-height: 116px;

    padding: 18px 0;

    border-top: 1px solid #edf0f5;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   TIME
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-time {

    display: flex;

    align-items: flex-start;

    justify-content: flex-end;

    gap: 4px;

    padding-top: 2px;

}


.twp-sales-os .twp-schedule-time strong {

    font-size: 14px;

    line-height: 1.3;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-schedule-time span {

    font-size: 10px;

    line-height: 1.5;

    font-weight: 700;

    color: #7b879d;

}


/* ---------------------------------------------------------
   TIMELINE
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-line {

    position: relative;

    display: flex;

    justify-content: center;

    width: 24px;

}


.twp-sales-os .twp-schedule-line::before {

    content: "";

    position: absolute;

    top: 8px;

    bottom: -18px;

    left: 50%;

    width: 1px;

    background: #dfe5ee;

    transform: translateX(-50%);

}


.twp-sales-os .twp-schedule-item:last-child
.twp-schedule-line::before {

    display: none;

}


.twp-sales-os .twp-schedule-dot {

    position: relative;

    z-index: 2;

    width: 10px;

    height: 10px;

    margin-top: 5px;

    border: 3px solid #ffffff;

    border-radius: 50%;

    background: #2563eb;

    box-shadow: 0 0 0 1px #2563eb;

    box-sizing: border-box;

}


.twp-sales-os .twp-schedule-item.completed
.twp-schedule-dot {

    background: #27a96b;

    box-shadow: 0 0 0 1px #27a96b;

}


.twp-sales-os .twp-schedule-item.next
.twp-schedule-dot {

    background: #7c3aed;

    box-shadow: 0 0 0 1px #7c3aed;

}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-content {

    min-width: 0;

}


.twp-sales-os .twp-schedule-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

}


.twp-sales-os .twp-schedule-type {

    display: inline-block;

    margin-bottom: 4px;

    font-size: 10px;

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;

    color: #7b879d;

}


.twp-sales-os .twp-schedule-content h3 {

    margin: 0;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-schedule-content > p {

    margin: 5px 0 0;

    font-size: 12px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-status {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 5px 9px;

    border-radius: 6px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

}


.twp-sales-os .twp-schedule-status.completed {

    color: #16734b;

    background: #eaf8f1;

}


.twp-sales-os .twp-schedule-status.upcoming {

    color: #2459b8;

    background: #edf3ff;

}


.twp-sales-os .twp-schedule-status.next {

    color: #6332b8;

    background: #f0eaff;

}


.twp-sales-os .twp-schedule-status.planned {

    color: #8a5a00;

    background: #fff7df;

}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 6px 18px;

    margin-top: 9px;

}


.twp-sales-os .twp-schedule-meta span {

    font-size: 11px;

    line-height: 1.4;

    color: #7b879d;

}


.twp-sales-os .twp-schedule-meta span + span::before {

    content: "•";

    margin-right: 18px;

    color: #c0c7d2;

}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 10px;

}


.twp-sales-os .twp-schedule-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 30px;

    padding: 6px 11px;

    border: 1px solid #dfe5ee;

    border-radius: 7px;

    background: #ffffff;

    color: #2563eb;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 700;

    cursor: pointer;

}


.twp-sales-os .twp-schedule-action:hover {

    background: #f5f8ff;

}


.twp-sales-os .twp-schedule-action.primary {

    border-color: #2563eb;

    background: #2563eb;

    color: #ffffff;

}


/* ---------------------------------------------------------
   COMPLETED ITEM
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-item.completed
.twp-schedule-content {

    opacity: .72;

}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.twp-sales-os .twp-schedule-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-top: 4px;

    padding-top: 15px;

    border-top: 1px solid #edf0f5;

}


.twp-sales-os .twp-schedule-footer span {

    font-size: 11px;

    color: #7b879d;

}


.twp-sales-os .twp-schedule-footer a {

    font-size: 12px;

    font-weight: 700;

    color: #2563eb;

    text-decoration: none;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .twp-sales-os .twp-schedule-panel {

        margin-bottom: 20px !important;

        padding: 20px 16px !important;

        border-radius: 14px;

    }


    .twp-sales-os .twp-schedule-header {

        align-items: flex-start;

        gap: 12px;

        margin-bottom: 12px;

    }


    .twp-sales-os .twp-schedule-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-schedule-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-schedule-date {

        min-width: 88px;

        padding: 8px 9px;

    }


    .twp-sales-os .twp-schedule-date strong {

        font-size: 18px;

    }


    .twp-sales-os .twp-schedule-item {

        grid-template-columns:
            55px
            18px
            minmax(0, 1fr);

        column-gap: 10px;

        min-height: auto;

        padding: 15px 0;

    }


    .twp-sales-os .twp-schedule-time {

        gap: 2px;

    }


    .twp-sales-os .twp-schedule-time strong {

        font-size: 12px;

    }


    .twp-sales-os .twp-schedule-time span {

        font-size: 9px;

    }


    .twp-sales-os .twp-schedule-line {

        width: 18px;

    }


    .twp-sales-os .twp-schedule-content h3 {

        font-size: 14px;

    }


    .twp-sales-os .twp-schedule-content > p {

        font-size: 11px;

    }


    .twp-sales-os .twp-schedule-top {

        display: block;

    }


    .twp-sales-os .twp-schedule-status {

        margin-top: 7px;

        font-size: 9px;

    }


    .twp-sales-os .twp-schedule-meta {

        gap: 4px 10px;

    }


    .twp-sales-os .twp-schedule-meta span {

        font-size: 10px;

    }


    .twp-sales-os .twp-schedule-meta span + span::before {

        margin-right: 10px;

    }


    .twp-sales-os .twp-schedule-action {

        min-height: 28px;

        padding: 5px 9px;

        font-size: 10px;

    }


    .twp-sales-os .twp-schedule-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 6px;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-schedule-header {

        display: block;

    }


    .twp-sales-os .twp-schedule-date {

        width: fit-content;

        margin-top: 12px;

    }


    .twp-sales-os .twp-schedule-item {

        grid-template-columns:
            48px
            16px
            minmax(0, 1fr);

        column-gap: 8px;

    }

}
/* =========================================================
   04. FOLLOW-UPS
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-followups-panel {

    width: 100% !important;

    margin: 0 0 28px 0 !important;

    padding: 28px 30px !important;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-followups-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 20px;

}


.twp-sales-os .twp-followups-heading {

    min-width: 0;

}


.twp-sales-os .twp-followups-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-followups-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-summary {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    width: 100%;

    margin-bottom: 4px;

}


.twp-sales-os .twp-followup-summary-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 12px 15px;

    border: 1px solid #edf0f5;

    border-radius: 9px;

    background: #fafbfe;

}


.twp-sales-os .twp-followup-summary-item span {

    font-size: 11px;

    color: #71809a;

}


.twp-sales-os .twp-followup-summary-item strong {

    font-size: 18px;

    line-height: 1;

    color: #10213b;

}


.twp-sales-os .twp-followup-summary-item.overdue strong {

    color: #d14b32;

}


/* ---------------------------------------------------------
   FOLLOW-UP LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-list {

    width: 100%;

}


.twp-sales-os .twp-followup-item {

    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr)
        auto;

    align-items: center;

    column-gap: 16px;

    width: 100%;

    padding: 18px 4px;

    border-top: 1px solid #edf0f5;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   PRIORITY MARKER
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-priority {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: #edf3ff;

    color: #2563eb;

    font-size: 12px;

    font-weight: 800;

}


.twp-sales-os .twp-followup-item.overdue
.twp-followup-priority {

    background: #fff0ec;

    color: #d14b32;

}


/* ---------------------------------------------------------
   MAIN CONTENT
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-main {

    min-width: 0;

}


.twp-sales-os .twp-followup-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

}


.twp-sales-os .twp-followup-type {

    display: inline-block;

    margin-bottom: 4px;

    font-size: 9px;

    line-height: 1.3;

    font-weight: 800;

    letter-spacing: .06em;

}


.twp-sales-os .twp-followup-type.call {

    color: #2563eb;

}


.twp-sales-os .twp-followup-type.email {

    color: #7c3aed;

}


.twp-sales-os .twp-followup-type.meeting {

    color: #168458;

}


.twp-sales-os .twp-followup-type.whatsapp {

    color: #8a5a00;

}


.twp-sales-os .twp-followup-main h3 {

    margin: 0;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


/* ---------------------------------------------------------
   CLIENT
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-client {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 6px 14px;

    margin-top: 5px;

}


.twp-sales-os .twp-followup-client strong {

    font-size: 12px;

    color: #42536d;

}


.twp-sales-os .twp-followup-client span {

    font-size: 11px;

    color: #8a96a8;

}


.twp-sales-os .twp-followup-main > p {

    margin: 5px 0 0;

    font-size: 12px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 5px 18px;

    margin-top: 9px;

}


.twp-sales-os .twp-followup-meta span {

    font-size: 10px;

    line-height: 1.4;

    color: #7b879d;

}


.twp-sales-os .twp-followup-meta span + span::before {

    content: "•";

    margin-right: 18px;

    color: #c0c7d2;

}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-status {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 5px 9px;

    border-radius: 6px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

}


.twp-sales-os .twp-followup-status.overdue {

    color: #c2410c;

    background: #fff0ec;

}


.twp-sales-os .twp-followup-status.due {

    color: #2459b8;

    background: #edf3ff;

}


.twp-sales-os .twp-followup-status.upcoming {

    color: #6332b8;

    background: #f0eaff;

}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.twp-sales-os .twp-followup-actions {

    display: flex;

    align-items: center;

    gap: 7px;

}


.twp-sales-os .twp-followup-action {

    min-height: 30px;

    padding: 6px 11px;

    border: 1px solid #dfe5ee;

    border-radius: 7px;

    background: #ffffff;

    color: #2563eb;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 700;

    cursor: pointer;

}


.twp-sales-os .twp-followup-action.primary {

    border-color: #2563eb;

    background: #2563eb;

    color: #ffffff;

}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.twp-sales-os .twp-followups-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding-top: 15px;

    border-top: 1px solid #edf0f5;

}


.twp-sales-os .twp-followups-footer span {

    font-size: 11px;

    color: #7b879d;

}


.twp-sales-os .twp-followups-footer a {

    font-size: 12px;

    font-weight: 700;

    color: #2563eb;

    text-decoration: none;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .twp-sales-os .twp-followups-panel {

        margin-bottom: 20px !important;

        padding: 20px 16px !important;

        border-radius: 14px;

    }


    .twp-sales-os .twp-followups-header {

        display: block;

        margin-bottom: 14px;

    }


    .twp-sales-os .twp-followups-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-followups-heading p {

        font-size: 12px;

    }


    /* Summary */

    .twp-sales-os .twp-followup-summary {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        margin-bottom: 4px;

    }


    .twp-sales-os .twp-followup-summary-item {

        padding: 10px 11px;

    }


    .twp-sales-os .twp-followup-summary-item span {

        font-size: 10px;

    }


    .twp-sales-os .twp-followup-summary-item strong {

        font-size: 16px;

    }


    /* Follow-up */

    .twp-sales-os .twp-followup-item {

        grid-template-columns:
            24px
            minmax(0, 1fr);

        align-items: start;

        column-gap: 10px;

        row-gap: 10px;

        padding: 15px 0;

    }


    .twp-sales-os .twp-followup-priority {

        width: 22px;

        height: 22px;

        font-size: 11px;

    }


    .twp-sales-os .twp-followup-top {

        display: block;

    }


    .twp-sales-os .twp-followup-main h3 {

        font-size: 14px;

    }


    .twp-sales-os .twp-followup-status {

        margin-top: 7px;

        font-size: 9px;

    }


    .twp-sales-os .twp-followup-client strong {

        font-size: 11px;

    }


    .twp-sales-os .twp-followup-client span {

        font-size: 10px;

    }


    .twp-sales-os .twp-followup-main > p {

        font-size: 11px;

    }


    .twp-sales-os .twp-followup-meta {

        gap: 4px 10px;

    }


    .twp-sales-os .twp-followup-meta span {

        font-size: 9px;

    }


    .twp-sales-os .twp-followup-meta span + span::before {

        margin-right: 10px;

    }


    .twp-sales-os .twp-followup-actions {

        grid-column: 2;

        flex-wrap: wrap;

    }


    .twp-sales-os .twp-followup-action {

        min-height: 28px;

        padding: 5px 9px;

        font-size: 10px;

    }


    .twp-sales-os .twp-followups-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 6px;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-followup-summary {

        grid-template-columns:
            1fr 1fr;

    }


    .twp-sales-os .twp-followup-item {

        grid-template-columns:
            22px
            minmax(0, 1fr);

        column-gap: 8px;

    }

}
/* =========================================================
   05. BUSINESS IMPACT
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-business-impact-panel {

    width: 100%;

    margin: 0 0 28px 0;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-business-impact-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;

}


.twp-sales-os .twp-business-impact-heading {

    min-width: 0;

}


.twp-sales-os .twp-business-impact-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-business-impact-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


.twp-sales-os .twp-business-impact-period {

    flex-shrink: 0;

    min-width: 110px;

    padding: 9px 12px;

    border: 1px solid #e7ebf2;

    border-radius: 9px;

    background: #fafbfd;

    text-align: right;

}


.twp-sales-os .twp-business-impact-period span {

    display: block;

    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .08em;

    color: #8a96a8;

}


.twp-sales-os .twp-business-impact-period strong {

    font-size: 12px;

    font-weight: 700;

    color: #243653;

}


/* ---------------------------------------------------------
   IMPACT METRICS
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-metrics {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 18px;

}


.twp-sales-os .twp-impact-card {

    min-width: 0;

    padding: 18px;

    border: 1px solid #e8ecf2;

    border-radius: 12px;

    background: #fbfcfe;

    box-sizing: border-box;

}


.twp-sales-os .twp-impact-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 16px;

}


.twp-sales-os .twp-impact-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    border-radius: 9px;

    background: #eef3ff;

    color: #315fd3;

    font-size: 15px;

    font-weight: 700;

}


.twp-sales-os .twp-impact-change {

    font-size: 10px;

    font-weight: 700;

}


.twp-sales-os .twp-impact-change.positive {

    color: #18824b;

}


.twp-sales-os .twp-impact-label {

    display: block;

    margin-bottom: 5px;

    font-size: 12px;

    line-height: 1.4;

    color: #71809a;

}


.twp-sales-os .twp-impact-value {

    display: block;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 750;

    color: #0b1b33;

}


.twp-sales-os .twp-impact-card small {

    display: block;

    margin-top: 5px;

    font-size: 10px;

    line-height: 1.4;

    color: #8a96a8;

}


/* ---------------------------------------------------------
   DETAIL GRID
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-detail-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);

    gap: 18px;

    margin-bottom: 18px;

}


.twp-sales-os .twp-impact-detail {

    min-width: 0;

    padding: 22px;

    border: 1px solid #e8ecf2;

    border-radius: 12px;

    background: #ffffff;

    box-sizing: border-box;

}


.twp-sales-os .twp-impact-detail-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

    margin-bottom: 18px;

}


.twp-sales-os .twp-impact-detail-header h3 {

    margin: 0;

    font-size: 16px;

    line-height: 1.35;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-impact-badge,
.twp-sales-os .twp-impact-trend-label {

    flex-shrink: 0;

    font-size: 10px;

    font-weight: 700;

    color: #71809a;

}


.twp-sales-os .twp-impact-badge.positive {

    padding: 5px 8px;

    border-radius: 6px;

    color: #18824b;

    background: #edf9f2;

}


/* ---------------------------------------------------------
   BUSINESS VALUE
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-value-list {

    display: grid;

    gap: 0;

}


.twp-sales-os .twp-impact-value-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding: 11px 0;

    border-top: 1px solid #edf0f5;

}


.twp-sales-os .twp-impact-value-row:first-child {

    border-top: 0;

}


.twp-sales-os .twp-impact-value-row span {

    font-size: 12px;

    color: #71809a;

}


.twp-sales-os .twp-impact-value-row strong {

    font-size: 13px;

    color: #1b2d48;

}


/* ---------------------------------------------------------
   PROGRESS
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-progress {

    margin-top: 12px;

}


.twp-sales-os .twp-impact-progress-label {

    display: flex;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 7px;

    font-size: 10px;

    color: #71809a;

}


.twp-sales-os .twp-impact-progress-label strong {

    color: #243653;

}


.twp-sales-os .twp-impact-progress-track {

    width: 100%;

    height: 7px;

    overflow: hidden;

    border-radius: 999px;

    background: #edf1f6;

}


.twp-sales-os .twp-impact-progress-track span {

    display: block;

    height: 100%;

    border-radius: inherit;

    background: #315fd3;

}


/* ---------------------------------------------------------
   REVENUE CHART
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-chart-area {

    position: relative;

    height: 150px;

    padding: 8px 8px 30px;

    border-bottom: 1px solid #e9edf3;

    box-sizing: border-box;

}


.twp-sales-os .twp-impact-grid-line {

    position: relative;

    height: 33.333%;

    border-top: 1px dashed #edf0f5;

}


.twp-sales-os .twp-impact-bars {

    position: absolute;

    left: 8px;

    right: 8px;

    bottom: 0;

    top: 8px;

    display: flex;

    align-items: flex-end;

    justify-content: space-around;

    gap: 14px;

}


.twp-sales-os .twp-impact-bar {

    display: flex;

    align-items: center;

    flex-direction: column;

    justify-content: flex-end;

    width: 15%;

    height: 100%;

}


.twp-sales-os .twp-impact-bar span {

    display: block;

    width: 100%;

    max-width: 34px;

    min-height: 12px;

    border-radius: 6px 6px 2px 2px;

    background: #cbd8f7;

}


.twp-sales-os .twp-impact-bar.current span {

    background: #315fd3;

}


.twp-sales-os .twp-impact-bar small {

    margin-top: 7px;

    font-size: 9px;

    color: #8a96a8;

}


.twp-sales-os .twp-impact-chart-summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-top: 12px;

}


.twp-sales-os .twp-impact-chart-summary span {

    font-size: 11px;

    color: #71809a;

}


.twp-sales-os .twp-impact-chart-summary strong {

    font-size: 13px;

    color: #18824b;

}


/* ---------------------------------------------------------
   TOP BUSINESS CONTRIBUTIONS
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-contributions {

    padding: 22px;

    margin-bottom: 18px;

    border: 1px solid #e8ecf2;

    border-radius: 12px;

    background: #ffffff;

}


.twp-sales-os .twp-contribution-list {

    border-top: 1px solid #edf0f5;

}


.twp-sales-os .twp-contribution-row {

    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        90px
        100px;

    align-items: center;

    gap: 14px;

    min-height: 68px;

    padding: 10px 0;

    border-bottom: 1px solid #edf0f5;

    box-sizing: border-box;

}


.twp-sales-os .twp-contribution-rank {

    font-size: 11px;

    font-weight: 700;

    color: #9aa6b8;

}


.twp-sales-os .twp-contribution-info {

    min-width: 0;

}


.twp-sales-os .twp-contribution-info strong {

    display: block;

    overflow: hidden;

    font-size: 13px;

    line-height: 1.35;

    color: #10213b;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.twp-sales-os .twp-contribution-info span {

    display: block;

    margin-top: 3px;

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-contribution-value {

    font-size: 12px;

    text-align: right;

    color: #1b2d48;

}


.twp-sales-os .twp-contribution-status {

    justify-self: end;

    padding: 5px 7px;

    border-radius: 6px;

    font-size: 9px;

    font-weight: 700;

    color: #71809a;

    background: #f3f5f8;

}


.twp-sales-os .twp-contribution-status.positive {

    color: #18824b;

    background: #edf9f2;

}


.twp-sales-os .twp-contribution-status.attention {

    color: #a26400;

    background: #fff6df;

}


/* ---------------------------------------------------------
   TWP INTELLIGENCE INSIGHT
   --------------------------------------------------------- */

.twp-sales-os .twp-impact-insight {

    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 16px;

    padding: 18px 20px;

    border-radius: 12px;

    background: #f6f8ff;

    border: 1px solid #dfe6fb;

    box-sizing: border-box;

}


.twp-sales-os .twp-impact-insight-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 11px;

    background: #e8edff;

    color: #315fd3;

    font-size: 17px;

}


.twp-sales-os .twp-impact-insight-content {

    min-width: 0;

}


.twp-sales-os .twp-impact-insight-content > span {

    display: block;

    margin-bottom: 4px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .08em;

    color: #71809a;

}


.twp-sales-os .twp-impact-insight-content strong {

    display: block;

    font-size: 13px;

    line-height: 1.4;

    color: #10213b;

}


.twp-sales-os .twp-impact-insight-content p {

    margin: 4px 0 0;

    font-size: 11px;

    line-height: 1.5;

    color: #71809a;

}


.twp-sales-os .twp-impact-insight > a {

    flex-shrink: 0;

    font-size: 11px;

    font-weight: 700;

    color: #315fd3;

    text-decoration: none;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-business-impact-panel {

        margin-bottom: 20px;

        padding: 20px 16px;

        border-radius: 14px;

    }


    .twp-sales-os .twp-business-impact-header {

        flex-direction: column;

        gap: 12px;

        margin-bottom: 16px;

    }


    .twp-sales-os .twp-business-impact-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-business-impact-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-business-impact-period {

        width: 100%;

        text-align: left;

        box-sizing: border-box;

    }


    .twp-sales-os .twp-impact-metrics {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .twp-sales-os .twp-impact-card {

        padding: 14px;

    }


    .twp-sales-os .twp-impact-value {

        font-size: 21px;

    }


    .twp-sales-os .twp-impact-detail-grid {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .twp-sales-os .twp-impact-detail,
    .twp-sales-os .twp-impact-contributions {

        padding: 16px;

    }


    .twp-sales-os .twp-contribution-row {

        grid-template-columns:
            28px
            minmax(0, 1fr)
            auto;

        gap: 9px;

        min-height: 64px;

    }


    .twp-sales-os .twp-contribution-value {

        grid-column: 3;

        grid-row: 1;

    }


    .twp-sales-os .twp-contribution-status {

        grid-column: 2 / span 2;

        grid-row: 2;

        justify-self: start;

    }


    .twp-sales-os .twp-impact-insight {

        grid-template-columns:
            38px
            minmax(0, 1fr);

        gap: 12px;

        padding: 15px;

    }


    .twp-sales-os .twp-impact-insight-icon {

        width: 38px;

        height: 38px;

    }


    .twp-sales-os .twp-impact-insight > a {

        grid-column: 2;

        justify-self: start;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-impact-metrics {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-impact-card {

        padding: 15px;

    }


    .twp-sales-os .twp-impact-value {

        font-size: 22px;

    }


    .twp-sales-os .twp-impact-detail-header {

        gap: 10px;

    }


    .twp-sales-os .twp-impact-chart-summary {

        align-items: flex-start;

        flex-direction: column;

        gap: 5px;

    }


    .twp-sales-os .twp-contribution-row {

        grid-template-columns:
            25px
            minmax(0, 1fr);

    }


    .twp-sales-os .twp-contribution-value,
    .twp-sales-os .twp-contribution-status {

        grid-column: 2;

    }


    .twp-sales-os .twp-contribution-value {

        grid-row: 2;

        justify-self: start;

        text-align: left;

    }


    .twp-sales-os .twp-contribution-status {

        grid-row: 3;

    }

}
/* =========================================================
   06. OPPORTUNITIES
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-opportunities-panel {

    width: 100%;

    margin: 0 0 28px 0;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunities-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;

}


.twp-sales-os .twp-opportunities-heading {

    min-width: 0;

}


.twp-sales-os .twp-opportunities-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-opportunities-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-summary {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 20px;

}


.twp-sales-os .twp-opportunity-summary-card {

    padding: 16px 18px;

    background: #fbfcfe;

    border: 1px solid #e8ecf2;

    border-radius: 11px;

    box-sizing: border-box;

}


.twp-sales-os .twp-opportunity-summary-card span {

    display: block;

    margin-bottom: 6px;

    font-size: 11px;

    line-height: 1.4;

    color: #71809a;

}


.twp-sales-os .twp-opportunity-summary-card strong {

    display: block;

    font-size: 21px;

    line-height: 1.2;

    color: #0b1b33;

}


.twp-sales-os .twp-opportunity-summary-card small {

    display: block;

    margin-top: 5px;

    font-size: 9px;

    line-height: 1.4;

    color: #8a96a8;

}


/* ---------------------------------------------------------
   OPPORTUNITY LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-list {

    width: 100%;

    border-top: 1px solid #edf0f5;

}


/* ---------------------------------------------------------
   OPPORTUNITY ITEM
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-item {

    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr)
        90px;

    align-items: center;

    gap: 20px;

    min-height: 126px;

    padding: 18px 4px;

    border-bottom: 1px solid #edf0f5;

    box-sizing: border-box;

}


.twp-sales-os .twp-opportunity-stage {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 11px;

    font-weight: 600;

    color: #71809a;

}


.twp-sales-os .twp-opportunity-stage-dot {

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #9aa6b8;

}


.twp-sales-os .twp-opportunity-stage-dot.proposal {

    background: #315fd3;

}


.twp-sales-os .twp-opportunity-stage-dot.negotiation {

    background: #7956c9;

}


.twp-sales-os .twp-opportunity-stage-dot.qualification {

    background: #4b82c4;

}


.twp-sales-os .twp-opportunity-stage-dot.quotation {

    background: #d18b25;

}


.twp-sales-os .twp-opportunity-stage-dot.discovery {

    background: #7d8b9f;

}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-main {

    min-width: 0;

}


.twp-sales-os .twp-opportunity-title-row {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

}


.twp-sales-os .twp-opportunity-title-row h3 {

    margin: 0;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-opportunity-title-row > div > span {

    display: block;

    margin-top: 3px;

    font-size: 11px;

    color: #8a96a8;

}


.twp-sales-os .twp-opportunity-value {

    flex-shrink: 0;

    font-size: 15px;

    color: #172b4d;

}


/* ---------------------------------------------------------
   DETAILS
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-details {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 10px;

}


.twp-sales-os .twp-opportunity-details span {

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-opportunity-details strong {

    color: #52627a;

}


/* ---------------------------------------------------------
   NEXT ACTION
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-next {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 10px;

}


.twp-sales-os .twp-opportunity-next span {

    flex-shrink: 0;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .06em;

    color: #8a96a8;

}


.twp-sales-os .twp-opportunity-next strong {

    overflow: hidden;

    font-size: 10px;

    font-weight: 600;

    color: #52627a;

    text-overflow: ellipsis;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunity-actions {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 10px;

}


.twp-sales-os .twp-opportunity-priority {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 52px;

    padding: 5px 7px;

    border-radius: 6px;

    font-size: 9px;

    font-weight: 700;

}


.twp-sales-os .twp-opportunity-priority.high {

    color: #c2410c;

    background: #fff1e8;

}


.twp-sales-os .twp-opportunity-priority.medium {

    color: #8a5a00;

    background: #fff7df;

}


.twp-sales-os .twp-opportunity-priority.low {

    color: #60708a;

    background: #f1f4f7;

}


.twp-sales-os .twp-opportunity-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 58px;

    padding: 6px 9px;

    border: 1px solid #dce3ee;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    box-sizing: border-box;

}


.twp-sales-os .twp-opportunity-action.primary {

    background: #f1f5ff;

    border-color: #dce5fb;

}


.twp-sales-os .twp-opportunity-action:hover {

    background: #eaf0ff;

}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.twp-sales-os .twp-opportunities-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 16px;

}


.twp-sales-os .twp-opportunities-footer span {

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-opportunities-footer a {

    font-size: 11px;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-opportunities-panel {

        margin-bottom: 20px;

        padding: 20px 16px;

        border-radius: 14px;

    }


    .twp-sales-os .twp-opportunities-header {

        flex-direction: column;

        gap: 8px;

        margin-bottom: 16px;

    }


    .twp-sales-os .twp-opportunities-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-opportunities-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-opportunity-summary {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;

    }


    .twp-sales-os .twp-opportunity-summary-card {

        padding: 13px;

    }


    .twp-sales-os .twp-opportunity-summary-card strong {

        font-size: 19px;

    }


    .twp-sales-os .twp-opportunity-item {

        grid-template-columns:
            1fr auto;

        align-items: start;

        gap: 12px;

        min-height: auto;

        padding: 17px 0;

    }


    .twp-sales-os .twp-opportunity-stage {

        grid-column: 1 / span 2;

        grid-row: 1;

    }


    .twp-sales-os .twp-opportunity-main {

        grid-column: 1;

        grid-row: 2;

    }


    .twp-sales-os .twp-opportunity-actions {

        grid-column: 2;

        grid-row: 2;

    }


    .twp-sales-os .twp-opportunity-title-row {

        gap: 10px;

    }


    .twp-sales-os .twp-opportunity-title-row h3 {

        font-size: 14px;

    }


    .twp-sales-os .twp-opportunity-title-row > div > span {

        font-size: 10px;

    }


    .twp-sales-os .twp-opportunity-value {

        font-size: 13px;

    }


    .twp-sales-os .twp-opportunity-details {

        gap: 7px 12px;

        flex-direction: column;

    }


    .twp-sales-os .twp-opportunity-next {

        align-items: flex-start;

        flex-direction: column;

        gap: 3px;

    }


    .twp-sales-os .twp-opportunity-next strong {

        white-space: normal;

    }


    .twp-sales-os .twp-opportunities-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-opportunity-summary {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-opportunity-item {

        grid-template-columns:
            minmax(0, 1fr);

    }


    .twp-sales-os .twp-opportunity-stage,
    .twp-sales-os .twp-opportunity-main,
    .twp-sales-os .twp-opportunity-actions {

        grid-column: 1;

    }


    .twp-sales-os .twp-opportunity-stage {

        grid-row: 1;

    }


    .twp-sales-os .twp-opportunity-main {

        grid-row: 2;

    }


    .twp-sales-os .twp-opportunity-actions {

        grid-row: 3;

        align-items: flex-start;

        flex-direction: row;

    }

}
/* =========================================================
   07. MY TASKS
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-my-tasks-panel {

    width: 100%;

    margin: 0 0 28px 0;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-my-tasks-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;

}


.twp-sales-os .twp-my-tasks-heading {

    min-width: 0;

}


.twp-sales-os .twp-my-tasks-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-my-tasks-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   TASK SUMMARY
   --------------------------------------------------------- */

.twp-sales-os .twp-task-summary {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 20px;

}


.twp-sales-os .twp-task-summary-card {

    padding: 15px 16px;

    background: #fbfcfe;

    border: 1px solid #e8ecf2;

    border-radius: 10px;

    box-sizing: border-box;

}


.twp-sales-os .twp-task-summary-card span {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    line-height: 1.4;

    color: #71809a;

}


.twp-sales-os .twp-task-summary-card strong {

    display: block;

    font-size: 21px;

    line-height: 1.2;

    color: #0b1b33;

}


.twp-sales-os .twp-task-summary-card small {

    display: block;

    margin-top: 4px;

    font-size: 9px;

    color: #8a96a8;

}


.twp-sales-os .twp-task-summary-card.overdue strong {

    color: #c2410c;

}


.twp-sales-os .twp-task-summary-card.completed strong {

    color: #18824b;

}


/* ---------------------------------------------------------
   TASK LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-my-task-list {

    border-top: 1px solid #edf0f5;

}


/* ---------------------------------------------------------
   TASK ITEM
   --------------------------------------------------------- */

.twp-sales-os .twp-my-task-item {

    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr)
        72px;

    align-items: start;

    gap: 16px;

    min-height: 112px;

    padding: 17px 4px;

    border-bottom: 1px solid #edf0f5;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   STATUS DOT
   --------------------------------------------------------- */

.twp-sales-os .twp-task-check {

    padding-top: 5px;

}


.twp-sales-os .twp-task-status-dot {

    display: block;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #9aa6b8;

}


.twp-sales-os .twp-task-status-dot.in-progress {

    background: #315fd3;

}


.twp-sales-os .twp-task-status-dot.to-do {

    background: #a7b1c0;

}


.twp-sales-os .twp-task-status-dot.overdue {

    background: #d05b35;

}


/* ---------------------------------------------------------
   TASK MAIN
   --------------------------------------------------------- */

.twp-sales-os .twp-my-task-main {

    min-width: 0;

}


.twp-sales-os .twp-my-task-title-row {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 18px;

}


.twp-sales-os .twp-task-type {

    display: block;

    margin-bottom: 4px;

    font-size: 8px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .07em;

    color: #8a96a8;

}


.twp-sales-os .twp-my-task-title-row h3 {

    margin: 0;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-my-task-main > p {

    margin: 5px 0 0;

    font-size: 11px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   PRIORITY
   --------------------------------------------------------- */

.twp-sales-os .twp-task-priority {

    flex-shrink: 0;

    min-width: 52px;

    padding: 5px 7px;

    border-radius: 6px;

    font-size: 9px;

    line-height: 1.2;

    font-weight: 700;

    text-align: center;

    box-sizing: border-box;

}


.twp-sales-os .twp-task-priority.high {

    color: #c2410c;

    background: #fff1e8;

}


.twp-sales-os .twp-task-priority.medium {

    color: #8a5a00;

    background: #fff7df;

}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.twp-sales-os .twp-task-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 7px 16px;

    margin-top: 9px;

}


.twp-sales-os .twp-task-meta span {

    font-size: 9px;

    line-height: 1.4;

    color: #8a96a8;

}


.twp-sales-os .twp-task-meta .task-overdue-text {

    color: #c2410c;

    font-weight: 700;

}


/* ---------------------------------------------------------
   ACTION
   --------------------------------------------------------- */

.twp-sales-os .twp-my-task-action {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    padding-top: 20px;

}


.twp-sales-os .twp-task-open {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 58px;

    padding: 6px 9px;

    border: 1px solid #dce3ee;

    border-radius: 6px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    box-sizing: border-box;

}


.twp-sales-os .twp-task-open.primary {

    background: #f1f5ff;

    border-color: #dce5fb;

}


.twp-sales-os .twp-task-open.danger {

    color: #c2410c;

    background: #fff5ef;

    border-color: #f2d7ca;

}


.twp-sales-os .twp-task-open:hover {

    background: #eaf0ff;

}


.twp-sales-os .twp-task-open.danger:hover {

    background: #ffede4;

}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.twp-sales-os .twp-my-tasks-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 16px;

}


.twp-sales-os .twp-my-tasks-footer span {

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-my-tasks-footer a {

    font-size: 11px;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   OVERDUE TASK
   --------------------------------------------------------- */

.twp-sales-os .twp-my-task-item.overdue {

    background: #fffdfc;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-my-tasks-panel {

        margin-bottom: 20px;

        padding: 20px 16px;

        border-radius: 14px;

    }


    .twp-sales-os .twp-my-tasks-header {

        flex-direction: column;

        gap: 8px;

        margin-bottom: 16px;

    }


    .twp-sales-os .twp-my-tasks-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-my-tasks-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-task-summary {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;

    }


    .twp-sales-os .twp-task-summary-card {

        padding: 13px;

    }


    .twp-sales-os .twp-task-summary-card strong {

        font-size: 19px;

    }


    .twp-sales-os .twp-my-task-item {

        grid-template-columns:
            20px
            minmax(0, 1fr);

        gap: 10px;

        min-height: auto;

        padding: 16px 0;

    }


    .twp-sales-os .twp-task-check {

        padding-top: 4px;

    }


    .twp-sales-os .twp-my-task-title-row {

        gap: 8px;

    }


    .twp-sales-os .twp-my-task-title-row h3 {

        font-size: 13px;

    }


    .twp-sales-os .twp-my-task-main > p {

        font-size: 10px;

    }


    .twp-sales-os .twp-task-meta {

        flex-direction: column;

        gap: 4px;

    }


    .twp-sales-os .twp-my-task-action {

        grid-column: 2;

        padding-top: 3px;

        justify-content: flex-start;

    }


    .twp-sales-os .twp-my-tasks-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-task-summary {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-my-task-title-row {

        align-items: flex-start;

        flex-direction: column;

        gap: 6px;

    }


    .twp-sales-os .twp-task-priority {

        align-self: flex-start;

    }

}
/* =========================================================
   08. IMMEDIATE / QUICK ACTIONS
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-quick-actions-panel {

    width: 100%;

    margin: 0 0 28px 0;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-actions-header {

    margin-bottom: 20px;

}


.twp-sales-os .twp-quick-actions-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-quick-actions-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   ACTION GRID
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-actions-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

}


/* ---------------------------------------------------------
   ACTION CARD
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-action {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    min-height: 76px;

    padding: 13px 14px;

    background: #fbfcfe;

    border: 1px solid #e6ebf2;

    border-radius: 10px;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;

}


.twp-sales-os .twp-quick-action:hover {

    background: #f7f9fd;

    border-color: #ccd6e5;

    transform: translateY(-1px);

}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-action-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 36px;

    width: 36px;

    height: 36px;

    border-radius: 9px;

    font-size: 16px;

    font-weight: 700;

}


.twp-sales-os .twp-quick-action-icon.followup {

    color: #315fd3;

    background: #edf3ff;

}


.twp-sales-os .twp-quick-action-icon.task {

    color: #5b4acb;

    background: #f1efff;

}


.twp-sales-os .twp-quick-action-icon.call {

    color: #18824b;

    background: #eaf8f0;

}


.twp-sales-os .twp-quick-action-icon.meeting {

    color: #b26a00;

    background: #fff6df;

}


.twp-sales-os .twp-quick-action-icon.opportunity {

    color: #315fd3;

    background: #edf3ff;

}


.twp-sales-os .twp-quick-action-icon.quotation {

    color: #8b4a9e;

    background: #f7eef9;

}


.twp-sales-os .twp-quick-action-icon.customer {

    color: #47706a;

    background: #edf6f4;

}


.twp-sales-os .twp-quick-action-icon.activity {

    color: #53657f;

    background: #eef2f7;

}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-action-content {

    display: block;

    min-width: 0;

    flex: 1 1 auto;

}


.twp-sales-os .twp-quick-action-content strong {

    display: block;

    overflow: hidden;

    font-size: 12px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.twp-sales-os .twp-quick-action-content small {

    display: block;

    margin-top: 3px;

    overflow: hidden;

    font-size: 9px;

    line-height: 1.4;

    color: #7d899b;

    text-overflow: ellipsis;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.twp-sales-os .twp-quick-action-arrow {

    flex: 0 0 auto;

    font-size: 14px;

    font-weight: 600;

    color: #9aa6b8;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-quick-actions-panel {

        margin-bottom: 20px;

        padding: 20px 16px;

        border-radius: 14px;

    }


    .twp-sales-os .twp-quick-actions-header {

        margin-bottom: 15px;

    }


    .twp-sales-os .twp-quick-actions-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-quick-actions-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-quick-actions-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;

    }


    .twp-sales-os .twp-quick-action {

        min-height: 70px;

        padding: 11px;

        gap: 9px;

    }


    .twp-sales-os .twp-quick-action-icon {

        flex-basis: 32px;

        width: 32px;

        height: 32px;

        border-radius: 8px;

        font-size: 14px;

    }


    .twp-sales-os .twp-quick-action-content strong {

        font-size: 11px;

    }


    .twp-sales-os .twp-quick-action-content small {

        font-size: 8px;

    }


    .twp-sales-os .twp-quick-action-arrow {

        display: none;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-quick-actions-grid {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-quick-action {

        min-height: 64px;

    }


    .twp-sales-os .twp-quick-action-content small {

        white-space: normal;

    }

}
/* =========================================================
   09. ALERTS & REMINDERS
   SALES EMPLOYEE
   ========================================================= */

.twp-sales-os .twp-alerts-reminders-panel {

    width: 100%;

    margin: 0 0 28px 0;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-alerts-reminders-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 20px;

}


.twp-sales-os .twp-alerts-reminders-heading h2 {

    margin: 0;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-alerts-reminders-heading p {

    margin: 7px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-summary {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 20px;

}


.twp-sales-os .twp-alert-summary-item {

    padding: 13px 15px;

    background: #fbfcfe;

    border: 1px solid #e7ebf1;

    border-radius: 9px;

}


.twp-sales-os .twp-alert-summary-item span {

    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    color: #71809a;

}


.twp-sales-os .twp-alert-summary-item strong {

    display: block;

    font-size: 20px;

    line-height: 1.2;

    color: #0b1b33;

}


.twp-sales-os .twp-alert-summary-item.critical strong {

    color: #c2410c;

}


.twp-sales-os .twp-alert-summary-item.warning strong {

    color: #a36b00;

}


.twp-sales-os .twp-alert-summary-item.reminder strong {

    color: #315fd3;

}


/* ---------------------------------------------------------
   ALERT LIST
   --------------------------------------------------------- */

.twp-sales-os .twp-alerts-reminders-list {

    border-top: 1px solid #edf0f5;

}


/* ---------------------------------------------------------
   ALERT ITEM
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-reminder-item {

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        82px;

    align-items: start;

    gap: 15px;

    padding: 17px 4px;

    border-bottom: 1px solid #edf0f5;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-reminder-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

}


.twp-sales-os .twp-alert-reminder-item.critical
.twp-alert-reminder-icon {

    color: #c2410c;

    background: #fff1e8;

}


.twp-sales-os .twp-alert-reminder-item.warning
.twp-alert-reminder-icon {

    color: #9a6700;

    background: #fff7df;

}


.twp-sales-os .twp-alert-reminder-item.reminder
.twp-alert-reminder-icon {

    color: #315fd3;

    background: #edf3ff;

}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-reminder-content {

    min-width: 0;

}


.twp-sales-os .twp-alert-reminder-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}


.twp-sales-os .twp-alert-reminder-type {

    font-size: 9px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .07em;

    color: #8a96a8;

}


.twp-sales-os .twp-alert-reminder-time {

    flex-shrink: 0;

    font-size: 9px;

    line-height: 1.3;

    color: #8a96a8;

}


.twp-sales-os .twp-alert-reminder-content h3 {

    margin: 5px 0 0;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-alert-reminder-content p {

    margin: 4px 0 0;

    font-size: 11px;

    line-height: 1.5;

    color: #71809a;

}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-reminder-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 7px 18px;

    margin-top: 8px;

}


.twp-sales-os .twp-alert-reminder-meta span {

    font-size: 9px;

    line-height: 1.4;

    color: #8a96a8;

}


/* ---------------------------------------------------------
   ACTION
   --------------------------------------------------------- */

.twp-sales-os .twp-alert-reminder-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    align-self: center;

    min-width: 68px;

    padding: 7px 8px;

    border: 1px solid #dce3ee;

    border-radius: 6px;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    white-space: nowrap;

    box-sizing: border-box;

}


.twp-sales-os .twp-alert-reminder-action:hover {

    background: #f1f5ff;

}


.twp-sales-os .twp-alert-reminder-action.critical {

    color: #c2410c;

    background: #fff8f4;

    border-color: #f0d9cf;

}


.twp-sales-os .twp-alert-reminder-action.critical:hover {

    background: #fff0e8;

}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.twp-sales-os .twp-alerts-reminders-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 16px;

}


.twp-sales-os .twp-alerts-reminders-footer span {

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-alerts-reminders-footer a {

    font-size: 11px;

    font-weight: 600;

    color: #315fd3;

    text-decoration: none;

    white-space: nowrap;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-alerts-reminders-panel {

        margin-bottom: 20px;

        padding: 20px 16px;

        border-radius: 14px;

    }


    .twp-sales-os .twp-alerts-reminders-header {

        flex-direction: column;

        gap: 8px;

        margin-bottom: 15px;

    }


    .twp-sales-os .twp-alerts-reminders-heading h2 {

        font-size: 19px;

    }


    .twp-sales-os .twp-alerts-reminders-heading p {

        font-size: 12px;

    }


    .twp-sales-os .twp-alert-summary {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

    }


    .twp-sales-os .twp-alert-reminder-item {

        grid-template-columns:
            34px
            minmax(0, 1fr);

        gap: 10px;

        padding: 15px 0;

    }


    .twp-sales-os .twp-alert-reminder-top {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;

    }


    .twp-sales-os .twp-alert-reminder-content h3 {

        font-size: 13px;

    }


    .twp-sales-os .twp-alert-reminder-content p {

        font-size: 10px;

    }


    .twp-sales-os .twp-alert-reminder-meta {

        flex-direction: column;

        gap: 4px;

    }


    .twp-sales-os .twp-alert-reminder-action {

        grid-column: 2;

        justify-self: start;

        align-self: auto;

        margin-top: 2px;

    }


    .twp-sales-os .twp-alerts-reminders-footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-alert-summary {

        grid-template-columns: 1fr;

    }

}
/* =========================================================
   WORK PULSE
   SALES EMPLOYEE
   01. WORK PULSE OVERVIEW
   ========================================================= */

.twp-sales-os .twp-workpulse-page {

    width: 100%;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   PAGE HEADER
   --------------------------------------------------------- */

.twp-sales-os .twp-workpulse-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 24px;

}


.twp-sales-os .twp-workpulse-header h1 {

    margin: 0;

    font-size: 28px;

    line-height: 1.25;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-workpulse-header p {

    margin: 8px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #71809a;

}


.twp-sales-os .twp-workpulse-date {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

    flex-shrink: 0;

}


.twp-sales-os .twp-workpulse-date span {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.08em;

    color: #8a96a8;

}


.twp-sales-os .twp-workpulse-date strong {

    font-size: 13px;

    font-weight: 600;

    color: #253858;

}


/* ---------------------------------------------------------
   CURRENT STATUS
   --------------------------------------------------------- */

.twp-sales-os .twp-workpulse-status-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    width: 100%;

    margin-bottom: 18px;

    padding: 22px 24px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


.twp-sales-os .twp-workpulse-status-main {

    display: flex;

    align-items: center;

    gap: 14px;

}


.twp-sales-os .twp-workpulse-live-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 12px;

    background: #eaf8f0;

    color: #20a464;

    font-size: 14px;

}


.twp-sales-os .twp-workpulse-label {

    display: block;

    margin-bottom: 3px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.07em;

    color: #7b879d;

}


.twp-sales-os .twp-workpulse-status-main h2 {

    margin: 0;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-workpulse-status-main p {

    margin: 3px 0 0;

    font-size: 12px;

    color: #71809a;

}


.twp-sales-os .twp-workpulse-status-meta {

    display: flex;

    align-items: center;

    gap: 36px;

}


.twp-sales-os .twp-workpulse-status-meta div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.twp-sales-os .twp-workpulse-status-meta span {

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-workpulse-status-meta strong {

    font-size: 13px;

    color: #253858;

}


/* ---------------------------------------------------------
   CURRENT ACTIVITY
   --------------------------------------------------------- */

.twp-sales-os .twp-workpulse-current {

    margin-bottom: 18px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 16px;

    box-sizing: border-box;

}


.twp-sales-os .twp-workpulse-current-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

}


.twp-sales-os .twp-workpulse-current-heading h2 {

    margin: 0;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 700;

    color: #0b1b33;

}


.twp-sales-os .twp-workpulse-active-badge {

    padding: 5px 9px;

    border-radius: 6px;

    background: #edfdf4;

    color: #15945a;

    font-size: 9px;

    font-weight: 700;

    white-space: nowrap;

}


.twp-sales-os .twp-workpulse-current-body {

    display: grid;

    grid-template-columns: 48px minmax(0, 1fr) 190px;

    align-items: center;

    gap: 18px;

}


.twp-sales-os .twp-workpulse-current-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: #eef4ff;

    color: #2563eb;

    font-size: 20px;

}


.twp-sales-os .twp-workpulse-current-content {

    min-width: 0;

}


.twp-sales-os .twp-workpulse-current-content > span {

    display: block;

    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.07em;

    color: #7b879d;

}


.twp-sales-os .twp-workpulse-current-content h3 {

    margin: 0;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-workpulse-current-content p {

    margin: 5px 0 9px;

    font-size: 12px;

    line-height: 1.5;

    color: #71809a;

}


.twp-sales-os .twp-workpulse-current-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 16px;

}


.twp-sales-os .twp-workpulse-current-meta span {

    font-size: 11px;

    color: #60708a;

}


.twp-sales-os .twp-workpulse-current-action {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}


.twp-sales-os .twp-workpulse-current-action strong {

    font-size: 20px;

    line-height: 1.2;

    color: #0b1b33;

}


.twp-sales-os .twp-workpulse-current-action > span {

    margin-top: 2px;

    font-size: 10px;

    color: #8a96a8;

}


.twp-sales-os .twp-workpulse-progress {

    width: 100%;

    height: 5px;

    margin: 9px 0 12px;

    overflow: hidden;

    border-radius: 99px;

    background: #edf0f5;

}


.twp-sales-os .twp-workpulse-progress span {

    display: block;

    height: 100%;

    border-radius: inherit;

    background: #2563eb;

}


.twp-sales-os .twp-workpulse-button {

    padding: 7px 11px;

    border: 1px solid #d9e1ee;

    border-radius: 7px;

    background: #ffffff;

    color: #2563eb;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

}


/* ---------------------------------------------------------
   TODAY'S PULSE METRICS
   --------------------------------------------------------- */

.twp-sales-os .twp-workpulse-metrics {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 18px;

}


.twp-sales-os .twp-workpulse-metric {

    min-width: 0;

    padding: 19px 20px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 14px;

    box-sizing: border-box;

}


.twp-sales-os .twp-workpulse-metric-label {

    display: block;

    margin-bottom: 8px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.06em;

    color: #7b879d;

}


.twp-sales-os .twp-workpulse-metric strong {

    display: block;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 700;

    color: #10213b;

}


.twp-sales-os .twp-workpulse-metric small {

    display: block;

    margin-top: 5px;

    font-size: 10px;

    line-height: 1.4;

    color: #8a96a8;

}


/* ---------------------------------------------------------
   NEXT UP
   --------------------------------------------------------- */

.twp-sales-os .twp-workpulse-next {

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr) auto;

    align-items: center;

    gap: 14px;

    padding: 19px 22px;

    background: #f8faff;

    border: 1px solid #e0e8f7;

    border-radius: 14px;

    box-sizing: border-box;

}


.twp-sales-os .twp-workpulse-next-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 10px;

    background: #ffffff;

    color: #2563eb;

    font-size: 18px;

}


.twp-sales-os .twp-workpulse-next-content {

    min-width: 0;

}


.twp-sales-os .twp-workpulse-next-content > span {

    display: block;

    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.07em;

    color: #7b879d;

}


.twp-sales-os .twp-workpulse-next-content strong {

    display: block;

    font-size: 14px;

    line-height: 1.4;

    color: #10213b;

}


.twp-sales-os .twp-workpulse-next-content p {

    margin: 3px 0 0;

    font-size: 11px;

    line-height: 1.4;

    color: #71809a;

}


.twp-sales-os .twp-workpulse-next-time {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

}


.twp-sales-os .twp-workpulse-next-time strong {

    font-size: 13px;

    color: #10213b;

}


.twp-sales-os .twp-workpulse-next-time span {

    font-size: 10px;

    color: #71809a;

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .twp-sales-os .twp-workpulse-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        margin-bottom: 18px;

    }


    .twp-sales-os .twp-workpulse-header h1 {

        font-size: 23px;

    }


    .twp-sales-os .twp-workpulse-header p {

        font-size: 12px;

    }


    .twp-sales-os .twp-workpulse-date {

        align-items: flex-start;

    }


    .twp-sales-os .twp-workpulse-status-card {

        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        padding: 19px;

    }


    .twp-sales-os .twp-workpulse-status-meta {

        width: 100%;

        justify-content: space-between;

        gap: 12px;

    }


    .twp-sales-os .twp-workpulse-current {

        padding: 19px;

    }


    .twp-sales-os .twp-workpulse-current-body {

        grid-template-columns: 42px minmax(0, 1fr);

        gap: 12px;

    }


    .twp-sales-os .twp-workpulse-current-icon {

        width: 42px;

        height: 42px;

    }


    .twp-sales-os .twp-workpulse-current-content h3 {

        font-size: 15px;

    }


    .twp-sales-os .twp-workpulse-current-action {

        grid-column: 2;

        align-items: flex-start;

        width: 100%;

    }


    .twp-sales-os .twp-workpulse-current-meta {

        gap: 7px 12px;

    }


    .twp-sales-os .twp-workpulse-metrics {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .twp-sales-os .twp-workpulse-metric {

        padding: 16px;

    }


    .twp-sales-os .twp-workpulse-metric strong {

        font-size: 21px;

    }


    .twp-sales-os .twp-workpulse-next {

        grid-template-columns: 40px minmax(0, 1fr);

        gap: 11px;

        padding: 17px;

    }


    .twp-sales-os .twp-workpulse-next-time {

        grid-column: 2;

        align-items: flex-start;

    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .twp-sales-os .twp-workpulse-status-meta {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

    }


    .twp-sales-os .twp-workpulse-metrics {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-workpulse-current-body {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-workpulse-current-icon {

        width: 42px;

    }


    .twp-sales-os .twp-workpulse-current-action {

        grid-column: 1;

    }


    .twp-sales-os .twp-workpulse-next {

        grid-template-columns: 1fr;

    }


    .twp-sales-os .twp-workpulse-next-time {

        grid-column: 1;

    }

}