body{
    background:#f5f7fb;
    font-family:Arial,sans-serif;
    margin:0;
    padding:0;
    color:#0f172a;
}

/*
|--------------------------------------------------------------------------
| APP LAYOUT
|--------------------------------------------------------------------------
*/

.lexo-app{
    display:flex;
    min-height:100vh;
}

.lexo-sidebar{
    width:260px;
    background:#07122b;
    color:white;
    padding:30px;
    box-sizing:border-box;
}

.lexo-logo{
    font-size:32px;
    font-weight:bold;
    margin-bottom:40px;
}

.lexo-menu{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.lexo-menu a{
    color:white;
    text-decoration:none;
    font-size:16px;
    transition:0.2s;
}

.lexo-menu a:hover{
    opacity:0.8;
}

.lexo-content{
    flex:1;
    padding:40px;
    box-sizing:border-box;
}

/*
|--------------------------------------------------------------------------
| TOPBAR
|--------------------------------------------------------------------------
*/

.lexo-topbar{
    margin-bottom:40px;
}

.lexo-topbar h1{
    font-size:56px;
    margin:0 0 10px;
}

.lexo-topbar p{
    margin:0;
    color:#64748b;
}

/*
|--------------------------------------------------------------------------
| PAGE HEADER
|--------------------------------------------------------------------------
*/

.lexo-page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.lexo-page-header h1{
    margin:0 0 10px;
}

/*
|--------------------------------------------------------------------------
| CARDS
|--------------------------------------------------------------------------
*/

.lexo-card{
    background:white;
    padding:30px;
    border-radius:24px;
    box-sizing:border-box;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.lexo-card h2{
    margin-top:0;
}

/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.lexo-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:30px;
}

.lexo-stat-card{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.lexo-stat-card small{
    color:#64748b;
}

.lexo-stat-card h2{
    margin:10px 0 0;
    font-size:38px;
}

/*
|--------------------------------------------------------------------------
| DASHBOARD GRID
|--------------------------------------------------------------------------
*/

.lexo-dashboard-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

/*
|--------------------------------------------------------------------------
| FORMS
|--------------------------------------------------------------------------
*/

.lexo-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.lexo-form input,
.lexo-form select,
.lexo-form textarea{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    box-sizing:border-box;
    font-size:15px;
}

.lexo-form textarea{
    min-height:140px;
    resize:vertical;
}

/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/

.lexo-primary-btn{
    background:#2563eb;
    color:white;
    border:none;
    padding:14px 20px;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
    transition:0.2s;
}

.lexo-primary-btn:hover{
    opacity:0.9;
}

/*
|--------------------------------------------------------------------------
| TABLES
|--------------------------------------------------------------------------
*/

.lexo-table-wrapper{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.lexo-table{
    width:100%;
    border-collapse:collapse;
}

.lexo-table th{
    background:#f8fafc;
    text-align:left;
    padding:18px;
    border-bottom:1px solid #e5e7eb;
}

.lexo-table td{
    padding:18px;
    border-bottom:1px solid #e5e7eb;
}

.lexo-table tr:last-child td{
    border-bottom:none;
}

/*
|--------------------------------------------------------------------------
| CASE
|--------------------------------------------------------------------------
*/

.lexo-case-layout{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:30px;
}

/*
|--------------------------------------------------------------------------
| TIMELINE
|--------------------------------------------------------------------------
*/

.lexo-timeline-item{
    padding:20px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    margin-bottom:20px;
    background:#fafafa;
}

.lexo-timeline-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.lexo-timeline-header small{
    color:#64748b;
}

.lexo-timeline-content{
    line-height:1.6;
}

/*
|--------------------------------------------------------------------------
| DOCUMENTS
|--------------------------------------------------------------------------
*/

.lexo-document-item{
    margin-bottom:15px;
}

.lexo-document-item a{
    text-decoration:none;
    color:#2563eb;
}

/*
|--------------------------------------------------------------------------
| ACTIVITY
|--------------------------------------------------------------------------
*/

.lexo-activity-item{
    padding:18px 0;
    border-bottom:1px solid #e5e7eb;
}

.lexo-activity-item:last-child{
    border-bottom:none;
}

.lexo-activity-item p{
    margin:10px 0;
}

/*
|--------------------------------------------------------------------------
| QUICK ACTIONS
|--------------------------------------------------------------------------
*/

.lexo-quick-actions{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.lexo-action-btn{
    display:block;
    padding:16px;
    border-radius:14px;
    background:#eff6ff;
    text-decoration:none;
    color:#2563eb;
    font-weight:bold;
}

/*
|--------------------------------------------------------------------------
| LOGIN
|--------------------------------------------------------------------------
*/

.lexo-login-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    box-sizing:border-box;
}

.lexo-login-card{
    background:white;
    padding:40px;
    border-radius:24px;
    width:100%;
    max-width:420px;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.lexo-login-card h1{
    margin-top:0;
    font-size:42px;
}

.lexo-login-card p{
    color:#64748b;
    margin-bottom:30px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width: 768px){

    .lexo-app{
        flex-direction:column;
    }

    .lexo-sidebar{
        width:100%;
        padding:20px;
    }

    .lexo-content{
        padding:20px;
    }

    .lexo-topbar h1{
        font-size:42px;
    }

    .lexo-case-layout{
        grid-template-columns:1fr;
    }

    .lexo-dashboard-grid{
        grid-template-columns:1fr;
    }

    .lexo-stats-grid{
        grid-template-columns:1fr 1fr;
    }

    .lexo-table-wrapper{
        overflow-x:auto;
    }

    .lexo-page-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .lexo-card{
        max-width:100%;
        padding:20px;
    }

    .lexo-sidebar{
        position:sticky;
        top:0;
        z-index:999;
    }
}

/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width: 480px){

    .lexo-stats-grid{
        grid-template-columns:1fr;
    }

    .lexo-topbar h1{
        font-size:34px;
    }

    .lexo-sidebar{
        padding:16px;
    }

    .lexo-content{
        padding:16px;
    }

    .lexo-table th,
    .lexo-table td{
        padding:12px;
        font-size:14px;
    }
}
/*
|--------------------------------------------------------------------------
| USERS TABLE FIX
|--------------------------------------------------------------------------
*/

.lexo-table td form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.lexo-table td select{
    min-width:140px;
}

.lexo-table td button{
    width:100%;
}

.lexo-table-wrapper{
    overflow-x:auto;
}
/* --------------------------------------------------------------------------
   STATUS HISTORY / EXPEDIENTE
   -------------------------------------------------------------------------- */

.lexo-status-badge{
    display:inline-flex;
    align-items:center;
    padding:7px 11px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:700;
}

.lexo-status-form textarea{
    min-height:100px;
}

.lexo-status-timeline{
    position:relative;
    padding-left:12px;
}

.lexo-status-timeline:before{
    content:"";
    position:absolute;
    left:7px;
    top:10px;
    bottom:10px;
    width:2px;
    background:#e2e8f0;
}

.lexo-status-history-item{
    position:relative;
    display:flex;
    gap:18px;
    margin-bottom:24px;
}

.lexo-status-history-dot{
    position:relative;
    z-index:2;
    width:12px;
    height:12px;
    min-width:12px;
    margin-top:5px;
    border-radius:50%;
    background:#2563eb;
    box-shadow:0 0 0 4px #eff6ff;
}

.lexo-status-history-content{
    flex:1;
    padding:16px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fafcff;
}

.lexo-status-history-top{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:6px;
}

.lexo-status-history-top small,
.lexo-status-history-content > small{
    color:#64748b;
}

.lexo-status-history-content p{
    margin:10px 0 0;
    line-height:1.6;
}

@media(max-width:768px){
    .lexo-status-history-top{
        flex-direction:column;
        gap:5px;
    }
}


/*
|--------------------------------------------------------------------------
| RECORDATORIOS
|--------------------------------------------------------------------------
*/

.lexo-secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#eef2ff;
    color:#1e40af;
    border:1px solid #c7d2fe;
    padding:13px 18px;
    border-radius:12px;
    cursor:pointer;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    box-sizing:border-box;
}

.lexo-reminder-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:16px 0;
    border-bottom:1px solid #e5e7eb;
}

.lexo-reminder-item:last-child{
    border-bottom:none;
}

.lexo-reminder-item strong,
.lexo-reminder-item small{
    display:block;
}

.lexo-reminder-item small{
    color:#64748b;
    margin-top:5px;
}

.lexo-reminder-item.is-completed{
    opacity:.6;
}

.lexo-reminder-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    box-sizing:border-box;
}

.lexo-reminder-modal.is-hidden{
    display:none;
}

.lexo-reminder-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(7,18,43,.62);
    backdrop-filter:blur(4px);
}

.lexo-reminder-modal-card{
    position:relative;
    width:100%;
    max-width:620px;
    max-height:85vh;
    overflow:auto;
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-sizing:border-box;
    box-shadow:0 25px 80px rgba(7,18,43,.25);
}

.lexo-reminder-modal-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:#fff7ed;
    font-size:25px;
    margin-bottom:15px;
}

.lexo-reminder-modal-card h2{
    margin:0 0 8px;
}

.lexo-reminder-modal-card > p{
    color:#64748b;
    margin-top:0;
}

.lexo-reminder-modal-list{
    margin:25px 0;
}

.lexo-reminder-modal-item{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    padding:18px 0;
    border-bottom:1px solid #e5e7eb;
}

.lexo-reminder-modal-item strong,
.lexo-reminder-modal-item small{
    display:block;
}

.lexo-reminder-modal-item small{
    color:#64748b;
    margin-top:5px;
}

.lexo-reminder-modal-actions{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.lexo-reminder-close-btn{
    width:100%;
    padding:13px;
    border:1px solid #e5e7eb;
    background:#f8fafc;
    color:#334155;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

@media(max-width:768px){
    .lexo-reminder-item,
    .lexo-reminder-modal-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .lexo-reminder-modal-actions{
        width:100%;
        justify-content:flex-start;
    }

    .lexo-reminder-modal-actions .lexo-primary-btn,
    .lexo-reminder-modal-actions .lexo-secondary-btn{
        width:100%;
    }
}

/*
|--------------------------------------------------------------------------
| LEXO 2.3 — FICHA DE EXPEDIENTE COMPACTA
|--------------------------------------------------------------------------
*/

.lexo-case-back{
    margin:0 0 14px;
}

.lexo-case-back a{
    color:#64748b;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.lexo-case-back a:hover{color:#2563eb;}

.lexo-case-hero{
    background:#fff;
    border:1px solid #e8edf5;
    border-radius:22px;
    padding:24px 26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    box-shadow:0 8px 28px rgba(15,23,42,.045);
    margin-bottom:20px;
}

.lexo-case-hero-main{
    display:flex;
    align-items:center;
    gap:18px;
    min-width:0;
}

.lexo-case-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 58px;
    background:#eff6ff;
    color:#2563eb;
    font-size:25px;
    font-weight:800;
}

.lexo-case-heading{min-width:0;}

.lexo-case-title-row h1{
    margin:0 0 14px;
    font-size:32px;
    line-height:1.15;
    letter-spacing:-.03em;
}

.lexo-case-meta{
    display:flex;
    flex-wrap:wrap;
    gap:22px;
}

.lexo-case-meta > div{
    padding-right:22px;
    border-right:1px solid #e5e7eb;
}

.lexo-case-meta > div:last-child{border-right:none;}

.lexo-case-meta span,
.lexo-case-status-block > span,
.lexo-section-kicker{
    display:block;
    color:#94a3b8;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:700;
    margin-bottom:4px;
}

.lexo-case-meta strong{font-size:14px;color:#0f172a;}

.lexo-case-hero-actions{
    display:flex;
    align-items:center;
    gap:24px;
    flex:0 0 auto;
}

.lexo-case-status-block{
    min-width:120px;
}

.lexo-status-badge{
    display:inline-flex;
    align-items:center;
    padding:7px 11px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:12px;
    line-height:1;
}

.lexo-case-actions{
    display:flex;
    gap:10px;
    align-items:center;
}

.lexo-report-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:0 16px;
    border:1px solid #dbe3ef;
    background:#fff;
    color:#334155;
    border-radius:11px;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    box-sizing:border-box;
}

.lexo-report-btn:hover{border-color:#2563eb;color:#2563eb;background:#f8fbff;}
.lexo-reminder-trigger{min-height:44px;white-space:nowrap;}

.lexo-section-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    margin-bottom:18px;
}

.lexo-section-heading h2{
    margin:0;
    font-size:21px;
    line-height:1.2;
}

.lexo-reminder-form-card{margin-bottom:20px;}

.lexo-icon-close{
    width:34px;
    height:34px;
    border:1px solid #e2e8f0;
    background:#fff;
    border-radius:9px;
    color:#64748b;
    cursor:pointer;
    font-size:20px;
}

.lexo-reminder-form-grid{
    display:grid;
    grid-template-columns:150px 130px minmax(220px,1fr) auto;
    gap:12px;
    align-items:end;
}

.lexo-reminder-form-grid label,
.lexo-status-form-compact label{
    display:block;
    margin-bottom:6px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.lexo-reminder-form-grid input,
.lexo-status-form-compact input,
.lexo-status-form-compact select{
    width:100%;
    min-height:44px;
    padding:0 12px;
    border:1px solid #dbe3ef;
    border-radius:10px;
    box-sizing:border-box;
    background:#fff;
    color:#0f172a;
}

.lexo-reminders-card{margin-bottom:20px;}
.lexo-reminders-list{margin-top:2px;}

.lexo-reminder-item{
    display:flex;
    align-items:center;
    gap:13px;
    min-height:66px;
    padding:10px 0;
    border-bottom:1px solid #eef2f7;
}

.lexo-reminder-item:last-child{border-bottom:0;}
.lexo-reminder-dot{
    width:9px;
    height:9px;
    flex:0 0 9px;
    border-radius:50%;
    background:#2563eb;
    box-shadow:0 0 0 5px #eff6ff;
    margin-left:4px;
}

.lexo-reminder-info{flex:1;min-width:0;}
.lexo-reminder-info strong{display:block;font-size:14px;color:#0f172a;}
.lexo-reminder-info small{display:block;margin-top:4px;color:#64748b;font-size:12px;}

.lexo-case-main-grid{
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
    gap:20px;
    align-items:start;
    margin-bottom:20px;
}

.lexo-case-main-grid .lexo-card{min-width:0;}

.lexo-status-form-compact{margin-bottom:20px;}

.lexo-status-form-row{
    display:grid;
    grid-template-columns:170px minmax(0,1fr) auto;
    gap:10px;
    align-items:end;
}

.lexo-status-form-row .lexo-primary-btn{min-height:44px;white-space:nowrap;}

.lexo-status-timeline{
    position:relative;
    margin:4px 0 0 7px;
    padding-left:22px;
}

.lexo-status-timeline:before{
    content:"";
    position:absolute;
    top:8px;
    bottom:8px;
    left:4px;
    width:1px;
    background:#dbe5f2;
}

.lexo-status-history-item{
    position:relative;
    display:flex;
    gap:12px;
    padding:0 0 18px;
}

.lexo-status-history-dot{
    position:absolute;
    left:-22px;
    top:5px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#2563eb;
    border:3px solid #fff;
    box-shadow:0 0 0 1px #bfdbfe;
}

.lexo-status-history-content{flex:1;min-width:0;}

.lexo-status-history-top{
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:center;
    margin-bottom:4px;
}

.lexo-status-history-top strong{
    color:#0f172a;
    font-size:14px;
}

.lexo-status-history-top small,
.lexo-status-history-content > small{
    color:#94a3b8;
    font-size:11px;
}

.lexo-status-history-content p{
    margin:7px 0 0;
    color:#475569;
    font-size:13px;
    line-height:1.5;
}

.lexo-doc-count{
    min-width:28px;
    height:28px;
    padding:0 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#eff6ff;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    box-sizing:border-box;
}

.lexo-document-list{border-top:1px solid #eef2f7;}

.lexo-document-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
}

.lexo-document-row:last-child{border-bottom:0;}

.lexo-document-icon{
    width:38px;
    height:42px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:#eff6ff;
    color:#2563eb;
    font-size:9px;
    font-weight:900;
}

.lexo-document-icon.is-pdf{background:#fef2f2;color:#dc2626;}
.lexo-document-icon.is-image{background:#ecfdf5;color:#16a34a;}
.lexo-document-info{min-width:0;flex:1;}

.lexo-document-info a{
    display:block;
    color:#0f172a;
    font-size:13px;
    line-height:1.35;
    text-decoration:none;
    font-weight:700;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lexo-document-info a:hover{color:#2563eb;}
.lexo-document-info small{display:block;margin-top:4px;color:#94a3b8;font-size:10px;}

.lexo-document-download{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e2e8f0;
    border-radius:9px;
    color:#2563eb;
    text-decoration:none;
    font-weight:800;
    flex:0 0 34px;
}

.lexo-activity-card{margin-bottom:20px;}
.lexo-activity-timeline{border-top:1px solid #eef2f7;}

.lexo-activity-row{
    display:flex;
    gap:12px;
    padding:16px 0;
    border-bottom:1px solid #eef2f7;
}

.lexo-avatar{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#07122b;
    color:#fff;
    font-size:10px;
    font-weight:800;
}

.lexo-activity-body{flex:1;min-width:0;}
.lexo-activity-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;}
.lexo-activity-meta strong{font-size:13px;}
.lexo-activity-meta small{font-size:11px;color:#94a3b8;}
.lexo-activity-content{margin-top:6px;color:#475569;font-size:13px;line-height:1.55;}
.lexo-activity-content p{margin:0 0 6px;}

.lexo-comment-composer{margin-top:16px;}
.lexo-comment-composer textarea{min-height:90px;}
.lexo-comment-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.lexo-comment-actions input[type="file"]{max-width:100%;font-size:12px;color:#64748b;}

.lexo-empty-state{
    padding:20px;
    border:1px dashed #dbe3ef;
    border-radius:12px;
    background:#f8fafc;
    color:#64748b;
    font-size:13px;
}

@media(max-width:1100px){
    .lexo-case-hero{align-items:flex-start;flex-direction:column;}
    .lexo-case-hero-actions{width:100%;justify-content:space-between;}
}

@media(max-width:900px){
    .lexo-case-main-grid{grid-template-columns:1fr;}
    .lexo-status-form-row{grid-template-columns:1fr;}
    .lexo-status-form-row .lexo-primary-btn{width:100%;}
    .lexo-reminder-form-grid{grid-template-columns:1fr 1fr;}
    .lexo-reminder-note-field{grid-column:1 / -1;}
    .lexo-reminder-form-grid > .lexo-primary-btn{grid-column:1 / -1;}
}

@media(max-width:640px){
    .lexo-case-hero{padding:18px;border-radius:18px;}
    .lexo-case-hero-main{align-items:flex-start;}
    .lexo-case-icon{width:46px;height:46px;flex-basis:46px;font-size:20px;}
    .lexo-case-title-row h1{font-size:24px;margin-bottom:12px;}
    .lexo-case-meta{gap:10px 16px;}
    .lexo-case-meta > div{padding-right:16px;}
    .lexo-case-hero-actions{align-items:flex-start;flex-direction:column;gap:14px;}
    .lexo-case-status-block{width:100%;}
    .lexo-case-actions{width:100%;display:grid;grid-template-columns:1fr;}
    .lexo-report-btn,.lexo-reminder-trigger{width:100%;}
    .lexo-reminder-form-grid{grid-template-columns:1fr;}
    .lexo-reminder-note-field{grid-column:auto;}
    .lexo-reminder-form-grid > .lexo-primary-btn{grid-column:auto;width:100%;}
    .lexo-reminder-item{align-items:flex-start;flex-wrap:wrap;}
    .lexo-reminder-item form{width:100%;}
    .lexo-reminder-item form button{width:100%;}
    .lexo-status-history-top{align-items:flex-start;flex-direction:column;gap:3px;}
    .lexo-activity-meta{align-items:flex-start;flex-direction:column;gap:3px;}
    .lexo-comment-actions{align-items:stretch;flex-direction:column;}
    .lexo-comment-actions .lexo-primary-btn{width:100%;}
}


/* ========================================================================
   LEXO 2.4 — EXPEDIENTE / UI POLISH
   ======================================================================== */

html { margin-top: 0 !important; }
body.admin-bar #wpadminbar { display:none !important; }
body { background:#f8fafc; color:#10213d; font-family:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.lexo-app { min-height:100vh; background:#f8fafc; }
.lexo-sidebar {
    width:186px;
    flex:0 0 186px;
    min-height:100vh;
    padding:26px 12px 16px;
    background:#07132f;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    position:sticky;
    top:0;
    height:100vh;
}
.lexo-brand{display:flex;align-items:center;gap:9px;padding:0 14px 25px;border-bottom:1px solid rgba(255,255,255,.08);}
.lexo-logo{font-size:29px;line-height:1;font-weight:800;letter-spacing:-.04em;color:#fff;margin:0;}
.lexo-brand-mark{width:25px;height:25px;display:grid;grid-template-columns:repeat(3,6px);grid-auto-rows:6px;gap:3px;align-content:center;justify-content:center;}
.lexo-brand-mark i{display:block;border-radius:1.5px;background:#fff;opacity:.95;}
.lexo-brand-mark i:nth-child(2),.lexo-brand-mark i:nth-child(5),.lexo-brand-mark i:nth-child(8){opacity:.62;}
.lexo-menu{gap:5px;margin-top:20px;}
.lexo-menu a{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:8px;color:#e6edf9;font-size:12px;font-weight:600;line-height:1;text-decoration:none;}
.lexo-menu a:hover{background:rgba(37,99,235,.16);opacity:1;}
.lexo-menu a.is-active{background:#174ebf;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);}
.lexo-nav-icon{width:17px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;color:#cbd5e1;line-height:1;}
.lexo-menu a.is-active .lexo-nav-icon{color:#fff;}
.lexo-sidebar-bottom{margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);}
.lexo-user-card{display:flex;align-items:center;gap:9px;padding:9px 7px;border-radius:9px;background:rgba(255,255,255,.07);}
.lexo-user-avatar,.lexo-toolbar-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:#12203b;font-size:10px;font-weight:800;}
.lexo-user-avatar{width:31px;height:31px;flex:0 0 31px;}
.lexo-user-copy{min-width:0;display:flex;flex-direction:column;gap:2px;color:#fff;}
.lexo-user-copy strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lexo-user-copy small{font-size:9px;color:#aebbd0;}
.lexo-logout-link{display:flex;align-items:center;gap:11px;padding:13px 8px;color:#d8e1ef;text-decoration:none;font-size:11px;font-weight:600;}
.lexo-logout-link:hover{color:#fff;}
.lexo-content{padding:22px 28px 50px;max-width:none;}

.lexo-case-toolbar{height:40px;display:flex;align-items:center;justify-content:space-between;margin-bottom:2px;}
.lexo-case-back{color:#64748b;text-decoration:none;font-size:12px;font-weight:600;}
.lexo-case-back:hover{color:#2563eb;}
.lexo-toolbar-right{display:flex;align-items:center;gap:11px;color:#64748b;}
.lexo-toolbar-greeting{font-size:11px;font-weight:600;}
.lexo-toolbar-avatar{width:27px;height:27px;background:#10213d;color:#fff;}
.lexo-notification-button{position:relative;border:0;background:transparent;color:#10213d;font-size:18px;cursor:pointer;padding:2px 5px;}
.lexo-notification-dot{position:absolute;top:-3px;right:0;min-width:13px;height:13px;padding:0 3px;border-radius:999px;background:#ef3340;color:#fff;font-size:7px;display:flex;align-items:center;justify-content:center;font-weight:800;}

.lexo-case-hero{border:1px solid #e8edf5;border-radius:14px;padding:20px 21px;background:#fff;box-shadow:0 3px 15px rgba(15,23,42,.045);margin-bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.lexo-case-hero-main{gap:16px;}
.lexo-case-icon{width:56px;height:56px;flex-basis:56px;border-radius:50%;background:#eaf1ff;color:#2563eb;font-size:24px;}
.lexo-case-title-row{display:flex;align-items:center;gap:7px;}
.lexo-case-title-row h1{font-size:24px;line-height:1.1;margin:0 0 11px;letter-spacing:-.035em;color:#10213d;}
.lexo-star-button{border:0;background:transparent;color:#64748b;font-size:25px;line-height:1;cursor:pointer;margin-top:-8px;}
.lexo-case-meta{gap:0;}
.lexo-case-meta > div{padding:0 19px;border-right:1px solid #e5eaf1;}
.lexo-case-meta > div:first-child{padding-left:0;}
.lexo-case-meta > div:last-child{padding-right:0;}
.lexo-case-meta span,.lexo-case-status-block>span,.lexo-section-kicker{font-size:9px;letter-spacing:.04em;text-transform:none;color:#64748b;margin-bottom:4px;font-weight:500;}
.lexo-case-meta strong{font-size:11px;color:#10213d;}
.lexo-case-hero-actions{gap:28px;}
.lexo-case-status-block{min-width:100px;}
.lexo-status-badge{padding:7px 10px;font-size:10px;font-weight:700;background:#e9f2ff;color:#2563eb;gap:6px;}
.lexo-status-badge i{width:5px;height:5px;border-radius:50%;background:currentColor;display:block;}
.lexo-status-badge.status-waiting,.lexo-status-badge.status-pending{background:#fff4d8;color:#d97706;}
.lexo-status-badge.status-closed{background:#eaf8ef;color:#16a34a;}
.lexo-case-actions{gap:10px;}
.lexo-report-btn{height:38px;min-height:38px;padding:0 14px;border-radius:7px;border-color:#d8e0eb;font-size:10px;color:#334155;box-shadow:none;}
.lexo-report-btn b{font-size:12px;color:#64748b;margin-left:4px;}
.lexo-reminder-trigger{height:38px;min-height:38px;padding:0 18px;border-radius:7px;font-size:10px;background:#2563eb;box-shadow:0 5px 12px rgba(37,99,235,.18);}

.lexo-card{border-radius:14px;padding:20px 21px;box-shadow:0 3px 15px rgba(15,23,42,.045);border:1px solid #edf1f6;}
.lexo-section-heading{margin-bottom:15px;align-items:center;}
.lexo-section-title-with-icon{display:flex;align-items:center;gap:11px;}
.lexo-section-title-with-icon h2{font-size:18px;line-height:1.2;color:#10213d;}
.lexo-section-icon{width:18px;color:#2563eb;font-size:20px;display:inline-flex;justify-content:center;}
.lexo-section-link{font-size:10px;font-weight:700;color:#2563eb;text-decoration:none;}
.lexo-reminders-card{margin-bottom:15px;padding-top:18px;padding-bottom:10px;}
.lexo-reminder-item{min-height:56px;padding:10px 0;gap:13px;}
.lexo-reminder-dot{width:9px;height:9px;flex-basis:9px;margin-left:2px;box-shadow:0 0 0 4px #eaf1ff;}
.lexo-reminder-info strong{font-size:11px;}
.lexo-reminder-info small{font-size:10px;color:#64748b;}
.lexo-reminder-date{display:flex;align-items:center;gap:5px;color:#64748b;font-size:9px;white-space:nowrap;}
.lexo-reminder-date span{color:#64748b;font-size:11px;margin-left:7px;}
.lexo-reminder-status{padding:6px 12px;border-radius:7px;border:1px solid #f6c45f;background:#fff9e9;color:#d97706;font-size:9px;font-weight:700;white-space:nowrap;}
.lexo-reminder-status.is-done{border-color:#a7e0bc;background:#eefaf2;color:#16a34a;}
.lexo-secondary-btn{height:34px;padding:0 14px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#334155;font-size:9px;font-weight:700;cursor:pointer;}
.lexo-secondary-btn:hover{border-color:#2563eb;color:#2563eb;}
.lexo-more-button{border:0;background:transparent;color:#475569;font-size:18px;line-height:1;cursor:pointer;padding:3px 2px;}

.lexo-case-main-grid{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:15px;margin-bottom:15px;}
.lexo-status-card,.lexo-documents-card{min-height:420px;}
.lexo-status-form-compact{margin-bottom:15px;}
.lexo-status-form-top{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px;}
.lexo-status-form-top select,.lexo-status-form-top input{height:34px;padding:0 10px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#64748b;font-size:9px;box-sizing:border-box;width:100%;}
.lexo-status-form-compact textarea{width:100%;min-height:57px;resize:vertical;padding:10px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#10213d;font-size:9px;box-sizing:border-box;margin-bottom:8px;}
.lexo-status-form-compact .lexo-primary-btn{width:100%;height:34px;min-height:34px;padding:0;border-radius:6px;font-size:9px;}
.lexo-status-timeline{margin-left:7px;padding-left:20px;}
.lexo-status-timeline:before{left:3px;background:#dbe5f2;}
.lexo-status-history-item{padding-bottom:15px;}
.lexo-status-history-dot{left:-20px;top:5px;width:8px;height:8px;border:2px solid #fff;box-shadow:0 0 0 1px #2563eb;background:#2563eb;}
.lexo-status-history-item.status-new .lexo-status-history-dot{background:#16a34a;box-shadow:0 0 0 1px #86efac;}
.lexo-status-history-item.status-waiting .lexo-status-history-dot,.lexo-status-history-item.status-pending .lexo-status-history-dot{background:#f59e0b;box-shadow:0 0 0 1px #fcd34d;}
.lexo-status-history-item.status-closed .lexo-status-history-dot{background:#16a34a;box-shadow:0 0 0 1px #86efac;}
.lexo-status-history-top strong{font-size:11px;}
.lexo-status-history-top small,.lexo-status-history-content>small{font-size:8px;color:#94a3b8;}
.lexo-status-history-content p{font-size:10px;line-height:1.45;margin:5px 0 0;color:#475569;}
.lexo-bottom-link{display:block;padding-top:11px;border-top:1px solid #edf1f6;color:#2563eb;text-decoration:none;text-align:center;font-size:9px;font-weight:700;}

.lexo-documents-card .lexo-outline-btn{height:31px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid #dbe3ef;border-radius:7px;color:#2563eb;background:#fff;text-decoration:none;font-size:9px;font-weight:700;}
.lexo-document-list{border-top:1px solid #edf1f6;}
.lexo-document-row{padding:13px 0;gap:11px;}
.lexo-document-icon{width:31px;height:34px;flex-basis:31px;border-radius:6px;font-size:7px;background:#eff6ff;color:#2563eb;}
.lexo-document-icon.is-pdf{background:#fff0f0;color:#dc2626;}
.lexo-document-icon.is-word{background:#eef4ff;color:#2563eb;}
.lexo-document-icon.is-xls{background:#ecfdf3;color:#16a34a;}
.lexo-document-info a{font-size:10px;}
.lexo-document-info small{font-size:8px;margin-top:4px;color:#94a3b8;}
.lexo-document-download{width:29px;height:29px;flex-basis:29px;border:0;font-size:15px;color:#2563eb;}

.lexo-activity-card{margin-bottom:15px;}
.lexo-activity-timeline{border-top:1px solid #edf1f6;}
.lexo-activity-row{padding:12px 0;gap:11px;align-items:flex-start;}
.lexo-avatar{width:30px;height:30px;flex-basis:30px;font-size:9px;background:#10213d;}
.lexo-activity-meta strong{font-size:10px;}
.lexo-activity-meta small{font-size:8px;}
.lexo-activity-content{font-size:10px;margin-top:4px;line-height:1.45;}
.lexo-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:stretch;}
.lexo-comment-form textarea{min-height:43px;height:43px;resize:none;border:1px solid #dbe3ef;border-radius:7px;padding:12px;font-size:9px;box-sizing:border-box;}
.lexo-comment-actions{display:flex;align-items:stretch;gap:7px;}
.lexo-attach-btn{width:43px;height:43px;border:1px solid #dbe3ef;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:17px;cursor:pointer;box-sizing:border-box;position:relative;overflow:hidden;}
.lexo-attach-btn input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.lexo-send-btn{width:48px;height:43px;min-height:43px;padding:0;border-radius:7px;font-size:16px;}

@media(max-width:1100px){
    .lexo-case-hero{align-items:flex-start;flex-direction:column;}
    .lexo-case-hero-actions{width:100%;justify-content:space-between;}
}
@media(max-width:900px){
    .lexo-sidebar{width:170px;flex-basis:170px;}
    .lexo-case-main-grid{grid-template-columns:1fr;}
    .lexo-reminder-date{display:none;}
}
@media(max-width:640px){
    .lexo-sidebar{position:relative;width:100%;min-height:auto;height:auto;flex-basis:auto;padding:14px;}
    .lexo-app{display:block;}
    .lexo-brand{border-bottom:0;padding:2px 8px 14px;}
    .lexo-menu{display:none;}
    .lexo-sidebar-bottom{display:none;}
    .lexo-content{padding:14px 12px 35px;}
    .lexo-case-toolbar{height:auto;margin-bottom:10px;}
    .lexo-toolbar-greeting{display:none;}
    .lexo-case-hero{padding:16px;border-radius:12px;}
    .lexo-case-hero-actions{align-items:flex-start;flex-direction:column;gap:12px;}
    .lexo-case-actions{width:100%;display:grid;grid-template-columns:1fr;}
    .lexo-report-btn,.lexo-reminder-trigger{width:100%;}
    .lexo-case-meta{gap:10px 0;}
    .lexo-case-meta>div{padding:0 10px;}
    .lexo-case-meta>div:first-child{padding-left:0;}
    .lexo-status-form-top{grid-template-columns:1fr;}
    .lexo-reminder-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;}
    .lexo-reminder-status{grid-column:2;justify-self:start;}
    .lexo-reminder-item form{grid-column:2 / -1;width:100%;}
    .lexo-reminder-item form button{width:100%;}
    .lexo-comment-form{grid-template-columns:1fr;}
    .lexo-comment-actions{justify-content:flex-end;}
}

/*
|--------------------------------------------------------------------------
| LEXO 2.5 — RECORDATORIOS GLOBALES + HEADER COMPACTO
|--------------------------------------------------------------------------
*/

/* Reduce/eliminate the theme header whitespace on the LEXO app pages. */
.lexo-dashboard-page .site-header,
.lexo-dashboard-page .ct-header,
.lexo-dashboard-page header.wp-block-template-part,
.lexo-dashboard-page .wp-site-blocks > header,
.lexo-dashboard-page .main-header-bar{
    display:none !important;
}

.lexo-dashboard-page .site-content,
.lexo-dashboard-page .content-area,
.lexo-dashboard-page .entry-content{
    margin-top:0 !important;
    padding-top:0 !important;
}

.lexo-dashboard-page .lexo-app{
    margin-top:0 !important;
}

.lexo-topbar{
    margin-bottom:24px;
}

.lexo-topbar h1{
    font-size:38px;
    line-height:1.1;
    letter-spacing:-.035em;
}

.lexo-topbar p{
    margin-top:6px;
    font-size:14px;
}

.lexo-reminders-page-header{
    margin-bottom:18px;
}

.lexo-reminders-page-header h1{
    margin:0 0 5px;
    font-size:34px;
    letter-spacing:-.03em;
}

.lexo-reminders-page-header p{
    margin:0;
    color:#64748b;
    font-size:14px;
}

.lexo-global-reminder-form{
    margin-bottom:18px;
    border:1px solid #e7edf5;
}

.lexo-global-reminder-grid{
    display:grid;
    grid-template-columns:1.6fr 1fr .7fr .7fr;
    gap:12px;
    align-items:end;
}

.lexo-global-reminder-wide{
    grid-column:span 1;
}

.lexo-global-reminder-field label{
    display:block;
    margin:0 0 6px;
    font-size:11px;
    font-weight:700;
    color:#334155;
}

.lexo-global-reminder-field input,
.lexo-global-reminder-field select{
    width:100%;
    height:42px;
    padding:0 12px;
    border:1px solid #dbe3ef;
    border-radius:8px;
    background:#fff;
    color:#10213d;
    font-size:12px;
    box-sizing:border-box;
}

.lexo-global-reminder-actions{
    display:flex;
    align-items:end;
}

.lexo-global-reminder-actions .lexo-primary-btn{
    width:100%;
    height:42px;
    min-height:42px;
    border-radius:8px;
}

.lexo-reminder-counter{
    font-size:11px;
    color:#64748b;
}

.lexo-global-reminders-card{
    padding-bottom:8px;
}

.lexo-global-reminders-list{
    border-top:1px solid #edf1f6;
}

.lexo-global-reminder-row{
    display:grid;
    grid-template-columns:10px minmax(0,1fr) auto auto;
    gap:14px;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #edf1f6;
}

.lexo-global-reminder-row.is-completed{
    opacity:.62;
}

.lexo-global-reminder-status-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#2563eb;
    box-shadow:0 0 0 4px #eaf1ff;
}

.lexo-global-reminder-row.is-overdue .lexo-global-reminder-status-dot{
    background:#dc2626;
    box-shadow:0 0 0 4px #fee2e2;
}

.lexo-global-reminder-main strong{
    display:block;
    color:#10213d;
    font-size:12px;
    line-height:1.35;
}

.lexo-global-reminder-meta{
    display:flex;
    gap:16px;
    margin-top:5px;
    color:#94a3b8;
    font-size:10px;
}

.lexo-global-reminder-countdown{
    padding:7px 10px;
    border-radius:7px;
    background:#eef5ff;
    color:#2563eb;
    font-size:10px;
    font-weight:700;
    white-space:nowrap;
}

.lexo-global-reminder-countdown.is-overdue{
    background:#fff0f0;
    color:#dc2626;
}

.lexo-global-reminder-row-actions{
    display:flex;
    gap:7px;
    align-items:center;
    justify-content:flex-end;
}

.lexo-global-reminder-row-actions form{
    margin:0;
}

/* Modal: persistent until each reminder is dismissed or completed. */
.lexo-reminder-modal-card{
    max-width:680px;
}

.lexo-reminder-modal-item{
    align-items:flex-start;
}

.lexo-reminder-modal-copy{
    flex:1;
    min-width:0;
}

.lexo-reminder-modal-copy strong{
    color:#10213d;
    font-size:13px;
}

.lexo-reminder-modal-copy small{
    display:block;
    margin-top:5px;
}

.lexo-modal-countdown{
    display:inline-block;
    margin-top:9px;
    padding:6px 9px;
    border-radius:7px;
    background:#eef5ff;
    color:#2563eb;
    font-size:11px;
    font-weight:700;
}

.lexo-modal-countdown.is-overdue{
    background:#fff0f0;
    color:#dc2626;
}

.lexo-reminder-modal-item.is-overdue{
    border-left:3px solid #dc2626;
    padding-left:14px;
}

.lexo-reminder-modal-actions{
    max-width:270px;
}

@media(max-width:1000px){
    .lexo-global-reminder-grid{
        grid-template-columns:1fr 1fr;
    }
    .lexo-global-reminder-wide{
        grid-column:1 / -1;
    }
}

@media(max-width:768px){
    .lexo-topbar h1{font-size:30px;}
    .lexo-reminders-page-header{align-items:flex-start;gap:12px;}
    .lexo-global-reminder-grid{grid-template-columns:1fr;}
    .lexo-global-reminder-wide{grid-column:auto;}
    .lexo-global-reminder-row{grid-template-columns:9px minmax(0,1fr);}
    .lexo-global-reminder-countdown{grid-column:2;justify-self:start;}
    .lexo-global-reminder-row-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap;}
}

/* LEXO 2.6 — dashboard cards, documents and billing */
.lexo-stat-link{display:block;text-decoration:none;color:inherit;position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.lexo-stat-link:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.08);border-color:#dbe5f3;}
.lexo-stat-link span{display:flex;align-items:center;justify-content:space-between;margin-top:18px;font-size:10px;font-weight:700;color:#2563eb;}
.lexo-stat-link span b{font-size:15px;font-weight:500;}
.lexo-billing-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:700;}
.lexo-billing-badge.is-paid{background:#ecfdf3;color:#15803d;}
.lexo-billing-badge.is-pending{background:#fff7ed;color:#c2410c;}
.lexo-billing-label{display:block;margin-top:10px;font-size:9px;color:#64748b;font-weight:700;}
.lexo-billing-form{margin-top:5px;}
.lexo-billing-form select{height:32px;padding:0 28px 0 10px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#10213d;font-size:10px;max-width:175px;}
.lexo-hidden-submit{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.lexo-documents-global-card{margin-top:18px;}
.lexo-global-document-list{border-top:1px solid #edf1f6;}
.lexo-global-document-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto 36px;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f6;}
.lexo-global-document-info{min-width:0;display:flex;flex-direction:column;gap:3px;}
.lexo-global-document-info strong{font-size:12px;color:#10213d;overflow-wrap:anywhere;}
.lexo-global-document-info span{font-size:10px;color:#475569;}
.lexo-global-document-info small{font-size:9px;color:#94a3b8;}
@media(max-width:700px){
 .lexo-global-document-row{grid-template-columns:36px minmax(0,1fr);gap:10px;}
 .lexo-global-document-row>.lexo-secondary-btn{grid-column:2;justify-self:start;}
 .lexo-global-document-row>.lexo-document-download{grid-column:2;justify-self:end;margin-top:-36px;}
 .lexo-billing-form select{max-width:100%;}
}


/* LEXO 2.6.1 — dashboard: 4 compact cards in one row */
.lexo-stats-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:20px !important;
    align-items:stretch;
}
.lexo-stats-grid > .lexo-stat-card{
    min-width:0;
    padding:0 !important;
    overflow:hidden;
}
.lexo-stats-grid > .lexo-stat-card > .lexo-stat-link{
    display:flex !important;
    flex-direction:column;
    justify-content:flex-start;
    min-height:190px;
    height:100%;
    width:100%;
    box-sizing:border-box;
    padding:25px;
    color:inherit;
    text-decoration:none;
}
.lexo-stats-grid .lexo-stat-link small{
    display:block;
    margin:0;
}
.lexo-stats-grid .lexo-stat-link h2{
    margin:10px 0 0;
    font-size:38px;
    line-height:1.1;
}
.lexo-stats-grid .lexo-stat-link span{
    margin-top:auto;
    padding-top:18px;
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:100%;
    font-size:10px;
    font-weight:700;
    color:#2563eb;
}
.lexo-stats-grid .lexo-stat-link span b{font-size:15px;font-weight:500;}
@media(max-width:900px){
    .lexo-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:560px){
    .lexo-stats-grid{grid-template-columns:1fr !important;}
}
