@import '_content/Blazor.QRCode/Blazor.QRCode.bundle.scp.css';

/* /Components/AgentHub/HubAgentCard.razor.rz.scp.css */
.hub-agent-card[b-us0dyqguqy] { display: flex; align-items: center; background: var(--hub-surface); border-radius: 1rem; border: 1px solid var(--hub-border); min-height: 3.5rem; }
.hub-agent-link[b-us0dyqguqy] { display: flex; align-items: center; gap: .875rem; flex: 1; min-width: 0; padding: .875rem 1rem; color: inherit; text-decoration: none; }
.hub-agent-icon[b-us0dyqguqy] { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: .75rem; background: var(--hub-accent-soft); color: var(--hub-accent); flex: none; }
.hub-agent-text[b-us0dyqguqy] { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hub-agent-text small[b-us0dyqguqy] { color: var(--hub-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-star[b-us0dyqguqy] { border: 0; background: none; color: #C9A227; padding: .5rem; min-width: 2.75rem; min-height: 2.75rem; }
.hub-star .rzi[b-us0dyqguqy] { font-size: 1.5rem; }
.hub-star-filled[b-us0dyqguqy] { font-variation-settings: 'FILL' 1; }
/* /Components/AgentHub/HubPortalSwitch.razor.rz.scp.css */
/* Colori ereditati dall'header dell'hub (scuro); nel portale quelli del tema. Solo l'attivo ha un colore suo. */
.hub-portal-switch[b-pc5m0uemz7] { display: inline-flex; align-items: center; gap: .125rem; padding: .1875rem; border-radius: 2rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
/* Nel portale l'header di Radzen ha un colore del testo chiaro anche su fondo chiaro: si usa quello del tema. */
.hub-portal-switch.in-portal[b-pc5m0uemz7] { color: var(--rz-text-color, #212121); }
.hub-portal-switch a[b-pc5m0uemz7] { display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .75rem; border-radius: 2rem; color: inherit; text-decoration: none; font-size: .875rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.hub-portal-switch a:not(.active):hover[b-pc5m0uemz7] { background: color-mix(in srgb, currentColor 12%, transparent); }
.hub-portal-switch a.active[b-pc5m0uemz7] { background: #5B4BDB; color: #fff; font-weight: 600; }
.hub-portal-switch a:focus-visible[b-pc5m0uemz7] { outline: 2px solid #A9A4FF; outline-offset: 2px; }
.hub-portal-switch .material-symbols-outlined[b-pc5m0uemz7] { font-size: 1.125rem; }
/* Badge «Preview» sul segmento Hub: colori da .custom-preview-badge (app.css). */
.hub-portal-switch .hub-preview-badge[b-pc5m0uemz7] { font-size: .625rem; font-weight: 600; line-height: 1.4; padding: 0 5px; }

/* Sul telefono restano le sole icone dei segmenti non attivi: l'header ha poco spazio. */
@media (max-width: 480px) {
    .hub-portal-switch a[b-pc5m0uemz7] { padding: .3125rem .5rem; }
    .hub-portal-switch a:not(.active) span:not(.material-symbols-outlined)[b-pc5m0uemz7] { display: none; }
}
/* /Components/AgentTasks/ApprovalPanel.razor.rz.scp.css */
.ap[b-gkdctdcdff] { display: flex; flex-direction: column; gap: 1rem; }
.ap-type[b-gkdctdcdff] { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #5B4BDB; }
.ap-head h2[b-gkdctdcdff] { margin: .25rem 0; font-size: 1.25rem; color: #1A1A48; }
.ap-expiry[b-gkdctdcdff] { color: #6B6B85; }
.ap-expiry--urgent[b-gkdctdcdff] { color: #D32F2F; font-weight: 600; }
.ap-warning[b-gkdctdcdff] { background: #FFF4E5; color: #8A4B00; padding: .75rem; border-radius: .75rem; }
.ap-body[b-gkdctdcdff] { background: #F7F7FB; border-radius: .75rem; padding: 1rem; overflow-x: auto; }
.ap-note[b-gkdctdcdff] { color: #6B6B85; font-size: .875rem; }
.ap-files[b-gkdctdcdff] { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ap-files a[b-gkdctdcdff] { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem .75rem; border-radius: .75rem; background: #ECEBFF; color: #1A1A48; text-decoration: none; }
.ap-actions[b-gkdctdcdff] { display: flex; gap: .75rem; }
.ap-actions[b-gkdctdcdff]  .rz-button { flex: 1; min-height: 3rem; }
.ap-actions--sticky[b-gkdctdcdff] { position: sticky; bottom: 0; background: #fff; padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid #E5E7EF; }
.ap-sheet-backdrop[b-gkdctdcdff] { position: fixed; inset: 0; background: rgba(10,10,40,.35); z-index: 1100; }
.ap-sheet[b-gkdctdcdff] { z-index: 1101; background: #fff; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.ap-sheet--bottom[b-gkdctdcdff] { position: fixed; left: 0; right: 0; bottom: 0; border-radius: 1.25rem 1.25rem 0 0; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
.ap-sheet--inline[b-gkdctdcdff] { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(32rem, 92vw); border-radius: 1rem; }
.ap-rationale[b-gkdctdcdff]  textarea { width: 100%; box-sizing: border-box; }
.ap-sheet-actions[b-gkdctdcdff] { display: flex; justify-content: flex-end; gap: .5rem; }
.ap-back[b-gkdctdcdff] { padding: 0 0 .25rem; }
.ap-empty[b-gkdctdcdff] { color: #6B6B85; padding: 2rem 0; text-align: center; }
/* /Components/ChatHistory.razor.rz.scp.css */
/* Component-scoped styles for ChatHistory.
   Migrated from the global wwwroot/css/components/chat-history.css.
   Own <div> elements (container, header, list, items, conversation-*, empty-state,
   loading-container) are scoped automatically. Elements rendered by Radzen child
   components (RadzenText/RadzenIcon/RadzenButton: chat-history-title, history-icon,
   conversation-button, delete-button, empty-icon, empty-text) are reached via
   ::deep anchored on the owned root .chat-history-container.
   Uses --brand-teal (chat.css :root) with a hardcoded fallback. */

/* `width: 100%`, not `fit-content`: the container sits inside a RadzenSidebar that is
   itself `width: fit-content`, and that sidebar's width is set by the search + new-chat
   row above (~323px). With `fit-content` the container only claimed the width of its own
   content, so with no conversations the empty state stopped ~96px short of the sidebar's
   right edge and read as misaligned. A percentage still contributes the content-based
   size to the sidebar's intrinsic sizing; the conversation entries no longer contribute
   theirs (see .conversation-content, #1233). Note the width belongs here rather than as an
   `rz-w-100` on the element: that utility is `width: 100% !important` and would defeat
   the 250px override in the 768px media query below. */
.chat-history-container[b-rhyjfbegv9] {
    width: 100%;
    height: 100%;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9] {
    background-color: #2c2b30;
    border-right-color: #6d6d6d;
}

.chat-history-header[b-rhyjfbegv9] {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.rz-material-dark .chat-history-header[b-rhyjfbegv9] {
    border-bottom-color: #6d6d6d;
}

.chat-history-container[b-rhyjfbegv9]  .chat-history-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #495057;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .chat-history-title {
    color: #f8f9fa;
}

.chat-history-container[b-rhyjfbegv9]  .history-icon {
    font-size: 1.2rem;
    color: #6c757d;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .history-icon {
    color: #adb5bd;
}

.chat-history-list[b-rhyjfbegv9] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    max-height: 70vh;
}

/* Nuovo contenitore per conversazione + pulsante delete */
.conversation-item[b-rhyjfbegv9] {
    display: flex;
    align-items: stretch;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    position: relative;
}

.conversation-item:hover[b-rhyjfbegv9] {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
}

.rz-material-dark .conversation-item:hover[b-rhyjfbegv9] {
    background-color: #495057 !important;
    border-color: #6c757d !important;
}

/* Deletion (#1233). Only the deleted entry changes: it dims while the API answers, then leaves the list
   at once — no transition, by choice. The others stay where they are (@key in the markup), so nothing
   else in the panel redraws. */
.conversation-item.deleting[b-rhyjfbegv9] {
    opacity: 0.55;
    pointer-events: none;
}

.chat-history-container[b-rhyjfbegv9]  .conversation-button {
    flex: 1 !important;
    text-align: left !important;
    text-transform: none !important;
    padding: 0.75rem !important;
    border-radius: 8px 0 0 8px !important;
    border: 1px solid transparent !important;
    background-color: transparent !important;
    color: #495057 !important;
    display: block !important;
    height: auto !important;
    min-height: 60px !important;
    margin-bottom: 0 !important;
}

.chat-history-container[b-rhyjfbegv9]  .conversation-button.selected {
    background-color: var(--brand-teal, #0EA299) !important;
    color: white !important;
    border-color: var(--brand-teal, #0EA299) !important;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .conversation-button {
    color: #f8f9fa !important;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .conversation-button.selected {
    background-color: var(--brand-teal, #0EA299) !important;
    color: white !important;
}

.chat-history-container[b-rhyjfbegv9]  .delete-button {
    width: 40px !important;
    min-width: 40px !important;
    height: 100% !important;
    min-height: 86px !important;
    border-radius: 0 8px 8px 0 !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-left: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1;
    transition: opacity 0.2s ease;
    color: #6c757d !important;
}

.chat-history-container[b-rhyjfbegv9]  .delete-button.selected {
    background-color: var(--brand-teal, #0EA299) !important;
    color: white !important;
    border-color: var(--brand-teal, #0EA299) !important;
}

.chat-history-container[b-rhyjfbegv9]  .delete-button:hover {
    background-color: rgba(220, 53, 69, 0.2) !important;
    color: #dc3545 !important;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .delete-button {
    background-color: rgba(255, 107, 107, 0.1) !important;
    color: #ff6b6b !important;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .delete-button:hover {
    background-color: #ff6b6b !important;
    color: #2c2b30 !important;
}

/* The entries must not size the sidebar (#1233). The sidebar is `width: fit-content` in an `auto` grid
   column, so with content-sized entries it was as wide as the longest title: deleting that entry
   narrowed the sidebar and the whole chat jumped — measured 502px → 291px, and still ~20px with
   realistic 30-character titles. `width: 0; min-width: 100%` makes the content contribute nothing to
   the intrinsic width and still fill the button; the button box must then be a full-width block, or
   it would shrink-wrap to 0. The sidebar width now comes from the search row above, the same with a
   full list, after a deletion and with no conversations; long titles get the ellipsis. */
.chat-history-container[b-rhyjfbegv9]  .conversation-button .rz-button-box {
    display: flex;
    width: 100%;
}

.conversation-content[b-rhyjfbegv9] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 0;
    min-width: 100%;
}

.conversation-title[b-rhyjfbegv9] {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-preview[b-rhyjfbegv9] {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-date[b-rhyjfbegv9] {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: auto;
}

.loading-container[b-rhyjfbegv9] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.empty-state[b-rhyjfbegv9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 2rem;
    text-align: center;
}

.chat-history-container[b-rhyjfbegv9]  .empty-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .empty-icon {
    color: #adb5bd;
}

.chat-history-container[b-rhyjfbegv9]  .empty-text {
    color: #6c757d;
}

.rz-material-dark .chat-history-container[b-rhyjfbegv9]  .empty-text {
    color: #adb5bd;
}

.chat-history-list[b-rhyjfbegv9]::-webkit-scrollbar {
    width: 6px;
}

.chat-history-list[b-rhyjfbegv9]::-webkit-scrollbar-track {
    background: transparent;
}

.chat-history-list[b-rhyjfbegv9]::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.rz-material-dark .chat-history-list[b-rhyjfbegv9]::-webkit-scrollbar-thumb {
    background: #6c757d;
}

.chat-history-list[b-rhyjfbegv9]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

@media (max-width: 768px) {
    .chat-history-container[b-rhyjfbegv9] {
        width: 250px;
    }

    .chat-history-container[b-rhyjfbegv9]  .conversation-button {
        min-height: 50px !important;
        padding: 0.5rem !important;
    }

    .chat-history-container[b-rhyjfbegv9]  .delete-button {
        height: 50px !important;
    }

    .conversation-title[b-rhyjfbegv9] {
        font-size: 0.8rem;
    }

    .conversation-preview[b-rhyjfbegv9] {
        font-size: 0.75rem;
    }
}

/* Up to 576px the history is a fixed overlay that runs to the bottom of the viewport
   (.chat-history-sidebar in chat.css, a flex column). The container takes what the search row
   leaves and the list scrolls inside it: a 70vh list under that row would overflow the bottom
   of a phone screen (#1311). */
@media (max-width: 576px) {
    .chat-history-container[b-rhyjfbegv9] {
        width: 100%;
        height: auto;
        flex: 1 1 auto;
        min-height: 0;
    }

    .chat-history-list[b-rhyjfbegv9] {
        max-height: none;
        min-height: 0;
    }
}
/* /Components/FloatingAgent.razor.rz.scp.css */
/* Component-scoped styles for FloatingAgent.
   Migrated from the global wwwroot/css/components/floating-agent.css.
   Own <div> elements are scoped automatically; RadzenButton roots
   (.floating-agent-button, .floating-close-button) are reached via ::deep,
   anchored on an owned ancestor. */

.floating-chat-overlay[b-dgr62y6wd1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.floating-chat-main[b-dgr62y6wd1] {
    display: flex;
    position: relative;
    width: 420px;
    height: 85vh;
    max-width: 95vw;
    max-height: 900px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.floating-chat-container[b-dgr62y6wd1] {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(160deg, #FAF5FE 0%, #F9F6F8 27.08%, #F3F3F3 54.11%, #F2F5FD 85.98%);
    box-shadow: 0 4px 4px 0 rgba(134, 138, 208, 0.25);
}

.rz-material-dark .floating-chat-container[b-dgr62y6wd1] {
    background: linear-gradient(160deg, #352E3C 0%, #332F32 27.08%, #3A3A3A 54.11%, #2E303B 85.98%);
    box-shadow: 0 4px 4px 0 rgba(134, 138, 208, 0.25);
}

/* Launcher button (top-level RadzenButton) — reached via ::deep from its
   display:contents wrapper. */
.floating-agent-launcher[b-dgr62y6wd1]  .floating-agent-button {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin-left: 1rem;
    background: transparent !important;
    box-shadow: none !important;
}

.floating-agent-launcher[b-dgr62y6wd1]  .floating-agent-button img {
    width: 40px !important;
    height: 40px !important;
}

/* Close button, reached via ::deep from the owned main panel. */
.floating-chat-main[b-dgr62y6wd1]  .floating-close-button {
    color: black !important;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    align-items: center;
    transition: all 0.2s ease;
}

.floating-chat-main[b-dgr62y6wd1]  .floating-close-button:hover {
    background-color: rgba(240, 240, 240, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.rz-material-dark .floating-chat-main[b-dgr62y6wd1]  .floating-close-button {
    background-color: rgba(60, 60, 60, 0.9) !important;
    color: white !important;
}

.rz-material-dark .floating-chat-main[b-dgr62y6wd1]  .floating-close-button:hover {
    background-color: rgba(80, 80, 80, 1) !important;
}

.floating-chat-overlay[b-dgr62y6wd1]  .floating-chat-badge {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive design for mobile */
@media (max-width: 750px) {
    .floating-chat-main[b-dgr62y6wd1] {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
    }

    .floating-chat-container[b-dgr62y6wd1] {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    /* Full-screen chat leaves no gutter for the badge on mobile. */
    .floating-chat-overlay[b-dgr62y6wd1]  .floating-chat-badge {
        display: none !important;
    }
}
/* /Components/NavMenuGroup.razor.rz.scp.css */
/* Header of the sidebar's collapsible groups (NavMenuGroup.razor).
   Rules targeting Radzen-rendered elements go through ::deep: scoping doesn't
   reach child components' markup. */

.nav-menu-group[b-75ncpfbt6m] {
    width: 100%;
    margin: 0;
}

.nav-menu-group-header[b-75ncpfbt6m] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0.6rem 0.5rem 0.6rem 0.75rem;
    margin-top: 0;
    border: none;
    /* Bolder separator between macro-sections, using the real --rz-base-300 variable
       instead of the nonexistent --rz-border-color (see SkillSelector.razor for the same issue). */
    border-top: 1px solid var(--rz-base-300, #dadfe2);
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* Base size/weight/opacity come from .nav-menu-caption in NavMenu.razor; only hover
   behavior is defined here. */
.nav-menu-group-caption[b-75ncpfbt6m] {
    transition: opacity 0.15s ease-in-out;
}

.nav-menu-group-header:hover .nav-menu-group-caption[b-75ncpfbt6m] {
    opacity: 1;
}

.nav-menu-group-header[b-75ncpfbt6m]  .nav-menu-group-chevron {
    font-size: 1.1rem;
    opacity: 0.7;
}

.nav-menu-group-header:hover[b-75ncpfbt6m]  .nav-menu-group-chevron {
    opacity: 1;
}

.nav-menu-group-header:focus-visible[b-75ncpfbt6m] {
    outline: 2px solid var(--rz-primary);
    outline-offset: -2px;
    border-radius: 4px;
}

.nav-menu-group[b-75ncpfbt6m]  .nav-menu-group-items {
    width: 100%;
}
/* /Components/Process/WorkItemPanel.razor.rz.scp.css */
.wi-page[b-yz4w9vzhls] {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Work item interattivo: chat a sinistra, compito a destra. Solo con .wi-page--chat. */
.wi-page.wi-page--chat[b-yz4w9vzhls] {
    max-width: 1280px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

/* Altezza definita, non solo minima: Chat.razor riempie il contenitore e scorre al suo
   interno. Con la sola min-height la colonna cresceva con la conversazione e la casella
   di scrittura finiva sotto il bordo della finestra. */
.wi-chat-col[b-yz4w9vzhls] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 480px;
    background: var(--rz-card-background-color, #fff);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    padding: 0.75rem;
    overflow: hidden;
}

@media (max-width: 960px) {
    .wi-page.wi-page--chat[b-yz4w9vzhls] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wi-chat-col[b-yz4w9vzhls] {
        height: 70vh;
    }
}

.rz-material-dark .wi-chat-col[b-yz4w9vzhls] {
    border-color: rgba(255, 255, 255, .08);
}

.wi-card[b-yz4w9vzhls] {
    overflow: hidden;
    background: var(--rz-card-background-color, #fff);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(20, 24, 40, .05), 0 14px 34px -14px rgba(20, 24, 40, .20);
}

/* Testata tinta */
.wi-band[b-yz4w9vzhls] {
    padding: 1rem 1.25rem 0.9rem;
    background: linear-gradient(135deg, #f3edfd 0%, #fbf8ff 70%);
    border-bottom: 1px solid #ECEEF4;
}

.wi-band-top[b-yz4w9vzhls] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.wi-band[b-yz4w9vzhls]  .wi-back {
    flex: 0 0 auto;
    margin-left: -0.35rem;
}

.wi-band-top[b-yz4w9vzhls]  .wi-title {
    flex: 1 1 auto;
    margin: 0 !important;
    font-weight: 650;
    letter-spacing: -.01em;
}

.wi-band-top[b-yz4w9vzhls]  .wi-status-badge {
    flex: 0 0 auto;
}

.wi-band-meta[b-yz4w9vzhls] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wi-chip[b-yz4w9vzhls] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid #E7DDF6;
}

.wi-chip-k[b-yz4w9vzhls] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #8a7bb8;
}

.wi-chip-v[b-yz4w9vzhls] {
    font-size: 12.5px;
    color: #41454f;
    font-variant-numeric: tabular-nums;
}

/* Corpo */
.wi-body[b-yz4w9vzhls] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.25rem;
}

/* Footer azioni */
.wi-footer[b-yz4w9vzhls] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #ECEEF4;
    background: #FCFCFE;
}

.wi-time[b-yz4w9vzhls] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    max-width: 220px;
}

.wi-time[b-yz4w9vzhls]  .wi-time-label {
    color: var(--rz-text-secondary-color);
}

/* Documenti generati */
.wi-page[b-yz4w9vzhls]  .wi-files-title {
    margin: 0 0 0.5rem !important;
}

.wi-file-link[b-yz4w9vzhls] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(123, 95, 224, .07);
    border: 1px solid #E7DDF6;
    color: #5b3fa8;
    text-decoration: none;
    font-size: 13px;
}

.wi-file-link:hover[b-yz4w9vzhls] {
    background: rgba(123, 95, 224, .14);
}

/* ── Dark mode ─────────────────────────────────────────── */
.rz-material-dark .wi-card[b-yz4w9vzhls] {
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .5);
}

.rz-material-dark .wi-band[b-yz4w9vzhls] {
    background: linear-gradient(135deg, rgba(123, 95, 224, .22) 0%, rgba(123, 95, 224, .06) 70%);
    border-bottom-color: rgba(255, 255, 255, .08);
}

.rz-material-dark .wi-chip[b-yz4w9vzhls] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(183, 147, 237, .35);
}

.rz-material-dark .wi-chip-k[b-yz4w9vzhls] {
    color: #c3b0ec;
}

.rz-material-dark .wi-chip-v[b-yz4w9vzhls] {
    color: #e6e6ea;
}

.rz-material-dark .wi-footer[b-yz4w9vzhls] {
    background: rgba(255, 255, 255, .03);
    border-top-color: rgba(255, 255, 255, .08);
}

.rz-material-dark .wi-file-link[b-yz4w9vzhls] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(183, 147, 237, .35);
    color: #c3b0ec;
}

.rz-material-dark .wi-file-link:hover[b-yz4w9vzhls] {
    background: rgba(255, 255, 255, .1);
}

/* ── Agent Hub ─────────────────────────────────────────── */

/* overflow:hidden crea un contenitore di scroll e impedirebbe lo sticky: clip taglia gli angoli uguale. */
.wi-card.wi-card--sticky[b-yz4w9vzhls] {
    overflow: clip;
}

.wi-actions--sticky[b-yz4w9vzhls] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #fff;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid #E5E7EF;
    margin: 0 -1.25rem;
}

.wi-footer.wi-actions--sticky[b-yz4w9vzhls] {
    margin: 0;
}

.wi-actions--sticky[b-yz4w9vzhls]  .rz-button {
    width: 100%;
    min-height: 3rem;
    font-size: 1rem;
}

.rz-material-dark .wi-actions--sticky[b-yz4w9vzhls] {
    background: var(--rz-card-background-color, #1e1e1e);
    border-top-color: rgba(255, 255, 255, .08);
}

/* Attività interattive nell'Hub su mobile: form sopra, chat sotto (spec §5.3).
   Solo con .wi-page--hub: sulla pagina della piattaforma il responsive resta quello originale. */
@media (max-width: 1023px) {
    .wi-page.wi-page--chat.wi-page--hub[b-yz4w9vzhls] {
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wi-page.wi-page--chat.wi-page--hub .wi-chat-col[b-yz4w9vzhls] {
        min-height: 60dvh;
    }
}
/* /Components/Shared/SkillProgressIndicator.razor.rz.scp.css */
/* Component-scoped styles for SkillProgressIndicator.
   Own elements are scoped automatically; child-component elements (RadzenIcon's <i>,
   the RadzenProgressBar internals) are reached via ::deep, anchored on an owned root. */

.skill-progress-inline[b-ve1hbn7hp2] {
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Inherit the app UI font so labels never fall back to a system/emoji font. */
    font-family: inherit;
}

/* ---- Header: title + elapsed ------------------------------------------------ */

.skill-progress-header[b-ve1hbn7hp2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.skill-progress-title[b-ve1hbn7hp2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--rz-text-color, #e6e6e6);
    letter-spacing: 0.01em;
}

.skill-progress-title[b-ve1hbn7hp2]  .skill-progress-title-icon {
    font-size: 16px;
    line-height: 1;
    color: var(--rz-primary, #7c6bff);
}

/* ---- Phase chips ------------------------------------------------------------ */

.skill-stages[b-ve1hbn7hp2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.skill-stage[b-ve1hbn7hp2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px 2px 7px;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1.5;
    border: 1px solid transparent;
    white-space: nowrap;
}

.skill-stage-label[b-ve1hbn7hp2] {
    font-weight: 500;
}

.skill-stage[b-ve1hbn7hp2]  .skill-stage-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

/* Completed */
.skill-stage.done[b-ve1hbn7hp2] {
    color: var(--rz-success, #2e9e6b);
    background: color-mix(in srgb, var(--rz-success, #2e9e6b) 12%, transparent);
    border-color: color-mix(in srgb, var(--rz-success, #2e9e6b) 26%, transparent);
}

.skill-stage.done[b-ve1hbn7hp2]  .skill-stage-icon {
    color: var(--rz-success, #2e9e6b);
}

/* Failed / warning phase */
.skill-stage.warn[b-ve1hbn7hp2] {
    color: var(--rz-warning, #d98a00);
    background: color-mix(in srgb, var(--rz-warning, #d98a00) 12%, transparent);
    border-color: color-mix(in srgb, var(--rz-warning, #d98a00) 26%, transparent);
}

.skill-stage.warn[b-ve1hbn7hp2]  .skill-stage-icon {
    color: var(--rz-warning, #d98a00);
}

/* Currently running */
.skill-stage.active[b-ve1hbn7hp2] {
    color: var(--rz-primary, #7c6bff);
    background: color-mix(in srgb, var(--rz-primary, #7c6bff) 15%, transparent);
    border-color: color-mix(in srgb, var(--rz-primary, #7c6bff) 34%, transparent);
    font-weight: 500;
}

.skill-stage-dot[b-ve1hbn7hp2] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rz-primary, #7c6bff);
    flex-shrink: 0;
    animation: skill-stage-pulse-b-ve1hbn7hp2 1.2s ease-in-out infinite;
}

/* ---- Plain (single-message) fallback --------------------------------------- */

.skill-progress-status[b-ve1hbn7hp2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--rz-text-secondary-color, #9aa0a6);
}

.skill-spinner[b-ve1hbn7hp2] {
    width: 14px;
    height: 14px;
    border: 2px solid color-mix(in srgb, var(--rz-primary, #7c6bff) 30%, transparent);
    border-top-color: var(--rz-primary, #7c6bff);
    border-radius: 50%;
    animation: skill-spin-b-ve1hbn7hp2 0.8s linear infinite;
    flex-shrink: 0;
}

.skill-status-text[b-ve1hbn7hp2] {
    font-weight: 500;
}

/* ---- Shared bits ------------------------------------------------------------ */

.skill-elapsed[b-ve1hbn7hp2] {
    margin-left: auto;
    color: var(--rz-text-secondary-color, #9aa0a6);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.skill-heartbeat[b-ve1hbn7hp2] {
    color: var(--rz-text-secondary-color, #9aa0a6);
    font-size: 0.72rem;
    font-style: italic;
    opacity: 0.75;
    animation: skill-heartbeat-pulse-b-ve1hbn7hp2 1.8s ease-in-out infinite;
}

/* RadzenProgressBar (child component) — reached through ::deep from the owned root. */
.skill-progress-inline[b-ve1hbn7hp2]  .skill-progress-bar-inline {
    max-width: 220px;
    height: 4px !important;
}

.skill-progress-inline[b-ve1hbn7hp2]  .skill-progress-bar-inline .rz-progressbar-value {
    height: 4px !important;
    border-radius: 2px;
    background: var(--rz-primary, #7c6bff);
}

.skill-progress-inline[b-ve1hbn7hp2]  .skill-progress-bar-inline .rz-progressbar {
    height: 4px !important;
    border-radius: 2px;
    background: color-mix(in srgb, var(--rz-text-secondary-color, #9aa0a6) 22%, transparent);
}

/* Keyframes are emitted globally (Blazor does not scope @keyframes names). */
@keyframes skill-spin-b-ve1hbn7hp2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes skill-heartbeat-pulse-b-ve1hbn7hp2 {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
}

@keyframes skill-stage-pulse-b-ve1hbn7hp2 {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}
/* /Components/Widgets/SkillKindBadge.razor.rz.scp.css */
.skill-kind-badge[b-1jzhsh7v0s] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    line-height: 1;
}

.skill-kind-badge-icon[b-1jzhsh7v0s] {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.75;
}

.skill-kind-badge--icon-only .skill-kind-badge-icon[b-1jzhsh7v0s] {
    font-size: 1.25rem;
    opacity: 1;
}
/* /Layout/HubLayout.razor.rz.scp.css */
.hub-shell[b-wzc78p76za] { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: var(--hub-bg); }
.hub-header[b-wzc78p76za] { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--hub-header); color: var(--hub-header-text); }
.hub-brand[b-wzc78p76za] { display: flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.hub-brand img[b-wzc78p76za] { height: 2.5rem; width: auto; display: block; }
.hub-brand span[b-wzc78p76za] { font-weight: 600; font-size: 1.25rem; line-height: 1; padding-left: .5rem; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
/* Badge «Preview» accanto a «Hub»: colori da .custom-preview-badge (app.css); qui solo misura, e niente separatore della parola. */
.hub-brand .hub-preview-badge[b-wzc78p76za] { font-size: .6875rem; font-weight: 600; line-height: 1.4; padding: 1px 6px; border-left: 0; align-self: center; }
.hub-header-actions[b-wzc78p76za] { display: flex; align-items: center; gap: .5rem; }
/* Sul telefono, con l'interruttore in vista, la parola «Hub» accanto al logo è un doppione e toglie spazio. */
@media (max-width: 480px) { .hub-header.has-switch .hub-brand span[b-wzc78p76za] { display: none; } }
.hub-theme-toggle[b-wzc78p76za] { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; display: grid; place-items: center; cursor: pointer; }
.hub-theme-toggle:focus-visible[b-wzc78p76za], .hub-avatar:focus-visible[b-wzc78p76za] { outline: 2px solid #A9A4FF; outline-offset: 2px; }
.hub-avatar[b-wzc78p76za] { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: #E8B38D; color: #1A1A48; font-weight: 700; }
.hub-menu[b-wzc78p76za] { position: absolute; right: 1rem; top: 3.75rem; min-width: 14rem; background: var(--hub-surface); color: var(--hub-text); border-radius: .75rem; box-shadow: 0 8px 24px var(--hub-shadow); display: flex; flex-direction: column; padding: .5rem 0; }
.hub-menu a[b-wzc78p76za], .hub-menu-name[b-wzc78p76za] { padding: .75rem 1rem; color: inherit; text-decoration: none; }
.hub-menu form[b-wzc78p76za] { display: contents; }
.hub-menu button[role=menuitem][b-wzc78p76za] { padding: .75rem 1rem; color: inherit; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.hub-menu-name[b-wzc78p76za] { font-weight: 600; border-bottom: 1px solid var(--hub-border); }
.hub-main[b-wzc78p76za] { padding: 1rem 1rem calc(5rem + env(safe-area-inset-bottom)); min-width: 0; }
.hub-nav[b-wzc78p76za] { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-around; padding: .5rem 0 calc(.5rem + env(safe-area-inset-bottom)); background: var(--hub-nav); border-top: 1px solid var(--hub-border); }
.hub-nav-icon[b-wzc78p76za] { position: relative; }
.hub-badge[b-wzc78p76za] { position: absolute; top: -.375rem; right: -.625rem; min-width: 1.125rem; height: 1.125rem; padding: 0 .25rem; border-radius: 1rem; background: #E8590C; color: #fff; font-size: .6875rem; font-family: Inter, sans-serif; display: grid; place-items: center; }
[b-wzc78p76za] .hub-nav-item { display: flex; flex-direction: column; align-items: center; gap: .125rem; min-width: 4rem; padding: .25rem .75rem; border-radius: 1rem; color: var(--hub-text-2); font-size: .75rem; text-decoration: none; }
[b-wzc78p76za] .hub-nav-item.active { background: var(--hub-accent-soft); color: var(--hub-text); font-weight: 600; }
.hub-loading[b-wzc78p76za] { min-height: 100dvh; display: grid; place-items: center; }

@media (min-width: 1024px) {
    .hub-shell[b-wzc78p76za] { grid-template-columns: 14rem 1fr; grid-template-rows: auto 1fr; grid-template-areas: "header header" "nav main"; }
    .hub-header[b-wzc78p76za] { grid-area: header; }
    .hub-main[b-wzc78p76za] { grid-area: main; padding: 1.5rem 2rem; max-width: 80rem; }
    .hub-nav[b-wzc78p76za] { grid-area: nav; position: sticky; top: 4rem; flex-direction: column; justify-content: flex-start; gap: .25rem; padding: 1rem .75rem; border-top: 0; border-right: 1px solid var(--hub-border); height: calc(100dvh - 4rem); }
    [b-wzc78p76za] .hub-nav-item { flex-direction: row; gap: .75rem; font-size: .9375rem; padding: .625rem .875rem; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-w2srgorhdh] {
    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-w2srgorhdh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8crvomlmgu] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-8crvomlmgu] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8crvomlmgu] {
    font-size: 1.1rem;
}

.bi[b-8crvomlmgu] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-8crvomlmgu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-8crvomlmgu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-8crvomlmgu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-8crvomlmgu] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8crvomlmgu] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8crvomlmgu] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8crvomlmgu]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-8crvomlmgu]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-8crvomlmgu]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8crvomlmgu] {
        display: none;
    }

    .collapse[b-8crvomlmgu] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-8crvomlmgu] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/AgentHub/HubAgents.razor.rz.scp.css */
.hub-page-title[b-ia79hhv0ac] { font-size: 1.5rem; margin: .25rem 0 1rem; color: var(--hub-text); }
.hub-search[b-ia79hhv0ac] { width: 100%; box-sizing: border-box; padding: .75rem 1rem; border: 1px solid var(--hub-border-strong); background: var(--hub-surface); color: var(--hub-text); border-radius: .75rem; font-size: 1rem; margin-bottom: .75rem; }
.hub-agent-grid[b-ia79hhv0ac] { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
/* minmax(0, …): con 1fr la colonna non scende sotto il contenuto, e una descrizione in nowrap la allargava a migliaia di px. */
.hub-agent-section + .hub-agent-section[b-ia79hhv0ac] { margin-top: 1.5rem; }
.hub-section-title[b-ia79hhv0ac] { display: flex; align-items: center; gap: .375rem; font-size: 1rem; font-weight: 600; margin: 0 0 .75rem; color: var(--hub-muted); }
.hub-section-title .rzi[b-ia79hhv0ac] { font-size: 1.25rem; color: #C9A227; font-variation-settings: 'FILL' 1; }
.hub-empty[b-ia79hhv0ac] { color: var(--hub-muted); padding: 2rem 0; text-align: center; }
@media (min-width: 768px) { .hub-agent-grid[b-ia79hhv0ac] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .hub-agent-grid[b-ia79hhv0ac] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* /Pages/AgentHub/HubChat.razor.rz.scp.css */
.hub-chat-page[b-befpebabl0] { position: fixed; inset: 0; z-index: 20; display: grid; grid-template-rows: auto 1fr; background: var(--hub-surface); }
.hub-chat-bar[b-befpebabl0] { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-bottom: 1px solid var(--hub-border); padding-top: calc(.5rem + env(safe-area-inset-top)); }
.hub-back[b-befpebabl0] { border: 0; background: none; min-width: 2.75rem; min-height: 2.75rem; }
.hub-chat-body[b-befpebabl0] { min-height: 0; overflow: hidden; }
/* La chat riempie il corpo della pagina, mai il tetto 80vh di chat.css (vale per piattaforma ed embed, che
   restano come sono). Il layout standard lo toglie già (.chat-container-wrapper); questo copre la variante
   mobile con video (.mobile-swipe-container), dove il tetto resterebbe. */
.hub-chat-body[b-befpebabl0]  .chat-layout { height: 100%; }
.hub-chat-body[b-befpebabl0]  .chat-container { max-height: none; }
.hub-empty[b-befpebabl0] { color: var(--hub-muted); padding: 2rem 1rem; text-align: center; }
@media (min-width: 1024px) { .hub-chat-page[b-befpebabl0] { position: static; height: calc(100dvh - 7rem); border-radius: 1rem; border: 1px solid var(--hub-border); } }
/* /Pages/AgentHub/HubCompanySelection.razor.rz.scp.css */
.hub-page-title[b-bw4s1sfdom] { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 700; color: var(--hub-text); }
/* /Pages/AgentHub/HubHome.razor.rz.scp.css */
.hub-hero h1[b-gkuquj0h0x] { margin: 0 0 .25rem; font-size: 1.5rem; font-weight: 700; color: var(--hub-text); }
.hub-hero p[b-gkuquj0h0x] { margin: 0; color: var(--hub-text-2); }

@media (min-width: 1024px) {
    .hub-hero h1[b-gkuquj0h0x] { font-size: 2rem; }
}

.hub-tiles[b-gkuquj0h0x] { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1rem 0 1.5rem; }
.hub-tile[b-gkuquj0h0x] { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; background: var(--hub-surface); border: 1px solid var(--hub-border); border-radius: 1rem; color: var(--hub-text); text-decoration: none; }
.hub-tile small[b-gkuquj0h0x] { display: flex; align-items: center; gap: .375rem; color: var(--hub-text-2); }
.hub-tile strong[b-gkuquj0h0x] { font-size: 1.75rem; }
@media (min-width: 1024px) { .hub-tiles[b-gkuquj0h0x] { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); } }

.hub-your-agents[b-gkuquj0h0x] { margin-top: 1.5rem; }
.hub-section-head[b-gkuquj0h0x] { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .75rem; }
.hub-section-head h2[b-gkuquj0h0x] { margin: 0; font-size: 1.125rem; color: var(--hub-text); }
.hub-section-head a[b-gkuquj0h0x] { color: var(--hub-accent); text-decoration: none; }
.hub-agent-grid[b-gkuquj0h0x] { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hub-agent-grid[b-gkuquj0h0x] { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .hub-agent-grid[b-gkuquj0h0x] { grid-template-columns: repeat(4, 1fr); } }
.hub-page-loading[b-gkuquj0h0x] { min-height: 60dvh; display: grid; place-items: center; }
/* /Pages/AgentHub/HubProcesses.razor.rz.scp.css */
/* Dashboard dell'owner di processo (#1385). Solo variabili --hub-*: il tema scuro arriva da hub.css. Mobile prima. */

.hub-page-loading[b-kbxi3zg81m] { min-height: 40dvh; display: grid; place-items: center; }
.hub-proc-subtitle[b-kbxi3zg81m] { margin: -.5rem 0 1rem; color: var(--hub-text-2); }
.hub-proc-empty[b-kbxi3zg81m] { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 3rem 1rem; text-align: center; color: var(--hub-muted); }
.hub-proc-empty .material-symbols-outlined[b-kbxi3zg81m] { font-size: 2.5rem; color: var(--hub-accent); }
.hub-proc-empty p[b-kbxi3zg81m] { margin: 0; max-width: 28rem; }

.hub-proc-filters[b-kbxi3zg81m] { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
.hub-proc-field[b-kbxi3zg81m] { display: flex; flex-direction: column; gap: .25rem; font-size: .8125rem; color: var(--hub-text-2); }
.hub-select[b-kbxi3zg81m] { width: 100%; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--hub-border-strong); border-radius: .75rem; background: var(--hub-surface); color: var(--hub-text); font: inherit; font-size: 1rem; }
.hub-select:focus-visible[b-kbxi3zg81m] { outline: 2px solid var(--hub-accent); outline-offset: 1px; }
/* Le stesse schede di HubTasks: lì sono nel CSS isolato della pagina, quindi qui vanno ripetute. */
.hub-tabs[b-kbxi3zg81m] { display: flex; background: var(--hub-track); border-radius: 1rem; padding: .25rem; margin-bottom: 1rem; }
.hub-tab[b-kbxi3zg81m] { flex: 1; border: 0; background: transparent; padding: .625rem .5rem; border-radius: .75rem; color: var(--hub-text-2); font: inherit; font-size: .875rem; cursor: pointer; white-space: nowrap; }
.hub-tab.active[b-kbxi3zg81m] { background: var(--hub-raised); color: var(--hub-accent); font-weight: 600; box-shadow: 0 1px 3px var(--hub-shadow); }
.hub-proc-period[b-kbxi3zg81m] { margin-bottom: 0; }

.hub-proc-tiles[b-kbxi3zg81m] { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0 0 1.5rem; }
.hub-proc-tile[b-kbxi3zg81m] { display: flex; flex-direction: column; gap: .375rem; padding: 1rem; background: var(--hub-surface); border: 1px solid var(--hub-border); border-radius: 1rem; color: var(--hub-text); text-align: left; font: inherit; min-width: 0; }
button.hub-proc-tile[b-kbxi3zg81m] { cursor: pointer; }
button.hub-proc-tile:focus-visible[b-kbxi3zg81m] { outline: 2px solid var(--hub-accent); outline-offset: 2px; }
.hub-proc-tile small[b-kbxi3zg81m] { display: flex; align-items: center; gap: .375rem; color: var(--hub-text-2); }
.hub-proc-tile small .material-symbols-outlined[b-kbxi3zg81m] { font-size: 1.125rem; }
.hub-proc-tile strong[b-kbxi3zg81m] { font-size: 1.75rem; line-height: 1.1; }
.hub-proc-tile .hub-proc-tile-text[b-kbxi3zg81m] { font-size: 1.25rem; }
.hub-proc-tile-note[b-kbxi3zg81m] { font-size: .75rem; color: var(--hub-muted); }
.hub-proc-tile--danger[b-kbxi3zg81m] { border-color: var(--hub-danger); }
.hub-proc-tile--danger strong[b-kbxi3zg81m], .hub-proc-tile--danger small[b-kbxi3zg81m] { color: var(--hub-danger); }

.hub-proc-section[b-kbxi3zg81m] { font-size: 1.125rem; margin: 1.5rem 0 .75rem; color: var(--hub-text); }
.hub-proc-counts[b-kbxi3zg81m] { display: flex; flex-wrap: wrap; gap: .25rem .875rem; font-size: .8125rem; color: var(--hub-text-2); }
.hub-proc-counts b[b-kbxi3zg81m] { color: var(--hub-text); }
.hub-proc-danger[b-kbxi3zg81m], .hub-proc-danger b[b-kbxi3zg81m] { color: var(--hub-danger); }

/* Filtri di stato: scorrono in orizzontale su un telefono stretto invece di andare a capo. */
.hub-proc-chips[b-kbxi3zg81m] { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: .75rem; scrollbar-width: none; }
.hub-proc-chips[b-kbxi3zg81m]::-webkit-scrollbar { display: none; }
.hub-proc-chip[b-kbxi3zg81m] { flex: none; display: inline-flex; align-items: center; gap: .375rem; min-height: 2.25rem; padding: .25rem .875rem; border: 1px solid var(--hub-border-strong); border-radius: 1rem; background: var(--hub-surface); color: var(--hub-text-2); font: inherit; font-size: .875rem; cursor: pointer; }
.hub-proc-chip span[b-kbxi3zg81m] { font-size: .75rem; padding: 0 .375rem; border-radius: 1rem; background: var(--hub-chip); }
.hub-proc-chip.active[b-kbxi3zg81m] { border-color: var(--hub-accent); background: var(--hub-accent-soft); color: var(--hub-text); font-weight: 600; }

.hub-proc-status[b-kbxi3zg81m] { flex: none; font-size: .75rem; font-weight: 600; padding: .125rem .5rem; border-radius: 1rem; background: var(--hub-chip); color: var(--hub-text-2); white-space: nowrap; }
.hub-proc-status--running[b-kbxi3zg81m], .hub-proc-status--suspended[b-kbxi3zg81m] { background: var(--hub-accent-soft); color: var(--hub-accent); }
.hub-proc-status--suspended[b-kbxi3zg81m] { background: var(--hub-warn-bg); color: var(--hub-warn); }
.hub-proc-status--completed[b-kbxi3zg81m] { background: #E3F4EA; color: #146C43; }
.hub-proc-status--faulted[b-kbxi3zg81m] { background: var(--hub-danger-bg); color: var(--hub-danger); }
:root:has(.hub-shell.hub-dark) .hub-proc-status--completed[b-kbxi3zg81m] { background: #1F4A33; color: #9BE3B8; }

/* Dettaglio */
.hub-proc-back[b-kbxi3zg81m] { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; padding: 0 .25rem; margin-bottom: .5rem; border: 0; background: none; color: var(--hub-accent); font: inherit; cursor: pointer; }
.hub-proc-detail-head[b-kbxi3zg81m] { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-bottom: 1rem; }
.hub-proc-detail-head small[b-kbxi3zg81m] { color: var(--hub-muted); }
.hub-proc-detail-head h2[b-kbxi3zg81m] { margin: 0; font-size: 1.25rem; color: var(--hub-text); overflow-wrap: anywhere; }

.hub-proc-facts[b-kbxi3zg81m] { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0 0 1rem; }
.hub-proc-facts div[b-kbxi3zg81m] { min-width: 0; }
.hub-proc-facts dt[b-kbxi3zg81m] { font-size: .75rem; color: var(--hub-muted); }
.hub-proc-facts dd[b-kbxi3zg81m] { margin: 0; color: var(--hub-text); overflow-wrap: anywhere; }

.hub-proc-alert[b-kbxi3zg81m] { display: flex; gap: .75rem; padding: .875rem 1rem; border-radius: .75rem; background: var(--hub-danger-bg); color: var(--hub-danger); margin-bottom: 1rem; }
.hub-proc-alert p[b-kbxi3zg81m] { margin: .25rem 0 0; overflow-wrap: anywhere; }

.hub-proc-waiting[b-kbxi3zg81m] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.hub-proc-waiting li[b-kbxi3zg81m] { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem; border: 1px solid var(--hub-border); border-radius: .75rem; background: var(--hub-surface); }
.hub-proc-waiting .material-symbols-outlined[b-kbxi3zg81m] { color: var(--hub-accent); }
.hub-proc-waiting div[b-kbxi3zg81m] { display: flex; flex-direction: column; min-width: 0; }
.hub-proc-waiting small[b-kbxi3zg81m] { color: var(--hub-muted); }
.hub-proc-note[b-kbxi3zg81m] { color: var(--hub-muted); font-size: .875rem; margin: .5rem 0 0; }

@media (min-width: 768px) {
    .hub-proc-filters[b-kbxi3zg81m] { flex-direction: row; align-items: flex-end; }
    .hub-proc-field[b-kbxi3zg81m] { flex: 1; max-width: 22rem; }
    .hub-proc-period[b-kbxi3zg81m] { flex: 1; }
    .hub-proc-tiles[b-kbxi3zg81m] { grid-template-columns: repeat(3, 1fr); }
    .hub-proc-facts[b-kbxi3zg81m] { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
    .hub-proc-tiles[b-kbxi3zg81m] { grid-template-columns: repeat(6, 1fr); }
}

/* Senza dettaglio aperto la dashboard prende tutta la larghezza; col dettaglio la lista torna la colonna stretta di hub.css. */
@media (min-width: 1024px) {
    .hub-proc-split:not(.has-detail)[b-kbxi3zg81m] { grid-template-columns: 1fr; }
    .hub-proc-split.has-detail .hub-proc-tiles[b-kbxi3zg81m] { grid-template-columns: repeat(2, 1fr); }
    .hub-proc-split.has-detail .hub-proc-filters[b-kbxi3zg81m] { flex-direction: column; align-items: stretch; }
    .hub-proc-split.has-detail .hub-proc-field[b-kbxi3zg81m] { max-width: none; }
}
/* /Pages/AgentHub/HubTasks.razor.rz.scp.css */
.hub-tabs[b-znj8jfp5lw] { display: flex; background: var(--hub-track); border-radius: 1rem; padding: .25rem; margin-bottom: 1rem; }
.hub-tab[b-znj8jfp5lw] { flex: 1; border: 0; background: transparent; padding: .625rem .5rem; border-radius: .75rem; color: var(--hub-text-2); font-size: .875rem; cursor: pointer; }
.hub-tab.active[b-znj8jfp5lw] { background: var(--hub-raised); color: var(--hub-accent); font-weight: 600; box-shadow: 0 1px 3px var(--hub-shadow); }
/* /Pages/BlueprintAssistant.razor.rz.scp.css */
/* Chat dei blueprint: conversazione a sinistra, pannello dei comandi a destra. Su schermi stretti
   il pannello scende sotto la chat. A scorrere sono le due colonne, non il dialog: la banda del
   contesto (ambiente e tenant) deve restare in vista mentre si approva. */

.bp-chat-layout[b-raqdv2na1k] {
    display: flex;
    gap: 1rem;
    height: 100%;
    min-height: 0;
}

.bp-chat-conversation[b-raqdv2na1k] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    position: relative;
}

.bp-chat-panel[b-raqdv2na1k] {
    flex: 0 0 400px;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    background-color: var(--rz-base-100);
}

@media (max-width: 900px) {
    .bp-chat-layout[b-raqdv2na1k] {
        flex-direction: column;
    }

    .bp-chat-panel[b-raqdv2na1k] {
        flex: 0 0 auto;
        max-height: 45%;
    }
}

.bp-panel-context[b-raqdv2na1k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background-color: var(--rz-info-lighter);
}

.bp-panel-context-danger[b-raqdv2na1k] {
    background-color: var(--rz-danger-lighter);
    color: var(--rz-danger-darker);
}

/* La modalità di esecuzione (#1392): Manuale | Automatica, sotto ambiente e tenant. */
.bp-panel-mode[b-raqdv2na1k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* In Automatica il selettore resta a vista, e la riga sotto dice che cosa parte da solo. */
.bp-panel-mode-automatic[b-raqdv2na1k] {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--rz-primary);
    background-color: var(--rz-primary-lighter);
}

.bp-panel-mode .bp-muted[b-raqdv2na1k] {
    flex-basis: 100%;
}

/* Un blocco dell'agente in attesa, durante un lavoro o davanti alle chiavi dei webhook. */
[b-raqdv2na1k] .bp-panel-pending,
.bp-panel-pending[b-raqdv2na1k] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--rz-warning);
    background-color: var(--rz-warning-lighter);
}

[b-raqdv2na1k] .bp-panel-title,
.bp-panel-title[b-raqdv2na1k] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

[b-raqdv2na1k] .bp-panel-subtitle,
.bp-panel-subtitle[b-raqdv2na1k] {
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

[b-raqdv2na1k] .bp-panel-meta,
[b-raqdv2na1k] .bp-muted,
.bp-panel-meta[b-raqdv2na1k],
.bp-muted[b-raqdv2na1k] {
    font-size: 0.8rem;
    color: var(--rz-text-secondary-color);
}

.bp-panel-cli[b-raqdv2na1k],
.bp-panel-log[b-raqdv2na1k] {
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-word;
    background-color: var(--rz-base-900);
    color: var(--rz-base-50);
}

.bp-panel-log[b-raqdv2na1k] {
    max-height: 240px;
    overflow-y: auto;
}

[b-raqdv2na1k] .bp-panel-operations,
[b-raqdv2na1k] .bp-panel-list,
[b-raqdv2na1k] .bp-panel-cases,
[b-raqdv2na1k] .bp-panel-issues,
.bp-panel-operations[b-raqdv2na1k],
.bp-panel-list[b-raqdv2na1k],
.bp-panel-issues[b-raqdv2na1k] {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.82rem;
}

[b-raqdv2na1k] .bp-panel-operations,
.bp-panel-operations[b-raqdv2na1k] {
    max-height: 280px;
    overflow-y: auto;
}

[b-raqdv2na1k] .bp-issue-error,
.bp-issue-error[b-raqdv2na1k] {
    color: var(--rz-danger);
}

[b-raqdv2na1k] .bp-issue-warning,
.bp-issue-warning[b-raqdv2na1k] {
    color: var(--rz-warning-darker);
    font-size: 0.82rem;
}

/* Il dettaglio tecnico di un rilievo (#1421): codice, percorso e messaggio, in secondo piano. */
[b-raqdv2na1k] .bp-issue-detail,
.bp-issue-detail[b-raqdv2na1k] {
    color: var(--rz-text-tertiary-color);
    font-size: 0.75rem;
}

/* I riferimenti tecnici dell'esito di un lavoro (#1422): run, report, conteggi esatti, in secondo piano. */
.bp-job-reference[b-raqdv2na1k] {
    color: var(--rz-text-tertiary-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Connessioni che nasceranno senza credenziali (#1234): si inseriscono dalla UI dopo l'apply. */
.bp-panel-credentials[b-raqdv2na1k] {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.bp-panel-credentials code[b-raqdv2na1k] {
    font-family: var(--rz-font-family-monospace, monospace);
    font-size: 0.78rem;
    word-break: break-all;
}

/* Collaudo (#1210): i pannelli stanno in componenti figli, e si raggiungono con ::deep. */
[b-raqdv2na1k] .bp-panel-cases {
    max-height: 340px;
    overflow-y: auto;
}

[b-raqdv2na1k] .bp-panel-cases > li {
    margin-bottom: 0.5rem;
}

[b-raqdv2na1k] .bp-case-question {
    font-style: italic;
    font-size: 0.82rem;
}

[b-raqdv2na1k] .bp-test-cases {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    max-height: 260px;
    overflow-y: auto;
}

[b-raqdv2na1k] .bp-test-case {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
}

[b-raqdv2na1k] .bp-test-running { color: var(--rz-info); }

[b-raqdv2na1k] .bp-test-passed { color: var(--rz-success); }

[b-raqdv2na1k] .bp-test-failed { color: var(--rz-danger); }

[b-raqdv2na1k] .bp-test-error { color: var(--rz-warning-darker); }

[b-raqdv2na1k] .bp-test-skipped,
[b-raqdv2na1k] .bp-test-waiting { color: var(--rz-text-secondary-color); }

[b-raqdv2na1k] .bp-test-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.82rem;
    background-color: var(--rz-base-50);
    border: 1px solid var(--rz-base-200);
}

/* Pagina intera: a scorrere sono le due colonne, non la pagina (prima lo garantiva il dialog). */
.bp-page[b-raqdv2na1k] {
    height: calc(100vh - 11rem);
    min-height: 480px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}
/* /Pages/HubBrandingSettings.razor.rz.scp.css */
/* The preview uses the same variables as hub.css, set inline on its container:
   it is the same palette HubLayout puts at the top of the Hub page. */
.hub-branding-layout[b-ds90o1j7j1] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
/* Two columns only from 1280px: the sidebar already takes ~280px, so below that the preview column
   would squeeze the form. Below, the preview goes under the form. */
@media (min-width: 1280px) { .hub-branding-layout[b-ds90o1j7j1] { grid-template-columns: minmax(0, 1fr) 24rem; } }

/* Phones (sidebar collapsed): the left gutter of list pages is too wide, so use narrower ones. */
@media (max-width: 750px) { .hub-branding-page[b-ds90o1j7j1] { margin-left: 1rem !important; margin-right: 1rem !important; } }

.hub-branding-color[b-ds90o1j7j1], .hub-branding-image[b-ds90o1j7j1] { display: flex; flex-direction: column; gap: .375rem; }
.hub-branding-field[b-ds90o1j7j1] { max-width: 32rem; }
.hub-branding-help[b-ds90o1j7j1] { color: var(--rz-text-secondary-color); }

/* Help text wraps instead of widening the page. */
.hub-branding-help[b-ds90o1j7j1] { overflow-wrap: anywhere; }

.hub-branding-thumb[b-ds90o1j7j1] { height: 3.5rem; min-width: 6rem; padding: .5rem .75rem; border-radius: 10px; border: 1px solid var(--rz-base-300, #E5E7EB); display: grid; place-items: center; }
.hub-branding-thumb img[b-ds90o1j7j1] { max-height: 2.5rem; max-width: 10rem; display: block; }
.hub-branding-thumb.is-icon[b-ds90o1j7j1] { min-width: 3.5rem; width: 3.5rem; padding: 0; overflow: hidden; }
.hub-branding-thumb.is-icon img[b-ds90o1j7j1] { width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* Same look as .primary-button-upload (app.css). */
.hub-branding-file[b-ds90o1j7j1] { position: relative; display: inline-flex; align-items: center; cursor: pointer; padding: 10px 20px; border-radius: 8px; border: 1px solid #CCCCCC; background-color: var(--rz-primary-lighter); color: var(--rz-on-primary-lighter, var(--rz-primary)); font-size: 14px; font-weight: 500; text-transform: none; transition: all .2s ease; }
.hub-branding-file:hover[b-ds90o1j7j1] { border: 1px dashed #CCCCCC; padding: 10px 20px; }
.hub-branding-file:focus-within[b-ds90o1j7j1] { outline: 2px solid var(--rz-primary); outline-offset: 2px; }
.hub-branding-file[b-ds90o1j7j1]  input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Sticky while the form scrolls, only in the two-column layout. */
.hub-branding-preview[b-ds90o1j7j1] { display: block; }
@media (min-width: 1280px) { .hub-branding-preview[b-ds90o1j7j1] { position: sticky; top: 96px; } }
/* Same border and background as the other section cards. */
.hub-branding-preview[b-ds90o1j7j1]  .rz-card { background-color: var(--rz-card-background-color, #FFFFFF); border: 1px solid #E5E7EB; }
:is(.rz-material-dark, body:has(.rz-layout.rz-material-dark)) .hub-branding-preview[b-ds90o1j7j1]  .rz-card { border-color: #4B4957; }
.hub-preview[b-ds90o1j7j1] { border: 1px solid var(--hub-border); border-radius: 10px; overflow: hidden; background: var(--hub-bg); color: var(--hub-text); }
.hub-preview-header[b-ds90o1j7j1] { display: flex; align-items: center; gap: .5rem; padding: .625rem .875rem; background: var(--hub-header); color: var(--hub-header-text); }
.hub-preview-header img[b-ds90o1j7j1] { height: 1.75rem; width: auto; display: block; }
.hub-preview-header span[b-ds90o1j7j1] { font-weight: 600; padding-left: .5rem; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.hub-preview-body[b-ds90o1j7j1] { display: flex; flex-direction: column; gap: .5rem; padding: .75rem; }
.hub-preview-nav[b-ds90o1j7j1] { display: inline-flex; align-self: flex-start; align-items: center; gap: .375rem; padding: .25rem .75rem; border-radius: 1rem; background: var(--hub-accent-soft); color: var(--hub-text); font-weight: 600; font-size: .8125rem; }
.hub-preview-card[b-ds90o1j7j1] { display: flex; align-items: center; gap: .625rem; padding: .625rem; border-radius: 10px; background: var(--hub-surface); border: 1px solid var(--hub-border); }
.hub-preview-icon[b-ds90o1j7j1] { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .625rem; background: var(--hub-accent-soft); color: var(--hub-accent); }
.hub-preview-link[b-ds90o1j7j1] { color: var(--hub-accent); font-weight: 600; }
.hub-preview-app[b-ds90o1j7j1] { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: .5rem; font-size: .75rem; }
.hub-preview-app img[b-ds90o1j7j1] { width: 3.5rem; height: 3.5rem; border-radius: 22%; box-shadow: 0 2px 6px rgba(0,0,0,.2); object-fit: cover; }
