/* /Components/Layout/ConnectLayout.razor.rz.scp.css */
/* Partner Connect shell — AD brand (orange #ff5900 on white), mobile-first. */
.cx-shell[b-ma9pk6cq4z] { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg, #f5f6fa); }
.cx-top[b-ma9pk6cq4z] {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .6rem 1rem; background: #fff; border-bottom: 3px solid var(--primary, #ff5900);
    position: sticky; top: 0; z-index: 20;
}
.cx-brand[b-ma9pk6cq4z] { display: flex; align-items: center; gap: .6rem; color: var(--ink, #0f172a); text-decoration: none; min-width: 0; }
.cx-logo[b-ma9pk6cq4z] { width: 34px; height: 34px; object-fit: contain; flex: none; }
.cx-brand-text[b-ma9pk6cq4z] { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.cx-product[b-ma9pk6cq4z] { font-weight: 800; color: var(--primary, #ff5900); font-size: .95rem; }
.cx-partner[b-ma9pk6cq4z] { font-size: .8rem; color: var(--muted, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.cx-user[b-ma9pk6cq4z] { display: flex; align-items: center; gap: .75rem; font-size: .85rem; }
.cx-logout[b-ma9pk6cq4z] { color: var(--primary-dark, #d24a00); font-weight: 600; white-space: nowrap; }
.cx-nav[b-ma9pk6cq4z] {
    display: flex; gap: .25rem; overflow-x: auto; padding: .4rem .75rem; background: #fff;
    border-bottom: 1px solid var(--line, #e5e8ee); scrollbar-width: none;
}
.cx-nav[b-ma9pk6cq4z]::-webkit-scrollbar { display: none; }
[b-ma9pk6cq4z] .cx-nav-item {
    white-space: nowrap; padding: .45rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
    color: var(--ink-soft, #334155); text-decoration: none;
}
[b-ma9pk6cq4z] .cx-nav-item:hover { background: rgba(255, 89, 0, .08); color: var(--primary-dark, #d24a00); }
[b-ma9pk6cq4z] .cx-nav-item.active { background: var(--primary, #ff5900); color: #fff; }
.cx-main[b-ma9pk6cq4z] { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1rem; }
.cx-foot[b-ma9pk6cq4z] { text-align: center; font-size: .75rem; color: var(--muted, #64748b); padding: 1rem; }
@media (min-width: 768px) { .cx-main[b-ma9pk6cq4z] { padding: 1.5rem 2rem; } }
/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
/* Hidden until Blazor itself reveals it on a circuit error. Without this scoped rule the div
   is unstyled on EmptyLayout pages (MainLayout's copy is scoped to MainLayout) and shows always. */
#blazor-error-ui[b-5kl3rtq4tu] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-5kl3rtq4tu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-yjz1t0tth8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-yjz1t0tth8] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-yjz1t0tth8] {
    /* Light sidebar in the Advance Digital website palette (white / soft grey, brand orange accents). */
    background: #ffffff;
    border-right: 1px solid #e7ebf0;
}

.top-row[b-yjz1t0tth8] {
    background: #ffffff;
    border-bottom: 1px solid #e5e8ee;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-title[b-yjz1t0tth8] {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.topbar-link[b-yjz1t0tth8] {
    white-space: nowrap;
    text-decoration: none;
    color: #64748b !important;
    font-weight: 600;
    font-size: 0.9rem;
}
.topbar-link:hover[b-yjz1t0tth8] { color: #ff5900 !important; }

.content[b-yjz1t0tth8] {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.app-footer[b-yjz1t0tth8] {
    color: #94a3b8;
    font-size: 0.72rem;
    padding-bottom: 0.75rem;
    text-align: right;
}

@media (max-width: 640.98px) {
    .top-row[b-yjz1t0tth8] {
        justify-content: space-between;
    }
}

@media (min-width: 641px) {
    .page[b-yjz1t0tth8] {
        flex-direction: row;
    }

    .sidebar[b-yjz1t0tth8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yjz1t0tth8] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-yjz1t0tth8], article[b-yjz1t0tth8] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

#blazor-error-ui[b-yjz1t0tth8] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-yjz1t0tth8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MenuBreadcrumb.razor.rz.scp.css */
.menu-breadcrumb[b-753s92gfsa] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .4rem;
    margin: .5rem 0 .25rem;
    font-size: .85rem;
    color: var(--muted);
}

/* CEO 20 Nov 2026: the trail must LOOK clickable - the steps you can go back to are in the link colour and underlined, the ">" between them is
   clearly visible, and the page you are on is plain dark text (not a link). */
.menu-breadcrumb a[b-753s92gfsa] {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(210, 74, 0, .35);
    text-underline-offset: 3px;
    padding: .1rem .3rem;
    margin: 0 -.3rem;
    border-radius: 6px;
}
.menu-breadcrumb a:hover[b-753s92gfsa], .menu-breadcrumb a:focus-visible[b-753s92gfsa] { color: var(--primary); background: #fff4ec; text-decoration-color: currentColor; }
.menu-breadcrumb .sep[b-753s92gfsa] { color: var(--muted); font-size: 1.05rem; line-height: 1; }
.menu-breadcrumb .current[b-753s92gfsa] { color: var(--ink); font-weight: 700; }

@media print {
    .menu-breadcrumb[b-753s92gfsa] { display: none; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Light sidebar in the Advance Digital website's palette: white/soft surfaces, ink text, brand orange #FF5900. */
.navbar-toggler[b-lgairxwrwb] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid #e7ebf0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem #fff;
    border-radius: 8px;
}

.top-row[b-lgairxwrwb] {
    min-height: 3.75rem;
    background: #ffffff;
    border-bottom: 1px solid #e7ebf0;
}

.navbar-brand[b-lgairxwrwb] {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Module header: two real buttons side by side (both keyboard-operable) - the chevron folds, the name opens the module's overview page. */
.nav-section-row[b-lgairxwrwb] { display: flex; align-items: stretch; width: 100%; border-top: 1px solid #f0f2f6; }
.nav-section[b-lgairxwrwb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: none;
    text-align: left;
    color: #d24a00;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.75rem 1rem 0.55rem 0.25rem;
    cursor: pointer;
}
.nav-section:hover[b-lgairxwrwb] { background: #fff6f0; }
.nav-section.is-open[b-lgairxwrwb] { color: #ff5900; }
.nav-chevron[b-lgairxwrwb] { flex: 0 0 2.4rem; border: none; background: none; cursor: pointer; font-size: 0.8rem; color: #94a3b8; padding: 0.2rem 0 0 0.5rem; }
.nav-chevron:hover[b-lgairxwrwb] { color: #d24a00; background: #fff6f0; }
.nav-ico-grp[b-lgairxwrwb] { font-size: 1rem; flex: 0 0 auto; }
.nav-section-label[b-lgairxwrwb] { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.nav-section-row.is-current[b-lgairxwrwb] { background: #fff1e8; }

/* Folders (sc_menu level 2 and deeper) are real rows: same size as a page, a chevron, a hover, one layer per click (CEO 19 Oct 2569).
   The left margin is set inline per level (NavMenu.razor FolderIndent). */
.nav-subsection[b-lgairxwrwb] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0 0.75rem 0.1rem;
    padding: 0.4rem 0.75rem 0.4rem 1.4rem;
    min-height: 2.4rem;
    line-height: 1.3;
    border-radius: 10px;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    overflow-wrap: anywhere;
}
.nav-subsection:hover[b-lgairxwrwb] { background: #fff6f0; color: #d24a00; }
.nav-subsection:not(.is-shut)[b-lgairxwrwb] { color: #d24a00; }
.nav-sub-chevron[b-lgairxwrwb] { display: inline-block; width: 0.9rem; font-size: 0.8rem; color: #94a3b8; }

.nav-ico[b-lgairxwrwb] {
    display: inline-block;
    flex: 0 0 1.4rem;
    width: 1.4rem;
    margin-right: 0.6rem;
    text-align: center;
    font-size: 0.95rem;
}

.nav-item[b-lgairxwrwb] {
    font-size: 0.92rem;
    padding: 0 0.75rem 0.1rem;
}

.nav-item[b-lgairxwrwb]  .nav-link {
    color: #334155;
    background: none;
    border: none;
    border-radius: 10px;
    min-height: 2.4rem;
    height: auto;
    display: flex;
    align-items: center;
    line-height: 1.3;
    width: 100%;
    padding: 0.4rem 0.75rem 0.4rem 1.4rem;
    font-weight: 500;
    /* CPS Rev6 item 4: a long label goes to a second line (the icon keeps its own column), it is not cut off. */
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Advance Digital orange marks the current page. */
.nav-item[b-lgairxwrwb]  a.active {
    background: #fff1e8;
    box-shadow: inset 3px 0 0 #ff5900;
    color: #d24a00;
    font-weight: 600;
}

.nav-item[b-lgairxwrwb]  .nav-link:hover {
    background: #f7f8fb;
    color: #d24a00;
}

.nav-scrollable[b-lgairxwrwb] {
    display: block;
}

.nav-scrollable.collapse[b-lgairxwrwb] {
    display: none;
}

@media (min-width: 641px) {
    .navbar-toggler[b-lgairxwrwb] {
        display: none;
    }

    .nav-scrollable[b-lgairxwrwb],
    .nav-scrollable.collapse[b-lgairxwrwb] {
        display: block;
        height: calc(100vh - 3.75rem);
        overflow-y: auto;
    }
}
/* The category whose overview page is open (BR-SYS-031). */
.nav-subsection.is-current[b-lgairxwrwb] { background: #fff1e8; color: #c2410c; }
.nav-sub-chevron[b-lgairxwrwb] { cursor: pointer; padding: 0.4rem 0.2rem; margin: -0.4rem -0.2rem; }

/* Pin star at the end of a row (NavStar): the row becomes link + star side by side. */
.nav-item.has-star[b-lgairxwrwb] { display: flex; align-items: center; }
.nav-item.has-star[b-lgairxwrwb]  .nav-link { width: auto; flex: 1 1 auto; min-width: 0; }
/* .nav is a wrapping flex column: a row wider than the menu would widen every row (and add a sideways scrollbar), so cap rows at the menu width and let the link text be cut */
.nav-item.has-star[b-lgairxwrwb], .nav-fav[b-lgairxwrwb] { max-width: 100%; }
.nav-item.has-star[b-lgairxwrwb]  .nav-link { overflow: hidden; }

/* Pinned / frequently used block at the top of the left menu (SecurityCore sc_user_menu, per person). */
.nav-fav[b-lgairxwrwb] { border-bottom: 1px solid #f0f2f6; padding: 0.4rem 0 0.5rem; }
.nav-fav-tabs[b-lgairxwrwb] { display: flex; gap: 0.25rem; padding: 0 0.75rem 0.35rem; }
.nav-fav-tab[b-lgairxwrwb] {
    flex: 1 1 auto;
    min-height: 2.25rem;
    border: 1px solid #e7ebf0;
    background: #fff;
    border-radius: 10px;
    color: #475569;
    font-size: 0.78rem;
    padding: 0 0.25rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-fav-tab:hover[b-lgairxwrwb] { background: #fff6f0; color: #d24a00; }
.nav-fav-tab.on[b-lgairxwrwb] { background: #fff1e8; border-color: #ffcdb0; color: #d24a00; }
.nav-fav-empty[b-lgairxwrwb] { padding: 0.35rem 1.25rem 0.5rem; color: #64748b; font-size: 0.8rem; line-height: 1.35; }
.nav-fav-notice[b-lgairxwrwb] { margin: 0 0.75rem 0.35rem; padding: 0.35rem 0.6rem; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 0.8rem; line-height: 1.35; }
.nav-fav-clear[b-lgairxwrwb] {
    display: block;
    margin: 0.25rem 1.25rem 0;
    padding: 0.35rem 0;
    border: none;
    background: none;
    color: #64748b;
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
}
.nav-fav-clear:hover[b-lgairxwrwb] { color: #d24a00; }

/* Touch targets on a phone: at least 44px tall (CEO checklist: mobile support). */
@media (max-width: 640px), (hover: none) {
    .nav-fav-tab[b-lgairxwrwb] { min-height: 2.75rem; }
    .nav-fav-clear[b-lgairxwrwb] { min-height: 2.75rem; }
}
/* /Components/Layout/NavStar.razor.rz.scp.css */
/* Star at the end of a menu row. Hidden until the row is hovered / focused on a mouse; always visible on touch screens and whenever pinned. */
.menu-star[b-txu7u9emph] {
    flex: 0 0 auto;
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1;
    min-width: 1.9rem;
    height: 2.4rem;
    border-radius: 10px;
    opacity: 0;
    transition: opacity .12s ease, color .12s ease;
}
.menu-star.on[b-txu7u9emph] { opacity: 1; color: #ff5900; }
.menu-star:hover[b-txu7u9emph] { color: #d24a00; background: #fff1e8; }
.menu-star:focus-visible[b-txu7u9emph] { opacity: 1; outline: 2px solid #ff5900; outline-offset: -2px; }
.nav-item:hover .menu-star[b-txu7u9emph],
tr:hover .menu-star[b-txu7u9emph] { opacity: 1; }

/* A touch screen has no hover: the star is always there, and the target is at least 44px wide. */
@media (hover: none) {
    .menu-star[b-txu7u9emph] { opacity: 1; min-width: 2.75rem; }
}
@media (max-width: 640px) {
    .menu-star[b-txu7u9emph] { opacity: 1; min-width: 2.75rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8z1gjlclwc],
.components-reconnect-repeated-attempt-visible[b-8z1gjlclwc],
.components-reconnect-failed-visible[b-8z1gjlclwc],
.components-pause-visible[b-8z1gjlclwc],
.components-resume-failed-visible[b-8z1gjlclwc],
.components-rejoining-animation[b-8z1gjlclwc] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-retrying[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-failed[b-8z1gjlclwc],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8z1gjlclwc] {
    display: block;
}


#components-reconnect-modal[b-8z1gjlclwc] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-8z1gjlclwc 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8z1gjlclwc 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8z1gjlclwc 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8z1gjlclwc]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-8z1gjlclwc 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8z1gjlclwc {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8z1gjlclwc {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8z1gjlclwc {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8z1gjlclwc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8z1gjlclwc] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8z1gjlclwc] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8z1gjlclwc] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-8z1gjlclwc] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-8z1gjlclwc] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8z1gjlclwc] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8z1gjlclwc 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8z1gjlclwc] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8z1gjlclwc {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


/* AD logo instead of the framework spinner (AD.Brand) */
.ad-reconnect-logo[b-8z1gjlclwc] { width: 72px; height: 72px; display: block; margin: 0 auto 0.5rem; animation: ad-reconnect-pulse-b-8z1gjlclwc 1.6s ease-in-out infinite; }
@keyframes ad-reconnect-pulse-b-8z1gjlclwc { 0%, 100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.08); opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .ad-reconnect-logo[b-8z1gjlclwc] { animation: none; } }
/* /Components/Manufacturing/ProductionFlowDiagram.razor.rz.scp.css */
.fd-wrap[b-2rn65veq2d] { overflow: auto; max-height: 75vh; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; padding: 4px; }
.fd-wrap svg[b-2rn65veq2d] { display: block; max-width: none; }
.fd-click[b-2rn65veq2d] { cursor: pointer; }
.fd-click:hover rect[b-2rn65veq2d] { stroke: #ff5900; stroke-width: 2; }
/* /Components/Pages/Experts/ExpertDocumentMmPanel.razor.rz.scp.css */
/* the same figures-and-table look as the man-month dashboard this panel sits in (its styles are scoped to that page) */
.emd-kpis[b-7ktymbgz0s] { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .5rem; }
.emd-kpi[b-7ktymbgz0s] { display: flex; flex-direction: column; align-items: flex-start; padding: .55rem .8rem; border: 1px solid var(--bs-border-color, #dee2e6); border-left: 4px solid var(--bs-primary, #0d6efd); border-radius: .5rem; background: var(--bs-body-bg, #fff); }
.emd-kpi b[b-7ktymbgz0s] { font-size: 1.5rem; line-height: 1.1; }
.emd-kpi span[b-7ktymbgz0s] { font-size: .8rem; color: var(--bs-secondary-color, #6c757d); }
.emd-row[b-7ktymbgz0s] { cursor: pointer; }
.emd-row.open > td[b-7ktymbgz0s] { background: var(--bs-tertiary-bg, #f8f9fa); }
.emd-detail > td[b-7ktymbgz0s] { background: var(--bs-tertiary-bg, #f8f9fa); padding-top: .75rem; }
/* /Components/Pages/Experts/ExpertManMonthDashboard.razor.rz.scp.css */
.emd-kpis[b-y559ndtbsy] { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .5rem; }
.emd-kpi[b-y559ndtbsy] { display: flex; flex-direction: column; align-items: flex-start; padding: .55rem .8rem; border: 1px solid var(--bs-border-color, #dee2e6); border-left-width: 4px; border-radius: .5rem; background: var(--bs-body-bg, #fff); text-align: left; cursor: pointer; }
.emd-kpi b[b-y559ndtbsy] { font-size: 1.5rem; line-height: 1.1; }
.emd-kpi span[b-y559ndtbsy] { font-size: .8rem; color: var(--bs-secondary-color, #6c757d); }
.emd-kpi.on[b-y559ndtbsy] { box-shadow: 0 0 0 2px var(--bs-primary, #0d6efd) inset; }
.emd-free[b-y559ndtbsy] { border-left-color: #9aa1a9; }
.emd-ok[b-y559ndtbsy] { border-left-color: #2e9e6b; }
.emd-near[b-y559ndtbsy] { border-left-color: #e0a800; }
.emd-over[b-y559ndtbsy] { border-left-color: #d6336c; }
.emd-dup[b-y559ndtbsy] { border-left-color: #f08c00; }

.emd-pill[b-y559ndtbsy] { display: inline-block; padding: .1rem .55rem; border-radius: 1rem; font-size: .78rem; font-weight: 600; border: 0; margin-right: .25rem; }
.emd-pill.emd-free[b-y559ndtbsy] { background: #e9ecef; color: #495057; }
.emd-pill.emd-ok[b-y559ndtbsy] { background: #d3f0e1; color: #14693f; }
.emd-pill.emd-near[b-y559ndtbsy] { background: #fff0c2; color: #805b00; }
.emd-pill.emd-over[b-y559ndtbsy] { background: #fbd5e3; color: #9c1c4b; }
.emd-pill.emd-dup[b-y559ndtbsy] { background: #ffe3b8; color: #8a4b00; }

.emd-table th[b-y559ndtbsy] { white-space: nowrap; font-size: .8rem; text-transform: none; }
.emd-row[b-y559ndtbsy] { cursor: pointer; }
.emd-row.open > td[b-y559ndtbsy] { background: var(--bs-tertiary-bg, #f8f9fa); }
.emd-detail > td[b-y559ndtbsy] { background: var(--bs-tertiary-bg, #f8f9fa); padding-top: .75rem; }

.emd-bar[b-y559ndtbsy] { height: .55rem; background: #e9ecef; border-radius: .3rem; overflow: hidden; margin-bottom: .2rem; }
.emd-bar span[b-y559ndtbsy] { display: block; height: 100%; border-left: 0; }
.emd-bar span.emd-free[b-y559ndtbsy] { background: #9aa1a9; }
.emd-bar span.emd-ok[b-y559ndtbsy] { background: #2e9e6b; }
.emd-bar span.emd-near[b-y559ndtbsy] { background: #e0a800; }
.emd-bar span.emd-over[b-y559ndtbsy] { background: #d6336c; }

.emd-chip[b-y559ndtbsy] { display: inline-block; padding: .1rem .5rem; margin: 0 .25rem .25rem 0; border-radius: .4rem; background: var(--bs-secondary-bg, #e9ecef); font-size: .8rem; max-width: 17rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.emd-chip.emd-more[b-y559ndtbsy] { background: #dee2e6; font-weight: 600; }
.emd-chip.emd-warn[b-y559ndtbsy] { background: #ffe3b8; }

.emd-months[b-y559ndtbsy] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .3rem; margin-bottom: .75rem; }
.emd-month[b-y559ndtbsy] { display: flex; flex-direction: column; align-items: center; padding: .3rem .1rem; border-radius: .4rem; background: #fff; border: 1px solid #dee2e6; border-left-width: 1px; font-size: .75rem; }
.emd-month b[b-y559ndtbsy] { font-size: .95rem; }
.emd-month.emd-ok[b-y559ndtbsy] { background: #e8f7ef; border-color: #b6e2cb; }
.emd-month.emd-dup[b-y559ndtbsy] { background: #ffe3b8; border-color: #f4b66b; }

@media (max-width: 720px) {
    .emd-months[b-y559ndtbsy] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .emd-chip[b-y559ndtbsy] { max-width: 11rem; }
}
/* /Components/Pages/Guide.razor.rz.scp.css */
/* Module view of the guide: light, warm, airy — soft per-module tints with the Advance orange as the only strong accent. */
.view-switch[b-cx0lota94k] { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid #ece7e1; border-radius: 999px; }
.view-switch a[b-cx0lota94k] { padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: #6b625a; text-decoration: none; }
.view-switch a.on[b-cx0lota94k] { background: #fff1e8; color: #c2410c; font-weight: 600; }

.mod-grid[b-cx0lota94k] { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }

.mod-tile[b-cx0lota94k] {
    --tint: #fff7ed; --edge: #fed7aa;
    display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer;
    padding: 14px 16px; border-radius: 16px; border: 1.5px solid transparent; background: var(--tint);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.mod-tile:hover[b-cx0lota94k] { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(120, 80, 40, .10); }
.mod-tile.sel[b-cx0lota94k] { border-color: #ff5900; box-shadow: 0 6px 18px rgba(255, 89, 0, .14); }
.mod-ico[b-cx0lota94k] { font-size: 1.5rem; line-height: 1; }
.mod-name[b-cx0lota94k] { font-weight: 700; color: #3b332c; font-size: 1.02rem; }
.mod-sub[b-cx0lota94k] { color: #6b625a; font-size: .8rem; line-height: 1.3; }
.mod-count[b-cx0lota94k] { margin-top: 4px; color: #a8492a; font-size: .75rem; font-weight: 600; }

.mod-sales[b-cx0lota94k] { --tint: #fff4e8; }
.mod-purchasing[b-cx0lota94k] { --tint: #eef6ff; }
.mod-inventory[b-cx0lota94k] { --tint: #effaf1; }
.mod-manufacturing[b-cx0lota94k] { --tint: #fff9e6; }
.mod-quality[b-cx0lota94k] { --tint: #f6f0ff; }
.mod-finance[b-cx0lota94k] { --tint: #eafaf6; }
.mod-projects[b-cx0lota94k] { --tint: #fdeff3; }
.mod-settings[b-cx0lota94k] { --tint: #f3f1ee; }

.mod-panel[b-cx0lota94k] { background: #fff; border: 1px solid #f0e9e2; border-radius: 18px; padding: 18px; box-shadow: 0 1px 3px rgba(120, 80, 40, .05); }
.mod-panel-head[b-cx0lota94k] { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1.05rem; }

.item-grid[b-cx0lota94k] { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.item[b-cx0lota94k] {
    display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; text-decoration: none;
    border: 1px solid #f0e9e2; background: #fffdfb; color: #3b332c;
    transition: border-color .12s ease, background .12s ease;
}
.item:hover[b-cx0lota94k] { border-color: #ff5900; background: #fff8f3; }
.item-title[b-cx0lota94k] { font-weight: 600; }
.item-what[b-cx0lota94k] { font-size: .82rem; color: #6b625a; line-height: 1.35; }
.item-go[b-cx0lota94k] { margin-top: 4px; font-size: .78rem; color: #c2410c; font-weight: 600; }

.link-strip[b-cx0lota94k] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eadfd4; }
.link-chip[b-cx0lota94k] { border: 1px solid #f3d2b8; background: #fff8f1; color: #5b4a3d; border-radius: 999px; padding: 5px 12px; font-size: .8rem; cursor: pointer; }
.link-chip:hover[b-cx0lota94k] { background: #ffede0; border-color: #ff5900; }
.link-chip b[b-cx0lota94k] { color: #c2410c; }

@media (max-width: 640px) {
    .mod-grid[b-cx0lota94k] { grid-template-columns: repeat(2, 1fr); }
}
/* /Components/Pages/Overtime/OvertimeMonthEditor.razor.rz.scp.css */
.otm[b-lc4nnbixwu] { display: flex; flex-direction: column; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .5rem; overflow: hidden; }
.otd[b-lc4nnbixwu] { display: flex; gap: .75rem; padding: .4rem .6rem; border-bottom: 1px solid var(--bs-border-color, #dee2e6); align-items: flex-start; }
.otd:last-child[b-lc4nnbixwu] { border-bottom: 0; }
.otd-off[b-lc4nnbixwu] { background: rgba(255, 193, 7, .08); }
.otd-on[b-lc4nnbixwu] { background: rgba(25, 135, 84, .07); }
.otd-date[b-lc4nnbixwu] { min-width: 2.6rem; display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding-top: .25rem; }
.otd-date span[b-lc4nnbixwu] { font-size: .72rem; color: var(--bs-secondary-color, #6c757d); }
.otd-off .otd-date span[b-lc4nnbixwu] { color: #b45309; }
.otd-body[b-lc4nnbixwu] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.otd-slot[b-lc4nnbixwu] { display: grid; grid-template-columns: auto minmax(10rem, 14rem) 1fr auto; gap: .4rem .5rem; align-items: center; }
.otd-times[b-lc4nnbixwu] { display: flex; align-items: center; gap: .3rem; }
.otd-times input[b-lc4nnbixwu] { width: 6.4rem; }
.otd-hours[b-lc4nnbixwu] { min-width: 3.4rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.otd-foot[b-lc4nnbixwu] { display: flex; gap: .75rem; align-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.otd-cost[b-lc4nnbixwu] { color: var(--bs-secondary-color, #6c757d); font-size: .85rem; }
.otd-add[b-lc4nnbixwu] { align-self: flex-start; }
@media (max-width: 760px) {
    .otd-slot[b-lc4nnbixwu] { grid-template-columns: 1fr; padding: .4rem 0 .5rem; border-bottom: 1px dashed var(--bs-border-color, #dee2e6); }
    .otd-slot:last-of-type[b-lc4nnbixwu] { border-bottom: 0; }
    .otd-times input[b-lc4nnbixwu] { width: 100%; max-width: 8rem; }
    .otd-foot[b-lc4nnbixwu] { justify-content: space-between; }
}
/* /Components/Pages/OwnerCockpit/OwnerCockpit.razor.rz.scp.css */
/* ศูนย์เงินของเจ้าของ — mobile first: one column on a phone, two on a desktop; every number is a link. */
.omc-head[b-4kqz9e9xs9] { flex-wrap: wrap; gap: 8px; }
.omc-tools[b-4kqz9e9xs9] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.omc-tools select[b-4kqz9e9xs9] { width: auto; max-width: 260px; }

.omc-strip[b-4kqz9e9xs9] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.omc-tile[b-4kqz9e9xs9] { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--bs-border-color, #dee2e6);
            border-radius: 12px; background: var(--bs-body-bg, #fff); color: inherit; text-decoration: none; transition: box-shadow .12s, border-color .12s; }
.omc-tile:hover[b-4kqz9e9xs9] { border-color: #0d6efd; box-shadow: 0 2px 10px rgba(13,110,253,.12); }
.omc-tile .lbl[b-4kqz9e9xs9] { font-size: .8rem; color: #6c757d; }
.omc-tile .num[b-4kqz9e9xs9] { font-size: 1.35rem; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.omc-tile .sub[b-4kqz9e9xs9] { font-size: .72rem; color: #6c757d; line-height: 1.3; }

.omc-grid[b-4kqz9e9xs9] { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 992px) { .omc-grid[b-4kqz9e9xs9] { grid-template-columns: 1fr 1fr; } }

.omc-panel .card-body[b-4kqz9e9xs9] { padding: 14px; }
.omc-ph[b-4kqz9e9xs9] { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.omc-ph h2[b-4kqz9e9xs9] { font-size: 1.05rem; font-weight: 700; margin: 0; }
.omc-why[b-4kqz9e9xs9] { font-size: .78rem; color: #6c757d; margin: 2px 0 8px; }
.omc-big[b-4kqz9e9xs9] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 8px; }
.omc-big > a[b-4kqz9e9xs9] { font-size: 1.9rem; font-weight: 800; text-decoration: none; line-height: 1.1; }
.omc-biglbl[b-4kqz9e9xs9] { font-size: .85rem; color: #495057; }

.omc-chip[b-4kqz9e9xs9] { font-size: .72rem; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.omc-chip.good[b-4kqz9e9xs9] { background: #d1f2e0; color: #146c43; }
.omc-chip.bad[b-4kqz9e9xs9] { background: #fde2e1; color: #b02a37; }
.omc-chip.muted[b-4kqz9e9xs9] { background: #eef0f2; color: #6c757d; }

.omc-buckets[b-4kqz9e9xs9] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.omc-buckets a[b-4kqz9e9xs9] { display: flex; flex-direction: column; padding: 6px; border-radius: 8px; background: #f6f7f9; text-decoration: none; color: inherit; min-width: 0; }
.omc-buckets b[b-4kqz9e9xs9] { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.omc-buckets small[b-4kqz9e9xs9] { font-size: .68rem; color: #6c757d; line-height: 1.2; }
@media (max-width: 420px) { .omc-buckets[b-4kqz9e9xs9] { grid-template-columns: repeat(2, 1fr); } }

.omc-subs[b-4kqz9e9xs9] { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; margin-bottom: 8px; }
.omc-subs a[b-4kqz9e9xs9] { text-decoration: none; }

.omc-list[b-4kqz9e9xs9] { list-style: none; padding: 0; margin: 0; }
.omc-list li[b-4kqz9e9xs9] { border-top: 1px solid #eef0f2; padding: 8px 0; }
.omc-row[b-4kqz9e9xs9] { display: flex; justify-content: space-between; gap: 8px; }
.omc-row a[b-4kqz9e9xs9], .omc-row span[b-4kqz9e9xs9] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.omc-row b[b-4kqz9e9xs9] { white-space: nowrap; }
.omc-meta[b-4kqz9e9xs9] { font-size: .75rem; color: #6c757d; margin-top: 2px; }
.omc-acts[b-4kqz9e9xs9] { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

.btn-xs[b-4kqz9e9xs9] { padding: 2px 8px; font-size: .75rem; border-radius: 6px; }
.omc-tile .omc-chip[b-4kqz9e9xs9] { white-space: normal; display: inline-block; }
/* /Components/Pages/Projects/PaidExpenseList.razor.rz.scp.css */
.pe-grid[b-ppkg87y9qa] { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: .85rem; }
.pe-card[b-ppkg87y9qa] { display: flex; flex-direction: column; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .6rem; background: var(--bs-body-bg, #fff); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pe-card:hover[b-ppkg87y9qa] { box-shadow: 0 3px 10px rgba(0,0,0,.09); }
.pe-void[b-ppkg87y9qa] { opacity: .65; }
.pe-void .pe-amount[b-ppkg87y9qa] { text-decoration: line-through; }

.pe-thumbs[b-ppkg87y9qa] { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 4.4rem; gap: 2px; background: var(--bs-tertiary-bg, #f1f3f5); }
.pe-thumb[b-ppkg87y9qa] { padding: 0; border: 0; background: #e9ecef; overflow: hidden; cursor: zoom-in; }
.pe-thumb img[b-ppkg87y9qa] { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s; }
.pe-thumb:hover img[b-ppkg87y9qa] { transform: scale(1.06); }
.pe-thumb-main[b-ppkg87y9qa] { grid-column: span 2; grid-row: span 2; }
.pe-more[b-ppkg87y9qa] { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: #495057; cursor: pointer; }
.pe-nopic[b-ppkg87y9qa] { grid-column: 1 / -1; grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #868e96; text-decoration: none; font-size: 1.6rem; }
.pe-nopic span[b-ppkg87y9qa] { font-size: .75rem; }

.pe-body[b-ppkg87y9qa] { display: block; padding: .6rem .8rem .7rem; color: inherit; text-decoration: none; flex: 1; }
.pe-amount[b-ppkg87y9qa] { font-weight: 700; white-space: nowrap; }
.pe-desc[b-ppkg87y9qa] { margin: .1rem 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pe-badge[b-ppkg87y9qa] { display: inline-block; padding: .05rem .5rem; border-radius: 1rem; font-size: .74rem; font-weight: 600; }
.pe-boq[b-ppkg87y9qa] { background: #dbe7ff; color: #1d3f8a; }
.pe-adv[b-ppkg87y9qa] { background: #ffe9c7; color: #8a5200; }
.pe-vd[b-ppkg87y9qa] { background: #fbd5e3; color: #9c1c4b; }

.pe-lb[b-ppkg87y9qa] { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 18, 24, .88); display: flex; align-items: center; justify-content: center; }
.pe-lb img[b-ppkg87y9qa] { max-width: 94vw; max-height: 88vh; border-radius: .4rem; background: #fff; }
.pe-lb-x[b-ppkg87y9qa] { position: absolute; top: .6rem; right: .8rem; border: 0; background: rgba(255,255,255,.18); color: #fff; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.1rem; }
.pe-lb-n[b-ppkg87y9qa] { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.18); color: #fff; width: 2.8rem; height: 3.6rem; font-size: 2rem; line-height: 1; border-radius: .4rem; }
.pe-lb-prev[b-ppkg87y9qa] { left: .6rem; }
.pe-lb-next[b-ppkg87y9qa] { right: .6rem; }
.pe-lb-c[b-ppkg87y9qa] { position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; background: rgba(0,0,0,.4); padding: .1rem .7rem; border-radius: 1rem; }

@media (max-width: 520px) {
    .pe-grid[b-ppkg87y9qa] { grid-template-columns: 1fr; }
    .pe-thumbs[b-ppkg87y9qa] { grid-auto-rows: 3.8rem; }
}
/* /Components/Pages/Projects/ProjectWeeklyStatusPage.razor.rz.scp.css */
.pb-dot[b-e1587jiwvy] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    vertical-align: middle;
}

@media print {
    .pb-dot[b-e1587jiwvy] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* /Components/Pages/Quality/QualityNotificationView.razor.rz.scp.css */
/* 8D-lite stepper: six steps in a row on desktop, a horizontal scroller on a phone (no page-level sideways scroll). */
.qn-steps[b-y3r30h8i0g] { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; }
.qn-step[b-y3r30h8i0g] {
    flex: 1 0 118px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem .4rem;
    border: 1.5px solid #d8dee8; border-radius: 12px; background: #fff; color: #475569; font-size: .82rem; cursor: pointer;
}
.qn-step .qn-ico[b-y3r30h8i0g] { font-size: 1.25rem; line-height: 1; }
.qn-step .qn-name[b-y3r30h8i0g] { font-weight: 700; text-align: center; white-space: nowrap; }
.qn-step .qn-hint[b-y3r30h8i0g] { font-size: .7rem; color: #94a3b8; white-space: nowrap; }
.qn-step.done[b-y3r30h8i0g] { border-color: #86efac; background: #f0fdf4; color: #166534; }
.qn-step.current[b-y3r30h8i0g] { border-color: var(--primary, #0d6efd); background: #eef4ff; color: #0b3a82; box-shadow: 0 0 0 2px rgba(13, 110, 253, .15); }
.qn-step.viewing[b-y3r30h8i0g] { outline: 2px dashed #64748b; outline-offset: 2px; }
/* /Components/Shared/ApprovalTimeline.razor.rz.scp.css */
/* เส้นทางอนุมัติ — vertical timeline on app.css tokens (--primary, --ink, --muted, --line, --card, --radius).
   One state = one colour + one icon, so done / current / upcoming / sent back / declined / auto-skipped never look alike. */
.wf-tl[b-klud5cxtxm] {
    --tl-done: #16a34a;
    --tl-current: var(--primary, #ff5900);
    --tl-back: #d97706;
    --tl-declined: #dc2626;
    --tl-skipped: #64748b;
    --tl-muted: var(--muted, #64748b);
    --tl-line: var(--line, #e5e8ee);
    margin-bottom: 1rem;
}

.wf-tl-panel[b-klud5cxtxm] {
    background: var(--card, #fff);
    border: 1px solid var(--tl-line);
    border-radius: var(--radius, 14px);
    box-shadow: var(--shadow-sm, none);
}

.wf-tl-toggle[b-klud5cxtxm] {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
    width: 100%; padding: .7rem 1rem; background: transparent; border: 0; text-align: left;
    color: var(--ink, #0f172a); border-radius: var(--radius, 14px);
}
.wf-tl-toggle:hover[b-klud5cxtxm] { background: #f8faff; }
.wf-tl-caret[b-klud5cxtxm] { color: var(--tl-muted); width: 1rem; }
.wf-tl-heading[b-klud5cxtxm] { font-weight: 700; }
.wf-tl-summary[b-klud5cxtxm] { color: var(--ink-soft, #334155); font-size: .875rem; min-width: 0; overflow-wrap: anywhere; }

.wf-tl-mini[b-klud5cxtxm] { display: inline-flex; gap: 4px; align-items: center; }
.wf-tl-pip[b-klud5cxtxm] { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tl-line); background: transparent; }
.wf-tl-pip.st-done[b-klud5cxtxm] { background: var(--tl-done); border-color: var(--tl-done); }
.wf-tl-pip.st-current[b-klud5cxtxm] { background: var(--tl-current); border-color: var(--tl-current); box-shadow: 0 0 0 3px var(--primary-glow, rgba(255, 89, 0, .22)); }
.wf-tl-pip.st-back[b-klud5cxtxm] { background: var(--tl-back); border-color: var(--tl-back); }
.wf-tl-pip.st-declined[b-klud5cxtxm] { background: var(--tl-declined); border-color: var(--tl-declined); }
.wf-tl-pip.st-skipped[b-klud5cxtxm] { border-style: dashed; border-color: var(--tl-skipped); }
.wf-tl-pip.st-cancelled[b-klud5cxtxm] { background: #cbd5e1; border-color: #cbd5e1; }

.wf-tl-legacy[b-klud5cxtxm] {
    display: inline-block; font-size: .72rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px;
    background: #f1f5f9; color: var(--tl-muted); border: 1px solid var(--tl-line);
}
.wf-tl-legacy-note[b-klud5cxtxm] { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .75rem; }

.wf-tl-body[b-klud5cxtxm] { padding: .25rem 1rem 1rem; }
.wf-tl:not(.wf-tl-panel) .wf-tl-body[b-klud5cxtxm] { padding: 0; }

.wf-tl-empty[b-klud5cxtxm] { padding: .75rem; border: 1px dashed var(--tl-line); border-radius: 10px; background: #fafbfc; }

.wf-tl-outcome[b-klud5cxtxm] { font-weight: 700; margin: .25rem 0 .75rem; padding: .45rem .75rem; border-radius: 10px; background: #f0fdf4; color: var(--tl-done); }
.wf-tl-outcome.st-declined[b-klud5cxtxm] { background: #fef2f2; color: var(--tl-declined); }
.wf-tl-outcome.st-cancelled[b-klud5cxtxm], .wf-tl-outcome.st-back[b-klud5cxtxm] { background: #f8fafc; color: var(--tl-muted); }

.wf-tl-list[b-klud5cxtxm] { list-style: none; margin: 0; padding: 0; }
.wf-tl-step[b-klud5cxtxm] { position: relative; display: flex; gap: .85rem; padding-bottom: 1rem; }
.wf-tl-step:last-child[b-klud5cxtxm] { padding-bottom: 0; }
/* the rail between dots */
.wf-tl-step[b-klud5cxtxm]::before {
    content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--tl-line);
}
.wf-tl-step:last-child[b-klud5cxtxm]::before { display: none; }
.wf-tl-step.st-done[b-klud5cxtxm]::before { background: var(--tl-done); }
.wf-tl-step.st-skipped[b-klud5cxtxm]::before { background: repeating-linear-gradient(to bottom, var(--tl-skipped) 0 4px, transparent 4px 8px); }

.wf-tl-dot[b-klud5cxtxm] {
    flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; border: 2px solid var(--tl-line); color: var(--tl-muted); background: var(--card, #fff);
    font-variant-numeric: tabular-nums; z-index: 1;
}
.st-done > .wf-tl-dot[b-klud5cxtxm] { background: var(--tl-done); border-color: var(--tl-done); color: #fff; }
.st-current > .wf-tl-dot[b-klud5cxtxm] { background: var(--tl-current); border-color: var(--tl-current); color: #fff; box-shadow: 0 0 0 4px var(--primary-glow, rgba(255, 89, 0, .22)); }
.st-back > .wf-tl-dot[b-klud5cxtxm] { background: var(--tl-back); border-color: var(--tl-back); color: #fff; }
.st-declined > .wf-tl-dot[b-klud5cxtxm] { background: var(--tl-declined); border-color: var(--tl-declined); color: #fff; }
.st-skipped > .wf-tl-dot[b-klud5cxtxm] { border-style: dashed; border-color: var(--tl-skipped); color: var(--tl-skipped); }
.st-cancelled > .wf-tl-dot[b-klud5cxtxm] { background: #e2e8f0; border-color: #cbd5e1; color: var(--tl-muted); }
.st-unreached > .wf-tl-dot[b-klud5cxtxm] { opacity: .55; }

.wf-tl-content[b-klud5cxtxm] { flex: 1; min-width: 0; padding-top: 2px; }
.st-upcoming > .wf-tl-content[b-klud5cxtxm], .st-unreached > .wf-tl-content[b-klud5cxtxm] { color: var(--ink-soft, #334155); }
.st-unreached > .wf-tl-content[b-klud5cxtxm] { opacity: .7; }
.st-current > .wf-tl-content[b-klud5cxtxm] {
    background: #fff7f2; border: 1px solid #ffd9c2; border-radius: 10px; padding: .5rem .75rem; margin-top: -4px;
}

.wf-tl-title[b-klud5cxtxm] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin-bottom: .15rem; }
.wf-tl-name[b-klud5cxtxm] { font-weight: 700; overflow-wrap: anywhere; }
.wf-tl-badge[b-klud5cxtxm] { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: #f1f5f9; color: var(--tl-muted); }
.wf-tl-badge.st-done[b-klud5cxtxm] { background: #dcfce7; color: #166534; }
.wf-tl-badge.st-current[b-klud5cxtxm] { background: var(--tl-current); color: #fff; }
.wf-tl-badge.st-back[b-klud5cxtxm] { background: #fef3c7; color: #92400e; }
.wf-tl-badge.st-declined[b-klud5cxtxm] { background: #fee2e2; color: #991b1b; }
.wf-tl-badge.st-skipped[b-klud5cxtxm] { background: #fff; color: var(--tl-skipped); border: 1px dashed var(--tl-skipped); }
.wf-tl-tag[b-klud5cxtxm] { font-size: .7rem; padding: .08rem .45rem; border-radius: 6px; border: 1px solid var(--tl-line); color: var(--tl-muted); }

.wf-tl-person[b-klud5cxtxm] { font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.wf-tl-who[b-klud5cxtxm] { font-weight: 600; }
.wf-tl-what[b-klud5cxtxm] { color: var(--ink-soft, #334155); }
.wf-tl-waiting .wf-tl-what[b-klud5cxtxm] { color: var(--tl-current); font-weight: 600; }
.wf-tl-when[b-klud5cxtxm] { color: var(--tl-muted); font-size: .8rem; margin-left: .35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-tl-comment[b-klud5cxtxm] { color: var(--ink-soft, #334155); font-size: .85rem; font-style: italic; margin: .1rem 0 .2rem 1rem; }
.wf-tl-predicted[b-klud5cxtxm] { font-size: .9rem; font-style: italic; }
.wf-tl-meta[b-klud5cxtxm] { color: var(--tl-muted); font-size: .8rem; line-height: 1.4; }
.wf-tl-note[b-klud5cxtxm] { font-size: .82rem; color: var(--ink-soft, #334155); margin-top: .15rem; }
.st-skipped .wf-tl-note[b-klud5cxtxm] { color: var(--tl-skipped); }
.st-back .wf-tl-note[b-klud5cxtxm] { color: #92400e; }
.wf-tl-next[b-klud5cxtxm] {
    margin-top: .35rem; font-weight: 600; font-size: .88rem; color: var(--primary-dark, #d24a00);
}

.wf-tl-history[b-klud5cxtxm] { margin-top: 1rem; }
.wf-tl-history summary[b-klud5cxtxm] { cursor: pointer; color: var(--ink-soft, #334155); font-weight: 600; font-size: .9rem; }
.wf-tl-history .table[b-klud5cxtxm] { font-size: .82rem; display: block; overflow-x: auto; }

@media (max-width: 576px) {
    .wf-tl-body[b-klud5cxtxm] { padding: .25rem .75rem .75rem; }
    .wf-tl-toggle[b-klud5cxtxm] { padding: .65rem .75rem; }
    .wf-tl-step[b-klud5cxtxm] { gap: .6rem; }
}
/* /Components/Shared/WfCanvasRoute.razor.rz.scp.css */
/* Approval route map (WfCanvasRoute). Tokens come from app.css :root; nothing here depends on a UI library. */
.wfc[b-70bsccgr2u] { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 6px; }
.wfc-box[b-70bsccgr2u] { flex: 1 0 230px; max-width: 320px; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
           box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.wfc-box.wfc-edge[b-70bsccgr2u] { flex: 0 1 150px; min-width: 140px; background: #f8fafc; }
.wfc-box.is-pass[b-70bsccgr2u] { border-color: #86d6a6; background: #f3fbf6; }
.wfc-box.is-here[b-70bsccgr2u] { border: 2px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); }
.wfc-box.is-end[b-70bsccgr2u] { border: 2px solid #b91c1c; background: #fef4f4; }
.wfc-box.has-gap:not(.is-here)[b-70bsccgr2u] { border-color: #e0a100; }
.wfc-head[b-70bsccgr2u] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wfc-num[b-70bsccgr2u] { flex: 0 0 auto; min-width: 26px; height: 26px; border-radius: 13px; background: var(--primary); color: #fff; display: inline-flex;
           align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; padding: 0 6px; }
.wfc-edge .wfc-num[b-70bsccgr2u] { background: var(--ink-soft); }
.wfc-title[b-70bsccgr2u] { font-weight: 700; overflow-wrap: anywhere; }
.wfc-chip[b-70bsccgr2u] { font-size: .7rem; border-radius: 999px; padding: 1px 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); }
.wfc-chip-top[b-70bsccgr2u] { background: #fff3ea; border-color: var(--primary-light); color: var(--primary-dark); }
.wfc-here[b-70bsccgr2u] { background: var(--primary); color: #fff; border-radius: 8px; padding: 3px 8px; font-weight: 600; font-size: .85rem; }
.wfc-here-end[b-70bsccgr2u] { background: #b91c1c; }
.wfc-pass[b-70bsccgr2u] { color: #15803d; font-weight: 600; font-size: .85rem; }
.wfc-sect[b-70bsccgr2u] { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }
.wfc-src[b-70bsccgr2u] { border-left: 3px solid var(--line); padding: 2px 0 2px 8px; }
.wfc-src.is-gap[b-70bsccgr2u] { border-left-color: #e0a100; }
.wfc-src-t[b-70bsccgr2u] { font-weight: 600; font-size: .9rem; }
.wfc-names[b-70bsccgr2u] { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.wfc-name[b-70bsccgr2u] { background: #eef2f7; border-radius: 6px; padding: 1px 7px; font-size: .82rem; overflow-wrap: anywhere; }
.wfc-hidden[b-70bsccgr2u] { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.wfc-note[b-70bsccgr2u] { color: var(--muted); font-size: .8rem; }
.wfc-gap[b-70bsccgr2u] { color: #92400e; font-size: .85rem; }
.wfc-line[b-70bsccgr2u] { font-size: .85rem; }
.wfc-bands[b-70bsccgr2u] { width: 100%; font-size: .82rem; border-collapse: collapse; margin: 2px 0; }
.wfc-bands th[b-70bsccgr2u], .wfc-bands td[b-70bsccgr2u] { border-bottom: 1px solid var(--line); padding: 3px 4px; text-align: left; vertical-align: top; }
.wfc-bands tr.is-gap td[b-70bsccgr2u] { background: #fffbeb; }
.wfc-btns[b-70bsccgr2u] { display: flex; flex-wrap: wrap; gap: 4px; }
.wfc-btn[b-70bsccgr2u] { border-radius: 6px; padding: 2px 9px; font-size: .8rem; border: 1px solid var(--line); background: #fff; }
.wfc-btn-approve[b-70bsccgr2u] { border-color: #86d6a6; color: #15803d; }
.wfc-btn-sendback[b-70bsccgr2u] { border-color: #f0c36a; color: #92400e; }
.wfc-btn-decline[b-70bsccgr2u] { border-color: #f1a5a5; color: #b91c1c; }
.wfc-arrow[b-70bsccgr2u] { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; color: var(--muted); font-size: 1.3rem; }
.wfc-arrow-v[b-70bsccgr2u] { display: none; }

@media (max-width: 767.98px) {
    .wfc[b-70bsccgr2u] { flex-direction: column; flex-wrap: nowrap; }
    .wfc-box[b-70bsccgr2u], .wfc-box.wfc-edge[b-70bsccgr2u] { flex: 0 0 auto; width: 100%; max-width: none; min-width: 0; }
    .wfc-arrow[b-70bsccgr2u] { width: 100%; height: 30px; }
    .wfc-arrow-h[b-70bsccgr2u] { display: none; }
    .wfc-arrow-v[b-70bsccgr2u] { display: inline; }
}
