/* Imo App — design system */
:root {
    --imo-brand: #0d9488;
    --imo-brand-dark: #0f766e;
    --imo-brand-light: #ecfdf5;
    --imo-ink: #0f172a;
    --imo-muted: #64748b;
    --imo-line: #e2e8f0;
    --imo-surface: #ffffff;
    --imo-bg: #f1f5f9;
    --imo-radius: 1rem;
    --imo-radius-lg: 1.25rem;
    --imo-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --imo-shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 40px rgba(15, 23, 42, 0.08);
}

.imo-task-file-box--visible {
    display: inline-flex;
    min-height: 3rem;
    flex: 1 1 12rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .1rem;
    border: 1px solid rgba(13, 148, 136, .25);
    border-radius: 1rem;
    background: rgba(240, 253, 250, .85);
    color: #0f766e;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 900;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button.imo-task-file-box--visible {
    appearance: none;
    margin: 0;
    padding: inherit;
    font: inherit;
    line-height: inherit;
    width: auto;
}

button.imo-task-file-box--visible.is-pressed {
    transform: scale(.985);
    background: rgba(204, 251, 241, .95);
}

button.imo-task-file-box--visible:focus {
    outline: none;
}

button.imo-task-file-box--visible:focus-visible {
    outline: 2px solid rgba(13, 148, 136, .45);
    outline-offset: 2px;
}

.imo-task-file-box--visible small {
    color: #64748b;
    font-size: .62rem;
    font-weight: 750;
}

.imo-task-camera-box {
    display: none !important;
    flex: 0 1 7rem;
}

.imo-task-camera-wrap {
    position: relative;
    overflow: hidden;
}

.imo-task-camera-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.imo-task-camera-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.imo-task-camera-label,
.imo-task-file-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    min-width: 0;
}

.imo-task-camera-label em,
.imo-task-file-label em {
    font-style: normal;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-task-camera-icon,
.imo-task-file-icon {
    width: 1.75rem;
    height: 1.35rem;
    flex: 0 0 auto;
    color: #007aa5;
}

.imo-task-file-icon {
    width: 1.55rem;
    height: 1.65rem;
}

.imo-storage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    margin-top: .28rem;
}

.imo-storage-stats span {
    display: grid;
    gap: .08rem;
    min-width: 0;
    padding: .42rem .5rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(226, 232, 240, .75);
}

.imo-storage-stats strong,
.imo-storage-stats em,
.imo-storage-stats small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-storage-stats strong {
    color: #0f172a;
    font-size: .62rem;
    font-weight: 950;
}

.imo-storage-stats em {
    color: #475569;
    font-size: .6rem;
    font-style: normal;
    font-weight: 850;
}

.imo-storage-stats small {
    color: #0f766e;
    font-size: .68rem;
    font-weight: 950;
}

.imo-storage-user--inactive {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

.imo-storage-user--inactive .imo-task-title-clamp,
.imo-storage-user--inactive .imo-storage-stats strong,
.imo-storage-user--inactive .imo-storage-stats em,
.imo-storage-user--inactive .imo-storage-stats small {
    color: #64748b !important;
}

@media (max-width: 767px) {
    .imo-task-camera-box {
        display: inline-flex !important;
    }

    .imo-task-show-page .imo-task-composer-actions {
        display: grid;
        grid-template-columns: .72fr 1fr .86fr;
        gap: .32rem;
        align-items: stretch;
    }

    .imo-task-show-page .imo-task-file-box,
    .imo-task-show-page .imo-task-send {
        min-width: 0;
        width: 100%;
        min-height: 2.65rem;
        border-radius: .85rem;
    }

    .imo-task-show-page .imo-task-file-box {
        flex: unset;
        padding: .42rem .28rem;
    }

    .imo-task-show-page .imo-task-file-box span {
        font-size: .62rem;
    }

    .imo-task-show-page .imo-task-camera-label,
    .imo-task-show-page .imo-task-file-label {
        gap: .12rem;
    }

    .imo-task-show-page .imo-task-camera-icon {
        width: 2rem;
        height: 1.5rem;
    }

    .imo-task-show-page .imo-task-file-icon {
        width: 1.75rem;
        height: 1.9rem;
    }

    .imo-task-show-page .imo-task-file-box small {
        display: none;
    }

    .imo-task-show-page .imo-task-send {
        flex: unset;
        padding-inline: .35rem;
        font-size: .78rem;
    }

    .imo-storage-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .22rem;
    }

    .imo-storage-stats span {
        padding: .34rem .28rem;
        border-radius: .65rem;
    }

    .imo-storage-stats strong {
        font-size: .54rem;
    }

    .imo-storage-stats em {
        font-size: .52rem;
    }

    .imo-storage-stats small {
        font-size: .57rem;
    }
}

#istoric-cronologic {
    scroll-margin-top: 5rem !important;
}

.imo-timeline-card--feedback-good {
    border-left: 3px solid #16a34a !important;
    background: linear-gradient(90deg, rgba(22, 163, 74, .1), rgba(255, 255, 255, .98) 32%) !important;
}

.imo-timeline-card--feedback-good .imo-timeline-meta span:first-child,
.imo-timeline-card--feedback-good .imo-timeline-system-author {
    color: #15803d !important;
}

.imo-timeline-card--feedback-bad {
    border-left: 3px solid #e11d48 !important;
    background: linear-gradient(90deg, rgba(225, 29, 72, .1), rgba(255, 255, 255, .98) 32%) !important;
}

.imo-timeline-card--feedback-bad .imo-timeline-meta span:first-child,
.imo-timeline-card--feedback-bad .imo-timeline-system-author {
    color: #be123c !important;
}

/* Operational feedback module: detail pages and task feedback rows. */
.imo-operational-feedback-page {
    display: grid;
    gap: 1rem;
    width: min(100%, 70rem);
    margin-inline: auto;
}

.imo-feedback-detail-hero,
.imo-feedback-detail-card,
.imo-feedback-detail-stats article {
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 1rem;
    background: rgba(255,255,255,.94);
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 12px 26px rgba(15,23,42,.05);
}

.imo-feedback-detail-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 32rem);
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.1rem;
    padding: 1.15rem;
    overflow: hidden;
}

.imo-feedback-detail-hero__copy {
    min-width: 0;
}

.imo-feedback-detail-hero__copy .imo-page-title {
    max-width: 11ch;
    line-height: .95;
}

.imo-feedback-detail-hero__copy .imo-page-sub {
    max-width: 28rem;
}

.imo-feedback-detail-controls,
.imo-feedback-detail-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.imo-feedback-detail-control .imo-select {
    width: auto;
    min-width: 9rem;
    min-height: 2.2rem;
    padding-block: .35rem;
    font-size: .74rem;
}

.imo-feedback-identity-pill,
.imo-feedback-detail-period {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    padding: .36rem .65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: .68rem;
    font-weight: 900;
}

.imo-feedback-identity-pill span {
    display: grid;
    width: 1.72rem;
    height: 1.72rem;
    place-items: center;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: .66rem;
}

.imo-feedback-identity-pill small {
    color: #64748b;
    font-size: .62rem;
    font-weight: 800;
}

.imo-feedback-detail-period svg {
    width: .9rem;
    height: .9rem;
}

.imo-feedback-detail-stats,
.imo-feedback-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.imo-feedback-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.imo-feedback-detail-stats article,
.imo-feedback-detail-card {
    padding: 1rem;
}

.imo-feedback-detail-stats article {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.imo-feedback-detail-card h2 {
    color: #344054;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.imo-feedback-stat-icon,
.imo-feedback-card-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
}

.imo-feedback-card-icon {
    width: 2.35rem;
    height: 2.35rem;
}

.imo-feedback-stat-icon svg,
.imo-feedback-card-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 2.1;
}

.imo-feedback-detail-card__head {
    display: flex;
    align-items: flex-start;
    gap: .72rem;
}

.imo-feedback-detail-card--wide {
    grid-column: 1 / -1;
}

.imo-feedback-detail-stats strong {
    display: block;
    margin-top: .28rem;
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1;
}

.imo-feedback-detail-stats small,
.imo-feedback-detail-card p {
    color: #667085;
    font-size: .68rem;
    font-weight: 750;
}

.imo-feedback-detail-list,
.imo-feedback-detail-table {
    display: grid;
    gap: .35rem;
    margin-top: .65rem;
}

.imo-feedback-detail-list div,
.imo-feedback-detail-list a,
.imo-feedback-detail-table a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    min-height: 2.45rem;
    padding: .46rem .55rem;
    border: 1px solid rgba(226,232,240,.84);
    border-radius: .82rem;
    background: #fff;
    color: #1e293b;
}

.imo-feedback-detail-table a {
    grid-template-columns: minmax(0, 1fr) auto;
}

.imo-feedback-detail-list span,
.imo-feedback-detail-table span {
    overflow: hidden;
    font-size: .76rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-feedback-detail-table small {
    grid-column: 1 / -1;
    color: #667085;
    font-size: .62rem;
    font-weight: 750;
}

.imo-feedback-detail-list strong,
.imo-feedback-detail-table strong {
    color: #111827;
    font-size: .72rem;
    font-weight: 950;
}

.imo-feedback-empty {
    margin: 0;
    padding: .65rem;
    border-radius: .82rem;
    background: #f8fafc;
}

.imo-operational-feedback-page--bad .imo-feedback-detail-stats strong,
.imo-operational-feedback-page--bad .imo-page-title {
    color: #b91c1c;
}

.imo-operational-feedback-page--bad .imo-feedback-stat-icon,
.imo-operational-feedback-page--bad .imo-feedback-card-icon {
    background: #fee2e2;
    color: #dc2626;
}

.imo-operational-feedback-page--good .imo-feedback-detail-stats strong,
.imo-operational-feedback-page--good .imo-page-title {
    color: #15803d;
}

.imo-task-show-page .imo-feedback-entry {
    padding: .65rem .72rem;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: .9rem;
    background: #fff;
}

@media (max-width: 900px) {
    .imo-feedback-detail-hero,
    .imo-feedback-detail-controls,
    .imo-feedback-detail-control {
        display: grid;
        justify-content: stretch;
    }

    .imo-feedback-detail-hero {
        grid-template-columns: 1fr;
    }

    .imo-feedback-detail-control .imo-select {
        width: 100%;
    }

    .imo-feedback-detail-stats,
    .imo-feedback-detail-grid {
        grid-template-columns: 1fr;
    }
}

html[data-theme="dark"] .imo-feedback-detail-hero,
html[data-theme="dark"] .imo-feedback-detail-card,
html[data-theme="dark"] .imo-feedback-detail-stats article,
html[data-theme="dark"] .imo-feedback-detail-list div,
html[data-theme="dark"] .imo-feedback-detail-list a,
html[data-theme="dark"] .imo-feedback-detail-table a,
html[data-theme="dark"] .imo-task-show-page .imo-feedback-entry {
    border-color: rgba(148,163,184,.24);
    background: rgba(17,24,32,.92);
}

html[data-theme="dark"] .imo-feedback-detail-list span,
html[data-theme="dark"] .imo-feedback-detail-table span,
html[data-theme="dark"] .imo-feedback-detail-list strong,
html[data-theme="dark"] .imo-feedback-detail-table strong {
    color: #edf4fb;
}

/* Final mobile pass for Impact financiar: prevent cached/earlier overrides from compressing the page. */
@media (max-width: 460px) {
    .imo-main:has(.imo-financial-impact-page) {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .imo-financial-impact-page {
        width: 100% !important;
        max-width: 100% !important;
        gap: .5rem !important;
        overflow-x: hidden !important;
    }

    .imo-financial-impact-page > * {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .imo-financial-hero {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .42rem !important;
        padding: .52rem .58rem .48rem !important;
        border-radius: 1rem !important;
        overflow: hidden !important;
    }

    .imo-financial-hero__identity,
    .imo-financial-hero__period {
        width: 100% !important;
        min-width: 0 !important;
        justify-items: start !important;
        text-align: left !important;
    }

    .imo-financial-hero__identity > div {
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        gap: .14rem !important;
    }

    .imo-financial-hero__identity .imo-agent-scope,
    .imo-financial-hero__identity .imo-agent-scope-trigger {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .imo-financial-hero__identity .imo-agent-scope-trigger {
        min-height: 1.78rem !important;
        padding: .14rem .58rem .14rem .16rem !important;
        font-size: .74rem !important;
    }

    .imo-financial-period-pills {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: .18rem !important;
        overflow-x: auto !important;
        padding: .1rem !important;
        border-radius: 999px !important;
        scrollbar-width: none;
    }

    .imo-financial-period-pills::-webkit-scrollbar {
        display: none;
    }

    .imo-financial-period-pills .imo-period-pill {
        flex: 0 0 auto !important;
        min-height: 1.4rem !important;
        padding: .18rem .42rem !important;
        font-size: .58rem !important;
        white-space: nowrap !important;
    }

    .imo-financial-metrics {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .32rem !important;
    }

    .imo-financial-metric {
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) minmax(4.5rem, auto) !important;
        align-items: center !important;
        gap: .38rem !important;
        padding: .48rem .52rem !important;
        overflow: hidden !important;
    }

    .imo-financial-metric small {
        min-width: 0 !important;
        overflow: hidden !important;
        font-size: .5rem !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .imo-financial-metric strong {
        min-width: 0 !important;
        max-width: 100% !important;
        justify-self: end !important;
        overflow: visible !important;
        font-size: clamp(.86rem, 4.2vw, 1rem) !important;
        line-height: 1 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .imo-financial-metric em {
        font-size: .52rem !important;
    }

    .imo-financial-metric p {
        grid-column: 2 / -1 !important;
        margin-top: -.16rem !important;
        font-size: .5rem !important;
    }

    .imo-financial-line-chart svg {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Impact financiar compact header and task rows. */
.imo-financial-hero__topbar {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    min-width: 0;
}

.imo-financial-hero__topbar .imo-agent-scope {
    flex: 0 1 auto;
    min-width: 0;
}

.imo-financial-hero__topbar .imo-financial-period-pills {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

.imo-financial-row {
    align-items: start;
    padding: .36rem .2rem;
}

.imo-financial-row__icon {
    margin-top: .04rem;
}

.imo-financial-row__value {
    align-self: start;
    padding-top: .03rem;
}

.imo-financial-row__date {
    align-self: start;
    padding-top: .03rem;
}

.imo-financial-row__main {
    gap: .04rem;
}

.imo-financial-row__main small {
    -webkit-line-clamp: 1;
}

@media (max-width: 460px) {
    .imo-financial-hero {
        padding: .46rem .5rem .44rem !important;
    }

    .imo-financial-hero__identity {
        display: block !important;
    }

    .imo-financial-hero__topbar {
        display: flex !important;
        align-items: center !important;
        gap: .26rem !important;
    }

    .imo-financial-hero__topbar .imo-agent-scope {
        flex: 0 0 auto !important;
        max-width: 46% !important;
    }

    .imo-financial-hero__topbar .imo-agent-scope-trigger {
        max-width: 100% !important;
    }

    .imo-financial-hero__topbar .imo-agent-scope-trigger strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .imo-financial-hero__topbar .imo-financial-period-pills {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .imo-financial-hero__period {
        margin-top: .08rem !important;
    }

    .imo-financial-row {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: start !important;
        column-gap: .34rem !important;
        row-gap: .12rem !important;
        padding: .36rem .1rem !important;
    }

    .imo-financial-row__main {
        grid-column: 2 !important;
        grid-row: 1 / span 3;
        gap: .03rem !important;
    }

    .imo-financial-row__main strong {
        font-size: .68rem !important;
        line-height: 1.12 !important;
    }

    .imo-financial-row__main small {
        font-size: .52rem !important;
        line-height: 1.08 !important;
        -webkit-line-clamp: 1 !important;
    }

    .imo-financial-row__value {
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: start !important;
        padding-top: .02rem !important;
        font-size: .64rem !important;
        line-height: 1.05 !important;
    }

    .imo-financial-row__value--revenue {
        grid-row: 1 !important;
    }

    .imo-financial-row__value--reduction {
        grid-row: 2 !important;
    }

    .imo-financial-row__date {
        grid-column: 2 / 4 !important;
        grid-row: 4 !important;
        justify-self: start !important;
        margin-top: .02rem !important;
        font-size: .5rem !important;
    }
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

* { -webkit-tap-highlight-color: transparent; }

/* Local utility subset used by Blade views. Avoids browser-side Tailwind CDN compilation. */
.hidden { display: none !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.grid > * { min-width: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[14px\] { font-size: 14px; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-teal-600 { color: #0d9488; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-cyan-800 { color: #155e75; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-teal-700 { color: #0f766e; }
.text-white { color: #fff; }
.bg-white { background-color: #fff; }
.bg-white\/70 { background-color: rgba(255,255,255,.7); }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-50\/70 { background-color: rgba(254,242,242,.7); }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-50\/70 { background-color: rgba(236,253,245,.7); }
.bg-amber-50 { background-color: #fffbeb; }
.bg-slate-50 { background-color: #f8fafc; }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-red-100 { border-color: #fee2e2; }
.border-red-200 { border-color: #fecaca; }
.border-emerald-100 { border-color: #d1fae5; }
.border-emerald-200 { border-color: #a7f3d0; }
.border-amber-200 { border-color: #fde68a; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.rounded { border-radius: .25rem; }
.list-none { list-style: none; }
.cursor-pointer { cursor: pointer; }
.opacity-70 { opacity: .7; }
.w-auto { width: auto !important; }
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.whitespace-nowrap { white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .025em; }
.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-3 { gap: .75rem; }
.space-y-1\.5 > * + * { margin-top: .375rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-1\.5 { margin-top: .375rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-1 { margin-left: .25rem; }
.mr-4 { margin-right: 1rem; }
.m-0 { margin: 0; }
.p-3 { padding: .75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-3 { padding-top: .75rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-36 { padding-bottom: 9rem; }
.pl-0 { padding-left: 0; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:col-span-3 { grid-column: span 3 / span 3; }
}

.imo-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    height: 3px;
    width: 0;
    pointer-events: none;
    background: linear-gradient(90deg, var(--imo-brand), #38bdf8);
    box-shadow: 0 0 16px rgba(13, 148, 136, 0.45);
    opacity: 0;
    transition: width 0.18s ease, opacity 0.12s ease;
}
.imo-page-loader.is-visible {
    width: 82%;
    opacity: 1;
    animation: imo-loader-pulse 0.9s ease-in-out infinite alternate;
}
.imo-is-loading a,
.imo-is-loading button {
    cursor: progress;
}
.imo-is-loading .is-loading {
    opacity: 0.72;
    position: relative;
    transform: translateY(1px);
}
.imo-is-loading .is-loading::after {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    margin-left: 0.35rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    display: inline-block;
    vertical-align: -0.1rem;
    animation: imo-spin 0.65s linear infinite;
}
@keyframes imo-spin {
    to { transform: rotate(360deg); }
}
@keyframes imo-loader-pulse {
    from { filter: saturate(1); }
    to { filter: saturate(1.5); }
}

body.imo-body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--imo-ink);
    background: var(--imo-bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(99, 102, 241, 0.06), transparent 50%);
    min-height: 100dvh;
}

.imo-main { max-width: 28rem; margin: 0 auto; padding: 0.75rem 1rem 18rem !important; }

/* Header */
.imo-header {
    position: sticky; top: 0; z-index: 110;
    overflow: visible;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.imo-header-inner {
    max-width: 28rem; margin: 0 auto;
    padding: 0.45rem 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    overflow: visible;
}
.imo-logo {
    width: 2.05rem; height: 2.05rem; border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--imo-brand) 0%, var(--imo-brand-dark) 100%);
    color: #fff; font-weight: 700; font-size: 0.68rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}
.imo-chip {
    font-size: 0.6875rem; font-weight: 600;
    padding: 0.3rem 0.55rem; border-radius: 9999px;
    background: #f1f5f9; color: #475569;
    transition: background 0.15s, color 0.15s;
}
.imo-chip:hover { background: var(--imo-brand-light); color: var(--imo-brand-dark); }
.imo-chip--brand { background: var(--imo-brand-light); color: var(--imo-brand-dark); }
.imo-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 112;
}
.imo-profile-menu {
    position: relative;
    z-index: 113;
}
.imo-profile-menu summary {
    list-style: none;
    cursor: pointer;
}
.imo-profile-menu summary::-webkit-details-marker {
    display: none;
}
.imo-profile-menu-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 114;
    width: min(16.875rem, calc(100vw - 2rem));
}

/* Bottom nav */
.imo-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.06);
}
.imo-nav-inner { max-width: 28rem; margin: 0 auto; padding: 0.5rem 0.5rem 0.25rem; }
.imo-nav-grid { display: grid; gap: 0.25rem; }
.imo-nav-grid--5 { grid-template-columns: repeat(5, 1fr); }
.imo-nav-grid--4 { grid-template-columns: repeat(4, 1fr); }
.imo-nav-grid--3 { grid-template-columns: repeat(3, 1fr); }
.imo-nav-grid--2 { grid-template-columns: repeat(2, 1fr); }
.imo-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.125rem;
    padding: 0.5rem 0.25rem; border-radius: 0.875rem;
    font-size: 0.625rem; font-weight: 600; color: var(--imo-muted);
    transition: color 0.15s, background 0.15s;
}
.imo-nav-item svg { width: 1.375rem; height: 1.375rem; stroke-width: 1.75; }
.imo-nav-item.is-active { color: var(--imo-brand); background: var(--imo-brand-light); }
.imo-nav-item--fab {
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45);
}
.imo-nav-item--fab:hover { transform: translateY(-1px); }
.imo-nav-badge {
    position: absolute; top: 0.25rem; right: 0.5rem;
    min-width: 1rem; height: 1rem; padding: 0 0.25rem;
    font-size: 0.5625rem; font-weight: 700;
    background: #ef4444; color: #fff; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
}
.imo-nav-footer {
    text-align: center; padding: 0.375rem 0 0.5rem;
    font-size: 0.625rem;
}
.imo-nav-footer a, .imo-nav-footer button {
    color: var(--imo-muted); transition: color 0.15s;
}
.imo-nav-footer a:hover, .imo-nav-footer button:hover { color: var(--imo-brand); }

/* Typography */
.imo-page-title {
    font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em;
    line-height: 1.2; color: var(--imo-ink);
}
.imo-page-sub { font-size: 0.8rem; color: var(--imo-muted); margin-top: 0.1rem; line-height: 1.3; }
.imo-section-title {
    font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #94a3b8;
}
.imo-team-top {
    margin: -0.2rem 0 0.85rem;
}
.imo-team-back {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
}
.imo-team-header {
    margin-bottom: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 12px 28px rgba(15, 23, 42, 0.045);
}
.imo-team-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.imo-team-title-copy {
    min-width: 0;
}
.imo-team-header .imo-page-title {
    font-size: 1.22rem;
    line-height: 1.08;
}
.imo-team-header .imo-page-sub {
    margin-top: 0.18rem;
    font-size: 0.73rem;
    line-height: 1.25;
}
.imo-team-add-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
    white-space: nowrap;
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}
.imo-team-add-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.34);
}
.imo-team-sync-form {
    margin-top: .65rem;
}
.imo-team-sync-button {
    width: 100%;
    min-height: 2.15rem;
    border: 1px solid rgba(20, 184, 166, .24);
    border-radius: .85rem;
    background: rgba(236, 253, 245, .88);
    color: #0f766e;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .01em;
}
.imo-responsible-quick {
    display: grid;
    gap: 0.38rem;
}
.imo-responsible-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.imo-responsible-trigger {
    display: none;
}
.imo-responsible-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.34rem 0.58rem;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
    font-size: 0.68rem;
    font-weight: 750;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.imo-responsible-pill:hover {
    border-color: #99f6e4;
    background: #f0fdfa;
    color: #0f766e;
}
.imo-responsible-pill.is-active {
    border-color: var(--imo-brand);
    background: linear-gradient(135deg, #ccfbf1, #ecfdf5);
    color: #0f766e;
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.18), 0 6px 16px rgba(13, 148, 136, 0.12);
}
.imo-responsible-pill:active {
    transform: scale(0.98);
}
.imo-team-performance-page .imo-team-top {
    margin: -0.35rem 0 0.35rem;
}
.imo-team-performance-page .imo-team-header {
    padding: 0.48rem 0.68rem;
    border-radius: 0.95rem;
}
.imo-team-performance-page .imo-team-header .imo-page-title {
    font-size: 1.08rem;
    line-height: 1.05;
}
.imo-team-performance-page .imo-team-header .imo-page-sub {
    margin-top: 0.08rem;
    font-size: 0.68rem;
    line-height: 1.15;
}
.imo-team-performance-page .imo-team-add-cta {
    min-height: 1.75rem;
    padding: 0.34rem 0.58rem;
    font-size: 0.66rem;
}
.imo-team-performance-page .imo-performance-card {
    padding: 0.62rem 0.68rem;
}
.imo-team-performance-page .imo-performance-card-head {
    margin-bottom: 0.42rem;
}
.imo-team-performance-page .imo-responsible-quick {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    margin-bottom: 0.38rem;
}
.imo-team-performance-page .imo-responsible-quick .imo-label {
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: 0.58rem;
    line-height: 1;
}
.imo-team-performance-page .imo-responsible-pills {
    gap: 0.22rem;
    min-width: 0;
}
.imo-team-performance-page .imo-responsible-pill {
    min-height: 1.34rem;
    padding: 0.17rem 0.38rem;
    font-size: 0.6rem;
    line-height: 1;
    box-shadow: none;
}
.imo-team-performance-page .imo-responsible-pill.is-active {
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.22);
}
.imo-team-performance-page .imo-stat:focus-visible,
.imo-team-performance-page .imo-responsible-pill:focus-visible,
.imo-team-performance-page .imo-filter-chip:focus-visible {
    outline: 2px solid rgba(0, 167, 225, 0.5);
    outline-offset: 2px;
}
.imo-team-performance-page .imo-performance-stats-grid {
    gap: 0.3rem 0.42rem;
}
.imo-team-performance-page .imo-stat-row-title {
    grid-column: 1 / -1;
    margin: 0.08rem 0 -0.02rem;
    min-height: 1.32rem;
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}
.imo-team-performance-page .imo-stat-row-title--link {
    width: fit-content;
    max-width: 100%;
    padding: .18rem .34rem;
    border-radius: 999px;
    color: #475467;
    text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.imo-team-performance-page .imo-stat-row-title--link:hover,
.imo-team-performance-page .imo-stat-row-title--link:focus-visible {
    background: rgba(0, 167, 225, .1);
    color: #007aa5;
    text-decoration: none;
}
.imo-team-performance-page .imo-stat-row-title--link:active {
    transform: scale(.99);
}
.imo-team-performance-page .imo-stat--compact {
    min-height: 3.1rem;
    padding: 0.42rem 0.5rem;
    border-radius: 0.72rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 5px 12px rgba(15, 23, 42, 0.025);
}
.imo-team-performance-page .imo-stat-value {
    font-size: 1.08rem;
    line-height: 0.98;
}
.imo-team-performance-page .imo-stat-value.text-lg {
    font-size: 0.96rem;
    line-height: 1;
}
.imo-team-performance-page .imo-stat-label {
    margin-top: 0.2rem;
    font-size: 0.59rem;
    line-height: 1.05;
}
.imo-team-performance-page .imo-stat-percent {
    margin-top: 0.12rem;
    font-size: 0.54rem;
    line-height: 1;
}
.imo-team-performance-page .imo-mb-section {
    margin-bottom: 1rem;
}
.imo-team-performance-page > .text-\[10px\],
.imo-team-performance-page .imo-performance-card > .text-\[10px\] {
    margin-top: 0.55rem;
    line-height: 1.35;
}
@media (min-width: 430px) {
    .imo-team-performance-page .imo-microcopy {
        white-space: nowrap;
    }
}
@media (max-width: 360px) {
    .imo-team-header {
        padding: 0.72rem 0.78rem;
    }
    .imo-team-title-row {
        align-items: flex-start;
        gap: 0.55rem;
    }
    .imo-team-add-cta {
        min-height: 1.85rem;
        padding: 0.36rem 0.58rem;
        font-size: 0.68rem;
    }
}
.imo-task-team-inline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-width: 0;
    position: relative;
}
.imo-team-add-wrap {
    position: relative;
    display: inline-flex;
}
.imo-team-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 850;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
}
.imo-task-members {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.imo-member-chip {
    min-width: 1.65rem;
    min-height: 1.65rem;
    padding: 0.12rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 0.58rem;
    font-weight: 900;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    position: relative;
}
.imo-member-chip--button {
    cursor: pointer;
    border-style: solid;
}
.imo-member-chip--button:hover {
    border-color: var(--imo-brand);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.imo-member-chip--primary {
    min-width: max-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 0.14rem 0.45rem 0.14rem 0.18rem;
    background: #ecfeff;
    border-color: #99f6e4;
    color: #0f766e;
}
.imo-member-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
}
.imo-member-chip--primary .imo-member-initials {
    background: #ccfbf1;
}
.imo-member-chip small {
    max-width: 8.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.52rem;
    line-height: 1;
}
.imo-member-chip--primary small {
    max-width: none;
    white-space: nowrap;
}
.imo-member-chip form {
    position: absolute;
    right: -0.25rem;
    top: -0.35rem;
}
.imo-member-chip button {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.58rem;
    line-height: 1;
}
.imo-team-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(241, 245, 249, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.imo-team-modal.hidden {
    display: none;
}
.imo-team-modal-card {
    width: min(24rem, 100%);
    max-height: min(36rem, 88dvh);
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: var(--imo-shadow-lg);
}
.imo-team-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.imo-team-modal-kicker {
    color: var(--imo-brand-dark);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.imo-team-modal-head h2 {
    margin-top: 0.08rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -0.035em;
}
.imo-team-modal-close {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
}
.imo-team-form {
    display: grid;
    gap: 0.55rem;
}
.imo-team-form .imo-btn {
    padding: 0.58rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.76rem;
}
.imo-team-primary-box {
    display: grid;
    gap: 0.35rem;
    padding: 0.65rem;
    border-radius: 0.95rem;
    border: 1px solid #99f6e4;
    background: linear-gradient(135deg, #ecfeff, #f8fafc);
}
.imo-team-primary-box label {
    color: #0f766e;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.imo-team-primary-box .imo-select {
    padding: 0.58rem 0.7rem;
    border-radius: 0.78rem;
    font-size: 0.76rem;
    font-weight: 750;
}
.imo-team-primary-box p {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.35;
}
.imo-team-check-list {
    display: grid;
    gap: 0.28rem;
    max-height: min(20rem, 54dvh);
    overflow: auto;
}
.imo-team-check-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.52rem 0.58rem;
    border-radius: 0.82rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 750;
}
.imo-team-check-row input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--imo-brand);
}
.imo-team-check-row span {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
}
.imo-team-check-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.imo-team-check-row small {
    color: #64748b;
    font-size: 0.6rem;
    font-weight: 750;
}
.imo-team-check-row--locked {
    background: #ecfeff;
    border-color: #99f6e4;
}
.imo-team-check-row input:disabled {
    cursor: not-allowed;
}
.imo-team-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.imo-team-empty,
.imo-team-notice {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
}
.imo-team-notice {
    margin-top: 0.3rem;
    color: #92400e;
}
.imo-task-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Cards */
.imo-card {
    background: var(--imo-surface);
    border: 1px solid var(--imo-line);
    border-radius: var(--imo-radius-lg);
    box-shadow: var(--imo-shadow);
}
.imo-card,
.imo-card-link {
    overflow: hidden;
}
.imo-card .grid,
form.imo-card .grid {
    width: 100%;
}
.imo-card .flex,
form.imo-card .flex {
    min-width: 0;
}
.imo-card-pad { padding: 1.125rem 1.25rem; }
.imo-card-pad--compact { padding: 0.75rem 0.85rem; }
.imo-card-link {
    display: block; background: var(--imo-surface);
    border: 1px solid var(--imo-line); border-radius: var(--imo-radius-lg);
    box-shadow: var(--imo-shadow); padding: 1rem 1.125rem;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.imo-card-link:active { transform: scale(0.99); }
.imo-card-link:hover { border-color: #cbd5e1; box-shadow: var(--imo-shadow-lg); }
.imo-mb-tight { margin-bottom: 0.75rem; }

/* Task detail */
.imo-task-hero {
    margin: 0.125rem 0 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 14px 30px rgba(15, 23, 42, 0.045);
    position: relative; overflow: hidden;
}
.imo-task-hero::before {
    content: ""; position: absolute; inset: 0 auto 0 0;
    width: 3px; background: linear-gradient(180deg, #0d9488, #99f6e4);
}
.imo-task-hero-main {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
}
.imo-task-header-actions {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem;
    flex: 0 0 auto;
}
.imo-task-title {
    color: #020617;
    font-size: 1.125rem; line-height: 1.18; font-weight: 800;
    letter-spacing: -0.035em;
}
.imo-task-meta {
    margin-top: 0.25rem;
    color: #64748b; font-size: 0.7rem; font-weight: 700;
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem;
}
.imo-due-pill {
    display: inline-flex; align-items: center;
    padding: 0.18rem 0.42rem; border-radius: 9999px;
    font-size: 0.6rem; font-weight: 850;
    border: 1px solid transparent;
}
button.imo-due-pill { cursor: pointer; }
.imo-due-pill--ok { background: #ecfdf5; border-color: #bbf7d0; color: #166534; }
.imo-due-pill--soon { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.imo-due-pill--late { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.imo-due-pill--none { background: #f8fafc; border-color: #e2e8f0; color: #64748b; }
.imo-title-edit {
    display: grid; gap: 0.45rem; margin-top: 0.45rem;
}
.imo-title-edit .imo-input {
    padding: 0.55rem 0.7rem; border-radius: 0.8rem;
    font-size: 0.8125rem;
}
.imo-title-edit .imo-btn {
    padding: 0.5rem 0.7rem; border-radius: 0.8rem;
    font-size: 0.75rem;
}
.imo-task-badgebar {
    display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.65rem;
}
.imo-task-quickbar {
    display: flex; align-items: center; gap: 0.45rem;
}
.imo-action-pill--waiting {
    width: auto; border-color: #fdba74;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    color: #9a3412;
    font-size: 0.62rem; padding: 0.34rem 0.54rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 10px 20px rgba(251, 146, 60, 0.1);
}
.imo-action-pill--waiting-status {
    width: auto; border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.62rem; padding: 0.34rem 0.54rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}
.imo-waiting-panel {
    padding: 0.7rem; border-radius: 1rem;
    background: #fff7ed; border: 1px solid #fed7aa;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 12px 24px rgba(251, 146, 60, 0.08);
}
.imo-waiting-current {
    display: grid; gap: 0.15rem; margin-bottom: 0.65rem;
    color: #7c2d12; font-size: 0.75rem; font-weight: 700;
}
.imo-waiting-current span { color: #9a3412; font-weight: 850; }
.imo-task-composer {
    padding: 0.68rem;
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at 0 0, rgba(13, 148, 136, 0.075), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #99f6e4;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 16px 32px rgba(13, 148, 136, 0.08);
}
.imo-task-composer-head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-bottom: 0.4rem;
}
.imo-task-composer-head h2 {
    font-size: 0.75rem; font-weight: 800; color: #0f766e;
    letter-spacing: 0.02em;
}
.imo-task-composer-head span {
    font-size: 0.625rem; font-weight: 800; color: #94a3b8;
}
.imo-task-composer-form { display: grid; gap: 0.55rem; }
.imo-task-composer-textarea {
    min-height: 3.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.95rem;
    font-size: 0.875rem;
    line-height: 1.35;
}
.imo-task-composer-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.imo-task-file-box {
    min-width: 0; flex: 1 1 auto;
    display: flex; align-items: center; gap: 0.5rem;
    min-height: 2.25rem; padding: 0.35rem 0.55rem;
    border-radius: 0.85rem; background: #fff;
    border: 1px solid #dbeafe;
}
.imo-task-file-box span {
    color: #0f766e; font-size: 0.6875rem; font-weight: 850;
}
.imo-task-file-input {
    min-width: 0; flex: 1; max-width: 100%;
    color: #64748b; font-size: 0.625rem; font-weight: 700;
}
.imo-paste-hint {
    margin-top: 0.2rem; color: #94a3b8;
    font-size: 0.625rem; font-weight: 700;
}
.imo-paste-hint--error {
    color: #b91c1c;
}
.imo-paste-hint:empty { display: none; }
.imo-task-send {
    width: auto !important; flex: 0 0 auto; min-width: 4.35rem;
    padding: 0.48rem 0.7rem;
    border-radius: 0.85rem; font-size: 0.75rem;
}
.imo-feedback-user-select {
    font-size: 0.75rem; font-weight: 750;
    padding: 0.58rem 0.7rem; border-radius: 0.8rem;
}
.imo-feedback-lost-time-row {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: .5rem;
}
.imo-section-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.5rem;
}
.imo-section-row span {
    color: #cbd5e1; font-size: 0.625rem; font-weight: 800;
}

/* Stats */
.imo-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
.imo-stat {
    padding: 0.875rem 1rem; border-radius: var(--imo-radius);
    background: #f8fafc; border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 18px rgba(15, 23, 42, 0.035);
}
.imo-stat--compact { padding: 0.58rem 0.68rem; min-height: 4.35rem; }
.imo-stat--brand { background: linear-gradient(135deg, #f0fdfa, #ecfdf5); border-color: #ccfbf1; }
.imo-stat--emerald { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-color: #a7f3d0; color: #065f46; }
.imo-stat--revenue { background: linear-gradient(135deg, #ecfeff, #e0f2fe); border-color: #67e8f9; color: #155e75; }
.imo-stat--amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.imo-stat--danger { background: linear-gradient(135deg, #fff5f5, #fef2f2); border-color: #fecaca; color: #991b1b; }
.imo-stage-card { position: relative; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.imo-stage-card:active { transform: scale(0.99); }
.imo-stage-card.is-active { box-shadow: inset 0 0 0 1.5px currentColor, 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 22px rgba(15, 23, 42, 0.055); }
.imo-stage-card--open { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border-color: #cbd5e1; color: #1e293b; }
.imo-stage-card--active { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #93c5fd; color: #1e3a8a; }
.imo-stage-card--closed { background: linear-gradient(135deg, #ecfdf5, #dcfce7); border-color: #4ade80; color: #14532d; }
.imo-stage-card--waiting { background: linear-gradient(135deg, #faf5ff, #f5f3ff); border-color: #d8b4fe; color: #6b21a8; }
.imo-stage-card--stale { background: linear-gradient(135deg, #fff5f5, #fee2e2); border-color: #fca5a5; color: #991b1b; }
.imo-stage-card--no-due { background: linear-gradient(135deg, #fefce8, #fffbeb); border-color: #facc15; color: #854d0e; }
.imo-stage-card--danger { background: linear-gradient(135deg, #fff5f5, #fee2e2); border-color: #ef4444; color: #991b1b; }
.imo-stage-card .imo-stat-value,
.imo-stat--danger .imo-stat-value,
.imo-stat--emerald .imo-stat-value { color: currentColor !important; }
.imo-stage-card .imo-stat-percent,
.imo-stat--danger .imo-stat-percent,
.imo-stat--emerald .imo-stat-percent { color: currentColor !important; opacity: 0.92; }
.imo-stat-value { font-size: 1.32rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.02; }
.imo-stat-label { font-size: 0.64rem; color: rgba(71, 85, 105, 0.78); margin-top: 0.16rem; font-weight: 600; line-height: 1.18; }
.imo-stat-percent { font-size: 0.58rem; font-weight: 800; margin-top: 0.18rem; }
.imo-feedback-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}
.imo-feedback-metric {
    min-width: 0;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035), 0 12px 24px rgba(15, 23, 42, 0.055);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.imo-feedback-metric:active { transform: scale(0.99); }
.imo-feedback-metric--danger {
    color: #991b1b;
    border-color: #fecaca;
    background:
        radial-gradient(circle at 100% 0, rgba(248, 113, 113, 0.18), transparent 42%),
        linear-gradient(135deg, #fff7f7, #fef2f2);
}
.imo-feedback-metric--merit {
    color: #065f46;
    border-color: #86efac;
    background:
        radial-gradient(circle at 100% 0, rgba(52, 211, 153, 0.2), transparent 42%),
        linear-gradient(135deg, #f0fdf4, #dcfce7);
}
.imo-feedback-trigger {
    list-style: none;
    padding: 0.62rem 0.58rem 0.56rem;
}
.imo-feedback-trigger::-webkit-details-marker { display: none; }
.imo-feedback-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.38rem;
}
.imo-feedback-icon {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 6px 12px rgba(15, 23, 42, 0.06);
    font-size: 1.12rem;
    line-height: 1;
    filter: saturate(1.1);
}
.imo-feedback-action {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    min-width: 0;
    padding: 0.22rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: currentColor;
    font-size: 0.55rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}
.imo-feedback-action svg {
    width: 0.68rem;
    height: 0.68rem;
    stroke-width: 2.4;
    transition: transform 0.15s;
}
.imo-feedback-metric[open] .imo-feedback-action svg { transform: rotate(180deg); }
.imo-feedback-copy { margin-top: 0.48rem; min-width: 0; }
.imo-feedback-value {
    color: currentColor;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.95;
}
.imo-feedback-label {
    margin-top: 0.2rem;
    color: currentColor;
    font-size: 0.62rem;
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.015em;
}
.imo-feedback-details {
    display: grid;
    gap: 0.42rem;
    padding: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.44);
}
.imo-feedback-details--danger { box-shadow: inset 0 1px 0 rgba(254, 202, 202, 0.72); }
.imo-feedback-details--merit { box-shadow: inset 0 1px 0 rgba(134, 239, 172, 0.72); }
.imo-feedback-item {
    display: block;
    padding: 0.58rem;
    border-radius: 0.78rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    line-height: 1.25;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
}
.imo-feedback-empty {
    color: currentColor;
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.3;
}
@media (max-width: 380px) {
    .imo-feedback-metrics { gap: 0.35rem; }
    .imo-feedback-trigger { padding: 0.56rem 0.5rem 0.5rem; }
    .imo-feedback-icon { width: 1.72rem; height: 1.72rem; border-radius: 0.65rem; }
    .imo-feedback-icon svg { width: 1rem; height: 1rem; }
    .imo-feedback-value { font-size: 1.42rem; }
    .imo-feedback-label { font-size: 0.58rem; }
    .imo-feedback-action { padding: 0.2rem 0.32rem; font-size: 0.52rem; }
}
.imo-filter-strip { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.75rem; }
.imo-filter-chip {
    display: inline-flex; align-items: center;
    padding: 0.25rem 0.5rem; border-radius: 9999px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    color: #64748b; font-size: 0.625rem; font-weight: 700;
}
.imo-filter-chip.is-active { box-shadow: inset 0 0 0 1px currentColor, 0 1px 2px rgba(15, 23, 42, 0.04); }
.imo-task-filter-list { border-radius: var(--imo-radius); background: rgba(248, 250, 252, 0.72); border: 1px solid #e2e8f0; padding: 0.625rem; }
.imo-task-title-row {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.5rem 0.625rem; border-radius: 0.75rem;
    background: #fff; border: 1px solid #f1f5f9;
    font-size: 0.8125rem; font-weight: 600; color: #0f172a;
}
.imo-task-title-row .imo-task-title-clamp { flex: 1 1 auto; min-width: 0; }
.imo-filter-tone--open { background: #f8fafc; border-color: #cbd5e1; color: #1e293b; }
.imo-filter-tone--active { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }
.imo-filter-tone--closed { background: #ecfdf5; border-color: #4ade80; color: #14532d; }
.imo-filter-tone--waiting { background: #faf5ff; border-color: #d8b4fe; color: #6b21a8; }
.imo-filter-tone--stale { background: #fff5f5; border-color: #fca5a5; color: #991b1b; }
.imo-filter-tone--no-due { background: #fefce8; border-color: #facc15; color: #854d0e; }
.imo-filter-tone--danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.imo-filter-tone--revenue { background: #ecfeff; border-color: #67e8f9; color: #155e75; }
.imo-filter-tone--reductions { background: #fffbeb; border-color: #facc15; color: #854d0e; }
.imo-filter-tone--work-value { background: #f8fafc; border-color: #cbd5e1; color: #334155; }
.imo-task-title-row.imo-filter-tone--open,
.imo-task-title-row.imo-filter-tone--active,
.imo-task-title-row.imo-filter-tone--closed,
.imo-task-title-row.imo-filter-tone--waiting,
.imo-task-title-row.imo-filter-tone--stale,
.imo-task-title-row.imo-filter-tone--no-due,
.imo-task-title-row.imo-filter-tone--danger,
.imo-task-title-row.imo-filter-tone--revenue,
.imo-task-title-row.imo-filter-tone--reductions,
.imo-task-title-row.imo-filter-tone--work-value {
    border-width: 1px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}
.imo-task-title-row--todo { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.imo-task-title-row--active { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }
.imo-task-title-row--waiting { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.imo-task-title-row--proposed { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.imo-task-title-row--done { background: #ecfdf5; border-color: #4ade80; color: #14532d; }
.imo-task-title-row--stale { box-shadow: inset 3px 0 0 #f97316; }
.imo-finish-check {
    width: 2.1rem; height: 2.1rem; border-radius: 9999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f8fafc; border: 1px solid #cbd5e1; color: #64748b;
    font-size: 1rem; font-weight: 800; box-shadow: var(--imo-shadow);
}
.imo-finish-check.is-done {
    background: #dcfce7; border-color: #86efac; color: #047857;
}
.imo-mentions-page {
    display: grid;
    gap: .25rem;
}
.imo-mentions-page .imo-list-hero {
    margin-bottom: .55rem;
}
.imo-page-subtitle {
    margin-top: .2rem;
    color: #64748b;
    font-size: .82rem;
    font-weight: 750;
}
.imo-mentions-section {
    display: grid;
    gap: .28rem;
}
.imo-mentions-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .45rem;
}
.imo-mentions-section__head > div {
    display: grid;
    gap: .04rem;
}
.imo-mentions-section__head .imo-dashboard-eyebrow {
    margin: 0;
}
.imo-mentions-section__head h2 {
    margin: 0;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 950;
}
.imo-mentions-section__head strong {
    min-width: 2.1rem;
    padding: .16rem .58rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    font-size: .78rem;
    font-weight: 950;
    text-align: center;
}
.imo-mention-row {
    display: grid;
    grid-template-columns: minmax(4.05rem, max-content) minmax(0, 1fr);
    align-items: stretch;
    gap: .28rem;
}
.imo-mentions-page .imo-task-filter-list {
    padding: .45rem .55rem;
}
.imo-mentions-page .imo-task-filter-list > .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
    margin-top: .28rem;
}
.imo-mentions-page .imo-task-title-row {
    min-height: 0;
    padding-top: .38rem;
    padding-bottom: .38rem;
}
.imo-mention-check-form {
    display: flex;
    align-items: center;
    gap: .32rem;
    min-width: 0;
}
.imo-mention-check-form span {
    max-width: 4.9rem;
    color: #475569;
    font-size: .66rem;
    font-weight: 850;
    line-height: 1.18;
}
.imo-mention-check {
    width: 3.15rem;
    min-width: 3.15rem;
    height: 3.15rem;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: transparent;
    font-size: 1.35rem;
    font-weight: 950;
    box-shadow: var(--imo-shadow);
    touch-action: manipulation;
}
.imo-mention-check:not(:disabled):hover,
.imo-mention-check:not(:disabled):focus-visible {
    border-color: #86efac;
    box-shadow: 0 0 0 4px rgba(34,197,94,.12), var(--imo-shadow);
}
.imo-mention-check.is-checked {
    border-color: #86efac;
    background: #dcfce7;
    color: #047857;
}
.imo-mention-task-row {
    min-width: 0;
}
.imo-mention-context {
    display: block;
    margin-top: .16rem;
    color: #64748b;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.35;
}
.imo-inbox-page {
    display: grid;
    gap: .35rem;
}
.imo-inbox-section {
    display: grid;
    gap: .28rem;
}
.imo-inbox-section + .imo-inbox-section {
    margin-top: .45rem;
}
.imo-inbox-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .45rem;
}
.imo-inbox-section__head > div {
    display: grid;
    gap: .04rem;
}
.imo-inbox-section__head h2 {
    margin: 0;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 950;
}
.imo-inbox-section__head strong {
    min-width: 2.1rem;
    padding: .16rem .58rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: .78rem;
    font-weight: 950;
    text-align: center;
}
.imo-inbox-row {
    display: grid;
    grid-template-columns: minmax(3.15rem, max-content) minmax(0, 1fr);
    align-items: stretch;
    gap: .28rem;
}
.imo-inbox-check-form {
    display: flex;
    align-items: center;
}
.imo-inbox-check {
    width: 3.15rem;
    min-width: 3.15rem;
    height: 3.15rem;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 950;
    box-shadow: var(--imo-shadow);
}
.imo-inbox-check:hover {
    border-color: #86efac;
    background: #ecfdf5;
    color: #047857;
}
.imo-inbox-context {
    display: block;
    margin-top: .16rem;
    color: #64748b;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.35;
}
.imo-inbox-count {
    min-width: 1.55rem;
    padding: .12rem .42rem;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font-size: .68rem;
    font-weight: 950;
    text-align: center;
}
.imo-inbox-page .imo-task-filter-list {
    padding: .45rem .55rem;
}
.imo-inbox-page .imo-task-title-row {
    min-height: 0;
    padding-top: .38rem;
    padding-bottom: .38rem;
}
.imo-timeline-mention {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    color: #0284c7;
    font-weight: 850;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
    white-space: nowrap;
}
.imo-timeline-mention-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: .9rem;
    height: .9rem;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: .62rem;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0 0 2px #dcfce7;
}
.imo-mention-composer {
    position: relative;
}
.imo-mention-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .35rem);
    z-index: 80;
    display: grid;
    gap: .22rem;
    max-height: min(18rem, calc(100dvh - 7rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: .9rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 42px rgba(15,23,42,.16);
}
.imo-mention-suggest[hidden] {
    display: none;
}
.imo-mention-suggest .imo-task-owner-option {
    min-height: 2.72rem;
    gap: .48rem;
    padding: .36rem .46rem;
    border-radius: .72rem;
    text-align: left;
}
.imo-mention-suggest .imo-task-owner-option + .imo-task-owner-option {
    margin-top: .18rem;
}
.imo-mention-suggest .imo-task-owner-initials {
    flex-basis: 1.85rem;
    width: 1.85rem;
    height: 1.85rem;
    font-size: .62rem;
}
.imo-mention-suggest .imo-task-owner-copy {
    gap: .02rem;
    text-align: left;
}
.imo-mention-suggest .imo-task-owner-copy strong {
    font-size: .82rem;
    line-height: 1.05;
}
.imo-mention-suggest .imo-task-owner-copy small {
    font-size: .64rem;
    line-height: 1.1;
}
.imo-mention-suggest .imo-task-owner-check {
    flex-basis: 1.05rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: .3rem;
}
.imo-mention-suggest .imo-task-owner-option.is-selected .imo-task-owner-check::after {
    left: .3rem;
    top: .13rem;
    width: .32rem;
    height: .56rem;
}
@media (max-width: 900px) {
    .imo-mention-suggest {
        z-index: 115;
        gap: .08rem;
        padding: .22rem;
        border-radius: .82rem;
    }
    .imo-mention-suggest .imo-task-owner-option {
        min-height: 2.05rem;
        gap: .34rem;
        padding: .22rem .32rem;
        border-radius: .58rem;
    }
    .imo-mention-suggest .imo-task-owner-option + .imo-task-owner-option {
        margin-top: .08rem;
    }
    .imo-mention-suggest .imo-task-owner-initials {
        flex-basis: 1.42rem;
        width: 1.42rem;
        height: 1.42rem;
        font-size: .5rem;
    }
    .imo-mention-suggest .imo-task-owner-copy strong {
        font-size: .7rem;
    }
    .imo-mention-suggest .imo-task-owner-copy small {
        font-size: .52rem;
    }
    .imo-mention-suggest .imo-task-owner-check {
        flex-basis: .92rem;
        width: .92rem;
        height: .92rem;
        border-radius: .26rem;
    }
    .imo-mention-suggest .imo-task-owner-option.is-selected .imo-task-owner-check::after {
        left: .26rem;
        top: .1rem;
        width: .28rem;
        height: .5rem;
    }
}
.imo-mini-values {
    background: rgba(255, 255, 255, 0.82); border: 1px solid var(--imo-line);
    border-radius: var(--imo-radius); padding: 0.45rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.imo-mini-values summary,
.imo-financial-tabs {
    list-style: none; cursor: pointer;
    width: 100%;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem;
}
.imo-mini-values summary::-webkit-details-marker { display: none; }
.imo-mini-values summary span,
.imo-financial-tabs button {
    display: inline-flex; align-items: baseline; justify-content: center; gap: 0.14rem;
    width: 100%; min-width: 0;
    padding: 0.22rem 0.24rem;
    border-radius: 9999px; background: #f8fafc;
    border: 1px solid #e2e8f0; color: #475569;
    font-size: 0.58rem; font-weight: 800;
    white-space: nowrap;
}
.imo-financial-tabs button.is-active {
    background: #ecfdf5; border-color: #99f6e4; color: #0f766e;
}
.imo-mini-values summary span small,
.imo-money-unit {
    font-size: 0.48em;
    font-weight: 850;
    letter-spacing: 0.02em;
    color: currentColor;
    opacity: 0.62;
    text-transform: lowercase;
}
.imo-mini-values summary .imo-mini-values-wait {
    background: #fff7ed; border-color: #fdba74; color: #9a3412;
}
.imo-quick-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.imo-action-pill {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9999px; padding: 0.45rem 0.75rem;
    background: #fff; border: 1px solid var(--imo-line);
    color: #0f172a; font-size: 0.75rem; font-weight: 700;
    box-shadow: var(--imo-shadow);
}
.imo-action-pill.is-active { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.imo-timeline-card {
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 0.95rem; padding: 0.58rem 0.68rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 8px 18px rgba(15, 23, 42, 0.03);
}
.imo-timeline-card--system {
    border-style: dashed; box-shadow: none;
}
.imo-timeline-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    color: #94a3b8; font-size: 0.58rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.imo-timeline-body {
    margin-top: 0.25rem; color: #1e293b;
    font-size: 0.8rem; line-height: 1.34;
    white-space: pre-wrap;
}
.imo-timeline-menu-btn {
    position: absolute;
    top: .46rem;
    right: .38rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: auto;
    padding: .1rem .14rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1em;
}
.imo-timeline-menu-btn:hover {
    color: #0f766e;
    background: transparent;
}
.imo-timeline-menu-btn.hidden,
.imo-timeline-card__footer.hidden {
    display: none;
}
.imo-timeline-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: .42rem;
}
.imo-timeline-body--editing {
    margin-top: 0.25rem;
    padding: 0;
    cursor: text;
    background: transparent;
    box-shadow: none;
}
.imo-timeline-body__edit-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.imo-timeline-body__edit-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.42rem;
}
.imo-timeline-body__edit-actions .imo-btn {
    min-height: 2rem;
    padding: 0.34rem 0.78rem;
    font-size: 0.78rem;
}
.imo-timeline-body__editor {
    width: 100%;
    min-height: 3.75rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.95rem;
    font-size: 0.875rem;
    line-height: 1.35;
    resize: vertical;
}
.imo-timeline-body__editor.is-saving,
.imo-timeline-body__edit-save.is-saving {
    opacity: 0.72;
    cursor: wait;
}
.imo-timeline-card--system .imo-timeline-body {
    color: #64748b; font-size: 0.72rem;
}
.imo-timeline-card {
    position: relative;
}
.imo-timeline-delete-form {
    position: absolute;
    bottom: .52rem;
    right: .52rem;
    z-index: 3;
}
.imo-timeline-delete-form--footer {
    position: static;
}
.imo-timeline-delete-form button {
    display: inline-grid;
    place-items: center;
    width: 1.72rem;
    height: 1.72rem;
    padding: 0;
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 999px;
    background: rgba(254, 242, 242, .9);
    color: #b91c1c;
    box-shadow: 0 6px 16px rgba(185, 28, 28, .08);
}
.imo-timeline-delete-form button svg {
    width: .92rem;
    height: .92rem;
    stroke-width: 2.2;
}
.imo-task-delete-form {
    position: static;
    margin-top: .38rem;
    display: flex;
    justify-content: center;
}
.imo-task-show-page .imo-task-badgebar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    width: 100%;
    flex-wrap: nowrap;
}
.imo-task-show-page .imo-task-badgebar-main {
    flex: 1 1 auto;
    min-width: 0;
}
.imo-task-show-page .imo-task-badgebar-actions {
    flex: 0 0 2.85rem;
    width: 2.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imo-task-show-page .imo-task-team-inline {
    flex: unset;
    min-width: 0;
    max-width: 100%;
}
.imo-task-show-page .imo-task-delete-form--badgebar {
    position: static;
    margin: 0;
    width: auto;
    justify-content: center;
}
.imo-timeline-system-author {
    margin-top: 0.2rem; color: #cbd5e1;
    font-size: 0.625rem; font-weight: 700;
}
.imo-timeline-files {
    display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem;
}
.imo-timeline-thumb {
    display: block; width: 2.35rem; height: 2.35rem;
    border-radius: 0.65rem; overflow: hidden; border: 1px solid #e2e8f0;
    background: #fff; cursor: zoom-in; padding: 0;
}
.imo-timeline-thumb img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; }
.imo-timeline-file {
    display: inline-flex; align-items: center; max-width: 100%;
    padding: 0.25rem 0.45rem; border-radius: 9999px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    color: #0f766e; font-size: 0.625rem; font-weight: 800;
}
.imo-image-preview {
    position: fixed; inset: 0; z-index: 80;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}
.imo-image-preview.hidden { display: none; }
.imo-image-preview-panel {
    width: min(100%, 42rem); max-height: 92dvh;
    display: grid; gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
}
.imo-image-preview-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.imo-image-preview-bar p {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 0.8rem; font-weight: 800; color: #0f172a;
}
.imo-image-preview-bar button {
    color: #0f766e; font-size: 0.75rem; font-weight: 850;
}
.imo-image-preview-panel img {
    width: 100%; max-height: 70dvh; object-fit: contain;
    border-radius: 0.9rem; background: #f8fafc;
}

/* Alerts */
.imo-alert {
    display: flex; gap: 0.75rem; align-items: flex-start;
    padding: 0.875rem 1rem; border-radius: var(--imo-radius-lg);
    font-size: 0.875rem; margin-bottom: 1rem;
}
.imo-alert--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.imo-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.imo-alert--warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.imo-alert--info { background: #f5f3ff; border: 1px solid #ddd6fe; color: #5b21b6; }

/* Buttons */
.imo-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-weight: 600; font-size: 0.9375rem; border-radius: var(--imo-radius);
    padding: 0.75rem 1.25rem; transition: all 0.15s;
    border: none; cursor: pointer; width: 100%;
}
.imo-btn-primary {
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff; box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.imo-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.imo-btn-secondary {
    background: #fff; color: var(--imo-ink);
    border: 1px solid var(--imo-line); box-shadow: var(--imo-shadow);
}
.imo-btn-ghost { background: transparent; color: var(--imo-brand); font-size: 0.875rem; padding: 0.5rem; width: auto; }

/* Form */
.imo-label { display: block; font-size: 0.8125rem; font-weight: 600; color: #475569; margin-bottom: 0.375rem; }
.imo-input, .imo-select, .imo-textarea {
    display: block; width: 100%; max-width: 100%; min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem; border-radius: var(--imo-radius);
    border: 1px solid var(--imo-line); background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.imo-textarea { resize: vertical; }
.imo-card .imo-input,
.imo-card .imo-select,
.imo-card .imo-textarea,
form.imo-card .imo-input,
form.imo-card .imo-select,
form.imo-card .imo-textarea {
    border-color: #dbe3ee;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}
.imo-input:focus, .imo-select:focus, .imo-textarea:focus {
    outline: none; border-color: var(--imo-brand);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Tabs */
.imo-tabs { display: flex; gap: 0.375rem; padding: 0.25rem; background: #e2e8f0; border-radius: var(--imo-radius-lg); margin-bottom: 1rem; }
.imo-tab {
    flex: 1; text-align: center; padding: 0.5rem 0.75rem;
    font-size: 0.8125rem; font-weight: 600; border-radius: 0.75rem;
    color: var(--imo-muted); transition: all 0.15s;
}
.imo-tab.is-active { background: #fff; color: var(--imo-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Badges */
.imo-badge {
    display: inline-flex; align-items: center;
    font-size: 0.6875rem; font-weight: 600;
    padding: 0.2rem 0.5rem; border-radius: 9999px;
}
.imo-badge--brand { background: var(--imo-brand-light); color: var(--imo-brand-dark); }
.imo-badge--slate { background: #f1f5f9; color: #475569; }
.imo-badge--amber { background: #fef3c7; color: #b45309; }
.imo-badge--red { background: #fee2e2; color: #b91c1c; }
.imo-badge--emerald { background: #d1fae5; color: #047857; }
.imo-badge--sky { background: #e0f2fe; color: #0369a1; }

/* Empty */
.imo-empty {
    text-align: center; padding: 2rem 1.25rem;
    border: 2px dashed #e2e8f0; border-radius: var(--imo-radius-lg);
    background: rgba(255,255,255,0.6);
}
.imo-empty-icon {
    width: 3rem; height: 3rem; margin: 0 auto 0.75rem;
    border-radius: 1rem; background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
}
.imo-mentions-empty {
    padding: .45rem 1rem;
    min-height: 3.4rem;
}
.imo-mentions-empty .imo-empty-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: .45rem;
    border-radius: .75rem;
}
.imo-alert--success {
    transition: opacity .22s ease, transform .22s ease;
}
.imo-alert--success.is-hiding {
    opacity: 0;
    transform: translateY(-.25rem);
}

/* Priority card accent */
.imo-card-priority {
    border-left: 3px solid var(--imo-brand);
    background: linear-gradient(90deg, #f0fdfa 0%, #fff 40%);
}

/* Login */
.imo-login-wrap {
    min-height: 100dvh; display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    background: var(--imo-bg);
    background-image:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(13, 148, 136, 0.18), transparent),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(99, 102, 241, 0.08), transparent);
}
.imo-login-wrap--wow {
    padding: 1rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(45, 212, 191, 0.24), transparent 28%),
        radial-gradient(circle at 85% 0%, rgba(59, 130, 246, 0.18), transparent 32%),
        linear-gradient(145deg, #042f2e 0%, #0f172a 48%, #134e4a 100%);
}
.imo-login-shell {
    width: min(58rem, 100%);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    gap: 1rem; align-items: stretch;
}
.imo-login-panel {
    position: relative; overflow: hidden;
    min-height: 32rem; padding: 2.25rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 22% 35%, rgba(153, 246, 228, 0.22), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.32);
    color: #fff;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
}
.imo-login-panel::before {
    content: none;
}
.imo-login-kicker {
    margin-top: auto; color: #99f6e4;
    font-size: 0.7rem; font-weight: 850; letter-spacing: 0.14em;
}
.imo-login-panel h1 {
    max-width: 29rem; margin-top: 0.65rem;
    font-size: clamp(2rem, 5vw, 3.5rem); line-height: 0.95;
    font-weight: 850; letter-spacing: -0.07em;
}
.imo-login-copy {
    max-width: 24rem; margin-top: 1rem;
    color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.55;
}
.imo-login-highlights {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.35rem;
}
.imo-login-highlights span {
    padding: 0.45rem 0.65rem; border-radius: 9999px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.86); font-size: 0.7rem; font-weight: 800;
}
.imo-login-card {
    width: 100%; max-width: 22rem;
    background: #fff; border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    box-shadow: var(--imo-shadow-lg);
    border: 1px solid rgba(255,255,255,0.8);
}
.imo-login-card--wow {
    max-width: none; align-self: center;
    padding: 2rem;
    border-radius: 2rem;
    border-color: rgba(255,255,255,0.76);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
}
.imo-login-logo {
    width: 3.5rem; height: 3.5rem; margin: 0 0 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff; font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}
.imo-login-card--wow .imo-login-logo { margin: 0 auto 1rem; }
.imo-login-brand {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
    justify-content: flex-start;
    margin-bottom: auto;
}
.imo-login-brand .imo-login-logo {
    flex: 0 0 auto;
    margin: 0;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.25rem;
    font-size: 1rem;
    box-shadow: none;
}
.imo-login-app-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.6rem;
    min-height: 7.6rem;
    padding: 1rem;
    border-radius: 999px;
    background: #171314;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1;
    text-align: center;
}
.imo-login-brand .imo-login-kicker {
    margin-top: 0;
    padding-left: .15rem;
    color: #99f6e4;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.imo-login-form-title {
    color: #0f172a; font-size: 1.45rem; font-weight: 850; letter-spacing: -0.04em;
}
.imo-login-form-sub {
    margin-top: 0.25rem; color: #64748b; font-size: 0.85rem; font-weight: 600;
}
.imo-login-manual {
    display: block; text-align: center;
    color: #0f766e; font-size: 0.8rem; font-weight: 800;
}
.imo-login-link-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f766e;
    font: inherit;
    font-weight: 800;
    text-align: right;
    text-decoration: underline;
    text-underline-offset: .18em;
    cursor: pointer;
}
.imo-login-link-button:hover,
.imo-login-link-button:focus-visible {
    color: #115e59;
    outline: none;
}
.imo-login-link-button:disabled {
    opacity: .6;
    cursor: default;
}
@media (max-width: 760px) {
    .imo-login-shell { grid-template-columns: 1fr; }
    .imo-login-panel { min-height: 18rem; padding: 1.5rem; }
}

@media (max-width: 760px) {
    .imo-login-wrap--wow {
        align-items: flex-start;
        padding: .6rem;
    }
    .imo-login-shell {
        gap: .55rem;
    }
    .imo-login-panel {
        min-height: auto;
        padding: .9rem 1rem;
        border-radius: 1.25rem;
    }
    .imo-login-brand {
        margin-bottom: 0;
        gap: .55rem;
    }
    .imo-login-app-name {
        min-width: 5.2rem;
        min-height: 5.2rem;
        padding: .7rem;
        font-size: .98rem;
    }
    .imo-login-brand .imo-login-kicker {
        font-size: .66rem;
        letter-spacing: .13em;
    }
    .imo-login-panel h1 {
        margin-top: .45rem;
        font-size: clamp(1.6rem, 7.2vw, 2.1rem);
        line-height: 1;
        letter-spacing: -.055em;
    }
    .imo-login-copy {
        margin-top: .6rem;
        font-size: .86rem;
        line-height: 1.45;
    }
    .imo-login-highlights {
        margin-top: .8rem;
        gap: .4rem;
    }
    .imo-login-highlights span {
        padding: .36rem .58rem;
        font-size: .66rem;
    }
    .imo-login-card--wow {
        padding: 1rem;
        border-radius: 1.25rem;
    }
    .imo-login-card.imo-space-y > * + * {
        margin-top: .58rem;
    }
    .imo-login-card .imo-input {
        min-height: 2.55rem;
        padding: .62rem .8rem;
    }
    .imo-login-card .imo-btn {
        min-height: 2.55rem;
        padding: .62rem .8rem;
    }
}

/* Utility */
.imo-back { font-size: 0.875rem; font-weight: 600; color: var(--imo-brand); display: inline-flex; align-items: center; gap: 0.25rem; margin-bottom: 0.75rem; }
.imo-back svg { width: 1rem; height: 1rem; flex: 0 0 auto; stroke-width: 2.2; }
.imo-divider { height: 1px; background: var(--imo-line); margin: 0.75rem 0; }
.imo-space-y > * + * { margin-top: 1rem; }
.imo-mb-section { margin-bottom: 5rem; }
.imo-task-create-page .imo-mb-section { margin-bottom: 1rem; }
.imo-task-create-page .imo-back { margin-bottom: 0.5rem; }

/* Period pills */
.imo-period-pill {
    font-size: 0.6875rem; font-weight: 700;
    padding: 0.375rem 0.625rem; border-radius: 9999px;
    background: #f1f5f9; color: #64748b; border: none; cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.imo-period-pill.is-active, .imo-period-pill:hover {
    background: var(--imo-brand-light); color: var(--imo-brand-dark);
}
.imo-period-pill.is-active { box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25); }
.imo-period-pill--calendar {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
}
.imo-period-pill--calendar svg {
    width: .9rem;
    height: .9rem;
    flex: 0 0 auto;
    stroke-width: 2.25;
}
.imo-period-pill--calendar:not(.is-active) {
    width: 2rem;
    min-width: 2rem;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.imo-dashboard-page .imo-period-pill {
    border: 1px solid rgba(226, 232, 240, .92);
    background: #fff;
    color: #475467;
    font-weight: 800;
}

.imo-dashboard-page .imo-period-pill.is-active {
    background: var(--cit-primary) !important;
    border-color: var(--cit-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(35, 31, 32, .12);
}

html[data-theme="dark"] .imo-dashboard-page .imo-period-pill {
    background: rgba(255, 255, 255, .08);
    border-color: var(--cit-line);
    color: #d7e0ea;
}

html[data-theme="dark"] .imo-dashboard-page .imo-period-pill.is-active {
    background: rgba(0, 167, 225, .22) !important;
    border-color: rgba(0, 167, 225, .52) !important;
    color: #7bdcff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
}

.imo-dashboard-page .imo-period-pill:hover:not(.is-active) {
    background: #fff !important;
    border-color: rgba(226, 232, 240, .92) !important;
    color: #475467 !important;
    box-shadow: none !important;
}

.imo-dashboard-page .imo-period-pill.is-active,
.imo-dashboard-page .imo-period-pill.is-active:hover {
    background: var(--cit-primary) !important;
    border-color: var(--cit-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(35, 31, 32, .12) !important;
}

html[data-theme="dark"] .imo-dashboard-page .imo-period-pill:hover:not(.is-active) {
    background: rgba(255, 255, 255, .08) !important;
    border-color: var(--cit-line) !important;
    color: #d7e0ea !important;
}

html[data-theme="dark"] .imo-dashboard-page .imo-period-pill.is-active,
html[data-theme="dark"] .imo-dashboard-page .imo-period-pill.is-active:hover {
    background: rgba(0, 167, 225, .22) !important;
    border-color: rgba(0, 167, 225, .52) !important;
    color: #7bdcff !important;
}
.imo-user-admin-row {
    cursor: pointer;
}
.imo-user-admin-row__profile {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}
.imo-user-admin-row__profile .imo-member-avatar {
    width: 2.72rem;
    height: 2.72rem;
    border-radius: 999px;
    margin-top: -.1rem;
}
.imo-user-admin-row__name {
    display: flex;
    align-items: center;
    min-height: 2.1rem;
}

/* Procedure balls */
.imo-ball {
    display: inline-block; width: 1.125rem; height: 1.125rem;
    border-radius: 9999px; box-shadow: inset 0 -2px 4px rgba(0,0,0,.15);
}
.imo-ball--sm { width: 0.75rem; height: 0.75rem; }
.imo-ball--white {
    background: radial-gradient(circle at 30% 30%, #fff, #e2e8f0);
    border: 1px solid #cbd5e1;
}
.imo-ball--black {
    background: radial-gradient(circle at 30% 30%, #475569, #0f172a);
    border: 1px solid #1e293b;
}

/* Pagination */
nav[role="navigation"] a, nav[role="navigation"] span {
    font-size: 0.875rem;
}
nav[role="navigation"] .rounded-md { border-radius: 0.5rem !important; }

/* Premium SaaS 2026 refresh layer: UI-only, preserves all Blade flows and backend behavior. */
:root {
    --imo-brand: #0f766e;
    --imo-brand-dark: #115e59;
    --imo-brand-light: #f0fdfa;
    --imo-ink: #07111f;
    --imo-muted: #667085;
    --imo-line: #e6ebf2;
    --imo-surface: rgba(255, 255, 255, 0.88);
    --imo-bg: #eef4f7;
    --imo-radius: 1.05rem;
    --imo-radius-lg: 1.55rem;
    --imo-shadow: 0 1px 2px rgba(15, 23, 42, 0.035), 0 16px 42px rgba(15, 23, 42, 0.055);
    --imo-shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.045), 0 28px 72px rgba(15, 23, 42, 0.095);
    --imo-ease: cubic-bezier(.2,.8,.2,1);
}

body.imo-body {
    font-family: 'Geist', 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
    background:
        radial-gradient(circle at 50% -8%, rgba(15, 118, 110, 0.12), transparent 34rem),
        linear-gradient(180deg, #f8fbfc 0%, #eef5f7 45%, #edf3f6 100%);
    color: var(--imo-ink);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.imo-main {
    max-width: 33.25rem;
    padding-top: 1rem !important;
}

.imo-header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}
.imo-header-inner {
    max-width: 33.25rem;
    padding: 0.72rem 1rem;
}
.imo-logo,
.imo-login-logo {
    border-radius: 0.95rem;
    background: linear-gradient(145deg, #0f766e, #0d9488);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.imo-chip {
    background: rgba(240, 253, 250, 0.86);
    border: 1px solid rgba(153, 246, 228, 0.62);
    color: #0f766e;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
}

.imo-page-title {
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    letter-spacing: -0.055em;
    font-weight: 800;
}
.imo-page-sub {
    color: #667085;
    font-weight: 500;
}
.imo-section-title {
    color: #98a2b3;
    font-weight: 800;
    letter-spacing: 0.105em;
}

.imo-card,
.imo-card-link,
.imo-task-hero,
.imo-team-header,
.imo-login-card {
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82));
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: var(--imo-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.imo-card,
.imo-card-link {
    border-radius: 1.45rem;
}
.imo-card-pad {
    padding: 1rem;
}
.imo-card-pad--compact {
    padding: 0.9rem;
}

.imo-stat {
    border-radius: 1.22rem;
    border-color: rgba(226, 232, 240, .82);
    box-shadow: 0 1px 2px rgba(15,23,42,.028), 0 14px 32px rgba(15,23,42,.045);
}
.imo-stat--compact {
    min-height: 4.15rem;
}
.imo-stat-value {
    font-weight: 800;
    letter-spacing: -0.055em;
}
.imo-stage-card {
    box-shadow: 0 1px 2px rgba(15,23,42,.028), 0 18px 38px rgba(15,23,42,.045);
}
.imo-stage-card--open { background: linear-gradient(135deg, #ffffff, #f6f8fb); border-color: #d8e0ea; color: #18243a; }
.imo-stage-card--active { background: linear-gradient(135deg, #f7fbff, #e6f1ff); border-color: #93c5fd; color: #173c83; }
.imo-stage-card--closed { background: linear-gradient(135deg, #f2fff8, #dcfce7); border-color: #4ade80; color: #14532d; }
.imo-stage-card--waiting { background: linear-gradient(135deg, #fbf7ff, #f3e8ff); border-color: #c084fc; color: #6b21a8; }
.imo-stage-card--stale,
.imo-stage-card--danger { background: linear-gradient(135deg, #fff8f8, #ffe4e6); border-color: #fb7185; color: #991b1b; }
.imo-stage-card--no-due { background: linear-gradient(135deg, #fffdf5, #fef3c7); border-color: #f59e0b; color: #854d0e; }
.imo-stat--revenue { background: linear-gradient(135deg, #f0fdff, #e0f2fe); border-color: #67e8f9; color: #155e75; }
.imo-stat--amber { background: linear-gradient(135deg, #fffaf0, #fef3c7); border-color: #fbbf24; }
.imo-stat--emerald { background: linear-gradient(135deg, #f3fff7, #dcfce7); border-color: #86efac; }

.imo-input,
.imo-select,
.imo-textarea {
    min-height: 3rem;
    border-radius: 1.1rem;
    border-color: #d8e0ea;
    background: rgba(255,255,255,.92);
    color: #101828;
    font-weight: 520;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 1px 2px rgba(15,23,42,.025);
}
.imo-input:focus,
.imo-select:focus,
.imo-textarea:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12), 0 10px 22px rgba(15,23,42,.035);
}
.imo-btn {
    border-radius: 1rem;
    font-weight: 800;
    transition: transform .16s var(--imo-ease), box-shadow .16s var(--imo-ease), filter .16s var(--imo-ease);
}
.imo-btn:active,
.imo-card-link:active,
.imo-stat:active,
.imo-filter-chip:active,
.imo-responsible-pill:active {
    transform: translateY(1px) scale(.992);
}
.imo-btn-primary,
.imo-nav-item--fab,
.imo-team-add-cta {
    background: linear-gradient(145deg, #0d9488, #0f766e);
    box-shadow: 0 10px 28px rgba(13,148,136,.24), inset 0 1px 0 rgba(255,255,255,.2);
}

.imo-filter-chip,
.imo-period-pill,
.imo-responsible-pill,
.imo-badge {
    text-decoration: none;
}
.imo-filter-strip,
.imo-period-pills,
.imo-responsible-pills {
    gap: .42rem;
}
.imo-filter-chip,
.imo-period-pill,
.imo-responsible-pill {
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15,23,42,.035);
}

.imo-task-title-row {
    min-height: 2.55rem;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15,23,42,.028);
}

.imo-task-title-copy {
    display: grid;
    gap: .08rem;
    min-width: 0;
    flex: 1 1 auto;
}

.imo-task-row-meta {
    overflow: hidden;
    color: #64748b;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-task-row-signals {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: .28rem;
    max-width: 46%;
}

.imo-task-row-signals span {
    display: inline-flex;
    align-items: center;
    min-height: 1.22rem;
    padding: .16rem .46rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    font-size: .58rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.imo-nav {
    background: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(226,232,240,.8);
    box-shadow: 0 -18px 44px rgba(15,23,42,.08);
}
.imo-nav-inner {
    max-width: 33.25rem;
}
.imo-nav-grid {
    background: rgba(248,250,252,.82);
    border: 1px solid rgba(226,232,240,.76);
    border-radius: 1.35rem;
    padding: .25rem;
}
.imo-nav-item {
    border-radius: 1.05rem;
}
.imo-nav-item.is-active {
    background: #ecfdf5;
    box-shadow: inset 0 0 0 1px rgba(13,148,136,.12);
}
.imo-nav-item--fab {
    border-radius: 1.15rem;
}

.imo-alert {
    border-radius: 1.15rem;
    box-shadow: var(--imo-shadow);
}

.imo-feedback-metric {
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 18px 38px rgba(15,23,42,.045);
}
.imo-feedback-icon {
    background: rgba(255,255,255,.86);
}

.imo-login-wrap--wow {
    background:
        radial-gradient(circle at 22% 10%, rgba(45, 212, 191, .28), transparent 24rem),
        linear-gradient(145deg, #06131f, #102033 54%, #06131f);
}
.imo-login-panel {
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.imo-login-card--wow {
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

@media (prefers-reduced-motion: no-preference) {
    .imo-card,
    .imo-card-link,
    .imo-stat,
    .imo-task-title-row,
    .imo-nav-item {
        transition: transform .16s var(--imo-ease), box-shadow .16s var(--imo-ease), border-color .16s var(--imo-ease), background .16s var(--imo-ease);
    }
    .imo-card-link:hover,
    .imo-stat:hover,
    .imo-task-title-row:hover {
        transform: translateY(-1px);
        box-shadow: var(--imo-shadow-lg);
    }
}

@media (max-width: 420px) {
    .imo-main {
        padding-left: .78rem;
        padding-right: .78rem;
    }
    .imo-card-pad,
    .imo-card-pad--compact {
        padding: .82rem;
    }
    .imo-page-title {
        font-size: 1.42rem;
    }
}

.imo-create-choice {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.imo-create-choice-icon {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(145deg, #0d9488, #0f766e);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13,148,136,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.imo-create-choice-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.imo-create-choice strong {
    display: block;
    color: #101828;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}
.imo-create-choice small {
    display: block;
    margin-top: 0.1rem;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 550;
    line-height: 1.35;
}

.imo-create-menu-hero {
    margin-bottom: 0.85rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(226,232,240,.86);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(13,148,136,.1), transparent 11rem),
        linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 1px 2px rgba(15,23,42,.035), 0 16px 36px rgba(15,23,42,.055);
}

.imo-create-menu-hero .imo-page-title {
    font-size: 1.38rem;
    line-height: 1.05;
}

.imo-create-menu-hero .imo-page-sub {
    margin-top: .38rem;
    max-width: 18rem;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.45;
}

.imo-create-menu-list {
    display: grid;
    gap: .65rem;
}

.imo-create-choice.imo-card-link {
    position: relative;
    min-height: 5.15rem;
    padding: 1rem;
    border-color: rgba(203,213,225,.86);
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(15,23,42,.035), 0 14px 34px rgba(15,23,42,.055);
}

.imo-create-choice.imo-card-link::after {
    content: "";
    position: absolute;
    inset: .7rem .7rem auto auto;
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: #14b8a6;
    opacity: .42;
}

.imo-create-choice-icon {
    flex: 0 0 auto;
}

.imo-create-choice > span:last-child {
    min-width: 0;
}

/* Operational Light Enterprise final layer.
   UI-only: preserves routes, forms, data, business logic and Blade flow. */
:root {
    --cit-primary: #231f20;
    --cit-info: #00a7e1;
    --cit-success: #76bc21;
    --cit-warning: #ffc629;
    --cit-critical: #ff4438;
    --cit-bg: #f5f7fa;
    --cit-surface: #ffffff;
    --cit-surface-soft: #f9fbfd;
    --cit-ink: #231f20;
    --cit-muted: #667085;
    --cit-line: #e5eaf0;
    --cit-radius-sm: .75rem;
    --cit-radius: 1rem;
    --cit-radius-lg: 1.35rem;
    --cit-shadow: 0 1px 2px rgba(35,31,32,.035), 0 12px 30px rgba(35,31,32,.055);
    --cit-shadow-lg: 0 1px 2px rgba(35,31,32,.045), 0 24px 60px rgba(35,31,32,.08);
    --cit-ease: cubic-bezier(.2,.8,.2,1);
    --imo-brand: var(--cit-primary);
    --imo-brand-dark: #0f0d0e;
    --imo-brand-light: #f2f4f7;
    --imo-ink: var(--cit-ink);
    --imo-muted: var(--cit-muted);
    --imo-line: var(--cit-line);
    --imo-surface: var(--cit-surface);
    --imo-bg: var(--cit-bg);
    --imo-radius: var(--cit-radius);
    --imo-radius-lg: var(--cit-radius-lg);
    --imo-shadow: var(--cit-shadow);
    --imo-shadow-lg: var(--cit-shadow-lg);
}

body.imo-body {
    font-family: 'Geist', 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
    margin: 0;
    color: var(--cit-ink);
    background:
        radial-gradient(circle at 50% -9rem, rgba(0,167,225,.11), transparent 28rem),
        linear-gradient(180deg, #fbfcfd 0%, var(--cit-bg) 40%, #eef2f6 100%);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.imo-main {
    width: min(100%, 35rem);
    max-width: 35rem;
    padding: .95rem 1rem 9.5rem !important;
}

@media (min-width: 840px) {
    .imo-main {
        max-width: 48rem;
    }
    body:has(.imo-team-performance-page) .imo-main,
    body:has(.imo-task-create-page) .imo-main {
        max-width: 42rem;
    }
}

.imo-header {
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(229,234,240,.86);
    box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.imo-header-inner,
.imo-nav-inner {
    max-width: 48rem;
}
.imo-logo,
.imo-login-logo {
    background: var(--cit-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(35,31,32,.14);
}
.imo-chip {
    border: 1px solid var(--cit-line);
    background: #fff;
    color: var(--cit-primary);
}
.imo-chip:hover,
.imo-chip--brand {
    border-color: rgba(0,167,225,.28);
    background: rgba(0,167,225,.08);
    color: #006d94;
}

.imo-page-title {
    color: var(--cit-ink);
    font-size: clamp(1.42rem, 4vw, 1.92rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.04;
}
.imo-page-sub {
    color: var(--cit-muted);
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.45;
}
.imo-section-title {
    color: #98a2b3;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .105em;
}

.imo-card,
.imo-card-link,
.imo-task-hero,
.imo-team-header,
.imo-login-card,
.imo-task-composer,
.imo-mini-values,
.imo-waiting-panel,
.imo-timeline-card {
    border: 1px solid rgba(229,234,240,.96);
    background: var(--cit-surface);
    box-shadow: var(--cit-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.imo-card,
.imo-card-link {
    border-radius: var(--cit-radius-lg);
}
.imo-card-link {
    color: inherit;
}
.imo-card-link:hover {
    border-color: rgba(0,167,225,.22);
}

.imo-dashboard-hero,
.imo-list-hero,
.imo-form-hero,
.imo-performance-hero {
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.1), transparent 13rem),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-color: rgba(229,234,240,.96);
    box-shadow: var(--cit-shadow);
}
.imo-dashboard-hero {
    padding: 1.2rem;
}
.imo-dashboard-hero__glow {
    background: rgba(0,167,225,.1);
    filter: blur(20px);
}
.imo-dashboard-eyebrow {
    border-color: rgba(0,167,225,.22);
    background: rgba(0,167,225,.08);
    color: #006d94;
}
.imo-dashboard-date,
.imo-panel-date {
    color: var(--cit-muted);
}
.imo-dashboard-panel,
.imo-performance-card {
    border-radius: 1.55rem;
}
.imo-panel-heading .imo-section-title {
    color: var(--cit-primary);
}

.imo-period-panel,
.imo-filter-dock {
    background: #f7f9fb;
    border-color: var(--cit-line);
    box-shadow: none;
}
.imo-period-pill,
.imo-tab,
.imo-filter-chip,
.imo-responsible-pill {
    border: 1px solid var(--cit-line);
    background: #fff;
    color: #475467;
    font-weight: 800;
}
.imo-period-pill.is-active,
.imo-period-pill:hover,
.imo-tab.is-active,
.imo-responsible-pill.is-active {
    border-color: var(--cit-primary);
    background: var(--cit-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(35,31,32,.12);
}
.imo-tabs {
    background: #eef2f6;
    border: 1px solid var(--cit-line);
}

.imo-stat {
    position: relative;
    overflow: hidden;
    min-height: 5.35rem;
    padding: .78rem;
    border: 1px solid var(--cit-line);
    border-radius: 1.18rem;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.04);
}
.imo-stat:hover,
.imo-stat:focus-visible,
.imo-stat *,
.imo-stat:hover *,
.imo-stat:focus-visible * {
    text-decoration: none;
}
.imo-stat::before {
    content: "";
    position: absolute;
    inset: .72rem .72rem auto auto;
    width: .46rem;
    height: .46rem;
    border-radius: 999px;
    background: currentColor;
    opacity: .45;
}
.imo-stat-value {
    color: currentColor;
    font-size: clamp(1.32rem, 4vw, 1.72rem);
    font-weight: 850;
    letter-spacing: -.06em;
}
.imo-stat-label {
    max-width: 9rem;
    color: rgba(71,85,105,.82);
    font-size: .63rem;
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
}
.imo-stat-percent {
    color: currentColor;
    font-size: .58rem;
    font-weight: 850;
}
.imo-stage-card--open,
.imo-filter-tone--open {
    color: var(--cit-primary);
    background: #fff;
    border-color: #d7dee7;
}
.imo-stage-card--active,
.imo-filter-tone--active {
    color: #007aa5;
    background: rgba(0,167,225,.075);
    border-color: rgba(0,167,225,.32);
}
.imo-stage-card--closed,
.imo-stat--emerald,
.imo-filter-tone--closed {
    color: #3f7f12;
    background: rgba(118,188,33,.09);
    border-color: rgba(118,188,33,.34);
}
.imo-stage-card--waiting,
.imo-stat--amber,
.imo-filter-tone--waiting,
.imo-filter-tone--reductions {
    color: #8a6500;
    background: rgba(255,198,41,.14);
    border-color: rgba(255,198,41,.44);
}
.imo-action-pill--waiting-status,
.imo-badge.imo-action-pill--waiting-status {
    color: #8a6500;
    background: rgba(255,198,41,.14);
    border-color: rgba(255,198,41,.44);
}
.imo-stage-card--stale,
.imo-stage-card--danger,
.imo-filter-tone--stale,
.imo-filter-tone--danger {
    color: #b4251d;
    background: rgba(255,68,56,.095);
    border-color: rgba(255,68,56,.38);
}
.imo-stage-card--no-due,
.imo-filter-tone--no-due {
    color: #8a6500;
    background: rgba(255,198,41,.12);
    border-color: rgba(255,198,41,.4);
}
.imo-stat--revenue,
.imo-filter-tone--revenue {
    color: #007aa5;
    background: rgba(0,167,225,.08);
    border-color: rgba(0,167,225,.32);
}
.imo-filter-tone--work-value {
    color: var(--cit-primary);
    background: #fff;
    border-color: #d7dee7;
}

.imo-feedback-metrics {
    display: grid;
    gap: .55rem;
}
.imo-feedback-metric {
    border: 1px solid var(--cit-line);
    border-radius: 1.18rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.04);
}
.imo-feedback-icon {
    background: #f7f9fb;
}
.imo-feedback-metric--danger {
    color: #b4251d;
    border-color: rgba(255,68,56,.3);
}
.imo-feedback-metric--merit {
    color: #3f7f12;
    border-color: rgba(118,188,33,.32);
}

.imo-list-card {
    border-radius: 1.22rem;
    background: #fff;
}
.imo-list-card__marker {
    background: var(--cit-info);
    box-shadow: 0 0 0 4px rgba(0,167,225,.08);
}
.imo-list-card__footer {
    border-top-color: var(--cit-line);
}
.imo-task-title-row {
    border: 1px solid var(--cit-line);
    background: #fff;
    color: var(--cit-primary);
}
.imo-task-title-row.imo-filter-tone--active,
.imo-task-title-row--active {
    border-color: rgba(0,167,225,.32);
}
.imo-task-title-row.imo-filter-tone--closed,
.imo-task-title-row--done {
    border-color: rgba(118,188,33,.34);
}
.imo-task-title-row.imo-filter-tone--waiting,
.imo-task-title-row--waiting {
    border-color: rgba(255,198,41,.44);
}
.imo-task-title-row.imo-filter-tone--stale,
.imo-task-title-row--stale {
    border-color: rgba(255,68,56,.38);
}

.imo-badge {
    border: 1px solid var(--cit-line);
    background: #fff;
    color: var(--cit-primary);
    font-weight: 850;
}
.imo-badge--brand,
.imo-badge--slate {
    border-color: rgba(0,167,225,.25);
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-badge--emerald {
    border-color: rgba(118,188,33,.34);
    background: rgba(118,188,33,.1);
    color: #3f7f12;
}
.imo-badge--amber {
    border-color: rgba(255,198,41,.45);
    background: rgba(255,198,41,.16);
    color: #8a6500;
}
.imo-badge--red {
    border-color: rgba(255,68,56,.4);
    background: rgba(255,68,56,.1);
    color: #b4251d;
}

.imo-btn {
    border-radius: .92rem;
    font-weight: 850;
}
.imo-btn-primary,
.imo-nav-item--fab,
.imo-team-add-cta {
    background: var(--cit-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(35,31,32,.16);
}
.imo-btn-secondary {
    border-color: var(--cit-line);
    background: #fff;
    color: var(--cit-primary);
}
.imo-btn-ghost {
    color: #007aa5;
}

.imo-input,
.imo-select,
.imo-textarea {
    min-height: 2.95rem;
    border-color: #d7dee7;
    border-radius: .95rem;
    background: #fff;
    color: var(--cit-primary);
    font-weight: 560;
    box-shadow: none;
}
.imo-input:focus,
.imo-select:focus,
.imo-textarea:focus {
    border-color: var(--cit-info);
    box-shadow: 0 0 0 4px rgba(0,167,225,.12);
}
.imo-label {
    color: #475467;
    font-weight: 850;
    letter-spacing: .035em;
}
.imo-form-panel {
    border-radius: 1.45rem;
}
.imo-form-panel::before {
    background: linear-gradient(90deg, var(--cit-primary), var(--cit-info), transparent);
}
.imo-form-section {
    border-color: var(--cit-line);
    background: #f9fbfd;
}

.imo-task-hero {
    border-radius: 1.55rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.09), transparent 13rem),
        #fff;
}
.imo-task-title {
    color: var(--cit-primary);
}
.imo-due-pill--ok,
.imo-action-pill--waiting {
    border-color: rgba(0,167,225,.28);
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-due-pill--soon,
.imo-due-pill--none {
    border-color: rgba(255,198,41,.4);
    background: rgba(255,198,41,.14);
    color: #8a6500;
}
.imo-due-pill--late {
    border-color: rgba(255,68,56,.38);
    background: rgba(255,68,56,.1);
    color: #b4251d;
}
.imo-finish-check:not(.is-done) {
    border-color: rgba(148, 163, 184, .52);
    color: #64748b;
    background: rgba(248, 250, 252, .98);
}
.imo-finish-check.is-done {
    background: var(--cit-success);
    border-color: var(--cit-success);
    color: #fff;
}
.imo-task-composer {
    border-radius: 1.35rem;
    background: #fff;
}
.imo-task-composer-head h2 {
    color: var(--cit-primary);
}
.imo-task-send {
    min-width: 6rem;
}
.imo-timeline-card {
    border-radius: 1.1rem;
}
.imo-timeline-card--system {
    background: #f9fbfd;
}
.imo-team-modal {
    background: rgba(35,31,32,.3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.imo-team-modal-card {
    border-color: var(--cit-line);
}
.imo-team-primary-box,
.imo-team-check-row--locked {
    border-color: rgba(0,167,225,.28);
    background: rgba(0,167,225,.07);
}
.imo-team-primary-box label,
.imo-member-chip--primary,
.imo-team-add-button {
    color: #007aa5;
}
.imo-team-add-button,
.imo-member-chip--primary {
    border-color: rgba(0,167,225,.3);
    background: rgba(0,167,225,.08);
}
.imo-team-check-row input {
    accent-color: var(--cit-info);
}

.imo-team-header,
.imo-member-row-card,
.imo-user-admin-row {
    background: #fff;
}
.imo-member-avatar {
    border-color: rgba(0,167,225,.28);
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-team-performance-page .imo-performance-card {
    padding: .78rem .86rem;
}
.imo-team-performance-page .imo-stat--compact {
    min-height: 3.45rem;
    border-radius: .95rem;
}

.imo-create-menu-hero,
.imo-create-choice.imo-card-link {
    background: #fff;
    border-color: var(--cit-line);
}
.imo-create-choice-icon {
    background: var(--cit-primary);
    box-shadow: 0 10px 24px rgba(35,31,32,.14);
}
.imo-create-choice.imo-card-link::after {
    background: var(--cit-info);
}

.imo-alert {
    border-radius: 1rem;
}
.imo-alert--success {
    border-color: rgba(118,188,33,.35);
    background: rgba(118,188,33,.1);
    color: #3f7f12;
}
.imo-alert--error {
    border-color: rgba(255,68,56,.38);
    background: rgba(255,68,56,.1);
    color: #b4251d;
}
.imo-page-loader {
    background: linear-gradient(90deg, var(--cit-primary), var(--cit-info));
    box-shadow: none;
}

.imo-nav {
    background: rgba(255,255,255,.94);
    border-top-color: rgba(229,234,240,.9);
    box-shadow: 0 -16px 42px rgba(35,31,32,.075);
}
.imo-nav-grid {
    border-color: var(--cit-line);
    background: #f7f9fb;
}
.imo-nav-item.is-active {
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-nav-badge {
    background: var(--cit-critical);
}

.imo-login-wrap--wow {
    background:
        radial-gradient(circle at 12% 12%, rgba(0,167,225,.16), transparent 22rem),
        linear-gradient(145deg, #231f20, #141213);
}
.imo-login-card--wow {
    border-color: rgba(255,255,255,.88);
}

@media (prefers-reduced-motion: no-preference) {
    .imo-card-link,
    .imo-stat,
    .imo-task-title-row,
    .imo-btn,
    .imo-nav-item {
        transition: transform .16s var(--cit-ease), border-color .16s var(--cit-ease), box-shadow .16s var(--cit-ease), background .16s var(--cit-ease), color .16s var(--cit-ease);
    }
    .imo-card-link:hover,
    .imo-stat:hover,
    .imo-task-title-row:hover {
        transform: translateY(-1px);
        box-shadow: var(--cit-shadow-lg);
    }
}

@media (min-width: 640px) {
    .imo-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .imo-kpi-card--wide,
    .imo-kpi-feedback {
        grid-column: auto;
    }
    .imo-feedback-metrics {
        grid-column: span 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .imo-main {
        padding-left: .78rem !important;
        padding-right: .78rem !important;
    }
    .imo-dashboard-hero,
    .imo-list-hero,
    .imo-form-hero,
    .imo-performance-hero {
        border-radius: 1.35rem;
        padding: .92rem;
    }
    .imo-stat {
        min-height: 4.9rem;
        padding: .68rem;
    }
    .imo-stat-value {
        font-size: 1.26rem;
    }
    .imo-stat-label {
        font-size: .56rem;
    }
    .imo-team-performance-page .imo-performance-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .imo-responsible-pills,
    .imo-filter-strip,
    .imo-period-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .18rem;
        scrollbar-width: none;
    }
    .imo-responsible-pills::-webkit-scrollbar,
    .imo-filter-strip::-webkit-scrollbar,
    .imo-period-pills::-webkit-scrollbar {
        display: none;
    }
}

/* Premium SaaS 2026 interior redesign layer: visible IA and hierarchy changes only. */
.imo-main {
    padding-top: 0.85rem !important;
}

.imo-dashboard-hero,
.imo-list-hero,
.imo-form-hero,
.imo-performance-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 0.85rem;
    padding: 1.05rem;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: 1.7rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.8)),
        radial-gradient(circle at 15% 0%, rgba(20,184,166,.1), transparent 16rem);
    box-shadow: 0 1px 2px rgba(15,23,42,.035), 0 22px 56px rgba(15,23,42,.075);
}

.imo-dashboard-hero {
    margin-bottom: .62rem;
    padding: .76rem .86rem .82rem;
    border-radius: 1.28rem;
    background:
        radial-gradient(circle at 88% 8%, rgba(14,165,233,.12), transparent 12rem),
        radial-gradient(circle at 6% 0%, rgba(20,184,166,.16), transparent 14rem),
        linear-gradient(160deg, #ffffff 0%, #f8fafc 48%, #eefcf9 100%);
}

.imo-dashboard-hero .imo-page-title {
    font-size: clamp(1.18rem, 3.4vw, 1.42rem);
    line-height: 1.05;
}

.imo-dashboard-hero .imo-page-sub {
    margin-top: .12rem;
    font-size: .76rem;
    line-height: 1.25;
}

.imo-tasks-index-page .imo-list-hero {
    margin-bottom: .48rem;
    padding: .6rem .72rem;
    border-radius: 1.05rem;
    min-height: 0;
}

.imo-tasks-index-page .imo-list-hero .imo-page-title {
    margin: 0;
    font-size: clamp(1.04rem, 3.2vw, 1.28rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.imo-tasks-index-page .imo-list-hero--compact {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.imo-tasks-index-page .imo-list-hero--compact .imo-page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.imo-dashboard-hero__glow {
    position: absolute;
    inset: auto -4.5rem -5.4rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: rgba(13,148,136,.12);
    filter: blur(18px);
    pointer-events: none;
}

.imo-dashboard-hero__top,
.imo-panel-heading,
.imo-list-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.imo-dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: .24rem;
    padding: .22rem .42rem;
    border-radius: 999px;
    border: 1px solid rgba(153,246,228,.76);
    background: rgba(240,253,250,.9);
    color: #0f766e;
    font-size: .54rem;
    font-weight: 850;
    letter-spacing: .105em;
    line-height: 1;
    text-transform: uppercase;
}

.imo-dashboard-date,
.imo-panel-date {
    flex: 0 0 auto;
    color: #64748b;
    font-size: .66rem;
    font-weight: 800;
}

.imo-dashboard-hero__metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .92rem;
}

.imo-hero-metric {
    display: grid;
    gap: .08rem;
    min-height: 4.05rem;
    padding: .66rem .62rem;
    border: 1px solid rgba(226,232,240,.86);
    border-radius: 1.1rem;
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 24px rgba(15,23,42,.045);
    text-decoration: none;
}

.imo-hero-metric span {
    color: #07111f;
    font-size: 1.36rem;
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: 1;
}

.imo-hero-metric small {
    color: #667085;
    font-size: .62rem;
    font-weight: 750;
    line-height: 1.15;
}

.imo-hero-metric--danger {
    border-color: rgba(251,113,133,.38);
    background: rgba(255,241,242,.82);
}

.imo-dashboard-panel {
    padding: 1rem !important;
    border-radius: 1.7rem;
}

.imo-panel-heading {
    margin-bottom: .8rem;
}

.imo-panel-heading--activity {
    align-items: center;
    gap: .75rem;
}

.imo-panel-heading--activity .imo-section-title {
    flex: 1 1 auto;
    min-width: 0;
}

.imo-panel-heading--activity .imo-section-title span {
    color: #475467;
    font-weight: 850;
}

.imo-period-panel--inline {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-period-panel--inline .imo-period-pills {
    margin-bottom: 0 !important;
}

.imo-period-panel:has(.imo-custom-period-form:only-child) {
    display: contents;
}

.imo-panel-heading .imo-section-title {
    color: #101828;
    font-size: .9rem;
    letter-spacing: -.025em;
    text-transform: none;
}

.imo-period-panel {
    margin-bottom: .9rem;
    padding: .45rem;
    border: 1px solid rgba(226,232,240,.82);
    border-radius: 1.25rem;
    background: rgba(248,250,252,.78);
}

.imo-dashboard-panel--filtered {
    padding-top: .56rem !important;
}

.imo-dashboard-panel--filtered .imo-panel-heading {
    margin-bottom: .42rem !important;
}

.imo-dashboard-panel--filtered .imo-panel-heading .imo-section-title {
    font-size: .78rem;
    line-height: 1;
}

.imo-dashboard-panel--filtered .imo-period-panel {
    margin-bottom: .42rem !important;
    padding: .22rem !important;
}

.imo-dashboard-panel--filtered .imo-period-pills {
    gap: .3rem !important;
    margin-bottom: 0 !important;
}

.imo-dashboard-panel--filtered .imo-period-pill {
    min-height: 1.88rem;
    padding: .34rem .62rem;
    font-size: .7rem;
}

.imo-dashboard-panel--filtered .imo-filter-strip {
    gap: .3rem;
    margin-bottom: .46rem;
}

.imo-dashboard-panel--filtered .imo-filter-chip {
    min-height: 1.55rem;
    padding: .22rem .52rem;
    font-size: .6rem;
}

@media (min-width: 768px) {
    .imo-dashboard-panel--filtered .imo-panel-heading {
        margin-bottom: .24rem !important;
    }

    .imo-dashboard-panel--filtered .imo-filter-strip {
        gap: .38rem;
        margin-top: -.08rem;
        margin-bottom: .38rem;
    }

    .imo-dashboard-panel--filtered .imo-filter-chip {
        min-height: 1.78rem;
        padding: .3rem .68rem;
        border-width: 1.5px;
        font-size: .68rem;
        font-weight: 900;
        box-shadow: 0 1px 2px rgba(15, 23, 42, .035);
    }
}

.imo-period-pill {
    min-height: 2rem;
    padding: .48rem .7rem;
    border: 1px solid rgba(226,232,240,.9);
    background: #fff;
    color: #475467;
}

.imo-period-pill.is-active,
.imo-period-pill:hover {
    background: #07111f;
    border-color: #07111f;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.12);
}

.imo-custom-period-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .5rem;
    margin-top: .55rem;
}
.imo-custom-period-fields.hidden {
    display: none !important;
}

.imo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.imo-kpi-card {
    position: relative;
    display: grid;
    align-content: space-between;
    min-height: 5.45rem;
    padding: .76rem !important;
    border-radius: 1.25rem;
    isolation: isolate;
}

.imo-kpi-card::after {
    content: "";
    position: absolute;
    inset: .55rem .55rem auto auto;
    width: .48rem;
    height: .48rem;
    border-radius: 999px;
    background: currentColor;
    opacity: .34;
}

.imo-kpi-card--wide,
.imo-kpi-feedback {
    grid-column: span 2;
}

.imo-kpi-card .imo-stat-value {
    font-size: 1.45rem;
    line-height: .98;
}

.imo-kpi-card .imo-stat-label {
    max-width: 8.8rem;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.imo-microcopy {
    margin-top: .8rem;
    padding: .68rem .75rem;
    border: 1px solid rgba(226,232,240,.78);
    border-radius: 1rem;
    background: rgba(248,250,252,.78);
    color: #667085;
    font-size: .62rem;
    font-weight: 650;
    line-height: 1.45;
}

.imo-filter-dock {
    margin-bottom: .88rem;
    padding: .62rem;
    border: 1px solid rgba(226,232,240,.84);
    border-radius: 1.45rem;
    background: rgba(255,255,255,.8);
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 16px 42px rgba(15,23,42,.05);
}

.imo-filter-dock .imo-tabs {
    margin-bottom: .52rem;
    border: 1px solid rgba(226,232,240,.8);
    background: rgba(241,245,249,.88);
}

.imo-filter-dock .imo-tabs.mb-4 {
    margin-bottom: .65rem;
}

.imo-search-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .52rem;
}

.imo-status-filter {
    margin-bottom: 0;
}

.imo-main:has(.imo-tasks-index-page) {
    padding-top: .42rem !important;
}

.imo-tasks-index-page .imo-filter-dock {
    margin-bottom: .19rem;
    padding: .17rem;
    border-radius: .96rem;
}

.imo-tasks-index-page .imo-filter-dock .imo-tabs {
    margin-bottom: .14rem;
    padding: .07rem;
    gap: .11rem;
    border-radius: .68rem;
}

.imo-tasks-index-page .imo-filter-dock .imo-tabs.mb-4 {
    margin-bottom: .16rem;
}

.imo-tasks-index-page .imo-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .24rem;
    min-height: 1.44rem;
    padding: .16rem .34rem;
    border-radius: .54rem;
    font-size: .72rem;
    line-height: 1.05;
    text-decoration: none;
}

.imo-tasks-index-page .imo-tab svg {
    width: .9rem;
    height: .9rem;
    flex: 0 0 auto;
    stroke-width: 2;
    opacity: .72;
}

.imo-tasks-index-page .imo-tab span {
    min-width: 0;
}

.imo-task-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1rem;
    padding: 0 .32rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: currentColor;
    font-size: .58rem;
    font-weight: 950;
    line-height: 1;
}

.imo-tasks-index-page .imo-tab.is-active svg {
    opacity: .9;
}

.imo-tasks-index-page .imo-tab:hover,
.imo-tasks-index-page .imo-tab:focus-visible {
    text-decoration: none;
}

.imo-tasks-index-page .imo-tab:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .34);
    outline-offset: 2px;
}

.imo-task-status-filter,
.imo-task-owner-filter {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.imo-task-status-filter > .imo-tab,
.imo-task-owner-filter > .imo-tab,
.imo-task-status-trigger,
.imo-task-owner-trigger {
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.imo-task-status-trigger,
.imo-task-owner-trigger {
    border: 0;
    cursor: pointer;
}

.imo-task-status-menu,
.imo-task-owner-menu {
    position: fixed;
    z-index: 130;
    max-height: min(21rem, 60vh);
    padding: .32rem;
    overflow-y: auto;
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 38px rgba(35,31,32,.14);
}

.imo-task-status-menu {
    padding: .2rem;
    border-radius: .82rem;
}

.imo-task-status-menu .imo-task-owner-option {
    min-height: 2.02rem;
    padding: .28rem .36rem;
    gap: .42rem;
    border-radius: .64rem;
}

.imo-task-status-menu .imo-task-owner-option + .imo-task-owner-option {
    margin-top: .12rem;
}

.imo-task-status-menu .imo-task-owner-initials {
    flex-basis: 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    font-size: .54rem;
}

.imo-task-status-menu .imo-task-owner-copy {
    gap: 0;
}

.imo-task-status-menu .imo-task-owner-copy strong {
    font-size: .78rem;
    line-height: 1.05;
}

.imo-task-status-menu .imo-task-owner-copy em {
    color: #667085;
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.imo-task-status-menu .imo-task-owner-check {
    flex-basis: 1.05rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: .3rem;
}

.imo-task-status-menu .imo-task-owner-option.is-selected .imo-task-owner-check::after {
    left: .3rem;
    top: .13rem;
    width: .32rem;
    height: .56rem;
}

.imo-task-owner-option {
    display: flex;
    align-items: center;
    gap: .56rem;
    min-height: 3.05rem;
    padding: .44rem .46rem;
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: .92rem;
    background: rgba(255, 255, 255, .96);
    color: var(--cit-text);
    text-decoration: none;
}

.imo-task-owner-option + .imo-task-owner-option {
    margin-top: .32rem;
}

.imo-task-owner-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.88rem;
    width: 1.88rem;
    height: 1.88rem;
    border: 1px solid rgba(0, 167, 225, .28);
    border-radius: 999px;
    background: rgba(0, 167, 225, .08);
    color: #007aa5;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.imo-task-owner-copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: .08rem;
}

.imo-task-owner-copy strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.1;
}

.imo-task-owner-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #667085;
    font-size: .61rem;
    font-weight: 750;
    line-height: 1.15;
}

.imo-task-owner-check {
    position: relative;
    flex: 0 0 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 1.5px solid rgba(148, 163, 184, .72);
    border-radius: .34rem;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, .04);
}

.imo-task-owner-option.is-selected .imo-task-owner-check {
    border-color: rgba(0, 167, 225, .55);
    background: rgba(0, 167, 225, .16);
}

.imo-task-owner-option.is-selected .imo-task-owner-check::after {
    content: "";
    position: absolute;
    left: .36rem;
    top: .18rem;
    width: .35rem;
    height: .62rem;
    border: solid #007aa5;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.imo-task-owner-option:hover,
.imo-task-owner-option.is-selected {
    border-color: rgba(0, 167, 225, .34);
    background: rgba(0, 167, 225, .08);
}

.imo-tasks-index-page .imo-search-row {
    gap: .21rem;
    margin-bottom: .21rem;
}

.imo-tasks-index-page .imo-search-row-wrap {
    margin-bottom: .21rem;
}

.imo-tasks-index-page .imo-search-row-wrap--with-period {
    display: grid;
    grid-template-columns: minmax(7.25rem, 9.75rem) minmax(0, 1fr);
    gap: .21rem;
    align-items: stretch;
    --feedback-accent: #16a34a;
    --feedback-accent-dark: #15803d;
    --feedback-accent-soft: rgba(220, 252, 231, .92);
    --feedback-accent-faint: rgba(240, 253, 244, .96);
    --feedback-card-border: rgba(22, 163, 74, .16);
}

.imo-tasks-index-page .imo-search-row-wrap--with-period .imo-search-row {
    margin-bottom: 0;
}

.imo-tasks-index-page .imo-search-row-wrap--with-period .imo-search-row__period {
    min-width: 0;
}

.imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-detail-period--select {
    display: grid;
    align-items: center;
    height: 100%;
    min-height: 2.05rem;
    margin: 0;
}

.imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-menu {
    left: 0;
    right: auto;
    min-width: min(100vw - 1.5rem, 18.5rem);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period {
    --feedback-accent: #4ade80;
    --feedback-accent-dark: #86efac;
    --feedback-accent-soft: rgba(22, 101, 52, .42);
    --feedback-accent-faint: rgba(20, 83, 45, .34);
    --feedback-card-border: rgba(74, 222, 128, .18);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-menu {
    background: rgba(15, 23, 42, .98);
    border-color: rgba(74, 222, 128, .16);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-presets a {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .16);
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-presets a.is-active,
html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-presets a:hover {
    background: rgba(22, 101, 52, .34);
    border-color: rgba(74, 222, 128, .28);
    color: #ecfdf5;
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-custom {
    background: rgba(15, 23, 42, .58);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-custom input {
    background: rgba(15, 23, 42, .92);
    border-color: rgba(148, 163, 184, .18);
    color: #f8fafc;
}

html[data-theme="dark"] .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-period-custom label span {
    color: #cbd5e1;
}

.imo-tasks-index-page .imo-input,
.imo-tasks-index-page .imo-select,
.imo-tasks-index-page .imo-search-row .imo-btn {
    min-height: 2.05rem;
    padding-top: .32rem;
    padding-bottom: .32rem;
    border-radius: .86rem;
    font-size: .86rem;
}

.imo-list-stack {
    display: grid;
    gap: .55rem;
}

.imo-tasks-index-page .imo-list-stack {
    gap: .42rem;
}

.imo-tasks-index-page a {
    text-decoration: none;
}

.imo-list-card {
    margin-bottom: 0 !important;
    padding: .86rem;
    border-radius: 1.32rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
}

.imo-tasks-index-page .imo-list-card {
    padding: .58rem .62rem;
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .018), 0 8px 18px rgba(35, 31, 32, .03);
}

.imo-tasks-index-page .imo-list-card--is-open {
    border-color: rgba(0, 167, 225, .18);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240, 249, 255, .68));
}

.imo-tasks-index-page .imo-list-card--is-active {
    border-color: rgba(37, 99, 235, .2);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239, 246, 255, .78));
}

.imo-tasks-index-page .imo-list-card--is-waiting {
    border-color: rgba(245, 158, 11, .26);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255, 251, 235, .82));
}

.imo-tasks-index-page .imo-list-card--is-done {
    border-color: rgba(34, 197, 94, .22);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(236, 253, 245, .82));
}

.imo-tasks-index-page .imo-list-card:hover {
    border-color: rgba(0, 167, 225, .22);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .055), transparent 9rem),
        #fff;
}

.imo-tasks-index-page .imo-list-card:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .34);
    outline-offset: 3px;
    border-color: rgba(0, 167, 225, .4);
}

.imo-tasks-index-page .imo-list-card *,
.imo-tasks-index-page .imo-list-card:hover *,
.imo-tasks-index-page .imo-list-card:focus-visible * {
    text-decoration: none;
}

.imo-list-card__main,
.imo-member-row-main {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    min-width: 0;
}

.imo-tasks-index-page .imo-list-card__main {
    gap: .52rem;
}

.imo-list-card__marker {
    flex: 0 0 auto;
    width: .48rem;
    height: 2.25rem;
    margin-top: .1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #0d9488, #99f6e4);
    box-shadow: 0 0 0 4px rgba(13,148,136,.08);
}

.imo-tasks-index-page .imo-list-card__marker {
    width: .32rem;
    height: 1.65rem;
    margin-top: .08rem;
    opacity: .88;
    box-shadow: 0 0 0 3px rgba(13,148,136,.06);
}

.imo-tasks-index-page .imo-list-card--is-open .imo-list-card__marker {
    background: linear-gradient(180deg, #00a7e1, #7dd3fc);
    box-shadow: 0 0 0 3px rgba(0, 167, 225, .08);
}

.imo-tasks-index-page .imo-list-card--is-active .imo-list-card__marker {
    background: linear-gradient(180deg, #2563eb, #93c5fd);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.imo-tasks-index-page .imo-list-card--is-waiting .imo-list-card__marker {
    background: linear-gradient(180deg, #f59e0b, #fde68a);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .1);
}

.imo-tasks-index-page .imo-list-card--is-done .imo-list-card__marker {
    background: linear-gradient(180deg, #16a34a, #86efac);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .09);
}

.imo-list-card__footer {
    margin-top: .8rem;
    padding-top: .68rem;
    border-top: 1px solid rgba(226,232,240,.76);
}

.imo-tasks-index-page .imo-list-card__footer {
    margin-top: .32rem;
    padding-top: .28rem;
    gap: .5rem;
    border-top-color: rgba(226,232,240,.48);
}

.imo-tasks-index-page .imo-list-card__status-text {
    margin-left: auto;
    color: #475467;
    font-size: .7rem;
    font-weight: 850;
}

.imo-tasks-index-page .imo-task-status-badge {
    color: #007aa5;
    border-color: rgba(0, 167, 225, .32);
    background: rgba(0, 167, 225, .08);
}

.imo-tasks-index-page .imo-list-card--is-active .imo-task-status-badge {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, .28);
    background: rgba(37, 99, 235, .08);
}

.imo-tasks-index-page .imo-list-card--is-waiting .imo-task-status-badge {
    color: #92400e;
    border-color: rgba(245, 158, 11, .34);
    background: rgba(245, 158, 11, .1);
}

.imo-tasks-index-page .imo-list-card--is-done .imo-task-status-badge {
    color: #166534;
    border-color: rgba(34, 197, 94, .32);
    background: rgba(34, 197, 94, .1);
}

.imo-tasks-index-page .imo-list-card p {
    margin-top: 0;
    margin-bottom: 0;
}

.imo-tasks-index-page .imo-task-title-clamp {
    -webkit-line-clamp: 2;
    color: #101828;
    font-size: .92rem;
    font-weight: 780;
    line-height: 1.22;
    letter-spacing: -.018em;
}

.imo-tasks-index-page .imo-list-card:hover .imo-task-title-clamp,
.imo-tasks-index-page .imo-list-card:focus-visible .imo-task-title-clamp {
    color: #007aa5;
}

.imo-risk-attention-page {
    display: grid;
    gap: .55rem;
}

.imo-risk-attention-page .imo-risk-hero {
    display: flex;
    align-items: center;
    gap: .64rem;
    min-height: 0;
    padding: .36rem .72rem !important;
    border: 1px solid rgba(248, 113, 113, .32);
    border-radius: 1.22rem;
    background:
        radial-gradient(circle at 1.2rem 50%, rgba(248, 113, 113, .12), transparent 8rem),
        linear-gradient(135deg, #ffffff 0%, #fffafa 56%, #fff5f5 100%);
    box-shadow: 0 1px 2px rgba(127, 29, 29, .035), 0 16px 34px rgba(127, 29, 29, .055);
}

.imo-risk-attention-page .imo-risk-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.18rem;
    width: 2.18rem;
    height: 2.18rem;
    font-size: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, .38);
    background: linear-gradient(180deg, #fff7f7, #fee2e2);
    color: #dc2626;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(239, 68, 68, .16);
}

.imo-risk-attention-page .imo-risk-hero .imo-page-title {
    margin: 0 !important;
    color: #111827;
    font-size: clamp(1.24rem, 3.25vw, 1.64rem) !important;
    line-height: .94 !important;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.imo-risk-attention-page .imo-risk-hero p {
    display: flex;
    align-items: center;
    gap: .34rem;
    margin: .04rem 0 0 !important;
    color: #5f6b7a;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.1;
}

.imo-risk-user-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 1.28rem;
    padding: .1rem .56rem .1rem .16rem;
    border: 1px solid rgba(248, 113, 113, .42);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #fff1f2);
    color: #991b1b;
    font-size: .66rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 4px 10px rgba(248, 113, 113, .08);
}

.imo-risk-user-pill span {
    display: inline-grid;
    width: 1.02rem;
    height: 1.02rem;
    place-items: center;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: .5rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .38);
}

.imo-agent-scope {
    position: relative;
    display: inline-flex;
}

.imo-agent-scope-trigger {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    min-height: 1.42rem;
    padding: .12rem .62rem .12rem .16rem;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    color: #1d4ed8;
    font-size: .68rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(37,99,235,.08);
}

.imo-risk-attention-page .imo-agent-scope-trigger {
    border-color: rgba(248, 113, 113, .42);
    background: linear-gradient(180deg, #ffffff, #fff1f2);
    color: #991b1b;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 4px 10px rgba(248, 113, 113, .08);
}

.imo-agent-scope-trigger > span {
    display: inline-grid;
    width: 1.08rem;
    height: 1.08rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
    color: #1d4ed8;
    font-size: .5rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .2);
}

.imo-risk-attention-page .imo-agent-scope-trigger > span {
    background: #fee2e2;
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .38);
}

.imo-agent-scope-menu {
    position: fixed;
    z-index: 160;
    display: grid;
    gap: .34rem;
    width: min(25rem, calc(100vw - 1rem));
    max-height: min(26rem, calc(100vh - 1rem));
    overflow-y: auto;
    padding: .42rem;
    border: 1px solid rgba(203,213,225,.9);
    border-radius: 1rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 60px rgba(15,23,42,.18);
}

.imo-agent-scope-menu[hidden] {
    display: none;
}

.imo-agent-scope-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .58rem;
    min-height: 3.48rem;
    padding: .52rem .62rem;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: .9rem;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15,23,42,.025);
}

.imo-agent-scope-option:hover,
.imo-agent-scope-option:focus-visible,
.imo-agent-scope-option.is-selected {
    border-color: rgba(0, 167, 225, .42);
    background: #f0fbff;
    text-decoration: none;
}

.imo-agent-scope-initials {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(14,165,233,.28);
    border-radius: 999px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: .72rem;
    font-weight: 950;
}

.imo-agent-scope-copy {
    display: grid;
    min-width: 0;
    gap: .12rem;
}

.imo-agent-scope-copy strong {
    overflow: hidden;
    color: #111827;
    font-size: .9rem;
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-agent-scope-copy small {
    overflow: hidden;
    color: #475467;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-agent-scope-check {
    width: 1.12rem;
    height: 1.12rem;
    border: 1.5px solid #cbd5e1;
    border-radius: .34rem;
    background: #ffffff;
}

.imo-agent-scope-option.is-selected .imo-agent-scope-check {
    border-color: #0ea5e9;
    background:
        linear-gradient(135deg, transparent 45%, #ffffff 45% 55%, transparent 55%),
        #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.imo-risk-panel,
.imo-risk-recommendation {
    padding: .72rem;
    border: 1px solid rgba(226,232,240,.86);
    border-radius: 1rem;
    background: rgba(255,255,255,.9);
    box-shadow: 0 1px 2px rgba(15,23,42,.025), 0 10px 24px rgba(15,23,42,.045);
}

.imo-risk-section-label {
    margin-bottom: .5rem;
    color: #667085;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.imo-risk-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.imo-risk-summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.imo-risk-summary-heading strong {
    min-width: 2.1rem;
    padding: .12rem .55rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: .8rem;
    font-weight: 950;
    line-height: 1.35;
    text-align: center;
}

.imo-risk-summary-card {
    display: grid;
    justify-items: center;
    gap: .16rem;
    min-height: 4.3rem;
    padding: .54rem .35rem;
    border: 1px solid rgba(254, 202, 202, .8);
    border-radius: .76rem;
    background: #fff7f7;
    color: #dc2626;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.imo-risk-summary-card:hover,
.imo-risk-summary-card:focus-visible,
.imo-risk-summary-card.is-active {
    border-color: rgba(239, 68, 68, .5);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .08), 0 10px 24px rgba(127, 29, 29, .07);
    transform: translateY(-1px);
}

.imo-risk-summary-card--warning {
    border-color: rgba(253, 230, 138, .95);
    background: #fffbeb;
    color: #d97706;
}

.imo-risk-summary-card--warning:hover,
.imo-risk-summary-card--warning:focus-visible,
.imo-risk-summary-card--warning.is-active {
    border-color: rgba(245, 158, 11, .55);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .1), 0 10px 24px rgba(146, 64, 14, .07);
}

.imo-risk-summary-card span {
    font-size: .9rem;
    line-height: 1;
}

.imo-risk-summary-card strong {
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1;
}

.imo-risk-summary-card small {
    color: #667085;
    font-size: .58rem;
    font-weight: 750;
    text-align: center;
}

.imo-risk-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.imo-risk-count {
    color: #98a2b3;
    font-size: .66rem;
    font-weight: 800;
}

.imo-risk-list {
    display: grid;
    gap: .36rem;
}

.imo-risk-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(7rem, .55fr) minmax(6.6rem, auto);
    align-items: center;
    gap: .58rem;
    padding: .48rem .5rem;
    border: 1px solid rgba(254, 202, 202, .72);
    border-left: .22rem solid #ef4444;
    border-radius: .78rem;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,247,.82));
    color: var(--cit-text);
}

.imo-risk-row--warning {
    border-color: rgba(253, 230, 138, .82);
    border-left-color: #f59e0b;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,251,235,.88));
}

.imo-risk-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: rgba(254, 226, 226, .82);
    color: #dc2626;
    font-size: .82rem;
    font-weight: 900;
}

.imo-risk-row--warning .imo-risk-row__icon {
    background: rgba(254, 243, 199, .95);
    color: #d97706;
}

.imo-risk-row__main,
.imo-risk-row__meta,
.imo-risk-row__badge {
    display: grid;
    min-width: 0;
    gap: .08rem;
}

.imo-risk-row__main strong {
    overflow: hidden;
    color: #101828;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-risk-row small {
    overflow: hidden;
    color: #667085;
    font-size: .56rem;
    font-weight: 750;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-risk-row__meta strong {
    color: #344054;
    font-size: .6rem;
    font-weight: 850;
}

.imo-risk-row__badge {
    justify-items: end;
}

.imo-risk-row__badge strong {
    width: max-content;
    max-width: 100%;
    padding: .16rem .4rem;
    border-radius: 999px;
    background: rgba(254, 226, 226, .86);
    color: #dc2626;
    font-size: .54rem;
    font-weight: 950;
    text-transform: uppercase;
}

.imo-risk-row--warning .imo-risk-row__badge strong {
    background: rgba(254, 243, 199, .96);
    color: #b45309;
}

.imo-risk-recommendation {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    border-color: rgba(186, 230, 253, .9);
    background: #f0f9ff;
}

.imo-risk-recommendation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.8rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    font-size: .82rem;
    font-weight: 950;
}

.imo-risk-recommendation strong {
    display: block;
    margin-bottom: .18rem;
    color: #0f172a;
    font-size: .76rem;
    font-weight: 900;
}

.imo-risk-recommendation ul {
    margin: 0;
    padding-left: 1rem;
    color: #475467;
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.45;
}

.imo-risk-actions {
    display: flex;
    justify-content: center;
}

.imo-risk-scoring-card {
    margin-top: .85rem;
    border-color: rgba(248, 113, 113, .16);
    background: rgba(255,255,255,.9);
    box-shadow: 0 1px 2px rgba(15,23,42,.025), 0 10px 24px rgba(15,23,42,.045);
}
.imo-risk-scoring-card .imo-feedback-card-icon {
    background: #fef2f2;
    color: #dc2626;
}
.imo-financial-impact-page {
    display: grid;
    gap: .8rem;
    max-width: 100%;
    overflow-x: hidden;
    --feedback-accent: #7e22ce;
}

.imo-financial-impact-page .imo-financial-compact-hero {
    background: linear-gradient(135deg, color-mix(in srgb, #7e22ce 9%, #fff), #fff) !important;
    border-color: color-mix(in srgb, #7e22ce 20%, #e2e8f0) !important;
    box-shadow: 0 14px 34px rgba(126, 34, 206, .08) !important;
    gap: .24rem !important;
    padding: .38rem .52rem .44rem !important;
}

.imo-financial-impact-page .imo-page-title {
    max-width: none !important;
    margin-bottom: .02rem !important;
    color: #0f172a !important;
    font-size: clamp(1.12rem, 3.8vw, 1.38rem) !important;
    line-height: .94 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.imo-financial-impact-page .imo-page-sub {
    max-width: 34rem !important;
    margin-top: 0 !important;
    color: #475569 !important;
    font-size: .62rem !important;
    line-height: 1.12 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.imo-financial-impact-page .imo-feedback-detail-controls {
    gap: .34rem !important;
}

.imo-financial-impact-page .imo-feedback-identity-pill--select,
.imo-financial-impact-page .imo-feedback-detail-period--select {
    min-height: 2.1rem !important;
    padding-top: .26rem !important;
    padding-bottom: .26rem !important;
}

.imo-financial-hero,
.imo-financial-metric,
.imo-financial-total-card,
.imo-financial-panel,
.imo-financial-note {
    border: 1px solid rgba(226,232,240,.86);
    border-radius: 1rem;
    background: rgba(255,255,255,.92);
    box-shadow: 0 1px 2px rgba(15,23,42,.025), 0 10px 24px rgba(15,23,42,.045);
}

.imo-financial-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .82rem 1rem .62rem;
    border-color: rgba(191, 219, 254, .62);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15,23,42,.025), 0 18px 42px rgba(37, 99, 235, .08);
}

.imo-financial-hero__identity {
    display: flex;
    align-items: center;
    gap: .78rem;
    min-width: 0;
}

.imo-financial-hero__identity .imo-agent-scope-trigger {
    min-height: 2.3rem;
    padding: .24rem .86rem .24rem .22rem;
    font-size: .92rem;
    color: #1e293b;
}

.imo-financial-hero__identity .imo-agent-scope-trigger > span {
    width: 1.72rem;
    height: 1.72rem;
    font-size: .68rem;
}

.imo-financial-hero__identity > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 10px 24px rgba(37, 99, 235, .12);
}

.imo-financial-hero__identity .imo-page-title {
    margin: 0 0 .18rem;
    color: #111827;
    font-size: clamp(1.35rem, 3.6vw, 1.9rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.imo-financial-hero p,
.imo-financial-hero small,
.imo-financial-hero__period small {
    color: #667085;
    font-size: .68rem;
    font-weight: 700;
}

.imo-financial-hero p {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 1.28rem;
    margin-bottom: .3rem;
    padding: .14rem .54rem;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    color: #334155;
    font-size: .64rem;
    font-weight: 900;
}

.imo-financial-hero small {
    display: block;
    color: #64748b;
    font-size: .64rem;
    font-weight: 800;
}

.imo-financial-hero__period {
    display: grid;
    justify-items: end;
    gap: .38rem;
    text-align: right;
}

.imo-financial-period-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .32rem;
    padding: .16rem;
    border: 1px solid rgba(226,232,240,.78);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.imo-financial-period-pills .imo-period-pill {
    min-height: 1.72rem;
    padding: .3rem .62rem;
    font-size: .68rem;
    box-shadow: none;
}

.imo-financial-hero__period strong {
    padding: .32rem .72rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #111827, #231f20);
    color: #fff;
    font-size: .66rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(17, 24, 39, .16);
}

.imo-financial-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.imo-financial-metric {
    display: grid;
    gap: .42rem;
    padding: .85rem;
}

.imo-financial-metric span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-weight: 950;
}

.imo-financial-metric small,
.imo-financial-total-card small {
    color: #344054;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.imo-financial-metric strong,
.imo-financial-total-card strong {
    font-size: 1.52rem;
    font-weight: 950;
    line-height: 1.1;
}

.imo-financial-metric em,
.imo-financial-total-card em {
    font-size: .72rem;
    font-style: normal;
}

.imo-financial-metric--revenue span { background: #dbeafe; color: #2563eb; }
.imo-financial-metric--revenue strong { color: #2563eb; }
.imo-financial-metric--reduction span { background: #ffedd5; color: #f97316; }
.imo-financial-metric--reduction strong { color: #f97316; }
.imo-financial-metric--total span { background: #f3e8ff; color: #9333ea; }
.imo-financial-metric--total strong { color: #7e22ce; }

.imo-financial-metric p {
    color: #667085;
    font-size: .64rem;
    font-weight: 750;
}

.imo-financial-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .9rem;
}

.imo-financial-total-card p {
    display: grid;
    justify-items: end;
    color: #16a34a;
    font-size: 1rem;
    font-weight: 950;
}

.imo-financial-total-card p.is-negative {
    color: #dc2626;
}

.imo-financial-total-card p span {
    color: #667085;
    font-size: .58rem;
}

.imo-financial-panel {
    padding: .85rem;
}

.imo-financial-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .75rem;
}

.imo-financial-panel__title {
    display: grid;
    gap: .15rem;
}

.imo-financial-panel__heading h2 {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #1e293b;
    font-size: .82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.imo-financial-panel__heading h2 span {
    display: inline-grid;
    width: 1rem;
    height: 1rem;
    place-items: center;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    color: #64748b;
    font-size: .62rem;
    font-weight: 900;
    text-transform: none;
}

.imo-financial-panel__heading p,
.imo-financial-panel__heading a {
    color: #2563eb;
    font-size: .66rem;
    font-weight: 850;
}

.imo-financial-panel__heading > strong {
    color: #334155;
    font-size: .72rem;
    font-weight: 900;
}

.imo-financial-line-chart {
    display: grid;
    gap: .6rem;
    overflow-x: auto;
    padding: .2rem .1rem 0;
}

.imo-financial-line-chart svg {
    width: 100%;
    min-width: 28rem;
    height: 17rem;
}

.imo-financial-line-chart__grid {
    stroke: rgba(148, 163, 184, .24);
    stroke-dasharray: 4 5;
    stroke-width: 1;
}

.imo-financial-line-chart__value,
.imo-financial-line-chart__month {
    fill: #475467;
    font-size: .68rem;
    font-weight: 800;
}

.imo-financial-line-chart__month {
    text-anchor: middle;
}

.imo-financial-line-chart__line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
    vector-effect: non-scaling-stroke;
}

.imo-financial-line-chart__line--revenue { stroke: #14b8a6; }
.imo-financial-line-chart__line--reduction { stroke: #ec4899; }
.imo-financial-line-chart__line--work { stroke: #7e22ce; }

.imo-financial-line-chart__dot {
    stroke: #ffffff;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.imo-financial-line-chart__dot--revenue { fill: #14b8a6; }
.imo-financial-line-chart__dot--reduction { fill: #ec4899; }
.imo-financial-line-chart__dot--work { fill: #7e22ce; }

.imo-financial-line-chart__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
    color: #334155;
    font-size: .74rem;
    font-weight: 850;
}

.imo-financial-line-chart__legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.imo-financial-line-chart__legend i {
    width: 1.2rem;
    height: .18rem;
    border-radius: 999px;
    position: relative;
}

.imo-financial-line-chart__legend i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: .42rem;
    height: .42rem;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: currentColor;
}

.imo-financial-line-chart__legend .is-revenue { background: #14b8a6; color: #14b8a6; }
.imo-financial-line-chart__legend .is-reduction { background: #ec4899; color: #ec4899; }
.imo-financial-line-chart__legend .is-work { background: #7e22ce; color: #7e22ce; }

.imo-financial-table {
    display: grid;
    gap: .1rem;
}

.imo-financial-table__header {
    display: grid;
    grid-template-columns: auto minmax(12rem, 1fr) 4.75rem 4.75rem 6.4rem;
    align-items: center;
    gap: .42rem;
    padding: .35rem .2rem .5rem;
    color: #64748b;
    font-size: .52rem;
    font-weight: 950;
    text-transform: uppercase;
}

.imo-financial-table__header span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.imo-financial-table__header span:nth-child(n+3) {
    justify-self: end;
}

.imo-financial-table__header small {
    font-size: .48rem;
    text-transform: none;
}

.imo-financial-table__header i {
    width: .42rem;
    height: .42rem;
    border-radius: 999px;
}

.imo-financial-table__header .is-revenue { background: #2563eb; }
.imo-financial-table__header .is-reduction { background: #f97316; }

.imo-financial-table__header--opportunities,
.imo-financial-row--opportunity {
    grid-template-columns: auto minmax(12rem, 1fr) 5.2rem 6.2rem 6.4rem;
}

.imo-financial-table__header svg,
.imo-financial-row__date svg {
    width: .72rem;
    height: .72rem;
    flex: 0 0 auto;
}

.imo-financial-row {
    display: grid;
    grid-template-columns: auto minmax(12rem, 1fr) 4.75rem 4.75rem 6.4rem;
    align-items: center;
    gap: .42rem;
    padding: .5rem .2rem;
    border-top: 1px solid rgba(226,232,240,.72);
    color: var(--cit-text);
}

.imo-financial-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 950;
}

.imo-financial-row__icon.revenue { background: #dbeafe; color: #2563eb; }
.imo-financial-row__icon.reduction { background: #ffedd5; color: #f97316; }
.imo-financial-row__icon.opportunity { background: #f3e8ff; color: #7e22ce; }
.imo-financial-row__main {
    display: grid;
    gap: .08rem;
    min-width: 0;
}

.imo-financial-row__main strong {
    overflow: hidden;
    color: #101828;
    font-size: .72rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-financial-row__main small {
    display: -webkit-box;
    overflow: hidden;
    color: #667085;
    font-size: .58rem;
    font-weight: 750;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imo-financial-opportunity-reasons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .18rem .48rem !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

.imo-financial-opportunity-reasons span {
    color: #64748b;
    font-size: .62rem;
    font-weight: 850;
}

.imo-financial-opportunity-reasons span::before {
    content: "";
    display: inline-block;
    width: .34rem;
    height: .34rem;
    margin-right: .24rem;
    border-radius: 999px;
    background: #7e22ce;
    vertical-align: .08rem;
}

.imo-financial-row__value {
    justify-self: end;
    font-size: .66rem;
    font-weight: 950;
    white-space: nowrap;
}

.imo-financial-row__value em {
    font-size: .54rem;
    font-style: normal;
}

.imo-financial-row__value--revenue { color: #2563eb; }
.imo-financial-row__value--reduction { color: #f97316; }
.imo-financial-row__value--work { color: #7e22ce; }

.imo-financial-row__date {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    color: #667085;
    font-size: .56rem;
    font-weight: 800;
    white-space: nowrap;
    justify-self: end;
}

.imo-financial-note {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .62rem .75rem;
}

.imo-financial-note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-weight: 950;
}

.imo-financial-note p {
    color: #475467;
    font-size: .64rem;
    font-weight: 750;
}
.imo-task-title-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .25rem;
    vertical-align: .02em;
    font-size: .82em;
    line-height: 1;
    text-decoration: none;
}
.imo-task-title-mark--priority {
    color: #f5b301;
    text-shadow: 0 0 10px rgba(245,179,1,.18);
}
.imo-task-title-mark--urgent {
    color: #ff4438;
}

.imo-tasks-index-page .text-xs {
    color: #667085 !important;
    font-size: .7rem;
    line-height: 1.15;
}

.imo-tasks-index-page .imo-badge {
    min-height: 1.32rem;
    padding: .12rem .4rem;
    font-size: .64rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.imo-tasks-index-page .imo-search-row {
    align-items: stretch;
}

.imo-tasks-index-page .imo-search-row__input {
    flex: 1 1 auto;
    min-width: 0;
}

.imo-tasks-index-page .imo-search-row .imo-btn {
    width: auto !important;
    min-width: 7.5rem;
}

@media (max-width: 430px) {
    .imo-tasks-index-page:not(.imo-dashboard-page--polish) {
        margin-inline: -.55rem;
    }

    .imo-tasks-index-page .imo-list-hero {
        margin: 0 .18rem .24rem;
        padding: .38rem .56rem;
        border-radius: .86rem;
    }

    .imo-tasks-index-page .imo-list-hero .imo-page-title {
        font-size: 1rem;
    }

    .imo-tasks-index-page .imo-filter-dock {
        margin-bottom: .16rem;
        padding: .15rem;
        border-radius: .9rem;
    }

    .imo-tasks-index-page .imo-filter-dock .imo-tabs {
        margin-bottom: .11rem;
        padding: .05rem;
        gap: .09rem;
        border-radius: .68rem;
    }

    .imo-tasks-index-page .imo-filter-dock .imo-tabs.mb-4 {
        margin-bottom: .13rem;
    }

    .imo-tasks-index-page .imo-tab {
        min-height: 1.38rem;
        padding: .18rem .3rem;
        border-radius: .5rem;
        font-size: .66rem;
    }

    .imo-tasks-index-page .imo-search-row-wrap--with-period {
        grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr);
        gap: .15rem;
    }

    .imo-tasks-index-page .imo-search-row-wrap--with-period .imo-feedback-detail-period--select {
        min-height: 1.72rem;
        padding: .24rem 1.2rem .24rem .4rem !important;
    }

    .imo-tasks-index-page .imo-search-row {
        gap: .15rem;
        margin-bottom: .17rem;
    }

    .imo-tasks-index-page .imo-input,
    .imo-tasks-index-page .imo-select,
    .imo-tasks-index-page .imo-search-row .imo-btn {
        min-height: 1.72rem;
        padding-top: .28rem;
        padding-bottom: .28rem;
        border-radius: .72rem;
        font-size: .78rem;
    }

    .imo-tasks-index-page .imo-search-row .imo-btn {
        min-width: 5.35rem;
        padding-left: .72rem !important;
        padding-right: .72rem !important;
    }

    .imo-tasks-index-page .imo-list-stack {
        gap: .34rem;
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0));
    }

    .imo-tasks-index-page .imo-list-card {
        padding: .46rem .5rem;
        border-radius: .86rem;
    }

    .imo-tasks-index-page .imo-list-card__main {
        gap: .42rem;
    }

    .imo-tasks-index-page .imo-list-card__marker {
        width: .26rem;
        height: 1.45rem;
        box-shadow: 0 0 0 2px rgba(13,148,136,.055);
    }

    .imo-tasks-index-page .imo-task-title-clamp {
        font-size: .84rem;
        line-height: 1.16;
    }

    .imo-tasks-index-page .text-xs {
        font-size: .63rem;
    }

    .imo-tasks-index-page .imo-list-card__footer {
        margin-top: .24rem;
        padding-top: .22rem;
    }

    .imo-tasks-index-page .imo-badge {
        min-height: 1.12rem;
        padding: .08rem .34rem;
        font-size: .58rem;
    }

    .imo-risk-panel,
    .imo-risk-recommendation {
        border-radius: .9rem;
        padding: .58rem;
    }

    .imo-risk-attention-page .imo-risk-hero {
        border-radius: .9rem;
        padding: .34rem .62rem !important;
    }

    .imo-risk-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .38rem;
    }

    .imo-risk-summary-card {
        min-height: 3.85rem;
    }

    .imo-risk-row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: .42rem;
    }

    .imo-risk-row__meta,
    .imo-risk-row__badge {
        grid-column: 2;
        justify-items: start;
    }

    .imo-risk-attention-page {
        gap: .46rem;
    }

    .imo-risk-attention-page .imo-risk-hero {
        align-items: flex-start;
        gap: .5rem;
    }

    .imo-risk-attention-page .imo-risk-hero .imo-page-title {
        font-size: clamp(1.08rem, 6vw, 1.36rem) !important;
        line-height: .96 !important;
    }

    .imo-risk-attention-page .imo-risk-hero p {
        flex-wrap: wrap;
        gap: .24rem .34rem;
        font-size: .62rem;
    }

    .imo-risk-user-pill {
        min-height: 1.14rem;
        padding: .08rem .42rem .08rem .14rem;
        font-size: .58rem;
    }

    .imo-risk-user-pill span {
        width: .92rem;
        height: .92rem;
        font-size: .46rem;
    }

    .imo-agent-scope-trigger {
        min-height: 1.18rem;
        padding: .08rem .44rem .08rem .14rem;
        font-size: .58rem;
    }

    .imo-agent-scope-trigger > span {
        width: .94rem;
        height: .94rem;
        font-size: .44rem;
    }

    .imo-agent-scope-menu {
        gap: .28rem;
        padding: .34rem;
        border-radius: .9rem;
    }

    .imo-agent-scope-option {
        min-height: 3.22rem;
        padding: .46rem .52rem;
    }

    .imo-agent-scope-copy strong {
        font-size: .82rem;
    }

    .imo-agent-scope-copy small {
        font-size: .58rem;
    }

    .imo-risk-panel__heading {
        margin-bottom: .44rem;
    }

    .imo-risk-summary-card {
        min-height: 3.35rem;
        padding: .48rem .32rem;
    }

    .imo-risk-summary-card strong {
        font-size: .98rem;
    }

    .imo-risk-summary-card small {
        font-size: .54rem;
    }

    .imo-risk-row {
        padding: .46rem .48rem;
        gap: .34rem .42rem;
    }

    .imo-risk-row__meta {
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: .24rem;
    }

    .imo-risk-row__meta small {
        display: none;
    }

    .imo-risk-row__badge {
        grid-row: 2;
        justify-self: end;
        justify-items: end;
        max-width: 58%;
    }

    .imo-risk-row__badge strong {
        font-size: .52rem;
        padding: .12rem .34rem;
    }

    .imo-risk-row__badge small {
        font-size: .52rem;
    }

    .imo-risk-recommendation {
        gap: .45rem;
    }

    .imo-risk-recommendation ul {
        padding-left: .82rem;
        font-size: .62rem;
    }

    .imo-financial-hero,
    .imo-financial-total-card,
    .imo-financial-panel__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .imo-financial-hero__period,
    .imo-financial-total-card p {
        justify-items: start;
        text-align: left;
    }

    .imo-financial-hero {
        gap: .46rem;
        padding: .56rem .58rem .5rem;
        overflow: hidden;
    }

    .imo-financial-hero__identity {
        width: 100%;
        gap: .44rem;
    }

    .imo-financial-hero__identity > div {
        display: grid;
        gap: .18rem;
        min-width: 0;
    }

    .imo-financial-hero__identity .imo-agent-scope-trigger {
        max-width: 100%;
        min-height: 1.78rem;
        padding: .14rem .58rem .14rem .16rem;
        font-size: .76rem;
    }

    .imo-financial-hero__identity .imo-agent-scope-trigger > span {
        width: 1.32rem;
        height: 1.32rem;
        font-size: .52rem;
    }

    .imo-financial-period-pills {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: .2rem;
        padding: .12rem;
        overflow-x: auto;
        border-radius: 999px;
        scrollbar-width: none;
    }

    .imo-financial-period-pills::-webkit-scrollbar {
        display: none;
    }

    .imo-financial-hero__identity > span {
        flex-basis: 2.35rem;
        width: 2.35rem;
        height: 2.35rem;
        font-size: .82rem;
    }

    .imo-financial-hero__identity .imo-page-title {
        font-size: clamp(1.12rem, 6vw, 1.42rem);
    }

    .imo-financial-hero p {
        margin-bottom: 0;
        min-height: 1.08rem;
        padding: .1rem .44rem;
        font-size: .58rem;
    }

    .imo-financial-hero small {
        font-size: .58rem;
    }

    .imo-financial-period-pills .imo-period-pill {
        flex: 0 0 auto;
        min-height: 1.42rem;
        padding: .2rem .44rem;
        font-size: .6rem;
    }

    .imo-financial-hero__period strong {
        padding: .22rem .54rem;
        font-size: .6rem;
    }

    .imo-financial-hero__period small {
        font-size: .58rem;
    }

    .imo-financial-metrics {
        grid-template-columns: 1fr;
        gap: .32rem;
        min-width: 0;
    }

    .imo-financial-metric {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: .42rem;
        min-width: 0;
        padding: .48rem .52rem;
        overflow: hidden;
    }

    .imo-financial-metric span {
        width: 1.55rem;
        height: 1.55rem;
        font-size: .74rem;
    }

    .imo-financial-metric small {
        min-width: 0;
        font-size: .5rem;
        line-height: 1.12;
    }

    .imo-financial-metric strong {
        justify-self: end;
        min-width: 0;
        max-width: 7.4rem;
        overflow: hidden;
        font-size: .96rem;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .imo-financial-metric em {
        font-size: .54rem;
    }

    .imo-financial-metric p {
        grid-column: 2 / -1;
        margin-top: -.18rem;
        font-size: .5rem;
    }

    .imo-financial-line-chart svg {
        min-width: 22rem;
        height: 13.5rem;
    }

    .imo-financial-line-chart__legend {
        justify-content: flex-start;
        gap: .56rem;
        font-size: .62rem;
    }

    .imo-financial-table__header {
        display: none;
    }

    .imo-financial-row {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: .36rem .48rem;
    }

    .imo-financial-row__value,
    .imo-financial-row__date {
        grid-column: 2;
    }

    .imo-financial-row__value {
        font-size: .72rem;
    }

    .imo-financial-row__date {
        justify-self: start;
    }

    .imo-financial-note {
        align-items: flex-start;
        padding: .52rem .58rem;
    }
}

@media (max-width: 360px) {
    .imo-tasks-index-page:not(.imo-dashboard-page--polish) {
        margin-inline: -.68rem;
    }

    .imo-tasks-index-page .imo-filter-dock {
        padding: .26rem;
    }

    .imo-tasks-index-page .imo-tab {
        min-height: 1.68rem;
        font-size: .62rem;
    }

    .imo-tasks-index-page .imo-search-row .imo-btn {
        min-width: 4.85rem;
    }

    .imo-tasks-index-page .imo-task-title-clamp {
        font-size: .8rem;
    }
}

.imo-form-panel {
    position: relative;
    padding: 1.05rem !important;
}

.imo-form-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #99f6e4, transparent);
}

.imo-form-section {
    padding: .76rem;
    border: 1px solid rgba(226,232,240,.78);
    border-radius: 1.15rem;
    background: rgba(248,250,252,.58);
}

.imo-team-directory .imo-card-link,
.imo-user-admin-row {
    border-radius: 1.35rem;
}

.imo-member-row-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.84)),
        radial-gradient(circle at 100% 0%, rgba(20,184,166,.08), transparent 12rem);
}

.imo-member-avatar {
    flex: 0 0 auto;
    width: 2.55rem;
    height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(153,246,228,.72);
    border-radius: 1rem;
    background: linear-gradient(145deg, #ecfeff, #f8fafc);
    color: #0f766e;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: -.02em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 10px 22px rgba(13,148,136,.08);
}

.imo-user-admin-row {
    align-items: stretch;
}

.imo-agent-profile-hero {
    padding: .95rem;
}

html[data-theme="dark"] .imo-agent-profile-hero {
    border-color: rgba(148,163,184,.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.08), transparent 12rem),
        linear-gradient(135deg, rgba(17,24,32,.96), rgba(12,17,23,.9));
    color: var(--cit-ink);
    font-family: inherit;
}

html[data-theme="dark"] .imo-agent-profile-hero .imo-btn-secondary {
    border-color: rgba(255,68,56,.38) !important;
    background: rgba(255,68,56,.12) !important;
    color: #ffaaa3 !important;
    font-family: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.imo-task-hero {
    border-radius: 1.72rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(13,148,136,.1), transparent 13rem),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
}

.imo-task-composer {
    border-radius: 1.5rem;
}

.imo-team-modal {
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.imo-team-modal-card {
    border-radius: 1.55rem;
    box-shadow: 0 30px 90px rgba(2,6,23,.26);
}

@media (min-width: 460px) {
    .imo-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .imo-kpi-card--wide,
    .imo-kpi-feedback {
        grid-column: span 3;
    }
}

@media (max-width: 380px) {
    .imo-dashboard-hero__metrics {
        gap: .35rem;
    }
    .imo-hero-metric {
        padding: .56rem .5rem;
    }
    .imo-hero-metric span {
        font-size: 1.16rem;
    }
    .imo-kpi-card {
        min-height: 5rem;
    }
}

/* Operational Light lock: keep the final CIT palette above older refresh rules. */
.imo-period-pill.is-active,
.imo-period-pill:hover,
.imo-tab.is-active,
.imo-responsible-pill.is-active {
    background: var(--cit-primary);
    border-color: var(--cit-primary);
    color: #fff;
}
.imo-list-card,
.imo-member-row-card,
.imo-user-admin-row,
.imo-create-menu-hero,
.imo-create-choice.imo-card-link,
.imo-task-hero {
    background: #fff;
}
.imo-list-card__marker {
    background: var(--cit-info);
    box-shadow: 0 0 0 4px rgba(0,167,225,.08);
}
.imo-form-panel::before {
    background: linear-gradient(90deg, var(--cit-primary), var(--cit-info), transparent);
}
.imo-member-avatar {
    border-color: rgba(0,167,225,.28);
    background: rgba(0,167,225,.08);
    color: #007aa5;
    box-shadow: none;
}
.imo-team-modal {
    background: rgba(35,31,32,.3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.imo-team-modal-card {
    box-shadow: var(--cit-shadow-lg);
}
.imo-stat--revenue,
.imo-filter-tone--revenue {
    color: #007aa5;
    background: rgba(0,167,225,.08);
    border-color: rgba(0,167,225,.32);
}
.imo-stage-card--closed,
.imo-stat--emerald,
.imo-filter-tone--closed {
    color: #3f7f12;
    background: rgba(118,188,33,.09);
    border-color: rgba(118,188,33,.34);
}
.imo-stage-card--waiting,
.imo-stat--amber,
.imo-filter-tone--waiting,
.imo-filter-tone--reductions {
    color: #8a6500;
    background: rgba(255,198,41,.14);
    border-color: rgba(255,198,41,.44);
}
.imo-action-pill--waiting-status,
.imo-badge.imo-action-pill--waiting-status {
    color: #8a6500;
    background: rgba(255,198,41,.14);
    border-color: rgba(255,198,41,.44);
}
.imo-stage-card--danger,
.imo-stage-card--stale,
.imo-filter-tone--danger,
.imo-filter-tone--stale {
    color: #b4251d;
    background: rgba(255,68,56,.095);
    border-color: rgba(255,68,56,.38);
}
.imo-btn-primary,
.imo-nav-item--fab,
.imo-team-add-cta,
.imo-create-choice-icon {
    background: var(--cit-primary);
    color: #fff;
}

/* Compact App Shell: efficient header and profile logout menu. */
.imo-main {
    padding-bottom: 7.25rem !important;
}
.imo-header-inner {
    min-height: 2.32rem;
    padding-top: .12rem;
    padding-bottom: .12rem;
    gap: .42rem;
}
.imo-header-inner > a {
    gap: .42rem;
}
.imo-logo {
    width: 1.36rem;
    height: 1.36rem;
    border-radius: .5rem;
    font-size: .48rem;
    box-shadow: 0 7px 18px rgba(35,31,32,.14);
}
.imo-header-brand-line {
    display: inline-flex;
    align-items: baseline;
    gap: .32rem;
    min-width: 0;
    color: var(--cit-primary);
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}
.imo-header-brand-line span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.imo-header-brand-line small {
    color: var(--cit-muted);
    font-size: .56rem;
    font-weight: 700;
}
.imo-header-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .3rem;
    flex: 0 0 auto;
}
.imo-header-actions .imo-chip {
    min-height: 1.58rem;
    padding: .28rem .56rem;
    font-size: .66rem;
    line-height: 1;
}
.imo-header-actions .imo-chip--with-icon {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
}
.imo-header-actions .imo-chip--with-icon svg {
    width: .9rem;
    height: .9rem;
    stroke-width: 2.15;
    flex: 0 0 auto;
}
.imo-header-actions .imo-header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    min-height: 2.08rem;
    padding: .08rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #64748b;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.025em;
    text-decoration: none;
    white-space: nowrap;
}
.imo-header-actions .imo-header-nav-link svg {
    width: 1.02rem;
    height: 1.02rem;
    stroke-width: 2.15;
    flex: 0 0 auto;
    opacity: .82;
}
.imo-header-actions .imo-header-nav-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.imo-header-actions .imo-header-nav-link:hover,
.imo-header-actions .imo-header-nav-link:focus-visible {
    color: #006d94;
    outline: none;
    text-decoration: none;
}
.imo-header-actions .imo-header-nav-link.is-active {
    color: var(--cit-primary);
    font-weight: 900;
}
.imo-header-actions .imo-header-nav-link.is-active svg {
    opacity: 1;
}
.imo-urgent-header-chip {
    min-height: 1.58rem;
    display: inline-flex;
    align-items: center;
    gap: .26rem;
    padding: .28rem .56rem;
    border-radius: 999px;
    border: 1px solid rgba(255,68,56,.42);
    background: rgba(255,68,56,.1);
    color: #b42318;
    font-size: .66rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}
.imo-urgent-header-chip small {
    font-size: .58rem;
    font-weight: 900;
    opacity: .82;
}
.imo-profile-head {
    display: block;
}
.imo-profile-head__copy {
    min-width: 0;
}
.imo-profile-head__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
}
.imo-profile-head__actions {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    flex: 0 0 auto;
}
.imo-profile-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    border: 1px solid var(--cit-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35,31,32,.04);
}
.imo-profile-icon-link svg {
    width: .92rem;
    height: .92rem;
}
.imo-profile-icon-link:hover,
.imo-profile-icon-link:focus-visible,
.imo-profile-icon-link.is-active {
    border-color: rgba(0, 167, 225, .3);
    background: rgba(0, 167, 225, .08);
    color: #007aa5;
    outline: none;
}
.imo-profile-name {
    min-width: 0;
    flex: 1 1 auto;
}
.imo-profile-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0;
    border: 1px solid var(--cit-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cit-primary);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(35,31,32,.04);
}
.imo-profile-theme-toggle svg {
    width: .92rem;
    height: .92rem;
}
.imo-profile-theme-toggle__icon--dark {
    display: none;
}
html[data-theme="dark"] .imo-profile-theme-toggle__icon--light {
    display: none;
}
html[data-theme="dark"] .imo-profile-theme-toggle__icon--dark {
    display: block;
}
html[data-theme="dark"] .imo-profile-theme-toggle {
    border-color: rgba(0,167,225,.35);
    background: rgba(0,167,225,.12);
    color: var(--cit-ink);
}
.imo-profile-theme-toggle[aria-pressed="true"] {
    border-color: rgba(0,167,225,.3);
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-profile-menu {
    position: relative;
    flex: 0 0 auto;
    z-index: 120;
}
.imo-profile-menu summary {
    list-style: none;
    width: 1.58rem;
    height: 1.58rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cit-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cit-primary);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(35,31,32,.04);
}
.imo-profile-menu summary::-webkit-details-marker {
    display: none;
}
.imo-profile-menu summary span {
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: -.02em;
}
.imo-profile-menu[open] summary {
    border-color: rgba(0,167,225,.3);
    background: rgba(0,167,225,.08);
    color: #007aa5;
}
.imo-profile-menu-panel {
    position: absolute;
    top: calc(100% + .48rem);
    right: 0;
    z-index: 200;
    width: min(16.2rem, calc(100vw - 1.5rem));
    padding: .72rem;
    border: 1px solid var(--cit-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--cit-shadow-lg);
    isolation: isolate;
}
.imo-profile-name {
    color: var(--cit-primary);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.15;
}
.imo-profile-role {
    margin-top: .12rem;
    color: var(--cit-muted);
    font-size: .66rem;
    font-weight: 700;
}
.imo-profile-quick-links {
    display: grid;
    gap: .34rem;
    margin-top: .62rem;
}
.imo-profile-quick-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .48rem;
    min-height: 2.18rem;
    padding: .38rem .48rem;
    border: 1px solid rgba(215, 222, 231, .86);
    border-radius: .78rem;
    background: #f8fafc;
    color: #231f20;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.imo-profile-quick-link:hover {
    border-color: rgba(0, 167, 225, .28);
    background: #fff;
    transform: translateY(-1px);
}
.imo-profile-quick-icon {
    display: inline-grid;
    place-items: center;
    width: 1.42rem;
    height: 1.42rem;
    border-radius: 999px;
    background: rgba(0, 167, 225, .1);
    color: #007aa5;
}
.imo-profile-quick-icon svg {
    width: .84rem;
    height: .84rem;
    stroke-width: 2.2;
}
.imo-profile-quick-link strong {
    min-width: 0;
    overflow: hidden;
    font-size: .7rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.imo-profile-quick-link em,
.imo-profile-quick-link small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.42rem;
    height: 1.42rem;
    padding-inline: .38rem;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: .68rem;
    font-style: normal;
    font-weight: 950;
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}
.imo-profile-quick-link--good {
    border-color: rgba(22, 163, 74, .18);
    background: rgba(240, 253, 244, .74);
}
.imo-profile-quick-link--good .imo-profile-quick-icon,
.imo-profile-quick-link--good em {
    background: rgba(22, 163, 74, .1);
    color: #15803d;
}
.imo-profile-quick-link--bad {
    border-color: rgba(225, 29, 72, .18);
    background: rgba(255, 241, 242, .78);
}
.imo-profile-quick-link--bad .imo-profile-quick-icon,
.imo-profile-quick-link--bad em {
    background: rgba(225, 29, 72, .1);
    color: #be123c;
}
.imo-profile-nav {
    display: grid;
    gap: .45rem;
    margin-top: .55rem;
}
.imo-profile-nav-feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .48rem;
    min-height: 2.35rem;
    padding: .45rem .52rem;
    border: 1px solid rgba(0, 167, 225, .22);
    border-radius: .85rem;
    background: linear-gradient(180deg, rgba(0, 167, 225, .08), rgba(0, 167, 225, .03));
    color: #231f20;
    text-decoration: none;
}
.imo-profile-nav-feature:hover {
    border-color: rgba(0, 167, 225, .34);
    background: #fff;
}
.imo-profile-nav-feature__copy {
    display: grid;
    gap: .08rem;
    min-width: 0;
}
.imo-profile-nav-feature__copy strong {
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.05;
}
.imo-profile-nav-feature__copy small {
    color: #64748b;
    font-size: .58rem;
    font-weight: 700;
}
.imo-profile-nav-group {
    padding: .42rem .45rem .38rem;
    border: 1px solid rgba(215, 222, 231, .72);
    border-radius: .82rem;
    background: #f8fafc;
}
.imo-profile-nav-group__label {
    margin: 0 0 .28rem;
    color: #94a3b8;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.imo-profile-nav-list {
    display: grid;
    gap: .08rem;
}
.imo-profile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    min-height: 1.95rem;
    padding: .24rem .34rem;
    border-radius: .58rem;
    color: #231f20;
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
}
.imo-profile-nav-item:hover {
    background: #fff;
}
.imo-profile-nav-item em,
.imo-profile-nav-item small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.28rem;
    height: 1.28rem;
    padding-inline: .32rem;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: .64rem;
    font-style: normal;
    font-weight: 950;
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}
.imo-profile-nav-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .32rem;
}
.imo-profile-nav-score {
    display: grid;
    justify-items: center;
    gap: .12rem;
    min-height: 3.1rem;
    padding: .38rem .28rem;
    border-radius: .68rem;
    text-align: center;
    text-decoration: none;
}
.imo-profile-nav-score em {
    font-size: .92rem;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}
.imo-profile-nav-score span {
    font-size: .58rem;
    font-weight: 800;
    line-height: 1.15;
}
.imo-profile-nav-score--good {
    border: 1px solid rgba(22, 163, 74, .16);
    background: rgba(240, 253, 244, .82);
    color: #166534;
}
.imo-profile-nav-score--good em {
    color: #15803d;
}
.imo-profile-nav-score--bad {
    border: 1px solid rgba(225, 29, 72, .16);
    background: rgba(255, 241, 242, .82);
    color: #9f1239;
}
.imo-profile-nav-score--bad em {
    color: #be123c;
}
.imo-financial-file {
    display: grid;
    gap: .32rem;
    padding: .62rem .72rem;
    border: 1px dashed rgba(0, 167, 225, .32);
    border-radius: .9rem;
    background: rgba(0, 167, 225, .045);
    color: #334155;
    font-size: .72rem;
    font-weight: 850;
}
.imo-financial-file span {
    color: #007aa5;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .02em;
}
.imo-financial-file input {
    width: 100%;
    color: #475569;
    font-size: .72rem;
    font-weight: 750;
}
.imo-financial-file small {
    min-height: .9rem;
    color: #64748b;
    font-size: .66rem;
    font-weight: 800;
}
.imo-financial-file small:empty {
    display: none;
}
.imo-money-input {
    position: relative;
    display: block;
}
.imo-money-input .imo-input {
    padding-right: 3.1rem;
}
.imo-money-input span {
    position: absolute;
    top: 50%;
    right: .9rem;
    transform: translateY(-50%);
    color: #64748b;
    font-size: .74rem;
    font-weight: 900;
    pointer-events: none;
}
.imo-profile-menu-panel form {
    margin-top: .58rem;
    padding-top: .58rem;
    border-top: 1px solid var(--cit-line);
}
.imo-profile-menu-panel button:not(.imo-profile-theme-toggle):not(.imo-theme-choice) {
    width: 100%;
    min-height: 2rem;
    border: 1px solid rgba(255,68,56,.3);
    border-radius: .78rem;
    background: rgba(255,68,56,.08);
    color: #b4251d;
    font-size: .74rem;
    font-weight: 850;
}

.imo-profile-menu-panel .imo-profile-theme-toggle {
    width: 2rem !important;
    min-width: 2rem !important;
    min-height: 2rem !important;
    height: 2rem !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border-color: var(--cit-line) !important;
    background: #fff !important;
    color: var(--cit-primary) !important;
    box-shadow: 0 1px 2px rgba(35,31,32,.04) !important;
}

.imo-profile-menu-panel .imo-profile-icon-link {
    width: 2rem !important;
    min-width: 2rem !important;
    min-height: 2rem !important;
    height: 2rem !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border-color: var(--cit-line) !important;
    background: #fff !important;
    color: var(--cit-primary) !important;
    box-shadow: 0 1px 2px rgba(35,31,32,.04) !important;
}

.imo-profile-menu-panel .imo-profile-icon-link.is-active,
.imo-profile-menu-panel .imo-profile-icon-link:hover,
.imo-profile-menu-panel .imo-profile-icon-link:focus-visible {
    border-color: rgba(0, 167, 225, .3) !important;
    background: rgba(0, 167, 225, .08) !important;
    color: #007aa5 !important;
}

.imo-profile-menu-panel .imo-profile-theme-toggle[aria-pressed="true"] {
    border-color: rgba(0, 167, 225, .3) !important;
    background: rgba(0, 167, 225, .08) !important;
    color: #007aa5 !important;
}

html[data-theme="dark"] .imo-profile-menu-panel .imo-profile-theme-toggle {
    border-color: rgba(0, 167, 225, .35) !important;
    background: rgba(0, 167, 225, .12) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-profile-menu-panel .imo-profile-icon-link {
    border-color: rgba(0, 167, 225, .35) !important;
    background: rgba(0, 167, 225, .12) !important;
    color: var(--cit-ink) !important;
}
.imo-profile-menu-panel .imo-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: 2.25rem;
    margin-top: .62rem;
    padding: .5rem .62rem;
    border: 1px solid rgba(215, 222, 231, .96);
    border-radius: .82rem;
    background: #f2f4f7;
    color: #231f20;
    font-size: .74rem;
    font-weight: 850;
    cursor: pointer;
}
.imo-profile-menu-panel .imo-theme-toggle strong {
    flex: 0 0 auto;
    min-width: 2.1rem;
    padding: .18rem .38rem;
    border-radius: 999px;
    background: #fff;
    color: #007aa5;
    font-size: .62rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}
.imo-profile-menu-panel .imo-theme-toggle[aria-pressed="true"] {
    border-color: rgba(0,167,225,.42);
    background: rgba(0,167,225,.14);
}
.imo-nav-inner {
    padding: .42rem .5rem calc(.38rem + env(safe-area-inset-bottom, 0));
}
.imo-nav {
    display: block !important;
    visibility: visible !important;
    z-index: 115;
    transform: translateZ(0);
}
.imo-nav-grid {
    padding: .2rem;
}
.imo-nav-item {
    padding: .42rem .22rem;
}
.imo-nav-item svg {
    width: 1.22rem;
    height: 1.22rem;
}
.imo-nav-footer {
    display: none !important;
}
.imo-dashboard-hero {
    margin-bottom: .42rem;
    padding: .56rem .72rem .54rem;
    border-radius: .92rem;
}
.imo-dashboard-hero__top {
    position: absolute;
    top: .42rem;
    right: .58rem;
    z-index: 2;
    width: auto;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}
.imo-dashboard-hero__copy {
    margin-top: 0;
    padding-right: 8.5rem;
}
.imo-dashboard-hero .imo-page-title {
    font-size: clamp(1rem, 3vw, 1.28rem);
    line-height: 1.02;
}
.imo-dashboard-hero .imo-page-sub {
    margin-top: .2rem;
    font-size: .68rem;
    line-height: 1.25;
}
.imo-dashboard-eyebrow {
    padding: .16rem .36rem;
    font-size: .5rem;
}
.imo-dashboard-risk-badge {
    display: inline-grid;
    gap: .12rem;
    min-width: 6.45rem;
    padding: .38rem .68rem;
    border: 1px solid rgba(255,68,56,.38);
    border-radius: .92rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,68,56,.12), transparent 5rem),
        rgba(255,68,56,.08);
    color: #b4251d;
    text-align: right;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(255,68,56,.08);
}
.imo-dashboard-risk-badge span {
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}
.imo-dashboard-risk-badge strong {
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.imo-task-meta {
    gap: .28rem;
    flex-wrap: wrap;
}
.imo-task-meta > span:first-child {
    flex: 0 1 auto;
    min-width: 0;
}
.imo-task-meta > span:nth-child(2) {
    flex: 0 0 auto;
}
.imo-task-meta .imo-due-pill,
.imo-task-meta .imo-badge,
.imo-task-meta .imo-action-pill,
.imo-task-type-meta {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .imo-main {
        padding-bottom: 6.8rem !important;
    }
    .imo-header-actions .imo-chip {
        max-width: 8.6rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .imo-dashboard-hero {
        padding: .5rem .62rem;
    }
    .imo-dashboard-hero__top {
        top: .36rem;
        right: .48rem;
    }
    .imo-dashboard-hero__copy {
        padding-right: 7.5rem;
    }
    .imo-dashboard-risk-badge {
        min-width: 5.7rem;
        padding: .32rem .5rem;
    }
    .imo-dashboard-risk-badge strong {
        font-size: .72rem;
    }
}

/* Dashboard KPI section redesign: visual-only grouping and hierarchy. */
.imo-kpi-section {
    display: grid;
    gap: .72rem;
}

.imo-kpi-group {
    display: grid;
    gap: .42rem;
    padding: .62rem;
    border: 1px solid rgba(229, 234, 240, .92);
    border-radius: 1.28rem;
    background: #f9fbfd;
}

.imo-kpi-group-title {
    color: #667085;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}

.imo-kpi-group-title--link {
    display: inline-flex;
    width: max-content;
    text-decoration: none;
}

.imo-kpi-group-title--link:hover,
.imo-kpi-group-title--link:focus-visible {
    color: #007aa5;
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.imo-kpi-section .imo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .46rem;
}

.imo-kpi-card {
    min-height: 4.68rem;
    padding: .64rem !important;
    border-radius: 1.05rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .02), 0 8px 18px rgba(35, 31, 32, .035);
}

.imo-kpi-card::before {
    inset: 0 auto 0 0;
    width: 3px;
    height: auto;
    border-radius: 999px;
    background: currentColor;
    opacity: .78;
}

.imo-kpi-card::after {
    width: .34rem;
    height: .34rem;
    opacity: .28;
}

.imo-kpi-card .imo-stat-value {
    font-size: clamp(1.18rem, 3.4vw, 1.48rem);
    line-height: .96;
}

.imo-kpi-card .imo-stat-label {
    max-width: none;
    margin-top: .22rem;
    color: rgba(71, 85, 105, .86);
    font-size: .55rem;
    letter-spacing: .055em;
    line-height: 1.18;
    text-decoration: none;
}

.imo-kpi-card .imo-stat-percent {
    margin-top: .16rem;
    font-size: .55rem;
}

.imo-kpi-card--primary {
    background: #fff;
}

.imo-kpi-card--risk {
    background: linear-gradient(180deg, #fff, #fffaf7);
}

.imo-kpi-group--financial {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .08), transparent 11rem),
        #fff;
}

.imo-kpi-financial-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .42rem;
}

.imo-kpi-card--financial {
    min-height: 4.25rem;
    padding: .58rem .5rem !important;
    background: rgba(255, 255, 255, .9);
}

.imo-kpi-card--financial .imo-stat-value {
    font-size: clamp(.9rem, 2.7vw, 1.18rem) !important;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.imo-kpi-card--financial .imo-stat-label {
    font-size: .5rem;
    letter-spacing: .035em;
}

.imo-feedback-card--enterprise {
    background: #fff;
}

.imo-feedback-card--enterprise .imo-feedback-trigger {
    padding: .64rem;
}

.imo-feedback-card--enterprise .imo-feedback-icon {
    width: auto;
    min-width: 2.35rem;
    height: 1.35rem;
    padding: 0 .44rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.imo-feedback-card--enterprise .imo-feedback-copy {
    margin-top: .62rem;
}

.imo-feedback-card--enterprise .imo-feedback-label {
    color: rgba(71, 85, 105, .88);
    font-size: .58rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.imo-feedback-card--enterprise.imo-feedback-metric--danger {
    border-left: 3px solid var(--cit-critical);
}

.imo-feedback-card--enterprise.imo-feedback-metric--merit {
    border-left: 3px solid var(--cit-success);
}

@media (min-width: 460px) {
    .imo-kpi-section .imo-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Dashboard normal/tablet width guard: keep only a tiny 3px side gutter. */
@media (min-width: 461px) and (max-width: 900px) {
    .imo-main:has(.imo-dashboard-page) {
        width: 100%;
        max-width: 100%;
        padding-left: 3px !important;
        padding-right: 3px !important;
        overflow-x: clip;
    }

    .imo-dashboard-page {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-dashboard-page .imo-dashboard-hero,
    .imo-dashboard-page .imo-dashboard-panel {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-dashboard-page .imo-dashboard-panel {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .imo-dashboard-page .imo-period-panel,
    .imo-dashboard-page .imo-kpi-group,
    .imo-dashboard-page .imo-dashboard-section,
    .imo-dashboard-page .imo-feedback-metrics {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .imo-dashboard-page .imo-kpi-section,
    .imo-dashboard-page .imo-kpi-grid,
    .imo-dashboard-page .imo-kpi-financial-strip {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* App pages normal/tablet width guard: keep only a 3px side gutter. */
@media (min-width: 461px) and (max-width: 900px) {
    .imo-main:has(.imo-task-show-page),
    .imo-main:has(.imo-team-performance-page),
    .imo-main:has(.imo-team-members-page) {
        width: 100%;
        max-width: 100%;
        padding-left: 3px !important;
        padding-right: 3px !important;
        overflow-x: clip;
    }

    .imo-task-show-page,
    .imo-team-performance-page,
    .imo-team-members-page {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-task-show-page > *,
    .imo-team-performance-page > *,
    .imo-team-members-page > * {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-dashboard-page .imo-dashboard-unified-hero,
    .imo-task-show-page .imo-task-hero--premium,
    .imo-task-show-page .imo-title-edit,
    .imo-task-show-page .imo-waiting-panel,
    .imo-task-show-page .imo-task-section-card,
    .imo-task-show-page .imo-task-composer,
    .imo-task-show-page .imo-task-timeline-section,
    .imo-task-show-page .imo-task-feedback-section,
    .imo-task-show-page .imo-mini-values,
    .imo-team-performance-page .imo-performance-hero,
    .imo-team-performance-page .imo-performance-card,
    .imo-team-members-page .imo-team-top,
    .imo-team-members-page .imo-team-directory {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .imo-task-show-page .imo-timeline-card,
    .imo-task-show-page .imo-feedback-entry,
    .imo-task-show-page .imo-task-file-row,
    .imo-task-show-page .imo-financial-panel,
    .imo-team-performance-page .imo-stat,
    .imo-team-members-page .imo-member-row-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 901px) {
    .imo-main:has(.imo-dashboard-page),
    .imo-main:has(.imo-tasks-index-page),
    .imo-main:has(.imo-task-create-page),
    .imo-main:has(.imo-task-show-page),
    .imo-main:has(.imo-team-performance-page),
    .imo-main:has(.imo-team-members-page),
    .imo-main:has(.imo-form-panel) {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .imo-dashboard-page,
    .imo-tasks-index-page,
    .imo-task-create-page,
    .imo-task-show-page,
    .imo-team-performance-page,
    .imo-team-members-page {
        width: 100%;
        max-width: 100%;
    }

    .imo-tasks-index-page .imo-list-hero,
    .imo-tasks-index-page .imo-filter-dock,
    .imo-tasks-index-page .imo-list-card,
    .imo-task-create-page .imo-form-hero,
    .imo-task-create-page .imo-form-panel,
    .imo-task-create-page .imo-form-section,
    .imo-dashboard-page .imo-dashboard-unified-hero,
    .imo-task-show-page .imo-task-hero--premium,
    .imo-task-show-page .imo-title-edit,
    .imo-task-show-page .imo-waiting-panel,
    .imo-task-show-page .imo-task-section-card,
    .imo-task-show-page .imo-task-composer,
    .imo-task-show-page .imo-task-timeline-section,
    .imo-task-show-page .imo-task-feedback-section,
    .imo-task-show-page .imo-mini-values,
    .imo-task-show-page .imo-financial-tabs,
    .imo-task-show-page .imo-task-file-box,
    .imo-task-show-page .imo-timeline-card,
    .imo-task-show-page .imo-feedback-entry,
    .imo-task-show-page .imo-task-file-row,
    .imo-task-show-page .imo-financial-panel,
    .imo-team-performance-page .imo-performance-hero,
    .imo-team-performance-page .imo-performance-card,
    .imo-team-performance-page .imo-stat,
    .imo-team-members-page .imo-team-top,
    .imo-team-members-page .imo-team-directory,
    .imo-team-members-page .imo-member-row-card,
    .imo-form-panel {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .imo-tasks-index-page .imo-filter-dock,
    .imo-tasks-index-page .imo-list-card,
    .imo-task-create-page .imo-form-section,
    .imo-task-show-page .imo-task-section-card,
    .imo-task-show-page .imo-task-composer,
    .imo-task-show-page .imo-task-timeline-section,
    .imo-task-show-page .imo-task-feedback-section,
    .imo-task-show-page .imo-mini-values,
    .imo-task-show-page .imo-financial-tabs,
    .imo-task-show-page .imo-task-file-box,
    .imo-task-show-page .imo-timeline-card,
    .imo-task-show-page .imo-feedback-entry,
    .imo-task-show-page .imo-task-file-row,
    .imo-task-show-page .imo-financial-panel,
    .imo-team-performance-page .imo-performance-card,
    .imo-team-performance-page .imo-stat,
    .imo-team-members-page .imo-team-directory,
    .imo-team-members-page .imo-member-row-card,
    .imo-form-panel {
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .imo-dashboard-page .imo-dashboard-panel {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .imo-dashboard-page .imo-period-panel,
    .imo-dashboard-page .imo-kpi-group,
    .imo-dashboard-page .imo-dashboard-section,
    .imo-dashboard-page .imo-feedback-metrics {
        padding-left: 2px !important;
        padding-right: 2px !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .imo-dashboard-page .imo-panel-heading,
    .imo-dashboard-page .imo-kpi-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .imo-main:has(.imo-team-performance-page),
    .imo-main:has(.imo-team-members-page) {
        width: min(100%, 87rem);
        max-width: 87rem;
    }
}

@media (max-width: 380px) {
    .imo-kpi-group {
        padding: .52rem;
        border-radius: 1.12rem;
    }
    .imo-kpi-section .imo-kpi-grid {
        gap: .38rem;
    }
    .imo-kpi-card {
        min-height: 4.35rem;
        padding: .56rem !important;
    }
    .imo-kpi-financial-strip {
        gap: .32rem;
    }
    .imo-kpi-card--financial {
        padding: .5rem .42rem !important;
    }
    .imo-kpi-card--financial .imo-stat-label {
        font-size: .46rem;
    }
    .imo-feedback-card--enterprise .imo-feedback-trigger {
        padding: .56rem;
    }
}

@media (max-width: 430px) {
    .imo-dashboard-page {
        margin-inline: -.55rem;
    }

    .imo-dashboard-page .imo-dashboard-hero {
        margin-inline: .18rem;
    }

    .imo-dashboard-page .imo-dashboard-panel {
        padding: .5rem !important;
        border-radius: 1rem;
    }

    .imo-dashboard-page .imo-panel-heading,
    .imo-dashboard-page .imo-period-panel {
        margin-bottom: .45rem !important;
    }

    .imo-dashboard-page .imo-panel-heading--activity {
        align-items: flex-start;
        flex-direction: column;
        gap: .42rem;
    }

    .imo-dashboard-page .imo-panel-heading--activity .imo-section-title {
        font-size: .86rem;
    }

    .imo-dashboard-page .imo-period-panel--inline {
        width: 100%;
    }

    .imo-dashboard-panel--filtered .imo-panel-heading,
    .imo-dashboard-panel--filtered .imo-period-panel {
        margin-bottom: .3rem !important;
    }

    .imo-dashboard-panel--filtered .imo-period-panel {
        padding: .16rem !important;
    }

    .imo-dashboard-panel--filtered .imo-period-pill,
    .imo-dashboard-panel--filtered .imo-filter-chip {
        min-height: 1.65rem !important;
        padding: .24rem .48rem !important;
        font-size: .62rem !important;
    }

    .imo-dashboard-page .imo-period-pills {
        gap: .32rem;
        margin-bottom: .4rem !important;
    }

    .imo-dashboard-page .imo-period-pill {
        min-height: 1.62rem;
        padding: .28rem .48rem;
        font-size: .62rem;
    }

    .imo-dashboard-page .imo-kpi-section {
        gap: .5rem;
    }

    .imo-dashboard-page .imo-kpi-group {
        gap: .32rem;
        padding: .42rem;
        border-radius: .95rem;
    }

    .imo-dashboard-page .imo-kpi-group-title {
        font-size: .52rem;
        letter-spacing: .09em;
    }

    .imo-dashboard-page .imo-kpi-section .imo-kpi-grid {
        gap: .34rem;
    }

    .imo-dashboard-page .imo-kpi-card.imo-stat {
        min-height: 4.15rem;
        padding: .54rem .5rem .5rem .56rem !important;
    }

    .imo-dashboard-page .imo-kpi-card .imo-stat-value {
        font-size: clamp(1.06rem, 8.2vw, 1.38rem);
        padding-right: .46rem;
    }

    .imo-dashboard-page .imo-kpi-card .imo-stat-label {
        margin-top: .16rem;
        font-size: clamp(.54rem, 2.85vw, .64rem);
        line-height: 1.2;
        padding-right: .42rem;
    }

    .imo-dashboard-page .imo-kpi-card .imo-stat-percent {
        margin-top: .1rem;
        font-size: clamp(.52rem, 2.2vw, .6rem);
        padding-right: .42rem;
    }

    .imo-dashboard-page .imo-kpi-financial-strip {
        gap: .28rem;
    }

    .imo-dashboard-page .imo-kpi-card--financial {
        min-height: 4rem;
        padding: .5rem .42rem .46rem .48rem !important;
    }

    .imo-dashboard-page .imo-kpi-card--financial .imo-stat-value {
        font-size: clamp(.72rem, 3.85vw, .92rem) !important;
    }

    .imo-dashboard-page .imo-kpi-card--financial .imo-stat-label {
        font-size: clamp(.5rem, 2.15vw, .58rem);
    }

    .imo-dashboard-page .imo-feedback-card--enterprise .imo-feedback-trigger {
        padding: .5rem;
    }
}

@media (max-width: 360px) {
    .imo-dashboard-page {
        margin-inline: -.68rem;
    }

    .imo-dashboard-page .imo-dashboard-panel {
        padding: .42rem !important;
    }

    .imo-dashboard-page .imo-kpi-group {
        padding: .36rem;
    }

    .imo-dashboard-page .imo-kpi-section .imo-kpi-grid {
        gap: .28rem;
    }

    .imo-dashboard-page .imo-kpi-card {
        min-height: 3.7rem;
        padding: .42rem !important;
    }
}

/* Task create/show premium polish. UI-only; form names, actions and data flow stay unchanged. */
.imo-task-create-page,
.imo-task-show-page {
    display: grid;
    gap: .72rem;
    max-width: 58rem;
    margin-inline: auto;
}

.imo-create-task-hero,
.imo-task-hero--premium {
    position: relative;
    overflow: hidden;
    border-radius: 1.55rem;
    border: 1px solid var(--cit-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .1), transparent 13rem),
        linear-gradient(180deg, #fff, #f9fbfd);
    box-shadow: var(--cit-shadow);
}

.imo-create-task-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
}

.imo-create-task-hero__status {
    flex: 0 0 auto;
    min-width: 6.8rem;
    padding: .68rem .78rem;
    border: 1px solid rgba(0, 167, 225, .22);
    border-radius: 1.08rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.04);
}

.imo-create-task-hero__status span,
.imo-form-section-head span {
    display: block;
    color: #98a2b3;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.imo-create-task-hero__status strong {
    display: block;
    margin-top: .14rem;
    color: #007aa5;
    font-size: .78rem;
    font-weight: 900;
}

.imo-task-create-page .imo-form-panel {
    position: relative;
    display: grid;
    gap: .66rem;
    padding: .78rem;
    border-radius: 1.55rem;
    background: #fff;
}

.imo-task-create-page .imo-form-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cit-primary), var(--cit-info), transparent);
}

.imo-task-create-page .imo-space-y > * + * {
    margin-top: 0;
}

.imo-task-create-page .imo-form-section {
    padding: .78rem;
    border: 1px solid var(--cit-line);
    border-radius: 1.18rem;
    background: #f9fbfd;
}

.imo-task-create-page .imo-form-section--primary {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .075), transparent 10rem),
        #fff;
}

.imo-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: .62rem;
    margin-bottom: .55rem;
}

.imo-form-section-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid var(--cit-line);
    border-radius: .8rem;
    background: #fff;
    color: #007aa5;
    box-shadow: 0 1px 2px rgba(35,31,32,.025);
}

.imo-form-section-head .imo-label {
    margin-bottom: .12rem;
}

.imo-form-section-head p {
    margin: 0;
    color: var(--cit-muted);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.32;
}

.imo-create-title-input {
    font-weight: 750;
}

.imo-assignee-select-wrap {
    position: relative;
}

.imo-assignee-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.imo-assignee-select-button {
    display: flex;
    align-items: center;
    gap: .28rem;
    min-width: 0;
    padding-right: 2.65rem;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.imo-assignee-select-button::after {
    content: "";
    position: absolute;
    right: 1rem;
    width: .55rem;
    height: .55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: .78;
    transform: rotate(45deg) translateY(-.1rem);
}

.imo-assignee-select-button strong,
.imo-assignee-select-button span,
.imo-assignee-option strong,
.imo-assignee-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imo-assignee-select-button strong,
.imo-assignee-option strong {
    flex: 0 1 auto;
    font-weight: 800;
}

.imo-assignee-select-button span,
.imo-assignee-option span {
    flex: 1 1 auto;
    font-weight: 500;
}

.imo-assignee-options {
    position: absolute;
    z-index: 30;
    inset: calc(100% + .25rem) 0 auto 0;
    max-height: min(18rem, 58vh);
    padding: .35rem;
    overflow-y: auto;
    border: 1px solid var(--cit-line);
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 18px 38px rgba(35, 31, 32, .16);
}

.imo-assignee-option {
    display: flex;
    align-items: center;
    width: 100%;
    gap: .28rem;
    min-height: 2.65rem;
    padding: .62rem .7rem;
    border: 0;
    border-radius: .65rem;
    background: transparent;
    color: var(--cit-text);
    text-align: left;
    white-space: nowrap;
}

.imo-assignee-option.is-selected,
.imo-assignee-option:hover {
    background: rgba(0, 167, 225, .1);
}

@media (max-width: 460px) {
    .imo-assignee-options {
        inset: auto 0 calc(100% + .25rem) 0;
        max-height: min(16rem, 48vh);
    }
}

.imo-type-field {
    display: grid;
    gap: .62rem;
}

.imo-type-select {
    min-width: 0;
}

.imo-task-create-page .imo-custom-type-panel {
    display: grid;
    gap: .52rem;
    padding: .74rem;
    border: 1px solid rgba(0, 167, 225, .22);
    border-radius: 1.08rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .1), transparent 8rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.035);
}

.imo-task-create-page .imo-custom-type-panel.hidden {
    display: none !important;
}

.imo-custom-type-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.imo-custom-type-panel__head .imo-label {
    margin-bottom: 0;
}

.imo-custom-type-panel__head span {
    flex: 0 0 auto;
    padding: .25rem .52rem;
    border-radius: 9999px;
    background: rgba(0, 167, 225, .09);
    color: #007aa5;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.imo-field-help {
    margin: 0;
    color: var(--cit-muted);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
}

.imo-form-options {
    align-items: center;
    background: #fff !important;
}

.imo-form-options input[type="checkbox"] {
    accent-color: var(--cit-info);
}

.imo-task-show-page .imo-task-hero--premium {
    padding: clamp(.92rem, 3vw, 1.18rem);
    isolation: isolate;
    border: 1px solid rgba(229, 234, 240, .96);
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 167, 225, .12), transparent 13rem),
        radial-gradient(circle at 4% 0%, rgba(35, 31, 32, .045), transparent 12rem),
        linear-gradient(160deg, #ffffff 0%, #f9fbfd 58%, #eef7fb 100%);
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 22px 56px rgba(35,31,32,.07);
}

.imo-task-show-page .imo-task-hero--premium::before {
    width: 4px;
    background: linear-gradient(180deg, var(--cit-info), rgba(0, 167, 225, .18));
}

.imo-task-show-page .imo-task-hero__glow {
    position: absolute;
    inset: -3.5rem -2.8rem auto auto;
    z-index: -1;
    width: 13rem;
    height: 13rem;
    border-radius: 999px;
    background: rgba(0, 167, 225, .1);
    filter: blur(18px);
    pointer-events: none;
}

.imo-task-show-page .imo-task-title {
    margin-top: .3rem;
    max-width: 42rem;
    color: var(--cit-primary);
    font-size: clamp(1.32rem, 4vw, 1.86rem);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.imo-task-show-page .imo-task-meta {
    margin-top: .58rem;
    gap: .32rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: visible;
}

.imo-task-show-page .imo-task-meta > * {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}

.imo-task-show-page .imo-task-hero-main {
    position: relative;
    z-index: 1;
    gap: .9rem;
}

.imo-task-show-page .imo-task-header-actions {
    padding-top: .18rem;
}

.imo-task-show-page .imo-finish-check {
    box-shadow: 0 1px 2px rgba(35,31,32,.04), 0 12px 24px rgba(35,31,32,.08);
}

.imo-task-show-page .imo-due-pill,
.imo-task-show-page .imo-badge,
.imo-task-show-page .imo-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: .42rem .68rem;
    border: 1px solid rgba(0, 167, 225, .24);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: .005em;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .1), transparent 7rem);
    background-clip: padding-box;
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 10px 22px rgba(35,31,32,.045);
}

.imo-task-show-page .imo-due-pill,
.imo-task-show-page .imo-task-type-meta,
.imo-task-show-page .imo-badge {
    box-shadow: 0 1px 2px rgba(35,31,32,.025);
}

.imo-task-show-page button.imo-due-pill,
.imo-task-show-page .imo-task-waiting-trigger {
    appearance: none;
    cursor: pointer;
    transition: transform .14s var(--cit-ease), border-color .14s var(--cit-ease), box-shadow .14s var(--cit-ease), background-color .14s var(--cit-ease);
}

.imo-task-show-page :is(input, select, textarea, button) {
    font-family: inherit;
}

.imo-task-show-page input[type="file"]::file-selector-button {
    font-family: inherit;
}

.imo-task-show-page button.imo-due-pill:hover,
.imo-task-show-page button.imo-due-pill:focus-visible,
.imo-task-show-page .imo-task-waiting-trigger:hover,
.imo-task-show-page .imo-task-waiting-trigger:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(35,31,32,.04), 0 10px 22px rgba(35,31,32,.08);
}

.imo-task-show-page button.imo-due-pill:focus-visible,
.imo-task-show-page .imo-task-waiting-trigger:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .28);
    outline-offset: 2px;
}

.imo-task-show-page .imo-due-pill--ok,
.imo-task-show-page .imo-badge--slate,
.imo-task-show-page .imo-action-pill--waiting {
    border-color: rgba(0,167,225,.28);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.12), transparent 7rem);
    color: #007aa5;
}

.imo-task-show-page .imo-due-pill--soon,
.imo-task-show-page .imo-due-pill--none,
.imo-task-show-page .imo-action-pill--waiting-status,
.imo-task-show-page .imo-badge.imo-action-pill--waiting-status {
    border-color: rgba(255,198,41,.44);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(255,198,41,.18), transparent 7rem);
    color: #8a6500;
}

.imo-task-show-page .imo-due-pill--late {
    border-color: rgba(255,68,56,.38);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(255,68,56,.16), transparent 7rem);
    color: #b4251d;
}

.imo-task-show-page .imo-badge--emerald {
    border-color: rgba(118,188,33,.34);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(118,188,33,.16), transparent 7rem);
    color: #3f7f12;
}

.imo-task-show-page .imo-task-badgebar {
    align-items: center;
    gap: .9rem;
    margin-top: .85rem;
    padding-top: .72rem;
    border-top: 1px solid var(--cit-line);
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

.imo-task-show-page .imo-task-badgebar {
    position: relative;
    z-index: 1;
}

.imo-task-show-page .imo-task-members {
    gap: .4rem;
}

.imo-task-show-page .imo-member-chip:not(.imo-member-chip--primary) {
    border-color: rgba(229, 234, 240, .98);
    background: rgba(255,255,255,.92);
    color: var(--cit-primary);
    box-shadow: 0 1px 2px rgba(35,31,32,.03);
}

.imo-task-show-page .imo-member-chip:not(.imo-member-chip--primary) .imo-member-initials {
    background: rgba(0, 167, 225, .08);
    color: #007aa5;
}

.imo-task-show-page .imo-member-chip--primary {
    min-width: 0;
    min-height: 2.1rem;
    max-width: 100%;
    gap: 0;
    padding: .42rem .68rem;
    border: 1px solid rgba(0, 167, 225, .24);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,253,.96) 100%),
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .1), transparent 7rem);
    color: var(--cit-primary);
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 10px 22px rgba(35,31,32,.045);
}

.imo-task-show-page .imo-member-chip--primary.imo-member-chip--button {
    font: inherit;
    text-align: left;
    transition: transform .14s var(--cit-ease), border-color .14s var(--cit-ease), box-shadow .14s var(--cit-ease);
}

.imo-task-show-page .imo-member-chip--primary.imo-member-chip--button:hover,
.imo-task-show-page .imo-member-chip--primary.imo-member-chip--button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 167, 225, .42);
    box-shadow: 0 1px 2px rgba(35,31,32,.04), 0 14px 28px rgba(0, 167, 225, .12);
}

.imo-task-show-page .imo-member-chip--primary small {
    display: inline-flex;
    align-items: baseline;
    gap: .28rem;
    min-width: 0;
    max-width: min(100%, 24rem);
    color: inherit;
    font-size: .72rem;
    font-weight: 780;
    line-height: 1.15;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.imo-task-show-page .imo-member-chip__label {
    flex: 0 0 auto;
    color: #007aa5;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.imo-task-show-page .imo-member-chip__name {
    min-width: 0;
    overflow: visible;
    color: var(--cit-primary);
    font-weight: 850;
    text-overflow: clip;
}

@media (max-width: 360px) {
    .imo-task-show-page .imo-member-chip--primary small {
        align-items: flex-start;
        flex-direction: column;
        gap: .1rem;
        white-space: normal;
    }
}

.imo-task-show-page .imo-task-meta > .imo-badge {
    min-width: 0;
    justify-content: center;
}

.imo-task-meta-status-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .28rem;
    min-width: 0;
    white-space: nowrap;
}

.imo-task-meta-status-group .imo-badge {
    flex: 0 0 auto;
}

.imo-task-show-page .imo-task-waiting-trigger {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
}

.imo-task-show-page .imo-task-mobile-actions {
    position: sticky;
    bottom: calc(4.65rem + env(safe-area-inset-bottom, 0));
    z-index: 45;
    display: block;
    margin: -.28rem .08rem .12rem;
    padding: .38rem;
    border: 1px solid rgba(229, 234, 240, .98);
    border-radius: 1.18rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 18px 46px rgba(35,31,32,.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.imo-task-show-page .imo-task-mobile-actions__status {
    min-width: 0;
    display: grid;
    gap: .1rem;
    padding-left: .2rem;
}

.imo-task-show-page .imo-task-mobile-actions__label {
    color: var(--cit-muted);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1;
    text-transform: uppercase;
}

.imo-task-show-page .imo-task-mobile-actions__status strong {
    overflow: hidden;
    color: var(--cit-primary);
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-task-show-page .imo-task-mobile-actions__controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: .35rem;
}

.imo-task-show-page .imo-task-mobile-actions__controls form {
    min-width: 0;
}

.imo-task-show-page .imo-task-mobile-action {
    width: 100%;
    min-height: 2.36rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .58rem .72rem;
    border: 1px solid rgba(229, 234, 240, .98);
    border-radius: .98rem;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-task-mobile-action--primary {
    border-color: var(--cit-primary);
    background: var(--cit-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(35,31,32,.18);
}

.imo-task-show-page .imo-task-mobile-action--secondary {
    background: #fff;
    color: var(--cit-primary);
}

.imo-task-show-page .imo-task-mobile-action--done {
    border-color: rgba(118,188,33,.34);
    background: rgba(118,188,33,.1);
    color: #3f7f12;
}

@media (max-width: 420px) {
    .imo-task-show-page .imo-task-meta {
        gap: .28rem;
    }

    .imo-task-show-page .imo-due-pill,
    .imo-task-show-page .imo-badge,
    .imo-task-show-page .imo-action-pill {
        min-height: 1.86rem;
        padding: .35rem .56rem;
        font-size: .62rem;
    }

    .imo-task-show-page .imo-task-mobile-actions {
        margin-top: -.36rem;
        padding: .32rem;
    }

    .imo-task-show-page .imo-task-mobile-actions__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.imo-task-show-page .imo-title-edit,
.imo-task-show-page .imo-waiting-panel,
.imo-task-show-page .imo-task-section-card,
.imo-task-show-page .imo-task-composer,
.imo-task-timeline-section {
    border-radius: 1.35rem;
}

.imo-task-show-page .imo-title-edit {
    display: grid;
    gap: .52rem;
    padding: .62rem;
    border: 1px solid var(--cit-line);
    background: #f9fbfd;
    box-shadow: 0 1px 2px rgba(35,31,32,.025);
}

.imo-task-show-page .imo-waiting-panel {
    display: grid;
    gap: .5rem;
    padding: .62rem;
    border-color: rgba(245, 158, 11, .24);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,235,.72)),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 8px 18px rgba(35,31,32,.04);
}

.imo-task-show-page .imo-waiting-panel.hidden {
    display: none !important;
}

.imo-task-show-page .imo-waiting-panel .imo-space-y {
    margin-top: 0;
}

.imo-task-show-page .imo-waiting-current {
    grid-template-columns: minmax(5.8rem, 1fr) minmax(5.2rem, auto);
    align-items: start;
    gap: .38rem .5rem;
    margin-bottom: 0;
    padding: .48rem .56rem;
    border: 1px solid rgba(245, 158, 11, .2);
    border-radius: .82rem;
    background: rgba(255,255,255,.68);
    color: #334155;
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.25;
}

.imo-task-show-page .imo-waiting-current p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.imo-task-show-page .imo-waiting-current__term {
    justify-self: end;
    min-width: 5.2rem;
    text-align: right;
}

.imo-task-show-page .imo-waiting-current__full {
    grid-column: 1 / -1;
    min-width: 0;
}

.imo-task-show-page .imo-waiting-current__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.imo-task-show-page .imo-waiting-current__full.is-expanded .imo-waiting-current__text {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.imo-task-show-page .imo-waiting-current__toggle {
    margin-top: .14rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #007aa5;
    cursor: pointer;
    font-size: .62rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.imo-task-show-page .imo-waiting-current__toggle:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .28);
    outline-offset: 2px;
}

.imo-task-show-page .imo-waiting-current span {
    display: block;
    margin-bottom: .06rem;
    color: #8a6500;
    font-size: .59rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.imo-task-show-page .imo-waiting-current__text span {
    display: inline;
    margin-right: .28rem;
    margin-bottom: 0;
}

.imo-task-show-page .imo-waiting-panel .imo-input,
.imo-task-show-page .imo-waiting-panel .imo-textarea {
    background: #fff;
}

@media (max-width: 520px) {
    .imo-task-show-page .imo-waiting-current {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .imo-task-show-page .imo-waiting-current__term {
        grid-column: 2;
        justify-self: end;
    }
}

.imo-task-show-page .imo-mini-values {
    overflow: hidden;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .075), transparent 12rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 18px 44px rgba(35,31,32,.06);
}

.imo-task-show-page .imo-financial-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .52rem;
    padding: .7rem;
    background:
        linear-gradient(180deg, rgba(249,251,253,.95), rgba(255,255,255,.82));
}

.imo-task-show-page .imo-financial-tabs button {
    flex: 1 1 8.8rem;
    min-height: 2.56rem;
    padding: .62rem .78rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,253,.96));
    color: var(--cit-primary);
    font-size: .7rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: left;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 8px 18px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-financial-tabs button.is-active {
    border-color: rgba(0, 167, 225, .36);
    background: rgba(0, 167, 225, .08);
    color: #007aa5;
}

.imo-task-show-page .imo-financial-panel {
    margin: .7rem !important;
    padding: .76rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.05rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025);
}

.imo-task-show-page .imo-task-collapsible {
    overflow: hidden;
}

.imo-task-show-page .imo-task-collapsible__summary {
    cursor: pointer;
    list-style: none;
}

.imo-task-show-page .imo-task-collapsible__summary::-webkit-details-marker,
.imo-task-show-page .imo-financial-tabs::-webkit-details-marker {
    display: none;
}

.imo-task-show-page .imo-task-collapsible__summary::after {
    content: "Deschide";
    flex: 0 0 auto;
    padding: .26rem .5rem;
    border: 1px solid rgba(0, 167, 225, .2);
    border-radius: 999px;
    background: rgba(0, 167, 225, .06);
    color: #007aa5;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
}

.imo-task-show-page .imo-task-collapsible[open] .imo-task-collapsible__summary::after,
.imo-task-show-page .imo-task-timeline-collapsible.is-expanded .imo-task-collapsible__summary::after {
    content: "Ascunde";
}

.imo-task-show-page .imo-task-timeline-collapsible[open]:not(.is-expanded) .imo-task-collapsible__summary::after {
    content: none;
}

.imo-task-show-page .imo-task-collapsible__body {
    display: grid;
    gap: .58rem;
    padding-top: .7rem;
}

.imo-task-show-page .imo-task-timeline-preview {
    display: grid;
    gap: .5rem;
    padding-top: .7rem;
}

.imo-task-show-page .imo-task-timeline-collapsible.is-expanded .imo-task-timeline-preview {
    display: none;
}

.imo-task-show-page .imo-timeline-card--preview {
    padding-block: .62rem;
}

.imo-task-show-page .imo-timeline-card--preview .imo-timeline-body {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.imo-task-show-page .imo-timeline-card--preview.imo-timeline-card--feedback-good .imo-timeline-body,
.imo-task-show-page .imo-timeline-card--preview.imo-timeline-card--feedback-bad .imo-timeline-body {
    display: block;
    overflow: visible;
    white-space: pre-wrap;
    -webkit-line-clamp: unset;
}
.imo-feedback-reason > span {
    display: grid;
    gap: .12rem;
    min-width: 0;
}
.imo-feedback-reason b {
    font: inherit;
}
.imo-feedback-reason em {
    color: #475569;
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.imo-feedback-reason__lost-time {
    color: #b45309 !important;
}
.imo-feedback-lost-time-note {
    margin-top: .45rem;
    color: #b45309;
    font-size: .82rem;
    font-weight: 850;
}
@media (max-width: 640px) {
    .imo-feedback-lost-time-row {
        grid-template-columns: 1fr;
    }
}

.imo-task-show-page .imo-timeline-card--preview .imo-timeline-files {
    margin-top: .42rem;
}

.imo-task-show-page .imo-task-timeline-collapsible:not(.is-expanded) .imo-task-collapsible__body {
    display: none;
}

.imo-task-show-page .imo-timeline-complete-toggle {
    width: 100%;
    min-height: 2.34rem;
    margin-top: .08rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .72rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: .92rem;
    background: rgba(255, 255, 255, .72);
    color: var(--cit-muted);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .02em;
    line-height: 1.08;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.imo-task-show-page .imo-timeline-complete-toggle:hover,
.imo-task-show-page .imo-timeline-complete-toggle:focus-visible {
    border-color: rgba(0, 167, 225, .28);
    background: rgba(0, 167, 225, .06);
    color: #007aa5;
}

.imo-task-show-page .imo-timeline-complete-toggle:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .18);
    outline-offset: 2px;
}

.imo-task-show-page .imo-task-feedback-section.imo-task-collapsible {
    padding: .82rem;
}

.imo-task-show-page .imo-task-feedback-section .imo-task-collapsible__body,
.imo-task-show-page .imo-task-feedback-body {
    display: grid;
    gap: .72rem;
}

.imo-task-show-page .imo-task-composer {
    padding: clamp(.9rem, 2.8vw, 1.12rem);
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .08), transparent 12rem),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,253,.94)),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 18px 44px rgba(35,31,32,.06);
}

.imo-task-show-page .imo-task-composer-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .72rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(229, 234, 240, .9);
}

.imo-task-show-page .imo-task-composer-head span {
    color: #007aa5;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.imo-task-show-page .imo-task-composer-head h2,
.imo-task-show-page .imo-section-title {
    color: var(--cit-primary);
}

.imo-task-show-page .imo-task-composer-head h2 {
    font-size: .96rem;
    font-weight: 900;
    letter-spacing: -.025em;
}

.imo-task-show-page .imo-section-title {
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.imo-task-show-page .imo-task-composer-textarea,
.imo-task-show-page .imo-input,
.imo-task-show-page .imo-select,
.imo-task-show-page .imo-textarea {
    border-color: rgba(215, 222, 231, .98);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.imo-task-show-page .imo-task-composer-textarea {
    min-height: 5.15rem;
    padding: .88rem 1rem;
    border-radius: 1.05rem;
    font-size: .92rem;
    line-height: 1.45;
}

.imo-task-show-page .imo-task-composer-actions {
    align-items: stretch;
    gap: .72rem;
}

.imo-task-show-page .imo-task-file-box {
    min-height: 3rem;
    padding: .64rem .82rem;
    border-color: rgba(0, 167, 225, .22);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,251,253,.96)),
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.08), transparent 8rem);
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 8px 18px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-task-file-box span {
    color: #007aa5;
    font-weight: 900;
    letter-spacing: .02em;
}

.imo-task-show-page .imo-btn-primary,
.imo-task-show-page .imo-task-send {
    background: var(--cit-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(35,31,32,.14);
}

.imo-task-show-page .imo-task-send {
    min-width: 7.6rem;
    min-height: 3rem;
    border-radius: 1rem;
}

@media (max-width: 520px) {
    .imo-task-show-page .imo-task-composer-actions {
        grid-template-columns: 1fr;
    }
    .imo-task-show-page .imo-task-send {
        width: 100%;
    }
}

/* Dark mode: local preference, UI-only. */
html[data-theme="dark"] {
    /* „only”: Chrome Auto Dark Mode nu are voie sa re-coloreze pagina. */
    color-scheme: only dark;
    --cit-primary: #f5f7fb;
    --cit-bg: #0c1117;
    --cit-surface: #111820;
    --cit-surface-soft: #151e28;
    --cit-ink: #f5f7fb;
    --cit-muted: #9aa7b7;
    --cit-line: rgba(148, 163, 184, .22);
    --cit-shadow: 0 1px 2px rgba(0,0,0,.34), 0 16px 40px rgba(0,0,0,.26);
    --cit-shadow-lg: 0 1px 2px rgba(0,0,0,.42), 0 28px 80px rgba(0,0,0,.34);
    --imo-brand: #f5f7fb;
    --imo-brand-dark: #ffffff;
    --imo-brand-light: rgba(255,255,255,.08);
    --imo-ink: var(--cit-ink);
    --imo-muted: var(--cit-muted);
    --imo-line: var(--cit-line);
    --imo-surface: var(--cit-surface);
    --imo-bg: var(--cit-bg);
    --imo-shadow: var(--cit-shadow);
    --imo-shadow-lg: var(--cit-shadow-lg);
}

html[data-theme="dark"] body.imo-body {
    color: var(--cit-ink);
    background:
        radial-gradient(circle at 50% -8rem, rgba(0,167,225,.18), transparent 28rem),
        radial-gradient(circle at 100% 4rem, rgba(118,188,33,.06), transparent 18rem),
        linear-gradient(180deg, #0c1117 0%, #101720 44%, #0a0f15 100%);
}

html[data-theme="dark"] .imo-header,
html[data-theme="dark"] .imo-nav-inner,
html[data-theme="dark"] .imo-profile-menu-panel:not(.imo-profile-menu-panel--polish),
html[data-theme="dark"] .imo-card,
html[data-theme="dark"] .imo-card-link,
html[data-theme="dark"] .imo-list-card,
html[data-theme="dark"] .imo-dashboard-panel,
html[data-theme="dark"] .imo-kpi-group,
html[data-theme="dark"] .imo-form-panel,
html[data-theme="dark"] .imo-form-section,
html[data-theme="dark"] .imo-member-row-card,
html[data-theme="dark"] .imo-user-admin-row,
html[data-theme="dark"] .imo-task-section-card,
html[data-theme="dark"] .imo-task-composer,
html[data-theme="dark"] .imo-task-timeline-section,
html[data-theme="dark"] .imo-mini-values,
html[data-theme="dark"] .imo-task-hero,
html[data-theme="dark"] .imo-team-header,
html[data-theme="dark"] .imo-team-modal-card,
html[data-theme="dark"] .imo-team-primary-box,
html[data-theme="dark"] .imo-team-check-row {
    border-color: var(--cit-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.07), transparent 12rem),
        var(--cit-surface);
    color: var(--cit-ink);
    box-shadow: var(--cit-shadow);
}

html[data-theme="dark"] .imo-header {
    background: rgba(12,17,23,.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .imo-team-performance-page .imo-team-header {
    border-color: rgba(148,163,184,.24);
    background: linear-gradient(135deg, rgba(17,24,32,.96), rgba(12,17,23,.9));
    color: var(--cit-ink);
    box-shadow: 0 1px 2px rgba(0,0,0,.34), 0 14px 34px rgba(0,0,0,.22);
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-hero {
    border-color: rgba(148,163,184,.22);
    background: linear-gradient(135deg, rgba(17,24,32,.96), rgba(12,17,23,.9));
    box-shadow: 0 1px 2px rgba(0,0,0,.32), 0 16px 36px rgba(0,0,0,.24);
}

html[data-theme="dark"] .imo-user-create-page .imo-form-hero {
    border-color: rgba(148,163,184,.24) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.1), transparent 12rem),
        linear-gradient(135deg, rgba(17,24,32,.98), rgba(12,17,23,.92)) !important;
    color: var(--cit-ink) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.32), 0 16px 36px rgba(0,0,0,.24) !important;
}

html[data-theme="dark"] .imo-user-create-page .imo-form-panel,
html[data-theme="dark"] .imo-user-create-page .imo-form-section {
    border-color: rgba(148,163,184,.22) !important;
    background: rgba(17,24,32,.72) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-team-add-cta {
    background: rgba(0,167,225,.18);
    color: #dff7ff;
    box-shadow: inset 0 0 0 1px rgba(123,220,255,.28), 0 8px 20px rgba(0,0,0,.22);
}

html[data-theme="dark"] .imo-nav {
    background: linear-gradient(180deg, transparent, rgba(12,17,23,.82) 34%, rgba(12,17,23,.96));
}

html[data-theme="dark"] .imo-logo,
html[data-theme="dark"] .imo-login-logo {
    background: #f5f7fb;
    color: #0c1117;
}

html[data-theme="dark"] .imo-page-title,
html[data-theme="dark"] .imo-section-title,
html[data-theme="dark"] .imo-task-title,
html[data-theme="dark"] .imo-profile-name,
html[data-theme="dark"] .imo-header-brand-line,
html[data-theme="dark"] .font-semibold.text-slate-900,
html[data-theme="dark"] .font-bold.text-slate-900,
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .text-slate-700 {
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-page-sub,
html[data-theme="dark"] .imo-profile-role,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-400 {
    color: var(--cit-muted) !important;
}

html[data-theme="dark"] .imo-input,
html[data-theme="dark"] .imo-select,
html[data-theme="dark"] .imo-textarea,
html[data-theme="dark"] .imo-task-composer-textarea,
html[data-theme="dark"] .imo-financial-panel {
    border-color: var(--cit-line);
    background: rgba(255,255,255,.045);
    color: var(--cit-ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-theme="dark"] .imo-input::placeholder,
html[data-theme="dark"] .imo-textarea::placeholder {
    color: rgba(154,167,183,.78);
}

/* Lista nativa de optiuni mosteneste culoarea textului, dar Chrome o deseneaza pe fundal alb. */
html[data-theme="dark"] .imo-team-modal .imo-select,
html[data-theme="dark"] .imo-select option,
html[data-theme="dark"] select option {
    background-color: #111820;
    color: #f5f7fb;
}

html[data-theme="dark"] .imo-select option:checked,
html[data-theme="dark"] select option:checked {
    background-color: rgba(0,167,225,.32);
    color: #ffffff;
}

html[data-theme="dark"] .imo-assignee-options {
    border-color: var(--cit-line);
    background: #111820;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .imo-assignee-option {
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-assignee-option.is-selected,
html[data-theme="dark"] .imo-assignee-option:hover {
    background: rgba(0, 167, 225, .18);
}

html[data-theme="dark"] .imo-task-owner-menu,
html[data-theme="dark"] .imo-task-status-menu {
    border-color: var(--cit-line);
    background: #111820;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .imo-task-owner-option {
    border-color: rgba(170, 184, 200, .22);
    background: rgba(255, 255, 255, .045);
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-task-owner-copy small {
    color: var(--cit-muted);
}

html[data-theme="dark"] .imo-task-status-menu .imo-task-owner-copy em {
    color: var(--cit-muted);
}

html[data-theme="dark"] .imo-task-status-menu .imo-task-owner-copy strong {
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-task-owner-option:hover,
html[data-theme="dark"] .imo-task-owner-option.is-selected {
    border-color: rgba(0, 167, 225, .45);
    background: rgba(0, 167, 225, .16);
}

html[data-theme="dark"] .imo-task-owner-check {
    border-color: rgba(170, 184, 200, .55);
    background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options {
    border-color: var(--cit-line) !important;
    background: rgba(255, 255, 255, .055) !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options label {
    color: #c8d3df !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options label:has(input:checked) {
    background: rgba(0, 167, 225, .82);
    color: #fff !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions {
    border-color: rgba(170, 184, 200, .34) !important;
    background: rgba(255, 255, 255, .075) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft {
    color: #ffaaa3 !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft {
    color: #a8ec66 !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft:hover,
html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft.is-active {
    background: rgba(255, 68, 56, .18) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft:hover,
html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft.is-active {
    background: rgba(118, 188, 33, .18) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-timeline-complete-toggle {
    border-color: rgba(170, 184, 200, .34);
    background: rgba(255, 255, 255, .075);
    color: #c8d3df;
}

html[data-theme="dark"] .imo-task-show-page .imo-timeline-complete-toggle:hover,
html[data-theme="dark"] .imo-task-show-page .imo-timeline-complete-toggle:focus-visible {
    border-color: rgba(123, 220, 255, .28);
    background: rgba(0, 167, 225, .14);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-task-create-page .imo-label {
    color: #d7e4f2 !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-page-sub {
    color: #b8c7d8 !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-input,
html[data-theme="dark"] .imo-task-create-page .imo-select,
html[data-theme="dark"] .imo-task-create-page .imo-textarea,
html[data-theme="dark"] .imo-task-create-page .imo-assignee-select-button {
    border-color: rgba(170, 184, 200, .44) !important;
    background: rgba(255, 255, 255, .075) !important;
    color: #f5f7fb !important;
}

html[data-theme="dark"] .imo-task-create-page.imo-task-create-page .imo-input,
html[data-theme="dark"] .imo-task-create-page.imo-task-create-page .imo-select,
html[data-theme="dark"] .imo-task-create-page.imo-task-create-page .imo-textarea,
html[data-theme="dark"] .imo-task-create-page.imo-task-create-page .imo-assignee-select-button {
    border-color: rgba(170, 184, 200, .44) !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-input:focus,
html[data-theme="dark"] .imo-task-create-page .imo-select:focus,
html[data-theme="dark"] .imo-task-create-page .imo-textarea:focus,
html[data-theme="dark"] .imo-task-create-page .imo-assignee-select-button:focus-visible {
    border-color: rgba(123, 220, 255, .62) !important;
    box-shadow: 0 0 0 3px rgba(0, 167, 225, .22) !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options {
    border-color: rgba(170, 184, 200, .34) !important;
    background: rgba(255, 255, 255, .075) !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options label:not(:has(input:checked)) {
    color: #e1ebf6 !important;
}

html[data-theme="dark"] .imo-period-panel {
    border-color: rgba(148,163,184,.3);
    background: rgba(17,24,32,.94);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-hero,
html[data-theme="dark"] .imo-tasks-index-page .imo-filter-dock {
    border-color: rgba(148,163,184,.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.08), transparent 12rem),
        linear-gradient(180deg, rgba(17,24,32,.96), rgba(12,17,23,.92));
    box-shadow: var(--cit-shadow);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-filter-dock .imo-tabs {
    border-color: rgba(148,163,184,.22);
    background: rgba(255,255,255,.045);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card {
    border-color: rgba(148,163,184,.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.055), transparent 9rem),
        rgba(17,24,32,.94);
    box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 10px 22px rgba(0,0,0,.18);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card:hover {
    border-color: rgba(0,167,225,.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.11), transparent 9rem),
        rgba(17,24,32,.98);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card:focus-visible {
    outline-color: rgba(123,220,255,.42);
    border-color: rgba(123,220,255,.5);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card__marker {
    opacity: .82;
    box-shadow: 0 0 0 3px rgba(0,167,225,.1);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card__footer {
    border-top-color: rgba(148,163,184,.16);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-list-card:hover .imo-task-title-clamp,
html[data-theme="dark"] .imo-tasks-index-page .imo-list-card:focus-visible .imo-task-title-clamp {
    color: #dff7ff !important;
}

html[data-theme="dark"] .imo-chip,
html[data-theme="dark"] .imo-urgent-header-chip,
html[data-theme="dark"] .imo-tab,
html[data-theme="dark"] .imo-period-pill,
html[data-theme="dark"] .imo-filter-chip,
html[data-theme="dark"] .imo-badge,
html[data-theme="dark"] .imo-due-pill,
html[data-theme="dark"] .imo-action-pill,
html[data-theme="dark"] .imo-member-chip,
html[data-theme="dark"] .imo-stat,
html[data-theme="dark"] .imo-financial-tabs button,
html[data-theme="dark"] .imo-responsible-pill {
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.045)),
        rgba(255,255,255,.04);
    border-color: var(--cit-line);
    color: var(--cit-ink);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
html[data-theme="dark"] .imo-urgent-header-chip {
    border-color: rgba(255,106,99,.5);
    background: rgba(255,68,56,.13);
    color: #ffb4ad;
}

html[data-theme="dark"] .imo-period-pill {
    background: rgba(255,255,255,.09);
    color: #d7e0ea;
}

html[data-theme="dark"] .imo-period-pill:hover {
    border-color: rgba(0,167,225,.36);
    background: rgba(0,167,225,.12);
    color: #dff7ff;
}

html[data-theme="dark"] .imo-dashboard-page .imo-stat--amber {
    border-color: rgba(255, 198, 41, .5) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 198, 41, .12), transparent 5rem),
        rgba(255, 198, 41, .07) !important;
    color: #ffd66b !important;
}

html[data-theme="dark"] .imo-dashboard-page .imo-stat--amber .imo-stat-value,
html[data-theme="dark"] .imo-dashboard-page .imo-stat--amber .imo-money-unit {
    color: #ffe6a3 !important;
    background: transparent !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .imo-dashboard-page .imo-stat--amber .imo-stat-label {
    color: rgba(255, 230, 163, .72) !important;
}

html[data-theme="dark"] .imo-tab.is-active,
html[data-theme="dark"] .imo-period-pill.is-active,
html[data-theme="dark"] .imo-responsible-pill.is-active,
html[data-theme="dark"] .imo-chip--brand,
html[data-theme="dark"] .imo-financial-tabs button.is-active {
    border-color: rgba(0,167,225,.42);
    background: rgba(0,167,225,.16);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-header-actions .imo-header-nav-link {
    color: #9fb0c2;
}
html[data-theme="dark"] .imo-header-actions .imo-header-nav-link:hover,
html[data-theme="dark"] .imo-header-actions .imo-header-nav-link:focus-visible {
    color: #7dd3fc;
}
html[data-theme="dark"] .imo-header-actions .imo-header-nav-link.is-active {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-btn-primary,
html[data-theme="dark"] .imo-nav-item--fab,
html[data-theme="dark"] .imo-team-add-cta {
    background: #f5f7fb;
    color: #0c1117;
}

html[data-theme="dark"] .imo-btn-secondary,
html[data-theme="dark"] .imo-profile-menu summary,
html[data-theme="dark"] .imo-theme-toggle strong {
    border-color: var(--cit-line);
    background: rgba(255,255,255,.06);
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-theme-toggle {
    border-color: rgba(0,167,225,.35);
    background: rgba(0,167,225,.12);
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-nav-item {
    color: #c5d0dc;
}

html[data-theme="dark"] .imo-nav-item.is-active {
    color: #7bdcff;
    background: rgba(0,167,225,.18);
}

html[data-theme="dark"] .imo-nav-grid { border-color: rgba(148,163,184,.24); background: rgba(17,24,32,.94); }
html[data-theme="dark"] .imo-nav-item--fab { background: #17202a; color: #f5f7fb !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 18px rgba(0,0,0,.28); }

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-nav { background: linear-gradient(180deg, transparent, rgba(8,12,17,.9) 32%, #080c11); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-nav-grid,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-period-panel { border-color: rgba(148,163,184,.3); background: rgba(17,24,32,.94); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .text-slate-600 { color: #c8d3df !important; }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-metric { background: rgba(17,24,32,.96); border-color: rgba(148,163,184,.3); color: #e6edf5; }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-metric--danger { color: #ffaaa3; border-color: rgba(255,68,56,.5); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-metric--merit { color: #c4f27d; border-color: rgba(118,188,33,.48); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-label { color: #dbe6f2; }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-action { background: rgba(15,23,32,.72); box-shadow: inset 0 0 0 1px rgba(148,163,184,.26); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-details { border-top-color: rgba(148,163,184,.24); background: rgba(8,12,17,.35); }
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-feedback-item { background: rgba(255,255,255,.06); border-color: rgba(148,163,184,.2); }
html[data-theme="dark"] .imo-dashboard-panel .imo-microcopy,
html[data-theme="dark"] .imo-team-performance-page .imo-microcopy { background: rgba(17,24,32,.94); border-color: rgba(148,163,184,.3); color: #d7e0ea !important; }

html[data-theme="dark"] .imo-dashboard-hero,
html[data-theme="dark"] .imo-performance-hero,
html[data-theme="dark"] .imo-task-show-page .imo-task-hero--premium,
html[data-theme="dark"] .imo-create-task-hero {
    background:
        radial-gradient(circle at 92% 0%, rgba(0,167,225,.18), transparent 13rem),
        radial-gradient(circle at 0% 0%, rgba(118,188,33,.08), transparent 12rem),
        var(--cit-surface);
    border-color: rgba(148,163,184,.24);
    box-shadow: var(--cit-shadow);
}

html[data-theme="dark"] .imo-empty {
    border-color: var(--cit-line);
    background: rgba(255,255,255,.035);
}

html[data-theme="dark"] .imo-team-modal,
html[data-theme="dark"] .imo-image-preview {
    background: rgba(0,0,0,.66);
}

html[data-theme="dark"] .imo-stage-card--active,
html[data-theme="dark"] .imo-filter-tone--active,
html[data-theme="dark"] .imo-stat--revenue,
html[data-theme="dark"] .imo-filter-tone--revenue {
    border-color: rgba(0,167,225,.44);
    background: rgba(0,167,225,.14);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-card { background: linear-gradient(180deg, rgba(17,24,32,.98), rgba(12,17,23,.94)); border-color: rgba(148,163,184,.24); box-shadow: 0 18px 44px rgba(0,0,0,.28); }
html[data-theme="dark"] .imo-team-performance-page .imo-performance-card .text-slate-500 { color: #b8c5d3 !important; }
html[data-theme="dark"] .imo-team-performance-page .imo-label,
html[data-theme="dark"] .imo-team-performance-page .imo-stat-label { color: #d7e0ea; }
html[data-theme="dark"] .imo-team-performance-page .imo-stat-percent { color: #aab8c8; }
html[data-theme="dark"] .imo-team-performance-page .imo-responsible-pill,
html[data-theme="dark"] .imo-team-performance-page .imo-filter-chip { background: rgba(255,255,255,.065); border-color: rgba(148,163,184,.3); color: #dbe6f2; }
html[data-theme="dark"] .imo-team-performance-page .imo-responsible-pill.is-active,
html[data-theme="dark"] .imo-team-performance-page .imo-filter-chip.is-active { background: rgba(0,167,225,.18); border-color: rgba(123,220,255,.48); color: #b9efff; box-shadow: inset 0 0 0 1px rgba(123,220,255,.2); }
html[data-theme="dark"] .imo-team-performance-page .imo-stat-value.text-cyan-800 { color: #8fe6ff !important; }
html[data-theme="dark"] .imo-team-performance-page .imo-stat-value.text-amber-800 { color: #ffd96a !important; }
html[data-theme="dark"] .imo-team-performance-page .imo-stat-value.text-slate-800 { color: #e8eef6 !important; }

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list {
    border-color: rgba(148,163,184,.28);
    background: rgba(8,12,17,.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-task-title-row {
    background: rgba(17,24,32,.92);
    color: #edf4fb;
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--open,
html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--work-value {
    border-color: rgba(148,163,184,.34);
    color: #edf4fb;
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--active,
html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--revenue {
    border-color: rgba(0,167,225,.48);
    background: rgba(0,167,225,.13);
    color: #9be8ff;
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--closed {
    border-color: rgba(118,188,33,.5) !important;
    background: rgba(118,188,33,.12) !important;
    color: #baf27c !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--waiting,
html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--no-due,
html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--reductions {
    border-color: rgba(255,198,41,.55) !important;
    background: rgba(255,198,41,.12) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--danger,
html[data-theme="dark"] .imo-team-performance-page .imo-task-filter-list .imo-filter-tone--stale {
    border-color: rgba(255,68,56,.5) !important;
    background: rgba(255,68,56,.12) !important;
    color: #ff9a92 !important;
}

html[data-theme="dark"] .imo-stage-card--closed,
html[data-theme="dark"] .imo-filter-tone--closed,
html[data-theme="dark"] .imo-badge--emerald,
html[data-theme="dark"] .imo-btn-success-soft {
    border-color: rgba(118,188,33,.44) !important;
    background: rgba(118,188,33,.14) !important;
    color: #a8ec66 !important;
}

html[data-theme="dark"] .imo-stage-card--waiting,
html[data-theme="dark"] .imo-filter-tone--waiting,
html[data-theme="dark"] .imo-action-pill--waiting-status,
html[data-theme="dark"] .imo-btn-warning-soft,
html[data-theme="dark"] .imo-filter-tone--reductions {
    border-color: rgba(255,198,41,.5) !important;
    background: rgba(255,198,41,.15) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] .imo-stage-card--danger,
html[data-theme="dark"] .imo-filter-tone--danger,
html[data-theme="dark"] .imo-due-pill--late,
html[data-theme="dark"] .imo-due-pill--none,
html[data-theme="dark"] .imo-btn-danger-soft,
html[data-theme="dark"] .imo-badge--red {
    border-color: rgba(255,68,56,.48) !important;
    background: rgba(255,68,56,.14) !important;
    color: #ff8f87 !important;
}

html[data-theme="dark"] .imo-due-pill--ok,
html[data-theme="dark"] .imo-due-pill--soon {
    border-color: rgba(118,188,33,.46) !important;
    background: rgba(118,188,33,.14) !important;
    color: #a8ec66 !important;
}

html[data-theme="dark"] .imo-profile-menu-panel form {
    border-top-color: var(--cit-line);
}

html[data-theme="dark"] .imo-profile-menu-panel form button {
    border-color: rgba(255,68,56,.44);
    background: rgba(255,68,56,.12);
    color: #ff8f87;
}

html[data-theme="dark"] .imo-profile-quick-link {
    border-color: rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .46);
    color: #f8fafc;
}

html[data-theme="dark"] .imo-profile-quick-link:hover {
    border-color: rgba(0, 167, 225, .32);
    background: rgba(15, 23, 42, .72);
}

html[data-theme="dark"] .imo-profile-quick-icon,
html[data-theme="dark"] .imo-profile-quick-link em,
html[data-theme="dark"] .imo-profile-quick-link small {
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

html[data-theme="dark"] .imo-profile-quick-link--good {
    border-color: rgba(34, 197, 94, .22);
    background: rgba(22, 101, 52, .18);
}

html[data-theme="dark"] .imo-profile-quick-link--good .imo-profile-quick-icon,
html[data-theme="dark"] .imo-profile-quick-link--good em {
    background: rgba(34, 197, 94, .16);
    color: #86efac;
}

html[data-theme="dark"] .imo-profile-quick-link--bad {
    border-color: rgba(244, 63, 94, .24);
    background: rgba(136, 19, 55, .2);
}

html[data-theme="dark"] .imo-profile-quick-link--bad .imo-profile-quick-icon,
html[data-theme="dark"] .imo-profile-quick-link--bad em {
    background: rgba(244, 63, 94, .16);
    color: #fda4af;
}

html[data-theme="dark"] .imo-profile-nav-feature {
    border-color: rgba(0, 167, 225, .28);
    background: rgba(0, 167, 225, .08);
    color: #f8fafc;
}

html[data-theme="dark"] .imo-profile-nav-feature:hover {
    background: rgba(15, 23, 42, .72);
}

html[data-theme="dark"] .imo-profile-nav-feature__copy small {
    color: #94a3b8;
}

html[data-theme="dark"] .imo-profile-nav-group {
    border-color: rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .46);
}

html[data-theme="dark"] .imo-profile-nav-group__label {
    color: #64748b;
}

html[data-theme="dark"] .imo-profile-nav-item {
    color: #f8fafc;
}

html[data-theme="dark"] .imo-profile-nav-item:hover {
    background: rgba(255, 255, 255, .04);
}

html[data-theme="dark"] .imo-profile-nav-item em,
html[data-theme="dark"] .imo-profile-nav-item small {
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

html[data-theme="dark"] .imo-profile-nav-score--good {
    border-color: rgba(34, 197, 94, .22);
    background: rgba(22, 101, 52, .18);
    color: #bbf7d0;
}

html[data-theme="dark"] .imo-profile-nav-score--good em {
    color: #86efac;
}

html[data-theme="dark"] .imo-profile-nav-score--bad {
    border-color: rgba(244, 63, 94, .24);
    background: rgba(136, 19, 55, .2);
    color: #fecdd3;
}

html[data-theme="dark"] .imo-profile-nav-score--bad em {
    color: #fda4af;
}

html[data-theme="dark"] .imo-financial-file {
    border-color: rgba(0, 167, 225, .28);
    background: rgba(0, 167, 225, .08);
    color: #cbd5e1;
}

html[data-theme="dark"] .imo-financial-file span {
    color: #8be3ff;
}

html[data-theme="dark"] .imo-alert--success {
    border-color: rgba(118,188,33,.4);
    background: rgba(118,188,33,.13);
    color: #a8ec66;
}

html[data-theme="dark"] .imo-alert--error {
    border-color: rgba(255,68,56,.44);
    background: rgba(255,68,56,.14);
    color: #ff8f87;
}

html[data-theme="dark"] .imo-task-title-row,
html[data-theme="dark"] .imo-feedback-metric,
html[data-theme="dark"] .imo-feedback-item,
html[data-theme="dark"] .imo-timeline-card,
html[data-theme="dark"] .imo-financial-panel,
html[data-theme="dark"] .imo-task-file-row,
html[data-theme="dark"] .imo-feedback-entry,
html[data-theme="dark"] .imo-task-flags-zone,
html[data-theme="dark"] .imo-custom-type-panel,
html[data-theme="dark"] .imo-create-choice,
html[data-theme="dark"] .imo-task-file-box {
    border-color: var(--cit-line);
    background: rgba(255,255,255,.045);
    color: var(--cit-ink);
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list {
    border-color: rgba(148,163,184,.28);
    background: rgba(8,12,17,.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-task-title-row {
    background: rgba(17,24,32,.92);
    color: #edf4fb;
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--open,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--work-value {
    border-color: rgba(148,163,184,.34);
    color: #edf4fb;
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--active,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--revenue {
    border-color: rgba(0,167,225,.48);
    background: rgba(0,167,225,.13);
    color: #9be8ff;
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--closed {
    border-color: rgba(118,188,33,.5) !important;
    background: rgba(118,188,33,.12) !important;
    color: #baf27c !important;
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--waiting,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--no-due,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--reductions {
    border-color: rgba(255,198,41,.55) !important;
    background: rgba(255,198,41,.12) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--danger,
html[data-theme="dark"] body.imo-body:has(.imo-dashboard-hero) .imo-task-filter-list .imo-filter-tone--stale {
    border-color: rgba(255,68,56,.5) !important;
    background: rgba(255,68,56,.12) !important;
    color: #ff9a92 !important;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-filter-chip.is-active {
    border-color: rgba(123,220,255,.48);
    background: rgba(0,167,225,.18);
    color: #b9efff;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list {
    border-color: rgba(148,163,184,.28);
    background: rgba(8,12,17,.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-task-title-row {
    background: rgba(17,24,32,.92);
    color: #edf4fb;
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--open,
html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--work-value {
    border-color: rgba(148,163,184,.34);
    color: #edf4fb;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--active,
html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--revenue {
    border-color: rgba(0,167,225,.48);
    background: rgba(0,167,225,.13);
    color: #9be8ff;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--closed {
    border-color: rgba(118,188,33,.5) !important;
    background: rgba(118,188,33,.12) !important;
    color: #baf27c !important;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--waiting,
html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--no-due,
html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--reductions {
    border-color: rgba(255,198,41,.55) !important;
    background: rgba(255,198,41,.12) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--danger,
html[data-theme="dark"] body.imo-body:has(.imo-filter-results) .imo-task-filter-list .imo-filter-tone--stale {
    border-color: rgba(255,68,56,.5) !important;
    background: rgba(255,68,56,.12) !important;
    color: #ff9a92 !important;
}

html[data-theme="dark"] .imo-task-filter-list .imo-task-row-signals span {
    background: rgba(0, 0, 0, .34);
    border-color: rgba(255, 255, 255, .22);
    color: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--danger .imo-task-row-signals span,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--stale .imo-task-row-signals span,
html[data-theme="dark"] .imo-task-filter-list .imo-task-title-row--stale .imo-task-row-signals span {
    background: rgba(0, 0, 0, .4);
    border-color: rgba(255, 169, 160, .54);
    color: #ffd4cf;
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--waiting .imo-task-row-signals span,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--no-due .imo-task-row-signals span {
    background: rgba(0, 0, 0, .4);
    border-color: rgba(255, 217, 106, .5);
    color: #ffe699;
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--closed .imo-task-row-signals span {
    background: rgba(0, 0, 0, .34);
    border-color: rgba(186, 242, 124, .44);
    color: #dcfce7;
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--open .imo-task-row-signals span,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--active .imo-task-row-signals span,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--revenue .imo-task-row-signals span {
    background: rgba(0, 0, 0, .32);
    border-color: rgba(148, 163, 184, .36);
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-task-filter-list .imo-task-row-meta {
    color: rgba(226, 232, 240, .76);
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--danger .imo-task-row-meta,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--stale .imo-task-row-meta,
html[data-theme="dark"] .imo-task-filter-list .imo-task-title-row--stale .imo-task-row-meta {
    color: rgba(255, 212, 207, .9);
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--waiting .imo-task-row-meta,
html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--no-due .imo-task-row-meta {
    color: rgba(255, 230, 153, .9);
}

html[data-theme="dark"] .imo-task-filter-list .imo-filter-tone--closed .imo-task-row-meta {
    color: rgba(220, 252, 231, .86);
}

html[data-theme="dark"] .imo-tasks-index-page .imo-filter-results .imo-task-title-clamp {
    color: inherit;
}

html[data-theme="dark"] .imo-mentions-page .imo-page-subtitle,
html[data-theme="dark"] .imo-mentions-page .imo-mentions-section__head h2 {
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-mentions-page .imo-mentions-section__head strong {
    background: rgba(118,188,33,.18);
    color: #baf27c;
}

html[data-theme="dark"] .imo-mentions-page .imo-mention-check-form span {
    color: var(--cit-muted);
}

html[data-theme="dark"] .imo-mentions-page .imo-mention-check {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .34);
}

html[data-theme="dark"] .imo-mentions-page .imo-mention-check.is-checked {
    background: rgba(118,188,33,.18);
    border-color: rgba(134,239,172,.42);
    color: #baf27c;
}

html[data-theme="dark"] .imo-mentions-page .imo-task-filter-list .imo-task-row-meta,
html[data-theme="dark"] .imo-mentions-page .imo-task-filter-list .imo-mention-context {
    color: rgba(226, 232, 240, .78);
}

html[data-theme="dark"] .imo-mentions-page .imo-task-filter-list .imo-filter-tone--closed .imo-task-title-clamp,
html[data-theme="dark"] .imo-mentions-page .imo-task-filter-list .imo-filter-tone--closed .imo-task-row-meta,
html[data-theme="dark"] .imo-mentions-page .imo-task-filter-list .imo-filter-tone--closed .imo-mention-context {
    color: #d8f7a8;
}

html[data-theme="dark"] .imo-risk-attention-page .imo-risk-hero,
html[data-theme="dark"] .imo-risk-panel,
html[data-theme="dark"] .imo-risk-recommendation,
html[data-theme="dark"] .imo-financial-hero,
html[data-theme="dark"] .imo-financial-metric,
html[data-theme="dark"] .imo-financial-panel,
html[data-theme="dark"] .imo-financial-note {
    border-color: rgba(148,163,184,.24);
    background: rgba(17,24,32,.94);
    color: var(--cit-ink);
    box-shadow: var(--cit-shadow);
}

html[data-theme="dark"] .imo-risk-attention-page .imo-risk-hero {
    background:
        radial-gradient(circle at 1.4rem 50%, rgba(255,68,56,.14), transparent 8rem),
        rgba(17,24,32,.96);
    border-color: rgba(255,68,56,.34);
}

html[data-theme="dark"] .imo-risk-attention-page .imo-risk-hero .imo-page-title,
html[data-theme="dark"] .imo-risk-row__main strong,
html[data-theme="dark"] .imo-risk-recommendation strong,
html[data-theme="dark"] .imo-financial-hero__identity .imo-page-title,
html[data-theme="dark"] .imo-financial-panel__heading h2,
html[data-theme="dark"] .imo-financial-row__main strong {
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-risk-attention-page .imo-risk-hero p,
html[data-theme="dark"] .imo-risk-section-label,
html[data-theme="dark"] .imo-risk-count,
html[data-theme="dark"] .imo-risk-row small,
html[data-theme="dark"] .imo-risk-recommendation ul,
html[data-theme="dark"] .imo-financial-hero p,
html[data-theme="dark"] .imo-financial-hero small,
html[data-theme="dark"] .imo-financial-hero__period small,
html[data-theme="dark"] .imo-financial-metric small,
html[data-theme="dark"] .imo-financial-metric p,
html[data-theme="dark"] .imo-financial-panel__heading p,
html[data-theme="dark"] .imo-financial-panel__heading > strong,
html[data-theme="dark"] .imo-financial-row__main small,
html[data-theme="dark"] .imo-financial-row__date,
html[data-theme="dark"] .imo-financial-note p {
    color: var(--cit-muted);
}

html[data-theme="dark"] .imo-panel-heading--activity .imo-section-title span {
    color: #b8c4d2;
}

html[data-theme="dark"] .imo-risk-user-pill {
    border-color: rgba(255,68,56,.42);
    background: rgba(255,68,56,.12);
    color: #ffaaa3;
}

html[data-theme="dark"] .imo-risk-user-pill span,
html[data-theme="dark"] .imo-agent-scope-trigger > span,
html[data-theme="dark"] .imo-risk-attention-page .imo-risk-hero__icon {
    background: rgba(255,68,56,.16);
    color: #ffaaa3;
    box-shadow: inset 0 0 0 1px rgba(255,68,56,.3);
}

html[data-theme="dark"] .imo-agent-scope-trigger {
    border-color: rgba(148,163,184,.28);
    background: rgba(255,255,255,.055);
    color: #edf4fb;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.16);
}

html[data-theme="dark"] .imo-risk-attention-page .imo-agent-scope-trigger {
    border-color: rgba(255,68,56,.42);
    background: rgba(255,68,56,.12);
    color: #ffaaa3;
}

html[data-theme="dark"] .imo-financial-hero__identity .imo-agent-scope-trigger > span {
    background: rgba(0,167,225,.16);
    color: #8fe6ff;
    box-shadow: inset 0 0 0 1px rgba(123,220,255,.28);
}

html[data-theme="dark"] .imo-agent-scope-menu {
    border-color: rgba(148,163,184,.26);
    background: rgba(17,24,32,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

html[data-theme="dark"] .imo-agent-scope-option {
    border-color: rgba(148,163,184,.22);
    background: rgba(255,255,255,.045);
    color: #edf4fb;
}

html[data-theme="dark"] .imo-agent-scope-option:hover,
html[data-theme="dark"] .imo-agent-scope-option:focus-visible,
html[data-theme="dark"] .imo-agent-scope-option.is-selected {
    border-color: rgba(123,220,255,.44);
    background: rgba(0,167,225,.12);
}

html[data-theme="dark"] .imo-agent-scope-copy strong {
    color: #edf4fb;
}

html[data-theme="dark"] .imo-agent-scope-copy small {
    color: #9aa7b7;
}

html[data-theme="dark"] .imo-agent-scope-initials {
    border-color: rgba(123,220,255,.28);
    background: rgba(0,167,225,.16);
    color: #8fe6ff;
}

html[data-theme="dark"] .imo-agent-scope-check {
    border-color: rgba(148,163,184,.42);
    background: rgba(255,255,255,.06);
}

html[data-theme="dark"] .imo-risk-summary-card,
html[data-theme="dark"] .imo-risk-row {
    border-color: rgba(255,68,56,.36);
    background: rgba(255,68,56,.09);
    color: #ffaaa3;
}

html[data-theme="dark"] .imo-risk-summary-card--warning,
html[data-theme="dark"] .imo-risk-row--warning {
    border-color: rgba(255,198,41,.44);
    background: rgba(255,198,41,.11);
    color: #ffd96a;
}

html[data-theme="dark"] .imo-risk-summary-card small,
html[data-theme="dark"] .imo-risk-row__meta strong {
    color: #dbe6f2;
}

html[data-theme="dark"] .imo-risk-row__badge strong {
    background: rgba(255,68,56,.16);
    color: #ffaaa3;
}

html[data-theme="dark"] .imo-risk-row--warning .imo-risk-row__badge strong {
    background: rgba(255,198,41,.16);
    color: #ffd96a;
}

html[data-theme="dark"] .imo-financial-hero {
    border-color: rgba(123,220,255,.28);
}

html[data-theme="dark"] .imo-financial-hero__identity > span,
html[data-theme="dark"] .imo-financial-metric--revenue span,
html[data-theme="dark"] .imo-financial-note span {
    border-color: rgba(123,220,255,.28);
    background: rgba(0,167,225,.16);
    color: #8fe6ff;
}

html[data-theme="dark"] .imo-financial-hero p,
html[data-theme="dark"] .imo-financial-period-pills {
    border-color: rgba(148,163,184,.24);
    background: rgba(255,255,255,.055);
}

html[data-theme="dark"] .imo-financial-hero__period strong {
    background: #f5f7fb;
    color: #0c1117;
}

html[data-theme="dark"] .imo-financial-metric--revenue strong,
html[data-theme="dark"] .imo-financial-row__value--revenue {
    color: #8fe6ff;
}

html[data-theme="dark"] .imo-financial-row__value--reduction {
    color: #fdba74;
}

html[data-theme="dark"] .imo-financial-metric--reduction span {
    background: rgba(249,115,22,.16);
    color: #fdba74;
}

html[data-theme="dark"] .imo-financial-metric--reduction strong {
    color: #fdba74;
}

html[data-theme="dark"] .imo-financial-metric--total span {
    background: rgba(126,34,206,.2);
    color: #d8b4fe;
}

html[data-theme="dark"] .imo-financial-metric--total strong,
html[data-theme="dark"] .imo-financial-line-chart__line--work {
    color: #d8b4fe;
}

html[data-theme="dark"] .imo-financial-line-chart__grid {
    stroke: rgba(148,163,184,.22);
}

html[data-theme="dark"] .imo-financial-line-chart__value,
html[data-theme="dark"] .imo-financial-line-chart__month {
    fill: #b8c4d2;
}

html[data-theme="dark"] .imo-financial-line-chart__legend {
    color: #dbe6f2;
}

html[data-theme="dark"] .imo-financial-row {
    border-top-color: rgba(148,163,184,.18);
}

html[data-theme="dark"] .imo-financial-row__icon.revenue {
    background: rgba(0,167,225,.16);
    color: #8fe6ff;
}

html[data-theme="dark"] .imo-financial-row__icon.reduction {
    background: rgba(249,115,22,.16);
    color: #fdba74;
}

html[data-theme="dark"] .imo-feedback-icon,
html[data-theme="dark"] .imo-empty-icon,
html[data-theme="dark"] .imo-member-avatar,
html[data-theme="dark"] .imo-member-initials {
    background: rgba(0,167,225,.14);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-dashboard-risk-badge {
    border-color: rgba(255,68,56,.48);
    background:
        radial-gradient(circle at 100% 0%, rgba(255,68,56,.18), transparent 5rem),
        rgba(255,68,56,.13);
    color: #ff8f87;
}

html[data-theme="dark"] .imo-dashboard-eyebrow,
html[data-theme="dark"] .imo-team-modal-kicker,
html[data-theme="dark"] .imo-dashboard-hero__top,
html[data-theme="dark"] .imo-task-composer-head span,
html[data-theme="dark"] .imo-member-chip__label {
    color: #7bdcff;
}

html[data-theme="dark"] .imo-dashboard-page .imo-dashboard-hero .imo-dashboard-eyebrow {
    border-color: rgba(123, 220, 255, .34) !important;
    background:
        linear-gradient(180deg, rgba(123, 220, 255, .16), rgba(123, 220, 255, .08)),
        rgba(12, 17, 23, .72) !important;
    color: #dff7ff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.055);
}

html[data-theme="dark"] .imo-task-create-page .imo-dashboard-eyebrow {
    border-color: rgba(123, 220, 255, .5);
    background: rgba(0, 167, 225, .16);
    color: #b9efff !important;
    box-shadow: inset 0 0 0 1px rgba(123, 220, 255, .14);
}

html[data-theme="dark"] .imo-team-check-row--locked,
html[data-theme="dark"] .imo-member-chip--primary {
    border-color: rgba(0,167,225,.38);
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.045)),
        rgba(0,167,225,.1);
}

html[data-theme="dark"] .imo-task-show-page .imo-waiting-panel {
    border-color: rgba(255,198,41,.22);
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,198,41,.055)),
        rgba(17,24,32,.94);
    color: #edf4fb;
}

html[data-theme="dark"] .imo-task-show-page .imo-waiting-current {
    border-color: rgba(255,198,41,.18);
    background: rgba(255,255,255,.045);
    color: #edf4fb;
}

html[data-theme="dark"] .imo-task-show-page .imo-waiting-current span {
    color: #ffd96a;
}

html[data-theme="dark"] .imo-task-show-page .imo-waiting-current__toggle {
    color: #7dd3fc;
}

html[data-theme="dark"] .imo-task-show-page .imo-mini-values,
html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs,
html[data-theme="dark"] .imo-task-show-page .imo-task-composer,
html[data-theme="dark"] .imo-task-show-page .imo-task-timeline-section,
html[data-theme="dark"] .imo-task-show-page .imo-task-files-section,
html[data-theme="dark"] .imo-task-show-page .imo-task-feedback-section,
html[data-theme="dark"] .imo-task-show-page .imo-task-mobile-actions {
    border-color: var(--cit-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.065), transparent 12rem),
        var(--cit-surface);
}

html[data-theme="dark"] .imo-task-show-page .imo-task-mobile-action--primary {
    border-color: #f5f7fb;
    background: #f5f7fb;
    color: #0c1117;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-mobile-action--secondary {
    border-color: var(--cit-line);
    background: rgba(255,255,255,.06);
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-task-show-page .imo-task-collapsible__summary::after {
    border-color: rgba(123,220,255,.28);
    background: rgba(0,167,225,.14);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-divider,
html[data-theme="dark"] .imo-section-row,
html[data-theme="dark"] .imo-task-badgebar,
html[data-theme="dark"] .imo-team-modal-head,
html[data-theme="dark"] .imo-team-modal-actions {
    border-color: var(--cit-line);
}

html[data-theme="dark"] .imo-team-modal-actions {
    background: linear-gradient(180deg, rgba(17,24,32,.72), var(--cit-surface));
}

html[data-theme="dark"] .imo-page-loader {
    background: linear-gradient(90deg, transparent, rgba(0,167,225,.85), transparent);
}

.imo-task-show-page .imo-btn-secondary {
    border-color: rgba(229, 234, 240, .98);
    background: #fff;
    color: var(--cit-primary);
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}

.imo-task-timeline-section {
    padding: .82rem;
    border: 1px solid var(--cit-line);
    background:
        radial-gradient(circle at 0 0, rgba(0, 167, 225, .045), transparent 10rem),
        rgba(255,255,255,.82);
    box-shadow: var(--cit-shadow);
}

.imo-task-show-page .imo-timeline-card {
    border-color: rgba(229, 234, 240, .96);
    border-radius: 1.08rem;
    padding: .76rem .82rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-timeline-card--system {
    background:
        linear-gradient(180deg, rgba(249,251,253,.96), rgba(255,255,255,.92));
    border-style: solid;
}

.imo-task-show-page .imo-timeline-meta {
    color: #98a2b3;
    letter-spacing: .06em;
}

.imo-task-show-page .imo-timeline-body {
    color: var(--cit-primary);
}

.imo-task-show-page .imo-timeline-system-author {
    color: var(--cit-muted);
}

.imo-task-show-page .imo-timeline-file {
    border-color: rgba(0, 167, 225, .2);
    background: rgba(0, 167, 225, .06);
    color: #007aa5;
}

.imo-task-show-page .imo-timeline-thumb {
    border-color: rgba(229, 234, 240, .96);
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-task-files-section {
    padding: .82rem;
    border: 1px solid var(--cit-line);
    background: #fff;
    box-shadow: var(--cit-shadow);
}

.imo-task-show-page .imo-task-files-section .imo-card-link {
    display: block;
    margin-bottom: .48rem;
    border-color: rgba(0, 167, 225, .18);
    background: #f9fbfd;
}

.imo-task-show-page > .imo-card.imo-task-section-card {
    padding: .82rem;
    border-radius: 1.35rem;
    border-color: rgba(229, 234, 240, .96);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .045), transparent 10rem),
        #fff;
    box-shadow: var(--cit-shadow);
}

.imo-task-show-page > .imo-card.imo-task-section-card .grid.grid-cols-2 {
    gap: .5rem;
}

.imo-task-show-page > .imo-card.imo-task-section-card .grid.grid-cols-2 .imo-btn {
    min-height: 2.5rem;
    border-radius: .95rem;
    font-size: .76rem;
    font-weight: 850;
}

.imo-task-show-page .imo-divider {
    background: rgba(229, 234, 240, .96);
    margin: .82rem 0;
}

.imo-task-flags-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: nowrap;
}

.imo-task-flags-zone {
    display: grid;
    gap: .62rem;
    padding: .72rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.12rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .045), transparent 8rem),
        #f9fbfd;
}

.imo-task-flags-zone__head {
    display: block;
}

.imo-task-flags-zone__head h3 {
    color: var(--cit-primary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: -.015em;
}

.imo-task-flags-form__options {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: .4rem;
    min-width: 0;
}

.imo-task-flag-toggle {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 2.12rem;
    padding: .42rem .62rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: .9rem;
    background: rgba(249, 251, 253, .82);
    color: var(--cit-primary);
    font-size: .74rem;
    font-weight: 850;
    white-space: nowrap;
}

.imo-task-flag-toggle input {
    width: .94rem;
    height: .94rem;
    accent-color: var(--cit-info);
}

.imo-task-flags-form .imo-btn {
    width: auto;
    min-height: 2.12rem;
    padding: .42rem 1.1rem;
    flex: 0 0 auto;
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-task-feedback-body {
        gap: .42rem;
    }

    .imo-task-show-page .imo-task-flag-toggle {
        font-size: clamp(.68rem, 3vw, .76rem) !important;
    }

    .imo-task-show-page .imo-task-feedback-actions .imo-btn {
        font-size: clamp(.68rem, 3vw, .76rem);
    }
}

@media (max-width: 380px) {
    .imo-task-flags-form {
        align-items: stretch;
        flex-direction: column;
    }

    .imo-task-flags-form .imo-btn {
        width: 100%;
    }
}

.imo-task-show-page .imo-image-preview {
    background: rgba(35,31,32,.66);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.imo-task-show-page .imo-image-preview-panel {
    border: 1px solid rgba(229, 234, 240, .92);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .08), transparent 14rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.04), 0 28px 80px rgba(35,31,32,.22);
}

.imo-task-show-page .imo-image-preview-bar p {
    color: var(--cit-primary);
}

.imo-task-show-page .imo-image-preview-bar button {
    color: #007aa5;
}

.imo-task-show-page .imo-team-modal {
    align-items: center;
    padding: clamp(.35rem, 1.4vw, .8rem);
    background: rgba(35, 31, 32, .32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.imo-task-show-page .imo-team-modal-card {
    width: min(28.75rem, 100%);
    max-height: min(44rem, 96dvh);
    gap: .48rem;
    padding: .64rem .72rem;
    overflow: hidden;
    border: 1px solid rgba(229, 234, 240, .95);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .09), transparent 13rem),
        linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
    box-shadow: 0 1px 2px rgba(35,31,32,.04), 0 28px 70px rgba(35,31,32,.18);
}

.imo-task-show-page .imo-team-modal-head {
    align-items: center;
    padding: .04rem .08rem .36rem;
    border-bottom: 1px solid rgba(229, 234, 240, .9);
}

.imo-task-show-page .imo-team-modal-kicker {
    color: #007aa5;
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.imo-task-show-page .imo-team-modal-head h2 {
    margin-top: .06rem;
    color: var(--cit-primary);
    font-size: clamp(1rem, 3.5vw, 1.22rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.imo-task-show-page .imo-team-modal-close {
    flex: 0 0 auto;
    width: 1.86rem;
    height: 1.86rem;
    border-color: rgba(229, 234, 240, .95);
    background: #fff;
    color: #667085;
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
    transition: transform .14s ease, border-color .14s ease, color .14s ease;
}

.imo-task-show-page .imo-team-modal-close:hover,
.imo-task-show-page .imo-team-modal-close:focus-visible {
    border-color: rgba(0, 167, 225, .34);
    color: var(--cit-primary);
    transform: translateY(-1px);
}

.imo-task-show-page .imo-team-form {
    min-height: 0;
    gap: .42rem;
}

.imo-task-show-page .imo-team-primary-box {
    position: relative;
    gap: .24rem;
    padding: .44rem .56rem;
    overflow: hidden;
    border: 1px solid rgba(0, 167, 225, .25);
    border-radius: .82rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .12), transparent 9rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 14px 28px rgba(0,167,225,.055);
}

.imo-task-show-page .imo-team-primary-box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--cit-info), rgba(0, 167, 225, .18));
}

.imo-task-show-page .imo-team-primary-box label {
    color: #007aa5;
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.imo-task-show-page .imo-team-primary-box .imo-select {
    min-height: 2.08rem;
    padding: .42rem .62rem;
    border-color: rgba(0, 167, 225, .25);
    border-radius: .68rem;
    background: #fff;
    color: var(--cit-primary);
    font-size: .76rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(35,31,32,.025);
}

.imo-task-show-page .imo-team-primary-box p {
    margin: 0;
    color: var(--cit-muted);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.38;
}

.imo-task-show-page .imo-team-check-list {
    gap: .18rem;
    min-height: 0;
    max-height: min(27rem, 59dvh);
    padding: .04rem .14rem .04rem 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 167, 225, .42) transparent;
}

.imo-task-show-page .imo-team-check-list::-webkit-scrollbar {
    width: .35rem;
}

.imo-task-show-page .imo-team-check-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 167, 225, .36);
}

.imo-task-show-page .imo-team-check-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .38rem;
    min-height: 2.18rem;
    padding: .28rem .42rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: .7rem;
    background: rgba(255,255,255,.88);
    color: var(--cit-primary);
    box-shadow: none;
    cursor: pointer;
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.imo-task-show-page .imo-team-check-row:hover,
.imo-task-show-page .imo-team-check-row:focus-within {
    border-color: rgba(0, 167, 225, .28);
    background: #fff;
    box-shadow: 0 4px 10px rgba(35,31,32,.045);
}

.imo-task-show-page .imo-team-check-row input {
    flex: 0 0 auto;
    width: .98rem;
    height: .98rem;
    margin: 0;
    accent-color: var(--cit-info);
}

.imo-task-show-page .imo-team-check-initials {
    width: 1.62rem;
    height: 1.62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,167,225,.28);
    border-radius: 999px;
    background: rgba(0,167,225,.08);
    color: #007aa5;
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.imo-task-show-page .imo-team-check-copy {
    display: grid;
    gap: .03rem;
    min-width: 0;
}

.imo-task-show-page .imo-team-check-row strong {
    color: var(--cit-primary);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: -.01em;
    line-height: 1.05;
}

.imo-task-show-page .imo-team-check-row small {
    color: var(--cit-muted);
    font-size: .53rem;
    font-weight: 650;
    line-height: 1.12;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imo-task-show-page .imo-team-check-row--locked {
    border-color: rgba(0, 167, 225, .26);
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,251,253,.92)),
        rgba(0, 167, 225, .07);
    box-shadow: inset 3px 0 0 rgba(0, 167, 225, .68);
}

.imo-task-show-page .imo-team-check-row--locked:hover,
.imo-task-show-page .imo-team-check-row--locked:focus-within {
    box-shadow: inset 3px 0 0 rgba(0, 167, 225, .68), 0 4px 10px rgba(35,31,32,.045);
}

.imo-task-show-page .imo-team-check-row input:disabled {
    cursor: not-allowed;
}

.imo-task-show-page .imo-team-modal-actions {
    position: sticky;
    bottom: 0;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: .42rem;
    padding-top: .46rem;
    border-top: 1px solid rgba(229, 234, 240, .92);
    background: linear-gradient(180deg, rgba(249,251,253,.72), #f9fbfd);
}

.imo-task-show-page .imo-team-form .imo-btn {
    min-height: 2.32rem;
    padding: .52rem .72rem;
    border-radius: .78rem;
    font-size: .8rem;
    font-weight: 850;
}

.imo-task-show-page .imo-team-modal-actions .imo-btn-secondary {
    border-color: rgba(229, 234, 240, .98);
    background: #fff;
    color: var(--cit-primary);
    box-shadow: 0 1px 2px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-team-modal-actions .imo-btn-primary {
    background: var(--cit-primary);
    box-shadow: 0 12px 24px rgba(35,31,32,.16);
}

@media (max-width: 520px) {
    .imo-create-task-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .imo-create-task-hero__status {
        min-width: 0;
    }

    .imo-task-show-page .imo-task-hero-main {
        gap: .7rem;
    }

    .imo-task-show-page .imo-team-modal {
        align-items: flex-end;
        padding: .6rem;
    }

    .imo-task-show-page .imo-team-modal-card {
        max-height: 94dvh;
        border-radius: 1.28rem;
        padding: .78rem;
    }

    .imo-task-show-page .imo-team-check-list {
        max-height: 42dvh;
    }

    .imo-task-show-page .imo-team-modal-actions {
        grid-template-columns: 1fr;
    }
}

/* Status color correction: Termen is green unless it is overdue or missing. */
.imo-due-pill--ok,
.imo-due-pill--soon,
.imo-due-pill--done,
.imo-task-show-page .imo-due-pill--ok,
.imo-task-show-page .imo-due-pill--soon,
.imo-task-show-page .imo-due-pill--done {
    border-color: rgba(118,188,33,.38) !important;
    background: rgba(118,188,33,.1) !important;
    color: #3f7f12 !important;
}

.imo-due-pill--late,
.imo-task-show-page .imo-due-pill--late,
.imo-due-pill--none,
.imo-task-show-page .imo-due-pill--none,
.imo-stage-card--no-due,
.imo-filter-tone--no-due {
    border-color: rgba(255,68,56,.38) !important;
    background: rgba(255,68,56,.1) !important;
    color: #b4251d !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-stage-card--no-due { border-color: rgba(255,68,56,.48) !important; background: rgba(255,68,56,.14) !important; color: #ff8f87 !important; }
html[data-theme="dark"] .imo-team-performance-page .imo-performance-card > .text-\[10px\] { color: #9fb0c2 !important; }

/* Task detail dashboard parity: section rhythm, semantic feedback, readable history. */
.imo-task-show-page .imo-task-hero--premium {
    padding: clamp(1rem, 3vw, 1.35rem);
}

.imo-task-show-page .imo-task-meta {
    padding: .08rem 0;
    gap: .28rem;
}

.imo-task-show-page .imo-dashboard-eyebrow {
    margin-bottom: .28rem;
    padding: .28rem .58rem;
    border-color: rgba(0,167,225,.3);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,251,253,.94)),
        rgba(0,167,225,.08);
    color: #006d94;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .018em;
    line-height: 1.08;
    text-transform: none;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 8px 18px rgba(0,167,225,.06);
}

.imo-task-show-page .imo-dashboard-eyebrow--done {
    border-color: rgba(118,188,33,.38) !important;
    background: rgba(118,188,33,.1) !important;
    color: #3f7f12 !important;
}

.imo-task-show-page .imo-task-badgebar {
    margin-top: .78rem;
}

.imo-task-show-page .imo-task-meta .imo-due-pill,
.imo-task-show-page .imo-task-meta .imo-badge,
.imo-task-show-page .imo-task-meta .imo-action-pill {
    min-height: 1.76rem;
    padding: .32rem .5rem;
    font-size: .62rem;
    line-height: 1.05;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 7px 16px rgba(35,31,32,.035);
}

.imo-task-show-page .imo-task-meta .imo-due-pill {
    padding-inline: .58rem;
}

.imo-task-show-page .imo-task-meta .imo-task-type-meta,
.imo-task-show-page .imo-task-meta .imo-badge:not(.imo-task-type-meta) {
    padding-inline: .52rem;
}

.imo-task-show-page .imo-task-meta .imo-task-waiting-trigger {
    padding-inline: .5rem;
}

.imo-task-show-page .imo-title-edit,
.imo-task-show-page .imo-waiting-panel,
.imo-task-show-page .imo-task-section-card,
.imo-task-show-page .imo-task-composer,
.imo-task-show-page .imo-task-timeline-section {
    border: 1px solid rgba(229,234,240,.98);
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.045), transparent 10rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.03), 0 14px 34px rgba(35,31,32,.055);
}

.imo-task-show-page .imo-waiting-panel {
    border-color: rgba(245,158,11,.24);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,235,.72)),
        #fff;
}

.imo-task-show-page .imo-task-composer,
.imo-task-show-page .imo-task-timeline-section,
.imo-task-show-page .imo-task-files-section,
.imo-task-show-page .imo-task-feedback-section {
    padding: clamp(.82rem, 2.5vw, 1rem);
}

.imo-task-show-page .imo-section-row {
    align-items: center;
    padding-bottom: .58rem;
    border-bottom: 1px solid rgba(229,234,240,.92);
}

.imo-task-show-page .imo-task-timeline-section .imo-section-row {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.imo-task-show-page .imo-task-timeline-section .imo-task-timeline-preview {
    padding-top: .32rem;
}

.imo-task-show-page .imo-task-feedback-section__title {
    margin: 0 0 .32rem;
}

.imo-task-show-page .imo-task-feedback-body {
    display: grid;
    gap: .58rem;
}

.imo-task-show-page .imo-task-feedback-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    padding: 2px;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: .92rem;
    background: rgba(255, 255, 255, .72);
}

.imo-task-show-page .imo-task-feedback-actions .imo-btn {
    justify-content: center;
    width: 100%;
    min-height: 2.34rem;
    padding: .5rem .42rem;
    border: 0 !important;
    border-radius: .74rem;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .76rem;
    font-weight: 850;
    line-height: 1.08;
    white-space: normal;
}

.imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft {
    color: #b4251d !important;
}

.imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft {
    color: #3f7f12 !important;
}

.imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft:hover,
.imo-task-show-page .imo-task-feedback-actions .imo-btn-danger-soft.is-active {
    background: rgba(255, 68, 56, .1) !important;
}

.imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft:hover,
.imo-task-show-page .imo-task-feedback-actions .imo-btn-success-soft.is-active {
    background: rgba(118, 188, 33, .12) !important;
}

.imo-task-show-page .imo-task-feedback-forms {
    display: grid;
    gap: .58rem;
}

.imo-task-show-page .imo-task-flags-zone {
    display: grid;
    gap: .32rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.imo-task-show-page .imo-task-flags-section__title {
    margin: 0 0 .32rem;
}

.imo-task-show-page .imo-section-row > span {
    color: var(--cit-muted);
    font-size: .62rem;
    font-weight: 750;
}

.imo-task-show-page .imo-section-count {
    margin-left: .34rem;
    color: var(--cit-muted);
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .02em;
    text-transform: lowercase;
    white-space: nowrap;
}

.imo-task-show-page .imo-timeline-card {
    position: relative;
    overflow: hidden;
}

.imo-task-show-page .imo-timeline-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: rgba(0,167,225,.55);
}

.imo-task-show-page .imo-timeline-card--system::before {
    background: rgba(35,31,32,.22);
}

.imo-task-show-page .imo-timeline-card--activity {
    border-color: rgba(0,167,225,.18);
}

.imo-task-show-page .imo-timeline-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .45rem;
    font-size: .62rem;
    font-weight: 850;
    text-transform: uppercase;
}

.imo-task-show-page .imo-timeline-body {
    margin-top: .45rem;
    line-height: 1.48;
}

.imo-task-show-page .imo-link,
.imo-link {
    color: #007aa5;
    font-weight: 850;
    text-decoration: none;
}

.imo-task-show-page .imo-link:hover,
.imo-link:hover {
    color: var(--cit-primary);
}

.imo-task-show-page .imo-task-file-row {
    padding: .7rem .8rem;
    border-radius: 1rem;
    border-color: rgba(0,167,225,.18);
    background: rgba(0,167,225,.045);
    font-size: .78rem;
}

.imo-btn-danger-soft {
    border-color: rgba(255,68,56,.34) !important;
    background: rgba(255,68,56,.08) !important;
    color: #b4251d !important;
}

.imo-btn-success-soft {
    border-color: rgba(118,188,33,.34) !important;
    background: rgba(118,188,33,.09) !important;
    color: #3f7f12 !important;
}

.imo-btn-warning-soft {
    border-color: rgba(255,198,41,.42) !important;
    background: rgba(255,198,41,.13) !important;
    color: #8a6500 !important;
}

.imo-task-show-page .imo-feedback-entry {
    position: relative;
    padding: .76rem .84rem;
    border: 1px solid rgba(229,234,240,.96);
    border-radius: 1rem;
    background: #fff;
    color: var(--cit-primary);
    font-size: .78rem;
    box-shadow: 0 1px 2px rgba(35,31,32,.025);
}

.imo-task-show-page .imo-feedback-entry--danger {
    border-color: rgba(255,68,56,.28);
    background: rgba(255,68,56,.055);
    color: #b4251d;
}

.imo-task-show-page .imo-feedback-entry--merit {
    border-color: rgba(118,188,33,.3);
    background: rgba(118,188,33,.065);
    color: #3f7f12;
}

.imo-task-show-page .imo-feedback-entry .text-slate-500,
.imo-task-show-page .imo-feedback-entry .text-slate-400 {
    color: rgba(102,112,133,.84);
}

/* Dark mode visibility lock: keep later light-mode rules readable. */
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-white\/70,
html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-slate-100,
html[data-theme="dark"] .bg-red-50,
html[data-theme="dark"] .bg-emerald-50,
html[data-theme="dark"] .bg-amber-50 {
    background-color: rgba(255,255,255,.055) !important;
}

html[data-theme="dark"] .border-slate-50,
html[data-theme="dark"] .border-slate-100,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-red-100,
html[data-theme="dark"] .border-emerald-100,
html[data-theme="dark"] .border-amber-100 {
    border-color: var(--cit-line) !important;
}

html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-teal-700,
html[data-theme="dark"] .text-teal-600 {
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-400 {
    color: var(--cit-muted) !important;
}

html[data-theme="dark"] .imo-create-menu-hero,
html[data-theme="dark"] .imo-create-choice.imo-card-link {
    border-color: rgba(148,163,184,.26) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.08), transparent 12rem),
        var(--cit-surface) !important;
    color: var(--cit-ink) !important;
    text-decoration: none;
}

html[data-theme="dark"] .imo-create-choice strong {
    color: #f5f7fb !important;
}

html[data-theme="dark"] .imo-create-choice small {
    color: #c8d3df !important;
}

html[data-theme="dark"] .imo-create-choice-icon {
    background: #f5f7fb !important;
    color: #0c1117 !important;
}

html[data-theme="dark"] .imo-create-choice-icon svg {
    stroke-width: 2.35;
}

html[data-theme="dark"] .text-red-600,
html[data-theme="dark"] .text-red-700,
html[data-theme="dark"] .text-red-800 {
    color: #ff8f87 !important;
}

html[data-theme="dark"] .text-emerald-700,
html[data-theme="dark"] .text-emerald-800 {
    color: #a8ec66 !important;
}

html[data-theme="dark"] .text-cyan-800 {
    color: #7bdcff !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-title-edit,
html[data-theme="dark"] .imo-task-show-page .imo-task-section-card,
html[data-theme="dark"] .imo-task-show-page .imo-task-composer,
html[data-theme="dark"] .imo-task-show-page .imo-task-timeline-section,
html[data-theme="dark"] .imo-task-show-page .imo-mini-values,
html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs,
html[data-theme="dark"] .imo-task-show-page .imo-financial-panel,
html[data-theme="dark"] .imo-task-show-page .imo-timeline-card,
html[data-theme="dark"] .imo-task-show-page .imo-feedback-entry,
html[data-theme="dark"] .imo-task-show-page .imo-task-file-row,
html[data-theme="dark"] .imo-task-show-page .imo-task-file-box {
    border-color: var(--cit-line) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(0,167,225,.06), transparent 12rem),
        var(--cit-surface) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-composer-textarea,
html[data-theme="dark"] .imo-task-show-page .imo-input,
html[data-theme="dark"] .imo-task-show-page .imo-select,
html[data-theme="dark"] .imo-task-show-page .imo-textarea {
    border-color: var(--cit-line) !important;
    background: rgba(255,255,255,.055) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-dashboard-eyebrow {
    border-color: rgba(123,220,255,.34);
    background:
        linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)),
        rgba(0,167,225,.12);
    color: #bdeeff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 1px 2px rgba(0,0,0,.24);
}

html[data-theme="dark"] .imo-task-show-page .imo-btn-secondary,
html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs button {
    border-color: var(--cit-line) !important;
    background: rgba(255,255,255,.055) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs button.is-active {
    border-color: rgba(0,167,225,.46) !important;
    background: rgba(0,167,225,.16) !important;
    color: #7bdcff !important;
}

@media (min-width: 901px) {
    .imo-task-show-page .imo-financial-tabs,
    .imo-task-show-page .imo-task-file-box {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }
}

html[data-theme="dark"] .imo-task-show-page .imo-feedback-entry--danger,
html[data-theme="dark"] .imo-btn-danger-soft {
    border-color: rgba(255,68,56,.48) !important;
    background: rgba(255,68,56,.14) !important;
    color: #ff8f87 !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-feedback-entry--merit,
html[data-theme="dark"] .imo-btn-success-soft {
    border-color: rgba(118,188,33,.46) !important;
    background: rgba(118,188,33,.14) !important;
    color: #a8ec66 !important;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-flags-zone {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .imo-btn-warning-soft {
    border-color: rgba(255,198,41,.5) !important;
    background: rgba(255,198,41,.15) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] .imo-profile-menu-panel .imo-theme-toggle {
    border-color: rgba(148,163,184,.26);
    background: rgba(255,255,255,.07);
    color: var(--cit-ink);
}

html[data-theme="dark"] .imo-profile-menu-panel .imo-theme-toggle strong {
    background: rgba(0,167,225,.18);
    color: #7bdcff;
}

html[data-theme="dark"] .imo-due-pill--ok,
html[data-theme="dark"] .imo-due-pill--soon {
    border-color: rgba(118,188,33,.46) !important;
    background: rgba(118,188,33,.14) !important;
    color: #a8ec66 !important;
}

html[data-theme="dark"] .imo-create-menu-hero {
    border-color: var(--cit-line) !important;
    background: var(--cit-surface) !important;
    color: var(--cit-ink) !important;
}

html[data-theme="dark"] .imo-due-pill--late,
html[data-theme="dark"] .imo-due-pill--none,
html[data-theme="dark"] .imo-stage-card--no-due,
html[data-theme="dark"] .imo-filter-tone--no-due {
    border-color: rgba(255,68,56,.48) !important;
    background: rgba(255,68,56,.14) !important;
    color: #ff8f87 !important;
}

html[data-theme="dark"] .imo-stat--amber,
html[data-theme="dark"] .text-amber-800,
html[data-theme="dark"] .text-amber-900 {
    border-color: rgba(255,198,41,.5) !important;
    background: rgba(255,198,41,.15) !important;
    color: #ffd96a !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-stat-value.text-amber-800 {
    background: transparent !important;
    border-color: transparent !important;
}

/* Mobile readability bump: keep the dense dashboard, but make daily-use text and tap targets easier to read. */
@media (max-width: 460px) {
    .imo-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .imo-header-inner,
    .imo-nav-inner {
        max-width: 100%;
    }

    .imo-logo {
        width: 2.35rem;
        height: 2.35rem;
        font-size: .78rem;
    }

    .imo-header-brand-line {
        display: inline-flex !important;
        font-size: .78rem !important;
    }

    .imo-chip {
        font-size: .78rem;
        padding: .4rem .68rem;
    }

    .imo-dashboard-hero {
        padding: .9rem .95rem !important;
        border-radius: 1.18rem;
    }

    .imo-dashboard-hero__copy {
        padding-right: 6.9rem;
    }

    .imo-dashboard-hero .imo-page-title {
        font-size: clamp(1.18rem, 5vw, 1.48rem);
        line-height: 1.12;
    }

    .imo-dashboard-hero .imo-page-sub {
        margin-top: .32rem;
        font-size: .86rem;
        line-height: 1.38;
    }

    .imo-dashboard-eyebrow {
        font-size: .6rem;
        padding: .24rem .46rem;
    }

    .imo-card-pad--compact,
    .imo-dashboard-panel {
        padding: .95rem !important;
    }

    .imo-section-title {
        font-size: .84rem;
        letter-spacing: .035em;
        text-transform: none;
        color: #334155;
    }

    .imo-page-sub,
    .text-slate-600,
    .text-slate-500 {
        font-size: .86rem;
    }

    .imo-period-panel {
        padding: .7rem;
    }

    .imo-period-pill,
    .imo-filter-chip,
    .imo-responsible-pill {
        min-height: 2.35rem;
        padding: .56rem .78rem;
        font-size: .78rem;
    }

    .imo-kpi-group {
        gap: .58rem;
        padding: .78rem;
    }

    .imo-kpi-group-title {
        font-size: .72rem;
        letter-spacing: .08em;
    }

    .imo-kpi-section .imo-kpi-grid {
        gap: .62rem;
    }

    .imo-kpi-card {
        min-height: 5.65rem;
        padding: .82rem !important;
        border-radius: 1.18rem;
    }

    .imo-kpi-card .imo-stat-value {
        font-size: clamp(1.55rem, 7vw, 1.95rem);
        line-height: 1;
    }

    .imo-kpi-card .imo-stat-label {
        margin-top: .42rem;
        font-size: .72rem;
        line-height: 1.22;
        letter-spacing: .035em;
    }

    .imo-kpi-card .imo-stat-percent {
        margin-top: .25rem;
        font-size: .7rem;
    }

    .imo-nav-inner {
        padding: .62rem .7rem .4rem;
    }

    .imo-nav-item {
        min-height: 3.35rem;
        gap: .22rem;
        font-size: .72rem;
        border-radius: 1rem;
    }

    .imo-nav-item svg {
        width: 1.38rem;
        height: 1.38rem;
    }
}

/* Mobile dashboard width guard: earlier edge-to-edge rules cancel each other and can create horizontal overflow. */
@media (max-width: 460px) {
    .imo-main:has(.imo-tasks-index-page.imo-dashboard-page--polish) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .imo-main {
        padding-bottom: calc(4.9rem + env(safe-area-inset-bottom, 0)) !important;
    }

    .imo-nav-inner {
        padding-top: .3rem !important;
        padding-bottom: calc(.25rem + env(safe-area-inset-bottom, 0)) !important;
    }

    .imo-nav-item {
        min-height: 2.85rem;
        padding-top: .34rem;
        padding-bottom: .34rem;
    }

    .imo-header-inner,
    .imo-nav-inner {
        width: 100%;
        max-width: 100%;
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }

    .imo-header-inner {
        justify-content: flex-start;
        gap: .34rem;
    }

    .imo-header-inner > a {
        flex: 0 0 auto;
    }

    .imo-header-inner > a .min-w-0 {
        display: block !important;
    }

    .imo-header-actions {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
        gap: .28rem;
    }

    .imo-header-actions .imo-chip,
    .imo-urgent-header-chip,
    .imo-profile-menu summary {
        min-height: 2.1rem;
    }

    .imo-header-actions .imo-chip,
    .imo-urgent-header-chip {
        padding: .42rem .58rem;
        font-size: .72rem;
    }

    .imo-header-actions .imo-chip--with-icon {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 10.8rem;
    }

    .imo-header-actions .imo-header-nav-link {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 13.5rem;
        min-height: 2.1rem;
        padding: .08rem 0;
        font-size: .86rem;
        letter-spacing: -.028em;
    }

    .imo-header-actions .imo-header-nav-link svg {
        width: 1.06rem;
        height: 1.06rem;
    }

    .imo-header-actions .imo-chip--with-icon span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .imo-profile-menu {
        margin-left: auto;
    }

    .imo-profile-menu summary {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        font-size: .72rem;
    }

    .imo-main:has(.imo-dashboard-page) {
        width: 100%;
        max-width: 100%;
        padding-top: .2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip;
    }

    .imo-dashboard-page {
        width: 100%;
        max-width: 100%;
        margin-inline: 0 !important;
        overflow-x: clip;
    }

    .imo-dashboard-page .imo-dashboard-panel {
        padding: .25rem !important;
        margin-bottom: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-dashboard-page .imo-dashboard-hero,
    .imo-dashboard-page .imo-dashboard-panel {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-dashboard-page .imo-dashboard-hero {
        min-height: 0;
        margin-bottom: .28rem;
        padding: .32rem .65rem .36rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-dashboard-page .imo-dashboard-hero__copy {
        padding-right: 6.6rem;
    }

    .imo-dashboard-page .imo-dashboard-hero .imo-page-title {
        margin-top: .1rem;
        margin-bottom: .28rem;
        font-size: clamp(1.05rem, 4.6vw, 1.28rem);
        line-height: 1.08;
    }

    .imo-dashboard-page .imo-dashboard-hero .imo-page-sub {
        margin-top: 0;
        margin-bottom: 0;
        font-size: .78rem;
        line-height: 1.3;
    }

    .imo-dashboard-page .imo-kpi-section,
    .imo-dashboard-page .imo-kpi-group,
    .imo-dashboard-page .imo-kpi-grid,
    .imo-dashboard-page .imo-kpi-financial-strip,
    .imo-dashboard-page .imo-feedback-metrics {
        min-width: 0;
        max-width: 100%;
    }

    .imo-dashboard-page .imo-kpi-card,
    .imo-dashboard-page .imo-feedback-metric {
        min-width: 0;
    }

    .imo-dashboard-page .imo-period-panel,
    .imo-dashboard-page .imo-kpi-group,
    .imo-dashboard-page .imo-dashboard-section,
    .imo-dashboard-page .imo-feedback-metrics {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-dashboard-page .imo-period-panel {
        padding-top: .15rem !important;
        padding-bottom: .15rem !important;
    }

    .imo-dashboard-page .imo-kpi-group {
        gap: .28rem;
    }

    .imo-dashboard-page .imo-kpi-section {
        gap: .35rem;
    }

    .imo-dashboard-page .imo-kpi-section .imo-kpi-grid,
    .imo-dashboard-page .imo-feedback-metrics {
        gap: .25rem !important;
    }

    .imo-dashboard-page .imo-kpi-card {
        padding: .52rem !important;
        border-radius: .86rem;
    }

    .imo-dashboard-page .imo-kpi-group-title {
        padding-inline: .05rem;
    }

    .imo-dashboard-page .imo-microcopy {
        margin-inline: .12rem;
    }
}

/* Mobile task detail width guard: keep every operational block inside the phone viewport. */
@media (max-width: 460px) {
    .imo-main:has(.imo-task-show-page) {
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip;
    }

    .imo-task-show-page,
    .imo-task-show-page > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-task-show-page {
        gap: .5rem;
    }

    .imo-dashboard-page .imo-dashboard-unified-hero,
    .imo-task-show-page .imo-task-hero--premium,
    .imo-task-show-page .imo-task-section-card,
    .imo-task-show-page .imo-task-composer,
    .imo-task-show-page .imo-task-timeline-section,
    .imo-task-show-page .imo-task-feedback-section,
    .imo-task-show-page .imo-mini-values,
    .imo-task-show-page .imo-waiting-panel {
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .imo-task-show-page .imo-mb-section {
        margin-bottom: .5rem !important;
    }

    .imo-task-show-page .imo-task-hero--premium {
        padding-left: .75rem;
        padding-right: .75rem;
        border-radius: 0 0 1rem 1rem !important;
    }

    .imo-task-show-page .imo-task-composer,
    .imo-task-show-page .imo-task-timeline-section,
    .imo-task-show-page .imo-task-feedback-section {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .imo-task-show-page .imo-task-section-card,
    .imo-task-show-page .imo-mini-values {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .imo-task-show-page .imo-timeline-card,
    .imo-task-show-page .imo-feedback-entry,
    .imo-task-show-page .imo-task-file-row,
    .imo-task-show-page .imo-financial-panel,
    .imo-task-show-page .imo-team-primary-box,
    .imo-task-show-page .imo-team-check-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .imo-task-show-page .imo-waiting-panel {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .imo-task-show-page .imo-waiting-panel > form,
    .imo-task-show-page .imo-waiting-panel .imo-input,
    .imo-task-show-page .imo-waiting-panel .imo-textarea,
    .imo-task-show-page .imo-waiting-panel .imo-btn {
        width: 100%;
        max-width: 100%;
    }

    .imo-task-show-page .imo-task-hero-main,
    .imo-task-show-page .imo-task-badgebar,
    .imo-task-show-page .imo-task-composer-form,
    .imo-task-show-page .imo-task-composer-actions,
    .imo-task-show-page .imo-section-row,
    .imo-task-show-page .imo-task-timeline-preview,
    .imo-task-show-page .imo-task-feedback-actions,
    .imo-task-show-page .imo-task-flags-form__options {
        min-width: 0;
        max-width: 100%;
    }

    .imo-task-show-page .imo-task-hero-main {
        align-items: flex-start;
    }

    .imo-task-show-page .imo-task-header-actions {
        flex: 0 0 auto;
    }

    .imo-task-show-page .imo-task-meta,
    .imo-task-show-page .imo-task-members,
    .imo-task-show-page .imo-task-composer-actions,
    .imo-task-show-page .imo-task-feedback-actions,
    .imo-task-show-page .imo-task-flags-form__options {
        flex-wrap: wrap;
    }

    .imo-task-show-page .imo-task-mobile-actions {
        position: static;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
    }

    .imo-task-show-page .imo-task-mobile-actions__status,
    .imo-task-show-page .imo-task-mobile-actions__controls {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .imo-task-show-page .imo-task-mobile-actions__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imo-task-show-page .imo-financial-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100%;
        max-width: 100%;
    }

    .imo-task-show-page .imo-financial-tabs button {
        min-width: 0;
        width: 100%;
        grid-column: auto !important;
    }

    .imo-task-show-page .imo-financial-tabs button:nth-child(3) {
        grid-column: auto !important;
    }

    .imo-task-show-page .imo-financial-panel {
        width: auto;
        max-width: calc(100% - 1.4rem);
    }

    .imo-task-show-page .imo-task-composer-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .imo-task-show-page .imo-task-file-box {
        flex: 1 1 11rem;
    }

    .imo-task-show-page .imo-task-send {
        flex: 1 1 7.5rem;
    }

    .imo-task-show-page .imo-task-composer-actions {
        display: grid;
        grid-template-columns: .72fr 1fr .86fr;
        gap: .32rem;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .imo-task-show-page .imo-task-file-box,
    .imo-task-show-page .imo-task-send {
        min-width: 0;
        width: 100%;
        min-height: 2.65rem;
        border-radius: .85rem;
        flex: unset;
    }

    .imo-task-show-page .imo-task-file-box {
        padding: .42rem .28rem;
    }

    .imo-task-show-page .imo-task-file-box span {
        font-size: .62rem;
    }

    .imo-task-show-page .imo-task-file-box small {
        display: none;
    }

    .imo-task-show-page .imo-task-send {
        padding-inline: .35rem;
        font-size: .78rem;
    }

    .imo-task-show-page .imo-task-collapsible__summary > span {
        max-width: 11rem;
        overflow: hidden;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .imo-task-show-page .imo-task-feedback-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .imo-task-show-page .imo-task-flag-toggle {
        flex: 1 1 9rem;
        min-width: 0;
    }
}

/* Mobile task create: remove desktop form framing and use the full phone width. */
@media (max-width: 460px) {
    .imo-main:has(.imo-task-create-page) {
        width: 100%;
        max-width: 100%;
        padding-top: .2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip;
    }

    .imo-task-create-page,
    .imo-task-create-page > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .imo-task-create-page {
        gap: .28rem;
    }

    .imo-task-create-page .imo-create-task-hero {
        padding: .22rem .5rem .18rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-task-create-page .imo-create-task-hero .imo-page-sub {
        margin-top: .08rem;
        margin-bottom: 0;
        font-size: .76rem;
        line-height: 1.25;
    }

    .imo-task-create-page .imo-form-panel {
        gap: .22rem;
        padding: .12rem 2px calc(5.45rem + env(safe-area-inset-bottom, 0)) !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-task-create-page .imo-form-panel::before {
        display: none;
    }

    .imo-task-create-page .imo-form-section {
        padding: .34rem 0 !important;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .imo-task-create-page .imo-form-section--primary {
        background: transparent !important;
    }

    .imo-task-create-page .imo-form-section-head {
        gap: .42rem;
        margin-bottom: .24rem;
        padding-inline: 6px;
        align-items: center;
        justify-content: space-between;
    }

    .imo-task-create-page .imo-form-section-head > span {
        display: none !important;
    }

    .imo-task-create-page .imo-form-section-head > div {
        flex: 1 1 auto;
        min-width: 0;
    }

    .imo-task-create-page .imo-input,
    .imo-task-create-page .imo-select,
    .imo-task-create-page .imo-textarea {
        width: 100%;
        max-width: 100%;
        min-height: 2.64rem;
        padding-left: .9rem;
        padding-right: .9rem;
        border-radius: .82rem;
    }

    .imo-task-create-page .imo-textarea {
        min-height: 5.25rem;
    }

    .imo-task-create-page .imo-form-options {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2px !important;
        padding: 2px !important;
        border: 1px solid var(--cit-line) !important;
        border-radius: .92rem;
        background: rgba(255, 255, 255, .7) !important;
    }

    .imo-task-create-page .imo-form-options label {
        justify-content: center;
        min-width: 0;
        min-height: 2.34rem;
        padding: .48rem .34rem;
        border-radius: .74rem;
        color: var(--cit-muted) !important;
        font-size: .78rem;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }

    .imo-task-create-page .imo-form-options input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .imo-task-create-page .imo-form-options label:has(input:checked) {
        background: var(--cit-primary);
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(35, 31, 32, .12);
    }

    .imo-task-create-page .imo-form-panel > .imo-btn-primary {
        position: static;
        min-height: 2.75rem;
        margin-top: .16rem !important;
        border-radius: .98rem;
        box-shadow: 0 14px 30px rgba(35, 31, 32, .2);
    }
}

/* Flat app flow: remove large visual containers and keep only compact pills/cards. */
.imo-dashboard-page .imo-dashboard-hero,
.imo-dashboard-page .imo-dashboard-panel,
.imo-dashboard-page .imo-period-panel,
.imo-dashboard-page .imo-kpi-group,
.imo-dashboard-page .imo-feedback-metrics,
.imo-tasks-index-page .imo-list-hero,
.imo-tasks-index-page .imo-filter-dock,
.imo-task-create-page .imo-form-hero,
.imo-task-create-page .imo-form-panel,
.imo-task-create-page .imo-form-section,
.imo-task-show-page .imo-task-hero--premium,
.imo-task-show-page .imo-mini-values,
.imo-task-show-page .imo-task-composer,
.imo-task-show-page .imo-task-timeline-section,
.imo-task-show-page .imo-task-feedback-section,
.imo-task-show-page .imo-task-section-card,
.imo-team-performance-page .imo-performance-hero,
.imo-team-performance-page .imo-performance-card,
.imo-team-members-page .imo-team-top,
.imo-team-members-page .imo-team-directory {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-dashboard-page .imo-dashboard-hero::before,
.imo-dashboard-page .imo-dashboard-hero::after,
.imo-dashboard-page .imo-dashboard-hero__glow,
.imo-task-show-page .imo-task-hero--premium::before,
.imo-task-show-page .imo-task-hero--premium::after,
.imo-task-show-page .imo-task-hero__glow,
.imo-task-create-page .imo-form-panel::before,
.imo-task-create-page .imo-form-hero::before,
.imo-task-create-page .imo-form-hero::after {
    display: none !important;
}

.imo-dashboard-page,
.imo-tasks-index-page,
.imo-task-create-page,
.imo-task-show-page,
.imo-team-performance-page,
.imo-team-members-page {
    gap: .48rem !important;
}

.imo-tasks-index-page {
    gap: .24rem !important;
}

.imo-dashboard-page .imo-dashboard-hero,
.imo-task-create-page .imo-form-hero,
.imo-task-show-page .imo-task-hero--premium,
.imo-team-performance-page .imo-performance-hero,
.imo-team-members-page .imo-team-top {
    margin-bottom: .28rem !important;
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
}

.imo-dashboard-page .imo-dashboard-panel,
.imo-task-create-page .imo-form-panel,
.imo-task-show-page .imo-task-composer,
.imo-task-show-page .imo-task-timeline-section,
.imo-task-show-page .imo-task-feedback-section,
.imo-team-performance-page .imo-performance-card,
.imo-team-members-page .imo-team-directory {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
}

.imo-dashboard-page .imo-kpi-group,
.imo-task-create-page .imo-form-section {
    padding-top: .42rem !important;
    padding-bottom: .42rem !important;
}

.imo-task-show-page .imo-task-hero-kicker {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .28rem;
    margin-bottom: .28rem;
}

.imo-task-show-page .imo-task-hero-kicker .imo-dashboard-eyebrow {
    margin: 0 !important;
}

.imo-task-show-page .imo-task-hero-kicker .imo-badge {
    min-height: 1.34rem;
    padding: .24rem .5rem;
    font-size: .62rem;
}

.imo-task-show-page .imo-task-hero-kicker .imo-badge--emerald {
    border-color: rgba(118,188,33,.5) !important;
    background: rgba(118,188,33,.12) !important;
    color: #3f7f12 !important;
}

.imo-task-show-page .imo-task-header-actions form {
    flex: 0 0 auto;
}

.imo-task-show-page .imo-finish-check:not(.is-done) {
    border-color: rgba(148, 163, 184, .55);
    background: rgba(255, 255, 255, .96);
    color: #64748b;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .04), 0 8px 18px rgba(35, 31, 32, .05);
}

.imo-task-show-page .imo-finish-check:not(.is-done):hover,
.imo-task-show-page .imo-finish-check:not(.is-done):focus-visible {
    border-color: rgba(0, 167, 225, .42);
    background: rgba(0, 167, 225, .06);
    color: #006d94;
}

.imo-task-show-page .imo-finish-check.is-done {
    border-color: var(--cit-success);
    background: var(--cit-success);
    color: #fff;
}

.imo-task-show-page .imo-finish-check {
    width: 3.71rem !important;
    height: 3.71rem !important;
    min-width: 3.71rem;
    min-height: 3.71rem;
    font-size: 1.79rem !important;
    line-height: 1;
    touch-action: manipulation;
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-finish-check {
        width: 4.23rem !important;
        height: 4.23rem !important;
        min-width: 4.23rem;
        min-height: 4.23rem;
        font-size: 2.02rem !important;
    }

    .imo-task-show-page .imo-task-badgebar {
        grid-template-columns: unset;
    }

    .imo-task-show-page .imo-task-badgebar-actions {
        flex-basis: 3.25rem;
        width: 3.25rem;
    }
}

.imo-task-show-page .imo-waiting-panel .imo-label {
    margin-bottom: -.45rem;
    padding-left: .1rem;
    color: var(--cit-muted);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .03em;
}

.imo-task-create-page .imo-form-options,
.imo-task-show-page .imo-task-flags-form__options {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2px !important;
    width: 100%;
    padding: 2px !important;
    border: 1px solid rgba(229, 234, 240, .96) !important;
    border-radius: .92rem !important;
    background: rgba(255, 255, 255, .72) !important;
    box-shadow: none;
}

.imo-task-create-page .imo-form-options label,
.imo-task-show-page .imo-task-flag-toggle {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.34rem;
    padding: .5rem .34rem !important;
    border: 0 !important;
    border-radius: .74rem !important;
    background: transparent !important;
    color: var(--cit-muted) !important;
    cursor: pointer;
    font-size: .76rem !important;
    font-weight: 850 !important;
    line-height: 1.08;
    text-align: center;
    white-space: nowrap;
    box-shadow: none !important;
}

.imo-task-create-page .imo-form-options input[type="radio"],
.imo-task-show-page .imo-task-flag-toggle input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.imo-task-create-page .imo-form-options label:has(input:checked),
.imo-task-show-page .imo-task-flag-toggle:has(input:checked) {
    background: var(--cit-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(35, 31, 32, .14) !important;
}

.imo-task-show-page .imo-task-flags-form {
    display: block !important;
}

.imo-task-show-page .imo-task-flags-form .imo-btn,
.imo-task-show-page .imo-task-flags-form__submit {
    display: none !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options,
html[data-theme="dark"] .imo-task-show-page .imo-task-flags-form__options {
    border-color: rgba(170, 184, 200, .34) !important;
    background: rgba(255, 255, 255, .075) !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options label,
html[data-theme="dark"] .imo-task-show-page .imo-task-flag-toggle {
    color: #e1ebf6 !important;
}

html[data-theme="dark"] .imo-task-create-page .imo-form-options label:has(input:checked),
html[data-theme="dark"] .imo-task-show-page .imo-task-flag-toggle:has(input:checked) {
    background: var(--cit-primary) !important;
    color: #0c1117 !important;
}

@media (max-width: 460px) {
    .imo-dashboard-page .imo-filter-strip {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .32rem !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .imo-dashboard-page .imo-filter-chip {
        width: 100%;
        min-width: 0;
        justify-content: center;
        min-height: 2.6rem;
        padding: .52rem .32rem;
        font-size: .68rem;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
    }
}

html[data-theme="dark"] .imo-profile-menu summary {
    border-color: rgba(226, 236, 248, .34) !important;
    background: rgba(255, 255, 255, .09) !important;
    color: #f8fbff !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        0 0 0 3px rgba(255, 255, 255, .035),
        0 8px 20px rgba(0, 0, 0, .28) !important;
}

html[data-theme="dark"] .imo-profile-menu[open] summary {
    border-color: rgba(123, 220, 255, .55) !important;
    background: rgba(0, 167, 225, .16) !important;
    color: #dff7ff !important;
}

/* Text optical alignment: keep content slightly away from the left edge in pill/card rows. */
.imo-task-show-page .imo-timeline-card {
    padding-left: .9rem !important;
    padding-right: .76rem !important;
}

.imo-task-show-page .imo-timeline-meta,
.imo-task-show-page .imo-timeline-body {
    padding-left: .08rem;
}

.imo-task-show-page .imo-timeline-card--activity .imo-timeline-body,
.imo-task-show-page .imo-timeline-card--preview.imo-timeline-card--activity .imo-timeline-body {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.imo-task-title-row,
.imo-feedback-item {
    padding-left: .82rem !important;
}

.imo-member-chip--primary {
    padding-left: .46rem !important;
}

.imo-task-show-page .imo-task-file-box {
    padding-left: .72rem !important;
    padding-right: .58rem !important;
}

.imo-task-create-page .imo-form-section-head {
    gap: 0 !important;
    justify-content: flex-start !important;
}

.imo-task-create-page .imo-form-section-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

.imo-microcopy {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-task-show-page .imo-task-composer {
    padding-top: .36rem !important;
}

.imo-task-show-page .imo-task-composer-head {
    align-items: baseline !important;
    gap: .45rem !important;
    margin-bottom: .22rem !important;
    padding-inline: 2px !important;
}

.imo-task-show-page .imo-task-composer-head h2 {
    margin: 0 !important;
    color: var(--cit-primary) !important;
    font-size: .92rem !important;
    line-height: 1.15;
}

.imo-task-show-page .imo-task-composer-head span {
    color: #007aa5 !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    letter-spacing: .1em;
    line-height: 1;
    white-space: nowrap;
}

.imo-main:has(.imo-team-members-page) {
    width: min(100%, 48rem) !important;
    max-width: 48rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.imo-team-members-page {
    width: 100%;
    max-width: 48rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.imo-due-pill,
.imo-action-pill,
.imo-filter-chip:not(.imo-dashboard-page .imo-filter-chip),
.imo-badge:not(.imo-task-hero-kicker .imo-badge) {
    padding-left: .62rem;
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-timeline-card {
        padding-left: .72rem !important;
        padding-right: .54rem !important;
    }

    .imo-task-show-page .imo-timeline-meta,
    .imo-task-show-page .imo-timeline-body {
        padding-left: .04rem;
    }

    .imo-task-title-row,
    .imo-feedback-item {
        padding-left: .66rem !important;
    }

    .imo-task-row-signals {
        gap: .2rem;
        max-width: 42%;
    }

    .imo-task-row-signals span {
        min-height: 1.05rem;
        padding: .12rem .34rem;
        font-size: .52rem;
    }

    .imo-member-chip--primary {
        padding-left: .38rem !important;
    }

    .imo-task-show-page .imo-task-file-box {
        padding-left: .6rem !important;
        padding-right: .46rem !important;
    }

    .imo-task-create-page .imo-form-section-head {
        padding-inline: 2px !important;
    }

    .imo-task-show-page .imo-task-composer {
        padding-top: .3rem !important;
    }

    .imo-task-show-page .imo-task-composer-head {
        margin-bottom: .18rem !important;
    }

    .imo-task-show-page .imo-task-composer-head h2 {
        font-size: .9rem !important;
    }

    .imo-task-show-page .imo-task-composer-head span {
        font-size: .54rem !important;
        letter-spacing: .08em;
    }

    .imo-main:has(.imo-team-members-page),
    .imo-team-members-page {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.imo-task-show-page .imo-image-preview {
    align-items: center !important;
    padding: 0 !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, .86) !important;
}

.imo-task-show-page .imo-image-preview-panel {
    width: auto !important;
    max-width: calc(100vw - 1.5rem) !important;
    height: auto !important;
    max-height: calc(100dvh - 1.5rem) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-task-show-page .imo-image-preview-bar {
    position: relative;
    z-index: 2;
    min-height: 0;
    padding: 0;
    justify-content: flex-end;
    pointer-events: none;
}

.imo-task-show-page .imo-image-preview-close {
    position: fixed;
    top: max(.7rem, env(safe-area-inset-top, 0));
    right: max(.7rem, env(safe-area-inset-right, 0));
    z-index: 1002;
    width: 2.9rem;
    height: 2.9rem;
    min-width: 2.9rem;
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 999px;
    background: rgba(8, 12, 18, .82);
    color: #fff !important;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    pointer-events: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,.45);
    box-shadow: 0 12px 28px rgba(0,0,0,.38);
}

.imo-task-show-page .imo-image-preview-panel img {
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 1.5rem) !important;
    max-height: 100dvh !important;
    object-fit: contain;
    border-radius: 0 !important;
    background: transparent !important;
}

.imo-task-show-page .imo-task-file-box {
    justify-content: flex-start;
}

.imo-task-show-page .imo-task-file-box .imo-task-file-input {
    flex: 1 1 auto;
    width: 100%;
}

@media (max-width: 460px) {
    .imo-dashboard-page .imo-filter-strip {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .38rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding-inline: 0 !important;
    }

    .imo-dashboard-page .imo-filter-chip {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 3.35rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: .34rem .2rem !important;
        border-radius: 1.1rem !important;
        font-size: .72rem !important;
        line-height: 1.06 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .imo-team-performance-page .imo-responsible-pills,
    .imo-team-performance-page .imo-filter-strip {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .34rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .imo-team-performance-page .imo-responsible-pill,
    .imo-team-performance-page .imo-filter-chip {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 2.55rem !important;
        justify-content: center !important;
        padding: .3rem .18rem !important;
        border-radius: 1rem !important;
        font-size: .6rem !important;
        line-height: 1.05 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        box-shadow: none !important;
    }

    .imo-team-performance-page .imo-filter-chip {
        min-height: 3.25rem !important;
        font-size: .7rem !important;
        font-weight: 850 !important;
    }
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-image-preview {
        padding: 0 !important;
    }

    .imo-task-show-page .imo-image-preview-panel {
        width: auto !important;
        max-width: calc(100vw - 1rem) !important;
        height: auto !important;
        max-height: calc(100dvh - 1rem) !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .imo-task-show-page .imo-image-preview-panel img {
        max-width: calc(100vw - 1rem) !important;
        max-height: calc(100dvh - 1rem) !important;
    }
}

@media (max-width: 900px) {
    .imo-team-performance-page .imo-performance-hero {
        margin-bottom: .28rem !important;
        padding: .42rem .48rem !important;
        border-radius: 1rem !important;
    }

    .imo-team-performance-page .imo-team-header {
        padding: .34rem .5rem !important;
        border-radius: .9rem !important;
    }

    .imo-team-performance-page .imo-team-header .imo-page-title {
        font-size: 1rem !important;
        line-height: 1.05 !important;
    }

    .imo-team-performance-page .imo-team-header .imo-page-sub {
        margin-top: .04rem !important;
        font-size: .64rem !important;
        line-height: 1.05 !important;
    }

    .imo-team-performance-page .imo-team-add-cta {
        min-height: 1.55rem !important;
        padding: .22rem .48rem !important;
        font-size: .62rem !important;
    }

    .imo-team-performance-page .imo-performance-card {
        padding-top: .48rem !important;
        padding-bottom: .46rem !important;
    }

    .imo-team-performance-page .imo-performance-card-head {
        margin-bottom: .32rem !important;
    }

    .imo-team-performance-page .imo-section-title {
        font-size: .86rem !important;
        line-height: 1.05 !important;
    }

    .imo-team-performance-page .imo-performance-card-head > span {
        font-size: .68rem !important;
        line-height: 1 !important;
    }

    .imo-team-performance-page .imo-responsible-quick {
        margin-bottom: .42rem !important;
    }

    .imo-team-performance-page .imo-responsible-pills {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: .32rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .imo-team-performance-page .imo-responsible-pill {
        min-height: 2.18rem !important;
        padding: .28rem .18rem !important;
        border-radius: .78rem !important;
        font-size: .62rem !important;
        line-height: 1.05 !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .imo-team-performance-page .imo-filter-strip {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .34rem .42rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        margin-top: .1rem !important;
        margin-bottom: .58rem !important;
    }

    .imo-team-performance-page .imo-filter-strip .imo-filter-chip {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 2.22rem !important;
        aspect-ratio: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: .2rem .12rem !important;
        border-radius: .72rem !important;
        font-size: .62rem !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        box-shadow: none !important;
    }

    .imo-team-performance-page .imo-filter-strip .imo-filter-chip.is-active {
        box-shadow: inset 0 0 0 1.5px currentColor !important;
    }
}

@media (min-width: 461px) and (max-width: 900px) {
    .imo-team-performance-page .imo-responsible-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: .22rem !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .imo-team-performance-page .imo-responsible-pill {
        width: auto !important;
        min-width: 0 !important;
        min-height: 1.34rem !important;
        padding: .17rem .38rem !important;
        border-radius: 999px !important;
        font-size: .6rem !important;
        line-height: 1 !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .imo-team-performance-page .imo-filter-strip {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: .42rem !important;
        overflow: visible !important;
        margin-top: 0 !important;
        margin-bottom: .75rem !important;
        padding: 0 !important;
    }

    .imo-team-performance-page .imo-filter-strip .imo-filter-chip {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: .25rem .5rem !important;
        border-radius: 999px !important;
        font-size: .625rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        box-shadow: 0 1px 2px rgba(15,23,42,.035) !important;
    }
}

@media (max-width: 460px) {
    .imo-team-performance-page .imo-responsible-quick {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: .18rem !important;
        width: 100% !important;
        margin-bottom: .3rem !important;
    }

    .imo-team-performance-page .imo-responsible-trigger {
        list-style: none;
        min-height: 2.15rem;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        padding: .34rem .58rem;
        border: 1px solid var(--cit-line);
        border-radius: .82rem;
        background: #fff;
        color: var(--cit-primary);
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(35,31,32,.03);
        width: 100%;
    }

    .imo-team-performance-page .imo-responsible-trigger::-webkit-details-marker {
        display: none;
    }

    .imo-team-performance-page .imo-responsible-trigger::after {
        content: "▾";
        color: var(--cit-muted);
        font-size: .72rem;
        line-height: 1;
    }

    .imo-team-performance-page .imo-responsible-quick[open] .imo-responsible-trigger::after {
        content: "▴";
    }

    .imo-team-performance-page .imo-responsible-trigger span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .72rem;
        font-weight: 900;
    }

    .imo-team-performance-page .imo-responsible-trigger small {
        flex: 0 0 auto;
        color: #007aa5;
        font-size: .58rem;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .imo-team-performance-page .imo-responsible-pills {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .16rem !important;
        max-height: none !important;
        overflow: visible !important;
        padding: .2rem 0 0 !important;
    }

    .imo-team-performance-page .imo-responsible-quick:not([open]) .imo-responsible-pills {
        display: none !important;
    }

    .imo-team-performance-page .imo-responsible-pill {
        min-height: 1.62rem !important;
        padding: .18rem .28rem !important;
        font-size: .58rem !important;
        line-height: 1 !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Final override: Impact financiar compact agent/period bar and dense task rows. */
.imo-financial-impact-page .imo-financial-hero__topbar {
    display: flex !important;
    align-items: center !important;
    gap: .5rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

.imo-financial-impact-page .imo-financial-hero__topbar .imo-agent-scope {
    flex: 0 1 auto !important;
    min-width: 0 !important;
}

.imo-financial-impact-page .imo-financial-hero__topbar .imo-financial-period-pills {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
}

.imo-financial-impact-page .imo-financial-row {
    align-items: start !important;
    padding-top: .36rem !important;
    padding-bottom: .36rem !important;
}

.imo-financial-impact-page .imo-financial-row__icon,
.imo-financial-impact-page .imo-financial-row__value,
.imo-financial-impact-page .imo-financial-row__date {
    align-self: start !important;
    margin-top: .02rem !important;
}

.imo-financial-impact-page .imo-financial-row__main {
    gap: .04rem !important;
}

.imo-financial-impact-page .imo-financial-row__main small {
    -webkit-line-clamp: 1 !important;
}

@media (max-width: 460px) {
    .imo-financial-impact-page .imo-financial-hero {
        grid-template-columns: 1fr !important;
        gap: .34rem !important;
        padding: .46rem .5rem .42rem !important;
    }

    .imo-financial-impact-page .imo-financial-hero__identity {
        display: block !important;
        width: 100% !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar {
        gap: .26rem !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-agent-scope {
        flex: 0 0 auto !important;
        max-width: 46% !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-agent-scope-trigger {
        min-height: 1.7rem !important;
        max-width: 100% !important;
        padding: .12rem .5rem .12rem .14rem !important;
        border-color: rgba(37, 99, 235, .24) !important;
        background: linear-gradient(180deg, #ffffff, #eff6ff) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 14px rgba(37,99,235,.08) !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-agent-scope-trigger > span {
        width: 1.24rem !important;
        height: 1.24rem !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-agent-scope-trigger strong {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-financial-period-pills {
        width: auto !important;
        max-width: none !important;
        padding: .08rem !important;
        justify-content: flex-start !important;
    }

    .imo-financial-impact-page .imo-financial-hero__topbar .imo-period-pill {
        min-height: 1.34rem !important;
        padding: .16rem .36rem !important;
        font-size: .54rem !important;
    }

    .imo-financial-impact-page .imo-financial-hero__period {
        margin-top: .04rem !important;
        gap: .14rem !important;
    }

    .imo-financial-impact-page .imo-financial-row {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: start !important;
        column-gap: .34rem !important;
        row-gap: .1rem !important;
        padding: .34rem .1rem !important;
    }

    .imo-financial-impact-page .imo-financial-row__icon {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
        font-size: .62rem !important;
    }

    .imo-financial-impact-page .imo-financial-row__main {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        gap: .02rem !important;
        min-width: 0 !important;
    }

    .imo-financial-impact-page .imo-financial-row__main strong {
        font-size: .68rem !important;
        line-height: 1.1 !important;
    }

    .imo-financial-impact-page .imo-financial-row__main small {
        font-size: .51rem !important;
        line-height: 1.08 !important;
        -webkit-line-clamp: 1 !important;
    }

    .imo-financial-impact-page .imo-financial-row__value {
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: start !important;
        min-width: 3.7rem !important;
        padding-top: 0 !important;
        font-size: .62rem !important;
        line-height: 1.05 !important;
        text-align: right !important;
    }

    .imo-financial-impact-page .imo-financial-row__value--revenue {
        grid-row: 1 !important;
    }

    .imo-financial-impact-page .imo-financial-row__value--reduction {
        grid-row: 2 !important;
    }

    .imo-financial-impact-page .imo-financial-row__value em {
        font-size: .48rem !important;
    }

    .imo-financial-impact-page .imo-financial-row__date {
        grid-column: 2 / 4 !important;
        grid-row: 3 !important;
        justify-self: start !important;
        margin-top: -.02rem !important;
        font-size: .49rem !important;
    }
}

/* Final override: remove redundant period label and integrate the financial agent pill. */
.imo-financial-impact-page .imo-financial-hero {
    align-items: start !important;
}

.imo-financial-impact-page .imo-financial-hero__identity {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.imo-financial-impact-page .imo-financial-hero__period {
    align-self: end !important;
    justify-items: end !important;
    gap: 0 !important;
    padding-right: .16rem !important;
}

.imo-financial-impact-page .imo-financial-hero__period strong {
    display: none !important;
}

.imo-financial-impact-page .imo-financial-hero__period small {
    color: #406180 !important;
    font-size: .66rem !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}

.imo-financial-impact-page .imo-agent-scope-trigger {
    border-color: rgba(37, 99, 235, .26) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,246,255,.92)),
        radial-gradient(circle at 0% 0%, rgba(37,99,235,.16), transparent 36%) !important;
    color: #102a56 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.96),
        0 8px 18px rgba(37,99,235,.08) !important;
}

.imo-financial-impact-page .imo-agent-scope-trigger > span {
    border: 1px solid rgba(37,99,235,.24) !important;
    background: linear-gradient(180deg, #eaf3ff, #dceaff) !important;
    color: #2457d6 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.imo-financial-impact-page .imo-agent-scope-trigger strong {
    color: #0f254a !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
}

@media (max-width: 460px) {
    .imo-financial-impact-page .imo-financial-hero {
        gap: .2rem !important;
        padding-bottom: .34rem !important;
    }

    .imo-financial-impact-page .imo-financial-hero__period {
        width: 100% !important;
        justify-items: start !important;
        padding-left: calc(46% + .36rem) !important;
        padding-right: 0 !important;
    }

    .imo-financial-impact-page .imo-financial-hero__period small {
        font-size: .61rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .imo-financial-impact-page .imo-agent-scope-trigger {
        border-color: rgba(37, 99, 235, .3) !important;
        background:
            linear-gradient(180deg, #ffffff, #eef6ff),
            radial-gradient(circle at top left, rgba(37,99,235,.18), transparent 42%) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.95),
            0 7px 16px rgba(37,99,235,.1) !important;
    }
}

/* Final override: premium operational feedback detail pages. */
.imo-operational-feedback-page {
    --feedback-accent: #dc2626;
    --feedback-accent-dark: #991b1b;
    --feedback-accent-soft: rgba(254, 226, 226, .9);
    --feedback-accent-faint: rgba(254, 242, 242, .92);
    --feedback-card-border: rgba(226, 232, 240, .92);
    --feedback-card-shadow: 0 18px 42px rgba(15, 23, 42, .07);
    display: grid !important;
    gap: .75rem !important;
    padding-bottom: 1rem !important;
}

.imo-operational-feedback-page--good {
    --feedback-accent: #16a34a;
    --feedback-accent-dark: #166534;
    --feedback-accent-soft: rgba(220, 252, 231, .92);
    --feedback-accent-faint: rgba(240, 253, 244, .94);
}

.imo-feedback-detail-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 1rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-feedback-detail-hero__copy {
    min-width: 0 !important;
}

.imo-operational-feedback-page .imo-page-title {
    margin: 0 !important;
    color: #111827 !important;
    font-size: clamp(1.72rem, 3.2vw, 2.7rem) !important;
    line-height: .96 !important;
    letter-spacing: -.075em !important;
}

.imo-operational-feedback-page .imo-page-sub {
    max-width: 39rem !important;
    margin-top: .5rem !important;
    color: #64748b !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
}

.imo-feedback-detail-controls {
    display: grid !important;
    grid-template-columns: minmax(11rem, auto) minmax(9rem, auto) !important;
    align-items: stretch !important;
    gap: .55rem !important;
    min-width: min(100%, 28rem) !important;
}

.imo-feedback-detail-control {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: .36rem !important;
    min-width: 0 !important;
}

.imo-feedback-detail-control .imo-select {
    width: auto !important;
    min-width: 8.6rem !important;
    min-height: 2.28rem !important;
    border-radius: .8rem !important;
    border-color: rgba(226, 232, 240, .96) !important;
    background-color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05) !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
}

.imo-feedback-identity-pill,
.imo-feedback-detail-period {
    display: grid !important;
    align-items: center !important;
    min-height: 3.7rem !important;
    border: 1px solid var(--feedback-card-border) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055) !important;
}

.imo-feedback-identity-pill {
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: .7rem !important;
    padding: .62rem .9rem !important;
}

.imo-feedback-identity-pill > span {
    grid-row: 1 / span 2 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 2.35rem !important;
    height: 2.35rem !important;
    border-radius: 999px !important;
    background: var(--feedback-accent-faint) !important;
    color: var(--feedback-accent-dark) !important;
    font-size: .8rem !important;
    font-weight: 950 !important;
}

.imo-feedback-identity-pill strong,
.imo-feedback-detail-period span {
    color: #111827 !important;
    font-size: .78rem !important;
    font-weight: 950 !important;
    letter-spacing: -.025em !important;
}

.imo-feedback-identity-pill small {
    color: #64748b !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
}

.imo-feedback-detail-period {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: .55rem !important;
    padding: .62rem .9rem !important;
}

.imo-feedback-detail-period svg {
    width: 1rem !important;
    height: 1rem !important;
    color: var(--feedback-accent) !important;
}

.imo-feedback-detail-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .75rem !important;
}

.imo-feedback-detail-stats article,
.imo-feedback-stat-filter,
.imo-feedback-detail-card {
    position: relative !important;
    border: 1px solid var(--feedback-card-border) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: var(--feedback-card-shadow) !important;
}

.imo-feedback-detail-stats article,
.imo-feedback-stat-filter {
    display: flex !important;
    align-items: center !important;
    gap: .85rem !important;
    min-height: 6rem !important;
    padding: .95rem 1.05rem !important;
    color: inherit !important;
    text-decoration: none !important;
}

.imo-feedback-detail-stats article::after,
.imo-feedback-stat-filter::after {
    content: "" !important;
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    width: .42rem !important;
    height: .42rem !important;
    border-radius: 999px !important;
    background: var(--feedback-accent) !important;
    box-shadow: 0 0 0 5px var(--feedback-accent-faint) !important;
}

.imo-feedback-stat-filter {
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

.imo-feedback-stat-filter:hover,
.imo-feedback-stat-filter.is-active {
    border-color: color-mix(in srgb, var(--feedback-accent) 34%, var(--feedback-card-border)) !important;
    box-shadow: 0 16px 30px color-mix(in srgb, var(--feedback-accent) 12%, transparent), var(--feedback-card-shadow) !important;
    transform: translateY(-1px) !important;
}

.imo-feedback-stat-icon,
.imo-feedback-card-icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    width: 2.65rem !important;
    height: 2.65rem !important;
    border-radius: 999px !important;
    background: var(--feedback-accent-faint) !important;
    color: var(--feedback-accent) !important;
    font-size: 1.05rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.imo-feedback-detail-stats small {
    display: block !important;
    color: #475569 !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
}

.imo-feedback-detail-stats strong {
    display: block !important;
    margin: .14rem 0 .08rem !important;
    color: var(--feedback-accent) !important;
    font-size: 1.72rem !important;
    line-height: .95 !important;
    letter-spacing: -.06em !important;
}

.imo-feedback-detail-stats em {
    display: block !important;
    color: #64748b !important;
    font-size: .68rem !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

.imo-feedback-detail-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
}

.imo-feedback-detail-grid--primary {
    align-items: start !important;
}

.imo-feedback-detail-card {
    overflow: hidden !important;
    padding: .98rem 1.05rem !important;
}

.imo-feedback-detail-card__head {
    display: flex !important;
    align-items: start !important;
    gap: .72rem !important;
    margin-bottom: .7rem !important;
}

.imo-feedback-card-icon {
    width: 2.2rem !important;
    height: 2.2rem !important;
    font-size: .88rem !important;
}

.imo-feedback-detail-card h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: .92rem !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
}

.imo-feedback-detail-card p {
    margin: .16rem 0 0 !important;
    color: #64748b !important;
    font-size: .7rem !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
}

.imo-feedback-detail-list,
.imo-feedback-detail-table {
    display: grid !important;
    gap: 0 !important;
}

.imo-feedback-detail-list--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem !important;
}

.imo-feedback-detail-list div,
.imo-feedback-detail-list a,
.imo-feedback-detail-table a {
    display: grid !important;
    align-items: center !important;
    gap: .55rem !important;
    min-height: 2.36rem !important;
    padding: .42rem 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(226, 232, 240, .82) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.imo-feedback-detail-list div,
.imo-feedback-detail-list a {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
}

.imo-feedback-detail-list span,
.imo-feedback-detail-table span,
.imo-feedback-detail-table small,
.imo-feedback-detail-table em {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #334155 !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
}

.imo-feedback-detail-list span {
    position: static !important;
    padding-left: 0 !important;
}

.imo-feedback-task-status {
    display: grid !important;
    place-items: center !important;
    width: .82rem !important;
    height: .82rem !important;
    border: 1.5px solid var(--feedback-accent) !important;
    border-radius: 999px !important;
    color: transparent !important;
    font-size: .56rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    opacity: .82 !important;
    transform: translateY(.02rem) !important;
}

.imo-feedback-task-row--done > .imo-feedback-task-status {
    border-color: #22c55e !important;
    background: #22c55e !important;
    color: #fff !important;
    opacity: 1 !important;
}

.imo-feedback-detail-list .imo-feedback-task-row span {
    display: grid !important;
    gap: .16rem !important;
    white-space: normal !important;
}

.imo-feedback-detail-list .imo-feedback-task-row b {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #1e293b !important;
    font-size: .78rem !important;
    font-weight: 950 !important;
    line-height: 1.18 !important;
    text-overflow: ellipsis !important;
}

.imo-feedback-detail-list .imo-feedback-task-row small {
    color: #64748b !important;
    font-size: .66rem !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
}

.imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reasons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: .18rem .45rem !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason {
    display: inline-flex !important;
    align-items: center !important;
    gap: .18rem !important;
    padding-left: 0 !important;
    color: #64748b !important;
}

.imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason::before,
.imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reasons::before {
    content: none !important;
}

.imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason svg {
    width: .74rem !important;
    height: .74rem !important;
    color: var(--feedback-accent) !important;
    stroke-width: 2.2 !important;
    flex: 0 0 auto !important;
}

.imo-feedback-detail-list strong,
.imo-feedback-detail-table strong {
    color: var(--feedback-accent) !important;
    font-size: .76rem !important;
    font-weight: 950 !important;
}

.imo-feedback-chart-card {
    padding-bottom: 1.1rem !important;
}

.imo-feedback-chart {
    display: flex !important;
    align-items: end !important;
    gap: clamp(.42rem, 1.2vw, .9rem) !important;
    min-height: 15.5rem !important;
    padding: 1rem .35rem .25rem !important;
    border-top: 1px solid rgba(226, 232, 240, .78) !important;
    background-image: linear-gradient(to top, rgba(148, 163, 184, .18) 1px, transparent 1px) !important;
    background-size: 100% 2.8rem !important;
    overflow-x: auto !important;
}

.imo-feedback-chart__bar {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    justify-items: center !important;
    align-items: end !important;
    flex: 1 0 2.25rem !important;
    min-width: 2.25rem !important;
    height: 13.2rem !important;
}

.imo-feedback-chart__bar strong {
    color: #334155 !important;
    font-size: .68rem !important;
    font-weight: 950 !important;
}

.imo-feedback-chart__bar span {
    display: block !important;
    width: min(100%, 1.05rem) !important;
    height: var(--bar-height) !important;
    min-height: .45rem !important;
    border-radius: .35rem .35rem .12rem .12rem !important;
    background: linear-gradient(180deg, var(--feedback-accent), var(--feedback-accent-dark)) !important;
    box-shadow: 0 10px 18px color-mix(in srgb, var(--feedback-accent) 24%, transparent) !important;
}

.imo-feedback-chart__bar small {
    margin-top: .35rem !important;
    color: #64748b !important;
    font-size: .62rem !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.imo-feedback-detail-table a {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto auto !important;
}

.imo-feedback-detail-table small {
    grid-column: auto !important;
}

.imo-feedback-detail-table em {
    justify-self: start !important;
    padding: .2rem .48rem !important;
    border-radius: 999px !important;
    background: var(--feedback-accent-faint) !important;
    color: var(--feedback-accent-dark) !important;
    font-style: normal !important;
}

.imo-feedback-empty {
    padding: .8rem 0 !important;
    color: #64748b !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
}

@media (max-width: 980px) {
    .imo-feedback-detail-hero,
    .imo-feedback-detail-stats,
    .imo-feedback-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .imo-feedback-detail-controls {
        min-width: 0 !important;
    }

    .imo-feedback-detail-table a {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .imo-feedback-detail-table small,
    .imo-feedback-detail-table em {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    .imo-operational-feedback-page {
        gap: .55rem !important;
    }

    .imo-feedback-detail-controls,
    .imo-feedback-detail-control,
    .imo-feedback-detail-list--compact {
        grid-template-columns: 1fr !important;
    }

    .imo-feedback-detail-control {
        display: grid !important;
        order: 3 !important;
    }

    .imo-feedback-detail-control .imo-select {
        width: 100% !important;
    }

    .imo-feedback-detail-stats article {
        min-height: 4.8rem !important;
        padding: .75rem .82rem !important;
    }

    .imo-feedback-stat-icon {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    .imo-feedback-chart {
        min-height: 12.6rem !important;
    }

    .imo-feedback-chart__bar {
        flex-basis: 2rem !important;
        min-width: 2rem !important;
        height: 10.5rem !important;
    }
}

html[data-theme="dark"] .imo-operational-feedback-page {
    --feedback-card-border: rgba(148, 163, 184, .22);
    --feedback-card-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .imo-feedback-detail-hero {
    border-color: color-mix(in srgb, var(--feedback-accent) 24%, rgba(148, 163, 184, .22)) !important;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--feedback-accent) 18%, transparent), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--feedback-accent) 12%, #0f172a), rgba(15, 23, 42, .84)) !important;
}

html[data-theme="dark"] .imo-feedback-identity-pill,
html[data-theme="dark"] .imo-feedback-detail-period,
html[data-theme="dark"] .imo-feedback-detail-stats article,
html[data-theme="dark"] .imo-feedback-detail-card {
    background: rgba(15, 23, 42, .72) !important;
    border-color: rgba(148, 163, 184, .22) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-page-title,
html[data-theme="dark"] .imo-feedback-identity-pill strong,
html[data-theme="dark"] .imo-feedback-detail-period span,
html[data-theme="dark"] .imo-feedback-detail-card h2 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-page-sub,
html[data-theme="dark"] .imo-feedback-identity-pill small,
html[data-theme="dark"] .imo-feedback-detail-card p,
html[data-theme="dark"] .imo-feedback-chart__bar small,
html[data-theme="dark"] .imo-feedback-empty {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .imo-feedback-detail-list div,
html[data-theme="dark"] .imo-feedback-detail-list a,
html[data-theme="dark"] .imo-feedback-detail-table a,
html[data-theme="dark"] .imo-feedback-chart {
    border-color: rgba(148, 163, 184, .18) !important;
}

html[data-theme="dark"] .imo-feedback-detail-list span,
html[data-theme="dark"] .imo-feedback-detail-table span,
html[data-theme="dark"] .imo-feedback-detail-table small,
html[data-theme="dark"] .imo-feedback-chart__bar strong {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-feedback-detail-control .imo-select {
    background-color: rgba(15, 23, 42, .82) !important;
    border-color: rgba(148, 163, 184, .24) !important;
    color: #e2e8f0 !important;
}

.imo-dashboard-page .imo-feedback-metric,
.imo-dashboard-page .imo-feedback-metric *,
.imo-dashboard-page .imo-feedback-card--enterprise,
.imo-dashboard-page .imo-feedback-card--enterprise * {
    text-decoration: none !important;
}

/* Final override: operational feedback follows the dashboard width and uses the extra room. */
.imo-main:has(.imo-operational-feedback-page) {
    width: min(100%, 35rem) !important;
    max-width: 35rem !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    overflow-x: clip !important;
}

.imo-operational-feedback-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: .5rem !important;
    padding-inline: clamp(.55rem, 1.4vw, 1rem) !important;
}

.imo-feedback-detail-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: .34rem !important;
    padding: .48rem .52rem .58rem !important;
    border: 1px solid color-mix(in srgb, var(--feedback-accent) 18%, transparent) !important;
    border-radius: 1rem !important;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--feedback-accent) 14%, transparent), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--feedback-accent) 8%, #ffffff), rgba(255, 255, 255, .92)) !important;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--feedback-accent) 8%, transparent) !important;
    overflow: visible !important;
}

.imo-feedback-detail-hero__copy {
    min-width: 0 !important;
    padding-inline: .04rem !important;
}

.imo-operational-feedback-page .imo-page-title {
    max-width: none !important;
    margin-bottom: .02rem !important;
    color: color-mix(in srgb, var(--feedback-accent-dark) 38%, #0f172a) !important;
    font-size: clamp(1.22rem, 4.1vw, 1.52rem) !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.imo-operational-feedback-page .imo-page-sub {
    max-width: 34rem !important;
    margin-top: .02rem !important;
    color: #475569 !important;
    font-size: .68rem !important;
    line-height: 1.22 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.imo-feedback-detail-controls {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .42rem !important;
    overflow: visible !important;
}

.imo-feedback-identity-pill--select {
    position: relative !important;
    border: 1px solid color-mix(in srgb, var(--feedback-accent) 14%, var(--feedback-card-border)) !important;
    background: rgba(255, 255, 255, .9) !important;
    cursor: pointer !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: .5rem !important;
    padding: .34rem 1.55rem .34rem .5rem !important;
}

.imo-feedback-identity-pill--select select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    opacity: 0 !important;
    outline: none !important;
    cursor: pointer !important;
}

.imo-feedback-identity-pill--select select option {
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    .imo-main:has(.imo-task-show-page) {
        padding-bottom: calc(5.45rem + env(safe-area-inset-bottom, 0)) !important;
    }
}

.imo-feedback-period-dropdown {
    position: relative !important;
    min-width: 0 !important;
    z-index: 30 !important;
}

.imo-feedback-period-dropdown[open] {
    z-index: 100 !important;
}

.imo-feedback-period-dropdown summary {
    list-style: none !important;
}

.imo-feedback-period-dropdown summary::-webkit-details-marker {
    display: none !important;
}

.imo-feedback-detail-period--select {
    position: relative !important;
    border: 1px solid color-mix(in srgb, var(--feedback-accent) 14%, var(--feedback-card-border)) !important;
    background: rgba(255, 255, 255, .9) !important;
    cursor: pointer !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: .42rem !important;
    padding: .34rem 1.55rem .34rem .56rem !important;
}

.imo-feedback-identity-pill--select,
.imo-feedback-detail-period--select {
    padding-right: 1.55rem !important;
}

.imo-feedback-identity-pill > span.imo-feedback-pill-caret,
.imo-feedback-detail-period > .imo-feedback-pill-caret,
.imo-feedback-pill-caret {
    position: absolute !important;
    grid-row: auto !important;
    top: 50% !important;
    right: .62rem !important;
    width: .38rem !important;
    height: .38rem !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 2px solid #94a3b8 !important;
    border-bottom: 2px solid #94a3b8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(-65%) rotate(45deg) !important;
    pointer-events: none !important;
}

.imo-feedback-identity-pill,
.imo-feedback-detail-period {
    min-height: 2.22rem !important;
    border-radius: .78rem !important;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--feedback-accent) 7%, transparent) !important;
}

.imo-feedback-identity-pill > span:not(.imo-feedback-pill-caret) {
    width: 1.85rem !important;
    height: 1.85rem !important;
    font-size: .68rem !important;
}

.imo-feedback-identity-pill strong,
.imo-feedback-detail-period span:not(.imo-feedback-pill-caret) {
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: .7rem !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.imo-feedback-identity-pill small {
    margin-top: .04rem !important;
    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.imo-feedback-detail-period svg {
    width: .82rem !important;
    height: .82rem !important;
}

.imo-feedback-detail-stats article,
.imo-feedback-stat-filter {
    min-height: 3.05rem !important;
    padding: .52rem .62rem !important;
    gap: .48rem !important;
    border-radius: .88rem !important;
}

.imo-feedback-stat-icon,
.imo-feedback-card-icon {
    width: 2rem !important;
    height: 2rem !important;
    font-size: .82rem !important;
}

.imo-feedback-detail-stats strong {
    margin: .03rem 0 0 !important;
    font-size: 1.28rem !important;
    line-height: .9 !important;
}

.imo-feedback-detail-stats small {
    font-size: .66rem !important;
    line-height: 1 !important;
}

.imo-feedback-detail-stats em {
    display: none !important;
}

.imo-feedback-period-menu {
    position: absolute !important;
    z-index: 40 !important;
    top: calc(100% + .42rem) !important;
    right: 0 !important;
    width: min(18rem, calc(100vw - 1.2rem)) !important;
    padding: .62rem !important;
    border: 1px solid var(--feedback-card-border) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14) !important;
}

.imo-feedback-period-presets {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .38rem !important;
}

.imo-feedback-period-presets a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.05rem !important;
    padding: .45rem .55rem !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: .72rem !important;
    color: #334155 !important;
    background: #fff !important;
    font-size: .7rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.imo-feedback-period-presets a:hover,
.imo-feedback-period-presets a.is-active {
    border-color: color-mix(in srgb, var(--feedback-accent) 34%, rgba(226, 232, 240, .95)) !important;
    color: var(--feedback-accent-dark) !important;
    background: var(--feedback-accent-faint) !important;
}

.imo-feedback-period-custom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: .42rem !important;
    margin-top: .52rem !important;
    padding-top: .52rem !important;
    border-top: 1px solid rgba(226, 232, 240, .9) !important;
}

.imo-feedback-period-custom label {
    display: grid !important;
    gap: .22rem !important;
    min-width: 0 !important;
}

.imo-feedback-period-custom label span {
    color: #64748b !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
}

.imo-feedback-period-custom input {
    width: 100% !important;
    min-height: 2.1rem !important;
    padding: .42rem .5rem !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
    border-radius: .72rem !important;
    color: #0f172a !important;
    background: #fff !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
    outline: none !important;
}

.imo-feedback-period-custom button {
    grid-column: 1 / -1 !important;
    min-height: 2.1rem !important;
    padding: .42rem .7rem !important;
    border: 0 !important;
    border-radius: .72rem !important;
    color: #fff !important;
    background: var(--feedback-accent) !important;
    font-size: .7rem !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.imo-feedback-period-custom button:hover {
    background: var(--feedback-accent-dark) !important;
}

.imo-feedback-detail-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .42rem !important;
}

.imo-feedback-detail-stats article:first-child,
.imo-feedback-detail-stats .imo-feedback-stat-filter:first-child {
    grid-column: auto !important;
}

.imo-feedback-detail-grid {
    grid-template-columns: 1fr !important;
}

.imo-feedback-chart--comparison {
    min-height: 10rem !important;
    padding-inline: clamp(1rem, 4vw, 3.5rem) !important;
}

.imo-feedback-chart--comparison .imo-feedback-chart__bar {
    height: 8.8rem !important;
}

@media (min-width: 461px) and (max-width: 900px) {
    .imo-main:has(.imo-operational-feedback-page) {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
}

@media (min-width: 901px) {
    .imo-main:has(.imo-operational-feedback-page) {
        width: min(100%, 35rem) !important;
        max-width: 35rem !important;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
}

@media (max-width: 1100px) {
    .imo-feedback-detail-hero {
        grid-template-columns: 1fr !important;
    }

    .imo-feedback-detail-hero__copy {
        min-width: 0 !important;
    }

    .imo-feedback-detail-controls {
        max-width: none !important;
        justify-self: stretch !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 900px) {
    .imo-feedback-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .imo-feedback-detail-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .imo-feedback-detail-stats article:first-child,
    .imo-feedback-detail-stats .imo-feedback-stat-filter:first-child {
        grid-column: auto !important;
    }
}

@media (max-width: 640px) {
    .imo-main:has(.imo-operational-feedback-page) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .imo-operational-feedback-page {
        padding-inline: 0 !important;
    }

    .imo-feedback-detail-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .imo-feedback-identity-pill--select,
    .imo-feedback-detail-period--select {
        min-height: 2.2rem !important;
        padding-top: .32rem !important;
        padding-bottom: .32rem !important;
    }

    .imo-feedback-identity-pill > span:not(.imo-feedback-pill-caret) {
        width: 1.65rem !important;
        height: 1.65rem !important;
        font-size: .62rem !important;
    }

    .imo-feedback-identity-pill strong,
    .imo-feedback-detail-period span:not(.imo-feedback-pill-caret) {
        font-size: .64rem !important;
    }

    .imo-feedback-identity-pill small {
        font-size: .5rem !important;
    }

    .imo-feedback-detail-stats {
        gap: .32rem !important;
    }

    .imo-feedback-stat-filter {
        display: grid !important;
        justify-items: center !important;
        align-content: center !important;
        gap: .25rem !important;
        min-height: 3.8rem !important;
        padding: .42rem .24rem !important;
        text-align: center !important;
    }

    .imo-feedback-stat-icon {
        width: 1.65rem !important;
        height: 1.65rem !important;
    }

    .imo-feedback-detail-stats small {
        font-size: .58rem !important;
    }

    .imo-feedback-detail-stats strong {
        font-size: 1.08rem !important;
    }

    .imo-feedback-detail-control {
        grid-template-columns: 1fr !important;
    }

    .imo-feedback-period-menu {
        left: auto !important;
        right: 0 !important;
        width: min(18rem, calc(100vw - .9rem)) !important;
    }

    .imo-feedback-period-custom {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 360px) {
    .imo-feedback-identity-pill small {
        display: none !important;
    }

    .imo-feedback-detail-controls {
        gap: .3rem !important;
    }
}

.imo-feedback-chart--comparison {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: clamp(.8rem, 3vw, 1.8rem) !important;
    min-height: 12rem !important;
    overflow: visible !important;
}

.imo-feedback-chart--comparison .imo-feedback-chart__bar {
    flex: initial !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 10rem !important;
}

.imo-feedback-chart--comparison .imo-feedback-chart__bar span {
    width: min(100%, 2.4rem) !important;
}

.imo-feedback-chart__bar.is-zero span {
    visibility: hidden !important;
    box-shadow: none !important;
}

/* Operational feedback scoring details */
.imo-feedback-scoring-card {
    margin-top: 1rem;
}
.imo-feedback-scoring-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}
.imo-feedback-scoring-list p {
    display: grid;
    gap: .18rem;
    margin: 0;
    padding: .62rem .68rem;
    border: 1px solid rgba(34, 197, 94, .18);
    border-radius: .9rem;
    background: rgba(240, 253, 244, .72);
}
.imo-operational-feedback-page--bad .imo-feedback-scoring-list p {
    border-color: rgba(248, 113, 113, .2);
    background: rgba(254, 242, 242, .72);
}
.imo-risk-scoring-card .imo-feedback-scoring-list p {
    border-color: rgba(248, 113, 113, .2);
    background: rgba(254, 242, 242, .72);
}
.imo-feedback-scoring-list strong {
    color: #15803d;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
}
.imo-operational-feedback-page--bad .imo-feedback-scoring-list strong {
    color: #dc2626;
}
.imo-risk-scoring-card .imo-feedback-scoring-list strong {
    color: #dc2626;
}
.imo-feedback-scoring-list span {
    color: #475569;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .imo-feedback-scoring-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Dark mode: operational feedback detail page (final override). */
html[data-theme="dark"] .imo-operational-feedback-page {
    --feedback-accent-soft: rgba(127, 29, 29, .24);
    --feedback-accent-faint: rgba(127, 29, 29, .14);
}

html[data-theme="dark"] .imo-operational-feedback-page--good {
    --feedback-accent-soft: rgba(22, 101, 52, .24);
    --feedback-accent-faint: rgba(22, 101, 52, .14);
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-page-title {
    color: color-mix(in srgb, var(--feedback-accent) 42%, #f8fafc) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-page-sub {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-hero {
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--feedback-accent) 18%, transparent), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--feedback-accent) 12%, #0f172a), rgba(15, 23, 42, .84)) !important;
    border-color: color-mix(in srgb, var(--feedback-accent) 24%, rgba(148, 163, 184, .22)) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-identity-pill,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-identity-pill--select,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-period,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-period--select,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-stats article,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-stat-filter,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-card {
    background: rgba(15, 23, 42, .78) !important;
    border-color: rgba(148, 163, 184, .22) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-identity-pill strong,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-period span,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-card h2 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-identity-pill small,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-stats small,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-card p,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-chart__bar small,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-empty {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list a.imo-feedback-task-row {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list a.imo-feedback-task-row > strong {
    color: var(--feedback-accent) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row span {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row b {
    color: #f8fafc !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row small,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason em,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-reason em {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list .imo-feedback-task-row .imo-feedback-reason b {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list div,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-list a,
html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-detail-table a {
    border-top-color: rgba(148, 163, 184, .16) !important;
    background: transparent !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-chart {
    border-top-color: rgba(148, 163, 184, .18) !important;
    background-image: linear-gradient(to top, rgba(148, 163, 184, .12) 1px, transparent 1px) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-chart__bar strong {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-scoring-list p {
    background: rgba(15, 23, 42, .55) !important;
    border-color: rgba(148, 163, 184, .18) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page--bad .imo-feedback-scoring-list p {
    border-color: rgba(248, 113, 113, .24) !important;
    background: rgba(127, 29, 29, .14) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page--good .imo-feedback-scoring-list p {
    border-color: rgba(74, 222, 128, .22) !important;
    background: rgba(22, 101, 52, .14) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-scoring-list span {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-period-menu {
    background: rgba(15, 23, 42, .96) !important;
    border-color: rgba(148, 163, 184, .22) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-period-presets a {
    background: rgba(17, 24, 32, .92) !important;
    border-color: rgba(148, 163, 184, .22) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-period-custom {
    border-top-color: rgba(148, 163, 184, .18) !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-period-custom input {
    background: rgba(17, 24, 32, .92) !important;
    border-color: rgba(148, 163, 184, .24) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .imo-operational-feedback-page .imo-feedback-period-custom label span {
    color: #94a3b8 !important;
}

/* Task show: unified journal + dynamic timeline */
.imo-task-show-page .imo-task-hero-meta-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .34rem;
    margin-bottom: .28rem;
    color: #667085;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.imo-task-show-page .imo-task-hero-meta-line__type {
    padding: .24rem .52rem;
    border: 1px solid rgba(0, 167, 225, .22);
    border-radius: 999px;
    background: rgba(0, 167, 225, .08);
    color: #006d94;
}

.imo-task-show-page .imo-task-hero-meta-line__dot {
    color: #98a2b3;
    font-weight: 900;
}

.imo-task-show-page .imo-task-hero-meta-line .imo-badge {
    min-height: 1.34rem;
    padding: .24rem .5rem;
    font-size: .62rem;
}

.imo-task-show-page .imo-timeline-card__head {
    margin-bottom: .18rem;
    padding-right: 2rem;
}

.imo-task-show-page .imo-timeline-card__labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .24rem .28rem;
    min-width: 0;
}

.imo-task-show-page .imo-timeline-card__kind {
    display: inline-flex;
    align-items: center;
    min-height: 1.15rem;
    padding: .12rem .34rem;
    border-radius: 999px;
    background: rgba(0,167,225,.08);
    color: #007aa5;
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.imo-task-show-page .imo-timeline-card--system .imo-timeline-card__kind {
    background: rgba(152,162,179,.12);
    color: #667085;
}

.imo-task-show-page .imo-timeline-card__actor {
    color: var(--cit-primary);
    font-size: .66rem;
    font-weight: 850;
}

.imo-task-show-page .imo-timeline-card__time {
    color: #98a2b3;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

.imo-task-show-page .imo-timeline-card .imo-timeline-body {
    margin-top: .28rem;
    color: var(--cit-primary);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: -.01em;
}

.imo-task-show-page .imo-timeline-card--system .imo-timeline-body {
    font-size: .92rem;
    color: #334155;
    font-weight: 600;
}

.imo-task-show-page .imo-timeline-card--preview .imo-timeline-body {
    font-size: 1rem;
    line-height: 1.55;
}

.imo-task-show-page .imo-timeline-card--preview.imo-timeline-card--system .imo-timeline-body {
    font-size: .92rem;
}

.imo-task-show-page .imo-timeline-card .imo-feedback-lost-time-note {
    font-size: .82rem;
    line-height: 1.45;
}

.imo-task-show-page .imo-timeline-card .imo-timeline-delete-form--footer {
    top: auto;
    right: auto;
    bottom: auto;
}

.imo-task-show-page .imo-task-composer-textarea {
    min-height: 4.1rem;
    padding: .72rem .82rem;
}

.imo-task-show-page .imo-task-composer-textarea::placeholder {
    color: #98a2b3;
    font-weight: 600;
    opacity: 1;
}

.imo-task-show-page .imo-task-composer-head--label-only {
    justify-content: flex-end;
    margin-bottom: .42rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.imo-task-show-page .imo-mini-values--compact {
    padding: .24rem 0 .12rem !important;
}

.imo-task-show-page .imo-mini-values--compact > summary {
    margin: 0;
}

.imo-task-show-page .imo-mini-values--compact .imo-financial-tabs button {
    min-height: 0 !important;
    padding: .2rem .08rem .16rem !important;
    font-size: clamp(.5rem, 2.8vw, .68rem) !important;
}

.imo-task-show-page .imo-task-timeline-list {
    display: flex;
    flex-direction: column;
    gap: .58rem;
    padding-left: 0;
}

.imo-task-show-page .imo-timeline-item {
    display: grid;
    grid-template-columns: .5rem minmax(0, 1fr);
    column-gap: 0;
    align-items: stretch;
}

.imo-task-show-page .imo-timeline-item__connector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imo-task-show-page .imo-timeline-item__dot {
    position: relative;
    z-index: 2;
    width: .5rem;
    height: .5rem;
    border: 2px solid rgba(255, 255, 255, .96);
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, .32);
}

.imo-task-show-page .imo-timeline-item--activity .imo-timeline-item__dot {
    background: #00a7e1;
    box-shadow: 0 0 0 1px rgba(0, 167, 225, .26);
}

.imo-task-show-page .imo-timeline-item--feedback-good .imo-timeline-item__dot {
    background: #16a34a;
    box-shadow: 0 0 0 1px rgba(22, 163, 74, .26);
}

.imo-task-show-page .imo-timeline-item--feedback-bad .imo-timeline-item__dot {
    background: #e11d48;
    box-shadow: 0 0 0 1px rgba(225, 29, 72, .26);
}

.imo-task-show-page .imo-timeline-item:not(:last-child) .imo-timeline-item__connector::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(50% + .26rem);
    transform: translateX(-50%);
    width: 2px;
    height: calc(50% + .58rem);
    border-radius: 999px;
    background: rgba(148, 163, 184, .28);
    z-index: 1;
}

.imo-task-show-page .imo-task-timeline-list .imo-timeline-card::before {
    display: none !important;
}

.imo-task-show-page .imo-task-timeline-list .imo-timeline-card {
    margin-left: -.02rem;
    padding-left: .62rem !important;
    border-top-left-radius: .42rem;
    border-bottom-left-radius: .42rem;
}

html[data-theme="dark"] .imo-task-show-page .imo-timeline-item__dot {
    border-color: rgba(17, 24, 32, .96);
}

html[data-theme="dark"] .imo-task-show-page .imo-timeline-item:not(:last-child) .imo-timeline-item__connector::after {
    background: rgba(148, 163, 184, .22);
}

/* Task show: compact hero to save vertical space */
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--compact {
    padding: .58rem .68rem .62rem;
    box-shadow: 0 1px 2px rgba(35,31,32,.035), 0 10px 24px rgba(35,31,32,.05);
}

.imo-task-show-page .imo-task-hero--compact .imo-task-hero__glow {
    width: 8rem;
    height: 8rem;
    inset: -2rem -1.5rem auto auto;
    filter: blur(14px);
}

.imo-task-show-page .imo-task-hero--compact .imo-task-hero-main {
    gap: .42rem;
    align-items: flex-start;
}

.imo-task-show-page .imo-task-hero--compact .imo-task-title {
    margin-top: 0;
    font-size: clamp(1.02rem, 3.4vw, 1.38rem);
    line-height: 1.14;
}

.imo-task-show-page .imo-task-hero-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .24rem;
    margin-top: .34rem;
}

.imo-task-show-page .imo-task-hero-tags__type {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: .18rem .42rem;
    border: 1px solid rgba(0, 167, 225, .2);
    border-radius: 999px;
    background: rgba(0, 167, 225, .07);
    color: #006d94;
    font-size: .58rem;
    font-weight: 800;
}

.imo-task-show-page .imo-task-hero--compact .imo-badge,
.imo-task-show-page .imo-task-hero--compact .imo-due-pill,
.imo-task-show-page .imo-task-hero--compact .imo-action-pill {
    min-height: 1.55rem;
    padding: .22rem .46rem;
    font-size: .58rem;
    box-shadow: none;
}

.imo-task-show-page .imo-task-hero--compact .imo-task-header-actions {
    padding-top: 0;
}

.imo-task-show-page .imo-task-hero--compact .imo-finish-check {
    width: 3.06rem !important;
    height: 3.06rem !important;
    min-width: 3.06rem;
    min-height: 3.06rem;
    font-size: 1.37rem !important;
    box-shadow: 0 1px 2px rgba(35,31,32,.04);
}

.imo-task-show-page .imo-task-badgebar--compact {
    margin-top: .46rem;
    padding-top: .46rem;
    gap: .42rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-member-chip--primary {
    min-height: 1.85rem;
    padding: .22rem .46rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-member-chip__label {
    font-size: .56rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-member-chip__name {
    font-size: .66rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-team-add-button {
    min-height: 1.85rem;
    padding: .22rem .48rem;
    font-size: .64rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-task-badgebar-actions {
    flex: 0 0 2.53rem;
    width: 2.53rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-task-delete-form--badgebar button {
    width: 2.53rem;
    height: 2.53rem;
}

.imo-task-show-page .imo-task-badgebar--compact .imo-task-delete-form--badgebar button svg {
    width: 1.06rem;
    height: 1.06rem;
}

.imo-task-show-page .imo-mini-values--compact {
    border-radius: 1rem;
}

.imo-task-show-page .imo-mini-values--compact .imo-financial-tabs button small {
    font-size: .56rem;
}

.imo-task-show-page .imo-mini-values,
.imo-task-show-page .imo-mini-values--compact {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-task-show-page .imo-financial-tabs,
.imo-task-show-page .imo-mini-values--compact .imo-financial-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    align-items: end;
    position: relative;
    padding: .42rem 0 0 !important;
    border-top: 1px solid rgba(148, 163, 184, .3);
    background: transparent !important;
}

.imo-task-show-page .imo-financial-tabs button,
.imo-task-show-page .imo-mini-values--compact .imo-financial-tabs button {
    position: relative;
    min-height: 0 !important;
    padding: .2rem .08rem .16rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #64748b;
    font-size: clamp(.5rem, 2.8vw, .68rem) !important;
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imo-task-show-page .imo-financial-tabs button::before {
    content: "";
    position: absolute;
    top: -.42rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: .24rem;
    background: rgba(148, 163, 184, .3);
}

.imo-task-show-page .imo-financial-tabs button.is-active,
.imo-task-show-page .imo-mini-values--compact .imo-financial-tabs button.is-active {
    background: transparent !important;
    color: var(--cit-primary) !important;
}

.imo-task-show-page .imo-mini-values--compact {
    padding: .24rem 0 .12rem !important;
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-task-hero--compact .imo-finish-check {
        width: 3.19rem !important;
        height: 3.19rem !important;
        min-width: 3.19rem;
        min-height: 3.19rem;
        font-size: 1.46rem !important;
    }

    .imo-task-show-page .imo-task-badgebar--compact .imo-task-badgebar-actions {
        flex-basis: 2.53rem;
        width: 2.53rem;
    }
}

/* Task show: minimal 2030 hero */
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future {
    margin-bottom: .28rem !important;
    padding: .62rem 0 .48rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future::before,
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future::after {
    display: none !important;
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-title {
    margin-top: 0;
    color: var(--cit-primary);
    font-size: clamp(1.08rem, 3.6vw, 1.42rem);
    line-height: 1.16;
    letter-spacing: -.04em;
    text-shadow: none;
}

.imo-task-show-page .imo-task-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .22rem .34rem;
    margin: .34rem 0 0;
    color: #64748b;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.35;
}

.imo-task-show-page .imo-task-hero-meta__sep {
    color: #cbd5e1;
    font-weight: 800;
}

.imo-task-show-page .imo-task-hero-meta__due,
.imo-task-show-page .imo-task-hero-meta__action {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

.imo-task-show-page .imo-task-hero-meta__due.imo-due-pill--late,
.imo-task-show-page span.imo-task-hero-meta__due.imo-due-pill--late {
    color: #b42318;
}

.imo-task-show-page .imo-task-hero-meta__due.imo-due-pill--soon,
.imo-task-show-page span.imo-task-hero-meta__due.imo-due-pill--soon {
    color: #b45309;
}

.imo-task-show-page .imo-task-hero-meta__due.imo-due-pill--ok,
.imo-task-show-page span.imo-task-hero-meta__due.imo-due-pill--ok {
    color: #047857;
}

.imo-task-show-page .imo-task-hero-meta__action:hover,
.imo-task-show-page .imo-task-hero-meta__action:focus-visible,
.imo-task-show-page .imo-task-hero-meta__due:hover,
.imo-task-show-page .imo-task-hero-meta__due:focus-visible {
    color: #006d94;
    outline: none;
}

.imo-task-show-page .imo-task-hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .42rem !important;
    padding-top: .42rem !important;
    border-top: 1px solid rgba(148, 163, 184, .18);
}

.imo-task-show-page .imo-task-hero-foot__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .34rem .5rem;
    min-width: 0;
}

.imo-task-show-page .imo-task-hero-foot__assignee,
.imo-task-show-page .imo-task-hero-foot__team-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cit-primary);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.imo-task-show-page .imo-task-hero-foot__assignee-label {
    color: #64748b;
    font-weight: 700;
}

.imo-task-show-page .imo-task-hero-foot__team-link {
    color: #006d94;
}

.imo-task-show-page .imo-task-hero-foot__member {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    min-height: 1.45rem;
    padding: 0 .28rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .14);
    color: #475569;
    font-size: .58rem;
    font-weight: 800;
}

.imo-task-show-page .imo-task-hero-foot__remove {
    display: inline-flex;
    margin-left: -.12rem;
}

.imo-task-show-page .imo-task-hero-foot__remove button {
    width: 1.1rem;
    height: 1.1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #94a3b8;
    font-size: .82rem;
    line-height: 1;
    cursor: pointer;
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-finish-check {
    width: 3.06rem !important;
    height: 3.06rem !important;
    min-width: 3.06rem;
    min-height: 3.06rem;
    font-size: 1.37rem !important;
    box-shadow: none !important;
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-finish-check:not(.is-done) {
    border-color: rgba(148, 163, 184, .45);
    background: rgba(255, 255, 255, .72);
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button {
    width: 2.01rem;
    height: 2.01rem;
    border-radius: .55rem;
    background: transparent;
    box-shadow: none;
}

.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button svg {
    width: 1.06rem;
    height: 1.06rem;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-meta {
    color: #94a3b8;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-meta__sep {
    color: #475569;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-foot {
    border-top-color: rgba(148, 163, 184, .16);
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-foot__assignee {
    color: #ecf6ff;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-foot__assignee-label {
    color: #94a3b8;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-foot__team-link {
    color: #8fe6ff;
}

html[data-theme="dark"] .imo-task-show-page .imo-task-hero-foot__member {
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

@media (max-width: 460px) {
    .imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-finish-check {
        width: 3.25rem !important;
        height: 3.25rem !important;
        min-width: 3.25rem;
        min-height: 3.25rem;
    }

    .imo-task-show-page .imo-financial-tabs button {
        font-size: clamp(.46rem, 2.45vw, .58rem) !important;
        padding-inline: .04rem !important;
    }
}

html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs {
    border-top-color: rgba(148, 163, 184, .2);
}

html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs button::before {
    background: rgba(148, 163, 184, .22);
}

html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs button {
    color: #94a3b8;
}

html[data-theme="dark"] .imo-task-show-page .imo-financial-tabs button.is-active {
    color: #ecf6ff !important;
}

/* Team performance top — task detail visual parity */
.imo-team-performance-page {
    gap: .24rem !important;
}

.imo-team-performance-page .imo-team-top {
    margin: 0 !important;
}

.imo-team-performance-page .imo-performance-header,
.imo-team-performance-page .imo-performance-header.imo-team-header {
    margin-bottom: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.imo-team-performance-page .imo-performance-hero {
    margin-bottom: .12rem !important;
    padding: 0 !important;
}

.imo-team-performance-page .imo-team-title-row {
    align-items: center;
    gap: .45rem;
}

.imo-team-performance-page .imo-performance-header .imo-page-title {
    color: var(--cit-primary);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.05;
    padding-inline-start: .06rem;
}

.imo-team-performance-page .imo-performance-header .imo-page-sub {
    margin-top: .04rem;
    color: var(--cit-muted);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.1;
}

.imo-team-performance-page .imo-performance-header .imo-performance-hero-period {
    margin-top: 0;
}

.imo-team-performance-page .imo-performance-members-cta {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    align-self: center;
    min-height: 1.75rem;
    padding: .34rem .58rem;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
}

.imo-team-performance-page .imo-performance-card {
    padding: 0 !important;
}

.imo-team-performance-page .imo-performance-filters {
    display: grid;
    gap: 0;
    margin-bottom: .22rem;
}

.imo-team-performance-page .imo-performance-filters__band {
    display: grid;
    gap: 2px;
    padding: 2px;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: .82rem;
    background: rgba(255, 255, 255, .72);
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-quick {
    display: block;
    margin-bottom: 0;
}

.imo-team-performance-page .imo-performance-filters .imo-task-filter-quick {
    display: block;
}

.imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger {
    display: none;
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-pills,
.imo-team-performance-page .imo-performance-filters .imo-filter-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.imo-team-performance-page .imo-performance-filters__band .imo-task-filter-quick .imo-filter-strip {
    border-top: 0 !important;
    padding-top: 0 !important;
}

.imo-team-performance-page .imo-performance-filters__band .imo-task-filter-quick {
    border-top: 1px solid rgba(229, 234, 240, .72);
    padding-top: 2px;
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-pill,
.imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip {
    justify-content: center;
    width: auto !important;
    min-width: 0;
    flex: 0 1 auto;
    min-height: 1.28rem;
    padding: .14rem .32rem;
    border: 0 !important;
    border-radius: .58rem !important;
    background: transparent !important;
    font-size: .58rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: none !important;
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-pill {
    color: var(--cit-muted) !important;
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-pill:hover {
    background: rgba(0, 167, 225, .06) !important;
    color: #007aa5 !important;
}

.imo-team-performance-page .imo-performance-filters .imo-responsible-pill.is-active,
.imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip.is-active {
    background: var(--cit-primary) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

.imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip:not(.is-active) {
    color: inherit;
}

.imo-team-performance-page .imo-performance-task-list {
    margin-top: 0 !important;
    padding: .42rem .48rem !important;
    border-radius: .82rem !important;
}

.imo-team-performance-page .imo-performance-task-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .45rem;
    margin-bottom: .32rem;
}

.imo-team-performance-page .imo-performance-task-list__head p {
    margin: 0;
}

.imo-team-performance-page .imo-performance-task-list__head p:first-child {
    color: var(--cit-primary);
    font-size: .7rem;
    font-weight: 850;
    line-height: 1.1;
}

.imo-team-performance-page .imo-performance-task-list__head p:last-child {
    color: var(--cit-muted);
    font-size: .56rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.imo-team-performance-page .imo-performance-card--filtered .imo-microcopy {
    display: none;
}

.imo-team-performance-page .imo-performance-card--filtered .imo-performance-filters {
    margin-bottom: .18rem;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters__band,
html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-responsible-pills,
html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-filter-strip {
    border-color: rgba(170, 184, 200, .34);
    background: rgba(255, 255, 255, .075);
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters__band .imo-task-filter-quick {
    border-top-color: rgba(170, 184, 200, .28);
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters__band .imo-filter-strip {
    border-top-color: rgba(170, 184, 200, .28) !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-responsible-pill,
html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip:not(.is-active) {
    color: #c8d3df !important;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-responsible-pill.is-active,
html[data-theme="dark"] .imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip.is-active {
    background: var(--cit-primary) !important;
    color: #0c1117 !important;
}

@media (max-width: 900px) {
    .imo-team-performance-page .imo-performance-hero {
        margin-bottom: .12rem !important;
        padding: 0 !important;
    }

    .imo-team-performance-page .imo-team-header,
    .imo-team-performance-page .imo-performance-header {
        padding: 0 !important;
    }

    .imo-team-performance-page .imo-performance-card {
        padding: 0 !important;
    }
}

@media (max-width: 460px) {
    .imo-team-performance-page .imo-performance-filters .imo-responsible-quick,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-quick {
        display: grid;
        gap: .18rem;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-trigger,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger {
        list-style: none;
        min-height: 1.55rem;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: .45rem;
        padding: .28rem .48rem;
        border: 0 !important;
        border-radius: .58rem !important;
        background: rgba(255, 255, 255, .55);
        color: var(--cit-primary);
        cursor: pointer;
        box-shadow: none;
        width: 100%;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-trigger::-webkit-details-marker,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger::-webkit-details-marker {
        display: none;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-trigger::after,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger::after {
        content: "▼";
        color: var(--cit-muted);
        font-size: .58rem;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-quick[open] .imo-responsible-trigger::after,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-quick[open] .imo-task-filter-trigger::after {
        transform: rotate(180deg);
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-trigger span,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger span {
        font-size: .76rem;
        font-weight: 850;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-trigger small,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-trigger small {
        color: var(--cit-muted);
        font-size: .62rem;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-quick:not([open]) .imo-responsible-pills,
    .imo-team-performance-page .imo-performance-filters .imo-task-filter-quick:not([open]) .imo-filter-strip {
        display: none !important;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-pills,
    .imo-team-performance-page .imo-performance-filters .imo-filter-strip {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
    }

    .imo-team-performance-page .imo-performance-filters__band .imo-task-filter-quick {
        border-top: 1px solid rgba(229, 234, 240, .72);
        padding-top: 2px;
    }

    .imo-team-performance-page .imo-performance-filters .imo-responsible-pill,
    .imo-team-performance-page .imo-performance-filters .imo-filter-strip .imo-filter-chip {
        font-size: .6rem;
    }

    .imo-team-performance-page .imo-team-title-row {
        flex-wrap: nowrap;
    }

    .imo-team-performance-page .imo-performance-members-cta {
        min-height: 1.55rem;
        padding: .28rem .48rem;
        font-size: .62rem;
    }
}

.imo-team-performance-page .imo-performance-hero-row {
    display: flex;
    align-items: center;
    gap: .52rem;
    width: 100%;
    flex-wrap: nowrap;
}

.imo-team-performance-page .imo-performance-hero-intro {
    display: flex;
    align-items: baseline;
    gap: .34rem;
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.imo-team-performance-page .imo-performance-hero-period::before {
    content: "·";
    margin-right: .34rem;
    color: rgba(102, 112, 133, .72);
}

.imo-team-performance-page .imo-performance-hero-intro .imo-page-title {
    flex: 0 0 auto;
    margin: 0;
}

.imo-team-performance-page .imo-performance-hero-period {
    margin: 0;
    color: var(--cit-muted);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imo-team-performance-page .imo-performance-header-tabs {
    display: flex;
    flex: 1 1 auto;
    gap: .1rem;
    width: auto;
    min-width: 0;
    padding: .06rem;
    border: 1px solid rgba(226, 232, 240, .84);
    border-radius: .68rem;
    background: rgba(241, 245, 249, .88);
}

.imo-team-performance-page .imo-performance-header-tabs .imo-task-owner-filter,
.imo-team-performance-page .imo-performance-header-tabs .imo-task-status-filter {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.imo-team-performance-page .imo-performance-header-tabs .imo-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .24rem;
    width: 100%;
    min-width: 0;
    min-height: 1.38rem;
    max-width: 100%;
    padding: .16rem .56rem;
    border: 0;
    border-radius: .52rem;
    background: transparent;
    color: var(--cit-text);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.imo-team-performance-page .imo-performance-header-tabs .imo-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.imo-team-performance-page .imo-performance-header-tabs .imo-tab.is-active {
    background: var(--cit-primary);
    color: #fff;
}

.imo-team-performance-page .imo-performance-header-tabs .imo-tab svg {
    flex: 0 0 auto;
    width: .72rem;
    height: .72rem;
}

.imo-team-performance-page .imo-performance-header-tabs .imo-tab:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .34);
    outline-offset: 2px;
}

.imo-team-performance-page .imo-performance-card--filtered .imo-performance-task-list {
    margin-top: 0;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-header-tabs {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(17, 24, 32, .82);
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-header-tabs .imo-tab {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-header-tabs .imo-tab.is-active {
    background: rgba(0, 167, 225, .88);
    color: #fff;
}

html[data-theme="dark"] .imo-team-performance-page .imo-performance-hero-period {
    color: #9fb0c2;
}

@media (max-width: 640px) {
    .imo-team-performance-page .imo-performance-hero-row {
        flex-wrap: wrap;
        align-items: stretch;
        gap: .38rem;
    }

    .imo-team-performance-page .imo-performance-header,
    .imo-team-performance-page .imo-performance-header.imo-team-header,
    .imo-team-performance-page .imo-team-header {
        padding-inline: .14rem !important;
    }

    .imo-team-performance-page .imo-performance-hero-intro {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
        overflow: visible;
        padding-inline-start: .16rem;
    }

    .imo-team-performance-page .imo-performance-header .imo-page-title {
        letter-spacing: -.015em;
        padding-inline-start: .1rem;
    }

    .imo-team-performance-page .imo-performance-header-tabs {
        flex: 1 1 100%;
        width: 100%;
    }
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: .58rem;
    padding: .58rem .68rem !important;
    overflow: visible;
    z-index: 30;
    border-left-width: 3px;
    border-left-color: #00a7e1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 251, 253, .92)),
        #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 12px 28px rgba(35, 31, 32, .045);
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero::before,
.imo-dashboard-page--polish .imo-dashboard-unified-hero .imo-task-hero__glow {
    display: none;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .46rem .58rem;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__intro {
    flex: 1 1 10.5rem;
    min-width: 0;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__filters {
    flex: 1 1 10rem;
    min-width: min(100%, 13.8rem);
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__title {
    margin: 0;
    color: var(--cit-primary);
    font-size: clamp(1.02rem, 3.2vw, 1.28rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .16rem .28rem;
    margin: .14rem 0 0;
    color: #64748b;
    font-size: .64rem;
    font-weight: 750;
    line-height: 1.25;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__sep {
    color: #cbd5e1;
    font-weight: 800;
}

.imo-dashboard-page--polish .imo-dashboard-title-sep {
    display: inline-block;
    padding: 0 .1em;
    color: #94a3b8;
    font-weight: 700;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__filter-tabs,
.imo-dashboard-page--polish .imo-dashboard-header-tabs,
.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-task-owner-filter,
.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-task-status-filter {
    overflow: visible;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero.imo-task-hero,
.imo-dashboard-page--polish .imo-dashboard-unified-hero.imo-task-hero--premium {
    overflow: visible;
}

.imo-dashboard-filter-menu.imo-task-owner-menu,
.imo-dashboard-filter-menu.imo-task-status-menu {
    z-index: 160;
}

.imo-dashboard-page--polish .imo-dashboard-unified-hero__filter-tabs {
    width: 100%;
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs {
    display: flex;
    flex: 1 1 auto;
    gap: .08rem;
    width: 100%;
    min-width: 0;
    padding: .04rem;
    border: 1px solid rgba(226, 232, 240, .84);
    border-radius: .62rem;
    background: rgba(241, 245, 249, .88);
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-task-owner-filter,
.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-task-status-filter {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    width: 100%;
    min-width: 0;
    min-height: 1.56rem;
    max-width: 100%;
    padding: .14rem .46rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: var(--cit-text);
    font-size: .66rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab.is-active {
    background: #007aa5;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 122, 165, .18);
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab svg {
    flex: 0 0 auto;
    width: .66rem;
    height: .66rem;
}

.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab:focus-visible {
    outline: 2px solid rgba(0, 167, 225, .34);
    outline-offset: 2px;
}

.imo-dashboard-page .imo-performance-hero-period {
    display: none !important;
}

.imo-dashboard-page--polish .imo-dashboard-panel {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.imo-dashboard-page .imo-task-owner-menu .imo-dashboard-period-custom {
    padding: .55rem .65rem .65rem;
}

.imo-dashboard-page--polish .imo-dashboard-section {
    padding: .72rem .78rem .78rem;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.28rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,253,.92)),
        #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 12px 28px rgba(35, 31, 32, .045);
}

.imo-dashboard-page--polish .imo-dashboard-section__head {
    margin-bottom: .5rem;
}

.imo-dashboard-page--polish .imo-dashboard-section__titles {
    display: grid;
    gap: .14rem;
    min-width: 0;
}

.imo-dashboard-page--polish .imo-dashboard-section__hint {
    margin: 0;
    color: #94a3b8;
    font-size: .58rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .01em;
}

.imo-dashboard-page--polish .imo-dashboard-section__head .imo-section-title {
    margin: 0;
    color: var(--cit-primary);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.imo-dashboard-page--polish .imo-dashboard-section__link {
    color: inherit;
    text-decoration: none;
}

.imo-dashboard-page--polish .imo-dashboard-section__link:hover,
.imo-dashboard-page--polish .imo-dashboard-section__link:focus-visible {
    color: #007aa5;
    text-decoration: underline;
    text-underline-offset: .16rem;
}

.imo-dashboard-page--polish .imo-kpi-section {
    gap: .58rem;
}

/* Dashboard home: tighter rhythm between hero filters and KPI sections. */
.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) {
    display: grid;
    gap: .24rem !important;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: .22rem;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-panel {
    padding-top: 0 !important;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-kpi-section > .imo-dashboard-section:first-child {
    padding-top: .48rem;
}

.imo-dashboard-page--polish .imo-dashboard-metric-grid {
    gap: .42rem;
}

.imo-dashboard-page--polish .imo-dashboard-metric {
    position: relative;
    display: grid;
    gap: .28rem;
    align-content: start;
    min-height: 0;
    min-width: 0;
    padding: .62rem .66rem .58rem !important;
    border: 1px solid var(--cit-line);
    border-left-width: 3px;
    border-radius: .98rem;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .02), 0 8px 18px rgba(35, 31, 32, .035);
    transition: transform .14s var(--cit-ease), box-shadow .14s var(--cit-ease), border-color .14s var(--cit-ease);
}

.imo-dashboard-page--polish .imo-dashboard-metric:hover,
.imo-dashboard-page--polish .imo-dashboard-metric:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(35, 31, 32, .03), 0 12px 24px rgba(35, 31, 32, .08);
}

.imo-dashboard-page--polish .imo-dashboard-metric__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .42rem;
    min-width: 0;
}

.imo-dashboard-page--polish .imo-dashboard-metric__value {
    color: inherit;
    font-size: clamp(1.28rem, 4.2vw, 1.62rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.045em;
}

.imo-dashboard-page--polish .imo-dashboard-metric__percent {
    flex: 0 0 auto;
    padding: .14rem .34rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .14);
    color: #64748b;
    font-size: .58rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
}

.imo-dashboard-page--polish .imo-dashboard-metric__label {
    color: #475467;
    font-size: clamp(.62rem, 2.5vw, .72rem);
    font-weight: 850;
    line-height: 1.22;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--open {
    border-color: rgba(0, 167, 225, .28);
    border-left-color: #00a7e1;
    color: #007aa5;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--closed {
    border-color: rgba(118, 188, 33, .32);
    border-left-color: #76bc21;
    color: #3f7f12;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--waiting,
.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--no-due {
    border-color: rgba(255, 198, 41, .38);
    border-left-color: #ffc629;
    color: #92400e;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--stale {
    border-color: rgba(251, 113, 133, .34);
    border-left-color: #fb7185;
    color: #be123c;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--danger {
    border-color: rgba(255, 68, 56, .34);
    border-left-color: #ff4438;
    color: #b4251d;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--closed .imo-dashboard-metric__percent {
    background: rgba(118, 188, 33, .14);
    color: #3f7f12;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--waiting .imo-dashboard-metric__percent,
.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--no-due .imo-dashboard-metric__percent {
    background: rgba(255, 198, 41, .16);
    color: #92400e;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--stale .imo-dashboard-metric__percent {
    background: rgba(251, 113, 133, .14);
    color: #be123c;
}

.imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--danger .imo-dashboard-metric__percent {
    background: rgba(255, 68, 56, .12);
    color: #b4251d;
}

.imo-dashboard-page--polish .imo-dashboard-metric.is-active {
    box-shadow: inset 0 0 0 1.5px currentColor, 0 8px 20px rgba(15, 23, 42, .08);
}

.imo-dashboard-page--polish .imo-dashboard-metric::before,
.imo-dashboard-page--polish .imo-dashboard-metric::after {
    display: none !important;
}

/* Legacy kpi-card fallback if still present */
.imo-dashboard-page--polish .imo-kpi-card.imo-stat {
    min-height: 0;
}

.imo-dashboard-page--polish .imo-dashboard-financial-strip {
    display: grid;
    gap: .42rem;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 3.05rem;
    padding: .58rem .72rem;
    border: 1px solid var(--cit-line);
    border-left-width: 3px;
    border-radius: .96rem;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .02), 0 8px 18px rgba(35, 31, 32, .035);
}

.imo-dashboard-page--polish .imo-dashboard-financial-row:active {
    transform: scale(.995);
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--revenue {
    border-left-color: #00a7e1;
    color: #007aa5;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--reductions {
    border-left-color: #d97706;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--reductions .imo-dashboard-financial-row__value {
    color: #92400e;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--revenue .imo-dashboard-financial-row__value {
    color: #007aa5;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--work-value {
    border-left-color: #64748b;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row.imo-filter-tone--work-value .imo-dashboard-financial-row__value {
    color: #334155;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row__label {
    min-width: 0;
    color: #667085;
    font-size: .64rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row__value {
    flex: 0 0 auto;
    color: inherit;
    font-size: clamp(.92rem, 3vw, 1.08rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.imo-dashboard-page--polish .imo-dashboard-financial-row__value small {
    font-size: .78em;
    font-weight: 850;
}

.imo-dashboard-page--polish .imo-dashboard-signals {
    display: grid;
    gap: .42rem;
}

.imo-dashboard-page--polish .imo-dashboard-signal {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .62rem;
    min-height: 3.15rem;
    padding: .58rem .72rem;
    border: 1px solid var(--cit-line);
    border-left-width: 3px;
    border-radius: .96rem;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .02), 0 8px 18px rgba(35, 31, 32, .035);
}

.imo-dashboard-page--polish .imo-dashboard-signal--danger {
    border-left-color: #ff4438;
    color: #b4251d;
}

.imo-dashboard-page--polish .imo-dashboard-signal--merit {
    border-left-color: #76bc21;
    color: #3f7f12;
}

.imo-dashboard-page--polish .imo-dashboard-signal__value {
    flex: 0 0 auto;
    min-width: 2rem;
    font-size: clamp(1.12rem, 3.4vw, 1.42rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.imo-dashboard-page--polish .imo-dashboard-signal__copy {
    display: grid;
    gap: .08rem;
    min-width: 0;
    flex: 1 1 auto;
}

.imo-dashboard-page--polish .imo-dashboard-signal__title {
    color: inherit;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.15;
}

.imo-dashboard-page--polish .imo-dashboard-signal__subtitle {
    color: #94a3b8;
    font-size: .58rem;
    font-weight: 750;
    line-height: 1.2;
}

.imo-dashboard-page--polish .imo-dashboard-signal__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .12);
    color: #64748b;
}

.imo-dashboard-page--polish .imo-dashboard-signal__chevron svg {
    width: .82rem;
    height: .82rem;
    stroke-width: 2.2;
}

.imo-dashboard-page--polish .imo-microcopy {
    margin-top: .62rem;
    padding: .58rem .68rem;
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: .92rem;
    background: rgba(248, 250, 252, .92);
    color: #667085;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.4;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-unified-hero.imo-dashboard-section {
    border-color: rgba(148, 163, 184, .24);
    border-left-color: rgba(0, 167, 225, .72);
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 12px 28px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-unified-hero__title {
    color: #f8fafc;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-unified-hero__meta {
    color: #9fb0c2;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-header-tabs {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(17, 24, 32, .82);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab.is-active {
    background: rgba(0, 167, 225, .88);
    color: #fff;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-section,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-financial-row,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-signal {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-section__head .imo-section-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-section__hint,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric__label,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-financial-row__label,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-signal__subtitle {
    color: #9fb0c2;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric__value {
    color: inherit;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric__percent {
    background: rgba(255, 255, 255, .12);
    color: #e2e8f0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--open .imo-dashboard-metric__percent {
    background: rgba(0, 167, 225, .24);
    color: #7dd3fc;
    box-shadow: inset 0 0 0 1px rgba(0, 167, 225, .38);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--closed .imo-dashboard-metric__percent {
    background: rgba(118, 188, 33, .24);
    color: #b6f068;
    box-shadow: inset 0 0 0 1px rgba(118, 188, 33, .42);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--waiting .imo-dashboard-metric__percent,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--no-due .imo-dashboard-metric__percent {
    background: rgba(255, 198, 41, .26);
    color: #ffe082;
    box-shadow: inset 0 0 0 1px rgba(255, 198, 41, .48);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--stale .imo-dashboard-metric__percent {
    background: rgba(251, 113, 133, .24);
    color: #fda4af;
    box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .42);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric.imo-stage-card--danger .imo-dashboard-metric__percent {
    background: rgba(255, 68, 56, .24);
    color: #ffa69e;
    box-shadow: inset 0 0 0 1px rgba(255, 68, 56, .44);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-financial-row__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-signal__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-signal__title {
    color: inherit;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-title-sep {
    color: #64748b;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-signal__chevron {
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-microcopy {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .045);
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .imo-dashboard-page--polish .imo-dashboard-unified-hero__filter-tabs .imo-dashboard-header-tabs {
        flex-wrap: nowrap;
    }
}

@media (max-width: 420px) {
    .imo-dashboard-page--polish .imo-dashboard-unified-hero__shell {
        align-items: stretch;
    }

    .imo-dashboard-page--polish .imo-dashboard-unified-hero__filters {
        flex-basis: 100%;
        min-width: 0;
    }

    .imo-dashboard-page--polish .imo-dashboard-section {
        padding: .62rem .66rem .66rem;
    }

    .imo-dashboard-page--polish .imo-dashboard-signal__chevron {
        display: none;
    }
}

.imo-dashboard-page--polish .imo-dashboard-filter-list {
    margin-top: 0;
    padding: .42rem .48rem !important;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 251, 253, .92)),
        #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 10px 22px rgba(35, 31, 32, .04);
}

.imo-dashboard-page--polish .imo-dashboard-filter-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 0;
    margin: 0 0 .24rem;
    padding: 0;
}

.imo-dashboard-page--polish .imo-dashboard-filter-list__head p {
    margin: 0;
    line-height: 1.1;
}

.imo-dashboard-page--polish .imo-dashboard-filter-list__primary {
    min-width: 0;
    color: var(--cit-primary);
    font-size: .66rem;
    font-weight: 850;
}

.imo-dashboard-page--polish .imo-dashboard-filter-list__secondary {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: .56rem;
    font-weight: 750;
    white-space: nowrap;
}

.imo-dashboard-page--polish .imo-dashboard-filter-list__items {
    margin-top: .24rem;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Dashboard filtrat + lista lucrari: foaie unificata hero + pastile, fara cutie dubla. */
.imo-dashboard-page--polish:has(.imo-dashboard-panel--filtered) {
    gap: 0 !important;
}

.imo-dashboard-page--polish:has(.imo-dashboard-panel--filtered) .imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: 0;
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: none;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered > .imo-dashboard-filter-list {
    margin-top: 0;
    padding: .3rem .34rem .44rem !important;
    border: 1px solid rgba(229, 234, 240, .96);
    border-top: 1px solid rgba(226, 232, 240, .78);
    border-left-width: 3px;
    border-left-color: #00a7e1;
    border-radius: 0 0 1rem 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 251, 253, .92)),
        #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 12px 28px rgba(35, 31, 32, .045);
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-dashboard-filter-list__head {
    margin-bottom: .16rem;
    padding-inline: .04rem;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-dashboard-filter-list__items {
    margin-top: .16rem;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-dashboard-filter-list__items .imo-task-filter-list {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-dashboard-filter-list__items .space-y-1\.5 {
    display: grid;
    gap: .24rem;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-task-title-row {
    width: 100%;
    box-sizing: border-box;
}

.imo-dashboard-page--polish .imo-dashboard-panel--filtered .imo-microcopy {
    margin: .34rem .04rem 0;
}

.imo-tasks-index-page.imo-dashboard-page--polish {
    gap: 0 !important;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-hero.imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: 0;
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: none;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list.imo-dashboard-filter-list {
    margin-top: 0;
    padding: .3rem .34rem .44rem !important;
    border: 1px solid rgba(229, 234, 240, .96);
    border-top: 1px solid rgba(226, 232, 240, .78);
    border-left-width: 3px;
    border-left-color: #00a7e1;
    border-radius: 0 0 1rem 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 251, 253, .92)),
        #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 12px 28px rgba(35, 31, 32, .045);
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list .imo-task-filter-list {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-filter-list__items .space-y-1\.5 {
    display: grid;
    gap: .24rem;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-task-title-row {
    width: 100%;
    box-sizing: border-box;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-pagination {
    margin-top: .42rem;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel--filtered > .imo-dashboard-filter-list,
html[data-theme="dark"] .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list.imo-dashboard-filter-list {
    border-color: rgba(148, 163, 184, .24);
    border-top-color: rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 12px 28px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-filter-list {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-filter-list__primary {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-filter-list__secondary {
    color: #9fb0c2;
}

@media (max-width: 420px) {
    .imo-dashboard-page--polish .imo-dashboard-filter-list__head {
        flex-wrap: wrap;
        gap: .12rem .4rem;
    }

    .imo-dashboard-page--polish .imo-dashboard-filter-list__secondary {
        white-space: normal;
    }
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search {
    margin-top: .38rem;
    padding-top: .38rem;
    border-top: 1px solid rgba(226, 232, 240, .72);
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search .imo-search-row,
.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search.imo-search-row-wrap {
    margin-bottom: 0;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search .imo-input,
.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search .imo-search-row .imo-btn {
    min-height: 1.82rem;
    padding-top: .22rem;
    padding-bottom: .22rem;
    border-radius: .62rem;
    font-size: .72rem;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search__btn {
    min-height: 1.82rem;
    padding-inline: .82rem;
    font-size: .68rem;
    font-weight: 850;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list {
    margin-top: 0;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list .imo-task-filter-list {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-task-filter-count {
    background: rgba(255, 255, 255, .2);
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-pagination {
    margin-top: .28rem;
}

.imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-pagination nav {
    display: flex;
    justify-content: center;
}

html[data-theme="dark"] .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search {
    border-top-color: rgba(148, 163, 184, .24);
}

@media (max-width: 640px) {
    .imo-main:has(.imo-tasks-index-page.imo-dashboard-page--polish),
    .imo-main:has(.imo-dashboard-page.imo-dashboard-page--polish) {
        width: 100%;
        max-width: 100%;
        padding-top: .24rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish,
    .imo-dashboard-page.imo-dashboard-page--polish {
        width: 100%;
        max-width: 100%;
        margin-inline: 0 !important;
        overflow-x: clip;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish {
        gap: 0 !important;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-hero.imo-dashboard-unified-hero.imo-dashboard-section,
    .imo-dashboard-page--polish:has(.imo-dashboard-panel--filtered) .imo-dashboard-unified-hero.imo-dashboard-section {
        margin-bottom: 0;
        padding: .58rem .68rem !important;
        border-radius: 0;
        border-right: 0;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list.imo-dashboard-filter-list,
    .imo-dashboard-page--polish .imo-dashboard-panel--filtered > .imo-dashboard-filter-list {
        padding: .3rem .34rem .44rem !important;
        border-radius: 0;
        border-right: 0;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-pagination {
        padding-inline: .68rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__shell {
        align-items: stretch;
        gap: .18rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__intro {
        flex: 1 1 auto;
        min-width: 0;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__filters {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
        margin-top: 0;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__title {
        font-size: clamp(.94rem, 4.6vw, 1.08rem);
        line-height: 1.04;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__meta {
        margin-top: .08rem;
        font-size: .58rem;
        line-height: 1.15;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-header-tabs {
        padding: .03rem;
        border-radius: .56rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
        min-height: 1.34rem;
        padding: .1rem .32rem;
        font-size: .58rem;
        border-radius: .46rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab svg {
        width: .58rem;
        height: .58rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-task-filter-count {
        min-width: 1.1rem;
        height: .88rem;
        padding: 0 .22rem;
        font-size: .52rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search {
        margin-top: .24rem;
        padding-top: .24rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search .imo-input,
    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search .imo-search-row .imo-btn,
    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-search__btn {
        min-height: 1.62rem;
        padding-top: .16rem;
        padding-bottom: .16rem;
        border-radius: .56rem;
        font-size: .68rem;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-tasks-index-list.imo-dashboard-section {
        padding: .3rem .34rem .44rem !important;
        border-radius: 0;
        border-right: 0;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-filter-list__head {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .08rem;
        align-items: start;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-filter-list__primary,
    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-filter-list__secondary {
        min-width: 0;
        max-width: 100%;
    }

    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-filter-list__secondary {
        flex: initial;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page):has(.imo-dashboard-panel--filtered) {
        gap: 0 !important;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page):has(.imo-dashboard-panel--filtered) .imo-dashboard-unified-hero.imo-dashboard-section {
        margin-bottom: 0;
        padding: .58rem .68rem !important;
        border-radius: 0;
        border-right: 0;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-panel--filtered > .imo-dashboard-filter-list {
        padding: .3rem .34rem .44rem !important;
        border-radius: 0;
        border-right: 0;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page):not(:has(.imo-dashboard-panel--filtered)) {
        gap: .12rem !important;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page):not(:has(.imo-dashboard-panel--filtered)) .imo-dashboard-unified-hero.imo-dashboard-section {
        margin-bottom: .12rem;
        padding: .42rem .5rem !important;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__shell {
        align-items: stretch;
        gap: .18rem;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__filters {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-panel {
        padding: 0 .25rem .25rem !important;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-kpi-section > .imo-dashboard-section:first-child {
        padding-top: .36rem;
        padding-inline: .52rem;
    }

    .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-tasks-index-page):not(.imo-activity-mirror-page) .imo-dashboard-section__head {
        margin-bottom: .36rem;
    }
}

@media (max-width: 360px) {
    .imo-tasks-index-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__filters {
        flex-basis: 100%;
        max-width: 100%;
        margin-top: .08rem;
    }
}

.imo-profile-menu-panel--polish {
    display: flex;
    flex-direction: column;
    width: min(19.5rem, calc(100vw - 1rem));
    max-height: min(84vh, 40rem);
    padding: .52rem;
    overflow: hidden;
    border: 1px solid rgba(229, 234, 240, .96);
    border-radius: 1.28rem;
    background-color: #fff;
    background-image: none;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .025), 0 16px 34px rgba(35, 31, 32, .08);
    isolation: isolate;
}

.imo-profile-menu-panel--polish .imo-profile-menu-dashboard {
    background-color: #fff;
    background-image: none;
}

.imo-profile-menu-panel--polish .imo-dashboard-unified-hero.imo-dashboard-section {
    z-index: auto;
}

.imo-profile-menu-panel--polish .imo-profile-menu-dashboard {
    display: grid;
    gap: .42rem !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: .06rem;
    scrollbar-width: thin;
}

.imo-profile-menu-panel--polish .imo-profile-menu-dashboard__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .28rem;
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.imo-profile-menu-panel--polish .imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: 0;
}

.imo-profile-menu-panel--polish .imo-dashboard-section {
    padding: .58rem .62rem .62rem;
}

.imo-profile-menu-panel--polish .imo-dashboard-section__head {
    margin-bottom: .38rem;
}

.imo-profile-menu-panel--polish .imo-dashboard-signals {
    gap: .34rem;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section.imo-dashboard-section {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section + .imo-profile-menu-section {
    margin-top: .06rem;
    padding-top: .14rem;
    border-top: 1px solid rgba(226, 232, 240, .68);
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-section__head {
    margin-bottom: .12rem;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-section-title {
    font-size: .52rem;
    letter-spacing: .07em;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-signals {
    gap: .18rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.imo-profile-menu-panel--polish .imo-dashboard-signal {
    min-height: 1.92rem;
    padding: .26rem .38rem;
    border-radius: .62rem;
    box-shadow: none;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-signal__value {
    min-width: 1.2rem;
    font-size: .82rem;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-signal__title {
    font-size: .6rem;
    line-height: 1.1;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-signal__chevron {
    display: none;
}

.imo-profile-menu-panel--polish .imo-profile-menu-section--punctaj .imo-dashboard-signal--no-value {
    grid-column: 1 / -1;
}

.imo-profile-menu-panel--polish .imo-inbox-menu-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .18rem;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.imo-profile-menu-panel--polish .imo-inbox-menu-card__col {
    display: flex;
    align-items: center;
    gap: .34rem;
    min-width: 0;
}

.imo-profile-menu-panel--polish .imo-inbox-menu-card__col + .imo-inbox-menu-card__col {
    padding-left: .18rem;
    border-left: 1px solid rgba(226, 232, 240, .68);
}

.imo-profile-menu-panel--polish .imo-inbox-menu-card:hover {
    border-color: rgba(13, 148, 136, .28);
    background: rgba(236, 253, 245, .72);
}

.imo-profile-menu-panel--polish .imo-profile-menu-feature {
    border-left-color: #00a7e1;
    color: #007aa5;
}

.imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    min-width: 1.55rem;
    font-size: 0;
}

.imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__value svg {
    width: .92rem;
    height: .92rem;
    stroke-width: 2.1;
}

.imo-profile-menu-panel--polish .imo-dashboard-signal--no-value {
    grid-template-columns: minmax(0, 1fr) auto;
}

.imo-profile-menu-panel--polish .imo-dashboard-signal--no-value .imo-dashboard-signal__copy {
    grid-column: 1;
}

.imo-profile-menu-panel--polish .imo-dashboard-signal--no-value .imo-dashboard-signal__chevron {
    grid-column: 2;
}

.imo-profile-menu-panel--polish .imo-profile-menu-logout {
    flex: 0 0 auto;
    margin: .42rem 0 0;
    padding-top: .42rem;
    border-top: 1px solid rgba(226, 232, 240, .72);
}

.imo-profile-menu-panel--polish .imo-profile-menu-logout button {
    width: 100%;
    min-height: 2.05rem;
    padding: .42rem .72rem;
    border: 1px solid rgba(255, 68, 56, .28);
    border-left-width: 3px;
    border-left-color: #ff4438;
    border-radius: .82rem;
    background: rgba(255, 68, 56, .06);
    color: #b4251d;
    font-size: .68rem;
    font-weight: 850;
    cursor: pointer;
}

.imo-profile-menu-panel--polish .imo-profile-menu-logout button:hover {
    background: rgba(255, 68, 56, .1);
}

html[data-theme="dark"] .imo-profile-menu-panel--polish {
    border-color: rgba(148, 163, 184, .24);
    background-color: #121820;
    background-image: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 16px 34px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .imo-profile-menu-panel--polish .imo-profile-menu-dashboard {
    background-color: #121820;
    background-image: none;
}

html[data-theme="dark"] .imo-profile-menu-panel--polish .imo-profile-menu-logout {
    border-top-color: rgba(148, 163, 184, .24);
}

html[data-theme="dark"] .imo-profile-menu-panel--polish .imo-profile-menu-logout button {
    border-color: rgba(255, 68, 56, .28);
    background: rgba(255, 68, 56, .08);
    color: #fb7185;
}

.imo-profile-menu-portal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
}

.imo-profile-menu-portal:not([hidden]) {
    pointer-events: auto;
}

.imo-profile-menu-portal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(35, 31, 32, .52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: default;
}

.imo-profile-menu-portal .imo-profile-menu-panel--polish {
    position: fixed;
    z-index: 9992;
    max-height: min(78vh, 36rem);
    overflow: hidden;
    background-color: #fff;
    background-image: none;
}

html[data-theme="dark"] .imo-profile-menu-portal .imo-profile-menu-panel--polish {
    background-color: #121820;
    background-image: none;
}

@media (max-width: 640px) {
    body.imo-profile-menu-open {
        overflow: hidden;
    }

    body.imo-profile-menu-open .imo-header {
        z-index: 9993;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .imo-profile-menu-panel--polish {
        width: min(18.75rem, calc(100vw - .75rem));
        max-height: min(84vh, 40rem);
        padding: .34rem .36rem .32rem;
        overflow: hidden;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-dashboard {
        gap: .18rem !important;
        overflow-y: auto;
        padding: 0;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-unified-hero.imo-dashboard-section {
        margin-bottom: 0;
        padding: .32rem .4rem !important;
        border-radius: .82rem;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-unified-hero__shell {
        gap: .18rem .28rem;
        align-items: center;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-unified-hero__title {
        font-size: .82rem;
        line-height: 1.05;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-unified-hero__meta {
        margin-top: .04rem;
        font-size: .56rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-dashboard__actions {
        gap: .18rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-icon-link,
    .imo-profile-menu-panel--polish .imo-profile-theme-toggle {
        width: 1.62rem !important;
        min-width: 1.62rem !important;
        height: 1.62rem !important;
        min-height: 1.62rem !important;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-feature {
        min-height: 0;
        padding: .3rem .4rem;
        border-radius: .68rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__value {
        width: 1.15rem;
        min-width: 1.15rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__value svg {
        width: .72rem;
        height: .72rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__subtitle {
        display: none;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-feature .imo-dashboard-signal__title {
        font-size: .64rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-section__head {
        margin-bottom: .1rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-section .imo-section-title {
        font-size: .5rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-section .imo-dashboard-signals {
        gap: .16rem;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-signal {
        min-height: 1.82rem;
        padding: .22rem .34rem;
        border-radius: .58rem;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-signal__value {
        min-width: 1.15rem;
        font-size: .78rem;
    }

    .imo-profile-menu-panel--polish .imo-dashboard-signal__title {
        font-size: .58rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-logout {
        margin-top: .22rem;
        padding-top: .22rem;
    }

    .imo-profile-menu-panel--polish .imo-profile-menu-logout button {
        min-height: 1.72rem;
        padding: .28rem .58rem;
        border-radius: .62rem;
        font-size: .62rem;
    }
}

html[data-theme="dark"] .imo-profile-menu-panel--polish .imo-profile-menu-section + .imo-profile-menu-section {
    border-top-color: rgba(148, 163, 184, .22);
}

.imo-database-backup-page .imo-database-backup-summary {
    display: grid;
    gap: .28rem;
    margin-top: .45rem;
    color: #64748b;
    font-size: .74rem;
    line-height: 1.45;
}

.imo-database-backup-page .imo-database-backup-programare-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.imo-database-backup-page .imo-database-backup-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2.35rem;
    padding: .48rem 1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(13, 148, 136, .28);
    transition: transform .15s, filter .15s, box-shadow .15s;
}

.imo-database-backup-page .imo-database-backup-now:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 148, 136, .34);
}

.imo-database-backup-page .imo-database-backup-now:disabled {
    opacity: .65;
    cursor: wait;
}

.imo-database-backup-page .imo-database-backup-error {
    margin: .55rem 0 0;
    color: #b91c1c;
    font-size: .74rem;
    font-weight: 800;
}

.imo-database-backup-page .imo-database-backup-success {
    margin: 0 0 .75rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(13, 148, 136, .24);
    border-radius: .85rem;
    background: rgba(13, 148, 136, .08);
    color: #0f766e;
    font-size: .74rem;
    font-weight: 800;
}

.imo-database-backup-install-hint {
    margin: .45rem 0 0;
    color: #64748b;
    font-size: .74rem;
    line-height: 1.45;
}

.imo-database-backup-install-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: .65rem;
}

.imo-database-backup-install-picker {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0 .85rem;
    border: 1px dashed rgba(100, 116, 139, .45);
    border-radius: 999px;
    background: rgba(248, 250, 252, .92);
    color: #475467;
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
}

.imo-database-backup-install-picker input {
    display: none;
}

.imo-database-backup-install-btn,
.imo-database-backup-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: .42rem .85rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, .22);
}

.imo-database-backup-action--ghost {
    border: 1px solid rgba(100, 116, 139, .28);
    background: transparent;
    color: #475467;
    box-shadow: none;
}

.imo-database-backup-row__actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
}

.imo-database-backup-row__actions form {
    margin: 0;
}

.imo-database-backup-page .imo-database-backup-empty {
    margin-top: .45rem;
    color: #64748b;
    font-size: .74rem;
    line-height: 1.45;
}

.imo-database-backup-page .imo-database-backup-summary strong {
    color: var(--cit-primary);
}

.imo-database-backup-list {
    display: grid;
    gap: .32rem;
    margin-top: .55rem;
}

.imo-database-backup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    min-height: 3rem;
    padding: .55rem .68rem;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: .92rem;
    background: rgba(255, 255, 255, .96);
    color: inherit;
    text-decoration: none;
}

.imo-database-backup-row__main {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.imo-database-backup-row__main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cit-primary);
    font-size: .76rem;
    font-weight: 850;
}

.imo-database-backup-row__main small {
    color: #667085;
    font-size: .66rem;
    font-weight: 700;
}

.imo-database-backup-row__meta {
    flex: 0 0 auto;
    color: #667085;
    font-size: .68rem;
    font-weight: 800;
}

.imo-database-backup-row:hover,
.imo-database-backup-row:focus-visible {
    border-color: rgba(0, 167, 225, .28);
    background: rgba(0, 167, 225, .05);
    outline: none;
}

html[data-theme="dark"] .imo-database-backup-row {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .imo-database-backup-row__main strong {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-database-backup-page .imo-database-backup-summary {
    color: #9fb0c2;
}

html[data-theme="dark"] .imo-profile-icon-link {
    border-color: rgba(0, 167, 225, .35);
    background: rgba(0, 167, 225, .12);
    color: var(--cit-ink);
}

.imo-activity-mirror-page .imo-dashboard-eyebrow {
    color: #0f766e;
    font-weight: 850;
}

.imo-activity-mirror-page.imo-dashboard-page--polish {
    gap: .42rem !important;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-hero.imo-dashboard-unified-hero.imo-dashboard-section {
    margin-bottom: .42rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-hero__range {
    margin: .12rem 0 0;
    color: #94a3b8;
    font-size: .58rem;
    font-weight: 750;
    line-height: 1.2;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-pdf-btn {
    white-space: nowrap;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-dashboard-section.imo-mb-tight {
    margin-bottom: .42rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-dashboard-filter-list {
    padding: .42rem .48rem !important;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-task-filter-list {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-metric__value--text {
    font-size: clamp(.82rem, 3vw, 1rem);
    letter-spacing: -.02em;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-metric__hint {
    margin-top: .08rem;
    color: #94a3b8;
    font-size: .56rem;
    font-weight: 750;
    line-height: 1.15;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .34rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-points .imo-dashboard-signal {
    min-height: 2.75rem;
    padding: .42rem .48rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-points .imo-dashboard-signal__chevron {
    display: none;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown {
    margin-top: .42rem;
    padding-top: .38rem;
    border-top: 1px solid rgba(226, 232, 240, .72);
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__title {
    margin: 0 0 .24rem;
    color: var(--cit-primary);
    font-size: .62rem;
    font-weight: 850;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    min-height: 1.72rem;
    padding: .18rem 0;
    color: #64748b;
    font-size: .66rem;
    font-weight: 750;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__row + .imo-activity-mirror-breakdown__row {
    border-top: 1px solid rgba(241, 245, 249, .95);
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__row strong.is-good {
    color: #15803d;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__row strong.is-bad {
    color: #be123c;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-task-row-meta,
.imo-activity-mirror-page.imo-dashboard-page--polish .imo-mention-context {
    color: #64748b !important;
    font-weight: 750;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-list {
    display: grid;
    gap: .34rem;
    margin-top: .24rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    min-height: 2.85rem;
    padding: .48rem .58rem;
    border: 1px solid var(--cit-line);
    border-left-width: 3px;
    border-left-color: #00a7e1;
    border-radius: .82rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(35, 31, 32, .02), 0 8px 18px rgba(35, 31, 32, .035);
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-copy {
    min-width: 0;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-title {
    display: block;
    color: var(--cit-primary);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-title.is-active {
    color: #007aa5;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-meta {
    margin: .08rem 0 0;
    color: #94a3b8;
    font-size: .56rem;
    font-weight: 750;
    line-height: 1.2;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 2.5rem;
    min-height: 1.72rem;
    padding: .24rem .62rem;
    border-radius: .56rem;
    background: #007aa5;
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 122, 165, .18);
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team {
    margin-top: .35rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-groups {
    display: grid;
    gap: .75rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-month__head {
    margin-bottom: .28rem;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-month__title {
    margin: 0;
    color: var(--cit-primary);
    font-size: .74rem;
    font-weight: 900;
    line-height: 1.15;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-month__meta {
    margin: .08rem 0 0;
    color: #94a3b8;
    font-size: .56rem;
    font-weight: 750;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-actions {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    flex: 0 0 auto;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-team-view {
    background: #fff;
    color: #007aa5;
    border: 1px solid rgba(0, 122, 165, .18);
    box-shadow: none;
}

.imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-back-link {
    color: #007aa5;
    font-size: .62rem;
    font-weight: 800;
    text-decoration: none;
}

.imo-activity-mirror-page .imo-activity-archive-list {
    display: grid;
    gap: .55rem;
    margin-top: .55rem;
}

.imo-activity-mirror-page .imo-activity-archive-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 3.35rem;
    padding: .62rem .72rem;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: .95rem;
    background: rgba(255, 255, 255, .98);
}

.imo-activity-mirror-page .imo-activity-archive-copy {
    min-width: 0;
}

.imo-activity-mirror-page .imo-activity-archive-title {
    display: block;
    color: var(--cit-primary);
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
}

.imo-activity-mirror-page .imo-activity-archive-title.is-active {
    text-decoration: underline;
    text-underline-offset: .14rem;
}

.imo-activity-mirror-page .imo-activity-archive-meta {
    margin: .2rem 0 0;
    color: #0f172a;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.3;
}

.imo-activity-mirror-page .imo-activity-archive-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 3.35rem;
    min-height: 2.35rem;
    padding: .42rem .78rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--imo-brand), var(--imo-brand-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(13, 148, 136, .28);
}

.imo-activity-mirror-page .imo-stat-label,
.imo-activity-mirror-page .imo-task-row-meta,
.imo-activity-mirror-page .imo-mention-context {
    color: #334155 !important;
    font-weight: 750;
}

.imo-activity-mirror-page .imo-stat-value {
    color: var(--cit-primary);
}

.imo-activity-mirror-page .imo-stage-card--closed {
    background: linear-gradient(135deg, #bbf7d0, #86efac);
    border-color: #16a34a;
    color: #14532d;
}

.imo-activity-mirror-page .imo-stage-card--waiting {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    border-color: #d97706;
    color: #78350f;
}

.imo-activity-mirror-page .imo-stage-card--danger {
    background: linear-gradient(135deg, #fca5a5, #f87171);
    border-color: #dc2626;
    color: #7f1d1d;
}

.imo-activity-mirror-page .imo-stage-card--closed .imo-stat-value,
.imo-activity-mirror-page .imo-stage-card--waiting .imo-stat-value,
.imo-activity-mirror-page .imo-stage-card--danger .imo-stat-value {
    color: inherit;
}

html[data-theme="dark"] .imo-activity-mirror-page .imo-activity-archive-row {
    border-color: rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .imo-activity-mirror-page .imo-activity-archive-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-activity-mirror-page .imo-activity-archive-meta {
    color: #cbd5e1;
}

html[data-theme="dark"] .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown {
    border-top-color: rgba(148, 163, 184, .24);
}

html[data-theme="dark"] .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-breakdown__row + .imo-activity-mirror-breakdown__row {
    border-top-color: rgba(148, 163, 184, .14);
}

html[data-theme="dark"] .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-row {
    border-color: rgba(148, 163, 184, .24);
    border-left-color: rgba(0, 167, 225, .72);
    background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-archive-meta {
    color: #9fb0c2;
}

@media (max-width: 640px) {
    .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-hero.imo-dashboard-unified-hero.imo-dashboard-section {
        padding: .42rem .5rem !important;
    }

    .imo-activity-mirror-page.imo-dashboard-page--polish .imo-activity-mirror-points {
        grid-template-columns: 1fr;
    }

    .imo-activity-mirror-page.imo-dashboard-page--polish .imo-dashboard-unified-hero__filters {
        flex-basis: 100%;
        max-width: 100%;
        margin-top: .12rem;
    }

    .imo-activity-mirror-page.imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .imo-activity-mirror-page .imo-activity-archive-row {
        min-height: 3.75rem;
        padding: .72rem .82rem;
    }

    .imo-activity-mirror-page .imo-activity-archive-title {
        font-size: 1.14rem;
    }

    .imo-activity-mirror-page .imo-activity-archive-meta {
        font-size: .94rem;
        color: #020617;
        font-weight: 900;
    }

    .imo-activity-mirror-page .imo-activity-archive-pdf {
        min-width: 4rem;
        min-height: 2.75rem;
        padding: .52rem 1rem;
        font-size: .82rem;
    }

    .imo-activity-mirror-page .imo-stat-label {
        font-size: .62rem !important;
    }

    .imo-activity-mirror-page .imo-stat-value {
        font-size: 1.12rem !important;
    }
}

/* Dashboard work panel: citgrup structure, both themes. */
body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header {
    background: #0078a5;
    border-bottom-color: #0078a5;
    box-shadow: none;
}

body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line,
body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line span,
body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line small,
body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-nav-link {
    color: #fff;
}

.imo-nav-item--fab {
    background: #60a629 !important;
    color: #fff !important;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero.imo-dashboard-section {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.imo-dashboard-page--polish .imo-kpi-section > .imo-dashboard-section:not(.imo-dashboard-panel-card) {
    padding-right: 0;
    padding-left: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--cit-line);
    border-radius: 12px;
    background: var(--cit-surface);
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric {
    display: grid;
    gap: .2rem;
    min-height: 0;
    padding: .7rem .75rem !important;
    border: 0;
    border-right: 1px solid var(--cit-line);
    border-bottom: 1px solid var(--cit-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--cit-ink);
    text-decoration: none;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-stage-card {
    border-left-width: 0;
    color: var(--cit-ink);
    background: transparent;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__label {
    color: var(--cit-muted);
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__value {
    color: var(--cit-ink);
    font-size: 1.55rem;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric--danger .imo-dashboard-metric__value {
    color: #b42318;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(2n) {
    border-right: 0;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-last-child(-n+2) {
    border-bottom: 0;
}

.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__copy {
    flex: 1 1 auto;
}

.imo-dashboard-split {
    display: grid;
    gap: .7rem;
}

.imo-dashboard-page--polish .imo-dashboard-panel-card {
    padding: .15rem .2rem .35rem;
    border: 1px solid var(--cit-line);
    border-radius: 12px;
    background: var(--cit-surface);
}

.imo-dashboard-page--polish .imo-dashboard-row-list,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-strip,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signals {
    display: grid;
    gap: 0;
}

.imo-dashboard-page--polish .imo-dashboard-line,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.7rem;
    padding: .65rem .8rem;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--cit-line);
    border-left-width: 0;
    background: transparent;
    box-shadow: none;
    color: var(--cit-ink);
    text-decoration: none;
}

.imo-dashboard-page--polish .imo-dashboard-line span,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__label,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__title,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__subtitle {
    color: var(--cit-muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: .86rem;
    font-weight: 600;
}

.imo-dashboard-page--polish .imo-dashboard-line strong,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__value {
    color: var(--cit-ink);
    font-weight: 800;
}

.imo-dashboard-page--polish .imo-dashboard-line--danger strong {
    color: #b42318;
}

@media (min-width: 840px) {
    .imo-dashboard-page--polish .imo-dashboard-metric-strip {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(2n) {
        border-right: 1px solid var(--cit-line);
        border-bottom: 0;
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:last-child {
        border-right: 0;
    }

    .imo-dashboard-split {
        grid-template-columns: 1.4fr .8fr;
        align-items: start;
    }
}

html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header {
    background: rgba(12, 17, 23, .92);
    border-bottom-color: rgba(148, 163, 184, .22);
}

html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line,
html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line span,
html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line small {
    color: #f5f7fb;
}

html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-nav-link {
    color: #e2e8f0;
}

html[data-theme="dark"] .imo-nav-item--fab {
    background: #3d7a18 !important;
    color: #fff !important;
    box-shadow: none;
}

html[data-theme="dark"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero.imo-dashboard-section {
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-kpi-section > .imo-dashboard-section:not(.imo-dashboard-panel-card) {
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card {
    background: rgba(255, 255, 255, .045);
    border-color: rgba(148, 163, 184, .24);
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-stage-card,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-line,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal {
    background: transparent;
    border-color: rgba(148, 163, 184, .2);
    color: #f5f7fb;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-line strong,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__title {
    color: #f5f7fb;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__label,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-line span,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__label,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__subtitle {
    color: #9fb0c2;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric--danger .imo-dashboard-metric__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-line--danger strong {
    color: #ff8d86;
}

/* Dashboard proposal correction: readable title, flat page, room for the 6 figures. */
body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) {
    background: #f4f7f9 !important;
}

body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header {
    background: #0078a5 !important;
    border-bottom-color: #06698f !important;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__title {
    color: #16324a !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
}

.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta,
.imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta span {
    color: #526070 !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip {
    background: #fff;
}

.imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__value {
    font-size: 1.85rem !important;
}

.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--revenue .imo-dashboard-financial-row__value,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--reductions .imo-dashboard-financial-row__value,
.imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--work-value .imo-dashboard-financial-row__value {
    color: #16324a !important;
}

@media (min-width: 960px) {
    body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-main,
    body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header-inner {
        max-width: 72rem;
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(2n) {
        border-right: 1px solid var(--cit-line);
        border-bottom: 1px solid var(--cit-line);
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(3n) {
        border-right: 0;
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-last-child(-n+3) {
        border-bottom: 0;
    }
}

@media (min-width: 1180px) {
    .imo-dashboard-page--polish .imo-dashboard-metric-strip {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(2n),
    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(3n) {
        border-right: 1px solid var(--cit-line);
        border-bottom: 0;
    }

    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:nth-child(6n),
    .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric:last-child {
        border-right: 0;
    }
}

html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) {
    background: #0e141b !important;
}

html[data-theme="dark"] body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header {
    background: #12181f !important;
    border-bottom-color: rgba(148, 163, 184, .28) !important;
}

html[data-theme="dark"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__title {
    color: #f8fafc !important;
}

html[data-theme="dark"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta,
html[data-theme="dark"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta span {
    color: #d5dee8 !important;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-metric-strip,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card {
    background: #171e27 !important;
}

html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--revenue .imo-dashboard-financial-row__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--reductions .imo-dashboard-financial-row__value,
html[data-theme="dark"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row.imo-filter-tone--work-value .imo-dashboard-financial-row__value {
    color: #f8fafc !important;
}

/* Light theme is the citgrup proposal. Dark theme keeps the current dark dashboard. */
html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) {
    background: #f4f7f9 !important;
    color: #16324a !important;
}

html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header {
    background: #0078a5 !important;
    border-bottom-color: #06698f !important;
}

html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line,
html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line span,
html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-brand-line small,
html:not([data-theme="dark"]) body:has(.imo-main .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page)) .imo-header .imo-header-nav-link {
    color: #fff !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__title {
    color: #16324a !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta,
html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta span,
html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-section-title,
html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-section__link,
html:not([data-theme="dark"]) .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-microcopy {
    color: #526070 !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-stage-card {
    background: #fff !important;
    border-color: #e6ebf0 !important;
    color: #16324a !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__label,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-line span,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__label,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__subtitle,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-section__hint {
    color: #667085 !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__value,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-line strong,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__value,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__title {
    color: #16324a !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric--danger .imo-dashboard-metric__value,
html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-line--danger strong {
    color: #b42318 !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-header-tabs {
    background: transparent !important;
    border-color: transparent !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
    background: #fff !important;
    color: #075f8f !important;
    border: 1px solid #c9d7e2 !important;
}

html:not([data-theme="dark"]) .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab.is-active {
    background: #e7f3f8 !important;
    color: #075f8f !important;
}

html:not([data-theme="dark"]) .imo-nav {
    background: #fff !important;
    border-top: 1px solid #e6ebf0 !important;
    box-shadow: none !important;
}

html:not([data-theme="dark"]) .imo-nav-grid {
    background: transparent !important;
    border-color: transparent !important;
}

html:not([data-theme="dark"]) .imo-nav-item {
    color: #526070 !important;
}

html:not([data-theme="dark"]) .imo-nav-item.is-active {
    background: #e7f3f8 !important;
    color: #075f8f !important;
}

.imo-theme-picker__menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    margin: .15rem 0 .35rem;
}

.imo-theme-choice {
    min-height: 2.1rem;
    padding: .35rem .3rem;
    border: 1px solid #d7e0e7;
    border-radius: 8px;
    background: #fff;
    color: #1c2833;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
}

.imo-theme-choice.is-selected {
    border-color: #0078a5;
    background: #eef6fa;
    color: #075f8f;
}

html[data-theme="proposal"] {
    /* „only”: Chrome Auto Dark Mode nu are voie sa intunece tema light. */
    color-scheme: only light;
}

html[data-theme="proposal"] body.imo-body {
    background: #f4f7f9 !important;
    color: #1c2833 !important;
    font-family: Roboto, "Plus Jakarta Sans", sans-serif !important;
}

html[data-theme="proposal"] .imo-header {
    background: #0078a5 !important;
    border-bottom-color: #06698f !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-header .imo-header-brand-line,
html[data-theme="proposal"] .imo-header .imo-header-brand-line span,
html[data-theme="proposal"] .imo-header .imo-header-brand-line small,
html[data-theme="proposal"] .imo-header .imo-header-nav-link {
    color: #fff !important;
}

html[data-theme="proposal"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero.imo-dashboard-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__title {
    color: #1c2833 !important;
}

html[data-theme="proposal"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta,
html[data-theme="proposal"] .imo-dashboard-page.imo-dashboard-page--polish:not(.imo-activity-mirror-page) .imo-dashboard-unified-hero__meta span,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-section__hint,
html[data-theme="proposal"] .imo-microcopy {
    color: #667085 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-section-title,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-section__link {
    color: #7b8794 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-stage-card {
    background: #fff !important;
    border-color: #e6ebf0 !important;
    color: #1c2833 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__label,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-line span,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__label,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__subtitle {
    color: #7b8794 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric__value,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-line strong,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-financial-row__value,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__value,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-panel-card .imo-dashboard-signal__title {
    color: #1c2833 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-metric-strip .imo-dashboard-metric--danger .imo-dashboard-metric__value,
html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-line--danger strong {
    color: #b42318 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-header-tabs {
    background: transparent !important;
    border-color: transparent !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab {
    background: #eef6fa !important;
    color: #075f8f !important;
    border: 0 !important;
}

html[data-theme="proposal"] .imo-dashboard-page--polish .imo-dashboard-header-tabs .imo-tab.is-active {
    background: #fff !important;
    color: #075f8f !important;
    box-shadow: inset 0 0 0 1px #c9d7e2 !important;
}

html[data-theme="proposal"] .imo-nav {
    background: #fff !important;
    border-top: 1px solid #e6ebf0 !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-nav-grid {
    background: transparent !important;
    border-color: transparent !important;
}

html[data-theme="proposal"] .imo-nav-item {
    color: #667085 !important;
}

html[data-theme="proposal"] .imo-nav-item.is-active {
    background: #eef6fa !important;
    color: #075f8f !important;
}

html[data-theme="proposal"] .imo-nav-item--fab {
    background: #60a629 !important;
    color: #fff !important;
}

/* aspect: inchis = dark, propunere = soare */
/* proposal-shell: all-pages */
html[data-theme="proposal"] {
    --cit-bg: #f4f7f9;
    --cit-surface: #ffffff;
    --cit-surface-soft: #f7fafc;
    --cit-ink: #1c2833;
    --cit-muted: #667085;
    --cit-line: #e6ebf0;
    --cit-info: #0078a5;
    --cit-success: #60a629;
    --imo-ink: #1c2833;
    --imo-muted: #667085;
    --imo-line: #e6ebf0;
    --imo-surface: #ffffff;
    --imo-bg: #f4f7f9;
    --imo-brand: #0078a5;
    --imo-brand-dark: #075f8f;
    --imo-brand-light: #eef6fa;
}

html[data-theme="proposal"] body.imo-body,
html[data-theme="proposal"] .imo-main,
html[data-theme="proposal"] .imo-tasks-index-page,
html[data-theme="proposal"] .imo-inbox-page,
html[data-theme="proposal"] .imo-task-show-page,
html[data-theme="proposal"] .imo-task-create-page,
html[data-theme="proposal"] .imo-team-performance-page,
html[data-theme="proposal"] .imo-team-members-page,
html[data-theme="proposal"] .imo-financial-impact-page,
html[data-theme="proposal"] .imo-activity-mirror-page,
html[data-theme="proposal"] .imo-operational-feedback-page,
html[data-theme="proposal"] .imo-user-create-page,
html[data-theme="proposal"] .imo-database-backup-page,
html[data-theme="proposal"] .imo-mentions-page {
    background: #f4f7f9 !important;
    background-image: none !important;
    color: #1c2833 !important;
}

html[data-theme="proposal"] .imo-header,
html[data-theme="proposal"] .imo-header-inner {
    background: #0078a5 !important;
    border-bottom-color: #06698f !important;
    box-shadow: none !important;
    color: #fff !important;
}

html[data-theme="proposal"] .imo-header .imo-header-brand-line,
html[data-theme="proposal"] .imo-header .imo-header-brand-line span,
html[data-theme="proposal"] .imo-header .imo-header-brand-line small,
html[data-theme="proposal"] .imo-header .imo-header-nav-link,
html[data-theme="proposal"] .imo-header .imo-header-nav-link span,
html[data-theme="proposal"] .imo-header .imo-chip {
    color: #fff !important;
}

html[data-theme="proposal"] .imo-page-title,
html[data-theme="proposal"] .imo-dashboard-unified-hero__title,
html[data-theme="proposal"] .imo-task-title,
html[data-theme="proposal"] .imo-inbox-section__head h2,
html[data-theme="proposal"] .imo-financial-impact-page .imo-page-title {
    color: #1c2833 !important;
}

html[data-theme="proposal"] .imo-page-sub,
html[data-theme="proposal"] .imo-page-subtitle,
html[data-theme="proposal"] .imo-dashboard-unified-hero__meta,
html[data-theme="proposal"] .imo-dashboard-unified-hero__meta span,
html[data-theme="proposal"] .imo-task-meta,
html[data-theme="proposal"] .imo-section-title,
html[data-theme="proposal"] .imo-microcopy {
    color: #667085 !important;
}

html[data-theme="proposal"] .imo-dashboard-unified-hero.imo-dashboard-section,
html[data-theme="proposal"] .imo-task-hero,
html[data-theme="proposal"] .imo-task-hero--premium,
html[data-theme="proposal"] .imo-create-task-hero,
html[data-theme="proposal"] .imo-team-header,
html[data-theme="proposal"] .imo-performance-hero,
html[data-theme="proposal"] .imo-dashboard-hero,
html[data-theme="proposal"] .imo-list-hero,
html[data-theme="proposal"] .imo-form-hero,
html[data-theme="proposal"] .imo-financial-compact-hero,
html[data-theme="proposal"] .imo-financial-impact-page .imo-financial-compact-hero,
html[data-theme="proposal"] .imo-feedback-detail-hero {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-card,
html[data-theme="proposal"] .imo-card-link,
html[data-theme="proposal"] .imo-list-card,
html[data-theme="proposal"] .imo-dashboard-panel,
html[data-theme="proposal"] .imo-dashboard-panel-card,
html[data-theme="proposal"] .imo-dashboard-metric-strip,
html[data-theme="proposal"] .imo-form-panel,
html[data-theme="proposal"] .imo-form-section,
html[data-theme="proposal"] .imo-member-row-card,
html[data-theme="proposal"] .imo-user-admin-row,
html[data-theme="proposal"] .imo-task-section-card,
html[data-theme="proposal"] .imo-task-composer,
html[data-theme="proposal"] .imo-task-timeline-section,
html[data-theme="proposal"] .imo-task-feedback-section,
html[data-theme="proposal"] .imo-mini-values,
html[data-theme="proposal"] .imo-team-modal-card,
html[data-theme="proposal"] .imo-team-primary-box,
html[data-theme="proposal"] .imo-performance-card,
html[data-theme="proposal"] .imo-stat,
html[data-theme="proposal"] .imo-waiting-panel,
html[data-theme="proposal"] .imo-timeline-card,
html[data-theme="proposal"] .imo-task-title-row,
html[data-theme="proposal"] .imo-financial-row,
html[data-theme="proposal"] .imo-feedback-detail-card,
html[data-theme="proposal"] .imo-feedback-detail-stats article,
html[data-theme="proposal"] .imo-empty,
html[data-theme="proposal"] .imo-input,
html[data-theme="proposal"] .imo-select,
html[data-theme="proposal"] .imo-textarea {
    background: #fff !important;
    background-image: none !important;
    border-color: #e6ebf0 !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-task-hero::before {
    background: #0078a5 !important;
}

html[data-theme="proposal"] .imo-stat--danger,
html[data-theme="proposal"] .imo-stat--danger .imo-stat-value,
html[data-theme="proposal"] .imo-dashboard-metric--danger .imo-dashboard-metric__value,
html[data-theme="proposal"] .imo-dashboard-line--danger strong {
    color: #b42318 !important;
}

html[data-theme="proposal"] .imo-nav {
    background: #fff !important;
    border-top: 1px solid #e6ebf0 !important;
    box-shadow: none !important;
}

html[data-theme="proposal"] .imo-nav-item {
    color: #667085 !important;
}

html[data-theme="proposal"] .imo-nav-item.is-active {
    background: #eef6fa !important;
    color: #075f8f !important;
}

html[data-theme="proposal"] .imo-nav-item--fab {
    background: #60a629 !important;
    color: #fff !important;
}

/* companies: signup + platform admin */
.imo-login-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
@media (max-width: 480px) {
    .imo-login-grid-2 { grid-template-columns: 1fr; }
}
.imo-company-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.imo-company-filter {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    font-size: .85rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}
.imo-company-filter strong {
    font-weight: 800;
    opacity: .75;
}
.imo-company-filter.is-active {
    background: #0078a5;
    border-color: #0078a5;
    color: #fff;
}
.imo-company-filter.is-active strong { opacity: 1; }
.imo-company-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem .9rem;
    padding: .8rem .95rem;
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .55);
}
.imo-company-row--pending { border-left: 4px solid #f59e0b; }
.imo-company-row--approved { border-left: 4px solid #60a629; }
.imo-company-row--suspended { border-left: 4px solid #b42318; }
.imo-company-row--rejected { border-left: 4px solid #94a3b8; opacity: .8; }
.imo-company-row__main { min-width: 0; flex: 1 1 18rem; }
.imo-company-row__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: .2rem;
}
.imo-company-row__name { font-size: 1rem; font-weight: 800; }
.imo-company-row__meta {
    margin: 0;
    font-size: .82rem;
    color: #667085;
    overflow-wrap: anywhere;
}
.imo-company-row__meta a { color: inherit; text-decoration: underline; }
.imo-company-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.imo-company-row__actions form { margin: 0; }
.imo-company-status {
    display: inline-flex;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.imo-company-status--pending { background: #fef3c7; color: #92400e; }
.imo-company-status--approved { background: #e7f5d9; color: #3f7f12; }
.imo-company-status--suspended { background: #fee2e2; color: #991b1b; }
.imo-company-status--rejected { background: #e2e8f0; color: #475569; }
.imo-company-status--self { background: #e0f2fe; color: #075f8f; }
html[data-theme="dark"] .imo-company-row { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .imo-company-row__meta { color: #94a3b8; }

/* jurnal sistem (admin) */
.imo-syslog-row {
    min-width: 0;
    padding: .7rem .95rem;
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, .28);
    border-left-width: 4px;
    border-left-color: #94a3b8;
    background: rgba(255, 255, 255, .55);
}
.imo-syslog-row--problem { border-left-color: #b42318; }
.imo-syslog-row__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: .25rem;
}
.imo-syslog-time { font-size: .78rem; color: #667085; font-variant-numeric: tabular-nums; }
.imo-syslog-level { background: #e2e8f0; color: #475569; }
.imo-syslog-level--info, .imo-syslog-level--notice { background: #e0f2fe; color: #075f8f; }
.imo-syslog-level--debug { background: #f1f5f9; color: #64748b; }
.imo-syslog-level--warning { background: #fef3c7; color: #92400e; }
.imo-syslog-level--error, .imo-syslog-level--critical, .imo-syslog-level--alert, .imo-syslog-level--emergency { background: #fee2e2; color: #991b1b; }
.imo-syslog-message {
    margin: 0;
    font-size: .92rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.imo-syslog-context {
    display: grid;
    gap: .15rem;
    margin: .35rem 0 0;
    font-size: .8rem;
}
.imo-syslog-context div { display: flex; flex-wrap: wrap; gap: .25rem .5rem; min-width: 0; }
.imo-syslog-context dt { flex: 0 0 auto; font-weight: 700; color: #667085; }
.imo-syslog-context dd { flex: 1 1 12rem; min-width: 0; margin: 0; overflow-wrap: anywhere; color: #334155; }
.imo-syslog-details { margin-top: .4rem; font-size: .78rem; }
.imo-syslog-details summary { cursor: pointer; color: #667085; }
.imo-syslog-details pre {
    margin: .35rem 0 0;
    padding: .55rem .7rem;
    max-height: 18rem;
    overflow: auto;
    border-radius: .6rem;
    background: rgba(15, 23, 42, .06);
    font-size: .72rem;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
html[data-theme="dark"] .imo-syslog-row { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .imo-syslog-time,
html[data-theme="dark"] .imo-syslog-context dt,
html[data-theme="dark"] .imo-syslog-details summary { color: #94a3b8; }
html[data-theme="dark"] .imo-syslog-context dd { color: #cbd5e1; }
html[data-theme="dark"] .imo-syslog-details pre { background: rgba(255, 255, 255, .06); }

/* server storage (backup page) */
.imo-server-storage-bar {
    height: .5rem;
    margin: .35rem 0 .7rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .25);
    overflow: hidden;
}
.imo-server-storage-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a629, #0078a5);
}
.imo-server-storage-bar[aria-valuenow="80"] span,
.imo-server-storage-bar[aria-valuenow^="8"] span,
.imo-server-storage-bar[aria-valuenow^="9"] span,
.imo-server-storage-bar[aria-valuenow="100"] span {
    background: linear-gradient(90deg, #f59e0b, #b42318);
}
.imo-server-storage-meta {
    font-size: .78rem;
    opacity: .7;
}
a.imo-database-backup-now { text-decoration: none; }

/* Performanta echipa reuses the dashboard layout; with three filter tabs the tabs get their own full-width row. */
.imo-team-performance-dashboard .imo-dashboard-unified-hero__intro {
    flex: 1 1 100%;
}
.imo-team-performance-dashboard .imo-dashboard-unified-hero__filters {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
}
.imo-team-performance-dashboard .imo-dashboard-header-tabs .imo-task-owner-filter,
.imo-team-performance-dashboard .imo-dashboard-header-tabs .imo-task-status-filter {
    flex: 1 1 0;
    min-width: 0;
}
.imo-team-performance-dashboard .imo-dashboard-header-tabs .imo-tab {
    width: 100%;
    min-width: 0;
}
.imo-team-performance-dashboard .imo-dashboard-header-tabs .imo-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Onboarding: primii pasi pentru o firma noua (dispare cand toti pasii sunt bifati). */
.imo-onboarding {
    border: 1px solid var(--imo-line);
    background: var(--imo-surface);
    box-shadow: var(--imo-shadow);
}
.imo-onboarding__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .25rem .25rem .9rem;
    flex-wrap: wrap;
}
.imo-onboarding__eyebrow {
    margin: 0 0 .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--imo-brand);
}
.imo-onboarding__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--imo-ink);
    letter-spacing: -.01em;
}
.imo-onboarding__meta {
    margin: .25rem 0 0;
    font-size: .875rem;
    color: var(--imo-muted);
}
.imo-onboarding__progress {
    flex: 0 0 160px;
    height: 8px;
    margin-top: .6rem;
    border-radius: 999px;
    background: var(--imo-line);
    overflow: hidden;
}
.imo-onboarding__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--imo-brand), var(--imo-brand-dark));
    transition: width .3s ease;
}
.imo-onboarding__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}
.imo-onboarding__step {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    align-items: center;
    gap: .9rem;
    padding: .85rem 1rem;
    border-radius: var(--imo-radius);
    border: 1px solid var(--imo-line);
    background: var(--imo-bg);
}
.imo-onboarding__step.is-next {
    border-color: var(--imo-brand);
    background: var(--imo-brand-light);
}
.imo-onboarding__step.is-done {
    opacity: .72;
}
.imo-onboarding__badge {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--imo-ink);
    background: var(--imo-surface);
    border: 1px solid var(--imo-line);
}
.imo-onboarding__step.is-next .imo-onboarding__badge {
    color: #fff;
    background: var(--imo-brand);
    border-color: var(--imo-brand);
}
.imo-onboarding__step.is-done .imo-onboarding__badge {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
}
.imo-onboarding__body strong {
    display: block;
    font-size: .95rem;
    color: var(--imo-ink);
}
.imo-onboarding__body p {
    margin: .15rem 0 0;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--imo-muted);
}
.imo-onboarding__step.is-done .imo-onboarding__body strong {
    text-decoration: line-through;
}
.imo-onboarding__cta {
    width: auto;
    padding: .6rem 1rem;
    font-size: .875rem;
    white-space: nowrap;
}
.imo-onboarding__done-label {
    font-size: .8125rem;
    font-weight: 700;
    color: #16a34a;
}
@media (max-width: 640px) {
    .imo-onboarding__progress { flex-basis: 100%; margin-top: 0; }
    .imo-onboarding__step {
        grid-template-columns: 2rem 1fr;
    }
    .imo-onboarding__cta, .imo-onboarding__done-label {
        grid-column: 2;
        justify-self: start;
    }
}
html[data-theme="dark"] .imo-onboarding__step {
    background: rgba(255,255,255,.035);
}
html[data-theme="dark"] .imo-onboarding__step.is-next {
    background: rgba(255,255,255,.08);
    border-color: rgba(170,184,200,.5);
}
html[data-theme="dark"] .imo-onboarding__step.is-next .imo-onboarding__badge {
    color: #0c1117;
}
html[data-theme="dark"] .imo-onboarding__badge {
    background: rgba(255,255,255,.06);
}
/* Task show: clean pass — calmer destructive actions, readable finish button, quieter financial strip */
.imo-task-show-page .imo-finish-check:not(.is-done)::before {
    content: "\2713";
    color: #94a3b8;
    opacity: .6;
    font-weight: 800;
    line-height: 1;
    transition: opacity .15s ease, color .15s ease;
}
.imo-task-show-page .imo-finish-check:not(.is-done):hover::before,
.imo-task-show-page .imo-finish-check:not(.is-done):focus-visible::before {
    color: #006d94;
    opacity: 1;
}
html[data-theme="dark"] .imo-task-show-page .imo-finish-check:not(.is-done)::before {
    color: #94a3b8;
}

.imo-task-show-page .imo-timeline-delete-form button,
.imo-task-show-page .imo-task-delete-form--badgebar button,
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button {
    border-color: transparent;
    background: transparent;
    color: #a3adbb;
    box-shadow: none;
    transition: color .15s ease, background-color .15s ease;
}
.imo-task-show-page .imo-timeline-delete-form button:hover,
.imo-task-show-page .imo-timeline-delete-form button:focus-visible,
.imo-task-show-page .imo-task-delete-form--badgebar button:hover,
.imo-task-show-page .imo-task-delete-form--badgebar button:focus-visible,
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button:hover,
.imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button:focus-visible {
    color: #b91c1c;
    background: rgba(254, 242, 242, .95);
}
.imo-task-show-page .imo-timeline-delete-form button svg {
    stroke-width: 1.9;
}
html[data-theme="dark"] .imo-task-show-page .imo-timeline-delete-form button,
html[data-theme="dark"] .imo-task-show-page .imo-task-delete-form--badgebar button,
html[data-theme="dark"] .imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button {
    color: #64748b;
    background: transparent;
    border-color: transparent;
}
html[data-theme="dark"] .imo-task-show-page .imo-timeline-delete-form button:hover,
html[data-theme="dark"] .imo-task-show-page .imo-timeline-delete-form button:focus-visible,
html[data-theme="dark"] .imo-task-show-page .imo-task-delete-form--badgebar button:hover,
html[data-theme="dark"] .imo-task-show-page .imo-task-delete-form--badgebar button:focus-visible,
html[data-theme="dark"] .imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button:hover,
html[data-theme="dark"] .imo-task-show-page .imo-task-hero--premium.imo-task-hero--future .imo-task-delete-form--badgebar button:focus-visible {
    color: #ff8f87;
    background: rgba(255, 68, 56, .12);
}

.imo-task-show-page .imo-timeline-card__footer {
    position: absolute;
    top: .34rem;
    right: .3rem;
    z-index: 3;
    margin: 0;
}
.imo-task-show-page .imo-timeline-card__footer.hidden {
    display: none;
}
.imo-task-show-page .imo-timeline-card:has(.imo-timeline-menu-btn:not(.hidden)) .imo-timeline-card__footer {
    right: 1.9rem;
}
.imo-task-show-page .imo-timeline-card:has(.imo-timeline-card__footer:not(.hidden)) .imo-timeline-card__head {
    padding-right: 2.2rem;
}
.imo-task-show-page .imo-timeline-card:has(.imo-timeline-card__footer:not(.hidden)):has(.imo-timeline-menu-btn:not(.hidden)) .imo-timeline-card__head {
    padding-right: 3.8rem;
}
.imo-task-show-page .imo-timeline-card .imo-timeline-delete-form--footer button {
    width: 1.6rem;
    height: 1.6rem;
}
.imo-task-show-page .imo-timeline-card .imo-timeline-delete-form--footer button svg {
    width: .86rem;
    height: .86rem;
}

.imo-task-show-page .imo-mini-values--empty .imo-financial-tabs button:not(.is-active) {
    color: #98a2b3;
    font-weight: 700;
}
html[data-theme="dark"] .imo-task-show-page .imo-mini-values--empty .imo-financial-tabs button:not(.is-active) {
    color: #64748b !important;
}

/* Task create: "+ Adauga persoana" in dropdown-ul de responsabil */
.imo-assignee-option--add {
    position: sticky;
    bottom: -.35rem;
    z-index: 1;
    margin-top: .3rem;
    margin-bottom: -.35rem;
    padding-top: .78rem;
    padding-bottom: .78rem;
    border-top: 1px solid rgba(148, 163, 184, .28);
    border-radius: 0 0 .65rem .65rem;
    background: #fff;
    color: var(--cit-primary);
    text-decoration: none;
}
.imo-assignee-option--add strong {
    font-weight: 800;
}
.imo-assignee-option--add span {
    color: #64748b;
}
.imo-assignee-option--add:hover,
.imo-assignee-option--add:focus-visible {
    background: rgba(0, 167, 225, .1);
    text-decoration: none;
}
html[data-theme="dark"] .imo-assignee-option--add {
    border-top-color: rgba(148, 163, 184, .2);
    background: #111820;
    color: #8fe6ff;
}
html[data-theme="dark"] .imo-assignee-option--add:hover,
html[data-theme="dark"] .imo-assignee-option--add:focus-visible {
    background: rgba(0, 167, 225, .18);
}
html[data-theme="dark"] .imo-assignee-option--add span {
    color: #94a3b8;
}
/* Task show: blocul Financiar mutat sub jurnal, deasupra semnalelor operationale */
.imo-task-show-page .imo-task-financial-section {
    padding: .35rem 2px;
}
.imo-task-show-page .imo-task-financial-section__title {
    margin: 0 0 .32rem;
}
.imo-task-show-page .imo-task-financial-section .imo-mini-values {
    padding: 0 !important;
}
.imo-task-show-page .imo-task-financial-section .imo-financial-tabs {
    padding-top: .3rem !important;
    border-top: 0;
}
.imo-task-show-page .imo-task-financial-section .imo-financial-tabs button::before {
    display: none;
}
.imo-task-show-page .imo-task-financial-section .imo-financial-tabs button {
    padding-block: .36rem !important;
    border-radius: .55rem !important;
    background: rgba(148, 163, 184, .09) !important;
}
.imo-task-show-page .imo-task-financial-section .imo-financial-tabs button.is-active {
    background: rgba(0, 167, 225, .1) !important;
}
.imo-task-show-page .imo-task-financial-section .imo-financial-tabs {
    gap: .3rem !important;
}
html[data-theme="dark"] .imo-task-show-page .imo-task-financial-section .imo-financial-tabs button {
    background: rgba(255, 255, 255, .055) !important;
}
html[data-theme="dark"] .imo-task-show-page .imo-task-financial-section .imo-financial-tabs button.is-active {
    background: rgba(0, 167, 225, .16) !important;
}
/* Agent: panoul "Rol nou" (Altul) - acelasi stil ca "Categorie noua" la tipul de lucrare */
.imo-custom-role-panel {
    display: grid;
    gap: .52rem;
    margin-top: .55rem;
    padding: .74rem;
    border: 1px solid rgba(0, 167, 225, .22);
    border-radius: 1.08rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 167, 225, .1), transparent 8rem),
        #fff;
    box-shadow: 0 1px 2px rgba(35,31,32,.025), 0 10px 22px rgba(35,31,32,.035);
}
.imo-custom-role-panel.hidden {
    display: none !important;
}
.imo-custom-role-panel .imo-microcopy {
    margin: 0;
    color: #64748b;
    font-size: .72rem;
}
html[data-theme="dark"] .imo-custom-role-panel {
    border-color: rgba(0, 167, 225, .3);
    background: #111820;
    box-shadow: none;
}
html[data-theme="dark"] .imo-custom-role-panel .imo-microcopy {
    color: #94a3b8;
}
/* Task show: butonul "Descarca dosarul (PDF)" sub jurnal */
.imo-task-dossier-row {
    display: grid;
    gap: .38rem;
    margin: 0 0 .75rem;
}
.imo-task-show-page .imo-task-dossier-btn {
    width: auto;
    justify-self: start;
    gap: .45rem;
    padding: .6rem .95rem;
    font-size: .875rem;
    text-decoration: none;
}
.imo-task-dossier-btn svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
}
.imo-task-dossier-btn.is-busy {
    opacity: .6;
    pointer-events: none;
}
.imo-task-dossier-hint {
    margin: 0;
    color: #64748b;
    font-size: .72rem;
    line-height: 1.35;
}
html[data-theme="dark"] .imo-task-dossier-hint {
    color: #94a3b8;
}
@media (max-width: 640px) {
    .imo-task-show-page .imo-task-dossier-btn {
        width: 100%;
        justify-self: stretch;
    }
}
/* Azi: link catre manualul de utilizare, sub Semnale operationale */
.imo-dashboard-page--polish .imo-dashboard-manual-link {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: .25rem;
}

.imo-dashboard-page--polish .imo-dashboard-manual-link .imo-dashboard-signal__chevron {
    display: inline-flex;
}

/* Login: sigle Trello / Asana / Jira in kicker */
.imo-login-brand .imo-login-kicker {
    line-height: 1.7;
    letter-spacing: .12em;
}
.imo-login-kicker-brand {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    vertical-align: -.1em;
    white-space: nowrap;
}
.imo-login-kicker-brand svg {
    width: 1.35em;
    height: 1.35em;
    flex: 0 0 auto;
}

/* header pe desktop: dimensiuni normale, nu cele compacte de mobil */
@media (min-width: 1024px) {
    .imo-header-inner {
        min-height: 3.5rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
        gap: 1.1rem;
    }
    .imo-header-brand-line {
        gap: .55rem;
        font-size: 1.08rem;
    }
    .imo-header-brand-line small {
        font-size: .76rem;
    }
    .imo-header-actions {
        gap: .9rem;
    }
    .imo-header-actions .imo-header-nav-link {
        min-height: 2.5rem;
        gap: .5rem;
        font-size: 1rem;
    }
    .imo-header-actions .imo-header-nav-link svg {
        width: 1.3rem;
        height: 1.3rem;
    }
    .imo-header-actions .imo-chip,
    .imo-urgent-header-chip {
        min-height: 2.2rem;
        padding: .45rem .85rem;
        font-size: .82rem;
    }
    .imo-urgent-header-chip {
        gap: .4rem;
    }
    .imo-urgent-header-chip small {
        font-size: .74rem;
    }
    .imo-profile-menu summary {
        width: 2.4rem;
        height: 2.4rem;
    }
    .imo-profile-menu summary span {
        font-size: .82rem;
    }
}
/* firma in care lucrezi: in bara de sus pe desktop, in meniul de cont peste tot */
.imo-header-company {
    display: none;
}
.imo-profile-company {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.imo-profile-company::before {
    content: "\00b7";
    margin-right: .28rem;
    opacity: .7;
}
@media (min-width: 1024px) {
    .imo-header-company {
        display: inline-block;
        max-width: 22rem;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: baseline;
    }
    .imo-header-company + small::before {
        content: "\00b7";
        margin-right: .4rem;
        opacity: .7;
    }
}