:root {
    --dwk-color-bg: #f8fafc;
    --dwk-color-surface: #ffffff;
    --dwk-color-text: #1e293b;
    --dwk-color-muted: #64748b;
    --dwk-color-accent: #1e6091;
    --dwk-color-primary: #27ae60;
    --dwk-color-danger: #dc2626;
    --dwk-color-warning: #d97706;
    --dwk-color-info: #0284c7;
    --dwk-border-color: #e2e8f0;
    --dwk-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sccf-shell {
    max-width: 1320px;
    margin: 0 auto;
    font-family: var(--dwk-font-base);
    color: var(--dwk-color-text);
}

.sccf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--dwk-color-surface);
    padding: 18px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 14px;
    border-left: 5px solid var(--dwk-color-primary);
}

.sccf-header-title {
    margin: 0 0 4px 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}

.sccf-header-sub {
    margin: 0;
    color: var(--dwk-color-muted);
    font-size: 13px;
}

.sccf-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.sccf-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    background: var(--dwk-color-surface);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--dwk-border-color);
}

.sccf-nav a {
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 12.5px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.sccf-nav a:hover {
    background: #f1f5f9;
    color: var(--dwk-color-accent);
}

.sccf-nav a.active {
    background: var(--dwk-color-accent);
    color: #ffffff;
}

.sccf-card {
    background: var(--dwk-color-surface);
    padding: 20px 22px;
    border-radius: 8px;
    border: 1px solid var(--dwk-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

.sccf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.sccf-kpi-card {
    background: var(--dwk-color-surface);
    padding: 16px 18px;
    border-radius: 8px;
    border: 1px solid var(--dwk-border-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sccf-kpi-label {
    font-size: 11px;
    color: var(--dwk-color-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.sccf-kpi-val {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 6px;
}

.sccf-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
}

.sccf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sccf-table th {
    background: #1e293b;
    color: #ffffff;
    padding: 10px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
}

.sccf-table td {
    padding: 9px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.sccf-table tbody tr:hover {
    background: #f8fafc;
}

.sccf-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.sccf-badge-verde {
    background: #dcfce7;
    color: #15803d;
}

.sccf-badge-amarillo {
    background: #fef9c3;
    color: #a16207;
}

.sccf-badge-rojo {
    background: #fee2e2;
    color: #b91c1c;
}

.sccf-badge-azul {
    background: #e0f2fe;
    color: #0369a1;
}

.sccf-badge-gris {
    background: #f1f5f9;
    color: #475569;
}

.sccf-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.sccf-alert-danger {
    background: #fef2f2;
    border-left: 5px solid #dc2626;
    color: #991b1b;
}

.sccf-alert-warning {
    background: #fffbeb;
    border-left: 5px solid #d97706;
    color: #92400e;
}

.sccf-alert-success {
    background: #f0fdf4;
    border-left: 5px solid #16a34a;
    color: #166534;
}

.sccf-alert-info {
    background: #eff6ff;
    border-left: 5px solid #2563eb;
    color: #1e40af;
}

.sccf-temp-strip {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding: 6px 0;
}

.sccf-temp-cell {
    min-width: 34px;
    padding: 6px 4px;
    text-align: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
}

.bf-switch-container {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 8px 0 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.bf-switch-container input[type="checkbox"],
.bf-switch-container input[type="checkbox"].bf-switch-input,
input[type="checkbox"].bf-switch-input {
    all: unset !important;
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    display: inline-block !important;
    z-index: -1 !important;
}

.bf-switch-container label,
.bf-switch-container label.bf-switch-label,
input[type="checkbox"].bf-switch-input + label,
input[type="checkbox"].bf-switch-input + label.bf-switch-label {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
    user-select: none !important;
}

.bf-switch-container label:before,
.bf-switch-container label:after,
.bf-switch-container label.bf-switch-label:before,
.bf-switch-container label.bf-switch-label:after,
input[type="checkbox"].bf-switch-input + label:before,
input[type="checkbox"].bf-switch-input + label:after,
input[type="checkbox"].bf-switch-input + label.bf-switch-label:before,
input[type="checkbox"].bf-switch-input + label.bf-switch-label:after,
input[type="checkbox"]:checked.bf-switch-input + label:before,
input[type="checkbox"]:checked.bf-switch-input + label:after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    opacity: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bf-switch-container .bf-switch-slider,
.bf-switch-label .bf-switch-slider {
    position: relative !important;
    display: inline-block !important;
    width: 48px !important;
    height: 26px !important;
    min-width: 48px !important;
    min-height: 26px !important;
    background-color: #cbd5e1 !important;
    border-radius: 26px !important;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
    cursor: pointer !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #94a3b8 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.bf-switch-container .bf-switch-slider:before,
.bf-switch-label .bf-switch-slider:before {
    content: "" !important;
    position: absolute !important;
    height: 20px !important;
    width: 20px !important;
    left: 2px !important;
    top: 2px !important;
    bottom: auto !important;
    right: auto !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.15) !important;
    display: block !important;
    border: none !important;
}

.bf-switch-container input[type="checkbox"]:checked + label .bf-switch-slider,
.bf-switch-container input[type="checkbox"]:checked + label.bf-switch-label .bf-switch-slider,
input[type="checkbox"].bf-switch-input:checked + label .bf-switch-slider,
input[type="checkbox"].bf-switch-input:checked + label.bf-switch-label .bf-switch-slider,
.bf-switch-on .bf-switch-slider {
    background-color: #27ae60 !important;
    border-color: #219653 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 8px rgba(39, 174, 96, 0.25) !important;
}

.bf-switch-container input[type="checkbox"]:checked + label .bf-switch-slider:before,
.bf-switch-container input[type="checkbox"]:checked + label.bf-switch-label .bf-switch-slider:before,
input[type="checkbox"].bf-switch-input:checked + label .bf-switch-slider:before,
input[type="checkbox"].bf-switch-input:checked + label.bf-switch-label .bf-switch-slider:before,
.bf-switch-on .bf-switch-slider:before {
    transform: translateX(22px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.bf-switch-container:hover .bf-switch-slider,
.bf-switch-label:hover .bf-switch-slider {
    filter: brightness(1.05) !important;
}

.bf-field-container:has(.bf-switch-container) .bf-field-label,
.bf-field-label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

input[type="checkbox"]:not(.bf-switch-input) {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    display: inline-block !important;
    float: none !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    cursor: pointer !important;
    accent-color: #1e6091 !important;
    z-index: 1 !important;
    vertical-align: middle !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

input[type="checkbox"]:not(.bf-switch-input) + label:before,
input[type="checkbox"]:not(.bf-switch-input) + label:after,
input[type="checkbox"]:not(.bf-switch-input):checked + label:before,
input[type="checkbox"]:not(.bf-switch-input):checked + label:after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
}

input[type="checkbox"]:not(.bf-switch-input) + label {
    padding-left: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
}

.sccf-nodo-item:before,
.sccf-nodo-item:after,
.sccf-chk-wrap:before,
.sccf-chk-wrap:after {
    display: none !important;
    content: none !important;
}

button,
input[type="button"],
input[type="submit"],
.button,
a.button,
.bf-submit,
.bf-button,
.sccf-btn {
    all: unset !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--dwk-font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    user-select: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
a.button:hover,
.bf-submit:hover,
.bf-button:hover,
.sccf-btn:hover {
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
.button:active,
a.button:active,
.bf-submit:active,
.bf-button:active,
.sccf-btn:active {
    transform: translateY(0) !important;
}

button:not(.sccf-btn-pill):not(.sccf-btn-success):not(.sccf-btn-danger):not(.sccf-btn-outline):not(.bf-submit):not(.sccf-btn-primary),
input[type="button"],
.button:not(.special) {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

button:not(.sccf-btn-pill):not(.sccf-btn-success):not(.sccf-btn-danger):not(.sccf-btn-outline):not(.bf-submit):not(.sccf-btn-primary):hover,
input[type="button"]:hover,
.button:not(.special):hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
}

.bf-submit,
input[type="submit"],
.sccf-btn-primary,
.button.special {
    background: #1e6091 !important;
    color: #ffffff !important;
    border: 1px solid #1a5276 !important;
    box-shadow: 0 2px 4px rgba(30, 96, 145, 0.25) !important;
}

.bf-submit:hover,
input[type="submit"]:hover,
.sccf-btn-primary:hover,
.button.special:hover {
    background: #164e75 !important;
    border-color: #123e5d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(30, 96, 145, 0.35) !important;
}

.sccf-btn-success {
    background: #27ae60 !important;
    color: #ffffff !important;
    border: 1px solid #219653 !important;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.25) !important;
}

.sccf-btn-success:hover {
    background: #219653 !important;
    border-color: #1e8449 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.35) !important;
}

.sccf-btn-danger {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #b91c1c !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.25) !important;
}

.sccf-btn-danger:hover {
    background: #b91c1c !important;
    border-color: #991b1b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.35) !important;
}

.sccf-btn-outline {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.sccf-btn-outline:hover {
    background: #f8fafc !important;
    border-color: #1e6091 !important;
    color: #1e6091 !important;
}

button.sccf-btn-pill,
.sccf-btn-pill,
a.sccf-btn-pill {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #ffffff !important;
    color: #1e6091 !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 6px 16px !important;
    font-family: var(--dwk-font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

button.sccf-btn-pill:hover,
.sccf-btn-pill:hover,
a.sccf-btn-pill:hover {
    background-color: #1e6091 !important;
    color: #ffffff !important;
    border-color: #1e6091 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(30, 96, 145, 0.3) !important;
    text-decoration: none !important;
}

button.sccf-btn-pill:active,
.sccf-btn-pill:active,
a.sccf-btn-pill:active {
    transform: translateY(0) !important;
}

button.sccf-btn-pill-danger,
.sccf-btn-pill-danger {
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}

button.sccf-btn-pill-danger:hover,
.sccf-btn-pill-danger:hover {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 3px 6px rgba(220, 38, 38, 0.3) !important;
}

.sccf-nodo-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

.sccf-nodo-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.sccf-nodo-item:hover {
    border-color: #1e6091 !important;
    background: #f0f7ff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(30, 96, 145, 0.12) !important;
}

.sccf-nodo-item input[type="checkbox"] {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.sccf-nodo-content {
    display: flex !important;
    flex-direction: column !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.sccf-nodo-content strong {
    font-size: 13px !important;
    color: #1e293b !important;
}

.sccf-nodo-tag {
    display: inline-block !important;
    padding: 2px 7px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 4px !important;
    margin-left: 6px !important;
    letter-spacing: 0.02em !important;
}

.sccf-nav-panel {
    background: var(--dwk-color-surface);
    border: 1px solid var(--dwk-border-color);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sccf-nav-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}

.sccf-nav-group {
    background: #f8fafc;
    border: 1px solid var(--dwk-border-color);
    border-top: 3px solid var(--dwk-color-accent);
    border-radius: 8px;
    padding: 9px 10px;
}

.sccf-nav-group.grp-inicio {
    border-top-color: #2563eb;
}

.sccf-nav-group.grp-flujo {
    border-top-color: #27ae60;
}

.sccf-nav-group.grp-herr {
    border-top-color: #6366f1;
}

.sccf-nav-group.grp-sgc {
    border-top-color: #d97706;
}

.sccf-nav-group-title {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sccf-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sccf-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    transition: all 0.15s ease;
}

.sccf-nav-link:hover {
    border-color: var(--dwk-color-accent);
    color: var(--dwk-color-accent);
    background: #f0f9ff;
    text-decoration: none;
}

.sccf-nav-link.active {
    background: var(--dwk-color-accent);
    border-color: var(--dwk-color-accent);
    color: #ffffff;
}

.sccf-nav-link.active .sccf-step-num {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.sccf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
}

.sccf-stepper {
    display: flex;
    align-items: stretch;
    gap: 6px;
    overflow-x: auto;
    background: var(--dwk-color-surface);
    border: 1px solid var(--dwk-border-color);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.sccf-step {
    flex: 1 1 0;
    min-width: 145px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-decoration: none;
    color: #475569;
    transition: all 0.15s ease;
}

.sccf-step:hover {
    border-color: var(--dwk-color-accent);
    background: #f0f9ff;
    color: #0f172a;
    text-decoration: none;
}

.sccf-step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sccf-step-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sccf-step-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.sccf-step-sub {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
}

.sccf-step.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.sccf-step.is-done .sccf-step-circle {
    background: #16a34a;
    color: #ffffff;
}

.sccf-step.is-active {
    background: #eff6ff;
    border: 1.5px solid #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.14);
}

.sccf-step.is-active .sccf-step-circle {
    background: #2563eb;
    color: #ffffff;
}

.sccf-step.is-active .sccf-step-title {
    color: #1e3a8a;
}

.sccf-step-arrow {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.sccf-guide-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.sccf-guide-summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px 16px;
    cursor: pointer;
    background: #f1f5f9;
    font-size: 13px;
    color: #0f172a;
}

.sccf-guide-summary::-webkit-details-marker {
    display: none;
}

.sccf-guide-summary-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 320px;
}

.sccf-guide-summary-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sccf-guide-toggle-hint {
    font-size: 11.5px;
    color: #2563eb;
    font-weight: 700;
}

.sccf-guide-body {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #334155;
}

.sccf-guide-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.sccf-guide-col {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.sccf-guide-col h4 {
    margin: 0 0 6px 0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1e293b;
    letter-spacing: 0.03em;
}

.sccf-guide-list {
    margin: 0;
    padding-left: 18px;
}

.sccf-guide-list li {
    margin-bottom: 4px;
}

.sccf-guide-glossary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sccf-glossary-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
}

.sccf-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: help;
    border-bottom: 1px dashed #94a3b8;
    outline: none;
}

.sccf-tip-only {
    border-bottom: none;
    margin-left: 4px;
    vertical-align: middle;
}

.sccf-tip-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.sccf-tip:hover .sccf-tip-q,
.sccf-tip:focus .sccf-tip-q {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.sccf-tip-pop {
    position: fixed;
    z-index: 99999;
    max-width: 320px;
    background: #0f172a;
    color: #f8fafc;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.sccf-tip-pop.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sccf-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.sccf-roadmap-card {
    background: #ffffff;
    border: 1px solid var(--dwk-border-color);
    border-top: 4px solid var(--dwk-color-primary);
    border-radius: 8px;
    padding: 13px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.sccf-roadmap-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sccf-roadmap-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dwk-color-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sccf-roadmap-feeds {
    font-size: 11px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 5px 8px;
}

.sccf-hint-banner {
    padding: 11px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    color: #1e3a8a;
}

.sccf-hint-banner.sccf-hint-success {
    border-color: #bbf7d0;
    border-left-color: #16a34a;
    background: #f0fdf4;
    color: #14532d;
}

.sccf-hint-banner.sccf-hint-warning {
    border-color: #fde68a;
    border-left-color: #d97706;
    background: #fffbeb;
    color: #78350f;
}

.sccf-legend-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #334155;
    margin-top: 12px;
}

.sccf-step-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sccf-step-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.sccf-step-pill-item.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.sccf-step-pill-item.is-done {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

.sccf-form-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #1e6091;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.sccf-form-intro-ttl {
    display: block;
    font-size: 13.5px;
    color: #0f172a;
}

.sccf-form-intro-sub {
    font-size: 12px;
    color: #475569;
    margin-top: 2px;
}

.sccf-req-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.sccf-req-star {
    color: #dc2626;
    font-weight: 800;
    margin-left: 3px;
}

.sccf-form-sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-left: 4px solid #1e6091;
    border-radius: 6px;
    padding: 7px 12px;
    margin: 14px 0 10px 0;
}

.sccf-form-sec-ttl {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.sccf-form-sec-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.sccf-form-grid {
    display: grid;
    gap: 12px 16px;
    align-items: start;
    margin-bottom: 12px;
}

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

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

.sccf-form-grid .bf-field-container {
    margin-bottom: 0 !important;
    min-width: 0;
}

.sccf-shell form .bf-field-container {
    margin-bottom: 11px;
}

.sccf-shell form .bf-field-container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.sccf-shell form .bf-field-container select,
.sccf-shell form .bf-field-container textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-family: var(--dwk-font-base);
    color: #0f172a;
    background: #ffffff;
}

.sccf-shell form .bf-field-container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):focus,
.sccf-shell form .bf-field-container select:focus,
.sccf-shell form .bf-field-container textarea:focus {
    outline: none;
    border-color: #1e6091;
    box-shadow: 0 0 0 2px rgba(30, 96, 145, 0.14);
}

.sccf-form-fold {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    margin: 12px 0 14px 0;
    overflow: hidden;
}

.sccf-form-fold > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    user-select: none;
}

.sccf-form-fold > summary::-webkit-details-marker {
    display: none;
}

.sccf-form-fold[open] > summary {
    background: #eff6ff;
    color: #1e3a8a;
    border-bottom: 1px solid #cbd5e1;
}

.sccf-fold-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sccf-fold-pill {
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 10.5px;
    font-weight: 700;
}

.sccf-fold-chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e6091;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.15s ease;
}

.sccf-form-fold[open] .sccf-fold-chev {
    transform: rotate(45deg);
    background: #1e6091;
    color: #ffffff;
    border-color: #1e6091;
}

.sccf-form-fold-body {
    padding: 14px;
    background: #ffffff;
}

.sccf-live-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.sccf-live-badge.is-idle {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.sccf-live-badge.is-ok {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.sccf-live-badge.is-cool {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.sccf-live-badge.is-warn {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.sccf-live-badge.is-bad {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

button.sccf-now-btn {
    min-height: 22px !important;
    padding: 2px 9px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    border-radius: 999px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    box-shadow: none !important;
}

button.sccf-now-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

.sccf-select-filter {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 9px !important;
    margin-bottom: 5px !important;
    font-size: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

.sccf-dest-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

button.sccf-dest-tab {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 13px !important;
    min-height: 36px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

button.sccf-dest-tab:hover {
    border-color: #1e6091 !important;
    color: #1e6091 !important;
    background: #f0f9ff !important;
}

button.sccf-dest-tab.is-active {
    background: #1e6091 !important;
    color: #ffffff !important;
    border-color: #1e6091 !important;
    box-shadow: 0 2px 6px rgba(30, 96, 145, 0.25) !important;
}

.sccf-dest-pane {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.sccf-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sccf-list-toolbar,
.sccf-dt-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 10px 0 12px 0;
}

.sccf-list-toolbar form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 10px;
    width: 100%;
    margin: 0;
}

.sccf-list-toolbar .bf-field-container {
    margin-bottom: 0 !important;
    flex: 0 1 175px;
    min-width: 130px;
}

.sccf-list-toolbar .bf-field-container:first-of-type {
    flex: 1 1 220px;
    min-width: 180px;
}

.sccf-list-toolbar .bf-field-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 3px !important;
    display: block !important;
}

.sccf-list-toolbar input[type="search"],
.sccf-list-toolbar select,
.sccf-dt-search,
.sccf-dt-select {
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 10px !important;
    font-size: 12.5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
}

.sccf-dt-search {
    flex: 1 1 210px;
    min-width: 160px;
}

.sccf-dt-select {
    flex: 0 1 170px;
    min-width: 110px;
}

.sccf-dt-select-pp {
    flex: 0 0 112px;
    min-width: 100px;
}

.sccf-list-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sccf-list-toolbar .bf-submit,
.sccf-list-toolbar input[type="submit"] {
    min-height: 34px !important;
    height: 34px !important;
    padding: 5px 14px !important;
    font-size: 12.5px !important;
    margin: 0 !important;
}

a.sccf-dt-clear,
button.sccf-dt-clear {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 5px 11px !important;
    min-height: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

a.sccf-dt-clear:hover,
button.sccf-dt-clear:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
    text-decoration: none !important;
}

.sccf-th-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.sccf-th-sort {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.sccf-th-sort:hover {
    color: #1e6091 !important;
    text-decoration: none !important;
}

.sccf-th-sort.is-active {
    color: #1e6091 !important;
}

.sccf-sort-ico {
    font-size: 10px;
    opacity: 0.45;
    margin-left: auto;
    flex-shrink: 0;
}

.sccf-th-sort.is-active .sccf-sort-ico {
    opacity: 1;
    color: #1e6091;
}

.sccf-dt-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
    margin: 10px 0 4px 0;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
}

.sccf-dt-pages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

a.sccf-dt-btn,
button.sccf-dt-btn,
span.sccf-dt-btn {
    min-width: 30px !important;
    min-height: 30px !important;
    height: 30px !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

a.sccf-dt-btn:hover,
button.sccf-dt-btn:hover {
    background: #eff6ff !important;
    border-color: #1e6091 !important;
    color: #1e6091 !important;
    text-decoration: none !important;
}

a.sccf-dt-btn.is-active,
button.sccf-dt-btn.is-active {
    background: #1e6091 !important;
    border-color: #1e6091 !important;
    color: #ffffff !important;
}

button.sccf-dt-btn:disabled,
span.sccf-dt-btn.is-disabled {
    opacity: 0.45 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.sccf-dt-ellipsis {
    padding: 0 5px;
    color: #94a3b8;
    font-weight: 700;
}

.sccf-dt-empty td {
    text-align: center !important;
    color: #64748b !important;
    padding: 16px !important;
}

@media (max-width: 780px) {
    .sccf-form-grid-2,
    .sccf-form-grid-3 {
        grid-template-columns: 1fr;
    }
    .sccf-list-toolbar .bf-field-container,
    .sccf-list-toolbar .bf-field-container:first-of-type {
        flex: 1 1 100%;
    }
    .sccf-dt-pager {
        flex-direction: column;
        align-items: stretch;
    }
    .sccf-dt-pages {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .sccf-header {
        padding: 14px;
    }
    .sccf-nav-groups {
        grid-template-columns: 1fr;
    }
}
