/* Standalone cards and loose switches, shared across the workspace. */
#root :is(.costs-hub-v124, .analysis-settings-v124, .v95-history-panel, .usage-models-v11, .api-account-v122) {
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
#root .costs-hub-v124 { display: grid; gap: 20px; padding: 0; }
#root .costs-body-v124 { padding: 0 !important; }
#root :is(.costs-body-v124 > .usage-page-v11, .costs-body-v124 > .api-page-v122) { display: grid; gap: 20px; padding: 0 !important; margin: 0 !important; }
#root .costs-tabs-v124.compact-tabs-v125,
#root .analysis-settings-v124 > .settings-mode-tabs-v83 { padding: 0 !important; border: 0 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
#root .analysis-settings-v124 > .settings-mode-tabs-v83 { margin: 0 0 20px !important; }
#root .analysis-settings-v124 > .settings-mode-tabs-v83 > button { min-height: 44px !important; border: 1px solid #334b60 !important; background: #0d1925 !important; }
#root .analysis-settings-v124 > .settings-mode-tabs-v83 > button.active { background: #162611 !important; color: #a4f12e; border-color: #80c51d !important; }
#root .analysis-mode-intro-v125 { display: none !important; }
#root .analysis-mode-stack-v124 > .analysis-mode-card-v20 { border-radius: 0 !important; background: transparent !important; }
#root .analysis-mode-card-v20 .analysis-mode-body-v20 { padding: 0 !important; border: 0 !important; background: transparent !important; opacity: 1 !important; }
#root .analysis-mode-card-v20 .model-card-grid { padding: 0 !important; margin: 0 0 20px !important; gap: 16px; border: 0 !important; background: transparent !important; }
#root .analysis-mode-card-v20 .model-choice { border-radius: 16px; }

/* One separate schedule card with two bounded range fields. */
#root .analysis-schedule-v125.schedule-panel-v127 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  padding: 20px; margin: 0; border: 1px solid #27394d; border-radius: 16px; background: #0d1622;
}
#root .schedule-panel-v127 > .manual-range-field-v122 { width: 100%; max-width: 320px; }
#root .schedule-heading-v127 { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; min-height: 74px; margin-bottom: 0; }
#root .schedule-heading-v127 h2 { margin: 0 auto 0 0; font: 700 20px/1.4 Arial, Helvetica, sans-serif; color: #eef3fa; }
#root .schedule-run-v127 { display: grid; grid-template-columns: auto auto; align-items: center; gap: 6px 12px; }
#root .schedule-run-v127 > span { color: #8fa2b9; font: 400 13px/1.5 Arial, Helvetica, sans-serif; }
#root .schedule-run-v127 > strong { min-height: 48px; display: flex; align-items: center; color: #dce6f2; font: 700 14px/1.4 Arial, Helvetica, sans-serif; }
#root .schedule-run-v127 > small { grid-column: 1 / -1; color: #8fa2b9; font: 400 12px/1.5 Arial, Helvetica, sans-serif; }
#root .schedule-run-v127 .app-select-v9 { width: 116px; margin: 0; }
#root .schedule-run-v127 .app-select-trigger-v9 { min-height: 48px; }
#root .schedule-enable-v127 { display: inline-flex; align-items: center; gap: 10px; position: relative; min-height: 44px; cursor: pointer; }
#root .schedule-enable-v127 > span:first-child { color: #8fa2b9; font-size: 13px; font-weight: 700; }
#root .schedule-enable-v127 > input { position: absolute; right: 0; width: 48px; height: 28px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
#root .schedule-switch-v127 { display: block; position: relative; width: 48px; height: 28px; border: 1px solid #34475e; border-radius: 20px; background: #263445; box-sizing: border-box; }
#root .schedule-switch-v127::after { content: ""; position: absolute; width: 20px; height: 20px; top: 3px; left: 3px; border-radius: 50%; background: #a8b5c6; }
#root .schedule-enable-v127 > input:checked + .schedule-switch-v127 { background: #91ff00; border-color: #91ff00; }
#root .schedule-enable-v127 > input:checked + .schedule-switch-v127::after { left: 23px; background: #07100a; }
#root .schedule-enable-v127 > input:focus-visible + .schedule-switch-v127 { outline: 2px solid #91ff00; outline-offset: 3px; }
#root .schedule-panel-v127 .schedule-preview-v125 { display: grid; gap: 6px; border-top: 1px solid #27394d; padding-top: 14px; }
#root .schedule-panel-v127 .schedule-preview-v125 > small:last-child { margin: 0; }

/* Statistics are standalone tiles; only the actual list keeps its own frame. */
#root .usage-models-v11 > .panel-heading { padding: 0 0 16px; border: 0; }
#root .usage-models-v11 > .usage-model-grid-v11 { padding: 0; gap: 16px; border: 0; }
#root .usage-model-grid-v11 > .usage-model-card-v11 { min-width: 0; margin: 0; border-radius: 16px; }
#root .api-account-v122 > .api-account-heading-v122 { padding: 0 0 16px; border: 0; }
#root .api-account-v122 > .api-account-grid-v122 { padding: 0; gap: 16px; }
#root .api-account-v122 > .api-account-footer-v122 { margin-top: 16px; padding: 0; border: 0; }
#root .v95-history-panel { padding: 0 !important; }
#root .v95-history-panel > .v95-filters { padding: 0 0 20px; border: 0; background: transparent; }
#root .v95-history-panel > .v95-statistics { padding: 0 0 20px; border: 0; }
#root .history-list-card-v127 { padding: 0; overflow: hidden; }
#root .history-list-card-v127 > .v95-list-heading { padding: 20px; margin: 0; border-bottom: 1px solid #27394d; }
#root :is(.usage-list-v11, .provider-card-v125, .pricing-direct-v125, .history-list-card-v127, .settings-choice-v122, .notifications-section-v15, .prompt-direct-v125) { border-radius: 16px; }

/* The familiar range/execution panel is part of each permanently open card. */
#root .analysis-overview-v127 { background: linear-gradient(110deg, #91ff000b, #0c172100 65%); border-bottom: 1px solid #33462b; }
#root .analysis-overview-v127 .current-analysis-heading-v125 { padding: 18px 24px 12px; }
#root .analysis-overview-body-v127 { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; align-items: center; padding: 0 24px 20px; }
#root .analysis-overview-main-v127 { min-width: 0; }
#root .analysis-overview-main-v127 > p { margin: 0 0 14px; color: #91a3b8; font: 400 13px/1.5 Arial, Helvetica, sans-serif; }
#root .analysis-overview-v127 dl { margin: 0; }
#root .analysis-overview-v127 dt { margin: 0 0 7px; color: #a3f34b; font: 700 12px/1.4 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
#root .analysis-overview-v127 dd { margin: 0; color: #e8eff8; font: 700 14px/1.5 Arial, Helvetica, sans-serif; }
#root .analysis-executed-v127 { border-left: 1px solid #33462b; padding: 8px 0 8px 24px; }
#root .analysis-overview-v127 .current-analysis-status-v125 { margin-top: 12px; padding: 0; }
#root .analysis-overview-v127 + .current-analysis-content-v125 { border-top: 0; }

@media (max-width: 1000px) {
  #root .schedule-heading-v127 { gap: 12px 18px; }
  #root .schedule-enable-v127 { margin-left: auto; }
  #root .analysis-overview-body-v127 { grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
}
@media (max-width: 760px) {
  #root .costs-hub-v124 { gap: 20px; }
  #root .analysis-settings-v124 > .settings-mode-tabs-v83 { margin-bottom: 16px !important; }
  #root .analysis-mode-card-v20 .model-card-grid { margin-bottom: 16px !important; }
  #root .analysis-schedule-v125.schedule-panel-v127 { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 20px; }
  #root .schedule-heading-v127 { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; }
  #root .schedule-heading-v127 h2 { margin: 0; }
  #root .schedule-run-v127 { grid-template-columns: minmax(0, 1fr) 116px; }
  #root .schedule-enable-v127 { margin: 0; justify-self: start; }
  #root .api-account-v122 > .api-account-grid-v122, #root .usage-models-v11 > .usage-model-grid-v11 { gap: 12px; }
  #root .history-list-card-v127 > .v95-list-heading { padding: 16px; }
  #root .analysis-overview-v127 .current-analysis-heading-v125 { padding: 16px 16px 12px; }
  #root .analysis-overview-body-v127 { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 16px 18px; }
  #root .analysis-overview-main-v127 > p { margin-bottom: 12px; }
  #root .analysis-executed-v127 { border-left: 0; border-top: 1px solid #33462b; padding: 14px 0 0; }
  #root .analysis-overview-v127 dd { font-size: 13px; }
}
