Files
IPSExtractor/services/desktop_app/src/renderer/styles.css
T

4792 lines
81 KiB
CSS

:root {
--bg: #f4f6f8;
--surface: #ffffff;
--text: #18212f;
--text-muted: #5d697b;
--border: #d5dde8;
--input-bg: #ffffff;
--primary: #2e7db2;
--primary-ghost: rgba(46, 125, 178, 0.08);
--success: #16a34a;
color: #18212f;
background: #f4f6f8;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* {
box-sizing: border-box;
}
body {
height: 100%;
margin: 0;
min-width: 1080px;
overflow: hidden;
}
html {
height: 100%;
}
button,
input,
textarea {
font: inherit;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.app-frame {
background: #f4f6f8;
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
height: 100vh;
overflow: hidden;
}
.sidebar {
background: linear-gradient(180deg, #0f1724 0%, #111827 100%);
border-right: 1px solid rgba(255, 255, 255, 0.06);
color: #e5edf7;
display: flex;
flex-direction: column;
height: 100vh;
padding: 20px 12px 16px;
}
.brand {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 10px;
margin-bottom: 28px;
padding: 0 8px;
}
.brand-mark {
background: #0b0b0b;
border-radius: 10px;
display: block;
flex-shrink: 0;
height: 34px;
object-fit: contain;
width: 34px;
}
.brand-text {
display: flex;
flex-direction: column;
}
.brand-text strong {
color: #f0f4f8;
font-size: 14px;
letter-spacing: -0.01em;
line-height: 1.2;
}
.brand-text span {
color: #6b7f96;
font-size: 11px;
font-weight: 500;
}
.side-nav {
display: flex;
flex-direction: column;
flex-shrink: 0;
gap: 2px;
}
.side-nav button {
align-items: center;
background: transparent;
border: 0;
border-radius: 8px;
color: #8a9ab4;
display: flex;
font-size: 13px;
font-weight: 500;
gap: 10px;
min-height: 38px;
padding: 0 12px;
text-align: left;
transition: all 0.15s ease;
}
.side-nav button:hover {
background: rgba(255, 255, 255, 0.05);
color: #c8d5e4;
}
.side-nav button.active {
background: rgba(46, 125, 178, 0.15);
color: #ffffff;
font-weight: 600;
}
.side-nav button.active::before {
background: #3b9ad9;
border-radius: 0 2px 2px 0;
content: "";
height: 18px;
left: 0;
position: absolute;
width: 3px;
}
.side-nav button {
position: relative;
}
.sidebar-footer {
border-top: 1px solid rgba(255, 255, 255, 0.06);
flex-shrink: 0;
margin-top: auto;
padding: 14px 8px 0;
}
.sidebar-gateway {
align-items: center;
display: flex;
gap: 8px;
}
.sidebar-version {
color: #6b7f96;
display: flex;
flex-direction: column;
font-size: 11px;
font-weight: 500;
gap: 2px;
line-height: 1.3;
margin-top: 10px;
padding: 0 4px;
}
.app-topbar {
align-items: center;
background: var(--surface);
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 12px;
height: 36px;
justify-content: flex-end;
padding: 0 20px;
}
.app-version-badge {
color: var(--text-muted);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.01em;
user-select: none;
}
.gateway-dot {
border-radius: 999px;
flex-shrink: 0;
height: 8px;
transition: background 0.3s ease;
width: 8px;
}
.gateway-dot.idle {
background: #4b5c72;
}
.gateway-dot.busy {
animation: pulse-dot 1.2s ease infinite;
background: #f59e0b;
}
.gateway-dot.ok {
background: #34d399;
box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}
.gateway-dot.error {
background: #f87171;
box-shadow: 0 0 6px rgba(248, 113, 113, 0.4);
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.gateway-label {
color: #6b7f96;
font-size: 12px;
font-weight: 500;
}
.workspace {
display: flex;
flex-direction: column;
gap: 12px;
height: 100vh;
min-width: 0;
overflow-y: auto;
padding: 18px;
}
.workspace--wiz {
overflow: hidden;
}
.workspace--wiz > .wiz {
flex: 1;
margin-top: 0;
min-height: 0;
}
.workspace--tasks {
overflow: hidden;
padding: 0;
}
.workspace--tasks > .topbar {
border-radius: 0;
border-left: 0;
border-right: 0;
border-top: 0;
flex-shrink: 0;
padding: 14px 20px;
}
.workspace--tasks > .tasks-layout {
flex: 1;
}
.workspace--settings {
overflow: hidden;
padding: 0;
}
.workspace--settings > .topbar {
border-radius: 0;
border-left: 0;
border-right: 0;
border-top: 0;
flex-shrink: 0;
padding: 14px 20px;
}
.workspace--settings > .settings-layout {
flex: 1;
}
.settings-page {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.settings-page-header {
border-bottom: 1px solid #e8edf4;
flex-shrink: 0;
padding: 20px 28px 16px;
}
.settings-page-header h2 {
font-size: 18px;
font-weight: 700;
margin: 0 0 6px;
}
.settings-page-header p {
color: #64748b;
font-size: 13px;
line-height: 1.45;
margin: 0;
max-width: 640px;
}
.settings-page-header-row {
align-items: flex-start;
display: flex;
gap: 16px;
justify-content: space-between;
}
.settings-page-actions {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 8px;
}
.settings-saved-badge {
background: #dcfce7;
border-radius: 999px;
color: #15803d;
font-size: 11px;
font-weight: 600;
padding: 4px 10px;
}
.settings-page-body {
display: flex;
flex: 1;
flex-direction: column;
gap: 16px;
min-height: 0;
overflow-y: auto;
padding: 20px 28px 28px;
}
.settings-page-body--fill {
overflow: hidden;
}
.settings-panel {
background: #ffffff;
border: 1px solid #e3e8ef;
border-radius: 12px;
display: flex;
flex-direction: column;
gap: 14px;
max-width: 720px;
padding: 18px 20px;
}
.settings-panel-title {
font-size: 14px;
font-weight: 700;
margin: 0;
}
.copmod-year-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.copmod-year-row {
align-items: center;
display: grid;
gap: 10px;
grid-template-columns: 64px minmax(0, 1fr) auto;
}
.copmod-year-label {
color: #334155;
font-size: 13px;
font-weight: 700;
}
.copmod-add-row {
align-items: center;
display: flex;
gap: 10px;
margin-top: 4px;
}
.copmod-add-year {
max-width: 120px;
}
.cleaning-copmod-fecha {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 12px;
max-width: 420px;
}
.settings-status-summary {
color: #15803d;
font-size: 12px;
font-weight: 600;
}
.settings-status-card--error .settings-status-summary {
color: #b91c1c;
}
.settings-service-grid {
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
max-width: 720px;
}
.settings-service-chip {
align-items: center;
background: #ffffff;
border: 1px solid #e3e8ef;
border-radius: 10px;
display: flex;
gap: 10px;
padding: 12px 14px;
}
.settings-service-chip--ok {
background: #f0fdf6;
border-color: #bbf7d0;
}
.settings-service-chip--err {
background: #fff5f5;
border-color: #fecaca;
}
.settings-service-chip-dot {
background: #94a3b8;
border-radius: 50%;
flex-shrink: 0;
height: 8px;
width: 8px;
}
.settings-service-chip--ok .settings-service-chip-dot {
background: #16a34a;
}
.settings-service-chip--err .settings-service-chip-dot {
background: #dc2626;
}
.settings-service-chip-text {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.settings-service-chip-text strong {
color: #18212f;
font-size: 13px;
font-weight: 700;
}
.settings-service-chip-text span {
color: #64748b;
font-size: 11.5px;
}
.settings-url-row {
align-items: stretch;
display: flex;
gap: 10px;
}
.settings-url-row .form-input {
flex: 1;
min-width: 0;
}
.settings-url-row .btn {
flex-shrink: 0;
}
.topbar-inline {
align-items: center;
display: flex;
flex-shrink: 0;
justify-content: space-between;
padding: 0 4px 4px;
}
.topbar-inline h1 {
font-size: 20px;
font-weight: 700;
margin: 0;
}
.topbar,
.panel {
background: #ffffff;
border: 1px solid #d8dee8;
border-radius: 8px;
}
.topbar {
align-items: center;
display: flex;
justify-content: space-between;
padding: 16px 18px;
}
.topbar h1 {
font-size: 22px;
line-height: 1.1;
margin: 0;
}
.topbar p {
color: #5d697b;
margin: 4px 0 0;
}
.topbar-actions {
align-items: center;
display: flex;
gap: 10px;
}
.grid {
display: grid;
gap: 12px;
margin-top: 12px;
}
.grid.two {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.grid.one {
grid-template-columns: minmax(0, 1fr);
}
.grid.wide-left {
grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
}
.panel {
min-width: 0;
padding: 14px;
}
.panel h2 {
font-size: 15px;
margin: 0 0 12px;
}
label {
color: #354154;
display: grid;
font-size: 12px;
font-weight: 650;
gap: 5px;
}
input,
textarea {
background: #fbfcfd;
border: 1px solid #cfd7e4;
border-radius: 6px;
color: #1c2430;
min-height: 34px;
padding: 7px 9px;
width: 100%;
}
textarea {
resize: vertical;
}
input[readonly] {
background: #eef2f6;
color: #566274;
}
.field-grid {
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.field-grid.compact {
grid-template-columns: 96px 96px;
margin: 8px 0;
}
.path-row {
align-items: end;
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1fr) auto;
margin: 10px 0;
}
.segmented {
background: #eef2f7;
border-radius: 8px;
display: grid;
gap: 4px;
grid-template-columns: 1fr 1fr;
margin-top: 12px;
padding: 4px;
}
.segmented button {
background: transparent;
border: 0;
border-radius: 6px;
color: #4f5b6d;
min-height: 34px;
}
.segmented button.active {
background: #ffffff;
color: #122033;
font-weight: 700;
}
.icon-button {
align-items: center;
background: #ffffff;
border: 1px solid #bfcbda;
border-radius: 6px;
color: #253348;
display: inline-flex;
gap: 7px;
justify-content: center;
min-height: 34px;
padding: 0 12px;
white-space: nowrap;
}
.icon-button.primary {
background: #0f6da9;
border-color: #0f6da9;
color: #ffffff;
}
.icon-button.secondary {
margin-top: 10px;
}
.square {
align-items: center;
background: #fff3f2;
border: 1px solid #e6b5b0;
border-radius: 6px;
color: #ad3429;
display: inline-flex;
height: 34px;
justify-content: center;
width: 36px;
}
.switch-row,
.schema-tools,
.action-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.action-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check {
align-items: center;
display: flex;
flex-direction: row;
font-size: 13px;
font-weight: 600;
gap: 8px;
}
.check input {
min-height: auto;
width: auto;
}
.check.block {
margin: 12px 0 8px;
}
.doc-list {
display: grid;
gap: 8px;
}
.doc-row {
display: grid;
gap: 8px;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}
.schema-tools {
align-items: center;
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
margin-bottom: 10px;
}
.schema-picker {
display: grid;
gap: 10px;
}
.schema-picker-toolbar {
align-items: center;
display: flex;
gap: 12px;
}
.text-button {
background: transparent;
border: 0;
color: #3559a8;
cursor: pointer;
font-size: 13px;
padding: 0;
}
.text-button:hover {
text-decoration: underline;
}
.schema-group-list {
border: 1px solid #e2e7ef;
border-radius: 10px;
max-height: 460px;
overflow: auto;
}
.schema-group + .schema-group {
border-top: 1px solid #e8edf4;
}
.schema-group-header {
align-items: center;
background: #f7f9fc;
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1fr) auto;
padding: 10px 12px;
position: sticky;
top: 0;
z-index: 1;
}
.schema-group-toggle {
align-items: center;
background: transparent;
border: 0;
color: #1f2937;
cursor: pointer;
display: flex;
font: inherit;
gap: 8px;
padding: 0;
text-align: left;
}
.schema-group-title {
font-weight: 600;
}
.schema-group-count {
background: #e8eef8;
border-radius: 999px;
color: #4b5b76;
font-size: 12px;
padding: 2px 8px;
}
.check.compact {
font-size: 12px;
gap: 6px;
}
.schema-group-body {
display: grid;
}
.schema-field-row {
align-items: center;
border-top: 1px solid #eef2f7;
display: grid;
gap: 10px;
grid-template-columns: minmax(180px, 1.1fr) minmax(120px, 1fr) minmax(120px, 0.8fr);
padding: 10px 12px;
}
.schema-field-main {
align-items: center;
display: grid;
gap: 8px;
grid-template-columns: auto minmax(0, 1fr) auto;
}
.schema-field-label {
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.schema-kind {
background: #eef2ff;
border-radius: 999px;
color: #4f5d75;
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
text-transform: lowercase;
}
.schema-field-preview {
color: #334155;
font-size: 13px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.schema-alias-input {
min-width: 0;
}
/* ── SampleTreeView ── */
.stv-root {
font-size: 12.5px;
line-height: 1.5;
overflow: auto;
}
.stv-row {
align-items: baseline;
border-bottom: 1px solid #f0f3f7;
display: flex;
gap: 8px;
min-height: 28px;
padding: 4px 0;
}
.stv-row:last-child {
border-bottom: 0;
}
.stv-key {
color: #5b6d85;
flex-shrink: 0;
font-size: 12px;
font-weight: 600;
min-width: 90px;
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stv-index {
color: #94a3b8;
font-size: 11px;
font-weight: 700;
min-width: 28px;
max-width: 40px;
}
.stv-val {
flex: 1;
min-width: 0;
word-break: break-word;
}
.stv-string {
color: #1e293b;
}
.stv-number {
color: #0369a1;
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 12px;
}
.stv-bool {
background: #fef9c3;
border-radius: 4px;
color: #854d0e;
font-size: 11px;
font-weight: 600;
padding: 1px 6px;
}
.stv-null {
color: #94a3b8;
font-size: 11px;
font-style: italic;
}
.stv-group {
border-bottom: 1px solid #f0f3f7;
}
.stv-group:last-child {
border-bottom: 0;
}
.stv-group-header {
align-items: center;
background: transparent;
border: 0;
color: inherit;
cursor: pointer;
display: flex;
gap: 4px;
min-height: 28px;
padding: 4px 0;
text-align: left;
width: 100%;
}
.stv-group-header:hover {
background: rgba(46, 125, 178, 0.04);
border-radius: 4px;
}
.stv-chevron {
color: #94a3b8;
flex-shrink: 0;
}
.stv-group-body {
border-left: 2px solid #e2e8f0;
margin-left: 6px;
margin-bottom: 4px;
}
.stv-badge {
background: #e8f0fb;
border-radius: 4px;
color: #3b5ea6;
font-size: 10px;
font-weight: 700;
padding: 1px 6px;
}
.stv-row--selected {
background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent);
border-bottom-color: rgba(34, 197, 94, 0.15);
border-radius: 5px;
padding-left: 6px;
padding-right: 4px;
}
.stv-key--hl {
color: #15803d;
font-weight: 700;
}
.stv-group--hl > .stv-group-header .stv-key {
color: #166534;
}
.stv-group--hl > .stv-group-header {
background: rgba(34, 197, 94, 0.06);
border-radius: 4px;
}
.schema-list {
border: 1px solid #e2e7ef;
border-radius: 8px;
max-height: 420px;
overflow: auto;
}
.schema-row {
align-items: center;
border-bottom: 1px solid #e8edf4;
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
padding: 8px;
}
.schema-row:last-child {
border-bottom: 0;
}
.schema-row span {
overflow-wrap: anywhere;
}
.schema-row small {
color: #6b7788;
font-weight: 500;
}
.json-box {
background: #111827;
border-radius: 8px;
color: #e7edf7;
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 12px;
height: 480px;
margin: 0;
overflow: auto;
padding: 12px;
white-space: pre-wrap;
}
.json-box.compact {
height: 260px;
}
/* ═══════════════════════════════════════════
Tasks view
═══════════════════════════════════════════ */
.tasks-layout {
display: grid;
flex: 1;
gap: 0;
grid-template-columns: 260px minmax(0, 1fr);
min-height: 0;
overflow: hidden;
}
.tasks-sidebar {
border-right: 1px solid #e3e8ef;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.tasks-sidebar-header {
align-items: center;
display: flex;
flex-shrink: 0;
justify-content: space-between;
padding: 16px 16px 12px;
}
.tasks-sidebar-header h2 {
font-size: 14px;
font-weight: 700;
margin: 0;
}
.tasks-list {
flex: 1;
overflow-y: auto;
padding: 4px 8px 12px;
}
.tasks-item {
background: transparent;
border: 0;
border-radius: 8px;
color: #253348;
cursor: pointer;
display: flex;
flex-direction: column;
gap: 5px;
padding: 10px 10px;
text-align: left;
transition: background 0.12s ease;
width: 100%;
}
.tasks-item:hover {
background: #f3f6fa;
}
.tasks-item.active {
background: #eef7ff;
}
.tasks-item-top {
align-items: center;
display: flex;
gap: 7px;
}
.tasks-item-title {
font-size: 13px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tasks-item-meta {
align-items: center;
display: flex;
gap: 8px;
margin-left: 22px;
}
.tasks-item-progress-track {
background: #e8edf4;
border-radius: 999px;
height: 4px;
margin: 4px 0 0 22px;
overflow: hidden;
}
.tasks-item-progress-fill {
background: linear-gradient(90deg, #2e7db2, #3b9ad9);
border-radius: 999px;
height: 100%;
transition: width 0.3s ease;
}
.tasks-inline-progress {
margin-top: 2px;
}
.tasks-item-time {
color: #94a3b8;
font-size: 11px;
}
.tasks-badge {
border-radius: 999px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.02em;
padding: 2px 8px;
text-transform: uppercase;
}
.tasks-badge--pending,
.tasks-badge--running {
background: #f0f4ff;
color: #3b5ea6;
}
.tasks-badge--completed {
background: #e7f7ef;
color: #17613a;
}
.tasks-badge--failed {
background: #fff0ed;
color: #b42318;
}
.task-icon--ok { color: #22c55e; }
.task-icon--err { color: #ef4444; }
.task-icon--run { color: #3b82f6; }
.task-icon--idle { color: #94a3b8; }
.tasks-empty {
align-items: center;
color: #94a3b8;
display: flex;
flex: 1;
flex-direction: column;
gap: 6px;
justify-content: center;
padding: 32px 16px;
text-align: center;
}
.tasks-empty p {
color: #5d697b;
font-size: 13px;
font-weight: 600;
margin: 0;
}
.tasks-empty span {
font-size: 12px;
}
.tasks-empty--main {
height: 100%;
}
.tasks-main {
display: flex;
flex-direction: column;
gap: 0;
min-height: 0;
overflow-y: auto;
}
.tasks-detail-header {
border-bottom: 1px solid #e8edf4;
display: flex;
flex-direction: column;
flex-shrink: 0;
gap: 10px;
padding: 20px 24px 16px;
}
.tasks-detail-title-row {
align-items: center;
display: flex;
gap: 10px;
}
.tasks-detail-title-row h3 {
flex: 1;
font-size: 15px;
font-weight: 700;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tasks-detail-meta {
color: #7b8698;
display: flex;
flex-wrap: wrap;
font-size: 12px;
gap: 16px;
}
.tasks-detail-error {
align-items: center;
color: #b42318;
display: flex;
gap: 4px;
}
.tasks-detail-actions {
display: flex;
gap: 8px;
}
.tasks-json-box {
background: #111827;
border-radius: 8px;
color: #e7edf7;
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 11.5px;
margin: 4px 0 0;
max-height: 200px;
overflow: auto;
padding: 12px;
white-space: pre-wrap;
}
.tasks-results {
display: flex;
flex: 1;
flex-direction: column;
gap: 0;
min-height: 0;
padding: 0;
}
.tasks-results-header {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 8px;
padding: 14px 24px 10px;
}
.tasks-results-title {
align-items: center;
display: flex;
font-size: 13px;
font-weight: 700;
gap: 8px;
}
.tasks-table-empty {
align-items: center;
color: #94a3b8;
display: flex;
flex-direction: column;
gap: 8px;
justify-content: center;
padding: 40px;
}
.tasks-table-empty p {
color: #5d697b;
font-size: 13px;
margin: 0;
}
.table-wrap {
border-top: 1px solid #e2e7ef;
flex: 1;
max-height: unset;
overflow: auto;
}
.content-actions {
align-items: center;
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 12px;
}
.settings-layout {
display: grid;
flex: 1;
gap: 0;
grid-template-columns: 320px minmax(0, 1fr);
min-height: 0;
overflow: hidden;
}
.settings-sidebar {
border-right: 1px solid #e3e8ef;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.settings-sidebar-header {
align-items: center;
display: flex;
flex-shrink: 0;
justify-content: space-between;
padding: 16px 20px 12px;
}
.settings-sidebar-header h2 {
font-size: 14px;
font-weight: 700;
margin: 0;
}
.settings-sidebar-body {
display: flex;
flex: 1;
flex-direction: column;
gap: 20px;
overflow-y: auto;
padding: 4px 20px 24px;
}
.settings-status-card {
align-items: flex-start;
background: #f8fafc;
border: 1px solid #e3e8ef;
border-radius: 10px;
display: flex;
gap: 12px;
padding: 14px;
}
.settings-status-card--ok {
background: #f0fdf6;
border-color: #bbf7d0;
}
.settings-status-card--error {
background: #fff5f5;
border-color: #fecaca;
}
.settings-status-card--busy {
background: #fffbeb;
border-color: #fde68a;
}
.settings-status-icon {
align-items: center;
border-radius: 8px;
display: flex;
flex-shrink: 0;
height: 36px;
justify-content: center;
width: 36px;
}
.settings-status-icon--idle {
background: #eef2f7;
color: #64748b;
}
.settings-status-icon--ok {
background: #dcfce7;
color: #16a34a;
}
.settings-status-icon--error {
background: #fee2e2;
color: #dc2626;
}
.settings-status-icon--busy {
background: #fef3c7;
color: #d97706;
}
.settings-status-text {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.settings-status-text strong {
color: #18212f;
font-size: 13px;
font-weight: 700;
}
.settings-status-text span {
color: #64748b;
font-size: 12px;
line-height: 1.45;
overflow-wrap: anywhere;
}
.settings-field {
display: flex;
flex-direction: column;
}
.settings-main {
display: flex;
flex-direction: column;
gap: 0;
min-height: 0;
overflow: hidden;
}
.settings-main-header {
align-items: center;
border-bottom: 1px solid #e8edf4;
display: flex;
flex-shrink: 0;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
padding: 16px 24px;
}
.settings-main-title {
align-items: center;
display: flex;
gap: 8px;
}
.settings-main-title h3 {
font-size: 15px;
font-weight: 700;
margin: 0;
}
.settings-main-title svg {
color: #64748b;
}
.settings-tabs {
background: #eef2f7;
border-radius: 8px;
display: flex;
gap: 2px;
padding: 3px;
}
.settings-tabs button {
background: transparent;
border: 0;
border-radius: 6px;
color: #64748b;
font-size: 12px;
font-weight: 600;
min-height: 30px;
padding: 0 14px;
transition: all 0.15s ease;
}
.settings-tabs button:hover:not(.active) {
color: #354154;
}
.settings-tabs button.active {
background: #ffffff;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
color: #18212f;
}
.settings-json-area {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
padding: 16px 24px 24px;
}
.settings-json-box {
background: #111827;
border-radius: 8px;
color: #e7edf7;
flex: 1;
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 11.5px;
margin: 0;
min-height: 0;
overflow: auto;
padding: 16px;
white-space: pre-wrap;
}
.settings-empty {
align-items: center;
color: #94a3b8;
display: flex;
flex: 1;
flex-direction: column;
gap: 8px;
justify-content: center;
text-align: center;
}
.settings-empty p {
color: #5d697b;
font-size: 13px;
font-weight: 600;
margin: 0;
}
.settings-empty span {
font-size: 12px;
max-width: 280px;
}
.table-wrap {
border: 1px solid #e2e7ef;
border-radius: 8px;
max-height: 360px;
overflow: auto;
}
.task-list {
border: 1px solid #e2e7ef;
border-radius: 8px;
display: grid;
max-height: 360px;
overflow: auto;
}
.task-list.large {
max-height: 520px;
}
.task-row {
align-items: center;
background: #ffffff;
border: 0;
border-bottom: 1px solid #e8edf4;
color: #253348;
display: grid;
gap: 8px;
grid-template-columns: minmax(0, 1fr) auto;
min-height: 42px;
padding: 8px 10px;
text-align: left;
}
.task-row:last-child {
border-bottom: 0;
}
.task-row.active {
background: #eef7ff;
}
.task-row span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.task-status {
border-radius: 999px;
font-size: 11px;
padding: 4px 8px;
}
.task-status.pending,
.task-status.running {
background: #eef2f7;
color: #445063;
}
.task-status.completed {
background: #e7f7ef;
color: #17613a;
}
.task-status.failed {
background: #fff0ed;
color: #b42318;
}
table {
border-collapse: collapse;
font-size: 12px;
width: 100%;
}
th,
td {
border-bottom: 1px solid #e8edf4;
max-width: 260px;
overflow: hidden;
padding: 8px;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
th {
background: #f3f6fa;
position: sticky;
top: 0;
z-index: 1;
}
.status-line,
.error-line,
.muted {
color: #667286;
font-size: 13px;
}
.error-line {
align-items: center;
color: #b42318;
display: flex;
gap: 6px;
}
.status-pill {
align-items: center;
border-radius: 999px;
display: flex;
font-size: 12px;
gap: 6px;
max-width: 560px;
overflow: hidden;
padding: 6px 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar .status-pill {
justify-content: center;
max-width: 100%;
}
.status-pill.idle,
.status-pill.busy {
background: #eef2f7;
color: #445063;
}
.status-pill.ok {
background: #e7f7ef;
color: #17613a;
}
.status-pill.error {
background: #fff0ed;
color: #b42318;
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* ═══════════════════════════════════════════
Wizard shell & stepper
═══════════════════════════════════════════ */
.wiz {
display: flex;
flex: 1;
flex-direction: column;
gap: 0;
margin: 0 auto;
max-width: 1100px;
min-height: 0;
width: 100%;
}
.stepper {
align-items: center;
display: flex;
flex-shrink: 0;
padding: 20px 24px 24px;
}
.stepper-item {
align-items: center;
display: flex;
flex: 1;
min-width: 0;
}
.stepper-item:last-child {
flex: 0 0 auto;
}
.stepper-dot {
align-items: center;
background: #eef2f7;
border: 2px solid #d5dde8;
border-radius: 999px;
color: #7b8698;
display: flex;
flex-shrink: 0;
font-size: 12px;
font-weight: 700;
height: 32px;
justify-content: center;
transition: all 0.2s ease;
width: 32px;
}
.stepper-dot.active {
background: #2e7db2;
border-color: #2e7db2;
box-shadow: 0 0 0 4px rgba(46, 125, 178, 0.15);
color: #ffffff;
}
.stepper-dot.done {
background: #2e7db2;
border-color: #2e7db2;
color: #ffffff;
cursor: pointer;
}
.stepper-dot.available {
background: #e7f2fa;
border-color: #8ec3e4;
color: #1f5f8b;
cursor: pointer;
}
.stepper-dot:disabled {
cursor: default;
opacity: 1;
}
.stepper-label {
color: #8b96a8;
font-size: 11px;
font-weight: 600;
margin-left: 8px;
white-space: nowrap;
}
.stepper-label.active {
color: #18212f;
font-weight: 700;
}
.stepper-label.done,
.stepper-label.available {
color: #2e7db2;
}
.stepper-connector {
background: #d5dde8;
flex: 1;
height: 2px;
margin: 0 16px;
min-width: 24px;
transition: background 0.2s ease;
}
.stepper-connector.done {
background: #2e7db2;
}
/* ═══════════════════════════════════════════
Wizard body & steps
═══════════════════════════════════════════ */
.wiz-body {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow-y: auto;
padding: 0 2px 8px;
}
.job-extraction-results-pane {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: auto;
padding: 8px 4px 16px;
}
.wiz-step {
display: flex;
flex-direction: column;
gap: 24px;
}
.wiz-step-centered {
align-items: center;
max-width: 600px;
margin: 0 auto;
text-align: center;
width: 100%;
}
.wiz-step-split {
display: grid;
gap: 20px;
grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
}
.wiz-split-main,
.wiz-split-aside {
display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
}
.wiz-split-aside {
background: #f9fafb;
border: 1px solid #e8edf4;
border-radius: 10px;
padding: 16px;
}
/* ═══════════════════════════════════════════
Sections & typography
═══════════════════════════════════════════ */
.wiz-section {
display: flex;
flex-direction: column;
}
.wiz-section + .wiz-section {
border-top: 1px solid #eef2f7;
padding-top: 20px;
}
.wiz-section-title {
align-items: center;
color: #18212f;
display: flex;
font-size: 15px;
font-weight: 700;
gap: 10px;
margin: 0 0 6px;
}
.wiz-section-header {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
align-items: center;
}
.wiz-desc {
color: #5d697b;
font-size: 13.5px;
line-height: 1.55;
margin: 0 0 16px;
}
.wiz-hint {
color: #7b8698;
font-size: 12.5px;
line-height: 1.5;
margin: 8px 0 0;
}
.wiz-field-label {
color: #354154;
font-size: 12px;
font-weight: 650;
margin-bottom: 6px;
}
.wiz-count-badge {
background: #e7f2fa;
border-radius: 999px;
color: #1f5f8b;
font-size: 12px;
font-weight: 600;
padding: 2px 10px;
}
/* ═══════════════════════════════════════════
Mode switch (toggle buttons)
═══════════════════════════════════════════ */
.mode-switch {
display: inline-flex;
gap: 0;
margin-bottom: 16px;
}
.mode-switch button {
align-items: center;
background: #ffffff;
border: 1px solid #d5dde8;
color: #5d697b;
display: inline-flex;
font-size: 13px;
font-weight: 500;
gap: 7px;
min-height: 36px;
padding: 0 16px;
transition: all 0.15s ease;
}
.mode-switch button:first-child {
border-radius: 8px 0 0 8px;
}
.mode-switch button:last-child {
border-left: 0;
border-radius: 0 8px 8px 0;
}
.mode-switch button.active {
background: #2e7db2;
border-color: #2e7db2;
color: #ffffff;
font-weight: 600;
}
.mode-switch button:not(.active):hover {
background: #f3f6fa;
}
/* ═══════════════════════════════════════════
Folder picker
═══════════════════════════════════════════ */
.folder-picker {
align-items: center;
display: flex;
gap: 10px;
}
.folder-picker-display {
align-items: center;
background: #f8fafc;
border: 1px dashed #c8d3e0;
border-radius: 8px;
color: #354154;
display: flex;
flex: 1;
font-size: 13px;
gap: 8px;
min-height: 40px;
overflow: hidden;
padding: 8px 12px;
}
.folder-picker-icon {
color: #2e7db2;
flex-shrink: 0;
}
.folder-picker-path {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folder-picker-placeholder {
color: #94a3b8;
}
/* ═══════════════════════════════════════════
Found badge
═══════════════════════════════════════════ */
.wiz-found-badge {
align-items: center;
background: linear-gradient(135deg, #eef8f3, #e7f2fa);
border: 1px solid #c5e0d3;
border-radius: 8px;
color: #1a6b4a;
display: flex;
font-size: 13px;
gap: 8px;
margin-top: 12px;
padding: 10px 14px;
}
/* ═══════════════════════════════════════════
Doc type rows
═══════════════════════════════════════════ */
.doc-type-list {
display: grid;
gap: 8px;
margin-bottom: 10px;
}
.doc-type-row {
display: grid;
gap: 8px;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}
.btn-icon-danger {
align-items: center;
background: transparent;
border: 1px solid #e5c4c0;
border-radius: 6px;
color: #b42318;
display: inline-flex;
height: 34px;
justify-content: center;
transition: background 0.15s;
width: 34px;
}
.btn-icon-danger:hover {
background: #fff3f2;
}
/* ═══════════════════════════════════════════
Advanced options (native <details>)
═══════════════════════════════════════════ */
.wiz-advanced {
border-top: 1px solid #eef2f7;
margin-top: 0;
padding-top: 0;
}
.wiz-advanced-trigger {
align-items: center;
color: #5d697b;
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 600;
gap: 6px;
list-style: none;
padding: 14px 0;
user-select: none;
}
.wiz-advanced-trigger::-webkit-details-marker {
display: none;
}
.wiz-advanced-trigger:hover {
color: #2e7db2;
}
.wiz-advanced-body {
display: grid;
gap: 12px;
padding-bottom: 8px;
}
.wiz-checks-row {
display: flex;
flex-wrap: wrap;
gap: 16px;
}
.wiz-inline-fields {
display: grid;
gap: 10px;
grid-template-columns: 100px 100px;
}
/* ═══════════════════════════════════════════
Hero block (step 2 & 4)
═══════════════════════════════════════════ */
.wiz-hero {
align-items: center;
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 8px;
}
.wiz-hero-icon {
align-items: center;
background: linear-gradient(135deg, #e7f2fa, #d3e8f8);
border-radius: 16px;
color: #2e7db2;
display: flex;
height: 56px;
justify-content: center;
margin-bottom: 4px;
width: 56px;
}
.wiz-hero-icon--go {
background: linear-gradient(135deg, #e7f8ef, #c8f0db);
color: #17613a;
}
.wiz-hero-title {
font-size: 18px;
font-weight: 700;
margin: 0;
}
/* ═══════════════════════════════════════════
Stats row (step 2)
═══════════════════════════════════════════ */
.wiz-stats-row {
display: flex;
gap: 0;
justify-content: center;
margin-bottom: 8px;
width: 100%;
}
.wiz-stat {
align-items: center;
display: flex;
flex: 1;
flex-direction: column;
gap: 2px;
padding: 14px 12px;
position: relative;
}
.wiz-stat + .wiz-stat::before {
background: #e3e8ef;
content: "";
height: 28px;
left: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 1px;
}
.wiz-stat-value {
color: #18212f;
font-size: 18px;
font-weight: 700;
}
.wiz-stat-label {
color: #7b8698;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.wiz-success-msg {
align-items: center;
background: #eef8f3;
border-radius: 8px;
color: #17613a;
display: inline-flex;
font-size: 13px;
font-weight: 500;
gap: 8px;
margin-top: 8px;
padding: 10px 16px;
}
.wiz-rediscover-card {
align-items: flex-start;
background: #f8fafc;
border: 1px solid #e3e8ef;
border-radius: 10px;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
margin-top: 14px;
max-width: 560px;
padding: 14px 16px;
}
.wiz-rediscover-card--compact {
margin-bottom: 12px;
margin-top: 0;
max-width: none;
}
.wiz-rediscover-text {
display: flex;
flex: 1;
flex-direction: column;
gap: 4px;
min-width: 180px;
}
.wiz-rediscover-text strong {
color: #18212f;
font-size: 13px;
font-weight: 700;
}
.wiz-rediscover-text span {
color: #64748b;
font-size: 12px;
line-height: 1.45;
}
.wiz-rediscover-text em {
color: #334155;
font-style: normal;
font-weight: 600;
}
/* ═══════════════════════════════════════════
Review grid (step 4)
═══════════════════════════════════════════ */
.wiz-review-grid {
display: grid;
gap: 10px;
grid-template-columns: 1fr 1fr;
margin-bottom: 8px;
text-align: left;
width: 100%;
}
.wiz-review-item {
align-items: flex-start;
background: #f8fafc;
border: 1px solid #e8edf4;
border-radius: 10px;
color: #2e7db2;
display: flex;
gap: 12px;
padding: 14px 16px;
}
.wiz-review-item > div {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.wiz-review-label {
color: #7b8698;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.wiz-review-value {
color: #18212f;
font-size: 14px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* ═══════════════════════════════════════════
Action buttons
═══════════════════════════════════════════ */
.wiz-action-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
/* ═══════════════════════════════════════════
Buttons (global)
═══════════════════════════════════════════ */
.btn {
align-items: center;
background: #ffffff;
border: 1px solid #c5cdd8;
border-radius: 8px;
color: #354154;
cursor: pointer;
display: inline-flex;
font-size: 13px;
font-weight: 600;
gap: 7px;
justify-content: center;
min-height: 36px;
padding: 0 14px;
transition: all 0.15s ease;
white-space: nowrap;
}
.btn:hover:not(:disabled) {
background: #f3f6fa;
border-color: #b0bac8;
}
.btn-primary {
background: #2e7db2;
border-color: #2e7db2;
color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
background: #256fa0;
border-color: #256fa0;
}
.btn-outline {
background: transparent;
border-color: #c5cdd8;
color: #354154;
}
.btn-danger {
background: #dc2626;
border-color: #dc2626;
color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
background: #b91c1c;
border-color: #b91c1c;
}
.btn-ghost {
background: transparent;
border: 1px dashed #c5cdd8;
color: #5d697b;
}
.btn-ghost:hover:not(:disabled) {
background: #f8fafc;
border-color: #94a3b8;
color: #354154;
}
.btn-lg {
font-size: 14px;
min-height: 42px;
padding: 0 20px;
}
.btn-sm {
font-size: 12px;
min-height: 30px;
padding: 0 10px;
}
/* ═══════════════════════════════════════════
Search box (step 3)
═══════════════════════════════════════════ */
.wiz-search-box {
align-items: center;
background: #f8fafc;
border: 1px solid #d5dde8;
border-radius: 8px;
color: #7b8698;
display: flex;
gap: 6px;
padding: 0 10px;
}
.wiz-search-box input {
background: transparent;
border: 0;
font-size: 13px;
min-height: 32px;
padding: 0;
width: 180px;
}
.wiz-search-box input:focus {
outline: none;
}
.wiz-toolbar {
display: flex;
gap: 8px;
align-items: center;
}
/* ═══════════════════════════════════════════
Estimate & progress
═══════════════════════════════════════════ */
.wiz-estimate-box {
background: #111827;
border-radius: 8px;
color: #e7edf7;
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 12px;
margin: 12px 0 0;
max-height: 180px;
overflow: auto;
padding: 12px;
text-align: left;
white-space: pre-wrap;
width: 100%;
}
.wiz-progress {
margin-top: 12px;
width: 100%;
}
.wiz-progress-header {
color: #445063;
display: flex;
font-size: 13px;
justify-content: space-between;
margin-bottom: 6px;
}
.wiz-progress-track {
background: #e8edf4;
border-radius: 999px;
height: 6px;
overflow: hidden;
}
.wiz-progress-fill {
background: linear-gradient(90deg, #2e7db2, #3b9ad9);
border-radius: 999px;
height: 100%;
transition: width 0.25s ease;
}
/* ═══════════════════════════════════════════
Toast (status / error)
═══════════════════════════════════════════ */
.wiz-toast {
align-items: center;
background: #f8fafc;
border-top: 1px solid #e8edf4;
color: #5d697b;
display: flex;
flex-shrink: 0;
font-size: 13px;
gap: 8px;
padding: 10px 16px;
}
.wiz-toast--error {
background: #fef3f2;
border-top-color: #f0c5c0;
color: #b42318;
}
/* ═══════════════════════════════════════════
Navigation footer
═══════════════════════════════════════════ */
.wiz-nav {
align-items: center;
border-top: 1px solid #e3e8ef;
display: flex;
flex-shrink: 0;
justify-content: space-between;
padding: 14px 4px 0;
}
.wiz-nav-dots {
display: flex;
gap: 8px;
}
.wiz-nav-dot {
background: #d5dde8;
border: 0;
border-radius: 999px;
height: 8px;
padding: 0;
transition: all 0.2s ease;
width: 8px;
}
.wiz-nav-dot.active {
background: #2e7db2;
width: 24px;
}
.wiz-nav-dot:not(.active):not(:disabled) {
cursor: pointer;
}
.wiz-nav-dot:not(.active):not(:disabled):hover {
background: #94a3b8;
}
/* ── Selector de modelo ─────────────────────────────────── */
.model-picker {
width: 100%;
max-width: 520px;
margin: 0 auto 8px;
}
.model-picker-label {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #64748b;
margin-bottom: 10px;
}
.model-picker-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.model-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 3px;
padding: 10px 12px;
border: 1.5px solid #e2e8f0;
border-radius: 8px;
background: transparent;
cursor: pointer;
text-align: left;
transition: border-color 0.15s, background 0.15s;
}
.model-card:hover:not(:disabled) {
border-color: #94a3b8;
background: #f8fafc;
}
.model-card--active {
border-color: #2e7db2 !important;
background: rgba(46, 125, 178, 0.06) !important;
}
.model-card-name {
font-size: 13px;
font-weight: 600;
color: #1e293b;
}
.model-card--active .model-card-name {
color: #2e7db2;
}
.model-card-tier {
font-size: 11px;
color: #64748b;
}
.model-card-price {
font-size: 11px;
color: #94a3b8;
margin-top: 2px;
font-family: monospace;
}
.model-card-price-out {
color: #cbd5e1;
}
.model-card-price-unit {
color: #cbd5e1;
}
/* ── Tarjeta de estimado ─────────────────────────────────── */
.est-card {
width: 100%;
max-width: 520px;
margin: 4px auto 0;
border: 1px solid #e2e8f0;
border-radius: 10px;
overflow: hidden;
font-size: 13px;
}
.est-card-header {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
font-size: 12px;
font-weight: 600;
color: #475569;
}
.est-phases {
display: flex;
align-items: flex-start;
gap: 0;
padding: 14px;
border-bottom: 1px solid #f1f5f9;
}
.est-phase {
flex: 1;
}
.est-arrow {
align-self: center;
color: #cbd5e1;
margin: 0 10px;
flex-shrink: 0;
}
.est-phase-title {
display: flex;
align-items: center;
gap: 5px;
font-size: 12px;
font-weight: 600;
color: #334155;
margin-bottom: 8px;
}
.est-phase-role {
font-size: 10px;
font-weight: 500;
color: #94a3b8;
background: #f1f5f9;
border-radius: 4px;
padding: 1px 5px;
margin-left: auto;
}
.est-phase-tokens {
display: flex;
flex-direction: column;
gap: 5px;
}
.est-token-row {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.est-token-label {
font-size: 11px;
color: #64748b;
width: 52px;
flex-shrink: 0;
}
.est-token-val {
font-size: 12px;
font-weight: 600;
color: #1e293b;
font-family: monospace;
}
.est-token-cached {
color: #22c55e;
}
.est-token-hint {
font-size: 10px;
color: #94a3b8;
}
.est-totals {
padding: 12px 14px 10px;
}
.est-total-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 0;
border-bottom: 1px solid #f1f5f9;
}
.est-total-row--big {
border-bottom: none;
padding-top: 8px;
margin-top: 2px;
}
.est-total-label {
font-size: 12px;
color: #64748b;
}
.est-total-row--big .est-total-label {
font-size: 13px;
font-weight: 600;
color: #334155;
}
.est-total-val {
font-size: 13px;
font-weight: 600;
color: #1e293b;
font-family: monospace;
}
.est-total-grand {
font-size: 18px;
color: #2e7db2;
}
.est-disclaimer {
font-size: 10px;
color: #94a3b8;
margin-top: 8px;
line-height: 1.4;
}
/* ═══════════════════════════════════════════
Count Results Table
═══════════════════════════════════════════ */
.count-results {
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: 16px;
margin-top: 12px;
min-height: 0;
overflow: hidden;
padding: 0 16px 16px;
}
/* Summary stat overrides */
.count-results-summary {
justify-content: flex-start;
gap: 0;
border: 1px solid #e8edf4;
border-radius: 10px;
overflow: hidden;
background: #ffffff;
}
.count-results-summary .wiz-stat {
flex: 1;
padding: 12px 16px;
}
.count-results-summary .wiz-stat + .wiz-stat {
border-left: 1px solid #e8edf4;
}
.count-results-summary .wiz-stat + .wiz-stat::before {
display: none;
}
.count-stat--valid .wiz-stat-value { color: #1a6b4a; }
.count-stat--invalid .wiz-stat-value { color: #92400e; }
.count-stat--error .wiz-stat-value { color: #991b1b; }
/* Threshold */
.count-threshold {
background: #ffffff;
border: 1px solid #e8edf4;
border-radius: 10px;
padding: 14px 16px;
display: flex;
flex-direction: column;
gap: 6px;
}
.count-threshold-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.count-threshold-value {
font-size: 13px;
font-weight: 700;
color: #2e7db2;
font-variant-numeric: tabular-nums;
}
.count-slider {
width: 100%;
accent-color: #2e7db2;
cursor: pointer;
}
/* Toolbar */
.count-toolbar {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.count-filter-tabs {
display: flex;
gap: 4px;
flex: 1;
flex-wrap: wrap;
}
.count-filter-tab {
align-items: center;
background: #ffffff;
border: 1px solid #d5dde8;
border-radius: 999px;
color: #5d697b;
display: inline-flex;
font-size: 12px;
font-weight: 500;
gap: 5px;
min-height: 28px;
padding: 0 12px;
transition: all 0.15s ease;
white-space: nowrap;
}
.count-filter-tab:hover:not(:disabled) {
background: #f3f6fa;
border-color: #b0bac8;
color: #354154;
}
.count-filter-tab.active {
background: #2e7db2;
border-color: #2e7db2;
color: #ffffff;
font-weight: 600;
}
.count-filter-count {
background: rgba(0, 0, 0, 0.1);
border-radius: 999px;
font-size: 10px;
font-weight: 700;
min-width: 18px;
padding: 1px 5px;
text-align: center;
}
.count-filter-tab.active .count-filter-count {
background: rgba(255, 255, 255, 0.25);
}
.count-toolbar-right {
display: flex;
align-items: center;
gap: 8px;
}
/* Table */
.count-table-wrap {
border: 1px solid #e8edf4;
border-radius: 10px;
flex: 1 1 auto;
min-height: 0;
overflow: auto;
}
.count-table {
border-collapse: collapse;
font-size: 13px;
width: 100%;
}
.count-th {
background: #f8fafc;
border-bottom: 1px solid #e8edf4;
color: #6b7f96;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
padding: 8px 12px;
position: sticky;
text-align: left;
text-transform: uppercase;
top: 0;
z-index: 1;
}
.count-th-center { text-align: center; }
.count-th-narrow { width: 80px; }
.count-row {
border-bottom: 1px solid #f0f4f9;
transition: background 0.1s ease;
}
.count-row:last-child { border-bottom: 0; }
.count-row--valid { background: #f0faf5; }
.count-row--invalid { background: #fefce8; }
.count-row--error { background: #fff5f5; }
.count-row:hover { filter: brightness(0.97); }
.count-td {
padding: 8px 12px;
vertical-align: middle;
}
.count-td-center { text-align: center; }
.count-file-cell {
display: flex;
align-items: flex-start;
gap: 6px;
}
.count-expand-btn {
align-items: center;
background: transparent;
border: 0;
border-radius: 4px;
color: #94a3b8;
display: inline-flex;
flex-shrink: 0;
justify-content: center;
margin-top: 1px;
min-height: 20px;
padding: 0 2px;
transition: color 0.15s ease;
}
.count-expand-btn:hover { color: #2e7db2; }
.count-expand-placeholder {
display: inline-block;
width: 20px;
flex-shrink: 0;
}
.count-file-info {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.count-filename {
color: #18212f;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.count-radicado {
color: #7b8698;
font-size: 11.5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.count-error-msg {
color: #dc2626;
font-size: 11px;
line-height: 1.4;
}
.count-service-num {
color: #18212f;
font-size: 15px;
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.count-dash { color: #94a3b8; }
.count-icon { display: block; margin: 0 auto; }
.count-icon--valid { color: #16a34a; }
.count-icon--warn { color: #d97706; }
.count-icon--error { color: #dc2626; }
/* Validity toggle buttons */
.count-validity-btns {
display: flex;
gap: 4px;
justify-content: center;
}
.count-validity-btn {
align-items: center;
background: #f1f5f9;
border: 1px solid #d5dde8;
border-radius: 6px;
color: #64748b;
display: inline-flex;
font-size: 13px;
font-weight: 700;
justify-content: center;
min-height: 26px;
min-width: 28px;
padding: 0 4px;
transition: all 0.15s ease;
}
.count-validity-btn:hover:not(:disabled) {
border-color: #94a3b8;
}
.count-validity-btn--accept {
background: #16a34a;
border-color: #16a34a;
color: #ffffff;
}
.count-validity-btn--reject {
background: #dc2626;
border-color: #dc2626;
color: #ffffff;
}
/* Expanded services row */
.count-row-expanded td {
background: #f8fafc;
border-bottom: 1px solid #e8edf4;
padding: 10px 16px 10px 42px;
}
.count-services-list {
display: flex;
flex-direction: column;
gap: 4px;
max-height: 200px;
overflow-y: auto;
}
.count-service-item {
align-items: baseline;
display: flex;
gap: 8px;
font-size: 12px;
}
.count-service-text {
color: #354154;
flex: 1;
}
.count-service-prob {
color: #94a3b8;
font-variant-numeric: tabular-nums;
font-weight: 600;
min-width: 36px;
text-align: right;
}
/* Empty state */
.count-empty {
color: #94a3b8;
font-size: 13px;
padding: 28px 16px;
text-align: center;
}
/* No results fallback */
.count-no-results {
align-items: center;
color: #94a3b8;
display: flex;
flex-direction: column;
gap: 8px;
padding: 32px 16px;
}
/* Progress enhancements */
.count-current-file {
color: #2e7db2;
font-size: 12px;
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
}
.count-progress-right {
font-size: 13px;
font-variant-numeric: tabular-nums;
}
.count-failed-label { color: #dc2626; }
.count-eta { color: #7b8698; }
/* Footer valid badge */
.count-valid-badge {
align-items: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 999px;
display: inline-flex;
font-size: 11px;
font-weight: 700;
justify-content: center;
min-width: 20px;
padding: 1px 6px;
}
/* wiz-check-label */
.wiz-check-label {
align-items: center;
color: #354154;
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 400;
gap: 8px;
}
.wiz-check-label input[type="checkbox"] {
min-height: unset;
width: auto;
cursor: pointer;
}
/* ═══════════════════════════════════════════
Tags input — filtro de conteos exactos
═══════════════════════════════════════════ */
.count-tags-input {
align-items: center;
background: #f8fafc;
border: 1px solid #d5dde8;
border-radius: 8px;
display: flex;
flex-wrap: wrap;
gap: 6px;
min-height: 40px;
padding: 6px 10px;
transition: border-color 0.15s ease;
}
.count-tags-input:focus-within {
border-color: #2e7db2;
box-shadow: 0 0 0 2px rgba(46, 125, 178, 0.12);
}
.count-tag {
align-items: center;
background: #2e7db2;
border-radius: 999px;
color: #ffffff;
display: inline-flex;
font-size: 12px;
font-weight: 700;
gap: 4px;
padding: 2px 10px 2px 10px;
}
.count-tag-remove {
align-items: center;
background: rgba(255, 255, 255, 0.2);
border: 0;
border-radius: 999px;
color: #ffffff;
cursor: pointer;
display: inline-flex;
font-size: 13px;
font-weight: 700;
height: 16px;
justify-content: center;
line-height: 1;
padding: 0;
width: 16px;
transition: background 0.1s ease;
}
.count-tag-remove:hover { background: rgba(255, 255, 255, 0.4); }
.count-tag-input {
background: transparent;
border: 0;
color: #354154;
flex: 1;
font-size: 13px;
min-height: unset;
min-width: 140px;
padding: 0;
width: auto;
}
.count-tag-input:focus { outline: none; }
.count-tag-input::-webkit-inner-spin-button,
.count-tag-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.count-clear-btn {
background: transparent;
border: 0;
color: #7b8698;
cursor: pointer;
font-size: 12px;
padding: 0;
text-decoration: underline;
transition: color 0.15s ease;
}
.count-clear-btn:hover { color: #dc2626; }
/* Auto-ajuste nota */
.count-auto-note {
align-items: center;
background: #fff8e1;
border: 1px solid #fcd34d;
border-radius: 6px;
color: #92400e;
display: flex;
font-size: 12.5px;
gap: 8px;
margin-top: 8px;
padding: 8px 12px;
}
/* Auto-adjusted badge in row */
.count-filename-row {
align-items: center;
display: flex;
gap: 6px;
min-width: 0;
}
.count-filename-row .count-filename {
flex: 1;
min-width: 0;
}
.count-auto-badge {
background: #fef3c7;
border: 1px solid #fcd34d;
border-radius: 4px;
color: #92400e;
flex-shrink: 0;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.02em;
padding: 1px 5px;
white-space: nowrap;
}
/* ═══════════════════════════════════════════
From-count banner (App.tsx)
═══════════════════════════════════════════ */
.from-count-banner {
background: #eef6fd;
border: 1px solid #bfd9ef;
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 16px;
padding: 14px 16px;
}
.from-count-banner-header {
align-items: flex-start;
display: flex;
gap: 12px;
justify-content: space-between;
}
.from-count-banner-title {
color: #1a4d72;
font-size: 13.5px;
font-weight: 700;
margin: 0;
}
.from-count-banner-sub {
color: #4a7fa8;
font-size: 12px;
margin: 3px 0 0;
}
.from-count-banner-actions {
display: flex;
gap: 8px;
}
/* ════════════════════════════════════════════
Home + Job-centric UX
════════════════════════════════════════════ */
/* workspace sin padding propio — las vistas gestionan su propio scroll */
.workspace--full {
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0;
}
.workspace--full > .app-topbar + * {
flex: 1;
min-height: 0;
overflow: hidden;
}
/* ── HomeView ── */
.home-view {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.home-header {
align-items: center;
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 12px;
justify-content: space-between;
padding: 20px 24px 16px;
}
.home-title {
font-size: 20px;
font-weight: 700;
margin: 0 0 2px;
}
.home-subtitle {
color: var(--text-muted);
font-size: 13px;
margin: 0;
}
.home-body {
flex: 1;
overflow-y: auto;
padding: 20px 24px;
}
.home-loading {
align-items: center;
color: var(--text-muted);
display: flex;
gap: 10px;
justify-content: center;
padding: 48px 0;
}
.home-empty {
align-items: center;
color: var(--text-muted);
display: flex;
flex-direction: column;
gap: 12px;
justify-content: center;
padding: 64px 0;
text-align: center;
}
.home-empty p {
font-size: 15px;
margin: 0;
}
/* ── Job list ── */
.job-list {
display: flex;
flex-direction: column;
gap: 10px;
list-style: none;
margin: 0;
padding: 0;
}
.job-list-item {
align-items: stretch;
display: flex;
gap: 8px;
}
.job-card {
align-items: center;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
cursor: pointer;
display: flex;
flex: 1;
gap: 14px;
min-width: 0;
padding: 14px 16px;
text-align: left;
transition: box-shadow 0.15s, border-color 0.15s;
width: auto;
}
.job-card:hover {
border-color: var(--primary);
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.job-card-delete {
align-self: center;
border-style: solid;
color: #94a3b8;
flex-shrink: 0;
height: 36px;
justify-content: center;
padding: 0;
width: 36px;
}
.job-card-delete:hover:not(:disabled) {
background: #fef2f2;
border-color: #fecaca;
color: #dc2626;
}
.job-card-icon {
align-items: center;
background: var(--primary-ghost, rgba(59,130,246,0.08));
border-radius: 8px;
color: var(--primary);
display: flex;
flex-shrink: 0;
height: 40px;
justify-content: center;
width: 40px;
}
.job-card-body {
flex: 1;
min-width: 0;
}
.job-card-title {
font-size: 14px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.job-card-path {
align-items: center;
color: var(--text-muted);
display: flex;
font-size: 11.5px;
gap: 4px;
margin-top: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.job-card-meta {
align-items: center;
display: flex;
gap: 10px;
margin-top: 6px;
}
.job-card-date {
align-items: center;
color: var(--text-muted);
display: flex;
font-size: 11.5px;
gap: 4px;
}
.job-card-arrow {
color: var(--text-muted);
flex-shrink: 0;
}
/* ── Modal ── */
.modal-backdrop {
align-items: center;
background: rgba(15, 23, 36, 0.55);
bottom: 0;
display: flex;
inset: 0;
justify-content: center;
position: fixed;
z-index: 1000;
}
.modal-card {
background: #ffffff;
border: 1px solid #d5dde8;
border-radius: 14px;
box-shadow: 0 16px 48px rgba(15, 23, 36, 0.18);
display: flex;
flex-direction: column;
max-width: 480px;
min-width: 360px;
overflow: hidden;
position: relative;
width: 90%;
z-index: 1001;
}
.modal-header {
align-items: center;
background: #ffffff;
border-bottom: 1px solid #d5dde8;
display: flex;
justify-content: space-between;
padding: 16px 20px 14px;
}
.modal-title {
font-size: 16px;
font-weight: 700;
margin: 0;
}
.modal-close {
align-items: center;
background: transparent;
border: 0;
border-radius: 6px;
color: #5d697b;
cursor: pointer;
display: flex;
flex-shrink: 0;
height: 28px;
justify-content: center;
padding: 0;
width: 28px;
}
.modal-close:hover {
background: #f1f5f9;
color: #354154;
}
.modal-body {
background: #ffffff;
display: flex;
flex-direction: column;
gap: 16px;
padding: 20px;
}
.modal-footer {
background: #f8fafc;
border-top: 1px solid #d5dde8;
display: flex;
gap: 8px;
justify-content: flex-end;
padding: 14px 20px;
}
.form-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.form-label {
font-size: 13px;
font-weight: 600;
}
.form-input {
background: var(--input-bg, var(--bg));
border: 1px solid var(--border);
border-radius: 7px;
color: var(--text);
font-size: 14px;
outline: none;
padding: 8px 12px;
transition: border-color 0.15s;
width: 100%;
}
.form-input:focus {
border-color: var(--primary);
}
.form-hint {
color: var(--text-muted);
font-size: 11.5px;
}
/* ── Sidebar: submenú de job ── */
.side-job-back {
align-items: center;
background: none;
border: none;
border-radius: 6px;
color: #8a9ab4;
cursor: pointer;
display: flex;
font-size: 12.5px;
gap: 5px;
margin: 4px 8px 2px;
padding: 5px 8px;
text-align: left;
transition: background 0.15s, color 0.15s;
}
.side-job-back:hover {
background: rgba(255, 255, 255, 0.05);
color: #c8d5e4;
}
.side-job-name {
color: #c8d5e4;
font-size: 12.5px;
font-weight: 600;
line-height: 1.35;
margin: 2px 12px 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.side-section-divider {
background: rgba(255, 255, 255, 0.06);
flex-shrink: 0;
height: 1px;
margin: 8px 10px;
}
.side-nav--bottom {
display: flex;
flex-direction: column;
flex-shrink: 0;
gap: 2px;
margin-top: auto;
}
/* ── JobView ── */
.job-view {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.job-content-header {
align-items: center;
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 12px;
padding: 10px 16px;
}
.job-content-header-section {
color: var(--text-muted);
font-size: 12.5px;
margin-left: auto;
}
.job-section-content {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
position: relative;
}
/* Paneles de sección: permanecen montados pero ocultos para procesos en segundo plano */
.job-section-pane {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.job-section-pane--hidden {
display: none;
}
.job-background-banner-wrap {
align-items: center;
background: var(--surface-2, #f8fafc);
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 12px;
padding: 8px 16px;
}
.job-background-banner-wrap .bg-progress-banner {
flex: 1;
margin: 0;
}
/* Banner de progreso en segundo plano */
.bg-progress-banner {
background: var(--surface-2, #f0f4ff);
border: 1px solid var(--border);
border-radius: 8px;
margin: 12px 16px;
padding: 12px 14px;
}
.bg-progress-banner--compact {
border: none;
border-radius: 6px;
margin: 0;
padding: 6px 10px;
}
.bg-progress-banner-header {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 8px;
}
.bg-progress-banner--compact .bg-progress-banner-header {
margin-bottom: 6px;
}
.bg-progress-banner-title {
color: var(--text);
flex: 1;
font-size: 13px;
font-weight: 600;
min-width: 0;
}
.bg-progress-banner-count {
color: var(--text-muted);
font-size: 12.5px;
white-space: nowrap;
}
.bg-progress-banner-failed {
color: var(--danger, #dc2626);
}
.bg-progress-banner-track {
height: 6px;
}
.bg-progress-banner-file {
color: var(--text-muted);
font-size: 11.5px;
margin: 6px 0 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.results-live-progress {
border-bottom: 1px solid var(--border);
flex-shrink: 0;
padding-bottom: 4px;
}
.results-live-hint {
color: var(--text-muted);
font-size: 12.5px;
margin: 0;
padding: 0 16px 12px;
}
.results-section--live-only {
gap: 16px;
justify-content: center;
padding: 32px 16px;
}
.results-section--live-only .bg-progress-banner {
margin: 0 auto;
max-width: 560px;
width: 100%;
}
.results-section--live-only .results-live-hint {
margin: 0 auto;
max-width: 560px;
text-align: center;
}
.job-back-btn {
color: var(--text-muted);
flex-shrink: 0;
}
.job-title-area {
flex: 1;
min-width: 0;
}
.job-title-btn {
align-items: center;
background: none;
border: none;
border-radius: 6px;
cursor: pointer;
display: flex;
gap: 6px;
padding: 4px 8px;
transition: background 0.15s;
}
.job-title-btn:hover {
background: var(--border);
}
.job-title-btn:hover .job-title-edit-icon {
opacity: 1;
}
.job-title {
font-size: 16px;
font-weight: 700;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.job-title-edit-icon {
color: var(--text-muted);
flex-shrink: 0;
opacity: 0;
transition: opacity 0.15s;
}
.job-title-edit {
align-items: center;
display: flex;
gap: 6px;
}
.job-title-input {
font-size: 15px;
font-weight: 600;
max-width: 320px;
}
/* ── Module tabs ── */
.module-tabs {
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 2px;
overflow-x: auto;
padding: 6px 16px 0;
}
.module-tab {
align-items: center;
background: none;
border: none;
border-bottom: 2px solid transparent;
border-radius: 6px 6px 0 0;
color: var(--text-muted);
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 500;
gap: 6px;
padding: 8px 14px 9px;
transition: color 0.15s, background 0.15s;
white-space: nowrap;
}
.module-tab:hover {
background: var(--border);
color: var(--text);
}
.module-tab--active {
border-bottom-color: var(--primary);
color: var(--primary);
}
.module-tab--done .module-tab-check {
color: var(--success, #16a34a);
font-size: 11px;
}
.module-tab-check {
display: inline;
}
/* ── Module panel ── */
.module-panel {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.module-loading {
align-items: center;
color: var(--text-muted);
display: flex;
flex-direction: column;
gap: 12px;
justify-content: center;
padding: 64px 0;
}
/* ── Module results ── */
.module-results {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.module-results-header {
align-items: center;
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 12px;
justify-content: space-between;
padding: 12px 16px;
}
.module-results-title {
align-items: center;
display: flex;
gap: 8px;
}
.module-results-title h3 {
font-size: 14px;
font-weight: 600;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.module-results-actions {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 8px;
}
/* ── Task badges ── */
.task-badge {
align-items: center;
border-radius: 4px;
display: inline-flex;
font-size: 11px;
font-weight: 600;
gap: 4px;
padding: 2px 7px;
text-transform: uppercase;
}
.task-badge--pending { background: #f3f4f6; color: #6b7280; }
.task-badge--running { background: #dbeafe; color: #1d4ed8; }
.task-badge--completed { background: #dcfce7; color: #15803d; }
.task-badge--failed { background: #fee2e2; color: #b91c1c; }
/* ── Results table (extracción) ── */
.extraction-results {
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: 16px;
min-height: 0;
overflow: hidden;
padding: 12px 16px 16px;
}
.extraction-table-wrap {
border: 1px solid #e8edf4;
border-radius: 10px;
flex: 1 1 auto;
min-height: 0;
overflow: auto;
padding: 0;
}
.extraction-empty {
color: var(--text-muted);
padding: 28px 12px !important;
text-align: center;
}
.extraction-empty-cell {
color: var(--text-muted);
}
.extraction-row--incomplete td {
background: #fefce8;
}
.extraction-filter-hint {
color: var(--text-muted);
flex-shrink: 0;
font-size: 12px;
margin: 0;
}
.results-table-wrapper {
flex: 1;
min-height: 0;
overflow: auto;
padding: 0 16px 16px;
}
.results-table {
border-collapse: collapse;
font-size: 13px;
min-width: 600px;
width: 100%;
}
.results-table th,
.results-table td {
border-bottom: 1px solid var(--border);
padding: 7px 10px;
text-align: left;
white-space: nowrap;
}
.results-table th {
background: var(--surface);
color: var(--text-muted);
font-size: 11.5px;
font-weight: 600;
letter-spacing: 0.03em;
position: sticky;
text-transform: uppercase;
top: 0;
z-index: 1;
}
.results-table tbody tr:hover td {
background: var(--bg);
}
/* ── wiz step centered ── */
.wiz-step-centered {
align-items: center;
display: flex;
flex-direction: column;
gap: 16px;
justify-content: center;
padding: 32px;
text-align: center;
}
/* ── wiz hero ── */
.wiz-hero {
align-items: center;
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
}
.wiz-hero-icon {
align-items: center;
border-radius: 50%;
display: flex;
height: 56px;
justify-content: center;
width: 56px;
}
.wiz-hero-icon--go {
background: #dbeafe;
color: var(--primary);
}
.wiz-hero-title {
font-size: 18px;
font-weight: 700;
margin: 0;
}
.wiz-found-badge {
align-items: center;
background: #dcfce7;
border-radius: 6px;
color: #15803d;
display: inline-flex;
font-size: 13px;
font-weight: 600;
gap: 6px;
margin-top: 6px;
padding: 5px 10px;
}
@keyframes indeterminate {
0% { transform: translateX(-100%); }
50% { transform: translateX(0); }
100% { transform: translateX(100%); }
}
/* ── JobResultsView ── */
.job-results-view {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.job-results-tabs {
align-items: center;
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
gap: 2px;
padding: 6px 16px 0;
}
.job-results-tab {
align-items: center;
background: none;
border: none;
border-bottom: 2px solid transparent;
border-radius: 6px 6px 0 0;
color: var(--text-muted);
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 500;
gap: 6px;
padding: 8px 14px 9px;
transition: color 0.15s, background 0.15s;
}
.job-results-tab:hover {
background: var(--border);
color: var(--text);
}
.job-results-tab--active {
border-bottom-color: var(--primary);
color: var(--primary);
}
.job-results-tab-count {
background: var(--border);
border-radius: 10px;
color: var(--text-muted);
font-size: 11px;
font-weight: 700;
padding: 1px 6px;
}
.job-results-tab-count--live {
animation: pulse-live 1.5s ease infinite;
background: var(--primary);
color: #fff;
}
@keyframes pulse-live {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.job-results-content {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.job-results-empty {
align-items: center;
color: var(--text-muted);
display: flex;
flex-direction: column;
gap: 14px;
justify-content: center;
padding: 64px 0;
text-align: center;
}
.job-results-empty p {
font-size: 14px;
margin: 0;
}
.results-section {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.results-section-header {
align-items: center;
border-bottom: 1px solid var(--border);
display: flex;
flex-shrink: 0;
flex-wrap: wrap;
gap: 10px;
justify-content: space-between;
padding: 10px 16px;
}
.results-task-selector {
align-items: center;
display: flex;
gap: 8px;
}
.results-section-actions {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 6px;
}
/* ── Extracción desde conteo: wrapper y banner informativo ── */
.job-extraction-wrapper {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.from-count-info-banner {
align-items: center;
background: #eff6ff;
border-bottom: 1px solid #bfdbfe;
color: #1e40af;
display: flex;
flex-shrink: 0;
font-size: 13px;
gap: 8px;
padding: 10px 16px;
}
.from-count-info-banner strong {
font-weight: 700;
}
.from-count-info-files {
align-items: center;
background: #1d4ed8;
border-radius: 20px;
color: #fff;
display: inline-flex;
font-size: 12px;
font-weight: 700;
gap: 4px;
margin-left: auto;
padding: 3px 10px;
}
/* ── Cleaning wizard: lista de extracciones / reglas ── */
.cleaning-source-list {
display: flex;
flex-direction: column;
gap: 8px;
max-height: min(280px, 36vh);
overflow-y: auto;
}
.cleaning-source-item {
align-items: center;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 10px;
cursor: pointer;
display: flex;
gap: 12px;
justify-content: space-between;
padding: 12px 14px;
text-align: left;
transition: border-color 0.15s, background 0.15s;
width: 100%;
}
.cleaning-source-item:hover {
border-color: #94a3b8;
background: #f8fafc;
}
.cleaning-source-item--selected {
border-color: #2563eb;
background: #eff6ff;
box-shadow: 0 0 0 1px #2563eb;
}
.cleaning-source-item-main {
align-items: flex-start;
display: flex;
gap: 10px;
min-width: 0;
}
.cleaning-source-item-title {
color: #0f172a;
font-size: 13px;
font-weight: 600;
}
.cleaning-source-item-meta {
color: #64748b;
font-size: 12px;
margin-top: 2px;
}
/* ── Paso Reglas: lista fija + detalle con scroll ── */
.wiz-step--cleaning-rules {
display: flex;
flex: 1;
flex-direction: column;
gap: 12px;
min-height: 0;
}
.cleaning-rules-toolbar {
align-items: flex-start;
display: flex;
flex-shrink: 0;
gap: 12px;
justify-content: space-between;
}
.cleaning-rules-workspace {
display: grid;
flex: 1;
gap: 12px;
grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
min-height: 0;
overflow: hidden;
}
.cleaning-col-nav {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 2px;
min-height: 0;
overflow-y: auto;
padding: 6px;
}
.cleaning-col-nav-item {
align-items: center;
background: transparent;
border: none;
border-radius: 8px;
color: #334155;
cursor: pointer;
display: flex;
gap: 8px;
justify-content: space-between;
padding: 8px 10px;
text-align: left;
width: 100%;
}
.cleaning-col-nav-item:hover {
background: #eef2f7;
}
.cleaning-col-nav-item--active {
background: #fff;
box-shadow: 0 0 0 1px #2563eb;
color: #0f172a;
}
.cleaning-col-nav-item--changed:not(.cleaning-col-nav-item--active) {
background: #eff6ff;
}
.cleaning-col-nav-name {
font-size: 12px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cleaning-col-nav-meta {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 4px;
}
.cleaning-col-nav-count {
background: #2563eb;
border-radius: 999px;
color: #fff;
font-size: 10px;
font-weight: 700;
min-width: 18px;
padding: 1px 6px;
text-align: center;
}
.cleaning-col-detail {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
min-width: 0;
overflow-x: hidden;
overflow-y: auto;
padding: 12px 14px;
}
.cleaning-col-detail-header,
.cleaning-preview-compare--compact,
.cleaning-rules-block,
.cleaning-copmod-fecha {
flex-shrink: 0;
}
.cleaning-col-detail-title {
font-size: 15px;
font-weight: 700;
margin: 0;
}
.cleaning-rules-block {
display: flex;
flex-direction: column;
gap: 6px;
}
.cleaning-rule-desc {
margin: 0;
}
.cleaning-preview-compare--compact {
background: #f8fafc;
border: 1px solid #e8edf4;
border-radius: 8px;
margin: 0;
padding: 10px;
}
.cleaning-preview-compare--changed {
background: #f0f7ff;
border-color: #bfdbfe;
}
.cleaning-sample-dock {
border-top: 1px solid #e8edf4;
display: flex;
flex: 0 0 auto;
flex-direction: column;
gap: 8px;
min-height: 140px;
padding-top: 10px;
}
.cleaning-sample-dock-header {
align-items: center;
display: flex;
flex-shrink: 0;
gap: 12px;
justify-content: space-between;
}
.cleaning-sample-tabs {
background: #eef2f7;
border-radius: 8px;
display: inline-flex;
padding: 2px;
}
.cleaning-sample-tab {
background: transparent;
border: none;
border-radius: 6px;
color: #64748b;
cursor: pointer;
font-size: 12px;
font-weight: 600;
padding: 4px 10px;
}
.cleaning-sample-tab:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.cleaning-sample-tab--active {
background: #fff;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
color: #0f172a;
}
.cleaning-sample-table-scroll {
max-height: 220px;
min-height: 0;
overflow: auto;
}
.cleaning-rules-nav {
flex-shrink: 0;
gap: 8px;
margin-top: 0;
}
.cleaning-type-badge {
background: #e2e8f0;
border-radius: 999px;
color: #334155;
font-size: 10px;
font-weight: 600;
padding: 2px 7px;
}
.cleaning-rule-card-meta {
align-items: center;
color: #64748b;
display: flex;
flex-wrap: wrap;
font-size: 12px;
gap: 8px;
margin-top: 4px;
}
.cleaning-rule-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.cleaning-preview-compare {
align-items: center;
display: grid;
gap: 8px;
grid-template-columns: 1fr auto 1fr;
}
.cleaning-preview-side {
min-width: 0;
}
.cleaning-preview-label {
color: #64748b;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
margin-bottom: 6px;
text-transform: uppercase;
}
.cleaning-preview-label--after {
color: #1d4ed8;
}
.cleaning-preview-arrow {
color: #94a3b8;
flex-shrink: 0;
}
.cleaning-preview-values {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.cleaning-preview-chip {
background: #f1f5f9;
border: 1px solid #e2e8f0;
border-radius: 6px;
color: #0f172a;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 11px;
max-width: 100%;
overflow: hidden;
padding: 3px 7px;
text-overflow: ellipsis;
white-space: nowrap;
}
.cleaning-preview-chip--changed {
background: #dbeafe;
border-color: #93c5fd;
color: #1e3a8a;
font-weight: 600;
}
.cleaning-preview-chip-col {
color: #64748b;
font-weight: 500;
margin-right: 6px;
}
.cleaning-preview-empty {
color: #94a3b8;
font-size: 12px;
}
.cleaning-preview-table {
font-size: 12px;
}
.cleaning-th-changed,
.cleaning-td-changed {
background: #eff6ff;
}
@media (max-width: 900px) {
.cleaning-rules-workspace {
grid-template-columns: 1fr;
overflow: auto;
}
.cleaning-col-nav {
display: grid;
grid-auto-flow: column;
grid-auto-columns: max-content;
max-height: none;
overflow-x: auto;
overflow-y: hidden;
}
}
/* ── Auto-update modal ── */
.update-modal-backdrop {
align-items: center;
background: rgba(15, 23, 42, 0.45);
display: flex;
inset: 0;
justify-content: center;
position: fixed;
z-index: 1000;
}
.update-modal {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
display: flex;
flex-direction: column;
gap: 12px;
max-width: 440px;
padding: 20px 22px;
width: calc(100% - 32px);
}
.update-modal-header {
align-items: center;
display: flex;
justify-content: space-between;
gap: 12px;
}
.update-modal-header h2 {
font-size: 16px;
font-weight: 700;
margin: 0;
}
.update-modal-body {
color: #334155;
font-size: 13.5px;
line-height: 1.5;
margin: 0;
}
.update-modal-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
margin-top: 8px;
}
.update-progress {
display: flex;
flex-direction: column;
gap: 6px;
}
.update-progress-bar {
background: #e2e8f0;
border-radius: 999px;
height: 8px;
overflow: hidden;
}
.update-progress-fill {
background: #2563eb;
height: 100%;
transition: width 0.2s ease;
}
.updates-version-list {
display: flex;
flex-direction: column;
gap: 8px;
list-style: none;
margin: 0;
padding: 0;
}
.updates-version-row {
align-items: center;
border: 1px solid var(--border);
border-radius: 8px;
display: flex;
gap: 12px;
justify-content: space-between;
padding: 10px 12px;
}
.updates-version-row.is-current {
background: #f8fafc;
border-color: #cbd5e1;
}
.updates-version-meta {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.updates-version-meta strong {
align-items: center;
display: inline-flex;
gap: 8px;
}
.updates-version-badge {
background: #e2e8f0;
border-radius: 4px;
color: #334155;
font-size: 11px;
font-weight: 600;
padding: 1px 6px;
}