/* Fit-tab states, history, exports and dialogs. Workspace geometry is in workspace.css. */
#cf-tabbar {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  flex-wrap: nowrap;
  height: 36px;
  box-sizing: border-box;
  padding: 6px 8px 0;
  background: #cccccc;
}
.cf-tab {
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
  padding: 5px 10px;
  background: #e4e4e4;
  border: 1px solid #b9b9b9;
  border-bottom: none;
  color: #616161;
  cursor: pointer;
}
.cf-tab-on {
  background: #f0f0f0;
  color: #000000;
  border-color: #444444;
}
.cf-tab-setup {
  color: #0459b7;
  background: #e4effb;
  border-color: #9cc0ea;
}
.cf-tab-setup.cf-tab-on {
  color: #ffffff;
  background: #0459b7;
  border-color: #093c75;
}
.cf-tab-warn {
  color: #b00020;
  background: #fbe9e9;
  border-color: #dd9999;
}
.cf-tab-warn.cf-tab-on {
  background: #f0f0f0;
  color: #b00020;
  border-color: #b00020;
}
.cf-tab-stale {
  color: #9a9a9a;
  background: #ececec;
  border-color: #d0d0d0;
}
.cf-tab-stale.cf-tab-on {
  background: #fafafa;
  color: #7a7a7a;
}
.cf-tab-when {
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 11px;
  font-weight: 400;
}
#dataholder.cf-table-locked {
  background: #e0e0e0;
}
#dataholder.cf-table-locked #datatable {
  opacity: 0.55;
  filter: grayscale(1);
  border-color: #b9b9b9;
}
#dataholder.cf-table-hidden #datatable {
  visibility: hidden;
}
#optionsholder.cf-showing-fit > #cf-setup-plotbar,
#optionsholder.cf-showing-fit > #quickplot,
#optionsholder.cf-showing-fit > #bottomholder {
  display: none;
}
#cf-fitview {
  width: 844px;
  height: auto;
  min-height: 685px;
  float: left;
  text-align: left;
}
#cf-plotbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 844px;
  height: 24px;
  box-sizing: border-box;
}
.cf-plot-mode {
  display: flex;
  border: 1px solid #a09f9f;
  overflow: hidden;
}
.cf-plot-mode button {
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  padding: 2px 14px;
  border: none;
  background: linear-gradient(#f4f4f4, #e2e2e2);
  color: #616161;
  cursor: pointer;
}
.cf-plot-mode button + button {
  border-left: 1px solid #a09f9f;
}
.cf-plot-mode button.cf-plot-mode-on {
  background: #f0f0f0;
  color: #000000;
}
.cf-plot-caption {
  margin-left: 10px;
  font-size: 12px;
  line-height: 16px;
  color: #616161;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cf-plotbox {
  width: 844px;
  height: 275px;
  background: #f0f0f0;
  box-sizing: border-box;
}
.cf-plot-message {
  padding: 12px;
  font-size: 13px;
  color: #616161;
}
.cf-plot-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: #7a4f00;
}
#cf-result {
  width: 844px;
  height: auto;
  min-height: 380px;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #444444;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
#cf-prevview {
  width: 844px;
  height: auto;
  min-height: 685px;
  float: left;
  text-align: left;
  background: #ffffff;
  border: 1px solid #444444;
  box-sizing: border-box;
}
.cf-res-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-bottom: 1px solid #b9b9b9;
}
.cf-res-head h2 {
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cf-chip {
  border: 1px solid #b9b9b9;
  padding: 2px 8px;
  background: #f0f0f0;
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 12px;
}
.cf-pill {
  margin-left: auto;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  background: #2f7d32;
}
.cf-pill-warn {
  background: #b00020;
}
.cf-res-eq {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.cf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12px;
  color: #616161;
  margin: 0 0 8px;
}
.cf-meta b {
  color: #000000;
}
.cf-params {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 13px;
}
.cf-params th {
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #616161;
  text-align: left;
  padding: 0 6px 4px;
  border-bottom: 1px solid #b9b9b9;
}
.cf-params td {
  padding: 3px 6px;
  border-bottom: 1px solid #eeeeee;
  white-space: nowrap;
}
.cf-params .cf-num {
  text-align: right;
}
.cf-params td.cf-na {
  color: #b00020;
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
}
.cf-params td.cf-note {
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
  color: #616161;
  font-size: 12px;
  white-space: normal;
}
.cf-gof {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.cf-warnings {
  margin-top: 8px;
  padding: 6px 10px;
  border-left: 3px solid #b00020;
  background: #fff4f4;
  color: #b00020;
  font-size: 13px;
}
.cf-warnings p {
  margin: 0 0 2px;
}
.cf-loading {
  padding: 12px;
  color: #616161;
}
.cf-prev-head {
  margin: 0;
  padding: 10px 12px 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #b9b9b9;
}
.cf-prev-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.cf-prev-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-bottom: 1px solid #eeeeee;
}
.cf-prev-name {
  flex: 0 0 70px;
  font-weight: 700;
}
.cf-prev-model {
  flex: 0 0 200px;
  color: #616161;
}
.cf-prev-when {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 12px;
  color: #616161;
  overflow-wrap: anywhere;
}
.cf-prev-action {
  flex: 0 0 auto;
  text-align: right;
}
.cf-prev-empty {
  color: #616161;
}
.cf-prev-button {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #616161;
  border: 1px solid #a09f9f;
  background: linear-gradient(#f4f4f4, #e2e2e2);
  padding: 3px 10px;
  cursor: pointer;
}
.cf-prev-open {
  color: #767676;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
}
.cf-prev-warn,
.cf-prev-warn .cf-prev-model,
.cf-prev-warn .cf-prev-when {
  color: #b00020;
}
.cf-prev-note {
  padding: 8px 12px;
  font-size: 12px;
  color: #616161;
}
.cf-prev-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-top: 1px solid #b9b9b9;
}
.cf-prev-range {
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 12px;
  color: #616161;
}
.cf-prev-page[disabled] {
  color: #a09f9f;
  background: #f0f0f0;
  cursor: default;
}

.cf-res-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  flex: 0 0 auto;
}
.cf-res-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 0 8px 12px;
}
.cf-res-side {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 8px 12px;
  border-left: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cf-res-exports {
  width: 178px;
}
.cf-res-banner {
  border-top: 1px solid #eeeeee;
  padding: 8px 12px 10px;
  margin-top: auto;
  flex: 0 0 auto;
}
.cf-res-side h3 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #616161;
  font-weight: 600;
}
.cf-exports {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cf-export {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #616161;
  border: 1px solid #a09f9f;
  background: linear-gradient(#f4f4f4, #e2e2e2);
  padding: 5px 10px;
  cursor: pointer;
  text-align: left;
}
.cf-export[disabled] {
  cursor: default;
  color: #9a9a9a;
}
.cf-export-note {
  margin: 0;
  font-size: 12px;
  color: #b00020;
}
.cf-calc {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 10px;
  font-size: 13px;
}
.cf-calc-title {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  max-width: 110px;
  font-family: var(--cf-ui-font, "Open Sans", sans-serif);
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #616161;
  font-weight: 600;
}
.cf-calc-field {
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cf-calc-field label,
.cf-calc-field span {
  font-size: 11px;
  color: #616161;
  line-height: 13px;
}
.cf-calc input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 12px;
  padding: 2px 6px;
  border: 1px solid #b9b9b9;
  background: #ffffff;
  margin-left: 0;
}
.cf-calc-out {
  font-family: var(--cf-mono-font, "Droid Sans Mono", monospace);
  font-size: 12px;
  background: #f0f0f0;
  border: 1px solid #b9b9b9;
  padding: 2px 6px;
  min-height: 22px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.cf-calc-run {
  flex: 0 0 auto;
  margin-top: 15px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #616161;
  padding: 3px 16px;
  border: 1px solid #a09f9f;
  background: linear-gradient(#f4f4f4, #e2e2e2);
  cursor: pointer;
}
.cf-calc-note {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
  color: #b00020;
}
.cf-spin {
  display: inline-block;
  width: 11px;
  height: 11px;
  vertical-align: -1px;
  border: 2px solid #b9b9b9;
  border-top-color: #444444;
  border-radius: 50%;
  animation: cf-spin 0.8s linear infinite;
}
@keyframes cf-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf-spin {
    animation-duration: 3s;
  }
}
.cf-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
}
.cf-dialog[hidden] {
  display: none;
}
.cf-dialog-box {
  position: absolute;
  top: 100px;
  left: 50%;
  margin-left: -300px;
  width: 520px;
  box-sizing: content-box;
  background: #eeeeee;
  padding: 30px 40px 34px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  text-align: left;
}
.cf-dialog-box h1 {
  margin: 0 0 12px;
}
.cf-dialog-box p {
  margin: 0;
  white-space: pre-wrap;
}
.cf-dialog-close {
  position: absolute;
  top: 8px;
  right: 11px;
  font-size: 22px;
  line-height: 0.5;
  font-weight: bold;
  color: #aaaaaa;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
