/* Tameecom Blogs Evaluation — Unified CSS
 * File Version: 50
 * Updated: 02/11/2026 (Africa/Cairo)
 * Purpose: sole stylesheet for the frontend ranking component and administrator evaluation module.
 * Combined from the previous ranking.css and control.css; selectors remain scoped to their existing components.
 */

/* ===== Frontend ranking component ===== */
/* Tameecom Blogs Ranking frontend table — v26 */
.tbe-ranking{--tbe-blue:var(--color-primary, #174f82);--tbe-gold:var(--color-accent, #f2b544);--tbe-ink:var(--color-text, #19324a);--tbe-line:var(--color-border, #d9e5ef);max-width:1240px;margin:2rem auto;padding:clamp(1rem,2.4vw,2rem);color:var(--tbe-ink);font-family:var(--font-sans, inherit)}
.tbe-ranking *{box-sizing:border-box}
.tbe-ranking__header{padding:clamp(1.25rem,2.5vw,2rem);border:1px solid var(--tbe-line);border-inline-start:6px solid var(--tbe-gold);border-radius:18px;background:linear-gradient(135deg,var(--bg-soft-3, #f2f8fd) 0%,var(--bg-soft-2, #fff9ec) 100%);box-shadow:0 10px 28px rgba(20,61,94,.08);margin-bottom:1.25rem}
.tbe-ranking__brand{display:flex;align-items:center;gap:1.25rem;flex-direction:row}
.tbe-ranking__logo{display:block;width:76px;height:76px;max-width:76px;max-height:76px;object-fit:contain;flex:0 0 76px;border-radius:10px}
.tbe-ranking__brand-text{min-width:0;flex:1}
.tbe-ranking__eyebrow{font-size:.82rem;font-weight:700;letter-spacing:.04em;color:#527391}
.tbe-ranking__header h1{margin:.4rem 0 .6rem;color:var(--tbe-blue);font-size:clamp(1.5rem,2.7vw,2.25rem);line-height:1.4}
.tbe-ranking__header p{margin:.3rem 0 1rem;line-height:1.9}
.tbe-ranking__summary{display:inline-flex;gap:.45rem;align-items:center;padding:.45rem .8rem;border-radius:999px;background:var(--bg-card, #fff);border:1px solid var(--tbe-line);font-size:.92rem}
.tbe-ranking__table-wrap{overflow-x:auto;border:1px solid var(--tbe-line);border-radius:16px;background:var(--bg-card, #fff);box-shadow:0 8px 24px rgba(20,61,94,.07)}
.tbe-ranking__table{width:100%;min-width:650px;border-collapse:separate;border-spacing:0;text-align:right}
.tbe-ranking__table thead th{padding:1rem .9rem;background:#eaf3fb;color:#174f82;font-weight:800;white-space:nowrap;border-bottom:2px solid #cbddea}
.tbe-ranking__table thead th:first-child{border-start-start-radius:14px}
.tbe-ranking__table thead th:last-child{border-start-end-radius:14px}
.tbe-ranking__table tbody td{padding:.8rem .9rem;border-bottom:1px solid #e8eef4;vertical-align:middle}
.tbe-ranking__table tbody tr:nth-child(even){background:#f9fbfd}
.tbe-ranking__table tbody tr:hover{background:#fff6e4}
.tbe-ranking__table tbody tr:last-child td{border-bottom:0}
.tbe-ranking__rank{display:inline-flex;width:2.6rem;height:2.6rem;align-items:center;justify-content:center;border-radius:50%;background:#ffec72;color:#16446b;font-size:1.05rem;font-weight:900;box-shadow:inset 0 0 0 1px rgba(23,79,130,.12)}
.tbe-ranking__author,.tbe-ranking__author-placeholder{display:inline-flex;width:48px;height:48px;object-fit:cover;border-radius:12px;border:1px solid #dce7ef;background:#f3f7fa;align-items:center;justify-content:center}
.tbe-ranking__blog-link{color:var(--color-link, #174f82);font-weight:800;text-decoration:none}
.tbe-ranking__blog-link:hover{text-decoration:underline;color:var(--color-hover, #a46700)}
.tbe-ranking__points{display:inline-block;min-width:5rem;padding:.42rem .65rem;text-align:center;border-radius:9px;background:#eaf7f0;color:#17643a;font-variant-numeric:tabular-nums}
.tbe-ranking__new{display:inline-block;padding:.32rem .65rem;border-radius:7px;background:#ffe6ef;color:#a51e53;font-weight:800;white-space:nowrap}
.tbe-ranking__movement{display:inline-block;min-width:3.2rem;text-align:center;padding:.3rem .5rem;border-radius:7px;font-weight:800;white-space:nowrap}
.tbe-ranking__movement--up{background:#e3f7eb;color:#13703b}
.tbe-ranking__movement--down{background:#ffebeb;color:#b32626}
.tbe-ranking__movement--same{background:#eef2f6;color:#526577}
.tbe-ranking__notice{padding:1.2rem 1.4rem;border:1px solid #c9dceb;border-radius:14px;background:#f3f8fc;line-height:1.9}
.tbe-ranking__notice--error{background:#fff0f0;border-color:#f0c4c4;color:#8c2020}
.tbe-ranking__footnote{margin:1rem .25rem;color:#5c7184;font-size:.9rem;line-height:1.9}
@media(max-width:700px){.tbe-ranking{margin:1rem auto;padding:.75rem}.tbe-ranking__header{border-radius:12px}.tbe-ranking__brand{gap:.8rem;align-items:flex-start}.tbe-ranking__logo{width:60px;height:60px;max-width:60px;max-height:60px;flex-basis:60px}.tbe-ranking__table thead th,.tbe-ranking__table tbody td{padding:.7rem .65rem}}
@media(max-width:420px){.tbe-ranking__brand{flex-direction:column;align-items:flex-start}.tbe-ranking__logo{width:52px;height:52px;max-width:52px;max-height:52px;flex-basis:52px}}

/* Version 43: pagination — each page contains up to 100 rows without renumbering ranks. */
.tbe-ranking__pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;margin:1.5rem auto;padding:.75rem}
.tbe-ranking__pagination-info{margin-inline-end:.5rem;color:#34516f;font-weight:600}
.tbe-ranking__page-link{display:inline-flex;align-items:center;justify-content:center;min-width:2.5rem;padding:.55rem .8rem;border:1px solid #c9d9e8;border-radius:.55rem;text-decoration:none;color:#174f85;background:#fff}
.tbe-ranking__page-link:hover,.tbe-ranking__page-link.is-current{background:#174f85;color:#fff;border-color:#174f85}


/* ===== Administrator evaluation module ===== */
/* Tameecom Blogs Evaluation Control CSS — Version: 47 */

/* Tameecom Blogs Evaluation — My Projects Registry Card
 * Version: 2.0.5 */
.tb-eval{
    max-width:1220px;
    margin:0 auto;
    padding:10px 4px 46px;
    color:#263238;
    line-height:1.85;
    font-family:inherit;
    font-size:14px;
}
.tb-eval *, .tb-eval *::before, .tb-eval *::after{box-sizing:border-box}
.tb-eval button,.tb-eval input{font-family:inherit}
.tb-eval code{
    direction:ltr;
    unicode-bidi:embed;
    background:#f1f4f7;
    border:1px solid #dfe5ea;
    border-radius:5px;
    padding:2px 5px;
    color:#405664;
    font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
    font-size:.88em;
}
.tb-eval__header{
    display:flex;
    gap:22px;
    align-items:center;
    background:linear-gradient(135deg,#f7fbff,#fff7ec);
    border:1px solid #d9e4ef;
    border-radius:20px;
    padding:20px;
    margin-bottom:18px;
    box-shadow:0 8px 24px rgba(20,45,70,.06);
}
.tb-eval__brand{display:flex;align-items:center;gap:18px;min-width:0;flex:1}
.tb-eval__brand img{
    width:150px;height:150px;flex:0 0 150px;
    object-fit:contain;
    border-radius:14px;
}
.tb-eval__eyebrow{
    color:#70808d;font-size:12px;font-weight:700;margin-bottom:2px;
}
.tb-eval__header h1{
    margin:2px 0 6px;color:#064a86;font-size:28px;font-weight:900;line-height:1.25;
}
.tb-eval__header p{margin:0;color:#52616b;font-size:15px}
.tb-eval__version{
    min-width:140px;padding:12px 16px;text-align:center;
    background:#fff;border:1px solid #dce5ec;border-radius:12px;
}
.tb-eval__version span{display:block;color:#70808d;font-size:11px}
.tb-eval__version strong{display:block;color:#075b9d;font-size:22px;font-weight:900}
.tb-eval__control-panel{
    background:#fff;border:1px solid #dfe6eb;border-radius:14px;
    box-shadow:0 5px 18px rgba(20,45,70,.045);overflow:hidden;
}
.tb-eval__control-panel::before{
    content:"";display:block;height:4px;background:linear-gradient(90deg,#075b9d,#f39c12);
}
.tb-eval__section{
    margin-top:18px;padding:20px;background:#fff;
    border:1px solid #dfe7ec;border-radius:16px;
    box-shadow:0 5px 18px rgba(31,65,94,.045);
}
.tb-eval__section-title{
    display:flex;align-items:center;gap:11px;margin-bottom:15px;
    padding-bottom:11px;border-bottom:1px solid #e8eef2;
}
.tb-eval__section-number{
    display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;
    border-radius:10px;background:linear-gradient(135deg,#075b9d,#2186c4);
    color:#fff;font-size:11px;font-weight:900;
}
.tb-eval__section-title h2{margin:0;color:#075b9d;font-size:20px;font-weight:900}
.tb-eval__section-title p{margin:2px 0 0;color:#687780;font-size:12px}
.tb-eval__prose{color:#4f606a}
.tb-eval__callout,.tb-eval__final-note{
    margin:16px 0;padding:14px 16px;background:#eef8ff;
    border-right:5px solid #2186c4;border-radius:10px;
}
.tb-eval__formula{
    margin:16px 0;padding:15px 17px;background:#f8fafb;
    border:1px solid #dfe7ec;border-radius:12px;
}
.tb-eval__formula-title{color:#075b9d;font-weight:900;margin-bottom:7px}
.tb-eval__formula code{display:block;overflow:auto;white-space:normal}
.tb-eval__footer{
    margin-top:30px;border-top:1px solid #e0e6eb;padding-top:15px;
    color:#73808a;font-size:12px;text-align:center;
}

/*
 * Tameecom Blogs Evaluation — My Projects Administrative Controls v14
 * Presentation layer only; structured in the same report-card pattern as Tameecom Blog Wall.
 */
.tb-eval{
    --tb-blue:var(--color-primary, #145da0);
    --tb-blue-dark:var(--color-primary-dark, #0b3d68);
    --tb-blue-soft:var(--color-primary-light, #eef6ff);
    --tb-gold:var(--color-accent, #d99a19);
    --tb-gold-soft:#fff8e8;
    --tb-green:#16804b;
    --tb-green-soft:#eef9f3;
    --tb-red:#bd3c3c;
    --tb-red-soft:#fff4f4;
    --tb-ink:var(--color-text, #203443);
    --tb-muted:var(--color-muted, #687985);
    --tb-line:var(--color-border, #dce5eb);
    --tb-line-soft:#e9eff3;
    --tb-bg:var(--bg-page, #f5f8fb);
    --tb-white:var(--bg-card, #fff);
    max-width:1280px;
    margin:0 auto;
    padding:8px 6px 42px;
    color:var(--tb-ink);
    font-family:inherit;
    font-size:14px;
    line-height:1.75;
}
.tb-eval *,
.tb-eval *::before,
.tb-eval *::after{box-sizing:border-box}
.tb-eval h1,.tb-eval h2,.tb-eval h3,.tb-eval p{margin-top:0}
.tb-eval button,.tb-eval input{font-family:inherit}
.tb-eval code{
    direction:ltr;
    unicode-bidi:plaintext;
    display:inline-block;
    max-width:100%;
    background:#f1f5f8;
    border:1px solid #dfe7ed;
    border-radius:6px;
    padding:2px 7px;
    color:#35576e;
    font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
    font-size:.88em;
}

/* Header */
.tb-eval__header{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 18px;
    padding:20px 24px;
    overflow:hidden;
    background:
        radial-gradient(circle at 92% 15%,rgba(35,124,203,.12),transparent 32%),
        linear-gradient(135deg,#fff 0%,#f4f8fc 100%);
    border:1px solid #d5e1e9;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(31,65,94,.08);
}
.tb-eval__header::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:3px;
    background:linear-gradient(90deg,var(--tb-blue),#4e98d4,var(--tb-gold));
}
.tb-eval__brand{display:flex;align-items:center;gap:17px;min-width:0}
.tb-eval__brand img{
    width:82px;height:82px;flex:0 0 82px;
    object-fit:contain;
    padding:4px;
    background:#fff;
    border:1px solid #d7e4ec;
    border-radius:17px;
    box-shadow:0 5px 14px rgba(31,65,94,.10);
}
.tb-eval__eyebrow{
    margin-bottom:2px;
    color:#748692;
    font-size:11px;
    font-weight:800;
    letter-spacing:.2px;
}
.tb-eval__header h1{
    margin:0;
    color:var(--tb-blue-dark);
    font-size:28px;
    font-weight:900;
    line-height:1.25;
}
.tb-eval__header p{
    margin:4px 0 0;
    color:#536671;
    font-size:14px;
}
.tb-eval__version{
    flex:0 0 auto;
    min-width:128px;
    padding:10px 15px;
    text-align:center;
    background:#fff;
    border:1px solid #cad9e4;
    border-radius:13px;
    box-shadow:0 4px 12px rgba(31,65,94,.05);
}
.tb-eval__version span{display:block;color:#778792;font-size:10px}
.tb-eval__version strong{display:block;margin-top:1px;color:var(--tb-blue);font-size:20px;font-weight:900}

/* Operating panel */
.tb-eval__control-panel{
    position:relative;
    overflow:hidden;
    background:#fff;
    border:1px solid #d6e1e8;
    border-radius:17px;
    box-shadow:0 8px 24px rgba(31,65,94,.06);
}
.tb-eval__control-panel::before{
    content:"";
    display:block;
    height:4px;
    background:linear-gradient(90deg,var(--tb-blue),#2e82c4);
}
.tb-eval__control-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:17px 20px 14px;
    border-bottom:1px solid var(--tb-line-soft);
}
.tb-eval__control-top h2{
    margin:0;
    color:var(--tb-blue-dark);
    font-size:20px;
    font-weight:900;
}
.tb-eval__control-top p{margin:2px 0 0;color:var(--tb-muted);font-size:11px}
.tb-eval__live-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 12px;
    white-space:nowrap;
    border:1px solid #bfe1cd;
    border-radius:999px;
    background:var(--tb-green-soft);
    color:var(--tb-green);
    font-size:11px;
    font-weight:800;
}
.tb-eval__live-status span{width:8px;height:8px;border-radius:50%;background:#25a15d;box-shadow:0 0 0 4px rgba(37,161,93,.10)}
.tb-eval__live-status.is-running{border-color:#eed49b;background:var(--tb-gold-soft);color:#8b5d05}
.tb-eval__live-status.is-running span{background:var(--tb-gold);box-shadow:0 0 0 4px rgba(217,154,25,.12)}
.tb-eval__control-grid{
    display:grid;
    grid-template-columns:minmax(240px,1fr) 310px;
    gap:12px;
    padding:16px 20px 0;
}
.tb-eval__last-update{
    min-height:64px;
    padding:10px 14px;
    background:var(--tb-bg);
    border:1px solid #e0e8ee;
    border-radius:11px;
}
.tb-eval__last-update span{display:block;color:#778791;font-size:10px}
.tb-eval__last-update strong{display:block;margin-top:2px;color:#304b5d;font-size:14px}
.tb-eval__update,.tb-eval__save{
    border-radius:11px;
    cursor:pointer;
    font-family:inherit;
    font-weight:900;
    transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease;
}
.tb-eval__update{
    min-height:64px;
    border:0;
    background:linear-gradient(135deg,#125b98,#197bc3);
    color:#fff;
    box-shadow:0 8px 17px rgba(20,93,160,.20);
    font-size:14px;
}
.tb-eval__update:hover,.tb-eval__save:hover{transform:translateY(-1px)}
.tb-eval__update:active,.tb-eval__save:active{transform:translateY(0)}
.tb-eval__update:disabled{opacity:.55;cursor:not-allowed;transform:none}
.tb-eval__message{
    margin:10px 20px 0;
    padding:10px 13px;
    border:1px solid #cfe1ef;
    border-radius:10px;
    background:#eef8ff;
    color:var(--tb-blue);
    font-weight:700;
}
.tb-eval__message.is-success{border-color:#c8e5d4;background:var(--tb-green-soft);color:var(--tb-green)}
.tb-eval__message.is-error{border-color:#efcaca;background:var(--tb-red-soft);color:var(--tb-red)}
.tb-eval__weights-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin:18px 20px 9px;
}
.tb-eval__weights-head h3{margin:0;color:#314b5d;font-size:16px;font-weight:900}
.tb-eval__weights-head p{margin:1px 0 0;color:var(--tb-muted);font-size:11px}
.tb-eval__save{
    padding:8px 14px;
    border:1px solid #b9ddc8;
    background:var(--tb-green-soft);
    color:var(--tb-green);
    font-size:12px;
}
.tb-eval__save:disabled{opacity:.55;cursor:not-allowed;transform:none}
.tb-eval__weights{
    display:grid;
    grid-template-columns:repeat(9,minmax(82px,1fr));
    gap:8px;
    padding:0 20px 20px;
}
.tb-eval__weights label{
    display:flex;
    flex-direction:column;
    gap:5px;
    padding:8px;
    background:#fbfcfd;
    border:1px solid #dfe7ec;
    border-radius:10px;
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.tb-eval__weights label:focus-within{
    border-color:#7eafd2;
    background:#fff;
    box-shadow:0 0 0 3px rgba(20,93,160,.08);
}
.tb-eval__weights label span{color:#536570;font-size:10px;font-weight:800}
.tb-eval__weights input{
    width:100%;
    min-width:0;
    padding:6px 7px;
    border:1px solid #cbd6de;
    border-radius:7px;
    outline:0;
    background:#fff;
    color:#203b4e;
    font-size:14px;
    text-align:center;
}
.tb-eval__weights input:focus{border-color:#4f8fbe;box-shadow:0 0 0 2px rgba(20,93,160,.10)}

/* Section system */
.tb-eval__divider{height:1px;margin:26px 0 5px;background:linear-gradient(90deg,transparent,#d3dfe7,transparent)}
.tb-eval__section{
    margin-top:18px;
    padding:20px;
    background:#fff;
    border:1px solid #dfe7ec;
    border-radius:16px;
    box-shadow:0 5px 18px rgba(31,65,94,.045);
}
.tb-eval__section-title{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:15px;
    padding-bottom:11px;
    border-bottom:1px solid #e8eef2;
}
.tb-eval__section-number{
    display:grid;
    place-items:center;
    width:34px;height:34px;flex:0 0 34px;
    border-radius:10px;
    background:linear-gradient(135deg,var(--tb-blue),#2d83c4);
    color:#fff;
    font-size:11px;
    font-weight:900;
    box-shadow:0 4px 10px rgba(20,93,160,.16);
}
.tb-eval__section-title h2{margin:0;color:var(--tb-blue-dark);font-size:19px;font-weight:900}
.tb-eval__section-title p{margin:1px 0 0;color:var(--tb-muted);font-size:11px}
.tb-eval__prose{
    color:#4f626d;
    font-size:12px;
}
.tb-eval__prose p{margin:0 0 9px}
.tb-eval__prose p:last-child{margin-bottom:0}
.tb-eval__callout{
    display:flex;
    align-items:flex-start;
    gap:7px;
    margin-top:12px;
    padding:11px 13px;
    border-right:4px solid var(--tb-blue);
    border-radius:9px;
    background:var(--tb-blue-soft);
    color:#526b7b;
    font-size:11px;
}
.tb-eval__callout strong{color:var(--tb-blue-dark);white-space:nowrap}

/* Factor cards */
.tb-eval__factor-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
.tb-eval__factor{
    padding:12px 13px;
    border:1px solid #dfe7ec;
    border-radius:11px;
    background:linear-gradient(180deg,#fff,#f9fbfc);
}
.tb-eval__factor-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tb-eval__factor-top strong{color:#355568;font-size:12px}
.tb-eval__factor-top span{
    padding:2px 7px;
    border-radius:999px;
    background:#eef5fa;
    color:var(--tb-blue);
    font-size:9px;
    font-weight:800;
}
.tb-eval__factor code{display:block;margin-top:7px;overflow:auto;white-space:nowrap}
.tb-eval__factor p{margin:7px 0 0;color:#687983;font-size:10px}

/* Flow / formula */
.tb-eval__subsection{margin-top:19px}
.tb-eval__subsection h3{margin:0 0 9px;color:#3b5262;font-size:15px;font-weight:900}
.tb-eval__steps{margin:0;padding-right:22px;color:#52636d;font-size:11px}
.tb-eval__steps li{margin:5px 0}
.tb-eval__formula{
    padding:13px 15px;
    border-right:4px solid var(--tb-gold);
    border-radius:10px;
    background:var(--tb-gold-soft);
}
.tb-eval__formula-title{margin-bottom:6px;color:#8a5d00;font-weight:900}
.tb-eval__formula code{display:block;background:#fff;border-color:#eadfb9;padding:9px;white-space:normal}
.tb-eval__formula small{display:block;margin-top:7px;color:#7c6d4c}
.tb-eval__flow{display:flex;flex-direction:column;align-items:stretch;max-width:900px;margin:0 auto}
.tb-eval__flow-item{
    display:grid;
    grid-template-columns:46px 150px 1fr;
    gap:12px;
    align-items:center;
    padding:11px 14px;
    border:1px solid #dfe7ec;
    border-radius:11px;
    background:#fbfcfd;
}
.tb-eval__flow-item>span{
    display:grid;
    place-items:center;
    width:32px;height:26px;
    border-radius:7px;
    background:#eaf3fb;
    color:var(--tb-blue);
    font-size:10px;
    font-weight:900;
}
.tb-eval__flow-item strong{color:#345265;font-size:12px}
.tb-eval__flow-item p{margin:0;color:#687780;font-size:10px}
.tb-eval__flow-arrow{text-align:center;color:var(--tb-gold);font-size:18px;line-height:1.2;padding:2px}

/* Data summaries */
.tb-eval__db-summary,.tb-eval__runtime-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-bottom:12px;
}
.tb-eval__db-summary>div,.tb-eval__runtime-summary>div{
    padding:10px 12px;
    background:#f7fafc;
    border:1px solid #e1e8ed;
    border-radius:9px;
}
.tb-eval__db-summary span,.tb-eval__runtime-summary span{display:block;color:#74818a;font-size:10px}
.tb-eval__db-summary strong,.tb-eval__runtime-summary strong{display:block;margin-top:2px;color:#344d5d;font-size:12px}
.tb-eval__table-list,.tb-eval__file-list,.tb-eval__asset-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.tb-eval__db-item{
    padding:10px 12px;
    border:1px solid #e2e8ec;
    border-right:4px solid #2b9b62;
    border-radius:9px;
    background:#fff;
}
.tb-eval__db-item.is-missing{border-right-color:#d85a5a;background:#fff8f8}
.tb-eval__db-top,.tb-eval__file-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.tb-eval__db-top span,.tb-eval__file-top span{font-size:10px;font-weight:900;color:var(--tb-green)}
.tb-eval__db-item.is-missing .tb-eval__db-top span{color:var(--tb-red)}
.tb-eval__db-item p{margin:5px 0;color:#5e6f79;font-size:10px}
.tb-eval__db-item small{color:#84919a;font-size:9px}
.tb-eval__field-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}
.tb-eval__field-grid article{
    padding:11px 12px;
    background:#fbfcfd;
    border:1px solid #e1e8ec;
    border-radius:10px;
}
.tb-eval__field-grid strong{display:block;color:#355466;font-size:12px}
.tb-eval__field-grid p{margin:5px 0 0;color:#697780;font-size:10px}
.tb-eval__weight-rules{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.tb-eval__weight-rules>div{
    padding:10px 12px;
    background:#f7fbf8;
    border:1px solid #dcece2;
    border-radius:9px;
    color:#53676a;
    font-size:10px;
}
.tb-eval__weight-rules span{
    display:inline-grid;
    place-items:center;
    width:19px;height:19px;
    margin-left:5px;
    border-radius:50%;
    background:#dff2e6;
    color:var(--tb-green);
    font-weight:900;
}
.tb-eval__file-list article,.tb-eval__asset-list article{
    padding:11px 12px;
    border:1px solid #e0e7ec;
    border-radius:10px;
    background:#fff;
}
.tb-eval__file-top strong{font-size:12px;color:#385466}
.tb-eval__file-top .is-missing,.tb-eval__asset-list .is-missing{color:var(--tb-red)}
.tb-eval__file-list code,.tb-eval__asset-list code{
    display:block;
    margin-top:6px;
    overflow:auto;
    white-space:nowrap;
}
.tb-eval__file-list p{margin:5px 0;color:#73808a;font-size:9px}
.tb-eval__file-list small,.tb-eval__asset-list small{display:block;color:#5e6e78;font-size:9px}
.tb-eval__integration{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px;
    margin-top:12px;
}
.tb-eval__integration>div{
    padding:11px 12px;
    background:#f7fafc;
    border:1px solid #e0e7ec;
    border-radius:9px;
}
.tb-eval__integration strong{display:block;color:var(--tb-blue);font-size:12px}
.tb-eval__integration span{display:block;color:#697781;font-size:9px;margin-top:3px}
.tb-eval__scope{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tb-eval__scope>div{padding:13px 15px;border:1px solid #dfe7ec;border-radius:10px}
.tb-eval__scope .is-in{background:#f5fbf7;border-right:4px solid #2a9860}
.tb-eval__scope .is-out{background:#fff8f7;border-right:4px solid #d95a50}
.tb-eval__scope strong{color:#365364}
.tb-eval__scope ul{margin:7px 0 0;padding-right:19px;color:#5c6b74;font-size:10px}
.tb-eval__scope li{margin:4px 0}
.tb-eval__history{display:flex;flex-direction:column;gap:8px}
.tb-eval__history article{padding:10px 13px;border:1px solid #e1e7eb;border-radius:9px;background:#fbfcfd}
.tb-eval__history article>div{display:flex;justify-content:space-between;gap:10px}
.tb-eval__history strong{color:var(--tb-blue)}
.tb-eval__history span{color:#84919a;font-size:9px}
.tb-eval__history p{margin:4px 0 0;color:#63727c;font-size:10px}
.tb-eval__final-note{
    padding:12px 14px;
    border-right:4px solid var(--tb-gold);
    border-radius:9px;
    background:var(--tb-gold-soft);
    color:#635a47;
}

/* Footer */
.tb-eval__footer{
    margin-top:25px;
    padding:15px 8px 5px;
    border-top:1px solid #dce3e8;
    text-align:center;
    color:#71808a;
    font-size:10px;
}
.tb-eval__footer strong{color:#4c6270}

/* Missing runtime/asset indicators */
.tb-eval .is-present{color:var(--tb-green)}
.tb-eval .is-missing{color:var(--tb-red)}
.tb-eval__alert{
    margin:16px 20px;
    padding:11px 13px;
    border-radius:10px;
    font-weight:700;
}
.tb-eval__alert--danger{border:1px solid #efcaca;background:var(--tb-red-soft);color:var(--tb-red)}
.tb-eval .icon-refresh{display:inline-block;width:1em;height:1em;margin-left:5px;vertical-align:-.12em;border:2px solid currentColor;border-top-color:transparent;border-radius:50%}
.tb-eval__update.is-busy .icon-refresh{animation:tb-eval-spin .8s linear infinite}
@keyframes tb-eval-spin{to{transform:rotate(360deg)}}

/* Responsive */
@media(max-width:1080px){
    .tb-eval__weights{grid-template-columns:repeat(5,minmax(82px,1fr))}
    .tb-eval__factor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .tb-eval__integration{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
    .tb-eval__header{align-items:stretch;flex-direction:column}
    .tb-eval__version{align-self:flex-start}
    .tb-eval__control-grid{grid-template-columns:1fr}
    .tb-eval__weights{grid-template-columns:repeat(3,minmax(82px,1fr))}
    .tb-eval__table-list,.tb-eval__file-list,.tb-eval__asset-list{grid-template-columns:1fr}
    .tb-eval__field-grid,.tb-eval__weight-rules,.tb-eval__scope{grid-template-columns:1fr}
}
@media(max-width:640px){
    .tb-eval{padding:4px 3px 30px}
    .tb-eval__header{padding:16px}
    .tb-eval__brand img{width:68px;height:68px;flex-basis:68px}
    .tb-eval__header h1{font-size:22px}
    .tb-eval__control-top{align-items:flex-start;flex-direction:column}
    .tb-eval__weights{grid-template-columns:repeat(2,minmax(90px,1fr))}
    .tb-eval__db-summary,.tb-eval__runtime-summary{grid-template-columns:1fr 1fr}
    .tb-eval__flow-item{grid-template-columns:42px 1fr}
    .tb-eval__flow-item p{grid-column:2}
}
@media(max-width:440px){
    .tb-eval__brand{align-items:flex-start}
    .tb-eval__db-summary,.tb-eval__runtime-summary{grid-template-columns:1fr}
    .tb-eval__section,.tb-eval__control-panel{border-radius:12px}
    .tb-eval__section{padding:14px}
    .tb-eval__control-top,.tb-eval__control-grid,.tb-eval__weights{padding-left:13px;padding-right:13px}
    .tb-eval__weights-head{margin-left:13px;margin-right:13px}
    .tb-eval__message{margin-left:13px;margin-right:13px}
}

/* Reference-style report components */
.tb-eval__factor-grid,
.tb-eval__table-list,
.tb-eval__file-list,
.tb-eval__asset-list,
.tb-eval__field-grid,
.tb-eval__integration,
.tb-eval__scope{
    gap:12px;
}
.tb-eval__factor,
.tb-eval__db-item,
.tb-eval__file-item,
.tb-eval__asset-item,
.tb-eval__field-grid article,
.tb-eval__integration article{
    background:#fbfcfd;
    border:1px solid #e1e7ec;
    border-radius:12px;
}
.tb-eval__factor{padding:13px 15px}
.tb-eval__factor-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.tb-eval__factor-top strong{color:#075b9d}
.tb-eval__factor-top span{font-size:11px;color:#167344;font-weight:800}
.tb-eval__factor p{margin:7px 0 0;color:#65727a;font-size:12px}
.tb-eval__factor code{display:block;margin-top:8px;overflow:auto}
.tb-eval__db-summary,
.tb-eval__runtime-summary{
    gap:10px;
}
.tb-eval__db-summary>div,
.tb-eval__runtime-summary>div{
    background:#f8fafb;border:1px solid #e1e7ec;border-radius:10px;padding:10px 12px;
}
.tb-eval__db-summary span,
.tb-eval__runtime-summary span{display:block;color:#71808d;font-size:11px}
.tb-eval__db-summary strong,
.tb-eval__runtime-summary strong{display:block;margin-top:2px;color:#304b5d;font-size:13px}
.tb-eval__flow-item{
    background:#fbfcfd!important;
    border:1px solid #dfe7ec!important;
    border-radius:12px!important;
}
.tb-eval__flow-arrow{color:#f39c12!important}
.tb-eval__weight-rules>div{
    background:#f8fafb;border:1px solid #e1e7ec;border-radius:10px;padding:10px 12px;
}
.tb-eval__weight-rules span{color:#167344;font-weight:900}
.tb-eval__history article{
    border:1px solid #e0e6eb;border-radius:12px;background:#fff;padding:11px 14px;
}
.tb-eval__history article+article{margin-top:10px}
.tb-eval__history article>div{
    display:flex;justify-content:space-between;gap:12px;align-items:center;
}
.tb-eval__history article strong{color:#075b9d;font-size:15px}
.tb-eval__history article span{font-size:12px;color:#7a8790}
.tb-eval__history article p{margin:5px 0 0;color:#56646d;font-size:12px}
.tb-eval__scope>div{padding:14px 16px;border-radius:12px}
.tb-eval__scope .is-in{background:#effaf3;border:1px solid #c8e5d4}
.tb-eval__scope .is-out{background:#fff4f1;border:1px solid #efcaca}
@media(max-width:850px){
    .tb-eval__factor-grid,.tb-eval__table-list,.tb-eval__file-list,.tb-eval__asset-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
    .tb-eval__header{flex-direction:column;text-align:center}
    .tb-eval__brand{flex-direction:column}
    .tb-eval__brand img{width:120px;height:120px;flex-basis:120px}
    .tb-eval__header h1{font-size:23px}
    .tb-eval__version{min-width:120px}
    .tb-eval__factor-grid,.tb-eval__table-list,.tb-eval__file-list,.tb-eval__asset-list,
    .tb-eval__field-grid,.tb-eval__integration,.tb-eval__scope{grid-template-columns:1fr}
    .tb-eval__section{padding:15px}
}


/* Maintenance / stable-release documentation */
.tb-eval__upgrade-note{
    margin:12px 0 18px;
    padding:14px 16px;
    background:#fbfcfd;
    border:1px solid #e0e6eb;
    border-radius:14px;
}
.tb-eval__upgrade-note-path{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    color:#596871;
    font-size:12px;
}
.tb-eval__doc-status{
    font-weight:800;
    white-space:nowrap;
}
.tb-eval__doc-status.is-present{color:var(--tb-green)}
.tb-eval__doc-status.is-missing{color:var(--tb-red)}
.tb-eval__upgrade-note-details{
    margin-top:12px;
    border-top:1px solid #e5e9ec;
    padding-top:10px;
}
.tb-eval__upgrade-note-details summary{
    cursor:pointer;
    font-weight:800;
    color:#075b9d;
}
.tb-eval__upgrade-note-details pre{
    margin:10px 0 0;
    max-height:620px;
    overflow:auto;
    white-space:pre-wrap;
    word-break:break-word;
    direction:rtl;
    text-align:right;
    background:#fff;
    border:1px solid #dde4e9;
    border-radius:10px;
    padding:14px;
    font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}


/* Version 17 — formula-first calibration layout and ordered controls */
.tb-eval__calibration-head{margin:8px 20px 10px;padding:15px 16px;background:linear-gradient(135deg,#f0f8ff,#fff8e9);border:1px solid #d9e6ef;border-right:4px solid var(--tb-gold,#d99a19);border-radius:12px}
.tb-eval__calibration-head h3{margin:0 0 3px;color:#0b3d68;font-size:17px;font-weight:900}
.tb-eval__calibration-head p{margin:0;color:#687985;font-size:12px}
.tb-eval__calibration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 20px 14px}
.tb-eval__calibration-field{display:flex;flex-direction:column;gap:6px;min-width:0;padding:11px;background:#fbfdff;border:1px solid #dce6ed;border-radius:11px;transition:border-color .15s ease,box-shadow .15s ease}
.tb-eval__calibration-field:focus-within{border-color:#7eafd2;background:#fff;box-shadow:0 0 0 3px rgba(20,93,160,.08)}
.tb-eval__calibration-field>span{font-size:12px;font-weight:900;color:#304f63}
.tb-eval__calibration-field input{width:100%;min-width:0;padding:8px 9px;border:1px solid #cbd8e1;border-radius:8px;background:#fff;color:#153f5c;text-align:center;font-size:16px;font-weight:800;outline:0}
.tb-eval__calibration-field input:focus{border-color:#4f8fbe;box-shadow:0 0 0 2px rgba(20,93,160,.10)}
.tb-eval__calibration-field small{color:#778792;font-size:10px;line-height:1.6}
.tb-eval__calibration-note{margin:0 20px 20px;padding:12px 14px;background:#fff8e8;border:1px solid #f0dfb8;border-radius:10px;color:#775718;font-size:12px}
@media(max-width:1080px){.tb-eval__calibration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.tb-eval__calibration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.tb-eval__calibration-grid{grid-template-columns:1fr;padding-left:13px;padding-right:13px}.tb-eval__calibration-head{margin-left:13px;margin-right:13px}.tb-eval__calibration-note{margin-left:13px;margin-right:13px}}


/* Version 17 — ordered calibration workflow with formula-first cards */
.tb-eval__control-top{
    padding:22px 24px;
    background:linear-gradient(120deg,#f5faff 0%,#fff 62%,#fff8e8 100%);
}
.tb-eval__control-top h2{font-size:23px;line-height:1.45}
.tb-eval__control-top p{font-size:12px;line-height:1.8}
.tb-eval__calibration-section,
.tb-eval__weights-section,
.tb-eval__run-section{
    margin:18px 20px;
    padding:18px;
    border:1px solid #dce6ed;
    border-radius:16px;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    box-shadow:0 5px 18px rgba(28,67,96,.045);
}
.tb-eval__section-heading{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
    padding:0 0 13px;
    border-bottom:1px solid #e5edf2;
}
.tb-eval__step{
    display:grid;
    place-items:center;
    width:40px;height:40px;flex:0 0 40px;
    border-radius:12px;
    background:linear-gradient(145deg,#125b98,#3288c7);
    color:#fff;
    font-size:17px;
    font-weight:900;
    box-shadow:0 5px 12px rgba(18,91,152,.18);
}
.tb-eval__section-heading h3{
    margin:0 0 3px;
    color:#103f67;
    font-size:19px;
    font-weight:900;
}
.tb-eval__section-heading p{
    margin:0;
    color:#6c7e89;
    font-size:12px;
    line-height:1.75;
}
.tb-eval__calibration-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:13px;
    padding:0;
}
.tb-eval__calibration-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:15px;
    border:1px solid #dce6ed;
    border-radius:13px;
    background:#fff;
    box-shadow:0 3px 10px rgba(31,65,94,.035);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.tb-eval__calibration-card:hover{
    transform:translateY(-2px);
    border-color:#b9d2e3;
    box-shadow:0 7px 17px rgba(31,65,94,.07);
}
.tb-eval__calibration-card-title{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:34px;
    margin-bottom:9px;
}
.tb-eval__calibration-mark{
    display:grid;
    place-items:center;
    width:29px;height:29px;flex:0 0 29px;
    border-radius:9px;
    background:#eaf4fb;
    color:#17669f;
    font-family:Georgia,serif;
    font-size:17px;
    font-weight:900;
}
.tb-eval__calibration-card-title h4{
    margin:0;
    color:#244c66;
    font-size:14px;
    font-weight:900;
    line-height:1.6;
}
.tb-eval__calibration-equation{
    flex:1;
    margin:0 0 13px;
    padding:10px 11px;
    border-right:3px solid #d9a02a;
    border-radius:8px 0 0 8px;
    background:#fff9ec;
    color:#665733;
    font-size:11px;
    line-height:1.9;
}
.tb-eval__calibration-control{
    display:grid;
    grid-template-columns:1fr minmax(95px,125px);
    align-items:center;
    gap:7px 10px;
    padding-top:11px;
    border-top:1px solid #edf1f4;
}
.tb-eval__calibration-control label{
    color:#526977;
    font-size:11px;
    font-weight:800;
}
.tb-eval__calibration-control input{
    width:100%;
    min-width:0;
    min-height:39px;
    padding:7px 9px;
    border:1px solid #c8d7e1;
    border-radius:9px;
    background:#fbfdff;
    color:#123f60;
    font-size:15px;
    font-weight:900;
    text-align:center;
    outline:0;
    direction:ltr;
}
.tb-eval__calibration-control input:focus{
    border-color:#3d8cc2;
    background:#fff;
    box-shadow:0 0 0 3px rgba(39,126,185,.12);
}
.tb-eval__calibration-control small{
    grid-column:1 / -1;
    color:#7c8b94;
    font-size:10px;
}
.tb-eval__calibration-control code{
    direction:ltr;
    background:#f1f5f8;
    color:#34566b;
}
.tb-eval__calibration-note{
    margin:15px 0 0;
    padding:12px 14px;
    border:1px solid #efdfb9;
    border-right:4px solid #d99a19;
    border-radius:10px;
    background:linear-gradient(90deg,#fffdf7,#fff7e5);
    color:#725a22;
    font-size:11px;
    line-height:1.9;
}
.tb-eval__weights{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    padding:0;
}
.tb-eval__weight-field{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(85px,125px);
    align-items:center;
    gap:5px 12px!important;
    padding:12px!important;
    border:1px solid #dce6ed!important;
    border-radius:11px!important;
    background:#fff!important;
}
.tb-eval__weight-field>span{
    color:#34566b!important;
    font-size:12px!important;
    font-weight:900!important;
}
.tb-eval__weight-field input{
    width:100%;
    min-width:0;
    min-height:37px;
    padding:6px 8px;
    border:1px solid #c8d7e1;
    border-radius:8px;
    background:#fbfdff;
    color:#123f60;
    font-size:15px;
    font-weight:900;
    text-align:center;
    direction:ltr;
}
.tb-eval__weight-field small{
    grid-column:1 / -1;
    color:#81909a;
    font-size:10px;
}
.tb-eval__action-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-top:16px;
    padding-top:15px;
    border-top:1px solid #e5edf2;
}
.tb-eval__action-row p{margin:0;color:#647681;font-size:11px}
.tb-eval__save{
    min-height:43px;
    padding:10px 20px;
    border:1px solid #b9ddc8;
    border-radius:10px;
    background:linear-gradient(135deg,#eaf8ef,#f6fff8);
    color:#147443;
    font-size:13px;
    font-weight:900;
    box-shadow:0 4px 10px rgba(25,130,77,.07);
}
.tb-eval__run-section{
    border-color:#c8ddeb;
    background:linear-gradient(135deg,#f6fbff,#fff);
}
.tb-eval__run-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(240px,330px);
    gap:12px;
}
.tb-eval__last-update{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:64px;
    padding:11px 15px;
    background:#f7fafc;
    border:1px solid #dfe8ee;
    border-radius:11px;
}
.tb-eval__last-update span{font-size:11px}
.tb-eval__last-update strong{font-size:14px;overflow-wrap:anywhere}
.tb-eval__update{
    min-height:64px;
    padding:12px 16px;
    border-radius:11px;
    background:linear-gradient(135deg,#105b96,#2786c8);
    color:#fff;
    box-shadow:0 7px 16px rgba(20,93,160,.2);
    font-size:14px;
}
.tb-eval__message{margin:0 20px 20px;line-height:1.8}
@media(max-width:1050px){
    .tb-eval__calibration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .tb-eval__weights{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
    .tb-eval__calibration-section,.tb-eval__weights-section,.tb-eval__run-section{margin:13px;padding:13px}
    .tb-eval__calibration-grid,.tb-eval__weights{grid-template-columns:1fr}
    .tb-eval__run-row{grid-template-columns:1fr}
    .tb-eval__section-heading h3{font-size:16px}
    .tb-eval__calibration-control{grid-template-columns:1fr 115px}
}


/* v18 — visually distinct control zones */
.tb-eval__calibration-section{
    background:linear-gradient(145deg,#fffaf0 0%,#fff 72%);
    border:1px solid #f0d49d!important;
    border-right:6px solid #d99116!important;
    box-shadow:0 8px 24px rgba(172,111,12,.08)!important;
}
.tb-eval__calibration-section .tb-eval__section-heading{
    background:#fff0d1;border-color:#f2d7a2;
}
.tb-eval__calibration-section .tb-eval__step,
.tb-eval__calibration-section .tb-eval__calibration-mark{
    background:linear-gradient(135deg,#b66a08,#e5a52d)!important;
}
.tb-eval__calibration-section .tb-eval__section-heading h3,
.tb-eval__calibration-section .tb-eval__calibration-card-title h4{color:#87500b!important}
.tb-eval__calibration-section .tb-eval__calibration-card{
    background:rgba(255,255,255,.94)!important;
    border-color:#f0d9b0!important;
}
.tb-eval__calibration-section .tb-eval__calibration-control input{
    border-color:#e5c78e!important;background:#fffdf8!important;
}
.tb-eval__weights-section{
    background:linear-gradient(145deg,#f3f0ff 0%,#fff 75%)!important;
    border-color:#d8cdf7!important;border-right:6px solid #7354c7!important;
    box-shadow:0 8px 24px rgba(89,63,166,.08)!important;
}
.tb-eval__weights-section .tb-eval__section-heading{background:#eae4ff;border-color:#d7cbfa}
.tb-eval__weights-section .tb-eval__step{background:linear-gradient(135deg,#6342b5,#9278e3)!important}
.tb-eval__weights-section .tb-eval__section-heading h3{color:#4d328f!important}
.tb-eval__weights-section .tb-eval__weight-field{background:#fff;border-color:#dcd3f4!important}
.tb-eval__weights-section .tb-eval__weight-field:focus-within{border-color:#9278e3!important;box-shadow:0 0 0 3px rgba(115,84,199,.12)!important}
.tb-eval__weights-section .tb-eval__action-row--save{background:#f0ebff;border-color:#d8cdf7}
.tb-eval__weights-section .tb-eval__save{background:linear-gradient(135deg,#6342b5,#9278e3);color:#fff;border:0;box-shadow:0 6px 14px rgba(99,66,181,.18)}
.tb-eval__run-section{
    background:linear-gradient(145deg,#edfbf4 0%,#fff 76%)!important;
    border-color:#bce6cf!important;border-right:6px solid #178650!important;
    box-shadow:0 8px 24px rgba(23,134,80,.08)!important;
}
.tb-eval__run-section .tb-eval__section-heading{background:#dff6e9;border-color:#bce6cf}
.tb-eval__run-section .tb-eval__step{background:linear-gradient(135deg,#137543,#25a467)!important}
.tb-eval__run-section .tb-eval__section-heading h3{color:#12643b!important}
.tb-eval__run-section .tb-eval__update{background:linear-gradient(135deg,#11723e,#20a462)!important;box-shadow:0 8px 17px rgba(23,134,80,.20)!important}
.tb-eval__toggle-track{position:relative;flex:0 0 42px;width:42px;height:24px;background:#cbd5da;border-radius:999px;transition:background .2s}
.tb-eval__toggle-track::after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}
@media(max-width:900px){
}
@media(max-width:600px){
}


/* v19: explicit, independently colored control zones.
 * Scoped selectors and a direct versioned stylesheet URL ensure these rules
 * remain visible inside My Projects' nested module renderer. */
.tb-eval .tb-eval__calibration-section{
    background:linear-gradient(145deg,#fffaf0 0%,#fff3d9 100%) !important;
    border:1px solid #f0cf91 !important;
    border-right:6px solid #d88912 !important;
    box-shadow:0 8px 22px rgba(164,104,16,.09) !important;
}
.tb-eval .tb-eval__calibration-section .tb-eval__section-heading{
    border-bottom-color:#f0d5a5 !important;
}
.tb-eval .tb-eval__calibration-section .tb-eval__step{
    background:linear-gradient(145deg,#b96a08,#e5a126) !important;
    box-shadow:0 5px 12px rgba(185,106,8,.20) !important;
}
.tb-eval .tb-eval__calibration-section .tb-eval__section-heading h3{
    color:#874b05 !important;
}
.tb-eval .tb-eval__calibration-card{
    background:rgba(255,255,255,.88) !important;
    border-color:#edd5ad !important;
}
.tb-eval .tb-eval__calibration-card-title h4{
    color:#754706 !important;
}
.tb-eval .tb-eval__calibration-mark{
    background:#fff0cc !important;
    color:#9b5c08 !important;
}
.tb-eval .tb-eval__calibration-control input{
    border-color:#e3bd79 !important;
    background:#fff !important;
}
.tb-eval .tb-eval__weights-section{
    background:linear-gradient(145deg,#fbf7ff 0%,#f0e8ff 100%) !important;
    border:1px solid #d7c4f5 !important;
    border-right:6px solid #8050b5 !important;
    box-shadow:0 8px 22px rgba(105,66,153,.09) !important;
}
.tb-eval .tb-eval__weights-section .tb-eval__section-heading{
    border-bottom-color:#ddcff4 !important;
}
.tb-eval .tb-eval__weights-section .tb-eval__step{
    background:linear-gradient(145deg,#69409b,#9a6bd0) !important;
    box-shadow:0 5px 12px rgba(105,64,155,.20) !important;
}
.tb-eval .tb-eval__weights-section .tb-eval__section-heading h3{
    color:#5d348b !important;
}
.tb-eval .tb-eval__weight-field{
    background:rgba(255,255,255,.9) !important;
    border-color:#d9c9ef !important;
}
.tb-eval .tb-eval__weight-field > span{
    color:#603b8b !important;
}
.tb-eval .tb-eval__weight-field input{
    border-color:#c8b1e7 !important;
}
.tb-eval .tb-eval__weights-section .tb-eval__save{
    background:linear-gradient(135deg,#69409b,#8957bd) !important;
    color:#fff !important;
    border-color:#69409b !important;
    box-shadow:0 5px 13px rgba(105,64,155,.18) !important;
}
.tb-eval .tb-eval__run-section{
    background:linear-gradient(145deg,#f2fff7 0%,#e0f8e9 100%) !important;
    border:1px solid #b9e2c7 !important;
    border-right:6px solid #16804b !important;
    box-shadow:0 8px 22px rgba(22,128,75,.09) !important;
}
.tb-eval .tb-eval__run-section .tb-eval__section-heading{
    border-bottom-color:#c6e8d1 !important;
}
.tb-eval .tb-eval__run-section .tb-eval__step{
    background:linear-gradient(145deg,#117341,#25a766) !important;
    box-shadow:0 5px 12px rgba(17,115,65,.20) !important;
}
.tb-eval .tb-eval__run-section .tb-eval__section-heading h3{
    color:#0c6337 !important;
}
.tb-eval .tb-eval__run-row .tb-eval__update{
    background:linear-gradient(135deg,#117341,#20a15e) !important;
    color:#fff !important;
    box-shadow:0 8px 17px rgba(22,128,75,.22) !important;
}
.tb-eval .tb-eval__run-row .tb-eval__last-update{
    background:rgba(255,255,255,.82) !important;
    border-color:#c6e8d1 !important;
}
.tb-eval .tb-eval__action-row--save{
    border-top-color:#ddcff4 !important;
}
.tb-eval .tb-eval__calibration-equation{
    color:#5d5548 !important;
}
.tb-eval .tb-eval__calibration-control label{
    color:#754706 !important;
}
@media (max-width:900px){
    .tb-eval .tb-eval__calibration-section,
    .tb-eval .tb-eval__weights-section,
    .tb-eval .tb-eval__run-section{margin:14px 10px;padding:14px}
}


/* v35: update feedback stays directly below the update button. */
.tb-eval__update-wrap{display:flex;flex-direction:column;gap:8px;min-width:0}
.tb-eval__update-wrap .tb-eval__update{width:100%}
.tb-eval__update-wrap .tb-eval__message{margin:0;padding:9px 12px;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.tb-eval__update-wrap .tb-eval__message[hidden]{display:none!important}
.tb-eval__update.is-busy{cursor:progress}

/* Version 43: weekly scheduling controls */
.tb-eval__schedule{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.25rem;padding:1rem;border:1px solid #d5e2ee;border-radius:.75rem;background:#f7fbff}
.tb-eval__schedule h4,.tb-eval__schedule p{flex-basis:100%;margin:0}
.tb-eval__schedule p{line-height:1.8;color:#526579}
.tb-eval__schedule-toggle,.tb-eval__schedule-field{display:flex;align-items:center;gap:.5rem}
.tb-eval__schedule-field select{min-width:8rem;padding:.45rem;border:1px solid #b9cbdc;border-radius:.4rem;background:#fff}



/* v49 — BDC shared design-token contract. Hydra loads bdc.css for the BDC section
   before this component stylesheet. Local fallbacks preserve non-BDC contexts. */
.tbe-ranking,
.tb-eval {
    font-family: var(--font-sans, "Cairo", "Segoe UI", Tahoma, Arial, sans-serif);
}
.tbe-ranking {
    color: var(--color-text, #19324a);
}
.tbe-ranking__header,
.tbe-ranking__table-wrap,
.tbe-ranking__summary {
    border-color: var(--color-border, #d9e5ef);
}
.tbe-ranking__header h1,
.tbe-ranking__table thead th,
.tbe-ranking__blog-link {
    color: var(--color-primary, #245B85);
}
.tbe-ranking__table-wrap,
.tbe-ranking__summary {
    background: var(--bg-card, #fff);
}
.tb-eval {
    color: var(--color-text, #203443);
}
.tb-eval .tb-eval__header,
.tb-eval .tb-eval__section,
.tb-eval .tb-eval__control-panel {
    border-color: var(--color-border, #dce5eb);
}

/* =========================================================
   v50 — BDC Comfortable Typography
   Shared typography contract for the frontend ranking and
   administrator evaluation interface. Functional colors,
   statuses, ranking signals and layout behavior remain local.
   ========================================================= */

.tbe-ranking,
.tb-eval {
    --tbe-font-family: var(--font-sans, "Cairo", "Segoe UI", Tahoma, Arial, sans-serif);
    --tbe-font-body: 18px;
    --tbe-font-explanatory: 16px;
    --tbe-font-meta: 14px;
    --tbe-font-card-title: 22px;
    --tbe-font-page-title: 32px;
    --tbe-font-input: 17px;
    --tbe-font-number: 27px;
    font-family: var(--tbe-font-family);
    font-size: var(--tbe-font-body);
    line-height: 1.85;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Frontend ranking: readable title, summary, table and notices. */
.tbe-ranking {
    width: min(100%, 1440px);
    max-width: 1440px;
}
.tbe-ranking__header h1 {
    font-family: var(--tbe-font-family);
    font-size: clamp(30px, 2.4vw, 36px);
    line-height: 1.4;
    font-weight: 800;
}
.tbe-ranking__header p,
.tbe-ranking__notice,
.tbe-ranking__table tbody td,
.tbe-ranking__blog-link,
.tbe-ranking__pagination-info,
.tbe-ranking__page-link {
    font-size: 16px;
    line-height: 1.8;
}
.tbe-ranking__eyebrow,
.tbe-ranking__footnote,
.tbe-ranking__summary {
    font-size: 14px;
    line-height: 1.7;
}
.tbe-ranking__table thead th {
    font-size: 16px;
    line-height: 1.65;
}
.tbe-ranking__rank,
.tbe-ranking__points,
.tbe-ranking__new,
.tbe-ranking__movement {
    font-size: 16px;
}

/* Administrator interface: replace legacy 9–12px text with a
   comfortable minimum while preserving compact status indicators. */
.tb-eval {
    width: min(100%, 1440px);
    max-width: 1440px;
    font-size: 18px;
    line-height: 1.85;
}
.tb-eval p,
.tb-eval li,
.tb-eval label,
.tb-eval button,
.tb-eval input,
.tb-eval select,
.tb-eval textarea {
    font-family: var(--tbe-font-family);
}
.tb-eval p,
.tb-eval li,
.tb-eval .tb-eval__prose,
.tb-eval .tb-eval__callout,
.tb-eval .tb-eval__formula,
.tb-eval .tb-eval__steps,
.tb-eval .tb-eval__weight-rules,
.tb-eval .tb-eval__scope ul,
.tb-eval .tb-eval__history article p,
.tb-eval .tb-eval__file-list p,
.tb-eval .tb-eval__file-list small,
.tb-eval .tb-eval__asset-list small,
.tb-eval .tb-eval__integration span,
.tb-eval .tb-eval__field-grid p,
.tb-eval .tb-eval__db-item p {
    font-size: 16px;
    line-height: 1.8;
}
.tb-eval .tb-eval__header h1 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 800;
}
.tb-eval .tb-eval__control-top h2,
.tb-eval .tb-eval__section-title h2,
.tb-eval .tb-eval__section-heading h3,
.tb-eval .tb-eval__control-top h2 {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
}
.tb-eval .tb-eval__weights-head h3,
.tb-eval .tb-eval__subsection h3,
.tb-eval .tb-eval__calibration-head h3,
.tb-eval .tb-eval__calibration-card-title h4 {
    font-size: 21px;
    line-height: 1.55;
}
.tb-eval .tb-eval__eyebrow,
.tb-eval .tb-eval__version span,
.tb-eval .tb-eval__control-top p,
.tb-eval .tb-eval__live-status,
.tb-eval .tb-eval__last-update span,
.tb-eval .tb-eval__weights-head p,
.tb-eval .tb-eval__calibration-control small,
.tb-eval .tb-eval__calibration-note,
.tb-eval .tb-eval__upgrade-note-path,
.tb-eval .tb-eval__doc-status,
.tb-eval .tb-eval__history article span,
.tb-eval .tb-eval__db-summary span,
.tb-eval .tb-eval__runtime-summary span,
.tb-eval .tb-eval__file-top span,
.tb-eval .tb-eval__db-top span {
    font-size: 14px;
    line-height: 1.7;
}
.tb-eval .tb-eval__version strong,
.tb-eval .tb-eval__last-update strong,
.tb-eval .tb-eval__db-summary strong,
.tb-eval .tb-eval__runtime-summary strong,
.tb-eval .tb-eval__field-grid strong,
.tb-eval .tb-eval__integration strong,
.tb-eval .tb-eval__file-top strong,
.tb-eval .tb-eval__factor-top strong {
    font-size: 16px;
    line-height: 1.7;
}
.tb-eval input,
.tb-eval select,
.tb-eval textarea,
.tb-eval button,
.tb-eval .tb-eval__update,
.tb-eval .tb-eval__save {
    font-size: 17px;
    line-height: 1.6;
}
.tb-eval .tb-eval__section-number,
.tb-eval .tb-eval__step,
.tb-eval .tb-eval__calibration-mark {
    font-size: 16px;
}
.tb-eval code,
.tb-eval pre {
    /* Technical identifiers remain monospaced and legible. */
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.7;
}
.tb-eval .tb-eval__header,
.tb-eval .tb-eval__section,
.tb-eval .tb-eval__control-panel,
.tb-eval .tb-eval__calibration-section,
.tb-eval .tb-eval__weights-section,
.tb-eval .tb-eval__run-section {
    min-width: 0;
}
.tb-eval .tb-eval__table-list,
.tb-eval .tb-eval__file-list,
.tb-eval .tb-eval__asset-list,
.tb-eval .tb-eval__field-grid,
.tb-eval .tb-eval__integration {
    min-width: 0;
}
.tb-eval .tb-eval__file-list code,
.tb-eval .tb-eval__asset-list code,
.tb-eval .tb-eval__formula code {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

@media (max-width: 600px) {
    .tbe-ranking,
    .tb-eval {
        font-size: 18px;
        line-height: 1.9;
    }
    .tbe-ranking__header h1,
    .tb-eval .tb-eval__header h1 {
        font-size: 28px;
        line-height: 1.4;
    }
    .tbe-ranking__header p,
    .tbe-ranking__notice,
    .tbe-ranking__table tbody td,
    .tbe-ranking__blog-link,
    .tb-eval p,
    .tb-eval li,
    .tb-eval .tb-eval__prose,
    .tb-eval .tb-eval__callout,
    .tb-eval .tb-eval__formula {
        font-size: 16px;
        line-height: 1.85;
    }
    .tbe-ranking__eyebrow,
    .tbe-ranking__footnote,
    .tbe-ranking__summary,
    .tb-eval .tb-eval__eyebrow,
    .tb-eval .tb-eval__version span,
    .tb-eval .tb-eval__control-top p,
    .tb-eval .tb-eval__live-status,
    .tb-eval .tb-eval__last-update span,
    .tb-eval .tb-eval__weights-head p,
    .tb-eval .tb-eval__calibration-note,
    .tb-eval .tb-eval__history article span {
        font-size: 14px;
    }
    .tb-eval .tb-eval__control-top h2,
    .tb-eval .tb-eval__section-title h2,
    .tb-eval .tb-eval__section-heading h3,
    .tb-eval .tb-eval__weights-head h3,
    .tb-eval .tb-eval__subsection h3,
    .tb-eval .tb-eval__calibration-head h3 {
        font-size: 21px;
    }
    .tb-eval input,
    .tb-eval select,
    .tb-eval textarea,
    .tb-eval button {
        font-size: 17px;
    }
}

