.data-main { padding: 0 !important; overflow: hidden; background: #f5f6f3; color: #202923; }
.data-app { display: grid; grid-template-columns: 310px minmax(0, 1fr); height: 100%; min-height: 0; }
.data-app.busy { cursor: progress; }
.data-sidebar { overflow: auto; border-right: 1px solid #dfe4dd; background: #f8f9f6; padding: 28px 18px; }
.data-sidebar > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 6px; }
.data-sidebar header span, .data-kicker, .data-panel header span { display: block; color: #7b877f; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.data-sidebar h1 { margin: 4px 0 0; font-size: 34px; letter-spacing: -.045em; }
.data-sidebar-copy { margin: 14px 6px 22px; color: #6f7a73; font-size: 14px; line-height: 1.45; }
.data-primary, .data-secondary, .data-tertiary { border: 0; border-radius: 10px; padding: 10px 15px; font: inherit; font-weight: 680; cursor: pointer; }
.data-primary { background: #203b2d; color: white; }
.data-primary.compact { width: 42px; height: 42px; padding: 0; font-size: 24px; }
.data-secondary { border: 1px solid #d8ded8; background: white; color: #334139; }
.data-tertiary { padding: 7px 10px; background: #edf3ee; color: #29513a; font-size: 12px; }
.data-database-list { display: grid; gap: 8px; }
.data-database-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; border: 1px solid transparent; border-radius: 14px; padding: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.data-database-card:hover { background: #f0f3ef; }
.data-database-card.active { border-color: #c6d6ca; background: white; box-shadow: 0 8px 24px rgba(37, 62, 45, .06); }
.data-database-card strong, .data-database-card small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-database-card strong { font-size: 14px; }
.data-database-card small { margin-top: 3px; color: #7a857e; font-size: 12px; text-transform: capitalize; }
.data-database-mark, .data-object-mark, .data-welcome-mark { display: grid; place-items: center; border-radius: 10px; background: #244b35; color: #eef8f0; font-size: 10px; font-weight: 800; }
.data-database-mark { width: 38px; height: 38px; }
.data-sidebar-empty { padding: 20px 12px; color: #6f7a73; }
.data-sidebar-empty p { font-size: 13px; line-height: 1.5; }
.data-workspace { min-width: 0; overflow: auto; padding: 36px clamp(28px, 5vw, 72px) 72px; }
.data-database { max-width: 1280px; margin: 0 auto; }
.data-database-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.data-database-header h1 { margin: 6px 0 4px; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; }
.data-database-header p { margin: 0; color: #7c8780; }
.data-header-actions { display: flex; gap: 10px; }
.data-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dfe4dd; border-radius: 16px; background: white; }
.data-summary-grid > div { padding: 18px 20px; border-right: 1px solid #e4e8e3; }
.data-summary-grid > div:last-child { border-right: 0; }
.data-summary-grid span, .data-summary-grid strong { display: block; }
.data-summary-grid span { margin-bottom: 7px; color: #7c8780; font-size: 12px; }
.data-summary-grid strong { font-size: 16px; text-transform: capitalize; }
.data-summary-grid .good, .data-recovery-panel i.good { color: #287246; }
.data-summary-grid .warn, .data-recovery-panel i.warn { color: #9b691b; }
.data-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 18px; margin-top: 18px; align-items: start; }
.data-column { display: grid; gap: 18px; }
.data-panel { border: 1px solid #dfe4dd; border-radius: 16px; background: white; padding: 20px; }
.data-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.data-panel h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.025em; }
.data-panel header b { color: #728078; font-size: 13px; }
.data-panel header i { border-radius: 999px; background: #edf3ee; padding: 6px 10px; font-size: 11px; font-style: normal; font-weight: 750; text-transform: capitalize; }
.data-row-list { display: grid; gap: 8px; }
.data-row-list article { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; border-radius: 12px; background: #f7f8f5; padding: 11px; }
.data-schema-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; border: 0; border-radius: 12px; background: #f7f8f5; padding: 11px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.data-schema-row:hover { background: #eef2ed; }
.data-schema-row > span:nth-child(2) { min-width: 0; }
.data-schema-row strong, .data-schema-row small { display: block; }
.data-schema-row small { margin-top: 3px; color: #7c8780; font-size: 12px; }
.data-schema-row i { color: #39634b; font-size: 11px; font-style: normal; font-weight: 750; }
.data-object-mark { width: 34px; height: 34px; background: #e3ebe5; color: #365342; }
.data-row-list strong, .data-row-list small { display: block; }
.data-row-list small { margin-top: 3px; color: #7c8780; font-size: 12px; }
.data-schema-preview { margin-top: 14px; border: 1px solid #d8e2da; border-radius: 13px; background: #fafcf9; padding: 14px; }
.data-schema-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.data-schema-preview > header span { display: block; color: #819087; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.data-schema-preview > header strong { display: block; margin-top: 3px; font-size: 14px; }
.data-schema-preview > header i { border-radius: 999px; background: #edf3ee; padding: 5px 8px; color: #376047; font-size: 10px; font-style: normal; font-weight: 750; }
.data-schema-preview > header i.warn { background: #fff3dc; color: #8a5a14; }
.data-change-list { display: grid; gap: 7px; margin-top: 12px; }
.data-change-list article { border-top: 1px solid #e4e9e4; padding-top: 9px; }
.data-change-list span, .data-change-list strong, .data-change-list small { display: block; }
.data-change-list span { color: #52705e; font-size: 10px; font-weight: 750; text-transform: capitalize; }
.data-change-list strong { margin: 3px 0; font-size: 12px; }
.data-change-list small, .data-schema-preview > p, .data-schema-preview > footer { color: #748078; font-size: 11px; }
.data-schema-preview > footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; border-top: 1px solid #e4e9e4; padding-top: 9px; }
.data-readiness { border-radius: 13px; background: #f3f7f3; padding: 16px; }
.data-readiness p { margin: 7px 0; color: #5d6b62; font-size: 13px; line-height: 1.5; }
.data-readiness small { color: #819087; }
.data-backup-list { display: grid; gap: 8px; margin-top: 14px; }
.data-backup-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e8ebe7; padding: 13px 2px 5px; }
.data-backup-row span, .data-backup-row strong, .data-backup-row small { display: block; }
.data-backup-row span { color: #7c8780; font-size: 11px; }
.data-backup-row strong { margin: 3px 0; font-size: 13px; }
.data-backup-row small { color: #657269; font-size: 11px; text-transform: capitalize; }
.data-backup-row > div:last-child { display: flex; gap: 6px; }
.data-banner { max-width: 1280px; margin: 0 auto 16px; border: 1px solid #bcd0c1; border-radius: 12px; background: #edf6ef; padding: 11px 14px; color: #2c5b3d; }
.data-banner.error { border-color: #edc2bf; background: #fff1ef; color: #9a342f; }
.data-empty { display: grid; place-items: center; min-height: 240px; color: #7b877f; }
.data-empty.compact { min-height: 80px; font-size: 13px; }
.data-welcome { max-width: 650px; margin: 12vh auto 0; text-align: center; }
.data-welcome-mark { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 20px; font-size: 17px; }
.data-welcome > span:not(.data-welcome-mark) { color: #748078; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.data-welcome h2 { margin: 12px 0; font-size: 40px; letter-spacing: -.045em; }
.data-welcome p { color: #69766e; line-height: 1.65; }
.data-dialog { width: min(560px, calc(100vw - 32px)); border: 1px solid #dbe1db; border-radius: 18px; padding: 0; box-shadow: 0 28px 80px rgba(28, 42, 33, .22); }
.data-dialog::backdrop { background: rgba(31, 42, 35, .32); backdrop-filter: blur(3px); }
.data-dialog form { display: grid; gap: 16px; padding: 24px; }
.data-dialog header, .data-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.data-dialog header span { color: #78847c; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.data-dialog h2 { margin: 3px 0 0; }
.data-dialog header > button { border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.data-dialog label { display: grid; gap: 7px; color: #526057; font-size: 12px; font-weight: 680; }
.data-dialog input, .data-dialog select { border: 1px solid #d5dcd6; border-radius: 10px; background: white; padding: 11px 12px; font: inherit; }
.data-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.data-dialog p { margin: 0; color: #6e7a72; font-size: 13px; line-height: 1.55; }
.data-dialog footer { justify-content: flex-end; border-top: 1px solid #e4e8e3; padding-top: 18px; }
@media (max-width: 920px) { .data-app { grid-template-columns: 240px minmax(0, 1fr); } .data-layout { grid-template-columns: 1fr; } .data-summary-grid { grid-template-columns: 1fr 1fr; } .data-summary-grid > div:nth-child(2) { border-right: 0; } .data-summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid #e4e8e3; } }
@media (max-width: 680px) { .data-app { display: block; overflow: auto; } .data-sidebar { border-right: 0; border-bottom: 1px solid #dfe4dd; max-height: 280px; } .data-workspace { overflow: visible; padding: 24px 16px 56px; } .data-database-header { display: block; } .data-header-actions { margin-top: 18px; } .data-summary-grid, .data-form-grid { grid-template-columns: 1fr; } .data-summary-grid > div { border-right: 0; border-bottom: 1px solid #e4e8e3; } }
