/* Scientific calculator (P0011) */
.calc { max-width: 560px; }
.calc-label { display: block; font-weight: bold; margin: 4px 0 6px; }
.calc-input { width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 14px; font-size: 1.5em; border: 2px solid #8C96A6; border-radius: 12px; font-family: inherit; }
.calc-result { min-height: 1.6em; margin: 6px 0 10px; font-size: 1.6em; font-weight: bold; text-align: right; color: #24334B; font-variant-numeric: tabular-nums; }
.calc-keys:after { content: ""; display: table; clear: both; }
.calc-keys button {
  float: left; width: 15.5%; margin: 0 1% 8px 0; height: 52px; border: 2px solid #C9CED6; border-radius: 12px; background: #FFFFFF;
  font-size: 1.2em; font-weight: bold; color: #24334B; cursor: pointer; font-family: inherit;
}
.calc-keys button.calc-fn { background: #EEF4F3; border-color: #B9D0CD; font-size: 1em; }
.calc-keys button.calc-op { background: #FBF1E4; border-color: #E8CFAE; }
.calc-keys button.calc-eq { width: 32%; background: #3B6970; border-color: #3B6970; color: #FFFFFF; }
.calc-keys button:hover { border-color: #3B6970; }
.calc-keys button:focus { outline: 3px solid #24334B; outline-offset: 1px; }
.calc-large .calc-keys button { height: 72px; font-size: 1.6em; }
.calc-large .calc-input { min-height: 72px; font-size: 2em; }
.calc-large .calc-result { font-size: 2.2em; }
.calc-tape-title { font-size: 1.05em; margin: 14px 0 6px; }
.calc-small { margin-left: 8px; min-height: 44px; padding: 0 10px; border: 1px solid #8C96A6; border-radius: 8px; background: #FFFFFF; cursor: pointer; font-size: .85em; }
.calc-tape { margin: 0; padding-left: 0; list-style: none; }
.calc-tape-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #E5E0D5; padding: 8px 4px; font-size: 1em; cursor: pointer; font-family: inherit; color: #24334B; }
.calc-tape-item:hover { background: #EEF4F3; }
#calc-mode[aria-pressed="false"], #calc-big[aria-pressed="true"] { background: #3B6970; color: #FFFFFF; }
@media (max-width: 480px) { .calc-keys button { font-size: 1.05em; } }
