/* Provider workspaces reuse the shared database panels and control scale. */
.data-provider-picker{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:var(--text-sm);line-height:var(--leading-help)}
.data-provider-picker>span{white-space:nowrap}
.data-provider-picker>select{min-width:140px;max-width:100%;height:40px;min-height:40px;font-size:var(--text-sm)}
.choice-workspace{min-width:0;line-height:var(--leading-body)}
.choice-workspace [hidden]{display:none}
.choice-workspace .panel,.choice-workspace .panel-body,.choice-workspace .data-layout>section{min-width:0}
.choice-workspace .stats-grid{margin-bottom:16px}
.choice-overview-note,.choice-help,.choice-feedback,.choice-empty,.choice-workspace .panel-header p{font-size:var(--text-sm);line-height:var(--leading-help);color:var(--muted)}
.choice-overview-note{margin:0 0 24px;overflow-wrap:anywhere}
.choice-workspace .choice-help{margin:8px 0 0;overflow-wrap:anywhere}
.choice-feedback:empty,.choice-workspace [data-choice-fetch-hint]:empty{display:none}
.choice-feedback:not(:empty),.choice-workspace>.inline-error:not([hidden]){margin:0 0 16px}
.choice-feedback:not(:empty){color:var(--text)}
.choice-workspace .form-grid{gap:16px}
.choice-workspace .field>label{margin-bottom:0;font-size:var(--text-sm);line-height:var(--leading-help)}
.choice-workspace .field>input,.choice-workspace .field>select{height:40px;min-height:40px;font-size:var(--text-md)}
.choice-workspace .field>small{font-size:var(--text-xs);line-height:var(--leading-help);overflow-wrap:anywhere}
.choice-workspace .button.small{height:32px;min-height:32px;font-size:var(--text-sm)}
.choice-workspace .form-actions>.button{height:44px;min-height:44px;font-size:var(--text-sm)}
.choice-workspace .selection-summary{gap:12px;flex-wrap:wrap}
.choice-workspace .selection-summary>span{min-width:0;overflow-wrap:anywhere}
.choice-workspace .selection-summary .link-button{white-space:nowrap}
.choice-workspace .downloads-panel>[data-choice-jobs]{position:relative;flex:1;min-height:0}
.choice-workspace .downloads-panel:has(.choice-empty-state){align-self:start}
.choice-workspace .downloads-panel:has(.table-footer) .jobs-list{bottom:64px}
.choice-workspace .downloads-panel>[data-choice-jobs]>.table-footer{position:absolute;left:0;right:0;bottom:0;min-height:64px}
.choice-workspace .downloads-panel:has(.job-card:only-child)>[data-choice-jobs]>.table-footer{position:static}
.choice-workspace .job-top{align-items:flex-start}
.choice-workspace .job-title{min-width:0;overflow-wrap:anywhere}
.choice-workspace .job-actions:empty{display:none}
.choice-workspace .job-actions{flex-wrap:wrap;gap:8px}
.choice-workspace .job-meta{font-size:var(--text-xs);line-height:var(--leading-help)}
.choice-workspace .job-current{font-size:var(--text-xs);line-height:var(--leading-help)}
.choice-workspace .job-card[data-job-status="no_data"] .progress-track>span,.choice-workspace .job-card[data-job-status="completed_with_no_data"] .progress-track>span{background:var(--muted)}
.choice-empty{padding:24px;margin:0;overflow-wrap:anywhere}
.choice-empty-state{min-height:180px}
.choice-empty-state h3{font-size:var(--text-lg);line-height:var(--leading-heading)}
.choice-empty-state p{font-size:var(--text-sm);line-height:var(--leading-help);margin-bottom:0}
.choice-resource-toolbar{padding-bottom:0}
.choice-workspace .choice-resources>.panel-header{gap:16px;flex-wrap:wrap}
.choice-resources .table-scroll{max-width:100%;overflow:auto}
.choice-resources table{min-width:680px}
.choice-workspace .choice-dataset-table td:first-child{width:auto;padding-right:16px}
.choice-workspace .dataset-label{display:block;font-size:var(--text-xs);line-height:var(--leading-help);color:var(--muted);margin-top:4px}
.choice-workspace .choice-partition-counts{line-height:var(--leading-help)}
.choice-workspace .choice-dataset-table .choice-help{max-width:240px;white-space:normal}
.choice-settings>summary{padding:20px 24px;font-size:var(--text-lg);line-height:var(--leading-heading);font-weight:600;cursor:pointer;color:var(--text)}
.choice-settings[open]>summary{border-bottom:1px solid var(--line-soft)}
.choice-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.choice-status-grid>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.choice-status-grid span{font-size:var(--text-xs);line-height:var(--leading-help);color:var(--muted)}
.choice-status-grid strong{font-size:var(--text-md);line-height:var(--leading-body);font-weight:500;overflow-wrap:anywhere}
.choice-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.choice-details{margin-top:16px;font-size:var(--text-sm);line-height:var(--leading-help);min-width:0}
.choice-details>summary{cursor:pointer;color:var(--muted);overflow-wrap:anywhere}
.choice-detail-body{display:flex;flex-direction:column;gap:16px;margin-top:16px;min-width:0}
.choice-detail-body p{margin:0;overflow-wrap:anywhere;font-size:var(--text-sm);line-height:var(--leading-help)}
.choice-detail-body .table-scroll{width:100%;overflow:auto}
.choice-detail-body table{min-width:480px}
.choice-detail-body .choice-wrap{white-space:normal;min-width:140px;overflow-wrap:anywhere}
.choice-detail-body>button{align-self:flex-start}
.choice-details code{font-family:var(--mono);font-size:var(--text-xs)}
.choice-details pre{font-family:var(--mono);font-size:var(--text-xs);line-height:var(--leading-body);padding:16px;background:var(--panel-alt);border:1px solid var(--line-soft);border-radius:8px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0 0}
.choice-workspace [data-choice-form="activate"]{max-width:560px;margin-top:16px}
.choice-workspace [data-choice-preview]{padding:24px;border-top:1px solid var(--line-soft)}
.choice-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.choice-preview-heading h3{font-size:var(--text-lg);line-height:var(--leading-heading);margin:0}
.choice-receipt{padding:16px;border:1px solid var(--line-soft);border-radius:8px}
.choice-receipt>.button{margin-top:16px}
@media(max-width:900px){.choice-workspace .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-status-grid{grid-template-columns:1fr}.choice-workspace .downloads-panel>[data-choice-jobs]>.table-footer{position:static}.choice-workspace .downloads-panel:has(.table-footer) .jobs-list{position:static;max-height:420px}}
@media(max-width:560px){.data-provider-picker{flex:1;flex-wrap:wrap}.data-provider-picker>select{flex:1;min-width:120px}.choice-workspace .form-grid{grid-template-columns:1fr}.choice-workspace .choice-resources>.panel-header{align-items:flex-start}.choice-settings>summary{padding:16px;font-size:var(--text-lg)}.choice-workspace [data-choice-preview]{padding:16px}.choice-preview-heading{align-items:flex-start;flex-wrap:wrap}.choice-workspace .downloads-panel:has(.table-footer) .jobs-list{max-height:360px}.choice-workspace .panel-header .download-header-note{display:none}}
