.flowcheck-module {
    min-width: 0;
}

.flowcheck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px !important;
    padding: 18px;
}

.flowcheck-head-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.flowcheck-card-icon {
    color: #047857;
    background: #ecfdf5;
}

.flowcheck-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
    color: #020617;
    letter-spacing: 0;
}

.flowcheck-head-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.flowcheck-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.flowcheck-pill.is-ok {
    background: #dcfce7;
    color: #15803d;
}

.flowcheck-pill.is-warn {
    background: #fff7ed;
    color: #c2410c;
}

.flowcheck-pill.is-error {
    background: #fee2e2;
    color: #b91c1c;
}

.flowcheck-body {
    padding: 15px 16px 14px;
    margin-bottom: 0;
}

.flowcheck-overview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 14px;
}

.flowcheck-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 17px;
}

.flowcheck-overview-main {
    min-width: 0;
}

.flowcheck-overview-title {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.flowcheck-overview-text {
    margin-top: 3px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.flowcheck-overview-ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.flowcheck-overview-ok .flowcheck-overview-icon {
    color: #15803d;
    background: #dcfce7;
}

.flowcheck-overview-warn {
    border-color: #fed7aa;
    background: #fff7ed;
}

.flowcheck-overview-warn .flowcheck-overview-icon {
    color: #c2410c;
    background: #ffedd5;
}

.flowcheck-overview-error {
    border-color: #fecaca;
    background: #fef2f2;
}

.flowcheck-overview-error .flowcheck-overview-icon {
    color: #b91c1c;
    background: #fee2e2;
}

.flowcheck-empty {
    grid-column: 1 / -1;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
}

.flowcheck-empty-error {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.flowcheck-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .9fr);
    gap: 14px;
    align-items: start;
}

.flowcheck-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.flowcheck-status-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 9px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.flowcheck-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    font-size: 13px;
}

.flowcheck-status-ok .flowcheck-status-icon {
    color: #15803d;
    background: #dcfce7;
}

.flowcheck-status-warn .flowcheck-status-icon {
    color: #c2410c;
    background: #fff7ed;
}

.flowcheck-status-error .flowcheck-status-icon {
    color: #b91c1c;
    background: #fee2e2;
}

.flowcheck-status-main {
    min-width: 0;
}

.flowcheck-status-label {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
}

.flowcheck-status-value {
    margin-top: 1px;
    font-size: 12px;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flowcheck-status-detail {
    margin-top: 2px;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flowcheck-quality-wrap,
.flowcheck-release-wrap,
.flowcheck-5s-wrap,
.flowcheck-mail-wrap,
.flowcheck-user-wrap,
.flowcheck-loading-wrap,
.flowcheck-health-wrap,
.flowcheck-modules-wrap,
.flowcheck-issues-wrap {
    margin-top: 16px;
}

.flowcheck-workbench .flowcheck-status-wrap,
.flowcheck-workbench .flowcheck-issues-wrap {
    margin-top: 0;
}

.flowcheck-section {
    min-width: 0;
    --flowcheck-accent: #2563eb;
    --flowcheck-accent-soft: #eff6ff;
    --flowcheck-accent-border: #bfdbfe;
    --flowcheck-accent-text: #1d4ed8;
}

.flowcheck-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid var(--flowcheck-accent-border);
    border-left: 4px solid var(--flowcheck-accent);
    border-radius: 8px;
    background: var(--flowcheck-accent-soft);
}

.flowcheck-section-subtitle {
    margin-top: 1px;
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
}

.flowcheck-section-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: start;
    justify-content: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid var(--flowcheck-accent-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--flowcheck-accent-text);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.flowcheck-section-title {
    color: var(--flowcheck-accent-text);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.flowcheck-status-wrap {
    --flowcheck-accent: #2563eb;
    --flowcheck-accent-soft: #eff6ff;
    --flowcheck-accent-border: #bfdbfe;
    --flowcheck-accent-text: #1d4ed8;
}

.flowcheck-issues-wrap {
    --flowcheck-accent: #f97316;
    --flowcheck-accent-soft: #fff7ed;
    --flowcheck-accent-border: #fed7aa;
    --flowcheck-accent-text: #c2410c;
}

.flowcheck-quality-wrap {
    --flowcheck-accent: #059669;
    --flowcheck-accent-soft: #ecfdf5;
    --flowcheck-accent-border: #a7f3d0;
    --flowcheck-accent-text: #047857;
}

.flowcheck-5s-wrap {
    --flowcheck-accent: #4f46e5;
    --flowcheck-accent-soft: #eef2ff;
    --flowcheck-accent-border: #c7d2fe;
    --flowcheck-accent-text: #4338ca;
}

.flowcheck-mail-wrap {
    --flowcheck-accent: #be123c;
    --flowcheck-accent-soft: #fff1f2;
    --flowcheck-accent-border: #fecdd3;
    --flowcheck-accent-text: #be123c;
}

.flowcheck-user-wrap {
    --flowcheck-accent: #0f766e;
    --flowcheck-accent-soft: #f0fdfa;
    --flowcheck-accent-border: #99f6e4;
    --flowcheck-accent-text: #0f766e;
}

.flowcheck-loading-wrap {
    --flowcheck-accent: #ea580c;
    --flowcheck-accent-soft: #fff7ed;
    --flowcheck-accent-border: #fed7aa;
    --flowcheck-accent-text: #c2410c;
}

.flowcheck-release-wrap {
    --flowcheck-accent: #16a34a;
    --flowcheck-accent-soft: #f0fdf4;
    --flowcheck-accent-border: #bbf7d0;
    --flowcheck-accent-text: #15803d;
}

.flowcheck-health-wrap {
    --flowcheck-accent: #0891b2;
    --flowcheck-accent-soft: #ecfeff;
    --flowcheck-accent-border: #a5f3fc;
    --flowcheck-accent-text: #0e7490;
}

.flowcheck-modules-wrap {
    --flowcheck-accent: #7c3aed;
    --flowcheck-accent-soft: #f5f3ff;
    --flowcheck-accent-border: #ddd6fe;
    --flowcheck-accent-text: #6d28d9;
}

.flowcheck-quality-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.flowcheck-quality-item {
    padding: 7px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.flowcheck-quality-value {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
}

.flowcheck-quality-label {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.flowcheck-5s-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 7px;
}

.flowcheck-5s-card {
    min-width: 0;
    padding: 9px;
    border: 1px solid #e5e7eb;
    border-left-width: 3px;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-5s-ok {
    border-left-color: #16a34a;
}

.flowcheck-5s-warn {
    border-left-color: #f97316;
}

.flowcheck-5s-error {
    border-left-color: #dc2626;
}

.flowcheck-5s-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.flowcheck-5s-title {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.flowcheck-5s-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flowcheck-5s-title i {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 12px;
}

.flowcheck-5s-state {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.2;
}

.flowcheck-5s-ok .flowcheck-5s-state {
    background: #dcfce7;
    color: #15803d;
}

.flowcheck-5s-warn .flowcheck-5s-state {
    background: #fff7ed;
    color: #c2410c;
}

.flowcheck-5s-error .flowcheck-5s-state {
    background: #fee2e2;
    color: #b91c1c;
}

.flowcheck-5s-value {
    margin-top: 7px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flowcheck-5s-detail,
.flowcheck-5s-next {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.flowcheck-5s-detail {
    min-height: 25px;
}

.flowcheck-5s-next {
    padding-top: 5px;
    border-top: 1px solid #edf2f7;
    color: #475569;
}

.flowcheck-mail-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.flowcheck-mail-item {
    min-width: 0;
    min-height: 96px;
    padding: 9px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--flowcheck-accent);
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-mail-ok {
    border-left-color: #16a34a;
}

.flowcheck-mail-warn {
    border-left-color: #f97316;
}

.flowcheck-mail-error {
    border-left-color: #dc2626;
}

.flowcheck-mail-disabled {
    border-left-color: #94a3b8;
}

.flowcheck-mail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.flowcheck-mail-top span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flowcheck-mail-ok .flowcheck-mail-top i {
    color: #15803d;
}

.flowcheck-mail-warn .flowcheck-mail-top i {
    color: #c2410c;
}

.flowcheck-mail-error .flowcheck-mail-top i {
    color: #b91c1c;
}

.flowcheck-mail-disabled .flowcheck-mail-top i {
    color: #64748b;
}

.flowcheck-mail-value {
    margin-top: 7px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}

.flowcheck-mail-detail {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.flowcheck-loading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.flowcheck-loading-item {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-height: 82px;
    padding: 9px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #f97316;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-loading-ok {
    border-left-color: #16a34a;
}

.flowcheck-loading-warn {
    border-left-color: #f97316;
}

.flowcheck-loading-error {
    border-left-color: #dc2626;
}

.flowcheck-loading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    font-size: 12px;
}

.flowcheck-loading-ok .flowcheck-loading-icon {
    color: #15803d;
    background: #dcfce7;
}

.flowcheck-loading-warn .flowcheck-loading-icon {
    color: #c2410c;
    background: #fff7ed;
}

.flowcheck-loading-error .flowcheck-loading-icon {
    color: #b91c1c;
    background: #fee2e2;
}

.flowcheck-loading-main {
    min-width: 0;
}

.flowcheck-loading-title {
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.flowcheck-loading-value {
    margin-top: 5px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}

.flowcheck-loading-detail {
    margin-top: 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#flowCheckReleaseGrid {
    display: block;
}

.flowcheck-release-panel {
    display: grid;
    gap: 10px;
}

.flowcheck-release-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
}

.flowcheck-release-summary.is-ready {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.flowcheck-release-summary.is-open {
    border-color: #fed7aa;
    background: #fff7ed;
}

.flowcheck-release-ready {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.flowcheck-release-ready > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 16px;
}

.flowcheck-release-summary.is-ready .flowcheck-release-ready > i {
    color: #15803d;
}

.flowcheck-release-summary.is-open .flowcheck-release-ready > i {
    color: #c2410c;
}

.flowcheck-release-ready-label {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
}

.flowcheck-release-ready-text {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.28;
}

.flowcheck-release-counts {
    display: grid;
    grid-template-columns: repeat(4, minmax(62px, 1fr));
    gap: 7px;
}

.flowcheck-release-count {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.flowcheck-release-count span,
.flowcheck-release-count small {
    display: block;
}

.flowcheck-release-count span {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.flowcheck-release-count small {
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.flowcheck-release-count-blockers {
    border-color: #fecaca;
}

.flowcheck-release-count-warnings {
    border-color: #fed7aa;
}

.flowcheck-release-count-polish {
    border-color: #bfdbfe;
}

.flowcheck-release-count-info {
    border-color: #bbf7d0;
}

.flowcheck-release-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.flowcheck-release-group {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-release-group-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.flowcheck-release-group-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.15;
    text-transform: uppercase;
}

.flowcheck-release-group-hint {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.flowcheck-release-group-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    min-height: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
}

.flowcheck-release-group-list {
    display: grid;
    gap: 0;
}

.flowcheck-release-group-list .flowcheck-loading-item {
    border-width: 0 0 1px 3px;
    border-radius: 0;
}

.flowcheck-release-group-list .flowcheck-loading-item:last-child {
    border-bottom-width: 0;
}

.flowcheck-release-empty {
    padding: 10px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.flowcheck-release-wrap .flowcheck-loading-item {
    min-height: 0;
}

.flowcheck-release-wrap .flowcheck-loading-detail {
    display: block;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

.flowcheck-release-subchecks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
}

.flowcheck-release-subcheck {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 5px;
    align-items: center;
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #f8fafc;
    color: #334155;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
}

.flowcheck-release-subcheck i {
    color: #2563eb;
    font-size: 12px;
}

.flowcheck-release-subcheck span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flowcheck-release-subcheck strong {
    color: #0f172a;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.flowcheck-release-subcheck-ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.flowcheck-release-subcheck-ok i {
    color: #15803d;
}

.flowcheck-release-subcheck-warn {
    border-color: #fed7aa;
    background: #fff7ed;
}

.flowcheck-release-subcheck-warn i {
    color: #c2410c;
}

.flowcheck-release-subcheck-error {
    border-color: #fecaca;
    background: #fef2f2;
}

.flowcheck-release-subcheck-error i {
    color: #dc2626;
}

.flowcheck-health-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.flowcheck-health-item {
    min-width: 0;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-health-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.flowcheck-health-ok .flowcheck-health-top i {
    color: #15803d;
}

.flowcheck-health-warn .flowcheck-health-top i {
    color: #c2410c;
}

.flowcheck-health-error .flowcheck-health-top i {
    color: #b91c1c;
}

.flowcheck-health-value {
    margin-top: 4px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flowcheck-health-detail {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flowcheck-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.flowcheck-module-area {
    min-width: 0;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-module-area-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.flowcheck-module-area-title {
    color: #111827;
    font-size: 12px;
    font-weight: 900;
}

.flowcheck-module-area-count {
    color: #64748b;
    font-size: 10px;
    font-weight: 750;
}

.flowcheck-module-list {
    display: grid;
    gap: 6px;
}

.flowcheck-module-card {
    min-width: 0;
    padding: 7px;
    border: 1px solid #e5e7eb;
    border-left-width: 3px;
    border-radius: 7px;
    background: #fbfcfe;
}

.flowcheck-module-ok {
    border-left-color: #22c55e;
}

.flowcheck-module-warn {
    border-left-color: #f97316;
}

.flowcheck-module-error {
    border-left-color: #ef4444;
}

.flowcheck-module-disabled {
    border-left-color: #94a3b8;
}

.flowcheck-module-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-size: 11px;
    font-weight: 850;
}

.flowcheck-module-card-top span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flowcheck-module-state {
    padding: 2px 6px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.flowcheck-module-card-detail,
.flowcheck-module-card-deps {
    margin-top: 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flowcheck-issues-list {
    display: grid;
    gap: 7px;
}

.flowcheck-issue {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-left-width: 3px;
    border-radius: 8px;
    background: #ffffff;
}

.flowcheck-issue-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 12px;
}

.flowcheck-issue-ok .flowcheck-issue-icon {
    color: #15803d;
    background: #dcfce7;
}

.flowcheck-issue-ok {
    border-left-color: #16a34a;
}

.flowcheck-issue-warn .flowcheck-issue-icon {
    color: #c2410c;
    background: #fff7ed;
}

.flowcheck-issue-warn {
    border-left-color: #f97316;
}

.flowcheck-issue-error .flowcheck-issue-icon {
    color: #b91c1c;
    background: #fee2e2;
}

.flowcheck-issue-error {
    border-left-color: #dc2626;
}

.flowcheck-issue-title {
    color: #111827;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.15;
}

.flowcheck-issue-detail {
    margin-top: 1px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.flowcheck-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.flowcheck-checked-at {
    border-top: 0;
    padding: 0;
}

.flowcheck-run-btn {
    height: 36px !important;
    min-height: 36px !important;
    width: 111px !important;
    min-width: 111px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    gap: 6px;
}

.flowcheck-run-btn i {
    margin-right: 0 !important;
    font-size: 14px;
}

body.darkmode .flowcheck-title {
    color: #f8fafc;
}

body.darkmode .flowcheck-card-icon {
    background: #052e2b;
    color: #6ee7b7;
}

body.darkmode .flowcheck-status-item {
    background: #172036;
    border-color: #334155;
}

body.darkmode .flowcheck-overview,
body.darkmode .flowcheck-empty {
    background: #172036;
    border-color: #334155;
}

body.darkmode .flowcheck-overview-title {
    color: #f8fafc;
}

body.darkmode .flowcheck-overview-text,
body.darkmode .flowcheck-empty {
    color: #cbd5e1;
}

body.darkmode .flowcheck-quality-item,
body.darkmode .flowcheck-5s-card,
body.darkmode .flowcheck-mail-item,
body.darkmode .flowcheck-loading-item,
body.darkmode .flowcheck-health-item,
body.darkmode .flowcheck-module-area,
body.darkmode .flowcheck-module-card,
body.darkmode .flowcheck-issue,
body.darkmode .flowcheck-release-group,
body.darkmode .flowcheck-release-count {
    background: #172036;
    border-color: #334155;
}

body.darkmode .flowcheck-status-label,
body.darkmode .flowcheck-quality-value,
body.darkmode .flowcheck-5s-value,
body.darkmode .flowcheck-mail-value,
body.darkmode .flowcheck-loading-value,
body.darkmode .flowcheck-health-value,
body.darkmode .flowcheck-module-area-title,
body.darkmode .flowcheck-module-card-top,
body.darkmode .flowcheck-issue-title,
body.darkmode .flowcheck-release-ready-label,
body.darkmode .flowcheck-release-count span,
body.darkmode .flowcheck-release-group-title {
    color: #f8fafc;
}

body.darkmode .flowcheck-5s-ok {
    border-left-color: #22c55e;
}

body.darkmode .flowcheck-5s-warn {
    border-left-color: #fb923c;
}

body.darkmode .flowcheck-5s-error {
    border-left-color: #f87171;
}

body.darkmode .flowcheck-issue-ok {
    border-left-color: #22c55e;
}

body.darkmode .flowcheck-issue-warn {
    border-left-color: #fb923c;
}

body.darkmode .flowcheck-issue-error {
    border-left-color: #f87171;
}

body.darkmode .flowcheck-5s-title,
body.darkmode .flowcheck-5s-next {
    color: #cbd5e1;
}

body.darkmode .flowcheck-5s-detail,
body.darkmode .flowcheck-mail-detail,
body.darkmode .flowcheck-loading-detail {
    color: #94a3b8;
}

body.darkmode .flowcheck-5s-next {
    border-top-color: #334155;
}

body.darkmode .flowcheck-status-value,
body.darkmode .flowcheck-status-detail,
body.darkmode .flowcheck-quality-label,
body.darkmode .flowcheck-mail-top,
body.darkmode .flowcheck-loading-title,
body.darkmode .flowcheck-health-top,
body.darkmode .flowcheck-health-detail,
body.darkmode .flowcheck-module-area-count,
body.darkmode .flowcheck-module-card-detail,
body.darkmode .flowcheck-module-card-deps,
body.darkmode .flowcheck-issue-detail,
body.darkmode .flowcheck-section-subtitle,
body.darkmode .flowcheck-section-title,
body.darkmode .flowcheck-release-ready-text,
body.darkmode .flowcheck-release-count small,
body.darkmode .flowcheck-release-group-hint,
body.darkmode .flowcheck-release-empty {
    color: #cbd5e1;
}

body.darkmode .flowcheck-status-wrap {
    --flowcheck-accent: #60a5fa;
    --flowcheck-accent-soft: #172554;
    --flowcheck-accent-border: #1d4ed8;
    --flowcheck-accent-text: #bfdbfe;
}

body.darkmode .flowcheck-issues-wrap {
    --flowcheck-accent: #fb923c;
    --flowcheck-accent-soft: #431407;
    --flowcheck-accent-border: #9a3412;
    --flowcheck-accent-text: #fed7aa;
}

body.darkmode .flowcheck-quality-wrap {
    --flowcheck-accent: #34d399;
    --flowcheck-accent-soft: #052e2b;
    --flowcheck-accent-border: #047857;
    --flowcheck-accent-text: #a7f3d0;
}

body.darkmode .flowcheck-5s-wrap {
    --flowcheck-accent: #818cf8;
    --flowcheck-accent-soft: #1e1b4b;
    --flowcheck-accent-border: #4338ca;
    --flowcheck-accent-text: #c7d2fe;
}

body.darkmode .flowcheck-mail-wrap {
    --flowcheck-accent: #fb7185;
    --flowcheck-accent-soft: #4c0519;
    --flowcheck-accent-border: #9f1239;
    --flowcheck-accent-text: #fecdd3;
}

body.darkmode .flowcheck-loading-wrap {
    --flowcheck-accent: #fb923c;
    --flowcheck-accent-soft: #431407;
    --flowcheck-accent-border: #9a3412;
    --flowcheck-accent-text: #fed7aa;
}

body.darkmode .flowcheck-release-wrap {
    --flowcheck-accent: #4ade80;
    --flowcheck-accent-soft: #052e16;
    --flowcheck-accent-border: #166534;
    --flowcheck-accent-text: #bbf7d0;
}

body.darkmode .flowcheck-release-summary,
body.darkmode .flowcheck-release-group-head {
    background: #111827;
    border-color: #334155;
}

body.darkmode .flowcheck-release-subcheck {
    background: #111827;
    border-color: #334155;
    color: #cbd5e1;
}

body.darkmode .flowcheck-release-subcheck strong {
    color: #f8fafc;
}

body.darkmode .flowcheck-release-subcheck-ok {
    background: rgba(5, 46, 22, .72);
    border-color: #166534;
}

body.darkmode .flowcheck-release-subcheck-warn {
    background: rgba(67, 20, 7, .72);
    border-color: #9a3412;
}

body.darkmode .flowcheck-release-subcheck-error {
    background: rgba(69, 10, 10, .72);
    border-color: #991b1b;
}

body.darkmode .flowcheck-release-summary.is-ready {
    background: rgba(5, 46, 22, .78);
    border-color: #166534;
}

body.darkmode .flowcheck-release-summary.is-open {
    background: rgba(67, 20, 7, .78);
    border-color: #9a3412;
}

body.darkmode .flowcheck-release-ready > i {
    background: #0f172a;
}

body.darkmode .flowcheck-health-wrap {
    --flowcheck-accent: #22d3ee;
    --flowcheck-accent-soft: #083344;
    --flowcheck-accent-border: #0e7490;
    --flowcheck-accent-text: #a5f3fc;
}

body.darkmode .flowcheck-modules-wrap {
    --flowcheck-accent: #a78bfa;
    --flowcheck-accent-soft: #2e1065;
    --flowcheck-accent-border: #6d28d9;
    --flowcheck-accent-text: #ddd6fe;
}

body.darkmode .flowcheck-module-state {
    background: #172554;
    border-color: #1d4ed8;
    color: #bfdbfe;
}

body.darkmode .flowcheck-section-head {
    background: var(--flowcheck-accent-soft);
    border-color: var(--flowcheck-accent-border);
    border-left-color: var(--flowcheck-accent);
}

body.darkmode .flowcheck-section-title {
    color: var(--flowcheck-accent-text);
}

body.darkmode .flowcheck-section-badge {
    border-color: var(--flowcheck-accent-border);
    background: rgba(15, 23, 42, .38);
    color: var(--flowcheck-accent-text);
}

@media (max-width: 1100px) {
    .flowcheck-workbench {
        grid-template-columns: 1fr;
    }

    .flowcheck-quality-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flowcheck-5s-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flowcheck-mail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flowcheck-loading-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flowcheck-release-summary,
    .flowcheck-release-groups {
        grid-template-columns: 1fr;
    }

    .flowcheck-release-counts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .flowcheck-release-subchecks {
        grid-template-columns: 1fr;
    }

    .flowcheck-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flowcheck-module-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .flowcheck-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .flowcheck-status-grid {
        grid-template-columns: 1fr;
    }

    .flowcheck-loading-grid,
    .flowcheck-mail-grid,
    .flowcheck-health-grid {
        grid-template-columns: 1fr;
    }

    .flowcheck-release-counts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flowcheck-release-subchecks {
        grid-template-columns: 1fr;
    }

    .flowcheck-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .flowcheck-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .flowcheck-quality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flowcheck-5s-grid {
        grid-template-columns: 1fr;
    }

    .flowcheck-mail-grid {
        grid-template-columns: 1fr;
    }

    .flowcheck-health-grid {
        grid-template-columns: 1fr;
    }

    .flowcheck-module-grid {
        grid-template-columns: 1fr;
    }
}
