@font-face {
    font-family: "Vazirmatn";
    src:
        local("Vazirmatn"),
        local("Vazir"),
        url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

/* Persian text falls back to installed system fonts when Vazirmatn is unavailable. */

/* Preserve the Unfold sidebar position across normal Django page navigations.
   The class is present only when a saved position exists and is removed by
   app.js immediately after the sidebar scroll offset has been restored. */
html.irangs-sidebar-restoring #nav-sidebar-apps {
    visibility: hidden;
}

.irangs-account-menu-mode {
    border-block: 1px solid #e2e8f0;
    margin: 4px 8px;
    padding: 9px 4px;
}

.irangs-account-menu-mode__title {
    align-items: center;
    color: #64748b;
    display: grid;
    font-size: .7rem;
    gap: 6px;
    grid-template-columns: 18px 1fr auto;
    margin: 0 3px 7px;
}

.irangs-account-menu-mode__title .material-symbols-outlined { font-size: 17px; }
.irangs-account-menu-mode__title strong { color: #4338ca; font-weight: 800; }
.irangs-account-menu-mode__options { background: #eef2ff; border-radius: 10px; display: grid; gap: 3px; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 3px; }
.irangs-account-menu-mode__options button { background: transparent; border: 0; border-radius: 8px; color: #64748b; cursor: pointer; font-size: .68rem; font-weight: 750; min-height: 30px; padding: 4px 5px; }
.irangs-account-menu-mode__options button:hover { color: #4338ca; }
.irangs-account-menu-mode__options button.is-active { background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.12); color: #4338ca; }
.irangs-account-health { align-items: center; border-radius: 9px; display: flex; font-size: .67rem; gap: 6px; line-height: 1.5; margin-top: 7px; padding: 6px 8px; text-decoration: none; }
.irangs-account-health .material-symbols-outlined { font-size: 16px; }
.irangs-account-health.is-ok { background: #ecfdf5; color: #166534; }
.irangs-account-health.is-warning { background: #fff7ed; color: #9a3412; }
.irangs-account-health.is-unknown { background: #f1f5f9; color: #64748b; }

html.dark .irangs-account-menu-mode { border-color: #334155; }
html.dark .irangs-account-menu-mode__title { color: #94a3b8; }
html.dark .irangs-account-menu-mode__title strong { color: #a5b4fc; }
html.dark .irangs-account-menu-mode__options { background: #172033; }
html.dark .irangs-account-menu-mode__options button { color: #94a3b8; }
html.dark .irangs-account-menu-mode__options button.is-active { background: #312e81; box-shadow: none; color: #fff; }

html[lang="fa"] body.font-sans {
    font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0;
}

html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] select,
html[lang="fa"] textarea,
html[lang="fa"] trix-editor {
    font-family: inherit;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

input[data-jalali-picker="true"] {
    direction: ltr !important;
    text-align: left !important;
    font-variant-numeric: tabular-nums;
}

.jango-dashboard {
    margin-bottom: 28px;
}

.jango-dashboard__heading {
    align-items: stretch;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.jango-dashboard__heading h1 {
    color: #111827;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 750;
    margin: 0 0 6px;
}

.jango-dashboard__heading p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.jango-date-card {
    align-items: center;
    background: linear-gradient(135deg, #312e81, #4f46e5);
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 180px;
    padding: 14px 20px;
}

.jango-date-card span,
.jango-date-card small { opacity: .78; }
.jango-date-card strong { direction: ltr; font-size: 1.15rem; margin: 3px 0; }

.jango-security-warning {
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 12px;
    color: #9a3412;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.jango-security-warning strong { color: #7c2d12; }
.jango-security-warning p { line-height: 1.65; margin: 3px 0 0; }

.jango-metrics {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.jango-metric {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #475569;
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 18px;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.jango-metric:hover {
    border-color: #818cf8;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.jango-metric .material-symbols-outlined { color: #4f46e5; }
.jango-metric strong { color: #111827; font-size: 1.65rem; font-variant-numeric: tabular-nums; }
.jango-metric span:not(.material-symbols-outlined) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.jango-admin-columns {
    display: flex;
    gap: 32px;
}

.jango-admin-columns__main { flex: 1 1 auto; min-width: 0; }

.jalali-calendar {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, .22);
    color: #1e293b;
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
    padding: 12px;
    position: fixed;
    z-index: 10000;
}

.jalali-calendar[hidden] { display: none !important; }

.jp-header {
    align-items: center;
    direction: ltr;
    display: grid;
    gap: 8px;
    grid-template-columns: 38px 1fr 38px;
}

.jp-title {
    direction: rtl;
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) 82px;
}

.jp-title select,
.jp-title input {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    font: inherit;
    height: 38px;
    min-width: 0;
    padding: 4px 7px;
}

.jp-title input { direction: ltr; text-align: center !important; }
.jp-nav { font-size: 25px !important; }

.jp-nav,
.jp-day,
.jp-footer button {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.jp-nav:hover,
.jp-day:hover,
.jp-footer button:hover { background: #eef2ff; color: #4338ca; }

.jp-weekdays,
.jp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.jp-weekdays {
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    margin-top: 10px;
    padding-bottom: 7px;
}

.jp-days { gap: 3px; padding-top: 7px; }
.jp-day { aspect-ratio: 1; min-height: 34px; }
.jp-day.is-today { box-shadow: inset 0 0 0 1px #6366f1; color: #4338ca; }
.jp-day.is-selected { background: #4f46e5; color: #fff; }
.jp-day.is-selected:hover { background: #4338ca; color: #fff; }

.jp-footer {
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
}

.jp-footer button { color: #4f46e5; padding: 7px 10px; }

trix-editor {
    direction: rtl;
    text-align: right;
}

#jango-install-menu-button[hidden] { display: none !important; }

#jango-install-menu-button .material-symbols-outlined,
#logout-form .material-symbols-outlined {
    margin-inline-start: auto;
    margin-left: 0;
}

html.dark .jango-dashboard__heading h1,
html.dark .jango-metric strong { color: #f8fafc; }
html.dark .jango-dashboard__heading p,
html.dark .jango-metric { color: #94a3b8; }
html.dark .jango-metric { background: #111827; border-color: #334155; }
html.dark .jango-security-warning { background: #431407; border-color: #9a3412; color: #fed7aa; }
html.dark .jango-security-warning strong { color: #ffedd5; }
html.dark .jalali-calendar { background: #111827; border-color: #334155; color: #e2e8f0; }
html.dark .jp-title select,
html.dark .jp-title input { background: #1e293b; border-color: #475569; color: #f8fafc; }
html.dark .jp-weekdays,
html.dark .jp-footer { border-color: #334155; }
html.dark .jp-nav:hover,
html.dark .jp-day:hover,
html.dark .jp-footer button:hover { background: #312e81; color: #e0e7ff; }

@media (max-width: 1024px) {
    .jango-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jango-admin-columns { display: block; }
}

@media (max-width: 640px) {
    .jango-dashboard__heading { flex-direction: column; }
    .jango-date-card { width: 100%; }
    .jango-metrics { grid-template-columns: 1fr; }
    .jango-metric { grid-template-columns: auto 1fr auto; align-items: center; }
    .jango-metric strong { font-size: 1.35rem; }
    .jalali-calendar {
        border-radius: 18px 18px 0 0;
        bottom: 0 !important;
        left: 0 !important;
        max-height: 90vh;
        overflow-y: auto;
        padding: 16px;
        top: auto !important;
        width: 100% !important;
    }
    .jp-day { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .jango-metric { transition: none; }
}

.jango-wizard-done {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15,23,42,.08);
    margin-inline: auto;
    max-width: 720px;
    padding: clamp(24px, 5vw, 44px);
    text-align: center;
}
.jango-wizard-done__icon { align-items: center; background: #dcfce7; border-radius: 18px; color: #15803d; display: flex; height: 64px; justify-content: center; margin: 0 auto 16px; width: 64px; }
.jango-wizard-done__icon .material-symbols-outlined { font-size: 34px; }
.jango-wizard-done h1 { color: #0f172a; font-size: 1.6rem; font-weight: 900; margin: 3px 0 9px; }
.jango-wizard-done > p { color: #64748b; line-height: 1.9; margin: 0 auto 22px; max-width: 580px; }
.jango-wizard-credential { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 17px; text-align: right; }
.jango-wizard-credential > div:first-child { align-items: center; color: #1e293b; display: flex; gap: 8px; margin-bottom: 12px; }
.jango-wizard-credential > div:first-child .material-symbols-outlined { color: #4f46e5; }
.jango-wizard-credential dl { display: grid; gap: 8px; margin: 0; }
.jango-wizard-credential dl > div { align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 11px; display: grid; gap: 12px; grid-template-columns: 90px 1fr; padding: 10px 12px; }
.jango-wizard-credential dt { color: #64748b; font-size: .72rem; }
.jango-wizard-credential dd { color: #0f172a; font-weight: 800; margin: 0; text-align: left; }
.jango-wizard-credential code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1rem; user-select: all; }
.jango-wizard-credential > p { align-items: flex-start; color: #9a3412; display: flex; font-size: .7rem; gap: 7px; line-height: 1.7; margin: 13px 0 0; }
.jango-wizard-credential > p .material-symbols-outlined { font-size: 18px; }
.jango-wizard-done__actions { display: flex; gap: 9px; justify-content: center; margin-top: 22px; }
html.dark .jango-wizard-done { background: #111827; border-color: #334155; }
html.dark .jango-wizard-done h1 { color: #f8fafc; }
html.dark .jango-wizard-credential { background: #172033; border-color: #334155; }
html.dark .jango-wizard-credential > div:first-child, html.dark .jango-wizard-credential dd { color: #f8fafc; }
html.dark .jango-wizard-credential dl > div { background: #111827; border-color: #334155; }
@media (max-width: 520px) {
    .jango-wizard-done__actions { align-items: stretch; flex-direction: column; }
    .jango-wizard-credential dl > div { grid-template-columns: 1fr; }
    .jango-wizard-credential dd { overflow-wrap: anywhere; }
}

/* IranGS V0.2 workspace and module-center components */
.irangs-page-head,
.irangs-module-card__head,
.irangs-workspace-card__head,
.irangs-head-actions,
.irangs-module-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}
.irangs-page-head { justify-content: space-between; margin-bottom: 22px; }
.irangs-page-head h1, .irangs-module-card h2, .irangs-workspace-card h2 { color: #111827; font-weight: 750; margin: 0; }
.irangs-page-head p { color: #64748b; line-height: 1.8; margin: 5px 0 0; }
.irangs-head-actions { margin-top: 14px; }
.irangs-button {
    background: #4f46e5; border: 1px solid #4f46e5; border-radius: 9px; color: #fff !important;
    cursor: pointer; display: inline-flex; font: inherit; justify-content: center; padding: 8px 13px; text-decoration: none;
}
.irangs-button--secondary { background: transparent; border-color: #cbd5e1; color: #475569 !important; }
.irangs-button--danger { background: #b91c1c; border-color: #b91c1c; }
.irangs-module-grid, .irangs-workspace-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.irangs-module-card, .irangs-workspace-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px;
}
.irangs-workspace-card.is-active { border-color: #6366f1; box-shadow: inset 0 0 0 1px #6366f1; }
.irangs-module-card__head > div, .irangs-workspace-card__head > div { flex: 1; min-width: 0; }
.irangs-module-card__head code, .irangs-workspace-card__head code { color: #64748b; font-size: .78rem; }
.irangs-status { background: #f1f5f9; border-radius: 99px; color: #64748b; font-size: .78rem; padding: 4px 9px; }
.irangs-status.is-on { background: #dcfce7; color: #166534; }
.irangs-module-card > p { color: #64748b; line-height: 1.7; min-height: 48px; }
.irangs-module-meta { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 14px 0; }
.irangs-module-meta div { background: #f8fafc; border-radius: 9px; padding: 9px; }
.irangs-module-meta dt { color: #94a3b8; font-size: .72rem; }
.irangs-module-meta dd { color: #334155; margin: 3px 0 0; overflow-wrap: anywhere; }
.irangs-module-meta .is-ok { color: #15803d; }
.irangs-module-meta .is-error { color: #b91c1c; }
.irangs-module-detail { color: #64748b; display: block; line-height: 1.65; margin-bottom: 12px; }
.irangs-empty { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; padding: 24px; }
html.dark .irangs-page-head h1, html.dark .irangs-module-card h2, html.dark .irangs-workspace-card h2 { color: #f8fafc; }
html.dark .irangs-module-card, html.dark .irangs-workspace-card { background: #111827; border-color: #334155; }
html.dark .irangs-module-meta div, html.dark .irangs-empty { background: #1e293b; border-color: #475569; }
html.dark .irangs-module-meta dd { color: #e2e8f0; }
html.dark .irangs-button--secondary { border-color: #475569; color: #e2e8f0 !important; }
@media (max-width: 640px) { .irangs-page-head { align-items: stretch; flex-direction: column; } .irangs-module-meta { grid-template-columns: 1fr; } .irangs-module-actions { align-items: stretch; flex-direction: column; } .irangs-module-actions form, .irangs-module-actions button { width: 100%; } }


/* IranGS V0.4 work inbox and profile operations */
.irangs-work-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0 0 22px;
}
.irangs-work-summary span {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    color: #475569;
    padding: 14px 16px;
}
.irangs-work-summary strong { color: #111827; font-size: 1.35rem; margin-inline-end: 6px; }
.irangs-work-section { margin: 0 0 28px; }
.irangs-work-section h2 { color: #111827; font-size: 1.05rem; font-weight: 750; margin: 0 0 12px; }
.irangs-work-list { display: grid; gap: 10px; }
.irangs-work-row {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 16px;
}
.irangs-work-row.is-overdue { border-inline-start: 4px solid #dc2626; }
.irangs-work-row.is-reminder { border-inline-start: 4px solid #d97706; }
.irangs-work-row > div:first-child { flex: 1; min-width: 0; }
.irangs-work-row h3 { color: #111827; font-size: .98rem; font-weight: 700; margin: 0; }
.irangs-work-row h3 a { color: inherit; text-decoration: none; }
.irangs-work-row p { color: #64748b; line-height: 1.7; margin: 5px 0; }
.irangs-work-row small { color: #94a3b8; }
.irangs-work-actions { align-items: center; display: flex; gap: 8px; }
.irangs-profile-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 14px;
}
.irangs-profile-summary__metric { color: #64748b; }
.irangs-profile-summary__metric strong { color: #111827; display: block; font-size: 1.2rem; margin-bottom: 3px; }
.irangs-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html.dark .irangs-work-summary span,
html.dark .irangs-work-row { background: #111827; border-color: #334155; }
html.dark .irangs-work-summary strong,
html.dark .irangs-work-section h2,
html.dark .irangs-work-row h3,
html.dark .irangs-profile-summary__metric strong { color: #f8fafc; }
html.dark .irangs-profile-summary { background: #1e293b; border-color: #334155; }
@media (max-width: 640px) {
    .irangs-work-row { align-items: stretch; flex-direction: column; }
    .irangs-work-actions { align-items: stretch; flex-direction: column; }
    .irangs-work-actions form, .irangs-work-actions button { width: 100%; }
}

/* IranGS V0.4 profile, activity, reminder and referral workspace */
.irangs-work-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}
.irangs-work-summary span,
.irangs-badge {
    background: #eef2ff;
    border-radius: 999px;
    color: #4338ca;
    display: inline-flex;
    gap: 5px;
    padding: 6px 10px;
}
.irangs-work-section,
.irangs-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 18px;
    padding: 18px;
}
.irangs-work-section h2,
.irangs-panel h2,
.irangs-panel h3 { color: #111827; margin-top: 0; }
.irangs-work-list { display: grid; gap: 10px; }
.irangs-work-row {
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px;
}
.irangs-work-row > div:first-child { min-width: 0; }
.irangs-work-row h3 { margin: 0 0 4px; }
.irangs-work-row p { color: #64748b; line-height: 1.7; margin: 0 0 5px; }
.irangs-work-row small { color: #64748b; }
.irangs-work-row.is-overdue { border-inline-start: 4px solid #dc2626; }
.irangs-work-row.is-reminder { border-inline-start: 4px solid #4f46e5; }
.irangs-work-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }

.irangs-profile-head {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 20px;
}
.irangs-profile-identity { align-items: center; display: flex; gap: 18px; min-width: 0; }
.irangs-profile-identity h1 { color: #111827; font-size: 1.8rem; margin: 3px 0; }
.irangs-profile-identity p { color: #64748b; line-height: 1.8; margin: 4px 0; max-width: 850px; }
.irangs-profile-kicker { color: #6366f1; font-size: .82rem; font-weight: 700; }
.irangs-profile-avatar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    flex: 0 0 112px;
    height: 112px;
    object-fit: cover;
    width: 112px;
}
.irangs-profile-avatar--placeholder { align-items: center; display: flex; justify-content: center; }
.irangs-profile-avatar--placeholder .material-symbols-outlined { color: #64748b; font-size: 48px; }
.irangs-profile-actions { display: flex; flex: 0 0 260px; flex-direction: column; gap: 8px; }
.irangs-profile-metrics { margin-bottom: 22px; }
.irangs-profile-metrics .jango-metric strong { font-size: 1rem; line-height: 1.5; }
.irangs-profile-layout { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
.irangs-profile-main, .irangs-profile-side { min-width: 0; }
.irangs-panel__head { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 12px; }
.irangs-panel__head h2 { margin: 0; }
.irangs-panel__head > span { color: #64748b; font-size: .82rem; }
.irangs-table-wrap { overflow-x: auto; }
.irangs-table { border-collapse: collapse; min-width: 680px; width: 100%; }
.irangs-table th, .irangs-table td { border-bottom: 1px solid #e2e8f0; padding: 10px; text-align: right; vertical-align: top; }
.irangs-table th { color: #64748b; font-size: .8rem; font-weight: 650; }
.irangs-table tbody tr:last-child td { border-bottom: 0; }
.irangs-badge--danger { background: #fee2e2; color: #b91c1c; }
.irangs-timeline { display: grid; gap: 14px; }
.irangs-timeline-item { display: grid; gap: 12px; grid-template-columns: 36px minmax(0, 1fr); }
.irangs-timeline-item h3 { margin: 0 0 4px; }
.irangs-timeline-item p { color: #475569; line-height: 1.7; margin: 0 0 4px; }
.irangs-timeline-item small { color: #64748b; }
.irangs-timeline-marker { align-items: center; background: #eef2ff; border-radius: 10px; color: #4f46e5; display: flex; height: 36px; justify-content: center; }
.irangs-definition-list { display: grid; gap: 8px; grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr); }
.irangs-definition-list dt { color: #64748b; }
.irangs-definition-list dd { color: #111827; margin: 0; }
.irangs-clean-list { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; }
.irangs-clean-list li { border-bottom: 1px solid #e2e8f0; display: grid; gap: 2px; padding-bottom: 10px; }
.irangs-clean-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.irangs-clean-list span, .irangs-clean-list small { color: #64748b; line-height: 1.6; }
.irangs-clean-list em { color: #15803d; font-size: .75rem; font-style: normal; }
.irangs-tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.irangs-tag-list span { border: 1px solid var(--tag-color, #cbd5e1); border-radius: 999px; padding: 4px 9px; }
.irangs-warning { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; color: #9a3412; padding: 11px; }
.irangs-warning p { margin-bottom: 0; }

html.dark .irangs-work-section,
html.dark .irangs-panel,
html.dark .irangs-work-row { background: #111827; border-color: #334155; }
html.dark .irangs-work-section h2,
html.dark .irangs-panel h2,
html.dark .irangs-panel h3,
html.dark .irangs-profile-identity h1,
html.dark .irangs-definition-list dd { color: #f8fafc; }
html.dark .irangs-profile-avatar { background: #1e293b; border-color: #475569; }
html.dark .irangs-table th,
html.dark .irangs-table td,
html.dark .irangs-clean-list li { border-color: #334155; }
html.dark .irangs-warning { background: #431407; border-color: #9a3412; color: #fed7aa; }

@media (max-width: 1100px) {
    .irangs-profile-layout { grid-template-columns: 1fr; }
    .irangs-profile-side { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .irangs-profile-side .irangs-panel { margin: 0; }
}
@media (max-width: 720px) {
    .irangs-profile-head, .irangs-profile-identity, .irangs-work-row { align-items: stretch; flex-direction: column; }
    .irangs-profile-actions { flex-basis: auto; width: 100%; }
    .irangs-profile-avatar { height: 88px; width: 88px; }
    .irangs-profile-side { grid-template-columns: 1fr; }
    .irangs-work-actions, .irangs-work-actions form, .irangs-work-actions button { width: 100%; }
}

/* IranGS V0.9.1 presentation design system -------------------------------- */
:root {
    --irangs-accent: #4f46e5;
    --irangs-accent-strong: #4338ca;
    --irangs-accent-soft: #eef2ff;
    --irangs-surface: #ffffff;
    --irangs-surface-soft: #f8fafc;
    --irangs-border: #e2e8f0;
    --irangs-text: #0f172a;
    --irangs-muted: #64748b;
    --irangs-radius-sm: 12px;
    --irangs-radius: 18px;
    --irangs-radius-lg: 24px;
    --irangs-shadow: 0 12px 34px rgba(15, 23, 42, .07);
    --irangs-shadow-hover: 0 18px 44px rgba(15, 23, 42, .11);
}

/* Keep custom admin pages visually aligned with Unfold without coupling the
   domain/application layers to presentation. */
.irangs-page-head {
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 22px 24px;
    border: 1px solid #dbe4f0;
    border-radius: var(--irangs-radius-lg);
    background: linear-gradient(125deg, #ffffff 18%, #f8faff 58%, #eef2ff);
    box-shadow: var(--irangs-shadow);
}
.irangs-page-head::after {
    content: "";
    position: absolute;
    inset-inline-start: -75px;
    top: -110px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(99,102,241,.15), rgba(99,102,241,0) 70%);
}
.irangs-page-head > * { position: relative; z-index: 1; }
.irangs-page-head h1 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.025em; }
.irangs-page-head p { max-width: 880px; }

.irangs-button {
    min-height: 40px;
    align-items: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-color: transparent;
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(79,70,229,.17);
    font-weight: 650;
    padding: 9px 14px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.irangs-button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(79,70,229,.25); filter: saturate(1.08); }
.irangs-button--secondary { background: #fff; border-color: #dbe3ef; box-shadow: none; color: #334155 !important; }
.irangs-button--secondary:hover { border-color: #a5b4fc; background: #f8faff; }
.irangs-button--danger { background: linear-gradient(135deg, #b91c1c, #dc2626); box-shadow: 0 7px 18px rgba(185,28,28,.15); }

.irangs-module-grid, .irangs-workspace-grid { gap: 18px; }
.irangs-module-card, .irangs-workspace-card, .irangs-panel, .irangs-work-section {
    border-color: var(--irangs-border);
    border-radius: var(--irangs-radius);
    box-shadow: var(--irangs-shadow);
}
.irangs-module-card, .irangs-workspace-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.irangs-module-card::before, .irangs-workspace-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2e8f0;
}
.irangs-module-card:hover, .irangs-workspace-card:hover { transform: translateY(-2px); border-color: #c7d2fe; box-shadow: var(--irangs-shadow-hover); }
.irangs-workspace-card.is-active { border-color: #a5b4fc; box-shadow: 0 16px 40px rgba(79,70,229,.12); }
.irangs-workspace-card.is-active::before { background: linear-gradient(#6366f1, #8b5cf6); }
.irangs-module-card__head > .material-symbols-outlined,
.irangs-workspace-card__head > .material-symbols-outlined {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--irangs-accent-soft);
    color: var(--irangs-accent);
}
.irangs-module-meta { gap: 9px; }
.irangs-module-meta div { border: 1px solid #eef2f7; border-radius: 11px; background: #fafcff; padding: 10px 11px; }
.irangs-status { border: 1px solid #e2e8f0; background: #f8fafc; font-weight: 700; }
.irangs-status.is-on { border-color: #bbf7d0; background: #ecfdf5; color: #15803d; }

.irangs-work-summary { gap: 12px; }
.irangs-work-summary span {
    min-width: 150px;
    border: 1px solid var(--irangs-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15,23,42,.045);
    color: var(--irangs-muted);
    padding: 13px 15px;
}
.irangs-work-summary span strong { display: inline-block; color: var(--irangs-text); font-size: 1.35rem; }
.irangs-work-section { padding: 20px; }
.irangs-work-section > h2 { padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.irangs-work-row {
    border-color: #e6edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fcfdff);
    padding: 15px 16px;
    transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.irangs-work-row:hover { border-color: #c7d2fe; box-shadow: 0 9px 24px rgba(15,23,42,.06); transform: translateY(-1px); }
.irangs-empty {
    position: relative;
    padding: 28px 22px;
    border-style: dashed;
    background: linear-gradient(135deg, #fbfdff, #f8fafc);
    text-align: center;
}
.irangs-empty::before {
    content: "—";
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: #eef2ff;
    color: #6366f1;
    font-weight: 800;
}

/* Dashboard hierarchy */
.jango-dashboard {
    position: relative;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: linear-gradient(125deg, #fff 15%, #fbfdff 65%, #f5f3ff);
    box-shadow: var(--irangs-shadow);
}
.jango-dashboard__heading { margin-bottom: 22px; }
.jango-date-card { border: 1px solid rgba(255,255,255,.28); border-radius: 18px; box-shadow: 0 14px 34px rgba(49,46,129,.2); }
.jango-metrics { gap: 13px; }
.jango-metric {
    min-height: 118px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border-color: #e5eaf1;
    box-shadow: 0 6px 18px rgba(15,23,42,.035);
}
.jango-metric::after {
    content: "";
    position: absolute;
    inset-inline-end: -28px;
    bottom: -36px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(99,102,241,.055);
}
.jango-metric .material-symbols-outlined { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #eef2ff; }

/* Tables and profile surfaces used by custom domain pages. */
.irangs-table { border-collapse: separate; border-spacing: 0; }
.irangs-table th { background: #f8fafc; border-top: 1px solid #eef2f7; color: #64748b; }
.irangs-table th:first-child { border-start-start-radius: 11px; }
.irangs-table th:last-child { border-start-end-radius: 11px; }
.irangs-table tbody tr { transition: background .12s ease; }
.irangs-table tbody tr:hover { background: #fafbff; }
.irangs-panel { padding: 20px; }
.irangs-panel__head { padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.irangs-profile-head { padding: 22px; border: 1px solid #e2e8f0; border-radius: 22px; background: linear-gradient(125deg,#fff,#f8faff); box-shadow: var(--irangs-shadow); }
.irangs-profile-avatar { box-shadow: 0 9px 24px rgba(15,23,42,.08); }

/* Custom page utility classes can use Unfold's Tailwind, but these generic
   inputs/buttons keep plain Django forms from looking unfinished. */
.irangs-panel input:not([type="checkbox"]):not([type="radio"]),
.irangs-panel textarea,
.irangs-panel select,
.irangs-work-section input:not([type="checkbox"]):not([type="radio"]),
.irangs-work-section textarea,
.irangs-work-section select {
    border-radius: 11px;
}

html.dark {
    --irangs-surface: #111827;
    --irangs-surface-soft: #172033;
    --irangs-border: #334155;
    --irangs-text: #f8fafc;
    --irangs-muted: #94a3b8;
}
html.dark .irangs-page-head,
html.dark .jango-dashboard,
html.dark .irangs-profile-head { background: linear-gradient(125deg, #111827, #151b2d 65%, #1e1b4b); border-color: #334155; }
html.dark .irangs-module-meta div { background: #172033; border-color: #28364a; }
html.dark .irangs-button--secondary { background: #111827; border-color: #475569; }
html.dark .irangs-work-summary span,
html.dark .irangs-work-row { background: #111827; border-color: #334155; }
html.dark .irangs-work-section > h2,
html.dark .irangs-panel__head { border-color: #263347; }
html.dark .irangs-empty { background: #111827; border-color: #475569; }
html.dark .irangs-table th { background: #172033; border-color: #2c3a50; }
html.dark .irangs-table tbody tr:hover { background: #151e30; }

@media (max-width: 720px) {
    .jango-dashboard { padding: 18px; border-radius: 18px; }
    .irangs-page-head { padding: 18px; border-radius: 18px; }
    .irangs-work-summary span { flex: 1 1 140px; }
}

/* IranGS V0.9.2 — UI consistency layer. Keep business templates on these shared components. */
:root {
    --irangs-bg-soft: #f8fafc;
    --irangs-surface: #ffffff;
    --irangs-surface-muted: #f8fafc;
    --irangs-border: #e2e8f0;
    --irangs-border-strong: #cbd5e1;
    --irangs-text: #0f172a;
    --irangs-muted: #64748b;
    --irangs-primary: #4f46e5;
    --irangs-primary-strong: #4338ca;
    --irangs-primary-soft: #eef2ff;
    --irangs-success: #15803d;
    --irangs-success-soft: #f0fdf4;
    --irangs-warning: #b45309;
    --irangs-warning-soft: #fffbeb;
    --irangs-danger: #b91c1c;
    --irangs-danger-soft: #fef2f2;
    --irangs-info: #0369a1;
    --irangs-info-soft: #f0f9ff;
    --irangs-radius-sm: 10px;
    --irangs-radius: 14px;
    --irangs-radius-lg: 20px;
    --irangs-shadow: 0 10px 30px rgba(15, 23, 42, .055);
    --irangs-shadow-hover: 0 16px 36px rgba(15, 23, 42, .095);
}

.irangs-shell { display: grid; gap: 20px; max-width: 1440px; margin-inline: auto; }
.irangs-shell--narrow { max-width: 960px; }

.irangs-page-head {
    align-items: center;
    background: linear-gradient(125deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
    border: 1px solid var(--irangs-border);
    border-radius: var(--irangs-radius-lg);
    box-shadow: var(--irangs-shadow);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px 22px;
}
.irangs-page-head__identity { display: flex; gap: 13px; align-items: center; min-width: 0; }
.irangs-page-head__icon {
    align-items: center; background: linear-gradient(145deg, #312e81, #6366f1); border-radius: 14px;
    box-shadow: 0 9px 22px rgba(79,70,229,.2); color: #fff; display: flex; flex: 0 0 44px;
    height: 44px; justify-content: center; width: 44px;
}
.irangs-page-head__icon .material-symbols-outlined { font-size: 23px; }
.irangs-page-head h1 { color: var(--irangs-text); font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.irangs-page-head p { color: var(--irangs-muted); line-height: 1.85; margin: 5px 0 0; }

.irangs-card, .irangs-panel, .irangs-work-section {
    background: var(--irangs-surface); border: 1px solid var(--irangs-border); border-radius: var(--irangs-radius-lg);
    box-shadow: var(--irangs-shadow); overflow: hidden;
}
.irangs-panel, .irangs-work-section { padding: 20px; }
.irangs-card__head {
    align-items: center; border-bottom: 1px solid #f1f5f9; display: flex; gap: 12px;
    justify-content: space-between; padding: 16px 18px;
}
.irangs-card__head h2, .irangs-card__head h3 { color: var(--irangs-text); font-size: 1rem; font-weight: 800; margin: 0; }
.irangs-card__body { padding: 18px; }
.irangs-card__footer { border-top: 1px solid #f1f5f9; padding: 14px 18px; }

.irangs-kpi-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.irangs-kpi-card {
    background: var(--irangs-surface); border: 1px solid var(--irangs-border); border-radius: 16px;
    box-shadow: var(--irangs-shadow); display: grid; gap: 8px; min-width: 0; padding: 17px 18px; position: relative;
}
.irangs-kpi-card::before { background: var(--irangs-primary); border-radius: 99px; content:""; height: 4px; inset-inline: 18px auto; position: absolute; top: 0; width: 38px; }
.irangs-kpi-card--danger::before { background: #dc2626; }
.irangs-kpi-card--warning::before { background: #d97706; }
.irangs-kpi-card--success::before { background: #16a34a; }
.irangs-kpi-card__label { color: var(--irangs-muted); font-size: .8rem; font-weight: 650; }
.irangs-kpi-card__value { color: var(--irangs-text); font-size: 1.7rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.irangs-kpi-card__hint { color: #94a3b8; font-size: .72rem; }

.irangs-button {
    align-items: center; background: linear-gradient(135deg, var(--irangs-primary), #6366f1); border: 1px solid transparent;
    border-radius: 11px; box-shadow: 0 6px 15px rgba(79,70,229,.16); color: #fff !important; cursor: pointer;
    display: inline-flex; font: inherit; font-size: .86rem; font-weight: 700; gap: 6px; justify-content: center;
    min-height: 40px; padding: 8px 14px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.irangs-button:hover { box-shadow: 0 10px 22px rgba(79,70,229,.24); transform: translateY(-1px); }
.irangs-button--secondary { background: #fff; border-color: var(--irangs-border-strong); box-shadow: none; color: #334155 !important; }
.irangs-button--ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--irangs-primary) !important; }
.irangs-button--danger { background: #fff; border-color: #fecaca; box-shadow: none; color: var(--irangs-danger) !important; }
.irangs-button--success { background: #15803d; box-shadow: none; }

.irangs-alert { border: 1px solid var(--irangs-border); border-radius: 14px; line-height: 1.8; padding: 13px 15px; }
.irangs-alert strong { display: block; margin-bottom: 2px; }
.irangs-alert--warning { background: var(--irangs-warning-soft); border-color: #fde68a; color: #92400e; }
.irangs-alert--danger { background: var(--irangs-danger-soft); border-color: #fecaca; color: #991b1b; }
.irangs-alert--success { background: var(--irangs-success-soft); border-color: #bbf7d0; color: #166534; }
.irangs-alert--info { background: var(--irangs-info-soft); border-color: #bae6fd; color: #075985; }

.irangs-form { display: grid; gap: 18px; }
.irangs-form-grid { display: grid; gap: 17px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.irangs-field { min-width: 0; }
.irangs-field--wide { grid-column: 1 / -1; }
.irangs-form label, .irangs-panel .form-row label { color: #334155; display: block; font-size: .8rem; font-weight: 750; margin-bottom: 7px; }
.irangs-form p { margin: 0; }
.irangs-form p + p { margin-top: 14px; }
.irangs-form input:not([type="checkbox"]):not([type="radio"]),
.irangs-form textarea, .irangs-form select,
.irangs-panel .form-row input:not([type="checkbox"]):not([type="radio"]),
.irangs-panel .form-row textarea, .irangs-panel .form-row select {
    background: #fff; border: 1px solid var(--irangs-border-strong); border-radius: 11px; color: var(--irangs-text);
    font: inherit; min-height: 43px; outline: none; padding: 9px 11px; width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.irangs-form textarea, .irangs-panel .form-row textarea { min-height: 120px; resize: vertical; }
.irangs-form input:focus, .irangs-form textarea:focus, .irangs-form select:focus,
.irangs-panel .form-row input:focus, .irangs-panel .form-row textarea:focus, .irangs-panel .form-row select:focus {
    border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99,102,241,.11);
}
.irangs-form .helptext, .irangs-field__help { color: var(--irangs-muted); display: block; font-size: .72rem; line-height: 1.7; margin-top: 5px; }
.irangs-form .errorlist, .irangs-field__error { background: var(--irangs-danger-soft); border-radius: 9px; color: var(--irangs-danger); list-style: none; margin: 5px 0 7px; padding: 7px 9px; }
.irangs-form-actions { align-items: center; border-top: 1px solid #f1f5f9; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; padding-top: 16px; }

.irangs-table-wrap { border: 1px solid var(--irangs-border); border-radius: 14px; overflow-x: auto; }
.irangs-table { border-collapse: separate; border-spacing: 0; min-width: 680px; width: 100%; }
.irangs-table th { background: var(--irangs-surface-muted); color: #475569; font-size: .76rem; font-weight: 800; padding: 11px 13px; text-align: right; white-space: nowrap; }
.irangs-table td { border-top: 1px solid #f1f5f9; color: #334155; padding: 12px 13px; text-align: right; vertical-align: middle; }
.irangs-table tbody tr { transition: background .12s ease; }
.irangs-table tbody tr:hover { background: #fafbff; }
.irangs-table a { color: var(--irangs-primary); font-weight: 650; text-decoration: none; }

.irangs-empty {
    align-items: center; background: var(--irangs-surface-muted); border: 1px dashed var(--irangs-border-strong);
    border-radius: 14px; color: var(--irangs-muted); display: flex; gap: 10px; justify-content: center;
    min-height: 82px; padding: 20px; text-align: center;
}
.irangs-empty .material-symbols-outlined { color: #94a3b8; }

.irangs-list { display: grid; }
.irangs-list-row { align-items: center; border-bottom: 1px solid #f1f5f9; color: inherit; display: flex; gap: 14px; justify-content: space-between; padding: 13px 0; text-decoration: none; }
.irangs-list-row:last-child { border-bottom: 0; }
.irangs-list-row:hover .irangs-list-row__title { color: var(--irangs-primary); }
.irangs-list-row__main { min-width: 0; }
.irangs-list-row__title { color: var(--irangs-text); font-weight: 750; }
.irangs-list-row__meta { color: var(--irangs-muted); font-size: .75rem; line-height: 1.7; margin-top: 3px; }

.irangs-badge, .irangs-status { align-items: center; background: #f1f5f9; border-radius: 999px; color: #475569; display: inline-flex; font-size: .72rem; font-weight: 750; gap: 4px; padding: 4px 9px; }
.irangs-badge--primary, .irangs-status.is-on { background: var(--irangs-primary-soft); color: var(--irangs-primary-strong); }
.irangs-badge--success { background: #dcfce7; color: #166534; }
.irangs-badge--warning { background: #fef3c7; color: #92400e; }
.irangs-badge--danger { background: #fee2e2; color: #991b1b; }

.irangs-search { align-items: center; display: flex; gap: 10px; }
.irangs-search input { background: #fff; border: 1px solid var(--irangs-border-strong); border-radius: 12px; flex: 1; font: inherit; min-height: 44px; padding: 9px 12px; }
.irangs-search input:focus { border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99,102,241,.11); outline: 0; }

.irangs-two-column { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.irangs-stack { display: grid; gap: 16px; }
.irangs-meta-line { color: var(--irangs-muted); font-size: .78rem; line-height: 1.75; }
.irangs-prose { color: #334155; line-height: 2; white-space: pre-line; }

/* Normalize older custom pages that still emit Django form rows. */
.irangs-panel > form:not(.irangs-form), .irangs-card form:not(.irangs-search) { max-width: 100%; }
.irangs-panel form p { margin: 0 0 14px; }
.irangs-panel hr { border: 0; border-top: 1px solid #f1f5f9; margin: 18px 0; }
.submit-row { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

html.dark {
    --irangs-surface: #111827; --irangs-surface-muted: #172033; --irangs-border: #334155; --irangs-border-strong: #475569;
    --irangs-text: #f8fafc; --irangs-muted: #94a3b8;
}
html.dark .irangs-page-head { background: linear-gradient(125deg, #111827, #172033); border-color: #334155; }
html.dark .irangs-page-head h1, html.dark .irangs-card__head h2, html.dark .irangs-card__head h3,
html.dark .irangs-kpi-card__value, html.dark .irangs-list-row__title { color: #f8fafc; }
html.dark .irangs-card, html.dark .irangs-panel, html.dark .irangs-work-section, html.dark .irangs-kpi-card { background: #111827; border-color: #334155; }
html.dark .irangs-card__head, html.dark .irangs-card__footer, html.dark .irangs-form-actions { border-color: #243044; }
html.dark .irangs-form input:not([type="checkbox"]):not([type="radio"]), html.dark .irangs-form textarea, html.dark .irangs-form select,
html.dark .irangs-panel .form-row input:not([type="checkbox"]):not([type="radio"]), html.dark .irangs-panel .form-row textarea, html.dark .irangs-panel .form-row select,
html.dark .irangs-search input { background: #172033; border-color: #475569; color: #f8fafc; }
html.dark .irangs-table-wrap { border-color: #334155; }
html.dark .irangs-table th { background: #172033; color: #cbd5e1; }
html.dark .irangs-table td { border-color: #243044; color: #e2e8f0; }
html.dark .irangs-table tbody tr:hover { background: #172033; }
html.dark .irangs-empty { background: #172033; border-color: #475569; }
html.dark .irangs-button--secondary { background: #172033; border-color: #475569; color: #e2e8f0 !important; }
html.dark .irangs-prose { color: #dbeafe; }
html.dark .irangs-list-row { border-color: #243044; }

@media (max-width: 900px) {
    .irangs-two-column { grid-template-columns: 1fr; }
    .irangs-form-grid { grid-template-columns: 1fr; }
    .irangs-field--wide { grid-column: auto; }
}
@media (max-width: 640px) {
    .irangs-page-head { align-items: stretch; flex-direction: column; padding: 17px; }
    .irangs-page-head__identity { align-items: flex-start; }
    .irangs-head-actions, .irangs-module-actions, .irangs-form-actions { align-items: stretch; flex-direction: column; }
    .irangs-head-actions .irangs-button, .irangs-module-actions .irangs-button, .irangs-form-actions .irangs-button { width: 100%; }
    .irangs-kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .irangs-search { align-items: stretch; flex-direction: column; }
    .irangs-search .irangs-button { width: 100%; }
    .irangs-list-row { align-items: flex-start; }
}
@media (max-width: 430px) { .irangs-kpi-grid { grid-template-columns: 1fr; } }

/* V0.9.2 legacy component normalization */
.irangs-module-grid, .irangs-workspace-grid { gap: 18px; }
.irangs-module-card, .irangs-workspace-card {
    border-radius: var(--irangs-radius-lg); box-shadow: var(--irangs-shadow); padding: 20px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.irangs-module-card:hover, .irangs-workspace-card:hover { border-color: #c7d2fe; box-shadow: var(--irangs-shadow-hover); transform: translateY(-1px); }
.irangs-workspace-card.is-active { background: linear-gradient(145deg, #fff, #f8f7ff); border-color: #818cf8; box-shadow: 0 12px 34px rgba(79,70,229,.10); }
.irangs-module-card__head, .irangs-workspace-card__head { margin-bottom: 12px; }
.irangs-module-card__head > .material-symbols-outlined, .irangs-workspace-card__head > .material-symbols-outlined {
    background: var(--irangs-primary-soft); border-radius: 11px; color: var(--irangs-primary); padding: 8px;
}
.irangs-module-meta { gap: 9px; }
.irangs-module-meta div { background: var(--irangs-surface-muted); border: 1px solid #f1f5f9; border-radius: 11px; padding: 10px 11px; }
.irangs-work-summary { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.irangs-work-summary span { background: var(--irangs-surface); border: 1px solid var(--irangs-border); border-radius: 14px; box-shadow: var(--irangs-shadow); color: var(--irangs-muted); display: block; padding: 14px 16px; }
.irangs-work-summary strong { color: var(--irangs-text); display: inline-block; font-size: 1.35rem; margin-inline-end: 5px; }
.irangs-work-row { background: var(--irangs-surface); border-radius: 14px; box-shadow: 0 4px 14px rgba(15,23,42,.035); padding: 15px 16px; }
.irangs-work-row:hover { border-color: #c7d2fe; }
.irangs-work-section { margin-bottom: 18px; }
.irangs-work-section h2 { border-bottom: 1px solid #f1f5f9; margin: -2px -2px 14px; padding: 0 0 12px; }
html.dark .irangs-workspace-card.is-active { background: linear-gradient(145deg, #111827, #181b35); border-color: #6366f1; }
html.dark .irangs-module-meta div { border-color: #243044; }
html.dark .irangs-work-section h2 { border-color: #243044; }

/* V0.9.13 — compact account controls, install guidance and onboarding flows. */
.jango-pwa-dialog {
    background: transparent;
    border: 0;
    color: #0f172a;
    max-width: min(92vw, 520px);
    padding: 0;
    width: 100%;
}
.jango-pwa-dialog::backdrop { background: rgba(15, 23, 42, .66); backdrop-filter: blur(3px); }
.jango-pwa-dialog__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .35);
    line-height: 1.8;
    padding: 25px;
}
.jango-pwa-dialog__icon {
    align-items: center;
    background: linear-gradient(145deg, #4f46e5, #7c3aed);
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .25);
    color: #fff;
    display: flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 16px;
    width: 48px;
}
.jango-pwa-dialog h2 { font-size: 1.15rem; font-weight: 850; margin: 0 0 5px; }
.jango-pwa-dialog p { color: #64748b; margin: 0; }
.jango-pwa-dialog ol { background: #f8fafc; border-radius: 14px; margin: 18px 0; padding: 14px 34px 14px 14px; }
.jango-pwa-dialog li + li { margin-top: 7px; }
.jango-pwa-dialog__actions { display: flex; gap: 9px; justify-content: flex-end; }
html.dark .jango-pwa-dialog { color: #f8fafc; }
html.dark .jango-pwa-dialog__card { background: #111827; border-color: #334155; }
html.dark .jango-pwa-dialog p { color: #94a3b8; }
html.dark .jango-pwa-dialog ol { background: #172033; }

.jango-wizard-shell { display: grid; gap: 16px; margin-inline: auto; max-width: 1100px; }
.jango-wizard-hero {
    align-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 26%),
        linear-gradient(125deg, #312e81 0%, #4f46e5 56%, #6d28d9 100%);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(49, 46, 129, .18);
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    overflow: hidden;
    padding: 24px 26px;
    position: relative;
}
.jango-wizard-hero::after {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    content: "";
    height: 190px;
    inset-inline-end: 22%;
    position: absolute;
    top: -118px;
    width: 190px;
}
.jango-wizard-hero__identity { align-items: center; display: flex; gap: 15px; min-width: 0; position: relative; z-index: 1; }
.jango-wizard-hero__icon {
    align-items: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    display: flex;
    flex: 0 0 54px;
    font-size: 29px;
    height: 54px;
    justify-content: center;
}
.jango-wizard-eyebrow { display: block; font-size: .72rem; font-weight: 750; margin-bottom: 4px; opacity: .78; }
.jango-wizard-hero h1 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 850; letter-spacing: -.025em; margin: 0; }
.jango-wizard-hero p { line-height: 1.8; margin: 5px 0 0; opacity: .82; }
.jango-wizard-tenant-pill {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(15,23,42,.18);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    display: grid;
    flex: 0 0 auto;
    gap: 1px 9px;
    grid-template-columns: auto 1fr;
    min-width: 195px;
    padding: 11px 13px;
    position: relative;
    z-index: 1;
}
.jango-wizard-tenant-pill .material-symbols-outlined { font-size: 22px; grid-row: 1 / 3; }
.jango-wizard-tenant-pill span:not(.material-symbols-outlined) { font-size: .65rem; opacity: .7; }
.jango-wizard-tenant-pill strong { font-size: .8rem; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.jango-wizard-safety {
    align-items: flex-start;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 15px;
    color: #166534;
    display: flex;
    gap: 11px;
    padding: 12px 15px;
}
.jango-wizard-safety > .material-symbols-outlined { font-size: 22px; margin-top: 1px; }
.jango-wizard-safety strong { font-size: .82rem; }
.jango-wizard-safety p { line-height: 1.7; margin: 2px 0 0; opacity: .88; }

.jango-wizard-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 16px 44px rgba(15,23,42,.07);
    display: block;
    overflow: hidden;
}
.jango-wizard-steps {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 10px;
}
.jango-wizard-steps button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 13px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    text-align: right;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.jango-wizard-steps button:not(:disabled):hover { background: #eef2ff; color: #4338ca; }
.jango-wizard-steps button:disabled { cursor: not-allowed; opacity: .55; }
.jango-wizard-step__number {
    align-items: center;
    background: #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    display: flex;
    flex: 0 0 31px;
    font-size: .75rem;
    font-weight: 850;
    height: 31px;
    justify-content: center;
}
.jango-wizard-steps button > span:last-child { min-width: 0; }
.jango-wizard-steps strong { display: block; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jango-wizard-steps small { display: block; font-size: .62rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jango-wizard-steps button.is-active { background: #eef2ff; color: #4338ca; }
.jango-wizard-steps button.is-active .jango-wizard-step__number { background: linear-gradient(145deg, #4f46e5, #7c3aed); box-shadow: 0 6px 14px rgba(79,70,229,.23); color: #fff; }
.jango-wizard-steps button.is-complete .jango-wizard-step__number { background: #dcfce7; color: #15803d; }

.jango-wizard-content { min-height: 390px; }
.jango-wizard-pane { animation: jango-wizard-enter .2s ease; padding: 28px 32px 30px; }
.jango-wizard-pane[hidden], .jango-wizard-actions [hidden], #login-fields[hidden] { display: none !important; }
@keyframes jango-wizard-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.jango-wizard-pane__head { align-items: flex-start; display: flex; gap: 12px; margin-bottom: 24px; }
.jango-wizard-pane__head > .material-symbols-outlined {
    align-items: center;
    background: #eef2ff;
    border-radius: 12px;
    color: #4f46e5;
    display: flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
}
.jango-wizard-pane__head > div > span { color: #6366f1; display: block; font-size: .68rem; font-weight: 800; margin-bottom: 2px; }
.jango-wizard-pane__head h2 { color: #0f172a; font-size: 1.08rem; font-weight: 850; margin: 0; }
.jango-wizard-pane__head p { color: #64748b; line-height: 1.75; margin: 4px 0 0; }
.jango-wizard-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jango-wizard-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.jango-wizard-field { min-width: 0; }
.jango-wizard-field--wide { grid-column: 1 / -1; }
.jango-wizard-field > label { color: #334155; display: block; font-size: .78rem; font-weight: 800; margin-bottom: 7px; }
.jango-required { color: #dc2626; margin-inline-start: 2px; }
.jango-wizard-field input:not([type="checkbox"]):not([type="radio"]),
.jango-wizard-field select,
.jango-wizard-field textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #0f172a;
    font: inherit;
    min-height: 46px;
    outline: 0;
    padding: 10px 12px;
    width: 100%;
}
.jango-wizard-field input:not([type="checkbox"]):not([type="radio"]):focus,
.jango-wizard-field select:focus,
.jango-wizard-field textarea:focus { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.12); }
.jango-wizard-field.has-error input, .jango-wizard-field.has-error select { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.08); }
.jango-wizard-field__help { color: #64748b; font-size: .68rem; line-height: 1.7; margin-top: 6px; }
.jango-wizard-field__errors .errorlist { background: #fef2f2; border: 1px solid #fecaca; border-radius: 9px; color: #b91c1c; font-size: .7rem; list-style: none; margin: 7px 0 0; padding: 7px 9px; }
.jango-identity-live-status { color: #64748b; display: block; font-size: .7rem; line-height: 1.7; margin-top: 6px; }
.jango-identity-live-status[data-status="available"] { color: #047857; }
.jango-identity-live-status[data-status="already_registered"],
.jango-identity-live-status[data-status="invalid"] { color: #b91c1c; font-weight: 750; }
.jango-wizard-field #id_roles { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jango-wizard-field #id_roles > div,
.jango-wizard-field #id_roles > li { list-style: none; margin: 0; }
.jango-wizard-field #id_roles label {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    gap: 9px;
    min-height: 44px;
    padding: 9px 11px;
    transition: border-color .15s ease, background .15s ease;
}
.jango-wizard-field #id_roles label:hover { background: #eef2ff; border-color: #a5b4fc; }
.jango-wizard-field input[type="checkbox"] { accent-color: #4f46e5; height: 17px; width: 17px; }
.jango-wizard-context,
.jango-wizard-permission-note,
.jango-wizard-secret-note {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #475569;
    display: flex;
    gap: 10px;
    line-height: 1.75;
    margin-top: 20px;
    max-width: 720px;
    padding: 12px 14px;
}
.jango-wizard-context .material-symbols-outlined,
.jango-wizard-permission-note .material-symbols-outlined { color: #6366f1; font-size: 21px; }
.jango-wizard-context strong, .jango-wizard-secret-note strong { color: #1e293b; font-size: .76rem; }
.jango-wizard-context p, .jango-wizard-permission-note p, .jango-wizard-secret-note p { margin: 1px 0 0; }
.jango-wizard-permission-note { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; margin: 0 0 18px; max-width: none; }
.jango-wizard-inline-error { align-items: center; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; color: #9a3412; display: flex; gap: 8px; margin-top: 16px; padding: 10px 12px; }
.jango-login-toggle {
    align-items: center;
    background: linear-gradient(120deg, #eef2ff, #f5f3ff);
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 13px 15px;
}
.jango-login-toggle .jango-wizard-field { align-items: center; display: flex; flex: 1; gap: 10px; }
.jango-login-toggle .jango-wizard-field > label { margin: 0; }
.jango-login-toggle .jango-wizard-field input { order: -1; }
.jango-login-toggle > .material-symbols-outlined { color: #4f46e5; }
.jango-wizard-final-grid { align-items: stretch; display: grid; gap: 14px; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr); margin-top: 22px; }
.jango-wizard-summary { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 15px; padding: 15px; }
.jango-wizard-summary h3 { align-items: center; color: #1e293b; display: flex; font-size: .82rem; gap: 7px; margin: 0 0 11px; }
.jango-wizard-summary h3 .material-symbols-outlined { color: #6366f1; font-size: 20px; }
.jango-wizard-summary dl { display: grid; gap: 0; margin: 0; }
.jango-wizard-summary dl > div { border-top: 1px dashed #e2e8f0; display: grid; gap: 12px; grid-template-columns: 105px 1fr; padding: 7px 0; }
.jango-wizard-summary dl > div:first-child { border-top: 0; }
.jango-wizard-summary dt { color: #64748b; font-size: .69rem; }
.jango-wizard-summary dd { color: #1e293b; font-size: .72rem; font-weight: 750; margin: 0; }
.jango-wizard-secret-note { background: #fffbeb; border-color: #fde68a; color: #92400e; margin: 0; max-width: none; }
.jango-wizard-secret-note > .material-symbols-outlined { color: #d97706; font-size: 22px; }
.jango-wizard-secret-note strong { color: #78350f; }
.jango-wizard-actions {
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    min-height: 72px;
    padding: 13px 20px;
}
.jango-wizard-progress-label { color: #64748b; font-size: .7rem; margin-inline: auto; }

html.dark .jango-wizard-safety { background: rgba(21,128,61,.12); border-color: rgba(34,197,94,.28); color: #86efac; }
html.dark .jango-wizard-card { background: #111827; border-color: #334155; }
html.dark .jango-wizard-steps, html.dark .jango-wizard-actions { background: #172033; border-color: #334155; }
html.dark .jango-wizard-steps button { color: #94a3b8; }
html.dark .jango-wizard-steps button.is-active { background: #252551; color: #c7d2fe; }
html.dark .jango-wizard-step__number { background: #334155; color: #cbd5e1; }
html.dark .jango-wizard-pane__head h2, html.dark .jango-wizard-field > label { color: #f8fafc; }
html.dark .jango-wizard-pane__head p, html.dark .jango-wizard-field__help { color: #94a3b8; }
html.dark .jango-wizard-pane__head > .material-symbols-outlined { background: #252551; color: #a5b4fc; }
html.dark .jango-wizard-field input:not([type="checkbox"]):not([type="radio"]),
html.dark .jango-wizard-field select, html.dark .jango-wizard-field textarea { background: #172033; border-color: #475569; color: #f8fafc; }
html.dark .jango-wizard-field #id_roles label { background: #172033; border-color: #334155; }
html.dark .jango-wizard-field #id_roles label:hover { background: #252551; border-color: #6366f1; }
html.dark .jango-wizard-context, html.dark .jango-wizard-summary { background: #172033; border-color: #334155; }
html.dark .jango-wizard-context strong, html.dark .jango-wizard-summary h3, html.dark .jango-wizard-summary dd { color: #f8fafc; }
html.dark .jango-wizard-summary dl > div { border-color: #334155; }
html.dark .jango-wizard-permission-note { background: rgba(37,99,235,.12); border-color: rgba(96,165,250,.3); color: #bfdbfe; }
html.dark .jango-login-toggle { background: #1e1b4b; border-color: #4338ca; }
html.dark .jango-wizard-secret-note { background: rgba(180,83,9,.12); border-color: rgba(245,158,11,.3); color: #fcd34d; }
html.dark .jango-wizard-secret-note strong { color: #fde68a; }

/* Admin sign-in — a focused, responsive surface rather than the default bare form. */
body.jango-admin-login { background: #eef2ff; }
.jango-login-page { background: #fff; display: grid; grid-template-columns: minmax(420px, .9fr) minmax(500px, 1.1fr); min-height: 100vh; }
.jango-login-brand {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.15), transparent 24%),
        radial-gradient(circle at 82% 75%, rgba(167,139,250,.22), transparent 28%),
        linear-gradient(145deg, #1e1b4b, #312e81 46%, #4f46e5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(32px, 5vw, 70px);
    position: relative;
}
.jango-login-brand::after { border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -210px; top: 18%; width: 420px; }
.jango-login-brand__logo { align-items: center; display: flex; font-size: 1.12rem; font-weight: 850; gap: 11px; position: relative; z-index: 1; }
.jango-login-brand__logo .material-symbols-outlined { align-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; display: flex; height: 44px; justify-content: center; width: 44px; }
.jango-login-brand__main { max-width: 520px; position: relative; z-index: 1; }
.jango-login-brand__main > span { color: #c7d2fe; display: block; font-size: .75rem; font-weight: 750; margin-bottom: 10px; }
.jango-login-brand h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.3; margin: 0; }
.jango-login-brand__main > p { color: #dbeafe; font-size: .92rem; line-height: 2; margin: 18px 0 26px; max-width: 470px; }
.jango-login-features { display: grid; gap: 10px; }
.jango-login-feature { align-items: center; backdrop-filter: blur(7px); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #eef2ff; display: flex; gap: 10px; padding: 11px 13px; }
.jango-login-feature .material-symbols-outlined { color: #c4b5fd; font-size: 21px; }
.jango-login-brand__footer { color: #c7d2fe; font-size: .68rem; position: relative; z-index: 1; }
.jango-login-form-area { align-items: center; background: linear-gradient(145deg, #fff, #f8fafc); display: flex; justify-content: center; min-height: 100vh; padding: 72px clamp(24px, 6vw, 90px) 40px; position: relative; }
.jango-login-form-wrap { max-width: 430px; width: 100%; }
.jango-login-mobile-brand { align-items: center; color: #4338ca; display: none; font-size: 1rem; font-weight: 850; gap: 9px; margin-bottom: 24px; }
.jango-login-mobile-brand .material-symbols-outlined { align-items: center; background: #eef2ff; border-radius: 12px; display: flex; height: 40px; justify-content: center; width: 40px; }
.jango-login-form-head { margin-bottom: 25px; }
.jango-login-form-head > span { color: #6366f1; display: block; font-size: .72rem; font-weight: 800; margin-bottom: 6px; }
.jango-login-form-head h2 { color: #0f172a; font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 900; letter-spacing: -.03em; margin: 0; }
.jango-login-form-head p { color: #64748b; line-height: 1.8; margin: 8px 0 0; }
.jango-login-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 20px 50px rgba(15,23,42,.08); padding: 24px; }
.jango-login-error { align-items: flex-start; background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; color: #991b1b; display: flex; gap: 9px; line-height: 1.7; margin-bottom: 18px; padding: 11px 12px; }
.jango-login-error .material-symbols-outlined { font-size: 20px; }
.jango-login-field { margin-bottom: 17px; }
.jango-login-field label { color: #334155; display: block; font-size: .77rem; font-weight: 800; margin-bottom: 7px; }
.jango-login-field input { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 12px; color: #0f172a; font: inherit; min-height: 48px; outline: 0; padding: 10px 12px; text-align: right; width: 100%; }
.jango-login-field input:focus { background: #fff; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.12); }
.jango-login-field .errorlist { color: #b91c1c; font-size: .68rem; list-style: none; margin: 5px 0 0; padding: 0; }
.jango-login-submit { align-items: center; background: linear-gradient(135deg, #4f46e5, #7c3aed); border: 0; border-radius: 12px; box-shadow: 0 9px 20px rgba(79,70,229,.23); color: #fff; cursor: pointer; display: flex; font: inherit; font-weight: 800; gap: 8px; justify-content: center; min-height: 48px; padding: 10px 16px; transition: box-shadow .15s ease, transform .15s ease; width: 100%; }
.jango-login-submit:hover { box-shadow: 0 13px 27px rgba(79,70,229,.3); transform: translateY(-1px); }
.jango-login-trust { align-items: flex-start; color: #64748b; display: flex; font-size: .68rem; gap: 7px; line-height: 1.7; margin-top: 17px; }
.jango-login-trust .material-symbols-outlined { color: #15803d; font-size: 18px; }
.jango-login-version { color: #94a3b8; font-size: .65rem; margin-top: 18px; text-align: center; }
html.dark body.jango-admin-login { background: #0b1120; }
html.dark .jango-login-form-area { background: linear-gradient(145deg, #0b1120, #111827); }
html.dark .jango-login-card { background: #111827; border-color: #334155; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
html.dark .jango-login-form-head h2, html.dark .jango-login-field label { color: #f8fafc; }
html.dark .jango-login-form-head p, html.dark .jango-login-trust { color: #94a3b8; }
html.dark .jango-login-field input { background: #172033; border-color: #475569; color: #f8fafc; }

@media (max-width: 920px) {
    .jango-wizard-steps button { justify-content: center; }
    .jango-wizard-steps button > span:last-child { display: none; }
    .jango-login-page { display: block; }
    .jango-login-brand { display: none; }
    .jango-login-form-area { min-height: 100vh; }
    .jango-login-mobile-brand { display: flex; }
}
@media (max-width: 720px) {
    .jango-wizard-hero { align-items: stretch; flex-direction: column; padding: 20px; }
    .jango-wizard-tenant-pill { width: 100%; }
    .jango-wizard-content { min-height: 0; }
    .jango-wizard-pane { padding: 23px 20px; }
    .jango-wizard-grid, .jango-wizard-final-grid { grid-template-columns: 1fr; }
    .jango-wizard-field--wide { grid-column: auto; }
    .jango-wizard-actions { flex-wrap: wrap; }
    .jango-wizard-progress-label { order: -1; text-align: center; width: 100%; }
}
@media (max-width: 520px) {
    .jango-wizard-hero__identity { align-items: flex-start; }
    .jango-wizard-hero__icon { flex-basis: 46px; height: 46px; }
    .jango-wizard-safety { font-size: .72rem; }
    .jango-wizard-steps { padding: 7px 5px; }
    .jango-wizard-steps button { padding: 7px 3px; }
    .jango-wizard-step__number { border-radius: 9px; flex-basis: 29px; height: 29px; }
    .jango-wizard-pane { padding: 20px 16px; }
    .jango-wizard-pane__head { margin-bottom: 20px; }
    .jango-wizard-field #id_roles { grid-template-columns: 1fr; }
    .jango-wizard-actions .irangs-button { flex: 1; padding-inline: 8px; }
    .jango-login-form-area { align-items: flex-start; padding: 74px 16px 30px; }
    .jango-login-card { border-radius: 17px; padding: 20px 17px; }
    .jango-pwa-dialog__card { padding: 20px 17px; }
    .jango-pwa-dialog__actions { align-items: stretch; flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
    .jango-wizard-pane { animation: none; }
    .jango-login-submit, .jango-wizard-steps button { transition: none; }
}

/* v0.11.5 — personal cross-workspace work desk. Keep the surface compact. */
.irangs-head-work{display:inline-flex;align-items:center;gap:6px;margin-inline-start:12px;padding:5px 8px;border:1px solid rgba(148,163,184,.35);border-radius:999px;text-decoration:none;white-space:nowrap;font-size:12px}
.irangs-head-work__label{font-weight:700}.irangs-head-chip{min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#334155;font-weight:800;font-variant-numeric:tabular-nums}
.irangs-head-chip--danger{background:#fee2e2;color:#b91c1c}.irangs-head-chip--today{background:#dcfce7;color:#166534}
.mydesk{display:grid;gap:16px}.mydesk-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.mydesk-hero h1{margin:3px 0 6px;font-size:28px}.mydesk-hero p{margin:0;color:#64748b}.mydesk-kicker{font-size:12px!important;font-weight:800;color:#475569!important}.mydesk-load{min-width:145px;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.mydesk-load small,.mydesk-load strong{display:block}.mydesk-load small{color:#64748b;margin-bottom:3px}.mydesk-load--critical{background:#fff1f2;border-color:#fecdd3}.mydesk-load--busy{background:#fffbeb;border-color:#fde68a}.mydesk-load--calm{background:#f0fdf4;border-color:#bbf7d0}
.mydesk-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mydesk-metric{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border:1px solid #e2e8f0;background:#fff;border-radius:12px;text-decoration:none;color:inherit}.mydesk-metric span{font-size:12px;color:#64748b}.mydesk-metric strong{font-size:20px}.mydesk-metric--danger strong{color:#b91c1c}.mydesk-metric--today strong{color:#15803d}
.mydesk-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:16px}.mydesk-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.mydesk-section-title h2{margin:0 0 3px;font-size:17px}.mydesk-section-title p{margin:0;color:#64748b;font-size:12px}.mydesk-focus-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #eef2f7}.mydesk-focus-item:first-of-type{border-top:0}.mydesk-focus-main{min-width:0}.mydesk-focus-title{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mydesk-meta{font-size:12px;color:#64748b;margin-top:4px}.mydesk-focus-item--overdue{border-inline-start:3px solid #ef4444;padding-inline-start:10px}.mydesk-focus-item--today{border-inline-start:3px solid #22c55e;padding-inline-start:10px}
.mydesk-tenant-list{display:grid;gap:8px}.mydesk-tenant-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 0;border-top:1px solid #eef2f7}.mydesk-tenant-row:first-child{border-top:0}.mydesk-tenant-row strong{margin-inline-end:auto}.mydesk-tenant-row span{font-size:11px;background:#f1f5f9;border-radius:999px;padding:3px 7px;color:#475569}.mydesk-tenant-row .is-danger{background:#fee2e2;color:#b91c1c}
.mydesk-filterbar{display:flex;gap:5px;flex-wrap:wrap}.mydesk-filterbar button{border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:5px 9px;cursor:pointer;font:inherit;font-size:11px}.mydesk-filterbar button.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.mydesk-feed-list{display:grid}.mydesk-feed-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #eef2f7}.mydesk-feed-item:first-child{border-top:0}.mydesk-feed-main{min-width:0}.mydesk-feed-main strong,.mydesk-feed-main span{display:block}.mydesk-feed-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mydesk-feed-main span,.mydesk-feed-item time{font-size:11px;color:#64748b}.mydesk-feed-item>a{font-size:12px;text-decoration:none;font-weight:700}.mydesk-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.mydesk-dot--overdue{background:#ef4444}.mydesk-dot--today{background:#22c55e}.mydesk-dot--soon{background:#f59e0b}.mydesk-empty{padding:18px;text-align:center;color:#64748b;font-size:13px}
@media(max-width:900px){.mydesk-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mydesk-grid{grid-template-columns:1fr}.mydesk-hero{display:grid}.mydesk-load{min-width:0}.mydesk-feed-item{grid-template-columns:10px minmax(0,1fr) auto}.mydesk-feed-item time{display:none}.irangs-head-work__label{display:none}}

/* v0.11.6 — enterprise visual system polish; deliberately conservative. */
:root {
    --irangs-radius-sm: 9px;
    --irangs-radius-md: 12px;
    --irangs-radius-lg: 15px;
    --irangs-border: #e2e8f0;
    --irangs-surface-soft: #f8fafc;
    --irangs-muted: #64748b;
    --irangs-accent: #4f46e5;
    --irangs-danger: #b91c1c;
    --irangs-success: #15803d;
    --irangs-warning: #a16207;
}
html.dark {
    --irangs-border: #334155;
    --irangs-surface-soft: #111827;
    --irangs-muted: #94a3b8;
    --irangs-accent: #818cf8;
    --irangs-danger: #f87171;
    --irangs-success: #4ade80;
    --irangs-warning: #facc15;
}
.irangs-global-header { box-shadow: 0 2px 10px rgba(15,23,42,.035); }
.irangs-global-header__inner { gap: 10px; min-width: 0; }
.irangs-global-header__account { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }
.irangs-head-work {
    display: inline-flex; align-items: center; gap: 5px; margin-inline-start: auto;
    padding: 4px 6px; border: 1px solid var(--irangs-border); border-radius: 11px;
    background: #fff; color: #334155; text-decoration: none; white-space: nowrap; font-size: 12px;
    box-shadow: 0 1px 4px rgba(15,23,42,.025);
    transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
html.dark .irangs-head-work { background: #111827; color: #e2e8f0; }
.irangs-head-work:hover { border-color: #c7d2fe; background: #fafbff; box-shadow: 0 3px 10px rgba(15,23,42,.05); }
html.dark .irangs-head-work:hover { background: #172033; border-color: #4f46e5; }
.irangs-head-work__icon { color: var(--irangs-accent); font-size: 18px !important; }
.irangs-head-work__label { font-weight: 750; margin-inline: 1px 3px; }
.irangs-head-stat {
    min-width: 30px; height: 28px; padding: 0 6px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center; gap: 3px;
    background: #f1f5f9; color: #475569; font-variant-numeric: tabular-nums;
}
html.dark .irangs-head-stat { background: #1e293b; color: #cbd5e1; }
.irangs-head-stat .material-symbols-outlined { font-size: 15px !important; }
.irangs-head-stat b { font-size: 11px; line-height: 1; }
.irangs-head-stat--danger { background: #fff1f2; color: #b91c1c; }
.irangs-head-stat--today { background: #f0fdf4; color: #166534; }
.irangs-head-stat--waiting { background: #fffbeb; color: #92400e; }
html.dark .irangs-head-stat--danger { background: #3f171c; color: #fda4af; }
html.dark .irangs-head-stat--today { background: #12321f; color: #86efac; }
html.dark .irangs-head-stat--waiting { background: #3b2c0b; color: #fde68a; }

/* Dashboard: information density without visual noise. */
.jango-dashboard__heading { gap: 14px; margin-bottom: 15px; }
.jango-dashboard__heading h1 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.jango-date-card {
    background: #fff; border: 1px solid var(--irangs-border); border-radius: var(--irangs-radius-md);
    color: #334155; min-width: 154px; padding: 11px 15px; box-shadow: 0 2px 10px rgba(15,23,42,.035);
}
html.dark .jango-date-card { background: #111827; color: #e2e8f0; }
.jango-date-card span,.jango-date-card small { color: var(--irangs-muted); opacity: 1; }
.jango-date-card strong { color: var(--irangs-accent); font-size: 1rem; }
.jango-metrics { gap: 10px; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); }
.jango-metric { border-radius: var(--irangs-radius-md); gap: 5px; padding: 14px 15px; box-shadow: 0 1px 5px rgba(15,23,42,.025); }
.jango-metric:hover { border-color: #c7d2fe; box-shadow: 0 6px 18px rgba(15,23,42,.055); transform: translateY(-1px); }
.jango-metric .material-symbols-outlined { font-size: 20px; }
.jango-metric strong { font-size: 1.4rem; }

/* Personal desk: surface hierarchy and touch-safe responsive behavior. */
.mydesk { gap: 14px; }
.mydesk-hero { gap: 16px; }
.mydesk-hero h1 { font-size: clamp(1.45rem,3vw,1.9rem); }
.mydesk-load { border-radius: var(--irangs-radius-md); padding: 10px 12px; box-shadow: 0 1px 6px rgba(15,23,42,.025); }
.mydesk-metrics { gap: 9px; }
.mydesk-metric { border-radius: var(--irangs-radius-md); min-height: 60px; padding: 10px 12px; box-shadow: 0 1px 5px rgba(15,23,42,.025); }
.mydesk-metric:hover { border-color: #c7d2fe; box-shadow: 0 5px 14px rgba(15,23,42,.045); }
.mydesk-grid { gap: 14px; }
.mydesk-focus-item { min-height: 58px; }
.mydesk-focus-item .portal-btn { min-height: 36px; padding: 6px 10px; }
.mydesk-feed-item { min-height: 50px; }
.mydesk-filterbar button { min-height: 32px; border-radius: 9px; padding: 5px 9px; }
.mydesk-filterbar button.is-active { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }
html.dark .mydesk-filterbar button.is-active { background: #312e81; color: #fff; border-color: #4f46e5; }

/* Unfold navigation stays formal; only spacing/scanability are refined. */
#nav-sidebar-inner { scrollbar-width: thin; }
#nav-sidebar-inner a { border-radius: 9px; }
.irangs-account-menu-mode__options { border-radius: 9px; }
.irangs-account-menu-mode__options button { min-height: 32px; }

/* Tables/forms remain information-first on tablets and phones. */
.change-list .results, .inline-group .tabular { scrollbar-width: thin; }
input, select, textarea, button, a { -webkit-tap-highlight-color: transparent; }

@media (max-width: 1024px) {
    .jango-admin-columns { gap: 20px; }
    .jango-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mydesk-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .irangs-global-header { padding-inline: 8px !important; }
    .irangs-global-header__account { overflow: hidden; }
    .irangs-head-work { margin-inline-start: 6px; padding: 4px; gap: 3px; }
    .irangs-head-work__label { display: none; }
    .irangs-head-stat { min-width: 27px; height: 27px; padding-inline: 5px; }
    .irangs-head-stat .material-symbols-outlined { display: none; }
    .jango-dashboard__heading { align-items: stretch; flex-direction: column; }
    .jango-date-card { align-items: flex-start; min-width: 0; width: 100%; }
    .jango-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .jango-metric { min-height: 88px; }
    .mydesk-hero { display: grid; }
    .mydesk-load { min-width: 0; width: 100%; }
    .mydesk-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mydesk-grid { grid-template-columns: 1fr; }
    .mydesk-section-title { align-items: stretch; flex-direction: column; }
    .mydesk-filterbar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
    .mydesk-filterbar::-webkit-scrollbar { display: none; }
    .mydesk-filterbar button { flex: 0 0 auto; }
    .mydesk-feed-item { grid-template-columns: 8px minmax(0,1fr) auto; gap: 8px; }
    .mydesk-feed-item time { display: none; }
}
@media (max-width: 480px) {
    .jango-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
    .jango-metric { min-height: 78px; padding: 11px; }
    .jango-metric strong { font-size: 1.2rem; }
    .jango-metric span:not(.material-symbols-outlined) { font-size: .76rem; }
    .mydesk-metrics { grid-template-columns: 1fr 1fr; gap: 7px; }
    .mydesk-metric { min-height: 54px; padding: 9px 10px; }
    .mydesk-metric strong { font-size: 18px; }
    .mydesk-focus-item { align-items: stretch; flex-direction: column; }
    .mydesk-focus-item .portal-btn { width: 100%; }
    .mydesk-feed-item { grid-template-columns: 8px minmax(0,1fr); }
    .mydesk-feed-item > a { grid-column: 2; justify-self: start; }
}
@media (hover: none) {
    .jango-metric:hover, .mydesk-metric:hover, .irangs-head-work:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    .irangs-head-work, .jango-metric, .mydesk-metric { transition: none; }
}

/* V0.12.4 — simplified member wizard: reuse registered identities first. */
.jango-wizard-steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jango-wizard-tenant-select {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    gap: 12px;
    grid-template-columns: 38px minmax(0, 420px);
    padding: 14px 20px;
}
.jango-wizard-tenant-select > .material-symbols-outlined { color: #4f46e5; font-size: 23px; }
.jango-wizard-tenant-select label { color: #334155; display: block; font-size: .74rem; font-weight: 800; margin-bottom: 5px; }
.jango-wizard-tenant-select select { background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; color: #0f172a; min-height: 40px; padding: 7px 10px; width: 100%; }
.jango-wizard-tenant-select small { color: #64748b; display: block; font-size: .64rem; margin-top: 4px; }

.jango-person-mode { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; max-width: 820px; }
.jango-person-mode__option {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 40px 1fr;
    min-height: 74px;
    padding: 12px 14px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.jango-person-mode__option:hover { background: #f8faff; border-color: #a5b4fc; }
.jango-person-mode__option:has(input:checked) { background: #eef2ff; border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99,102,241,.08); }
.jango-person-mode__option input { accent-color: #4f46e5; height: 17px; width: 17px; }
.jango-person-mode__option > .material-symbols-outlined { align-items: center; background: #f1f5f9; border-radius: 11px; color: #4f46e5; display: flex; height: 38px; justify-content: center; width: 38px; }
.jango-person-mode__option strong { color: #1e293b; display: block; font-size: .78rem; }
.jango-person-mode__option small { color: #64748b; display: block; font-size: .64rem; line-height: 1.6; margin-top: 2px; }

.jango-person-picker, .jango-new-person { max-width: 820px; }
.jango-person-picker > label { color: #334155; display: block; font-size: .78rem; font-weight: 800; margin-bottom: 7px; }
.jango-person-searchbox { position: relative; }
.jango-person-searchbox > .material-symbols-outlined { color: #64748b; font-size: 20px; inset-inline-start: 13px; position: absolute; top: 50%; transform: translateY(-50%); }
.jango-person-searchbox input { background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; color: #0f172a; min-height: 48px; outline: 0; padding: 10px 44px 10px 120px; width: 100%; }
.jango-person-searchbox input:focus { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.12); }
.jango-person-searchbox__spinner { color: #64748b; font-size: .64rem; inset-inline-end: 12px; position: absolute; top: 50%; transform: translateY(-50%); }
.jango-person-results { display: grid; gap: 7px; margin-top: 8px; max-height: 310px; overflow: auto; }
.jango-person-result {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: inherit;
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 10px;
    grid-template-columns: 36px 1fr 26px;
    padding: 10px 11px;
    text-align: right;
    transition: background .15s ease, border-color .15s ease;
    width: 100%;
}
.jango-person-result:hover, .jango-person-result:focus { background: #f8faff; border-color: #a5b4fc; outline: 0; }
.jango-person-result > .material-symbols-outlined:first-child { align-items: center; background: #eef2ff; border-radius: 9px; color: #4f46e5; display: flex; height: 34px; justify-content: center; width: 34px; }
.jango-person-result strong { color: #1e293b; display: block; font-size: .76rem; }
.jango-person-result small { color: #64748b; display: block; font-size: .63rem; line-height: 1.65; margin-top: 2px; }
.jango-person-result__arrow { color: #94a3b8; font-size: 19px; }
.jango-person-results__empty { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 11px; color: #64748b; font-size: .7rem; line-height: 1.8; padding: 12px; }
.jango-selected-person {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    display: grid;
    gap: 11px;
    grid-template-columns: 40px 1fr auto;
    margin-top: 10px;
    padding: 11px 12px;
}
.jango-selected-person.is-error { background: #fef2f2; border-color: #fecaca; }
.jango-selected-person > .material-symbols-outlined { align-items: center; background: #d1fae5; border-radius: 10px; color: #047857; display: flex; height: 38px; justify-content: center; width: 38px; }
.jango-selected-person small { color: #047857; display: block; font-size: .61rem; font-weight: 700; }
.jango-selected-person strong { color: #064e3b; display: block; font-size: .78rem; margin-top: 1px; }
.jango-selected-person #selected-person-meta { color: #475569; display: block; font-size: .63rem; line-height: 1.6; margin-top: 2px; }
.irangs-button--compact { min-height: 34px !important; padding: 6px 10px !important; }
.jango-role-panel { margin-top: 20px; }
.jango-existing-account-note { align-items: flex-start; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; color: #065f46; display: flex; gap: 10px; margin-bottom: 18px; padding: 12px 14px; }
.jango-existing-account-note > .material-symbols-outlined { color: #059669; font-size: 22px; }
.jango-existing-account-note strong { color: #064e3b; display: block; font-size: .78rem; }
.jango-existing-account-note p { font-size: .68rem; line-height: 1.7; margin: 2px 0 0; }

html.dark .jango-wizard-tenant-select { background: #172033; border-color: #334155; }
html.dark .jango-wizard-tenant-select label { color: #f8fafc; }
html.dark .jango-wizard-tenant-select select { background: #111827; border-color: #475569; color: #f8fafc; }
html.dark .jango-person-mode__option, html.dark .jango-person-result { background: #111827; border-color: #334155; }
html.dark .jango-person-mode__option:has(input:checked), html.dark .jango-person-mode__option:hover, html.dark .jango-person-result:hover { background: #252551; border-color: #6366f1; }
html.dark .jango-person-mode__option strong, html.dark .jango-person-result strong { color: #f8fafc; }
html.dark .jango-person-searchbox input { background: #172033; border-color: #475569; color: #f8fafc; }
html.dark .jango-person-results__empty { background: #172033; border-color: #475569; color: #94a3b8; }
html.dark .jango-selected-person, html.dark .jango-existing-account-note { background: rgba(5,150,105,.12); border-color: rgba(52,211,153,.3); }
html.dark .jango-selected-person strong, html.dark .jango-existing-account-note strong { color: #a7f3d0; }
html.dark .jango-selected-person #selected-person-meta { color: #94a3b8; }

@media (max-width: 720px) {
    .jango-person-mode { grid-template-columns: 1fr; }
    .jango-person-mode__option { min-height: 66px; }
    .jango-selected-person { grid-template-columns: 36px 1fr; }
    .jango-selected-person .irangs-button { grid-column: 1 / -1; width: 100%; }
    .jango-wizard-tenant-select { grid-template-columns: 30px 1fr; padding: 12px 14px; }
    .jango-person-searchbox input { padding-inline-end: 12px; }
    .jango-person-searchbox__spinner { display: none; }
}

/* IranGS v0.12.7 — unified personal scope, low-noise dashboard and explicit scope indicator. */
.irangs-scope-indicator {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    display: inline-flex;
    flex: 0 1 auto;
    gap: 8px;
    margin-inline-start: 8px;
    max-width: min(360px, 34vw);
    min-height: 40px;
    padding: 6px 10px;
}
.irangs-scope-indicator > .material-symbols-outlined { color: #4f46e5; font-size: 20px; }
.irangs-scope-indicator__text { display: grid; line-height: 1.25; min-width: 0; }
.irangs-scope-indicator__text strong,
.irangs-scope-indicator__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irangs-scope-indicator__text strong { color: #0f172a; font-size: .76rem; font-weight: 800; }
.irangs-scope-indicator__text small { color: #64748b; font-size: .64rem; margin-top: 2px; }
.irangs-scope-indicator--personal { background: #eef2ff; border-color: #c7d2fe; }
.irangs-scope-indicator--personal > .material-symbols-outlined { color: #4338ca; }

.irangs-scope-kicker { color: #4f46e5; font-size: .76rem; font-weight: 850; margin-bottom: 5px; }
.jango-dashboard--personal { margin-bottom: 18px; }
.jango-date-card--soft { background: #eef2ff; border: 1px solid #c7d2fe; color: #312e81; }
.jango-date-card--soft small { color: #6366f1; opacity: 1; }
.jango-metrics--personal .jango-metric { min-height: 122px; }
.jango-metric--danger strong, .jango-metric--danger .material-symbols-outlined { color: #b91c1c; }
.jango-metric--today strong, .jango-metric--today .material-symbols-outlined { color: #15803d; }

.irangs-personal-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
    margin-bottom: 16px;
}
.irangs-personal-focus, .irangs-personal-tenants, .irangs-personal-feed { min-width: 0; }
.irangs-personal-row { border-inline-start: 3px solid transparent; }
.irangs-personal-row--overdue { border-inline-start-color: #ef4444; }
.irangs-personal-row--today { border-inline-start-color: #22c55e; }
.irangs-personal-dot { background: #94a3b8; border-radius: 999px; flex: 0 0 8px; height: 8px; width: 8px; }
.irangs-personal-dot--overdue { background: #ef4444; }
.irangs-personal-dot--today { background: #22c55e; }
.irangs-personal-dot--soon { background: #f59e0b; }
.irangs-personal-tenant-list { display: grid; gap: 0; }
.irangs-personal-tenant-row {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    min-height: 48px;
    padding-block: 8px;
}
.irangs-personal-tenant-row:last-child { border-bottom: 0; }
.irangs-personal-tenant-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irangs-personal-tenant-row span { color: #64748b; font-size: .72rem; white-space: nowrap; }
.irangs-personal-tenant-row .is-danger { color: #b91c1c; font-weight: 800; }
.irangs-personal-feed { margin-bottom: 26px; }
.irangs-personal-feed__head { align-items: flex-start; }
.irangs-personal-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.irangs-personal-filters button {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    min-height: 32px;
    padding: 5px 10px;
}
.irangs-personal-filters button.is-active { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.irangs-personal-feed-row time { color: #64748b; direction: ltr; font-size: .72rem; white-space: nowrap; }
.irangs-personal-feed-row[hidden] { display: none !important; }

.irangs-search-scope { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.irangs-search-scope a {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-size: .72rem;
    font-weight: 750;
    padding: 6px 10px;
    text-decoration: none;
}
.irangs-search-scope a.is-active { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }

/* Design-system guardrail: a page action bar has one visually primary action;
   supporting actions must use secondary/ghost variants in templates. */
.irangs-page-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.irangs-page-actions > .irangs-button:not(.irangs-button--secondary):not(.irangs-button--ghost) { order: -1; }

html.dark .irangs-scope-indicator { background: #172033; border-color: #334155; color: #cbd5e1; }
html.dark .irangs-scope-indicator__text strong { color: #f8fafc; }
html.dark .irangs-scope-indicator__text small { color: #94a3b8; }
html.dark .irangs-scope-indicator--personal { background: #1e1b4b; border-color: #3730a3; }
html.dark .jango-date-card--soft { background: #1e1b4b; border-color: #3730a3; color: #e0e7ff; }
html.dark .irangs-personal-tenant-row { border-color: #273449; }
html.dark .irangs-personal-filters button,
html.dark .irangs-search-scope a { background: #111827; border-color: #334155; color: #cbd5e1; }
html.dark .irangs-personal-filters button.is-active,
html.dark .irangs-search-scope a.is-active { background: #312e81; border-color: #4338ca; color: #fff; }

@media (max-width: 1180px) {
    .irangs-scope-indicator { max-width: 260px; }
    .irangs-personal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .irangs-scope-indicator__text small { display: none; }
    .irangs-scope-indicator { max-width: 190px; }
    .irangs-personal-feed__head { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
    .irangs-scope-indicator { max-width: 140px; min-height: 36px; padding: 5px 8px; }
    .irangs-scope-indicator__text strong { font-size: .7rem; }
    .jango-metrics--personal .jango-metric { min-height: 0; }
    .irangs-personal-tenant-row { grid-template-columns: minmax(0, 1fr) auto; }
    .irangs-personal-tenant-row span:nth-of-type(n+2) { display: none; }
    .irangs-personal-feed-row { align-items: flex-start; }
    .irangs-personal-feed-row time { display: none; }
}

/* IranGS v0.12.10 — correlated diagnostic reference action. */
.irangs-diagnostic-reference { align-items:center; background:#fff7ed; border:1px solid #fed7aa; border-radius:13px; color:#9a3412; display:flex; flex-wrap:wrap; gap:9px; padding:11px 13px; }
.irangs-diagnostic-reference code { direction:ltr; unicode-bidi:plaintext; font-family:Consolas,"Courier New",monospace; font-weight:800; }
.irangs-diagnostic-reference a { background:#fff; border:1px solid #fdba74; border-radius:9px; color:#9a3412; font-size:.72rem; font-weight:800; margin-inline-start:auto; padding:7px 12px; text-decoration:none; }
.irangs-diagnostic-reference a:hover { background:#ffedd5; }
html.dark .irangs-diagnostic-reference { background:rgba(154,52,18,.18); border-color:rgba(251,146,60,.35); color:#fdba74; }
html.dark .irangs-diagnostic-reference a { background:#172033; border-color:#9a3412; color:#fdba74; }
@media(max-width:640px){.irangs-diagnostic-reference a{margin-inline-start:0;width:100%;text-align:center}}

/* V0.12.19 — global user/membership control center */
.irangs-membership-kpis { grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); margin-bottom: 18px; }
.irangs-kpi-card { background: var(--irangs-card,#fff); border: 1px solid var(--irangs-border,#e2e8f0); border-radius: 16px; color: var(--irangs-text,#0f172a) !important; display: flex; flex-direction: column; gap: 3px; min-height: 105px; padding: 16px; text-decoration: none !important; transition: .16s ease; }
.irangs-kpi-card:hover { border-color: #a5b4fc; box-shadow: 0 10px 24px rgba(15,23,42,.06); transform: translateY(-1px); }
.irangs-kpi-card strong { font-size: 1.55rem; line-height: 1.2; }
.irangs-kpi-card small { color: var(--irangs-muted,#64748b); }
.irangs-kpi-card.is-warning strong { color: #b45309; }
.irangs-kpi-card.is-danger strong { color: #b91c1c; }
.irangs-filter-bar { align-items: center; background: var(--irangs-card,#fff); border: 1px solid var(--irangs-border,#e2e8f0); border-radius: 16px; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding: 12px; }
.irangs-filter-bar__search { align-items: center; display: flex; flex: 1 1 280px; gap: 8px; min-width: 220px; }
.irangs-filter-bar input,.irangs-filter-bar select { background: transparent; border: 1px solid var(--irangs-border-strong,#cbd5e1); border-radius: 10px; min-height: 40px; padding: 8px 10px; }
.irangs-filter-bar__search input { flex: 1; width: 100%; }
.irangs-member-center-list { display: grid; gap: 12px; }
.irangs-member-center-card { background: var(--irangs-card,#fff); border: 1px solid var(--irangs-border,#e2e8f0); border-radius: 18px; overflow: clip; }
.irangs-member-center-card > summary { align-items: center; cursor: pointer; display: grid; gap: 14px; grid-template-columns: minmax(230px,1fr) auto 24px; list-style: none; padding: 16px 18px; }
.irangs-member-center-card > summary::-webkit-details-marker { display:none; }
.irangs-member-center-card[open] > summary { background: rgba(79,70,229,.035); border-bottom: 1px solid var(--irangs-border,#e2e8f0); }
.irangs-member-center-card[open] .irangs-disclosure { transform: rotate(180deg); }
.irangs-member-center-identity { align-items:center; display:flex; gap:12px; min-width:0; }
.irangs-avatar-fallback { align-items:center; background:#eef2ff; border-radius:12px; color:#4f46e5; display:flex; height:42px; justify-content:center; min-width:42px; width:42px; }
.irangs-member-center-identity strong { display:block; font-size:1rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.irangs-member-center-sub { color:var(--irangs-muted,#64748b); display:block; font-size:.82rem; margin-top:3px; }
.irangs-member-center-stats { align-items:center; display:flex; flex-wrap:wrap; gap:10px; }
.irangs-member-center-stats > span:not(.irangs-status) { color:var(--irangs-muted,#64748b); font-size:.82rem; }
.irangs-member-center-stats .is-warning { color:#b45309 !important; }
.irangs-disclosure { color:var(--irangs-muted,#64748b); transition:.16s ease; }
.irangs-member-center-body { padding:16px 18px 18px; }
.irangs-alert-strip { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.irangs-alert-strip span { background:#fff7ed; border:1px solid #fed7aa; border-radius:999px; color:#9a3412; font-size:.78rem; padding:5px 9px; }
.irangs-member-center-actions { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.irangs-membership-scope { border:1px solid var(--irangs-border,#e2e8f0); border-radius:14px; margin-top:10px; padding:14px; }
.irangs-membership-scope.is-suspended { border-style:dashed; opacity:.9; }
.irangs-membership-scope__head { align-items:center; display:flex; gap:12px; justify-content:space-between; }
.irangs-membership-scope__head h3 { font-size:1rem; margin:0; }
.irangs-membership-scope__head p { color:var(--irangs-muted,#64748b); margin:3px 0 0; }
.irangs-membership-scope__actions { align-items:center; color:var(--irangs-muted,#64748b); display:flex; flex-wrap:wrap; gap:10px; font-size:.82rem; }
.irangs-role-chips { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; }
.irangs-role-chip { background:#eef2ff; border:1px solid #c7d2fe; border-radius:999px; color:#3730a3; font-size:.8rem; padding:5px 9px; }
.irangs-role-chip.is-suspended { background:#f8fafc; border-color:#cbd5e1; color:#64748b; text-decoration:line-through; }
.irangs-inline-note { border-radius:10px; font-size:.8rem; margin-top:10px; padding:8px 10px; }
.irangs-inline-note.is-warning { background:#fffbeb; color:#92400e; }
.irangs-permission-details { border-top:1px dashed var(--irangs-border,#e2e8f0); padding-top:10px; }
.irangs-permission-details > summary { color:#4f46e5; cursor:pointer; font-size:.86rem; font-weight:650; list-style:none; }
.irangs-permission-grid { display:grid; gap:8px; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); margin-top:10px; }
.irangs-permission-pill { align-items:flex-start; border:1px solid var(--irangs-border,#e2e8f0); border-radius:11px; display:flex; gap:8px; padding:9px 10px; }
.irangs-permission-pill .material-symbols-outlined { font-size:19px; }
.irangs-permission-pill strong { display:block; font-size:.82rem; }
.irangs-permission-pill small { color:var(--irangs-muted,#64748b); display:block; font-size:.72rem; margin-top:2px; }
.irangs-permission-pill.is-effective { background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.irangs-permission-pill.is-suspended { background:#f8fafc; color:#64748b; }
.irangs-empty-inline { color:var(--irangs-muted,#64748b); font-size:.82rem; }
.irangs-member-center-empty { margin-top:8px; }
.irangs-pagination { align-items:center; display:flex; gap:12px; justify-content:center; margin:18px 0 6px; }
.irangs-pagination a { border:1px solid var(--irangs-border,#e2e8f0); border-radius:9px; padding:7px 12px; text-decoration:none !important; }
html.dark .irangs-avatar-fallback { background:#312e81; color:#c7d2fe; }
html.dark .irangs-alert-strip span { background:#431407; border-color:#9a3412; color:#fed7aa; }
html.dark .irangs-role-chip { background:#312e81; border-color:#4338ca; color:#e0e7ff; }
html.dark .irangs-permission-pill.is-effective { background:#052e16; border-color:#166534; color:#bbf7d0; }
@media(max-width:780px){
  .irangs-member-center-card > summary { grid-template-columns:1fr 24px; }
  .irangs-member-center-stats { grid-column:1/-1; }
  .irangs-membership-scope__head { align-items:flex-start; flex-direction:column; }
  .irangs-filter-bar > * { flex:1 1 100%; width:100%; }
}

/* v0.12.19 — simple organizational role-template catalog */
.irangs-context-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .8rem;border:1px solid var(--color-base-200,#e5e7eb);border-radius:.8rem;background:var(--color-base-50,#f9fafb);font-weight:700}.irangs-context-pill .material-symbols-outlined{font-size:1.1rem}.irangs-role-template-groups{display:grid;gap:1.25rem;margin-top:1.25rem}.irangs-role-template-group{display:grid;gap:.75rem}.irangs-role-template-group__head{display:flex;align-items:center;justify-content:space-between}.irangs-role-template-group__head h2{font-size:1rem;font-weight:800;margin:0}.irangs-role-template-group__head span{font-size:.8rem;opacity:.65}.irangs-role-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:.8rem}.irangs-role-template-card{border:1px solid var(--color-base-200,#e5e7eb);border-radius:1rem;padding:1rem;background:var(--color-base-0,#fff);display:flex;flex-direction:column;gap:.75rem;min-height:230px}.irangs-role-template-card.is-blocked{opacity:.8}.irangs-role-template-card__head{display:flex;gap:.75rem;justify-content:space-between;align-items:flex-start}.irangs-role-template-card__head h3{margin:0;font-size:1rem;font-weight:800}.irangs-role-template-card__head div>span{display:block;font-size:.75rem;opacity:.6;margin-top:.15rem;direction:ltr;text-align:right}.irangs-role-template-card>p{margin:0;line-height:1.8;font-size:.85rem;opacity:.85}.irangs-role-template-meta{display:flex;gap:.7rem;flex-wrap:wrap;font-size:.78rem}.irangs-role-template-meta span{padding:.3rem .55rem;border-radius:.6rem;background:var(--color-base-50,#f9fafb)}.irangs-role-template-card__actions{margin-top:auto;display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.irangs-role-template-card__actions form{margin:0}.irangs-role-template-card__actions button[disabled]{opacity:.5;cursor:not-allowed}.irangs-template-update-note{font-size:.75rem;opacity:.7;line-height:1.6}@media(max-width:640px){.irangs-role-template-grid{grid-template-columns:1fr}.irangs-role-template-card{min-height:0}}

/* IGS 0.14 — person-centric 360 profile */
.igs360-shell{--igs360-border:#e5e7eb;--igs360-muted:#64748b;--igs360-soft:#f8fafc;--igs360-accent:#4f46e5;display:grid;gap:18px;max-width:1560px;margin:0 auto 32px}.igs360-hero{align-items:center;background:linear-gradient(125deg,#fff 0%,#f8faff 58%,#eef2ff 100%);border:1px solid var(--igs360-border);border-radius:26px;box-shadow:0 12px 35px rgba(15,23,42,.06);display:flex;gap:24px;justify-content:space-between;padding:24px}.igs360-identity{align-items:center;display:flex;gap:20px;min-width:0}.igs360-avatar{background:#fff;border:1px solid #dbe3f0;border-radius:24px;height:112px;object-fit:cover;box-shadow:0 12px 30px rgba(15,23,42,.1);width:112px;flex:0 0 auto}.igs360-avatar--placeholder{align-items:center;display:flex;justify-content:center}.igs360-avatar--placeholder .material-symbols-outlined{color:#94a3b8;font-size:54px}.igs360-title{min-width:0}.igs360-title h1{color:#0f172a;font-size:2rem;letter-spacing:-.025em;line-height:1.25;margin:4px 0 7px}.igs360-title p{color:var(--igs360-muted);line-height:1.85;margin:0;max-width:820px}.igs360-eyebrow{align-items:center;color:var(--igs360-accent);display:flex;flex-wrap:wrap;font-size:.78rem;font-weight:800;gap:8px}.igs360-eyebrow code{background:#eef2ff;border:1px solid #dfe3ff;border-radius:999px;color:#4338ca;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;padding:4px 9px}.igs360-statusline,.igs360-chiprow{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.igs360-badge,.igs360-chip,.igs360-state,.igs360-mini{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;color:#475569;font-size:.72rem;font-weight:700;padding:5px 9px}.igs360-badge.is-ok,.igs360-state.is-ok{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.igs360-badge.is-warn{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.igs360-chip.is-muted{opacity:.65}.igs360-actions{display:flex;flex:0 0 250px;flex-direction:column;gap:8px}.igs360-actions .irangs-button{align-items:center;display:flex;gap:7px;justify-content:center}.igs360-actions .material-symbols-outlined{font-size:19px}.igs360-technical-link{color:#64748b;font-size:.75rem;text-align:center}.igs360-kpis{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.igs360-kpis article{align-items:center;background:#fff;border:1px solid var(--igs360-border);border-radius:18px;display:flex;gap:12px;min-height:86px;padding:16px 18px}.igs360-kpis article>.material-symbols-outlined{align-items:center;background:#eef2ff;border-radius:14px;color:#4f46e5;display:flex;height:44px;justify-content:center;width:44px}.igs360-kpis small{color:var(--igs360-muted);display:block;font-size:.72rem;margin-bottom:4px}.igs360-kpis strong{color:#0f172a;display:block;font-size:.92rem;overflow-wrap:anywhere}.igs360-grid{align-items:start;display:grid;gap:18px;grid-template-columns:minmax(0,1fr) minmax(290px,350px)}.igs360-main,.igs360-side{display:grid;gap:18px;min-width:0}.igs360-card{background:#fff;border:1px solid var(--igs360-border);border-radius:22px;box-shadow:0 7px 24px rgba(15,23,42,.035);min-width:0;padding:20px}.igs360-card__head{align-items:flex-start;border-bottom:1px solid #eef2f7;display:flex;gap:16px;justify-content:space-between;margin:-2px 0 18px;padding-bottom:14px}.igs360-card__head>div{align-items:flex-start;display:flex;gap:10px}.igs360-card__head .material-symbols-outlined{color:#4f46e5}.igs360-card h2{color:#0f172a;font-size:1rem;margin:0}.igs360-card__head p{color:var(--igs360-muted);font-size:.76rem;line-height:1.7;margin:3px 0 0}.igs360-count{align-items:center;background:#eef2ff;border-radius:999px;color:#4338ca;display:flex;font-size:.75rem;font-weight:800;justify-content:center;min-height:28px;min-width:28px;padding:0 9px}.igs360-info-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.igs360-info-grid>div,.igs360-access-grid>div{background:#f8fafc;border:1px solid #edf1f5;border-radius:15px;min-width:0;padding:13px 14px}.igs360-info-grid small,.igs360-access-grid small{color:var(--igs360-muted);display:block;font-size:.7rem;margin-bottom:5px}.igs360-info-grid strong,.igs360-access-grid strong{color:#172033;font-size:.86rem;overflow-wrap:anywhere}.igs360-note{align-items:flex-start;background:#f8fafc;border-right:3px solid #818cf8;border-radius:12px;display:flex;gap:10px;margin-top:14px;padding:12px 14px}.igs360-note .material-symbols-outlined{color:#6366f1}.igs360-note p{color:#475569;line-height:1.85;margin:0}.igs360-workspaces{display:grid;gap:13px}.igs360-workspace{background:#fbfcfe;border:1px solid #e6ebf2;border-radius:19px;padding:16px}.igs360-workspace.is-current{background:linear-gradient(135deg,#fff,#f8fffc);border-color:#cfeade}.igs360-workspace__top{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.igs360-workspace__name{align-items:center;display:flex;gap:8px}.igs360-workspace__name .material-symbols-outlined{color:#6366f1}.igs360-workspace__name h3{color:#111827;font-size:.96rem;margin:0}.igs360-access-grid{display:grid;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}.igs360-access-switch{align-items:center!important;display:flex;gap:9px}.igs360-access-switch>.material-symbols-outlined{background:#e2e8f0;border-radius:10px;color:#64748b;padding:6px}.igs360-access-switch.is-on{background:#ecfdf5;border-color:#c7eedc}.igs360-access-switch.is-on>.material-symbols-outlined{background:#d1fae5;color:#059669}.igs360-inline-actions{margin-top:10px;text-align:left}.igs360-inline-actions a{font-size:.76rem;font-weight:700}.igs360-role-zone{border-top:1px dashed #dbe3ee;margin-top:14px;padding-top:13px}.igs360-subhead{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.igs360-subhead strong{font-size:.82rem}.igs360-subhead span{color:var(--igs360-muted);font-size:.7rem}.igs360-role{background:#fff;border:1px solid #e5e7eb;border-radius:13px;margin-top:8px;overflow:hidden}.igs360-role summary{align-items:center;cursor:pointer;display:flex;gap:12px;justify-content:space-between;list-style:none;padding:11px 12px}.igs360-role summary::-webkit-details-marker{display:none}.igs360-role summary>span:first-child{align-items:center;display:flex;font-size:.8rem;font-weight:800;gap:7px}.igs360-role summary .material-symbols-outlined{color:#6366f1;font-size:18px}.igs360-permissions{border-top:1px solid #eef2f7;display:flex;flex-wrap:wrap;gap:7px;padding:11px}.igs360-permissions>span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;color:#334155;font-size:.7rem;padding:6px 8px}.igs360-permissions small{color:#64748b}.igs360-muted{color:var(--igs360-muted);font-size:.74rem;padding:0 12px 10px}.igs360-empty{align-items:center;background:#f8fafc;border:1px dashed #d8e0ea;border-radius:13px;color:#64748b;display:flex;font-size:.75rem;gap:8px;line-height:1.7;padding:12px}.igs360-empty .material-symbols-outlined{font-size:18px}.igs360-sidecard>header{align-items:center;border-bottom:1px solid #eef2f7;display:flex;gap:8px;margin-bottom:12px;padding-bottom:11px}.igs360-sidecard>header .material-symbols-outlined{color:#4f46e5}.igs360-side-list{display:grid}.igs360-side-list>div{align-items:flex-start;border-bottom:1px solid #f1f5f9;display:flex;gap:14px;justify-content:space-between;padding:9px 0}.igs360-side-list>div:last-child{border-bottom:0}.igs360-side-list span{color:#64748b;font-size:.72rem}.igs360-side-list strong{color:#1e293b;font-size:.76rem;text-align:left}.igs360-side-action{display:block;font-size:.75rem;font-weight:700;margin-top:10px;text-align:center}.igs360-contact-list{display:grid}.igs360-contact-list>div{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:10px;padding:10px 0}.igs360-contact-list>div:last-child{border-bottom:0}.igs360-contact-list>div>.material-symbols-outlined{color:#64748b;font-size:20px}.igs360-contact-list>div>div{min-width:0;flex:1}.igs360-contact-list strong{color:#1f2937;display:block;font-size:.78rem;overflow-wrap:anywhere}.igs360-contact-list small{color:#64748b;display:block;font-size:.68rem;line-height:1.6;margin-top:2px}.igs360-mini{font-size:.62rem;padding:3px 6px}.igs360-module-link{align-items:center;background:#fff;border:1px solid var(--igs360-border);border-radius:18px;display:flex;gap:11px;padding:14px 15px;text-decoration:none}.igs360-module-link>.material-symbols-outlined:first-child{align-items:center;background:#eef2ff;border-radius:12px;color:#4f46e5;display:flex;height:40px;justify-content:center;width:40px}.igs360-module-link>div{flex:1}.igs360-module-link strong{color:#1e293b;display:block;font-size:.8rem}.igs360-module-link small{color:#64748b;font-size:.68rem}.igs360-module-link>.material-symbols-outlined:last-child{color:#94a3b8}.igs360-timeline{display:grid}.igs360-timeline article{display:grid;gap:12px;grid-template-columns:16px minmax(0,1fr);position:relative}.igs360-timeline article:before{background:#e2e8f0;content:"";height:100%;right:7px;position:absolute;top:15px;width:1px}.igs360-timeline article:last-child:before{display:none}.igs360-timeline__dot{background:#6366f1;border:4px solid #eef2ff;border-radius:50%;height:14px;margin-top:3px;position:relative;width:14px;z-index:1}.igs360-timeline article>div:last-child{border-bottom:1px solid #f1f5f9;padding:0 0 14px}.igs360-timeline__top{align-items:center;display:flex;gap:12px;justify-content:space-between}.igs360-timeline__top strong{font-size:.78rem}.igs360-timeline__top time,.igs360-timeline article small{color:#64748b;font-size:.68rem}.igs360-timeline pre{background:#f8fafc;border-radius:9px;color:#475569;font-family:inherit;font-size:.67rem;line-height:1.6;margin:7px 0 0;overflow:auto;padding:8px;white-space:pre-wrap}
html.dark .igs360-shell{--igs360-border:#334155;--igs360-muted:#94a3b8;--igs360-soft:#111827}html.dark .igs360-hero{background:linear-gradient(125deg,#111827,#151b2d 60%,#1e1b4b);border-color:#334155}html.dark .igs360-title h1,html.dark .igs360-kpis strong,html.dark .igs360-card h2,html.dark .igs360-info-grid strong,html.dark .igs360-access-grid strong,html.dark .igs360-workspace__name h3,html.dark .igs360-side-list strong,html.dark .igs360-contact-list strong,html.dark .igs360-module-link strong{color:#f8fafc}html.dark .igs360-card,html.dark .igs360-kpis article,html.dark .igs360-module-link,html.dark .igs360-role{background:#111827;border-color:#334155}html.dark .igs360-info-grid>div,html.dark .igs360-access-grid>div,html.dark .igs360-empty,html.dark .igs360-permissions>span,html.dark .igs360-timeline pre{background:#0f172a;border-color:#334155;color:#cbd5e1}html.dark .igs360-workspace{background:#0f172a;border-color:#334155}html.dark .igs360-workspace.is-current{background:linear-gradient(135deg,#111827,#0f1f1c)}html.dark .igs360-role summary,html.dark .igs360-card__head,html.dark .igs360-role-zone,html.dark .igs360-sidecard>header,html.dark .igs360-side-list>div,html.dark .igs360-contact-list>div,html.dark .igs360-timeline article>div:last-child{border-color:#253247}
@media(max-width:1100px){.igs360-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-grid{grid-template-columns:1fr}.igs360-side{grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-module-link{min-width:0}}
@media(max-width:720px){.igs360-shell{gap:12px}.igs360-hero{align-items:stretch;border-radius:20px;flex-direction:column;padding:17px}.igs360-identity{align-items:flex-start}.igs360-avatar{border-radius:18px;height:82px;width:82px}.igs360-title h1{font-size:1.45rem}.igs360-actions{flex-basis:auto;display:grid;grid-template-columns:1fr 1fr;width:100%}.igs360-actions .igs360-technical-link{grid-column:1/-1}.igs360-kpis{grid-template-columns:1fr 1fr}.igs360-kpis article{min-height:72px;padding:12px}.igs360-kpis article>.material-symbols-outlined{height:38px;width:38px}.igs360-card{border-radius:18px;padding:15px}.igs360-info-grid,.igs360-access-grid{grid-template-columns:1fr 1fr}.igs360-side{grid-template-columns:1fr}.igs360-workspace__top,.igs360-subhead,.igs360-timeline__top{align-items:flex-start;flex-direction:column}.igs360-state{align-self:flex-start}}
@media(max-width:480px){.igs360-identity{flex-direction:column}.igs360-actions,.igs360-kpis,.igs360-info-grid,.igs360-access-grid{grid-template-columns:1fr}.igs360-card__head{gap:8px}.igs360-eyebrow{align-items:flex-start;flex-direction:column}.igs360-title p{font-size:.8rem}}

/* IGS 0.20 — canonical identity correction/archive workflows */
.igs-identity-workflow{max-width:1180px}.igs-identity-form{display:grid;gap:18px}.igs-identity-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.igs-identity-field{display:grid;gap:6px}.igs-identity-field.is-wide{grid-column:1/-1}.igs-identity-field label{color:#1e293b;font-size:.78rem;font-weight:800}.igs-identity-field input,.igs-identity-field select,.igs-identity-field textarea{background:#fff;border:1px solid #dbe3ee;border-radius:12px;color:#0f172a;min-height:44px;padding:10px 12px;width:100%}.igs-identity-field textarea{line-height:1.8;min-height:94px;resize:vertical}.igs-identity-field small{color:#64748b;font-size:.68rem;line-height:1.6}.igs-field-error{color:#b91c1c;font-size:.7rem;font-weight:700}.igs-identity-form-actions{align-items:center;border-top:1px solid #eef2f7;display:flex;gap:10px;padding-top:16px}.igs-identity-form-actions .irangs-button{align-items:center;display:inline-flex;gap:7px}.igs-identity-alert{align-items:flex-start;background:#eff6ff;border:1px solid #bfdbfe;border-radius:15px;color:#1e3a8a;display:flex;gap:10px;line-height:1.75;padding:13px 14px}.igs-identity-alert strong{display:block}.igs-identity-alert p{margin:2px 0 0}.igs-identity-alert.is-danger{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.igs-danger-button{background:#be123c!important;border-color:#be123c!important;color:#fff!important}.igs360-avatar--placeholder.is-danger{background:#fff1f2;border-color:#fecdd3}.igs360-avatar--placeholder.is-danger .material-symbols-outlined{color:#be123c}.igs360-archive-banner{background:#fff7ed!important;border-color:#fed7aa!important}.igs360-change-fields{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.igs360-change-fields span{background:#f1f5f9;border-radius:999px;color:#475569;font-size:.62rem;padding:4px 7px}html.dark .igs-identity-field label{color:#e2e8f0}html.dark .igs-identity-field input,html.dark .igs-identity-field select,html.dark .igs-identity-field textarea{background:#0f172a;border-color:#334155;color:#f8fafc}html.dark .igs-identity-form-actions{border-color:#334155}html.dark .igs360-archive-banner{background:#2b1c0f!important;border-color:#7c4a1f!important}.igs360-archive-banner .igs360-empty{color:#9a3412}html.dark .igs360-archive-banner .igs360-empty{color:#fdba74}
@media(max-width:720px){.igs-identity-form-grid{grid-template-columns:1fr}.igs-identity-field.is-wide{grid-column:auto}.igs-identity-form-actions{align-items:stretch;flex-direction:column}.igs-identity-form-actions .irangs-button{justify-content:center;width:100%}}

/* v0.22 — navigation semantics: daily neutral, management green, system pink. */
.irangs-nav-item { transition: background-color .12s ease, color .12s ease, border-color .12s ease; border:1px solid transparent; }
.irangs-nav-item:hover { background:#f8fafc; color:#4338ca; }
.irangs-nav-item--management { color:#166534; }
.irangs-nav-item--management .material-symbols-outlined { color:#16a34a; }
.irangs-nav-item--management:hover,
.irangs-nav-item--management.active { background:#f0fdf4 !important; border-color:#bbf7d0; color:#166534 !important; }
.irangs-nav-item--system { color:#9d174d; }
.irangs-nav-item--system .material-symbols-outlined { color:#db2777; }
.irangs-nav-item--system:hover,
.irangs-nav-item--system.active { background:#fdf2f8 !important; border-color:#fbcfe8; color:#9d174d !important; }
.irangs-nav-group--management > h2 { color:#166534; }
.irangs-nav-group--system > h2 { color:#9d174d; }
.irangs-account-menu-mode__options .irangs-menu-mode--management.is-active { background:#16a34a; border-color:#16a34a; color:white; }
.irangs-account-menu-mode__options .irangs-menu-mode--system.is-active { background:#db2777; border-color:#db2777; color:white; }
html.dark .irangs-nav-item--management { color:#86efac; }
html.dark .irangs-nav-item--management:hover, html.dark .irangs-nav-item--management.active { background:#052e16 !important; border-color:#166534; color:#bbf7d0 !important; }
html.dark .irangs-nav-item--system { color:#f9a8d4; }
html.dark .irangs-nav-item--system:hover, html.dark .irangs-nav-item--system.active { background:#500724 !important; border-color:#9d174d; color:#fbcfe8 !important; }

/* Workspace setup wizard v0.23 — shares the existing Jango wizard language. */
.workspace-setup { --ws-border:#e2e8f0; --ws-soft:#f8fafc; --ws-text:#0f172a; --ws-muted:#64748b; }
.workspace-setup__hero { background:linear-gradient(135deg,#111827 0%,#312e81 58%,#4f46e5 100%); }
.workspace-setup__save-state { align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:14px;color:#fff;display:flex;gap:9px;padding:9px 12px;position:relative;z-index:1; }
.workspace-setup__save-state .material-symbols-outlined{font-size:22px}.workspace-setup__save-state small,.workspace-setup__save-state strong{display:block}.workspace-setup__save-state small{font-size:.62rem;opacity:.68}.workspace-setup__save-state strong{font-size:.72rem}.workspace-setup__save-state[data-state="saving"] .material-symbols-outlined{animation:ws-spin .9s linear infinite}.workspace-setup__save-state[data-state="error"]{background:rgba(127,29,29,.35);border-color:rgba(254,202,202,.35)}
@keyframes ws-spin{to{transform:rotate(360deg)}}
.workspace-setup__mode{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-4px}.workspace-setup__mode button{align-items:center;background:#fff;border:1px solid var(--ws-border);border-radius:14px;color:#475569;display:flex;gap:10px;padding:12px 14px;text-align:right}.workspace-setup__mode button>span:last-child{min-width:0}.workspace-setup__mode strong,.workspace-setup__mode small{display:block}.workspace-setup__mode small{font-size:.65rem;margin-top:2px}.workspace-setup__mode button.is-active{background:#eef2ff;border-color:#a5b4fc;color:#4338ca;box-shadow:0 8px 24px rgba(79,70,229,.08)}
.workspace-setup__steps{grid-template-columns:repeat(6,minmax(0,1fr))}
.workspace-module-grid,.workspace-role-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-module-option,.workspace-role-option{background:#fff;border:1px solid var(--ws-border);border-radius:15px;cursor:pointer;display:flex;gap:12px;min-width:0;padding:14px;position:relative;transition:.18s ease}.workspace-module-option:hover,.workspace-role-option:hover{border-color:#a5b4fc;box-shadow:0 8px 22px rgba(79,70,229,.07);transform:translateY(-1px)}.workspace-module-option>input,.workspace-role-option>input{accent-color:#4f46e5;margin-top:4px}.workspace-module-option>.material-symbols-outlined,.workspace-role-option__mark{background:#eef2ff;border-radius:11px;color:#4f46e5;font-size:21px;height:38px;padding:8px;width:38px}.workspace-module-option>span:last-child,.workspace-role-option>span:nth-of-type(2){min-width:0}.workspace-module-option strong,.workspace-module-option small,.workspace-module-option code,.workspace-role-option strong,.workspace-role-option small,.workspace-role-option em,.workspace-role-option code{display:block}.workspace-module-option strong,.workspace-role-option strong{color:#1e293b;font-size:.78rem}.workspace-module-option code,.workspace-role-option code{color:#6366f1;font-size:.62rem;margin-top:3px}.workspace-module-option small{color:#64748b;font-size:.64rem;margin-top:5px}.workspace-module-option:has(input:checked),.workspace-role-option:has(input:checked){background:#f7f7ff;border-color:#818cf8;box-shadow:inset 0 0 0 1px #c7d2fe}.workspace-module-option.is-disabled{cursor:not-allowed;opacity:.55}.workspace-role-option{padding-inline-end:52px}.workspace-role-option p{color:#64748b;font-size:.66rem;line-height:1.7;margin:6px 0}.workspace-role-option em{color:#7c3aed;font-size:.61rem;font-style:normal;margin-top:4px}.workspace-role-option>b{background:#ecfdf5;border-radius:99px;color:#047857;font-size:.58rem;padding:4px 7px;position:absolute;left:10px;top:10px}
.workspace-smart-note,.workspace-final-warning{align-items:flex-start;background:#f8fafc;border:1px solid var(--ws-border);border-radius:14px;color:#475569;display:flex;gap:10px;margin-top:16px;padding:13px}.workspace-smart-note>.material-symbols-outlined{color:#7c3aed}.workspace-final-warning{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.workspace-smart-note strong,.workspace-final-warning strong{display:block;font-size:.74rem}.workspace-smart-note p,.workspace-final-warning p{font-size:.67rem;line-height:1.75;margin:3px 0 0}
.workspace-owner-modes{display:grid;gap:11px;grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-owner-modes label{align-items:center;background:#fff;border:1px solid var(--ws-border);border-radius:14px;cursor:pointer;display:flex;gap:9px;padding:13px}.workspace-owner-modes label:has(input:checked){background:#eef2ff;border-color:#818cf8}.workspace-owner-modes input{accent-color:#4f46e5}.workspace-owner-modes .material-symbols-outlined{color:#6366f1}.workspace-owner-modes strong,.workspace-owner-modes small{display:block}.workspace-owner-modes strong{color:#1e293b;font-size:.72rem}.workspace-owner-modes small{color:#64748b;font-size:.61rem;margin-top:2px}.workspace-owner-panel{background:#f8fafc;border:1px solid var(--ws-border);border-radius:14px;margin-top:14px;padding:14px}.workspace-owner-common{margin-top:16px}.workspace-toggle-field{align-items:center;display:flex}.workspace-toggle-field label{align-items:center;display:flex;gap:8px;margin:0!important}
.workspace-bulk-add{background:#f8fafc;border:1px solid var(--ws-border);border-radius:15px;padding:14px}.workspace-bulk-add>label{color:#334155;display:block;font-size:.76rem;font-weight:800;margin-bottom:7px}.workspace-bulk-add textarea{background:#fff;border:1px solid #cbd5e1;border-radius:11px;box-sizing:border-box;min-height:82px;padding:10px 12px;width:100%}.workspace-bulk-add>div{align-items:center;display:flex;gap:10px;margin-top:9px}.workspace-bulk-add small{color:#64748b;font-size:.65rem}.workspace-member-list{display:grid;gap:12px;margin-top:14px}.workspace-member-row{background:#fff;border:1px solid var(--ws-border);border-radius:15px;overflow:hidden}.workspace-member-row__head{align-items:center;background:#f8fafc;border-bottom:1px solid var(--ws-border);display:flex;gap:7px;padding:9px 12px}.workspace-member-row__head>strong{color:#334155;font-size:.72rem;flex:1}.workspace-member-row__head>.material-symbols-outlined{color:#6366f1;font-size:19px}.workspace-member-remove{background:transparent;border:0;color:#b91c1c;cursor:pointer}.workspace-member-remove .material-symbols-outlined{font-size:19px}.workspace-member-row__grid{display:grid;gap:13px;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.workspace-member-flags{align-items:center;display:flex;gap:14px}.workspace-member-flags label{align-items:center;color:#475569;display:flex;font-size:.69rem;gap:6px}.workspace-member-row select[multiple]{min-height:96px}.workspace-add-row{align-items:center;background:transparent;border:1px dashed #a5b4fc;border-radius:13px;color:#4f46e5;cursor:pointer;display:flex;font-size:.72rem;font-weight:750;gap:6px;justify-content:center;margin-top:12px;padding:10px;width:100%}
.workspace-review-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-review-grid article{align-items:flex-start;background:#f8fafc;border:1px solid var(--ws-border);border-radius:14px;display:flex;gap:10px;padding:13px}.workspace-review-grid article>.material-symbols-outlined{background:#eef2ff;border-radius:9px;color:#4f46e5;font-size:19px;padding:7px}.workspace-review-grid small,.workspace-review-grid strong{display:block}.workspace-review-grid small{color:#64748b;font-size:.61rem}.workspace-review-grid strong{color:#1e293b;font-size:.8rem;margin-top:2px}.workspace-review-grid p{color:#64748b;font-size:.65rem;line-height:1.65;margin:3px 0 0;overflow-wrap:anywhere}.workspace-sharing-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:15px;display:grid;gap:12px;grid-template-columns:minmax(200px,.65fr) minmax(0,1.35fr);margin-top:16px;padding:14px}.workspace-sharing-confirm{align-items:flex-start;display:flex;gap:9px}.workspace-sharing-confirm strong,.workspace-sharing-confirm small{display:block}.workspace-sharing-confirm strong{color:#9a3412;font-size:.72rem}.workspace-sharing-confirm small{color:#9a3412;font-size:.64rem;line-height:1.6;margin-top:3px}.workspace-finalize{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important}.workspace-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;font-size:.7rem;padding:16px;text-align:center}
html.dark .workspace-setup{--ws-border:#334155;--ws-soft:#172033;--ws-text:#f8fafc;--ws-muted:#94a3b8}html.dark .workspace-setup__mode button,html.dark .workspace-module-option,html.dark .workspace-role-option,html.dark .workspace-member-row{background:#111827;border-color:#334155;color:#cbd5e1}html.dark .workspace-setup__mode button.is-active,html.dark .workspace-module-option:has(input:checked),html.dark .workspace-role-option:has(input:checked){background:#252551;border-color:#6366f1}html.dark .workspace-module-option strong,html.dark .workspace-role-option strong,html.dark .workspace-owner-modes strong,html.dark .workspace-review-grid strong{color:#f8fafc}html.dark .workspace-smart-note,html.dark .workspace-owner-panel,html.dark .workspace-bulk-add,html.dark .workspace-member-row__head,html.dark .workspace-review-grid article{background:#172033;border-color:#334155}html.dark .workspace-owner-modes label{background:#111827;border-color:#334155}html.dark .workspace-owner-modes label:has(input:checked){background:#252551;border-color:#6366f1}html.dark .workspace-sharing-box{background:rgba(154,52,18,.12);border-color:#9a3412}
@media(max-width:900px){.workspace-setup__steps button>span:last-child{display:none}.workspace-setup__steps button{justify-content:center}.workspace-owner-modes{grid-template-columns:1fr}.workspace-module-grid,.workspace-role-grid{grid-template-columns:1fr}}
@media(max-width:640px){.workspace-setup__mode,.workspace-review-grid,.workspace-member-row__grid,.workspace-sharing-box{grid-template-columns:1fr}.workspace-setup__save-state{align-self:flex-start}.workspace-bulk-add>div{align-items:stretch;flex-direction:column}.workspace-member-flags{align-items:flex-start;flex-direction:column}.workspace-role-option{padding-inline-end:14px}.workspace-role-option>b{position:static;align-self:flex-start}.workspace-setup .jango-wizard-actions .irangs-button{flex:1 1 auto}.workspace-setup__steps{overflow-x:auto}.workspace-setup__steps button{min-width:48px}}
.workspace-index-head{align-items:center}.workspace-index-create{margin:0}.workspace-index-create .irangs-button{align-items:center;display:flex;gap:7px}.workspace-section-title{margin:2px 0 12px}.workspace-section-title>div{align-items:flex-start;display:flex;gap:9px}.workspace-section-title .material-symbols-outlined{color:#6366f1}.workspace-section-title h2{color:#0f172a;font-size:.92rem;margin:0}.workspace-section-title p{color:#64748b;font-size:.68rem;line-height:1.7;margin:3px 0 0}.workspace-setup-list{margin:18px 0 24px}.workspace-setup-strip{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.workspace-setup-chip{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:13px}.workspace-setup-chip.is-failed{border-color:#fdba74}.workspace-setup-chip__head{align-items:flex-start;display:flex;gap:9px}.workspace-setup-chip__head>.material-symbols-outlined{background:#eef2ff;border-radius:9px;color:#4f46e5;padding:6px}.workspace-setup-chip__head strong,.workspace-setup-chip__head small{display:block}.workspace-setup-chip__head strong{color:#1e293b;font-size:.75rem}.workspace-setup-chip__head small{color:#64748b;font-size:.61rem;margin-top:2px}.workspace-setup-chip>p{color:#64748b;font-size:.65rem;margin:8px 0}.workspace-setup-progress{background:#e2e8f0;border-radius:99px;height:5px;margin-top:10px;overflow:hidden}.workspace-setup-progress span{background:linear-gradient(90deg,#4f46e5,#7c3aed);display:block;height:100%}.workspace-card-setup{align-items:center;display:grid;gap:8px;grid-template-columns:auto 1fr auto;margin:0 0 12px}.workspace-card-setup>span,.workspace-card-setup>b{color:#64748b;font-size:.62rem}.workspace-card-setup>div{background:#e2e8f0;border-radius:99px;height:5px;overflow:hidden}.workspace-card-setup i{background:#22c55e;display:block;height:100%}.workspace-card-setup.is-needs_action i{background:#f59e0b}.workspace-card-setup.is-provisioning i{background:#6366f1}.workspace-card-warning{align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;border-radius:11px;color:#9a3412;display:flex;font-size:.65rem;gap:7px;line-height:1.65;margin:0 0 10px;padding:9px}.workspace-card-warning .material-symbols-outlined{font-size:18px}.workspace-card-warning.is-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}html.dark .workspace-section-title h2,html.dark .workspace-setup-chip__head strong{color:#f8fafc}html.dark .workspace-setup-chip{background:#111827;border-color:#334155}html.dark .workspace-setup-progress,html.dark .workspace-card-setup>div{background:#334155}@media(max-width:640px){.workspace-index-head{align-items:stretch}.workspace-index-create .irangs-button{justify-content:center;width:100%}}

/* v0.23.0 tenant-local workspace settings */
.workspace-card-actions{display:flex;flex-wrap:wrap;gap:8px}.workspace-card-actions .irangs-button{align-items:center;display:inline-flex;gap:6px}.workspace-card-actions .material-symbols-outlined{font-size:18px}
.workspace-settings-page{max-width:1080px;margin:0 auto}.workspace-settings-head{align-items:flex-start;gap:18px}.workspace-settings-head>.irangs-button{align-items:center;display:inline-flex;flex:0 0 auto;gap:6px}.workspace-settings-eyebrow{align-items:center;color:#6366f1;display:flex;font-size:.68rem;font-weight:800;gap:6px;margin-bottom:5px}.workspace-settings-eyebrow .material-symbols-outlined{font-size:18px}.workspace-settings-form{display:grid;gap:14px;margin-top:18px}.workspace-settings-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;box-shadow:0 8px 26px rgba(15,23,42,.035);padding:18px}.workspace-settings-card__head{align-items:flex-start;border-bottom:1px solid #eef2f7;display:flex;gap:10px;margin-bottom:16px;padding-bottom:13px}.workspace-settings-card__head>.material-symbols-outlined{background:#eef2ff;border-radius:11px;color:#4f46e5;font-size:21px;padding:8px}.workspace-settings-card__head h2{color:#0f172a;font-size:.86rem;margin:0}.workspace-settings-card__head p{color:#64748b;font-size:.66rem;line-height:1.7;margin:3px 0 0}.workspace-settings-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-settings-field{min-width:0}.workspace-settings-field--wide{grid-column:1/-1}.workspace-settings-field--grow{flex:1}.workspace-settings-field>label{color:#334155;display:block;font-size:.7rem;font-weight:800;margin-bottom:6px}.workspace-settings-input{background:#fff;border:1px solid #cbd5e1;border-radius:11px;box-sizing:border-box;color:#0f172a;font:inherit;font-size:.72rem;min-height:42px;padding:9px 11px;width:100%}.workspace-settings-input:focus{border-color:#818cf8;box-shadow:0 0 0 3px rgba(99,102,241,.10);outline:0}.workspace-settings-field textarea.workspace-settings-input{min-height:92px;resize:vertical}.workspace-settings-field small{color:#64748b;display:block;font-size:.61rem;line-height:1.6;margin-top:5px}.workspace-settings-field .errorlist,.workspace-settings-errors .errorlist{color:#b91c1c;font-size:.64rem;line-height:1.6;margin:6px 0 0;padding:0;list-style:none}.workspace-settings-errors{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:10px 12px}.workspace-settings-logo-row{align-items:center;display:flex;gap:16px}.workspace-settings-logo-preview{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;display:flex;flex:0 0 92px;height:92px;justify-content:center;overflow:hidden;width:92px}.workspace-settings-logo-preview img{height:100%;object-fit:contain;width:100%}.workspace-settings-logo-preview .material-symbols-outlined{color:#94a3b8;font-size:38px}.workspace-settings-check{align-items:center;color:#475569;display:flex!important;font-size:.66rem!important;font-weight:600!important;gap:7px;margin-top:9px!important}.workspace-settings-warning{align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;border-radius:13px;color:#9a3412;display:flex;gap:9px;margin-top:14px;padding:11px 13px}.workspace-settings-warning .material-symbols-outlined{font-size:20px}.workspace-settings-warning strong,.workspace-settings-warning p{display:block}.workspace-settings-warning strong{font-size:.7rem}.workspace-settings-warning p{font-size:.64rem;margin:2px 0 0}.workspace-settings-actions{display:flex;gap:9px;justify-content:flex-end;padding:4px 0 8px}.workspace-settings-actions .irangs-button{align-items:center;display:inline-flex;gap:6px}
html.dark .workspace-settings-card{background:#111827;border-color:#334155}html.dark .workspace-settings-card__head{border-color:#273449}html.dark .workspace-settings-card__head h2,html.dark .workspace-settings-field>label{color:#f8fafc}html.dark .workspace-settings-input{background:#172033;border-color:#475569;color:#f8fafc}html.dark .workspace-settings-logo-preview{background:#172033;border-color:#334155}
@media(max-width:640px){.workspace-settings-head{align-items:stretch}.workspace-settings-grid{grid-template-columns:1fr}.workspace-settings-field--wide{grid-column:auto}.workspace-settings-logo-row{align-items:stretch;flex-direction:column}.workspace-settings-logo-preview{height:82px;width:82px}.workspace-settings-actions{flex-direction:column-reverse}.workspace-settings-actions .irangs-button{justify-content:center;width:100%}}

/* IGS v0.25.0 — canonical Workspace Control Center */
.workspace-control{max-width:1280px;margin:0 auto}.workspace-control__head{align-items:center;background:linear-gradient(135deg,rgba(79,70,229,.08),rgba(14,165,233,.045));border:1px solid #dbe4f0;border-radius:22px;display:flex;gap:18px;justify-content:space-between;padding:20px 22px}.workspace-control__identity{align-items:center;display:flex;gap:14px;min-width:0}.workspace-control__logo{align-items:center;background:#fff;border:1px solid #dbe4f0;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.05);display:flex;flex:0 0 68px;height:68px;justify-content:center;overflow:hidden;width:68px}.workspace-control__logo img{height:100%;object-fit:contain;width:100%}.workspace-control__logo .material-symbols-outlined{color:#6366f1;font-size:34px}.workspace-control__eyebrow{align-items:center;color:#6366f1;display:flex;font-size:.67rem;font-weight:800;gap:9px;margin-bottom:5px}.workspace-control__eyebrow code{background:rgba(99,102,241,.08);border-radius:8px;color:#475569;font-size:.6rem;padding:3px 6px}.workspace-control__identity h1{color:#0f172a;font-size:1.25rem;margin:0}.workspace-control__identity p{color:#64748b;font-size:.7rem;line-height:1.8;margin:5px 0 0;max-width:720px}.workspace-control__head-actions,.workspace-control__section-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.workspace-control__head-actions .irangs-button,.workspace-control__section-actions .irangs-button{align-items:center;display:inline-flex;gap:5px;white-space:nowrap}.workspace-control__notice{align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;color:#9a3412;display:flex;gap:10px;margin-top:14px;padding:11px 13px}.workspace-control__notice.is-neutral{background:#f8fafc;border-color:#dbe4f0;color:#475569}.workspace-control__notice>.material-symbols-outlined{font-size:21px}.workspace-control__notice strong{display:block;font-size:.7rem}.workspace-control__notice p{font-size:.64rem;line-height:1.7;margin:2px 0 0}.workspace-control__layout{align-items:start;display:grid;gap:16px;grid-template-columns:220px minmax(0,1fr);margin-top:16px}.workspace-control__nav{background:#fff;border:1px solid #e2e8f0;border-radius:18px;display:grid;gap:4px;padding:8px;position:sticky;top:78px}.workspace-control__nav a{align-items:center;border-radius:11px;color:#475569;display:flex;font-size:.68rem;font-weight:750;gap:8px;padding:9px 10px;text-decoration:none;transition:.15s ease}.workspace-control__nav a:hover{background:#f8fafc;color:#312e81}.workspace-control__nav a.is-active{background:#eef2ff;color:#4338ca}.workspace-control__nav a.is-danger{color:#b91c1c}.workspace-control__nav a.is-danger.is-active{background:#fef2f2}.workspace-control__nav .material-symbols-outlined{font-size:19px}.workspace-control__content{min-width:0}.workspace-control__section-head{align-items:flex-start;display:flex;gap:14px;justify-content:space-between;margin:3px 0 14px}.workspace-control__section-head h2{color:#0f172a;font-size:1rem;margin:0}.workspace-control__section-head p{color:#64748b;font-size:.68rem;line-height:1.7;margin:4px 0 0}.workspace-control__kpis{display:grid;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:14px}.workspace-control__kpis--compact{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-control__kpis article{background:#fff;border:1px solid #e2e8f0;border-radius:15px;display:grid;gap:2px;min-width:0;padding:13px}.workspace-control__kpis article>.material-symbols-outlined{color:#6366f1;font-size:20px}.workspace-control__kpis strong{color:#0f172a;font-size:1.15rem}.workspace-control__kpis small{color:#64748b;font-size:.61rem}.workspace-control__grid-two{display:grid;gap:13px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:13px}.workspace-control__card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;box-shadow:0 8px 26px rgba(15,23,42,.03);margin-bottom:13px;padding:16px}.workspace-control__card-head{align-items:flex-start;border-bottom:1px solid #edf2f7;display:flex;gap:9px;margin-bottom:13px;padding-bottom:11px}.workspace-control__card-head>.material-symbols-outlined{background:#eef2ff;border-radius:10px;color:#4f46e5;font-size:20px;padding:7px}.workspace-control__card-head h3{color:#0f172a;font-size:.78rem;margin:0}.workspace-control__card-head p{color:#64748b;font-size:.62rem;line-height:1.7;margin:2px 0 0}.workspace-control__facts{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.workspace-control__facts div{background:#f8fafc;border-radius:10px;display:flex;gap:8px;justify-content:space-between;padding:8px 9px}.workspace-control__facts dt{color:#64748b;font-size:.59rem}.workspace-control__facts dd{color:#1e293b;font-size:.61rem;font-weight:750;margin:0;text-align:left}.workspace-control__warnings{display:grid;gap:8px}.workspace-control__warnings>div{align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;border-radius:11px;color:#9a3412;display:flex;font-size:.62rem;gap:7px;line-height:1.7;padding:8px 9px}.workspace-control__warnings .material-symbols-outlined{font-size:17px}.workspace-control__empty{color:#64748b;font-size:.64rem;padding:12px;text-align:center}.workspace-control__empty.is-ok{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:11px;color:#166534;display:flex;gap:7px;justify-content:center}.workspace-control__timeline{display:grid;gap:0}.workspace-control__timeline>div{border-right:2px solid #e2e8f0;display:grid;gap:1px;margin-right:6px;padding:5px 13px 10px 0;position:relative}.workspace-control__timeline>div:before{background:#818cf8;border:3px solid #eef2ff;border-radius:50%;content:"";height:8px;position:absolute;right:-5px;top:9px;width:8px}.workspace-control__timeline time{color:#64748b;font-size:.55rem}.workspace-control__timeline strong{color:#1e293b;font-size:.64rem}.workspace-control__timeline small,.workspace-control__timeline code{color:#64748b;font-size:.56rem}.workspace-control__timeline--full>div{padding-bottom:13px}.workspace-control__status{background:#f1f5f9;border-radius:999px;color:#475569;display:inline-flex;font-size:.56rem;font-weight:800;padding:4px 8px;white-space:nowrap}.workspace-control__status.is-active,.workspace-control__status.is-accepted,.workspace-control__status.is-ready{background:#ecfdf5;color:#047857}.workspace-control__status.is-suspended,.workspace-control__status.is-declined,.workspace-control__status.is-revoked,.workspace-control__status.is-archived{background:#fef2f2;color:#b91c1c}.workspace-control__status.is-pending,.workspace-control__status.is-provisioning{background:#fffbeb;color:#a16207}.workspace-control__status.is-ended,.workspace-control__status.is-superseded,.workspace-control__status.is-expired{background:#f1f5f9;color:#64748b}.workspace-control__search{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;display:flex;gap:7px;margin-bottom:12px;padding:6px}.workspace-control__search>.material-symbols-outlined{color:#94a3b8;font-size:20px;margin-right:4px}.workspace-control__search input{background:transparent;border:0;color:#0f172a;flex:1;font:inherit;font-size:.68rem;min-width:80px;outline:0;padding:7px}.workspace-control__table-wrap{overflow-x:auto}.workspace-control__table{border-collapse:separate;border-spacing:0;width:100%}.workspace-control__table th{border-bottom:1px solid #e2e8f0;color:#64748b;font-size:.58rem;font-weight:800;padding:8px;text-align:right;white-space:nowrap}.workspace-control__table td{border-bottom:1px solid #f1f5f9;color:#334155;font-size:.62rem;padding:9px 8px;vertical-align:middle}.workspace-control__table tbody tr:last-child td{border-bottom:0}.workspace-control__table td strong,.workspace-control__table td small{display:block}.workspace-control__table td strong{color:#0f172a;font-size:.64rem}.workspace-control__table td small{color:#94a3b8;font-size:.54rem;margin-top:2px}.workspace-control__pill{background:#eef2ff;border-radius:7px;color:#4338ca;display:inline-block;font-size:.53rem;margin:2px;padding:3px 5px}.workspace-control__muted{color:#94a3b8}.workspace-control__icon-link{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#475569;display:inline-flex;height:30px;justify-content:center;text-decoration:none;width:30px}.workspace-control__icon-link .material-symbols-outlined{font-size:17px}.workspace-control__risk{background:#fef2f2;border-radius:7px;color:#b91c1c;font-weight:800;padding:3px 6px}.workspace-control__hint{color:#64748b;font-size:.56rem;margin:8px 0 0}.workspace-control__module-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-control__module{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:15px}.workspace-control__module-head{align-items:center;display:flex;gap:8px}.workspace-control__module-head>.material-symbols-outlined{background:#eef2ff;border-radius:10px;color:#4f46e5;font-size:20px;padding:7px}.workspace-control__module-head>div{display:grid;flex:1;min-width:0}.workspace-control__module-head strong{color:#0f172a;font-size:.69rem}.workspace-control__module-head code{color:#64748b;font-size:.54rem}.workspace-control__module>p{color:#64748b;font-size:.6rem;line-height:1.7;min-height:34px}.workspace-control__module .workspace-control__facts{margin:10px 0}.workspace-control__inline-error{background:#fef2f2;border:1px solid #fecaca;border-radius:9px;color:#b91c1c;font-size:.57rem;margin:8px 0;padding:7px}.workspace-control__isolation{align-items:flex-start;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:16px;color:#166534;display:flex;gap:11px;margin-bottom:13px;padding:14px}.workspace-control__isolation.is-review{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.workspace-control__isolation>.material-symbols-outlined{font-size:26px}.workspace-control__isolation strong{font-size:.74rem}.workspace-control__isolation p{font-size:.62rem;line-height:1.7;margin:3px 0 0}.workspace-control__rule{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:8px;padding:8px 0}.workspace-control__rule:last-child{border-bottom:0}.workspace-control__rule>div{display:grid;flex:1}.workspace-control__rule strong{color:#1e293b;font-size:.63rem}.workspace-control__rule small{color:#64748b;font-size:.55rem}.workspace-control__danger-grid{display:grid;gap:12px}.workspace-control__danger-card{align-items:flex-start;background:#fff;border:1px solid #fecaca;border-radius:17px;display:grid;gap:13px;grid-template-columns:minmax(0,1fr) minmax(250px,360px);padding:16px}.workspace-control__danger-card.is-disabled{background:#f8fafc;border-color:#e2e8f0}.workspace-control__danger-card>div>.material-symbols-outlined{color:#dc2626;font-size:24px}.workspace-control__danger-card h3{color:#991b1b;font-size:.76rem;margin:4px 0}.workspace-control__danger-card p{color:#64748b;font-size:.61rem;line-height:1.8;margin:0}.workspace-control__danger-card form{display:grid;gap:8px}.workspace-control__danger-card input{background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-sizing:border-box;font:inherit;font-size:.63rem;padding:9px;width:100%}.workspace-control__blocked{align-self:center;background:#f1f5f9;border-radius:10px;color:#64748b;font-size:.61rem;padding:10px;text-align:center}
html.dark .workspace-control__head,html.dark .workspace-control__nav,html.dark .workspace-control__card,html.dark .workspace-control__kpis article,html.dark .workspace-control__module,html.dark .workspace-control__danger-card{background:#111827;border-color:#334155}html.dark .workspace-control__identity h1,html.dark .workspace-control__section-head h2,html.dark .workspace-control__card-head h3,html.dark .workspace-control__module-head strong,html.dark .workspace-control__table td strong,html.dark .workspace-control__kpis strong{color:#f8fafc}html.dark .workspace-control__nav a{color:#cbd5e1}html.dark .workspace-control__nav a:hover{background:#172033}html.dark .workspace-control__facts div,html.dark .workspace-control__search,html.dark .workspace-control__icon-link{background:#172033;border-color:#334155}html.dark .workspace-control__facts dd,html.dark .workspace-control__table td,html.dark .workspace-control__search input{color:#e2e8f0}html.dark .workspace-control__table th,html.dark .workspace-control__table td,html.dark .workspace-control__rule,html.dark .workspace-control__card-head{border-color:#273449}
@media(max-width:980px){.workspace-control__head{align-items:flex-start;flex-direction:column}.workspace-control__head-actions{width:100%}.workspace-control__layout{grid-template-columns:1fr}.workspace-control__nav{display:flex;overflow-x:auto;position:static;scrollbar-width:thin}.workspace-control__nav a{flex:0 0 auto}.workspace-control__kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-control__module-grid{grid-template-columns:1fr}}
@media(max-width:640px){.workspace-control__head{border-radius:16px;padding:14px}.workspace-control__identity{align-items:flex-start}.workspace-control__logo{flex-basis:52px;height:52px;width:52px}.workspace-control__identity h1{font-size:1rem}.workspace-control__head-actions{display:grid;grid-template-columns:1fr}.workspace-control__head-actions .irangs-button{justify-content:center}.workspace-control__section-head{flex-direction:column}.workspace-control__section-actions{display:grid;grid-template-columns:1fr;width:100%}.workspace-control__section-actions .irangs-button,.workspace-control__section-actions form,.workspace-control__section-actions button{box-sizing:border-box;justify-content:center;width:100%}.workspace-control__kpis,.workspace-control__kpis--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-control__grid-two,.workspace-control__facts{grid-template-columns:1fr}.workspace-control__card{border-radius:14px;padding:12px}.workspace-control__search{align-items:stretch;display:grid;grid-template-columns:auto 1fr}.workspace-control__search button{grid-column:1/-1}.workspace-control__danger-card{grid-template-columns:1fr}.workspace-control__nav{margin:0 -2px}.workspace-control__nav a{padding:8px}.workspace-control__nav a span:last-child{white-space:nowrap}}

/* IGS 0.26.0 — canonical Profile 360 Control Center */
.igs360-control-center{max-width:1500px}.igs360-hero--control{position:relative;overflow:hidden}.igs360-hero--control:after{content:"";position:absolute;inset:auto -80px -110px auto;width:260px;height:260px;border-radius:50%;background:rgba(99,102,241,.07);pointer-events:none}.igs360-actions--compact{align-items:flex-end}.igs360-tabs{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;padding:5px 2px 8px;scrollbar-width:thin}.igs360-tab{align-items:center;background:#fff;border:1px solid #dbe3ee;border-radius:13px;color:#64748b;display:inline-flex;flex:0 0 auto;font-size:.76rem;font-weight:800;gap:7px;min-height:44px;padding:9px 13px;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,color .16s ease,background .16s ease}.igs360-tab .material-symbols-outlined{font-size:19px}.igs360-tab:hover{border-color:#a5b4fc;color:#4338ca}.igs360-tab.is-active{background:#eef2ff;border-color:#a5b4fc;box-shadow:0 5px 18px rgba(79,70,229,.09);color:#4338ca}.igs360-tab-panel{display:grid;gap:14px}.igs360-section-intro{align-items:center;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #dbe3ee;border-radius:18px;display:flex;gap:16px;justify-content:space-between;padding:17px 18px}.igs360-section-intro>div{align-items:flex-start;display:flex;gap:12px}.igs360-section-intro>div>.material-symbols-outlined{align-items:center;background:#eef2ff;border-radius:12px;color:#4f46e5;display:flex;height:43px;justify-content:center;min-width:43px}.igs360-section-intro h2{color:#172033;font-size:1rem;margin:0}.igs360-section-intro p{color:#64748b;font-size:.74rem;line-height:1.8;margin:3px 0 0}.igs360-head-link{color:#4f46e5;font-size:.72rem;font-weight:800;white-space:nowrap}.igs360-workspaces--compact .igs360-workspace{padding:13px}.igs360-workspaces--compact .igs360-access-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.igs360-merge-banner{background:#fffbeb!important;border-color:#f59e0b!important}.igs360-inline-workflow{scroll-margin-top:80px}.igs360-danger-card{border-color:#fecdd3!important}.igs360-danger-card>.igs360-card__head,.igs360-danger-card>header{border-color:#ffe4e6!important}.igs360-danger-card>.igs360-card__head .material-symbols-outlined,.igs360-danger-card>header .material-symbols-outlined{color:#be123c}.igs360-security-kpis{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.igs360-security-kpis article{background:#fff;border:1px solid #dbe3ee;border-radius:16px;display:grid;gap:4px;min-height:105px;padding:15px}.igs360-security-kpis article>.material-symbols-outlined{color:#4f46e5;font-size:24px}.igs360-security-kpis small{color:#64748b;font-size:.68rem}.igs360-security-kpis strong{color:#172033;font-size:.8rem;line-height:1.6}.igs360-security-form{display:grid;gap:16px}.igs360-policy-grid{display:grid;gap:11px;grid-template-columns:repeat(3,minmax(0,1fr))}.igs360-policy-option{align-items:flex-start;background:#f8fafc;border:1px solid #dbe3ee;border-radius:14px;cursor:pointer;display:grid;gap:9px;grid-template-columns:auto auto minmax(0,1fr);padding:13px}.igs360-policy-option>input{height:18px;margin-top:4px;width:18px}.igs360-policy-option>.material-symbols-outlined{align-items:center;background:#eef2ff;border-radius:9px;color:#4f46e5;display:flex;height:34px;justify-content:center;width:34px}.igs360-policy-option strong{color:#1e293b;display:block;font-size:.76rem}.igs360-policy-option small{color:#64748b;display:block;font-size:.66rem;line-height:1.7;margin-top:2px}.igs360-form-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-form-field{display:grid;gap:6px}.igs360-form-field.is-wide{grid-column:1/-1}.igs360-form-field>label{color:#334155;font-size:.73rem;font-weight:800}.igs360-form-field input:not([type=checkbox]),.igs360-form-field select,.igs360-form-field textarea{background:#fff;border:1px solid #dbe3ee;border-radius:11px;color:#0f172a;min-height:43px;padding:9px 11px;width:100%}.igs360-form-field textarea{line-height:1.8;min-height:82px}.igs360-form-field small{color:#64748b;font-size:.65rem}.igs360-form-field .errorlist{color:#b91c1c;font-size:.68rem;margin:0;padding:0;list-style:none}.igs360-checkline{align-items:center!important;display:flex!important;gap:8px}.igs360-checkline input{height:18px;width:18px}.igs360-form-actions{align-items:center;border-top:1px solid #eef2f7;display:flex;gap:10px;padding-top:14px}.igs360-security-action-grid{display:grid;gap:11px;grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-security-action-grid article{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);padding:13px}.igs360-security-action-grid article>.material-symbols-outlined{align-items:center;background:#fff1f2;border-radius:10px;color:#be123c;display:flex;height:38px;justify-content:center;width:38px}.igs360-security-action-grid article>div strong{color:#1e293b;display:block;font-size:.76rem}.igs360-security-action-grid article>div small{color:#64748b;display:block;font-size:.66rem;line-height:1.7}.igs360-security-action-grid article>.irangs-button{grid-column:1/-1;justify-content:center}.igs360-contact-cards{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-contact-cards>article{align-items:flex-start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;display:flex;gap:11px;padding:13px}.igs360-contact-cards>article>.material-symbols-outlined{color:#4f46e5}.igs360-contact-cards small{color:#64748b;display:block;font-size:.66rem}.igs360-contact-cards strong{color:#1e293b;display:block;font-size:.78rem;margin-top:2px;overflow-wrap:anywhere}.igs360-contact-cards p{color:#64748b;font-size:.68rem;line-height:1.7;margin:4px 0 0}.igs360-record-list{display:grid;gap:9px}.igs360-record-list article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;padding:12px}.igs360-record-list strong{color:#1e293b;display:block;font-size:.76rem}.igs360-record-list p{color:#475569;font-size:.7rem;line-height:1.8;margin:5px 0}.igs360-record-list small{color:#94a3b8;font-size:.64rem}.igs360-history-stack{display:grid;gap:14px}.jango-person-picker--locked .jango-selected-person{border-color:#a5b4fc;background:#f5f7ff}.jango-selected-person.is-locked{grid-template-columns:auto minmax(0,1fr) auto}.jango-person-lock{align-items:center;background:#eef2ff;border-radius:999px;color:#4338ca;display:inline-flex;font-size:.68rem;font-weight:800;gap:4px;padding:6px 9px}.jango-person-lock .material-symbols-outlined{font-size:16px}
html.dark .igs360-tab,html.dark .igs360-section-intro,html.dark .igs360-security-kpis article,html.dark .igs360-form-field input:not([type=checkbox]),html.dark .igs360-form-field select,html.dark .igs360-form-field textarea,html.dark .igs360-security-action-grid article{background:#111827;border-color:#334155}html.dark .igs360-tab{color:#94a3b8}html.dark .igs360-tab.is-active{background:#1e1b4b;border-color:#4f46e5;color:#c7d2fe}html.dark .igs360-section-intro h2,html.dark .igs360-security-kpis strong,html.dark .igs360-policy-option strong,html.dark .igs360-security-action-grid article>div strong,html.dark .igs360-contact-cards strong,html.dark .igs360-record-list strong{color:#f8fafc}html.dark .igs360-policy-option,html.dark .igs360-contact-cards>article,html.dark .igs360-record-list article{background:#0f172a;border-color:#334155}html.dark .igs360-form-field>label{color:#e2e8f0}html.dark .igs360-form-actions{border-color:#334155}.jango-person-picker--locked .jango-selected-person{box-shadow:none}
@media(max-width:980px){.igs360-security-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.igs360-policy-grid{grid-template-columns:1fr}.igs360-security-action-grid{grid-template-columns:1fr}}
@media(max-width:720px){.igs360-section-intro{align-items:stretch;flex-direction:column}.igs360-section-intro>.irangs-button{justify-content:center;width:100%}.igs360-tabs{margin-inline:-2px}.igs360-form-grid,.igs360-contact-cards,.igs360-workspaces--compact .igs360-access-grid{grid-template-columns:1fr}.igs360-form-actions{align-items:stretch;flex-direction:column}.igs360-form-actions .irangs-button{justify-content:center;width:100%}}
@media(max-width:480px){.igs360-security-kpis{grid-template-columns:1fr}.igs360-tab{padding:8px 10px}.igs360-tab .material-symbols-outlined{font-size:18px}}

/* IGS 0.28.0 — isolated Support Session */
.igs-support-banner{position:sticky;top:0;z-index:9999;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;background:#fff7ed;border-bottom:1px solid #fdba74;color:#7c2d12;box-shadow:0 4px 18px rgba(124,45,18,.08)}
.igs-support-banner__identity,.igs-support-banner__actions{display:flex;align-items:center;gap:10px}.igs-support-banner__identity>span{font-size:26px}.igs-support-banner__identity div{display:flex;flex-direction:column;gap:1px}.igs-support-banner__identity small{color:#9a3412}.igs-support-banner__actions form{margin:0}.igs-support-banner__actions button{border:1px solid #fb923c;background:#fff;color:#9a3412;border-radius:10px;padding:7px 11px;cursor:pointer;font:inherit;font-weight:700}.igs-support-banner__actions button.is-danger{border-color:#ef4444;color:#b91c1c;background:#fff1f2}.irangs-button--support{background:#7c3aed!important;border-color:#7c3aed!important;color:#fff!important}.igs360-support-launch{display:inline-flex;margin:0}
@media(max-width:720px){.igs-support-banner{align-items:flex-start;flex-direction:column}.igs-support-banner__actions{width:100%;flex-wrap:wrap}.igs-support-banner__actions button{width:100%}.igs-support-banner__actions form{flex:1}.igs360-support-launch{width:100%}.igs360-support-launch button{width:100%}}

/* v0.30 — Profile 360 provisioning entitlement */
.igs360-provisioning-card{display:grid;gap:16px}.igs360-inline-workflow{display:grid;gap:16px}.igs360-grant-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.igs360-grant-grid>label{display:grid;gap:6px;min-width:0}.igs360-grant-grid>label.is-wide{grid-column:1/-1}.igs360-grant-grid label>span,.igs360-grant-modules>strong{color:#475569;font-size:.73rem;font-weight:800}.igs360-grant-grid input,.igs360-grant-grid select,.igs360-grant-grid textarea{background:#fff;border:1px solid #dbe3ee;border-radius:11px;box-sizing:border-box;min-height:42px;padding:8px 10px;width:100%}.igs360-grant-grid textarea{min-height:72px;resize:vertical}.igs360-grant-modules{display:grid;gap:9px}.igs360-grant-module-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.igs360-grant-module-grid>label{align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:11px;display:flex;gap:8px;min-height:42px;padding:8px 10px}.igs360-grant-module-grid>label span{font-size:.76rem;font-weight:700}.igs360-grant-revoke{align-items:center;border-top:1px dashed #e2e8f0;display:flex;gap:8px;padding-top:13px}.igs360-grant-revoke input{border:1px solid #dbe3ee;border-radius:10px;min-height:40px;padding:7px 10px;flex:1;min-width:180px}@media(max-width:900px){.igs360-grant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.igs360-grant-grid{grid-template-columns:1fr}.igs360-grant-grid>label.is-wide{grid-column:auto}.igs360-grant-revoke{align-items:stretch;flex-direction:column}.igs360-grant-revoke input{width:100%}}

/* IGS v0.31.2 — unified Work Center */
.irangs-work-center-head { align-items: flex-end; margin-bottom: 18px; }
.irangs-work-center-kicker { color: #4f46e5; display: block; font-size: .78rem; font-weight: 800; margin-bottom: 4px; }
.irangs-work-filters { display: grid; gap: 10px; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0 0 16px; }
.irangs-work-filters button, .irangs-work-filters a { appearance: none; background: var(--irangs-surface, #fff); border: 1px solid var(--irangs-border, #e2e8f0); border-radius: 14px; color: var(--irangs-muted, #64748b); cursor: pointer; min-width: 0; padding: 12px 10px; text-align: right; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.irangs-work-filters a { display: block; text-decoration: none; }
.irangs-work-filters button:hover, .irangs-work-filters a:hover { border-color: #c7d2fe; transform: translateY(-1px); }
.irangs-work-filters button.is-active, .irangs-work-filters a.is-active { background: #eef2ff; border-color: #a5b4fc; box-shadow: 0 6px 18px rgba(79,70,229,.08); color: #3730a3; }
.irangs-work-filters strong { color: inherit; display: block; font-size: 1.25rem; line-height: 1.2; }
.irangs-work-filters span { display: block; font-size: .78rem; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irangs-work-center-list { padding: 14px; }
.irangs-work-card { align-items: stretch; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; }
.irangs-work-card__main { min-width: 0; }
.irangs-work-card__topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 7px; }
.irangs-work-card__badges { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.irangs-work-badge { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; color: #475569; display: inline-flex; font-size: .69rem; font-weight: 750; line-height: 1; padding: 5px 8px; }
.irangs-work-badge.is-assigned { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.irangs-work-badge.is-reminder { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.irangs-work-badge.is-danger { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.irangs-work-badge.is-today { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.irangs-work-badge.is-waiting { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.irangs-work-badge.is-critical { background: #fff1f2; border-color: #fda4af; color: #be123c; }
.irangs-work-card__origin { color: #94a3b8; flex: 0 0 auto; white-space: nowrap; }
.irangs-work-card h2 { font-size: 1rem; margin: 0 0 5px; }
.irangs-work-card h2 a { color: var(--irangs-text, #111827); text-decoration: none; }
.irangs-work-contexts { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.irangs-work-contexts a, .irangs-work-contexts span { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; color: #475569; font-size: .72rem; max-width: 260px; overflow: hidden; padding: 4px 7px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.irangs-work-contexts a:hover { border-color: #a5b4fc; color: #4338ca; }
.irangs-work-card__meta { color: #64748b; display: flex; flex-wrap: wrap; font-size: .75rem; gap: 7px 16px; margin-top: 10px; }
.irangs-work-card__meta b { color: #475569; font-weight: 750; }
.irangs-work-assignment-note { background: #f8fafc; border-inline-start: 3px solid #818cf8; border-radius: 8px; color: #475569; font-size: .78rem; margin-top: 10px; padding: 8px 10px; }
.irangs-work-card .irangs-work-actions { align-content: center; align-items: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 138px; }
.irangs-work-card .irangs-work-actions form, .irangs-work-card .irangs-work-actions button { width: 100%; }
.irangs-work-open { color: #4f46e5; font-size: .76rem; font-weight: 750; padding: 4px 8px; text-align: center; text-decoration: none; }
.irangs-work-center-empty { display: grid; gap: 4px; min-height: 100px; place-content: center; text-align: center; }
.irangs-work-center-empty span { color: #64748b; }
.irangs-work-filter-empty { margin: 0; }
html.dark .irangs-work-filters button.is-active, html.dark .irangs-work-filters a.is-active { background: #24254a; border-color: #6366f1; color: #c7d2fe; }
html.dark .irangs-work-badge, html.dark .irangs-work-contexts a, html.dark .irangs-work-contexts span, html.dark .irangs-work-assignment-note { background: #172033; border-color: #334155; color: #cbd5e1; }
html.dark .irangs-work-card h2 a, html.dark .irangs-work-card__meta b { color: #f8fafc; }
@media (max-width: 1100px) { .irangs-work-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .irangs-work-filters { display: flex; margin-inline: -4px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
  .irangs-work-filters::-webkit-scrollbar { display: none; }
  .irangs-work-filters button, .irangs-work-filters a { flex: 0 0 108px; }
  .irangs-work-card { grid-template-columns: 1fr; }
  .irangs-work-card__topline { align-items: flex-start; flex-direction: column; }
  .irangs-work-card .irangs-work-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .irangs-work-card .irangs-work-actions form { flex: 1 1 130px; }
  .irangs-work-open { flex: 1 0 100%; }
}

/* IGS v0.31.2 — quick Work capture */
.irangs-quick-work-form { display: grid; gap: 14px; max-width: 980px; }
.irangs-quick-work-section { background: #fff; border: 1px solid var(--irangs-border, #e2e8f0); border-radius: 14px; padding: 16px; }
.irangs-quick-work-section__head { display: grid; gap: 2px; margin-bottom: 13px; }
.irangs-quick-work-section__head strong { color: var(--irangs-text, #111827); font-size: .94rem; }
.irangs-quick-work-section__head small { color: #64748b; }
.irangs-quick-work-grid { display: grid; gap: 12px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.irangs-quick-work-grid .form-row { margin: 0; }
.irangs-quick-work-grid .form-row.is-wide { grid-column: 1 / -1; }
.irangs-quick-work-reminder { background: #fafaff; border-color: #dbe3ff; }
.irangs-reminder-switch { align-items: center; cursor: pointer; display: flex; gap: 12px; margin-bottom: 14px; }
.irangs-reminder-switch input { flex: 0 0 auto; height: 20px; margin: 0; width: 20px; }
.irangs-reminder-switch span { display: grid; gap: 2px; }
.irangs-reminder-switch strong { color: var(--irangs-text, #111827); }
.irangs-reminder-switch small { color: #64748b; }
.irangs-quick-work-submit { margin: 0; }
html.dark .irangs-quick-work-section { background: #111827; border-color: #334155; }
html.dark .irangs-quick-work-reminder { background: #14162b; border-color: #373b69; }
@media (max-width: 760px) { .irangs-quick-work-grid { grid-template-columns: 1fr; } .irangs-quick-work-grid .form-row.is-wide { grid-column: auto; } }
/* v0.31.8 canonical Entity 360 editing */
.igs360-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.igs360-form-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.igs360-form-grid label{display:grid;gap:6px;align-content:start}.igs360-form-grid label>span,.igs360-add-form h3{color:#475569;font-size:.72rem;font-weight:800}.igs360-form-grid label.is-wide{grid-column:1/-1}.igs360-form-grid input,.igs360-form-grid select,.igs360-form-grid textarea{background:#fff;border:1px solid #dbe3ee;border-radius:11px;box-sizing:border-box;min-height:40px;padding:8px 10px;width:100%}.igs360-form-grid input[type=checkbox]{min-height:auto;width:auto}.igs360-form-grid ul{list-style:none;margin:0;padding:0}.igs360-form-grid ul li{margin:4px 0}.igs360-edit-stack{display:grid;gap:12px}.igs360-inline-edit,.igs360-add-form{background:#f8fafc;border:1px solid #e5eaf1;border-radius:16px;padding:14px}.igs360-add-form{border-style:dashed;margin-top:14px}.igs360-inline-edit .igs360-inline-actions,.igs360-add-form .igs360-inline-actions{align-items:center;display:flex;gap:12px;justify-content:flex-end}.igs360-record-sections{display:grid;gap:18px}.igs360-record-list{display:grid;gap:9px}.igs360-record-list article{background:#f8fafc;border:1px solid #edf1f5;border-radius:13px;padding:12px}.igs360-record-list article p{margin:5px 0;color:#475569;line-height:1.8}html.dark .igs360-form-grid input,html.dark .igs360-form-grid select,html.dark .igs360-form-grid textarea{background:#0f172a;border-color:#334155;color:#e5e7eb}html.dark .igs360-inline-edit,html.dark .igs360-add-form,html.dark .igs360-record-list article{background:#0f172a;border-color:#334155}@media(max-width:900px){.igs360-form-grid,.igs360-form-grid.compact{grid-template-columns:1fr 1fr}}@media(max-width:600px){.igs360-form-grid,.igs360-form-grid.compact{grid-template-columns:1fr}.igs360-form-grid label.is-wide{grid-column:auto}}
/* v0.31.9 canonical 360 create surface */
.igs360-create-form{display:grid;gap:18px}.igs360-create-rows{display:grid;gap:12px}.igs360-create-row,.igs360-create-detail{background:#f8fafc;border:1px solid #e7edf4;border-radius:16px;padding:14px}.igs360-create-row>strong,.igs360-create-detail>summary{color:#334155;font-size:.78rem;font-weight:800}.igs360-create-detail>summary{align-items:center;cursor:pointer;display:flex;justify-content:space-between;list-style:none}.igs360-create-detail>summary::-webkit-details-marker{display:none}.igs360-create-detail>summary span{color:#94a3b8;font-size:.68rem;font-weight:600}.igs360-create-detail[open]>summary{border-bottom:1px solid #e7edf4;margin-bottom:12px;padding-bottom:10px}.igs360-create-split{display:grid;gap:18px;grid-template-columns:1fr 1fr}.igs360-create-split>div{display:grid;gap:10px;align-content:start}.igs360-create-split h3{font-size:.82rem;margin:0}.igs360-create-actions{align-items:center;display:flex;gap:18px;justify-content:space-between}.igs360-create-actions p{color:#64748b;font-size:.74rem;line-height:1.8;margin:4px 0 0;max-width:820px}.igs360-create-actions .igs360-inline-actions{align-items:center;display:flex;gap:8px;margin:0}.igs360-create-form .errorlist{color:#b91c1c;font-size:.68rem;list-style:none;margin:4px 0 0;padding:0}.igs360-create-form label>small{color:#64748b;display:block;font-size:.67rem;line-height:1.6;margin-top:4px}html.dark .igs360-create-row,html.dark .igs360-create-detail{background:#0f172a;border-color:#334155}html.dark .igs360-create-row>strong,html.dark .igs360-create-detail>summary{color:#e2e8f0}@media(max-width:900px){.igs360-create-split{grid-template-columns:1fr}.igs360-create-actions{align-items:stretch;flex-direction:column}.igs360-create-actions .igs360-inline-actions{flex-wrap:wrap}}

/* IGS v0.31.10 — canonical business navigation and shell controls. */
.irangs-navigation-header { position: relative; }
.irangs-workspace-switch {
  align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  color: #334155; display: flex; gap: 8px; margin: 3px 4px 0; min-height: 38px;
  padding: 5px 8px; text-decoration: none; transition: background-color .12s ease, border-color .12s ease;
}
.irangs-workspace-switch:hover { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.irangs-workspace-switch > .material-symbols-outlined { color: #6366f1; font-size: 18px; }
.irangs-workspace-switch__text { display: grid; line-height: 1.2; min-width: 0; }
.irangs-workspace-switch__text small { color: #64748b; font-size: .58rem; font-weight: 650; }
.irangs-workspace-switch__text strong { font-size: .69rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irangs-workspace-switch__change { margin-inline-start: auto; opacity: .65; }
html.dark .irangs-workspace-switch { background: #111827; border-color: #334155; color: #e2e8f0; }
html.dark .irangs-workspace-switch:hover { background: #172033; border-color: #4f46e5; }

.irangs-nav-group__heading { gap: 8px; border-radius: 9px; }
.irangs-nav-group__heading:hover { background: rgba(148,163,184,.09); }
.irangs-nav-group__icon { color: #64748b; font-size: 19px !important; width: 20px; }
.irangs-nav-group__items { padding-bottom: 2px; }
.irangs-nav-entry + .irangs-nav-entry { margin-top: 1px; }
.irangs-nav-section { margin: 6px -2px 2px; padding: 0; }
.irangs-nav-section:first-child { margin-top: 2px; }
.irangs-nav-section__toggle {
  align-items:center; background:transparent; border:0; border-radius:8px; color:#94a3b8;
  cursor:pointer; display:flex; font-family:inherit; font-size:.61rem; font-weight:800; gap:5px;
  letter-spacing:.01em; min-height:28px; padding:3px 4px; text-align:start; width:100%;
}
.irangs-nav-section__toggle:hover { background:rgba(148,163,184,.08); color:#64748b; }
.irangs-nav-section__title { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.irangs-nav-section__count {
  background:#f1f5f9; border-radius:999px; color:#64748b; font-size:.56rem; font-weight:800;
  margin-inline-start:auto; min-width:20px; padding:1px 5px; text-align:center;
}
.irangs-nav-section__chevron { font-size:15px!important; transition:transform .12s ease; }
.irangs-nav-section__items { display:flex; flex-direction:column; padding-inline-start:5px; }
.irangs-nav-item { line-height: 1.35; }
html.dark .irangs-nav-group__icon { color: #94a3b8; }
html.dark .irangs-nav-section__toggle { color: #64748b; }
html.dark .irangs-nav-section__toggle:hover { color:#94a3b8; }
html.dark .irangs-nav-section__count { background:#1e293b; color:#94a3b8; }

.irangs-header-tools { align-items: center; display: flex; flex: 0 0 auto; gap: 5px; }
.irangs-header-tool {
  align-items: center; background: #fff; border: 1px solid var(--irangs-border, #e2e8f0);
  border-radius: 10px; color: #475569; display: inline-flex; gap: 5px; min-height: 36px;
  padding: 5px 8px; position: relative; text-decoration: none; white-space: nowrap;
}
.irangs-header-tool:hover { background: #f8fafc; border-color: #c7d2fe; color: #4338ca; }
.irangs-header-tool > .material-symbols-outlined { font-size: 19px; }
.irangs-header-tool__label { font-size: .69rem; font-weight: 750; }
.irangs-header-tool__badge {
  align-items: center; background: #be123c; border: 2px solid #fff; border-radius: 999px;
  color: #fff; display: inline-flex; font-size: .57rem; height: 19px; justify-content: center;
  min-width: 19px; padding: 0 4px;
}
html.dark .irangs-header-tool { background: #111827; border-color: #334155; color: #cbd5e1; }
html.dark .irangs-header-tool:hover { background: #172033; border-color: #4f46e5; color: #c7d2fe; }
html.dark .irangs-header-tool__badge { border-color: #111827; }

@media (max-width: 1050px) {
  .irangs-header-tool__label { display: none; }
  .irangs-header-tool { padding-inline: 7px; }
}
@media (max-width: 760px) {
  .irangs-global-header__inner { gap: 5px; }
  .irangs-header-tools { gap: 3px; }
  .irangs-header-tool { min-height: 34px; padding: 5px 6px; }
  .irangs-header-tool__badge { position: absolute; inset-inline-end: -5px; top: -6px; }
  .irangs-scope-indicator { display: none !important; }
  .irangs-nav-section { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .irangs-workspace-switch, .irangs-nav-item, .irangs-header-tool { transition: none; }
}

/* IGS v0.31.16 — unified messaging, Telegram test surface and font-independent wizard icons. */
.jango-safe-icon{align-items:center;display:inline-flex;font-family:inherit!important;font-size:1.05rem;font-weight:900;justify-content:center;line-height:1;min-width:1.2em;text-align:center;user-select:none}
.workspace-module-option>.jango-safe-icon,.workspace-role-option__mark{background:#eef2ff;border-radius:11px;color:#4f46e5;font-size:18px;height:38px;padding:8px;width:38px}
.workspace-smart-note>.jango-safe-icon{color:#7c3aed}.workspace-owner-modes .jango-safe-icon{color:#6366f1}.workspace-member-row__head>.jango-safe-icon{color:#6366f1;font-size:19px}.workspace-member-remove .jango-safe-icon{font-size:19px}.workspace-review-grid article>.jango-safe-icon{background:#eef2ff;border-radius:9px;color:#4f46e5;font-size:18px;padding:7px}
.igs-message-center{display:grid;gap:16px}.igs-message-center__actions{display:flex;flex-wrap:wrap;gap:8px}.igs-message-template-links{display:grid;gap:9px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.igs-message-template-links a{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;color:#334155;display:grid;gap:4px;padding:11px 12px;text-decoration:none}.igs-message-template-links a:hover{border-color:#a5b4fc}.igs-message-template-links a strong{font-size:.78rem}.igs-message-template-links a span{color:#64748b;font-size:.66rem;line-height:1.7}
.igs-sms-template-helper{background:#f8fafc;border:1px solid #dbe3ee;border-radius:16px;display:grid;gap:13px;margin:18px 0;padding:16px}.igs-sms-template-helper__head{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.igs-sms-template-helper h2{font-size:.9rem;margin:0}.igs-sms-template-helper p{color:#64748b;font-size:.7rem;line-height:1.8;margin:4px 0 0}.igs-sms-template-helper__hint{background:#eef2ff;border-radius:9px;color:#4338ca;font-size:.64rem;padding:7px 9px}.igs-sms-variable-buttons{display:flex;flex-wrap:wrap;gap:7px}.igs-sms-variable-buttons button{background:#fff;border:1px solid #c7d2fe;border-radius:9px;color:#4338ca;cursor:pointer;direction:ltr;font-family:ui-monospace,monospace;font-size:.72rem;padding:6px 9px}.igs-sms-variable-empty{color:#94a3b8;font-size:.68rem}.igs-sms-preview{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.igs-sms-preview strong,.igs-sms-preview small{display:block}.igs-sms-preview p{color:#334155;font-size:.78rem;line-height:2;margin:7px 0;white-space:pre-wrap}.igs-sms-preview small{color:#94a3b8;font-size:.62rem}
.igs-telegram-health-card{align-items:center;background:#f8fafc;border:1px solid #dbe3ee;border-radius:14px;display:flex;gap:16px;justify-content:space-between;margin:18px 0;padding:14px}.igs-telegram-health-card p{color:#64748b;font-size:.68rem;margin:4px 0 0}.igs-telegram-health-card form{margin:0}.igs-telegram-test{display:grid;gap:16px}.igs-telegram-chat{display:grid;gap:9px;max-height:560px;overflow:auto;padding:3px}.igs-telegram-chat article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;max-width:82%;padding:10px 12px}.igs-telegram-chat article.is-outbound{background:#eef2ff;border-color:#c7d2fe;margin-inline-start:auto}.igs-telegram-chat article.is-inbound{margin-inline-end:auto}.igs-telegram-chat header{align-items:center;color:#64748b;display:flex;font-size:.62rem;gap:12px;justify-content:space-between}.igs-telegram-chat p{color:#1e293b;font-size:.76rem;line-height:1.9;margin:6px 0 0}.igs-telegram-chat small{color:#b91c1c;display:block;font-size:.62rem;margin-top:5px}
html.dark .igs-sms-template-helper,html.dark .igs-message-template-links a,html.dark .igs-telegram-health-card,html.dark .igs-telegram-chat article{background:#111827;border-color:#334155;color:#e2e8f0}html.dark .igs-sms-preview{background:#0f172a;border-color:#334155}html.dark .igs-sms-preview p,html.dark .igs-telegram-chat p{color:#e2e8f0}html.dark .igs-telegram-chat article.is-outbound{background:#252551;border-color:#4f46e5}
@media(max-width:720px){.igs-sms-template-helper__head,.igs-telegram-health-card{align-items:stretch;flex-direction:column}.igs-sms-template-helper__hint{align-self:flex-start}.igs-telegram-chat article{max-width:94%}}

/* IGS 0.34.0 — central workspace join/invitation lifecycle */
.workspace-control__kpis--members{grid-template-columns:repeat(6,minmax(0,1fr))}
.workspace-control__join-policy-body{align-items:center;display:flex;gap:16px;justify-content:space-between}
.workspace-control__join-code{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;display:grid;gap:4px;min-width:260px;padding:13px 15px}
.workspace-control__join-code.is-active{background:#f0fdf4;border-color:#86efac}
.workspace-control__join-code span{color:#64748b;font-size:.58rem;font-weight:800}
.workspace-control__join-code strong{color:#0f172a;font-size:1.25rem;letter-spacing:.13em}
.workspace-control__join-code small{color:#64748b;font-size:.56rem;line-height:1.7;letter-spacing:0}
.workspace-control__row-actions{align-items:center;display:flex;gap:5px;white-space:nowrap}
.workspace-control__row-actions form{margin:0}
.workspace-control__icon-link.is-danger{color:#b91c1c}
.irangs-button--compact{font-size:.58rem!important;min-height:30px!important;padding:5px 9px!important}
html.dark .workspace-control__join-code{background:#172033;border-color:#475569}
html.dark .workspace-control__join-code.is-active{background:rgba(6,78,59,.28);border-color:#047857}
html.dark .workspace-control__join-code strong{color:#f8fafc}
@media(max-width:900px){.workspace-control__kpis--members{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-control__join-policy-body{align-items:stretch;flex-direction:column}.workspace-control__join-code{min-width:0}}
@media(max-width:640px){.workspace-control__kpis--members{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-control__row-actions{flex-wrap:wrap}.workspace-control__join-code strong{font-size:1.05rem}}

/* IGS v0.35.0 — Person 360 hardening and unified identity/security lifecycle */
.igs360-badge.is-danger{background:#fef2f2!important;border-color:#fecaca!important;color:#b91c1c!important}.igs360-access-state{border-inline-start:4px solid #94a3b8}.igs360-access-state.is-success{background:#f0fdf4;border-inline-start-color:#16a34a}.igs360-access-state.is-warning{background:#fffbeb;border-inline-start-color:#d97706}.igs360-access-state.is-danger{background:#fef2f2;border-inline-start-color:#dc2626}.igs360-blockers{color:#92400e;display:grid;font-size:.7rem;gap:5px;margin:10px 0 0;padding-inline-start:22px}.igs360-mobile-stack{display:grid;gap:11px}.igs360-mobile-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;display:grid;gap:10px;padding:13px}.igs360-mobile-row.is-primary{border-color:#86efac;box-shadow:inset 3px 0 0 #22c55e}.igs360-mobile-row__head{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.igs360-mobile-row__head>div:first-child{display:grid;gap:3px}.igs360-mobile-row__head small{color:#64748b;font-size:.64rem}.igs360-chipline,.igs360-row-actions{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.igs360-mobile-policy{align-items:center;display:grid;gap:8px;grid-template-columns:auto auto minmax(170px,1fr) auto}.igs360-mobile-policy label{align-items:center;display:flex;font-size:.68rem;gap:6px}.igs360-mobile-policy input[type=text]{border:1px solid #dbe3ee;border-radius:9px;min-height:34px;padding:6px 9px}.igs360-danger-zone{border:1px solid #fecaca;background:#fff7f7}.igs360-danger-zone__body{align-items:center;display:flex;gap:18px;justify-content:space-between}.igs360-danger-zone__body p{color:#7f1d1d;font-size:.7rem;line-height:1.9;margin:5px 0 0;max-width:780px}.igs360-panel-error{align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;border-radius:13px;color:#9a3412;display:flex;gap:10px;padding:12px}.igs360-panel-error>span{font-size:21px}.igs360-panel-error div{display:grid;gap:3px}.igs360-panel-error small{font-size:.65rem;line-height:1.7}.igs360-pager{align-items:center;border-top:1px solid #eef2f7;display:flex;gap:12px;justify-content:center;margin-top:12px;padding-top:12px}.igs360-pager a{background:#f8fafc;border:1px solid #dbe3ee;border-radius:9px;color:#4338ca;font-size:.67rem;font-weight:750;padding:6px 10px;text-decoration:none}.igs360-pager span{color:#64748b;font-size:.65rem}.igs360-relationship-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;display:grid;gap:10px;padding:13px}.igs360-relationship-card__head{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.igs360-relationship-card__head>div{display:grid;gap:3px}.igs360-relationship-card__head small{color:#64748b;font-size:.65rem}.igs360-tags-picker ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0 0 12px;padding:0}.igs360-tags-picker label{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;display:flex;font-size:.67rem;gap:5px;padding:6px 9px}.igs360-identity-source-warning{border-color:#fde68a;background:#fffbeb}.igs360-access-mini p{color:#64748b;font-size:.66rem;line-height:1.8;margin:7px 0 0}.igs360-inline-edit>form+form{margin-top:8px}
html.dark .igs360-access-state.is-success{background:rgba(6,78,59,.25)}html.dark .igs360-access-state.is-warning,.dark .igs360-identity-source-warning{background:rgba(120,53,15,.22)}html.dark .igs360-access-state.is-danger,html.dark .igs360-danger-zone{background:rgba(127,29,29,.2)}html.dark .igs360-mobile-row,html.dark .igs360-relationship-card,html.dark .igs360-tags-picker label{background:#0f172a;border-color:#334155}html.dark .igs360-panel-error{background:rgba(124,45,18,.25);border-color:#9a3412;color:#fdba74}html.dark .igs360-pager a{background:#111827;border-color:#334155;color:#c7d2fe}
@media(max-width:900px){.igs360-mobile-policy{grid-template-columns:1fr 1fr}.igs360-mobile-policy input[type=text]{grid-column:1/-1}.igs360-danger-zone__body{align-items:stretch;flex-direction:column}}
@media(max-width:640px){.igs360-mobile-row__head,.igs360-relationship-card__head{flex-direction:column}.igs360-mobile-policy{grid-template-columns:1fr}.igs360-mobile-policy input[type=text]{grid-column:auto}.igs360-row-actions{align-items:stretch;flex-direction:column}.igs360-row-actions form,.igs360-row-actions .irangs-button{width:100%}.igs360-pager{flex-wrap:wrap}}

/* IGS v0.40.2 — touch-first Jalali wheel picker.
   Desktop keeps the compact calendar grid; mobile/tablet gets a bottom-sheet
   wheel so date selection never depends on a desktop-sized popover. */
.jalali-picker-backdrop {
    background: rgba(15, 23, 42, .38);
    inset: 0;
    position: fixed;
    z-index: 9999;
}
.jalali-picker-backdrop[hidden] { display: none !important; }
body.jalali-picker-open { overflow: hidden; }
.jalali-calendar.is-wheel {
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    bottom: 0 !important;
    box-sizing: border-box;
    inset-inline: 0 !important;
    left: 0 !important;
    max-height: min(82dvh, 620px);
    overflow: hidden;
    padding: 10px 14px max(14px, env(safe-area-inset-bottom));
    top: auto !important;
    width: 100% !important;
}
.jp-wheel-grabber {
    background: #cbd5e1;
    border-radius: 999px;
    height: 5px;
    margin: 1px auto 9px;
    width: 44px;
}
.jp-wheel-head {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto 1fr;
    min-height: 42px;
}
.jp-wheel-head strong { color: #0f172a; font-size: .92rem; text-align: center; }
.jp-wheel-head button {
    background: transparent;
    border: 0;
    color: #4f46e5;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    min-height: 38px;
    padding: 4px 7px;
}
.jp-wheel-close { justify-self: start; }
.jp-wheel-today { justify-self: end; }
.jp-wheel-labels {
    color: #94a3b8;
    display: grid;
    font-size: .66rem;
    font-weight: 750;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 2px 6px 5px;
    text-align: center;
}
.jp-wheel-picker {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 220px;
    overflow: hidden;
    position: relative;
}
.jp-wheel-picker::before,
.jp-wheel-picker::after {
    content: "";
    inset-inline: 0;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}
.jp-wheel-picker::before {
    background: linear-gradient(#fff 8%, rgba(255,255,255,.82) 52%, rgba(255,255,255,0));
    height: 82px;
    top: 0;
}
.jp-wheel-picker::after {
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.82) 48%, #fff 92%);
    bottom: 0;
    height: 82px;
}
.jp-wheel-column {
    -webkit-overflow-scrolling: touch;
    height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: 88px;
    scrollbar-width: none;
    scroll-snap-type: y mandatory;
    touch-action: pan-y;
}
.jp-wheel-column::-webkit-scrollbar { display: none; }
.jp-wheel-option {
    align-items: center;
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0 3px;
    scroll-snap-align: center;
    width: 100%;
}
.jp-wheel-option.is-selected { background:#f8fafc; border-block:1px solid #dbe3ef; border-radius:10px; color:#111827; font-size:1rem; font-weight:850; }
.jp-wheel-actions { border-top: 1px solid #eef2f7; padding-top: 10px; }
.jp-wheel-confirm {
    background: #4f46e5;
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    min-height: 48px;
    width: 100%;
}
html.dark .jp-wheel-grabber { background: #475569; }
html.dark .jp-wheel-head strong { color: #f8fafc; }
html.dark .jp-wheel-picker::before { background: linear-gradient(#111827 8%, rgba(17,24,39,.82) 52%, rgba(17,24,39,0)); }
html.dark .jp-wheel-picker::after { background: linear-gradient(rgba(17,24,39,0), rgba(17,24,39,.82) 48%, #111827 92%); }
html.dark .jp-wheel-option { color: #94a3b8; }
html.dark .jp-wheel-option.is-selected { background:#172033; border-color:#475569; color:#f8fafc; }
html.dark .jp-wheel-actions { border-color: #334155; }
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .jalali-picker-backdrop { display: none !important; }
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    input[data-jalali-picker="true"] { cursor: pointer; }
    .jalali-calendar.is-wheel { max-width: 760px; margin-inline: auto; }
}

/* IGS v0.42.0 — Profile 360 view-first / edit-on-demand UX */
.igs360-main--compact-sections{gap:14px}
.igs360-view-card{position:relative}
.igs360-card__actions{align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.igs360-head-action{align-items:center;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;color:#4338ca;cursor:pointer;display:inline-flex;font-family:inherit;font-size:.7rem;font-weight:800;gap:5px;justify-content:center;min-height:36px;padding:7px 10px;text-decoration:none;white-space:nowrap}
.igs360-head-action:hover{background:#e0e7ff;border-color:#a5b4fc;color:#3730a3}
.igs360-head-action .material-symbols-outlined{font-size:17px!important}
.igs360-head-action--block{box-sizing:border-box;margin-top:10px;width:100%}
.igs360-icon-button{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;color:#475569;cursor:pointer;display:inline-flex;flex:0 0 auto;height:34px;justify-content:center;padding:0;text-decoration:none;width:34px}
.igs360-icon-button:hover{background:#eef2ff;border-color:#c7d2fe;color:#4338ca}
.igs360-icon-button .material-symbols-outlined{font-size:18px}
.igs360-text-action{background:transparent;border:0;color:#4f46e5;cursor:pointer;font-family:inherit;font-size:.67rem;font-weight:800;padding:6px;text-decoration:none;white-space:nowrap}
.igs360-chiprow--flush{margin-top:0}
.igs360-info-grid--compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.igs360-jump-card{align-items:center;display:flex;gap:16px;justify-content:space-between}
.igs360-jump-card>div:first-child{align-items:center;display:flex;gap:10px;min-width:0}
.igs360-jump-card>div:first-child>.material-symbols-outlined{align-items:center;background:#eef2ff;border-radius:11px;color:#4f46e5;display:flex;flex:0 0 38px;height:38px;justify-content:center}
.igs360-jump-card strong{color:#1e293b;display:block;font-size:.79rem}
.igs360-jump-card small{color:#64748b;display:block;font-size:.67rem;line-height:1.7;margin-top:3px}
.igs360-jump-card--flat{background:#f8fafc;border:0;box-shadow:none;margin:-4px;padding:12px}

.igs360-records{display:grid;gap:8px}
.igs360-record{align-items:center;background:#fbfcfe;border:1px solid #e7edf4;border-radius:14px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;min-width:0;padding:11px 12px;position:relative}
.igs360-record.is-primary{border-color:#bbf7d0;box-shadow:inset 3px 0 0 #22c55e}
.igs360-record--multiline,.igs360-record--note{align-items:flex-start}
.igs360-record__icon{align-items:center;background:#eef2ff;border-radius:10px;color:#4f46e5;display:flex;height:36px;justify-content:center;width:36px}
.igs360-record__icon .material-symbols-outlined{font-size:19px}
.igs360-record__main{display:grid;gap:5px;min-width:0}
.igs360-record__title{display:grid;gap:2px;min-width:0}
.igs360-record__title strong{color:#172033;font-size:.77rem;line-height:1.6;overflow-wrap:anywhere}
.igs360-record__title span,.igs360-record__meta,.igs360-record__main>small{color:#64748b;font-size:.64rem;line-height:1.6;overflow-wrap:anywhere}
.igs360-record__main>p{color:#334155;font-size:.72rem;line-height:1.8;margin:0;overflow-wrap:anywhere;white-space:pre-line}
.igs360-record__meta{align-items:center;display:flex;flex-wrap:wrap;gap:4px}
.igs360-record__badges{align-items:center;display:flex;flex-wrap:wrap;gap:5px}
.igs360-record__badges .igs360-badge{font-size:.61rem;padding:3px 6px}
.igs360-record__actions{align-items:center;display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
.igs360-record__actions form{margin:0}
.igs360-empty--compact{min-height:48px;padding:9px 11px}

.igs360-editor-panel{background:#f8fafc;border:1px solid #dbe3ee;border-radius:15px;box-shadow:0 12px 28px rgba(15,23,42,.08);box-sizing:border-box;display:grid;gap:14px;margin:12px 0 2px;padding:14px;position:relative;scroll-margin-top:86px}
.igs360-editor-panel[hidden]{display:none!important}
.igs360-editor-panel--record{grid-column:1/-1;margin:3px 0 0}
.igs360-editor-panel__head{align-items:flex-start;border-bottom:1px solid #e5eaf1;display:flex;gap:14px;justify-content:space-between;padding-bottom:10px}
.igs360-editor-panel__head>div{display:grid;gap:2px;min-width:0}
.igs360-editor-panel__head strong{color:#1e293b;font-size:.78rem}
.igs360-editor-panel__head small{color:#64748b;font-size:.65rem;line-height:1.7;overflow-wrap:anywhere}
.igs360-editor-actions{align-items:center;border-top:1px solid #e5eaf1;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:12px;padding-top:12px}
.igs360-editor-actions--column{align-items:stretch;flex-direction:column}
.igs360-editor-actions--column .irangs-button{justify-content:center;width:100%}
.igs360-editor-danger{align-items:end;background:#fff7f7;border:1px solid #fecaca;border-radius:12px;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:2px;padding:10px}
.igs360-editor-danger label{display:grid;flex:1 1 240px;gap:5px}
.igs360-editor-danger label>span{color:#991b1b;font-size:.66rem;font-weight:800}
.igs360-editor-danger input{background:#fff;border:1px solid #fecaca;border-radius:9px;box-sizing:border-box;min-height:36px;padding:7px 9px;width:100%}
.igs360-editor-note{background:#fff7ed;border:1px solid #fed7aa;border-radius:11px;color:#9a3412;font-size:.67rem;line-height:1.75;padding:9px 10px}
.igs360-editor-backdrop{background:rgba(15,23,42,.34);display:none;inset:0;position:fixed;z-index:12480}
.igs360-editor-backdrop.is-active{display:block}
.igs360-editor-panel .errorlist{color:#b91c1c;font-size:.67rem;list-style:none;margin:4px 0 0;padding:0}
.igs360-editor-panel form{margin:0}

html.dark .igs360-head-action{background:#1e1b4b;border-color:#4338ca;color:#c7d2fe}
html.dark .igs360-head-action:hover{background:#312e81}
html.dark .igs360-icon-button{background:#111827;border-color:#334155;color:#cbd5e1}
html.dark .igs360-record,html.dark .igs360-editor-panel,html.dark .igs360-jump-card--flat{background:#0f172a;border-color:#334155}
html.dark .igs360-record__title strong,html.dark .igs360-editor-panel__head strong,html.dark .igs360-jump-card strong{color:#f8fafc}
html.dark .igs360-record__main>p{color:#cbd5e1}
html.dark .igs360-editor-panel__head,html.dark .igs360-editor-actions{border-color:#334155}
html.dark .igs360-editor-danger{background:#2a1217;border-color:#7f1d1d}
html.dark .igs360-editor-danger input{background:#111827;border-color:#7f1d1d;color:#f8fafc}

@media(max-width:980px){
  .igs360-record{grid-template-columns:auto minmax(0,1fr) auto}
  .igs360-card__head{gap:10px}
  .igs360-card__actions{max-width:42%}
}

@media(max-width:760px){
  .igs360-card{padding:14px}
  .igs360-card__head{align-items:flex-start;margin-bottom:12px;padding-bottom:11px}
  .igs360-card__head>div:first-child{min-width:0}
  .igs360-card__head p{display:none}
  .igs360-card__actions{max-width:none}
  .igs360-head-action{min-height:38px;padding-inline:9px}
  .igs360-record{gap:8px;grid-template-columns:auto minmax(0,1fr) auto;padding:10px}
  .igs360-record__icon{height:34px;width:34px}
  .igs360-record__actions{align-self:start}
  .igs360-jump-card{align-items:stretch;flex-direction:column}
  .igs360-jump-card>.igs360-head-action,.igs360-jump-card>form,.igs360-jump-card>form .irangs-button{width:100%}

  .igs360-editor-backdrop.is-active{display:block;inset:calc(var(--igs-vv-offset-top,0px)) calc(var(--igs-vv-right-gap,0px)) calc(var(--igs-vv-bottom-gap,0px)) calc(var(--igs-vv-offset-left,0px))}
  .igs360-editor-panel,.igs360-editor-panel--record{
    background:#fff;
    border:1px solid #dbe3ee;
    border-radius:20px 20px 0 0;
    bottom:calc(var(--igs-vv-bottom-gap,0px) + var(--igs-safe-bottom,0px));
    box-shadow:0 -18px 60px rgba(15,23,42,.22);
    display:block;
    left:calc(var(--igs-vv-offset-left,0px) + max(8px,var(--igs-safe-left,0px)));
    margin:0;
    max-height:calc(var(--igs-vv-height,100dvh) - max(16px,var(--igs-safe-top,0px)) - max(8px,var(--igs-safe-bottom,0px)));
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:14px;
    position:fixed;
    right:calc(var(--igs-vv-right-gap,0px) + max(8px,var(--igs-safe-right,0px)));
    width:auto;
    z-index:12490;
  }
  html.dark .igs360-editor-panel,html.dark .igs360-editor-panel--record{background:#0f172a}
  .igs360-editor-panel__head{background:inherit;position:sticky;top:-14px;z-index:2;padding-top:2px}
  .igs360-editor-actions{align-items:stretch;flex-direction:column-reverse;position:sticky;bottom:-14px;background:inherit;padding-bottom:2px}
  .igs360-editor-actions .irangs-button,.igs360-editor-actions a.irangs-button{box-sizing:border-box;justify-content:center;width:100%}
  .igs360-editor-danger{align-items:stretch;flex-direction:column}
  .igs360-editor-danger .irangs-button{justify-content:center;width:100%}
  html.igs360-editor-modal-open{overflow:hidden}
}

@media(max-width:520px){
  .igs360-card__head{flex-wrap:wrap}
  .igs360-card__actions{justify-content:flex-start;width:100%}
  .igs360-card__actions .igs360-head-action{margin-inline-start:auto}
  .igs360-record{grid-template-columns:auto minmax(0,1fr)}
  .igs360-record__actions{grid-column:1/-1;justify-content:flex-end;padding-top:2px}
  .igs360-record__icon{align-self:start}
  .igs360-info-grid,.igs360-info-grid--compact{grid-template-columns:1fr}
}

@media(max-height:560px) and (pointer:coarse){
  .igs360-editor-panel,.igs360-editor-panel--record{border-radius:16px;max-height:calc(var(--igs-vv-height,100dvh) - 10px);top:calc(var(--igs-vv-offset-top,0px) + 5px);bottom:auto}
}
.igs360-record[hidden]{display:none!important}
.igs360-records__more{align-items:center;display:flex;justify-content:center;margin-top:8px}
.igs360-text-action--more{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;min-height:34px;padding:6px 12px}
.igs360-text-action--more:hover{background:#eef2ff;border-color:#c7d2fe}
html.dark .igs360-text-action--more{background:#111827;border-color:#334155;color:#c7d2fe}

/* Web Telephony --------------------------------------------------------- */
.irangs-header-tool--phone{cursor:pointer;font:inherit}
.irangs-header-tool--phone[aria-expanded="true"]{background:#eef2ff;border-color:#a5b4fc;color:#4338ca}
html.dark .irangs-header-tool--phone[aria-expanded="true"]{background:#312e81;border-color:#6366f1;color:#e0e7ff}

.igs-web-phone{
  background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.22);
  box-sizing:border-box;display:flex;flex-direction:column;gap:0;inset-inline-end:18px;max-height:min(680px,calc(var(--igs-vv-height,100vh) - 92px));
  overflow:hidden;position:fixed;top:76px;width:min(430px,calc(100vw - 28px));z-index:12620
}
.igs-web-phone[hidden]{display:none!important}
.igs-web-phone__head{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;gap:12px;justify-content:space-between;padding:13px 14px}
.igs-web-phone__identity{align-items:center;display:flex;gap:9px;min-width:0}
.igs-web-phone__identity>.material-symbols-outlined{align-items:center;background:#eef2ff;border-radius:11px;color:#4f46e5;display:flex;height:38px;justify-content:center;width:38px}
.igs-web-phone__identity>div{display:grid;gap:1px;min-width:0}
.igs-web-phone__identity strong{color:#172033;font-size:.8rem}
.igs-web-phone__identity small{color:#64748b;font-size:.65rem}
.igs-web-phone__head-actions{align-items:center;display:flex;gap:7px}
.igs-web-phone__status{align-items:center;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;color:#166534;display:inline-flex;font-size:.62rem;font-weight:750;gap:5px;padding:4px 7px;white-space:nowrap}
.igs-web-phone__status i{background:#22c55e;border-radius:50%;display:block;height:7px;width:7px}
.igs-web-phone__status.is-degraded{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.igs-web-phone__status.is-degraded i{background:#f97316}
.igs-web-phone__close{align-items:center;background:transparent;border:0;border-radius:8px;color:#64748b;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0;width:30px}
.igs-web-phone__close:hover{background:#f1f5f9;color:#0f172a}
.igs-web-phone__warning{background:#fff7ed;border-bottom:1px solid #fed7aa;color:#9a3412;font-size:.65rem;line-height:1.7;padding:8px 12px}
.igs-web-phone__calls{display:grid;gap:8px;overflow:auto;overscroll-behavior:contain;padding:10px}
.igs-web-phone__empty{align-items:center;color:#64748b;display:flex;flex-direction:column;gap:4px;justify-content:center;min-height:150px;padding:18px;text-align:center}
.igs-web-phone__empty>.material-symbols-outlined{font-size:32px;color:#94a3b8}
.igs-web-phone__empty strong{color:#334155;font-size:.75rem}
.igs-web-phone__empty small{font-size:.63rem;line-height:1.8;max-width:300px}
.igs-web-phone__call{align-items:start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;display:grid;gap:9px;grid-template-columns:auto minmax(0,1fr);padding:10px;position:relative}
.igs-web-phone__call.is-ringing{background:#fff7ed;border-color:#fed7aa;box-shadow:inset 3px 0 0 #f97316}
.igs-web-phone__call-icon{align-items:center;background:#e0e7ff;border-radius:10px;color:#4338ca;display:flex;height:35px;justify-content:center;width:35px}
.igs-web-phone__call.is-ringing .igs-web-phone__call-icon{background:#ffedd5;color:#c2410c}
.igs-web-phone__call-icon .material-symbols-outlined{font-size:19px}
.igs-web-phone__call-main{display:grid;gap:3px;min-width:0}
.igs-web-phone__call-title{align-items:center;display:flex;gap:7px;justify-content:space-between;min-width:0}
.igs-web-phone__call-title strong{color:#172033;font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.igs-web-phone__call-title span{background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#475569;font-size:.58rem;padding:3px 6px;white-space:nowrap}
.igs-web-phone__number{color:#334155;font-size:.7rem;font-weight:700;text-align:start}
.igs-web-phone__meta{align-items:center;color:#64748b;display:flex;flex-wrap:wrap;font-size:.59rem;gap:4px 8px;line-height:1.6}
.igs-web-phone__call-actions{display:flex;gap:5px;grid-column:1/-1;justify-content:flex-end}
.igs-web-phone__action{align-items:center;background:#4f46e5;border:1px solid #4f46e5;border-radius:9px;color:#fff;cursor:pointer;display:inline-flex;font:inherit;font-size:.62rem;font-weight:750;gap:4px;min-height:31px;padding:5px 9px;text-decoration:none}
.igs-web-phone__action .material-symbols-outlined{font-size:16px}
.igs-web-phone__action.is-secondary{background:#fff;border-color:#dbe3ee;color:#475569}
.igs-web-phone__action:hover{filter:brightness(.97)}
.igs-web-phone__foot{align-items:center;border-top:1px solid #e5e7eb;color:#64748b;display:flex;font-size:.56rem;gap:8px;justify-content:space-between;line-height:1.5;padding:8px 11px}
.igs-web-phone-toast{background:#172033;border:1px solid #334155;border-radius:12px;bottom:18px;box-shadow:0 16px 50px rgba(15,23,42,.25);color:#fff;font-size:.7rem;inset-inline-end:18px;line-height:1.7;max-width:min(390px,calc(100vw - 28px));padding:10px 12px;position:fixed;z-index:12640}
.igs-web-phone-toast.is-success{background:#14532d;border-color:#166534}
.igs-web-phone-toast.is-warning{background:#9a3412;border-color:#c2410c}
.igs-web-phone-toast.is-error{background:#991b1b;border-color:#b91c1c}
.igs-telephony-call-button{color:#166534!important}
.igs-telephony-call-button.is-loading{cursor:wait;opacity:.58}
.igs360-contact-list>div>.igs-telephony-call-button{flex:0 0 auto;margin-inline-start:auto}

html.dark .igs-web-phone{background:#0f172a;border-color:#334155}
html.dark .igs-web-phone__head,html.dark .igs-web-phone__foot{border-color:#334155}
html.dark .igs-web-phone__identity strong,html.dark .igs-web-phone__call-title strong,html.dark .igs-web-phone__empty strong{color:#f8fafc}
html.dark .igs-web-phone__identity small,html.dark .igs-web-phone__meta,html.dark .igs-web-phone__foot,html.dark .igs-web-phone__empty{color:#94a3b8}
html.dark .igs-web-phone__call{background:#111827;border-color:#334155}
html.dark .igs-web-phone__call.is-ringing{background:#2a1a0f;border-color:#9a3412}
html.dark .igs-web-phone__call-title span,html.dark .igs-web-phone__action.is-secondary{background:#0f172a;border-color:#334155;color:#cbd5e1}
html.dark .igs-web-phone__number{color:#cbd5e1}
html.dark .igs-web-phone__close:hover{background:#1e293b;color:#fff}

@media(max-width:760px){
  .igs-web-phone{border-radius:20px 20px 0 0;bottom:calc(var(--igs-vv-bottom-gap,0px) + var(--igs-safe-bottom,0px));inset-inline:0;max-height:min(76dvh,calc(var(--igs-vv-height,100dvh) - 54px));top:auto;width:100%;z-index:12620}
  .igs-web-phone__head{padding:12px}
  .igs-web-phone__calls{padding:9px}
  .igs-web-phone__call{border-radius:13px}
  .igs-web-phone__foot{align-items:flex-start;flex-direction:column;gap:2px}
  .igs-web-phone-toast{bottom:calc(var(--igs-vv-bottom-gap,0px) + 16px);inset-inline:12px;max-width:none}
  html.igs-web-phone-open{overflow:hidden}
}

/* IGS V0.44.2 — one global transient notification surface for every module. */
.igs-global-toast-region{
  bottom:calc(var(--igs-vv-bottom-gap,0px) + max(16px,var(--igs-safe-bottom,0px)));
  display:flex;flex-direction:column-reverse;gap:10px;left:calc(var(--igs-vv-offset-left,0px) + max(16px,var(--igs-safe-left,0px)));
  max-width:min(430px,calc(var(--igs-vv-width,100vw) - max(32px,var(--igs-safe-left,0px)) - max(32px,var(--igs-safe-right,0px))));
  pointer-events:none;position:fixed;width:min(430px,calc(100vw - 32px));z-index:2147483000;
}
.igs-global-toast{--igs-toast-accent:#3b82f6;--igs-toast-soft:#eff6ff;align-items:start;background:rgba(255,255,255,.985);border:1px solid #dbe5f1;border-inline-start:4px solid var(--igs-toast-accent);border-radius:15px;box-shadow:0 20px 55px rgba(15,23,42,.22),0 4px 14px rgba(15,23,42,.10);color:#172033;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;isolation:isolate;min-height:72px;opacity:0;overflow:hidden;padding:12px 11px 14px 12px;pointer-events:auto;position:relative;transform:translate3d(-18px,10px,0) scale(.985);transition:opacity .18s ease,transform .18s ease;width:100%;
}
.igs-global-toast.is-visible{opacity:1;transform:translate3d(0,0,0) scale(1)}
.igs-global-toast.is-leaving{opacity:0;transform:translate3d(-14px,6px,0) scale(.985)}
.igs-global-toast.is-success{--igs-toast-accent:#16a34a;--igs-toast-soft:#ecfdf5}
.igs-global-toast.is-warning{--igs-toast-accent:#d97706;--igs-toast-soft:#fff7ed}
.igs-global-toast.is-error{--igs-toast-accent:#dc2626;--igs-toast-soft:#fef2f2}
.igs-global-toast.is-info{--igs-toast-accent:#2563eb;--igs-toast-soft:#eff6ff}
.igs-global-toast__icon{align-items:center;background:var(--igs-toast-soft);border-radius:11px;color:var(--igs-toast-accent);display:flex;height:38px;justify-content:center;margin-top:1px;width:38px}
.igs-global-toast__icon .material-symbols-outlined{font-size:21px}
.igs-global-toast__body{min-width:0;padding-top:1px}
.igs-global-toast__body strong{display:block;font-size:.76rem;font-weight:850;line-height:1.5;margin-bottom:2px}
.igs-global-toast__body p{color:#475569;font-size:.69rem;line-height:1.85;margin:0;overflow-wrap:anywhere;white-space:pre-line}
.igs-global-toast__close{align-items:center;background:transparent;border:0;border-radius:8px;color:#64748b;cursor:pointer;display:flex;height:30px;justify-content:center;margin:-4px -2px 0 0;padding:0;width:30px}
.igs-global-toast__close:hover,.igs-global-toast__close:focus-visible{background:#f1f5f9;color:#0f172a;outline:none}
.igs-global-toast__close .material-symbols-outlined{font-size:18px}
.igs-global-toast__progress{animation:igs-toast-progress var(--igs-toast-duration,5000ms) linear forwards;background:var(--igs-toast-accent);bottom:0;height:3px;left:0;opacity:.82;position:absolute;right:0;transform-origin:left center}
.igs-global-toast.is-paused .igs-global-toast__progress{animation-play-state:paused}
@keyframes igs-toast-progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}
html.dark .igs-global-toast{background:rgba(15,23,42,.985);border-color:#334155;color:#f8fafc;box-shadow:0 20px 60px rgba(0,0,0,.44)}
html.dark .igs-global-toast__body p{color:#cbd5e1}
html.dark .igs-global-toast__close{color:#94a3b8}
html.dark .igs-global-toast__close:hover,html.dark .igs-global-toast__close:focus-visible{background:#1e293b;color:#fff}
@media(max-width:760px){
  .igs-global-toast-region{bottom:calc(var(--igs-vv-bottom-gap,0px) + max(12px,var(--igs-safe-bottom,0px)));left:calc(var(--igs-vv-offset-left,0px) + max(10px,var(--igs-safe-left,0px)));max-width:calc(var(--igs-vv-width,100vw) - max(20px,var(--igs-safe-left,0px)) - max(20px,var(--igs-safe-right,0px)));width:calc(100vw - 20px)}
  .igs-global-toast{border-radius:14px;min-height:68px;padding:10px 9px 13px 10px}
  .igs-global-toast__body strong{font-size:.74rem}.igs-global-toast__body p{font-size:.67rem}.igs-global-toast__icon{height:36px;width:36px}
}
@media(prefers-reduced-motion:reduce){.igs-global-toast{transition:none}.igs-global-toast__progress{animation:none!important}}
.workspace-module-option.is-required{border-color:#a7f3d0;background:#ecfdf5;box-shadow:inset 0 0 0 1px rgba(22,163,74,.05)}
.workspace-module-option.is-required strong{color:#166534}
.workspace-module-option.is-required input{accent-color:#16a34a}
html.dark .workspace-module-option.is-required{background:rgba(22,101,52,.18);border-color:#166534}
html.dark .workspace-module-option.is-required strong{color:#86efac}

/* v0.44.4 — delegated workspace provisioning blueprints */
.igs360-grant-modules__head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.igs360-grant-modules__head>div{display:grid;gap:4px}.igs360-grant-modules__head small{color:#64748b;font-size:.72rem;line-height:1.8}.igs360-grant-module-grid--blueprint{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.igs360-grant-module-policy{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;display:grid;gap:10px;padding:11px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.igs360-grant-module-policy.is-selected{background:#fff;border-color:#c7d2fe;box-shadow:0 6px 18px rgba(79,70,229,.08)}.igs360-grant-module-policy__toggle{align-items:center;display:flex;gap:9px;min-height:40px}.igs360-grant-module-policy__toggle>span{display:grid;gap:2px;min-width:0}.igs360-grant-module-policy__toggle strong{color:#1e293b;font-size:.8rem}.igs360-grant-module-policy__toggle small{color:#94a3b8;font-size:.65rem}.igs360-grant-module-policy__role{display:grid;gap:5px}.igs360-grant-module-policy__role>span{color:#475569;font-size:.7rem;font-weight:800}.igs360-grant-module-policy__role select{background:#fff;border:1px solid #dbe3ee;border-radius:10px;min-height:40px;padding:7px 9px;width:100%}.igs360-grant-module-policy__role select:disabled{background:#f1f5f9;color:#94a3b8}.igs360-grant-module-policy__role small{color:#64748b;font-size:.67rem;line-height:1.65}.igs360-grant-module-policy__role small.is-danger{color:#b91c1c;font-weight:700}.igs360-grant-module-policy:has(.igs360-grant-module-policy__toggle input:disabled){background:#f8fafc;border-style:dashed;opacity:.84}@media(max-width:640px){.igs360-grant-module-grid--blueprint{grid-template-columns:1fr}.igs360-grant-module-policy{padding:10px}}
.workspace-blueprint-summary{display:grid;gap:10px}.workspace-blueprint-role-list{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.workspace-blueprint-role{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;gap:10px;padding:10px 12px}.workspace-blueprint-role>span{display:grid;gap:2px}.workspace-blueprint-role strong{font-size:.78rem}.workspace-blueprint-role small{color:#64748b;font-size:.69rem;line-height:1.6}

/* IGS 0.45.15 — independent market-data header service. */
.igs-market-strip{align-items:center;display:flex;flex:0 1 auto;gap:5px;min-width:0;overflow:hidden}
.igs-market-chip{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#334155;display:inline-flex;gap:4px;min-height:36px;padding:5px 8px;text-decoration:none;white-space:nowrap}
.igs-market-chip:hover{background:#fff;border-color:#c7d2fe;color:#312e81}
.igs-market-chip__title{color:#64748b;font-size:.61rem;font-weight:750}.igs-market-chip strong{direction:ltr;font-size:.74rem;font-variant-numeric:tabular-nums}.igs-market-chip small{color:#64748b;font-size:.56rem}.igs-market-chip em{font-size:.58rem;font-style:normal}.igs-market-chip i{background:#22c55e;border-radius:50%;height:6px;width:6px}.igs-market-chip.is-stale i{background:#f59e0b}.igs-market-chip.is-stale{border-color:#fde68a}.igs-market-chip.is-stale strong{color:#92400e}
html.dark .igs-market-chip{background:#111827;border-color:#334155;color:#e2e8f0}html.dark .igs-market-chip:hover{background:#172033;border-color:#4f46e5}html.dark .igs-market-chip__title,html.dark .igs-market-chip small{color:#94a3b8}html.dark .igs-market-chip.is-stale{border-color:#92400e}html.dark .igs-market-chip.is-stale strong{color:#fbbf24}
@media(max-width:1180px){.igs-market-strip .igs-market-chip:nth-child(n+3){display:none}}
@media(max-width:880px){.igs-market-strip .igs-market-chip:nth-child(n+2){display:none}.igs-market-chip__title{display:none}}
@media(max-width:620px){.igs-market-strip{display:flex;max-width:126px}.igs-market-strip .igs-market-chip:nth-child(n+2){display:none}.igs-market-chip{padding-inline:6px}.igs-market-chip__title,.igs-market-chip small,.igs-market-chip em{display:none}}

/* IGS 0.45.16 — sandboxed direct TGJU widget compatibility. */
.igs-market-widget-shell{align-items:center;background:transparent;display:flex;flex:0 0 230px;height:58px;min-width:0;overflow:hidden}
.igs-market-widget-frame{background:transparent;border:0;display:block;height:58px;overflow:hidden;width:230px}
@media(max-width:1180px){.igs-market-widget-shell{flex-basis:205px;width:205px}.igs-market-widget-frame{width:205px}}
@media(max-width:880px){.igs-market-widget-shell{flex-basis:170px;height:52px;width:170px}.igs-market-widget-frame{height:52px;width:170px}}
@media(max-width:620px){.igs-market-widget-shell{flex-basis:128px;height:48px;width:128px}.igs-market-widget-frame{height:48px;width:128px}}

/* IGS 0.45.17 — TGJU dual display + raw numeric extraction. */
.igs-market-widget-frame--extractor{position:fixed!important;inset:auto auto -9999px -9999px!important;width:260px!important;height:86px!important;opacity:.001!important;pointer-events:none!important}
.igs-market-strip--widget{overflow:visible}
.igs-market-chip--raw{position:relative;min-width:126px;justify-content:center}
.igs-market-chip--raw strong{font-size:.78rem}
.igs-market-chip__change{direction:ltr;border-radius:999px;padding:1px 4px;font-weight:800;background:#f1f5f9;color:#64748b}
.igs-market-chip__change.is-up,.igs-market-chip--raw.is-up .igs-market-chip__change{background:#ecfdf5;color:#047857}
.igs-market-chip__change.is-down,.igs-market-chip--raw.is-down .igs-market-chip__change{background:#fff1f2;color:#be123c}
.igs-market-chip--raw.is-up i{background:#10b981}.igs-market-chip--raw.is-down i{background:#f43f5e}
html.dark .igs-market-chip__change{background:#1e293b;color:#94a3b8}
html.dark .igs-market-chip__change.is-up,html.dark .igs-market-chip--raw.is-up .igs-market-chip__change{background:rgba(5,150,105,.16);color:#6ee7b7}
html.dark .igs-market-chip__change.is-down,html.dark .igs-market-chip--raw.is-down .igs-market-chip__change{background:rgba(190,18,60,.16);color:#fda4af}

/* IGS v0.45.43 — canonical shell header, sidebar brand and context switcher. */
.irangs-global-header{
  box-shadow:0 1px 0 rgba(15,23,42,.03);
  margin-bottom:12px!important;
  position:relative;
}
.irangs-global-header__inner{
  align-items:center;
  display:flex;
  gap:9px;
  min-width:0;
  width:100%;
}
.irangs-global-header__title{flex:1 1 260px;min-width:140px;overflow:hidden}
.irangs-page-heading{gap:8px;margin:0;min-width:0}
.irangs-page-heading__title{font-size:.88rem;font-weight:850;max-width:100%;text-overflow:ellipsis}
.irangs-global-header__market{align-items:center;display:flex;flex:0 1 220px;justify-content:center;max-width:220px;min-width:0;overflow:hidden}
.irangs-global-header__market .igs-market-strip{max-width:100%;overflow:hidden}
.irangs-global-header__market .igs-market-widget-shell{max-width:210px}
.irangs-global-header__market .igs-market-widget-frame{max-width:210px}

.irangs-product-brand{min-width:0;width:100%}
.irangs-product-brand__link{align-items:center;border-radius:10px;color:inherit;display:inline-flex;gap:8px;max-width:100%;padding:4px 5px;text-decoration:none;transition:background .12s ease}
.irangs-product-brand__link:hover{background:rgba(99,102,241,.07)}
.irangs-product-brand__logo{border-radius:9px;display:block;flex:0 0 auto;height:34px;object-fit:cover;width:34px}
.irangs-product-brand__version{color:#64748b;font-size:.66rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.dark .irangs-product-brand__version{color:#94a3b8}
.irangs-navigation-header{align-items:center!important;min-height:62px!important;overflow:visible!important;position:relative}
.irangs-sidebar-brand{align-items:center;display:flex;min-width:0}
.irangs-workspace-switch{display:none!important}
.irangs-sidebar-collapse-handle,
.irangs-sidebar-open-handle{
  align-items:center;background:#fff;border:1px solid #dbe3ee;border-radius:10px;color:#64748b;cursor:pointer;display:inline-flex;height:30px;justify-content:center;padding:0;position:absolute;width:30px;z-index:75;
  box-shadow:0 3px 12px rgba(15,23,42,.08);transition:border-color .12s ease,background .12s ease,color .12s ease;
}
.irangs-sidebar-collapse-handle{left:-15px;top:16px}
.irangs-sidebar-open-handle{right:-10px;top:50%;transform:translateY(-50%)}
.irangs-sidebar-collapse-handle:hover,.irangs-sidebar-open-handle:hover{background:#eef2ff;border-color:#c7d2fe;color:#4338ca}
.irangs-sidebar-collapse-handle .material-symbols-outlined,.irangs-sidebar-open-handle .material-symbols-outlined{font-size:18px}
html.dark .irangs-sidebar-collapse-handle,html.dark .irangs-sidebar-open-handle{background:#111827;border-color:#334155;color:#cbd5e1}
html.dark .irangs-sidebar-collapse-handle:hover,html.dark .irangs-sidebar-open-handle:hover{background:#172033;border-color:#4f46e5;color:#c7d2fe}

.irangs-context-switcher{flex:0 1 285px;min-width:190px;position:relative;z-index:70}
.irangs-context-switcher__trigger{
  align-items:center;background:#fff;border:1px solid #dbe3ee;border-radius:11px;color:#334155;cursor:pointer;display:flex;gap:8px;min-height:40px;max-width:100%;padding:5px 9px;text-align:start;width:100%;
  box-shadow:0 1px 3px rgba(15,23,42,.025);font:inherit;
}
.irangs-context-switcher__trigger:hover,.irangs-context-switcher__trigger[aria-expanded="true"]{background:#f8fafc;border-color:#c7d2fe}
.irangs-context-switcher__icon{color:#6366f1;flex:0 0 auto;font-size:19px!important}
.irangs-context-switcher__copy{display:grid;gap:1px;line-height:1.25;min-width:0}
.irangs-context-switcher__copy strong{font-size:.7rem;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.irangs-context-switcher__copy small{color:#64748b;font-size:.57rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.irangs-context-switcher__chevron{color:#94a3b8;font-size:18px!important;margin-inline-start:auto;transition:transform .12s ease}
.irangs-context-switcher__trigger[aria-expanded="true"] .irangs-context-switcher__chevron{transform:rotate(180deg)}
.irangs-context-switcher__menu{
  background:#fff;border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 18px 45px rgba(15,23,42,.16);box-sizing:border-box;inset-inline-end:0;margin-top:7px;max-height:min(520px,calc(var(--igs-vv-height,100vh) - 110px));min-width:min(360px,calc(100vw - 24px));overflow:hidden;position:absolute;top:100%;width:max(100%,340px);z-index:120;
}
.irangs-context-switcher__head{border-bottom:1px solid #edf1f5;display:grid;gap:2px;padding:11px 12px}
.irangs-context-switcher__head strong{font-size:.74rem}
.irangs-context-switcher__head small{color:#64748b;font-size:.6rem;line-height:1.7}
.irangs-context-switcher__list{display:grid;max-height:410px;overflow:auto;padding:6px;scrollbar-width:thin}
.irangs-context-switcher__item{align-items:center;border:1px solid transparent;border-radius:10px;color:#334155;display:flex;gap:9px;min-height:48px;padding:7px 8px;text-decoration:none}
.irangs-context-switcher__item:hover{background:#f8fafc;border-color:#e2e8f0}
.irangs-context-switcher__item.is-active{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}
.irangs-context-switcher__item>.material-symbols-outlined{color:#64748b;flex:0 0 auto;font-size:20px!important}
.irangs-context-switcher__item.is-active>.material-symbols-outlined{color:#4f46e5}
.irangs-context-switcher__item-copy{display:grid;gap:2px;line-height:1.25;min-width:0}
.irangs-context-switcher__item-copy strong{font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.irangs-context-switcher__item-copy small{color:#64748b;font-size:.59rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.irangs-context-switcher__check{margin-inline-start:auto!important}
html.dark .irangs-context-switcher__trigger,html.dark .irangs-context-switcher__menu{background:#111827;border-color:#334155;color:#e2e8f0}
html.dark .irangs-context-switcher__trigger:hover,html.dark .irangs-context-switcher__trigger[aria-expanded="true"]{background:#172033;border-color:#4f46e5}
html.dark .irangs-context-switcher__head{border-color:#273449}
html.dark .irangs-context-switcher__item{color:#e2e8f0}
html.dark .irangs-context-switcher__item:hover{background:#172033;border-color:#334155}
html.dark .irangs-context-switcher__item.is-active{background:#282b61;border-color:#4f46e5;color:#e0e7ff}

/* Legacy shell duplicates are intentionally retired; context has one owner. */
.irangs-scope-indicator,.irangs-head-work{display:none!important}
.irangs-header-tools{flex:0 0 auto;gap:5px}
.irangs-header-tool{min-height:38px}

@media(max-width:1280px){
  .irangs-global-header__market{display:none}
  .irangs-context-switcher{flex-basis:250px;max-width:250px}
  .irangs-header-tool__label{display:none}
  .irangs-header-tool{padding-inline:8px}
}
@media(max-width:900px){
  .irangs-global-header{padding-inline:10px!important}
  .irangs-global-header__inner{display:grid;gap:7px;grid-template-columns:minmax(0,1fr) auto}
  .irangs-global-header__title{grid-column:1/-1;min-height:27px;padding-inline-start:2px}
  .irangs-context-switcher{flex-basis:auto;max-width:none;min-width:0;width:100%}
  .irangs-context-switcher__trigger{min-height:38px}
  .irangs-header-tools{justify-content:flex-end}
  .irangs-sidebar-open-handle{right:-7px}
}
@media(max-width:600px){
  .irangs-global-header{margin-bottom:8px!important;padding-inline:7px!important}
  .irangs-global-header__inner{grid-template-columns:minmax(0,1fr) auto}
  .irangs-page-heading__title{font-size:.8rem}
  .irangs-context-switcher__copy small{display:none}
  .irangs-context-switcher__trigger{gap:6px;padding-inline:7px}
  .irangs-context-switcher__menu{inset-inline-end:auto;inset-inline-start:0;min-width:calc(100vw - 28px);width:calc(100vw - 28px)}
  .irangs-header-tools{gap:3px}
  .irangs-header-tool{height:36px;min-height:36px;padding:5px 7px}
  .irangs-header-tool>.material-symbols-outlined{font-size:18px}
  .irangs-sidebar-collapse-handle{height:32px;left:-16px;top:15px;width:32px}
}
@media(prefers-reduced-motion:reduce){
  .irangs-product-brand__link,.irangs-sidebar-collapse-handle,.irangs-sidebar-open-handle,.irangs-context-switcher__chevron{transition:none}
}

/* v0.45.45 — unified notification management center */
.igs-notification-center{display:grid;gap:16px}.igs-notification-center__guard{align-items:center;background:linear-gradient(135deg,#f0fdf4,#f8fafc);border:1px solid #bbf7d0;border-radius:16px;display:flex;gap:12px;padding:14px 16px}.igs-notification-center__guard>.material-symbols-outlined{color:#15803d;font-size:25px}.igs-notification-center__guard div{display:grid;gap:3px}.igs-notification-center__guard strong{color:#166534;font-size:.8rem}.igs-notification-center__guard span:not(.material-symbols-outlined){color:#64748b;font-size:.68rem;line-height:1.8}.igs-notification-center__filters{display:flex;flex-wrap:wrap;gap:8px}.igs-notification-center__filters a{background:var(--irangs-card,#fff);border:1px solid var(--irangs-border,#e2e8f0);border-radius:999px;color:var(--irangs-muted,#64748b);font-size:.68rem;font-weight:700;padding:7px 11px;text-decoration:none}.igs-notification-center__filters a:hover,.igs-notification-center__filters a.is-active{background:#eef2ff;border-color:#a5b4fc;color:#4338ca}.igs-notification-center__code{color:#94a3b8;direction:ltr;display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.62rem;margin-top:4px;text-align:right}.igs-notification-center .igs-list-static-table td{vertical-align:middle}.igs-notification-center .igs-list-static-table .irangs-badge{display:inline-flex;margin:2px}.igs-message-template-links a small{color:#94a3b8;font-size:.62rem;line-height:1.65}
html.dark .igs-notification-center__guard{background:linear-gradient(135deg,#10251a,#111827);border-color:#166534}html.dark .igs-notification-center__guard strong{color:#86efac}html.dark .igs-notification-center__filters a{background:#111827;border-color:#334155;color:#cbd5e1}html.dark .igs-notification-center__filters a:hover,html.dark .igs-notification-center__filters a.is-active{background:#252551;border-color:#4f46e5;color:#c7d2fe}
@media(max-width:720px){.igs-notification-center__guard{align-items:flex-start}.igs-notification-center__filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.igs-notification-center__filters a{flex:0 0 auto}.igs-notification-center .jango-metrics{grid-template-columns:1fr 1fr}.igs-notification-center__code{text-align:left}}
@media(max-width:420px){.igs-notification-center .jango-metrics{grid-template-columns:1fr}.igs-notification-center__guard{border-radius:13px;padding:12px}.igs-notification-center__guard>.material-symbols-outlined{font-size:22px}}

/* v0.45.50 — personalized shell density, compact RTL sidebar and resilient breadcrumbs. */
.irangs-sidebar-frame{flex:0 0 auto;min-width:0}
#nav-sidebar{border-inline-end:1px solid #e2e8f0!important;border-right:0!important;box-shadow:-1px 0 0 rgba(15,23,42,.015)}
html.dark #nav-sidebar{border-inline-end-color:#273449!important}
.irangs-sidebar-resize-handle{opacity:.18;transition:opacity .15s ease}
.irangs-sidebar-resize-handle:hover{opacity:1}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-navigation-header{min-height:56px!important}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-group__heading{margin-block:5px!important;padding-block:4px!important}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-group__items{gap:1px!important;padding-inline:7px!important}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-item{min-height:37px!important}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-item>a,
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-item>button{min-height:36px!important;padding-block:6px!important;padding-inline:8px!important}
html[data-igs-sidebar-mode="compact"] #nav-sidebar .irangs-nav-item .material-symbols-outlined{font-size:19px!important}
html[data-igs-sidebar-mode="compact"] .irangs-product-brand__logo{height:31px;width:31px}
html[data-igs-sidebar-mode="compact"] .irangs-product-brand__version{font-size:.61rem}
html[data-igs-ui-density="compact"] .irangs-global-header{margin-bottom:8px!important}
html[data-igs-ui-density="compact"] .irangs-global-header__inner{gap:6px}
html[data-igs-ui-density="compact"] .irangs-context-switcher__trigger{min-height:36px;padding-block:3px}
html[data-igs-ui-density="compact"] .irangs-header-tool{height:36px;min-height:36px}

.irangs-smart-breadcrumb{align-items:center;display:flex;gap:5px;max-width:100%;min-width:0;overflow:hidden;white-space:nowrap}
.irangs-smart-breadcrumb__item{align-items:center;color:#64748b;display:inline-flex;flex:0 1 auto;font-size:.72rem;font-weight:700;max-width:min(185px,24vw);min-width:0;text-decoration:none}
.irangs-smart-breadcrumb__item:hover{color:#4338ca}
.irangs-smart-breadcrumb__item.is-current{color:#0f172a;flex:0 1 auto;font-weight:850;max-width:min(330px,36vw)}
.irangs-smart-breadcrumb__label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.irangs-smart-breadcrumb__separator{color:#94a3b8;flex:0 0 auto;font-size:17px!important}
html.dark .irangs-smart-breadcrumb__item{color:#94a3b8}
html.dark .irangs-smart-breadcrumb__item.is-current{color:#e2e8f0}
.irangs-context-switcher__preferred{background:#eef2ff;border-radius:999px;color:#4f46e5;font-size:.53rem;font-style:normal;font-weight:850;margin-inline-start:5px;padding:2px 6px;white-space:nowrap}
html.dark .irangs-context-switcher__preferred{background:#282b61;color:#c7d2fe}

@media(max-width:1180px){
  .irangs-smart-breadcrumb__item{max-width:145px}
  .irangs-smart-breadcrumb__item.is-current{max-width:230px}
}
@media(max-width:900px){
  .irangs-smart-breadcrumb__item.is-first:not(.is-current){display:none}
  .irangs-smart-breadcrumb__item.is-first:not(.is-current)+.irangs-smart-breadcrumb__separator{display:none}
  .irangs-smart-breadcrumb__item{max-width:120px}
  .irangs-smart-breadcrumb__item.is-current{max-width:min(55vw,280px)}
}
@media(max-width:600px){
  .irangs-smart-breadcrumb__item:not(.is-current):not(:nth-last-of-type(1)){max-width:82px}
  .irangs-smart-breadcrumb__item.is-current{max-width:60vw}
}
/* v0.45.69 Notification Core channel readiness */
.igs-notification-channel-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.igs-notification-channel-card{background:var(--irangs-card,#fff);border:1px solid var(--irangs-border,#e2e8f0);border-radius:14px;display:grid;gap:9px;padding:13px}.igs-notification-channel-card.is-ready{border-color:#bbf7d0}.igs-notification-channel-card.is-blocked{border-color:#fed7aa}.igs-notification-channel-card__head{align-items:center;display:flex;gap:8px;justify-content:space-between}.igs-notification-channel-card p{color:var(--irangs-muted,#64748b);font-size:.68rem;line-height:1.8;margin:0}.igs-notification-channel-card__metrics{display:flex;flex-wrap:wrap;gap:8px}.igs-notification-channel-card__metrics span{background:#f8fafc;border-radius:999px;color:#475569;font-size:.62rem;padding:4px 7px}.igs-notification-channel-card__error{color:#b91c1c;font-size:.62rem;line-height:1.7}.igs-notification-routing-note{margin-top:14px}.igs-notification-routing-note strong{margin-inline-end:4px}html.dark .igs-notification-channel-card{background:#111827;border-color:#334155}html.dark .igs-notification-channel-card.is-ready{border-color:#166534}html.dark .igs-notification-channel-card.is-blocked{border-color:#9a3412}html.dark .igs-notification-channel-card__metrics span{background:#0f172a;color:#cbd5e1}html.dark .igs-notification-channel-card__error{color:#fca5a5}@media(max-width:1050px){.igs-notification-channel-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.igs-notification-channel-grid{grid-template-columns:1fr}}

/* v0.47.23 — Smart Related Picker: searchable ModelChoiceField + permission-aware actions. */
.igs-smart-related-custom{align-items:stretch;display:flex;direction:rtl;gap:6px;min-width:0;position:relative;width:100%}
.igs-smart-related-actions{flex:0 0 auto;position:relative}
.igs-smart-related-trigger{align-items:center;background:var(--igs-color-surface);border:1px solid var(--igs-color-border-strong);border-radius:var(--igs-radius-md);color:var(--igs-color-muted);cursor:pointer;display:flex;height:var(--igs-control-height);justify-content:center;padding:0;width:var(--igs-control-height)}
.igs-smart-related-trigger:hover,.igs-smart-related-custom.is-menu-open .igs-smart-related-trigger{background:var(--igs-color-primary-soft);border-color:var(--igs-color-primary);color:var(--igs-color-primary)}
.igs-smart-related-trigger:focus-visible{outline:3px solid var(--igs-focus-ring);outline-offset:2px}
.igs-smart-related-trigger .material-symbols-outlined{font-size:20px!important}
.igs-smart-related-input-wrap{flex:1 1 auto;min-width:0;position:relative}
.igs-smart-related-input{background:var(--igs-color-surface)!important;border:1px solid var(--igs-color-border-strong)!important;border-radius:var(--igs-radius-md)!important;box-sizing:border-box!important;color:var(--igs-color-text)!important;direction:rtl!important;font:inherit!important;height:var(--igs-control-height)!important;min-height:var(--igs-control-height)!important;padding-block:8px!important;padding-inline:36px!important;text-align:right!important;text-overflow:ellipsis!important;width:100%!important}
.igs-smart-related-input:focus{border-color:var(--igs-color-primary)!important;box-shadow:0 0 0 3px var(--igs-focus-ring)!important;outline:0!important}
.igs-smart-related-search-icon{color:var(--igs-color-placeholder);font-size:19px!important;inset-inline-start:auto;inset-inline-end:10px;pointer-events:none;position:absolute;top:11px}
.igs-smart-related-native{height:1px!important;inset:0!important;margin:0!important;opacity:0!important;padding:0!important;pointer-events:none!important;position:absolute!important;width:1px!important}
.igs-smart-related-results,.igs-smart-related-menu{background:var(--igs-color-surface);border:1px solid var(--igs-color-border);border-radius:var(--igs-radius-lg);box-shadow:var(--igs-shadow-lg);display:none;max-height:300px;overflow:auto;position:absolute;z-index:var(--igs-z-dropdown)}
.igs-smart-related-results{inset-inline:0;top:calc(100% + 5px)}
.igs-smart-related-menu{inset-inline-start:0;min-width:min(290px,calc(100vw - 30px));top:calc(100% + 5px)}
.igs-smart-related-custom.is-results-open .igs-smart-related-results,.igs-smart-related-custom.is-menu-open .igs-smart-related-menu{display:block}
.igs-smart-related-result,.igs-smart-related-action{align-items:center;background:transparent;border:0;color:var(--igs-color-text-soft);cursor:pointer;display:flex;font:inherit;gap:8px;min-height:38px;padding:8px 10px;text-align:right;width:100%}
.igs-smart-related-result{justify-content:space-between}
.igs-smart-related-result:hover,.igs-smart-related-result:focus-visible,.igs-smart-related-action:hover,.igs-smart-related-action:focus-visible{background:var(--igs-color-primary-soft);color:var(--igs-color-primary);outline:0}
.igs-smart-related-result[aria-selected="true"]{background:var(--igs-color-primary-soft);color:var(--igs-color-primary);font-weight:var(--igs-font-weight-strong)}
.igs-smart-related-result .material-symbols-outlined,.igs-smart-related-action .material-symbols-outlined{color:var(--igs-color-primary);font-size:19px!important;flex:0 0 auto}
.igs-smart-related-empty,.igs-smart-related-more,.igs-smart-related-menu-loading{color:var(--igs-color-muted);font-size:var(--igs-font-xs);line-height:1.7;padding:10px 12px}
.igs-smart-related-more{border-top:1px solid var(--igs-color-border)}
.igs-smart-related-menu-loading{white-space:nowrap}
html.dark .igs-smart-related-trigger,html.dark .igs-smart-related-input,html.dark .igs-smart-related-results,html.dark .igs-smart-related-menu{background:var(--igs-color-surface)!important;border-color:var(--igs-color-border)!important;color:var(--igs-color-text)!important}
html.dark .igs-smart-related-trigger:hover,html.dark .igs-smart-related-custom.is-menu-open .igs-smart-related-trigger{background:var(--igs-color-primary-soft)!important;border-color:var(--igs-color-primary)!important;color:var(--igs-color-primary)!important}
html.dark .igs-smart-related-result,html.dark .igs-smart-related-action{color:var(--igs-color-text-soft)}
html.dark .igs-smart-related-result:hover,html.dark .igs-smart-related-result:focus-visible,html.dark .igs-smart-related-action:hover,html.dark .igs-smart-related-action:focus-visible{background:var(--igs-color-primary-soft);color:var(--igs-color-primary)}
html.dark .igs-smart-related-result[aria-selected="true"]{background:var(--igs-color-primary-soft);color:var(--igs-color-primary)}
html.dark .igs-smart-related-empty,html.dark .igs-smart-related-more,html.dark .igs-smart-related-menu-loading{color:var(--igs-color-muted)}
html.dark .igs-smart-related-more{border-top-color:var(--igs-color-border)}
@media(max-width:600px){.igs-smart-related-menu{min-width:min(280px,calc(100vw - 24px))}.igs-smart-related-results{max-height:240px}.igs-smart-related-trigger{width:var(--igs-control-height)}}

/* Canonical top-layer/portal contract for every searchable result surface.
   This is intentionally product-wide: no Card, table scroller, transform or
   future page stacking context may clip an open picker. */
.igs-floating-layer-root{inset:0;pointer-events:none;position:fixed;z-index:calc(var(--igs-z-dialog) - 1)}
.igs-floating-layer-panel.is-floating-open{
    display:block!important;
    box-sizing:border-box!important;
    margin:0!important;
    overflow:auto!important;
    pointer-events:auto!important;
    position:fixed!important;
    z-index:calc(var(--igs-z-dialog) - 1)!important;
}
.igs-floating-layer-panel[hidden]{display:none!important}
.igs-floating-layer-panel:popover-open{display:block!important}

/* Select2 is an externally managed floating surface. The outer container is
   positioned by IGS while Select2 keeps ownership of querying, keyboard
   navigation, ARIA state and close/destroy. This applies to Admin forms,
   filters, dynamically-added inlines and dialog-hosted forms alike. */
.igs-floating-layer-panel.igs-select2-floating-panel.is-floating-open{
    background:var(--igs-color-surface)!important;
    border:1px solid var(--igs-color-border)!important;
    border-radius:var(--igs-radius-lg)!important;
    box-shadow:var(--igs-shadow-lg)!important;
    direction:rtl!important;
    overflow:hidden!important;
}
.igs-select2-floating-panel>.select2-dropdown{
    background:var(--igs-color-surface)!important;
    border:0!important;
    border-radius:inherit!important;
    box-sizing:border-box!important;
    direction:rtl!important;
    position:static!important;
    width:100%!important;
}
.igs-select2-floating-panel .select2-search--dropdown{
    background:var(--igs-color-surface)!important;
    padding:7px!important;
}
.igs-select2-floating-panel .select2-search__field{
    direction:rtl!important;
    text-align:right!important;
    width:100%!important;
}
.igs-select2-floating-panel .select2-results__options{
    max-height:min(292px,calc(100dvh - 150px))!important;
    overscroll-behavior:contain;
}
html.dark .igs-floating-layer-panel.igs-select2-floating-panel.is-floating-open,
html.dark .igs-select2-floating-panel>.select2-dropdown,
html.dark .igs-select2-floating-panel .select2-search--dropdown{
    background:var(--igs-color-surface)!important;
    border-color:var(--igs-color-border)!important;
    color:var(--igs-color-text)!important;
}

/* IGS 0.47.24 — one Smart Related Picker visual contract across custom forms
   and Django/Unfold relation widgets.  The native relation/queryset remains
   authoritative; these rules only normalize presentation. */
.related-widget-wrapper.igs-smart-related-picker{
    align-items:stretch!important;
    direction:rtl!important;
    display:flex!important;
    flex-direction:row!important;
    gap:6px!important;
    min-width:0!important;
    width:100%!important;
}
.igs-smart-related-admin-actions{flex:0 0 auto;position:relative}
.igs-smart-related-admin-input-wrap{
    flex:1 1 auto;
    min-width:0;
    position:relative;
    width:100%;
}
.igs-smart-related-admin-input-wrap>.grow,
.igs-smart-related-admin-input-wrap>.relative,
.igs-smart-related-admin-input-wrap .select2-container{
    max-width:none!important;
    min-width:0!important;
    width:100%!important;
}
.igs-smart-related-admin-search-icon{
    color:var(--igs-color-placeholder);
    font-size:19px!important;
    inset-inline-end:10px;
    pointer-events:none;
    position:absolute;
    top:10px;
    z-index:3;
}
.igs-smart-related-admin-menu{
    background:var(--igs-color-surface);
    border:1px solid var(--igs-color-border);
    border-radius:var(--igs-radius-lg);
    box-shadow:var(--igs-shadow-lg);
    display:flex;
    flex-direction:column;
    max-height:320px;
    min-width:min(310px,calc(100vw - 30px));
    overflow:auto;
    padding:4px;
    position:absolute;
    z-index:var(--igs-z-dropdown);
}
.igs-smart-related-admin-menu .igs-smart-related-action{
    border-radius:7px;
    flex:0 0 auto;
}
/* Server-side Admin autocomplete keeps Django's safe AJAX/search endpoint but
   visually matches the local text picker. */
.igs-smart-related-admin-remote .select2-container--admin-autocomplete .select2-selection--single,
.igs-smart-related-admin-remote .select2-container .select2-selection--single{
    align-items:center!important;
    background:var(--igs-color-surface)!important;
    border:1px solid var(--igs-color-border-strong)!important;
    border-radius:var(--igs-radius-md)!important;
    box-sizing:border-box!important;
    display:flex!important;
    height:var(--igs-control-height)!important;
    min-height:var(--igs-control-height)!important;
    padding-block:0!important;
    padding-inline:36px!important;
}
.igs-smart-related-admin-remote .select2-selection__rendered{
    color:var(--igs-color-text)!important;
    direction:rtl!important;
    line-height:40px!important;
    padding:0!important;
    text-align:right!important;
    width:100%!important;
}
.igs-smart-related-admin-remote .select2-selection__arrow{
    display:none!important;
}
.igs-smart-related-admin-remote .select2-container--focus .select2-selection--single,
.igs-smart-related-admin-remote .select2-container--open .select2-selection--single{
    border-color:var(--igs-color-primary)!important;
    box-shadow:0 0 0 3px var(--igs-focus-ring)!important;
}
/* A plain Admin relation is upgraded to the same local searchable textbox. */
.igs-smart-related-picker.igs-smart-related-local .igs-smart-related-input-wrap{
    flex:1 1 auto;
    max-width:none!important;
    min-width:0;
    position:relative;
    width:100%!important;
}
.igs-smart-related-picker.is-results-open .igs-smart-related-results{
    display:block;
}
.igs-smart-related-picker .igs-smart-related-results{
    inset-inline:0;
    top:calc(100% + 5px);
}
html.dark .igs-smart-related-admin-menu,
html.dark .igs-smart-related-admin-remote .select2-container .select2-selection--single{
    background:var(--igs-color-surface)!important;
    border-color:var(--igs-color-border)!important;
    color:var(--igs-color-text)!important;
}
html.dark .igs-smart-related-admin-remote .select2-selection__rendered{color:var(--igs-color-text)!important}
@media(max-width:600px){
    .igs-smart-related-admin-menu{min-width:min(290px,calc(100vw - 24px))}
    .related-widget-wrapper.igs-smart-related-picker{gap:5px!important}
}
