.sql-formatter-tool .sql-formatter-editor-panel{min-width: 0}.sql-formatter-editor-header{gap: 12px}.sql-formatter-editor-header>span{flex: 1;min-width: 0}.sql-formatter-editor-header>div{display: flex;flex: 0 0 auto;gap: 8px;align-items: center}.sql-formatter-editor-header .btn-sm{min-height: 28px;padding-top: 4px;padding-bottom: 4px}.sql-formatter-editor-header .btn i{margin-right: 6px}.sql-formatter-options-panel{margin-top: 16px;background: #fff}.sql-formatter-option-grid{grid-template-columns: repeat(2,minmax(0,1fr))}.sql-formatter-message{display: flex;align-items: flex-start;gap: 8px}.sql-formatter-action-bar{align-items: center;gap: 8px;margin-top: 16px;padding: 12px;border: 1px solid var(--border);border-radius: var(--radius);background: #ffffff}.sql-formatter-action-bar .btn{min-width: 96px;justify-content: center}.sql-formatter-action-bar .btn-primary{min-width: 150px}.sql-formatter-action-bar .btn i{margin-right: 6px}.sql-formatter-stats{display: grid;grid-template-columns: minmax(170px,1.35fr) repeat(4,minmax(110px,1fr));gap: 10px;margin-top: 16px;padding: 12px;border: 1px solid var(--border);border-radius: var(--radius);background: var(--bg-soft)}.sql-formatter-stat-card{display: flex;flex-direction: column;gap: 3px;min-width: 0;padding: 10px 12px;border: 1px solid var(--border);border-radius: var(--radius);background: var(--bg)}.sql-formatter-stat-card strong{overflow: hidden;color: var(--text);font-size: 15px;line-height: 1.3;text-overflow: ellipsis;white-space: nowrap}.sql-formatter-stat-card span{color: var(--text-2);font-size: 12.5px;line-height: 1.35}.sql-formatter-stat-primary{border-color: rgba(37,99,235,.28);background: var(--primary-soft)}.sql-formatter-stat-primary strong{color: var(--primary)}:root[data-theme="dark"] .sql-formatter-options-panel,:root[data-theme="dark"] .sql-formatter-action-bar{background: #161b22}@media (max-width: 991px){.sql-formatter-option-grid{grid-template-columns: 1fr}.sql-formatter-stats{grid-template-columns: repeat(2,minmax(0,1fr))}.sql-formatter-stat-primary{grid-column: 1 / -1}}@media (max-width: 640px){.sql-formatter-editor-header{display: grid;grid-template-columns: minmax(0,1fr);row-gap: 8px}.sql-formatter-editor-header>div,.sql-formatter-action-bar{display: grid;grid-template-columns: 1fr;gap: 8px}.sql-formatter-editor-header .btn,.sql-formatter-action-bar .btn{width: 100%;min-width: 0;justify-content: center}.sql-formatter-action-bar{padding: 14px}.sql-formatter-stats{grid-template-columns: 1fr}.sql-formatter-stat-primary{grid-column: auto}}